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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • 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.
      ```

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

              Created:
              Updated:
              Resolved: