Summary: | ClassFormatException in a non-existing JRE class | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Wassim Melhem <wassim.melhem> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | grant_gayed, mengli, tfmorris |
Version: | 3.3 | ||
Target Milestone: | 3.3 RC1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Wassim Melhem
2007-05-11 08:28:06 EDT
Do you mean that SunJCE_am.class does not exist in C:/Program Files/Java/jre1.5.0_03/lib/ext/sunjce_provider.jar file? I verified that this class exists in jre1.5.0_12-ea I'll investigate it. This means some exception has been thrown while reading this .class file. The only consequence of this is that this class file is not indexed. My guess it that it has been obfuscated. I'll check it. You can also update your jre to see if this got fixed. I'll try to get a jre 1.5.0_03 to reproduce this issue. I got this error: org.eclipse.jdt.core.util.ClassFormatException at org.eclipse.jdt.internal.core.util.EnclosingMethodAttribute.<init>(EnclosingMethodAttribute.java:40) at org.eclipse.jdt.internal.core.util.ClassFileReader.<init>(ClassFileReader.java:257) at org.eclipse.jdt.internal.core.util.Disassembler.disassemble(Disassembler.java:290) at org.eclipse.jdt.core.tools.disassembler.Disassemble.main(Disassemble.java:114) I'll investigate. This is not reproducable with the same class from a 1.5.0_12 JRE. In the JRE1.5.0_03, this class contains a EnclosingMethod attribute that is boggus. The enclosingClassIndex is pointing to a UTF-8 entry instead of a ConstantClass entry. So there is nothing we can do. Closing as INVALID. *** Bug 187845 has been marked as a duplicate of this bug. *** *** Bug 224046 has been marked as a duplicate of this bug. *** *** Bug 238017 has been marked as a duplicate of this bug. *** |