Skip to content

Commit 6fcbfa8

Browse files
dfa1claude
andcommitted
docs: explain Java 25 requirement and FFM API stabilization
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 840e7eb commit 6fcbfa8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ exactly.
123123
- Java 25+
124124
- `flatc` and `protoc` on `PATH` (build-time only: `brew install flatbuffers protobuf`)
125125

126+
Java 25 is the minimum because the FFM API (`MemorySegment`, `Arena`) was finalized as a
127+
standard API in JDK 22 (JEP 454) — it was preview/incubator in JDK 19–21 and required
128+
`--enable-preview` flags. Java 25 is the first LTS release to ship FFM as stable, so
129+
requiring it means no preview flags, no upgrade risk, and a supported LTS for users.
130+
126131
## Build
127132

128133
```bash

0 commit comments

Comments
 (0)