-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
x86
-
windows_xp
-
Verified
Name: aaR10208 Date: 04/09/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b04
Testbase : RegTest-test
Platform[s] : Windows XP Pro
switch/Mode : -server
Falling test[s]: javax/swing/JPopupMenu/4791569/bug4791569.java
Regression test javax/swing/JPopupMenu/4791569/bug4791569.java test fails on WinXP using JDK1.5.0-b04.
Please note, the sample code from the bug#4791569 (it's a bug the regression test is based on) works fine.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/JPopupMenu/4791569/bug4791569.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b04/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/test/javax/swing/JPopupMenu/4791569/bug4791569.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
TESTBASE=k:/regtest.tiger/test
JDK=c:/j2sdk1.5.0
cp $TESTBASE/javax/swing/JPopupMenu/4791569/bug4791569.java .
cp $TESTBASE/javax/swing/regtesthelpers/JRobot.java .
cp $TESTBASE/javax/swing/regtesthelpers/Util.java .
$JDK/bin/javac *.java
$JDK/bin/java -showversion bug4791569
--- script end ---
Script output:
==============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b04)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b04, mixed mode)
Exception in thread "main" java.lang.RuntimeException: Accelerator didn't work
at bug4791569.test(bug4791569.java:37)
at bug4791569.main(bug4791569.java:47)
Test output (jtr part):
=======================
----------System.err:(14/775)----------
java.lang.RuntimeException: Accelerator didn't work
at bug4791569.test(bug4791569.java:37)
at bug4791569.main(bug4791569.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:534)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Accelerator didn't work
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Accelerator didn't work
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Accelerator didn't work
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Accelerator didn't work
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
======================================================================
- relates to
-
JDK-4791569 Accelerator keys don't work when JPopupMenu is outside its parent
- Resolved