RFR 8199464 [11] Remove remaining vestiges of Java_sun_reflect_Reflection_getCallerClass

Chris Hegarty chris.hegarty at oracle.com
Wed Mar 14 13:18:21 UTC 2018

On 14/03/18 13:08, Alan Bateman wrote:
> On 14/03/2018 12:56, Chris Hegarty wrote:
>> This is a review request to remove remaining vestiges of
>> Java_sun_reflect_Reflection_getCallerClass.
>> JDK-8179424 removed terminally deprecated 
>> jdk.unsupported/sun.reflect.Reflection.getCallerClass(int), these 
>> references are to the no-args getCallerClass that was removed a long 
>> time ago. These should be cleaned up anyway.
> Looks okay to me. AFAIK, the reorder-<arch> files are essentially 
> obsolete, at least I haven't seen any updates promoted by startup 
> benchmarks in a long time.

The following warning was noted recently in 8179424, so I
decided to just remove these. Somebody must be still using
them :-(

  ld: warning: mapfile: text segment: section 
'.text%Java_sun_reflect_Reflection_getCallerClass__' does not appear in 
any input file


More information about the core-libs-dev mailing list