gcc/libjava
Bryce McKinlay 2dc55bc99f Makefile.am: New friends for java/lang/Thread.h.
* Makefile.am: New friends for java/lang/Thread.h.
	* prims.cc (runFirst): Removed.
	(JvRunMain): Merged into _Jv_RunMain. Now just calls that.
	(_Jv_RunMain): Now takes either a klass or class name parameter.
	Create a gnu.gcj.runtime.FirstThread and attach the native thread
	to that, then run it using _Jv_ThreadRun. Remove special handling of
	jar files, instead pass is_jar parameter through to FirstThread.
	* gcj/javaprims.h: Add prototypes for _Jv_ThreadRun and new variant
	of _Jv_AttachCurrentThread.
	* gnu/gcj/runtime/FirstThread.java (FirstThread): Now extends Thread.
	(run): New method. Take care of looking up main class manifest
	attribute and calling forName if neccessary. Then call call_main.
	(call_main): New native method.
	* gnu/gcj/runtime/natFirstThread.cc (call_main): New function, code
	relocated from prims.cc. Look up and call main method.
	* java/lang/Thread.java (run_): Removed.
	* java/lang/natThread.cc (run_): Renamed to...
	(_Jv_ThreadRun): this. JVMPI notification code moved to ...
	(_Jv_NotifyThreadStart): here. New function.
	(countStackFrames, destroy, resume, suspend, stop): Throw
	UnsupportedOperationExceptions rather than JvFail'ing.
	(_Jv_AttachCurrentThread): New variant takes a Thread argument.
	Existing version wraps new variant.

From-SVN: r45182
2001-08-26 12:30:09 +01:00
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
gnu Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
include Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
java Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
javax/naming
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
testsuite XercesBug.java: New file. 2001-08-17 15:26:15 -07:00
acconfig.h re PR libgcj/3694 (natPlainDatagramSocketImpl.cc doesn't compile in ALPHA OSF1) 2001-08-01 17:53:00 +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
boehm.cc boehm.cc: Include gc_local_alloc.h if appropriate. 2001-08-18 01:01:51 +00:00
ChangeLog Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
ChangeLog-1999
chartables.pl
configure configure: Rebuilt. 2001-08-02 17:08:37 +00:00
configure.host configure.host: Enable hash synchronization for alpha*-*. 2001-07-23 03:51:17 +00:00
configure.in configure: Rebuilt. 2001-08-02 17:08:37 +00:00
COPYING
defineclass.cc Field.java (toString): Use Method.appendClassName. 2001-08-24 17:24:44 +00:00
exception.cc exception.cc (cstdlib): Replaces stdlib.h. 2001-06-10 13:59:37 -07:00
gij.cc Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
HACKING * HACKING: add description on updating namespace 2001-07-29 10:05:08 +00:00
interpret.cc
jni.cc jni.cc (nathash, [...]): New globals. 2001-08-20 19:52:02 +00:00
LIBGCJ_LICENSE
libgcj-test.spec.in
libgcj.spec.in * libgcj.spec.in: Pass -fkeep-inline-functions to jc1. 2001-08-01 12:33:38 +00:00
libtool-version
Makefile.am Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
Makefile.in Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
mauve-libgcj Field.java (toString): Use Method.appendClassName. 2001-08-24 17:24:44 +00:00
name-finder.cc * name-finder.cc (lookup): Ignore a null dli_fname from d 2001-08-26 11:09:59 +01:00
NEWS
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
prims.cc Makefile.am: New friends for java/lang/Thread.h. 2001-08-26 12:30:09 +01:00
README
resolve.cc [multiple changes] 2001-05-24 05:40:37 +00:00
THANKS Added John Gilmore. 2001-06-13 10:44:40 -07:00
win32-threads.cc Implement invocation interface; don't create new thread for main. 2001-05-21 23:47:48 -07: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