Withdrawn: 8285396: Do not fill in the stacktrace of an internal exception

Pavel Rappo prappo at openjdk.java.net
Mon Apr 25 20:45:58 UTC 2022

On Thu, 21 Apr 2022 19:28:08 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> Sometimes an exception is retrofitted into control flow to interrupt it in a way that it wasn't originally designed to be interrupted. Such an exception is an implementation detail. Once the exception is caught internally, it is discarded.
> An exception has a stacktrace. Filling in a stacktrace is not free. Filling in a stacktrace that won't be used seems like a waste.

This pull request has been closed without being integrated.


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

More information about the compiler-dev mailing list