[Records] Why components are not readOnly
bruno.borges at gmail.com
Tue Jan 21 09:48:26 UTC 2020
A field that is static and final is by definition, readOnly . See this
sample  for a comparison between Java 1.8 and 11 versus 13 and 14.
Is there a reason why Record components aren't protected from basic
reflection access and modification as static final constants are? And what
could be the possible downsides of turning Record components into readOnly?
More information about the amber-dev