Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 17478 invoked from network); 18 Jun 2007 06:20:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2007 06:20:47 -0000 Received: (qmail 93563 invoked by uid 500); 18 Jun 2007 06:20:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 93464 invoked by uid 500); 18 Jun 2007 06:20:50 -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 93455 invoked by uid 99); 18 Jun 2007 06:20:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2007 23:20:50 -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; Sun, 17 Jun 2007 23:20:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D83C71419B for ; Sun, 17 Jun 2007 23:20:26 -0700 (PDT) Message-ID: <29908494.1182147626184.JavaMail.jira@brutus> Date: Sun, 17 Jun 2007 23:20:26 -0700 (PDT) From: "Ruth Cao (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4199) [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap In-Reply-To: <17428761.1182146966095.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-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruth Cao updated HARMONY-4199: ------------------------------ Attachment: Harmony-4199.diff May somebody pls try this? > [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap > --------------------------------------------------------------------------------------------------- > > Key: HARMONY-4199 > URL: https://issues.apache.org/jira/browse/HARMONY-4199 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Windows XP / Linux > Reporter: Ruth Cao > Attachments: Harmony-4199.diff > > > The following two test cases shows this bug: > public void testGetFetchDirection() throws SQLException { > BaseRowSetImpl brs = new BaseRowSetImpl(); > assertEquals(ResultSet.FETCH_FORWARD, brs.getFetchDirection()); > } > public void testGetTypeMap() { > BaseRowSetImpl brs = new BaseRowSetImpl(); > assertNull(brs.getTypeMap()); > } > class BaseRowSetImpl extends BaseRowSet { > private static final long serialVersionUID = 1L; > protected void initParams() { > super.initParams(); > } > } > RI passes while Harmony fails. The root cause lies in the setting of the default value. I'll create a patch for this soon, thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.