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

REGRESSION: JCK1.5 api/java_applet/Applet/AccessibleApplet/serial/index.html#Inp

    XMLWordPrintable

    Details

      Description



      Name: iaR10016 Date: 11/19/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b28
                        (passes with JDK1.5.0-b26, JDK1.4.2-b28)
      JCK : JCK1.5-runtime (b08)
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test : api/java_applet/Applet/AccessibleApplet/serial/index.html#Input[serial2002]

      JCK1.5-runtime (b08) api/java_applet/Applet/AccessibleApplet/serial/index.html#Input test fails
      with JDK1.5.0-b28 because serialVersionUID for the java.awt.Container$AccessibleAWTContainer class
      was changed in b28 (the test supposes that serialVersionUID is 5081320404842566097, but actually it
      is 8776987030964637380).

      Please, reassign this bug to jck/tck_j2se/api_tests subcategory if this change is correct.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_applet/Applet/AccessibleApplet/serial/InputTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b28/jck15/linux/redhat_advserver21_gnome_smp_client_esa_linux-24/workDir/api/java_applet/Applet/AccessibleApplet/serial/index_Input.jtr

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

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b28/binaries/linux-i586"
      JCK="/java/re/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b28/binaries/linux-i586"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      $JDK/bin/java -showversion javasoft.sqe.tests.api.java.applet.Applet.AccessibleApplet.serial.InputTests -TestCaseID serial2002
      --- script end ---

      Test output:
      ============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b28)
      Java HotSpot(TM) Server VM (build 1.5.0-beta-b28, mixed mode)

      serial2002: Failed. FAILED
      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.awt.Container$AccessibleAWTContainer; local class incompatible: stream classdesc serialVersionUID = 5081320404842566097, local class serialVersionUID =
      8776987030964637380
           at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:522)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
           at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
           at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:51)
           at javasoft.sqe.tests.api.java.applet.Applet.AccessibleApplet.serial.InputTests.serial2002(InputTests.java:111)
           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:326)
           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.applet.Applet.AccessibleApplet.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.awt.Container$AccessibleAWTContainer; local class incompatible: stream classdesc serialVersionUID = 5081320404842566097, local class serialVersionUID =
      8776987030964637380
           at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:522)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
           at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
           at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:51)
           at javasoft.sqe.tests.api.java.applet.Applet.AccessibleApplet.serial.InputTests.serial2002(InputTests.java:111)
           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:326)
           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.applet.Applet.AccessibleApplet.serial.InputTests.main(InputTests.java:30)
      Checking for JDK Version : 1.5
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      I/O error. Got exception:
      java.io.InvalidClassException: java.awt.Container$AccessibleAWTContainer; local class incompatible: stream classdesc serialVersionUID = 5081320404842566097, local class serialVersionUID =
      8776987030964637380
           at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:522)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
           at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
           at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:51)
           at javasoft.sqe.tests.api.java.applet.Applet.AccessibleApplet.serial.InputTests.serial2002(InputTests.java:111)
           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:326)
           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.applet.Applet.AccessibleApplet.serial.InputTests.main(InputTests.java:30)
      serial2002 failed.
      STATUS:Failed.test cases: 1; all failed; first test case failure: serial2002

      Specific machine info:
      ======================
      Hostname: linux-18
      OS: Solaris 10 (x86) (GNOME)
      Hostname: linux-2
      OS: Windows 2000 Pro
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome)
      Hostname: linux-8
      OS: Solaris 10 (sparc) (CDE)
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mwarressunw Michael Warres (Inactive)
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: