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

kestrel D fails api/java_io/Serialization/descriptions.html#FilePermission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.0
    • core-libs
    • None

       tao.zhang@eng 1999-05-20

      JDK version: kestrel D
      JCK version: 1.2.2

      Test: api/java_io/Serialization/descriptions.html#FilePermission

      Output from the jtr file:

      #Test Results
      #Wed May 19 12:02:17 PDT 1999
      description=file:/net/tapas/export1/testexec/JCK-122a/tests/api/java_io/Serialization/descriptions.html#FilePermission
      testsuite=/net/tapas/export1/testexec/JCK-122a/tests
      executeArgs=-TestCaseID ALL -TestURL $testURL -FileName fileperm.ser
      execStatus=Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
      end=Wed May 19 12:02:17 PDT 1999
      work=/export0/results/13d/d3julius122ajdk/api/java_io/Serialization
      executeClass=javasoft.sqe.tests.api.java.io.Serialization.FilePermissionTests
      status=Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
      keywords=io positive runtime
      start=Wed May 19 12:02:15 PDT 1999
      title=FilePermission serialize tests
      javatestVersion=JT_2.0_zn
      id=FilePermission
      file=/net/tapas/export1/testexec/JCK-122a/tests/api/java_io/Serialization/descriptions.html
      sections=testExecute testExecute
      environment=jck-runtime-solaris
      source=FilePermissionTests.java

      test: api/java_io/Serialization/descriptions.html#FilePermission
      script: javasoft.sqe.javatest.lib.JCKScript -runtime
      Executing test class...
      command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export0/results/13d/d3julius122ajdk/classes:/net/tapas/export1/testexec/JCK-122a/tests/../classes:/net/tapas/export1/testexec/JCK-122a/javatest.jar:/net/tapas/export0/jdk13d/solaris/lib/tools.jar:/net/tapas/export0/jdk13d/solaris/jre/lib/rt.jar:/net/tapas/export0/jdk13d/solaris/jre/lib/i18n.jar DISPLAY=julius:0.0 HOME=/home/jhsiao LD_LIBRARY_PATH=/net/tapas/export1/testexec/JCK-122a/tests/../lib:/net/tapas/export1/testexec/JCK-122a/tests/../lib_solaris: /net/tapas/export0/jdk13d/solaris/bin/java -Xfuture javasoft.sqe.tests.api.java.io.Serialization.FilePermissionTests -TestCaseID ALL -TestURL file:/net/tapas/export1/testexec/JCK-122a/tests/api/java_io/Serialization/descriptions.html#FilePermission -FileName fileperm.ser
      ----------ref:testExecute(0/0)----------
      ----------log:testExecute(18/1655)----------
      java.io.InvalidClassException: java.io.FilePermission; Local class not compatible: stream classdesc serialVersionUID=7930732926638008763 local class serialVersionUID=-6327574901970006797
              at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java, Compiled Code)
              at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java, Compiled Code)
              at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java, Compiled Code)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java, Compiled Code)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
              at javasoft.sqe.jck.lib.SerializeTest.read(SerializeTest.java, Compiled Code)
              at javasoft.sqe.jck.lib.SerializeTest.testRead(SerializeTest.java, Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java, Compiled Code)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java, Compiled Code)
              at javasoft.sqe.tests.api.java.io.Serialization.FilePermissionTests.main(FilePermissionTests.java, Compiled Code)
      testRead: Failed. Test case throws exception: java.io.InvalidClassException: java.io.FilePermission; Local class not compatible: stream classdesc serialVersionUID=7930732926638008763 local class serialVersionUID=-6327574901970006797
      testWrite: Passed. OKAY
      STATUS:Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
      command result: Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
      test result: Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
      ----------------------------------

      tao.zhang@eng 1999-05-27

            Unassigned Unassigned
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: