[ https://issues.apache.org/jira/browse/TUSCANY-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ki Park updated TUSCANY-1055: ----------------------------- Attachment: TUSCANY-1055.patch > DataFactory.create(abstract_type) should throw an IllegalArgumentException > -------------------------------------------------------------------------- > > Key: TUSCANY-1055 > URL: https://issues.apache.org/jira/browse/TUSCANY-1055 > Project: Tuscany > Issue Type: Bug > Components: Java SDO Implementation > Affects Versions: Java-SDO-Mx > Environment: You should see this error in any environment. > Reporter: Ki Park > Priority: Minor > Fix For: Java-SDO-Mx > > Attachments: TUSCANY-1055.patch > > > Use an Abstract type as a parameter of DataObject.create() and it works fine > now without any exception, but it should throw an exception. > According to the spec in section 3.7.2 Creating Data Objects, it reads: > - Type.dataType and abstract must be both fase. > - Throw an IllegalArgumentException if the instanceClass does not > correspond to a Type this factory can instantiate. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://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]