RFR: 8254162: Implementation of Foreign-Memory Access API (Third Incubator)
Alan Bateman
alanb at openjdk.java.net
Sun Nov 8 08:12:56 UTC 2020
On Wed, 4 Nov 2020 07:45:09 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).
>
> I assume the CSR needs to be updated so that it's in sync with the API changes in the latest round.
I see the xxxByteAtIndex methods that took a ByteOrder have been removed from MemoryAccess. Should the xxxByte and xxxByteAtOffset that take a ByteOrder be removed too?
-------------
PR: https://git.openjdk.java.net/jdk/pull/548
More information about the build-dev
mailing list