Bytecoder icon indicating copy to clipboard operation
Bytecoder copied to clipboard

Framework to interpret and transpile JVM bytecode to JavaScript, OpenCL or WebAssembly.

Results 62 Bytecoder issues
Sort by recently updated
recently updated
newest added

Hi, i try to convert my java app to js with Bytecoder, but get a error: ` java -jar bytecoder-cli-2021-11-02-executable.jar -classpath=one-jar.jar -mainclass=com.simontuffs.onejar.Boot -builddirectory=. -backend=js -minify=false . . . 信息: Linked...

question

I am trying to compile some code which takes input using BufferedReader: `package main; import java.util.StringTokenizer; import java.io.*; class HelloWorld{ static class FastReader { BufferedReader br; StringTokenizer st; public FastReader()...

enhancement
research
performance

Hi, I was trying to port one of my projects to web and am getting this error ``` Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)...

question

``` Caused by: java.lang.IllegalStateException: Cannot find virtual method printStackTrace in non-abstract class java/lang/Throwable with signature VOID(java.io.PrintWriter) at de.mirkosertic.bytecoder.core.BytecodeInstructionINVOKEVIRTUAL.performLinking (BytecodeInstructionINVOKEVIRTUAL.java:57) at de.mirkosertic.bytecoder.core.BytecodeLinkedClass.resolveMethodSignatureAndBody (BytecodeLinkedClass.java:482) at de.mirkosertic.bytecoder.core.BytecodeLinkedClass.resolveStaticMethod (BytecodeLinkedClass.java:452) at de.mirkosertic.bytecoder.core.BytecodeInstructionINVOKESTATIC.performLinking (BytecodeInstructionINVOKESTATIC.java:35) at de.mirkosertic.bytecoder.core.BytecodeLinkedClass.resolveMethodSignatureAndBody...

Hi, I was using the canonical example that was mentioned on the Documentation Website and I was able to successfully able to generate a WASM Binary out of it. ![Screenshot...

enhancement

public class HelloWorld { public static void main(String[] args) throws Exception { int multiplier = 100; long cutoff = Long.MAX_VALUE / (long) multiplier; long cutoff1 = Long.MAX_VALUE / 100; System.out.println("cutoff...

bug