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

    • Type: Sub-task
    • Status: Closed
    • Priority: P3
    • Resolution: Delivered
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: tools
    • Subcomponent:
    • Verification:
      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

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

                Dates

                Created:
                Updated:
                Resolved: