Skip to content

Commit

Permalink
GROOVY-11524: Error with circular loading of installed providers when…
Browse files Browse the repository at this point in the history
… using transitive dependency groovy 4.0.23 in docker
  • Loading branch information
daniellansun committed Nov 26, 2024
1 parent 2d2eac6 commit 0c1f226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/codehaus/groovy/vmplugin/v9/Java9.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ public Map<String, Set<String>> getDefaultImportClasses(final String[] packageNa
} finally {
result.putAll(doFindClasses(URI.create("jrt:/modules/java.base/"), "java", javaPackages));
}
} catch (Exception e) {
} catch (Throwable ignore) {
Logger logger = Logger.getLogger(getClass().getName());
if (logger.isLoggable(Level.FINEST)) {
logger.finest("[WARNING] Failed to find default imported classes:\n" + DefaultGroovyMethods.asString(e));
logger.finest("[WARNING] Failed to find default imported classes:\n" + DefaultGroovyMethods.asString(ignore));
}
}

Expand Down

0 comments on commit 0c1f226

Please sign in to comment.