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

[Jigsaw] java/awt/xembed/server/TestXEmbedServerJava.java fails with ClassCastException

XMLWordPrintable

      java/awt/xembed/server/TestXEmbedServerJava.java fails with the following exception trace:

      java.lang.ClassCastException: sun.lwawt.LWCanvasPeer (in module: java.desktop) cannot be cast to sun.awt.WindowIDProvider (in module: java.desktop)
      at TestXEmbedServer.addClient(TestXEmbedServer.java:188)
      at TestXEmbedServer$5.actionPerformed(TestXEmbedServer.java:103)
      at java.awt.Button.processActionEvent(java.desktop@9.0/Button.java:410)
      at java.awt.Button.processEvent(java.desktop@9.0/Button.java:378)
      at java.awt.Component.dispatchEventImpl(java.desktop@9.0/Component.java:4991)
      at java.awt.Component.dispatchEvent(java.desktop@9.0/Component.java:4823)
      at java.awt.EventQueue.dispatchEventImpl(java.desktop@9.0/EventQueue.java:761)
      at java.awt.EventQueue.access$500(java.desktop@9.0/EventQueue.java:97)
      at java.awt.EventQueue$3.run(java.desktop@9.0/EventQueue.java:712)
      at java.awt.EventQueue$3.run(java.desktop@9.0/EventQueue.java:706)
      at java.security.AccessController.doPrivileged(java.base@9.0/Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9.0/ProtectionDomain.java:77)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9.0/ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(java.desktop@9.0/EventQueue.java:734)
      at java.awt.EventQueue$4.run(java.desktop@9.0/EventQueue.java:732)
      at java.security.AccessController.doPrivileged(java.base@9.0/Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9.0/ProtectionDomain.java:77)
      at java.awt.EventQueue.dispatchEvent(java.desktop@9.0/EventQueue.java:731)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(java.desktop@9.0/EventDispatchThread.java:192)
      at java.awt.EventDispatchThread.pumpEventsForFilter(java.desktop@9.0/EventDispatchThread.java:117)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(java.desktop@9.0/EventDispatchThread.java:106)
      at java.awt.EventDispatchThread.pumpEvents(java.desktop@9.0/EventDispatchThread.java:102)
      at java.awt.EventDispatchThread.pumpEvents(java.desktop@9.0/EventDispatchThread.java:94)
      at java.awt.EventDispatchThread.run(java.desktop@9.0/EventDispatchThread.java:83)
      STATUS:Failed.`main' threw exception: java.lang.ClassCastException: sun.lwawt.LWCanvasPeer (in module: java.desktop) cannot be cast to sun.awt.WindowIDProvider (in module: java.desktop)

            Unassigned Unassigned
            ralexander Renjith Alexander (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: