-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1
-
hopper
-
sparc
-
solaris_7, solaris_8
-
Verified
Name: pvR10198 Date: 03/04/2002
The 64-bit Hotspot Server VM (build 1.4.1-beta-b03) fails the following
tests from testbase_nsk:
nsk/jvmdi/GetLocalVariable/getlocal001
nsk/jvmdi/SetLocalVariable/setlocal001
The tests pass all other VMs on all platforms.
The tests exercise JVMDI functions which allow to get/set local variable
value. The test cases include:
- call point: from event hook function on method exit and breakpoint
- method local variable, method parameter
- various types.
The tests reveal that the functions GetLocalLong/SetLocalLong
get/set unexpected values.
To reproduce the bug run in GammaBase/Bugs/<this bug number>
directory for getlocal001:
sh doit1.sh <JAVA_HOME> -d64
and for setlocal001:
sh doit2.sh <JAVA_HOME> -d64
Running getlocal001 test outputs:
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b03, interpreted mode)
One of values retrieved by GetLocal is wrong (hook):
actual: long = 0x0000000000000000, float = 6.000000, double = 7.000000
expected: long = 0x0000000000000016, float = 6.000000, double = 7.000000
One of values retrieved by GetLocal is wrong (hook):
actual: long = 0x0000000000000000, float = 6.000000, double = 7.000000
expected: long = 0x0000000000000016, float = 6.000000, double = 7.000000
One of values retrieved by GetLocal is wrong (params):
actual: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffff3044c8c0, float = 3.140000, double = 0.330000
expected: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffffffffff9c, float = 3.140000, double = 0.330000
One of values retrieved by GetLocal is wrong (params):
actual: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffff3044c8c0, float = 3.140000, double = 0.330000
expected: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffffffffff9c, float = 3.140000, double = 0.330000
Exit Code: 97
Running setlocal001 test outputs:
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b03, interpreted mode)
meth01: l =0 f = 6.0 d = 7.0
meth04: i1 =1 i2 = 2 i3 = i4 = 4
l =0 f = 6.0 d = 7.0 b = true
Exit Code: 97
(In both methods the expected value for "l" is 22L.)
This bug affects also the following test from testbase_nsk:
/nsk/regression/b4259923
======================================================================
Name: ipR10196 Date: 03/05/2002
Ivan Popov <###@###.###>
This bug affects also the following tests of testbase_nsk:
nsk/jdi/StackFrame/getValue/getvalue001
nsk/jdi/StackFrame/setValue/setvalue001
nsk/jdwp/StackFrame/GetValues/getvalues001
nsk/jdwp/StackFrame/SetValues/setvalues001
See also similar bug integrated in ladybird-rc1:
4386002 Incorrect values reported for some locals of type long
======================================================================
###@###.### 2002-03-21
Version Test results (On Solaris/SPARC 64-bit)
======== ======================================
1.4.1-ea-b01-debug PASS
1.4.1-beta-b02 PASS
1.4.1-beta-b03 FAIL
1.4.1-beta-b04 FAIL
1.4.1-beta-b05 FAIL
1.4.1-beta-b06 FAIL
1.4.1-beta-b07(nightly) FAIL
======================================================================
###@###.### 2002-04-23
Name: as83306 Date: 03/15/2002
Regression test com/sun/jdi/SparcToSparcv9Test.sh fails with Hopper build 05 on sol2.7, host tiggr.
For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Thu Mar 14 19:36:55 PST 2002
#checksum:4daa123e3ab5bd4d
#-----testdescription-----
$file=/export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/SparcToSparcv9Test.sh
$root=/export1/regression/hopper/jdk1.4.1Tests/b05
author=Tim Bell Based on test/java/awt/TEMPLATE/AutomaticShellTest.sh
keywords=bug4478312 shell
run=USER_SPECIFIED build TestScaffold VMConnection TargetListener TargetAdapter\nUSER_SPECIFIED compile -g
FetchLocals.java\nUSER_SPECIFIED compile -g DataModelTest.java\nUSER_SPECIFIED shell SparcToSparcv9Test.sh\n
source=SparcToSparcv9Test.sh
title=Test debugging with mixed 32/64bit VMs.
#-----environment-----
#-----testresult-----
description=file:///export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/SparcToSparcv9Test.sh
end=Thu Mar 14 19:36:55 PST 2002
environment=regtest
execStatus=Failed. Execution failed: exit code 1
javatestOS=SunOS 5.7 (sparc)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile compile shell
start=Thu Mar 14 19:36:37 PST 2002
status=Failed. Execution failed: exit code 1
test=com/sun/jdi/SparcToSparcv9Test.sh
work=/export0/results/regression/hopper/b05/tiggr5.7-jth13-jdk141b05.03-14.19.23-ALL/com/sun/jdi
#section:script_messages
----------messages:(4/202)----------
JDK under test: (/export1/java/jdk141b05)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
#section:build
----------messages:(3/158)----------
command: build TargetAdapter
reason: User specified action: run build TestScaffold VMConnection TargetListener TargetAdapter
elapsed time (seconds): 0.0020
result: Passed. No need to compile: TargetAdapter.java
#section:compile
----------messages:(3/186)----------
command: compile /export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/FetchLocals.java
reason: User specified action: run compile -g FetchLocals.java
elapsed time (seconds): 3.364
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/190)----------
command: compile /export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/DataModelTest.java
reason: User specified action: run compile -g DataModelTest.java
elapsed time (seconds): 2.869
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:shell
----------messages:(3/133)----------
command: shell SparcToSparcv9Test.sh
reason: User specified action: run shell SparcToSparcv9Test.sh
elapsed time (seconds): 12.579
----------System.out:(138/5036)----------
JDK under test is: /export1/java/jdk141b05
--------------------------------------------
debugger=32 debugee=32 class=DataModelTest
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=32 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." DataModelTest -connect 'com.sun.jdi.CommandLineLaunch:options=-d32
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) Client VM, mixed mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
Howdy!
sun.arch.data.model is: 32
Goodbye from DataModelTarg!
--------------------------------------------
debugger=32 debugee=32 class=FetchLocals
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=32 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." FetchLocals -connect 'com.sun.jdi.CommandLineLaunch:options=-d32
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) Client VM, mixed mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
FetchLocalsDebugee Starting up...
pt is: true
b is: 59
c is: Z
s is: 12345
i is: 8675309
w is: 973230999 (0x3a025397)
x is: 973230999000 (0xe2991685d8)
y is: 22 (0x16)
f is: 6.66
d is: 7.77
Tested OK: pt = true
Tested OK: pt = false
Tested OK: b = 59
Tested OK: b = 126
Tested OK: c = Z
Tested OK: c = A
Tested OK: s = 12345
Tested OK: s = -32766
Tested OK: i = 8675309
Tested OK: i = -42
Tested OK: w = 973230999
Tested OK: w = -2449767978590212352
Tested OK: x = 973230999000
Tested OK: x = -3890830798974042624
Tested OK: y = 22
Tested OK: x = -2401053089206453570
Tested OK: f = 6.66
Tested OK: f = 3.1415927
Tested OK: d = 7.77
Tested OK: d = 2.718281828459045
The debugger was here. w modified to: 0xde00ad00be00ef00
testMethod() returned: -3890830798974042624 (0xca00fe00ba00be00)
FetchLocalsDebugee Shutting down...
FetchLocals: passed
--------------------------------------------
debugger=32 debugee=64 class=DataModelTest
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=64 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." DataModelTest -connect 'com.sun.jdi.CommandLineLaunch:options=-d64
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) 64-Bit Server VM, interpreted mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b05, interpreted mode)
Howdy!
sun.arch.data.model is: 64
Goodbye from DataModelTarg!
--------------------------------------------
debugger=32 debugee=64 class=FetchLocals
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=64 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." FetchLocals -connect 'com.sun.jdi.CommandLineLaunch:options=-d64
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) 64-Bit Server VM, interpreted mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b05, interpreted mode)
FetchLocalsDebugee Starting up...
pt is: true
b is: 59
c is: Z
s is: 12345
i is: 8675309
w is: 973230999 (0x3a025397)
x is: 973230999000 (0xe2991685d8)
y is: 22 (0x16)
f is: 6.66
d is: 7.77
Tested OK: pt = true
Tested OK: pt = false
Tested OK: b = 59
Tested OK: b = 126
Tested OK: c = Z
Tested OK: c = A
Tested OK: s = 12345
Tested OK: s = -32766
Tested OK: i = 8675309
Tested OK: i = -42
Error for w = 0x0 should be: 0x3a025397
Tested OK: w = -2449767978590212352
Error for x = 0x0 should be: 0xe2991685d8
Tested OK: x = -3890830798974042624
Error for y = 0x0 should be: 0x16
Tested OK: x = -2401053089206453570
Tested OK: f = 6.66
Tested OK: f = 3.1415927
Tested OK: d = 7.77
Tested OK: d = 2.718281828459045
w contains : 0x3a025397
testMethod() returned: 973230999000 (0xe2991685d8)
FetchLocalsDebugee Shutting down...
The test failed :-(
exit status was 1
----------System.err:(27/1322)----------
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d32 -showversion, DataModelTarg]
DataModelTest: passed
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d32 -showversion, FetchLocalsDebugee]
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d64 -showversion, DataModelTarg]
DataModelTest: passed
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d64 -showversion, FetchLocalsDebugee]
Exception in thread "main" java.lang.Exception: FetchLocals: failed
at FetchLocals.runTests(FetchLocals.java:375)
at TestScaffold.startTests(TestScaffold.java:328)
at FetchLocals.main(FetchLocals.java:98)
32 to 64 test failed for class=FetchLocals!
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
======================================================================
The 64-bit Hotspot Server VM (build 1.4.1-beta-b03) fails the following
tests from testbase_nsk:
nsk/jvmdi/GetLocalVariable/getlocal001
nsk/jvmdi/SetLocalVariable/setlocal001
The tests pass all other VMs on all platforms.
The tests exercise JVMDI functions which allow to get/set local variable
value. The test cases include:
- call point: from event hook function on method exit and breakpoint
- method local variable, method parameter
- various types.
The tests reveal that the functions GetLocalLong/SetLocalLong
get/set unexpected values.
To reproduce the bug run in GammaBase/Bugs/<this bug number>
directory for getlocal001:
sh doit1.sh <JAVA_HOME> -d64
and for setlocal001:
sh doit2.sh <JAVA_HOME> -d64
Running getlocal001 test outputs:
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b03, interpreted mode)
One of values retrieved by GetLocal is wrong (hook):
actual: long = 0x0000000000000000, float = 6.000000, double = 7.000000
expected: long = 0x0000000000000016, float = 6.000000, double = 7.000000
One of values retrieved by GetLocal is wrong (hook):
actual: long = 0x0000000000000000, float = 6.000000, double = 7.000000
expected: long = 0x0000000000000016, float = 6.000000, double = 7.000000
One of values retrieved by GetLocal is wrong (params):
actual: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffff3044c8c0, float = 3.140000, double = 0.330000
expected: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffffffffff9c, float = 3.140000, double = 0.330000
One of values retrieved by GetLocal is wrong (params):
actual: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffff3044c8c0, float = 3.140000, double = 0.330000
expected: int=1, short=2, char=3, byte=4, boolean=1
long = 0xffffffffffffff9c, float = 3.140000, double = 0.330000
Exit Code: 97
Running setlocal001 test outputs:
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b03, interpreted mode)
meth01: l =0 f = 6.0 d = 7.0
meth04: i1 =1 i2 = 2 i3 = i4 = 4
l =0 f = 6.0 d = 7.0 b = true
Exit Code: 97
(In both methods the expected value for "l" is 22L.)
This bug affects also the following test from testbase_nsk:
/nsk/regression/b4259923
======================================================================
Name: ipR10196 Date: 03/05/2002
Ivan Popov <###@###.###>
This bug affects also the following tests of testbase_nsk:
nsk/jdi/StackFrame/getValue/getvalue001
nsk/jdi/StackFrame/setValue/setvalue001
nsk/jdwp/StackFrame/GetValues/getvalues001
nsk/jdwp/StackFrame/SetValues/setvalues001
See also similar bug integrated in ladybird-rc1:
4386002 Incorrect values reported for some locals of type long
======================================================================
###@###.### 2002-03-21
Version Test results (On Solaris/SPARC 64-bit)
======== ======================================
1.4.1-ea-b01-debug PASS
1.4.1-beta-b02 PASS
1.4.1-beta-b03 FAIL
1.4.1-beta-b04 FAIL
1.4.1-beta-b05 FAIL
1.4.1-beta-b06 FAIL
1.4.1-beta-b07(nightly) FAIL
======================================================================
###@###.### 2002-04-23
Name: as83306 Date: 03/15/2002
Regression test com/sun/jdi/SparcToSparcv9Test.sh fails with Hopper build 05 on sol2.7, host tiggr.
For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Thu Mar 14 19:36:55 PST 2002
#checksum:4daa123e3ab5bd4d
#-----testdescription-----
$file=/export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/SparcToSparcv9Test.sh
$root=/export1/regression/hopper/jdk1.4.1Tests/b05
author=Tim Bell Based on test/java/awt/TEMPLATE/AutomaticShellTest.sh
keywords=bug4478312 shell
run=USER_SPECIFIED build TestScaffold VMConnection TargetListener TargetAdapter\nUSER_SPECIFIED compile -g
FetchLocals.java\nUSER_SPECIFIED compile -g DataModelTest.java\nUSER_SPECIFIED shell SparcToSparcv9Test.sh\n
source=SparcToSparcv9Test.sh
title=Test debugging with mixed 32/64bit VMs.
#-----environment-----
#-----testresult-----
description=file:///export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/SparcToSparcv9Test.sh
end=Thu Mar 14 19:36:55 PST 2002
environment=regtest
execStatus=Failed. Execution failed: exit code 1
javatestOS=SunOS 5.7 (sparc)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile compile shell
start=Thu Mar 14 19:36:37 PST 2002
status=Failed. Execution failed: exit code 1
test=com/sun/jdi/SparcToSparcv9Test.sh
work=/export0/results/regression/hopper/b05/tiggr5.7-jth13-jdk141b05.03-14.19.23-ALL/com/sun/jdi
#section:script_messages
----------messages:(4/202)----------
JDK under test: (/export1/java/jdk141b05)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
#section:build
----------messages:(3/158)----------
command: build TargetAdapter
reason: User specified action: run build TestScaffold VMConnection TargetListener TargetAdapter
elapsed time (seconds): 0.0020
result: Passed. No need to compile: TargetAdapter.java
#section:compile
----------messages:(3/186)----------
command: compile /export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/FetchLocals.java
reason: User specified action: run compile -g FetchLocals.java
elapsed time (seconds): 3.364
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/190)----------
command: compile /export1/regression/hopper/jdk1.4.1Tests/b05/com/sun/jdi/DataModelTest.java
reason: User specified action: run compile -g DataModelTest.java
elapsed time (seconds): 2.869
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:shell
----------messages:(3/133)----------
command: shell SparcToSparcv9Test.sh
reason: User specified action: run shell SparcToSparcv9Test.sh
elapsed time (seconds): 12.579
----------System.out:(138/5036)----------
JDK under test is: /export1/java/jdk141b05
--------------------------------------------
debugger=32 debugee=32 class=DataModelTest
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=32 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." DataModelTest -connect 'com.sun.jdi.CommandLineLaunch:options=-d32
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) Client VM, mixed mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
Howdy!
sun.arch.data.model is: 32
Goodbye from DataModelTarg!
--------------------------------------------
debugger=32 debugee=32 class=FetchLocals
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=32 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." FetchLocals -connect 'com.sun.jdi.CommandLineLaunch:options=-d32
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) Client VM, mixed mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
FetchLocalsDebugee Starting up...
pt is: true
b is: 59
c is: Z
s is: 12345
i is: 8675309
w is: 973230999 (0x3a025397)
x is: 973230999000 (0xe2991685d8)
y is: 22 (0x16)
f is: 6.66
d is: 7.77
Tested OK: pt = true
Tested OK: pt = false
Tested OK: b = 59
Tested OK: b = 126
Tested OK: c = Z
Tested OK: c = A
Tested OK: s = 12345
Tested OK: s = -32766
Tested OK: i = 8675309
Tested OK: i = -42
Tested OK: w = 973230999
Tested OK: w = -2449767978590212352
Tested OK: x = 973230999000
Tested OK: x = -3890830798974042624
Tested OK: y = 22
Tested OK: x = -2401053089206453570
Tested OK: f = 6.66
Tested OK: f = 3.1415927
Tested OK: d = 7.77
Tested OK: d = 2.718281828459045
The debugger was here. w modified to: 0xde00ad00be00ef00
testMethod() returned: -3890830798974042624 (0xca00fe00ba00be00)
FetchLocalsDebugee Shutting down...
FetchLocals: passed
--------------------------------------------
debugger=32 debugee=64 class=DataModelTest
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=64 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." DataModelTest -connect 'com.sun.jdi.CommandLineLaunch:options=-d64
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) 64-Bit Server VM, interpreted mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b05, interpreted mode)
Howdy!
sun.arch.data.model is: 64
Goodbye from DataModelTarg!
--------------------------------------------
debugger=32 debugee=64 class=FetchLocals
--------------------------------------------
/export1/java/jdk141b05/bin/java -d32 -showversion -DEXPECTED=64 -classpath
"/export1/java/jdk141b05/lib/tools.jar:." FetchLocals -connect 'com.sun.jdi.CommandLineLaunch:options=-d64
-showversion'
JVM version:1.4.1-beta
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.2
JVM version 1.4.1-beta (Java HotSpot(TM) 64-Bit Server VM, interpreted mode)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.1-beta-b05, interpreted mode)
FetchLocalsDebugee Starting up...
pt is: true
b is: 59
c is: Z
s is: 12345
i is: 8675309
w is: 973230999 (0x3a025397)
x is: 973230999000 (0xe2991685d8)
y is: 22 (0x16)
f is: 6.66
d is: 7.77
Tested OK: pt = true
Tested OK: pt = false
Tested OK: b = 59
Tested OK: b = 126
Tested OK: c = Z
Tested OK: c = A
Tested OK: s = 12345
Tested OK: s = -32766
Tested OK: i = 8675309
Tested OK: i = -42
Error for w = 0x0 should be: 0x3a025397
Tested OK: w = -2449767978590212352
Error for x = 0x0 should be: 0xe2991685d8
Tested OK: x = -3890830798974042624
Error for y = 0x0 should be: 0x16
Tested OK: x = -2401053089206453570
Tested OK: f = 6.66
Tested OK: f = 3.1415927
Tested OK: d = 7.77
Tested OK: d = 2.718281828459045
w contains : 0x3a025397
testMethod() returned: 973230999000 (0xe2991685d8)
FetchLocalsDebugee Shutting down...
The test failed :-(
exit status was 1
----------System.err:(27/1322)----------
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d32 -showversion, DataModelTarg]
DataModelTest: passed
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d32 -showversion, FetchLocalsDebugee]
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d64 -showversion, DataModelTarg]
DataModelTest: passed
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)
run args: [-connect, com.sun.jdi.CommandLineLaunch:options=-d64 -showversion, FetchLocalsDebugee]
Exception in thread "main" java.lang.Exception: FetchLocals: failed
at FetchLocals.runTests(FetchLocals.java:375)
at TestScaffold.startTests(TestScaffold.java:328)
at FetchLocals.main(FetchLocals.java:98)
32 to 64 test failed for class=FetchLocals!
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
======================================================================
- duplicates
-
JDK-4653808 Reg-test SparcToSparcv9Test.sh Failing
- Closed
- relates to
-
JDK-4386002 Incorrect values reported for some locals of type long
- Closed