8308814: extend SetLocalXXX minimal support for virtual threads

Reviewed-by: cjplummer
This commit is contained in:
Serguei Spitsyn 2023-05-27 02:43:50 +00:00
parent a92363461d
commit bd113ee048

View File

@ -5826,9 +5826,8 @@ class C2 extends C1 implements I2 {
The <code>GetLocalXXX</code> functions may be used to retrieve the value of
a local variable contained in the frame of a virtual thread.
The <code>SetLocalXXX</code> functions may be used to set the value of a
local variable in the topmost frame of a virtual thread suspended at a
breakpoint or single step event. An implementation may support setting locals
in other cases.
local variable in the topmost frame of a virtual thread suspended at an event.
An implementation may support setting locals in other cases.
</intro>
<function id="GetLocalObject" num="21">
@ -6205,7 +6204,7 @@ class C2 extends C1 implements I2 {
Not a visible frame
</error>
<error id="JVMTI_ERROR_OPAQUE_FRAME">
The thread is a virtual thread and the implementation does not support
The thread is a suspended virtual thread and the implementation does not support
setting the value of locals in the frame of the given depth.
See <internallink id="local">Local Variables</internallink>.
</error>
@ -6269,7 +6268,7 @@ class C2 extends C1 implements I2 {
Not a visible frame
</error>
<error id="JVMTI_ERROR_OPAQUE_FRAME">
The thread is a virtual thread and the implementation does not support
The thread is a suspended virtual thread and the implementation does not support
setting the value of locals in the frame of the given depth.
See <internallink id="local">Local Variables</internallink>.
</error>
@ -6328,7 +6327,7 @@ class C2 extends C1 implements I2 {
Not a visible frame
</error>
<error id="JVMTI_ERROR_OPAQUE_FRAME">
The thread is a virtual thread and the implementation does not support
The thread is a suspended virtual thread and the implementation does not support
setting the value of locals in the frame of the given depth.
See <internallink id="local">Local Variables</internallink>.
</error>
@ -6387,7 +6386,7 @@ class C2 extends C1 implements I2 {
Not a visible frame
</error>
<error id="JVMTI_ERROR_OPAQUE_FRAME">
The thread is a virtual thread and the implementation does not support
The thread is a suspended virtual thread and the implementation does not support
setting the value of locals in the frame of the given depth.
See <internallink id="local">Local Variables</internallink>.
</error>
@ -6446,7 +6445,7 @@ class C2 extends C1 implements I2 {
Not a visible frame
</error>
<error id="JVMTI_ERROR_OPAQUE_FRAME">
The thread is a virtual thread and the implementation does not support
The thread is a suspended virtual thread and the implementation does not support
setting the value of locals in the frame of the given depth.
See <internallink id="local">Local Variables</internallink>.
</error>