You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2011/08/30 16:47:37 UTC
[jira] [Resolved] (DIRSERVER-1649) Cursor leak at
SubEntryInterceptor and DupsContainter.java
[ https://issues.apache.org/jira/browse/DIRSERVER-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRSERVER-1649.
------------------------------------------
Resolution: Fixed
Patch applied :
http://svn.apache.org/viewvc?rev=1163237&view=rev
thanks !
> Cursor leak at SubEntryInterceptor and DupsContainter.java
> ----------------------------------------------------------
>
> Key: DIRSERVER-1649
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1649
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: core
> Reporter: Selcuk Aya
> Attachments: cursor.diff
>
>
> While working on jdbm, found out that SubEntryInterceptor.java does not close the cursor at all some times. Also, at other times, even if the cursor is closed, it is not closed under a finally clause and there might be a cursor leak when an exception is thrown while cursor is moved back and forth.
> The other issue is with DupsContainer.java. When it is closed, the contained cursor should be closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira