Blocks :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
There are numerous reports that the Language Model API fails to return the correct mirrors for type parameter declarations, return types, receiver types, and types in extends/implements clauses. Here is a report about type parameter declarations: http://mail.openjdk.java.net/pipermail/type-annotations-dev/2014-January/001513.html. An Eclipse committer offered the attached test case: C:\jtests>C:\work\jdk-8-ea-bin-b123-windows-x64-09_jan_2014\jdk8\jdk1.8.0\bin\javac -Xlint:unchecked -Xlint:deprecation -parameters -cp c:\jtests -processor TestProcessor -s . X.java Processing type parameter: TP FAILURE::Incorrect annots on type parameter, expected 1 but was 0 FAILURE::Incorrect annots on type parameter mirror, expected 1 but was 0
|