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

Severin Gehwolf sgehwolf at redhat.com
Wed Aug 26 16:07:36 UTC 2020


Hi Jon,

On Wed, 2020-08-26 at 15:44 +0100, Jonathan Dowland wrote:
> 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

Given that the proposed webrev fixes only part of the failing tests I'd
suggest to split this one out into a separate bug and keep JDK-8229922
around as an umbrella bug.

I've opened:
https://bugs.openjdk.java.net/browse/JDK-8252384

> 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/

Lets continue review of this issue via 8252384. Note that RFR threads
should follow the bug synopsis. So an RFR for 8252384 should have
subject:

[8u] RFR: 8252384: [TESTBUG] Some tests refer to COMPAT provider rather than JRE

Thanks,
Severin



More information about the jdk8u-dev mailing list