java - Any Alternative to get class Loader from of calling class {Reflection.getCallerClass(2).getClassLoader()} -


i need class loader calling class of current method in java8 . since reflection.getcallerclass() has been removed , can suggest other way classloader of calling class?

thanks

yes correct, reflection.getcallerclass() has been removed java 8 version.

refer this more info.


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -