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

Make CallSiteDescriptor a concrete class

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: