You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stian Soiland-Reyes (JIRA)" <ji...@apache.org> on 2016/09/29 13:21:20 UTC

[jira] [Comment Edited] (LANG-1265) Build failures when building with Java 9 EA

    [ https://issues.apache.org/jira/browse/LANG-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15530334#comment-15530334 ] 

Stian Soiland-Reyes edited comment on LANG-1265 at 9/29/16 1:20 PM:
--------------------------------------------------------------------

Based upon [Dalibor's email|https://lists.apache.org/thread.html/e034bf56aafeef278682b7c9cab2d47be39c61a3e9218b3375bcb3e8@%3Cdev.commons.apache.org%3E] to the ML, the following does work running the tests in java 9:
{code}
mvn -Djava.locale.providers=JRE clean test
{code}


was (Author: chtompki):
Based upon Dalibor's email to the ML, the following does work running the tests in java 9:
{code}
mvn -Djava.locale.providers=JRE clean test
{code}

> Build failures when building with Java 9 EA
> -------------------------------------------
>
>                 Key: LANG-1265
>                 URL: https://issues.apache.org/jira/browse/LANG-1265
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Benedikt Ritter
>             Fix For: 3.5
>
>
> When building with Java 9 EA I get: 
> {code}
> Failed tests:
>  FastDateFormat_ParserTest>FastDateParserTest.testLocales_LongNoEra_AD:304->FastDateParserTest.testLocales:342 Locale no failed with yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era AD
> java.text.ParseException: Unparseable date: 2003/februar/0010/0012/0000/00/AM/mandag
>   FastDateFormat_ParserTest>FastDateParserTest.testLocales_LongNoEra_BC:309->FastDateParserTest.testLocales:342 Locale no failed with yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era BC
> java.text.ParseException: Unparseable date: 2003/februar/0010/0012/0000/00/AM/lørdag
>   FastDateFormat_ParserTest>FastDateParserTest.testLocales_Long_AD:284->FastDateParserTest.testLocales:342 Locale no failed with GGGG/yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era AD
> java.text.ParseException: Unparseable date: AD/2003/februar/0010/0012/0000/00/AM/mandag
>   FastDateFormat_ParserTest>FastDateParserTest.testLocales_Long_BC:289->FastDateParserTest.testLocales:342 Locale qu_EC failed with GGGG/yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era BC
> java.text.ParseException: Unparseable date: "/2003/Hatun puquy/0010/0012/0000/00/a.m./Sábado"
>   FastDateFormat_ParserTest>FastDateParserTest.testLocales_ShortNoEra_AD:314->FastDateParserTest.testLocales:342 Locale no failed with y/M/d/h/a/m/s/E era AD
> java.text.ParseException: Unparseable date: 2003/2/10/12/AM/0/0/ma
>   FastDateFormat_ParserTest>FastDateParserTest.testLocales_ShortNoEra_BC:319->FastDateParserTest.testLocales:342 Locale no failed with y/M/d/h/a/m/s/E era BC
> java.text.ParseException: Unparseable date: 2003/2/10/12/AM/0/0/lø
>   FastDateFormat_ParserTest>FastDateParserTest.testLocales_Short_AD:294->FastDateParserTest.testLocales:342 Locale no failed with G/y/M/d/h/a/m/s/E era AD
> java.text.ParseException: Unparseable date: e.Kr./2003/2/10/12/AM/0/0/ma
>   FastDateFormat_ParserTest>FastDateParserTest.testLocales_Short_BC:299->FastDateParserTest.testLocales:342 Locale qu_EC failed with G/y/M/d/h/a/m/s/E era BC
> java.text.ParseException: Unparseable date: "/2003/2/10/12/a.m./0/0/Sab"
>   FastDateParserTest.testLocales_LongNoEra_AD:304->testLocales:342 Locale no failed with yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era AD
> java.text.ParseException: Unparseable date: 2003/februar/0010/0012/0000/00/AM/mandag
>   FastDateParserTest.testLocales_LongNoEra_BC:309->testLocales:342 Locale no failed with yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era BC
> java.text.ParseException: Unparseable date: 2003/februar/0010/0012/0000/00/AM/lørdag
>   FastDateParserTest.testLocales_Long_AD:284->testLocales:342 Locale no failed with GGGG/yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era AD
> java.text.ParseException: Unparseable date: AD/2003/februar/0010/0012/0000/00/AM/mandag
>   FastDateParserTest.testLocales_Long_BC:289->testLocales:342 Locale qu_EC failed with GGGG/yyyy/MMMM/dddd/hhhh/mmmm/ss/aaaa/EEEE era BC
> java.text.ParseException: Unparseable date: "/2003/Hatun puquy/0010/0012/0000/00/a.m./Sábado"
>   FastDateParserTest.testLocales_ShortNoEra_AD:314->testLocales:342 Locale no failed with y/M/d/h/a/m/s/E era AD
> java.text.ParseException: Unparseable date: 2003/2/10/12/AM/0/0/ma
>   FastDateParserTest.testLocales_ShortNoEra_BC:319->testLocales:342 Locale no failed with y/M/d/h/a/m/s/E era BC
> java.text.ParseException: Unparseable date: 2003/2/10/12/AM/0/0/lø
>   FastDateParserTest.testLocales_Short_AD:294->testLocales:342 Locale no failed with G/y/M/d/h/a/m/s/E era AD
> java.text.ParseException: Unparseable date: e.Kr./2003/2/10/12/AM/0/0/ma
>   FastDateParserTest.testLocales_Short_BC:299->testLocales:342 Locale qu_EC failed with G/y/M/d/h/a/m/s/E era BC
> java.text.ParseException: Unparseable date: "/2003/2/10/12/a.m./0/0/Sab"
> Tests in error:
>   LocaleUtilsTest.testParseAllLocales:578 » IllegalArgument Invalid locale forma...
>   FastDateFormat_ParserTest>FastDateParserTest.testParses:252->FastDateParserTest.validateSdfFormatFdpParseEquality:228 » Parse
>   FastDateFormat_ParserTest>FastDateParserTest.testTzParses:275 » Parse Unparsea...
>   FastDateParserTest.testParses:252->validateSdfFormatFdpParseEquality:228 » Parse
>   FastDateParserTest.testTzParses:275 » Parse Unparseable date: 2000/02/10 北美东部标...
> Tests run: 3882, Failures: 16, Errors: 5, Skipped: 5
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)