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

@@ -10,6 +10,16 @@ class SneakyThrowsPlain {
throw lombok.Lombok.sneakyThrow($ex);
}
}
@lombok.SneakyThrows SneakyThrowsPlain(int x) {
this();
try
{
System.out.println("constructor2");
}
catch (final java.lang.Throwable $ex) {
throw lombok.Lombok.sneakyThrow($ex);
}
}
public @lombok.SneakyThrows void test() {
try
{