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

Nashorn primitive linker should handle ES6 symbols

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None

      ES6 symbol values should behave just like other JS primitives in that using them as a base value of a property or index operation should trigger conversion to a symbol wrapper object that inherits from Symbol.prototype.

      As pointed out by Attila on nashorn-dev NashornPrimitiveLinker currently does not handle Symbols.

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: