Patch: FYI: PR 8415 test case

Tom Tromey tromey@redhat.com
Fri Nov 1 16:19:00 GMT 2002


I'm checking this in.

This is a test case for PR 8415.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	For PR java/8415:
	* libjava.lang/pr8415.java: New file.
	* libjava.lang/pr8415.out: New file.

Index: libjava.lang/pr8415.java
===================================================================
RCS file: libjava.lang/pr8415.java
diff -N libjava.lang/pr8415.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libjava.lang/pr8415.java 2 Nov 2002 00:18:57 -0000
@@ -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);
+  }
+}
Index: libjava.lang/pr8415.out
===================================================================
RCS file: libjava.lang/pr8415.out
diff -N libjava.lang/pr8415.out
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libjava.lang/pr8415.out 2 Nov 2002 00:18:57 -0000
@@ -0,0 +1 @@
+public static void pr8415.meth() throws java.lang.NullPointerException



More information about the Java-patches mailing list