Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8173765

opens on an unknown or empty package is now supposed to be a warning.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • tools

      compile module-info.java
      module m { opens p; }

      javac output:
      module-info.java:1: error: package is empty or does not exist: p
      module m { opens p; }
                       ^
      1 error

            Unassigned Unassigned
            anazarov Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: