diff options
author | Andrew Haley <aph@redhat.com> | 2016-09-30 16:24:48 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2016-09-30 16:24:48 +0000 |
commit | 07b78716af6a9d7c9fd1e94d9baf94a52c873947 (patch) | |
tree | 3f22b3241c513ad168c8353805614ae1249410f4 /libjava/testsuite/libjava.lang/pr83.java | |
parent | eae993948bae8b788c53772bcb9217c063716f93 (diff) | |
download | gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.zip gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.gz gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.bz2 |
Makefile.def: Remove libjava.
2016-09-30 Andrew Haley <aph@redhat.com>
* Makefile.def: Remove libjava.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.
* configure.ac: Likewise.
* configure: Likewise.
* gcc/java: Remove.
* libjava: Likewise.
From-SVN: r240662
Diffstat (limited to 'libjava/testsuite/libjava.lang/pr83.java')
-rw-r--r-- | libjava/testsuite/libjava.lang/pr83.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/libjava/testsuite/libjava.lang/pr83.java b/libjava/testsuite/libjava.lang/pr83.java deleted file mode 100644 index b209aff..0000000 --- a/libjava/testsuite/libjava.lang/pr83.java +++ /dev/null @@ -1,39 +0,0 @@ -// PR 83 - -/* - * test that caught null pointers exceptions in finalizers work correctly - * and that local variables are accessible in null pointer exception handlers. - */ -import java.io.*; - -public class pr83 { - - static String s; - - public static void main(String[] args) { - System.out.println(tryfinally() + s); - } - - public static String tryfinally() { - String yuck = null; - String local_s = null; - - try { - return "This is "; - } finally { - try { - local_s = "Perfect"; - /* trigger null pointer exception */ - String x = yuck.toLowerCase(); - } catch (Exception _) { - /* - * when the null pointer exception is caught, we must still - * be able to access local_s. - * Our return address for the finally clause must also still - * be intact. - */ - s = local_s; - } - } - } -} |