8182611: extLink ignores text after first newline.
authorjjg
Tue, 20 Jun 2017 13:43:43 -0700
changeset 45575 022acef7b83b
parent 45574 04189244d1b2
child 45576 b6be034b9e29
8182611: extLink ignores text after first newline. Reviewed-by: ksrini
jdk/make/src/classes/build/tools/taglet/ExtLink.java
--- a/jdk/make/src/classes/build/tools/taglet/ExtLink.java	Mon Jun 19 18:02:06 2017 -0700
+++ b/jdk/make/src/classes/build/tools/taglet/ExtLink.java	Tue Jun 20 13:43:43 2017 -0700
@@ -58,7 +58,7 @@
 
     static final String URL = "https://www.oracle.com/pls/topic/lookup?ctx=javase9&id=";
 
-    static final Pattern TAG_PATTERN = Pattern.compile("(\\s*)(?<name>\\w+)(\\s+)(?<desc>.*)");
+    static final Pattern TAG_PATTERN = Pattern.compile("(?s)(\\s*)(?<name>\\w+)(\\s+)(?<desc>.*)$");
 
     /**
      * Returns the set of locations in which the tag may be used.