harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-5506) [classlib][sql] java.sql.Timestamp.valueOf will throw IllegalArgumentException when string parameter contains writeblank in the end
Date Fri, 15 Feb 2008 03:51:08 GMT

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

Sean Qiu closed HARMONY-5506.
-----------------------------


Verified by Sean at r627486
Thanks, Tim.

> [classlib][sql] java.sql.Timestamp.valueOf will throw IllegalArgumentException when string
parameter contains writeblank in the end
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5506
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5506
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Sean Qiu
>            Assignee: Tim Ellison
>         Attachments: Harmony-5506.diff
>
>
> When the calculated parameter string contains writeblanks in the end, valueOf of the
java.sql.Timestamp will throw IllegalArgumentException.
> The test case is as following:
>         String date = "1970-01-01 22:17:59.0                 ";
>         Timestamp t = Timestamp.valueOf(date);

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