harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4545) [classlib][sql][java6] javax.sql.rowset.RowSetMetaDataImpl#unWrap(Class<T>) should not always return null
Date Fri, 27 Jul 2007 03:19:04 GMT

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

Regis Xu updated HARMONY-4545:
------------------------------

    Patch Info: [Patch Available]

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