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

Nashorn code assumes NashornCallSiteDescriptor always

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • b96
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: