Reflection is "bad" because it's very unclear what's happening. Also, it pushes most checks made at compile-time to checks which are made at runtime, making reflective code very difficult to debug.
Type: Posts; User: helloworld922
Reflection is "bad" because it's very unclear what's happening. Also, it pushes most checks made at compile-time to checks which are made at runtime, making reflective code very difficult to debug.
See: java - Access restriction on class due to restriction on required library rt.jar? - Stack Overflow