Duplicate :
|
|
Relates :
|
|
Relates :
|
Java Version: build 1.6.0-rc-b87 (06/08) Platforms: linux, solaris, windowsXPpro Problems: AWT SWAT Focus and some Events tests are FAIL in b87, but PASS in b86: AWT/TraversalOperationsTest/TraversalOperationsTest.html Swing/TraversalOperationTest/TraversalOperationsTest.html Swing/FocusEventTest/FocusEventTest.html AWT/FocusEventTest/FocusEventTest.html AWT/MouseButtonExTest AWT/KeyMaskTest The exceptions are following: Note: /net/cady/export4/awt/awt/src/AWT_Focus/Automated/AWT/FocusEventTest/FocusEventGUI.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at javasoft.awtsqe.RobotAppletTest.init(Unknown Source) at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:57) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:998) ... 3 more Caused by: java.lang.ExceptionInInitializerError at javasoft.awtsqe.RobotAppletTest.mkMessagePanel(Unknown Source) at javasoft.awtsqe.RobotAppletTest.initOverallGUI(Unknown Source) at javasoft.awtsqe.RobotAppletTest.access$000(Unknown Source) at javasoft.awtsqe.RobotAppletTest$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:598) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Caused by: java.lang.ClassCastException: java.awt.AWTKeyStroke cannot be cast to java.lang.Comparable at java.util.TreeMap.compare(TreeMap.java:1167) at java.util.TreeMap.put(TreeMap.java:513) at java.util.TreeSet.add(TreeSet.java:238) at java.awt.KeyboardFocusManager.initFocusTraversalKeysSet(KeyboardFocusManager.java:375) at java.awt.TextArea.<clinit>(TextArea.java:127) ... 12 more STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException How to reproduce: on solaris or linux 1. cd /net/cady.sfbay/export4/awt/awt/src/AWT_Events/Automated/AWT/KeyMaskTest 2. set JAVA_HOME to b87 3. sh script.ksh . $JAVA_HOME/bin/javac $JAVA_HOME/bin/java you will see the exceptions. Or use the attached files.
|