diff --git a/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java b/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java index 000fbee0d89..e4b3ee225be 100644 --- a/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java +++ b/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java @@ -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 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) {