PR java/16789:
* testsuite/libjava.lang/pr16789.out: New file.
* testsuite/libjava.lang/pr16789.java: New file.
From-SVN: r88046
+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
--- /dev/null
+// 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();
+ }
+}
+