Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2205086 | 7 | Christian Thalinger | P4 | Closed | Fixed | b125 |
JDK-2205762 | 6u25 | Christian Thalinger | P4 | Resolved | Fixed | b01 |
When bootstrap_method_ref in BootstrapMethods attribute points to a wrong CP entry (non-MethodHandle), JVM throws ClassFormatError with a message, where method index and class file name is garbage:
Exception in thread "main" java.lang.ClassFormatError: bootstrap_method_index 141157536 has bad constant type in class file ì
It seems like the corresponding sprintf() does not receive method index and class file name.
This bug was introduced by CR 7001379.
Exception in thread "main" java.lang.ClassFormatError: bootstrap_method_index 141157536 has bad constant type in class file ì
It seems like the corresponding sprintf() does not receive method index and class file name.
This bug was introduced by CR 7001379.
- backported by
-
JDK-2205762 Garbage in ClassFormatError message
- Resolved
-
JDK-2205086 Garbage in ClassFormatError message
- Closed
- relates to
-
JDK-7001379 bootstrap method data needs to be moved from constant pool to a classfile attribute
- Closed