diff options
author | Andrey Turbanov <turbanoff@gmail.com> | 2022-04-14 10:33:48 +0300 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-04-15 11:01:44 +0700 |
commit | 57dd44a35a6a60aae5576cbd35c110ae82505dac (patch) | |
tree | 8162d44b8dc355ccb094f6243e1df6f506e39ae4 | |
parent | 2091b6d1ded90bfeb29f8d74bd17f05ec8fc983d (diff) | |
download | aspectj-57dd44a35a6a60aae5576cbd35c110ae82505dac.tar.gz aspectj-57dd44a35a6a60aae5576cbd35c110ae82505dac.zip |
Do not use String literal as synchronized lock
-rw-r--r-- | loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java index 43a73b1ef..ad700fcfd 100644 --- a/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java +++ b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java @@ -1131,7 +1131,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor { } } static Method defineClassMethod; - private static String lock = "lock"; + private static final Object lock = new Object(); // /* |