-
Bug
-
Resolution: Fixed
-
P1
-
1.4.0, 1.4.1
-
mantis
-
x86, sparc
-
generic, windows_nt, windows_2000
-
Verified
Name: icR10030 Date: 06/11/2002
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.4.1-b14
JCK : jck1.4-b17
Platform[s] : Windows 2000 Prof
switch/Mode : -client -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_awt/interactive/MenuBarTests.html#MenuBarTests [MenuBarTest0001]
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b14/jck14/win32/win2000_client_linux-2/workDir/api-interactive/java_awt/interactive/MenuBarTests_MenuBarTests.jtr
Test source location:
=====================
/net/jdk/export/disk8/local.java//jck1.4/JCK-runtime-14/tests//api/java_awt/interactive/MenuBarTests.java
How to reproduce:
============
1. Run the script specified below.
You probably have to change JCK and JAVA_HOME variables.
2. Set font size to 48 and add menu.
3. Now move cursor over or click new menu.
4. Menu's text will be drawn outside menubar(over caption and etc.) - testcase fails.
--------Script START---------------------
#!/bin/sh
export JCK=d:/jck1.4/JCK-runtime-14/
export JAVA_HOME=d:/jdk1.4.1
export testURL="$JCK/tests/api/java_awt/interactive/MenuBarTests.html#MenuBarTests"
export OPTIONS="-client -Xmixed -Xfuture"
export testExecuteClass="javasoft.sqe.tests.api.java.awt.interactive.MenuBarTests"
export testExecuteArgs="-TestCaseID MenuBarTest0001"
$JAVA_HOME/bin/java $OPTIONS -cp $JCK/classes -Djava.security.policy=$JCK/lib/jck.policy -Djava.security.auth.policy=$JCK/lib/java.auth.policy -Djava.security.auth.login.config=$JCK/lib/java.login.config $testExecuteClass $testExecuteArgs
--------Script END---------------------
Test output:
============
MenuTest0001: Failed.MenuBar test does NOT work as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure:MenuBarTest0001
Specific Machine Info:
======================
Os: Windows 2000 Prof
Hostname: linux-2
======================================================================
- duplicates
-
JDK-4449977 big font size menu in the menu bar doesn't display whole menu string
-
- Closed
-
- relates to
-
JDK-4806116 java.awt.MenuComponent.setFont spec should be updated
-
- Resolved
-
-
JDK-4958729 REGRESSION: MenuBar behaves incorrectly sometimes
-
- Closed
-
-
JDK-6247533 REGRESSION: Top-level AWT Menu Items font size can't be changed
-
- Closed
-