Failed
org.eclipse.jdt.core.tests.compiler.regression.JavadocTestForClass.test055 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Error Message
test055 - Eclipse found error(s) but Javac only found warning(s). ----------- Expected ------------ ----------\n 1. ERROR in X.java (at line 5)\n * <li> {@link Entry} </li>\n ^^^^^\n Javadoc: Invalid member type qualification\n ----------\n ------------ but was ------------ X.java:8: warning: [rawtypes] found raw type: Map\n public interface X extends Map {\n ^\n missing type arguments for generic class Map<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Map\n V extends Object declared in interface Map\n X.java:9: warning: [rawtypes] found raw type: Entry\n Entry e = null;\n ^\n missing type arguments for generic class Entry<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Entry\n V extends Object declared in interface Entry\n 2 warnings\n --------- Difference is ---------- expected:<[----------\n 1. ERROR in X.java (at line 5)\n * <li> {@link Entry} </li>\n ^^^^^\n Javadoc: Invalid member type qualification\n ----------]\n > but was:<[X.java:8: warning: [rawtypes] found raw type: Map\n public interface X extends Map {\n ^\n missing type arguments for generic class Map<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Map\n V extends Object declared in interface Map\n X.java:9: warning: [rawtypes] found raw type: Entry\n Entry e = null;\n ^\n missing type arguments for generic class Entry<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Entry\n V extends Object declared in interface Entry\n 2 warnings]\n >
Stacktrace
junit.framework.ComparisonFailure: test055 - Eclipse found error(s) but Javac only found warning(s). ----------- Expected ------------ ----------\n 1. ERROR in X.java (at line 5)\n * <li> {@link Entry} </li>\n ^^^^^\n Javadoc: Invalid member type qualification\n ----------\n ------------ but was ------------ X.java:8: warning: [rawtypes] found raw type: Map\n public interface X extends Map {\n ^\n missing type arguments for generic class Map<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Map\n V extends Object declared in interface Map\n X.java:9: warning: [rawtypes] found raw type: Entry\n Entry e = null;\n ^\n missing type arguments for generic class Entry<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Entry\n V extends Object declared in interface Entry\n 2 warnings\n --------- Difference is ---------- expected:<[----------\n 1. ERROR in X.java (at line 5)\n * <li> {@link Entry} </li>\n ^^^^^\n Javadoc: Invalid member type qualification\n ----------]\n > but was:<[X.java:8: warning: [rawtypes] found raw type: Map\n public interface X extends Map {\n ^\n missing type arguments for generic class Map<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Map\n V extends Object declared in interface Map\n X.java:9: warning: [rawtypes] found raw type: Entry\n Entry e = null;\n ^\n missing type arguments for generic class Entry<K,V>\n where K,V are type-variables:\n K extends Object declared in interface Entry\n V extends Object declared in interface Entry\n 2 warnings]\n > at org.eclipse.jdt.core.tests.compiler.regression.JavadocTestForClass.test055(JavadocTestForClass.java:1066)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.JavadocTestForClass#test055 - 12 X.java [ import java.util.Map; /** * <ul> * <li> {@link Entry} </li> * </ul> */ public interface X extends Map { Entry e = null; } ]
Standard Error
--- javac err: --- X.java:8: warning: [rawtypes] found raw type: Map public interface X extends Map { ^ missing type arguments for generic class Map<K,V> where K,V are type-variables: K extends Object declared in interface Map V extends Object declared in interface Map X.java:9: warning: [rawtypes] found raw type: Entry Entry e = null; ^ missing type arguments for generic class Entry<K,V> where K,V are type-variables: K extends Object declared in interface Entry V extends Object declared in interface Entry 2 warnings ----------------------------------------