teavm icon indicating copy to clipboard operation
teavm copied to clipboard

Integer.valueOf(String s) returns undefined

Open MarvinLudwig opened this issue 4 years ago • 1 comments

Integer.valueOf(String s) which translates to jl_Integer_valueOf($i) returns undefined, e.g. jl_Integer_valueOf("5")

Tested with 0.7.0-dev-1105

MarvinLudwig avatar May 24 '20 21:05 MarvinLudwig

Sorry, what are you trying to do? Are you calling jl_Integer_valueOf directly from JS? It's not allowed in TeaVM and it was not designed for such use case.

konsoletyper avatar Jun 01 '20 09:06 konsoletyper