This is an extension of the "statements before super()" work of JDK-8194743.
The new addition is: in constructor prologues, instead of completely disallowing access to instance fields, make an exception to allow assignments to instance fields that are not inherited from superclasses.
The new addition is: in constructor prologues, instead of completely disallowing access to instance fields, make an exception to allow assignments to instance fields that are not inherited from superclasses.
- csr for
-
JDK-8329079 Compiler Implementation for Flexible Constructor Bodies (Second Preview)
- Closed
- relates to
-
JDK-8194743 Compiler implementation for Statements before super()
- Resolved