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 <###@###.###>
======================================================================
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 <###@###.###>
======================================================================
- duplicates
-
JDK-4529261 Method.byteCodes() returns 'quick/fast' bytecodes instead of originals
-
- Closed
-
-
JDK-4990749 GetBytecodes returns breakpoint bytecodes instead of real bytecodes
-
- Closed
-