[constables] RFR of constants API

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon May 14 13:55:06 UTC 2018



On 11/05/18 15:33, Brian Goetz wrote:
>
>> * I believe the name descriptor is going to be confusing with the 
>> rest of the API, as there are a lot of classes whose name ends with 
>> 'Desc'
>
> I think this speaks to these classes ({Type,Field,Method}Descriptor) 
> being in the wrong place.  I think they should be in JLI, since they 
> are basic building blocks for describing VM types.  Also should be 
> TypeDescriptor, FieldTypeDescriptor, MethodTypeDescriptor.
>
I'm fine with this choice. It's actually a tie between j.l.invoke and 
j.l (since Class is there), but I think I'm ok with the j.l.invoke 
interpretation of them being VM thingies.

Maurizio


More information about the amber-spec-experts mailing list