RFR: 8292698: Improve performance of DataInputStream
Сергей Цыпанов
duke at openjdk.org
Tue Aug 23 19:00:32 UTC 2022
On Tue, 23 Aug 2022 17:12:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> The main thing is to think through the implications for async close where the close method replaces 'in'.
Suppose we have a scenario where `in` is replaced asynchronously in one of implementations and the implementation is passed into constructor of `DataInputStream`. In this case the patched code is less NPE-vulnerable, isn't it?
-------------
PR: https://git.openjdk.org/jdk/pull/9956
More information about the core-libs-dev
mailing list