| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,10 +14,15 @@ describe('findPackageForDownload', () => { | |||
| 14 | 14 | ||
| 15 | 15 | it.each([ | |
| 16 | 16 | [ | |
| 17 | - '17.x', | ||
| 17 | + '17.0.1', | ||
| 18 | 18 | '17.0.1', | |
| 19 | 19 | 'https://aka.ms/download-jdk/microsoft-jdk-17.0.1.12.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}' | |
| 20 | 20 | ], | |
| 21 | + [ | ||
| 22 | + '17.x', | ||
| 23 | + '17.0.3', | ||
| 24 | + 'https://aka.ms/download-jdk/microsoft-jdk-17.0.3-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}' | ||
| 25 | + ], | ||
| 21 | 26 | [ | |
| 22 | 27 | '16.0.x', | |
| 23 | 28 | '16.0.2', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -101717,21 +101717,24 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { | |||
| 101717 | 101717 | // TODO get these dynamically! | |
| 101718 | 101718 | // We will need Microsoft to add an endpoint where we can query for versions. | |
| 101719 | 101719 | const jdkVersions = [ | |
| 101720 | + { | ||
| 101721 | + version: [17, 0, 3] | ||
| 101722 | + }, | ||
| 101720 | 101723 | { | |
| 101721 | 101724 | version: [17, 0, 1, 12, 1] | |
| 101722 | 101725 | }, | |
| 101723 | 101726 | { | |
| 101724 | 101727 | version: [16, 0, 2, 7, 1] | |
| 101728 | + }, | ||
| 101729 | + { | ||
| 101730 | + version: [11, 0, 15] | ||
| 101725 | 101731 | } | |
| 101726 | 101732 | ]; | |
| 101727 | 101733 | // M1 is only supported for Java 16 & 17 | |
| 101728 | 101734 | if (process.platform !== 'darwin' || this.architecture !== 'aarch64') { | |
| 101729 | 101735 | jdkVersions.push({ | |
| 101730 | 101736 | version: [11, 0, 13, 8, 1] | |
| 101731 | 101737 | }); | |
| 101732 | - jdkVersions.push({ | ||
| 101733 | - version: [11, 0, 15] | ||
| 101734 | - }); | ||
| 101735 | 101738 | } | |
| 101736 | 101739 | return jdkVersions; | |
| 101737 | 101740 | }); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -80,11 +80,17 @@ export class MicrosoftDistributions extends JavaBase { | |||
| 80 | 80 | // TODO get these dynamically! | |
| 81 | 81 | // We will need Microsoft to add an endpoint where we can query for versions. | |
| 82 | 82 | const jdkVersions = [ | |
| 83 | + { | ||
| 84 | + version: [17, 0, 3] | ||
| 85 | + }, | ||
| 83 | 86 | { | |
| 84 | 87 | version: [17, 0, 1, 12, 1] | |
| 85 | 88 | }, | |
| 86 | 89 | { | |
| 87 | 90 | version: [16, 0, 2, 7, 1] | |
| 91 | + }, | ||
| 92 | + { | ||
| 93 | + version: [11, 0, 15] | ||
| 88 | 94 | } | |
| 89 | 95 | ]; | |
| 90 | 96 | ||
@@ -93,9 +99,6 @@ export class MicrosoftDistributions extends JavaBase { | |||
| 93 | 99 | jdkVersions.push({ | |
| 94 | 100 | version: [11, 0, 13, 8, 1] | |
| 95 | 101 | }); | |
| 96 | - jdkVersions.push({ | ||
| 97 | - version: [11, 0, 15] | ||
| 98 | - }); | ||
| 99 | 102 | } | |
| 100 | 103 | ||
| 101 | 104 | return jdkVersions; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments