You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2014/03/01 13:43:19 UTC

[jira] [Comment Edited] (LANG-978) Failing tests with Java 8 b128

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

Sebb edited comment on LANG-978 at 3/1/14 12:42 PM:
----------------------------------------------------

Suggested patch to skip ParseError for early Japanese dates

I think this is better than skipping the test entirely, as it works OK at present on earlier versions of Java.


was (Author: sebb@apache.org):
Suggested patch to skip ParseError for early Japanese dates

> Failing tests with Java 8 b128
> ------------------------------
>
>                 Key: LANG-978
>                 URL: https://issues.apache.org/jira/browse/LANG-978
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Benedikt Ritter
>             Fix For: Patch Needed
>
>         Attachments: LANG-978.patch
>
>
> Gary Gregory has reported failing tests during the vote for Lang 3.3 RC1, when building with:
> {code}
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b128)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b69, mixed mode)
> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
> 2014-02-14T12:37:52-05:00)
> Maven home: C:\Java\apache-maven-3.2.1\bin\..
> Java version: 1.8.0, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
> {code}
> {code}
> FastDateFormat_ParserTest>FastDateParserTest.testParses:242->FastDateParserTest.validateSdfFormatFdpParseEquality:219 » Parse FastDateParserTest.testParses:242->validateSdfFormatFdpParseEquality:219 » Parse
> Running org.apache.commons.lang3.time.FastDateFormat_ParserTest /1/2/10/5/??/0/0/?/+0000 ja_JP_JP_#u-ca-japanese 1867 G/y/M/d/h/a/m/s/E/Z America/New_York Tests run: 29, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.491 sec <<< FAILURE! - in org.apache.commons.lang3.time.FastDateFormat_ParserTest testParses(org.apache.commons.lang3.time.FastDateFormat_ParserTest) Time elapsed: 1.492 sec <<< ERROR! java.text.ParseException: (The ja_JP_JP_#u-ca-japanese locale does not support dates before 1868 AD)
> {code}
> See: http://markmail.org/message/suvorq3xrqmimnui



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)