I find this issue tangentially related to some open source logging
libraries. Some create a stack trace just so they can get the name of the
calling Class instance.

Example:
Logger log = Logger.createLogger(); // for the current class

Are there any thoughts to directly exposing
sun.reflect.Reflection.getCallerClass() as a public API?

-- 
Cheers,
Paul

Reply via email to