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 97579 - GoTo Source does not navigate to non-public classes
Summary: GoTo Source does not navigate to non-public classes
Status: RESOLVED DUPLICATE of bug 90196
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 17:06 UTC by Max Sauer
Modified: 2007-08-29 09:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-03-09 17:06:16 UTC
Compared to NB 5.5, goto source or Ctrl-click on a class occurace does not
navagite to it in case the class is not declared as public in a separate file.

Steps to reproduce:
-------------------
1) Create a new java class
2) In the same file, create another class on top-level
3) Reference the file in a different class (ie, make instance of it) and try to
Ctrl-click on it.
=> nothing happens

---
NetBeans IDE Dev (Build 070307)
1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b04
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Jan Lahoda 2007-03-19 09:17:50 UTC
We will probably need to fix UiUtils.open to handle this.
Comment 2 Jan Lahoda 2007-08-29 09:02:53 UTC

*** This issue has been marked as a duplicate of 90196 ***