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

Nashorn code assumes NashornCallSiteDescriptor always

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b96
    • CPU:
      generic
    • OS:
      generic

      Description

      Nashorn code dynalink CallSiteDescriptor to be always NashornCallSiteDescriptor instance. This is true if Nashorn linkers are the only linkers used. With pluggable dynalink linkers, a linker may translate NashornCallSiteDescriptor created by Nashorn to either CallSiteDescriptor instance or instance of subclass of it. So, Nashorn code should avoid unconditionally casting CallSiteDescriptor to NashornCallSiteDescriptor.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: