- 
    Bug 
- 
    Resolution: Duplicate
- 
     P4 P4
- 
    None
- 
    1.4.0
- 
        sparc
- 
        solaris_8
Name: abR10010 Date: 10/01/2001
Test : nsk/regression/b4259923
TestBase : testbase_nsk
The nsk/regression/b4259923 test fails to get valid values for locals
of type long and double under the HotSpot 64-Bit Server VM (build
1.4.0-beta3-b81).
The test exercises the JVMDI functions:
GetLocalLong(), GetLocalFloat(), GetLocalDouble()
and reveals that GetLocalLong() and GetLocalDouble()
functions return unexpected values (see test log below).
This failure happens starting with the build 1.4.0-beta3-b81.
The build 1.4.0-beta3-b80 passes b4259923 test as well as
the build 1.4.0-beta3-b81, 32-bit Server VM.
To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:
sh doit.sh <JAVA_HOME> -d64
See test logs:
For 1.4.0-beta3-b81, 64-bit Server VM:
% doit.sh .../java/dest/jdk1.4.0beta-b81/solsparc -d64
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b81)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta3-b81, interpreted mode)
One of the values retrieved by GetLocal is wrong:
actual: long = 0x0000001600000000, float = 6,000000, double = 0,000000
expected: long = 0x0000000000000016, float = 6,000000, double = 7,000000
Exit Code: 97
For 1.4.0-beta3-b80, 64-bit Server VM:
% doit.sh .../java/dest/jdk1.4.0beta-b80/solsparc -d64
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b80)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta3-b80, interpreted mode)
Exit Code: 95
For 1.4.0-beta3-b81, 32-bit Server VM:
% doit.sh .../java/dest/jdk1.4.0beta-b81/solsparc -server
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b81)
Java HotSpot(TM) Server VM (build 1.4.0-beta3-b81, interpreted mode)
Exit Code: 95
======================================================================
- duplicates
- 
                    JDK-4507465 full-speed debugging roll-up including: watchpoint support missing - regression -           
- Closed
 
-         
- relates to
- 
                    JDK-4259923 Incorrect values reported for locals of type long, float, and double -           
- Closed
 
-         
- 
                    JDK-4419445 JDI: StackFrame.getValue() swap bytes of long value -           
- Closed
 
-         
- 
                    JDK-4419982 JDI: two StackFrame methods return incorrect values for double -           
- Closed
 
-         
- 
                    JDK-4386002 Incorrect values reported for some locals of type long -           
- Closed
 
-