Why TCK-Tested JVMs Are the Right Choice
Patchmageddon Team
JVM patching & OpenJDK migration specialists
Very few enterprises run a single JVM. A typical estate has several, from different vendors and at different patch levels: Oracle JDK on some servers, Red Hat or Temurin builds on others, and dozens of private runtimes bundled inside commercial (COTS) products. Each one is updated when its application vendor ships a release, and not before.
So when a critical Java CVE lands, the estate's exposure is set by its slowest vendor. Some runtimes are fixed in days; others stay vulnerable for months. With exploits now appearing within days of a fix, that is no longer an acceptable position.
The usual reason for waiting is a belief that an application only works on the JVM it shipped with. Within a Java version, the evidence says otherwise.
The Compatibility Contract
Java SE is defined by a specification produced through the Java Community Process. Each release comes with a reference implementation (OpenJDK) and a Technology Compatibility Kit (TCK): the test suite that decides whether an implementation conforms. For Java SE it's called the JCK (Java Compatibility Kit) and is versioned with the platform: JCK 21 for Java SE 21, JCK 25 for Java SE 25.
There is no partial credit. To ship a build as Java SE, a vendor must pass the full suite for that version on every platform it supports. OpenJDK vendors get the JCK free through the OpenJDK Community TCK License Agreement (OCTLA), and the signatories include Amazon (Corretto), Azul (Zulu), Red Hat, Microsoft, SAP (SapMachine) and Eclipse Adoptium (Temurin).
The consequence is simple: a Corretto, Temurin or Red Hat build that passes JCK 21 meets exactly the same bar as Oracle JDK 21.
What 100,000+ Tests Cover
The JCK is one of the largest conformance suites in commercial software. Members of the OpenJDK community put it at more than 100,000 individual tests: around 126,000 for Java 8 and around 139,000 for Java 11, growing with each release since. It covers:
- The language: every construct in the Java Language Specification, including edge cases most developers never write
- The virtual machine: bytecode verification, class loading, the memory model, threading and exceptions
- The core APIs: collections, concurrency, I/O, networking, security and cryptography, text, time and the rest of the Java SE API surface
Behind that sits OpenJDK's own jtreg regression suite: tens of thousands more tests, each written in response to a real bug.
A Mature Runtime
Thirty years in, the JVM is one of the most heavily deployed and scrutinized pieces of software in existence. Several things make a same-version runtime change far safer now than a decade ago:
- One codebase. Oracle JDK and the major OpenJDK distributions are built from the same source. Vendor differences are mostly packaging, installers and bundled extras.
- Shared maintenance. Long-term support lines such as 17, 21 and 25 are maintained jointly in the OpenJDK update projects, so a quarterly update carries essentially the same fixes whoever builds it.
- Small, regular changes. Security updates every quarter and LTS releases every two years keep each change small.
- Compatibility discipline. Removals are announced releases in advance, and behavior changes within an update line are rare and documented.
- Massive exposure. Each update runs on millions of machines within weeks, so bugs that slip past testing are usually found by someone else first.
Where the TCK Stops
The TCK tests conformance to the specification, and nothing more. It doesn't cover:
- Performance: GC, JIT and startup behavior can vary between builds
- Non-standard options:
-XXflags and vendor-specific switches - Bundled extras: JavaFX, fonts and vendor tools
- Internal APIs: code relying on
sun.*classes or undocumented behavior - Environment: install paths, trust stores, registry entries and installers
These are where swaps actually go wrong, and none of them are Java compatibility problems. A good swap carries trust stores, flags and paths across, then watches the right signals. Our migration checklist and JVM patch failure modes cover them in detail.
What Millions of JVMs Have Shown Us
Patchmageddon has experience patching millions of JVMs across organizations of every size, from fintechs to huge multinationals, on servers, desktops, application servers and runtimes bundled inside commercial products. The pattern holds:
- Moving between TCK-tested builds of the same Java version behaves like a routine patch, not a migration
- When something breaks, it's almost always the environment (a missing CA certificate, a hard-coded path, a vendor-specific flag), caught within minutes by smoke tests and monitoring
- A genuine Java SE behavior difference between two certified builds is extremely rare
That's the basis of our approach: patch with the first TCK-tested build that ships the fix, whichever vendor built it. It's how our customers handled Java4Shell in days, and how jradar swaps runtimes across thousands of machines.
What About COTS Vendor Support?
Some application vendors support their product only on a specific JDK build, and replacing the bundled runtime can strain that support for a while. We don't pretend otherwise. But leaving a known, exploitable vulnerability in place while waiting for a vendor release is the greater risk, so security comes first. When you move a COTS product onto a fixed build with jradar, you:
- Record the requirement: the vendor, the product and the JDK build it supports
- Explain the change to the vendor: a same-version, TCK-tested build carrying the fix their runtime lacks
- Move back to the vendor's runtime as soon as a fixed release ships
It's a defensible stance, and many vendors appreciate it. Once they understand the reasoning, most keep supporting their customers through the interim.
What to Do Next
- Confirm the builds you use are TCK-tested for the versions you run
- Find every JVM in your estate, including those bundled in vendor products
- Protect same-version swaps with fast detection and rollback rather than a full regression cycle
jradar puts this into practice.
Patchmageddon Team
The Patchmageddon team helps enterprises find every JVM in their estate, patch it on a sane cadence, and stop paying for Oracle Java they don't need.