[ http://issues.apache.org/jira/browse/TUSCANY-502?page=all ] Frank Budinsky resolved TUSCANY-502: ------------------------------------
Resolution: Fixed Fixed in revision 417496. > Regression with test using java.util.Date > ----------------------------------------- > > Key: TUSCANY-502 > URL: http://issues.apache.org/jira/browse/TUSCANY-502 > Project: Tuscany > Type: Bug > Components: Java SDO Implementation > Versions: Java-Mx > Reporter: Kevin Williams > Priority: Blocker > Fix For: Java-Mx > > A previously working DAS test > (org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter) now > fails with the following error: > java.lang.ClassCastException: The value of type 'class > org.eclipse.emf.ecore.xml.type.internal.XMLCalendar' must be of type 'class > java.util.Date' > at > org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleDataStatic.validate(EStructuralFeatureImpl.java:2046) > at > org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleData.dynamicSet(EStructuralFeatureImpl.java:1942) > at > org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(BasicEObjectImpl.java:686) > at > org.apache.tuscany.sdo.impl.DynamicDataObjectImpl.eDynamicSet(DynamicDataObjectImpl.java:147) > at > org.apache.tuscany.sdo.impl.DataObjectImpl.eSet(DataObjectImpl.java:1439) > at > org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:642) > at > org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.set(DataObjectUtil.java:1970) > at > org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.setAndRecyle(DataObjectUtil.java:1976) > at > org.apache.tuscany.sdo.util.DataObjectUtil.setDate(DataObjectUtil.java:575) > at > org.apache.tuscany.sdo.impl.DataObjectImpl.setDate(DataObjectImpl.java:493) > at > org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter(ConverterTests.java:90) > > I have removed this test from the DAS test suite to allow the build to > complete until this is resolved. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]