Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
9.0
-
None
-
Apache Netbeans IDE Dev 20180615-9cac2724c861
JDK10 or JDK9 as platform
Description
If the module is defined as an open module, then clicking the 'Test Project' button fails with
error: module not found: openFoo
my module is named Foo
open module Foo
{ exports newpackage; }seems there may be a parsing issue in ant netbeans task as error message show open and module name concatenated together as the module name.
if open is removed tests run fine.
As a workaround for now you can add remove open and add each package you want open explicitly
module Foo
{ exports newpackage; opens newpackage; }