[foreign] RFR 8214359: Update API/syntax for unresolved layouts

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Nov 27 12:41:03 UTC 2018


Hi,
this patch updates the syntax and the API for unresolved layouts, by 
allowing a more direct modeling of the layout expression term; in the 
current implementation/design, the layout an unresolved refers to is 
modeled as a layout annotation. In this patch we propose to model it as 
a first class subterm, as in:

unresolved = '$' '{' layoutExpr '}' annosOpt

This removes the ambiguity between unresolved layout name and referenced 
layout name which is problematic in [1].

Webrev:

http://cr.openjdk.java.net/~mcimadamore/panama/8214359/

Maurizio

[1] - http://cr.openjdk.java.net/~mcimadamore/panama/panama-annos.html



More information about the panama-dev mailing list