diff options
Diffstat (limited to 'libjava/testsuite/libjava.lang/pr8415.java')
-rw-r--r-- | libjava/testsuite/libjava.lang/pr8415.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.lang/pr8415.java b/libjava/testsuite/libjava.lang/pr8415.java new file mode 100644 index 0000000..d23fa13 --- /dev/null +++ b/libjava/testsuite/libjava.lang/pr8415.java @@ -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); + } +} |