Commit 09b189bf by Bryce McKinlay Committed by Bryce McKinlay

Test case for PR libgcj/184:

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

From-SVN: r32796
parent f590cca1
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.
......
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;
};
}
java.lang.NullPointerException
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment