Bring in changes from the panama-foreign repo These changes pertain to explicitly rejecting unsupported call shapes on macos-aarch64.
Testing: `jdk_foreign` on linux-aarch64-debug, macosx-aarch64-debug, linux-x64-debug, macosx-x64-debug, and windows-x64-debug ------------- Commit messages: - Fix copyright year for new file - Fix tests - 8284306: TestVarArgs silently passes - 8284041: Explicitly reject unsupported call shapes on macos-aarch64 Changes: https://git.openjdk.java.net/jdk/pull/8842/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8842&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8287158 Stats: 25411 lines in 18 files changed: 719 ins; 24633 del; 59 mod Patch: https://git.openjdk.java.net/jdk/pull/8842.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8842/head:pull/8842 PR: https://git.openjdk.java.net/jdk/pull/8842