mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
Use "list" instead of "queue" when referring to expandedPath which is processed FIFO and as such is not a queue
This commit is contained in:
parent
6d21f04922
commit
d79624429e
@ -107,7 +107,7 @@ public class URLClassPath {
|
||||
*/
|
||||
private int nextURL = 0;
|
||||
|
||||
/* Queue of URLs found during expansion of JAR 'Class-Path' attributes
|
||||
/* List of URLs found during expansion of JAR 'Class-Path' attributes
|
||||
* Access is guarded by a monitor on 'searchPath'
|
||||
*/
|
||||
private final ArrayList<URL> expandedPath = new ArrayList<>();
|
||||
@ -483,7 +483,7 @@ public class URLClassPath {
|
||||
}
|
||||
|
||||
/*
|
||||
* Adds the specified URLs to the queue of 'Class-Path' expanded URLs
|
||||
* Adds the specified URLs to the list of 'Class-Path' expanded URLs
|
||||
*/
|
||||
private void addExpandedPaths(URL[] urls) {
|
||||
synchronized (searchPath) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user