Skip to content

nipafx/demo-jpms-monitor

 
 

Repository files navigation

↗️ This README only covers one section of the demo. The master branch contains more information.

Cyclic Dependencies at Compile Time

The modules in this branch create a simple cyclic dependency:

  • monitor.persistence depends on monitor.statistics (as usual)
  • monitor.statistics depends on monitor.persistence (this is new)

When compiling modules one by one, there is no way to observe the cycle because one dependency is always missing. Multi-module compilation gets around that and results in the following error:

TODO: Does it, though?

(Only in multi-compile.sh, not with Maven.)

About

A small application to demonstrate the Java Platform Module System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published