You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bahir.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/03 00:02:00 UTC

[jira] [Commented] (BAHIR-172) Avoid FileInputStream/FileOutputStream

    [ https://issues.apache.org/jira/browse/BAHIR-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921086#comment-16921086 ] 

ASF subversion and git services commented on BAHIR-172:
-------------------------------------------------------

Commit 68ac1be22ddccecf105aee355a8c2652868e9f7d in bahir's branch refs/heads/master from Like
[ https://gitbox.apache.org/repos/asf?p=bahir.git;h=68ac1be ]

[BAHIR-172 ] Replace FileInputStream with Files.newInputStream (#92)



> 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
(v8.3.2#803003)