Test case for PR libgcj/184:

* libjava.lang/pr184.java: New file.
        * libjava.lang/pr184.out: New file.

From-SVN: r32796
This commit is contained in:
Bryce McKinlay 2000-03-29 02:08:59 +00:00 committed by Bryce McKinlay
parent f590cca174
commit 09b189bf69
3 changed files with 29 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2000-03-28 Bryce McKinlay <bryce@albatross.co.nz>
Test case for PR libgcj/184:
* libjava.lang/pr184.java: New file.
* libjava.lang/pr184.out: New file.
2000-03-27 Tom Tromey <tromey@cygnus.com>
* libjava.lang/test_long.out: New file.

View file

@ -0,0 +1,22 @@
public class pr184
{
public static void main(String[] args)
{
pr184 n = null;
try
{
n.foo();
}
catch (NullPointerException x)
{
System.out.println(x);
}
}
int x = 2;
final int foo()
{
return x;
};
}

View file

@ -0,0 +1 @@
java.lang.NullPointerException