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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public class Synch
2
{
3
  public synchronized void s()
4
    {
5
      // This call to notify() isn't supposed to cause a
6
      // java.lang.IllegalMonitorStateException.
7
      notify ();
8
    }
9
 
10
  public static void main (String[] args)
11
    {
12
      (new Synch()).s();
13
      System.out.println ("Ok");
14
    }
15
}
16
 
17
 

powered by: WebSVN 2.1.0

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