gcc/libjava
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
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj javaprims.h: Rebuilt class list. 2001-07-23 20:01:29 +00:00
gnu re PR libgcj/3426 (java.io.InputStreamReader, infinite loop) 2001-07-13 05:41:28 +00:00
include configure.host: Enable hash synchronization for alpha*-*. 2001-07-23 03:51:17 +00:00
java Calendar.java (set): Never recompute fields here. 2001-07-26 12:21:45 +01:00
javax/naming InitialContext.java (init): Fix typo. 2001-03-28 01:32:02 +01:00
libltdl configure: Rebuilt. 2001-07-03 22:33:24 +00:00
org Add some org packages. 2001-07-11 03:59:16 +00:00
scripts encodings.pl: Generate lower-case names. 2001-06-26 04:36:47 +00:00
sysdep Jumbo patch: 2000-05-19 17:55:34 +00:00
testsuite re PR java/3731 (gcj should generate class init code for instanceof) 2001-07-19 14:03:08 +00:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 09:12:19 +00:00
ChangeLog Calendar.java (set): Never recompute fields here. 2001-07-26 12:21:45 +01:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
HACKING * HACKING: new file 2001-02-17 14:24:41 +00:00
LIBGCJ_LICENSE All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Makefile.am Makefile.in: Rebuilt. 2001-07-25 16:40:04 +00:00
Makefile.in Makefile.in: Rebuilt. 2001-07-25 16:40:04 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
README gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
THANKS Added John Gilmore. 2001-06-13 10:44:40 -07:00
acconfig.h USE_LIBFFI change 2001-06-02 08:49:31 +00:00
acinclude.m4 For PR java/2812: 2001-07-18 17:06:24 +00:00
aclocal.m4 For PR java/2812: 2001-07-18 17:06:24 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc [multiple changes] 2001-05-24 05:40:37 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure For PR java/2812: 2001-07-18 17:06:24 +00:00
configure.host configure.host: Enable hash synchronization for alpha*-*. 2001-07-23 03:51:17 +00:00
configure.in For PR java/2812: 2001-07-18 17:06:24 +00:00
defineclass.cc [multiple changes] 2001-05-24 05:40:37 +00:00
exception.cc exception.cc (cstdlib): Replaces stdlib.h. 2001-06-10 13:59:37 -07:00
gij.cc jv-scan.c (version): Update copyright year. 2001-05-23 19:10:30 +01:00
interpret.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
jni.cc * jni.cc (_Jv_JNI_NewLocalRef): Search other frames. 2001-06-15 23:44:45 +00:00
libgcj-test.spec.in configure: Rebuilt. 2000-03-04 21:50:19 +00:00
libgcj.spec.in For PR java/2812: 2001-07-18 17:06:24 +00:00
libtool-version * libtool-version: Updated current. 2001-04-05 15:12:41 +00:00
mauve-libgcj mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite 1.2... 2000-12-01 10:04:02 +00:00
name-finder.cc name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting lookup. 2000-11-23 05:45:47 +00:00
no-threads.cc Implement invocation interface; don't create new thread for main. 2001-05-21 23:47:48 -07:00
nogc.cc [multiple changes] 2001-05-24 05:40:37 +00:00
posix-threads.cc [multiple changes] 2001-05-24 05:40:37 +00:00
posix.cc re PR libgcj/1351 (_Jv_select -vs- Thread.interrupt) 2001-02-13 18:44:51 +00:00
prims.cc prims.cc (_JNI_OnLoad): New function. 2001-07-24 20:08:58 +00:00
resolve.cc [multiple changes] 2001-05-24 05:40:37 +00:00
win32-threads.cc Implement invocation interface; don't create new thread for main. 2001-05-21 23:47:48 -07:00

README

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


QUICK INSTALLATION
==================

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

<THREADS_TYPE> specifies the threads library to be used by libgcj. Currently 
the possible values are "posix" and "none". This value must be the same as
the value used when configuring gcc itself.

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

Consult the gcj web pages for additional "configure" arguments.

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc