RFR: JDK-8317920: JDWP-agent sends broken exception event with onthrow option [v2]
Johannes Bechberger
jbechberger at openjdk.org
Mon Oct 16 18:19:48 UTC 2023
On Mon, 16 Oct 2023 17:51:31 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> Ok. It should work so there is a bug somewhere. I'll look into it. In the meantime can you verify that ex.catchLocation().method() is valid?
>
> `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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16145#discussion_r1361102934
More information about the serviceability-dev
mailing list