Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-593

Testing with JDK 1.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 3.0
    • General
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              niallp Niall Pemberton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: