| Summary: | Code completion does not honor Java 7 compiler settings | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Gunnar Wagenknecht <gunnar> |
| Component: | Recommenders | Assignee: | Project inbox <recommenders-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | marcel.bruch, sewe |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
Thanks Gunnar. We are blocked by a JDT bug before we can fix this. Bug 435597 provides more details. *** This bug has been marked as a duplicate of bug 435597 *** |
Given: - new Java Plug-in Project with BREE set to 1.7 - following Test class: public class Test { public static void main(String[] args) { List<String> list = new Arra<cursor> } } Steps: - invoke conent assist - ArrayList ist first result (good) - select ArrayList Result: public class Test { public static void main(String[] args) { List<String> list = new ArrayList<String>()<cursor> } } Expected Result: public class Test { public static void main(String[] args) { List<String> list = new ArrayList<>()<cursor> } } The <String> is not necessary in Java 7.