Summary: | Internal compiler error with I20041123/24/30 | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Marco Qualizza <mlq.eclipse> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Marco Qualizza
2004-11-30 09:48:40 EST
I'm building against JDK 1.4.2_05 and running Eclipse on JDK 5.0. Interestingly the offending method spans from line 171 to 193. This would mean that an attribute name is empty in a .class file. Would it be possible to get a bigger test case if you cannot isolate it? This would definitely help me to reproduce it. Unfortunately, I can't release the code that this is happening in. :-( I *could* (with your extensive help ;-) ) try to get Eclipse up self-hosting and then try to reproduce the error on the hosted environment... Problem occured with obfuscated .class files. Added extra check to check the size of the attribute name. We got an empty name. Fixed and released in HEAD. Marco, please validate the fix. The patch did fix the problem for I20041130. I was able to get a copy of the unobfuscated jar, which was built with Ant against JDK 1.3.1. The attribute that was renamed is the Synthetic attribute -- specifically (in this case) class$... There were no problems running unpatched Eclipse I20041130 against the unobfuscated jar. As of I20041207, there are no problems with either the obfuscated jar or the unobfuscated jar (no patches). Fix verified. |