Remove legacy Adopt distributions in v6 (#1185)

* Initial plan

* Remove legacy Adopt distributions

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Bruno Borges <brborges@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2026-07-31 15:48:18 -04:00
committed by GitHub
parent 9a8c300417
commit 536de9e5ba
17 changed files with 51 additions and 2429 deletions
@@ -117,6 +117,15 @@ describe('getJavaDistribution', () => {
).toBeNull();
});
it.each(['adopt', 'adopt-hotspot', 'adopt-openj9'])(
'does not support legacy Adopt distribution %s',
async distributionName => {
expect(
await getJavaDistribution(distributionName, installerOptions('jdk'))
).toBeNull();
}
);
it.each([
['amd64', 'x64'],
['ia32', 'x86'],