JWebAssembly icon indicating copy to clipboard operation
JWebAssembly copied to clipboard

Java bytecode to WebAssembly compiler

Results 20 JWebAssembly issues
Sort by recently updated
recently updated
newest added

I tried to do the Hello World example and got the folllowing exception: .... scan java/util/HashMap.get(Ljava/lang/Object;)Ljava/lang/Object; type: java/util/HashMap type: java/util/HashMap$Node call: java/util/HashMap.getNode(Ljava/lang/Object;)Ljava/util/HashMap$Node; scan java/lang/StringLatin1.charAt([BI)C call: java/lang/StringIndexOutOfBoundsException.(I)V scan java/lang/StringUTF16.charAt([BI)C call: java/lang/StringUTF16.checkIndex(I[B)V...

I have a custom grammar in javacc and would like to convert it to wasm, but I get the error: `> GOTO code without target loop/block. Jump from 442 to...

Greetings! I am trying to develop a JWebAssembly project but encountered difficulties when I just tried to build WASM for a simple `@Export`: https://github.com/hivdb/asiface/blob/41190e253010c445d57a5d928c62c530091e8143/asiwasm/src/main/java/edu/stanford/hivdb/asiwasm/Entrypoint.java#L8-L12 At the first I used Oracle...

Greetings, after setting up the Gradle Build, I have tried to compile a simple Java Class and it fails promptly: ```shell Execution failed for task ':wasm'. > java.util.NoSuchElementException at com.manticore.jsqlformatter.JSQLFormatter.appendDelete(JSQLFormatter.java:522)...

bug

Is it possible to perform [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) calls using the library? I've been doing some tests using `@Import` without much luck. First, I would like to know if this is supported,...

question

Greetings. Thank you for providing this project, I have an high interest in it. Although I have had a hard time to even follow the most basic `Getting Started` instructions....

bug

Steps to reproduce: ``` git clone https://github.com/i-net-software/JWebAssembly.git cd JWebAssembly gradle clean&&gradle test ``` Output: ...Omitted... (Everything normal) > Task :test [java14instrumentation.txt](https://github.com/i-net-software/JWebAssembly/files/4689334/java14instrumentation.txt) I tried commenting out in build.gradle: ``` apply plugin:...

bug

The current compiler of Wasm code to native machine code does not have optimizing like the JIT in Java. This means there is no code optimizing like the inline of...

enhancement

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)

You may want to consider adding a Command Line Interface (CLI) tool to compile to JS/WASM from the command line. TeaVM is [already working on it](https://github.com/konsoletyper/teavm/tree/master/tools/cli). It may help attract...

enhancement
good first issue