OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR java/16789:
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.lang
/
Synch.java
1
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