You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Guangtai Liang (Created) (JIRA)" <ji...@apache.org> on 2012/02/21 10:14:34 UTC
[jira] [Created] (LUCENE-3809) An incomplete fix for the NPE bugs
in IdentityConstraint.java
An incomplete fix for the NPE bugs in IdentityConstraint.java
-------------------------------------------------------------
Key: LUCENE-3809
URL: https://issues.apache.org/jira/browse/LUCENE-3809
Project: Lucene - Java
Issue Type: Bug
Reporter: Guangtai Liang
The fix revision 424429 was aimed to remove an resource leak bug on the SocketChannelobject "channel" in the method "findJarServiceProvider" of the file "/xerces/java/trunk/src/org/apache/html/dom/ObjectFactory.java" , but it is incomplete.
When the statements at lines 1142-1153 or line 1162 throw any eception, the object "channel" can not be closed as expected. The best way to close such resource object is that putting such close operations in a "finally" block.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Closed] (LUCENE-3809) An incomplete fix for the NPE bugs in
IdentityConstraint.java
Posted by "Guangtai Liang (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guangtai Liang closed LUCENE-3809.
----------------------------------
Resolution: Invalid
> An incomplete fix for the NPE bugs in IdentityConstraint.java
> -------------------------------------------------------------
>
> Key: LUCENE-3809
> URL: https://issues.apache.org/jira/browse/LUCENE-3809
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Guangtai Liang
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> The fix revision 424429 was aimed to remove an resource leak bug on the SocketChannelobject "channel" in the method "findJarServiceProvider" of the file "/xerces/java/trunk/src/org/apache/html/dom/ObjectFactory.java" , but it is incomplete.
> When the statements at lines 1142-1153 or line 1162 throw any eception, the object "channel" can not be closed as expected. The best way to close such resource object is that putting such close operations in a "finally" block.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org