Unnecessary invalidation of global constants in Context.setGlobal

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: core-libs
    • None

      Context.setGlobal invokes GlobalConstants.invalidateAll(). This is unnecessary as running code with that Global will still only create linkage in code compiled by Global's creating Context.

      (As a matter of fact, Context.setGlobal is probably misleading as it's not associating a Global with a Context. It's associating a Global with the current thread.)

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: