Bug 83397 Problem with inheritance from Generics [code generation]
Hi, I used the class wizard to create a new class (HashMapTest) that extends HashMap, with "Constructors from superclass" selected. The wizard created this constructor: public HashMapTest(Map< ? extends K, ? extends V> arg0) { super(arg0); } the compiler gives errors that K and V cannot be resolved into types. The same occur with methods whether created by the wizard or not. I am using the 3.1M4 stable build with Sun J2SE 5.0. Compiler compliance is set to 5.0 default. Good luck Roger
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
public int F_PRIVATE = Flags.AccPrivate;
	
	public int F_PROTECTED = Flags.AccProtected;
	
	public int F_STATIC = Flags.AccStatic;
	
	public int F_FINAL = Flags.AccFinal;
	
	public int F_ABSTRACT = Flags.AccAbstract;
	private final static String PAGE_NAME= "NewTypeWizardPage"; 
	
	private final static String DIALOGSETTINGS_ADDCOMMENTS= "NewTypeWizardPage.add_comments"; 
	
	
	protected final static String PACKAGE= PAGE_NAME + ".package";	 
	
	protected final static String ENCLOSING= PAGE_NAME + ".enclosing"; 
	
	protected final static String ENCLOSINGSELECTION= ENCLOSING + ".selection"; 
		
	protected final static String TYPENAME= PAGE_NAME + ".typename"; 
	
	protected final static String SUPER= PAGE_NAME + ".superclass"; 
	
	protected final static String INTERFACES= PAGE_NAME + ".interfaces"; 
	
	protected final static String MODIFIERS= PAGE_NAME + ".modifiers"; 
	
	protected final static String METHODS= PAGE_NAME + ".methods"; 
	private class InterfacesListLabelProvider extends LabelProvider {