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

Source object should maintain URL of the script source as a private field

    XMLWordPrintable

Details

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

    Description

      We have many compileScript and evaluateScript overloads in Context. We should get URL of the script source from Source object itself rather than passing URL separately. Source can keep URL in a private final field and return it via a getter. Context can the URL (if non-null) for CodeSource.

      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: