This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
patch for libjava/java/util/Calendar.java
- From: Archit Shah <ashah at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 10 Nov 2005 15:16:28 -0500
- Subject: patch for libjava/java/util/Calendar.java
Fedora bug 172305 [1] is caused by a bug in Java calendaring. The
attached patch fixed that bug for classpath in the 0.16 release. From
the classpath CVS log:
2005-06-01 Sven de Marothy <sven@physto.se>
* java/util/Calendar: (setTimeInMillis): Recompute time fields.
-- Archit
Links
1. http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172305
--- libjava/java/util/Calendar.java 2005-11-09 04:48:40.000000000 -0500
+++ libjava/java/util/Calendar.new.java 2005-11-10 15:02:57.852313733 -0500
@@ -629,6 +629,7 @@
clear();
this.time = time;
isTimeSet = true;
+ computeFields();
}
/**