RFR: 8254162: Implementation of Foreign-Memory Access API (Third Incubator)

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon Nov 2 11:29:54 UTC 2020


On Sun, 1 Nov 2020 16:06:32 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The javadoc for copyFrom isn't changed in this update but I notice it specifies IndexOutOfBoundException when the source segment is larger than the receiver, have other exceptions been examined?

This exception is consistent with other uses of this exception throughout this API (e.g. when writing a segment out of bounds).

-------------

PR: https://git.openjdk.java.net/jdk/pull/548


More information about the security-dev mailing list