home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / net / www / protocol / http / HttpURLConnection$2.class (.txt) < prev   
Encoding:
Java Class File  |  1979-12-31  |  741 b   |  33 lines

  1. package sun.net.www.protocol.http;
  2.  
  3. import java.net.InetAddress;
  4. import java.net.UnknownHostException;
  5. import java.security.PrivilegedAction;
  6.  
  7. class HttpURLConnection$2 implements PrivilegedAction {
  8.    // $FF: synthetic field
  9.    private final String val$h1;
  10.    // $FF: synthetic field
  11.    private final String val$h2;
  12.    // $FF: synthetic field
  13.    private final boolean[] val$result;
  14.  
  15.    HttpURLConnection$2(String var1, String var2, boolean[] var3) {
  16.       this.val$h1 = var1;
  17.       this.val$h2 = var2;
  18.       this.val$result = var3;
  19.    }
  20.  
  21.    public Object run() {
  22.       try {
  23.          InetAddress var1 = InetAddress.getByName(this.val$h1);
  24.          InetAddress var2 = InetAddress.getByName(this.val$h2);
  25.          this.val$result[0] = var1.equals(var2);
  26.       } catch (UnknownHostException var3) {
  27.       } catch (SecurityException var4) {
  28.       }
  29.  
  30.       return null;
  31.    }
  32. }
  33.