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

Missing ArrayBuffer.isView() Method

    XMLWordPrintable

    Details

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

      Backports

        Description

        Hello,
        http://mail.openjdk.java.net/pipermail/nashorn-dev/2014-October/003711.html


        Why did Nashorn not implement the ArrayBuffer.isView() static method? The
        page at
        https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions
        describes that Nashorn implements the specification at
        https://www.khronos.org/registry/typedarray/specs/latest/ that conatins
        this method. However, this method is missing. The following statement
        throws an exception:

        ArrayBuffer.isView(new Int8Array(4));


        Thanks
        Kishori

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lagergren Marcus Lagergren
                Reporter:
                jlaskey Jim Laskey
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: