RFR: JDK-8302355: Public API for Toolkit.canStartNestedEventLoop() [v3]

Marius Hanl mhanl at openjdk.org
Sat Feb 18 13:30:42 UTC 2023


> This PR adds the last missing method for dealing with nested event loops.
> As also written in the ticket, there is currently no (public) way to find out whether it is safe to start an event loop now or not.
> Classes like `Dialog` check via `Toolkit.getToolkit().canStartNestedEventLoop()` (sun api), if it safe to start a nested event loop before doing so.

Marius Hanl has updated the pull request incrementally with two additional commits since the last revision:

 - JDK-8302355: Missing brace
 - JDK-8302355: Improved javadoc

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1031/files
  - new: https://git.openjdk.org/jfx/pull/1031/files/36adae32..40eaf541

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1031&range=02
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1031&range=01-02

  Stats: 10 lines in 2 files changed: 2 ins; 2 del; 6 mod
  Patch: https://git.openjdk.org/jfx/pull/1031.diff
  Fetch: git fetch https://git.openjdk.org/jfx pull/1031/head:pull/1031

PR: https://git.openjdk.org/jfx/pull/1031


More information about the openjfx-dev mailing list