RFR: 8004699 : Add type annotation storage to Constructor, Field and Method (original) (raw)

Joel Borggrén-Franck joel.franck at oracle.com
Mon Dec 17 17:06:32 UTC 2012


On Dec 17, 2012, at 5:00 PM, Peter Levart <peter.levart at gmail.com> wrote:

Hi Joel,

82 // This is set by the vm at Method creation 83 private byte[] typeannotations;

Wouldn't it be better to initialize this field in the constructor? You could create an overloaded constructor if you wanted to be compatible with previous versions of the VM.

Fields aren't created using a constructor as far as I can see.

cheers /Joel



More information about the core-libs-dev mailing list