mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 00:16:47 +00:00
[fixes #1443] Handle field initializer in diet mode
This commit is contained in:
1 parent
00893744eb
commit
b6dd48a042
21 files changed
+553
-75
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import lombok.SneakyThrows;
|
||||
public class SneakyThrowsInInitializer {
|
||||
public static final Runnable R = new Runnable() {
|
||||
public @Override @SneakyThrows void run() {
|
||||
try
|
||||
{
|
||||
System.out.println("test");
|
||||
}
|
||||
catch (final java.lang.Throwable $ex)
|
||||
{
|
||||
throw lombok.Lombok.sneakyThrow($ex);
|
||||
}
|
||||
}
|
||||
};
|
||||
<clinit>() {
|
||||
}
|
||||
public SneakyThrowsInInitializer() {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user