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

LinkageError is thrown when ClassCircularityError should be reported

XMLWordPrintable

    • b02

      The runtime/ParallelClassLoading/ClassCircularityError/delegation/forName fail with 6u3b02 and 6u2b05 at solaris-i586, linux-amd64, linux-x86.

      Test log:

      [2007-09-13T06:58:29.67] export SHELL
      [2007-09-13T06:58:29.67] export DISPLAY
      [2007-09-13T06:58:29.67] export LIBJSIG_PATH
      [2007-09-13T06:58:29.67] export SystemRoot
      [2007-09-13T06:58:29.67] export TESTBASE
      [2007-09-13T06:58:29.67] export RAS_OPTIONS
      [2007-09-13T06:58:29.67] export HOME
      [2007-09-13T06:58:29.67] export ROOTDIR
      [2007-09-13T06:58:29.67] export LD_LIBRARY_PATH
      [2007-09-13T06:58:29.67] export CLASSPATH
      [2007-09-13T06:58:29.67] export TEMP
      [2007-09-13T06:58:29.67] export WINDIR
      [2007-09-13T06:58:29.67] export PATH
      [2007-09-13T06:58:29.67] TEST_DEST_DIR="forName"
      [2007-09-13T06:58:55.02] # Actual: TEST_DEST_DIR=forName
      [2007-09-13T06:58:55.02] TESTNAME="${test_case_name}"
      [2007-09-13T06:58:55.02] # Actual: TESTNAME=forName
      [2007-09-13T06:58:55.02] testName="runtime/ParallelClassLoading/ClassCircularityError/delegation//forName"
      [2007-09-13T06:58:55.02] # Actual: testName=runtime/ParallelClassLoading/ClassCircularityError/delegation//forName
      [2007-09-13T06:58:55.02] TESTDIR="${test_work_dir}"
      [2007-09-13T06:58:55.02] # Actual: TESTDIR=/export/local/4929.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_solaris10-i586_114FA85D50D/results/ResultDir/forName
      [2007-09-13T06:58:55.02] testWorkDir="${test_work_dir}/"
      [2007-09-13T06:58:55.02] # Actual: testWorkDir=/export/local/4929.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_solaris10-i586_114FA85D50D/results/ResultDir/forName/
      [2007-09-13T06:58:55.02] export testWorkDir
      [2007-09-13T06:58:55.02] tlogOutFile="${test_work_dir}/${test_name}.tlog"
      [2007-09-13T06:58:55.02] # Actual: tlogOutFile=/export/local/4929.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_solaris10-i586_114FA85D50D/results/ResultDir/forName/forName.tlog
      [2007-09-13T06:58:55.02] testErrFile="${test_work_dir}/${test_name}.err"
      [2007-09-13T06:58:55.02] # Actual: testErrFile=/export/local/4929.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_solaris10-i586_114FA85D50D/results/ResultDir/forName/forName.err
      [2007-09-13T06:58:55.02] EXECUTE_CLASS="${test_name}"
      [2007-09-13T06:58:55.02] # Actual: EXECUTE_CLASS=forName
      [2007-09-13T06:58:55.02] EXECUTE_CLASS="runtime.ParallelClassLoading.shared.DelegatingLoadingController"
      [2007-09-13T06:58:55.02] # Actual: EXECUTE_CLASS=runtime.ParallelClassLoading.shared.DelegatingLoadingController
      [2007-09-13T06:58:55.02] JAVA_OPTS="${JAVA_OPTS} -cp ${TESTBASE}/bin/classes"
      [2007-09-13T06:58:55.03] # Actual: JAVA_OPTS=-server -Xcomp -DHANGINGJAVA3644 -cp /net/vmsqe.russia/export/gtee/suites/6-ur/vm/bin/classes
      [2007-09-13T06:58:55.03] ITERATIONS="100"
      [2007-09-13T06:58:55.03] # Actual: ITERATIONS=100
      [2007-09-13T06:58:55.03] DEBUG="false"
      [2007-09-13T06:58:55.03] # Actual: DEBUG=false
      [2007-09-13T06:58:55.03] THREADS="1"
      [2007-09-13T06:58:55.03] # Actual: THREADS=1
      [2007-09-13T06:58:55.03] HIERARCHY_CLASS_DIR="${TESTBASE}/bin/classes/runtime/ParallelClassLoading/shared/hierarchies/static-load/ClassCircularityError/simple"
      [2007-09-13T06:58:55.03] # Actual: HIERARCHY_CLASS_DIR=/net/vmsqe.russia/export/gtee/suites/6-ur/vm/bin/classes/runtime/ParallelClassLoading/shared/hierarchies/static-load/ClassCircularityError/simple
      [2007-09-13T06:58:55.03] LOADING_CLASS="custom.A"
      [2007-09-13T06:58:55.03] # Actual: LOADING_CLASS=custom.A
      [2007-09-13T06:58:55.03] PROVOKE_TYPE="forName"
      [2007-09-13T06:58:55.03] # Actual: PROVOKE_TYPE=forName
      [2007-09-13T06:58:55.03] TEST_ARGS="${TEST_ARGS} -ITERATIONS ${ITERATIONS} -DEBUG ${DEBUG} -THREADS_COUNT ${THREADS} -classDir ${HIERARCHY_CLASS_DIR} -class ${LOADING_CLASS} -provoke ${PROVOKE_TYPE} -delegationRulesForCL1 custom.A -delegationRulesForCL2 custom.B ${STRESS_OPTIONS}"
      [2007-09-13T06:58:55.03] # Actual: TEST_ARGS=-ITERATIONS 100 -DEBUG false -THREADS_COUNT 1 -classDir /net/vmsqe.russia/export/gtee/suites/6-ur/vm/bin/classes/runtime/ParallelClassLoading/shared/hierarchies/static-load/ClassCircularityError/simple -class custom.A -provoke forName -delegationRulesForCL1 custom.A -delegationRulesForCL2 custom.B -stressTime 10 -stressDebug
      [2007-09-13T06:58:55.03] APPLICATION_TIMEOUT="${TIMEOUT}"
      [2007-09-13T06:58:55.03] # Actual: APPLICATION_TIMEOUT=15
      [2007-09-13T06:58:55.03] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2007-09-13T06:58:55.03] # Actual: CLASSPATH=/export/local/4929.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_solaris10-i586_114FA85D50D/results/ResultDir/forName:/net/vmsqe.russia/export/gtee/suites/6-ur/vm/bin/classes:/export/local/common/jdk/6/latest/solaris-i586/lib/tools.jar
      [2007-09-13T06:58:55.03] export CLASSPATH
      [2007-09-13T06:58:55.03] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2007-09-13T06:58:55.03] # Actual: /export/local/common/jdk/6/latest/solaris-i586/bin/java -server -Xcomp -DHANGINGJAVA3644 -cp /net/vmsqe.russia/export/gtee/suites/6-ur/vm/bin/classes runtime.ParallelClassLoading.shared.DelegatingLoadingController -ITERATIONS 100 -DEBUG false -THREADS_COUNT 1 -classDir /net/vmsqe.russia/export/gtee/suites/6-ur/vm/bin/classes/runtime/ParallelClassLoading/shared/hierarchies/static-load/ClassCircularityError/simple -class custom.A -provoke forName -delegationRulesForCL1 custom.A -delegationRulesForCL2 custom.B -stressTime 10 -stressDebug
      [2007-09-13T06:58:55.03] Iteration #1 of 100, time left: 9 s
      [2007-09-13T06:58:57.01] java.lang.ClassNotFoundException exception is caught in "Loading Thread #1": null
      [2007-09-13T06:58:57.01] 1 threads failed during execution.
      [2007-09-13T06:58:57.01] Starting stress execution: 100
      [2007-09-13T06:58:57.01] Stress time: 10
      [2007-09-13T06:58:57.01] Iterations: 100
      [2007-09-13T06:58:57.01] # Test level exit status: 97
      [2007-09-13T06:58:58.02]

      == How to reproduce:

      rlogin stt-33.russia -l stt-robot
      pwd in comments

      cd /net/vice/export/home0/results/6u4/b02w5/vm_6/vm/solaris10-i586/server/comp/vm-vm_6-ur_server_comp_solaris10-i5862007-09-12-20-20-52/ResultDir/forName/

      ksh forName.tlog

            acorn Karen Kinnear (Inactive)
            rkapshevsunw Roman Kapshevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: