You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/01/10 15:29:29 UTC
[jira] Resolved: (HARMONY-2961) [classlib][luni]not able to
instance a GregorianCalendar with TimeZone whose offset is greater than 24
hours
[ https://issues.apache.org/jira/browse/HARMONY-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-2961.
----------------------------------
Resolution: Fixed
Thanks Tony.
Patch applied to LUNI module at repo revision r494822.
Please check that the patch was applied as you expected.
> [classlib][luni]not able to instance a GregorianCalendar with TimeZone whose offset is greater than 24 hours
> ------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2961
> URL: https://issues.apache.org/jira/browse/HARMONY-2961
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Tim Ellison
> Attachments: harmony-2961.diff
>
>
> not able to instance a GregorianCalendar with TimeZone whose offset is greater than 24 hours.
> following testcase passes on RI but throws IllegalArgumentException on Harmony.
> public void test() {
> SimpleTimeZone timezone = new SimpleTimeZone(-3600 * 24 * 1000 * 2, "GMT");
> GregorianCalendar gc = new GregorianCalendar(timezone);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira