OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.loader/] [TestMultiple.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
import java.net.*;
2
 
3
public class TestMultiple
4
{
5
  public static void main (String[] args)
6
  {
7
    URLClassLoader ucl =
8
      (URLClassLoader) ClassLoader.getSystemClassLoader();
9
    URL urls[] = ucl.getURLs ();
10
 
11
    MyLoader t1 = new MyLoader (urls);
12
    MyLoader t2 = new MyLoader (urls);
13
 
14
    Class c1, c2;
15
 
16
    try {
17
 
18
      c1 = t1.loadClass ("dummy");
19
      c2 = t2.loadClass ("dummy");
20
 
21
    }
22
    catch (Exception e) {
23
        e.printStackTrace ();
24
    }
25
  }
26
}
27
 
28
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.