diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java b/byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java index c39df0f33f..dab880538f 100644 --- a/byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java +++ b/byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java @@ -2409,7 +2409,7 @@ public Manifest getManifest() throws IOException { /** * {@inheritDoc} */ - public ClassFileLocator getClassFileLocator() { + public ClassFileLocator getClassFileLocator() throws IOException { return delegate.getClassFileLocator(); } @@ -2821,7 +2821,7 @@ public Manifest getManifest() throws IOException { /** * {@inheritDoc} */ - public ClassFileLocator getClassFileLocator() { + public ClassFileLocator getClassFileLocator() throws IOException { List classFileLocators = new ArrayList(origins.size()); for (Source.Origin origin : origins) { classFileLocators.add(origin.getClassFileLocator());