Summary: | Invalid JDT complain about generics | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Alexey <evilhare> |
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
Status: | VERIFIED DUPLICATE | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | amj87.iitr, srikanth_sankaran |
Version: | 3.7 | ||
Target Milestone: | 3.7 M1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Alexey
2010-06-29 04:06:54 EDT
I use 1.6.0_20 java & Tomcat 5.5. In compiler settings I use 1.6 (default values) for all settings. (In reply to comment #0) > Build Identifier: 20100617-1415 > > I receive complain about this line of code: > List<String> emails = new ArrayList<String>(); > > Description Resource Path Location Type > The type Collection is not generic; it cannot be parameterized with arguments > <? extends E> B.java projectname/notifications line 29 Java Problem What is the version of the JRE you are using, Anything below 1.5 will trigger this problem. This is surely a set up issue. > What is the version of the JRE you are using, Anything below 1.5 will
> trigger this problem. This is surely a set up issue.
I'm using 1.6
The problem was with cryptix library. I removed it from classpath, and problem disappeared. Probably it is not an Eclipse issue, but the problem is weird and probably it is usefull. Thanks.
Alexey, Thanks for the additional information. That helped identify this to be a duplicate of bug 168565 *** This bug has been marked as a duplicate of bug 168565 *** Verified for 3.7M1. |