-
Bug
-
Resolution: Fixed
-
P3
-
8.1.0
The method createSingleton() in PresetRepositoryFactory.java relies on double-checked locking, an incorrect idiom that does not achieve the intended effect.
private static PresetRepository singleton; public static PresetRepository createSingleton() { if (singleton == null) { synchronized (PresetRepositoryFactory.class) { if (singleton == null) { singleton = create(); } } } return singleton;