RFR: 8302491: NoClassDefFoundError omits the original cause of an error [v2]

Ilarion Nakonechnyy inakonechnyy at openjdk.org
Mon Feb 20 23:35:26 UTC 2023


On Mon, 20 Feb 2023 22:17:34 GMT, David Holmes <dholmes at openjdk.org> wrote:

>  Also I think your new method has to handle this case too
> / If new_exception returns a different exception while creating the exception, return null.

I'm afraid that in this case ( if I return null ), the original cause again will be missed from the stacktrace.

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

PR: https://git.openjdk.org/jdk/pull/12566


More information about the hotspot-dev mailing list