Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest.testBug206345c - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since #44 )
Took 0.71 sec.

Error Message

testBug206345c - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in pkg\X.java (at line 5)\n
 * This is {@link raw text:\n
           ^^^^^^^^^^^^^^^^\n
Javadoc: Missing closing brace for inline tag\n
----------\n
2. ERROR in pkg\X.java (at line 5)\n
 * This is {@link raw text:\n
                  ^^^\n
Javadoc: raw cannot be resolved to a type\n
----------\n
3. ERROR in pkg\X.java (at line 6)\n
 *    {@link BadLink} is just text}\n
             ^^^^^^^\n
Javadoc: BadLink cannot be resolved to a type\n
----------\n
4. ERROR in pkg\X.java (at line 7)\n
 *    {@link expected_error}\n
             ^^^^^^^^^^^^^^\n
Javadoc: expected_error cannot be resolved to a type\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in pkg\X.java (at line 5)\n
 * This is {@link raw text:\n
           ^^^^^^^^^^^^^^^^\n
Javadoc: Missing closing brace for inline tag\n
----------\n
2. ERROR in pkg\X.java (at line 5)\n
 * This is {@link raw text:\n
                  ^^^\n
Javadoc: raw cannot be resolved to a type\n
----------\n
3. ERROR in pkg\X.java (at line 6)\n
 *    {@link BadLink} is just text}\n
             ^^^^^^^\n
Javadoc: BadLink cannot be resolved to a type\n
----------\n
4. ERROR in pkg\X.java (at line 7)\n
 *    {@link expected_error}\n
             ^^^^^^^^^^^^^^\n
Javadoc: expected_error cannot be resolved to a type\n
----------\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
testBug206345c - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in pkg\X.java (at line 5)\n
	* This is {@link raw text:\n
	          ^^^^^^^^^^^^^^^^\n
Javadoc: Missing closing brace for inline tag\n
----------\n
2. ERROR in pkg\X.java (at line 5)\n
	* This is {@link raw text:\n
	                 ^^^\n
Javadoc: raw cannot be resolved to a type\n
----------\n
3. ERROR in pkg\X.java (at line 6)\n
	* 			{@link BadLink} is just text}\n
	  			       ^^^^^^^\n
Javadoc: BadLink cannot be resolved to a type\n
----------\n
4. ERROR in pkg\X.java (at line 7)\n
	* 			{@link expected_error}\n
	  			       ^^^^^^^^^^^^^^\n
Javadoc: expected_error cannot be resolved to a type\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in pkg\X.java (at line 5)\n
	* This is {@link raw text:\n
	          ^^^^^^^^^^^^^^^^\n
Javadoc: Missing closing brace for inline tag\n
----------\n
2. ERROR in pkg\X.java (at line 5)\n
	* This is {@link raw text:\n
	                 ^^^\n
Javadoc: raw cannot be resolved to a type\n
----------\n
3. ERROR in pkg\X.java (at line 6)\n
	* 			{@link BadLink} is just text}\n
	  			       ^^^^^^^\n
Javadoc: BadLink cannot be resolved to a type\n
----------\n
4. ERROR in pkg\X.java (at line 7)\n
	* 			{@link expected_error}\n
	  			       ^^^^^^^^^^^^^^\n
Javadoc: expected_error cannot be resolved to a type\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest.testBug206345c(JavadocBugsTest.java:8970)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest#testBug206345c - 12
pkg/X.java [
package pkg;

public class X extends Object {
	/**
	 * This is {@link raw text:
	 * 			{@link BadLink} is just text}
	 * 			{@link expected_error}
	 * }
	 */
	public String toString() { 
		return "foo";
	}
}

]

Standard Error

----------------------------------------