[foreign] RFR: Make jextract Context immutable

Jorn Vernee jbvernee at xs4all.nl
Tue Feb 26 13:50:13 UTC 2019


Hi,

This is an RFR for the earlier patch that makes Context immutable:
http://cr.openjdk.java.net/~jvernee/panama/webrevs/context/webrev.00/

To recap, this patch:

* Makes all fields of Context final, and wraps collections in immutable 
wrappers.

* Adds a Context.Builder to create an immutable Context.

* Rearranges code in Main to use the Context.Builder.

Thanks,
Jorn


More information about the panama-dev mailing list