Skip to content

feat: add RISC-V 64-bit (riscv64) platform support#17

Open
gounthar wants to merge 1 commit intosdkman:masterfrom
gounthar:feat/add-riscv64-platform
Open

feat: add RISC-V 64-bit (riscv64) platform support#17
gounthar wants to merge 1 commit intosdkman:masterfrom
gounthar:feat/add-riscv64-platform

Conversation

@gounthar
Copy link

@gounthar gounthar commented Feb 7, 2026

Summary

  • Add LINUX_RISCV64 to PlatformMapper (maps to LINUX_RISCV64 for the state API)
  • Add LINUX_RISCV64 to SupportedPlatforms in Validation
  • Add unit test for the new platform mapping
  • Add Cucumber scenario for platform validation

Details

Temurin (JDK 21-25) and Liberica (JDK 17-25) already publish riscv64 Linux JDK builds. The Disco API already serves them. This PR enables vendors to publish riscv64 builds through the vendor release API.

Closes #16

Test plan

  • CI tests pass (./sbt test)
  • PlatformMapperSpec: new test verifies LINUX_RISCV64 maps to LINUX_RISCV64
  • Cucumber feature: new scenario verifies LINUX_RISCV64 is accepted as a valid platform (201 CREATED)

Related

Add LINUX_RISCV64 to the vendor release API:
- PlatformMapper: map LINUX_RISCV64 to LINUX_RISCV64 for state API
- Validation: add LINUX_RISCV64 to SupportedPlatforms
- PlatformMapperSpec: add unit test for the new mapping
- Cucumber feature: add platform validation scenario

Closes sdkman#16

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add RISC-V 64-bit (riscv64) platform support

1 participant