Index: text/tests/java/text/DecimalFormatTest.java =================================================================== --- text/tests/java/text/DecimalFormatTest.java (revision 483957) +++ text/tests/java/text/DecimalFormatTest.java (working copy) @@ -1201,6 +1201,11 @@ assertTrue("Test4: Returned incorrect currency", df.getCurrency() == currE); + // Regression for HARMONY-1351 + df = (DecimalFormat) NumberFormat.getCurrencyInstance(new Locale("QWERTY")); + assertTrue("Test5: Returned incorrect currency", + df.getCurrency() == currX); + // JDK fails these tests since it doesn't have the PREEURO variant // df = (DecimalFormat)NumberFormat.getCurrencyInstance(new Locale("fr", // "FR","PREEURO"));