Fake a PASS for targets which don't support invocation.
From-SVN: r42792
This commit is contained in:
committed by
Anthony Green
parent
c8fb98139d
commit
87596d9c92
@@ -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 _)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user