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

Avoid netscape.javascript.JSObject in nashorn code

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: