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 - Debugger loads wrong class if class with same name is mounted in another fs
Summary: Debugger loads wrong class if class with same name is mounted in another fs
Status: CLOSED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P4 normal (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-13 17:55 UTC by Jan Jancura
Modified: 2002-07-19 15:17 UTC (History)
0 users

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 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.