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

Object methods should call ToObject in ES6 mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      Many methods defined in ES5 to throw a TypeError when their argument is not an object should instead call ToObject in ES6. Nashorn should adapt its behavior based on whether it runs in ES5 or ES6 mode.

            attila Attila Szegedi
            attila Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: