diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-03-01 02:14:24 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-03-01 02:14:59 +0100 |
commit | ed57bc84b051debe8f8904a5fe90a36c300aa64a (patch) | |
tree | e4766c8f2ef4018df598e59e1057019c7c123aa6 /experimental/src | |
parent | 0bd2425b29b3433f8d4b3a9d662119a5430ef183 (diff) | |
download | lombok-ed57bc84b051debe8f8904a5fe90a36c300aa64a.tar.gz lombok-ed57bc84b051debe8f8904a5fe90a36c300aa64a.tar.bz2 lombok-ed57bc84b051debe8f8904a5fe90a36c300aa64a.zip |
Updating to new lombok.patcher 'HomeFinder'.
Diffstat (limited to 'experimental/src')
-rw-r--r-- | experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java b/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java index 38ce2c2a..f9598be5 100644 --- a/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java +++ b/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java @@ -34,6 +34,7 @@ import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; import javax.tools.Diagnostic.Kind; +import lombok.patcher.HomeFinder; import lombok.patcher.Hook; import lombok.patcher.MethodTarget; import lombok.patcher.ScriptManager; @@ -56,7 +57,7 @@ public class DisableCheckedExceptionsAgent extends AbstractProcessor { procEnv.getMessager().printMessage(Kind.WARNING, "You aren't using a compiler based around javac v1.6, so disableCheckedExceptions will not work.\n" + "Your processor class is: " + className); } else { - new LiveInjector().inject(LiveInjector.findPathJar(DisableCheckedExceptionsAgent.class)); + new LiveInjector().inject(HomeFinder.findHomeOfClass(DisableCheckedExceptionsAgent.class)); } } |