Reflection.getCallerClass() and @CallerSensitive for a constructor?
weijun.wang at oracle.com
Mon Mar 24 08:41:42 UTC 2014
Calling Reflection.getCallerClass() needs the @CallerSensitive annotation, but it cannot be applied to a constructor.
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.
> what is your the question ?
More information about the core-libs-dev