hg: jdk/jdk: 8243507: DatagramSocket constructors don?t always specify what happens when passed invalid parameters
patrick.concannon at oracle.com
patrick.concannon at oracle.com
Fri May 29 10:08:52 UTC 2020
Changeset: 4d5a58b0146f
Author: pconcannon
Date: 2020-05-29 11:08 +0100
URL: https://hg.openjdk.java.net/jdk/jdk/rev/4d5a58b0146f
8243507: DatagramSocket constructors don?t always specify what happens when passed invalid parameters
Summary: This fix updates the spec for DatagramSocket's constructors to inform the user of the Exceptions thrown when an invalid argument is passed.
Reviewed-by: dfuchs
! src/java.base/share/classes/java/net/DatagramSocket.java
+ test/jdk/java/net/DatagramSocket/Constructor.java
More information about the jdk-all-changes
mailing list