[foreign-jextract] [Rev 01] RFR: 8239128: Macro defines constant pointers can crash VM via jextract API

Henry Jen henryjen at openjdk.java.net
Fri Feb 21 02:37:30 UTC 2020


On Fri, 21 Feb 2020 01:03:37 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> The pull request has been updated with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.
> 
> src/jdk.incubator.jextract/share/classes/jdk/internal/jextract/impl/Parser.java line 107:
> 
>> 106:         Declaration.Scoped rv = treeMaker.createHeader(tuCursor, decls);
>> 107:         treeMaker.freeze();
>> 108:         return rv;
> 
> Does this mean that we can close the index after this?

Once we implement the freeze to also remove the Declaration/Cursor dependency, we can close the clang Index.

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/21


More information about the panama-dev mailing list