]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* java/util/natGregorianCalendar.cc (computeFields): Set the isSet__
authorwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Oct 2000 11:53:53 +0000 (11:53 +0000)
committerwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Oct 2000 11:53:53 +0000 (11:53 +0000)
array elements to true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37081 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/util/natGregorianCalendar.cc

index c8c398689c1c024b9e9a8edeafe1d3f18f4bb9ca..fb17da3edee96fdf905cb1589a731dc91ac0e354 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-27  Warren Levy  <warrenl@cygnus.com>
+
+       * java/util/natGregorianCalendar.cc (computeFields): Set the isSet__
+       array elements to true.
+
 2000-10-27  Warren Levy  <warrenl@cygnus.com>
 
        * Makefile.am: Added locale files from Classpath.
index f412410518c8576da46a0b28816d0c14d92379b2..b1d66d2a4b35e1694f56307f2249b8786259aed6 100644 (file)
@@ -111,4 +111,6 @@ java::util::GregorianCalendar::computeFields ()
   elements(fields)[DST_OFFSET] = tim.tm_isdst <= 0 ? 0 : 60*60*1000;
   elements(fields)[ZONE_OFFSET] = getTimeZone()->getRawOffset();
   areFieldsSet = true;
+  for (int i = 0; i < FIELD_COUNT; i++)
+    elements(isSet__)[i] = true;
 }