diff options
author | Andrew Haley <aph@redhat.com> | 2003-04-16 11:43:04 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2003-04-16 11:43:04 +0000 |
commit | 5a30c9b7ab96750eb878164f5c6133e69af609cc (patch) | |
tree | 9fba862d588aa21700658cfb493c2c98e49c0e45 | |
parent | f9c1196affcade31dc13b30cdf5eb727c59fe8bf (diff) | |
download | gcc-5a30c9b7ab96750eb878164f5c6133e69af609cc.zip gcc-5a30c9b7ab96750eb878164f5c6133e69af609cc.tar.gz gcc-5a30c9b7ab96750eb878164f5c6133e69af609cc.tar.bz2 |
Throw_2.java (main): Make a successful test produce some output.
2003-04-16 Andrew Haley <aph@redhat.com>
* libjava.lang/Throw_2.java (main): Make a successful test produce
some output.
From-SVN: r65678
-rw-r--r-- | libjava/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/testsuite/libjava.lang/Throw_2.java | 2 | ||||
-rw-r--r-- | libjava/testsuite/libjava.lang/Throw_2.out | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 2ad8cf7..2ec01f3 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-04-16 Andrew Haley <aph@redhat.com> + + * libjava.lang/Throw_2.java (main): Make a successful test produce + some output. + 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch> * libjava.jni/jni.exp: Add compilation/link fix dor darwin dylibs. diff --git a/libjava/testsuite/libjava.lang/Throw_2.java b/libjava/testsuite/libjava.lang/Throw_2.java index 353ae97..6d1d0e6 100644 --- a/libjava/testsuite/libjava.lang/Throw_2.java +++ b/libjava/testsuite/libjava.lang/Throw_2.java @@ -34,6 +34,7 @@ public class Throw_2 } catch (NullPointerException _) { + System.out.println ("1"); } catch (Throwable _) { @@ -48,6 +49,7 @@ public class Throw_2 } catch (NullPointerException _) { + System.out.println ("2"); } catch (Throwable _) { diff --git a/libjava/testsuite/libjava.lang/Throw_2.out b/libjava/testsuite/libjava.lang/Throw_2.out index e69de29..1191247 100644 --- a/libjava/testsuite/libjava.lang/Throw_2.out +++ b/libjava/testsuite/libjava.lang/Throw_2.out @@ -0,0 +1,2 @@ +1 +2 |