-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 27
-
Component/s: core-libs
-
master
In the JDK, currently only these 3 sites generate constructors that assign fields after super calls:
ClassSpecializer::generateConcreteSpeciesCodeFile
InnerClassLambdaMetafactory::generateClassInitializer
MethodHandleProxies::createTemplate
They should switch to early construction by default legal in bytecode. This allows their fields to easily migrate to strictly initialized once Strict Fields JEP is delivered.
ClassSpecializer::generateConcreteSpeciesCodeFile
InnerClassLambdaMetafactory::generateClassInitializer
MethodHandleProxies::createTemplate
They should switch to early construction by default legal in bytecode. This allows their fields to easily migrate to strictly initialized once Strict Fields JEP is delivered.
- links to
-
Commit(master)
openjdk/jdk/5e85d99c
-
Review(master)
openjdk/jdk/29926