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

JCK13a :Permission failure ,Merlin-b48,sol-sparc,X86

XMLWordPrintable

      The following tests failed , using the jdk1.4 Merlin-b48 on solaris 7/sparc, 2.6/intel.

      Bug description
      ================

      Failing Test:
      =============
      1)api/java_lang/RuntimePermission/serial/index.html#Input: RuntimePermission InputTests tests
      2)api/java_lang/reflect/ReflectPermission/serial/index.html#Input: ReflectPermission InputTests tests
      3)api/java_sql/SQLPermission/serial/index.html#Input: SQLPermission InputTests tests
      4)api/java_net/NetPermission/serial/index.html#Input: NetPermission InputTests tests
      5)api/java_io/FilePermission/serial/index.html#Input: FilePermission InputTests tests
      6)api/java_io/File/serial/index.html#Input:
      7)api/java_io/SerializablePermission/serial/index.html#Input: SerializablePermission InputTests tests


      JCK :
      =====
      JCK13a

      Test source location:
      =====================
      1)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_lang/RuntimePermission/serial/InputTests.java
      2)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_lang/reflect/ReflectPermission/serial/InputTests.java
      3)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_sql/SQLPermission/serial/InputTests.java
      4)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_net/NetPermission/serial/InputTests.java
      5)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_io/FilePermission/serial/InputTests.java
      6)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_io/File/serial/InputTests.java
      7)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_io/SerializablePermission/serial/InputTests.java

      Platforms:
      =============
      Solaris 7 - sparc
      Solaris 2.6 - intel


      JDK, switches Info:
      ===================
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b48)
      Java HotSpot(TM) Client VM (build 1.4beta-B48, mixed mode)


      jtr file location:
      ==================
      1)/net/jtg-i104/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_lang/RuntimePermission/serial/index_Input.jtr
      2)/net/jtg-i104/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_lang/reflect/ReflectPermission/serial/index_Input.jtr
      3):/net/jtg-i104/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_sql/SQLPermission/serial/index_Input.jtr
      4)/net/jtg-i104/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_net/NetPermission/serial/index_Input.jtr
      5)/net/jtg-i104/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_io/FilePermission/serial/index_Input.jtr
      6)/net/jtg-i104/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_io/File/serial/index_Input.jtr
      7)/net/jtg-i104/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_io/SerializablePermission/serial/index_Input.jtr

      How to reproduce:
      ====================
      run the attached script:
      1)RuntimePermission_serial_Input.ksh
      2)reflect_ReflectPermission_serial_Input.ksh
      3)SQLPermission_serial_Input.ksh
      4)NetPermission_serial_Input.ksh
      5)FilePermission_serial_Input.ksh
      6)File_serial_Input.ksh
      7)SerializablePermission_serial_Input.ksh

      Test output:
      =============

      java.lang.NullPointerException: name can't be null
              at java.security.BasicPermission.init(BasicPermission.java:78)
              at java.security.BasicPermission.readObject(BasicPermission.java:254)
              at sun.misc.Unsafe.invokeSpecial(Native Method)
              at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
              at $ClassReflector2.readObject(Unknown Source)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
              at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:60)
              at javasoft.sqe.tests.api.java.lang.RuntimePermission.serial.InputTests.serial2002(InputTests.java:97)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:409)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:205)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:137)
              at javasoft.sqe.tests.api.java.lang.RuntimePermission.serial.InputTests.main(InputTests.java:41)
      serial2002: Failed. Test case throws exception: java.lang.NullPointerException: name can't be null
      Checking for JDK Version : 1.2
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      STATUS:Failed.tests: 1; failed: 1; first test case failure: serial2002


      Specific Machine Info:
      =====================

      Hostname: jtg-s117
      Hostid: 808fe83f
      Release: 5.7
      Kernel architecture: sun4u
      Application architecture: sparc
      Hardware provider: Sun_Microsystems
      Domain: javasoft.eng.sun.com
      Kernel version: SunOS 5.7 Generic 106541-12 May 2000
      ===========
      Status of processor 0 as of: 01/22/01 17:04:31
        Processor has been on-line since 01/17/01 13:34:53.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      Status of processor 2 as of: 01/22/01 17:04:31
        Processor has been on-line since 01/17/01 13:34:54.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      ===========
                          Solaris 7 11/99 s998s_u4SunServer_10 SPARC
                 Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 15 October 1999
      ===========

      Intel:
      Hostname: jtg-i104
      Hostid: 1a2c637f
      Release: 5.6
      Kernel architecture: i86pc
      Application architecture: i386
      Hardware provider:
      Domain: javasoft.eng.sun.com
      Kernel version: SunOS 5.6 Generic 105182-23 July 2000
      ===========
      Status of processor 0 as of: 01/22/01 17:06:12
        Processor has been on-line since 01/17/01 13:36:28.
        The i386 processor operates at 234 MHz,
              and has an i387 compatible floating point processor.
      Status of processor 1 as of: 01/22/01 17:06:12
        Processor has been on-line since 01/17/01 13:36:28.
        The i386 processor operates at 234 MHz,
              and has an i387 compatible floating point processor.
      ===========
                                  Solaris 2.6 s297_37c INTEL
                 Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
                            Manufactured in the USA 16 July 1997


      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto





      sureshchandar.subramaniam@Eng 2001-01-23

            mwarressunw Michael Warres (Inactive)
            ssubramasunw Suresh Subramaniam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: