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

JVMTI Spec: no TYPE_MISMATCH -- JCK vm/jvmti/GetLocalDouble/glvd001/glvd00104

XMLWordPrintable

    • x86, sparc
    • linux, solaris_10



      Name: iaR10016 Date: 12/28/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b32, JDK1.5.0-b31
                        (this is a new test which is not valid for JDK1.4.2)
      JCK : JCK1.5-runtime (b10)
      Platform[s] : RedHat Advanced Server 3 (Gnome), Turbo Linux 8.0 (GNOME), Solaris 10 (sparc) (CDE)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test : vm/jvmti/GetLocalDouble/glvd001/glvd00104/glvd00104.html

      JCK1.5-runtime (b10) vm/jvmti/GetLocalDouble/glvd001/glvd00104/glvd00104.html test fails using
      JDK1.5.0-b32 with "[GetLocalDouble] Expected error: JVMTI_ERROR_TYPE_MISMATCH, got: JVMTI_ERROR_NONE"
      error message.

      Please, note that this test is in the latest JCK1.5 known failure list because of the bug 4300412
      integrated and verified in tiger-b22.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15/tests/vm/jvmti/GetLocalDouble/glvd001/glvd00104/glvd00104.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/vm/jvmti/GetLocalDouble/glvd001/glvd00104/glvd00104.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables,
      LD_LIBRARY_PATH variable should contain the path to jckjvmti native library)

      --- script start ---
      #!/bin/bash

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
      JCK="/java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"

      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      export LD_LIBRARY_PATH="$JCK/lib/Linux.i386"

      $JDK/bin/java -Xfuture -showversion -agentlib:jckjvmti=glvd00104 javasoft.sqe.tests.vm.jvmti.glvd001.glvd00104.glvd00104 -platform.nativeCodeSupported true
      echo $?
      --- script end ---

      Script output:
      ==============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)

      [GetLocalDouble] Expected error: JVMTI_ERROR_TYPE_MISMATCH, got: JVMTI_ERROR_NONE
      97

      Test output (jtr part):
      =======================
      ----------log:(0/0)----------
      result: Failed. test failed

      test result: Failed. test failed

      Specific machine info:
      ======================
      Hostname: linux-4
      OS: Turbo Linux 8.0 (GNOME)
      Hostname: linux-8
      OS: Solaris 10 (sparc) (CDE)
      Hostname: linux-9
      OS: RedHat Advanced Server 3 (Gnome)

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

            rfield Robert Field (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: