Calling Reflection.getCallerClass() needs the @CallerSensitive annotation, but it cannot be applied to a constructor.
--Max On Mar 24, 2014, at 16:36, Remi Forax <fo...@univ-mlv.fr> wrote: > On 03/24/2014 08:43 AM, Wang Weijun wrote: >> Reflection.getCallerClass(3) seems work but the method is deprecated. >> >> Thanks >> Max >> > > what is your the question ? > > cheers, > Rémi >