diff -r a25c48c0a1ab -r c2e676c2cf7b test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java --- a/test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java Mon Jul 16 15:09:19 2018 -0700 +++ b/test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java Tue Jul 17 16:49:55 2018 +0530 @@ -96,7 +96,7 @@ "for (Coin c : Coin.values())", "Overloaded valueOf() method has correct documentation.", "Overloaded values method has correct documentation.", - "
public static Coin" + + "public static Coin" + " valueOf(java.lang.String name)\n" + "Returns the enum constant of this type with the specified name.\n" + "The string must match exactly an identifier used to declare an\n" + @@ -155,7 +155,7 @@ + "" + "methodThatReturnsTypeParameterA(E[] e)", - "public public E[] " + "methodThatReturnsTypeParameterA(E[] e)\n", @@ -695,7 +695,7 @@ + "required=1994)\n" + "public AnnotationTypeUsage()", // METHOD - "@AnnotationType(" + "optional" + "=\"Method Annotation\",\n" @@ -703,7 +703,7 @@ + "required=1994)\n" + "public void method()", // METHOD PARAMS - "public void methodWithParams(" + "public void methodWithParams(" + "" + "@AnnotationType(" + "optional=\"Parameter Annotation\",=1994)\n" + "public AnnotationTypeUsage()", // METHOD - "@AnnotationType(" + "optional" + "=\"Method Annotation\",\n" @@ -866,7 +866,7 @@ + "required=1994)\n" + "public void method()", // METHOD PARAMS - "public void methodWithParams(" + "public void methodWithParams(" + "" + "@AnnotationType(" + "optional=\"Parameter Annotation\",