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

Global scope should be initialized lazily

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u60, 9
    • 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.

              sundar Sundararajan Athijegannathan
              lagergren Marcus Lagergren
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: