< prev index next >

jdk/src/java.base/share/classes/java/net/DatagramSocket.java

Print this page

        

@@ -1336,11 +1336,11 @@
      *         {@link java.net.StandardSocketOptions StandardSocketOptions}
      *         do not require any security permission.
      *
      * @throws NullPointerException if name is {@code null}
      *
-     * @since 1.9
+     * @since 9
      */
     public <T> DatagramSocket setOption(SocketOption<T> name, T value)
         throws IOException
     {
         getImpl().setOption(name, value);

@@ -1366,11 +1366,11 @@
      *         option requires a security permission and if the caller does
      *         not have the required permission.
      *         {@link java.net.StandardSocketOptions StandardSocketOptions}
      *         do not require any security permission.
      *
-     * @since 1.9
+     * @since 9
      */
     public <T> T getOption(SocketOption<T> name) throws IOException {
         return getImpl().getOption(name);
     }
 

@@ -1384,11 +1384,11 @@
      * the socket has been closed.
      *
      * @return A set of the socket options supported by this socket. This set
      *        may be empty if the socket's DatagramSocketImpl cannot be created.
      *
-     * @since 1.9
+     * @since 9
      */
     public Set<SocketOption<?>> supportedOptions() {
         synchronized(DatagramSocket.class) {
             if (optionsSet) {
                 return options;
< prev index next >