[foreign] RFR: Add support for layout resolution

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu May 24 13:45:09 UTC 2018


Thanks, changed to private and pushed

Maurizio


On 24/05/18 14:30, Sundararajan Athijegannathan wrote:
> LayoutResolver method  addRoot could be private.
>
> +1
>
> -Sundar
>
> On 24/05/18, 6:00 PM, Maurizio Cimadamore wrote:
>> Hi,
>> during last week changes, I've left behind some parts related to 
>> layout symbolic name resolution (e.g. Unresolved layout).
>>
>> This patch adds that; support is very simple, e.g. an Unresolved 
>> layout is resolved by looking at its 'name' annotation, and looking 
>> that up inside a shared map/dictionary held by the binder.
>>
>> This allows to simplify quite a few tests.
>>
>> I also had to make few tweaks to the ABI classes to be able to handle 
>> unresolved layouts.
>>
>> Webrev:
>> http://cr.openjdk.java.net/~mcimadamore/panama/layout_resolver/
>>
>>
>> Cheers
>> Maurizio
>>



More information about the panama-dev mailing list