Skip to content

Commit

Permalink
Revert "azure functions: java21 GA (#7900)" (#7903)
Browse files Browse the repository at this point in the history
This reverts commit 2a2d410.
  • Loading branch information
ahmedmuhsin authored and shimedh committed Dec 3, 2024
1 parent 317d39b commit a703940
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/src/stacks/2020-10-01/stacks/function-app-stacks/Java.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { FunctionAppStack } from '../../models/FunctionAppStackModel';
import { getDateString } from '../date-utilities';

const getJavaStack: (useIsoDateFormat: boolean) => FunctionAppStack = (useIsoDateFormat: boolean) => {
// EOL source: https://learn.microsoft.com/en-us/java/openjdk/support#release-and-servicing-roadmap
const java21EOL = getDateString(new Date('2028/09/01'), useIsoDateFormat);
const java17EOL = getDateString(new Date('2027/09/01'), useIsoDateFormat);
// EOL source: https://docs.microsoft.com/en-us/java/azure/jdk/?view=azure-java-stable#supported-java-versions-and-update-schedule
const java21EOL = getDateString(new Date('2031/09/01'), useIsoDateFormat);
const java17EOL = getDateString(new Date('2031/09/01'), useIsoDateFormat);
const java11EOL = getDateString(new Date('2027/09/01'), useIsoDateFormat);
const java8EOL = getDateString(new Date('2026/11/30'), useIsoDateFormat);

Expand All @@ -23,7 +23,7 @@ const getJavaStack: (useIsoDateFormat: boolean) => FunctionAppStack = (useIsoDat
stackSettings: {
windowsRuntimeSettings: {
runtimeVersion: '21',
isPreview: false,
isPreview: true,
isHidden: true,
isAutoUpdate: true,
isDefault: false,
Expand Down Expand Up @@ -55,7 +55,7 @@ const getJavaStack: (useIsoDateFormat: boolean) => FunctionAppStack = (useIsoDat
},
linuxRuntimeSettings: {
runtimeVersion: 'Java|21',
isPreview: false,
isPreview: true,
isHidden: false,
isAutoUpdate: true,
isDefault: false,
Expand Down

0 comments on commit a703940

Please sign in to comment.