Can't dispatch SequencedEvent under single threaded AWT/FX mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 8u45
    • Component/s: javafx
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      In SequencedEvent#dispatch, on line 106, CCE occurs if running in single threaded AWT/FX mode, because JavaFX Application Thread is instance of Thread.

      Exception in thread "JavaFX Application Thread" java.lang.ClassCastException: ja
      va.lang.Thread cannot be cast to java.awt.EventDispatchThread
              at java.awt.SequencedEvent.dispatch(SequencedEvent.java:106)
              at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
              at java.awt.EventQueue.access$400(EventQueue.java:97)
              at java.awt.EventQueue$3$1.run(EventQueue.java:702)


      REPRODUCIBILITY :
      This bug can be reproduced always.

            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: