Reflection.getCallerClass() and @CallerSensitive for a constructor? (original) (raw)
Wang Weijun weijun.wang at oracle.com
Mon Mar 24 08:41:42 UTC 2014
- Previous message: Reflection.getCallerClass() and @CallerSensitive for a constructor?
- Next message: Reflection.getCallerClass() and @CallerSensitive for a constructor?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <forax at 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
- Previous message: Reflection.getCallerClass() and @CallerSensitive for a constructor?
- Next message: Reflection.getCallerClass() and @CallerSensitive for a constructor?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]