Fake a PASS for targets which don't support invocation.
From-SVN: r42792
This commit is contained in:
parent
c8fb98139d
commit
87596d9c92
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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 _)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue