mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
16 lines
328 B
Java
16 lines
328 B
Java
|
|
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);
|
||
|
|
}
|
||
|
|
}
|