-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta
-
x86, sparc
-
generic, linux
-
Verified
The following JCK1.3 tests fail on Linux RedHat 6.2, Sparc Solaris, Windows
api/javax_swing/JWindow/index.html#Ctor
The script below runs test api/javax_swing/JWindow/index.html#Ctor.
You may need to set JCK and JAVA_HOME.
-------------------------------------------------------------------------------------
#!/bin/sh
SWITCH="$@"
JAVA_HOME=/usr/local/java/jdk1.4/linux-i386
JCK=/net/orthello/home2/JCK-13
CLASSPATH=$JCK/classes:$JCK/javatest.jar
export CLASSPATH
executeClass="javasoft.sqe.tests.api.javax.swing.JWindow.CtorTests"
$JAVA_HOME/bin/java ${SWITCH} -version
$JAVA_HOME/bin/java ${SWITCH} -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass}
RESULT="$?"
if [ $RESULT = 95 ]; then
echo Test passed
elif [ $RESULT = 97 ]; then
echo Test failed
else
echo Result is $RESULT
fi
------------------------------------ Linux output ------------------------------------
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b40)
Java HotSpot(TM) Client VM (build 1.4beta-B40, mixed mode)
Warning: Cannot convert string "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
JWindow2001: Passed. OKAY
JWindow0001: Passed. OKAY
JWindow0002: Passed. OKAY
====== JWindow1001 ====== public JWindow(Frame frame)
JWindow1001: Passed. OKAY
====== JWindow1002 ====== public JWindow(Window window)
JWindow1002: Failed. Ctor does not throw any exception
STATUS:Failed. tests: 5; passed: 4; failed: 1; first test case failure: JWindow1002
Test failed
======================================================================
api/javax_swing/JWindow/index.html#Ctor
The script below runs test api/javax_swing/JWindow/index.html#Ctor.
You may need to set JCK and JAVA_HOME.
-------------------------------------------------------------------------------------
#!/bin/sh
SWITCH="$@"
JAVA_HOME=/usr/local/java/jdk1.4/linux-i386
JCK=/net/orthello/home2/JCK-13
CLASSPATH=$JCK/classes:$JCK/javatest.jar
export CLASSPATH
executeClass="javasoft.sqe.tests.api.javax.swing.JWindow.CtorTests"
$JAVA_HOME/bin/java ${SWITCH} -version
$JAVA_HOME/bin/java ${SWITCH} -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass}
RESULT="$?"
if [ $RESULT = 95 ]; then
echo Test passed
elif [ $RESULT = 97 ]; then
echo Test failed
else
echo Result is $RESULT
fi
------------------------------------ Linux output ------------------------------------
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b40)
Java HotSpot(TM) Client VM (build 1.4beta-B40, mixed mode)
Warning: Cannot convert string "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
JWindow2001: Passed. OKAY
JWindow0001: Passed. OKAY
JWindow0002: Passed. OKAY
====== JWindow1001 ====== public JWindow(Frame frame)
JWindow1001: Passed. OKAY
====== JWindow1002 ====== public JWindow(Window window)
JWindow1002: Failed. Ctor does not throw any exception
STATUS:Failed. tests: 5; passed: 4; failed: 1; first test case failure: JWindow1002
Test failed
======================================================================