You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "wangfeng (JIRA)" <tu...@ws.apache.org> on 2008/03/26 11:55:24 UTC
[jira] Updated: (TUSCANY-2141) If the composite has a cyclic
include,throw an OutOfMemory exception
[ https://issues.apache.org/jira/browse/TUSCANY-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wangfeng updated TUSCANY-2141:
------------------------------
Attachment: testcase.zip
diff.txt
The patch will detect the cyclic state.
If found,logging an warning.
> If the composite has a cyclic include,throw an OutOfMemory exception
> --------------------------------------------------------------------
>
> Key: TUSCANY-2141
> URL: https://issues.apache.org/jira/browse/TUSCANY-2141
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.2
> Reporter: wangfeng
> Fix For: Java-SCA-1.2
>
> Attachments: diff.txt, testcase.zip
>
>
> If the composite has a cyclic include,tuscany will throw an OutOfMemory exception when parsing the include.
> Demo1Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo1Composite"
> <include name="sample:Demo2Composite"/>
> </composite>
> Demo2Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo2Composite">
> <include name="sample:Demo1Composite"/>
> </composite>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org