-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta
-
x86
-
linux, solaris_2.6, windows_nt
-
Verified
Name: skR10017 Date: 01/31/2001
****************************************************************************
Failing Test:
=============
api/javax_swing/plaf/metal/MetalToolTipUI/index.html#getset
JCK :
=====
JCK1.3a
Test source location:
====================
/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/plaf/metal/MetalToolTipUI/getsetTests.java
Platforms:
=============
Redhat 6.2 Linux
Windows NT 4.0
Solaris 5.6 x86
JDK, switches Info:
===================
-client
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b49/jck13a/linux/redhat6.2_single_kde_client_linux-13/workDir/api/javax_swing/plaf/metal/MetalToolTipUI/index_getset.jtr
How to reproduce:
====================
To reproduce the bug, run script below
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.plaf.metal.MetalToolTipUI.getsetTests"
options=""
$JAVA_HOME/bin/java ${SWITCH} -version
$JAVA_HOME/bin/java ${SWITCH} -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${options}
RESULT="$?"
if [ $RESULT = 95 ]; then
echo Test passed
elif [ $RESULT = 97 ]; then
echo Test failed
else
echo Result is $RESULT
fi
Test output:
=============
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b49)
Java HotSpot(TM) Client VM (build 1.4beta-B49, mixed mode)
MetalToolTipUI2003: Failed. Method getAcceleratorString for button works wrong
MetalToolTipUI2004: Passed. OKAY
MetalToolTipUI2005: Failed. Method getAcceleratorString for JMenuItem works wrong
MetalToolTipUI0004: Passed. OKAY
====== MetalToolTipUI2003 ====== public String getAcceleratorString()
====== MetalToolTipUI2004 ====== public String getAcceleratorString()
====== MetalToolTipUI2005 ====== public String getAcceleratorString()
====== MetalToolTipUI0004 ====== public Dimension getPreferredSize(JComponent comp)
STATUS:Failed.tests: 4; passed: 2; failed: 2; first test case failure: MetalToolTipUI2003
Specific Machine Info:
=====================
Hostname: linux-13
Additional JCK related info:
============================
URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto
======================================================================
- duplicates
-
JDK-4417750 REGRESSION: Keyboard Accelerator display in a JMenuItem is missing the key modif
-
- Closed
-