Debug print in InvokerImpl.runOnRenderThread() reports false positives

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: javafx
    • None
    • Environment:

      MacOS 10.6

    • web

      InvokerImpl.runOnRenderThread() checks the name of the thread it is called on:
          if (!tname.equals("JavaFX Application Thread") && !tname.equals("QuantumRenderer-0")) {
              System.err.println("runOnRT called from " + tname);
              Thread.dumpStack();
          }

      On Mac, the FX thread is sometimes called "AWT-AppKit". That happens if AWT is initialized before FX. So the check fails and an error message is printed.

            Assignee:
            Peter Zhelezniakov
            Reporter:
            Peter Zhelezniakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: