Gary D. Gregory created BEANUTILS-579:
-----------------------------------------
Summary: FIx failures on Java 25 and 26-ea
Key: BEANUTILS-579
URL: https://issues.apache.org/jira/browse/BEANUTILS-579
Project: Commons BeanUtils
Issue Type: Bug
Reporter: Gary D. Gregory
On Java 25 and 26-ea, the build says:
{noformat}
Error: Failures:
Error:
SqlTimeConverterTest.testLocale:101->AbstractDateConverterTest.validConversion:495
Unexpected exception thrown:
org.apache.commons.beanutils2.ConversionException: Error converting 'String' to
'java.sql.Time' using pattern 'h:mm a', localized pattern 'h:mm a', errorIndex
4, calendar type GregorianCalendar, this
org.apache.commons.beanutils2.sql.converters.SqlTimeConverter[UseDefault=false,
UseLocaleFormat=true]
Error:
SqlTimestampConverterTest.testLocale:121->AbstractDateConverterTest.validConversion:495
Unexpected exception thrown:
org.apache.commons.beanutils2.ConversionException: Error converting 'String' to
'java.sql.Timestamp' using pattern 'M/d/yy, h:mm a', localized pattern 'M/d/yy,
h:mm a', errorIndex 13, calendar type GregorianCalendar, this
org.apache.commons.beanutils2.sql.converters.SqlTimestampConverter[UseDefault=false,
UseLocaleFormat=true]
[INFO]
Error: Tests run: 1253, Failures: 2, Errors: 0, Skipped: 12 {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)