Skip to content

Commit

Permalink
kubernetes-client#2952 packageURL is not jar or nested, it would be r…
Browse files Browse the repository at this point in the history
…eturn

packageURL is not jar or nested, it would be return

(cherry picked from commit 88ac227)
  • Loading branch information
wkclz authored and ryanjbaxter committed Dec 6, 2024
1 parent b93927f commit b7699df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ private static void processJarPackage(URL packageURL, String packageName, String
String jarFileName = URLDecoder.decode(packageURL.getFile(), "UTF-8");
if (!jarFileName.startsWith("jar:") && !jarFileName.startsWith("nested:")) {
logger.error("Loading classes from jar with error packageURL: {}", jarFileName);
return;
}
logger.info("Loading classes from jar {}", jarFileName);
try (JarFile jf = ((JarURLConnection) packageURL.openConnection()).getJarFile()) {
Expand Down

0 comments on commit b7699df

Please sign in to comment.