Skip to content

Avoid FileInputStream and FileOutputStream #3188

Open
@leventov

Description

Since they override finalize() in OpenJDK, I think it's better to avoid instantiating those classes in FileByteSource and FileByteSink, instead using Files.newInputStream and newOutputStream.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions