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

Test closed/java/awt/dnd/FileDialogDropTargetTest/FileDialogDropTargetTest.java fails on Solaris zones virtual hosts

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      sparc_64
    • OS:
      solaris_10

      Backports

        Description

        Testsuite name: Regression
        Test name: closed/java/awt/dnd/FileDialogDropTargetTest/FileDialogDropTargetTest.java
        JDk tested: JDK 8 b119, JDK 8 b91
        OS tested: Solaris 10 sparcv9 zone

        Test fails when run on a Solaris Zone virtual host and passes when run on real Solaris host.

        LOG:

        #section:main
        ----------messages:(3/230)----------
        command: main -Dsun.awt.disableGtkFileDialogs=true FileDialogDropTargetTest
        reason: User specified action: run main/othervm/timeout=300 -Dsun.awt.disableGtkFileDialogs=true FileDialogDropTargetTest
        elapsed time (seconds): 17.429
        ----------System.out:(0/0)----------
        ----------System.err:(24/1428)----------
        sun.awt.X11.XException: Cannot write XdndAware property
        at sun.awt.X11.XDnDDropTargetProtocol.registerDropTarget(XDnDDropTargetProtocol.java:97)
        at sun.awt.X11.XDropTargetRegistry.registerDropSite(XDropTargetRegistry.java:571)
        at sun.awt.X11.XWindowPeer.addDropTarget(XWindowPeer.java:1994)
        at sun.awt.X11.XComponentPeer.addDropTarget(XComponentPeer.java:1353)
        at java.awt.dnd.DropTarget.addNotify(DropTarget.java:515)
        at java.awt.Component.addNotify(Component.java:6935)
        at java.awt.Container.addNotify(Container.java:2762)
        at java.awt.Window.addNotify(Window.java:770)
        at java.awt.Dialog.addNotify(Dialog.java:760)
        at java.awt.FileDialog.addNotify(FileDialog.java:324)
        at java.awt.Window.pack(Window.java:807)
        at FileDialogDropTargetTest.main(FileDialogDropTargetTest.java:54)
        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:483)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:744)

        JavaTest Message: Test threw exception: sun.awt.X11.XException: Cannot write XdndAware property
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: sun.awt.X11.XException: Cannot write XdndAware property

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  azvegint Alexander Zvegintsev (Inactive)
                  Reporter:
                  kshefov Konstantin Shefov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: