aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>2000-05-22 22:22:07 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2000-05-22 23:22:07 +0100
commit8f5c8c72db2d9180c27925901920a952d0f596d1 (patch)
treefd8c9839f762e3f359dbb3f0625a4d7dc02eaf73 /libjava
parent276c771bdf6b625d2cf1747deb04d85a5a41bee7 (diff)
downloadgcc-8f5c8c72db2d9180c27925901920a952d0f596d1.zip
gcc-8f5c8c72db2d9180c27925901920a952d0f596d1.tar.gz
gcc-8f5c8c72db2d9180c27925901920a952d0f596d1.tar.bz2
re GNATS gcj/232 (segmentation violation at except.c:2180)
2000-05-22 Bryce McKinlay <bryce@albatross.co.nz> * libjava.compile/PR232B.java: Additional PR gcj/232 test. From-SVN: r34092
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 8fd4bd5..0da1a9c 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 0000000..0c12653
--- /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();
+ }
+ }
+};