JDK-8041395 : Doclint regression in java.net.SocketOption
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-04-21
  • Updated: 2016-05-27
  • Resolved: 2015-02-09
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 9
9 b51Fixed
Related Reports
Relates :  
Description
The fix for JDK-8036979 introduced a number of doclint regressions in the core libraries. These should be fixed.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-February/031326.html http://mail.openjdk.java.net/pipermail/net-dev/2015-February/008897.html
09-02-2015

Doclint warnings: /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/ServerSocket.java:950: warning: no @param for <T> public <T> ServerSocket setOption(SocketOption<T> name, T value) ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/ServerSocket.java:979: warning: no @param for <T> public <T> T getOption(SocketOption<T> name) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/Socket.java:1753: warning: no @param for <T> public <T> Socket setOption(SocketOption<T> name, T value) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/Socket.java:1781: warning: no @param for <T> public <T> T getOption(SocketOption<T> name) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/DatagramSocketImpl.java:276: warning: no @param for <T> protected <T> void setOption(SocketOption<T> name, T value) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/DatagramSocketImpl.java:276: warning: no @throws for java.io.IOException protected <T> void setOption(SocketOption<T> name, T value) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/DatagramSocketImpl.java:314: warning: no @param for <T> protected <T> T getOption(SocketOption<T> name) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/DatagramSocketImpl.java:314: warning: no @return protected <T> T getOption(SocketOption<T> name) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/DatagramSocketImpl.java:314: warning: no @throws for java.io.IOException protected <T> T getOption(SocketOption<T> name) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/SocketImpl.java:377: warning: no @param for <T> protected <T> void setOption(SocketOption<T> name, T value) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/SocketImpl.java:411: warning: no @param for <T> protected <T> T getOption(SocketOption<T> name) throws IOException { ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/DatagramSocket.java:1292: warning: no @param for <T> public <T> DatagramSocket setOption(SocketOption<T> name, T value) ^ /hudson/jobs/jdk9-jdk-build-all/workspace/jdk/src/share/classes/java/net/DatagramSocket.java:1321: warning: no @param for <T> public <T> T getOption(SocketOption<T> name) throws IOException {
21-04-2014