summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/testsuite/ChangeLog4
-rw-r--r--libjava/testsuite/libjava.compile/PR232B.java15
2 files changed, 19 insertions, 0 deletions
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 <bryce@albatross.co.nz>
+
+ * libjava.compile/PR232B.java: Additional PR gcj/232 test.
+
2000-05-22 Tom Tromey <tromey@cygnus.com>
* 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();
+ }
+ }
+};
OpenPOWER on IntegriCloud