mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 06:21:43 +00:00
Updated tests to reflect changes to delombok (delombok now kills super(), because attrib adds them even in places where that's wrong).
Also split up the SynchronizedName test into separate cases for each expected failure mode.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class SynchronizedNameStaticToInstanceRef {
|
||||
private Object read = new Object();
|
||||
private static Object READ = new Object();
|
||||
|
||||
@lombok.Synchronized("read") static void test3() {
|
||||
System.out.println("three");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user