From 1b64e33f3f204981ce698221fbc98909f8c878cc Mon Sep 17 00:00:00 2001 From: Jeff Sturm Date: Tue, 4 Nov 2003 01:51:15 +0000 Subject: [PATCH] * libjava.compile/InnerExcept.java: New File. From-SVN: r73240 --- libjava/testsuite/ChangeLog | 5 +++++ libjava/testsuite/libjava.compile/InnerExcept.java | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/InnerExcept.java diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 74e4a64..a853335 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-11-03 Jeff Sturm + + PR java/12866: + * libjava.compile/InnerExcept.java: New File. + 2003-10-22 Tom Tromey PR libgcj/12416: diff --git a/libjava/testsuite/libjava.compile/InnerExcept.java b/libjava/testsuite/libjava.compile/InnerExcept.java new file mode 100644 index 0000000..df4b628 --- /dev/null +++ b/libjava/testsuite/libjava.compile/InnerExcept.java @@ -0,0 +1,19 @@ +import java.io.*; + +// Test case for http://gcc.gnu.org/PR12866 +// From Mark Wielaard +public class InnerExcept +{ + static private void createFile() throws IOException + { + new File("/dev/null"); + } + + class Inner + { + private void m() throws IOException + { + createFile(); + } + } +} -- 2.7.4