[foreign-jextract] Integrated: 8248560: Specify the behaviour of the ForeignLinker returned by CSupport::getSystemLinker (jextract part)

Jorn Vernee jvernee at openjdk.java.net
Wed Sep 16 16:49:39 UTC 2020


On Wed, 16 Sep 2020 14:58:31 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Hi,
> 
> This PR contains the fixes needed for foreign-jextract branch after the refactor done by:
> https://github.com/openjdk/panama-foreign/pull/327
> This is mostly just a mechanical renaming from CSupport to CLinker.
> 
> The exception is that ClassConstantHelper had to be re-written to replace dynamic constants of ValueLayouts by
> references to the internal ABI classification fields, since they can not be references from generated code, resolving
> the current dynamic constants would result in an access error, but the static final constant fields in CLinker are
> freely accessible.  Also, since the platform specific constants are no longer publicly visible, jextract will generate
> classes that reference the layout constants for the current platform instead of a specific one.  Thanks,
> Jorn

This pull request has now been integrated.

Changeset: 33bccec7
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/33bccec7
Stats:     409 lines in 34 files changed: 76 ins; 187 del; 146 mod

8248560: Specify the behaviour of the ForeignLinker returned by CSupport::getSystemLinker (jextract part)

Reviewed-by: mcimadamore

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

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


More information about the panama-dev mailing list