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:
Tom Tromey 2004-09-24 15:41:17 +00:00 committed by Tom Tromey
parent 90424847a6
commit 0a08595abd
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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();
}
}

View File

@ -0,0 +1 @@
false