-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
None
-
1.3.1
-
sparc
-
generic
The following two JCK122 tests failed on Sol 2.6, 7, 8 of Sparc using JDK1.3.1 b08/b09/b10 with all switches.
JCK info:
=========
javasoft.sqe.tests.api.java.lang.StringBuffer.append119Tests
javasoft.sqe.tests.api.java.lang.StringBuffer.insert136Tests
Source Location:
/net/sqesvr.eng/export/st1/JCK-122/tests/api/java_lang/StringBuffer/append119Tests.java and insert136Tests.java
To reproduce it:
================
Run the attached scripts
StringBufferAppend119.ksh [switches] -- ex StringBufferAppend119.ksh -server -Xcomp
StringBuffer.ksh [swithes]
StringBufferAppend119.ksh output: (part of the output, see attachment)
------------------------------------
java version "1.3.1beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b09)
Java HotSpot(TM) Client VM (build 1.3.1beta-b09, mixed mode)
----------------------------------------------------------------
AssertionTest Report
----------------------------------------------------------------
Method Name : public java.lang.StringBuffer java.lang.StringBuffer.append(l
ong)
Class Name : class java.lang.StringBuffer
----------------------------------------------------------------
--------------------------------------------------------------
Index of factory objects : 0:1
List of Assertion Failures:
- OUT.toString().equals(aux.b4_str + arg_str)
- OUT.toString().equals(aux.b4_str + arg_str)
- OUT.length() == aux.b4_len + arg_str.length()
- OUT.length() == aux.b4_len + arg_str.length()
Test Status : Assertions failed: All Assertions Checked
--------------------------------------------------------------
--------------------------------------------------------------
StringBuffer.ksh output: (part of the output, see attachment)
----------------------------------
java version "1.3.1beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b10)
Java HotSpot(TM) Client VM (build 1.3.1beta-b10, mixed mode)
----------------------------------------------------------------
AssertionTest Report
----------------------------------------------------------------
Method Name : public java.lang.StringBuffer java.lang.StringBuffer.insert(i
nt,long)
Class Name : class java.lang.StringBuffer
----------------------------------------------------------------
--------------------------------------------------------------
Index of factory objects : 0:0:1
List of Assertion Failures:
- OUT.length() == aux.b4_len + b4_str.length()
- OUT.length() == aux.b4_len + b4_str.length()
- aux.insert_ok(offset, b4_str)
- aux.insert_ok(offset, b4_str)
Test Status : Assertions failed: All Assertions Checked
--------------------------------------------------------------
--------------------------------------------------------------
Script file:
============
StringBufferAppend119.ksh
#!/bin/ksh
SWITCH=${1+$@}
uname -np | read HOST ARCH
JDK=/export/home/jtg-test/jdk131/b10/jdk1.3.1beta
TESTBASE=/net/sqesvr/export/st1/JCK-122
JCK=${TESTBASE}
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
executeClass=javasoft.sqe.tests.api.java.lang.StringBuffer.append119Tests
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
$JDK/bin/java ${SWITCH} -version
echo
$JDK/bin/java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.p
olicy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${execut
eTestURL} ${executeWorkURL}
---------------------
StringBuffer.ksh
#!/bin/ksh
SWITCH=${1+$@}
uname -np | read HOST ARCH
JDK=/export/home/jtg-test/jdk131/b10/jdk1.3.1beta
TESTBASE=/net/sqesvr/export/st1/JCK-122
JCK=${TESTBASE}
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
executeClass=javasoft.sqe.tests.api.java.lang.StringBuffer.insert136Tests
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
$JDK/bin/java ${SWITCH} -version
echo
$JDK/bin/java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.p
olicy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${execut
eTestURL} ${executeWorkURL}
System Info:
===============
Hostname: jtg-s114
Hostid: 8093078d
Release: 5.6
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.6 Generic 105181-20 January 2000
===========
Status of processor 0 as of: 12/05/00 13:29:48
Processor has been on-line since 10/10/00 11:06:13.
The sparc processor operates at 168 MHz,
and has a sparc floating point processor.
Status of processor 1 as of: 12/05/00 13:29:48
Processor has been on-line since 10/10/00 11:06:16.
The sparc processor operates at 168 MHz,
and has a sparc floating point processor.
===========
Solaris 2.6 s297_37cshwp SPARC
Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
Manufactured in the USA 18 July 1997
takwing.cheung@Eng 2000-12-05
JCK info:
=========
javasoft.sqe.tests.api.java.lang.StringBuffer.append119Tests
javasoft.sqe.tests.api.java.lang.StringBuffer.insert136Tests
Source Location:
/net/sqesvr.eng/export/st1/JCK-122/tests/api/java_lang/StringBuffer/append119Tests.java and insert136Tests.java
To reproduce it:
================
Run the attached scripts
StringBufferAppend119.ksh [switches] -- ex StringBufferAppend119.ksh -server -Xcomp
StringBuffer.ksh [swithes]
StringBufferAppend119.ksh output: (part of the output, see attachment)
------------------------------------
java version "1.3.1beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b09)
Java HotSpot(TM) Client VM (build 1.3.1beta-b09, mixed mode)
----------------------------------------------------------------
AssertionTest Report
----------------------------------------------------------------
Method Name : public java.lang.StringBuffer java.lang.StringBuffer.append(l
ong)
Class Name : class java.lang.StringBuffer
----------------------------------------------------------------
--------------------------------------------------------------
Index of factory objects : 0:1
List of Assertion Failures:
- OUT.toString().equals(aux.b4_str + arg_str)
- OUT.toString().equals(aux.b4_str + arg_str)
- OUT.length() == aux.b4_len + arg_str.length()
- OUT.length() == aux.b4_len + arg_str.length()
Test Status : Assertions failed: All Assertions Checked
--------------------------------------------------------------
--------------------------------------------------------------
StringBuffer.ksh output: (part of the output, see attachment)
----------------------------------
java version "1.3.1beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b10)
Java HotSpot(TM) Client VM (build 1.3.1beta-b10, mixed mode)
----------------------------------------------------------------
AssertionTest Report
----------------------------------------------------------------
Method Name : public java.lang.StringBuffer java.lang.StringBuffer.insert(i
nt,long)
Class Name : class java.lang.StringBuffer
----------------------------------------------------------------
--------------------------------------------------------------
Index of factory objects : 0:0:1
List of Assertion Failures:
- OUT.length() == aux.b4_len + b4_str.length()
- OUT.length() == aux.b4_len + b4_str.length()
- aux.insert_ok(offset, b4_str)
- aux.insert_ok(offset, b4_str)
Test Status : Assertions failed: All Assertions Checked
--------------------------------------------------------------
--------------------------------------------------------------
Script file:
============
StringBufferAppend119.ksh
#!/bin/ksh
SWITCH=${1+$@}
uname -np | read HOST ARCH
JDK=/export/home/jtg-test/jdk131/b10/jdk1.3.1beta
TESTBASE=/net/sqesvr/export/st1/JCK-122
JCK=${TESTBASE}
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
executeClass=javasoft.sqe.tests.api.java.lang.StringBuffer.append119Tests
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
$JDK/bin/java ${SWITCH} -version
echo
$JDK/bin/java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.p
olicy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${execut
eTestURL} ${executeWorkURL}
---------------------
StringBuffer.ksh
#!/bin/ksh
SWITCH=${1+$@}
uname -np | read HOST ARCH
JDK=/export/home/jtg-test/jdk131/b10/jdk1.3.1beta
TESTBASE=/net/sqesvr/export/st1/JCK-122
JCK=${TESTBASE}
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
executeClass=javasoft.sqe.tests.api.java.lang.StringBuffer.insert136Tests
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
$JDK/bin/java ${SWITCH} -version
echo
$JDK/bin/java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.p
olicy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${execut
eTestURL} ${executeWorkURL}
System Info:
===============
Hostname: jtg-s114
Hostid: 8093078d
Release: 5.6
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.6 Generic 105181-20 January 2000
===========
Status of processor 0 as of: 12/05/00 13:29:48
Processor has been on-line since 10/10/00 11:06:13.
The sparc processor operates at 168 MHz,
and has a sparc floating point processor.
Status of processor 1 as of: 12/05/00 13:29:48
Processor has been on-line since 10/10/00 11:06:16.
The sparc processor operates at 168 MHz,
and has a sparc floating point processor.
===========
Solaris 2.6 s297_37cshwp SPARC
Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
Manufactured in the USA 18 July 1997
takwing.cheung@Eng 2000-12-05