-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2
-
b41
-
x86
-
solaris_8
-
Verified
Name: asR10013 Date: 01/16/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b12
(not reproducible with JDK1.4.1)
Testbase : RegTest-test
Platform[s] : Solaris 8 (x86), Solaris 9 (x86)
(passes on Solaris sparc, Windows XP, RedHat Linux 7.3)
Falling test[s]: java/awt/event/InputEvent/MouseModsTest/MouseModsTest.html
RegTest-test java/awt/event/InputEvent/MouseModsTest/MouseModsTest.html test fails
with JDK1.4.2 on Solaris intel (tested with b12, b11, b10).
I am not able to reproduce the failure on Solaris sparc, linux and Windows systems.
Probably, this is the same problem as described in bug 4454256.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/event/InputEvent/MouseModsTest/MouseModsTest.html
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/sol_x86_linux-10/workDir/test/java/awt/event/InputEvent/MouseModsTest/MouseModsTest.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
JT_HOME="/net/linux-15/export/home/java/jct"
JAVA_HOME="/net/linux-15/export/home/java/jdk1.4.2/x86"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-client"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
export JAVA_HOME
export JT_HOME
export TESTWITH
export CLASSPATH
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
#rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest, PATH=/bin:/usr/bin,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-10" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/java/awt/event/InputEvent/MouseModsTest/MouseModsTest.html"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(10/530)----------
Right Mouse modifiers on MOUSE_PRESSED, MOUSE_RELEASED
Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED are set
Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED are set
Right Mouse modifiers on MOUSE_PRESSED, MOUSE_RELEASED
java.awt.event.MouseEvent[MOUSE_EXITED,(-55,50),button=0,modifiers=Shift,extModifiers=Shift,clickCount=0] on canvas0
Shift is Down
Cur mods = 0 Wanted = 4
java.awt.event.MouseEvent[MOUSE_ENTERED,(50,50),button=0,modifiers=Shift,extModifiers=Shift,clickCount=0] on canvas1
Shift is Down
Cur mods = 0 Wanted = 4
----------System.err:(24/1826)----------
java.lang.RuntimeException: Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED aren't set
at MouseModsTest$TestCanvas.processMouseEvent(MouseModsTest.java:188)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:451)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED aren't set
java.lang.RuntimeException: Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED aren't set
at MouseModsTest$TestCanvas.processMouseEvent(MouseModsTest.java:188)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:451)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED aren't set
result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED aren't set
test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Mouse modifiers on MOUSE_ENTERED, MOUSE_EXITED aren't set
Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86)
Hostname: linux-6
OS: Solaris 9 (x86)
======================================================================
- relates to
-
JDK-4454256 Reg-test MouseModsTest.html Failing
- Closed