Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8351733: Crash when creating too many nested event loops #1741

Closed
wants to merge 11 commits into from
Original file line number Diff line number Diff line change
@@ -288,6 +288,12 @@ public static boolean isSupported(ConditionalFeature feature) {
* It must not be called during animation or layout processing.
* </p>
*
* There is a finite limit on the depth of the nested event loop stack. An
* exception will be thrown if this limit is exceeded. Applications that
* want to avoid an exception can call
* {@link #canStartNestedEventLoop canStartNestedEventLoop} to check
* whether it is possible to start one.
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

* @param key the Object that identifies the nested event loop, which
* must not be null
*