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

JCK1.4a: api/java_awt/AWTKeyStroke/serial/index.html#Input failed

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      generic, x86
    • OS:
      linux, solaris_8, solaris_9, windows_2000
    • Verification:
      Verified

      Backports

        Description



        Name: icR10030 Date: 04/03/2003


        Filed By : J2SE-SQA [###@###.###
        JDK : JDK1.5.0-b03
        JCK : JCK1.4a-runtime
        Platform[s] : Windows 2000 Pro, Solaris 8 (x86), Linux Redhat 7.3
        switch/Mode : -Xincgc -Xdebug -Xfuture, plugin
        JCK test owner : http://javaweb.eng/jck/usr/owners.jto
        Falling test[s]:
                 api/java_awt/AWTKeyStroke/serial/index.html#Input [serial2002]

        JCK1.4a-runtime api/java_awt/AWTKeyStroke/serial/index.html#Input test fails on JDK1.5.0-b03

        The test supposes that serialVersionUID of class AffineTransform = 5739238622919103124,
        while in the build 03 serialVersionUID = -6430539691155161871
        That is why the test fails.

        Please, note that the test passes in the jdk1.4.2-b19

        Test source location:
        =====================
        /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/AWTKeyStroke/serial/InputTests.java

        jtr file location:
        ==================
        /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b03/jck14a/i386/s8_incgc_debug_linux-10/workDir/api/java_awt/AWTKeyStroke/serial/index_Input.jtr

        How to reproduce:
        =================
        Run the following script (you may need to change its variables)

        --- script start ---
        #!/bin/bash

        JCK="/net/linux-15/export/home/java/jck1.4a/JCK-runtime-14a"
        JDK="/net/linux-15/export/home/java/jdk1.5.0/x86"
        switches="-Xincgc -Xdebug -Xfuture"
        CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

        $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.awt.AWTKeyStroke.serial.InputTests -TestCaseID serial2002

        --- script end ---

        Test output:
        ============
        serial2002: Failed. FAILED
        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.AWTKeyStroke; local class incompatible: stream classdesc serialVersionUID = -6430539691155161871, local class serialVersionUID =
        5739238622919103124
                 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.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.awt.AWTKeyStroke.serial.InputTests.serial2002(InputTests.java:129)
                 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.awt.AWTKeyStroke.serial.InputTests.main(InputTests.java:63)
        serial2002 failed.
        STATUS:Failed.test cases: 1; all failed; first test case failure: serial2002

        Specific machine info:
        ======================
        Hostname: linux-10
        OS: Solaris 8 (x86)
        Hostname: linux-22
        OS: Windows 2000 Pro
        Hostname: linux-13
        OS: RedHat Linux 7.3

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

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                son Oleg Sukhodolsky (Inactive)
                Reporter:
                ichesunw Iche Iche (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: