re PR java/16789 (ICE in force_evaluation_order() on valid code)
PR java/16789: * testsuite/libjava.lang/pr16789.out: New file. * testsuite/libjava.lang/pr16789.java: New file. From-SVN: r88046
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// gcj used to generate incorrect bytecode for
|
||||
// staticMethod().staticMethod()
|
||||
public class pr16789
|
||||
{
|
||||
public void foo()
|
||||
{
|
||||
System.out.println(Thread.currentThread().holdsLock(this));
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new pr16789().foo();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user