gcc/libjava/java
Bryce McKinlay fa397ddafb Calendar.java (set): Never recompute fields here.
* java/util/Calendar.java (set): Never recompute fields here. They
	will already be set if someone set time explicitly, and it can cause
	problems to do so. Don't invalidate AM_PM setting if HOUR is set.
	* java/util/GregorianCalendar.java (computeTime): Don't ignore an
	HOUR setting if AM_PM is set. Don't try to ensure the HOUR value is
	sane.
	* java/text/SimpleDateFormat.java (defaultCentury): New field.
	(readObject): Call set2DigitYearStart if appropriate so that
	defaultCentury is calculated.
	(SimpleDateFormat): Don't bother clearing calendar here. Call
	computeCenturyStart().
	(set2DigitYearStart): Calculate and set defaultCentury.
	(format): Don't clone the calendar. Use "calendar" not "theCalendar"
	everywhere.
	(parse): Likewise. If the pattern is "y" or "yy" and it found exactly
	2 numeric digits, use the 80-20 heuristic to parse the value into a
	default century based on defaultCenturyStart.
	(computeCenturyStart): Rewritten. Call set2DigitYearStart().

From-SVN: r44395
2001-07-26 12:21:45 +01:00
..
applet backport: Applet.java: New file. 2000-07-12 05:52:04 +01:00
awt Rectangle2D.java: fix doc typo. 2001-05-31 16:48:15 +00:00
beans * java/bean/Beans.java (instantiate): enable Applet code from Classpath 2001-01-18 00:43:17 +00:00
io natFileWin32.cc (_access): Renamed. 2001-07-18 18:35:12 +00:00
lang VMClassLoader.java (getPrimitiveClass): Return correct type. 2001-07-24 14:31:42 +00:00
math BigInteger.java (byteArrayToIntArray): Don't include extraneous/malformed sign word. 2001-06-19 11:42:03 +00:00
net natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC 2533 socket options IPV6_JOIN_GROUP... 2001-07-18 20:39:52 +00:00
security PublicKey.java: Extend Key. 2001-06-04 22:55:49 +00:00
sql DriverManager.java (getDrivers): Handle case where driver's class loader is null. 2001-05-31 16:18:55 +00:00
text Calendar.java (set): Never recompute fields here. 2001-07-26 12:21:45 +01:00
util Calendar.java (set): Never recompute fields here. 2001-07-26 12:21:45 +01:00