An exception occurs when the main thread disposes of the frame while the other 
thread still renders to it. The fix joins the main thread to other threads, so 
we will dispose of the frame at the end only.

-------------

Commit messages:
 - Initial fix

Changes: https://git.openjdk.java.net/jdk/pull/3957/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3957&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8047218
  Stats: 20 lines in 2 files changed: 0 ins; 9 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3957.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3957/head:pull/3957

PR: https://git.openjdk.java.net/jdk/pull/3957

Reply via email to