Community
Participate
Working Groups
The attached class Testik.java throws exception java.lang.VerifyError: (class: com/amaio/Testik, method: test signature: ()V) Illegal target of jump or branch. when compiled by JDT incremental compiler. The same class compiled by standard JDK 1.4 compiler works fine. I enclose the javap disassembly file (disassembled.eclipse), the problem is apparently caused by the line "25 goto 38" which attempts to jum to non- existing label 38. (The awkward sourcecode in Testik.java was originally generated by javacc...)
Created attachment 5211 [details] Source code
Created attachment 5212 [details] Eclipse compiled classfile
Created attachment 5213 [details] JDK compiled class file
Created attachment 5214 [details] Disassembled eclipse classfile
Created attachment 5215 [details] Disassembled JDK classfile
Which Eclipse build are you using ?
Suspect this to be a dup of bug 37040
We may consider backporting this fix for 2.1 maintenance stream as well.
Actually, I was wrong. This is a dup of bug 37621 which already backported to 2.1.1.
*** This bug has been marked as a duplicate of 37621 ***