From fc159ae11b8797b777f1fb26dfa5dc1ac29274df Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 6 Mar 2000 06:05:02 +0000 Subject: re GNATS gcj/124 (protected constructor for InvocationTargetException still visible) * lib/libjava.exp (test_libjava): Document `shouldfail' token. (test_libjava_from_source): Handle `shouldfail' case. (test_libjava_from_javac): Likewise. Test for PR libgcj/124: * libjava.compile/PR124.java: New file. * libjava.compile/PR124.xfail: New file. From-SVN: r32353 --- libjava/testsuite/libjava.compile/PR124.java | 9 +++++++++ libjava/testsuite/libjava.compile/PR124.xfail | 1 + 2 files changed, 10 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR124.java create mode 100644 libjava/testsuite/libjava.compile/PR124.xfail (limited to 'libjava/testsuite/libjava.compile') diff --git a/libjava/testsuite/libjava.compile/PR124.java b/libjava/testsuite/libjava.compile/PR124.java new file mode 100644 index 0000000..2ec1fe9 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR124.java @@ -0,0 +1,9 @@ +import java.lang.reflect.*; + +public class PR124 +{ + public static void main (String[] args) + { + System.out.println (new InvocationTargetException ()); + } +} diff --git a/libjava/testsuite/libjava.compile/PR124.xfail b/libjava/testsuite/libjava.compile/PR124.xfail new file mode 100644 index 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR124.xfail @@ -0,0 +1 @@ +shouldfail -- cgit v1.1