src/java.base/share/classes/java/net/URLClassLoader.java
changeset 48245 be39de5f0315
parent 47216 71c04702a3d5
child 49117 0a93645a57f1
equal deleted inserted replaced
48244:2bf9071e8dce 48245:be39de5f0315
   656      * Returns an Enumeration of URLs representing all of the resources
   656      * Returns an Enumeration of URLs representing all of the resources
   657      * on the URL search path having the specified name.
   657      * on the URL search path having the specified name.
   658      *
   658      *
   659      * @param name the resource name
   659      * @param name the resource name
   660      * @exception IOException if an I/O exception occurs
   660      * @exception IOException if an I/O exception occurs
   661      * @return an {@code Enumeration} of {@code URL}s
   661      * @return An {@code Enumeration} of {@code URL}s.
   662      *         If the loader is closed, the Enumeration will be empty.
   662      *         If the loader is closed, the Enumeration contains no elements.
   663      */
   663      */
   664     public Enumeration<URL> findResources(final String name)
   664     public Enumeration<URL> findResources(final String name)
   665         throws IOException
   665         throws IOException
   666     {
   666     {
   667         final Enumeration<URL> e = ucp.findResources(name, true);
   667         final Enumeration<URL> e = ucp.findResources(name, true);