Re: [External] : Re: JDK 16-EA issue

2021-02-22 Thread Rory O'Donnell

Hi Gary,

Thanks for that !

The bug is now in JBS - *JDK-8262108 



*Rgds,Rory

On 21/02/2021 17:00, Gary Gregory wrote:

Hi All:
The internal review ID is 9069161.
Sorry for the delay. Using the 'anosymous' bug reporter is a bit of a
pain as the UI is not friendly (small text boxes). Can I get a normal
account to report issues?

On Tue, Dec 29, 2020 at 1:27 PM Gary Gregory  wrote:

Hi Rory and all,

Before I go through creating a bug, I wanted to run this one by you all first. 
All tests pass on Java 8 and 11. We have known failures on 15, and new ones on 
16.

Just like Apache Commons Lang 
[https://urldefense.com/v3/__https://github.com/apache/commons-lang__;!!GqivPVa7Brio!JFOPWFFW4YG-tSaEJpjt6j03DEvaWwAI2IF4ZK57eCcOgGhtUIAfQexRiWGF21ZHGw0$
 ] ran into issues

https://bugs.openjdk.java.net/browse/JDK-8248434 and
https://bugs.openjdk.java.net/browse/JDK-8248655)

on Java 15 now fixed on Java 16, we've found another that fails on Java 15 and 
16-ea+29 with locale sq_MK in our unit test 
org.apache.commons.lang3.time.Java15BugFastDateParserTest which you see in 
action here:

https://urldefense.com/v3/__https://github.com/apache/commons-lang/runs/1622593373?check_suite_focus=true__;!!GqivPVa7Brio!JFOPWFFW4YG-tSaEJpjt6j03DEvaWwAI2IF4ZK57eCcOgGhtUIAfQexRiWGFafCdS-Q$

How to reproduce (requires git and Apache Maven):
git clone 
https://urldefense.com/v3/__https://gitbox.apache.org/repos/asf/commons-lang.git__;!!GqivPVa7Brio!JFOPWFFW4YG-tSaEJpjt6j03DEvaWwAI2IF4ZK57eCcOgGhtUIAfQexRiWGF2zoUgao$
mvn clean test

For example, we expect to parse a date into a certain value but we get an 
unexpected value:
Mon Feb 10 00:00:00 GMT+00:00 2003> but was:  expected:  but was: 
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)

In case the GitHub build falls off, here is the complete list of errors:

Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time elapsed: 0.658 s 
<<< FAILURE! - in org.apache.commons.lang3.time.Java15BugFastDateParserTest
Error:  
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1]
  Time elapsed: 0.14 s  <<< FAILURE!
org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: 
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)

Error:  
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[2]
  Time elapsed: 0.04 s  <<< FAILURE!
org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: 
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)

Error:  
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[1]
  Time elapsed: 0.057 s  <<< FAILURE!
org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
  ==> expected:  but was: 
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(Java15BugFastDateParserTest.java:101)

Error:  
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[2]
  Time elapsed: 0.033 s  <<< FAILURE!
org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
  ==> expected:  but was: 
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(Java15BugFastDateParserTest.java:101)

Error:  
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_ShortNoEra_AD(TriFunction)[1]
  Time elapsed: 0.011 s  <<< FAILURE!
org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : 2003/2/10/12/e paradites/0/0/Hën, Java: 16-ea+29
  ==> expected:  but was: 
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_ShortNoEra_AD(Java15BugFastDateParserTest.java:136)

Error:  

Re: JDK 16-EA issue

2021-02-21 Thread Gary Gregory
Hi All:
The internal review ID is 9069161.
Sorry for the delay. Using the 'anosymous' bug reporter is a bit of a
pain as the UI is not friendly (small text boxes). Can I get a normal
account to report issues?

On Tue, Dec 29, 2020 at 1:27 PM Gary Gregory  wrote:
>
> Hi Rory and all,
>
> Before I go through creating a bug, I wanted to run this one by you all 
> first. All tests pass on Java 8 and 11. We have known failures on 15, and new 
> ones on 16.
>
> Just like Apache Commons Lang [https://github.com/apache/commons-lang] ran 
> into issues
>
> https://bugs.openjdk.java.net/browse/JDK-8248434 and
> https://bugs.openjdk.java.net/browse/JDK-8248655)
>
> on Java 15 now fixed on Java 16, we've found another that fails on Java 15 
> and 16-ea+29 with locale sq_MK in our unit test 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest which you see in 
> action here:
>
> https://github.com/apache/commons-lang/runs/1622593373?check_suite_focus=true
>
> How to reproduce (requires git and Apache Maven):
> git clone https://gitbox.apache.org/repos/asf/commons-lang.git
> mvn clean test
>
> For example, we expect to parse a date into a certain value but we get an 
> unexpected value:
> Mon Feb 10 00:00:00 GMT+00:00 2003> but was:  2003
>
> Here it is in the build:
>
> Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time elapsed: 
> 0.658 s <<< FAILURE! - in 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest
> Error:  
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1]
>   Time elapsed: 0.14 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError:
> locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
> paradites/e hënë, Java: 16-ea+29
>  ==> expected:  but was:  12:00:00 GMT+00:00 2003>
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)
>
> In case the GitHub build falls off, here is the complete list of errors:
>
> Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time elapsed: 
> 0.658 s <<< FAILURE! - in 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest
> Error:  
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1]
>   Time elapsed: 0.14 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError:
> locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
> paradites/e hënë, Java: 16-ea+29
>  ==> expected:  but was:  12:00:00 GMT+00:00 2003>
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)
>
> Error:  
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[2]
>   Time elapsed: 0.04 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError:
> locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
> paradites/e hënë, Java: 16-ea+29
>  ==> expected:  but was:  12:00:00 GMT+00:00 2003>
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)
>
> Error:  
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[1]
>   Time elapsed: 0.057 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError:
> locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
> paradites/e shtunë, Java: 16-ea+29
>  ==> expected:  but was:  12:00:00 GMT+00:00 2003>
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(Java15BugFastDateParserTest.java:101)
>
> Error:  
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[2]
>   Time elapsed: 0.033 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError:
> locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
> paradites/e shtunë, Java: 16-ea+29
>  ==> expected:  but was:  12:00:00 GMT+00:00 2003>
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> at 
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(Java15BugFastDateParserTest.java:101)
>
> Error:  
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_ShortNoEra_AD(TriFunction)[1]
>   Time elapsed: 0.011 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError:
> locale : sq_MK, formattedDate : 2003/2/10/12/e paradites/0/0/Hën, Java: 
> 16-ea+29
>  ==> expected:  but was:  12:00:00 GMT+00:00 2003>
> at 
> 

Re: JDK 16-EA issue

2021-01-08 Thread Gary Gregory
Not yet, but it's on my to do list...

Gary

On Fri, Jan 8, 2021, 05:23 Rory O'Donnell  wrote:

> Hi Gary,
>
> Have you had time to log a bug yet ?
>
> Thanks,Rory
>
> On 05/01/2021 01:09, Dalibor Topic wrote:
> > Hi,
> >
> > this looks like a bug, since "e hene" in Albanian means Monday. [0]
> > Please file an issue, and let us know what the incident id is.
> >
> > cheers,
> > dalibor topic
> >
> >
> > [0] https://en.wiktionary.org/wiki/e_h%C3%ABn%C3%AB
> >
> > On 29.12.2020 19:27, Gary Gregory wrote:
> >> Hi Rory and all,
> >>
> >> Before I go through creating a bug, I wanted to run this one by you
> >> all first. All tests pass on Java 8 and 11. We have known failures on
> >> 15, and new ones on 16.
> >>
> >> Just like Apache Commons Lang [https://github.com/apache/commons-lang
> >> <
> https://urldefense.com/v3/__https://github.com/apache/commons-lang__;!!GqivPVa7Brio!PrL4yCzeEShPJaQOPD7aixjAsPaRvJXA4kL9FBkp1PuwPU8MRyAll5KIAD1zzMl3Yy0$>]
>
> >> ran into issues
> >>
> >> https://bugs.openjdk.java.net/browse/JDK-8248434
> >>  and
> >> https://bugs.openjdk.java.net/browse/JDK-8248655
> >> )
> >>
> >> on Java 15 now fixed on Java 16, we've found another that fails on
> >> Java 15 and 16-ea+29 with locale sq_MK in our unit
> >> test org.apache.commons.lang3.time.Java15BugFastDateParserTest which
> >> you see in action here:
> >>
> >>
> https://github.com/apache/commons-lang/runs/1622593373?check_suite_focus=true
> >> <
> https://urldefense.com/v3/__https://github.com/apache/commons-lang/runs/1622593373?check_suite_focus=true__;!!GqivPVa7Brio!PrL4yCzeEShPJaQOPD7aixjAsPaRvJXA4kL9FBkp1PuwPU8MRyAll5KIAD1zjy4pxLo$>
>
> >>
> >>
> >> How to reproduce (requires git and Apache Maven):
> >> git clone https://gitbox.apache.org/repos/asf/commons-lang.git
> >> <
> https://urldefense.com/v3/__https://gitbox.apache.org/repos/asf/commons-lang.git__;!!GqivPVa7Brio!PrL4yCzeEShPJaQOPD7aixjAsPaRvJXA4kL9FBkp1PuwPU8MRyAll5KIAD1z5qePyqo$
> >
> >> mvn clean test
> >>
> >> For example, we expect to parse a date into a certain value but we
> >> get an unexpected value:
> >> Mon Feb 10 00:00:00 GMT+00:00 2003> but was:  >> GMT+00:00 2003
> >>
> >> Here it is in the build:
> >>
> >> Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time
> >> elapsed: 0.658 s <<< FAILURE! - in
> >> org.apache.commons.lang3.time.Java15BugFastDateParserTest
> >> Error:
> >>
>   
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1]
>
> >>  Time elapsed: 0.14 s  <<< FAILURE!
> >> org.opentest4j.AssertionFailedError:
> >> locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e
> >> paradites/e hënë, Java: 16-ea+29
> >>   ==> expected:  but was:  >> Feb 12 12:00:00 GMT+00:00 2003>
> >> at
> >>
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> >> at
> >>
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)
> >>
> >> In case the GitHub build falls off, here is the complete list of errors:
> >>
> >> Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time
> >> elapsed: 0.658 s <<< FAILURE! - in
> >> org.apache.commons.lang3.time.Java15BugFastDateParserTest
> >> Error:
> >>
>   
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1]
>
> >>  Time elapsed: 0.14 s  <<< FAILURE!
> >> org.opentest4j.AssertionFailedError:
> >> locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e
> >> paradites/e hënë, Java: 16-ea+29
> >>   ==> expected:  but was:  >> Feb 12 12:00:00 GMT+00:00 2003>
> >> at
> >>
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> >> at
> >>
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)
> >>
> >> Error:
> >>
>   
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[2]
>
> >>  Time elapsed: 0.04 s  <<< FAILURE!
> >> org.opentest4j.AssertionFailedError:
> >> locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e
> >> paradites/e hënë, Java: 16-ea+29
> >>   ==> expected:  but was:  >> Feb 12 12:00:00 GMT+00:00 2003>
> >> at
> >>
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
> >> at
> >>
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)
> >>
> >> Error:
> >>
>   
> org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[1]
>
> >>  Time elapsed: 0.057 s  <<< FAILURE!
> >> org.opentest4j.AssertionFailedError:
> >> locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e
> >> paradites/e shtunë, Java: 16-ea+29
> >>   ==> expected:  but was:  >> Feb 12 

Re: JDK 16-EA issue

2021-01-08 Thread Rory O'Donnell

Hi Gary,

Have you had time to log a bug yet ?

Thanks,Rory

On 05/01/2021 01:09, Dalibor Topic wrote:

Hi,

this looks like a bug, since "e hene" in Albanian means Monday. [0] 
Please file an issue, and let us know what the incident id is.


cheers,
dalibor topic


[0] https://en.wiktionary.org/wiki/e_h%C3%ABn%C3%AB

On 29.12.2020 19:27, Gary Gregory wrote:

Hi Rory and all,

Before I go through creating a bug, I wanted to run this one by you 
all first. All tests pass on Java 8 and 11. We have known failures on 
15, and new ones on 16.


Just like Apache Commons Lang [https://github.com/apache/commons-lang 
] 
ran into issues


https://bugs.openjdk.java.net/browse/JDK-8248434 
 and
https://bugs.openjdk.java.net/browse/JDK-8248655 
)


on Java 15 now fixed on Java 16, we've found another that fails on 
Java 15 and 16-ea+29 with locale sq_MK in our unit 
test org.apache.commons.lang3.time.Java15BugFastDateParserTest which 
you see in action here:


https://github.com/apache/commons-lang/runs/1622593373?check_suite_focus=true 
 



How to reproduce (requires git and Apache Maven):
git clone https://gitbox.apache.org/repos/asf/commons-lang.git 


mvn clean test

For example, we expect to parse a date into a certain value but we 
get an unexpected value:
Mon Feb 10 00:00:00 GMT+00:00 2003> but was: GMT+00:00 2003


Here it is in the build:

Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time 
elapsed: 0.658 s <<< FAILURE! - in 
org.apache.commons.lang3.time.Java15BugFastDateParserTest
Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1] 
 Time elapsed: 0.14 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: Feb 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


In case the GitHub build falls off, here is the complete list of errors:

Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time 
elapsed: 0.658 s <<< FAILURE! - in 
org.apache.commons.lang3.time.Java15BugFastDateParserTest
Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1] 
 Time elapsed: 0.14 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: Feb 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[2] 
 Time elapsed: 0.04 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: Feb 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[1] 
 Time elapsed: 0.057 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
  ==> expected:  but was: Feb 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(Java15BugFastDateParserTest.java:101)


Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[2] 
 Time elapsed: 0.033 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
  ==> expected:  but was: Feb 12 12:00:00 

Re: JDK 16-EA issue

2021-01-05 Thread Dalibor Topic

Hi,

this looks like a bug, since "e hene" in Albanian means Monday. [0] 
Please file an issue, and let us know what the incident id is.


cheers,
dalibor topic


[0] https://en.wiktionary.org/wiki/e_h%C3%ABn%C3%AB

On 29.12.2020 19:27, Gary Gregory wrote:

Hi Rory and all,

Before I go through creating a bug, I wanted to run this one by you all 
first. All tests pass on Java 8 and 11. We have known failures on 15, 
and new ones on 16.


Just like Apache Commons Lang [https://github.com/apache/commons-lang 
] 
ran into issues


https://bugs.openjdk.java.net/browse/JDK-8248434 
 and
https://bugs.openjdk.java.net/browse/JDK-8248655 
)


on Java 15 now fixed on Java 16, we've found another that fails on Java 
15 and 16-ea+29 with locale sq_MK in our unit 
test org.apache.commons.lang3.time.Java15BugFastDateParserTest which you 
see in action here:


https://github.com/apache/commons-lang/runs/1622593373?check_suite_focus=true 



How to reproduce (requires git and Apache Maven):
git clone https://gitbox.apache.org/repos/asf/commons-lang.git 


mvn clean test

For example, we expect to parse a date into a certain value but we get 
an unexpected value:
Mon Feb 10 00:00:00 GMT+00:00 2003> but was: GMT+00:00 2003


Here it is in the build:

Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time 
elapsed: 0.658 s <<< FAILURE! - in 
org.apache.commons.lang3.time.Java15BugFastDateParserTest
Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1]  Time elapsed: 0.14 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


In case the GitHub build falls off, here is the complete list of errors:

Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time 
elapsed: 0.658 s <<< FAILURE! - in 
org.apache.commons.lang3.time.Java15BugFastDateParserTest
Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1]  Time elapsed: 0.14 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[2]  Time elapsed: 0.04 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
  ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[1]  Time elapsed: 0.057 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
  ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(Java15BugFastDateParserTest.java:101)


Error: 
  org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[2]  Time elapsed: 0.033 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
  ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 

Re: JDK 16-EA issue

2020-12-31 Thread Rory O'Donnell

Hi Gary,

We are all out this week, can you log a bug and let us have the JI number ?
Will followup next week.

Rgds,Rory

On 29/12/2020 18:27, Gary Gregory wrote:

Hi Rory and all,

Before I go through creating a bug, I wanted to run this one by you 
all first. All tests pass on Java 8 and 11. We have known failures on 
15, and new ones on 16.


Just like Apache Commons Lang [https://github.com/apache/commons-lang 
] 
ran into issues


https://bugs.openjdk.java.net/browse/JDK-8248434 
 and
https://bugs.openjdk.java.net/browse/JDK-8248655 
)


on Java 15 now fixed on Java 16, we've found another that fails on 
Java 15 and 16-ea+29 with locale sq_MK in our unit 
test org.apache.commons.lang3.time.Java15BugFastDateParserTest which 
you see in action here:


https://github.com/apache/commons-lang/runs/1622593373?check_suite_focus=true 



How to reproduce (requires git and Apache Maven):
git clone https://gitbox.apache.org/repos/asf/commons-lang.git 


mvn clean test

For example, we expect to parse a date into a certain value but we get 
an unexpected value:
Mon Feb 10 00:00:00 GMT+00:00 2003> but was: GMT+00:00 2003


Here it is in the build:

Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time 
elapsed: 0.658 s <<< FAILURE! - in 
org.apache.commons.lang3.time.Java15BugFastDateParserTest
Error: 
 org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1] 
 Time elapsed: 0.14 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
 ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


In case the GitHub build falls off, here is the complete list of errors:

Error:  Tests run: 18, Failures: 16, Errors: 0, Skipped: 0, Time 
elapsed: 0.658 s <<< FAILURE! - in 
org.apache.commons.lang3.time.Java15BugFastDateParserTest
Error: 
 org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[1] 
 Time elapsed: 0.14 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
 ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


Error: 
 org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(TriFunction)[2] 
 Time elapsed: 0.04 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : mb.K./2003/shkurt/0010/0012//00/e 
paradites/e hënë, Java: 16-ea+29
 ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_AD(Java15BugFastDateParserTest.java:94)


Error: 
 org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[1] 
 Time elapsed: 0.057 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
 ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(Java15BugFastDateParserTest.java:101)


Error: 
 org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales_Long_BC(TriFunction)[2] 
 Time elapsed: 0.033 s  <<< FAILURE!

org.opentest4j.AssertionFailedError:
locale : sq_MK, formattedDate : p.K./2003/shkurt/0010/0012//00/e 
paradites/e shtunë, Java: 16-ea+29
 ==> expected:  but was: 12 12:00:00 GMT+00:00 2003>
at 
org.apache.commons.lang3.time.Java15BugFastDateParserTest.testLocales(Java15BugFastDateParserTest.java:86)
at