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

REGRESSION, JCK1.4,JCK13a: api/java_awt/geom/AffineTransform/serial/index.html#I

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      beta
    • CPU:
      generic, x86, sparc
    • OS:
      generic, linux, solaris_8, windows_xp
    • Verification:
      Verified

      Description



      Name: icR10030 Date: 04/17/2002


      The tests suppose that serialVersionUID of class AffineTransform = 1330973210523860834,
      although in the build 09 serialVersionUID = -6440810534713048725
      That is why the tests fail.
      Please, note that the tests pass in the build 08.

      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-b09, jre1.4.1-b09
      JCK : JCK1.4, JCK13a
      Platform[s] : RedHat Linux 7.1, Windows XP, sparc sol7/8/9
      switch/Mode : -client -Xmixed, plugin for Netscape 4.7/621, -server, -d64
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/serialization/descriptions.html#FontMetrics
                       api/java_awt/Font/TransformAttribute/serial/index.html#Constructor
                       api/java_awt/geom/AffineTransform/serial/index.html#Input

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/geom/AffineTransform/serial/InputTests.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/Font/TransformAttribute/serial/ConstructorTests.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/serialization/FontMetricsTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b09/jck14/linux/redhat7.1_gnome_plugin_ns4.76_linux-13/workDir/api/java_awt/serialization/descriptions_FontMetrics.jtr
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b09/jck14/linux/redhat7.1_gnome_plugin_ns4.76_linux-13/workDir/api/java_awt/Font/TransformAttribute/serial/index_Constructor.jtr
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b09/jck14/linux/redhat7.1_gnome_plugin_ns4.76_linux-13/workDir/api/java_awt/geom/AffineTransform/serial/index_Input.jtr

      How to reproduce:
      =================
      --------Script START---------------------
      #!/bin/sh

      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export JCK
      CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
      export CLASSPATH
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      export JAVA_HOME

      $JAVA_HOME/bin/java -showversion -client -Xmixed -Xfuture javasoft.sqe.tests.api.java.awt.geom.AffineTransform.serial.InputTests
      --------Script END----------------------

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

      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.geom.AffineTransform; local class incompatible: stream classdesc serialVersionUID = 1330973210523860834, local class serialVersionUID = -6440810534713048725
              at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1517)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1431)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1622)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1270)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
              at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:60)
              at javasoft.sqe.tests.api.java.awt.geom.AffineTransform.serial.InputTests.serial2002(InputTests.java:102)
              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:397)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:193)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:125)
              at javasoft.sqe.tests.api.java.awt.geom.AffineTransform.serial.InputTests.main(InputTests.java:31)
      serial2002 failed.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: serial2002

      Specific Machine Info:
      ======================
      Hostname: linux-13
      Os: RedHat7.1
      Hostname: linux-21
      Os: Windows XP


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

        Attachments

          Activity

            People

            • Assignee:
              flar Jim Graham
              Reporter:
              ichesunw Iche Iche (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: