< prev index next >
test/jdk/java/nio/charset/Charset/DefaultCharsetTest.java
Print this page
rev 59105 : imported patch corelibs
@@ -23,11 +23,11 @@
/*
* @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
* jdk.test.lib.JDKToolFinder
* jdk.test.lib.JDKToolLauncher
@@ -74,16 +74,10 @@
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"});
- }
return data.iterator();
}
@Test(dataProvider = "locales")
public void testDefaultCharset(String locale, String expectedCharset)
< prev index next >