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

JCK VM test execution06102 fails on jdk1.1.8

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.8
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_7

      Description



      Name: ipC94532 Date: 12/02/99



      JCK test tests/vm/concepts/execution061/execution06102/execution06102.html
      fails on JDK1.1.8 for Solaris.
      Test fails on JDK1.1.2, JDK1.1.3, JDK1.1.4, JDK1.1.5, JDK1.1.6 too.

      However, the test passes on jdk1.2, jdk1.2.1, jdk1.2.2, jdk1.3beta and
      latest jdk1.3-P for Solaris.

      This test contains method with invalid description

         public Method run:"((V"

      instead of correct one

         public Method run:"()V"


      and tries to catch ClassFormatError or NoClassDefFoundError,
      but "IncompatibleClassChangeError: Unimplemented interface method" is thrown.

      ---------------------------------------------------------------- File: run -----
      #!/bin/ksh

      JDK=$1
      JCK=$2

      export CLASSPATH=.
      echo ----- compilation -----
      $JDK/solaris/bin/javac -d . $JCK/tests/vm/concepts/execution/execution061/execution06102/execution06102.java
      echo ----- running -----
      $JDK/solaris/bin/java -version
      $JDK/solaris/bin/java javasoft.sqe.tests.vm.concepts.execution061.execution06102.execution06102
      echo ----- $? -----
      --------------------------------------------------------------------------------

      > uname -a

      SunOS novo12 5.7 Generic_Patch sun4u sparc SUNW,Ultra-2

      > run ${JDK118} ${JCK12a}
      ----- compilation -----
      Note:
      /export/ld26/java/sqe/JCK-12a/JCK-runtime-vm-12a/tests/vm/concepts/execution/execution061/execution06102/ex
      ecution06102.java uses a deprecated API. Recompile with "-deprecation" for details.
      1 warning
      ----- running -----
      java version "1.1.8"
      ( ###loadClass: javasoft.sqe.tests.vm.concepts.execution061.execution06102.Intrmdt false
      ( %%%loadClassData: Intrmdt
      ) %%%loadClassData: Intrmdt
      ( @@@defineClass: Intrmdt
      ( ###loadClass: javasoft.sqe.tests.vm.concepts.execution061.execution06102.clss false
      ( %%%loadClassData: clss
      ) %%%loadClassData: clss
      ( @@@defineClass: clss
      ( ###loadClass: java.lang.Object false
      ( $$$findSystemClass: java.lang.Object
      ) $$$findSystemClass: java.lang.Object
      ) ###loadClass: java.lang.Object false
      ( ###loadClass: java.lang.Runnable false
      ( $$$findSystemClass: java.lang.Runnable
      ) $$$findSystemClass: java.lang.Runnable
      ) ###loadClass: java.lang.Runnable false
      ) @@@defineClass: clss
      ) ###loadClass: javasoft.sqe.tests.vm.concepts.execution061.execution06102.clss false
      ) @@@defineClass: Intrmdt
      ) ###loadClass: javasoft.sqe.tests.vm.concepts.execution061.execution06102.Intrmdt false
      java.lang.IncompatibleClassChangeError: Unimplemented interface method
      at
      javasoft.sqe.tests.vm.concepts.execution061.execution06102.execution06102.run(execution06102.java:91)
      at
      javasoft.sqe.tests.vm.concepts.execution061.execution06102.execution06102.main(execution06102.java:122)
      ----- 1 -----
       
      -----------------------------------------
      ======================================================================
      ###@###.### 2000-06-29

        Attachments

          Activity

            People

            • Assignee:
              hongzh Hong Zhang
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: