harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2268) [DRLVM] Fixing again reverted change in Runtime.java in kernel classes
Date Wed, 22 Nov 2006 16:05:03 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2268?page=comments#action_12451975 ] 
Alexei Fedotov commented on HARMONY-2268:

I suggest calling close() from finalize() - this would reduce code size by one if statement.

> [DRLVM] Fixing again reverted change in Runtime.java in kernel classes
> ----------------------------------------------------------------------
>                 Key: HARMONY-2268
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2268
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Attachments: h2268.diff
> Reverted fix was to avoid closing file handle in finalize() method if it is already closed
by close().
> If we close the file descriptor twice we will close randomly opened file handle, which
have reused ours file handle. This leads to random crashes in different places.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message