Skip to content
Permalink
Browse files
8268319: VersionCheck test fails for jextract on Windows
Reviewed-by: sundar
  • Loading branch information
JornVernee committed Jun 7, 2021
1 parent 5955161 commit 2a2439389574dbe7ecd70986f90949de74a5e19b
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/jdk/tools/launcher/VersionCheck.java
@@ -173,7 +173,7 @@ static String testJVersionStrings() {
System.out.println("Testing " + f.getName());
String x = f.getAbsolutePath();
String testStr = getVersion(x, "-J-version");
if (f.getName().equals("jextract")) {
if (f.getName().startsWith("jextract")) {
// skip the WARNING: Unknown module: jdk.incubator.jextract specified to --enable-native-access line
testStr = testStr.substring(testStr.indexOf('\n') + 1);
}

0 comments on commit 2a24393

Please sign in to comment.