-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b61
-
generic
-
generic
Name: iaR10016 Date: 03/04/2004
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b40, JDK1.5.0-b39, JDK1.4.2-b28
Testbase : Regression-test
Platform[s] : all
switch/Mode : -client
Falling test[s]: java/awt/Menu/MenuActionEventTest/MenuActionEventTest.html
Regression-test java/awt/Menu/MenuActionEventTest/MenuActionEventTest.html test fails using JDK1.5.0-b40
on all platforms.
Test Description reads:
...
Bug exists in win32 and solaris,
1. You will see a frame titled 'TestFrame'
2. Click on the Menu and then on Menuitem on the frame
3. Look for messages in the instructions dialog after clicking
4. If you find the following messages being printed:
_Menu: action event and _MenuItem: action event
click 'Pass', else click 'Fail'
...
After clicking on Menuitem the instructions dialog contains the following message:
...
Any messages for the tester will display here.
_MenuItem: action event
...
It does not contain "_Menu: action event", so the test fails.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/beta/b40/ws/j2se/test/java/awt/Menu/MenuActionEventTest/MenuActionEventTest.html
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b39/regtest/linux/mercury_gnome_linux-17/workDir/test-manual/java/awt/Menu/MenuActionEventTest/MenuActionEventTest.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
#Paths in Java Software:
TESTJAVA="/java/re/jdk/1.5.0/promoted/all/b40/binaries/linux-i586"
TESTBASE="/java/re/jdk/1.5.0/promoted/all/b40/ws/j2se/test"
#Alternative paths outside Java Software
#TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b40/binaries/linux-i586"
#TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b40/ws/j2se/test"
#Alternative paths for the NSK site:
#TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
#TESTBASE="/net/linux-15/export/home/java/regtest.tiger/test"
cp $TESTBASE/java/awt/Menu/MenuActionEventTest/* ./
$TESTJAVA/bin/javac MenuActionEventTest.java
$TESTJAVA/bin/appletviewer -Xnosecurity MenuActionEventTest.html
--- script end ---
Specific machine info:
======================
Hostname: linux-17
OS: Mercury
======================================================================
###@###.### 10/4/04 16:45 GMT
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b40, JDK1.5.0-b39, JDK1.4.2-b28
Testbase : Regression-test
Platform[s] : all
switch/Mode : -client
Falling test[s]: java/awt/Menu/MenuActionEventTest/MenuActionEventTest.html
Regression-test java/awt/Menu/MenuActionEventTest/MenuActionEventTest.html test fails using JDK1.5.0-b40
on all platforms.
Test Description reads:
...
Bug exists in win32 and solaris,
1. You will see a frame titled 'TestFrame'
2. Click on the Menu and then on Menuitem on the frame
3. Look for messages in the instructions dialog after clicking
4. If you find the following messages being printed:
_Menu: action event and _MenuItem: action event
click 'Pass', else click 'Fail'
...
After clicking on Menuitem the instructions dialog contains the following message:
...
Any messages for the tester will display here.
_MenuItem: action event
...
It does not contain "_Menu: action event", so the test fails.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/beta/b40/ws/j2se/test/java/awt/Menu/MenuActionEventTest/MenuActionEventTest.html
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b39/regtest/linux/mercury_gnome_linux-17/workDir/test-manual/java/awt/Menu/MenuActionEventTest/MenuActionEventTest.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
#Paths in Java Software:
TESTJAVA="/java/re/jdk/1.5.0/promoted/all/b40/binaries/linux-i586"
TESTBASE="/java/re/jdk/1.5.0/promoted/all/b40/ws/j2se/test"
#Alternative paths outside Java Software
#TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b40/binaries/linux-i586"
#TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b40/ws/j2se/test"
#Alternative paths for the NSK site:
#TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
#TESTBASE="/net/linux-15/export/home/java/regtest.tiger/test"
cp $TESTBASE/java/awt/Menu/MenuActionEventTest/* ./
$TESTJAVA/bin/javac MenuActionEventTest.java
$TESTJAVA/bin/appletviewer -Xnosecurity MenuActionEventTest.html
--- script end ---
Specific machine info:
======================
Hostname: linux-17
OS: Mercury
======================================================================
###@###.### 10/4/04 16:45 GMT
- relates to
-
JDK-4094620 MenuItem.enableEvents does not work
-
- Closed
-