commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stian Soiland-Reyes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1265) Build failures when building with Java 9 EA
Date Thu, 29 Sep 2016 13:19:20 GMT

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

Stian Soiland-Reyes commented on LANG-1265:
-------------------------------------------

So I guess the unit tests could use System.setProperty to make them pass.. but would this
not just hide the problems that actual users of FastDateParser will struggle with because
they have not set that provider?

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

Mime
View raw message