#Test Results (version 2) #Thu May 14 19:40:24 CEST 2009 #checksum:58b26e9920368029 #-----testdescription----- $file=/home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html $root=/home/mark/src/icedtea6/openjdk/jdk/test author=area=awt.focus keywords=bug4799136 library=../../regtesthelpers run=USER_SPECIFIED build Util\nUSER_SPECIFIED applet TestDialogTypeAhead.html\n source=TestDialogTypeAhead.html title=Tests that type-ahead for dialog works and doesn't block program #-----environment----- #-----testresult----- description=file:/home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html end=Thu May 14 19:40:24 CEST 2009 environment=regtest execStatus=Failed. Execution failed: Applet thread threw exception: java.lang.Error: Test error. javatestOS=Linux 2.6.29.3-140.fc11.x86_64 (amd64) javatestVersion=unset script=com.sun.javatest.regtest.RegressionScript sections=script_messages build compile build applet start=Thu May 14 19:40:20 CEST 2009 test=java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html work=/home/mark/src/icedtea6/test/jdk/JTwork/java/awt/KeyboardFocusmanager/TypeAhead #section:script_messages ----------messages:(4/237)---------- JDK under test: (/home/mark/src/icedtea6/openjdk/build/linux-amd64/j2sdk-image) java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.5pre-r50c172a7a7f4) (build 1.6.0_0-b16) OpenJDK 64-Bit Server VM (build 14.0-b15, mixed mode) #section:build ----------messages:(3/97)---------- command: build Util reason: User specified action: run build Util elapsed time (seconds): 2.008 result: Passed. Build successful #section:compile ----------messages:(3/209)---------- command: compile /home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/../../regtesthelpers/Util.java reason: .class file out of date or does not exist elapsed time (seconds): 2.008 ----------System.out:(0/0)---------- ----------System.err:(17/1577)---------- /home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/../../regtesthelpers/Util.java:65: warning: java.awt.peer.FramePeer is Sun proprietary API and may be removed in a future release import java.awt.peer.FramePeer; ^ /home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/../../regtesthelpers/Util.java:96: warning: java.awt.peer.FramePeer is Sun proprietary API and may be removed in a future release FramePeer frame_peer = (FramePeer) embedder.getPeer(); ^ /home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/../../regtesthelpers/Util.java:96: warning: java.awt.peer.FramePeer is Sun proprietary API and may be removed in a future release FramePeer frame_peer = (FramePeer) embedder.getPeer(); ^ /home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/../../regtesthelpers/Util.java:176: warning: sun.awt.SunToolkit is Sun proprietary API and may be removed in a future release ((sun.awt.SunToolkit)Toolkit.getDefaultToolkit()).realSync(); ^ Note: /home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/../../regtesthelpers/Util.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/mark/src/icedtea6/openjdk/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/../../regtesthelpers/Util.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 warnings result: Passed. Compilation successful #section:build ----------messages:(3/102)---------- command: build TestDialogTypeAhead reason: Named class compiled on demand elapsed time (seconds): 0.0 result: Passed. All files up to date #section:applet ----------messages:(3/139)---------- command: applet TestDialogTypeAhead.html reason: User specified action: run applet TestDialogTypeAhead.html elapsed time (seconds): 1.239 ----------System.out:(0/0)---------- ----------System.err:(41/2509)---------- b is shown b is focused java.awt.event.KeyEvent[KEY_PRESSED,keyCode=32,keyText=Space,keyChar=' ',keyLocation=KEY_LOCATION_STANDARD] on button0 java.awt.event.KeyEvent[KEY_TYPED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar=' ',keyLocation=KEY_LOCATION_UNKNOWN] on button0 java.awt.event.KeyEvent[KEY_RELEASED,keyCode=32,keyText=Space,keyChar=' ',keyLocation=KEY_LOCATION_STANDARD] on button0 B pressed java.lang.Error: Test error. at TestDialogTypeAhead$TestDialog$1.invoke(TestDialogTypeAhead.java:327) at $Proxy0.blockWindows(Unknown Source) at java.awt.Dialog.blockWindows(Dialog.java:1585) at java.awt.Dialog.modalShow(Dialog.java:1462) at java.awt.Dialog.conditionalShow(Dialog.java:928) at java.awt.Dialog.show(Dialog.java:1061) at java.awt.Component.show(Component.java:1464) at java.awt.Component.setVisible(Component.java:1416) at java.awt.Window.setVisible(Window.java:842) at java.awt.Dialog.setVisible(Dialog.java:1011) at TestDialogTypeAhead$4.actionPerformed(TestDialogTypeAhead.java:138) at java.awt.Button.processActionEvent(Button.java:409) at java.awt.Button.processEvent(Button.java:377) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at TestDialogTypeAhead$TestDialog$1.invoke(TestDialogTypeAhead.java:323) ... 21 more Caused by: java.lang.ClassCastException: $Proxy0 cannot be cast to sun.awt.X11.XDialogPeer at sun.awt.X11.XWindowPeer.setModalBlocked(XWindowPeer.java:1442) at sun.awt.X11.XDialogPeer.blockWindows(XDialogPeer.java:130) ... 26 more STATUS:Failed.Applet thread threw exception: java.lang.Error: Test error. result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: Test error. test result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: Test error.