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 118085 - A source root disappear after its disabling in Sources view
Summary: A source root disappear after its disabling in Sources view
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-10-08 11:56 UTC by ehucka
Modified: 2007-10-10 16:25 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 ehucka 2007-10-08 11:56:24 UTC
Product Version: NetBeans IDE Dev (Build 20071008075405)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: SunOS version 5.11 running on x86; UTF-8; en_US (nb)

Reproduction:

Just disable any source root in Sources view.
Comment 1 Martin Entlicher 2007-10-08 14:32:03 UTC
Reproduced.
Comment 2 Martin Entlicher 2007-10-08 14:35:38 UTC
Seems to be a regression caused by the fix of issue #117381.
Comment 3 Martin Entlicher 2007-10-08 18:51:25 UTC
The handling of additional source roots is fixed now. Disabling/enabling of all source roots should work fine now:

/shared/data/ccvs/repository/debuggerjpda/projects/src/org/netbeans/modules/debugger/jpda/projects/SourcePathProviderImpl.java,v
 <--  SourcePathProviderImpl.java
new revision: 1.10; previous revision: 1.9

/shared/data/ccvs/repository/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/SourcesModel.java,v  <-- 
SourcesModel.java
new revision: 1.23; previous revision: 1.22
Comment 4 ehucka 2007-10-10 16:25:55 UTC
verified