diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-10 02:47:24 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-10 02:47:24 +0200 |
commit | 97c6436fe69226e845ce8308273ac9be672f6d99 (patch) | |
tree | 5bb0623bda18d1d3beabdd79f15d34573eaad081 | |
parent | 6f9a776367efe8094c9ed53c2ce224b3f6f5d71d (diff) | |
download | lombok-97c6436fe69226e845ce8308273ac9be672f6d99.tar.gz lombok-97c6436fe69226e845ce8308273ac9be672f6d99.tar.bz2 lombok-97c6436fe69226e845ce8308273ac9be672f6d99.zip |
Found ANOTHER javac bug.
-rw-r--r-- | src/lombok/SneakyThrows.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lombok/SneakyThrows.java b/src/lombok/SneakyThrows.java index 41c608d8..6db29dce 100644 --- a/src/lombok/SneakyThrows.java +++ b/src/lombok/SneakyThrows.java @@ -67,5 +67,7 @@ import java.lang.annotation.Target; @Retention(RetentionPolicy.SOURCE) public @interface SneakyThrows { /** The exception type(s) you want to sneakily throw onward. */ - Class<? extends Throwable>[] value() default Throwable.class; + Class<? extends Throwable>[] value() default java.lang.Throwable.class; + + //The package is mentioned in java.lang due to a bug in javac (presence of an annotation processor throws off the type resolver for some reason). } |