mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 20:25:27 +00:00
e642150998
Also split up the SynchronizedName test into separate cases for each expected failure mode.
9 lines
216 B
Java
9 lines
216 B
Java
class SynchronizedNameStaticToInstanceRef {
|
|
private Object read = new Object();
|
|
private static Object READ = new Object();
|
|
|
|
@lombok.Synchronized("read") static void test3() {
|
|
System.out.println("three");
|
|
}
|
|
}
|