JDK-8179424 : Remove terminally deprecated sun.reflect.Reflection.getCallerClass
  • Type: Sub-task
  • Component: core-libs
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-04-28
  • Updated: 2018-03-12
  • Resolved: 2017-12-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b01Fixed
Related Reports
Relates :  
Description
JDK 9 terminally deprecated jdk.unsupported/sun.reflect.Reflection.getCallerClass(int). The java.lang.StackWalker API can be used as its replacement.
Comments
JDK-8199464 has been filed to track the remaining references.
12-03-2018

It looks like mapfile on solaris sparc still refers to this function? ld: warning: mapfile: text segment: section '.text%Java_sun_reflect_Reflection_getCallerClass__' does not appear in any input file ? and others ...
12-03-2018

Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-December/thread.html#50713
20-12-2017