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.
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.
In my opinion this is a JDK 9 specific issue.
fixed in jet-main #11474c5c739b
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