SAP vendor no longer resolves: Foojay renamed "SAP Machine" to "SapMachine"
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start with distributions.kt and the failing tests in FoojayApiTest.kt:129. Check how Foojay's api_parameter or synonyms can be used instead of the display name for vendor matching. Done when the Java 8, 11, and 16 vendor resolution tests pass.
Written by the indexing model from the issue text.
Description
Foojay renamed the SAP distribution from SAP Machine to SapMachine. distributions.kt still maps JvmVendorSpec.SAP to "SAP Machine", so a toolchain request for vendor SAP no longer matches any distribution.
The vendor specific implementation does not influence vendor resolution tests fail for Java 8, 11 and 16 (FoojayApiTest.kt:129), e.g. in https://github.com/gradle/foojay-toolchains/actions/runs/33383581175/job/99461104158. main has been red since 2026-08-31.
Fix: match on Foojay's api_parameter (sap_machine) or synonyms rather than the display name, so future renames don't break resolution.
- Dominant language
- Kotlin
- Stars
- 223
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gradle/foojay-toolchains
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
gradle/foojay-toolchains#232 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
gradle/foojay-toolchains#218 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
gradle/foojay-toolchains#190 · 1 comment ·
-
investigation
Difficulty 5/5 Over a week Newbie friendliness 25/100
gradle/foojay-toolchains#101 · 3 comments ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 55/100
gradle/foojay-toolchains#63 · 3 comments · 1 reaction ·
All issues in gradle/foojay-toolchains
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
app:password-manager bug
Difficulty 1/5 Under an hour Newbie friendliness 75/100
bitwarden/android#7554 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
librepods-org/librepods#889 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
kushagrasinghx/BitChord#1317 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day