Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8207032 Compilation succeeds without checking readability when --add-exports used
  3. JDK-8207180

Release Note: --add-exports No Longer Implies Readability in javac

    XMLWordPrintable

Details

    • Verified

    Description

      Running `javac` with the `--add-exports` command line option will no longer automatically make the exporting module readable by the target module. If needed, use the `--add-reads` option to let the target module read the exporting module.

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              jlahoda Jan Lahoda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: