gcc/libjava/classpath
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
..
.externalToolBuilders Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
.settings Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
doc Makefile.am: Add rules to build and install man pages from texinfo docs. 2007-02-20 19:46:57 +00:00
examples aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
external aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
gnu re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 17:04:55 +01:00
include aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
java re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 17:04:55 +01:00
javax MBeanServer.java: Updated. 2007-02-20 15:02:38 +00:00
lib re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 17:04:55 +01:00
m4 Readd missing chunks from r116332: 2007-01-11 00:01:27 +00:00
native Makefile.am, [...]: Install into nativeexeclibdir instead of gcjversionedlibdir. 2007-01-20 18:34:19 +00:00
org Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
resource * resource/gnu/classpath/tools/jar/messages.properties 2007-01-31 17:06:33 +00:00
scripts re PR classpath/23566 (Need to regenerate TimeZone data against tzdata2006a) 2007-02-09 11:53:40 +01:00
sun Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
tools Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1. 2007-02-15 17:25:24 +00:00
vm Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
.cdtproject Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
.classpath 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
.project Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
aclocal.m4 aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
AUTHORS Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
autogen.sh
BUGS
ChangeLog re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 17:04:55 +01:00
ChangeLog-2003
ChangeLog-2004 Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ChangeLog-2005 Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ChangeLog.gcj 2007-02-21 Gary Benson <gbenson@redhat.com> 2007-02-21 13:47:51 +00:00
ChangeLog.gnujaxp.1
ChangeLog.gnujaxp.2
ChangeLog.libxmlj
ChangeLog.usermap Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
compile Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
config.guess Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
config.sub Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
configure re PR libgcj/30647 (build of gcc midi-dssi fails) 2007-02-09 20:53:47 +00:00
configure.ac re PR libgcj/30647 (build of gcc midi-dssi fails) 2007-02-09 20:53:47 +00:00
COPYING
depcomp
HACKING
INSTALL Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
install-sh
jvmti.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
LICENSE Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ltmain.sh Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Makefile.am
Makefile.in aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
mauve-classpath
missing
mkinstalldirs
NEWS Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
README
THANKYOU
TODO

GNU Classpath README - Last updated: August 6, 2006 (for release 0.92)

GNU Classpath, Essential Libraries for Java is a project to create a
free software implementation of the core class libraries for the java
programming language.

Additionally, GNU Classpath includes a sub-project called GNU Classpath
Tools whose goal is to provide a number of free replacements for standard
Java development tools like javadoc, javap, and others.  A sub-project
called GNU Inetlib, can be used as an extension library to provide extra
network protocol support (ftp, finger, gopher) for GNU Classpath.  It can
also be used as a standalone to ease adding http, imap, pop3 and smtp
client support to applictions.  These subprojects are normally released
independently from the core libraries.

This is a development snapshot release only and is not for general
purpose use.  GNU Classpath needs to be combined with a proper
development environment to be useable for end users.  Eventually,
these essential libraries for java will work with as many free
compilers and runtimes as possible.

Complete development environments known to be based on GNU Classpath
include (recommended for end users):

	* GCC with GCJ 	(http://gcc.gnu.org/java/)
	* Kaffe		(http://www.kaffe.org/)

Smaller environments (runtime only, no compilers, no tools) which work
with this GNU Classpath releases include
(tested by and recommended for GNU Classpath hackers):

	* CACAO		(http://www.cacaojvm.org/)
	* JamVM		(http://jamvm.sourceforge.net/)
	* Jikes RVM	(http://jikesrvm.sourceforge.net/)

In general the latest releases of the above VMs will work out of the box
with the latest GNU Classpath release (and in most cases directly with the
development sources from CVS).

Besides combining GNU Classpath with the runtimes and compilers above
you might want to add support for additional extension libraries (mail,
activation, infobus, servlet) check out the GNU ClasspathX project
(http://www.gnu.org/software/classpathx/).

Some tools come with their own customized version of GNU Classpath.
Please check if there is a customized version available for the tool you
use before trying the bare bones GNU Classpath release.  We are working with
the tool creators to keep the differences between the core classes as small
as possible.  Please tell us if you make GNU Classpath work with a new tool.

Active projects which use modified versions of the Classpath libraries
some of which synchronizes with the Classpath CVS head every couple of weeks:

	* IKVM.NET	(http://www.ikvm.net/)
	* JC		(http://jcvm.sourceforge.net/)
	* JNode		(http://jnode.sourceforge.net/)
	* MysaifuVM	(http://www2s.biglobe.ne.jp/~dat/java/project/jvm/)
	* SableVM	(http://www.sablevm.org/)

For a more complete list of GNU Classpath based projects, see the
GNU Classpath website: http://www.gnu.org/software/classpath/stories.html

See the file INSTALL for details on installing GNU Classpath.
See the file NEWS for details on what is included in this release.
See the file TODO for the latest to do list.
See the file HACKING for working on (non-released) CVS development versions.

Homepage: http://www.gnu.org/software/classpath/

Bugs should be reported via bugzilla, available from the GNU Classpath
website: http://www.gnu.org/software/classpath/bugs.html

General Mailing List: classpath@gnu.org
  --> To subscribe send email to classpath-request@gnu.org with a 
      subject and body of "subscribe".  To unsubscribe do the same,
      only with a body and subject of "unsubscribe".  This is a
      smartlist managed mailing list.

Patches Mailing List: classpath-patches@gnu.org
  --> Proposed patches should be sent to the GNU Classpath patches list
  --> To subscribe send email to classpath-patches-request@gnu.org with a 
      subject and body of "subscribe".  To unsubscribe do the same,
      only with a body and subject of "unsubscribe".  This is a
      smartlist managed mailing list.

Anonymous CVS:
  --> "cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/classpath
      co classpath"
  --> More detailed instructions available on the Savannah project website.
      http://savannah.gnu.org/projects/classpath/

Happy Hacking!