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 - AssertionError: isSubtype METHOD
Summary: AssertionError: isSubtype METHOD
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 13:13 UTC by IrianR
Modified: 2017-04-13 14:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225256


Attachments
stacktrace (10.76 KB, text/plain)
2016-07-15 13:13 UTC, IrianR
Details
IDE log for report http://statistics.netbeans.org/analytics/exception.do?id=834404 (89.80 KB, text/plain)
2016-10-20 19:22 UTC, zmirc
Details
stacktrace (12.08 KB, text/plain)
2017-04-09 05:58 UTC, Exceptions Reporter
Details
stacktrace (3.91 KB, text/plain)
2017-04-13 14:40 UTC, theshadow27
Details

Note You need to log in before you can comment on or make changes to this bug.
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.