Scrivio Interview library
LeadershipPrincipal5 min read · updated 12 November 2026

The module system took about ten years to deliver and is widely used by the JDK but less by applications. Why did it develop this way, and what does that tell you about introducing structural changes in a large organisation?

The JDK needed modules for itself, to hide its internals and to build smaller runtimes, and nothing else could give it that; applications already had working answers in Maven, Gradle and OSGi. Because compatibility kept the class path alive, applications felt little pressure to move, and libraries and tools took years to catch up. The lesson for an organisation is that a structural change succeeds when it gives clear value to the people who must do the work, and mandating it without that value buys cost and partial adoption.

Why this question is asked

This is a history question with a management question inside it. Interviewers at principal level ask it to see whether we can read a technical story as an adoption story, and then apply it to our own platform changes, such as a new build system, a service mesh or a monorepo. In this answer, we will recap how Project Jigsaw unfolded, explain why the JDK benefited so much more than applications, look at the role of compatibility and the ecosystem, and then turn that into rules for introducing structural change at work.

1A Quick Recap of the Ten-Year Road

Work on modularising the JDK, called Project Jigsaw, began around 2008. It was planned for Java 7, moved to Java 8, and finally shipped in Java 9 in 2017. The specification even had a public stumble: the first vote in the Java Community Process failed in 2017 over concerns from other vendors and tool makers, and passed only after revisions a few weeks later.

The delay was not lack of effort. The JDK had grown for twenty years without internal boundaries, so splitting it into about seventy modules meant untangling dependencies such as java.base reaching into desktop and logging code. At the same time, the design had to keep millions of existing applications running unchanged.

Step throughHow the module system arrived
  1. About 2008Project Jigsaw starts
  2. Java 7 and 8Planned, then deferred
  3. Java 9, 2017Modules ship; class path kept
  4. Java 16 and 17Strong encapsulation enforced
  5. TodayJDK fully modular; most apps still on the class path

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

2Why the JDK Gained More Than Applications

For the JDK, modules solved problems nothing else could. Strong encapsulation let it hide sun.* and jdk.internal.* packages, so it could change internals without breaking users. A dependency graph between its own modules made jlink possible, so a runtime can contain java.base and a few modules instead of the whole platform. Those benefits went directly to the people doing the work, the JDK engineers.

Applications were in a different position. Their main pains, managing dependencies and separating components, were already handled by Maven and Gradle modules, and teams that wanted runtime isolation had OSGi. JPMS did not solve the pain developers felt most, version conflicts, because it deliberately does not handle versions. So for an application team, adopting modules meant writing module-info files, opening packages for Spring and Hibernate, and fixing split packages, in return for boundaries they mostly had already.

3Compatibility Removed the Pressure to Move

The JDK chose, rightly, to keep the class path. Every existing application ran on Java 9 without a module-info, and still does today. That was essential for adoption of new Java versions, but it also meant there was never a deadline to modularise. A change that is optional, costly and gives little visible benefit tends to stay optional.

The ecosystem added more delay. Build tools, IDEs, test runners, annotation processors and frameworks all needed module path support, and each library had to choose a stable module name. Many settled for an Automatic-Module-Name in the manifest, which made them usable as modules without becoming real ones. Even today, frameworks that scan the class path or create proxies work most smoothly on the class path.

4What This Teaches About Structural Change

The pattern is general. Imagine a platform team that mandates that every service move to a new internal framework that gives the platform team better observability and control. The service teams pay the migration cost, but the value lands elsewhere. The predictable result is slow, partial adoption: new services use the framework, old ones never move, and the organisation now maintains two stacks.

The JDK story suggests what to do instead. First, be honest about who benefits. If the main benefit is for the platform, the platform should carry most of the cost, for example by automating the migration with OpenRewrite recipes or shared build plugins. Second, give the people doing the work a direct reward, such as faster builds, fewer incidents or less paperwork. Third, keep compatibility, but put a clear end date on the old path once the new one is better, as the JDK eventually did by enforcing encapsulation.

Who pays and who benefits
ChangeWho does the workWho gets the valueLikely adoption
Modules inside the JDKJDK engineersJDK engineers and usersComplete
Modules in applicationsApplication teamsMostly nobody newPartial
Mandated platform frameworkService teamsPlatform teamPartial, two stacks
Automated migration with a clear gainPlatform teamService teamsHigh

5Mandates Without Value

Mandating adoption is tempting because it looks decisive. But if the change has little value for the teams, a mandate produces compliance at the minimum level: module-info files that open everything, or a new framework wrapped around old code. We pay the cost and get none of the structure. In my experience, the better path is to pilot the change with one willing team, measure the gain, publish it, and let the result pull other teams in, while the platform team removes as much friction as it can.

6Follow-up questions

Was the module system a failure then?

No. It achieved its main goals: a modular JDK, strong encapsulation and jlink. Those make Java upgrades safer and runtimes smaller for everyone, including applications that never write a module-info. It is less used directly by applications, which was predictable given the costs and the existing alternatives.

When would you still push application teams to use modules?

For libraries that other teams depend on, where hiding internal packages protects the library's freedom to change, and for products that ship their own runtime with jlink. For a typical Spring service, I would rather use ArchUnit rules or build modules.

How do you decide whether a mandate is justified?

When the risk is shared and serious, such as a security fix or an end-of-support runtime, a mandate with a date is right, but it should come with tooling and support. When the benefit is mainly convenience for one group, persuasion and automation work better.

7Conclusion

In this answer, we saw that modules took a decade because the JDK had to untangle twenty years of growth while keeping every application running. The JDK gained what only modules could give it, encapsulation and jlink, while applications already had build tools and OSGi and kept the class path, so they had little reason to move. The lesson for organisations is to match cost with value: let the beneficiary carry the cost, automate migrations, reward the teams doing the work, and avoid mandates that produce only partial adoption.

What to say in the interviewAbout 90 seconds aloud

Open with

I would say the module system developed this way because the value and the cost landed on different people. The JDK needed modules for itself. It had twenty years of internals that libraries depended on, and only enforced boundaries would let it change them safely, and a module graph made jlink and smaller runtimes possible.

Then, if they want more

So the JDK team did the work, about ten years of it from Jigsaw's start around 2008 to Java 9 in 2017, and got the benefit. Applications were different. Maven and Gradle already gave them build-level modules and OSGi gave runtime isolation, and JPMS deliberately does not solve version conflicts, which is what developers actually struggle with.

Because compatibility kept the class path working, there was never pressure to move, and tools and frameworks took years to support the module path. For an organisation, the lesson is that a structural change succeeds when it gives clear value to those who must do the work.

If a platform team mandates a change that mainly helps the platform, teams comply at the minimum and we end up with two stacks. So I would let the beneficiary carry the cost, automate the migration, pilot with a willing team and publish the gain, and reserve hard mandates with dates for shared risks like security or end of support.

About this answer

Last updated
12 November 2026
Versions it names
Java 9, Java 7, Java 8
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 "The module system took about ten years to deliver and is widely used by the JDK but less...": https://scrivio-interview-library.netlify.app/java/modules/23b7b26b1b/