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

Remove getInitialMap getters and GlobalObject interface.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: