RELEASE NOTES: JDK 17.0.22

Notes generated: Sun Nov 22 05:49:20 CET 2026

JEPs

None.

RELEASE NOTES

security-libs/java.security

Issue Description
JDK-8343232

PKCS12 KeyStore Support for RFC 9879: Use of Password-Based Message Authentication Code 1 (PBMAC1)


The JDK PKCS12 [KeyStore] implementation now supports the more modern PBMAC1 algorithm for integrity protection. To use the PBMAC1 algorithm, set the keystore.pkcs12.macAlgorithm property in the java.security configuration file to a PBMAC1 algorithm, for example, PBEWithHmacSHA256. Existing PKCS12 keystore files will continue to use the integrity algorithm it was created with, but new keystore files will use the PBMAC1 algorithm.

In a future JDK release, the default value of the keystore.pkcs12.macAlgorithm security property will be changed to a PBMAC1 algorithm.


JDK-8386371

Entrust G4 Root CA Removed


The following root certificate has been removed from the cacerts keystore: ``` + alias name "entrustrootcag4 [jdk]" Distinguished Name: CN=Entrust Root Certification Authority - G4, OU="(c) 2015 Entrust, Inc. - for authorized use only", OU=See www.entrust.net/legal-terms, O="Entrust, Inc.", C=US

```


JDK-8392771

Added Certum Trusted Root CA and Certum EC-384 CA Certificates


The following root certificates have been added to the cacerts truststore: ``` + Certum + certumtrustedrootca DN: CN=Certum Trusted Root CA, OU=Certum Certification Authority, O=Asseco Data Systems S.A., C=PL

  • Certum
  • certumec384ca DN: Certum EC-384 CA, OU=Certum Certification Authority, O=Asseco Data Systems S.A., C=PL ```

FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8386576 Calculating Area using a complex polygon creates spurious horizontal line segments
P3 JDK-8395856 Update HarfBuzz to 15.0.0
P4 JDK-8365609 Fix several potential NULL native pointer dereferences in the desktop module
P4 JDK-8299337 The java.awt.image.ColorModel#pData field is unused

client-libs/java.awt

Priority Bug Summary
P2 JDK-8393416 [Ubuntu 26.10] screen capture test does not work with wayland Ubuntu 26.10 and hangs indefinitely
P3 JDK-8392993 Null pointer dereferences in screencast code
P4 JDK-8379499 [AIX] headless-only build of libjawt.so fails

core-libs/java.lang

Priority Bug Summary
P4 JDK-8379443 Correct build tags in some math tests

core-libs/java.net

Priority Bug Summary
P2 JDK-8392732 test/jdk/java/net/Socket/SetSoLinger.java fails on macos 27 - java.net.SocketException: Numerical argument out of domain
P4 JDK-8387273 Enhance httpserver logging to log when maxConnections is reached
P4 JDK-8378398 Modernize test/jdk/java/net/URLClassLoader/HttpTest.java
P4 JDK-8380534 Use loopback address in java/net/DatagramPacket/ReuseBuf.java test

core-libs/java.nio

Priority Bug Summary
P4 JDK-8383185 [21u] Backport of JDK-8382925 causes test failure in SetDefaultProvider
P4 JDK-8392608 UnixNativeDispatcher.strerror should use given error code
P5 JDK-8382018 test/jdk/java/nio/file/spi/SetDefaultProvider.java leaves a directory in /tmp

core-libs/java.rmi

Priority Bug Summary
P4 JDK-8170896 TEST_BUG: java/rmi/server/Unreferenced/leaseCheckInterval/LeaseCheckInterval.java failed with unreferenced() not invoked after 20.0 seconds

core-libs/java.util

Priority Bug Summary
P4 JDK-8378833 Improve offset arithmetic in ArraysSupport::mismatch

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8377461 Add ZipFile test for incorrect number of entries reported in ENDTOT
P4 JDK-8394620 Update Zlib Data Compression Library's gzwrite.c

globalization/translation

Priority Bug Summary
P4 JDK-8351223 Update localized resources in keytool and jarsigner

hotspot/compiler

Priority Bug Summary
P3 JDK-8390765 [PPC64] AES Crypto intrinsics may access memory beyond the key array
P3 JDK-8361892 AArch64: Incorrect matching rule leading to improper oop instruction encoding
P3 JDK-8391881 RISC-V: jni_fast_GetField registers the wrong pc for the speculative load
P4 JDK-8386474 Aarch64: Correct static_assert((N & (N - 1)) == 0
P4 JDK-8394343 PPC64: C2: incorrect lshl of positive integer
P4 JDK-8390521 RISC-V: Clean up vector register dispatch in MachSpillCopyNode::implementation
P4 JDK-8390441 RISC-V: Fix C2 stack-to-stack spill copies with large offsets
P4 JDK-8391041 RISC-V: Fix out-of-bounds read in string_indexof_char intrinsic

hotspot/jfr

Priority Bug Summary
P3 JDK-8383367 jdk/jfr/event/oldobject/TestDFSWithSmallStack.java failed with -XX:+UseZGC -XX:+UseCompactObjectHeaders

hotspot/jvmti

Priority Bug Summary
P4 JDK-8375367 vmTestbase tests reported variable uninitialized by clang23

infrastructure

Priority Bug Summary
P4 JDK-8391438 Bump update version for OpenJDK: jdk-17.0.22

security-libs/java.security

Priority Bug Summary
P2 JDK-8392771 Add 2 Certum roots
P2 JDK-8343232 PKCS#12 KeyStore support for RFC 9879: Use of Password-Based Message Authentication Code 1 (PBMAC1)
P3 JDK-8377063 Add EchoPassword.java to manual group
P3 JDK-8342062 Reformat keytool and jarsigner output for keys with a named parameter set
P3 JDK-8346129 Simplify EdDSA & XDH curve name usage
P4 JDK-8243585 AlgorithmChecker::check throws confusing exception when it rejects the signer key
P4 JDK-8302623 jarsigner - use BufferedOutputStream to improve performance while creating the signed jar
P4 JDK-8362894 PKCS12 KeyStore PBMAC1 interoperability testing
P4 JDK-8386371 Remove Entrust G4 root CA

security-libs/javax.net.ssl

Priority Bug Summary
P3 JDK-8329548 Change KeyUpdate messages from TLS 1.3
P4 JDK-8396154 Incorporate review feedback after JDK-8329548
P4 JDK-8392076 Sporadic failure of test InvalidateServerSessionRenegotiate.java
P4 JDK-8392780 Sporadic failure of test ServerRenegoWithTwoVersions.java and NoImpactServerRenego.java
P4 JDK-8382222 sun/security/ssl/SSLSocketImpl/SSLSocketBruteForceClose.java fails sporadically
P4 JDK-8368520 TLS 1.3 KeyUpdate fails with SunPKCS11 provider
P4 JDK-8368514 TLS stateless session ticket decryption fails on some providers
P4 JDK-8366454 TLS1.3 server fails with bad_record_mac when receiving encrypted records with empty body

security-libs/jdk.security

Priority Bug Summary
P4 JDK-8365623 test/jdk/sun/security/pkcs11/tls/ tests skipped without skip exception