setup-java/docs
Bruno Borges 0173e6dd1b Infer distribution from asdf .tool-versions vendor prefix (#1084)
* Infer distribution from asdf .tool-versions vendor prefix

asdf-java encodes the JDK vendor as a prefix on the version string in
.tool-versions (e.g. `java temurin-17.0.3+7`). Capture that prefix and
map it to a setup-java distribution, mirroring the existing .sdkmanrc
behavior. Unknown prefixes warn and fall back to the distribution input.

Fixes #1081

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
(cherry picked from commit 4db08ef6bf)
2026-07-08 13:26:05 -04:00
..
adrs Spelling (#713) 2026-06-22 10:57:54 -04:00
advanced-usage.md Infer distribution from asdf .tool-versions vendor prefix (#1084) 2026-07-08 13:26:05 -04:00
contributors.md chore: enforce pre-PR validation (aggregate scripts, git hooks, PR checklist) (#1061) 2026-06-26 08:07:16 +01:00
switching-to-v2.md Fix typo in documentation "jdkfile" (#167) 2021-04-14 11:33:57 +03:00