This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] PR libgcj/15560 - TimeZone and SimpleTimeZone


Hi list,


I merged the attached patches from GNU classpath to fix
PR libgcj/15560. SimpleTimeZone.getOffset() returns the wrong values
now. I verified this by running then mentioned mauve testcases. The only
failing testcases fail with SUN JDK 1.4.2 too.

Ok to commit to trunk ?


Michael


2005-01-09  Michael Koch  <konqueror@gmx.de>

	* java/util/SimpleTimeZone.java (checkRule):
	Throw IllegalArgumentException on invalid month values.
	* java/util/TimeZone.java (setID):
	Throw NullPointerException if needed.

2005-01-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* java/util/SimpleTimeZone.java (getOffset):
	offset end date with daylight savings

Attachment: timezone.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]