jdk/test/java/util/Locale/LocaleProviders.sh
changeset 22989 2d6804cfdc0e
parent 22602 0d9a07b0d7e9
child 28093 270b6925cbc8
--- a/jdk/test/java/util/Locale/LocaleProviders.sh	Tue Jan 28 20:10:11 2014 +0000
+++ b/jdk/test/java/util/Locale/LocaleProviders.sh	Wed Feb 19 09:17:28 2014 -0800
@@ -314,4 +314,22 @@
 PARAM3=
 runTest
 
+# testing 8027289 fix, if the platform format default is zh_CN
+# this assumes Windows' currency symbol for zh_CN is \u00A5, the yen
+# (yuan) sign.
+if [ "${DEFFMTLANG}" = "zh" ] && [ "${DEFFMTCTRY}" = "CN" ]; then
+  METHODNAME=bug8027289Test
+  PREFLIST=JRE,HOST
+  PARAM1=FFE5
+  PARAM2=
+  PARAM3=
+  runTest
+  METHODNAME=bug8027289Test
+  PREFLIST=HOST
+  PARAM1=00A5
+  PARAM2=
+  PARAM3=
+  runTest
+fi
+
 exit $result