[ https://issues.apache.org/jira/browse/BAHIR-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894615#comment-16894615 ]
ASF GitHub Bot commented on BAHIR-172: -------------------------------------- lresende commented on issue #92: [BAHIR-172 ]Replace FileInputStream with Files.newInputStream URL: https://github.com/apache/bahir/pull/92#issuecomment-515731144 There are some usage of outputstream on `streaming-pubsub` as well. Are you planning to also fix that as part of bahir-172 ? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Avoid FileInputStream/FileOutputStream > -------------------------------------- > > Key: BAHIR-172 > URL: https://issues.apache.org/jira/browse/BAHIR-172 > Project: Bahir > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > > They rely on finalizers (before Java 11), which create unnecessary GC load. > The alternatives, {{Files.newInputStream}}, are as easy to use and don't have > this issue. -- This message was sent by Atlassian JIRA (v7.6.14#76016)