History

Forget to add another ldc handling, fixed that

Dmitry Kabak (userdima committed 13 years ago

Commit 617fe391 parent e5858031 file · +2 −0Browse files

Showing the changes to java (1 of 1 file). Show all

Unified · Split

java/appl/j2d/javadas.b+2−0
@@ -361,6 +361,8 @@ javadas(a: ref Attr): ref Code · 360 unmodified lines
361361 j.i = int u1();
362362 if(int j.op == Jldc) {
363363 CON_bits = 1 << CON_Integer | 1 << CON_Float | 1 << CON_String;
364+ if (class.maj >= 50)
365+ CON_bits |= 1 << CON_Class;
364366 verifycpindex(j, j.i, CON_bits);
365367 }
366368 l = 2;