Community
Participate
Working Groups
BETA_JAVA8: The following program triggers the error below: // ---- public class X<@Marker T> { class Y { void Y1(Y this) { } } } @interface Marker { } //---------------- "Only annotation types that explicitly specify TYPE_PARAMETER as a possible target element type can be applied here" This is over restrictive. TYPE_USE is also a valid target as per EDR 2.3
Fixed along with the fix for bug 391201 via commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=5aa22ef02c63418c06be6cd6a1ebf3ebbd649c6f