aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/PR232B.java
blob: 0c126531d67a89b992d79efe6486797eeb545085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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();
    } 
  }
};