Commit 58aa6bf0 by Bryce McKinlay Committed by Bryce McKinlay

Final.java: Added.

1999-07-05  Bryce McKinlay  <bryce@albatross.co.nz>
        * libjava.lang/Final.java: Added.
        * libjava.lang/Final.out: Added.

From-SVN: r27949
parent 83233dca
1999-07-05 Bryce McKinlay <bryce@albatross.co.nz>
* libjava.lang/Final.java: Added.
* libjava.lang/Final.out: Added.
1999-07-02 Tom Tromey <tromey@cygnus.com>
* libjava.lang/Finalize_1.out: Removed.
......
public final class Final
{
public static void main(String args[])
{
Final f = null;
try
{
f.doSomething();
}
catch (NullPointerException x)
{
System.out.println("NullPointerException - ok");
}
}
void doSomething()
{
System.out.println("This should not happen");
}
}
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