2 import java
.lang
.reflect
.*;
6 class MyLoader
extends URLClassLoader
8 public MyLoader (URL urls
[])
14 public static void main (String
[] args
)
17 (URLClassLoader
) ClassLoader
.getSystemClassLoader();
18 URL urls
[] = ucl
.getURLs ();
19 Class ifaces
[] = new Class
[1];
20 ifaces
[0] = java
.lang
.Comparable
.class;
23 for (int i
= 0; i
< 100; i
++)
25 Proxy
.getProxyClass (new MyLoader (urls
), ifaces
);
27 } catch (Exception e
) {