Volker Berlin

Results 78 comments of Volker Berlin

> WASM compile failed with: Native methods cannot be compiled to WebAssembly: java/lang/ref/Reference.refersTo0(Ljava/lang/Object;)Z This is a problem with Java 9 or higher if you referenced a String. A pull request...

Yes, this tool can show some optimization. But I think this tool does not know any over the original program. The optimization will be limited.

You have not use the method max. The compiler import only the needed methods.

> It is correct to include the import call in export Yes, why not. 1.) There is no such switch. It make no sense for me. It would also import...

The memory section will be created if there are data for it. For example you use a string constant. Or you use a instance method call then the vtables are...

> Can provide some simple examples to demonstrate the compilation and export of the memory segment. At present, data exchange is exchanged through linear memory byte arrays. No, such sample...

* Do you use the latest snapshot from Jitpack? if not then try it. * Where can I find binaries for reproduction (maven artifact name)?

> WASM compile failed with: Native methods cannot be compiled to WebAssembly: java/lang/ref/Reference.refersTo0(Ljava/lang/Object;)Z This error look like that you use a higher Java version. Currently only with Java 8 you...

First I will fix all compiler errors (not API errors) with Java 8. Then I will take a look at Java 11. I have no idea how many errors I...

Java 11 or higher required Lambdas for some of the tests. Lambdas are currently not supported (see main page). Currently only Java 8 works with all JUnit tests. I hope...