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.
NetBeans IDE Dev (Build 060913) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b98 Linux version 2.6.5-1.358 running on i386 en_US (nb); UTF-8 Searching for all subtypes of given class returns only direct subtypes. Steps to reproduce: 1) create structure ClassA extends ClassB ClassB extends ClassC ClassC 2) goto class ClassC and search for all subtypes -> only ClassB is found -> ClassA is missing
Is it possible to get all subtypes without parsing? Just from index? Tomasi? Thanks
No it isn't.
Checking in api/JavaWhereUsedQuery.java; /cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/api/Attic/JavaWhereUsedQuery.java,v <-- JavaWhereUsedQuery.java new revision: 1.1.2.2; previous revision: 1.1.2.1 done Checking in plugins/JavaWhereUsedQueryPlugin.java; /cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/plugins/Attic/JavaWhereUsedQueryPlugin.java,v <-- JavaWhereUsedQueryPlugin.java new revision: 1.1.2.7; previous revision: 1.1.2.6 done Find all subtypes still does not work in some cases. Open "Actions APIs" project and try to find all subtypes of SystemAction. You will get AssertionError.
Created attachment 35282 [details] AssertionError from javac
Coupling error.
The coupling errors should not break refactoring anymore (if a coupling error occurs, the given javac instance is thrown away and the given file reparsed again). For the given coupling error please see issue #90766 and issue #90473. I tried to reproduce this issue, but I ran into issue #97397.
It works in current builds
verified