For PR java/8415:
* libjava.lang/pr8415.java: New file. * libjava.lang/pr8415.out: New file. From-SVN: r58732
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import java.lang.reflect.*;
|
||||
public class pr8415
|
||||
{
|
||||
public static void meth () throws NullPointerException
|
||||
{
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Throwable
|
||||
{
|
||||
Class k = pr8415.class;
|
||||
Method m = k.getMethod ("meth", new Class[0]);
|
||||
System.out.println(m);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user