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

Make CallSiteDescriptor a concrete class

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • None
    • b89
    • generic
    • generic

    Backports

      Description

        Make CallSiteDescriptor a concrete class. It will simplify both lookup handling and class hierarchy a lot.

        We can add a "protected final getLookupPrivileged()" method for privileged access to the Lookup object, as well as a "protected final getLookup()" that enforces the security check. We no longer need AbstractCallSiteDescriptor or SimpleCallDescriptor, as we can just collapse their functionality into CallSiteDescriptor itself. equalsInKind and other unnecessary API surface also goes away.

        Attachments

          Issue Links

            Activity

              People

                attila Attila Szegedi
                attila Attila Szegedi
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: