[SwingNode]: correct the code sample with respect to thread safety

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: javafx

      Code sample from the SwingNode javadoc doesn't declare the swingNode instance volatile which theoretically is thread unsafe. It's even better to move it to the start() method and declare final.

            Assignee:
            Anton Tarasov (Inactive)
            Reporter:
            Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: