netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dell Green (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NETBEANS-961) Clicking Test Project fails with open module project
Date Fri, 15 Jun 2018 14:53:00 GMT
Dell Green created NETBEANS-961:
-----------------------------------

             Summary: Clicking Test Project fails with open module project
                 Key: NETBEANS-961
                 URL: https://issues.apache.org/jira/browse/NETBEANS-961
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Ant, utilities - Test Runner
    Affects Versions: 9.0
         Environment: Apache Netbeans IDE Dev 20180615-9cac2724c861
JDK10 or JDK9 as platform
            Reporter: Dell Green


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;
}

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message