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

Nashorn code assumes NashornCallSiteDescriptor always

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • b96
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: