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

GetBytecodes returns quicked invoke instructions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0, 1.4.2, 5.0
    • hotspot
    • generic, sparc
    • generic, solaris_7

      The JVMDI function GetBytecodes returns the quicked invoke
      instructions 214 and 215. Only standard bytecodes should
      be returned.

      Output of JDI based test program on the loaded classes of a HelloWorld
      program:

      % java QuickedTest
      run args: [QuickedTarg]
      JVM version:1.4.0-internal
      JDI version: 1.4
      JVM description: Java Debug Interface (Reference Implementation) version 1.4
      Java Debug Wire Protocol (Reference Implementation) version 1.4
      JVM Debug Interface version 1.1
      JVM version 1.4.0-internal (Java HotSpot(TM) Client VM, interpreted mode)
      Non-standard opcode - java.io.DataInputStream.readLine@41: opcode=214
      Non-standard opcode - java.io.FilePermission.getMask@603: opcode=215
      Non-standard opcode - java.lang.Character.toLowerCase@52: opcode=215
      Non-standard opcode - java.lang.Character.toUpperCase@52: opcode=215
      Non-standard opcode - java.lang.Character.getNumericValue@40: opcode=214
      Non-standard opcode - java.lang.Character.toUpperCaseEx@67: opcode=214
      Non-standard opcode - java.nio.Bits.byteOrder@39: opcode=214
      Non-standard opcode - java.util.Properties.saveConvert@33: opcode=215
      Non-standard opcode - java.util.zip.ZipFile.getInputStream@58: opcode=214
      Non-standard opcode - sun.misc.ExtensionDependency.checkExtensionAgainst@188: opcode=214
      Non-standard opcode - www.MessageHeader.mergeHeader@51'>sun.net.www.MessageHeader.mergeHeader@51: opcode=215
      Howdy!
      Exception in thread "main" java.lang.Exception: QuickedTest: failed


      Name: pvR10198 Date: 05/27/2002


      This bug also affects the following test from testbase_nsk:

          nsk/jvmdi/GetBytecodes/bytecodes003

      The test will be available in the next release v141r15.

      Pavel Vysotski <###@###.###>
      ======================================================================

      Name: ipR10196 Date: 08/26/2003


      Similar bug is revealed for the corresponding JVMTI function
      GetBytecodes(). The tests affected are:

        nsk/jvmti/GetBytecodes/bytecodes003

      Ivan Popov <###@###.###>

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: