The class path is a flat search order that collapses module boundaries into an opaque runtime dependency graph. In production JVM systems, this creates a specific failure mode: when two JARs provide the same class, the loader resolves the first match it encounters. The "winning" version can shift between builds if dependency ordering changes. Local reproduction becomes unreliable because build tools do not guarantee identical resolution across environments.
The module system addresses this by making dependency graphs explicit and enforcing strong encapsulation at the JVM level. Each module declares exports and requirements. The JVM validates the graph at startup, rejecting split packages or missing dependencies before any application code executes. The failure moves left: from ClassNotFoundException or NoSuchMethodError at runtime to a resolution error at launch.
Migration cost is real. Many libraries still publish automatic modules or remain on the class path entirely. The operational question is whether a team can sustain the ambiguity of class path resolution against the risk of loading the wrong class version during a critical path. Diagnosis time in that scenario typically exceeds fix time by a significant margin.
For services where class resolution ambiguity is not acceptable, the tradeoff favors explicit module graphs despite migration friction. For others, the cost may not yet justify the shift.
At what point does nondeterministic class resolution become a higher operational risk than the migration effort to eliminate it?