Missing ArrayBuffer.isView() Method
Marcus Lagergren
marcus.lagergren at oracle.com
Wed Nov 5 17:52:35 UTC 2014
Fixed and backported to 8u40. Thanks for the report.
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/nashorn/rev/4ac6934c6cc2 <http://hg.openjdk.java.net/jdk8u/jdk8u-dev/nashorn/rev/4ac6934c6cc2>
Regards
Marcus
> On 23 Oct 2014, at 17:12, Jim Laskey (Oracle) <james.laskey at oracle.com> wrote:
>
> Filed as https://bugs.openjdk.java.net/browse/JDK-8061959
>
> On Oct 22, 2014, at 9:23 PM, Kishori Sharan <kishori.sharan at gmail.com> wrote:
>
>> Hello,
>> 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
>
More information about the nashorn-dev
mailing list