-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
StdErrAppender should detect exception circular references #11792
Labels
Bug
For general bugs on Jetty side
Comments
lorban
added a commit
that referenced
this issue
May 15, 2024
Signed-off-by: Ludovic Orban <[email protected]>
lorban
added a commit
that referenced
this issue
May 15, 2024
Signed-off-by: Ludovic Orban <[email protected]>
lorban
added a commit
that referenced
this issue
May 15, 2024
Signed-off-by: Ludovic Orban <[email protected]>
lorban
added a commit
that referenced
this issue
May 15, 2024
Signed-off-by: Ludovic Orban <[email protected]>
lorban
added a commit
that referenced
this issue
May 17, 2024
…f one gets logged (#11793) #11792 detect loops in throwables to avoid StackOverflowError Signed-off-by: Ludovic Orban <[email protected]>
github-project-automation
bot
moved this from 🏗 In progress
to ✅ Done
in Jetty 12.0.10 (FROZEN)
May 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version(s)
12+
Description
StdErrAppender.appendCause()
should detect when exceptions have circular references, to avoidStackOverflowError
.See for example how
Throwable.lockedPrintStackTrace()
does it.Furthermore,
AsyncContextEvent.addThrowable()
should useExceptionUtil.addSuppressedIfNotAssociated()
to avoid possible circular references.The text was updated successfully, but these errors were encountered: