Olivier
unread,Nov 19, 2009, 2:17:54 PM11/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Type annotations (JSR 308) discussions
Hi,
Using the version 1.0.2 of the javac and javap tools, I don't get
attribute for the type use used on a wildcard bound. For example:
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.*;
import java.util.List;
@Target(TYPE_USE)
@Retention(RUNTIME)
@interface A {}
class Z {}
public class X {
List<? extends @A Z> lst;
}
leads to no RuntimeVisibleTypeAttribute attribute for the field info.
Did I miss something or an special command line argument ?
Thanks,
Olivier