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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: