jtreg test failure

Naoto Sato naoto.sato at oracle.com
Wed Aug 26 16:48:17 UTC 2015


Turned out it was indeed failing in Ireland locale. Filed the following 
bug, and the review request will follow.

https://bugs.openjdk.java.net/browse/JDK-8134520

Naoto

On 8/25/15 10:51 AM, Naoto Sato wrote:
> On 8/25/15 10:14 AM, Maurizio Cimadamore wrote:
>>
>>
>> On 25/08/15 18:04, Naoto Sato wrote:
>>> Hi Maurizio,
>>>
>>> The test case was added for the following feature:
>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8008577
>>>
>>> On my environment and JPRT runs, neither had the said failure. Can you
>>> please elaborate your environment more?
>> I noted that tests seem to work fine with JPRT/Mach 5.
>>
>> I'm running JDK tests using the standard make target:
>>
>> make -C tests java_util
>>
>> So I guess the weirdness has to do with my locale settings (I'm based in
>> Ireland).
>>
>> Is there's some specific env variable you need?
>
> No. And the locale should not matter because the test explicitly specify
> en_US. Can you please file an issue for this?
>
> Naoto
>
>>
>> Maurizio
>>>
>>> Naoto
>>>
>>> On 8/25/15 4:14 AM, Maurizio Cimadamore wrote:
>>>> Hi,
>>>> the test for:
>>>>
>>>> https://bugs.openjdk.java.net/browse/JDK-8134250
>>>>
>>>> Which has been recently pushed is failing for me:
>>>>
>>>> java.lang.RuntimeException: FULL date format of Islamic Um-Alqura
>>>> calendar in en_US is incorrect. Got: Tuesday 12 Safar 1400 AH,
>>>> expected:
>>>> Tuesday, Safar 12, 1400 AH
>>>>      at Bug8134250.main(Bug8134250.java:68)
>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>      at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>>>
>>>>
>>>>
>>>>      at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>
>>>>
>>>>
>>>>      at java.lang.reflect.Method.invoke(Method.java:519)
>>>>      at
>>>> com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
>>>>
>>>>
>>>>
>>>>      at java.lang.Thread.run(Thread.java:746)
>>>>
>>>> JavaTest Message: Test threw exception: java.lang.RuntimeException:
>>>> FULL
>>>> date format of Islamic Um-Alqura calendar in en_US is incorrect. Got:
>>>> Tuesday 12 Safar 1400 AH, expected: Tuesday, Safar 12, 1400 AH
>>>> JavaTest Message: shutting down test
>>>>
>>>>
>>>> I couldn't find any related entries on JBS. Any thoughts?
>>>>
>>>> Maurizio
>>



More information about the core-libs-dev mailing list