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 270716 - IllegalArgumentException: invalid flag: -Xmodule:java.base
Summary: IllegalArgumentException: invalid flag: -Xmodule:java.base
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: Dev
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-23 10:40 UTC by Jiri Prox
Modified: 2017-12-16 23:18 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229233


Attachments
stacktrace (5.06 KB, text/plain)
2017-05-23 10:40 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2017-05-23 10:40:36 UTC
Build: NetBeans IDE Dev (Build 201705220001)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+170, Java(TM) SE Runtime Environment, 9-ea+170
OS: Windows 7

User Comments:
jiriprox: IAE when calling code completion in JShell




Stacktrace: 
java.lang.IllegalArgumentException: invalid flag: -Xmodule:java.base
   at com.sun.tools.javac.main.Arguments.error(Arguments.java:892)
   at com.sun.tools.javac.main.Arguments.doProcessArgs(Arguments.java:413)
   at com.sun.tools.javac.main.Arguments.processArgs(Arguments.java:365)
   at com.sun.tools.javac.main.Arguments.init(Arguments.java:246)
   at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:185)
   at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:904)
Comment 1 Jiri Prox 2017-05-23 10:40:38 UTC
Created attachment 164383 [details]
stacktrace
Comment 2 Exceptions Reporter 2017-09-22 09:59:34 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229233
Comment 3 Exceptions Reporter 2017-11-12 21:13:20 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229233