From d3a15cbf180d1f974cff519a93763ca726bb20b6 Mon Sep 17 00:00:00 2001 From: Rafael Winterhalter Date: Tue, 24 Sep 2024 22:55:01 +0200 Subject: [PATCH] Add IO exception to signature. --- byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());