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 243576

Summary: [hotspot] Find Usages doesn't group references under OpenJDK project
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: NavigationAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 243766    
Bug Blocks:    

Description Vladimir Voskresensky 2014-04-04 14:59:50 UTC
Try Find Usages for  ObjectSynchronizer::FastHashCode and results tab doesn't show project node.

Probably this messages printed during Find Usages are related:
SEVERE [org.netbeans.modules.refactoring.java.ui.tree.FolderTreeElement]: Cannot find SourceGroup for /home/vv159170/devarea/jdk/jdk_trunk/hotspot/src/share/vm/prims
SEVERE [org.netbeans.modules.refactoring.java.ui.tree.FolderTreeElement]: Cannot find SourceGroup for /home/vv159170/devarea/jdk/jdk_trunk/hotspot/src/share/vm/prims
SEVERE [org.netbeans.modules.refactoring.java.ui.tree.FolderTreeElement]: Cannot find SourceGroup for /home/vv159170/devarea/jdk/jdk_trunk/hotspot/src/share/vm/runtime
SEVERE [org.netbeans.modules.refactoring.java.ui.tree.FolderTreeElement]: Cannot find SourceGroup for /home/vv159170/devarea/jdk/jdk_trunk/hotspot/src/share/vm/runtime
Comment 1 Alexander Simon 2014-04-11 12:07:00 UTC
Steps to reproduce:
- IDE in ergonomics mode.
- open C/C++ project
- Find Usage anything
View is in both modes (Show Logical View and Show Physical View) grouped by project.
- open java project
- repeat FU
View is in Show Logical View mode grouped by package from java word.
Comment 2 Alexander Simon 2014-04-11 12:55:54 UTC
work around of the issue #243766:
http://hg.netbeans.org/cnd-main/rev/64eb1a7245ff
Put C/C++ factory before java factory
Comment 3 Alexander Simon 2014-04-16 09:43:45 UTC
According to comment in the bug #243766#c2 this is right fix.