Community
Participate
Working Groups
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 If I comment this code, there are a lot of weireg problems, for example imports dont work Reproducible: Sometimes Steps to Reproduce: Bug is difficult to reproduce. I checkout whole project, set up environment (dynamic web project, tomcat) and get such error. When I copy .metadata & .settings dir from another workspace (another svn branch) and switch it to my branch it is ok. But sometimes this happens again and I need to overwrite metadata & settings folders.
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.