RFR: JDK-8317920: JDWP-agent sends broken exception event with onthrow option [v2]
Johannes Bechberger
jbechberger at openjdk.org
Mon Oct 16 19:07:39 UTC 2023
On Mon, 16 Oct 2023 18:16:59 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> `ex.catchLocation())` and `ex.thread().frame(0).location()` are valid.
>
> The problem is that the properties of the `ex.location()` are broken:
>
> ``
> LocationImpl(VirtualMachine vm,
> ReferenceTypeImpl declaringType, // -> Ex
> long methodRef, // -> main method where it has been caught
> long codeIndex // -> index in main method
> ) {
>
>
> Resolving is therefore not possible. I'm on it.
Fixed it and added the check.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16145#discussion_r1361152808
More information about the serviceability-dev
mailing list