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

Add guards for callsites depending on global object

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: core-libs

      Description

      In order to to share and reuse script classes (JDK-8021350) we need to add guards to callsites depending on the global object. This includes mostly global variables, but also primitives (depending on the global's primitive prototypes), variables declared in eval() etc.

      Note that some globals properties that need to be guarded even within a single global currently are not (JDK-8034055)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hannesw Hannes Wallnoefer
              Reporter:
              hannesw Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: