Summary: | [1.5] NPE inside ClassFileStruct when compiling with jre 1.5.0 | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
David Audel
2004-03-30 08:22:20 EST
With latest code, the error is: ---------- 1. ERROR in C:\tests_sources\X2.java (at line 1) public class X2 <T extends AX<? super int>> { ^^^ Syntax error on token "int", Dimensions expected after this token ---------- 1 problem (1 error) No more NPE. Ok to close? NPE still occur for me with I20040330 + JDK_1_5 It fails in the Java model. I don't think this is done using 1.5 parser and construct. Simply compiling this code is not an issue. The getGenericSignature() needs to be called in the initialize() method of the FieldInfo. Otherwise we end up with a NPE. Fixed and released in 1.5 stream. |