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 210525 - [72cat] Cannot reset Java Platform back to default platform
Summary: [72cat] Cannot reset Java Platform back to default platform
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-04-02 11:33 UTC by crazyjavahacking
Modified: 2012-04-04 10:10 UTC (History)
1 user (show)

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 crazyjavahacking 2012-04-02 11:33:16 UTC
I have found a following bug:

1.) Create an empty Java Based Maven project using NetBeans running on JDK7 (in that case JDK7 will be selected as default platform for the maven project as well)
2.) Change the Java Platform to JDK6 and click on OK
3.) Now if you will try to change it back to JDK7, even if you click on JDK7, it will not be selected.

The only solution to get it back is to remove the nb-configuration.xml file.


JDK7u3, NetBeans Dev Build 201203280401
Comment 1 Jesse Glick 2012-04-02 15:04:20 UTC
Confirmed; probably regression from recent customizer refactoring.
Comment 2 Milos Kleint 2012-04-03 08:18:55 UTC
https://hg.netbeans.org/core-main/rev/f550eb4eb712
Comment 3 Quality Engineering 2012-04-04 10:10:34 UTC
Integrated into 'main-golden', will be available in build *201204040400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f550eb4eb712
User: Milos Kleint <mkleint@netbeans.org>
Log: #210525 null used to have 2 meanings, default value and not found value. replacing the defautl value meaning with a constant