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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: