RFR: 8373561: Replace usages of -verify java launcher option with -Xverify:all JVM option
Jaikiran Pai
jpai at openjdk.org
Fri Dec 12 05:32:31 UTC 2025
Can I please get a review of this test-only change which replaces the usages of the deprecated "-verify" java launcher option with "-Xverify:all"?
As noted in https://bugs.openjdk.org/browse/JDK-8373561, the `-verify` `java` launcher option was deprecated for removal in Java 24 and will be removed in some upcoming release. The commit in this PR replaces its usage in tests with the `-Xverify:all` JVM option.
tier1, tier2 and tier3 testing with these changes passed without any related issues. The `test/jdk/javax/swing/JFileChooser/6520101/bug6520101.java` test, that's updated in this PR, was individually run in our CI and that too passed on all headful platforms.
-------------
Commit messages:
- replace deprecated -verify with -Xverify:all
Changes: https://git.openjdk.org/jdk/pull/28780/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28780&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8373561
Stats: 10 lines in 5 files changed: 0 ins; 0 del; 10 mod
Patch: https://git.openjdk.org/jdk/pull/28780.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28780/head:pull/28780
PR: https://git.openjdk.org/jdk/pull/28780
More information about the client-libs-dev
mailing list