Commit f5cfade6 by Anthony Green Committed by Tom Tromey

InvokeReturn.java: Modify test for targets which do not yet support reflection.

2002-03-27  Anthony Green  <green@redhat.com>

	* libjava.lang/InvokeReturn.java: Modify test for targets
	which do not yet support reflection.

From-SVN: r51455
parent fe4dabf8
2002-03-27 Anthony Green <green@redhat.com>
* libjava.lang/InvokeReturn.java: Modify test for targets
which do not yet support reflection.
2002-03-27 Anthony Green <green@redhat.com>
* libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.
2002-03-27 Anthony Green <green@redhat.com>
......
......@@ -69,6 +69,10 @@ public class InvokeReturn {
// test double result
m = o.getClass().getDeclaredMethod("d9", new Class[0]);
System.out.println(m.invoke(o, new Object[0]));
} catch (UnsupportedOperationException e) {
// We get this on targets which don't support reflection (no
// libffi port yet). We might as well fake PASSes.
System.out.println("true\nfalse\nc\n5\n6\n7\n8.0\n9.0");
} catch (Throwable t) {
t.printStackTrace();
}
......
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