GitHub user reudismam opened a pull request:

    https://github.com/apache/ant/pull/77

    Avoid FileInputStream and FileOutputStream.

    Avoid FileInputStream and FileOutputStream. These classes override the 
finalize method. As a result, their objects are only cleaned when the garbage 
collector performs a sweep. Since Java 7, programmers can use 
Files.newInputStream and Files.newOutputStream instead of FileInputStream and 
FileOutputStream to improve performance as recommended in this Java JDK 
bug-report.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/reudismam/ant newstream

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ant/pull/77.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #77
    
----
commit 0950db58654ff0f853dcfd7110f7d27500acbf5b
Author: = <reudismam@...>
Date:   2018-11-04T16:31:37Z

    Avoid FileInputStream and FileOutputStream.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to