Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value types: Strict field setting enforcement #20472

Open
theresa-m opened this issue Oct 31, 2024 · 1 comment
Open

Value types: Strict field setting enforcement #20472

theresa-m opened this issue Oct 31, 2024 · 1 comment
Labels
comp:vm project:valhalla Used to track Project Valhalla related work

Comments

@theresa-m
Copy link
Contributor

theresa-m commented Oct 31, 2024

The latest spec draft for JEP 401 https://cr.openjdk.org/~dlsmith/jep401/jep401-20241030/specs/value-objects-jvms.html adds addition strict field support including:

  • allowing for non-final ACC_STRICT instance fields
  • added rules to ensure strict fields are set before a super() call
  • enhanced StackMapTable to express unset field flags
    fyi @hangshao0
@theresa-m theresa-m added comp:vm project:valhalla Used to track Project Valhalla related work labels Oct 31, 2024
Copy link

Issue Number: 20472
Status: Open
Recommended Components: comp:vm, comp:jclextensions, comp:gc
Recommended Assignees: hangshao0, theresa-m, gacholio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm project:valhalla Used to track Project Valhalla related work
Projects
None yet
Development

No branches or pull requests

1 participant