Closed SquidDev closed 1 month ago
isn't currently supported on the WASM GC backend as these methods are @JSBody only, not @Import, but I don't believe this is related to that — if I replace those methods with stubs, the error still occurs.
No, Wasm GC supports @JSBody
, as well as 99% of other JSO features. So this is definitely something different.
No, Wasm GC supports
@JSBody
, as well as 99% of other JSO features. So this is definitely something different.
Yeah, I was a little confused about this! It definitely works elsewhere, but the Logger
methods fail with the following:
ERROR: Method is not annotated with org.teavm.interop.Import
at java.util.logging.Logger.warn
at java.util.logging.Logger.log(TLogger.java:75)
at java.util.logging.Logger.log(TLogger.java:132)
at cc.tweaked.web.Main.main(Main.java:15)
at cc.tweaked.web.Main.main$exported$0
Really excited about the new WasmGC backend, thank you so much for your work on this! I wasn't sure if you wanted bugs reported on the issue tracker, or on the discussion itself, so apologies if this is the wrong place.
Trying to compile my one of my projects threw an internal error when using Guava's
com.google.common.base.Splitter
. I've narrowed it down to the following reproduction case:Throws the following error:
java.util.logging.Logger
isn't currently supported on the WASM GC backend as these methods are@JSBody
only, not@Import
, but I don't believe this is related to that — if I replace those methods with stubs, the error still occurs.