jdk/src/java.base/share/classes/sun/misc/JavaNetAccess.java
changeset 31918 1f13aceb00d7
parent 31687 d6eb4f028c60
equal deleted inserted replaced
31917:7c00c692dd08 31918:1f13aceb00d7
    24  */
    24  */
    25 
    25 
    26 package sun.misc;
    26 package sun.misc;
    27 
    27 
    28 import java.net.URLClassLoader;
    28 import java.net.URLClassLoader;
    29 import java.net.InetAddress;
       
    30 
    29 
    31 public interface JavaNetAccess {
    30 public interface JavaNetAccess {
    32     /**
    31     /**
    33      * return the URLClassPath belonging to the given loader
    32      * return the URLClassPath belonging to the given loader
    34      */
    33      */
    35     URLClassPath getURLClassPath (URLClassLoader u);
    34     URLClassPath getURLClassPath (URLClassLoader u);
    36 
       
    37     /**
       
    38      * Return the original application specified hostname of
       
    39      * the given InetAddress object.
       
    40      */
       
    41     String getOriginalHostName(InetAddress ia);
       
    42 }
    35 }