Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8025799

Restore sun.reflect.Reflection.getCallerClass(int) until a replacement API is provided

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b115
    • Verified

    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.

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: