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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 8
    • None
    • core-libs
    • None
    • b82
    • generic
    • generic

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: