You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/08/02 18:25:50 UTC
[jira] [Commented] (DERBY-5960) VirtualRandomAccessFile.close() is
not idempotent
[ https://issues.apache.org/jira/browse/DERBY-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727780#comment-13727780 ]
ASF subversion and git services commented on DERBY-5960:
--------------------------------------------------------
Commit 1509763 from [~kmarsden] in branch 'code/branches/10.9'
[ https://svn.apache.org/r1509763 ]
DERBY-5960 VirtualRandomAccessFile.close() is not idempotent
Merge revision 1402111 from trunk.
Contributed by Knut Anders Hatlen
> VirtualRandomAccessFile.close() is not idempotent
> -------------------------------------------------
>
> Key: DERBY-5960
> URL: https://issues.apache.org/jira/browse/DERBY-5960
> Project: Derby
> Issue Type: Bug
> Components: Store
> Affects Versions: 10.10.1.1
> Reporter: Knut Anders Hatlen
> Assignee: Kathey Marsden
> Priority: Minor
> Fix For: 10.10.1.1
>
> Attachments: d5960-1a.diff
>
>
> If VirtualRandomAccessFile.close() is called more than once, which might happen in code that cleans up after errors, it will throw a NullPointerException. We should make close() idempotent so that it is more robust.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira