Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6284253

JCK1.5a, 6.0 : 11 testcases fail under api/java_sql and api/javax_sql incompatible, mustang

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      JCK : jck1.5a, jck6.0
      J2SE : FAIL - mustang b39
                       PASS - mustang b38
      Platform[s] : FAIL - All
      switch/Mode : FAIL - default
       
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests:
      ===============
      api/java_sql/BatchUpdateException/serial/index.html#InputTests
      api/java_sql/DataTruncation/serial/index.html#InputTests
      api/java_sql/SQLException/serial/index.html#InputTests
      api/java_sql/SQLWarning/serial/index.html#InputTests
      api/java_sql/serialization/descriptions.html#DataTruncation
      api/java_sql/serialization/descriptions.html#SQLException
      api/java_sql/serialization/descriptions.html#SQLWarning
      api/javax_sql/rowset/RowSetWarning/serial/index.html#Input
      api/javax_sql/rowset/serial/SerialException/serial/index.html#Input
      api/javax_sql/rowset/spi/SyncFactoryException/serial/index.html#Input
      api/javax_sql/rowset/spi/SyncProviderException/serial/index.html#Input

      Test source location:
      =====================
      /net/jsqalab.sfbay/export/testsuites/JCK/jck6.0/b01/JCK-runtime-60/tests/api/java_sql
      /net/jsqalab.sfbay/export/testsuites/JCK/jck6.0/b01/JCK-runtime-60/tests/api/javax_sql

      jtr file location:
      ==================
      /net/jsqalab.sfbay/export/results/6.0/b39/jck/jck60_runtime-sparc8_esa/workDir/api/java_sql
      /net/jsqalab.sfbay/export/results/6.0/b39/jck/jck60_runtime-sparc8_esa/workDir/api/javax_sql

      How to reproduce:
      ====================
      --------------script starts --------------------------
      #!/bin/sh
      #Paths in Java Software:
      JDK=/export/jdk/b39/solaris-sparc/jdk1.6.0

      #JCK=/net/jsqalab.sfbay/export/testsuites/JCK/jck1.5a/b11/JCK-runtime-15a
      JCK=/net/jsqalab.sfbay/export/testsuites/JCK/jck6.0/b01/JCK-runtime-60

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      LD_LIBRARY_PATH="$JCK/lib/SunOS.sparc:$JCK/lib/SunOS.sparc/jmx"
      export LD_LIBRARY_PATH
      POLICYFILE="-Djava.security.policy=$JCK/lib/jck.policy"

      TEST="javasoft.sqe.tests.api.java.sql.BatchUpdateException.serial.InputTests"
      #TEST="javasoft.sqe.tests.api.java.sql.DataTruncation.serial.InputTests"
      #TEST="javasoft.sqe.tests.api.java.sql.SQLException.serial.InputTests"
      #TEST="javasoft.sqe.tests.api.java.sql.SQLWarning.serial.InputTests"

      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep
      JCK_BUILD`

      $JDK/bin/java -showversion -cp $CLASSPATH $POLICYFILE $TEST
      --------------script ends -----------------------------------

      Test output:
      =============
      InputTest0001 failed. Unexpected exception: java.sql.BatchUpdateException; local class incompatible: stream classdesc serialVersionUID = 597
      7529877145521757, local class serialVersionUID = -2310972719968908432Unexpected exception: java.sql.SQLException; local class incompatible:
      stream classdesc serialVersionUID = 2135244094396331484, local class serialVersionUID = -7168310360230078160
      InputTest0001: Failed. Unexpected exception: ...

      java.io.InvalidClassException: java.sql.BatchUpdateException; local class incompatible: stream classdesc serialVersionUID = 5977529877145521
      757, local class serialVersionUID = -2310972719968908432
              at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1548)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1462)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1695)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
              at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
              at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
              at javasoft.sqe.tests.api.java.sql.BatchUpdateException.serial.InputTests.InputTest0001(InputTests.java:101)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
              at javasoft.sqe.tests.api.java.sql.BatchUpdateException.serial.InputTests.main(InputTests.java:48)
      java.io.InvalidClassException: java.sql.SQLException; local class incompatible: stream classdesc serialVersionUID = 2135244094396331484, loc
      al class serialVersionUID = -7168310360230078160

      Specific Machine Info:
      =====================
      $ uname -a
      SunOS kang 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-60
      ###@###.### 2005-06-10 22:11:10 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jsongsunw Joo Song (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: