harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruth Cao (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3826) [classlib][sql] SQLInputImpl throws NullPointerException when the param of readXXX is null
Date Mon, 14 May 2007 01:29:15 GMT

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

Ruth Cao closed HARMONY-3826.
-----------------------------


Thanks, Tim. The fix looks fine.

> [classlib][sql] SQLInputImpl throws NullPointerException when the param of readXXX is
null
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3826
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3826
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ruth Cao
>         Assigned To: Tim Ellison
>         Attachments: Harmony-3826.diff
>
>
> The following test case throws NullPointerException on Harmony while passes on RI:
> public void testReadDouble() throws SQLException {   
>         Object[] attributes = new Object[] {null};
>        SQLInputImpl impl = new SQLInputImpl(attributes, new HashMap<String, Class<?>>());
>        assertEquals(0, impl.readDouble(), 0);
> }
> Other readXXX methods have similar problems. 

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