RFR: 8297: Update OptionsCheckRule for new JDK releases

Hendrik Schick duke at openjdk.org
Sat Jan 18 14:11:53 UTC 2025


New cli-options were added for JDK release 22, 23 based on the official release notes (removed part and deprecated path)
https://www.oracle.com/java/technologies/javase/22-relnote-issues.html
https://www.oracle.com/java/technologies/javase/23-relnote-issues.html 

I also updated existing depcrecated options in the array based on 
this file in the jdk https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/arguments.cpp#L516 which is regularly updated, i switched between git tags to find earlier options when they were part of the array. I did this to jdk10, but not before jdk version 10 for everything i could find. I can also update the arguments, which were obsoleted in jdk9.

Any feedback appreciated, thank you.

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

Commit messages:
 - 8297: update OptionsCheckRule jvm arguments

Changes: https://git.openjdk.org/jmc/pull/625/files
  Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=625&range=00
  Issue: https://bugs.openjdk.org/browse/JMC-8297
  Stats: 68 lines in 3 files changed: 30 ins; 0 del; 38 mod
  Patch: https://git.openjdk.org/jmc/pull/625.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/625/head:pull/625

PR: https://git.openjdk.org/jmc/pull/625


More information about the jmc-dev mailing list