Merge branch '3.1.x' into 3.2.x

Closes gh-40576
This commit is contained in:
Scott Frederick
2024-04-29 15:43:21 -05:00
2 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,6 @@ import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLConnection;
import java.util.Arrays;
import java.util.Collections;
import java.util.Enumeration;
import java.util.Map;
import java.util.Set;
@@ -47,7 +46,7 @@ public abstract class JarUrlClassLoader extends URLClassLoader {
private final Map<URL, JarFile> jarFiles = new ConcurrentHashMap<>();
private final Set<String> undefinablePackages = Collections.newSetFromMap(new ConcurrentHashMap<>());
private final Set<String> undefinablePackages = ConcurrentHashMap.newKeySet();
/**
* Create a new {@link LaunchedClassLoader} instance.