Rongmario/ImagineBreaker

What is the point of this library if you pass --add-opens to junit?

Closed this issue · 4 comments

  • fellow Jigsaw breaker

That's me being stupid and not knowing how to pass individual args to different tests.

But the library doesn't work without these arguments?

The library enacts in 3 different ways:

  1. Reflection <= needs --add-opens=java.base/jdk.lang=ALL-UNNAMED
  2. Unsafe <= needs --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
  3. JNI <= doesn't need args

👍