refactored the tests to prepare running ecj as well as delombok.

This commit is contained in:
Reinier Zwitserloot committed 2010-07-21 23:52:28 +02:00
1 parent 1a9f8f168a
commit 59e585a0c6
63 files changed
+386 -186

No files matched your search

@@ -0,0 +1,28 @@
class SynchronizedPlain1 {
void test() {
synchronized (this.$lock) {
System.out.println("one");
}
}
void test2() {
synchronized (this.$lock) {
System.out.println("two");
}
}
@java.lang.SuppressWarnings("all")
private final java.lang.Object $lock = new java.lang.Object[0];
}
class SynchronizedPlain2 {
static void test() {
synchronized (SynchronizedPlain2.$LOCK) {
System.out.println("three");
}
}
static void test2() {
synchronized (SynchronizedPlain2.$LOCK) {
System.out.println("four");
}
}
@java.lang.SuppressWarnings("all")
private static final java.lang.Object $LOCK = new java.lang.Object[0];
}