Reviewing Module Directives
Common module directives
exports <package> exports <package> to <module> requires <module> requires transitive <module> uses <interface> provides <interface> with <class> Comparing Types of Modules
Three types of modules:
named modulesautomatic modulesunnamed modulesCLASSPATH VS. MODULE PATH
NAMED MODULES
AUTOMATIC MODULES
ABOUT THE MANIFEST
Manifest-Version: 1.0 Created-By: 11.0.2 (Oracle Corporation)
Determining the name of an automatic module.
Practicing with automatic module names
commons2‐x‐1.0.0‐SNAPSHOT.jar
commons2‐x‐1.0.0‐SNAPSHOT.jarcommons2‐x‐1.0.0‐SNAPSHOTcommons2‐xcommons2.xcommons2.xcommons2.xPracticing with automatic module names
mod_$‐1.0.jar
mod_$‐1.0.jarmod_$‐1.0mod_$mod..mod.modUNNAMED MODULES
COMPARING MODULE TYPES
test
Analyzing JDK Dependencies
test
IDENTIFYING BUILT-IN MODULES
test
USING JDEPS
test
ABOUT SUN.MISC.UNSAFE
test
Migrating an Application
test
MIGRATING YOUR APPLICATIONS AT WORK
test
DETERMINING THE ORDER
test
EXPLORING A BOTTOM-UP MIGRATION STRATEGY
test
EXPLORING A TOP-DOWN MIGRATION STRATEGY
test
SPLITTING A BIG PROJECT INTO MODULES
test
FAILING TO COMPILE WITH A CYCLIC DEPENDENCY
test
Creating a Service
test
DECLARING THE SERVICE PROVIDER INTERFACE
test