i-net-software / i-net-software/JWebAssembly

Custom classes are used in the method of export annotation, and errors are reported during compilation

Open
#25 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Exception in thread "main" de.inetsoftware.jwebassembly.WasmException: Abstract or native method can not be used: java/lang/Object.registerNatives()V
at java.lang.Object.registerNatives(Object.java)
at de.inetsoftware.jwebassembly.module.ModuleGenerator.createInstructions(ModuleGenerator.java:551)
at de.inetsoftware.jwebassembly.module.ModuleGenerator.scanFunctions(ModuleGenerator.java:226)
at de.inetsoftware.jwebassembly.module.ModuleGenerator.prepareFinish(ModuleGenerator.java:279)
at de.inetsoftware.jwebassembly.JWebAssembly.compile(JWebAssembly.java:368)
at de.inetsoftware.jwebassembly.JWebAssembly.compileToBinary(JWebAssembly.java:340)
at de.inetsoftware.jwebassembly.JWebAssembly.compileToBinary(JWebAssembly.java:308)
at TestWasm.main(TestWasm.java:41)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.