gcc/libjava
Andrew Haley f3f110d5d1 natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass.
2002-12-03  Andrew Haley  <aph@redhat.com>

        * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
	_Jv_PushClass.
        (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
        (_Jv_PopClass): New.
        (_Jv_PushClass): New.
        * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
        discover the ClassLoader of our caller.
        (_Jv_CheckArrayStore): Don't check that a class is assignment
        compatible with Object.
        * java/lang/natVMTHrowable.cc: Delete.
        * gnu/gcj/runtime/StackTrace.java: New, partly copied from
	java.lang.VMThrowable.
        (StackTrace(), StackTrace(int)): New constructors.
        (classAt, methodAt, update, methodAtAddress): New methods.
        (map): New field.
	* java/lang/VMThrowable.java: Use StackTrace instead of
	natVMTHrowable.
	* java/lang/Class.h (getClassLoaderInternal): New.
        (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
        Be friendly with gnu::gcj::runtime::StackTrace.
        (Object.chain): New field.
        * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
        gnu::gcj::runtime::StackTrace.
        * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
        instead of getClassLoader().
        * verify.cc (class _Jv_BytecodeVerifier): Likewise.
        java::lang::VMThrowable.
        * Makefile.am (core_java_source_files): Add MethodRef.java,
	StackTrace.java.
        (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
        * Makefile.in: Rebuild.

From-SVN: r59770
2002-12-03 13:50:40 +00:00
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj cvsignore: New file to ignore files generated during build. 2002-10-10 05:21:53 +00:00
gnu 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 09:57:05 +00:00
include natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
java natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:40 +00:00
javax HeuristicCommitException.java: Classpath merge. 2002-11-26 22:48:42 +00:00
libltdl * .cvsignore: Remove files that are present in CVS. 2002-04-28 18:41:51 +00:00
org HACKING, [...]: Fix spelling errors. 2001-10-31 00:48:17 +00:00
scripts unicode-decomp.pl: Move from chartables.pl... 2002-03-06 18:54:45 +00:00
sysdep configure.host [s390*-*]: Enable Java interpreter. 2002-10-08 14:57:37 +00:00
testsuite jacks.exp (gcj_jacks_setup_xfail): New function. 2002-12-01 23:50:03 +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 jni.cc: Added `name' argument. 2002-12-03 03:54:05 +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
HACKING * HACKING: Fix URL for the automake-gcj. 2002-02-08 01:22:47 +00:00
LIBGCJ_LICENSE Add license clarification. 2002-01-22 22:40:42 +00:00
Makefile.am natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
Makefile.in natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +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 THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
acconfig.h natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. 2002-08-29 18:05:15 +00:00
acinclude.m4 Makefile.in: Allow for PWDCMD to override hardcoded pwd. 2002-05-16 17:43:21 +00:00
aclocal.m4 aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added 2002-10-21 01:50:14 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc boehm.cc (_Jv_MarkObj): Don't fail if class object has been allocated but not initialized. 2002-09-25 20:14:37 +00:00
configure * configure: Regenerated with new libtool.m4. 2002-11-20 16:19:18 +01:00
configure.host configure.host [s390*-*]: Enable Java interpreter. 2002-10-08 14:57:37 +00:00
configure.in configure.in: Disable hash sync when not using threads. 2002-10-29 23:03:17 +00:00
defineclass.cc * java/lang/natClassLoader.cc: 2002-09-25 20:57:03 +00:00
exception.cc exception.cc (abort): added static modifier 2002-04-06 04:19:10 +00:00
gij.cc natRuntime.cc (_Jv_SetDLLSearchPath): New function. 2002-10-25 03:28:00 +00:00
interpret.cc verify.cc (type::compatible): Check initialization status first. 2002-11-26 06:51:14 +00:00
jni.cc jni.cc: Added `name' argument. 2002-12-03 03:54:05 +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.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libtool-version Makefile.am: Make target library a convenience library. 2002-03-17 00:35:21 +00:00
mauve-libgcj * mauve-libgcj: Enable Mauve tests that compile now. 2002-10-13 11:10:27 +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
posix-threads.cc posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set. 2002-03-21 00:26:46 +00:00
posix.cc natSystem.cc (init_properties): Call new function _Jv_platform_initProperties. 2002-04-07 12:27:00 +01:00
prims.cc natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
resolve.cc resolve.cc (METHOD_NOT_THERE, [...]): Remove. 2002-11-04 02:45:31 +00:00
verify.cc natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
win32-threads.cc win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new 2002-02-25 02:01:29 +00:00
win32.cc win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it. 2002-04-24 01:33:19 +00: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