mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 00:14:50 +00:00
Added tests for ecj, fixed a few minor bugs that came out of that.
This commit is contained in:
1 parent
59e585a0c6
commit
483e23d385
50 files changed
+1180
-34
No files matched your search
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user