Classes on the stack trace (was: getElementClass/StackTraceElement, was: @CallerSensitive public API, was: sun.reflect.Reflection.getCallerClass)
Alan Bateman
Alan.Bateman at oracle.com
Tue Jul 30 04:31:45 UTC 2013
On 29/07/2013 19:17, David M. Lloyd wrote:
>
> Your phrasing makes me think I missed something: is the
> Reflection.getCallerClass() method being removed due to some technical
> issue that it can only be somehow emulated as a workaround? Or is it
> just a general cleanup effort?
>
The sun.reflect.Reflection.getCallerClass(int) method was removed as
part of JEP 176 [1].
-Alan.
[1] http://openjdk.java.net/jeps/176
More information about the core-libs-dev
mailing list