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 253075 - Cannot set 1.9 source format for Maven based project running on JDK 1.9 Java platform
Summary: Cannot set 1.9 source format for Maven based project running on JDK 1.9 Java ...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2015-06-19 12:29 UTC by Jiri Kovalsky
Modified: 2015-11-30 19:08 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 Jiri Kovalsky 2015-06-19 12:29:33 UTC
Product Version: NetBeans Dev JDK9 branch (Build 201506180405)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev-jdk9-branch
Cache directory: /home/cesilko/.cache/netbeans/dev-jdk9-branch

Description:
============
While for Ant-based Java projects it is possible to set 1.9 Source/Binary Format if one uses JDK 1.9 Java Platform the same is not possible for Maven-based Java projects.

Steps to reproduce:
===================
1. Invoke "File > New Project..." from main menu.
2. Select "Maven" category, "Java Application" project type and push "Next >" and "Finish" buttons.
3. Right click "mavenproject1" node and invoke "Properties" from its popup menu.
4. Select "Build > Compile" properties category and click "Manage Java Platforms" button.
5. If you don't have any JDK 1.9 platform registered, use "Add Platform..." button to add one. Then close "Manage Java Platforms" dialog.
6. Select the "JDK 1.9" as Java Platform for your newly created Maven project.
7. Select "Sources" properties category.

Expected: It is possible to select "1.9" version from "Source/Binary Format" list.
Actual: It is possible to only select "1.8" and older versions from "Source/Binary Format" list. "1.9" is missing.
Comment 1 Jiri Kovalsky 2015-06-19 12:30:04 UTC
In my opinion this is a JDK 9 specific issue.
Comment 2 Tomas Stupka 2015-06-25 14:20:32 UTC
fixed in jet-main #11474c5c739b
Comment 3 Quality Engineering 2015-11-30 19:08:39 UTC
Integrated into 'main-silver', will be available in build *201511301649* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/11474c5c739b
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #253075 - Cannot set 1.9 source format for Maven based project running on JDK 1.9 Java platform