RFR: 8264502: FileDispatcherImpl_setDirect0 might return uninitialized variable

Alan Bateman alanb at openjdk.java.net
Wed Mar 31 12:06:34 UTC 2021


On Wed, 31 Mar 2021 11:11:06 GMT, Christoph Göttschkes <cgo at openjdk.org> wrote:

>> src/java.base/unix/native/libnio/ch/FileDispatcherImpl.c line 378:
>> 
>>> 376:     }
>>> 377: #else
>>> 378:     result = -1;
>> 
>> This looks okay but can you add to the bug or the PR as to how you ran into this, is this a port to some platform that doesn't support it?
>
> I made a comment in the bug report.

Thanks, I guessed there must be a new port in the picture as this case is not compiled in for any of the main stream platforms.

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

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


More information about the nio-dev mailing list