From: tromey Date: Fri, 21 Jan 2000 21:12:47 +0000 (+0000) Subject: * libjava.compile/BlankFinal.java: New file. X-Git-Tag: upstream/4.9.2~103605 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3c54aa414f56153766e5351323deab0530702a3;p=platform%2Fupstream%2Flinaro-gcc.git * libjava.compile/BlankFinal.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31552 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 3184b2e..38c8901 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-01-20 Tom Tromey + + * libjava.compile/BlankFinal.java: New file. + 2000-01-19 Alexandre Petit-Bianco * libjava.lang/anon.java, libjava.lang/anon2.java, diff --git a/libjava/testsuite/libjava.compile/BlankFinal.java b/libjava/testsuite/libjava.compile/BlankFinal.java new file mode 100644 index 0000000..be5bf8e --- /dev/null +++ b/libjava/testsuite/libjava.compile/BlankFinal.java @@ -0,0 +1,16 @@ +// Test to see if "blank final" variables work. +// From Mo DeJong + +public class BlankFinal { + static final boolean cond; + + static { + try + { + cond = true; + } + catch(Exception e) { + // do nothing + } + } +}