On Wed, 1 Jul 2026 07:46:42 GMT, David Holmes <[email protected]> wrote:

>> Alan Bateman has updated the pull request with a new target base due to a 
>> merge or a rebase. The incremental webrev excludes the unrelated changes 
>> brought in by the merge/rebase. The pull request contains five additional 
>> commits since the last revision:
>> 
>>  - Improve test, quality docs update to be for when preview features are 
>> enabled
>>  - Merge branch 'lworld' into ForceEarlyReturn
>>  - Improve docs change
>>  - Test cleanup
>>  - Initial commit
>
> src/hotspot/share/prims/jvmti.xml line 3380:
> 
>> 3378:       <description>
>> 3379:         This function can be used to return from a method with a 
>> return type
>> 3380:         of <code>void</code>, a constructor or a class initializer.
> 
> I thought class initializers were implicitly disallowed because the caller 
> you are returning to must be a Java frame?

Are you thinking of PopFrame, which I don't think has ever allowed a pop of the 
top-frame when in a class initializer?

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2604#discussion_r3504475447

Reply via email to