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] (BEANUTILS-495) DateConverterTestBase fails on M/d/yy in Java 9
Date Mon, 26 Sep 2016 14:46:20 GMT

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

Stian Soiland-Reyes commented on BEANUTILS-495:
-----------------------------------------------

Not a very clever workaround in the test.. but a workaround nevertheless:

https://github.com/apache/commons-beanutils/commit/c3d13908a2e8ca7b9832fa693ca72bc228a4e92d

> DateConverterTestBase fails on M/d/yy in Java 9
> -----------------------------------------------
>
>                 Key: BEANUTILS-495
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-495
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: ConvertUtils & Converters
>    Affects Versions: 1.9.3
>         Environment: OpenJDK 9, Ubuntu 16.04
>            Reporter: Stian Soiland-Reyes
>            Assignee: Stian Soiland-Reyes
>            Priority: Minor
>             Fix For: 1.9.3
>
>
> {code}
>   SqlTimestampConverterTestCase.testLocale:73->DateConverterTestBase.validConversion:403
Converting 'java.lang.String' value '3/21/06 3:06 pm' threw org.apache.commons.beanutils.ConversionException:
Error converting 'String' to 'java.sql.Timestamp' using pattern 'M/d/yy, h:mm a'
> {code}
> Only seems to happen with Open JDK 9?



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

Mime
View raw message