Java: add win32-arm64 native runtime support - #2427
Conversation
There was a problem hiding this comment.
Pull request overview
Extends Java’s experimental in-process runtime to Linux and Windows ARM64.
Changes:
- Adds ARM64 Maven packaging and host validation.
- Expands tests and artifact validation to five classifiers.
- Updates CI, publishing workflows, and documentation.
Show a summary per file
| File | Description |
|---|---|
java/sdk/pom.xml |
Selects ARM64 runtime classifiers. |
java/README.md |
Documents ARM64 support and workflows. |
java/docs/adr/adr-007-native-bundling-strategy.md |
Updates supported publication scope. |
java/copilot-native/pom.xml |
Packages and attaches ARM64 classifiers. |
java/copilot-native/scripts/validate-native-host.mjs |
Validates ARM64 build hosts. |
java/copilot-native/scripts/validate-native-host.test.mjs |
Tests ARM64 host validation. |
java/copilot-native/scripts/validate-native-artifact.test.mjs |
Tests ARM64 artifacts and publication. |
java/copilot-native/scripts/validate-local-publication.mjs |
Requires both ARM64 classifiers. |
java/copilot-native/scripts/fetch-native.test.mjs |
Covers ARM64 staging behavior. |
.github/workflows/java-sdk-tests.yml |
Adds ARM64 tests and assembly inputs. |
.github/workflows/java-publish-snapshot.yml |
Publishes ARM64 snapshots. |
.github/workflows/java-publish-maven.yml |
Publishes ARM64 releases. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 12/12 changed files
- Comments generated: 0
- Review effort level: Balanced
* Initial plan * Add Java win32-arm64 native support Co-authored-by: edburns <75821+edburns@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
f2c2f22 to
dfdd52b
Compare
Cross-SDK Consistency Review ✅This PR adds Scope of changes: Java-only (CI workflows, Maven POMs, native bundling scripts, documentation). Consistency verdict: No cross-SDK consistency issues. The Java in-process native runtime (
|
Fixes #2422 .
Adds
win32-arm64support to the Java SDK’s experimental in-process runtime, matching the existing native packaging and publication model.Packaging
win32-arm64Maven profiles.runtime.node,copilot, and platform metadata.Validation
win32-arm64in coordinated classifier publication.CI and publishing
win32-arm64to thejava-sdk-inprocessmatrix usingubuntu-24.04-arm.Documentation