mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
fixed tests since Robbert Jan's fix for issue 377.
This commit is contained in:
1 parent
bd2d76bb54
commit
b1877a77be
50 files changed
+346
-328
No files matched your search
@@ -0,0 +1,15 @@
|
||||
class SynchronizedNameStaticToInstanceRef {
|
||||
private Object read = new Object();
|
||||
private static Object READ = new Object();
|
||||
<clinit>() {
|
||||
}
|
||||
SynchronizedNameStaticToInstanceRef() {
|
||||
super();
|
||||
}
|
||||
static @lombok.Synchronized("read") void test3() {
|
||||
synchronized (SynchronizedNameStaticToInstanceRef.read)
|
||||
{
|
||||
System.out.println("three");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user