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

Kelvin Goodson closed TUSCANY-1838.
-----------------------------------


> HelperContext provided to createObjectOutputStream is inadvertantly ignored
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-1838
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1838
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-1.0
>            Reporter: Kelvin Goodson
>             Fix For: Java-SDO-1.1
>
>
> Ron Gavlin reported in 
> http://www.mail-archive.com/[email protected]/msg01884.html an issue 
> with HelperContexts being unavailable during marshalling.  I feel sure that 
> this is due to this piece of code here in 
> HelperProviderBase::ResolvableImpl#writeDataObject
>         XMLHelper xmlHelperLocal = xmlHelper;
>         if(objectOutput instanceof SDOObjectInputStream)
>         {
>             xmlHelperLocal = 
> ((SDOObjectInputStream)objectOutput).getHelperContext().getXMLHelper();
>         }
>         xmlHelperLocal.save(dataObject, "commonj.sdo", "dataObject", 
> gzipOutputStream);
> where the instanceof test and cast should be to SDOObjectOutputStream

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to