Global scope should be initialized lazily

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8u60, 9
    • Component/s: core-libs
    • b57
    • generic
    • generic

        Migrated from NASHORN-802

        There are many properties in global scope. All are initialized by default. But many properties may not be used in script file or in a session. We could lazily initialize global's properties. Getter/Setter may be added to method - but a hidden field may be initialized within getter.

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Marcus Lagergren
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: