jdk/src/share/classes/java/net/URL.java
changeset 24260 55a72a7e0cf9
parent 23720 7d5147c21927
child 24865 09b1d992ca72
equal deleted inserted replaced
24253:ce29e10e4b41 24260:55a72a7e0cf9
   264      *     and &lt;<i>protocol</i>&gt; is replaced by the name of the protocol.
   264      *     and &lt;<i>protocol</i>&gt; is replaced by the name of the protocol.
   265      *     If this class does not exist, or if the class exists but it is not
   265      *     If this class does not exist, or if the class exists but it is not
   266      *     a subclass of {@code URLStreamHandler}, then the next package
   266      *     a subclass of {@code URLStreamHandler}, then the next package
   267      *     in the list is tried.
   267      *     in the list is tried.
   268      * <li>If the previous step fails to find a protocol handler, then the
   268      * <li>If the previous step fails to find a protocol handler, then the
   269      *     constructor tries to load from a system default package.
   269      *     constructor tries to load a built-in protocol handler.
   270      *     <blockquote><pre>
       
   271      *         &lt;<i>system default package</i>&gt;.&lt;<i>protocol</i>&gt;.Handler
       
   272      *     </pre></blockquote>
       
   273      *     If this class does not exist, or if the class exists but it is not a
   270      *     If this class does not exist, or if the class exists but it is not a
   274      *     subclass of {@code URLStreamHandler}, then a
   271      *     subclass of {@code URLStreamHandler}, then a
   275      *     {@code MalformedURLException} is thrown.
   272      *     {@code MalformedURLException} is thrown.
   276      * </ol>
   273      * </ol>
   277      *
   274      *