RFR: 8263108: Class initialization deadlock in java.lang.constant [v2]
Chris Hegarty
chegar at openjdk.java.net
Mon Mar 15 17:19:08 UTC 2021
On Mon, 15 Mar 2021 08:53:43 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> If you and others think that we can ignore this case, then your proposed approach of using this lazy holder for initialization, IMO, is much cleaner and natural to read and I will go ahead and update this PR to use it.
For me, at least, the holder pattern is clearer. I'm happy with that approach. ( I don't have an objection to the alternative, just a mild preference for the holder )
-------------
PR: https://git.openjdk.java.net/jdk/pull/2893
More information about the core-libs-dev
mailing list