JDK-8061959 : Missing ArrayBuffer.isView() Method
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 8u40
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-10-23
  • Updated: 2015-06-04
  • Resolved: 2014-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u40Fixed 9 b39Fixed
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