mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-27 22:05:52 +00:00
Initial revision
From-SVN: r102074
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import sun.tools.java.*;
|
||||
|
||||
public class ClassPathTest {
|
||||
public static void main(String args[]) {
|
||||
ClassPath cp =
|
||||
new ClassPath((String)System.getProperties().get("java.class.path"));
|
||||
ClassFile cf = cp.getFile("ClassPathTest.class");
|
||||
try {
|
||||
System.out.println("PASSED: "+cp.toString() +" "+ cf.toString());
|
||||
} catch (Exception e) {
|
||||
System.out.println("FAILED: " + e.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user