[jdk11u-dev] RFR: 8324861: Exceptions::wrap_dynamic_exception() doesn't have ResourceMark

Andrew John Hughes andrew at openjdk.org
Fri Dec 19 13:15:25 UTC 2025


On Wed, 12 Nov 2025 00:40:31 GMT, Min Choi <duke at openjdk.org> wrote:

> Hi!
> Backporting [JDK-8324861](https://bugs.openjdk.org/browse/JDK-8324861). Manually resolved but it is a simple addition. Tested GHA, tier1 and focused `test/jdk/java/lang/invoke/` tests. 
> 
> Low risk, simple change of logging code.
> Impact: Prevents memory leaks in diagnostic/debug scenarios

I wouldn't call this a clean backport - the context is significantly different from 17u - but I have verified that the changes are made in equivalent places in 11u.

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

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/3116#pullrequestreview-3598571198


More information about the jdk-updates-dev mailing list