Skip to content

A small application to demonstrate the Java Platform Module System

License

Notifications You must be signed in to change notification settings

nipafx/demo-jpms-monitor

 
 

Repository files navigation

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

Split Packages at Compile Time

The modules monitor and monitor.statistics contain the same package monitor.statistics - they are said to split it. The module system forbids that and consequently compilation fails for a module that sees this package split, which in this case is only monitor:

monitor/src/main/java/monitor/statistics/SimpleStatistician.java:1:
	error: package exists in another module: monitor.statistics
package monitor.statistics;
^
1 error

About

A small application to demonstrate the Java Platform Module System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published