gcc/libjava
Michael Koch baa61e09ef [multiple changes]
2004-07-17  Mark Wielaard  <mark@klomp.org>

	* gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
	when size is smaller.
	* java/io/RandomAccessFile.java (setLength): Use truncate for
	shrinking the file and seek plus write for expanding the file.

2004-07-17  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/channels/natFileChannelPosix.cc
	(implTruncate): Always save current position. Only reposition file
	pointer to where we started if not beyond new lenght. Reposition file
	pointer to file length if it points beyond the end of file.

From-SVN: r84868
2004-07-17 13:46:02 +00:00
..
gcj Makefile.am: Set ZIP and GCJH directly using autoconf. 2004-07-16 21:04:58 +00:00
gnu [multiple changes] 2004-07-17 13:46:02 +00:00
include Makefile.am: Set ZIP and GCJH directly using autoconf. 2004-07-16 21:04:58 +00:00
java [multiple changes] 2004-07-17 13:46:02 +00:00
javax Box.java: Put FIXME comment above class declaration. 2004-07-17 12:42:46 +00:00
jni [multiple changes] 2004-06-27 12:10:12 +00:00
libltdl Makefile.in: Regenerate with automake 1.8.5. 2004-06-15 07:32:58 +00:00
org Makefile.am (ordinary_java_source_files): Add org/xml/sax/helpers/NewInstance.java. 2002-12-20 03:49:20 +00:00
scripts unicode-muncher.pl: Updated to version 2.1 from GNU classpath. 2004-07-09 21:00:12 +00:00
sysdep configure.host: Enable hash synchronization on Darwin. 2004-07-07 20:24:00 +02:00
testsuite Makefile.am: Set ZIP and GCJH directly using autoconf. 2004-07-16 21:04:58 +00:00
acconfig.h acconfig.h: Removed most items. 2003-09-11 17:25:47 +00:00
acinclude.m4 configure.in: Move as much as possible below AC_CANONICAL_SYSTEM. 2004-07-16 02:11:33 +00:00
aclocal.m4 configure.in: Move as much as possible below AC_CANONICAL_SYSTEM. 2004-07-16 02:11:33 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc class.c (make_class_data): Add new field aux_info. 2004-04-20 02:38:46 +01:00
ChangeLog [multiple changes] 2004-07-17 13:46:02 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
ChangeLog-2001 ChangeLog rotation 2002-01-22 00:20:23 +00:00
ChangeLog-2002 ChangeLog rotation 2004-01-17 08:40:41 +00:00
ChangeLog-2003 ChangeLog rotation 2004-01-17 08:40:41 +00:00
configure configure.in (ZIP, GCJH): Remove white space around '=' in variable assignment. 2004-07-16 23:42:19 +00:00
configure.host s390.md ("udivsi3"): Ensure trap is generated for division by zero. 2004-07-14 13:09:09 +00:00
configure.in configure.in (ZIP, GCJH): Remove white space around '=' in variable assignment. 2004-07-16 23:42:19 +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
defineclass.cc defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use verify_field_signature and verify_method_signature... 2004-05-06 15:06:28 +01:00
exception.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
gij.cc jvm.h (namespace jcj): Declare verbose_class_flag 2004-07-07 16:44:12 -07:00
HACKING * HACKING: Fix URL for the automake-gcj. 2002-02-08 01:22:47 +00:00
interpret.cc interpret.cc (run): Correctly access libffi return values of integral smaller-than-int type... 2004-07-13 21:06:33 +00:00
jni.cc jni.cc (_Jv_JNI_NewGlobalRef, [...]): Remove needless parenthesis... 2004-06-29 21:52:11 -07:00
LIBGCJ_LICENSE Add license clarification. 2002-01-22 22:40:42 +00:00
libgcj-test.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libgcj.pc.in 2003-07-09 Michael Koch <konqueror@gmx.de> 2003-07-09 07:11:13 +00:00
libgcj.spec.in configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
libtool-version libtool-version: Increased `current' to 6. 2004-01-19 19:01:59 +00:00
Makefile.am 2004-07-17 Michael Koch <konqueror@gmx.de> 2004-07-17 08:37:22 +00:00
Makefile.in 2004-07-17 Michael Koch <konqueror@gmx.de> 2004-07-17 08:37:22 +00:00
mauve-libgcj mauve-libgcj: Removed the disabling of java.text.ACIAttribute and... 2003-12-18 20:23:48 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
no-threads.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
nogc.cc nogc.cc: Remove warnings. 2002-01-27 22:33:35 +00:00
pkg.m4 configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1. 2004-01-30 22:01:11 +00:00
posix-threads.cc posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
posix.cc posix.cc: added #include<stdio.h> 2003-07-08 04:49:16 +00:00
prims.cc re PR libgcj/7587 (direct threaded interpreter not thread-safe) 2004-07-13 22:03:03 +01:00
README gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
resolve.cc class.c (make_class_data): Add new field aux_info. 2004-04-20 02:38:46 +01:00
THANKS THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
verify.cc * verify.cc: Undef PC. 2004-03-19 17:38:23 +00:00
win32-threads.cc re PR libgcj/12647 ([win32] wait() does not release monitor correctly) 2003-10-31 03:36:38 +00:00
win32.cc win32.cc (WSAEventWrapper): Implemented default constructor and init() methods. 2003-12-16 22:54:22 +00:00

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