On Tue, 10 Jun 2025 07:17:17 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

> The JVMTI Exception event callback spec refers to the `catch_klass` parameter 
> which does not exist anymore. Instead the Exception event callback spec 
> should refer to the `catch_method` and `catch_location` parameters.
> I treat this as a bug and doubt we need a CSR for this issue.
> 
> Testing: N/A

src/hotspot/share/prims/jvmti.xml line 12874:

> 12872:       be reset by one of those native methods.
> 12873:       Similarly, exceptions that are reported as uncaught 
> (<code>catch_method</code>
> 12874:       and <code>catch_location</code> set to 0) may in fact be caught 
> by native code.

catch_method is a jmethodID so null if uncaught.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25710#discussion_r2137595271

Reply via email to