JDK-8373721 : [lworld] value-objects-jls: fix JLS rules for this-qualified field accesses
  • Type: Bug
  • Component: specification
  • Sub-Component: language
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-12-15
  • Updated: 2025-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaUnresolved
Related Reports
Relates :  
Relates :  
Description
See JDK-8373719 for issues that should be addressed directly in JLS. The value-objects-jls spec change document may want to independently address these bugs.

The following JEP 401-specific changes should also apply to 15.8.3 and 15.8.4 in the spec change document:
- 'this'-qualified field references are valid in a value class's early construction context even if the field has an initializer
- 'this'-qualified field references are not allowed before a 'this()' constructor invocation