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

REGRESSION: JCK1.4: api/javax_naming/Name/CompoundName.html#CompoundCreateNull

    Details

      Description



      Name: aaR10208 Date: 04/24/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-b10
      JCK : JCK1.4-b17
      Platform[s] : RedHat Linux 7.1, Turbo Linux 7
      switch/Mode : -server -Xmixed -Xfuture, -client -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/javax_naming/Name/CompoundName.html#CompoundCreateNull

      The J2SE API Specification requires that CompountName's ctor arguments must be non-null, and the test verifies this
      assertion.
      However in the jdk1.4.1-b10, the ctor for javax.naming.NameImpl class (called from CompoundName's ctor) checks for
      null arguments, so no NullPointerException is thrown and JCK test fails.

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_naming/Name/CompoNameModify.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b10/jck14/linux/turbo_single_gnome_server_linux-4/workDir/api/javax_naming/Name/CompoundName_CompoundCreateNull.jtr

      How to reproduce:
      =================
      Run the following script on RH Linux (you may need to set JAVA_HOME and JCK variables)
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME="/net/jdk/export/disk8/local.java/jdk1.4.1/linux-i386"
      JCK="/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14"
      execClass="javasoft.sqe.tests.api.javax.naming.CompoNameModify UND -TestCaseID createNull"
      switches="-client -Xfuture -showversion"
      $JAVA_HOME/bin/java $switches -cp $JCK/classes:$JCK/javatest.jar $execClass
      --------Script END----------------------

      Test output:
      ============
      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b10)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b10, mixed mode)
       
      ***allows null properties in CompoundName constructor
      createNull: Failed. first failure: allows null properties in CompoundName constructor
      STATUS:Failed.tests: 1; failed: 1; first test case failure: createNull


      Specific Machine Info:
      ======================
      Hostname: linux-4
      Os: Turbolinux Workstation 7 (Linux linux-4 2.4.5-3 #1 Thu Aug 2 17:18:07 JST 2001 i686 unknown)

      Hostname: linux-14
      OS: RH Linux 7.1 (Linux linux-14 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown)

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rleesunw Rosanna Lee (Inactive)
                Reporter:
                sundrsunw Sundr Sundr (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: