Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8206350: java/util/Locale/bcp47u/SystemPropertyTests.java failed on M…
…ac 10.13 with zh_CN and zh_TW locales.

Backport-of: 10fca53
  • Loading branch information
RealCLanger committed Jul 21, 2021
1 parent deba308 commit 8f49220
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/jdk/java/util/Locale/bcp47u/SystemPropertyTests.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2018, 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
Expand Down Expand Up @@ -47,6 +47,7 @@
public class SystemPropertyTests {

private static String LANGPROP = "-Duser.language=en";
private static String SCPTPROP = "-Duser.script=";
private static String CTRYPROP = "-Duser.country=US";

@DataProvider(name="data")
Expand Down Expand Up @@ -88,7 +89,7 @@ Object[][] data() {
@Test(dataProvider="data")
public void runTest(String extprop, String defLoc,
String defFmtLoc, String defDspLoc) throws Exception {
int exitValue = executeTestJava(LANGPROP, CTRYPROP,
int exitValue = executeTestJava(LANGPROP, SCPTPROP, CTRYPROP,
extprop, "DefaultLocaleTest", defLoc, defFmtLoc, defDspLoc)
.outputTo(System.out)
.errorTo(System.out)
Expand Down

1 comment on commit 8f49220

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.