Commit 0a08595a by Tom Tromey Committed by Tom Tromey

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
parent 90424847
2004-09-24 Tom Tromey <tromey@redhat.com>
PR java/16789:
* testsuite/libjava.lang/pr16789.out: New file.
* testsuite/libjava.lang/pr16789.java: New file.
2004-09-24 Andrew Haley <aph@redhat.com>
PR java/16927
......
// 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();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment