Added tests for this() call in SneakyThrows (issue 381)

This commit is contained in:
Roel Spilker committed 2012-06-25 22:37:05 +02:00
1 parent 960761a298
commit 8e24e2e123
4 files changed
+24 -1

No files matched your search

@@ -5,6 +5,11 @@ class SneakyThrowsPlain {
System.out.println("constructor");
}
@lombok.SneakyThrows SneakyThrowsPlain(int x) {
this();
System.out.println("constructor2");
}
@lombok.SneakyThrows public void test() {
System.out.println("test1");
}