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

api/java_awt/Color/ICC_[ProfileGray|RGB]/serial/index.html#Input[serial2002] fail JDK7 b08

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      JCK: JCK-runtime-6a b06
      J2SE: FAIL - JDK7 b08 PASS JDK7b07 JDK 6u1 b04
      Platform[s]: FAIL - All
      switch/Mode: FAIL - default

      Two tests:

      api/java_awt/Color/ICC_ProfileGray/serial/index.html#Input[serial2002]
      api/java_awt/Color/ICC_ProfileRGB/serial/index.html#Input[serial2002]

      are unable to perform deserialization since b08. They fail with the message like this:
      Checking for JDK Version : 1.2
      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.color.ICC_ProfileGray; local class incompatible: stream classdesc serialVersionUID = -1124721290732002649, local class serialVersionUID = 3775325082357940199
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      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.awt.Color.ICC_ProfileGray.serial.InputTests.serial2002(InputTests.java:87)
      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:606)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
      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.Color.ICC_ProfileGray.serial.InputTests.main(InputTests.java:33)

      or

      Checking for JDK Version : 1.2
      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.color.ICC_ProfileRGB; local class incompatible: stream classdesc serialVersionUID = 8505067385152579334, local class serialVersionUID = 3108055812416473097
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      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.awt.Color.ICC_ProfileRGB.serial.InputTests.serial2002(InputTests.java:87)
      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:606)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
      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.Color.ICC_ProfileRGB.serial.InputTests.main(InputTests.java:33)

      steps to reproduce:

      run the following command:

      /net/stt-13.russia/export//stt/jdk_promotions/JDK7.0/b08/binaries/linux-i586/jdk1.7.0/bin/java -Xfuture -classpath /net/stt-13.russia.sun.com/export1/stt/jck_promotions/6a/beta/b06/binaries/JCK-runtime-6a/classes javasoft.sqe.tests.api.java.awt.Color.ICC_ProfileGray.serial.InputTests -TestCaseID ALL

        Attachments

          Activity

            People

            • Assignee:
              avu Alexey Ushakov
              Reporter:
              pastepan Pavel Stepanov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: