Reflection Types
The relfection type can be changed by setting the Reflection
Property to one of the following types:
Reflection Flag | Description |
---|---|
| Bypass project Jigsaw and use MethodHandlers to invoke methods. |
| Use the default Java 8 Reflection without any Jigsaw bypass. |
| 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:
java -DReflection=DEPRECATED --add-opens=java.base/java.lang=ALL-UNNAMED -jar …