RFR: 8318458: Update javac and java manpages with restricted method options

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Oct 18 15:38:14 UTC 2023


This PR updates the man pages for `javac` and `java` to document:
* the new `javac` warning for restricted methods (`-Xlint:restricted`)
* the `java` option to allow access to restricted methods without warnings (`--enable-native-access`)

-------------

Commit messages:
 - Initial push

Changes: https://git.openjdk.org/jdk/pull/16249/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16249&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318458
  Stats: 21 lines in 2 files changed: 17 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/16249.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16249/head:pull/16249

PR: https://git.openjdk.org/jdk/pull/16249


More information about the core-libs-dev mailing list