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 257476 - Compilation of simple Java Project fails due to wrong arguments on Jigsaw
Summary: Compilation of simple Java Project fails due to wrong arguments on Jigsaw
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2016-01-08 11:09 UTC by Martin Balin
Modified: 2016-10-11 01:58 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 Martin Balin 2016-01-08 11:09:40 UTC
Running latest NB 9 jdk9 branch build netbeans--201601080622-javase.zip on Windows. Jigsawm b96 used as NB JDK. Use default Java platform for simple Java Ant project. Add module-info.java. Build the project.
Following error is printed to output window:
Compiling 2 source files to C:\Users\mbalin\Documents\NetBeansProjects\JavaApplication1\build\classes
error: illegal argument for -modulepath: Illegal char <:> at index 0: :C:\Users\mbalin\Documents\NetBeansProjects\JavaApplication1\build\empty
error: illegal argument for -upgrademodulepath: Illegal char <:> at index 0: :C:\Users\mbalin\Documents\NetBeansProjects\JavaApplication1\build\empty
C:\Users\mbalin\Documents\NetBeansProjects\JavaApplication1\nbproject\build-impl.xml:991: The following error occurred while executing this line:
C:\Users\mbalin\Documents\NetBeansProjects\JavaApplication1\nbproject\build-impl.xml:271: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 4 seconds)
Comment 1 Martin Balin 2016-04-07 08:09:52 UTC
The problem is still present on Windows with latest build of NB 9 20160407... using JDK9 EA b 112 as Java Platform.
Comment 2 Tomas Zezula 2016-04-14 11:28:26 UTC
Fixed jet-main 829bd0799c6d
Comment 3 Quality Engineering 2016-10-11 01:58:26 UTC
Integrated into 'main-silver', will be available in build *201610110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/829bd0799c6d
User: Tomas Zezula <tzezula@netbeans.org>
Log: #257476:Compilation of simple Java Project fails due to wrong arguments on Jigsaw