aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-12-04 02:10:35 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-12-04 02:10:35 +0100
commit932dc55b1ab88f66c64bba62d4181ee6e044490f (patch)
tree1c0f40de12881bec6d9f1b15b6cff229554dfc99 /src/core
parentf5819f11f4f924adaf012ac927c798191e112848 (diff)
downloadlombok-932dc55b1ab88f66c64bba62d4181ee6e044490f.tar.gz
lombok-932dc55b1ab88f66c64bba62d4181ee6e044490f.tar.bz2
lombok-932dc55b1ab88f66c64bba62d4181ee6e044490f.zip
fix for lombok not compiling if JDK8’s javac is used as default compiler.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lombok/eclipse/handlers/HandlePrintAST.java2
-rw-r--r--src/core/lombok/javac/handlers/HandlePrintAST.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandlePrintAST.java b/src/core/lombok/eclipse/handlers/HandlePrintAST.java
index 0b61bc4d..234e29b8 100644
--- a/src/core/lombok/eclipse/handlers/HandlePrintAST.java
+++ b/src/core/lombok/eclipse/handlers/HandlePrintAST.java
@@ -59,7 +59,7 @@ public class HandlePrintAST extends EclipseAnnotationHandler<PrintAST> {
try {
stream.close();
} catch (Exception e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
}
}
}
diff --git a/src/core/lombok/javac/handlers/HandlePrintAST.java b/src/core/lombok/javac/handlers/HandlePrintAST.java
index 9a52b9d9..0826d1d1 100644
--- a/src/core/lombok/javac/handlers/HandlePrintAST.java
+++ b/src/core/lombok/javac/handlers/HandlePrintAST.java
@@ -59,7 +59,7 @@ public class HandlePrintAST extends JavacAnnotationHandler<PrintAST> {
try {
stream.close();
} catch (Exception e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
}
}
}