-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
1.4.0
-
generic
-
generic
Name: elR10090 Date: 11/30/2000
Java HotSpot VMs (build 1.4.0beta-b42) fails to pass the test
nsk/serial/Unsafe/arrayBaseOffset/arrbaseoff001 from testbase_nsk.
The test throws NullPointerException on Win32 and crashes on
all other platforms.
The test passes on all platforms under previous build 1.4.0beta-b41.
To reproduce the bug run in GammaBase/Bugs/<this bug number> directory
sh doit.sh <JDK root directory> <options>
on SolSparc, Solx86 and Linux platforms, or
doit.bat <JDK root directory> <options>
on Windows platforms.
Running on Win32 the test outputs:
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b42)
Java HotSpot(TM) Client VM (build B42, mixed mode)
# Wrong int value: 0xb3067000, expected: 0x12345678
# Wrong long value: 0x106b30740, expected: 0x1234567890abcdef
# Wrong Float value: -3.054447E-8, expected: 12345.679
# Wrong Double value: 2.1775264297E-314, expected: 9876.54321
Exception in thread "main" java.lang.NullPointerException
at
java.lang.String.valueOf(../../../src/share/classes/java/lang/String.java:2310)
at java.lang.StringBuffer.append(StringBuffer.java:372)
at arrbaseoff001.run(arrbaseoff001.java:162)
at arrbaseoff001.main(arrbaseoff001.java:181)
Running on Solx86 the test outputs:
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b42)
Java HotSpot(TM) Client VM (build B42, mixed mode)
# Wrong int value: 0xb40061000, expected: 0x12345678
# Wrong long value: 0x1d94006d8, expected: 0x1234567890abcdef
# Wrong Float value: 2.0458984, expected: 12345.679
# Wrong Double value: 3.9227925175E-314, expected: 9876.54321
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4F533F534F4C415249530E43505007C2 (os_solaris.cpp, 1986)
#
# Problematic Thread: prio=5 tid=0x804f818 nid=0x1 runnable
#
Running on other Unix VMs the test produces similar output.
======================================================================