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 / java / net / URLClassLoader$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.1 KB  |  32 lines

  1. package java.net;
  2.  
  3. import java.io.IOException;
  4. import java.security.PrivilegedExceptionAction;
  5. import sun.misc.Resource;
  6.  
  7. class URLClassLoader$1 implements PrivilegedExceptionAction {
  8.    // $FF: synthetic field
  9.    private final String val$name;
  10.    // $FF: synthetic field
  11.    private final URLClassLoader this$0;
  12.  
  13.    URLClassLoader$1(URLClassLoader var1, String var2) {
  14.       this.this$0 = var1;
  15.       this.val$name = var2;
  16.    }
  17.  
  18.    public Object run() throws ClassNotFoundException {
  19.       String var1 = this.val$name.replace('.', '/').concat(".class");
  20.       Resource var2 = URLClassLoader.access$000(this.this$0).getResource(var1, false);
  21.       if (var2 != null) {
  22.          try {
  23.             return URLClassLoader.access$100(this.this$0, this.val$name, var2);
  24.          } catch (IOException var4) {
  25.             throw new ClassNotFoundException(this.val$name, var4);
  26.          }
  27.       } else {
  28.          throw new ClassNotFoundException(this.val$name);
  29.       }
  30.    }
  31. }
  32.