java

JDK 17.0.17 Release Notes

Java SE 17.0.17 - Bundled Patch Release (BPR) - Bug Fixes and Updates

The following sections summarize changes made in all Java SE 17.0.17 BPR releases. The BPR releases are listed below in date order, most current BPR first. Note that bug fixes in previous BPRs are also included in the current BPR.

 

Changes in Java SE 17.0.17.0.1

Bug Fixes

Release date: October 21, 2025

Fixes from the prior BPR are included in this version.


Java™ SE Development Kit 17, Update 17.0.17 (JDK 17.0.17)

October 21, 2025

The full version string for this update release is 17.0.17+8 (where "+" means "build"). The version number is 17.0.17. This JDK conforms to version 17.1 of the Java SE Specification (JSR 392 MR 1 2024-07-02).

 

IANA TZ Data 2025b

For more information, refer to Timezone Data Versions in the JRE Software.

 

Security Baselines

The security baselines for the Java Runtime at the time of the release of JDK 17.0.17 are specified in the following table:

Java Family Version Security Baseline (Full Version String)
1717.0.17+8
1111.0.29+8
81.8.0_471-b09

 

Keeping the JDK up to Date

Oracle recommends that the JDK is updated with each Critical Patch Update. In order to determine if a release is the latest, the Security Baseline page can be used to determine which is the latest version for each release family.

Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Bulletins. It is not recommended that this JDK (version 17.0.17) be used after the next critical patch update scheduled for January 20, 2026.

Java Management Service, available to all users, can help you find vulnerable Java versions in your systems. Java SE Subscribers and customers running in Oracle Cloud can use Java Management Service to update Java Runtimes and to do further security reviews like identifying potentially vulnerable third party libraries used by your Java programs. Existing Java Management Service user click here to log in to your dashboard. The Java Management Service Documentation provides a list of features available to everyone and those available only to customers. Learn more about using Java Management Service to monitor and secure your Java Installations.

 

New Features

security-libs/javax.net.ssl
 Mechanism to Disable Signature Schemes Based on Their TLS Scope (JDK-8349583)

TLS protocol specific usage constraints are now supported by the jdk.tls.disabledAlgorithms property in the java.security configuration file, as follows:

UsageConstraint:

    usage UsageType { UsageType }

UsageType:
    HandshakeSignature | CertificateSignature

HandshakeSignature restricts the use of an algorithm in TLS handshake signatures. CertificateSignature restricts the use of an algorithm in certificate signatures. An algorithm with this constraint cannot include other usage types defined in the jdk.certpath.disabledAlgorithms property. The usage type follows the keyword and more than one usage type can be specified with a whitespace delimiter.

security-libs/javax.net.ssl
 Mechanism to Disable TLS Cipher Suites by Pattern Matching (JDK-8341964)

TLS cipher suites can be disabled with the jdk.tls.disabledAlgorithms security property in the java.security configuration file using one or more * wildcard characters. For example, "TLS_RSA_*" disables all cipher suites that start with "TLS_RSA_". Only cipher suites starting with "TLS_" are allowed to have wildcard characters.

core-libs/java.lang
 Added isEmpty Default Method to CharSequence (JDK-8215401)

java.lang.CharSequence has been updated in this release to define a default isEmpty method that tests if a character sequence is empty. Testing for, and filtering out, empty Strings and other CharSequences is a common occurrence in code and CharSequence::isEmpty can be used as a method reference. Classes that implement java.lang.CharSequence and another interface that defines isEmpty method should be aware of this addition as they may need to be modified to override the isEmpty method.

security-libs/javax.xml.crypto
 Update XML Security for Java to 3.0.5 (JDK-8344137)

The XML Signature implementation has been updated to Santuario 3.0.5. Support for four new SHA-3 based ECDSA SignatureMethod algorithms have been added: SignatureMethod.ECDSA_SHA3_224, SignatureMethod.ECDSA_SHA3_256, SignatureMethod.ECDSA_SHA3_384, and SignatureMethod.ECDSA_SHA3_512.

 

Known Issues

core-libs/java.net
 Datagram Packet Loss on macOS 26 and macOS 15.6 and Above (JDK-8368741)

When IPv6 is enabled, the JDK uses dual stack IPv4/IPv6 sockets by default. Binding, connecting, or sending datagrams uses IPv4-mapped IPv6 addresses in this case.

On some hosts running macOS version 15.6.x and above, and macOS 26, it has been observed that when a datagram socket bound to a IPv4 mapped IPv6 address sends a packet, either using the java.net.DatagramSocket or java.nio.channels.DatagramChannel APIs, then the first packet is lost and never gets delivered. A second invocation of send on the same socket, even to the same destination address, correctly delivers the packet and it is received by the recipient.

A bug has been filed with Apple (feedback issue id FB20302424) seeking their assistance. The issue is currently unresolved.

Until the issue is resolved, there are a couple of workarounds that applications can consider:

  • If using IPv4 is acceptable, then the java command can be launched with -Djava.net.preferIPv4Stack=true to use IPv4 sockets by default.
  • If using -Djava.net.preferIPv4Stack=true is not acceptable, a more local workaround can be applied by changing the application code to create a java.nio.channels.DatagramChannel with java.net.StandardProtocolFamily.INET as the protocol family and then bind the channel to a IPv4 address.

 

Removed Features and Options

security-libs/java.security
 Removed Four AffirmTrust Root Certificates (JDK-8361212)

The following root certificates, which are deactivated and no longer in use, have been removed from the cacerts keystore:

+ alias name "affirmtrustcommercialca [jdk]"

  Distinguished Name: CN=AffirmTrust Commercial, O=AffirmTrust, C=US

+ alias name "affirmtrustnetworkingca [jdk]"
  Distinguished Name: CN=AffirmTrust Networking, O=AffirmTrust, C=US

+ alias name "affirmtrustpremiumca [jdk]"
  Distinguished Name: CN=AffirmTrust Premium, O=AffirmTrust, C=US

+ alias name "affirmtrustpremiumeccca [jdk]"
  Distinguished Name: CN=AffirmTrust Premium ECC, O=AffirmTrust, C=US

 

Other Notes

install/install
 Use systemd Instead of init for jexec (JDK-8355072 (not public))

Linux RPM JDK installers now use systemd instead of init to manage the automatic jar file execution (jexec) service.

core-libs/java.net
 java.net.http.HttpClient Is Enhanced to Report HTTP/2 Flow Control Errors to the Server (JDK-8342075)

The java.net.http.HttpClient will now report HTTP/2 flow control errors to the server when they are detected. This is an implementation detail that should be transparent to users of the HttpClient API, but could result in streams being reset or connections being closed if connecting to a non-conformant HTTP/2 server.

The flow control limits enforced by the client can be specified with two system properties, which can be set on the java command line:

  • jdk.httpclient.connectionWindowSize specifies the HTTP/2 client connection window size in bytes. The default value, if unspecified, is 2^26. Valid values are in the range [2^16-1, 2^31-1]. If an invalid value is provided, the default value is used. The implementation guarantees that the actual value will be no smaller than the stream window size, which can be configured through the jdk.httpclient.windowsize system property.

  • jdk.httpclient.windowsize specifies the HTTP/2 client stream window size in bytes. The default value if unspecified is 16777216 or 16 MB. Valid values are in the range [2^14, 2^31-1]. If an invalid value is provided, the default value is used.

core-libs/java.util:i18n
 Support for CLDR version 37 (JDK-8239480)

Locale data based on Unicode Consortium's CLDR has been upgraded to their version 37. For the detailed locale data changes, please refer to the Unicode Consortium's CLDR release notes:

core-libs/javax.naming
 Introduce LDAP and RMI Protocol Specific Object Factory Filters to JNDI Implementation (JDK-8290368)

In this release, new system and security properties are introduced to allow more granular control over the set of JNDI object factories allowed to reconstruct Java objects from JNDI/LDAP and JNDI/RMI contexts:

  • The new jdk.jndi.ldap.object.factoriesFilter property specifies which object factory classes are allowed to instantiate Java objects from object references returned by JNDI/LDAP contexts. Its default value only allows object factories defined in the java.naming module.

  • The new jdk.jndi.rmi.object.factoriesFilter property specifies which object factory classes are allowed to instantiate Java objects from object references returned by JNDI/RMI contexts. Its default value only allows object factories defined in the jdk.naming.rmi module.

These new factory filter properties complement the jdk.jndi.object.factoriesFilter global factories filter property by determining if a specific object factory is permitted to instantiate objects for the LDAP or RMI protocols used in JNDI.

An application depending on custom object factories to recreate Java objects from JNDI/LDAP or JNDI/RMI contexts will need to supply a security or system property with an updated value to allow such third-party object factories to reconstruct LDAP or RMI objects. If usage of a factory is denied, the lookup operation may result in a plain instance of javax.naming.Reference instance returned, which may lead to a ClassCastException being thrown in the application.

hotspot/runtime
 Print 'rss' and 'cache' As Part of the Container Information (JDK-8313083)

The HotSpot runtime code has been updated to additionally print a container's 'rss' and 'cache'. The additional output can be found in the JVM's response to a "jcmd [PID] VM.info" request and in the hs_err file generated in case of JVM abrupt termination.

This will help monitoring and troubleshooting OutOfMemory situations as OOM killer can terminate a process if its rss + cache usage reaches the max memory limit of the container.

security-libs/java.security
 SunMSCAPI Provider Opens the Windows Local Computer Key Store in Read-Only Mode in Non-Elevated Processes (JDK-8313367)

The Local Computer key store is accessed using the CERT_STORE_MAXIMUM_ALLOWED_FLAG. Since this store is typically managed by administrators for security reasons, processes are only given read-only access to specific private keys. By opening the store in read-only mode, non-elevated processes can now securely use these keys without requiring elevated permissions.

security-libs/javax.crypto:pkcs11
 Disable CKM_TLS_KEY_AND_MAC_DERIVE Mechanism in Solaris PKCS11 Configuration File (JDK-8245618)

On Solaris, the CKM_TLS_KEY_AND_MAC_DERIVE mechanism offered by the SunPKCS11-Solaris provider and specific to TLSv1.0, can derive incorrect key data causing TLSv1.0 communication failure. That mechanism has been disabled via the $JAVA_HOME/conf/security/sunpkcs11-solaris.cfg configuration file. The JCE provider now manages these cryptographic requests.

security-libs/javax.crypto:pkcs11
 DH Mechanisms Disabled in SunPKCS11-Solaris Provider (JDK-8351342 (not public))

On Solaris, the CKM_DH_PKCS_KEY_PAIR_GEN and CKM_DH_PKCS_DERIVE mechanisms offered by the SunPKCS11-Solaris provider have been disabled via the $JAVA_HOME/conf/security/sunpkcs11-solaris.cfg configuration file. The SunJCE provider also supports these DH crypto services and may be chosen instead. The DH mechanisms can be re-enabled by removing them from the "disabledMechanisms" section of the configuration file. However, please note that the DHParameterSpec object for any generated DH key pair will always have its optional L value (the private value length) set to 0.

tools/launcher
 Disable "best-fit" Mapping on Windows Command Line (JDK-8337506)

Command line arguments to the Java launcher are no longer converted with Windows' "best-fit" mapping when the arguments include unmappable characters for the ANSI code page. This mapping has been intervening in the Java launcher's argument parsing. Unmappable characters are now replaced with the default replacement character, such as '?' in some cases. For rare cases, where applications need those unmappable characters on the command line, select UTF-8 in Windows Regional Settings.

xml/jaxp
 FEATURE_SECURE_PROCESSING for XPath (JDK-8356294 (not public))

The XPath processor prevents evaluation of external DTD references in raw XML documents if secure processing is enabled explicitly, such as follows:

XPathFactory xf = XPathFactory.newInstance();

xf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);

This process will cause the XPath processor created via the factory to throw XPathExpressionException if used to evaluate a raw XML document that contains external references such as an external DTD.

Mitigation includes using External Access Properties to override that enabled by FSP. For example, the following setting will allow the process to continue when there is a reference to a file-based external DTD in the XML document:

xf.setProperty(ACCESS_EXTERNAL_DTD, "file");

It is recommended that applications use the XPath processor to evaluate DOM rather than raw XML documents.

security-libs/javax.net.ssl
 Improved Logging Behavior for javax.net.debug=ssl JSSE Debug Property (JDK-8350582)

The logging behavior of the TLS javax.net.debug system property has been improved in this release. The javax.net.debug property is used to generate TLS debug logs from the default JSSE provider. Previously, using the ssl option via -Djavax.net.debug=ssl produced very limited output, which reduced its usefulness for troubleshooting.

With this update, setting -Djavax.net.debug=ssl now enables comprehensive SSL debug logging, except for the data, packet, and plaintext sub-options. Applications using this option will now see significantly more detailed debug information in logs.

 

Bug Fixes

This release also contains fixes for security vulnerabilities described in the Oracle Critical Patch Update.

Issues fixed in 17.0.17:

# JBS Component Summary
1JDK-8355528client-libs/2dUpdate HarfBuzz to 11.2.0
2JDK-8358452client-libs/java.awtJNI exception pending in Java_sun_awt_screencast_ScreencastHelper_remoteDesktopKeyImpl of screencast_pipewire.c:1214 (ID: 51119)
3JDK-8360647client-libs/java.awt[XWayland] [OL10] NumPad keys are not triggered
4JDK-8243925client-libs/java.awtToolkit#getScreenInsets() returns wrong value on HiDPI screens (Windows)
5JDK-8351907client-libs/java.awt[XWayland] [OL10] Robot.mousePress() is delivered to wrong place
6JDK-8185429client-libs/java.awt[macos] After a modal dialog is closed, no window becomes active
7JDK-8341311client-libs/javax.accessibility[Accessibility,macOS,VoiceOver] VoiceOver announces incorrect number of items in submenu of JPopupMenu
8JDK-8322754client-libs/javax.swingclick JComboBox when dialog about to close causes IllegalComponentStateException
9JDK-8365375client-libs/javax.swingMethod SU3.setAcceleratorSelectionForeground assigns to acceleratorForeground
10JDK-8348760client-libs/javax.swingRadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel
11JDK-8243491core-libsImplementation of Foreign-Memory Access API (Second Incubator)
12JDK-8245722core-libs32-bit build failures after JDK-8243491
13JDK-8245455core-libs/java.lang.invokeRemove alternative StringConcatFactory strategies
14JDK-8245678core-libs/java.lang:reflectAvoid allocations in Executable.getAllGenericParameterTypes
15JDK-8319174core-libs/java.mathEnhance robustness of some j.m.BigInteger constructors
16JDK-8277969core-libs/java.netHttpClient SelectorManager shuts down when custom Executor rejects a task
17JDK-8294916core-libs/java.netCancelling a request must eventually cause its response body subscriber to be unregistered
18JDK-8335181core-libs/java.netIncorrect handling of HTTP/2 GOAWAY frames in HttpClient
19JDK-8343855core-libs/java.netHTTP/2 ConnectionWindowUpdateSender may miss some unprocessed DataFrames from closed streams
20JDK-8241389core-libs/java.netURLConnection::getHeaderFields returns result inconsistent with getHeaderField/Key for FileURLConnection, FtpURLConnection
21JDK-8358764core-libs/java.nio(sc) SocketChannel.close when thread blocked in read causes connection to be reset (win)
22JDK-8245623core-libs/java.nioRemove unused code in sun/nio/fs after Solaris removal
23JDK-8245619core-libs/java.nioRemove unused methods in UnixNativeDispatcher
24JDK-8239013core-libs/java.util.loggingjava.util.logging.Logger catalog cache keeps strong references to ResourceBundles
25JDK-8245677core-libs/java.util:collectionsOptimize lookups in empty HashMaps
26JDK-8314611core-libs/java.util:i18nProvide more explicative error message parsing Currencies
27JDK-8343804core-libs/java.util:i18nShow the default time zone with -XshowSettings option
28JDK-8353713core-libs/java.util:i18nImprove Currency.getInstance exception handling
29JDK-8368308core-libs/java.util:i18nISO 4217 Amendment 180 Update - Bulgaria Adopts the Euro in 2026
30JDK-8226919core-svc/toolsattach in linux hangs due to permission denied accessing /proc/pid/root
31JDK-8313619hotspot/compilerTestIntrinsicsRegStress.java fails on SPARC
32JDK-8252482hotspot/compilerdisable cbcond instructions on SPARC64
33JDK-8245087hotspot/gcUse ratios instead of percentages in G1HeapSizingPolicy::expansion_amount
34JDK-8244817hotspot/gcAdd configuration logging similar to ZGCs to other GCs
35JDK-8245088hotspot/gcAlways provide logs for G1 heap expansion calculations
36JDK-8245086hotspot/gcG1: Rename measured pause time ratios
37JDK-8364258hotspot/jfrThreadGroup constant pool serialization is not normalized
38JDK-8227559hotspot/jfrJFR: Slow dump with path-to-gc-roots=true
39JDK-8245120hotspot/jfrJFR: Parser unable to return typed version
40JDK-8238592hotspot/jfrJFR: Crash when dumping paths to gc roots on deep heaps
41JDK-8297106hotspot/runtimeRemove the -Xcheck:jni local reference capacity checking
42JDK-8245594hotspot/runtimeRemove volatile-qualified member functions and parameters from oop class
43JDK-8291763hotspot/runtimeInclude virtualization information in hs_err crash log on Solaris
44JDK-8245521hotspot/runtimeRemove STACK_BIAS
45JDK-8243392hotspot/runtimeRemodel CDS/Metaspace storage reservation
46JDK-8263407hotspot/runtimeSPARC64 detection fails on Athena (SPARC64-X)
47JDK-8263004hotspot/runtimeSPARC CodeBuffer overflow in generate_satb_log_enqueue
48JDK-8338154hotspot/testFix -Wzero-as-null-pointer-constant warnings in gtest framework
49JDK-8350830security-libs/java.securityValues converted incorrectly when reading TLS session tickets
50JDK-8262040security-libs/javax.cryptoUse ucrypto_free_context for clean operation in Solaris Ucrypto/pkcs11
51JDK-8296452security-libs/javax.cryptoSolaris Ucrypto context memory leak on CRYPTO_BUFFER_TOO_SMALL error
52JDK-8350582security-libs/javax.net.sslCorrect the parsing of the ssl value in javax.net.debug
53JDK-8355779security-libs/javax.net.sslWhen no "signature_algorithms_cert" extension is present we do not apply certificate scope constraints to algorithms in "signature_algorithms" extension
54JDK-8350807security-libs/javax.net.sslCertificates using MD5 algorithm that are disabled by default are incorrectly allowed in TLSv1.3 when re-enabled
55JDK-8245600tools/launcherClean up libjli