On Mon, 16 Oct 2023 17:51:31 GMT, Johannes Bechberger <[email protected]>
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