Remove legacy Adopt distributions

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Bruno Borges
2026-07-31 10:30:35 -04:00
parent 881f2634a1
commit 2fe5911e91
17 changed files with 51 additions and 2429 deletions
-12
View File
@@ -61,18 +61,6 @@ describe('Java platform capabilities', () => {
}
);
it('keeps Adopt HotSpot aliases aligned with the Temurin-first resolver', () => {
expect(validateJavaPlatform('adopt', 'darwin', 'arm64', '21')).toBe(
'aarch64'
);
expect(validateJavaPlatform('adopt-hotspot', 'win32', 'arm64', '21')).toBe(
'aarch64'
);
expect(() =>
validateJavaPlatform('adopt-openj9', 'darwin', 'arm64', '16')
).toThrow(/does not support operating system 'macos'/);
});
it('allows local archives on any platform and architecture', () => {
expect(validateJavaPlatform('jdkfile', 'aix', 'mips64', '21')).toBe(
'mips64'