This figure shows two JAR files. JAR file b1.jar
contains /META-INF/MANIFEST.MF
and /mypackage1/A.class
and /myprivatepackage1/B.class
. The MANIFEST.MF
file in the b1.jar
contains Import-Package: package2
. JAR file b2.jar
contains /META-INF/MANIFEST.MF
and /package2/C.class
and /privatepackage2/D.class
. The MANIFEST.MF
file in the b2.jar
contains Export-Package: package2
.