On Thu, 3 Jun 2021 21:41:02 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> For the static initializer that needs updating:  I could move the code out 
>> of the initializer up to the declaration, or I could create a dummy 
>> declaration and then assign to INSTANCE.
>
> The latter is probably better so you don't have to move the code; @wangweij 
> used this technique quite a bit for JEP 411 refactoring, see 
> https://github.com/openjdk/jdk/commit/508cec7535cd0ad015d566389bc9e5f53ce4103b

@seanjmullan , that's what I ended up doing.  I'll have a new revision out as 
soon as the mach5 finishes.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4150

Reply via email to