[foreign] RFR 8218992: Remove Scope.Resource interface

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Thu Feb 14 16:07:20 UTC 2019


Looks good

-Sundar

On 14/02/19, 9:10 PM, Maurizio Cimadamore wrote:
> As the subject implies, the Scope.Resource interface does not carry 
> enough weight, and should therefore be removed (at least until we 
> start to see other kinds of interesting resources).
>
> Pointers are the only real resource managed by scopes - arrays, 
> structs and callbacks are just views on pointers with extra 
> capabilities added on top. Clients lose almost nothing with this - 
> since there's always a way to go from the view to the pointer that 
> backs it up.
>
> http://cr.openjdk.java.net/~mcimadamore/panama/8218992/
>
> Maurizio
>
>


More information about the panama-dev mailing list