You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2007/01/10 11:07:27 UTC
[jira] Created: (HARMONY-2961) [classlib][luni]not able to instance
a GregorianCalendar with TimeZone whose offset is greater than 24 hours
[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
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
[jira] Resolved: (HARMONY-2961) [classlib][luni]not able to
instance a GregorianCalendar with TimeZone whose offset is greater than 24
hours
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (HARMONY-2961) [classlib][luni]not able to
instance a GregorianCalendar with TimeZone whose offset is greater than 24
hours
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466399 ]
Tony Wu commented on HARMONY-2961:
----------------------------------
verified at r498548. Thanks Tim.
> [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
[jira] Assigned: (HARMONY-2961) [classlib][luni]not able to
instance a GregorianCalendar with TimeZone whose offset is greater than 24
hours
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison reassigned HARMONY-2961:
------------------------------------
Assignee: Tim Ellison
> [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
[jira] Updated: (HARMONY-2961) [classlib][luni]not able to instance
a GregorianCalendar with TimeZone whose offset is greater than 24 hours
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Wu updated HARMONY-2961:
-----------------------------
Attachment: harmony-2961.diff
> [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
> 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
[jira] Closed: (HARMONY-2961) [classlib][luni]not able to instance
a GregorianCalendar with TimeZone whose offset is greater than 24 hours
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison closed HARMONY-2961.
--------------------------------
Verified by Tony.
> [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
[jira] Commented: (HARMONY-2961) [classlib][luni]not able to
instance a GregorianCalendar with TimeZone whose offset is greater than 24
hours
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463527 ]
Tony Wu commented on HARMONY-2961:
----------------------------------
patch available, would you pls try it, thanks a lot.
> [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
> 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