Remove getInitialMap getters and GlobalObject interface.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b06
    • generic
    • generic

        * 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.

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

                Created:
                Updated:
                Resolved: