diff --git a/build-windows.yaml b/build-windows.yaml index 146a9807c7..574df17206 100644 --- a/build-windows.yaml +++ b/build-windows.yaml @@ -22,7 +22,7 @@ services: args: COMMIT_SHA: ${COMMIT_SHA} JAVA_HOME: "C:/openjdk-17" - JAVA_VERSION: "17.0.10_7" + JAVA_VERSION: 17.0.11_9 JENKINS_SHA: ${JENKINS_SHA} JENKINS_VERSION: ${JENKINS_VERSION} TOOLS_WINDOWS_VERSION: ${TOOLS_WINDOWS_VERSION} diff --git a/windows/windowsservercore/hotspot/Dockerfile b/windows/windowsservercore/hotspot/Dockerfile index b9c6b15c3f..a570ce5a04 100644 --- a/windows/windowsservercore/hotspot/Dockerfile +++ b/windows/windowsservercore/hotspot/Dockerfile @@ -1,7 +1,7 @@ # escape=` # hadolint shell=powershell -ARG JAVA_VERSION=17.0.10_7 +ARG JAVA_VERSION=17.0.11_9 ARG WINDOWS_VERSION=ltsc2019 ARG TOOLS_WINDOWS_VERSION=1809 @@ -10,7 +10,7 @@ FROM mcr.microsoft.com/windows/servercore:"${WINDOWS_VERSION}" AS jre-build # $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] -ARG JAVA_VERSION +ARG JAVA_VERSION=17.0.11_9 RUN New-Item -ItemType Directory -Path C:\temp | Out-Null ; ` $javaMajorVersion = $env:JAVA_VERSION.substring(0,2) ; `