Java process on Mac OSX does not release socket

前端 未结 5 1913
小鲜肉
小鲜肉 2021-02-14 00:00

I am experiencing an odd problem every now and then (too often actually).

I am running a server application, which is binding a socket for itself.

But once in a

5条回答
  •  灰色年华
    2021-02-14 00:32

    So it seems that the problem lies in the implementation of Selector in the Mac version of JDK 6. Installing the new Oracle JDK 7u4 fixes the issue, independent of how the Selector is used.

提交回复
热议问题