Demonstrates how strongly Jigsaw encapsulates module internals against reflection
Shell Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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 creates the modular JARs for both modules, using different module descriptors for owner and switching between class and module path.