InitExecutor#doInit() may be executed repeatedly. we can do this to avoid repeat doInit. ```java private static AtomicBoolean initialized = new AtomicBoolean(false); ... public static void doInit() { if (!initialized.compareAndSet(false, true)) { return; } ... } ```
Activity
sczyh30 commentedon Jul 24, 2018
Thanks for reporting!
CodeIngL commentedon Jul 30, 2018
it only happen in
staic { }. is it a NotThreadSafe ? It is ThreadSafeMerge pull request #3 from alibaba/master
Merge pull request alibaba#3 from apache/develop