Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
Description
private static void start(SessionState startSs, boolean isAsync, LogHelper console) { ... synchronized(SessionState.class) { if (!startSs.isStarted.compareAndSet(false, true)) { return; } }
startSs.isStarted is an AtomicBoolean, which makes it hard to know why this code is locked with a static lock.