On Thu, 19 Nov 2026 19:08:26 GMT, Chris Plummer <[email protected]> wrote:

> Adapt to [JDK-8395356](https://bugs.openjdk.org/browse/JDK-8395356), which 
> changed JVMTI to no longer support returning a clone for "this" when in a 
> constructor, and instead throwing JVMTI_ERROR_OPAQUE_FRAME. This is mostly a 
> spec update, with one minor (and not strictly necessary) code change. I still 
> need to work on test cases.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

test/jdk/com/sun/jdi/valhalla/CtorDebuggingTest.java line 227:

> 225:                         } catch (OpaqueFrameException e) {
> 226:                             result = BreakpointResult.GOT_OFE;
> 227:                             throw new RuntimeException(e);

When OpaqueFrameException is thrown then it looks like it will skip the later 
code that resumes the debuggee, is that intended?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33977#discussion_r4692995187

Reply via email to