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

Remove getInitialMap getters and GlobalObject interface.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        * nasgen generated maps are mostly used only with the current class (after recent class sharing changes). getInitialMap package-private accessors can be removed.

        * GlobalObject was a way to shield classloader boundary (in the past jdk.nashorn.internal.objects.* were loaded by a different loader and hence runtime can't refer to Global class). This is not needed anymore. Also Context.getGlobal/setGlobal can use Global type and avoid Global/GlobalObject cast in many places.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                sundar Sundararajan Athijegannathan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: