I'd like to disable reflective security both during the compilation, and running of my application. This means that essentially java.lang.IllegalAccessError
will never be thrown. It also means that all reflective accesses to all types and all fields are allowed, and none are denied. Here, we can assume the entire project is compiled from source.
How does one accomplish this?
For this question, we can assume that we're using java 19