Details

    • Affects:
      Release Notes
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Downgrade JVM e.g. Sun JDK 1.6-u03

      Show
      Downgrade JVM e.g. Sun JDK 1.6-u03
    • Affects Testing:
      Regression
    • Release Notes Text:
      Hide
      When <function>java.sql.Date.valueOf</function> attempts to parse dates of the format yyyy-mm-dd, the TCK test threw a <errorcode>java.lang.IllegalArgumentException</errorcode>. This was due to a regression in the latest Sun JVM, Sun JDK 1.6.0_24 (see <ulink url="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6898593"/> for more information). The workaround for this issue is to downgrade to Sun JDK 1.6.0_17.
      Show
      When <function>java.sql.Date.valueOf</function> attempts to parse dates of the format yyyy-mm-dd, the TCK test threw a <errorcode>java.lang.IllegalArgumentException</errorcode>. This was due to a regression in the latest Sun JVM, Sun JDK 1.6.0_24 (see <ulink url=" http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6898593 "/> for more information). The workaround for this issue is to downgrade to Sun JDK 1.6.0_17.
    • Release Notes Docs Status:
      Documented as Known Issue
    • Docs QE Status:
      ON_QA

      Description

      We are hitting issue in Sun JDK 1.6-u18 JVM which has been used to run this test.

      Problem is caused by java.sql.Date.valueOf method. Following example code ends with java.lang.IllegalArgumentException on JDK 1.6-u18 but works fine on previous version of JVM.

      public static void main(String[] args)

      { java.sql.Date jsd = java.sql.Date.valueOf("1999-5-5"); System.out.println(jsd); }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pslavicek Pavel Slavicek
                Reporter:
                pslavicek Pavel Slavicek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: