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 184427 - Resolve Reference Problems: not able to select a new Java platform after removing the current one
Summary: Resolve Reference Problems: not able to select a new Java platform after remo...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 09:44 UTC by jcchak
Modified: 2010-04-20 07:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jcchak 2010-04-19 09:44:15 UTC
Hi, 

First of all sorry if this is not a bug but a feature request.

I have found a problem with the "Resolve Reference Problems" when working with different Java platforms.

I'm using several versions of OpenJDK. When I'm not interested anymore in one of them, I just remove it using the Netbeans's Java Platform Manager. If a project is using the removed Java platform, then Netbeans is able to detect that the Java platform could not be found.

The problem is that "Resolve Reference Problems" just accepts as a Solution to create a new Java platform with the same name as the removed one. So, for example, if I have on my machine two Java platforms called "OpenJDK-b17" and "OpenJDK-b19" and I decide to remove "OpenJDK-b17" from the Java Platform Manager because it's the old one, then "Resolve Reference Problems" won't let me to choose the "OpenJDK-b19" platform, but just to create a new platform with the name "OpenJDK-b17". If I do so, the reference problem is gone, but if I don't, then the reference problem is still there and I think that it doesn't make sense to create again the "OpenJDK-b17" platform because I don't want to use it anymore.

So, in few words, I think that "Resolve Reference Problems" s
hould not only give the option to create again a platform with the same name as the removed one, but also to give the chance to choose a different Java Platform.


Thanks in advance!
Comment 1 Jesse Glick 2010-04-19 18:31:42 UTC
Would be useful.
Comment 2 Tomas Zezula 2010-04-20 07:53:37 UTC
Yes, should be added.