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). ------------- Commit messages: - Improve docs change - Test cleanup - Initial commit Changes: https://git.openjdk.org/valhalla/pull/2604/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2604&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8387540 Stats: 229 lines in 4 files changed: 226 ins; 0 del; 3 mod Patch: https://git.openjdk.org/valhalla/pull/2604.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2604/head:pull/2604 PR: https://git.openjdk.org/valhalla/pull/2604
