RFR: 8299684: (bf) JNI direct buffer functions with large capacity behave unexpectedly [v5]

Brian Burkhalter bpb at openjdk.org
Wed Jan 11 17:32:31 UTC 2023


On Tue, 10 Jan 2023 06:00:10 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8299684: Changes addressing reviewer comments
>
> test/jdk/java/nio/jni/NewDirectByteBuffer.java line 106:
> 
>> 104:     private static native ByteBuffer newDirectByteBuffer(long size);
>> 105:     private static native long getDirectBufferCapacity(ByteBuffer buf);
>> 106:     private static native void freeDirectBufferMemory(ByteBuffer buf);
> 
> Naming nit: ByteBuffer versus Buffer

Fixed in 95fd6652148e1b740af599081b3614c54656c8b4 (overlooked in previous commit).

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

PR: https://git.openjdk.org/jdk/pull/11873


More information about the nio-dev mailing list