[8u] RFR: 8229922: correct java.locale.provider to JRE for backported tests

Jonathan Dowland jdowland at redhat.com
Wed Aug 26 14:44:38 UTC 2020


Hello,

Please review the following webrev proposed for jdk8u. This fixes 6 of the
backported tests identified as faulty for jdk8u in JDK-8229922:

    test/java/text/Format/DateFormat/DateFormatTest.java
    test/java/text/Format/ DateFormat/NonGregorianFormatTest.java
    test/java/text/Format/MessageFormat/LargeMessageFormat.java
    test/java/text/For mat/NumberFormat/NumberRegression.java
    test/java/text/Format/NumberFormat/NumberTest.java
    test/java/util/TimeZone/HongKong.java

The "COMPAT" locale provider was introduced in JDK9 as a synonym for the "JRE"
provider, which was deprecated. These tests declare a locale provider list
including "COMPAT", the fix is changing them to "JRE".

Bug: https://bugs.openjdk.java.net/browse/JDK-8229922
Webrev: https://cr.openjdk.java.net/~sgehwolf/webrevs/jdowland/JDK-8229922/


Thanks,

-- 
���� Jonathan Dowland <jdowland at redhat.com>
Senior Software Engineer, OpenJDK, Red Hat



More information about the jdk8u-dev mailing list