tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelvin Goodson (JIRA)" <...@tuscany.apache.org>
Subject [jira] Closed: (TUSCANY-1838) HelperContext provided to createObjectOutputStream is inadvertantly ignored
Date Sat, 18 Sep 2010 10:56:45 GMT

     [ 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/tuscany-user@ws.apache.org/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.


Mime
View raw message