I need to get class loader for calling class of current method in Java8 . But since Reflection.getCallerClass() has been removed now , can anyone suggest any other way to get classLoader of calling class?
Thanks
I need to get class loader for calling class of current method in Java8 . But since Reflection.getCallerClass() has been removed now , can anyone suggest any other way to get classLoader of calling class?
Thanks
Yes you are correct, Reflection.getCallerClass()
has been removed from Java 8 version.
refer this for more info.