Panama feedback
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Mar 30 23:50:23 UTC 2020
On 30/03/2020 23:59, Ty Young wrote:
> Forgot an API addition suggestion:
>
>
> It would be nice if utility static methods were provided to check if a
> ValueLayout was, for example, padding bits or a Pointer. I already
> have a isPaddingBits() as part of my abstraction but I think this is
> something that can and should be provided via Panama.
>
A padding layout is not a value layout?
But yes, there is an impedance mismatch in the API right now in that
padding layouts have no way to be tested - I think a predicate is in
order here.
Maurizio
More information about the panama-dev
mailing list