Following integration of the second incubator of the foreign function and memory API [1], we detected few divergences between the contents of the jdk repo and the panama repo:
* the name of some of the `FunctionDescriptor` wither methods is different (e.g. `withAppendedLayoutArguments` vs. `appendLayoutArguments`), as it has been simplified and improved following a change that was not incorporated in [1].
* TestUpcall does not execute all the test combinations, because of an issue in the jtreg header (also fixed in the panama repo)
* Addressing some feedback, we would like to bring back alignment to JAVA_INT layout constants (and related constants).
Javadoc: http://cr.openjdk.java.net/~mcimadamore/8277924/v1/javadoc/jdk/incubator/for... Specdiff: http://cr.openjdk.java.net/~mcimadamore/8277924/v1/spec_diff/overview-summar...
[1] - #5907
Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision: Update src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/ValueLayout.java Co-authored-by: Jorn Vernee <JornVernee@users.noreply.github.com> ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/6589/files - new: https://git.openjdk.java.net/jdk/pull/6589/files/2041e785..54b89f30 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6589&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6589&range=00-01 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/6589.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6589/head:pull/6589 PR: https://git.openjdk.java.net/jdk/pull/6589