Skip to content
Demonstrates how strongly Jigsaw encapsulates module internals against reflection
Shell Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
intruder/src/main/java
owner/src/main/java
.gitignore
LICENSE
README.md
compileWith.sh
delete-owner.sh
execute.sh
run.sh

README.md

Jigsaw vs Reflection

To demonstrate how Jigsaw interacts with reflection, this repository creates two modules:

  • owner, which contains Owner with one method for each visibility
  • intruder, which contains Intruder, breaking into Owner via reflection

The script execute.sh creates the modular JARs for both modules, using different module descriptors for owner and switching between class and module path.

You can’t perform that action at this time.