You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/08/29 17:43:31 UTC

[jira] Resolved: (HARMONY-4545) [classlib][sql][java6] javax.sql.rowset.RowSetMetaDataImpl#unWrap(Class) should not always return null

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