Extra fields in ClassSymbol.
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue May 7 16:29:44 PDT 2013
Werner,
You appear to have added extra fields into ClassSymbol
> hg diff src/share/classes/com/sun/tools/javac/code/Symbol.java
> diff -r 43c2f7cb9c76
> src/share/classes/com/sun/tools/javac/code/Symbol.java
> --- a/src/share/classes/com/sun/tools/javac/code/Symbol.java Tue
> May 07 14:27:30 2013 -0700
> +++ b/src/share/classes/com/sun/tools/javac/code/Symbol.java Tue
> May 07 16:27:49 2013 -0700
> @@ -794,6 +794,14 @@
> */
> public Pool pool;
>
> + /** The type attributes of initializers in this class.
> + */
> + public List<Attribute.TypeCompound> init_type_annotations =
> List.<Attribute.TypeCompound>nil();
> +
> + /** The type attributes of class initializers in this class.
> + */
> + public List<Attribute.TypeCompound> clinit_type_annotations =
> List.<Attribute.TypeCompound>nil();
> +
> public ClassSymbol(long flags, Name name, Type type, Symbol
> owner) {
> super(TYP, flags, name, type, owner);
> this.members_field = null;
This seems highly undesirable. Is there a reason why these fields are
not in the Annotations object?
-- Jon
More information about the type-annotations-dev
mailing list