Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8132770

[TEST_BUG][macosx] Test javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java fails in MacOSX

XMLWordPrintable

    • b96
    • generic
    • os_x

        Test name(s):javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java

        JDK tested: 9b74
        OS tested: Windows, MacOSX
        Is it a regression? No
        Regression introduced in release/build:N/A
        Is it platform specific? Yes( Passes in Windows)
        The is failure reproduced: always
                    
        General description:

        ----------System.err:(32/2441)----------
        java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1440)
        at FocusTraversal.main(FocusTraversal.java:107)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:504)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:746)
        Caused by: java.lang.RuntimeException: Focus component is wrong after forward key javax.swing.JRadioButton[,90,6,40x23,alignmentX=0.0,alignmentY=0.5,border=com.apple.laf.AquaButtonBorder$Named@473028b,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=1,left=1,bottom=0,right=1],paintBorder=false,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=b]
        at FocusTraversal$3.run(FocusTraversal.java:113)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:712)
        at java.awt.EventQueue$3.run(EventQueue.java:706)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:729)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

        JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException

              aniyogi Avik Niyogi (Inactive)
              pchopra Pooja Chopra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: