| Summary: | Compile error in 3.6 M6: Missing code implementation in the compiler | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
| Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Olivier_Thomann |
| Version: | 3.6 | ||
| Target Milestone: | 3.6 M7 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Martin, Seems to a duplicate of bug 308245. *** This bug has been marked as a duplicate of bug 308245 *** It compiles fine with HEAD. |
In 3.6 M6, I get a compile error on the attached snippet: Missing code implementation in the compiler Snippet.java /X/src/snippet line 18 Java Problem package snippet; import java.util.List; public class Snippet { public void run(List<String> x) { List<String> changeSetsInContext = null; List<String> changeSets = null; if (changeSetsInContext.size() != x.size()) { changeSets = x; } final List<String> changeSetsInContextParams = changeSetsInContext; final List<String> changeSetsParams = changeSets; new Runnable() { public void run() { new Runnable() { public void run() { Object x= changeSetsInContextParams != null ? changeSetsInContextParams : changeSetsParams; x.toString(); } }.run(); } }; } }