Skip to content

Commit 8f49220

Browse files
committed
8206350: java/util/Locale/bcp47u/SystemPropertyTests.java failed on Mac 10.13 with zh_CN and zh_TW locales.
Backport-of: 10fca53
1 parent deba308 commit 8f49220

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/jdk/java/util/Locale/bcp47u/SystemPropertyTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
4747
public class SystemPropertyTests {
4848

4949
private static String LANGPROP = "-Duser.language=en";
50+
private static String SCPTPROP = "-Duser.script=";
5051
private static String CTRYPROP = "-Duser.country=US";
5152

5253
@DataProvider(name="data")
@@ -88,7 +89,7 @@ Object[][] data() {
8889
@Test(dataProvider="data")
8990
public void runTest(String extprop, String defLoc,
9091
String defFmtLoc, String defDspLoc) throws Exception {
91-
int exitValue = executeTestJava(LANGPROP, CTRYPROP,
92+
int exitValue = executeTestJava(LANGPROP, SCPTPROP, CTRYPROP,
9293
extprop, "DefaultLocaleTest", defLoc, defFmtLoc, defDspLoc)
9394
.outputTo(System.out)
9495
.errorTo(System.out)

0 commit comments

Comments
 (0)