JDK-7142916 : java.net.DatagramChannel.disconnect( ) throws java.net.SocketException on MacOSX
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-02-06
  • Updated: 2012-02-06
  • Resolved: 2012-02-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u4Resolved
Related Reports
Duplicate :  
Description
nioDatagramChannel/DatagramChannelTest03
nioDatagramChannel/DatagramChannelTest05

SQE tests failed on MacOs. After calling disconnect() method an exception throws:

java.net.SocketException: Invalid argument
at sun.nio.ch.DatagramChannelImpl.disconnect0(Native Method)
at sun.nio.ch.DatagramChannelImpl.disconnect(DatagramChannelImpl.java:740)
at TestServer.go(DatagramChannelTest03.java:164)
at TestThread.run(DatagramChannelTest03.java:240)
java.net.SocketException: Invalid argument
at sun.nio.ch.DatagramChannelImpl.disconnect0(Native Method)
at sun.nio.ch.DatagramChannelImpl.disconnect(DatagramChannelImpl.java:740)
at TestClient.go(DatagramChannelTest03.java:217)
at TestThread.run(DatagramChannelTest03.java:240)