Bytecoder
Bytecoder copied to clipboard
Unable to compile test program with error: Cannot find Wasm local for variable de.mirkosertic.bytecoder.core.ir.PHI@2d87ac2b
Hi,
I'm looking into using Bytecoder to run some existing java code in the browser. That code uses threads, exceptions, and wants to load resources via class.getResourceAsStream(). I don't know how to let Bytecoder know how to load resources, so that'll probably fail. But It already fails to compile at the first catch statement. It also generates invalid javascript when trying to append a single quote to a string.
Am I simply doing something wrong? That's quite possible because I'm using gradle to build the project via bytecoder-cli, which may be a bit unusual.
Anyway, I've attached my test project. I hope this can be solved easily, because Bytecoder looks very promising.
Hi! Thank you for reporting this issue! Would you like to test the bug with the lastest release? Is it still there?