Failed

org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest.testBug233187b - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 15 builds (Since Failed#81 )
Took 0.71 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in test\b\X.java (at line 10)\n
 * {@link X.Y#foo(test.b.X.Y.Z[])} KO for javadoc tool\n
              ^^^\n
Javadoc: The method foo(X.Y.Z) in the type X.Y is not applicable for the arguments (X.Y.Z[])\n
----------\n
2. ERROR in test\b\X.java (at line 11)\n
 * {@link X.Y#foo(no_test.b.X.Y.Z)} KO for javadoc tool\n
                  ^^^^^^^^^^^^^^^\n
Javadoc: no_test cannot be resolved to a type\n
----------\n
3. ERROR in test\b\X.java (at line 12)\n
 * {@link X.Y#foo(Y.Z)} KO for javadoc tool\n
                  ^^^\n
Javadoc: Invalid member type qualification\n
----------\n
4. ERROR in test\b\X.java (at line 13)\n
 * {@link test.b.X.Y#foo(Y.Z)} KO for javadoc tool\n
                         ^^^\n
Javadoc: Invalid member type qualification\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in test\b\X.java (at line 10)\n
 * {@link X.Y#foo(test.b.X.Y.Z[])} KO for javadoc tool\n
              ^^^\n
Javadoc: The method foo(X.Y.Z) in the type X.Y is not applicable for the arguments (X.Y.Z[])\n
----------\n
2. ERROR in test\b\X.java (at line 11)\n
 * {@link X.Y#foo(no_test.b.X.Y.Z)} KO for javadoc tool\n
                  ^^^^^^^^^^^^^^^\n
Javadoc: no_test cannot be resolved to a type\n
----------\n
3. ERROR in test\b\X.java (at line 12)\n
 * {@link X.Y#foo(Y.Z)} KO for javadoc tool\n
                  ^^^\n
Javadoc: Invalid member type qualification\n
----------\n
4. ERROR in test\b\X.java (at line 13)\n
 * {@link test.b.X.Y#foo(Y.Z)} KO for javadoc tool\n
                         ^^^\n
Javadoc: Invalid member type qualification\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in test\b\X.java (at line 10)\n
	* {@link X.Y#foo(test.b.X.Y.Z[])} KO for javadoc tool\n
	             ^^^\n
Javadoc: The method foo(X.Y.Z) in the type X.Y is not applicable for the arguments (X.Y.Z[])\n
----------\n
2. ERROR in test\b\X.java (at line 11)\n
	* {@link X.Y#foo(no_test.b.X.Y.Z)} KO for javadoc tool\n
	                 ^^^^^^^^^^^^^^^\n
Javadoc: no_test cannot be resolved to a type\n
----------\n
3. ERROR in test\b\X.java (at line 12)\n
	* {@link X.Y#foo(Y.Z)} KO for javadoc tool\n
	                 ^^^\n
Javadoc: Invalid member type qualification\n
----------\n
4. ERROR in test\b\X.java (at line 13)\n
	* {@link test.b.X.Y#foo(Y.Z)} KO for javadoc tool\n
	                        ^^^\n
Javadoc: Invalid member type qualification\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in test\b\X.java (at line 10)\n
	* {@link X.Y#foo(test.b.X.Y.Z[])} KO for javadoc tool\n
	             ^^^\n
Javadoc: The method foo(X.Y.Z) in the type X.Y is not applicable for the arguments (X.Y.Z[])\n
----------\n
2. ERROR in test\b\X.java (at line 11)\n
	* {@link X.Y#foo(no_test.b.X.Y.Z)} KO for javadoc tool\n
	                 ^^^^^^^^^^^^^^^\n
Javadoc: no_test cannot be resolved to a type\n
----------\n
3. ERROR in test\b\X.java (at line 12)\n
	* {@link X.Y#foo(Y.Z)} KO for javadoc tool\n
	                 ^^^\n
Javadoc: Invalid member type qualification\n
----------\n
4. ERROR in test\b\X.java (at line 13)\n
	* {@link test.b.X.Y#foo(Y.Z)} KO for javadoc tool\n
	                        ^^^\n
Javadoc: Invalid member type qualification\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest.testBug233187b(JavadocBugsTest.java:7882)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest#testBug233187b - 10
test/b/X.java [
package test.b;

public class X {
   public static class Y {
        public static class Z { 
            /**
             * The position in the new method signature depends on
             * the position in the array passed to
             * {@link X.Y#foo(test.b.X.Y.Z)} OK for javadoc tool
            * {@link X.Y#foo(test.b.X.Y.Z[])} KO for javadoc tool
             * {@link X.Y#foo(no_test.b.X.Y.Z)} KO for javadoc tool
             * {@link X.Y#foo(Y.Z)} KO for javadoc tool
             * {@link test.b.X.Y#foo(Y.Z)} KO for javadoc tool
             */
            public int bar() {
                return 0;
            }
        }

        public void foo(Z params) {
        }
    }
}

]

Standard Error

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