Scrivio Interview library
LeadershipAdvanced6 min read · updated 12 November 2026

Design a process for evaluating each new six-monthly Java release (26, 27 and so on) for your 300-service fleet without adopting every release.

I would give a small platform group the job of building and testing a representative sample of services on every new release, starting from its early-access builds, and reporting performance changes, breaking changes, deprecations and tool compatibility. Those findings feed the next LTS upgrade plan so issues are fixed while they are small. Teams that need a new feature can opt in to a non-LTS release if they commit to keep upgrading every six months, and the platform publishes a clear support matrix and timelines.

Why this question is asked

A company with 300 services cannot adopt every six-monthly Java release, but it also cannot ignore them. Each one contains the changes that will arrive in the next LTS, and finding them two years late is exactly how upgrades become painful. Interviewers ask this design question to see whether we can build a light process that gets the information without the cost of adoption. In this answer, we will set the goal, choose who does the work and which services to test, describe what we measure and report, show how findings feed the LTS plan, and handle the teams that want to opt in.

1The Goal: Learn From Every Release, Adopt Only Some

New Java releases arrive every March and September. The fleet runs on an LTS, for example 25, and moves to the next LTS, 29, two years later. Releases 26, 27 and 28 are not deployed widely, but every change in them will be in 29.

So the goal of the process is information, not adoption. For each release we want to know, early and cheaply, what would break, what would get faster or slower, what is deprecated and which tools are not ready. If we know that for 26, 27 and 28, the move to 29 holds almost no surprises.

Step throughEvaluating one new release
  1. Early-access builds publishedmonths before release
  2. Build sample services on the new JDK in CInon-blocking jobs
  3. Run tests and benchmarkscompare with the current LTS
  4. Classify findingsbreaking, deprecation, performance, tools
  5. Publish a short reportand update the support matrix
  6. Feed fixes into the next LTS planfix in shared libraries now

6 steps in order. Play them, or step through them one at a time.

2Who Does the Work and Which Services We Test

A small platform group, two or three engineers part of their time, owns the evaluation. They do not need the whole fleet; they need a sample that represents it. We pick perhaps 20 to 30 services: the most common stacks (for example Spring Boot MVC, WebFlux, batch jobs, Kafka consumers), the services with the most unusual dependencies, the heaviest users of bytecode tools and agents, and a few high-traffic services where performance changes would matter. Shared libraries and the platform BOM are always in the sample, because they affect everyone.

Each sample service gets an extra CI job that builds and tests it on the new JDK. Early-access builds are published on jdk.java.net for each release in development, so these jobs can start months before the release date. The jobs are non-blocking: a failure never stops the team's normal merges; it becomes a finding for the platform group.

YAML
# Extra, non-blocking CI job for sample services (GitHub Actions style)
jdk-next:
continue-on-error: true
strategy:
matrix:
java: [ '25', '26-ea' ] # current LTS and the next release's early-access build
steps:
- uses: actions/setup-java@v4
with: { distribution: temurin, java-version: '${{ matrix.java }}' }
- run: ./mvnw -B verify
- run: ./scripts/bench-smoke.sh # short benchmark, results uploaded

3What We Measure and Report

We look at four kinds of finding. Breaking changes are failures in compile or tests: a removed API, a changed default, stricter checks. Deprecations are warnings that will become breaking changes later, often listed in the release notes before they show up in our builds. Performance changes come from a short, repeatable benchmark on the sample services, comparing startup time, throughput, latency percentiles, memory and GC pauses with the current LTS. Tool compatibility covers build plugins, Lombok, coverage tools, bytecode libraries such as ASM and Byte Buddy, and APM agents.

The report for each release is short, one or two pages, and always in the same shape: what changed that affects us, what we must fix and where, what got better, and which tools are not ready yet. It is published internally and linked from the support matrix.

Example findings report for one release
FindingKindAction
Agent X fails on new class file versionTool compatibilityVendor fix due; track in matrix
Library Y uses a removed JVM flagBreakingFix in platform base image now
sun.misc.Unsafe memory methods warnDeprecationUpgrade libraries that still use them
Startup 8% faster on sample servicesPerformanceNote for the LTS business case
Lombok needs a newer versionTool compatibilityBump in BOM
The same shape every release keeps reports quick to read and compare.

4Feeding Findings Into the Next LTS Plan

The point of the reports is to change the LTS plan while it is still cheap. A finding in 26 that is fixable on 25, such as upgrading a library or removing a deprecated flag, is fixed now, in the shared library or the BOM, so it never becomes a migration task. A finding that needs a vendor fix goes into the compatibility matrix with a date, so we know before 29 arrives whether the vendor delivered.

By the time 29 ships, three rounds of evaluation have cleared most issues. The LTS migration plan is then mostly about rolling out, not about discovery, and the business case can cite the measured performance gains from the reports.

5Opt-In for Teams That Need a New Feature

Some teams will have a good reason to run a non-LTS release, such as a final feature they need or a measured performance gain. The process allows it, with conditions. The team commits to move to every following release within its support window, until the next LTS. The service must have strong automated tests and pass the evaluation job. And the platform provides base images for the current non-LTS release only, not for older ones.

If the team stops upgrading, the service goes back to the LTS track. That keeps the opt-in honest and keeps the platform from supporting a growing collection of abandoned versions.

6A Clear Support Matrix and Timelines

Finally, everything is visible in one place. The support matrix lists each JDK version, whether it is LTS, its status in our platform (supported, opt-in, evaluation only, retiring), the dates when its support starts and ends, and the minimum versions of key frameworks and tools.

Publishing timelines in advance, such as when 29 becomes the default and when 25 stops being supported, lets teams plan their own work. Combined with the release reports, it means nobody is surprised by a Java release again.

7Follow-up questions

Why not test all 300 services on every release?

Because the cost grows with the fleet while the information does not. A well-chosen sample of 20 to 30 services covers the stacks and dependencies that matter, and most failures come from a few shared causes. Once the LTS is out, all 300 run the next-JDK job.

How do you keep benchmarks reliable enough to compare?

We run them on the same hardware or instance type, with the same JVM settings, several times, and compare against the LTS run from the same week. Small differences of a few percent are treated as noise unless they repeat across releases.

What if the platform group is too busy to do this?

Then the next LTS upgrade will cost more than the evaluation would have. The evaluation work is a small, fixed part of the platform budget, and it is the cheapest risk reduction in the whole upgrade programme.

8Conclusion

In this answer, we designed a light process for every six-monthly Java release: a small platform group tests a representative sample of services on each release, starting with early-access builds, and reports breaking changes, deprecations, performance changes and tool compatibility. Findings are fixed early and feed the next LTS plan, teams may opt in to a non-LTS release if they commit to keep upgrading, and a published support matrix with timelines keeps everyone informed.

What to say in the interviewAbout 70 seconds aloud

Open with

The aim is to learn from every release without adopting every release. I would give a small platform group, two or three engineers part time, ownership of it.

Then, if they want more

They pick a representative sample of 20 to 30 services, covering our common stacks, unusual dependencies, heavy users of agents and bytecode tools, plus our shared libraries and BOM, and add a non-blocking CI job that builds and tests them on the new JDK, starting with the early-access builds months before release.

For each release they publish a short report in the same shape: breaking changes, deprecations, performance compared with our LTS from a repeatable benchmark, and tool compatibility like Lombok, ASM, Byte Buddy and APM agents.

Anything fixable now gets fixed in shared libraries or the BOM, and vendor issues go into the compatibility matrix, so the next LTS migration is mostly rollout. Teams that need a new feature can opt in to a non-LTS release if they commit to upgrade every six months until the next LTS, otherwise they go back.

And everything is visible in a published support matrix with dates, so teams can plan.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Design a process for evaluating each new six-monthly Java release (26, 27 and so on) for...": https://scrivio-interview-library.netlify.app/java/java-versions/c29b14a669/