[
https://issues.apache.org/jira/browse/DERBY-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen resolved DERBY-5960.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.10.0.0
Issue & fix info: (was: Patch Available)
Committed revision 1402111.
> 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.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Fix For: 10.10.0.0
>
> 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