JDK-8025799 : Restore sun.reflect.Reflection.getCallerClass(int) until a replacement API is provided
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-10-01
  • Updated: 2013-11-18
  • Resolved: 2013-10-18
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 8
8 b115Fixed
Related Reports
Relates :  
Relates :  
Description
The replacement for Reflection.getCallerClass has non-small API and implementation work (JDK-8020968). Due to the late game for JDK 8, adding a new supported API at this time doesn't allow adequate time to get community and existing frameworks depending on Reflection.getCallerClass to try out and give feedback.

Propose to restore sun.reflect.Reflection.getCallerClass in jdk8 and define a proper SE API in JDK9.