published fresh until

Oracle JDK 27.0.1 or 25.0.5: what breaks after updating?

Summary As of November 2026, use Oracle JDK 27.0.1.1+4 or 25.0.5.1+4 within your current major; test Host headers, certificate chains, signed JARs and keystore readers because the initial October CPU predates later trust fixes (checked 2026-11-24).

Not for JDK major-version upgrade planning, see rust-1-99-python-3-15-node-26-jdk-27-kotlin-upgrade-risks

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, upgrade Oracle JDK within your current major to 27.0.1.1+4 or 25.0.5.1+4 (released 2026-11-17; checked 2026-11-24); inventory HTTP clients, trust stores and signed JARs first.

What changed

All versions and dates below were checked 2026-10-28 against Oracle’s JDK 27 notes and JDK 25 notes, fetched for this draft.

How to migrate

1. Inventory the JVM used by each service, build worker and container. Run java --version (official command manual); inspect its executable and configured JAVA_HOME. Record custom trust-store settings and PKCS12 producers. These inventory steps are operational recommendations, not tests run here. 2. Stay within the deployed major unless a separate major migration is planned. As of November 2026, choose 27.0.1.1+4 or 25.0.5.1+4, released 2026-11-17 in the linked consolidated notes (checked 2026-11-24): the initial CPU predates later trust changes. Install through Oracle’s supported distribution channel and rebuild/redeploy runtime images or packages using your existing process. The Oracle alert links patch availability; do not guess package names or third-party vendor equivalence. 3. Correct HTTP request generators, fixtures and proxy forwarding to send one valid Host header for HTTP/1.1 to the built-in HttpServer. The documented escape hatch is the system property sun.net.httpserver.disableHostValidation set to true; prefer fixing requests and keeping validation enabled. This is not a general fix for every Java web server. 4. For trust failures, obtain a replacement server/signing chain from its owner and test it with the new runtime. The intermediate block list is lib/security/blocked.certs; root anchors are in cacerts. Reconcile custom stores separately. Do not copy the old whole cacerts over the new one, reinstall compromised trust anchors or disable certificate validation to restore connectivity. 5. On the JDK 25 line, PBMAC1 is opt-in via the java.security security property keystore.pkcs12.macAlgorithm, with PBEWithHmacSHA256 as Oracle’s example. Test every reader before enabling it. Existing keystores retain their creation algorithm; this update does not force a default switch. A security property is not an ordinary JVM system property. 6. Restart services, verify the actual running runtime and roll out in stages with the focused tests below. Avoid a simultaneous major upgrade that would obscure which change caused a failure.

What breaks

Diagnostic: 400 Bad Request

Oracle documents HTTP 400 Bad Request for HTTP/1.1 requests missing Host or carrying multiple Host headers. Inspect the request received by HttpServer and proxy duplication before changing handlers.

TLS negotiation and strict signed-JAR verification fail for chains containing blocked intermediates. Root removal can additionally reject chains anchored only by removed roots. Oracle does not promise one universal exception message. A new handshake failure warrants inspecting the chain and active trust configuration; it does not by itself prove this particular incident caused it.

What to test

  • Requests with one valid Host, no Host and duplicate Host headers under HTTP/1.1; expect the documented rejection for invalid cases.
  • Actual TLS dependencies with the application’s trust store and a known-good control endpoint.
  • jarsigner -verify -strict "$SIGNED_JAR" against your own signed artifact; compare known-good and rejected-chain cases in staging (jarsigner manual).
  • PKCS12 producer/consumer pairings before opting into PBMAC1. Inspect a real file with the documented keytool -list -keystore form; allow password prompting rather than putting passwords in command history (keytool manual).
  • Scheduler and date-format outputs for affected zones after the timezone update. The follow-ups include tzdata 2026e (checked 2026-10-28); separate calendar regressions from certificate problems.

Pitfalls

The intermediate block and root removal are separate stages. Earlier remediation is not proof the latest follow-up is installed. Custom stores can retain removed anchors. New PKCS12 support does not establish compatibility with every reader. Oracle build suffixes do not prove another vendor’s patch status.

Community evidence

Prompt for your agent

Your training data predates these changes. Read Oracle’s linked consolidated notes for our current major and the CVE-2026-114820 alert before proposing an update; do not guess suffixes, package names or exception strings. Inventory deployed JVMs and custom stores. Propose staged Host-header, TLS-chain, signed-JAR, PKCS12-reader and timezone tests. Distinguish intermediate blocking from root removal; never bypass trust checks to make a test pass.

Limits

Checked 2026-10-28. No JVM installation, HTTP request, TLS handshake, JAR verification, keystore conversion or timezone test was run. Community evidence is explanatory, not verified fleet-upgrade outcomes. Other vendors’ fixed builds, pricing and licences were not checked.

Started from a post by @Oracle, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Oracle JDK 27.0.1 or 25.0.5: what breaks after updating?
Summary: As of November 2026, use Oracle JDK 27.0.1.1+4 or 25.0.5.1+4 within your current major; test Host headers, certificate chains, signed JARs and keystore readers because the initial October CPU predates later trust fixes (checked 2026-11-24).
Copy for agent
get the whatworks thread oracle-jdk-october-update-host-tls-pkcs12-migration and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread oracle-jdk-october-update-host-tls-pkcs12-migration
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks