< prev index next >

src/java.base/share/classes/javax/net/ssl/SNIHostName.java

Print this page

        

@@ -288,11 +288,11 @@
      *         SNIHostName.createSNIMatcher("www\\.example\\.(com|org)");
      * </pre>
      * will accept hostnames "www.example.com" and "www.example.org".
      *
      * @param  regex
-     *         the <a href="{@docRoot}/java/util/regex/Pattern.html#sum">
+     *         the <a href="{@docRoot}/java.base/java/util/regex/Pattern.html#sum">
      *         regular expression pattern</a>
      *         representing the hostname(s) to match
      * @return a {@code SNIMatcher} object for {@code SNIHostName}s
      * @throws NullPointerException if {@code regex} is
      *         {@code null}

@@ -328,11 +328,11 @@
 
         /**
          * Creates an SNIHostNameMatcher object.
          *
          * @param  regex
-         *         the <a href="{@docRoot}/java/util/regex/Pattern.html#sum">
+         *         the <a href="{@docRoot}/java.base/java/util/regex/Pattern.html#sum">
          *         regular expression pattern</a>
          *         representing the hostname(s) to match
          * @throws NullPointerException if {@code regex} is
          *         {@code null}
          * @throws PatternSyntaxException if the regular expression's syntax
< prev index next >