netty5/buffer/src
Norman Maurer d8e59ca638
Avoid creating FileInputStream and FileOutputStream for obtaining Fil… (#8110)
Motivation:

If all we need is the FileChannel we should better use RandomAccessFile as FileInputStream and FileOutputStream use a finalizer.

Modifications:

Replace FileInputStream and FileOutputStream with RandomAccessFile when possible.

Result:

Fixes https://github.com/netty/netty/issues/8078.
2019-08-17 09:43:01 +02:00
..
main/java/io/netty/buffer Don't zero non-readable buffer regions when capacity is decreased (#9427) 2019-08-16 08:18:09 +02:00
test/java/io/netty/buffer Avoid creating FileInputStream and FileOutputStream for obtaining Fil… (#8110) 2019-08-17 09:43:01 +02:00