--- old/test/jdk/java/nio/charset/Charset/DefaultCharsetTest.java 2020-05-20 18:06:31.005581375 -0700 +++ new/test/jdk/java/nio/charset/Charset/DefaultCharsetTest.java 2020-05-20 18:06:30.669574924 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2020, 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 @@ -25,7 +25,7 @@ * @test * @bug 4772857 * @summary Unit test for Charset.defaultCharset - * @requires (os.family == "linux" | os.family == "solaris") + * @requires os.family == "linux" * @library /test/lib * @build jdk.test.lib.Utils * jdk.test.lib.Asserts @@ -70,18 +70,10 @@ data.add(new String[]{"ja_JP.utf8", "utf-8"}); data.add(new String[]{"tr_TR", "iso-8859-9"}); data.add(new String[]{"C", "us-ascii"}); - if (Platform.isLinux()) { - data.add(new String[]{"ja_JP", "x-euc-jp-linux"}); - data.add(new String[]{"ja_JP.eucjp", "x-euc-jp-linux"}); - data.add(new String[]{"ja_JP.ujis", "x-euc-jp-linux"}); - data.add(new String[]{"ja_JP.utf8", "utf-8"}); - } - if (Platform.isSolaris()) { - data.add(new String[]{"ja", "x-eucjp-open"}); - data.add(new String[]{"ja_JP.eucJP", "x-eucjp-open"}); - data.add(new String[]{"ja_JP.PCK", "x-PCK"}); - data.add(new String[]{"ja_JP.UTF-8", "utf-8"}); - } + data.add(new String[]{"ja_JP", "x-euc-jp-linux"}); + data.add(new String[]{"ja_JP.eucjp", "x-euc-jp-linux"}); + data.add(new String[]{"ja_JP.ujis", "x-euc-jp-linux"}); + data.add(new String[]{"ja_JP.utf8", "utf-8"}); return data.iterator(); }