aboutsummaryrefslogtreecommitdiff
path: root/src/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-10 02:47:24 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-10 02:47:24 +0200
commit97c6436fe69226e845ce8308273ac9be672f6d99 (patch)
tree5bb0623bda18d1d3beabdd79f15d34573eaad081 /src/lombok
parent6f9a776367efe8094c9ed53c2ce224b3f6f5d71d (diff)
downloadlombok-97c6436fe69226e845ce8308273ac9be672f6d99.tar.gz
lombok-97c6436fe69226e845ce8308273ac9be672f6d99.tar.bz2
lombok-97c6436fe69226e845ce8308273ac9be672f6d99.zip
Found ANOTHER javac bug.
Diffstat (limited to 'src/lombok')
-rw-r--r--src/lombok/SneakyThrows.java4
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).
}