lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SOLR-10779) JavaBinCodec's close/finish pattern is trappy
Date Wed, 31 May 2017 14:46:04 GMT

     [ https://issues.apache.org/jira/browse/SOLR-10779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erick Erickson reassigned SOLR-10779:
-------------------------------------

    Assignee: Erick Erickson

> JavaBinCodec's close/finish pattern is trappy
> ---------------------------------------------
>
>                 Key: SOLR-10779
>                 URL: https://issues.apache.org/jira/browse/SOLR-10779
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>
> Having the marshal() code call finish which in turn calls close() is trappy. The marshal
code is not robust anyway since if there's an exception before the try loop, it will not close
the resource.
> Sub task of SOLR-10778



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message