Added tests for ecj, fixed a few minor bugs that came out of that.

This commit is contained in:
Reinier Zwitserloot
2010-07-22 01:33:24 +02:00
parent 59e585a0c6
commit 483e23d385
50 changed files with 1180 additions and 34 deletions
@@ -3,13 +3,13 @@ import java.io.IOException;
import java.util.Random;
class SneakyThrowsMultiple {
@lombok.SneakyThrows(IOException.class,Throwable.class)
@lombok.SneakyThrows({IOException.class,Throwable.class})
public void test() {
System.out.println("test1");
throw new IOException();
}
@lombok.SneakyThrows(AWTException.class,IOException.class)
@lombok.SneakyThrows({AWTException.class,IOException.class})
public void test2() {
System.out.println("test2");
if (new Random().nextBoolean()) {