RFR: 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix) [v2]
Martin Doerr
mdoerr at openjdk.org
Mon Aug 14 18:21:41 UTC 2023
On Fri, 11 Aug 2023 23:30:00 GMT, Tyler Steele <tsteele at openjdk.org> wrote:
>> src/java.base/aix/native/libnio/MappedMemoryUtils.c line 140:
>>
>>> 138: return;
>>> 139: } else if (map_entry->pr_vaddr <= end_address &&
>>> 140: end_address <= map_entry->pr_vaddr + map_entry->pr_size) {
>>
>> MappedMemoryUtils.c:140:55: error: arithmetic on a pointer to void is a GNU extension [-Werror,-Wgnu-pointer-arith]
>> end_address <= map_entry->pr_vaddr + map_entry->pr_size) {
>> ~~~~~~~~~~~~~~~~~~~ ^
>
> Thanks for finding this. I am still building and testing with xlc 16.1, but it's a good idea to add 17.1 to the standard process as well. I'll fix before merging.
Thanks for fixing!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14964#discussion_r1293808046
More information about the nio-dev
mailing list