On Tue, 30 Jun 2026 16:58:47 GMT, Alan Bateman <[email protected]> wrote:

> JVMTI ForceEarlyReturnVoid can be used to return early from a constructor or 
> class initializer. Early return from a constructor with strictly-initialized 
> instance fields is problematic, as is early return from a class initializer 
> when there are strictly-initialized static fields. The proposal for the 
> initial integration is to keep it simple and just disallow 
> ForceEarlyReturnVoid to return early from a value class constructor.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by sspitsyn (Committer).

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

PR Review: 
https://git.openjdk.org/valhalla/pull/2604#pullrequestreview-4603911066

Reply via email to