db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5960) VirtualRandomAccessFile.close() is not idempotent
Date Fri, 02 Aug 2013 18:05:48 GMT

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

ASF subversion and git services commented on DERBY-5960:
--------------------------------------------------------

Commit 1509794 from [~kmarsden] in branch 'code/branches/10.8'
[ https://svn.apache.org/r1509794 ]

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

Mime
View raw message