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
This commit is contained in:
parent
276c771bdf
commit
8f5c8c72db
@ -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.
|
||||
|
15
libjava/testsuite/libjava.compile/PR232B.java
Normal file
15
libjava/testsuite/libjava.compile/PR232B.java
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user