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

[TEST_BUG] Test javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java fails UnsupportedOperationException

XMLWordPrintable

    • b110
    • generic
    • linux

        Test name(s): javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java
        JDK tested:9b72, 8u60b23
        OS tested: Linux, Windows
        Is it a regression? No
        Regression introduced in release/build: N/A
                                       
        Is it platform specific? Yes
                              
        The is failure reproduced:Linux (Passes in Windows)
        ----------System.out:(5/241)----------
        INFO: The version of libXrender.so is detected as 0.97
        WARNING: Linux < 3.5 detected.
        The pipeline will be enabled, but graphical artifacts can occur with old graphic drivers.
        See the release notes for more details.
        XRender pipeline enabled
        ----------System.err:(34/2179)----------
        java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1319)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1294)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
        at RenderBadPictureCrash.main(RenderBadPictureCrash.java:41)
        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:497)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: java.lang.UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported
        at java.awt.Window.setBackground(Window.java:3850)
        at java.awt.Frame.setBackground(Frame.java:988)
        at RenderBadPictureCrash.lambda$main$0(RenderBadPictureCrash.java:44)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

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

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

              vagarwal Vikrant Agarwal
              pchopra Pooja Chopra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: