OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [pr16789.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// gcj used to generate incorrect bytecode for
2
// staticMethod().staticMethod()
3
public class pr16789
4
{
5
  public void foo()
6
  {
7
    System.out.println(Thread.currentThread().holdsLock(this));
8
  }
9
 
10
  public static void main(String[] args)
11
  {
12
    new pr16789().foo();
13
  }
14
}
15
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.