Community
Participate
Working Groups
BETA_JAVA8: The following program results in a class file in which the method foo() is annotated with @T. This is incorrect and needs to be fixed: // --- import java.lang.annotation.ElementType; import java.lang.annotation.Target; @Target({ElementType.TYPE_USE, ElementType.FIELD}) @interface T { } public class X { @T int foo() { return 0; } }
Fix and tests here: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=20f9fdf8e5fe334d703ee621f62802a5f3f84198