For PR java/8415:
* libjava.lang/pr8415.java: New file. * libjava.lang/pr8415.out: New file. From-SVN: r58732
This commit is contained in:
parent
8df91177c0
commit
a70b59e1db
@ -1,5 +1,9 @@
|
|||||||
2002-11-01 Tom Tromey <tromey@redhat.com>
|
2002-11-01 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
For PR java/8415:
|
||||||
|
* libjava.lang/pr8415.java: New file.
|
||||||
|
* libjava.lang/pr8415.out: New file.
|
||||||
|
|
||||||
* libjava.mauve/mauve.exp (find_mauve_sources): New proc.
|
* libjava.mauve/mauve.exp (find_mauve_sources): New proc.
|
||||||
(test_mauve): Use it.
|
(test_mauve): Use it.
|
||||||
(test_mauve_sim): Likewise.
|
(test_mauve_sim): Likewise.
|
||||||
|
15
libjava/testsuite/libjava.lang/pr8415.java
Normal file
15
libjava/testsuite/libjava.lang/pr8415.java
Normal file
@ -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);
|
||||||
|
}
|
||||||
|
}
|
1
libjava/testsuite/libjava.lang/pr8415.out
Normal file
1
libjava/testsuite/libjava.lang/pr8415.out
Normal file
@ -0,0 +1 @@
|
|||||||
|
public static void pr8415.meth() throws java.lang.NullPointerException
|
Loading…
Reference in New Issue
Block a user