RFR: 8373561: Replace usages of -verify java launcher option with -Xverify:all JVM option
Jaikiran Pai
jpai at openjdk.org
Mon Dec 15 14:00:18 UTC 2025
On Fri, 12 Dec 2025 05:22:19 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> 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.
Thank you all for the reviews. There's one javac related test file update in this PR, so I'll need someone from compiler area to review this too, please.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28780#issuecomment-3655782579
More information about the compiler-dev
mailing list