Some classes in rmi need to avoid spurious wakeup

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 6u22
    • Component/s: core-libs
    • generic
    • generic

      ./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 }
      ...
      ----------------------------------------------------------------------

            Assignee:
            Mark Sheppard
            Reporter:
            Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: