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.
Type Name Latest commit message Commit 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.

You can’t perform that action at this time.