gcc/libjava/classpath/java/util
Jakub Jelinek b3502aa8d4 re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken)
libjava/
	PR libgcj/17002
	PR classpath/28550
	* java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
	/etc/localtime, use ZoneInfo.readTZFile instead of
	VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
	either if it is a symlink or through /etc/sysconfig/clock.
	(readSysconfigClockFile): New static method.
	(readtzFile): Removed.
	* java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
	* posix.cc (_Jv_platform_initProperties): Set
	gnu.java.util.zoneinfo.dir.
	* sources.am (gnu_java_util_source_files): Add
	classpath/gnu/java/util/ZoneInfo.java.
	* Makefile.in: Regenerated.
	* java/util/VMTimeZone.h: Regenerated.
	* java/util/TimeZone.h: Regenerated.
	* gnu/java/util/ZoneInfo.h: Generated.
libjava/classpath/
	* java/util/Date.java (parse): Properly parse 09:01:02 as
	hours/minutes/seconds, not as hours/minutes/year.
	* java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
	{start,end}TimeMode constructor by calling shorter constructor,
	set {start,end}TimeMode fields after it returns.
	(setStartRule): Don't adjust startTime into WALL_TIME.  Set
	startTimeMode to WALL_TIME.
	(endStartRule): Similarly.
	(getOffset): Handle properly millis + dstOffset overflowing into the
	next day.  Adjust startTime resp. endTime based on startTimeMode
	resp. endTimeMode.
	* java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
	static fields.
	(timezones): Remove synchronized keyword.  Set zoneinfo_dir.
	If non-null, set up aliases0 and don't put anything into
	timezones0.
	(defaultZone): Call getTimeZone instead of timezones().get.
	(getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
	getTimeZoneInternal instead of timezones().get.
	(parseTime): Parse correctly hour:minute.
	(getTimeZoneInternal): New private method.
	(getTimeZone): Do the custom ID checking first, canonicalize
	ID for custom IDs as required by documentation.  Call
	getTimeZoneInternal to handle the rest.
	(getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
	(getAvailableIDs(File,String,ArrayList)): New private method.
	(getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
	* gnu/java/util/ZoneInfo.java: New file.

From-SVN: r122229
2007-02-22 17:04:55 +01:00
..
concurrent Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
jar Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
logging Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
prefs Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
regex Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
zip Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
.cvsignore Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
AbstractCollection.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
AbstractList.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
AbstractMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
AbstractSequentialList.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
AbstractSet.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ArrayList.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Arrays.java Arrays.java (binarySearch): Change comparison order. 2007-01-23 23:30:54 +00:00
BitSet.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Calendar.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
class-dependencies.conf Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Collection.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Collections.java Collections.java (UnmodifiableMap.toArray): Imported changes from Classpath. 2007-02-12 23:52:39 +00:00
Comparator.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ConcurrentModificationException.java
Currency.java
Date.java re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 17:04:55 +01:00
Dictionary.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
DuplicateFormatFlagsException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
EmptyStackException.java
Enumeration.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
EnumMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
EnumSet.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
EventListener.java
EventListenerProxy.java
EventObject.java
FormatFlagsConversionMismatchException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
Formattable.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
FormattableFlags.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
Formatter.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
FormatterClosedException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
GregorianCalendar.java 2007-02-21 Gary Benson <gbenson@redhat.com> 2007-02-21 13:47:51 +00:00
HashMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
HashSet.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Hashtable.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IdentityHashMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IllegalFormatCodePointException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
IllegalFormatConversionException.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IllegalFormatException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
IllegalFormatFlagsException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
IllegalFormatPrecisionException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
IllegalFormatWidthException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
InputMismatchException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
InvalidPropertiesFormatException.java Imported GNU Classpath 0.90 2006-05-18 17:29:21 +00:00
Iterator.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
LinkedHashMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
LinkedHashSet.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
LinkedList.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
List.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ListIterator.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ListResourceBundle.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Locale.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Map.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
MissingFormatArgumentException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
MissingFormatWidthException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
MissingResourceException.java
NoSuchElementException.java
Observable.java
Observer.java
package.html
PriorityQueue.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Properties.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
PropertyPermission.java
PropertyPermissionCollection.java
PropertyResourceBundle.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Random.java Imported GNU Classpath 0.19 + gcj-import-20051115. 2005-11-15 23:20:01 +00:00
RandomAccess.java
ResourceBundle.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Set.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
SimpleTimeZone.java re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 17:04:55 +01:00
SortedMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
SortedSet.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Stack.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
StringTokenizer.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Timer.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
TimerTask.java
TimeZone.java re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 17:04:55 +01:00
TooManyListenersException.java
TreeMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
TreeSet.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
UnknownFormatConversionException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
UnknownFormatFlagsException.java Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
UUID.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Vector.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
WeakHashMap.java Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00