8269373: some tests in jdk/tools/launcher/ fails on localized Windows platform
Reviewed-by: naoto
This commit is contained in:
parent
7e662e7b9d
commit
cb112affd6
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -360,6 +360,10 @@ public class FXLauncherTest extends TestHelper {
|
||||
*/
|
||||
@Test
|
||||
static void testMissingMC() throws Exception {
|
||||
if (!isEnglishLocale()) {
|
||||
return;
|
||||
}
|
||||
|
||||
String testname = "testMissingMC";
|
||||
testcount++;
|
||||
line();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -200,6 +200,10 @@ public class SourceMode extends TestHelper {
|
||||
// java --add-exports=... Export.java --help
|
||||
@Test
|
||||
void testAddExports() throws IOException {
|
||||
if (!isEnglishLocale()) {
|
||||
return;
|
||||
}
|
||||
|
||||
starting("testAddExports");
|
||||
Path exportJava = Paths.get("Export.java");
|
||||
createFile(exportJava, List.of(
|
||||
@ -254,6 +258,10 @@ public class SourceMode extends TestHelper {
|
||||
// java --source N -cp ... HelloWorld
|
||||
@Test
|
||||
void testSourceClasspath() throws IOException {
|
||||
if (!isEnglishLocale()) {
|
||||
return;
|
||||
}
|
||||
|
||||
starting("testSourceClasspath");
|
||||
Path base = Files.createDirectories(Paths.get("testSourceClasspath"));
|
||||
Path src = Files.createDirectories(base.resolve("src"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user