source: trunk/gcc/libjava/testsuite/libjava.compile/PR232B.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 286 bytes
Line 
1// This triggers a failure when compiling from bytecode (only) with 20000519
2
3public class PR232B
4{
5 private static Object lock = new Object();
6 private static PR232B instance = null;
7
8 public void a()
9 {
10 synchronized(lock)
11 {
12 instance = new PR232B();
13 }
14 }
15};
Note: See TracBrowser for help on using the repository browser.