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

Update javac and java manpages with restricted method options

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 22
    • 22
    • tools
    • b21

      Support for restricted methods in the Foreign Function & Memory API includes two options that need to be documented:

      * the `javac` compiler has a new lint warning (`-Xlint:restricted`) to warn about the usage of restricted methods.

      * the `java` launcher has an option (`--enable-native-access=...`) to specify which set of modules is granted access to restricted methods.

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

              Created:
              Updated:
              Resolved: