Issue #1744 - Revert "Issue #1744 actually fix deadlock this time"

This reverts commit 348f5f0f41 [formerly 33da766f63] [formerly 35007e0460] [formerly 3dc69632c1 [formerly 8c84bc5fbb] [formerly 35007e0460 [formerly 56d6dd7fb0d16ef5fdb545e816fedddb28273024]]].


Former-commit-id: 870972fb90 [formerly 88e633934d] [formerly bba410a330 [formerly 2d7d40f23da46f1825aaeab81549ee37700670eb]]
Former-commit-id: bba410a330
Former-commit-id: 7d2286aea7
This commit is contained in:
Steve Harris 2013-03-04 13:02:32 -06:00
parent e15d933ffb
commit ee2452f5d3

View file

@ -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);