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(); + } + } +};