Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-961

Clicking Test Project fails with open module project

    XMLWordPrintableJSON

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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rampantbadger Dell Green
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: