Check for a behavior change on DatagramChannel send, receive, and connect methods

This rule flags Java code with calls to the java.nio.channels.DatagramChannel send , receive , and connect methods. These methods are flagged because there is a behavior change in what happens if the channel is not bound at the time of the method call.

The previous behavior can be restored by setting the sun.nio.ch.bugLevel property. It can be set to the value of "1.4", "1.5", or "1.6".

For additional information related to this change see: