May 4th, 2026
compelling1 reaction

Java OpenJDK April 2026 Patch & Security Update

Hello Java customers!

We are happy to announce the latest April 2026 patch & security update release for the Microsoft Build of OpenJDK. Check our release notes page for details on fixes and enhancements or download and install the binaries today. The source code of our builds are now available on GitHub for further inspection:

Microsoft Build of OpenJDK specific updates

OpenJDK 25

  • Fixes for the following issues on Windows AArch64:
    • 8383541: Safefetch should return the error value when accessing pages protected with PAGE_GUARD on Windows AArch64
  • Implemented JDK-8357445: Time-Based Heap Uncommit During Idle Periods
    • Added support for automatic uncommitting of unused G1 heap regions during idle periods to reduce memory footprint in containerized and cloud environments
    • Disable with -XX:+UnlockDiagnosticVMOptions -XX:-G1UseTimeBasedHeapSizing
    • Beneficial for:
      • Containerized applications with variable workloads
      • Cloud deployments where memory usage affects billing
      • Applications needing memory footprint optimization with no effect on GC pause times
  • AOTCache update
    • jcmd AOT.end_training has been incorporated upstream
    • AOTCache MXBean is still included in the latest patch related to AOTCache
    • With the AOTCache MXBean, you can programmatically stop the recording of training data without stopping your application
    • It also allows an application to determine if the recording of training data is active and how long the recording ran for

OpenJDK 21

  • Fixes for the following issues on Windows AArch64:
    • 8383541: Safefetch should return the error value when accessing pages protected with PAGE_GUARD on Windows AArch64

OpenJDK 17

  • Fixes for the following issues on Windows AArch64:
    • 8383541: Safefetch should return the error value when accessing pages protected with PAGE_GUARD on Windows AArch64

OpenJDK 11

  • No Microsoft-specific updates for this release.

Summary of Upstream Updates

OpenJDK Vulnerability Advisory April 2026

OpenJDK 25

OpenJDK 21

OpenJDK 17

OpenJDK 11

OpenJDK 8

We continue to provide support on Azure and internally at Microsoft for OpenJDK 8 binaries of Eclipse Temurin built by the Eclipse Adoptium project. To facilitate its usage, we ship container images of OpenJDK 8 on top of Azure Linux and Ubuntu. Refer to our documentation.

Questions?

Contact [email protected].

Amplify the news!

LinkedIn: LinkedIn post from Java at Microsoft

0 comments