Provide private API to pass application class loader for nashorn script engine

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b82
    • generic
    • generic

      Nashorn script engine uses caller class loader as script "application loader" when security manager is present. If no security manager is present, System class loader is used. It is better if the default application loader is thread context class loader (when no security manager is present). Also it is better if NashornScriptEngineFactory class non-standard/private API to pass a specific classloader as script application loader.

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

              Created:
              Updated:
              Resolved: