[foreign] RFR: Add support for layout resolution
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Thu May 24 13:30:38 UTC 2018
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