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

Chris Hegarty chris.hegarty at oracle.com
Wed Dec 20 18:42:30 UTC 2017


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/

-Chris.


More information about the core-libs-dev mailing list