RFR: 8236225: Remove expired flags in JDK 17

David Holmes dholmes at openjdk.java.net
Mon Dec 14 23:16:06 UTC 2020


8236225: Remove expired flags in JDK 17 
8256717: Expire the long term obsoleted VM flags 

The newly expired flags in 17 are removed from the flag table, as are all of the long term obsolete flags that had no explicit expiration release.

Updated any remaining references to the obsolete flags that are now expired.

Updated the man page to move flags from obsolete section to expired (removed) section. Note the manpage also shows changes to the illegal-access flag, this is a change that was made to the closed manpage source for JDK 16 but has not yet been pushed into the open java.1 version. This part of the change can be ignored.

Testing: tiers 1-3 and local testing of modified tests. I'm also checking for any JCK tests that may still use the legacy obsolete flags.

Thanks,
David

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

Commit messages:
 - Add a dummy obsolete flag for testing purposes as we have no actual obsolete flags in JDK 17 at ths time.
 - Updated manpage
 - Update files (mainly tests) that referred to obsolete flags that are now expired.
 - Undo the change the CriticalJNINative
 - 8256717: Expire the long term obsoleted VM flags
 - 8236225: Remove expired flags in JDK 17

Changes: https://git.openjdk.java.net/jdk/pull/1773/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1773&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8236225
  Stats: 341 lines in 7 files changed: 118 ins; 213 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1773.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1773/head:pull/1773

PR: https://git.openjdk.java.net/jdk/pull/1773


More information about the hotspot-runtime-dev mailing list