Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 19935 invoked from network); 11 Oct 2007 01:55:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 01:55:11 -0000 Received: (qmail 34158 invoked by uid 500); 11 Oct 2007 01:54:59 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 34135 invoked by uid 500); 11 Oct 2007 01:54:59 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 34125 invoked by uid 99); 11 Oct 2007 01:54:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 18:54:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 01:55:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A08BF7141F1 for ; Wed, 10 Oct 2007 18:54:50 -0700 (PDT) Message-ID: <3737045.1192067690646.JavaMail.jira@brutus> Date: Wed, 10 Oct 2007 18:54:50 -0700 (PDT) From: "Regis Xu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-4545) [classlib][sql][java6] javax.sql.rowset.RowSetMetaDataImpl#unWrap(Class) should not always return null In-Reply-To: <14653774.1185419431193.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Regis Xu closed HARMONY-4545. ----------------------------- verified, thanks Tim > [classlib][sql][java6] javax.sql.rowset.RowSetMetaDataImpl#unWrap(Class) 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.