Summary: | IAE in Util#scanTypeBoundSignature | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tobias Widmer <tobias_widmer> | ||||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | daniel_megert | ||||||
Version: | 3.1 | ||||||||
Target Milestone: | 3.1 RC3 | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Tobias Widmer
2005-06-13 11:20:31 EDT
Could not reproduce. I am still able to reproduce it. I have only one project with one class in my workspace. The project uses 5.0 compliance and a 1.5 JRE. Created attachment 23069 [details]
Proposed fix
In the case of code assist, the constant pool name of local and anoymous types
is always null (since code generation has not started). As a consequence the
signature is invalid (L;) and cannot be decded.
Changing it to use the source name for local types, and the super class source
name for anonymous.
Created attachment 23070 [details]
Regression test
+1 for RC3 Dani - pls cast your vote +1 for 3.1 RC3. Thanks Dani. Released fix and regression test. Verified using N20050616-0010 + JDT/Core HEAD |