> 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).

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

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/2604/files
  - new: https://git.openjdk.org/valhalla/pull/2604/files/d5e25db3..9ce60523

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2604&range=01
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2604&range=00-01

  Stats: 491 lines in 27 files changed: 351 ins; 41 del; 99 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

Reply via email to