Initial revision
From-SVN: r26263
This commit is contained in:
parent
140fa895c6
commit
ee9dd3721b
370 changed files with 173494 additions and 0 deletions
17
libjava/testsuite/libjava.lang/Synch.java
Normal file
17
libjava/testsuite/libjava.lang/Synch.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
public class Synch
|
||||
{
|
||||
public synchronized void s()
|
||||
{
|
||||
// This call to notify() isn't supposed to cause a
|
||||
// java.lang.IllegalMonitorStateException.
|
||||
notify ();
|
||||
}
|
||||
|
||||
public static void main (String[] args)
|
||||
{
|
||||
(new Synch()).s();
|
||||
System.out.println ("Ok");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue