--- a/test/langtools/tools/javac/doctree/positions/TestPositionSource.java Mon Jul 22 14:31:04 2019 +0800
+++ b/test/langtools/tools/javac/doctree/positions/TestPositionSource.java Mon Jul 22 12:21:18 2019 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,8 @@
*
* <p>Description with {@link java.io.InputStream link}
*
+ * <em>text < < <!--some comment--> suffix</em>
+ *
* @param first description
* @param second description
* @return whatever
@@ -54,7 +56,7 @@
return true;
}
- /**First sentence.
+ /**First sentence. <em >text <!-- some comment --> suffix</em >
*
* <p>Description with {@link }, {@link java.util.List#add( int )},
* {@link java.util.List#add( int ) some text with whitespaces}, {@link
@@ -69,4 +71,22 @@
return true;
}
+ /**First sentence.
+ *
+ * <p>Description with {@unknownInlineTag }, {@unknownInlineTag text}, {@unknownInlineTag
+ *
+ * @param p1 p {@unknownInlineTag text
+ * @param p2 p <
+ * @param p3 p <em
+ * @param p4 p <!--
+ * @param p5 p <!-- --
+ * @param p6 p <!-- --
+ * @param p7 p &
+ * @param p8 p <
+ * @param p9 p <em> </
+ * @param pa p <em> </em
+ */
+ public void erroneous2(int p1, int p2, int p3, int p4, int p5,
+ int p6, int p7, int p8, int p9, int pa) {
+ }
}