Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,9 @@ protected void executeInClassloader(Runnable runnable, @Nullable String prefix,
// but groovy uses AccessController.doPrivileged itself, causing
// the UpdateCheckerRunnable to be assigned its current domains
// We thus skip them, as otherwise the context loader leaks
if (currentDomains == null) {
return null;
}
final List<ProtectionDomain> combinedWithoutIsolated = new ArrayList<>();
for (ProtectionDomain protectionDomain : currentDomains) {
if (protectionDomain.getClassLoader() == null || !isClassLoaderOrChild(
Expand Down
Loading