You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2011/07/19 05:53:57 UTC
[jira] [Closed] (LANG-593) Testing with JDK 1.7
[ https://issues.apache.org/jira/browse/LANG-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-593.
------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.x)
3.0
Resolving as fixed.
We fixed the JDK 7 'yyy' issue in LANG-719 prior to releasing 3.0. The other issue didn't show up iirc.
> Testing with JDK 1.7
> --------------------
>
> Key: LANG-593
> URL: https://issues.apache.org/jira/browse/LANG-593
> Project: Commons Lang
> Issue Type: Bug
> Components: General
> Affects Versions: 2.5
> Reporter: Niall Pemberton
> Fix For: 3.0
>
>
> I ran the tests for the Lang 2.5 RC2 using JDK 1.7.0-b78 and they all passed except the testFormat() in FastDateFormatTest.
> The problem seems to be that in JDK 1.7 the "yyy" and "y" patterns now cause a four digit year with SimpleDateFormat - whereas previous JDK versions resulted in a 2 digit year (as FastDateFormat does).
> JDK 1.7 hasn't yet been released and that may be fixed in the JDK by the time it is, but I thought it worth making a note.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira