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

Missing ArrayBuffer.isView() Method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u40
    • core-libs
    • None
    • b39
    • generic
    • generic

        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

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

                Created:
                Updated:
                Resolved: