This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262825

Summary: AssertionError: isSubtype METHOD
Product: java Reporter: IrianR
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: theshadow27, zmirc
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225256
Attachments: stacktrace
IDE log for report http://statistics.netbeans.org/analytics/exception.do?id=834404
stacktrace
stacktrace

Description IrianR 2016-07-15 13:13:22 UTC
Build: NetBeans IDE Dev (Build 201607140002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 7

User Comments:
IrianR: Doing normal work




Stacktrace: 
java.lang.AssertionError: isSubtype METHOD
   at com.sun.tools.javac.code.Types$4.visitType(Types.java:1031)
   at com.sun.tools.javac.code.Types$4.visitType(Types.java:1007)
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visitMethodType(Types.java:4703)
   at com.sun.tools.javac.code.Type$MethodType.accept(Type.java:1459)
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4699)
   at com.sun.tools.javac.code.Types.isSubtype(Types.java:1003)
Comment 1 IrianR 2016-07-15 13:13:24 UTC
Created attachment 160403 [details]
stacktrace
Comment 3 Exceptions Reporter 2017-04-09 05:58:10 UTC
Created attachment 164050 [details]
stacktrace

just using search results to go to a referenced locationin a java file
Comment 4 theshadow27 2017-04-13 14:40:11 UTC
Created attachment 164098 [details]
stacktrace

Autocomplete
private static final Set<String> SUPPORTED_PARAMETERS = Collections.unmodifiableSet(new HashS__HERE__

resulted in 
... Collections.unmodifiableSet(new HashSet<T>())

Deleting the "T" generic specification

immediatly produced the attached exception.