Test failed because of unexpected output of version string. The standard convention for tests is to skip any unexpected output (version string, VM warning, vm logging) and only fail on expected error patterns. Fix is tested by running with default options and with '-showversion' vm option.
------------- Commit messages: - 8315406 Changes: https://git.openjdk.org/jdk/pull/15499/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15499&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8315406 Stats: 9 lines in 1 file changed: 0 ins; 8 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/15499.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15499/head:pull/15499 PR: https://git.openjdk.org/jdk/pull/15499