Skip to content

Reflection Types

The relfection type can be changed by setting the Reflection Property to one of the following types:

Reflection FlagDescription

VENUZDONOA

Bypass project Jigsaw and use MethodHandlers to invoke methods.
Default for Java 9+ runtimes.

DEPRECATED

Use the default Java 8 Reflection without any Jigsaw bypass.
Default for Java 8 runtimes.

UNSAFE

Try to open the module system and use the default Java 8 Reflection (Jigsaw bypass).

In case none of this methods work, there is always the option to use the DEPRECATED method and open the java.base module to all modules with the following JVM flag:

Terminal window
java -DReflection=DEPRECATED --add-opens=java.base/java.lang=ALL-UNNAMED -jar