Avoid netscape.javascript.JSObject in nashorn code

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b93
    • generic
    • generic

      nashorn uses it's own copy of netscape.javascript.JSObject class. It should avoid getWindow(Applet) in it - which anyway throws unsupported exception - but brings in compile time dependency on Applet class.

      It is better if nashorn renames it's JSObject to be jdk.nashorn.api.scripting.JSObject and avoid getWindow(Applet) method in it. The later is useful for non-desktop profiles as well.

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

              Created:
              Updated:
              Resolved: