Repository navigation
test: check JDK 28, value classes and FFM-only at run time - #98
Merged
Merged
Conversation
The compiler flags (--release 28 --enable-preview) refuse an older JDK, but a vocabulary type turned back into an identity record, or a JNI entry point added beside the FFM membrane, still compiles. ToolchainMandateTest fails then. Claude-Session: https://claude.ai/code/session_01XAqKMP36eRfzsppfaEWMVz
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
AdaWorldAPI
marked this pull request as ready for review
November 12, 2026 23:05
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The repository requires JDK 28 or later, Valhalla value classes and Panama (FFM). CI already installs JDK 28 EA through
actions/setup-javaand compiles with--release 28 --enable-preview, so an older JDK cannot build it. Two retreats still compile, and nothing failed on them:value recordinto a plainrecord;System.loadLibrary, anativemethod) added beside the FFM membrane.What
ToolchainMandateTest, a new suite inAllTests(it needs no native library, so it also runs when the artifact is absent):LaneId,MaskId,Ordinal,FacetId,RowRange,WideFieldMaskeach answerClass.isValue() == true, and an identity class answersfalse;java/src/main(38 files scanned), with three checks that the pattern matches anativemethod and a library load and ignores prose.DoctrineFenceTest.repoRootandsourcesUnderbecome package-private so the new suite reuses them.LATEST_STATE.mdrecords the suite and marks D-LGJ-MASK-PARENT-1 as merged in #96.Verified
ToolchainMandateTest: 14 checks pass on Temurin 28 EA.AllTests: 631 checks, 0 failures (617 before, plus these 14), abi 0.14.LaneIdas a plainrecordgivesFAIL LaneId is a value class, 1 failed and 13 passed. Restored.Not run
java-suitesjob runs them.Generated by Claude Code