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 9600

Summary: Debugger loads wrong class if class with same name is mounted in another fs
Product: debugger Reporter: Jan Jancura <jjancura>
Component: CodeAssignee: issues@debugger <issues>
Status: CLOSED WONTFIX    
Severity: normal    
Priority: P4    
Version: -FFJ-   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Jancura 2001-02-13 17:55:44 UTC
Using build 1160

To reproduce:

1) Mount a new filesystem and create a new package, pkg1
   and class, class1.

2) Mount another new filesystem, fs2, and create new package, pkg2
   and class, class1. Develop a program, prog2 that uses class1.

3) Modify class1 in pkg2 and rebuild pkg2
4) Debug prog2 and step into class1's code

Result:
The code for class1 in pkg1 is loaded instead of class1 in pkg2
Comment 1 Jan Stola 2001-02-14 16:02:59 UTC
Order of mounted filesystems reflects order of paths in classpath.
So, if you want to debug the second class you should change order
of mounted filesystems.