Failed
org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest.testBug207765 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Error Message
testBug207765 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in pkg\X.java (at line 5)\n * {@link "http://www.eclipse.org/}\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid reference\n ----------\n 2. ERROR in pkg\X.java (at line 6)\n * @see "http://www.eclipse.org/\n ^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid URL reference. Double quote the reference or use the href syntax\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in pkg\X.java (at line 5)\n * {@link "http://www.eclipse.org/}\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid reference\n ----------\n 2. ERROR in pkg\X.java (at line 6)\n * @see "http://www.eclipse.org/\n ^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid URL reference. Double quote the reference or use the href syntax\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: testBug207765 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in pkg\X.java (at line 5)\n * {@link "http://www.eclipse.org/}\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid reference\n ----------\n 2. ERROR in pkg\X.java (at line 6)\n * @see "http://www.eclipse.org/\n ^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid URL reference. Double quote the reference or use the href syntax\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in pkg\X.java (at line 5)\n * {@link "http://www.eclipse.org/}\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid reference\n ----------\n 2. ERROR in pkg\X.java (at line 6)\n * @see "http://www.eclipse.org/\n ^^^^^^^^^^^^^^^^^^^^^^^^\n Javadoc: Invalid URL reference. Double quote the reference or use the href syntax\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest.testBug207765(JavadocBugsTest.java:7551)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest#testBug207765 - 12 pkg/X.java [ package pkg; public class X { /** * {@link "http://www.eclipse.org/} * @see "http://www.eclipse.org/ */ public void foo() { } } ]
Standard Error
----------------------------------------