[jira] [Commented] (XERCESC-2212) AbstractDOMParser::parse potentially throws undocumented OutOfMemoryException
"Scott Cantor (Jira)" <[email protected]>
| Newsgroups | gmane.text.xml.xerces-c.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/XERCESC-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613224#comment-17613224 ]
Scott Cantor commented on XERCESC-2212:
---------------------------------------
I'll review but it would save some time if you can identify exactly what functions are needing of an API update.
I would have to say though that any caller of just about any method in a library like this should assume an OOM exception is a possibility. That may be why it isn't listed, but if it's listed in other places than I may not be correct about that.
> AbstractDOMParser::parse potentially throws undocumented OutOfMemoryException
> -----------------------------------------------------------------------------
>
> Key: XERCESC-2212
> URL: https://issues.apache.org/jira/browse/XERCESC-2212
> Project: Xerces-C++
> Issue Type: Bug
> Components: DOM
> Affects Versions: 3.2.2, 3.2.3
> Reporter: Tamir Yehuda
> Assignee: Scott Cantor
> Priority: Minor
> Fix For: 3.2.4
>
>
> the code shows that
> {code:java}
> try
> {
> // ...
> }
> catch(const OutOfMemoryException&)
> {
> resetInProgress.release();
> throw;
> }
> {code}
> and the OutOfMemoryException could be thrown. However this is not shown in the documentation
--
This message was sent by Atlassian Jira
(v8.20.10#820010)