United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4305459 GetBytecodes returns byte 0 instead of 1
4305459 : GetBytecodes returns byte 0 instead of 1

Details
Type:
Bug
Submit Date:
2000-01-19
Status:
Resolved
Updated Date:
2012-10-01
Project Name:
JDK
Resolved Date:
2004-08-30
Component:
hotspot
OS:
windows_nt,generic
Sub-Component:
jvmti
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2,6
Fixed Versions:
6

Related Reports
Backport:
Backport:

Sub Tasks

Description

Name: dkC59003			Date: 01/18/2000



The HotSpot VM 1.3.0rc1-S fails the test nsk/jvmdi/GetBytecodes/bytecodes001
from testbase_nsk as function GetBytecodes returns invalid byte.
Classic works fine.

To reproduce the bug run 
doit.bat <jdk root directory>
in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

(To try classic VM run doit.bat <jdk root directory> -classic)

The test outputs:

java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-S)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

Name = <init>, sig = ()V: code index = 3: byte expected: 0x1, got: 0x0

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

Name: ipR10196			Date: 08/26/2003


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

  nsk/jvmti/GetBytecodes/bytecodes001

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

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

                                    

Comments
SUGGESTED FIX

This fix is included in a batch of JFluid/RedefineClasses fixes
targeted for a Tiger-Update release.

Please see jfluid-merge-update4-full-webrev.tar.Z attachment in
5088035 for the complete set of changes.

###@###.### 2005-2-25 22:22:36 GMT
                                     
2005-02-25
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mustang

FIXED IN:
mustang

INTEGRATED IN:
mustang


                                     
2004-08-31
EVALUATION


For get/put and invoke instructions the returned index is an index into
the constant pool cache. For these instructions we can obtain the 
original constant pool index from the cp cache.
###@###.### 2004-08-06
                                     
2004-08-06



Hardware and Software, Engineered to Work Together