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 64813 - New OD's Classpath editor allows to add same item multiple times
Summary: New OD's Classpath editor allows to add same item multiple times
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 10:51 UTC by Max Sauer
Modified: 2008-12-22 18:54 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 Max Sauer 2005-09-21 10:51:39 UTC
Inside new OD's Advanced | Classpath | Manage Classpath, it is possible to add
same item multiple times.

Steps to reproduce:
-------------------
1) Invoke Tools | Options | Advanced | Classpath | Manage Classpath...
2) Add ie. the same jar twice
3) Try Move Up / Down
--> Same item is added twice; Move Up/ Down buttons can be disabled both at once
under certain circumstances

[200509201800, JDK 1.5.0_05, solaris 10/sparc]
Comment 1 Jan Jancura 2005-09-21 11:18:07 UTC
I use standard ClasspathEditor there.
Comment 2 Jiri Rechtacek 2006-08-07 15:01:54 UTC
AFAIK, no Classpath editor in Advanced options no more.
Comment 3 Max Sauer 2006-08-07 15:53:24 UTC
The location of the dialog is Tools|Options|Misc.|Ant|Classpath|Manage
Classpath, and behaves still the same.

- using of move up/down disables both these buttons
- same jar can be added twice
Comment 4 Jiri Rechtacek 2006-08-07 16:42:14 UTC
Needs to fix code/execution/NbClassPathCustomEditor.
Comment 5 Jiri Rechtacek 2006-08-07 17:05:55 UTC
Checking in
core/execution/src/org/netbeans/core/execution/beaninfo/editors/NbClassPathCustomEditor.java;
/shared/data/ccvs/repository/core/execution/src/org/netbeans/core/execution/beaninfo/editors/NbClassPathCustomEditor.java,v
 <--  NbClassPathCustomEditor.java
new revision: 1.9; previous revision: 1.8
done
Comment 6 Max Sauer 2006-08-08 08:57:29 UTC
Verified.
----
NetBeans IDE Dev (Build 200608071800)
1.6.0-rc; Java HotSpot(TM) 64-Bit Server VM 1.6.0-rc-b94
SunOS version 5.10 running on sparcv9
en (nb); ISO646-US