mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8273045: Fix misc javadoc bugs in the java.security and javax.net.ssl code
Reviewed-by: xuelei
This commit is contained in:
parent
b16a04ebf7
commit
76baace2f0
10 changed files with 40 additions and 35 deletions
|
@ -34,6 +34,7 @@ import java.nio.charset.CharacterCodingException;
|
|||
import java.util.Locale;
|
||||
import java.util.Objects;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.regex.PatternSyntaxException;
|
||||
|
||||
/**
|
||||
* Instances of this class represent a server name of type
|
||||
|
@ -297,7 +298,7 @@ public final class SNIHostName extends SNIServerName {
|
|||
* @return a {@code SNIMatcher} object for {@code SNIHostName}s
|
||||
* @throws NullPointerException if {@code regex} is
|
||||
* {@code null}
|
||||
* @throws java.util.regex.PatternSyntaxException if the regular expression's
|
||||
* @throws PatternSyntaxException if the regular expression's
|
||||
* syntax is invalid
|
||||
*/
|
||||
public static SNIMatcher createSNIMatcher(String regex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue