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

REGRESSION: api/javax_naming/spi/properties.html#* fail

XMLWordPrintable

    • b62
    • x86, sparc
    • solaris_8, windows_xp
    • Verified

      Name: ds58869 Date: 07/30/2004



      Filed By : SPB JCK team
      JDK : java full version "1.5.0-beta3-b60"
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] :
      api/javax_naming/spi/properties.html#appletOnly[appletOnly]
      api/javax_naming/spi/properties.html#appletRes[appletRes]
      api/javax_naming/spi/properties.html#appletSys[appletSys]
      api/javax_naming/spi/properties.html#envApplet[envApplet]
      api/javax_naming/spi/properties.html#envAppletSys[envAppletSys]
      api/javax_naming/spi/properties.html#envAppletSysRes[envAppletSysRes]
      api/javax_naming/spi/properties.html#envOnly[envOnly]
      api/javax_naming/spi/properties.html#envRes[envRes]
      api/javax_naming/spi/properties.html#envSys[envSys]
      api/javax_naming/spi/properties.html#resOnly[resOnly]
      api/javax_naming/spi/properties.html#sysOnly[sysOnly]
      api/javax_naming/spi/properties.html#sysRes[sysRes]

      Problem description
      ===================

      In JDK 1.5.0-beta3-b59 jndi.property file has been added to rt.jar root
      directory. Now *javax.naming.InitialContext class treats this file as *application resource files
      and api behavior has been changed: *InitialContext contains* additional application resource environment.
      This change should be approved by CCC.

      Another problem is the jndi.property file place. It seems <jdk_home>/lib is more correct
      directory for this file. <jdk_home>/jre/lib/rt.jar generally contains provider property files.

      Test source location:
      ====================
      /java/re/jck/1.5/promoted/beta3/b23/binaries/JCK-runtime-15/tests/api/javax_naming/spi/AppResTest.java


      JTR
      ===

      #Test Results (version 2)
      #Fri Jul 23 18:06:26 PDT 2004
      #checksum:4121b8613b69149e
      #-----testdescription-----
      $file=/.automount/jtgb4u4c/root/export/sail1/testarea/jck1.5.b23/JCK-runtime-15/tests/api/javax_naming/spi/properties.html
      $root=/.automount/jtgb4u4c/root/export/sail1/testarea/jck1.5.b23/JCK-runtime-15/tests
      executeArgs=-D $test -TestCaseID appletOnly
      executeClass=javasoft.sqe.tests.api.javax.naming.AppResTest
      id=appletOnly
      keywords=positive runtime
      selectIf=!platform.isHeadless
      source=AppResTest.java TestAppletStub.java
      title=appletOnly - Only applet parameters are set

      #-----environment-----
      command.testExecute=com.sun.jck.lib.ExecJCKTestOtherJVMCmd LD_LIBRARY_PATH=/net/cady/export/dtf/unified/knight-ws/suites/jck/jck1.5/JCK-runtime-15/lib/Linux.amd64 DISPLAY=jtg-s128:0.0 HOME=${user.home} /export/jdk/b59/linux-amd64/jdk1.5.0/bin/java -server ${jvmtiAgentOptions} -Xfuture $jdwpAgentOptions -classpath $testSuiteRootDir/classes $JPLISAgentOpts $JPLISAgent2Opts -Djava.security.policy=$testSuiteRootDir/lib/jck.policy $testExecuteClass $testExecuteArgs
      platform.isHeadless=false
      user.home=/home1/dtftest

      #-----testresult-----
      description=file:///.automount/jtgb4u4c/root/export/sail1/testarea/jck1.5.b23/JCK-runtime-15/tests/api/javax_naming/spi/properties.html#appletOnly
      end=Fri Jul 23 18:06:26 PDT 2004
      environment=jck15
      execStatus=Failed. test cases: 1; all failed; first test case failure: appletOnly
      javatestOS=Linux 2.4.21-9.ELsmp (amd64)
      javatestVersion=3.2
      script=com.sun.jck.lib.JCKScript
      sections=script_messages testExecute
      start=Fri Jul 23 18:06:25 PDT 2004
      test=api/javax_naming/spi/properties.html#appletOnly
      timeoutSeconds=600
      work=/.automount/cady/root/export/dtf/unified/results/tiger/b59/jck/jck-jck_runtime-rhas3_amd64_c2-2004-07-23-14-14-51-0685/workDir/api/javax_naming/spi

      #section:script_messages
      ----------messages:(1/24)----------
      Executing test class...

      #section:testExecute
      ----------messages:(1/651)----------
      command: com.sun.jck.lib.ExecJCKTestOtherJVMCmd LD_LIBRARY_PATH=/net/cady/export/dtf/unified/knight-ws/suites/jck/jck1.5/JCK-runtime-15/lib/Linux.amd64 DISPLAY=jtg-s128:0.0 HOME=/home1/dtftest /export/jdk/b59/linux-amd64/jdk1.5.0/bin/java -server -Xfuture -classpath /.automount/jtgb4u4c/root/export/sail1/testarea/jck1.5.b23/JCK-runtime-15/classes -Djava.security.policy=/.automount/jtgb4u4c/root/export/sail1/testarea/jck1.5.b23/JCK-runtime-15/lib/jck.policy javasoft.sqe.tests.api.javax.naming.AppResTest -D /.automount/jtgb4u4c/root/export/sail1/testarea/jck1.5.b23/JCK-runtime-15/tests/api/javax_naming/spi/properties.html -TestCaseID appletOnly
      ----------out1:(5/784)----------
      ***InitialContext:java.naming.factory.state has value applet.state.Factory:com.sun.corba.se.impl.presentation.rmi.JNDIStateFactoryImpl; expecting applet.state.Factory
      ***InitialDirContext:java.naming.factory.state has value applet.state.Factory:com.sun.corba.se.impl.presentation.rmi.JNDIStateFactoryImpl; expecting applet.state.Factory
      ***InitialLdapContext:java.naming.factory.state has value applet.state.Factory:com.sun.corba.se.impl.presentation.rmi.JNDIStateFactoryImpl; expecting applet.state.Factory
      appletOnly: Failed. first failure: InitialContext:java.naming.factory.state has value applet.state.Factory:com.sun.corba.se.impl.presentation.rmi.JNDIStateFactoryImpl; expecting applet.state.Factory
      STATUS:Failed.test cases: 1; all failed; first test case failure: appletOnly
      ----------out2:(0/0)----------
      result: Failed. test cases: 1; all failed; first test case failure: appletOnly


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

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

            kcavanauorcl Ken Cavanaugh (Inactive)
            dsilaev Dmitri Silaev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: