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

Debug print in InvokerImpl.runOnRenderThread() reports false positives

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • None
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: