Summary: | complex generic inheritance cannot be compiled with indigo but javac and helios can | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Michael Dänzer <mdaenzer> |
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
Status: | VERIFIED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | amj87.iitr, srikanth_sankaran |
Version: | 3.7 | ||
Target Milestone: | 3.8 M4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: |
Description
Michael Dänzer
2011-08-16 10:47:06 EDT
code compiles with Helios and javac from java 1.5. compliance level in indigo (and helios) set to 1.6 and used jdk is oracle/sun 1.6.24 I'll follow up. (In reply to comment #0) > Build Identifier: 20110615-0604 > > The following inheritance cannot be compiled by Indigo: The type > ElementCollectorOp must implement the inherited abstract method > IOperation2<List<A>,IProcess,List<A>>.execute(List<A>, IProcess). The classes > look like this (simplified to the basic problem): > Can you please provide a full example that I can feed to JDK 1.5 ? The snippet as it is provided does not compile with JDK 1.5. (In reply to comment #3) > Can you please provide a full example that I can feed to JDK 1.5 ? > The snippet as it is provided does not compile with JDK 1.5. Hello, Have you had a chance to look into this request ? Thanks. Resolved as WORKSFORME. If this is a real issue, please reopen with a full test case. Verified for 3.8M4 using build I20111202-0800. Sorry, I was stuck with other things. I made some tests with the code I sent and tested as well using a helios workspace (which always compiled the sample successful) with the code sample with Indigo. Sometimes after several refresh and cleans, it compiled. The after one change in the file, it compiled not. But I was not able to find a pattern or reproducible procedure to trigger the problem. So I changed back to Helios and tried again Indigo SR1. And now everything is fine and works. So, resolved for me too |