On Sat, 4 Jul 2026 06:06:28 GMT, Alan Bateman <[email protected]> wrote:

>> src/jdk.jdi/share/classes/com/sun/jdi/ThreadReference.java line 460:
>> 
>>> 458:      * a {@linkplain Class#isValue() value class}. Forcing early return
>>> 459:      * on a thread with only one frame on the stack causes the thread 
>>> to
>>> 460:      * exit when resumed.
>> 
>> Do you want this update in the JDWP spec also?
>
>> Do you want this update in the JDWP spec also?
> 
> The JDWP ThreadReference.ForceEarlyReturn command has "When preview features 
> are enabled, the method can not be the constructor of a value class". It also 
> has a sentence for native methods and a sentence about the one frame case 
> (all pre-existing). But maybe you mean something else?

Ok. I forgot you already made that change in #2604: 
https://github.com/openjdk/valhalla/pull/2604/changes#diff-570959dfa27b575bc2b0913024fd3580716e9d151b2513bce7413d2fb933dc86

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2627#discussion_r3523513982

Reply via email to