pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-1044) Avoid using FileInputStream / FileOutputStream to avoid GC issues with finalizer
Date Wed, 12 Jun 2019 22:57:00 GMT

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

Roger Whitcomb commented on PIVOT-1044:
---------------------------------------

One more file fixed:

Sending tutorials\src\org\apache\pivot\tutorials\bxmlexplorer\BXMLExplorerDocument.java
Transmitting file data .done
Committing transaction...
Committed revision 1861203.

> Avoid using FileInputStream / FileOutputStream to avoid GC issues with finalizer
> --------------------------------------------------------------------------------
>
>                 Key: PIVOT-1044
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1044
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core, web
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> From this blog post (and similar) ([https://www.cloudbees.com/blog/fileinputstream-fileoutputstream-considered-harmful)] as
well as pending changes to Ant ([https://github.com/apache/ant/pull/77)] it seems wise to
change these uses, which are just in a couple of places:  FileSerializer and QueryServlet
(and some demos, but those don't seem as important as "core" classes).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message