setup-java/__tests__
Sean Proctor ebc5abf3fb fix: reject non-semver candidate versions in isVersionSatisfies
Distributions like JetBrains Runtime publish 4-segment versions such as
'17.0.8.1+1080.1' that the semver package rejects. Both compareBuild and
satisfies throw on these, which surfaced to users as "Error: Invalid
Version: 17.0.8.1+1080.1" and aborted the whole install when any
available version was non-semver. Guard with an early semver.valid check
so unparseable versions are treated as a non-match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:25:06 -04:00
..
cache feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
data feat: Add support for .sdkmanrc file in java-version-file parameter (#736) 2025-11-25 13:36:29 -06:00
distributors Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
auth.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
cache.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
cleanup-java.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
gpg.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
toolchains.test.ts Fix XML namespaces wrongly using https 2023-06-28 11:24:07 +02:00
util.test.ts fix: reject non-semver candidate versions in isVersionSatisfies 2026-05-26 15:25:06 -04:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00