./rmi/server/Activation.java and ./rmi/transport/tcp/TCPEndpoint.java seems to need implementation
(ex. "while" loop) to avoid spurious wakeup at the following source code portion in jdk6u22.
----- src/share/classes/sun/rmi/server/Activation.java ----
....
1035 try {
1036 wait(waitTime - now);
1037 } catch (InterruptedException ee) {
...
------------------------------------------------------------
and
----- src/share/classes/sun/rmi/transport/tcp/TCPEndpoint.java ----
...
715 /* wait to obtain an FQDN */
716 f.wait(nameServiceTimeOut);
717 }
...
----------------------------------------------------------------------
(ex. "while" loop) to avoid spurious wakeup at the following source code portion in jdk6u22.
----- src/share/classes/sun/rmi/server/Activation.java ----
....
1035 try {
1036 wait(waitTime - now);
1037 } catch (InterruptedException ee) {
...
------------------------------------------------------------
and
----- src/share/classes/sun/rmi/transport/tcp/TCPEndpoint.java ----
...
715 /* wait to obtain an FQDN */
716 f.wait(nameServiceTimeOut);
717 }
...
----------------------------------------------------------------------