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

REGRESSION: 2 JCK1.5-runtime api/java_beans/beancontext/.../index.html#Input tes

XMLWordPrintable

    • generic
    • generic



      Name: mmR10223 Date: 08/06/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b13 (pass using JDK1.5.0-b12, JDK1.4.2-b28)
      JCK : JCK1.5-runtime (JCK1.5-b02)
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
      api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/index.html#Input [serial2002]
      api/java_beans/beancontext/BeanContextSupport/BCSChild/serial/index.html#Input [serial2002]

      These tests fail because the serialVersionUID is changed.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/InputTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_beans/beancontext/BeanContextSupport/BCSSChild/serial/InputTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b13/jck15/sparc/sol10_sparc_gnomeatch_smp_linux-8/workDir/api/java_beans/beancontext/BeanContextServicesSupport/BCSSChild/serial/index_Input.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b13/jck15/sparc/sol10_sparc_gnomeatch_smp_linux-8/workDir/api/java_beans/beancontext/BeanContextSupport/BCSSChild/serial/index_Input.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/bash

      JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
      JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
       
      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSupport.BCSSChild.serial.InputTests -TestCaseID serial2002

      --- script end ---

      Test output:
      ============
      ...

      Checking for JDK Version : 1.3
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      I/O error. Got exception:
      java.io.InvalidClassException: java.beans.beancontext.BeanContextSupport$BCSChild; local class incompatible: stream classdesc serialVersionUID = -5815286101609939109, local class serialVersionUID = 6779495479722739255
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:51)
      at javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSupport.BCSSChild.serial.InputTests.serial2002(InputTests.java:90)
      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:324)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSupport.BCSSChild.serial.InputTests.main(InputTests.java:30)
      Checking for JDK Version : 1.4
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      I/O error. Got exception:
      java.io.InvalidClassException: java.beans.beancontext.BeanContextSupport$BCSChild; local class incompatible: stream classdesc serialVersionUID = -5815286101609939109, local class serialVersionUID = 6779495479722739255
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:51)
      at javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSupport.BCSSChild.serial.InputTests.serial2002(InputTests.java:90)
      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:324)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.beans.beancontext.BeanContextServicesSupport.BCSSChild.serial.InputTests.main(InputTests.java:30)
      serial2002 failed.

      Specific machine info:
      ======================
      Hostname: linux-8
      OS: Solaris 10 (sparc) (GNOME)
      Hostname: linux-24
      OS: RedHat Linux


      ======================================================================

            mdavidsosunw Mark Davidson (Inactive)
            mmvsunw Mmv Mmv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: