harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-4545) [classlib][sql][java6] javax.sql.rowset.RowSetMetaDataImpl#unWrap(Class<T>) should not always return null
Date Wed, 29 Aug 2007 15:43:31 GMT

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

Tim Ellison resolved HARMONY-4545.
----------------------------------

    Resolution: Fixed

Thanks Regis,

Fixed in SQL module at repo revision r570840.

Please check it was fixed as you expected.


> [classlib][sql][java6] javax.sql.rowset.RowSetMetaDataImpl#unWrap(Class<T>) should
not always return null
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4545
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4545
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Regis Xu
>            Assignee: Tim Ellison
>         Attachments: Harmony-4545.diff
>
>
> Below test case passed on ri but faild on harmony
>     public void test_unWrap_CClass() throws Exception {
>         Object o = metaDataImpl.unwrap(Integer.class);
>         assertNotNull(o);
>         assertTrue(o instanceof RowSetMetaDataImpl);
>         
>         o = metaDataImpl.unwrap(Comparable.class);
>         assertNotNull(o);
>         assertTrue(o instanceof RowSetMetaDataImpl);
>         
>         o = metaDataImpl.unwrap(null);
>         assertNotNull(o);
>         assertTrue(o instanceof RowSetMetaDataImpl);
>     }
> so i think we should return a instance of RowSetMetaDataImpl instand of null value.
> I will create a patch for this soon.

-- 
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