[foreign-jextract] [Rev 01] RFR: CSupport::getSystemLinker should not be called from internal API points

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Jun 9 11:07:56 UTC 2020


> Some jextract internal classes call the external getSystemLinker method, which then does a check on the
> `foreign.restricted` property (which is disabled when jextract runs). Trusted internal API points should use the
> internal factory for the system linker instead.

Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:

  Reuse `abi` field instead of retrieving ABI again

This pull request has now been integrated.

Changeset: 39b9cbe0
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/39b9cbe0
Stats:     18 lines in 3 files changed: 0 ins; 17 del; 1 mod

CSupport::getSystemLinker should not be called from internal API points

Reviewed-by: sundar

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/198/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/198/files/fa72d88f..37ec38a9

Webrevs:
 - full: https://webrevs.openjdk.java.net/panama-foreign/198/webrev.01
 - incr: https://webrevs.openjdk.java.net/panama-foreign/198/webrev.00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/198.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/198/head:pull/198

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


More information about the panama-dev mailing list