Javadoc for restricted method does not reflect updates to --enable-native-access

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: repo-panama
    • Component/s: tools

      After JDK-8282210, the javadoc for restricted methods is out of sync w.r.t. the behavior of the --enable-native-access flag:

      ```
      * @throws IllegalCallerException if access to this method occurs from a module {@code M} and the command line option
           * {@code --enable-native-access} is either absent, or does not mention the module name {@code M}, or
           * {@code ALL-UNNAMED} in case {@code M} is an unnamed module.
      ```

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: