-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: specification
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
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
- relates to
-
JDK-8368719 6.5.6.1: Shouldn't allow field references before 'this()'
-
- Open
-
-
JDK-8373719 Clarify rules for this/super field accesses in early construction
-
- Open
-