From bdde313bea617437ea1be433b286df5d8cf292bd Mon Sep 17 00:00:00 2001 From: bryce Date: Mon, 22 May 2000 22:22:07 +0000 Subject: 2000-05-22 Bryce McKinlay * libjava.compile/PR232B.java: Additional PR gcj/232 test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34092 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/testsuite/ChangeLog | 4 ++++ libjava/testsuite/libjava.compile/PR232B.java | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR232B.java (limited to 'libjava/testsuite') diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 8fd4bd52f9b..0da1a9cbb02 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-05-22 Bryce McKinlay + + * libjava.compile/PR232B.java: Additional PR gcj/232 test. + 2000-05-22 Tom Tromey * libjava.compile/PR235.java: New file. For PR gcj/235. diff --git a/libjava/testsuite/libjava.compile/PR232B.java b/libjava/testsuite/libjava.compile/PR232B.java new file mode 100644 index 00000000000..0c126531d67 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR232B.java @@ -0,0 +1,15 @@ +// This triggers a failure when compiling from bytecode (only) with 20000519 + +public class PR232B +{ + private static Object lock = new Object(); + private static PR232B instance = null; + + public void a() + { + synchronized(lock) + { + instance = new PR232B(); + } + } +}; -- cgit v1.2.3