136 |
* @throws ExceptionInInitializerError if the class loads, but an exception |
* @throws ExceptionInInitializerError if the class loads, but an exception |
137 |
* occurs during initialization |
* occurs during initialization |
138 |
*/ |
*/ |
139 |
public static Class forName(String name) throws ClassNotFoundException |
//XXX This does not need to be native. |
140 |
|
public static native Class forName(String name) |
141 |
|
throws ClassNotFoundException; |
142 |
|
/* |
143 |
{ |
{ |
144 |
return forName(name, true, |
return forName(name, true, |
145 |
VMSecurityManager.getClassContext()[1].getClassLoader()); |
VMSecurityManager.getClassContext()[1].getClassLoader()); |
146 |
} |
} |
147 |
|
*/ |
148 |
|
|
149 |
/** |
/** |
150 |
* Use the specified classloader to load and link a class. If the loader |
* Use the specified classloader to load and link a class. If the loader |