Commit 87596d9c by Anthony Green Committed by Anthony Green

Fake a PASS for targets which don't support invocation.

From-SVN: r42792
parent c8fb9813
2001-06-02 Anthony Green <green@redhat.com>
* libjava.lang/invokethrow.java: Fake a pass for systems which
don't support invocation.
2001-05-30 Tom Tromey <tromey@redhat.com>
* libjava.lang/invokethrow.out: New file.
......
......@@ -22,6 +22,12 @@ public class invokethrow
{
System.out.println (x1.getTargetException ().getMessage ());
}
catch (UnsupportedOperationException _)
{
// Some systems don't support invocation, in which case we
// will fake a passing result.
System.out.println ("hi!");
}
catch (Throwable _)
{
}
......
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