Community
Participate
Working Groups
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(); } }
*** This bug has been marked as a duplicate of bug 356325 ***
Verified for 3.8M2 using build id: I20110912-0800.