RFR  JDK-8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
mandy.chung at oracle.com
Wed Dec 20 19:21:18 UTC 2017
The native side and hotspot side should also be cleaned up.
On 12/20/17 11:20 AM, mandy chung wrote:
> 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.
> +1. Happy to see this removed.
More information about the core-libs-dev