Compiling the following function gives an internal error in the compiler
static void test (long word) {
for (; word != 0; word >>>= 1) {
System.out.print("hello");
}
}
It complains about a stack depth error.
When looking at the code, it seems that the problem is that the compiler generates
lconst_1 instead of iconst_1.
I'm assigning this to AVH, but I'll take a quick look at it to see if I can figure out what's
going on before he gets back.
static void test (long word) {
for (; word != 0; word >>>= 1) {
System.out.print("hello");
}
}
It complains about a stack depth error.
When looking at the code, it seems that the problem is that the compiler generates
lconst_1 instead of iconst_1.
I'm assigning this to AVH, but I'll take a quick look at it to see if I can figure out what's
going on before he gets back.