boojay
boojay copied to clipboard
Long type name incorrect when passed as a parameter
l as long = 32768
print l
generates the following bytecode
30: ldc 32768 (129) 32: istore_1 33: getstatic java.lang.System.out Ljava/io/PrintStream; (47) 36: iload_1 37: invokevirtual java.io.PrintStream.println (Llong;)V (132)
The 37: has the parameter (Llong;) but it should be (J) ie 37: invokevirtual java.io.PrintStream.println (J)V (132)