| Summary: | codeSelect fails on class instance creation of parameterized local type | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | VERIFIED DUPLICATE | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | amj87.iitr, satyam.kandula, srikanth_sankaran |
| Version: | 3.7 | ||
| Target Milestone: | 3.8 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 356325 *** Verified for 3.8M2 using build id: I20110912-0800. |
3.6.2, 3.7, and BETA_JAVA7 codeSelect fails on a class instance creation of a parameterized local type, e.g. on "new Locl<Integer>(42)" below. Works fine for non-generic local types. package org.test; public class BindingKeysTest { void foo() { class Locl<E> { /** * Ctor * @param arg the arg! */ public Locl(E arg) { } } Locl<Integer> locl = new Locl<Integer>(42); System.out.println(locl); class Local2 { /** * Ctor Local2 */ Local2() { } } Local2 l2= new Local2(); } }