<i18n dev> [14] RFR: 8236495, open/test/jdk/java/util/Locale/LocaleProvidersRun.java failed on mac 10.14 with de_DE locale.

naoto.sato at oracle.com naoto.sato at oracle.com
Mon Jan 6 17:55:02 UTC 2020


Hi Lance,

Thank you for the prompt review.

On 1/6/20 9:14 AM, Lance Andersen wrote:
> Hi Naoto,
> 
> The change looks OK.  One thought was whether any thought was given to 
> use SkippedException in the else block starting at line 370 within 
> LocaleProviders.

I am not familiar with that exception. Is it jtreg.SkippedException? I 
searched for the exception, and one example is:

jdk/java/nio/channels/DatagramChannel/PromiscuousIPv6.java

where it requires the platform is linux with the directive "@requires 
os.family == "linux"", so throwing the exception does work as an 
assertion. However in this LocaleProviders.java, it will need to simply 
ignore the case and should succeed. So I am not sure SkippedException 
can be applied here.

Naoto

> 
> Best
> Lance
> 
>> On Jan 6, 2020, at 12:05 PM, naoto.sato at oracle.com 
>> <mailto:naoto.sato at oracle.com> wrote:
>>
>> Hi,
>>
>> Please review the fix to the following issue:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8236495
>>
>> The proposed changeset is located at:
>>
>> https://cr.openjdk.java.net/~naoto/8236495/webrev.00/
>>
>> The test case for the fix to 8232860 was only intended for the US 
>> locale. Simply adding the default locale check will fix the test case.
>>
>> Naoto
> 
> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif><http://oracle.com/us/design/oracle-email-sig-198324.gif>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| 
> Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering
> 1 Network Drive
> Burlington, MA 01803
> Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
> 
> 
> 


More information about the i18n-dev mailing list