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

Linker::nativeLinker should not be restricted (mainline)

XMLWordPrintable

      In the past we made the Linker factory restricted as we did not have a good story for sealing a hierarchy. Since Linker is a restricted interface under JDK control, it is ok to have "virtual" caller sensitive method (as we can make sure that all overridden implementation are indeed caller sensitive).

      Because of this, we should mark as restricted the methods where the risk actually lies - namely downcallHandle and upcallStub.

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: