You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ruth Cao (JIRA)" <ji...@apache.org> on 2007/06/18 08:09:26 UTC

[jira] Created: (HARMONY-4199) [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap

[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


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.


[jira] Closed: (HARMONY-4199) [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap

Posted by "Ruth Cao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruth Cao closed HARMONY-4199.
-----------------------------


Thanks, Tony. The fix looks fine.

> [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
>            Assignee: Tony Wu
>         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.


[jira] Updated: (HARMONY-4199) [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap

Posted by "Ruth Cao (JIRA)" <ji...@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.


[jira] Assigned: (HARMONY-4199) [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu reassigned HARMONY-4199:
--------------------------------

    Assignee: Tony Wu

> [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
>            Assignee: Tony Wu
>         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.


[jira] Updated: (HARMONY-4199) [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap

Posted by "Ruth Cao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruth Cao updated HARMONY-4199:
------------------------------

    Patch Info: [Patch Available]

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


[jira] Resolved: (HARMONY-4199) [classlib][sql] javax.sql.rowset.BaseRowSet has wrong default values for fetchDirection and typeMap

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu resolved HARMONY-4199.
------------------------------

    Resolution: Fixed

Patch applied at r548556 , please verify. Thanks.

> [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
>            Assignee: Tony Wu
>         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.