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

plenty of clipboard/dnd tests fail and break X11

    Details

    • Subcomponent:
    • Resolved In Build:
      b32
    • OS:
      generic

      Backports

        Description

        In the nightly build of jdk9/client -- I guess it is post-b27 -- many Clipboard/DnD tests fail with error like this one (see below). Moreover, X11 after the test is in the strange state. Gnome 2 session dies pretty soon, Xfce on my Ubuntu 12.04 doesn't work until I switch to F1 console and back again: it reacts on keystrokes pretty funny and repaint things unexpectedly. Beware!

        java.lang.InternalError: Default flavor mapping not found
        at java.awt.datatransfer.SystemFlavorMap.initSystemFlavorMap(SystemFlavorMap.java:205)
        at java.awt.datatransfer.SystemFlavorMap.getFlavorToNative(SystemFlavorMap.java:128)
        at java.awt.datatransfer.SystemFlavorMap.flavorToNativeLookup(SystemFlavorMap.java:432)
        at java.awt.datatransfer.SystemFlavorMap.getNativesForFlavor(SystemFlavorMap.java:554)
        at sun.awt.datatransfer.DataTransferer.getFormatsForFlavors(DataTransferer.java:357)
        at sun.awt.datatransfer.DataTransferer.getFormatsForTransferable(DataTransferer.java:311)
        at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:131)
        at java.awt.dnd.DragSource.startDrag(DragSource.java:321)
        at java.awt.dnd.DragSource.startDrag(DragSource.java:426)
        at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:263)
        at DragSourceButton.dragGestureRecognized(CustomDragCursorTest.java:151)
        at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:361)
        at sun.awt.X11.XMouseDragGestureRecognizer.mouseDragged(XMouseDragGestureRecognizer.java:219)
        at java.awt.Component.processMouseMotionEvent(Component.java:6635)
        at java.awt.Component.processEvent(Component.java:6356)
        at java.awt.Button.processEvent(Button.java:382)
        at java.awt.Component.dispatchEventImpl(Component.java:4972)
        at java.awt.Component.dispatchEvent(Component.java:4804)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:754)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:705)
        at java.awt.EventQueue$3.run(EventQueue.java:699)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
        at java.awt.EventQueue$4.run(EventQueue.java:727)
        at java.awt.EventQueue$4.run(EventQueue.java:725)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:724)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:115)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:104)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:100)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:81)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  azvegint Alexander Zvegintsev (Inactive)
                  Reporter:
                  yan Yuri Nesterenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  16 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: