RFR [11] JDK-8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass

mandy chung mandy.chung at oracle.com
Wed Dec 20 19:20:03 UTC 2017



On 12/20/17 10:42 AM, Chris Hegarty wrote:
> In JDK 9 sun.reflect.Reflection.getCallerClass, and its
> jdk.internal counterpart, where both deprecated-for-removal
> ( to give prior warning of the unsupported private API's
> intended removal ). The supported replacement, since
> Java SE 9, is java.lang.StackWalker.
>
> http://cr.openjdk.java.net/~chegar/8179424/webrev/
>

+1.   Happy to see this removed.

thanks
Mandy


More information about the core-libs-dev mailing list