summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/pr8415.java
blob: d23fa1396374676348043b813c3983065fbaf44b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
  }
}