lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangtai Liang (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LUCENE-3809) An incomplete fix for the NPE bugs in IdentityConstraint.java
Date Tue, 21 Feb 2012 09:16:35 GMT

     [ 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


Mime
View raw message