[fixes #678] @Synchronize an instance method on static variable no longer emits a warning.

This commit is contained in:
Reinier Zwitserloot committed 2020-02-14 01:21:24 +01:00
1 parent 15b09ee274
commit 89f98da78d
16 files changed
+156 -44

No files matched your search

@@ -7,9 +7,6 @@ class SynchronizedNameStaticToInstanceRef {
super();
}
static @lombok.Synchronized("read") void test3() {
synchronized (SynchronizedNameStaticToInstanceRef.read)
{
System.out.println("three");
}
System.out.println("three");
}
}