Browse Source

Do not use String literal as synchronized lock

tags/V1_9_19
Andrey Turbanov 9 months ago
parent
commit
57dd44a35a

+ 1
- 1
loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java View File

@@ -1131,7 +1131,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
}
}
static Method defineClassMethod;
private static String lock = "lock";
private static final Object lock = new Object();


// /*

Loading…
Cancel
Save