├── .gitignore
├── LICENSE
├── README.md
└── jigsaw-examples
├── .gitignore
├── all.sh
├── allclean.sh
├── allcompile.sh
├── alldepvis-print.sh
├── alldepvis-vis.sh
├── alljavadoc.sh
├── allrun.sh
├── env.sh
├── example_addExports_manifest
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── moda
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgainternal
│ │ │ └── A.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── META-INF
│ │ └── MANIFEST.MF
│ │ ├── Main_run_from_JAR_using_JAR-manifest-entry_AddExports.launch
│ │ ├── Main_run_with_runtime_option_add-exports.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_addReads_addExports
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ └── B.java
│ ├── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgc
│ │ │ └── C.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_addReads_addExports_reflection
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkgb
│ │ │ └── BExportHelper.java
│ │ └── pkgbinternal
│ │ │ └── InternalB.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_agent
├── readme.md
└── start_eclipse4.7.3a.sh
├── example_annotations
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── mod.annotations
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgannotations
│ │ │ ├── CompileTimeAnnotation.java
│ │ │ ├── ReallyCoolModule.java
│ │ │ └── RunTimeAnnotation.java
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ └── B.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_automatic-module-logging
├── .gitignore
├── all.sh
├── amlib-api
│ └── slf4j-api-1.7.12.jar
├── amlib-jdk14
│ └── slf4j-jdk14-1.7.12.jar
├── amlib-simple
│ └── slf4j-simple-1.7.12.jar
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run-jdk14.sh
├── run-simple-and-jdk14.sh
├── run-simple.sh
├── src
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main_with-slf4j-and-both-simple-and-jdk14-implementation_runtime-error.launch
│ │ ├── Main_with-slf4j-and-jdk14-implementation.launch
│ │ ├── Main_with-slf4j-and-simple-logging-implementation.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_compile-target-jdk8
├── .gitignore
├── all.sh
├── classes-jdk8
│ └── .gitignore
├── classes-jdk9
│ └── .gitignore
├── clean.sh
├── compile-jdk9-for-release8.sh
├── compile-jdk9-for-release9.sh
├── compile.sh
├── cplib
│ └── .gitignore
├── readme.md
├── run-jdk8.sh
├── run-jdk8_compiled-with-jdk8-for-release8.sh
├── run-jdk9.sh
├── src
│ └── cpmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── src
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_derived_private-package-protected
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkgb
│ │ │ ├── B.java
│ │ │ ├── Data.java
│ │ │ └── DataFactory.java
│ │ └── pkgbinternal
│ │ │ ├── InternalBHelper.java
│ │ │ ├── InternalBSuperClass.java
│ │ │ └── InternalData.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_exceptions
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkgb
│ │ │ ├── B.java
│ │ │ ├── MyException.java
│ │ │ └── MyRuntimeException.java
│ │ └── pkgbinternal
│ │ │ ├── MyInternalException.java
│ │ │ └── MyInternalRuntimeException.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_gradle-project
├── .gitignore
├── all.sh
├── amlib
│ ├── hamcrest-core-1.3.jar
│ └── junit-4.12.jar
├── build.gradle
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis-with-facade.properties
├── depvis.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── moda
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── build.gradle
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ ├── module-info.java
│ │ │ ├── pkga1
│ │ │ └── A1.java
│ │ │ ├── pkga2
│ │ │ └── A2.java
│ │ │ ├── pkga3
│ │ │ └── A3.java
│ │ │ └── pkgainternal
│ │ │ └── InternalA.java
│ │ └── test
│ │ └── java
│ │ └── pkga1
│ │ └── A1Test.java
├── modb
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ └── java
│ │ ├── module-info.java
│ │ └── pkgb
│ │ └── B.java
├── modc
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ └── java
│ │ ├── module-info.java
│ │ └── pkgc
│ │ └── C.java
├── modfacade
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ └── java
│ │ └── module-info.java
├── modmain
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── Main.launch
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ └── java
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
├── modmainbehindfacade
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── MainBehindFacade.launch
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ └── java
│ │ ├── module-info.java
│ │ └── pkgmainbehindfacade
│ │ └── MainBehindFacade.java
├── moduledependencies-with-facade-withlegend.dot
├── moduledependencies-with-facade-withlegend.png
├── moduledependencies-with-facade.dot
├── moduledependencies-with-facade.png
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run-test.sh
├── run.sh
├── settings.gradle
└── start_eclipse4.7.3a.sh
├── example_hiddenmain
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── HiddenMain.launch
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ ├── pkgmain
│ │ └── Main.java
│ │ └── pkgmainhidden
│ │ └── HiddenMain.java
└── start_eclipse4.7.3a.sh
├── example_interface-callback
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modcallbackhandler
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgcallbackhandler
│ │ │ └── MyCallbackImpl.java
│ ├── modcallee
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgcallee
│ │ │ ├── Callee.java
│ │ │ └── ICallback.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_jerrymouse
├── .gitignore
├── all.sh
├── amlib
│ └── javax.json-1.0.4.jar
├── apps_copyallexamples2appdir.sh
├── apps_whitelist.txt
├── clean.sh
├── compile.sh
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── readme.md
├── run.sh
├── src
│ └── modstarter
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── JerryMouse-Starter.launch
│ │ ├── module-info.java
│ │ └── pkgstarter
│ │ └── Starter.java
└── start_eclipse4.7.3a.sh
├── example_layer-hierarchy
├── .gitignore
├── all.sh
├── amlib
│ └── javax.json-1.0.4.jar
├── clean.sh
├── compile.sh
├── javadoc.sh
├── layers_triple_hierarchy.json
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── readme.md
├── run.sh
├── src
│ ├── mod.layer
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkglayer
│ │ │ ├── AbstractLayerRef.java
│ │ │ ├── LayerGroup.java
│ │ │ ├── LayerHierarchy.java
│ │ │ └── LayerRef.java
│ ├── mod.main
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ ├── LayerBuilder.java
│ │ │ ├── Main.java
│ │ │ └── ModuleCaller.java
│ ├── mod.u_bottom_middle_top
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgu
│ │ │ └── U.java
│ ├── mod.x_bottom
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgx
│ │ │ └── X.java
│ ├── mod.x_middle
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgx
│ │ │ └── X.java
│ ├── mod.x_top
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgx
│ │ │ └── X.java
│ ├── mod.y_bottom
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgy
│ │ │ └── bottom
│ │ │ └── YBottomClass.java
│ ├── mod.y_middle
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgy
│ │ │ └── middle
│ │ │ └── YMiddleClass.java
│ ├── mod.y_top
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgy
│ │ │ └── top
│ │ │ └── YTopClass.java
│ ├── mod.z_bottom
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgz
│ │ │ └── bottom
│ │ │ └── ZBottomClass.java
│ ├── mod.z_middle
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgz
│ │ │ └── middle
│ │ │ └── ZMiddleClass.java
│ ├── mod.z_top
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgz
│ │ │ └── top
│ │ │ └── ZTopClass.java
│ ├── mod.zreverse_bottom
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgzreverse
│ │ │ └── bottom
│ │ │ └── ZBottomClass.java
│ ├── mod.zreverse_middle
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgzreverse
│ │ │ └── middle
│ │ │ └── ZMiddleClass.java
│ └── mod.zreverse_top
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgzreverse
│ │ └── top
│ │ └── ZTopClass.java
└── start_eclipse4.7.3a.sh
├── example_layer-modules-all-in-boot-layer
├── .gitignore
├── all.sh
├── amlib1
│ └── .gitignore
├── classes
│ └── .gitignore
├── clean.sh
├── compile-cp.sh
├── compile-modules.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modauto1
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgversion
│ │ │ └── Version1.java
│ ├── modbar
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgbar
│ │ │ └── Bar.java
│ ├── modcommon
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgcommon
│ │ │ ├── IdGen.java
│ │ │ └── LayerPrinter.java
│ ├── modfoo
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgfoo
│ │ │ └── Foo.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_layer-modules-grouped-in-hierarchy
├── .gitignore
├── all.sh
├── amlib1
│ └── .gitignore
├── amlib2
│ └── .gitignore
├── classes
│ └── .gitignore
├── clean.sh
├── compile-cp.sh
├── compile-modules.sh
├── compile.sh
├── eclipse.out
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modauto1
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgversion
│ │ │ └── Version1.java
│ ├── modauto2
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgversion
│ │ │ └── Version2.java
│ ├── modbar
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgbar
│ │ │ └── Bar.java
│ ├── modcommon
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgcommon
│ │ │ ├── IdGen.java
│ │ │ └── LayerPrinter.java
│ ├── modfoo
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgfoo
│ │ │ └── Foo.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_layer-modules-module-resolution
├── .gitignore
├── all.sh
├── barmlib
│ └── .gitignore
├── clean.sh
├── compile.sh
├── foomlib
│ └── .gitignore
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── mods2
│ └── .gitignore
├── readme.md
├── run.sh
├── src
│ ├── modbar
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgbar
│ │ │ └── Bar.java
│ ├── modcommon
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgcommon
│ │ │ ├── IdGen.java
│ │ │ └── LayerPrinter.java
│ ├── modfoo
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgfoo
│ │ │ └── Foo.java
│ ├── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── modversion1
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgversion
│ │ │ └── Version1.java
│ └── modversion2
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgversion
│ │ └── Version2.java
├── src2
│ └── modcommon
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgcommon
│ │ ├── IdGen.java
│ │ └── LayerPrinter.java
└── start_eclipse4.7.3a.sh
├── example_maven-project
├── .gitignore
├── all.sh
├── amlib
│ ├── hamcrest-core-1.3.jar
│ └── junit-4.12.jar
├── clean.sh
├── compile.sh
├── javadoc.sh
├── mvn_settings.xml
├── readme.md
├── run.sh
├── src
│ ├── moda
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ ├── module-info.java
│ │ │ │ ├── pkga
│ │ │ │ └── A.java
│ │ │ │ └── pkgainternal
│ │ │ │ └── InternalA.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── pkga
│ │ │ └── InternalATest.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── pom.xml
│ │ └── src
│ │ └── main
│ │ └── java
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_maven-test-blackbox
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── mvn_settings.xml
├── pom.xml
├── readme.md
├── run.sh
├── src
│ ├── main
│ │ └── java
│ │ │ ├── module-info.java
│ │ │ └── pkgmain
│ │ │ ├── Main.java
│ │ │ └── internal
│ │ │ └── InternalFractionHelper.java
│ └── test
│ │ └── java
│ │ ├── blackbox
│ │ └── FractionTest.java
│ │ └── module-info.java
└── start_eclipse4.7.3a.sh
├── example_maven-test-whitebox
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── mvn_settings.xml
├── pom.xml
├── readme.md
├── run.sh
├── src
│ ├── main
│ │ └── java
│ │ │ ├── module-info.java
│ │ │ └── pkgmain
│ │ │ ├── Main.java
│ │ │ └── internal
│ │ │ └── InternalFractionHelper.java
│ └── test
│ │ └── java
│ │ └── whitebox
│ │ └── InternalFractionHelperTest.java
└── start_eclipse4.7.3a.sh
├── example_naming-modules
├── .gitignore
├── all.sh
├── amlib1
│ └── .gitignore
├── amlib2
│ └── .gitignore
├── amlib3
│ └── .gitignore
├── amlib4
│ └── .gitignore
├── classes
│ └── .gitignore
├── clean.sh
├── compile.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── readme.md
├── run.sh
├── src
│ ├── automatic-whatever
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── automatic-whateverX-47.11
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── automatic-whateverX48.12
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── automatic-whateverX49-13
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── java.whatever
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── jdk.whatever
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── mod-client
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── mod.client
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── mod.interface
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── mod_client
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── modjava
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ └── modmain
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_patch
├── .gitignore
├── all.sh
├── clean.sh
├── compile-patch.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── patches
│ └── .gitignore
├── patchlib
│ └── .gitignore
├── readme.md
├── run-patch.sh
├── run.sh
├── src
│ ├── modb-patch
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgb
│ │ │ └── B.java
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ ├── B.java
│ │ │ └── util
│ │ │ └── Helper.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── Main_with-patch-classes.launch
│ │ ├── Main_with-patch-modul.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_reflection
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkgb
│ │ │ └── B.java
│ │ ├── pkgb1
│ │ │ └── B1.java
│ │ └── pkgbinternal
│ │ │ └── InternalB.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_requires-static
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ └── B.java
│ ├── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgc
│ │ │ └── C.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main_runtime-error_as-modules-modb-and-modc-not-found_because-static.launch
│ │ ├── Main_with-add-modules-options.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_requires_exports-to
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb1
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb1
│ │ │ └── B1.java
│ ├── modb2
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb2
│ │ │ └── B2.java
│ ├── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgc
│ │ │ └── C.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_requires_exports
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ └── B.java
│ ├── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgc
│ │ │ └── C.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_requires_exports_requires-transitive_exports-to
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis-with-facade.properties
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-with-facade-withlegend.dot
├── moduledependencies-with-facade-withlegend.png
├── moduledependencies-with-facade.dot
├── moduledependencies-with-facade.png
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run-main.sh
├── run-mainbehindfacade.sh
├── run.sh
├── src
│ ├── moda
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkga1
│ │ │ └── A1.java
│ │ ├── pkga2
│ │ │ └── A2.java
│ │ ├── pkga3
│ │ │ └── A3.java
│ │ └── pkgainternal
│ │ │ └── InternalA.java
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ └── B.java
│ ├── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgc
│ │ │ └── C.java
│ ├── modfacade
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── module-info.java
│ ├── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ └── modmainbehindfacade
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── MainBehindFacade.launch
│ │ ├── module-info.java
│ │ └── pkgmainbehindfacade
│ │ └── MainBehindFacade.java
└── start_eclipse4.7.3a.sh
├── example_resolved-modules
├── .gitignore
├── all.sh
├── amlib
│ └── javax.json-1.0.4.jar
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── moda
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── AMain.launch
│ │ ├── module-info.java
│ │ └── pkga
│ │ │ └── AMain.java
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── BMain.launch
│ │ ├── BMain_plus--add-modules-for-modc.launch
│ │ ├── BMain_plus-automatic-module-javax.json.launch
│ │ ├── BMain_with-limitmods-for-modb.launch
│ │ ├── BMain_with-limitmods-on-module-java.logging-and-java.scripting.launch
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ └── BMain.java
│ └── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── CMain.launch
│ │ ├── module-info.java
│ │ └── pkgc
│ │ └── CMain.java
└── start_eclipse4.7.3a.sh
├── example_resources
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkgb
│ │ │ ├── B.java
│ │ │ └── b.properties
│ │ ├── pkgbinternal
│ │ │ ├── BInternal.java
│ │ │ └── binternal.properties
│ │ └── resources.modb
│ │ │ └── resources.properties
│ ├── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── cnopackage.properties
│ │ ├── module-info.java
│ │ ├── pkgc
│ │ │ ├── C.java
│ │ │ └── c.properties
│ │ ├── pkgcinternal
│ │ │ ├── CInternal.java
│ │ │ └── cinternal.properties
│ │ └── resources.modc
│ │ │ └── resources.properties
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_splitpackage
├── .gitignore
├── all.sh
├── clean.sh
├── compile-bar.sh
├── compile-foo.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run-bar.sh
├── run-foo.sh
├── run.sh
├── show-split-packages.sh
├── src
│ ├── modmainbar
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── MainBar_with-runtime-error.launch
│ │ ├── module-info.java
│ │ └── pkgmainbar
│ │ │ └── Main.java
│ ├── modmainfoo
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgmainfoo
│ │ │ └── Main.java
│ ├── modsplitbar1
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgbar
│ │ │ └── Bar1.java
│ ├── modsplitbar2
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgbar
│ │ │ └── Bar2.java
│ ├── modsplitfoo1
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgfoo
│ │ │ └── Foo1.java
│ └── modsplitfoo2
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgfoo
│ │ └── Foo2.java
└── start_eclipse4.7.3a.sh
├── example_splitpackage_automatic-modules
├── .gitignore
├── all.sh
├── amlib1
│ └── .gitignore
├── amlib2
│ └── .gitignore
├── clean.sh
├── compile-cp.sh
├── compile-modules.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── run_with-extended-module-path.sh
├── src
│ ├── modauto1
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgsplitted
│ │ │ └── Version1.java
│ ├── modauto2
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgsplitted
│ │ │ └── Version2.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_spring-hibernate
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── mvn_settings.xml
├── readme.md
├── run-from-cli.sh
├── run-test.sh
├── run.sh
├── src
│ ├── mod.app
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ ├── de
│ │ │ │ │ └── accso
│ │ │ │ │ │ └── jigsaw
│ │ │ │ │ │ └── example_springhibernate
│ │ │ │ │ │ └── ExampleSpringHibernateApplication.java
│ │ │ │ └── module-info.java
│ │ │ └── resources
│ │ │ │ └── application.properties
│ │ │ └── test
│ │ │ └── java
│ │ │ └── de
│ │ │ └── accso
│ │ │ └── jigsaw
│ │ │ └── example_springhibernate
│ │ │ └── ExampleSpringHibernateApplicationTests.java
│ └── pom.xml
└── start_eclipse4.7.3a.sh
├── example_test
├── .gitignore
├── all.sh
├── amlib
│ ├── hamcrest-core-1.3.jar
│ └── junit-4.12.jar
├── clean.sh
├── compile-blackboxtest.sh
├── compile-whiteboxtest.sh
├── compile-whiteboxtest_optionsfile
├── compile-whiteboxtest_with-optionsfile.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── patches
│ └── .gitignore
├── patchlib
│ └── .gitignore
├── readme.md
├── run-blackboxtest.sh
├── run-whiteboxtest.sh
├── run-whiteboxtest_optionsfile
├── run-whiteboxtest_with-optionsfile.sh
├── run.sh
├── src
│ ├── modfib
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgfib
│ │ │ ├── Fibonacci.java
│ │ │ └── internal
│ │ │ └── MathHelper.java
│ ├── modtest.blackbox
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgblacktest
│ │ │ └── BlackBoxTest.java
│ └── modtest.whitebox
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgfib
│ │ └── WhiteBoxTest.java
└── start_eclipse4.7.3a.sh
├── example_unnamed-module-reflection-illegal-access
├── .gitignore
├── all.sh
├── classes
│ └── .gitignore
├── clean.sh
├── compile-cp.sh
├── compile-modules.sh
├── compile.sh
├── cplib
│ └── .gitignore
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── cpmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgcpmain
│ │ │ ├── MainCallingJavaBaseJDKInternal.java
│ │ │ ├── MainCallingJavaBaseSunIO.java
│ │ │ ├── MainCallingJavaDesktop.java
│ │ │ └── MainCallingModB.java
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkgb
│ │ │ └── BFromModule.java
│ │ ├── pkgbexportedqualified
│ │ │ └── BFromModuleButExportedQualified.java
│ │ └── pkgbinternal
│ │ │ └── BFromModuleButInternal.java
│ └── modc
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── module-info.java
└── start_eclipse4.7.3a.sh
├── example_unnamed-module_access-from-automatic-module
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── readme.md
├── run.sh
├── src
│ ├── cpa
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkga
│ │ │ └── A.java
│ └── modmain.auto
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_unnamed-module_access-from-explicit-module-reflection
├── .gitignore
├── all.sh
├── classes
│ └── .gitignore
├── clean.sh
├── compile-cp.sh
├── compile-modules.sh
├── compile.sh
├── cplib
│ └── .gitignore
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── cpb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── pkgb
│ │ │ ├── B.java
│ │ │ └── BFromClasspath.java
│ │ └── pkgboncp
│ │ │ └── BFromClasspath.java
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ ├── B.java
│ │ │ └── BFromModule.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_unnamed-module_access-from-explicit-module
├── .gitignore
├── all.sh
├── classes
│ └── .gitignore
├── clean.sh
├── compile-cp.sh
├── compile-modules.sh
├── compile.sh
├── cplib
│ └── .gitignore
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── cpb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── pkgb
│ │ │ ├── B.java
│ │ │ └── BFromClasspath.java
│ │ └── pkgboncp
│ │ │ └── BFromClasspath.java
│ ├── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── pkgb
│ │ │ ├── B.java
│ │ │ └── BFromModule.java
│ └── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ └── Main.java
└── start_eclipse4.7.3a.sh
├── example_unnamed-module_accessing-module-path
├── .gitignore
├── all.sh
├── classes
│ └── .gitignore
├── clean.sh
├── compile-cp.sh
├── compile-modules.sh
├── compile.sh
├── cplib
│ └── .gitignore
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── cpb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── pkgb
│ │ │ ├── B.java
│ │ │ └── BFromClasspath.java
│ │ └── pkgboncp
│ │ │ └── BFromClasspath.java
│ ├── cpmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ └── pkgcpmain
│ │ │ └── Main.java
│ └── modb
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ ├── pkgb
│ │ ├── B.java
│ │ └── BFromModule.java
│ │ └── pkgbinternal
│ │ └── BFromModuleButInternal.java
└── start_eclipse4.7.3a.sh
├── example_uses-provides
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ └── Main.java
│ ├── modservice.impl.com
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── com
│ │ │ └── service
│ │ │ │ └── impl
│ │ │ │ └── ServiceImpl.java
│ │ └── module-info.java
│ ├── modservice.impl.net
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── net
│ │ │ └── service
│ │ │ └── impl
│ │ │ └── ServiceImpl.java
│ └── modservicedefinition
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── myservice
│ │ ├── Factory.java
│ │ └── IService.java
└── start_eclipse4.7.3a.sh
├── example_uses-provides_uses-in-client
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── depvis-print.sh
├── depvis-vis.sh
├── depvis.properties
├── javadoc.sh
├── mlib
│ └── .gitignore
├── mods
│ └── .gitignore
├── moduledependencies-withlegend.dot
├── moduledependencies-withlegend.png
├── moduledependencies.dot
├── moduledependencies.png
├── readme.md
├── run.sh
├── src
│ ├── modmain
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── Main.launch
│ │ ├── module-info.java
│ │ └── pkgmain
│ │ │ ├── Factory.java
│ │ │ └── Main.java
│ ├── modservice.impl.com
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── com
│ │ │ └── service
│ │ │ │ └── impl
│ │ │ │ └── ServiceImpl.java
│ │ └── module-info.java
│ ├── modservice.impl.net
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── net
│ │ │ └── service
│ │ │ └── impl
│ │ │ └── ServiceImpl.java
│ └── modservicedefinition
│ │ ├── .classpath
│ │ ├── .gitignore
│ │ ├── .project
│ │ ├── module-info.java
│ │ └── myservice
│ │ └── IService.java
└── start_eclipse4.7.3a.sh
└── example_version
├── .gitignore
├── all.sh
├── clean.sh
├── compile.sh
├── mlib
└── .gitignore
├── mods
└── .gitignore
├── readme.md
├── run.sh
├── src
└── modmain
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── Main.launch
│ ├── module-info.java
│ └── pkgmain
│ └── Main.java
└── start_eclipse4.7.3a.sh
/.gitignore:
--------------------------------------------------------------------------------
1 | /jigsaw-examples/start_eclipse4.6-java9.bat
2 | /jigsaw-examples/*/.metadata
3 | /jigsaw-examples/*/mlib/*.jar
4 | /jigsaw-examples/*/patchlib/*.jar
5 | /jigsaw-examples/*/cplib/*.jar
6 | /jigsaw-examples/*/src/*/target
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /.recommenders/
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addExports_manifest/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addExports_manifest/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addExports_manifest/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/src/moda/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/src/moda/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/src/moda/module-info.java:
--------------------------------------------------------------------------------
1 | module moda {
2 | // nothing exported - package 'pkgainternal' will be accessible only with Runtime option --add-exports
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/src/moda/pkgainternal/A.java:
--------------------------------------------------------------------------------
1 | package pkgainternal;
2 |
3 | public class A {
4 | public String doIt() {
5 | return "from A";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/src/modmain/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Created-By: 9-ea (Oracle Corporation)
3 | Add-Exports: java.base/jdk.internal.misc moda/pkgainternal
4 | Main-Class: pkgmain.Main
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addExports_manifest/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires moda;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addReads_addExports/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addReads_addExports/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addReads_addExports/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | // not done here but via --add-reads on the command line
3 | // requires modc;
4 |
5 | // not done here but via --add-exports on the command line
6 | // exports pkgb;
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modc/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modc/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | // not done here but via --add-exports on the command line
3 | // exports pkgc;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modc/pkgc/C.java:
--------------------------------------------------------------------------------
1 | package pkgc;
2 |
3 | public class C {
4 | public String doIt() {
5 | return "from C";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | // not done here but via --add-reads on the command line
3 | // requires modb;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addReads_addExports_reflection/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addReads_addExports_reflection/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_addReads_addExports_reflection/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/src/modb/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | // not done here but via command-line option
3 | // exports pkgb;
4 |
5 | // not done here but dynamically via reflection
6 | // exports pkgbinternal;
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/src/modb/pkgbinternal/InternalB.java:
--------------------------------------------------------------------------------
1 | package pkgbinternal;
2 |
3 | public class InternalB {
4 | public String doIt() {
5 | return "from InternalB";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_addReads_addExports_reflection/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | // not done here but via reflection
3 | // requires modb;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_agent/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_agent/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_annotations/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_annotations/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_annotations/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/src/mod.annotations/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/src/mod.annotations/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/src/mod.annotations/module-info.java:
--------------------------------------------------------------------------------
1 | import pkgannotations.RunTimeAnnotation;
2 |
3 | @RunTimeAnnotation
4 | module mod.annotations {
5 | exports pkgannotations;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/src/modb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from B";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_annotations/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/amlib-api/slf4j-api-1.7.12.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_automatic-module-logging/amlib-api/slf4j-api-1.7.12.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/amlib-jdk14/slf4j-jdk14-1.7.12.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_automatic-module-logging/amlib-jdk14/slf4j-jdk14-1.7.12.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/amlib-simple/slf4j-simple-1.7.12.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_automatic-module-logging/amlib-simple/slf4j-simple-1.7.12.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 |
10 | rm -rf doc
11 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_automatic-module-logging/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_automatic-module-logging/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_automatic-module-logging/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires slf4j.api; // note: must not be called slf4j-api (no '-' allowed in module names)
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/classes-jdk8/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/classes-jdk9/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf classes*/*
4 | rm -rf cplib/*.jar
5 |
6 | mkdir -p classes-jdk8
7 | mkdir -p classes-jdk9
8 | mkdir -p cplib
9 |
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/compile.sh:
--------------------------------------------------------------------------------
1 | . ./compile-jdk9-for-release8.sh
2 | . ./compile-jdk9-for-release9.sh
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/cplib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/src/cpmain/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/src/cpmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_compile-target-jdk8/src/cpmain/src/pkgmain/Main.java:
--------------------------------------------------------------------------------
1 | package pkgmain;
2 |
3 | public class Main {
4 | public static void main(String[] args) {
5 | System.out.println("Simple test to find out if code compiled with jdk9 runs with jdk8. If you see this output, the call worked!");
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_derived_private-package-protected/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_derived_private-package-protected/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_derived_private-package-protected/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modb/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modb/pkgb/Data.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class Data {
4 | public String getName() {
5 | return "is Data";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modb/pkgbinternal/InternalBHelper.java:
--------------------------------------------------------------------------------
1 | package pkgbinternal;
2 |
3 | public class InternalBHelper {
4 | public String doIt() {
5 | return "from pkgbinternal.InternalBHelper";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modb/pkgbinternal/InternalData.java:
--------------------------------------------------------------------------------
1 | package pkgbinternal;
2 |
3 | import pkgb.Data;
4 |
5 | public class InternalData extends Data {
6 | @Override
7 | public String getName() {
8 | return "is InternalData";
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_derived_private-package-protected/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_exceptions/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_exceptions/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_exceptions/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/src/modb/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/src/modb/pkgb/MyException.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class MyException extends Exception {
4 | private static final long serialVersionUID = 1L;
5 |
6 | public MyException() {
7 | super("MyException's message");
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_exceptions/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/.gitignore:
--------------------------------------------------------------------------------
1 | /.gradle
2 | /target/
3 | /.metadata/
4 | /RemoteSystemsTempFiles/
5 | /.recommenders/
6 | /doc/
7 | /eclipse.out
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/amlib/hamcrest-core-1.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/amlib/hamcrest-core-1.3.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/amlib/junit-4.12.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/amlib/junit-4.12.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | chmod a+x ./gradlew
4 | ./gradlew --info --stacktrace --no-daemon clean 2>&1
5 |
6 | rm -rf mlib/*.jar
7 | mkdir -p mlib
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStorePath=wrapper/dists
5 | zipStoreBase=GRADLE_USER_HOME
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moda/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /build
3 | /target
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moda/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'java-library'
3 | }
4 |
5 | dependencies {
6 | implementation project(':modb')
7 | api project(':modc')
8 |
9 | testImplementation 'junit:junit:4.12'
10 | }
11 |
12 | ext.moduleName = 'moda'
13 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moda/src/main/java/pkga2/A2.java:
--------------------------------------------------------------------------------
1 | package pkga2;
2 |
3 | import pkgainternal.InternalA;
4 |
5 | public class A2 {
6 | public String doIt() {
7 | return "from A2 (plus: " + new InternalA().doIt() + ")";
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moda/src/main/java/pkga3/A3.java:
--------------------------------------------------------------------------------
1 | package pkga3;
2 |
3 | public class A3 {
4 | public String doIt() {
5 | return "from A3";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moda/src/main/java/pkgainternal/InternalA.java:
--------------------------------------------------------------------------------
1 | package pkgainternal;
2 |
3 | public class InternalA {
4 | public String doIt() {
5 | return "from InternalA";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /build
3 | /target
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modb/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'java'
3 | }
4 |
5 | dependencies {
6 | testImplementation 'junit:junit:4.12'
7 | }
8 |
9 | ext.moduleName = 'modb'
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modb/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modb/src/main/java/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from B";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /build
3 | /target
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modc/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'java'
3 | }
4 |
5 | dependencies {
6 | // none
7 | }
8 |
9 | ext.moduleName = 'modc'
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modc/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | exports pkgc;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modc/src/main/java/pkgc/C.java:
--------------------------------------------------------------------------------
1 | package pkgc;
2 |
3 | public class C {
4 | public String doIt() {
5 | return "from C";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modfacade/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /build
3 | /target
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modfacade/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'java-library'
3 | }
4 |
5 | dependencies {
6 | api project(':moda')
7 |
8 | testImplementation 'junit:junit:4.12'
9 | }
10 |
11 | ext.moduleName = 'modfacade'
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modfacade/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | module modfacade {
2 | requires transitive moda; // transitive, makes modc (via moda) readable
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /build
3 | /target
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modmain/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'java'
3 | id 'application'
4 | }
5 |
6 | dependencies {
7 | implementation project(':moda')
8 | }
9 |
10 | ext.moduleName = 'modmain'
11 | mainClassName = 'pkgmain.Main'
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modmain/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires moda;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modmainbehindfacade/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /build
3 | /target
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modmainbehindfacade/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'java'
3 | id 'application'
4 | }
5 |
6 | dependencies {
7 | implementation project(':modfacade')
8 | }
9 |
10 | ext.moduleName = 'modmainbehindfacade'
11 | mainClassName = 'pkgmainbehindfacade.MainBehindFacade'
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/modmainbehindfacade/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmainbehindfacade { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modfacade;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moduledependencies-with-facade-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/moduledependencies-with-facade-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moduledependencies-with-facade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/moduledependencies-with-facade.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_gradle-project/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/run-test.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | chmod a+x ./gradlew
4 | ./gradlew --info --stacktrace --no-daemon test 2>&1
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | chmod a+x ./gradlew
4 | ./gradlew --info --stacktrace --no-daemon run 2>&1
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_gradle-project/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = "example_gradle-project"
2 |
3 | include 'modb'
4 | include 'modc'
5 | include 'moda'
6 | include 'modfacade'
7 | include 'modmain'
8 | include 'modmainbehindfacade'
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_hiddenmain/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_hiddenmain/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_hiddenmain/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmainhidden.HiddenMain 2>&1 | myecho
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/src/modmain/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | module modmain { // allow reflective access to pkgmain, currently used in the example_jerry-mouse
2 | // opens pkgmain; // note that pkgmainhidden is *not* open'ed or export'ed - but its HiddenMain class can be launched!
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/src/modmain/pkgmain/Main.java:
--------------------------------------------------------------------------------
1 | package pkgmain;
2 |
3 | public class Main {
4 | public static void main(String[] args) {
5 | System.out.println("You called " + Main.class.getName() + ".main()");
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_hiddenmain/src/modmain/pkgmainhidden/HiddenMain.java:
--------------------------------------------------------------------------------
1 | package pkgmainhidden;
2 |
3 | public class HiddenMain {
4 | public static void main(String[] args) {
5 | System.out.println("You called " + HiddenMain.class.getName() + ".main()");
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_interface-callback/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_interface-callback/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_interface-callback/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modcallbackhandler/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modcallbackhandler/module-info.java:
--------------------------------------------------------------------------------
1 | module modcallbackhandler {
2 | requires modcallee;
3 |
4 | exports pkgcallbackhandler to modmain;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modcallee/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modcallee/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modcallee/module-info.java:
--------------------------------------------------------------------------------
1 | module modcallee {
2 | exports pkgcallee;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modcallee/pkgcallee/Callee.java:
--------------------------------------------------------------------------------
1 | package pkgcallee;
2 |
3 | public class Callee {
4 | public void pleaseCall(ICallback cb) {
5 | cb.doCallback("Callee is calling back as requested...");
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modcallee/pkgcallee/ICallback.java:
--------------------------------------------------------------------------------
1 | package pkgcallee;
2 |
3 | public interface ICallback {
4 | void doCallback(String message);
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_interface-callback/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modcallbackhandler;
3 | requires modcallee;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/.gitignore:
--------------------------------------------------------------------------------
1 | /apps/
2 | /target/
3 | /.metadata/
4 | /RemoteSystemsTempFiles/
5 | /.recommenders/
6 | /doc/
7 | /eclipse.out
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/amlib/javax.json-1.0.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_jerrymouse/amlib/javax.json-1.0.4.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/apps_whitelist.txt:
--------------------------------------------------------------------------------
1 | example_requires-transitive_exports example_requires_exports-to example_derived_private-package-protected
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | rm -rf apps
7 |
8 | # if you want to keep the app.json files:
9 | # rm -rf apps/*/mlib/*.jar
10 |
11 | mkdir -p mods
12 | mkdir -p mlib
13 |
14 | rm -rf doc
15 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Aufruf des App-Servers
4 | echo ""
5 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path "mlib${PATH_SEPARATOR}amlib" --module modstarter/pkgstarter.Starter . 2>&1 | myecho
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/src/modstarter/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_jerrymouse/src/modstarter/module-info.java:
--------------------------------------------------------------------------------
1 | module modstarter {
2 | requires javax.json;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/amlib/javax.json-1.0.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_layer-hierarchy/amlib/javax.json-1.0.4.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | echo ""
4 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path "mlib${PATH_SEPARATOR}amlib" --module mod.main/pkgmain.Main . 2>&1 | myecho
5 |
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.layer/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.layer/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.layer/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.layer {
2 | exports pkglayer;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.main/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.main/module-info.java:
--------------------------------------------------------------------------------
1 | open module mod.main { // allow reflective access, currently used in the example_jerry-mouse
2 | requires javax.json;
3 | requires mod.layer;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.u_bottom_middle_top/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.u_bottom_middle_top/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.u_bottom_middle_top {
2 | requires mod.layer;
3 | exports pkgu;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.x_bottom/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.x_bottom/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.x_bottom {
2 | requires mod.layer;
3 | exports pkgx;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.x_middle/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.x_middle/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.x_middle {
2 | requires mod.layer;
3 | exports pkgx;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.x_top/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.x_top/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.x_top {
2 | requires mod.layer;
3 | exports pkgx;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.y_bottom/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.y_bottom/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.y_bottom {
2 | requires mod.layer;
3 | requires mod.y_middle;
4 |
5 | exports pkgy.bottom;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.y_middle/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.y_middle/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.y_middle {
2 | requires mod.layer;
3 | requires mod.y_top;
4 |
5 | exports pkgy.middle;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.y_top/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.y_top/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.y_top {
2 | requires mod.layer;
3 | exports pkgy.top;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.z_bottom/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.z_bottom/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.z_bottom {
2 | requires mod.layer;
3 | requires mod.z_middle;
4 |
5 | exports pkgz.bottom;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.z_middle/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.z_middle/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.z_middle {
2 | requires mod.layer;
3 | requires mod.z_top;
4 |
5 | exports pkgz.middle;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.z_top/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.z_top/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.z_top {
2 | requires mod.layer;
3 | exports pkgz.top;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.zreverse_bottom/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.zreverse_bottom/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.zreverse_bottom {
2 | requires mod.layer;
3 | exports pkgzreverse.bottom;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.zreverse_middle/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.zreverse_middle/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.zreverse_middle {
2 | requires mod.layer;
3 | requires mod.zreverse_bottom;
4 |
5 | exports pkgzreverse.middle;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.zreverse_top/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-hierarchy/src/mod.zreverse_top/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.zreverse_top {
2 | requires mod.layer;
3 | requires mod.zreverse_middle;
4 |
5 | exports pkgzreverse.top;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/amlib1/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/classes/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 | rm -rf amlib1/*.jar
6 | rm -rf classes/modauto1
7 |
8 | mkdir -p mods
9 | mkdir -p mlib
10 | mkdir -p amlib1
11 | mkdir -p classes
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/compile.sh:
--------------------------------------------------------------------------------
1 | . ./compile-cp.sh
2 | . ./compile-modules.sh
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_layer-modules-all-in-boot-layer/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_layer-modules-all-in-boot-layer/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS \
4 | --module-path mlib${PATH_SEPARATOR}amlib1 \
5 | --add-modules modbar,modfoo \
6 | --module modmain/pkgmain.Main . 2>&1 | myecho
7 |
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modauto1/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modauto1/pkgversion/Version1.java:
--------------------------------------------------------------------------------
1 | package pkgversion;
2 |
3 | public class Version1 {
4 | @Override
5 | public String toString() {
6 | return "V1";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modbar/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modbar/module-info.java:
--------------------------------------------------------------------------------
1 | module modbar {
2 | requires modcommon;
3 | requires modauto1;
4 |
5 | opens pkgbar; // opens package for reflective access from modmain
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modcommon/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modcommon/module-info.java:
--------------------------------------------------------------------------------
1 | module modcommon {
2 | exports pkgcommon;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modfoo/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modfoo/module-info.java:
--------------------------------------------------------------------------------
1 | module modfoo {
2 | requires modcommon;
3 | requires modauto1;
4 |
5 | opens pkgfoo;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-all-in-boot-layer/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modcommon;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/amlib1/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/amlib2/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/classes/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 | rm -rf amlib1/*.jar
6 | rm -rf amlib2/*.jar
7 | rm -rf classes/modauto1
8 |
9 | mkdir -p mods
10 | mkdir -p mlib
11 | mkdir -p amlib1
12 | mkdir -p amlib2
13 | mkdir -p classes
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/compile.sh:
--------------------------------------------------------------------------------
1 | . ./compile-cp.sh
2 | . ./compile-modules.sh
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS \
4 | --module-path mlib \
5 | --module modmain/pkgmain.Main . 2>&1 | myecho
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modauto1/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modauto1/pkgversion/Version1.java:
--------------------------------------------------------------------------------
1 | package pkgversion;
2 |
3 | public class Version1 {
4 | @Override
5 | public String toString() {
6 | return "V1";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modauto2/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modauto2/pkgversion/Version2.java:
--------------------------------------------------------------------------------
1 | package pkgversion;
2 |
3 | public class Version2 {
4 | @Override
5 | public String toString() {
6 | return "V2";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modbar/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modbar/module-info.java:
--------------------------------------------------------------------------------
1 | module modbar {
2 | requires modcommon;
3 | requires modauto2;
4 |
5 | opens pkgbar; // opens package for reflective access from modmain
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modcommon/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modcommon/module-info.java:
--------------------------------------------------------------------------------
1 | // modcommon/module.info.java
2 |
3 | module modcommon {
4 | exports pkgcommon;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modfoo/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modfoo/module-info.java:
--------------------------------------------------------------------------------
1 | module modfoo {
2 | requires modcommon;
3 | requires modauto1;
4 |
5 | opens pkgfoo;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-grouped-in-hierarchy/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modcommon;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/barmlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mods2/*
5 | rm -rf mlib/*.jar
6 | rm -rf foomlib/*.jar
7 | rm -rf barmlib/*.jar
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/foomlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/mods2/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS \
4 | --module-path mlib \
5 | --module modmain/pkgmain.Main . 2>&1 | myecho
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modbar/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modbar/module-info.java:
--------------------------------------------------------------------------------
1 | module modbar {
2 | requires modcommon;
3 | requires modversion2;
4 |
5 | opens pkgbar; // opens package for reflective access from modmain
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modcommon/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modcommon/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modcommon/module-info.java:
--------------------------------------------------------------------------------
1 | // modcommon/module.info.java
2 |
3 | module modcommon {
4 | exports pkgcommon;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modfoo/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modfoo/module-info.java:
--------------------------------------------------------------------------------
1 | module modfoo {
2 | requires modcommon;
3 | requires modversion1;
4 |
5 | opens pkgfoo;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modcommon;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modversion1/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modversion1/module-info.java:
--------------------------------------------------------------------------------
1 | module modversion1 {
2 | exports pkgversion;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modversion1/pkgversion/Version1.java:
--------------------------------------------------------------------------------
1 | package pkgversion;
2 |
3 | public class Version1 {
4 | @Override
5 | public String toString() {
6 | return "V1";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modversion2/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modversion2/module-info.java:
--------------------------------------------------------------------------------
1 | module modversion2 {
2 | exports pkgversion;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src/modversion2/pkgversion/Version2.java:
--------------------------------------------------------------------------------
1 | package pkgversion;
2 |
3 | public class Version2 {
4 | @Override
5 | public String toString() {
6 | return "V2";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src2/modcommon/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src2/modcommon/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_layer-modules-module-resolution/src2/modcommon/module-info.java:
--------------------------------------------------------------------------------
1 | // modcommon/module.info.java
2 |
3 | module modcommon {
4 | exports pkgcommon;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/amlib/hamcrest-core-1.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_maven-project/amlib/hamcrest-core-1.3.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/amlib/junit-4.12.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_maven-project/amlib/junit-4.12.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_maven-project/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version --fail-at-end 2>&1
4 |
5 | cd src/moda
6 | mvn -s ../../mvn_settings.xml test 2>&1
7 | cd - >/dev/null 2>&1
8 |
9 | cd src/modmain
10 | mvn -s ../../mvn_settings.xml test 2>&1
11 | cd - >/dev/null 2>&1
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/src/moda/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/src/moda/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | // moda/module.info.java
2 |
3 | module moda {
4 | exports pkga;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/src/moda/src/main/java/pkga/A.java:
--------------------------------------------------------------------------------
1 | package pkga;
2 |
3 |
4 | public class A {
5 | public String doIt() {
6 | return "This is A" ;
7 | }
8 |
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/src/moda/src/main/java/pkgainternal/InternalA.java:
--------------------------------------------------------------------------------
1 | package pkgainternal;
2 |
3 | public class InternalA {
4 | public String doIt() {
5 | return "from InternalA";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-project/src/modmain/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain {
2 | requires moda;
3 | }
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-blackbox/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-blackbox/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version --fail-at-end 2>&1
4 | mvn -s mvn_settings.xml clean --fail-at-end 2>&1
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-blackbox/compile.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version --fail-at-end 2>&1
4 | mvn -s mvn_settings.xml install --fail-at-end 2>&1
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-blackbox/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_maven-test-blackbox/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-blackbox/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires commons.lang3;
3 |
4 | // allow static access (for blackbox testing)
5 | exports pkgmain to modmaintest;
6 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-blackbox/src/test/java/module-info.java:
--------------------------------------------------------------------------------
1 | module modmaintest {
2 | requires junit;
3 | requires modmain;
4 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-whitebox/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-whitebox/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version --fail-at-end 2>&1
4 | mvn -s mvn_settings.xml clean --fail-at-end 2>&1
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-whitebox/compile.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version --fail-at-end 2>&1
4 |
5 | # debug mode with -X flag
6 | # mvn -s mvn_settings.xml -X install --fail-at-end 2>&1
7 | mvn -s mvn_settings.xml install --fail-at-end 2>&1
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-whitebox/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_maven-test-whitebox/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_maven-test-whitebox/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires commons.lang3;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/amlib1/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/amlib2/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/amlib3/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/amlib4/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/classes/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_naming-modules/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/java.whatever/module-info.java:
--------------------------------------------------------------------------------
1 | module java.whatever {
2 | exports pkgmain;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/jdk.whatever/module-info.java:
--------------------------------------------------------------------------------
1 | module jdk.whatever {
2 | exports pkgmain;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/mod-client/module-info.java:
--------------------------------------------------------------------------------
1 | module mod-client { // does not compile ('-' not allowed in module name)
2 | exports pkgmain;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/mod.client/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.client {
2 | exports pkgmain;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/mod.interface/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.interface { // does not compile (keyword 'interface' not allowed in module name)
2 | exports pkgmain;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/mod_client/module-info.java:
--------------------------------------------------------------------------------
1 | module mod_client {
2 | exports pkgmain;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/modjava/module-info.java:
--------------------------------------------------------------------------------
1 | module modjava {
2 | exports pkgmain;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_naming-modules/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | }
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf patches/*
5 | rm -rf mlib/*.jar
6 | rm -rf patchlib/*.jar
7 |
8 | mkdir -p mods
9 | mkdir -p patches
10 | mkdir -p mlib
11 | mkdir -p patchlib
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_patch/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_patch/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/patches/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/patchlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modb-patch/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modb-patch/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | import pkgb.util.Helper;
4 |
5 | public class B {
6 | public void doIt(){
7 | System.out.println(Helper.doHelp());
8 | System.out.println("I am doing more because I am PATCHED!");
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modb/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | import pkgb.util.Helper;
4 |
5 | public class B {
6 |
7 | public void doIt(){
8 | System.out.println(Helper.doHelp());
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modb/pkgb/util/Helper.java:
--------------------------------------------------------------------------------
1 | package pkgb.util;
2 |
3 | public class Helper {
4 |
5 | public static String doHelp(){
6 | return "I am modb, doing something with pkg.Helper";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_patch/src/modmain/pkgmain/Main.java:
--------------------------------------------------------------------------------
1 | package pkgmain;
2 |
3 | import pkgb.B;
4 |
5 | public class Main {
6 |
7 | public static void main(String[] args) {
8 | B b = new B();
9 | b.doIt();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_reflection/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_reflection/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_reflection/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/src/modb/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_reflection/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires-static/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires-static/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires-static/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | requires static transitive modc;
3 |
4 | exports pkgb;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modc/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modc/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | exports pkgc;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modc/pkgc/C.java:
--------------------------------------------------------------------------------
1 | package pkgc;
2 |
3 | public class C {
4 | public String doIt() {
5 | return "from C";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires-static/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires static modb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports-to/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports-to/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports-to/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modb1/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modb1/module-info.java:
--------------------------------------------------------------------------------
1 | module modb1 {
2 | requires modc;
3 |
4 | exports pkgb1;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modb1/pkgb1/B1.java:
--------------------------------------------------------------------------------
1 | package pkgb1;
2 |
3 | import pkgc.*;
4 |
5 | public class B1 {
6 | public String doIt() {
7 | return "from B1";
8 | }
9 |
10 | public C getMyC() {
11 | return new C();
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modb2/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modb2/module-info.java:
--------------------------------------------------------------------------------
1 | module modb2 {
2 | requires modc;
3 |
4 | exports pkgb2;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modb2/pkgb2/B2.java:
--------------------------------------------------------------------------------
1 | package pkgb2;
2 |
3 | import pkgc.*;
4 |
5 | public class B2 {
6 | public String doIt() {
7 | return "from B2";
8 | }
9 |
10 | public C getMyC() {
11 | return new C();
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modc/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modc/pkgc/C.java:
--------------------------------------------------------------------------------
1 | package pkgc;
2 |
3 | public class C {
4 | public String doIt() {
5 | return "from C";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports-to/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb1;
3 | requires modb2;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | requires modc;
3 |
4 | exports pkgb;
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modc/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modc/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | exports pkgc;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modc/pkgc/C.java:
--------------------------------------------------------------------------------
1 | package pkgc;
2 |
3 | public class C {
4 | public String doIt() {
5 | return "from C";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies-with-facade-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies-with-facade-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies-with-facade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies-with-facade.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/run-main.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/run-mainbehindfacade.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmainbehindfacade/pkgmainbehindfacade.MainBehindFacade 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/run.sh:
--------------------------------------------------------------------------------
1 | . ./run-main.sh
2 |
3 | echo " "
4 | . ./run-mainbehindfacade.sh
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/moda/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/moda/pkga2/A2.java:
--------------------------------------------------------------------------------
1 | package pkga2;
2 |
3 | import pkgainternal.InternalA;
4 |
5 | public class A2 {
6 | public String doIt() {
7 | return "from A2 (plus: " + new InternalA().doIt() + ")";
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/moda/pkga3/A3.java:
--------------------------------------------------------------------------------
1 | package pkga3;
2 |
3 | public class A3 {
4 | public String doIt() {
5 | return "from A3";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/moda/pkgainternal/InternalA.java:
--------------------------------------------------------------------------------
1 | package pkgainternal;
2 |
3 | public class InternalA {
4 | public String doIt() {
5 | return "from InternalA";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from B";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modc/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | exports pkgc;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modc/pkgc/C.java:
--------------------------------------------------------------------------------
1 | package pkgc;
2 |
3 | public class C {
4 | public String doIt() {
5 | return "from C";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modfacade/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modfacade/module-info.java:
--------------------------------------------------------------------------------
1 | module modfacade {
2 | requires transitive moda; // transitive, makes modc (via moda) readable
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires moda;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modmainbehindfacade/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_requires_exports_requires-transitive_exports-to/src/modmainbehindfacade/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmainbehindfacade { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modfacade;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/.gitignore:
--------------------------------------------------------------------------------
1 | /jimage/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/amlib/javax.json-1.0.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_resolved-modules/amlib/javax.json-1.0.4.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 | rm -rf jimage/*
6 |
7 | mkdir -p mods
8 | mkdir -p mlib
9 | mkdir -p jimage
10 |
11 | rm -rf doc
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_resolved-modules/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_resolved-modules/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_resolved-modules/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/moda/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/moda/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/moda/module-info.java:
--------------------------------------------------------------------------------
1 | module moda {
2 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | requires moda;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/modc/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resolved-modules/src/modc/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_resources/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_resources/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_resources/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | requires transitive modc;
3 |
4 | exports pkgb;
5 | opens pkgb;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modb/pkgb/b.properties:
--------------------------------------------------------------------------------
1 | # Can only be accessed from outside modb, if package pkgb is open'ed in modb's module-info
2 | text=Hello World, from modb's b.properties (whose package is opened)
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modb/pkgbinternal/BInternal.java:
--------------------------------------------------------------------------------
1 | package pkgbinternal;
2 |
3 | public class BInternal {
4 | // does not do anything - just there to ensure that there is an package pkgbinternal
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modb/pkgbinternal/binternal.properties:
--------------------------------------------------------------------------------
1 | # Can only be accessed from outside modb, if package pkgbinternal would be open'ed in modb's module-info
2 | text=Hello World, from modb's binternal.properties (whose package is not opened)
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modb/resources.modb/resources.properties:
--------------------------------------------------------------------------------
1 | # Can only be accessed from outside modb, if package resources.modb would be open'ed in modb's module-info
2 | text=Hello World, from modb's resources.properties
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/cnopackage.properties:
--------------------------------------------------------------------------------
1 | # Can always be accessed from outside modc, because this resource file is in the unnamed package
2 | text=Hello World, from modc's cnopackage.properties (whose unnamed package is always not encapsulated)
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | exports pkgc;
3 | opens pkgc;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/pkgc/c.properties:
--------------------------------------------------------------------------------
1 | # Can only be accessed from outside modc, if package pkgc is open'ed in modb's module-info
2 | text=Hello World, from modc's c.properties (whose package is opened)
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/pkgcinternal/CInternal.java:
--------------------------------------------------------------------------------
1 | package pkgcinternal;
2 |
3 | public class CInternal {
4 | // does not do anything - just there to ensure that there is an package pkgcinternal
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/pkgcinternal/cinternal.properties:
--------------------------------------------------------------------------------
1 | # Can only be accessed from outside modc, if package pkgcinternal would be open'ed in modb's module-info
2 | text=Hello World, from modc's cinternal.properties (whose package is not opened)
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modc/resources.modc/resources.properties:
--------------------------------------------------------------------------------
1 | # Can only be accessed from outside modc, if package resources.modc would be open'ed in modb's module-info
2 | text=Hello World, from modc's resources.properties
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_resources/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/compile.sh:
--------------------------------------------------------------------------------
1 | mkdir -p mods
2 | mkdir -p mlib
3 |
4 | # does not compile
5 | . ./compile-foo.sh
6 |
7 | . ./compile-bar.sh
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_splitpackage/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_splitpackage/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_splitpackage/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/run-foo.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | echo "Error: Does not run, as does not even compile!"
4 |
5 | # Module modmainfoo does not even compile
6 | # $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmainfoo/pkgmainfoo.Main 2>&1 | myecho
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/run.sh:
--------------------------------------------------------------------------------
1 | . ./run-foo.sh
2 |
3 | echo " "
4 | . ./run-bar.sh
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/show-split-packages.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | for FILE in $(ls mlib/*.jar); do
4 | $JAVA_HOME/bin/jar tf $FILE | sed s/" \+"/" "/g | cut -d " " -f 9 | xargs -i echo "{} $FILE" ;
5 | done | grep -v META-INF | grep -v ".class" | sort
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modmainbar/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modmainbar/pkgmainbar/Main.java:
--------------------------------------------------------------------------------
1 | package pkgmainbar;
2 |
3 | public class Main {
4 | public static void main(String[] args) {
5 | Main mymain = new Main();
6 | System.out.println("Main: " + mymain.toString());
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modmainfoo/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modmainfoo/pkgmainfoo/Main.java:
--------------------------------------------------------------------------------
1 | package pkgmainfoo;
2 |
3 | public class Main {
4 | public static void main(String[] args) {
5 | Main mymain = new Main();
6 | System.out.println("Main: " + mymain.toString());
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar1/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar1/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar1/module-info.java:
--------------------------------------------------------------------------------
1 | module modsplitbar1 {
2 | }
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar1/pkgbar/Bar1.java:
--------------------------------------------------------------------------------
1 | package pkgbar;
2 |
3 | public class Bar1 {
4 | public String doIt() {
5 | return "from Bar1";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar2/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar2/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar2/module-info.java:
--------------------------------------------------------------------------------
1 | module modsplitbar2 {
2 | }
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitbar2/pkgbar/Bar2.java:
--------------------------------------------------------------------------------
1 | package pkgbar;
2 |
3 | public class Bar2 {
4 | public String doIt() {
5 | return "from Bar2";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo1/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo1/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo1/module-info.java:
--------------------------------------------------------------------------------
1 | module modsplitfoo1 {
2 | exports pkgfoo;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo1/pkgfoo/Foo1.java:
--------------------------------------------------------------------------------
1 | package pkgfoo;
2 |
3 | public class Foo1 {
4 | public String doIt() {
5 | return "from Foo1";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo2/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo2/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo2/module-info.java:
--------------------------------------------------------------------------------
1 | module modsplitfoo2 {
2 | exports pkgfoo;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage/src/modsplitfoo2/pkgfoo/Foo2.java:
--------------------------------------------------------------------------------
1 | package pkgfoo;
2 |
3 | public class Foo2 {
4 | public String doIt() {
5 | return "from Foo2";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/amlib1/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/amlib2/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 | rm -rf amlib1/*.jar
6 | rm -rf amlib2/*.jar
7 | rm -rf classes/*
8 |
9 | mkdir -p mods
10 | mkdir -p mlib
11 | mkdir -p amlib1
12 | mkdir -p amlib2
13 | mkdir -p classes
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/compile.sh:
--------------------------------------------------------------------------------
1 | . ./compile-cp.sh
2 | . ./compile-modules.sh
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_splitpackage_automatic-modules/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_splitpackage_automatic-modules/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/src/modauto1/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/src/modauto1/pkgsplitted/Version1.java:
--------------------------------------------------------------------------------
1 | package pkgsplitted;
2 |
3 | public class Version1 {
4 | @Override
5 | public String toString() {
6 | return "V1";
7 | }
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/src/modauto2/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/src/modauto2/pkgsplitted/Version2.java:
--------------------------------------------------------------------------------
1 | package pkgsplitted;
2 |
3 | public class Version2 {
4 | @Override
5 | public String toString() {
6 | return "V2";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_splitpackage_automatic-modules/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/.gitignore:
--------------------------------------------------------------------------------
1 | /target
2 | !.mvn/wrapper/maven-wrapper.jar
3 | /.metadata/
4 | /RemoteSystemsTempFiles/
5 | /.recommenders/
6 | /doc/
7 | /eclipse.out
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version
4 |
5 | pushd src > /dev/null 2>&1
6 |
7 | mvn -s ../mvn_settings.xml -e clean --fail-at-end 2>&1
8 |
9 | popd >/dev/null 2>&1
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/compile.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version
4 |
5 | pushd src > /dev/null 2>&1
6 |
7 | mvn -s ../mvn_settings.xml install -e -DskipTests --fail-at-end 2>&1
8 |
9 | popd >/dev/null 2>&1
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_spring-hibernate/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/run-from-cli.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | echo "Running application as fat JAR as follows:"
4 | echo "java $JAVA_OPTIONS java.xml.bind -jar mod.app-0.0.1-SNAPSHOT.jar"
5 | $JAVA_HOME/bin/java $JAVA_OPTIONS -jar src/mod.app/target/mod.app-0.0.1-SNAPSHOT.jar 2>&1
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/run-test.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version
4 |
5 | pushd src > /dev/null 2>&1
6 |
7 | mvn -s ../mvn_settings.xml -e test 2>&1
8 |
9 | popd >/dev/null 2>&1
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | mvn --version
4 |
5 | pushd src > /dev/null 2>&1
6 |
7 | mvn -s ../mvn_settings.xml -e spring-boot:run 2>&1
8 |
9 | popd >/dev/null 2>&1
10 |
11 |
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/src/mod.app/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/src/mod.app/src/main/java/module-info.java:
--------------------------------------------------------------------------------
1 | module mod.app {
2 | requires spring.boot;
3 | requires spring.boot.autoconfigure;
4 |
5 | exports de.accso.jigsaw.example_springhibernate;
6 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_spring-hibernate/src/mod.app/src/main/resources/application.properties:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_spring-hibernate/src/mod.app/src/main/resources/application.properties
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/amlib/hamcrest-core-1.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_test/amlib/hamcrest-core-1.3.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/amlib/junit-4.12.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_test/amlib/junit-4.12.jar
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf patches/*
5 | rm -rf mlib/*.jar
6 | rm -rf patchlib/*.jar
7 |
8 | mkdir -p mods
9 | mkdir -p patches
10 | mkdir -p mlib
11 | mkdir -p patchlib
12 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/compile-whiteboxtest_optionsfile:
--------------------------------------------------------------------------------
1 | -Xlint -d patches/modfib
2 | --patch-module modfib=src
3 | --add-reads modfib=junit
4 | --add-modules junit
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/compile.sh:
--------------------------------------------------------------------------------
1 | mkdir -p mods
2 | mkdir -p patches
3 | mkdir -p mlib
4 | mkdir -p patchlib
5 |
6 | . ./compile-blackboxtest.sh
7 |
8 | # without options file
9 | # . ./compile-whiteboxtest.sh
10 |
11 | # with options file
12 | . ./compile-whiteboxtest_with-optionsfile.sh
13 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_test/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_test/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/patches/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/patchlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/run-blackboxtest.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib${PATH_SEPARATOR}amlib \
4 | --add-modules hamcrest.core,modtest.blackbox \
5 | --module junit/org.junit.runner.JUnitCore \
6 | pkgblacktest.BlackBoxTest \
7 | 2>&1
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/run-whiteboxtest_optionsfile:
--------------------------------------------------------------------------------
1 | --add-reads modfib=junit
2 | --add-modules ALL-MODULE-PATH
3 | -m junit/org.junit.runner.JUnitCore
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/run.sh:
--------------------------------------------------------------------------------
1 | cat readme.md
2 |
3 | . ./run-blackboxtest.sh
4 |
5 | echo " "
6 | . ./run-whiteboxtest.sh
7 |
8 | echo " "
9 | . ./run-whiteboxtest_with-optionsfile.sh
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/src/modfib/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/src/modfib/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/src/modfib/module-info.java:
--------------------------------------------------------------------------------
1 | module modfib {
2 | exports pkgfib;
3 | }
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/src/modtest.blackbox/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/src/modtest.blackbox/module-info.java:
--------------------------------------------------------------------------------
1 | module modtest.blackbox {
2 | requires modfib;
3 | requires junit;
4 |
5 | exports pkgblacktest;
6 | }
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_test/src/modtest.whitebox/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/classes/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf classes/*
5 | rm -rf mlib/*.jar
6 | rm -rf cplib/*.jar
7 |
8 | mkdir -p mods
9 | mkdir -p mlib
10 | mkdir -p classes
11 | mkdir -p cplib
12 |
13 | rm -rf doc
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/compile.sh:
--------------------------------------------------------------------------------
1 | # Modules need to be compiled before sourcecode for "the classpath"
2 | . ./compile-modules.sh
3 | . ./compile-cp.sh
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/cplib/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module-reflection-illegal-access/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module-reflection-illegal-access/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/src/cpmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 |
4 | exports pkgbexportedqualified to modc;
5 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/src/modb/pkgb/BFromModule.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class BFromModule {
4 | public String doIt(String input) {
5 | return "from pkgb.BFromModule, " + input;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/src/modb/pkgbinternal/BFromModuleButInternal.java:
--------------------------------------------------------------------------------
1 | package pkgbinternal;
2 |
3 | public class BFromModuleButInternal {
4 | public String doIt(String input) {
5 | return "from pkgbinternal.BFromModuleButInternal, " + input;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/src/modc/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module-reflection-illegal-access/src/modc/module-info.java:
--------------------------------------------------------------------------------
1 | module modc {
2 | // empty
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-automatic-module/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /.metadata/
3 | /RemoteSystemsTempFiles/
4 | /.recommenders/
5 | /doc/
6 | /eclipse.out
7 | /amlib/
8 | /classes/
9 | /cplib/
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-automatic-module/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf classes/*
4 | rm -rf amlib/*.jar
5 | rm -rf cplib/*.jar
6 |
7 | mkdir -p amlib
8 | mkdir -p classes
9 | mkdir -p cplib
10 |
11 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-automatic-module/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path amlib -cp cplib/cpa.jar -m modmain.auto/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-automatic-module/src/cpa/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-automatic-module/src/modmain.auto/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/classes/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf classes/*
5 | rm -rf mlib/*.jar
6 | rm -rf cplib/*.jar
7 |
8 | mkdir -p mods
9 | mkdir -p mlib
10 | mkdir -p classes
11 | mkdir -p cplib
12 |
13 | rm -rf doc
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/compile.sh:
--------------------------------------------------------------------------------
1 | . ./compile-cp.sh
2 | . ./compile-modules.sh
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/cplib/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS \
4 | --module-path mlib \
5 | --class-path cplib/cpb.jar \
6 | --module modmain/pkgmain.Main \
7 | 2>&1 | myecho
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/cpb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/cpb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from pkgb.B (in cpb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/cpb/pkgb/BFromClasspath.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class BFromClasspath {
4 | public String doIt() {
5 | return "from pkgb.BFromClasspath (in cpb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/cpb/pkgboncp/BFromClasspath.java:
--------------------------------------------------------------------------------
1 | package pkgboncp;
2 |
3 | public class BFromClasspath {
4 | public String doIt() {
5 | return "from pkgboncp.BFromClasspath (in cpb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/modb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from pkgb.B (in modb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/modb/pkgb/BFromModule.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class BFromModule {
4 | public String doIt() {
5 | return "from pkgb.BFromModule (in modb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module-reflection/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modb;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/classes/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf classes/*
5 | rm -rf mlib/*.jar
6 | rm -rf cplib/*.jar
7 |
8 | mkdir -p mods
9 | mkdir -p mlib
10 | mkdir -p classes
11 | mkdir -p cplib
12 |
13 | rm -rf doc
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/compile.sh:
--------------------------------------------------------------------------------
1 | . ./compile-cp.sh
2 | . ./compile-modules.sh
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/cplib/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module_access-from-explicit-module/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module_access-from-explicit-module/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS \
4 | --module-path mlib \
5 | --class-path cplib/cpb.jar \
6 | --module modmain/pkgmain.Main \
7 | 2>&1 | myecho
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/cpb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/cpb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from pkgb.B (in cpb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/cpb/pkgb/BFromClasspath.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class BFromClasspath {
4 | public String doIt() {
5 | return "from pkgb.BFromClasspath (in cpb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/cpb/pkgboncp/BFromClasspath.java:
--------------------------------------------------------------------------------
1 | package pkgboncp;
2 |
3 | public class BFromClasspath {
4 | public String doIt() {
5 | return "from pkgboncp.BFromClasspath (in cpb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/modb/module-info.java:
--------------------------------------------------------------------------------
1 | module modb {
2 | exports pkgb;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/modb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from pkgb.B (in modb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/modb/pkgb/BFromModule.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class BFromModule {
4 | public String doIt() {
5 | return "from pkgb.BFromModule (in modb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_access-from-explicit-module/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/classes/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf classes/*
5 | rm -rf mlib/*.jar
6 | rm -rf cplib/*.jar
7 |
8 | mkdir -p mods
9 | mkdir -p mlib
10 | mkdir -p classes
11 | mkdir -p cplib
12 |
13 | rm -rf doc
14 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/compile.sh:
--------------------------------------------------------------------------------
1 | # Modules need to be compiled before sourcecode for "the classpath"
2 | . ./compile-modules.sh
3 | . ./compile-cp.sh
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/cplib/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module_accessing-module-path/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_unnamed-module_accessing-module-path/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS \
4 | --module-path mlib \
5 | --class-path cplib/cpmain.jar${PATH_SEPARATOR}cplib/cpb.jar \
6 | --add-modules modb pkgcpmain.Main \
7 | 2>&1 | myecho
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/cpb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/cpb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from pkgb.B (from cpb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/cpb/pkgb/BFromClasspath.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class BFromClasspath {
4 | public String doIt() {
5 | return "from pkgb.BFromClasspath";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/cpb/pkgboncp/BFromClasspath.java:
--------------------------------------------------------------------------------
1 | package pkgboncp;
2 |
3 | public class BFromClasspath {
4 | public String doIt() {
5 | return "from pkgboncp.BFromClasspath";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/cpmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/modb/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/modb/pkgb/B.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class B {
4 | public String doIt() {
5 | return "from pkgb.B (in modb)";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/modb/pkgb/BFromModule.java:
--------------------------------------------------------------------------------
1 | package pkgb;
2 |
3 | public class BFromModule {
4 | public String doIt() {
5 | return "from pkgb.BFromModule";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_unnamed-module_accessing-module-path/src/modb/pkgbinternal/BFromModuleButInternal.java:
--------------------------------------------------------------------------------
1 | package pkgbinternal;
2 |
3 | public class BFromModuleButInternal {
4 | public String doIt() {
5 | return "from pkgbinternal.BFromModuleButInternal";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_uses-provides/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_uses-provides/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_uses-provides/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modservicedefinition;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modservice.impl.com/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modservice.impl.com/module-info.java:
--------------------------------------------------------------------------------
1 | module modservice.impl.com {
2 | requires modservicedefinition;
3 | provides myservice.IService with com.service.impl.ServiceImpl;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modservice.impl.net/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modservice.impl.net/module-info.java:
--------------------------------------------------------------------------------
1 | module modservice.impl.net {
2 | requires modservicedefinition;
3 | provides myservice.IService with net.service.impl.ServiceImpl;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modservicedefinition/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modservicedefinition/module-info.java:
--------------------------------------------------------------------------------
1 | module modservicedefinition {
2 | exports myservice;
3 | uses myservice.IService;
4 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides/src/modservicedefinition/myservice/IService.java:
--------------------------------------------------------------------------------
1 | package myservice;
2 |
3 | public interface IService {
4 | public abstract String getName();
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/depvis-print.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | # Config properties file
4 | PROPS_FILENAME=depvis.properties
5 |
6 | $JAVA_HOME/bin/java --module-path ${DEPVIS_HOME}/mlib${PATH_SEPARATOR}${DEPVIS_HOME}/amlib --module depvis/depvis.JigsawDepPrinter ${PROPS_FILENAME} 2>&1
7 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/moduledependencies-withlegend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_uses-provides_uses-in-client/moduledependencies-withlegend.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/moduledependencies.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_uses-provides_uses-in-client/moduledependencies.png
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_uses-provides_uses-in-client/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java $JAVA_OPTIONS --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | requires modservicedefinition;
3 | uses myservice.IService;
4 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modservice.impl.com/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modservice.impl.com/module-info.java:
--------------------------------------------------------------------------------
1 | module modservice.impl.com {
2 | requires modservicedefinition;
3 | provides myservice.IService with com.service.impl.ServiceImpl;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modservice.impl.net/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modservice.impl.net/module-info.java:
--------------------------------------------------------------------------------
1 | module modservice.impl.net {
2 | requires modservicedefinition;
3 | provides myservice.IService with net.service.impl.ServiceImpl;
4 | }
5 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modservicedefinition/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modservicedefinition/module-info.java:
--------------------------------------------------------------------------------
1 | module modservicedefinition {
2 | exports myservice;
3 | }
--------------------------------------------------------------------------------
/jigsaw-examples/example_uses-provides_uses-in-client/src/modservicedefinition/myservice/IService.java:
--------------------------------------------------------------------------------
1 | package myservice;
2 |
3 | public interface IService {
4 | public abstract String getName();
5 | }
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 | /RemoteSystemsTempFiles/
3 | /.recommenders/
4 | /doc/
5 | /eclipse.out
6 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/clean.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | rm -rf mods/*
4 | rm -rf mlib/*.jar
5 |
6 | mkdir -p mods
7 | mkdir -p mlib
8 |
9 | rm -rf doc
10 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/mlib/.gitignore:
--------------------------------------------------------------------------------
1 | /*.jar
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/mods/.gitignore:
--------------------------------------------------------------------------------
1 | /*/
2 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/readme.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/accso/java9-jigsaw-examples/74029e9c370e31821d94893cf2a1374e7be29af6/jigsaw-examples/example_version/readme.md
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/run.sh:
--------------------------------------------------------------------------------
1 | . ../env.sh
2 |
3 | $JAVA_HOME/bin/java --module-path mlib --module modmain/pkgmain.Main 2>&1 | myecho
4 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/src/modmain/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore target with compiled class files
2 | /target
3 |
--------------------------------------------------------------------------------
/jigsaw-examples/example_version/src/modmain/module-info.java:
--------------------------------------------------------------------------------
1 | open module modmain { // allow reflective access, currently used in the example_jerry-mouse
2 | }
--------------------------------------------------------------------------------