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
|
@ -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
Add a link
Reference in a new issue