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

REGRESSION: JCK1.4a-runtime AccessControlException/serial/Input fails

XMLWordPrintable

    • x86, sparc
    • linux, solaris_8



      Name: mmR10223 Date: 06/04/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b07 (passes on JDK1.5.0-b-06, JDK1.4.2-b24, JDK1.4.1-b21)
      JCK : JCK1.4a-runtime
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
              api/java_security/AccessControlException/serial/index.html#Input [serial2004]

      Test source location:
      =====================
      /java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a/tests/api/java_security/AccessControlException/serial/InputTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b07/jck14a/x86/s8_incgc_debug_linux-10/workDir/api/java_security/AccessControlException/serial/index_Input.jtr

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

      JCK="/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
      JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/linux-i586"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
       
      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.security.AccessControlException.serial.InputTests -TestCaseID serial2004

      --- script end ---

      Test output:
      ============
      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.lang.SecurityException; local class incompatible: stream classdesc serialVersionUID = 6878364983674394167, local class serialVersionUID = 870549591963010543
      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.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.security.AccessControlException.serial.InputTests.serial2004(InputTests.java:93)
      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.security.AccessControlException.serial.InputTests.main(InputTests.java:30)
      Checking for JDK Version : 1.21
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      I/O error. Got exception:
      java.io.InvalidClassException: java.lang.SecurityException; local class incompatible: stream classdesc serialVersionUID = 6878364983674394167, local class serialVersionUID = 870549591963010543
      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.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.security.AccessControlException.serial.InputTests.serial2004(InputTests.java:93)
      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.security.AccessControlException.serial.InputTests.main(InputTests.java:30)
      Checking for JDK Version : 1.22
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      I/O error. Got exception:
      java.io.InvalidClassException: java.lang.SecurityException; local class incompatible: stream classdesc serialVersionUID = 6878364983674394167, local class serialVersionUID = 870549591963010543
      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.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.security.AccessControlException.serial.InputTests.serial2004(InputTests.java:93)
      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.security.AccessControlException.serial.InputTests.main(InputTests.java:30)
      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.lang.SecurityException; local class incompatible: stream classdesc serialVersionUID = 6878364983674394167, local class serialVersionUID = 870549591963010543
      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.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.security.AccessControlException.serial.InputTests.serial2004(InputTests.java:93)
      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.security.AccessControlException.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.lang.SecurityException; local class incompatible: stream classdesc serialVersionUID = 6878364983674394167, local class serialVersionUID = 870549591963010543
      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.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.security.AccessControlException.serial.InputTests.serial2004(InputTests.java:93)
      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.security.AccessControlException.serial.InputTests.main(InputTests.java:30)
      serial2004 failed.
      ----------log:(2/104)----------
      serial2004: Failed. FAILED
      STATUS:Failed.test cases: 1; all failed; first test case failure: serial2004
      result: Failed. test cases: 1; all failed; first test case failure: serial2004


      test result: Failed. test cases: 1; all failed; first test case failure: serial2004


      Specific machine info:
      ======================
      Hostname: linux-10
      OS: Solaris 8 (x86)
      Hostname: linux-19
      OS: Linux RedHat 7.3


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

            Unassigned Unassigned
            mmvsunw Mmv Mmv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: