From 2b51cf84f4b11fb458c566317b4c2ecc94c8631b Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 3 Sep 2009 00:11:00 +0200 Subject: I think this one FINALLY fixes the problems with SneakyThrows! Issue #30 --- doc/changelog.markdown | 5 +++++ src/lombok/eclipse/handlers/HandleSneakyThrows.java | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/changelog.markdown b/doc/changelog.markdown index 40a595ed..8546a84a 100644 --- a/doc/changelog.markdown +++ b/doc/changelog.markdown @@ -1,6 +1,11 @@ Lombok Changelog ---------------- +### v0.8.5 + +* Fixed yet another issue with `@SneakyThrows`. This was reported fixed in v0.8.4. but it still didn't work quite as it should. Still falls under the bailiwick of +[Issue #30](http://code.google.com/p/projectlombok/issues/detail?id=30) + ### v0.8.4 * Fixed many issues with `@SneakyThrows` - in previous versions, using it would sometimes confuse the syntax colouring, and various constructs in the annotated method would cause outright eclipse errors, such as beginning the method with a try block. This also fixes [Issue #30](http://code.google.com/p/projectlombok/issues/detail?id=30) diff --git a/src/lombok/eclipse/handlers/HandleSneakyThrows.java b/src/lombok/eclipse/handlers/HandleSneakyThrows.java index e01cbcde..f0ff53db 100644 --- a/src/lombok/eclipse/handlers/HandleSneakyThrows.java +++ b/src/lombok/eclipse/handlers/HandleSneakyThrows.java @@ -21,6 +21,7 @@ */ package lombok.eclipse.handlers; +import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.List; @@ -167,6 +168,7 @@ public class HandleSneakyThrows implements EclipseAnnotationHandler