Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure functions: java21 GA #7908

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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://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);
// 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);
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: true,
isPreview: false,
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: true,
isPreview: false,
isHidden: false,
isAutoUpdate: true,
isDefault: false,
Expand Down
Loading