From: Jeff Sturm Date: Tue, 4 Nov 2003 01:51:15 +0000 (+0000) Subject: * libjava.compile/InnerExcept.java: New File. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b64e33f3f204981ce698221fbc98909f8c878cc;p=platform%2Fupstream%2Fgcc.git * libjava.compile/InnerExcept.java: New File. From-SVN: r73240 --- 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(); + } + } +}