58bf803e6c
2005-04-06 Andrew Haley <aph@redhat.com> * testsuite/libjava.lang/bytearray.java: New file. * testsuite/libjava.lang/bytearray.out: New file. * java/lang/ClassLoader.java (loadClassFromSig): Declare (loadClass): Use it. * java/lang/natClassLoader.cc (loadClassFromSig): New method. From-SVN: r97756
11 lines
310 B
Java
11 lines
310 B
Java
public class bytearray
|
|
{
|
|
public static void main (String[] argv) throws Throwable {
|
|
Class c = Class.forName ("[Ljava.lang.String;");
|
|
c = Class.forName ("[B");
|
|
System.out.println (c);
|
|
c = ClassLoader.getSystemClassLoader().loadClass ("[[Ljava.lang.String;");
|
|
System.out.println (c);
|
|
}
|
|
}
|