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

Min Choi duke at openjdk.org
Tue Nov 11 22:15:25 UTC 2025


Backporting [JDK-8324861](https://bugs.openjdk.org/browse/JDK-8324861). Had to resolve manually because https://github.com/openjdk/jdk/commit/6bd2794175bac3c221d9b514bea01b0faa7af4a6 doesn't exist for 17. 

But it is a very simple fix. 
Low risk, simple change of logging code.

Impact: Prevents memory leaks in diagnostic/debug scenarios

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

Commit messages:
 - Backport 7d1a48807a482cd19156298ce21d9492f0d912da

Changes: https://git.openjdk.org/jdk17u-dev/pull/4170/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4170&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324861
  Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/4170.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4170/head:pull/4170

PR: https://git.openjdk.org/jdk17u-dev/pull/4170


More information about the jdk-updates-dev mailing list