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

ScriptEnvironment ctor should be public

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • 8
    • core-libs
    • None
    • b93
    • generic
    • generic

    Description

      We use Parser() directly and currently have to create a new Context(), then pass ctx.getEnv() to Parser. This is wasteful since it causes class loaders to be created. Since the Context ctor is public, this one should be as well.

      Attachments

        Activity

          People

            sundar Sundararajan Athijegannathan
            batsatt Bryan Atsatt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: