[Java] Add win32-arm64 native runtime support - #2423
Conversation
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Cross-SDK Consistency Review ✅This PR adds Windows ARM64 native runtime support to the Java SDK packaging — all 12 changed files are in Java CI workflows, Java native packaging scripts, Java documentation, and Java POMs. No cross-SDK inconsistencies identified. This is Java-specific infrastructure for native binary bundling ( The changes are appropriately scoped to Java's native bundling strategy (see ADR-007).
|
There was a problem hiding this comment.
Pull request overview
Adds complete Java Windows ARM64 native runtime support across packaging, validation, testing, publishing, and documentation.
Changes:
- Adds
win32-arm64Maven classifier packaging and host detection. - Extends CI, publication validation, snapshot, and release workflows.
- Adds validation tests and usage documentation.
Show a summary per file
| File | Description |
|---|---|
java/sdk/pom.xml |
Selects ARM64 runtime on Windows ARM64 hosts. |
java/copilot-native/pom.xml |
Packages and attaches the new classifier. |
java/copilot-native/scripts/validate-native-host.mjs |
Validates Windows ARM64 hosts. |
java/copilot-native/scripts/validate-native-host.test.mjs |
Tests host validation. |
java/copilot-native/scripts/fetch-native.test.mjs |
Covers ARM64 staging behavior. |
java/copilot-native/scripts/validate-native-artifact.test.mjs |
Tests classifier and publication artifacts. |
java/copilot-native/scripts/validate-local-publication.mjs |
Requires and validates the classifier. |
.github/workflows/java-sdk-tests.yml |
Adds ARM64 runtime and publication CI. |
.github/workflows/java-publish-snapshot.yml |
Builds and publishes snapshot artifacts. |
.github/workflows/java-publish-maven.yml |
Builds and publishes release artifacts. |
java/README.md |
Documents Windows ARM64 usage. |
java/docs/adr/adr-007-native-bundling-strategy.md |
Updates supported-platform architecture decisions. |
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>
Extends Java in-process runtime support and Maven packaging to Windows ARM64, following the existing native-classifier model.
Native packaging
native-win32-arm64Maven profiles.runtime.node,copilot.exe, and platform metadata.win32-arm64publication artifacts.CI and publishing
win32-arm64to the in-process test matrix usingwindows-11-arm.Validation and documentation