natGregorianCalendar.cc (computeFields): Set the isSet__ array elements to true.

* java/util/natGregorianCalendar.cc (computeFields): Set the isSet__
	array elements to true.

From-SVN: r37081
This commit is contained in:
Warren Levy 2000-10-27 11:53:53 +00:00 committed by Warren Levy
parent df98a50bb0
commit 128e977c58
2 changed files with 7 additions and 0 deletions

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

View 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;
}