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 271017 - AssertionError: isSubtype PACKAGE
Summary: AssertionError: isSubtype PACKAGE
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-01 23:01 UTC by attila.kelemen
Modified: 2017-08-23 02:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229585


Attachments
stacktrace (10.06 KB, text/plain)
2017-07-01 23:01 UTC, attila.kelemen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description attila.kelemen 2017-07-01 23:01:50 UTC
This bug was originally marked as duplicate of bug 267646, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20170521-unknown-revn)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 10

User Comments:
attila.kelemen: I have tried to move class from a project to one of its (indirect) dependencies (into a different package). The class does not seem to be special in any way.




Stacktrace: 
java.lang.AssertionError: isSubtype PACKAGE
   at com.sun.tools.javac.code.Types$4.visitType(Types.java:971)
   at com.sun.tools.javac.code.Types$4.visitType(Types.java:947)
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visitPackageType(Types.java:4799)
   at com.sun.tools.javac.code.Type$PackageType.accept(Type.java:1540)
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4794)
   at com.sun.tools.javac.code.Types.isSubtype(Types.java:943)
Comment 1 attila.kelemen 2017-07-01 23:01:52 UTC
Created attachment 164674 [details]
stacktrace
Comment 3 Quality Engineering 2017-08-23 02:56:40 UTC
Integrated into 'main-silver', will be available in build *201708230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ddfeceead594
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #271017 and #271293 fixed.