RFR: 8273045: Fix misc javadoc bugs in the java.security and javax.net.ssl code

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Fri Aug 27 03:48:28 UTC 2021


On Fri, 27 Aug 2021 01:35:17 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:

> Did a quick sweep of some minor non-standard javadoc issues.  This silences 3rd party tooling warnings and fixes some linkage issues.

Looks good to me.  Thank you for the clean up.

src/java.base/share/classes/javax/net/ssl/SNIHostName.java line 37:

> 35: import java.util.Objects;
> 36: import java.util.regex.Pattern;
> 37: import java.util.regex.PatternSyntaxException;

Does it mean that the classes introduced in java doc should also be imported?  Maybe, the path package names could be removed in the createSNIMatcher() method spec.

-     * @throws java.util.regex.PatternSyntaxException if the regular expression's
-     *         syntax is invalid
+     * @throws PatternSyntaxException if the regular expression's syntax is invalid

-------------

Marked as reviewed by xuelei (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5271



More information about the security-dev mailing list