diff --git a/edexOsgi/com.raytheon.uf.common.serialization/src/com/raytheon/uf/common/serialization/SerializationCache.java b/edexOsgi/com.raytheon.uf.common.serialization/src/com/raytheon/uf/common/serialization/SerializationCache.java index 395d6d8ffc..09b4a6a59a 100644 --- a/edexOsgi/com.raytheon.uf.common.serialization/src/com/raytheon/uf/common/serialization/SerializationCache.java +++ b/edexOsgi/com.raytheon.uf.common.serialization/src/com/raytheon/uf/common/serialization/SerializationCache.java @@ -106,7 +106,7 @@ public class SerializationCache { // and will block other threads, meanwhile deeper inside create() // it needs to obtain a lock on the classloader which another thread // might already have - synchronized (SerializationCache.class.getClassLoader()) { + synchronized (SerializationCache.class) { bm = generator.create(); } generator.setBean(null);