This might be the same to 4629512.
The above bug seems to happen both on Solaris and windows.
But the attached sample is only on Solaris.
1. Reproduce
1) Compile the attached java program
2) Invoke
java -server ReadTest
==> You will see the following message as follows..
+++++++++++++++++++++++++++++
value = 34567890AB
value's length = 10
value's i = 10
max = 0
numBytesToCopy = 2
BYTE_SIZE = 1
offset = 8
+++++++++++++++++++++++++++++
The above message is output on ArrayIndexOutOfBoundsException.
2. Configration
goedel[5]% uname -a
SunOS goedel 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60
goedel[6]% psrinfo -v
Status of processor 0 as of: 09/24/02 22:35:42
Processor has been on-line since 09/11/02 16:32:40.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
goedel[7]% prtconf
System Configuration: Sun Microsystems sun4u
Memory size: 256 Megabytes
System Peripherals (Software Nodes):
...........
pci, instance #1
counter-timer (driver not attached)
SUNW,UltraSPARC-II (driver not attached)
SUNW,ffb, instance #0
pseudo, instance #0
goedel[8]% java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
tbaba@goedel[9]%
3. Note
- This does not happen on 1.3.1_0X and 1.4.0_0X even with -server.
- This does not happen with -Xint and with -client(default) in 1.4.1.
2002-09-24
==========================================================================
The above bug seems to happen both on Solaris and windows.
But the attached sample is only on Solaris.
1. Reproduce
1) Compile the attached java program
2) Invoke
java -server ReadTest
==> You will see the following message as follows..
+++++++++++++++++++++++++++++
value = 34567890AB
value's length = 10
value's i = 10
max = 0
numBytesToCopy = 2
BYTE_SIZE = 1
offset = 8
+++++++++++++++++++++++++++++
The above message is output on ArrayIndexOutOfBoundsException.
2. Configration
goedel[5]% uname -a
SunOS goedel 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60
goedel[6]% psrinfo -v
Status of processor 0 as of: 09/24/02 22:35:42
Processor has been on-line since 09/11/02 16:32:40.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
goedel[7]% prtconf
System Configuration: Sun Microsystems sun4u
Memory size: 256 Megabytes
System Peripherals (Software Nodes):
...........
pci, instance #1
counter-timer (driver not attached)
SUNW,UltraSPARC-II (driver not attached)
SUNW,ffb, instance #0
pseudo, instance #0
goedel[8]% java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
tbaba@goedel[9]%
3. Note
- This does not happen on 1.3.1_0X and 1.4.0_0X even with -server.
- This does not happen with -Xint and with -client(default) in 1.4.1.
2002-09-24
==========================================================================
- duplicates
-
JDK-4750681 Bad exception in the copying loop
- Resolved
- relates to
-
JDK-4629512 Bad exception in trivial loop on Sparc 32b -server
- Resolved