1999-04-07 16:42:40 +02:00
|
|
|
## Process this file with automake to produce Makefile.in.
|
|
|
|
|
2001-04-05 01:38:53 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
if TESTSUBDIR
|
2000-01-17 20:22:20 +01:00
|
|
|
SUBDIRS = $(DIRLTDL) testsuite gcj include
|
1999-09-11 00:03:10 +02:00
|
|
|
else
|
2000-01-17 20:22:20 +01:00
|
|
|
SUBDIRS = $(DIRLTDL) gcj include
|
1999-04-07 16:42:40 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
## ################################################################
|
|
|
|
|
|
|
|
##
|
|
|
|
## What gets installed, and where.
|
|
|
|
##
|
|
|
|
|
1999-06-21 15:03:47 +02:00
|
|
|
## Install a library built with a cross compiler in tooldir, not
|
|
|
|
## libdir.
|
|
|
|
if USE_LIBDIR
|
[multiple changes]
Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile: Rebuilt.
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
builds.
* java/net/natPlainSocketImpl.cc: Include <sys/select.h> only if
present.
* configure: Rebuilt.
* configure.in: Properly align --help output, fix capitalization
and punctuation.
* acinclude.m4: Likewise.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* include/javaprims.h (_Jv_word, _Jv_word2): New types.
* include/java-interp.h (_Jv_InterpMethodInvocation): Use _Jv_word.
(_Jv_callInterpretedMethod): Unused. Remove.
(_Jv_InterpMethod::run,run_normal,run_synch_object,run_synch_class):
Use ffi_raw.
* include/java-cpool.h (_Jv_get, _Jv_put): Remove.
(_Jv_{store,load}{Indexes,Int,Float,Long,Double}): Use _Jv_word.
* boehm.cc (_Jv_MarkObj): Use _Jv_word.
* interpret.cc: use _Jv_word.
* defineclass.cc: use_Jv_word.
* resolve.cc: Use _Jv_word.
(_Jv_ResolvePoolEntry): Return _Jv_word.
* java/lang/Class.h (_Jv_Constants): Use _Jv_word for cpool.
* java/lang/natClassLoader.cc (_Jv_InternClassStrings): Use _Jv_word.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Change comment.
From-SVN: r28641
1999-08-10 07:32:23 +02:00
|
|
|
toolexeclibdir = $(libdir)$(MULTISUBDIR)
|
1999-06-21 15:03:47 +02:00
|
|
|
else
|
1999-04-07 16:42:40 +02:00
|
|
|
toolexecdir = $(exec_prefix)/$(target_alias)
|
|
|
|
toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
|
1999-06-21 15:03:47 +02:00
|
|
|
endif
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2001-02-22 05:19:58 +01:00
|
|
|
if XLIB_AWT
|
2000-10-22 19:46:09 +02:00
|
|
|
cond_x_ltlibrary = libgcjx.la
|
2001-02-22 05:19:58 +01:00
|
|
|
else
|
|
|
|
cond_x_ltlibrary =
|
2000-10-22 19:46:09 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
toolexeclib_LTLIBRARIES = libgcj.la $(cond_x_ltlibrary)
|
1999-05-11 14:11:09 +02:00
|
|
|
toolexeclib_DATA = libgcj.spec
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
data_DATA = libgcj.jar
|
1999-04-07 16:42:40 +02:00
|
|
|
|
1999-12-20 03:18:11 +01:00
|
|
|
if NEEDS_DATA_START
|
|
|
|
toolexeclib_LIBRARIES = libgcjdata.a
|
|
|
|
libgcjdata_a_SOURCES = libgcjdata.c
|
|
|
|
endif
|
|
|
|
|
1999-10-07 01:13:37 +02:00
|
|
|
## For now, only on native systems. FIXME.
|
1999-04-07 16:42:40 +02:00
|
|
|
if NATIVE
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
bin_PROGRAMS = jv-convert gij
|
1999-04-07 16:42:40 +02:00
|
|
|
endif
|
|
|
|
|
2000-05-19 19:55:34 +02:00
|
|
|
bin_SCRIPTS = addr2name.awk
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## ################################################################
|
|
|
|
|
|
|
|
##
|
|
|
|
## Compilers and compilation flags.
|
|
|
|
##
|
|
|
|
|
|
|
|
## CANADIAN is a misnomer. Really we check to see if we must pick up
|
|
|
|
## the tools from the path.
|
|
|
|
if CANADIAN
|
|
|
|
if NULL_TARGET
|
|
|
|
## In this case, gcj is found outside the build tree. However, zip is
|
|
|
|
## found in the build tree.
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar$(EXEEXT)
|
1999-04-07 16:42:40 +02:00
|
|
|
else
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
ZIP = fastjar
|
1999-04-07 16:42:40 +02:00
|
|
|
endif
|
|
|
|
GCJH = gcjh
|
|
|
|
else # CANADIAN
|
|
|
|
## JAVAC is set to `$(GCJ) -C'. However, JAVAC is run from the srcdir
|
|
|
|
## (due to problems running it in builddir). In this case the obvious
|
|
|
|
## definition of GCJ won't work; instead we resort to this ugly
|
|
|
|
## definition that gives us absolute paths.
|
|
|
|
GCJH = $(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh$(EXEEXT)
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar$(EXEEXT)
|
1999-04-07 16:42:40 +02:00
|
|
|
endif # CANADIAN
|
|
|
|
|
2000-12-13 16:45:29 +01:00
|
|
|
## The compiler with whatever flags we want for both -c and -C
|
|
|
|
## compiles.
|
|
|
|
GCJ_WITH_FLAGS = $(GCJ) --encoding=UTF-8
|
|
|
|
|
|
|
|
GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ_WITH_FLAGS) -fassume-compiled -fclasspath=$(here) -L$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
|
2000-05-05 18:11:36 +02:00
|
|
|
GCJLINK = $(LIBTOOL) --mode=link $(GCJ) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
|
2000-05-07 18:02:00 +02:00
|
|
|
LIBLINK = $(LIBTOOL) --mode=link $(CC) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
|
1999-04-26 16:50:15 +02:00
|
|
|
|
2001-01-31 18:12:25 +01:00
|
|
|
## We define this because otherwise libtool can be run with different
|
|
|
|
## values of `CXX' and will then get confused and fail to work. So,
|
|
|
|
## we use --tag explicitly. Someday automake will be changed to do
|
|
|
|
## this automatically.
|
|
|
|
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
|
|
|
2000-12-13 16:45:29 +01:00
|
|
|
JAVAC = $(GCJ_WITH_FLAGS) -C
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2001-03-28 13:04:51 +02:00
|
|
|
GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
WARNINGS = -W -Wall
|
2000-01-04 09:46:52 +01:00
|
|
|
## We need _GNU_SOURCE defined for some Linux builds. It doesn't hurt
|
|
|
|
## to always define it.
|
2001-03-28 13:04:51 +02:00
|
|
|
AM_CXXFLAGS = -fno-rtti -fvtable-thunks -fnon-call-exceptions \
|
2000-08-30 22:43:48 +02:00
|
|
|
## Some systems don't allow `$' in identifiers by default, so we force it.
|
|
|
|
-fdollars-in-identifiers \
|
2001-03-28 13:04:51 +02:00
|
|
|
@LIBGCJ_CXXFLAGS@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE
|
1999-04-07 16:42:40 +02:00
|
|
|
if USING_GCC
|
|
|
|
AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS)
|
|
|
|
else
|
|
|
|
AM_CFLAGS = @LIBGCJ_CFLAGS@
|
|
|
|
endif
|
|
|
|
|
2000-05-01 23:36:39 +02:00
|
|
|
JCFLAGS = -g
|
2001-03-21 19:43:03 +01:00
|
|
|
JC1FLAGS = @LIBGCJ_JAVAFLAGS@ $(GCJFLAGS)
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2000-01-28 21:00:21 +01:00
|
|
|
LIBFFIINCS = -I$(top_srcdir)/../libffi/include -I$(MULTIBUILDTOP)../libffi/include
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
|
1999-09-11 00:03:10 +02:00
|
|
|
INCLUDES = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
|
2000-01-17 20:22:20 +01:00
|
|
|
$(GCINCS) $(THREADINCS) $(INCLTDL) \
|
2001-03-28 13:04:51 +02:00
|
|
|
$(GCC_UNWIND_INCLUDE) $(ZINCS) $(LIBFFIINCS)
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
## ################################################################
|
|
|
|
|
|
|
|
##
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
## How to build libgcj.a and libgcj.jar
|
1999-04-07 16:42:40 +02:00
|
|
|
##
|
|
|
|
|
|
|
|
## Objects from C++ sources in subdirs.
|
1999-04-26 16:50:15 +02:00
|
|
|
nat_files = $(nat_source_files:.cc=.lo)
|
2000-10-22 19:46:09 +02:00
|
|
|
x_nat_files = $(x_nat_source_files:.cc=.lo)
|
1999-04-07 16:42:40 +02:00
|
|
|
## Objects from C sources in subdirs.
|
1999-04-26 16:50:15 +02:00
|
|
|
c_files = $(c_source_files:.c=.lo)
|
1999-04-07 16:42:40 +02:00
|
|
|
## Objects from Java sources in subdirs.
|
1999-05-12 13:23:44 +02:00
|
|
|
javao_files = $(java_source_files:.java=.lo) \
|
|
|
|
$(built_java_source_files:.java=.lo)
|
2000-10-22 19:46:09 +02:00
|
|
|
x_javao_files = $(x_java_source_files:.java=.lo)
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2000-08-02 23:54:04 +02:00
|
|
|
libgcj_la_SOURCES = prims.cc posix.cc jni.cc exception.cc \
|
2000-10-20 23:21:37 +02:00
|
|
|
resolve.cc defineclass.cc interpret.cc name-finder.cc \
|
|
|
|
$(nat_source_files)
|
1999-04-26 16:50:15 +02:00
|
|
|
EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
|
1999-05-12 13:23:44 +02:00
|
|
|
$(c_source_files) $(java_source_files) $(built_java_source_files)
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
libgcj_la_DEPENDENCIES = libgcj.jar $(javao_files) \
|
2000-01-17 20:22:20 +01:00
|
|
|
$(c_files) $(GCOBJS) $(THREADOBJS) $(LIBLTDL)
|
001-01-07 Anthony Green <green@redhat.com>
* Makefile.am (texinfo): Add texinfo target for generating texinfo
documentation.
* Makefile.in: Rebuilt.
* scripts/TexinfoDoclet.java: New file.
* doc/java-applet.texi, doc/java-lang-reflect.texi,
doc/java-awt-color.texi, doc/java-lang.texi,
doc/java-awt-datatransfer.texi, doc/java-math.texi,
doc/java-awt-event.texi, doc/java-net.texi,
doc/java-awt-geom.texi, doc/java-security-spec.texi,
doc/java-awt-image.texi, doc/java-security.texi,
doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi,
doc/java-text.texi, doc/java-beans-beancontext.texi,
doc/java-util-jar.texi, doc/java-beans.texi,
doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi,
doc/java-lang-ref.texi: New files.
From-SVN: r38789
2001-01-08 01:27:51 +01:00
|
|
|
|
2001-03-23 06:18:16 +01:00
|
|
|
libgcj_la_LIBADD = $(javao_files) $(c_files) $(GCOBJS) \
|
2001-04-12 11:32:50 +02:00
|
|
|
$(THREADOBJS)
|
2000-12-30 13:22:15 +01:00
|
|
|
# Include THREADLIBS here to ensure that the correct version of
|
|
|
|
# certain linuxthread functions get linked:
|
2001-04-12 11:32:50 +02:00
|
|
|
libgcj_la_LDFLAGS = -rpath $(toolexeclibdir) $(THREADLIBS) $(LIBLTDL) \
|
1999-05-07 19:00:51 +02:00
|
|
|
## The mysterious backslash is consumed by make.
|
|
|
|
-version-info `grep -v '^\#' $(srcdir)/libtool-version`
|
2000-05-07 18:02:00 +02:00
|
|
|
libgcj_la_LINK = $(LIBLINK)
|
|
|
|
|
2000-10-22 19:46:09 +02:00
|
|
|
libgcjx_la_SOURCES = $(x_nat_source_files)
|
|
|
|
EXTRA_libgcjx_la_SOURCES = $(x_java_source_files)
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
libgcjx_la_DEPENDENCIES = libgcj.jar $(x_javao_files)
|
2000-10-22 19:46:09 +02:00
|
|
|
libgcjx_la_LIBADD = $(x_javao_files)
|
|
|
|
libgcjx_la_LDFLAGS = @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ \
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
-rpath $(toolexeclibdir) \
|
2000-10-22 19:46:09 +02:00
|
|
|
## The mysterious backslash is consumed by make.
|
|
|
|
-version-info `grep -v '^\#' $(srcdir)/libtool-version`
|
|
|
|
libgcjx_la_LINK = $(LIBLINK)
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2000-10-25 19:56:17 +02:00
|
|
|
## Make a symlink for each `libgcjx' file that was installed.
|
|
|
|
install-exec-hook:
|
|
|
|
cd $(DESTDIR)$(libdir) && \
|
|
|
|
if test -f libgcjx.la; then \
|
2000-11-02 21:33:05 +01:00
|
|
|
rm -f gnu-awt-xlib.la; \
|
|
|
|
$(LN_S) libgcjx.la gnu-awt-xlib.la; \
|
2000-10-25 19:56:17 +02:00
|
|
|
fi
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## Make the .class files depend on the .zip file. This seems
|
|
|
|
## backwards, but is right. This doesn't catch all the .class files,
|
|
|
|
## but that is ok, because the ones it fails to pick up are defined in
|
|
|
|
## a .java file with some other class which is caught. Note that we
|
|
|
|
## only want to create headers for those files which do not have
|
|
|
|
## hand-maintained headers.
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
$(java_source_files:.java=.class): libgcj.jar
|
1999-04-07 16:42:40 +02:00
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
## The .class files for X will not be included in libgcj.jar, but the
|
|
|
|
## rule for libgcj.jar will cause all out-of-date .class files to be
|
2000-10-22 19:46:09 +02:00
|
|
|
## built. We need this to generate headers for the nat-files.
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
$(x_java_source_files:.java=.class): libgcj.jar
|
2000-10-22 19:46:09 +02:00
|
|
|
|
1999-05-12 13:23:44 +02:00
|
|
|
## FIXME: this isn't really correct.
|
|
|
|
$(built_java_source_files:.java=.class): $(built_java_source_files)
|
|
|
|
## This little nastiness is here so that the backquoted stuff in the
|
|
|
|
## GCJ definition can be correctly expanded, if required.
|
2000-09-14 21:24:08 +02:00
|
|
|
@javac="$(JAVAC)"; \
|
|
|
|
for f in $?; do \
|
|
|
|
echo $$javac -L$(here) $(JCFLAGS) -classpath $(here):`cd $(srcdir) && /bin/pwd` -d $(here) $$f; \
|
|
|
|
$$javac -L$(here) $(JCFLAGS) -classpath $(here):`cd $(srcdir) && /bin/pwd` \
|
|
|
|
-d $(here) $$f; \
|
|
|
|
done
|
1999-05-12 13:23:44 +02:00
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## We have the zip file depend on the java sources and not the class
|
|
|
|
## files, because we don't know the names of all the class files.
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
## FIXME: this method fails in a peculiar case: if libgcj.jar is
|
1999-04-07 16:42:40 +02:00
|
|
|
## up-to-date, and foo.class is removed, and bar.java is touched, then
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
## `make libgcj.jar' will not rebuilt foo.class. That's because
|
|
|
|
## libgcj.jar is not out-of-date with respect to foo.java.
|
|
|
|
libgcj.jar: $(java_source_files) $(x_java_source_files)
|
2000-09-14 21:24:08 +02:00
|
|
|
## Create a list of all Java sources, without exceeding any shell limits.
|
|
|
|
@: $(shell echo Creating list of files to compile...) $(shell rm -f tmp-list || :) $(shell touch tmp-list) $(foreach source,$(subst $(srcdir)/,,$?),$(shell echo $(source) >> tmp-list))
|
1999-05-12 13:23:44 +02:00
|
|
|
## FIXME: this ought to depend on built_java_source_files, but right
|
|
|
|
## now it can't. Ugly.
|
|
|
|
$(MAKE) $(built_java_source_files:.java=.class)
|
1999-04-07 16:42:40 +02:00
|
|
|
## This little nastiness is here so that the backquoted stuff in the
|
|
|
|
## GCJ definition can be correctly expanded, if required.
|
2000-11-14 19:59:10 +01:00
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; fail=no; \
|
|
|
|
javac="$(JAVAC)"; dir=`/bin/pwd`; cd $(srcdir); \
|
|
|
|
for f in `cat $$dir/tmp-list`; do \
|
|
|
|
echo $$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f; \
|
|
|
|
$$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) $$f \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes ;; *) exit 1;; esac; \
|
|
|
|
done; \
|
|
|
|
test "$$fail" = no
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
-@rm -f tmp-list libgcj.jar
|
1999-04-07 16:42:40 +02:00
|
|
|
## Note that we explicitly want to include directory information.
|
2000-10-22 19:46:09 +02:00
|
|
|
find java gnu -type d -o -type f -name '*.class' | \
|
|
|
|
sed -e '/\/\./d' -e '/\/xlib/d' | \
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
$(ZIP) cfM0E@ $@
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2000-10-22 19:46:09 +02:00
|
|
|
MOSTLYCLEANFILES = $(javao_files) $(nat_files) $(nat_headers) $(c_files) $(x_javao_files) $(x_nat_files) $(x_nat_headers)
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
CLEANFILES = tmp-list libgcj.jar
|
1999-05-05 16:19:24 +02:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
## We just remove every .class file that was created.
|
|
|
|
find . -name '*.class' -print | xargs rm -f
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
SUFFIXES = .class .java .h
|
|
|
|
|
1999-04-26 16:50:15 +02:00
|
|
|
.class.lo:
|
|
|
|
$(GCJCOMPILE) -o $@ $<
|
1999-04-07 16:42:40 +02:00
|
|
|
|
1999-09-01 20:22:05 +02:00
|
|
|
.java.lo:
|
|
|
|
$(GCJCOMPILE) -o $@ $<
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## This is GNU make specific. For the .o files in subdirs, use a
|
|
|
|
## special rule. The standard automake rule can't be overridden (this
|
|
|
|
## is a bug in automake), and it also won't put the .o files into
|
|
|
|
## subdirs. FIXME.
|
2000-10-22 19:46:09 +02:00
|
|
|
$(nat_files) $(x_nat_files): %.lo: %.cc
|
2000-10-20 23:21:37 +02:00
|
|
|
@echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
|
2001-01-11 03:50:47 +01:00
|
|
|
$(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c -o $@ $<
|
2000-10-20 23:21:37 +02:00
|
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
|
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm -f .deps/$(*F).pp
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
## FIXME: GNU make.
|
1999-04-26 16:50:15 +02:00
|
|
|
$(c_files): %.lo: %.c
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
$(c_files): java/lang/fdlibm.h java/lang/ieeefp.h java/lang/mprec.h
|
|
|
|
|
|
|
|
## FIXME: GNU make.
|
2000-10-22 19:46:09 +02:00
|
|
|
$(javao_files) $(x_javao_files): %.lo: %.java
|
1999-04-26 16:50:15 +02:00
|
|
|
$(GCJCOMPILE) -o $@ $<
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2001-03-23 06:18:16 +01:00
|
|
|
## Pass the list of object files to libtool in a temporary file to
|
|
|
|
## avoid tripping platform command line length limits.
|
|
|
|
libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
|
|
|
|
@echo $(libgcj_la_OBJECTS) > libgcj.objectlist;
|
|
|
|
@echo $(libgcj_la_LIBADD) >> libgcj.objectlist;
|
2001-04-12 11:32:50 +02:00
|
|
|
$(libgcj_la_LINK) -objectlist libgcj.objectlist \
|
|
|
|
../libstdc++-v3/libsupc++/libsupc++convenience.la \
|
|
|
|
../libffi/libfficonvenience.la \
|
|
|
|
-rpath $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(LIBS)
|
2001-03-23 06:18:16 +01:00
|
|
|
|
|
|
|
libgcjx.la: $(libgcjx_la_OBJECTS) $(libgcjx_la_DEPENDENCIES)
|
|
|
|
@echo $(libgcjx_la_OBJECTS) > libgcjx.objectlist;
|
|
|
|
@echo $(libgcjx_la_LIBADD) >> libgcjx.objectlist;
|
2001-04-12 11:32:50 +02:00
|
|
|
$(libgcjx_la_LINK) -objectlist libgcjx.objectlist \
|
|
|
|
-rpath $(toolexeclibdir) $(libgcjx_la_LDFLAGS) $(LIBS)
|
2001-03-23 06:18:16 +01:00
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## ################################################################
|
|
|
|
|
|
|
|
##
|
|
|
|
## How to build header files.
|
|
|
|
##
|
|
|
|
|
|
|
|
.class.h:
|
|
|
|
## FIXME: GNU make specific.
|
|
|
|
$(GCJH) -classpath $(top_builddir) $(basename $<)
|
|
|
|
|
|
|
|
## Header files used when compiling some of the nat* files.
|
1999-05-12 13:23:44 +02:00
|
|
|
nat_headers = $(ordinary_java_source_files:.java=.h) \
|
2000-04-06 02:29:39 +02:00
|
|
|
$(built_java_source_files:.java=.h) \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/io/ObjectOutputStream$$PutField.h \
|
|
|
|
java/io/ObjectInputStream$$GetField.h
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2000-10-22 19:46:09 +02:00
|
|
|
x_nat_headers = $(x_java_source_files:.java=.h)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/lang/ClassLoader.h: java/lang/ClassLoader.class libgcj.jar
|
1999-10-22 21:43:41 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
-friend 'jclass _Jv_FindClass (_Jv_Utf8Const *name, java::lang::ClassLoader *loader);' \
|
2000-08-26 21:25:13 +02:00
|
|
|
-friend 'void _Jv_RunMain (const char *name, int argc, const char **argv, bool is_jar);' \
|
1999-10-22 21:43:41 +02:00
|
|
|
$(basename $<)
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## Our internal main program needs to be able to create a FirstThread.
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
gnu/gcj/runtime/FirstThread.h: gnu/gcj/runtime/FirstThread.class libgcj.jar
|
1999-08-18 16:16:42 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
-friend 'void JvRunMain (jclass, int, const char **);' \
|
|
|
|
-friend 'void _Jv_RunMain (const char*, int, const char **);' \
|
1999-04-07 16:42:40 +02:00
|
|
|
$(basename $<)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/lang/Thread.h: java/lang/Thread.class libgcj.jar
|
2000-02-10 21:31:48 +01:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
-prepend 'class _Jv_JNIEnv;' \
|
|
|
|
-prepend 'extern "Java" { namespace gnu { namespace gcj { namespace jni { class NativeThread; } } } };' \
|
2000-03-28 06:43:44 +02:00
|
|
|
-prepend '#define _JV_NOT_OWNER 1' \
|
|
|
|
-prepend '#define _JV_INTERRUPTED 2' \
|
2000-02-10 21:31:48 +01:00
|
|
|
-friend '_Jv_JNIEnv * _Jv_GetCurrentJNIEnv ();' \
|
|
|
|
-friend 'void _Jv_SetCurrentJNIEnv (_Jv_JNIEnv *env);' \
|
|
|
|
-friend 'class gnu::gcj::jni::NativeThread;' \
|
|
|
|
$(basename $<)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/lang/String.h: java/lang/String.class libgcj.jar
|
1999-04-07 16:42:40 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
-friend 'jchar* _Jv_GetStringChars (jstring str);' \
|
|
|
|
-friend 'jstring* _Jv_StringFindSlot (jchar*, jint, jint);' \
|
|
|
|
-friend 'jstring* _Jv_StringGetSlot (jstring);' \
|
|
|
|
-friend 'jstring _Jv_NewStringUtf8Const (_Jv_Utf8Const* str);' \
|
|
|
|
-friend 'jstring _Jv_NewStringLatin1 (const char*, jsize);' \
|
|
|
|
-friend 'jstring _Jv_AllocString (jsize);' \
|
|
|
|
$(basename $<)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/lang/reflect/Constructor.h: java/lang/reflect/Constructor.class libgcj.jar
|
2000-01-04 09:46:52 +01:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
-friend 'jmethodID _Jv_FromReflectedConstructor (java::lang::reflect::Constructor *);' \
|
2000-08-22 06:46:51 +02:00
|
|
|
-friend 'class java::lang::Class;' \
|
2000-01-27 00:56:36 +01:00
|
|
|
-friend 'jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);' \
|
2000-01-04 09:46:52 +01:00
|
|
|
$(basename $<)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/lang/reflect/Field.h: java/lang/reflect/Field.class libgcj.jar
|
1999-04-07 16:42:40 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
-friend 'jfieldID _Jv_FromReflectedField (java::lang::reflect::Field *);' \
|
2000-01-27 00:56:36 +01:00
|
|
|
-friend 'jobject _Jv_JNI_ToReflectedField (_Jv_JNIEnv*, jclass, jfieldID, jboolean);' \
|
2000-08-22 06:46:51 +02:00
|
|
|
-friend 'class java::lang::Class;' \
|
1999-04-07 16:42:40 +02:00
|
|
|
$(basename $<)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/lang/reflect/Method.h: java/lang/reflect/Method.class libgcj.jar
|
1999-04-07 16:42:40 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
-friend 'jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);' \
|
2000-08-22 06:46:51 +02:00
|
|
|
-friend 'class java::lang::Class;' \
|
2000-01-27 00:56:36 +01:00
|
|
|
-friend 'jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);' \
|
1999-04-07 16:42:40 +02:00
|
|
|
$(basename $<)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
gnu/gcj/runtime/VMClassLoader.h: gnu/gcj/runtime/VMClassLoader.class libgcj.jar
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
2000-08-22 06:46:51 +02:00
|
|
|
-friend 'class java::lang::ClassLoader;' \
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
$(basename $<)
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/io/ObjectInputStream$$GetField.h: libgcj.jar
|
2000-05-19 19:55:34 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
'java/io/ObjectInputStream$$GetField'
|
|
|
|
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
java/io/ObjectOutputStream$$PutField.h: libgcj.jar
|
2000-05-19 19:55:34 +02:00
|
|
|
$(GCJH) -classpath $(top_builddir) \
|
|
|
|
'java/io/ObjectOutputStream$$PutField'
|
|
|
|
|
1999-09-11 00:03:10 +02:00
|
|
|
## Headers we maintain by hand and which we want to install.
|
|
|
|
extra_headers = java/lang/Object.h java/lang/Class.h
|
|
|
|
|
|
|
|
## Install the headers. It is fairly ugly that we have to do this by
|
|
|
|
## hand.
|
|
|
|
install-data-local:
|
|
|
|
$(PRE_INSTALL)
|
|
|
|
@for f in $(nat_headers) $(extra_headers); do \
|
|
|
|
d="`echo $$f | sed -e 's,/[^/]*$$,,'`"; \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)/$$d; \
|
|
|
|
if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/$$f"; \
|
|
|
|
$(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/$$f; \
|
|
|
|
done
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
## ################################################################
|
|
|
|
|
|
|
|
##
|
|
|
|
## Additional `check' targets for maintainer convenience.
|
|
|
|
##
|
|
|
|
|
|
|
|
## This is used for maintainer-check. FIXME: should set from
|
|
|
|
## configure using AC_CHECK_TOOL.
|
|
|
|
NM = nm
|
|
|
|
|
|
|
|
## Try to make sure our library doesn't stomp the namespace.
|
1999-04-26 16:50:15 +02:00
|
|
|
maintainer-check: libgcj.la
|
|
|
|
$(NM) .libs/libgcj.a | grep ' T ' \
|
1999-04-07 16:42:40 +02:00
|
|
|
## Anything with `4java' is assumed to be from .java source.
|
|
|
|
| grep -v '4java' \
|
|
|
|
## Anything with Jv is ok.
|
|
|
|
| grep -v 'Jv' \
|
|
|
|
## `terminate' and `unexpected' are part of the runtime.
|
|
|
|
| grep -v 'terminate__Fv' | grep -v 'unexpected__Fv'
|
|
|
|
|
|
|
|
## This rule can be used to see if the headers are more or less
|
|
|
|
## correct.
|
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
2000-12-10 06:32:49 +01:00
|
|
|
header-check: libgcj.jar $(nat_headers)
|
1999-04-07 16:42:40 +02:00
|
|
|
rm -f htest.cc; \
|
|
|
|
for h in $(nat_headers); do \
|
|
|
|
echo "#include \"$$h\"" >> htest.cc; \
|
|
|
|
done; \
|
|
|
|
$(CXXCOMPILE) -fsyntax-only htest.cc
|
|
|
|
|
|
|
|
|
|
|
|
## ################################################################
|
|
|
|
|
|
|
|
##
|
|
|
|
## The `jv-convert' program and code to rebuild the converter header
|
|
|
|
## files.
|
|
|
|
##
|
|
|
|
|
|
|
|
## it only makes sense to try to rebuild the JIS .h files on native
|
|
|
|
## systems.
|
|
|
|
if NATIVE
|
|
|
|
if MAINTAINER_MODE
|
|
|
|
noinst_PROGRAMS = gen-from-JIS
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
CONVERT_DIR = gnu/gcj/convert
|
|
|
|
|
|
|
|
jv_convert_SOURCES =
|
|
|
|
EXTRA_jv_convert_SOURCES = $(convert_source_files)
|
1999-04-26 17:12:21 +02:00
|
|
|
## We need -nodefaultlibs because we want to avoid gcj's `-lgcj'. We
|
|
|
|
## need this because we are explicitly using libtool to link using the
|
|
|
|
## `.la' file.
|
1999-05-11 14:11:09 +02:00
|
|
|
jv_convert_LDFLAGS = --main=gnu.gcj.convert.Convert \
|
2001-03-21 19:43:03 +01:00
|
|
|
-rpath $(toolexeclibdir) -shared-libgcc
|
2000-05-05 18:11:36 +02:00
|
|
|
jv_convert_LINK = $(GCJLINK)
|
1999-05-11 14:11:09 +02:00
|
|
|
## We explicitly link in the libraries we need. This way we don't
|
|
|
|
## need -nodefaultlibs, so we can still rely on gcj picking up the
|
1999-05-11 14:33:49 +02:00
|
|
|
## system libraries we need (via the specs file).
|
1999-05-12 13:23:44 +02:00
|
|
|
## We need the -L so that gcj can find libgcj with `-lgcj'.
|
|
|
|
## FIXME: should be _libs on some systems.
|
1999-04-26 16:50:15 +02:00
|
|
|
jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
|
1999-05-12 13:23:44 +02:00
|
|
|
$(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
|
1999-05-11 15:03:47 +02:00
|
|
|
## Depend on the spec file to make sure it is up to date before
|
|
|
|
## linking this program.
|
1999-04-26 16:50:15 +02:00
|
|
|
jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
|
1999-05-11 15:03:47 +02:00
|
|
|
$(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2000-04-21 16:23:44 +02:00
|
|
|
gij_SOURCES = gij.cc
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
## We need -nodefaultlibs because we want to avoid gcj's `-lgcj'. We
|
|
|
|
## need this because we are explicitly using libtool to link using the
|
|
|
|
## `.la' file.
|
2001-03-21 19:43:03 +01:00
|
|
|
gij_LDFLAGS = -rpath $(toolexeclibdir) -shared-libgcc
|
2000-05-05 18:11:36 +02:00
|
|
|
gij_LINK = $(GCJLINK)
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
## We explicitly link in the libraries we need. This way we don't
|
|
|
|
## need -nodefaultlibs, so we can still rely on gcj picking up the
|
|
|
|
## system libraries we need (via the specs file).
|
|
|
|
## We need the -L so that gcj can find libgcj with `-lgcj'.
|
|
|
|
## FIXME: should be _libs on some systems.
|
2000-04-21 16:23:44 +02:00
|
|
|
gij_LDADD = libgcj.la $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
## Depend on the spec file to make sure it is up to date before
|
|
|
|
## linking this program.
|
2000-04-21 16:23:44 +02:00
|
|
|
gij_DEPENDENCIES = $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
|
1999-04-16 19:31:26 +02:00
|
|
|
# The Unicode consortium does not permit re-distributing the file JIS0201.TXT.
|
|
|
|
# You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
|
|
|
|
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0201.h: # $(CONVERT_DIR)/JIS0201.TXT
|
|
|
|
echo '/* This file is automatically generated from Unicode tables */' > tmp-0201; \
|
|
|
|
tr -d '\r' <$(CONVERT_DIR)/JIS0201.TXT \
|
|
|
|
| sed -n -e 's|\(0x..\).*\(0x....\).*#\(.*\)$$|MAP(0x00, \1, \2) /*\3 */|p' \
|
|
|
|
>> tmp-0201; \
|
|
|
|
mv tmp-0201 $(srcdir)/$(CONVERT_DIR)/JIS0201.h
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
# The Unicode consortium does not permit re-distributing the file JIS0208.TXT.
|
|
|
|
# You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
|
|
|
|
|
1999-04-16 19:31:26 +02:00
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0208.h: # $(CONVERT_DIR)/JIS0208.TXT
|
|
|
|
echo '/* This file is automatically generated from Unicode tables */' > tmp-0208; \
|
|
|
|
tr -d '\r' <$(CONVERT_DIR)/JIS0208.TXT \
|
|
|
|
| sed -n -e 's|\(0x....\).*0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\2, 0x\3, \4) /*\5 */|p' \
|
|
|
|
>> tmp-0208; \
|
1999-04-07 16:42:40 +02:00
|
|
|
mv tmp-0208 $(srcdir)/$(CONVERT_DIR)/JIS0208.h
|
|
|
|
|
|
|
|
# The Unicode consortium does not permit re-distributing the file JIS0212.TXT.
|
|
|
|
# You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
|
|
|
|
|
1999-04-16 19:31:26 +02:00
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0212.h: # $(CONVERT_DIR)/JIS0212.TXT
|
|
|
|
echo '/* This file is automatically generated from Unicode tables */' > tmp-0212; \
|
|
|
|
tr -d '\r' <$(CONVERT_DIR)/JIS0212.TXT \
|
|
|
|
| sed -n -e 's|0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\1, 0x\2, \3) /*\4 */|p' \
|
|
|
|
>> tmp-0212; \
|
1999-04-07 16:42:40 +02:00
|
|
|
mv tmp-0212 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
|
|
|
|
|
|
|
|
|
|
|
|
gen_from_JIS_SOURCES =
|
|
|
|
EXTRA_gen_from_JIS_SOURCES = $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
|
1999-04-16 19:31:26 +02:00
|
|
|
$(srcdir)/$(CONVERT_DIR)/make-trie.c \
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0201.h \
|
1999-04-07 16:42:40 +02:00
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0208.h \
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0212.h
|
1999-04-16 19:31:26 +02:00
|
|
|
gen_from_JIS_LDADD = $(CONVERT_DIR)/gen-from-JIS.o $(CONVERT_DIR)/make-trie.o
|
|
|
|
gen_from_JIS_DEPENDENCIES = $(CONVERT_DIR)/gen-from-JIS.o \
|
|
|
|
$(CONVERT_DIR)/make-trie.o
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
$(CONVERT_DIR)/gen-from-JIS.o: $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
|
1999-04-16 19:31:26 +02:00
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0201.h \
|
1999-04-07 16:42:40 +02:00
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0208.h \
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0212.h
|
|
|
|
$(COMPILE) -c -o $(CONVERT_DIR)/gen-from-JIS.o \
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c
|
|
|
|
|
1999-04-16 19:31:26 +02:00
|
|
|
$(CONVERT_DIR)/make-trie.o: $(srcdir)/$(CONVERT_DIR)/make-trie.c
|
|
|
|
$(COMPILE) -c -o $(CONVERT_DIR)/make-trie.o \
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/make-trie.c
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
if NATIVE
|
|
|
|
if MAINTAINER_MODE
|
|
|
|
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
|
|
|
|
./gen-from-JIS JIS0208>$(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc
|
|
|
|
|
|
|
|
$(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
|
|
|
|
./gen-from-JIS JIS0212>$(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc
|
|
|
|
|
1999-04-16 19:31:26 +02:00
|
|
|
$(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc: ./gen-from-JIS$(EXEEXT)
|
|
|
|
./gen-from-JIS toJIS>$(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
endif # MAINTAINER_MODE
|
|
|
|
endif # NATIVE
|
|
|
|
|
|
|
|
|
|
|
|
## ################################################################
|
|
|
|
|
|
|
|
##
|
|
|
|
## This section lists all the source files we care about.
|
|
|
|
##
|
|
|
|
|
|
|
|
convert_source_files = \
|
|
|
|
gnu/gcj/convert/BytesToUnicode.java \
|
|
|
|
gnu/gcj/convert/Convert.java \
|
|
|
|
gnu/gcj/convert/Input_8859_1.java \
|
2000-11-01 18:00:02 +01:00
|
|
|
gnu/gcj/convert/Input_ASCII.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
gnu/gcj/convert/Input_EUCJIS.java \
|
1999-04-16 19:31:26 +02:00
|
|
|
gnu/gcj/convert/Input_JavaSrc.java \
|
|
|
|
gnu/gcj/convert/Input_SJIS.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
gnu/gcj/convert/Input_UTF8.java \
|
2000-01-31 05:53:47 +01:00
|
|
|
gnu/gcj/convert/Input_iconv.java \
|
2000-08-02 21:56:53 +02:00
|
|
|
gnu/gcj/convert/IOConverter.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
gnu/gcj/convert/Output_8859_1.java \
|
2000-11-01 18:00:02 +01:00
|
|
|
gnu/gcj/convert/Output_ASCII.java \
|
1999-04-16 19:31:26 +02:00
|
|
|
gnu/gcj/convert/Output_EUCJIS.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
gnu/gcj/convert/Output_JavaSrc.java \
|
1999-04-16 19:31:26 +02:00
|
|
|
gnu/gcj/convert/Output_SJIS.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
gnu/gcj/convert/Output_UTF8.java \
|
2000-01-31 05:53:47 +01:00
|
|
|
gnu/gcj/convert/Output_iconv.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
gnu/gcj/convert/UnicodeToBytes.java
|
|
|
|
|
|
|
|
## List of all .java files for which the .h file is maintained by
|
|
|
|
## hand.
|
|
|
|
special_java_source_files = java/lang/Class.java java/lang/Object.java
|
|
|
|
|
2000-04-09 06:13:27 +02:00
|
|
|
awt_java_source_files = \
|
2000-10-22 19:46:09 +02:00
|
|
|
gnu/awt/LightweightRedirector.java \
|
|
|
|
gnu/awt/j2d/AbstractGraphicsState.java \
|
|
|
|
gnu/awt/j2d/DirectRasterGraphics.java \
|
|
|
|
gnu/awt/j2d/Graphics2DImpl.java \
|
|
|
|
gnu/awt/j2d/IntegerGraphicsState.java \
|
|
|
|
gnu/awt/j2d/MappedRaster.java \
|
|
|
|
gnu/gcj/awt/BitMaskExtent.java \
|
|
|
|
gnu/gcj/awt/Buffers.java \
|
|
|
|
gnu/gcj/awt/ComponentDataBlitOp.java \
|
|
|
|
gnu/gcj/awt/GLightweightPeer.java \
|
2000-08-09 15:03:26 +02:00
|
|
|
gnu/java/beans/editors/ColorEditor.java \
|
|
|
|
gnu/java/beans/editors/FontEditor.java \
|
|
|
|
gnu/java/beans/editors/NativeBooleanEditor.java \
|
|
|
|
gnu/java/beans/editors/NativeByteEditor.java \
|
|
|
|
gnu/java/beans/editors/NativeDoubleEditor.java \
|
|
|
|
gnu/java/beans/editors/NativeFloatEditor.java \
|
|
|
|
gnu/java/beans/editors/NativeIntEditor.java \
|
|
|
|
gnu/java/beans/editors/NativeLongEditor.java \
|
|
|
|
gnu/java/beans/editors/NativeShortEditor.java \
|
|
|
|
gnu/java/beans/editors/StringEditor.java \
|
|
|
|
gnu/java/beans/info/ComponentBeanInfo.java \
|
|
|
|
gnu/java/beans/BeanInfoEmbryo.java \
|
|
|
|
gnu/java/beans/EmptyBeanInfo.java \
|
|
|
|
gnu/java/beans/ExplicitBeanInfo.java \
|
|
|
|
gnu/java/beans/IntrospectionIncubator.java \
|
|
|
|
java/applet/Applet.java \
|
|
|
|
java/applet/AppletStub.java \
|
|
|
|
java/applet/AppletContext.java \
|
|
|
|
java/applet/AudioClip.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/AWTError.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/AWTEvent.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/AWTEventMulticaster.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/AWTException.java \
|
2000-12-03 07:34:54 +01:00
|
|
|
java/awt/AWTPermission.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/ActiveEvent.java \
|
|
|
|
java/awt/Adjustable.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/BorderLayout.java \
|
2000-08-02 21:56:53 +02:00
|
|
|
java/awt/Button.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/Canvas.java \
|
2000-12-03 07:34:54 +01:00
|
|
|
java/awt/CardLayout.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/Checkbox.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/CheckboxGroup.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/CheckboxMenuItem.java \
|
|
|
|
java/awt/Choice.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/Color.java \
|
2000-04-09 06:13:27 +02:00
|
|
|
java/awt/Component.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/ComponentOrientation.java \
|
2000-04-09 06:13:27 +02:00
|
|
|
java/awt/Container.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/Cursor.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/Dialog.java \
|
2000-04-09 06:13:27 +02:00
|
|
|
java/awt/Dimension.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Event.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/EventDispatchThread.java \
|
|
|
|
java/awt/EventQueue.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/FileDialog.java \
|
2000-12-03 09:28:35 +01:00
|
|
|
java/awt/FlowLayout.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Font.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/FontMetrics.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Frame.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/Graphics.java \
|
ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/GLightweightPeer.java: New file.
* java/awt/BorderLayout.java: Implemented all methods.
* java/awt/Button.java (actionListener, actionCommand): Renamed
and modifier change.
(addNotify): Call super.
(dispatchEventImpl): New method.
(getListeners): New method.
(label): Made package-private, not private.
* java/awt/Canvas.java: Implemented class body.
* java/awt/Color.java (brighter): New method.
(darker): New method.
(hashCode): New method.
* java/awt/Component.java (visible, enabled, eventMask): Set defaults.
(getGraphicsConfiguration): Delegate to
getGraphicsConfigurationImpl().
(getGraphicsConfigurationImpl): New method.
(getToolkit): Only return value from peer if not null.
(isDisplayable): Check with parent.
(isShowing): No parent implies not showing.
(getForeground): Check parent property if local is null.
(getBackground): Likewise.
(getFont): Likewise.
(setForeground): Inform peer.
(setBackground): Likewise
(setLocale): Invalidate component.
(getColorModel): Implemented.
(setLocation): Invalidate, or ignore if no change.
(setSize): Invalidate, or ignore if no change.
(setBounds): Invalidate, or ignore if no change.
(isOpaque): By default, heavyweight implies opaque.
(isLightweight): Implemented.
(getMaximumSize): Implemented.
(doLayout): Implemented, NOP.
(validate): Implemented, NOP.
(invalidate): Only propagate to parent if parent was valid.
(getGraphics): Implemented.
(getFontMetrics): Implemented.
(update): Implemented.
(paintAll): Implemented.
(repaint): Implemented all repaint methods.
(print): Implemented.
(printAll): Implemented.
(createImage): Implemented.
(dispatchEvent): Give the peer a chance to handle the event.
(dispatchEventImpl): Dispatch paint events.
(enableEvents): Lightweights enable events on parent component.
(coalesceEvents): Coalesce paint events, and select event type
using a switch.
(coalescePaintEvents): New method.
(processEvent): Fix unfortunate ordering of statements, and call
correct method for MOUSE_CLICKED.
(processPaintEvent): New method.
(addNotify): Allow container to notify children before event
mask is set in peer.
(addNotifyContainerChildren): New method.
(removeNotify): Visibility should not change on removeNotify.
(paramString): Implemented.
(list): Implemented two of the list methods.
* Container (myInsets): Removed, insets are managed by peer.
(getInsets): Query peer.
(addImpl): Fix reparenting, enable events for lightweights,
initialize component array.
(validate): Call doLayout in validateTree() instead.
(validateTree): Do nothing if already valid. Call beginValidate(),
endValidate() on peer. Call validateTree() instead of validate()
for children that are containers. Mark valid after validation of
children.
(setFont): Partial implementation.
(paint): Implemented.
(visitChildren): New method.
(visitChild): New method.
(update): Implemented.
(print): Implemented.
(paintComponents): Implemented.
(printComponents): Consider translation and clipping.
(getComponentAt): Ignore invisible children. Return this if no
child match.
(addNotify): Call super.
(addNotifyContainerChildren): New method.
(paramString): Implemented.
(list): Implemented.
* java/awt/EventQueue (invokeAndWait): Get system event queue the
right way.
(invokeLater): Likewise.
(isDispatchThread): Likewise.
* java/awt/FontMetrics (getLeading): Formula change.
(getDescent): Consider leading also.
(getMaxAscent): Default to getAscent().
(getMaxDescent): Default to getDescent.
(getMaxAdvance): Return value signifying unknown.
(charWidth): Both methods implemented.
(charsWidth): Implemented.
(bytesWidth): Implemented.
(getWidths): Implemented.
* java/awt/Frame.java (NORMAL, ICONIFIED, iconImage, isResizable,
state): New fields.
(Frame): Rearragend constuctor chaining to disallow null being
passed as a graphics configuration.
(getTitle): Return empty string if null.
(dispose): Removed.
(getIconImage): New method.
(setIconImage): New method.
(finalize): New method.
(setMenuBar): Notify peer.
(isResizable): New method.
(setResizable): New method.
(getState): New method.
(getFont): Removed.
(remove): Implemented.
(removeNotify): New method.
(getFrames): New method.
* java/awt/Graphics.java: Implemented body of class.
* java/awt/Graphics2D.java: New file.
* java/awt/GraphicsConfiguration.java: Enabled part of the API.
* java/awt/Image.java: Implemented body of class.
* java/awt/Panel.java (Panel): Call correct super constructor.
(addNotify): Implemented.
* java/awt/Rectangle.java (isEmpty): Fixed reversed logic.
* java/awt/RenderingHints.java: New file.
* java/awt/Toolkit.java (createComponent): Implemented.
(getSystemEventQueue): Delegate to getSystemEventQueueImpl().
* java/awt/Window.java (Window): Two new constructors. Reordered
constructor chaining.
(getGraphicsConfigurationImpl): New method.
(finalize): Call super.
(addNotify): Call super.
(pack): Do layout stuff.
(show): Ensure that peer exists and that component is valid.
(dispose): Dispose owned children.
(getOwner): Simplify code, casting null pointers is valid.
(getGraphicsConfiguration): Ask peer if local value is null.
* java/awt/event/ActionEvent.java (getActionCommand): Renamed from
getcmd().
* java/awt/image/BufferedImage.java: New file.
* java/awt/image/RasterOp.java: New file.
* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration):
More powerfull replacement for getColorModel().
(getColorModel) Removed.
(setEventMask) New method.
* Makefile.am: Added new files.
* Makefile.in: Rebuilt.
From-SVN: r35748
2000-08-16 20:03:48 +02:00
|
|
|
java/awt/Graphics2D.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/GraphicsConfiguration.java \
|
2000-12-06 22:22:23 +01:00
|
|
|
java/awt/GridBagConstraints.java \
|
2000-12-03 08:16:20 +01:00
|
|
|
java/awt/GridLayout.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/IllegalComponentStateException.java \
|
|
|
|
java/awt/Image.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/Insets.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/ItemSelectable.java \
|
|
|
|
java/awt/Label.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/LayoutManager.java \
|
|
|
|
java/awt/LayoutManager2.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/List.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Menu.java \
|
|
|
|
java/awt/MenuBar.java \
|
|
|
|
java/awt/MenuComponent.java \
|
|
|
|
java/awt/MenuContainer.java \
|
2000-04-09 06:13:27 +02:00
|
|
|
java/awt/MenuItem.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/MenuShortcut.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/Paint.java \
|
|
|
|
java/awt/PaintContext.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/Panel.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Point.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/PopupMenu.java \
|
|
|
|
java/awt/Rectangle.java \
|
ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/GLightweightPeer.java: New file.
* java/awt/BorderLayout.java: Implemented all methods.
* java/awt/Button.java (actionListener, actionCommand): Renamed
and modifier change.
(addNotify): Call super.
(dispatchEventImpl): New method.
(getListeners): New method.
(label): Made package-private, not private.
* java/awt/Canvas.java: Implemented class body.
* java/awt/Color.java (brighter): New method.
(darker): New method.
(hashCode): New method.
* java/awt/Component.java (visible, enabled, eventMask): Set defaults.
(getGraphicsConfiguration): Delegate to
getGraphicsConfigurationImpl().
(getGraphicsConfigurationImpl): New method.
(getToolkit): Only return value from peer if not null.
(isDisplayable): Check with parent.
(isShowing): No parent implies not showing.
(getForeground): Check parent property if local is null.
(getBackground): Likewise.
(getFont): Likewise.
(setForeground): Inform peer.
(setBackground): Likewise
(setLocale): Invalidate component.
(getColorModel): Implemented.
(setLocation): Invalidate, or ignore if no change.
(setSize): Invalidate, or ignore if no change.
(setBounds): Invalidate, or ignore if no change.
(isOpaque): By default, heavyweight implies opaque.
(isLightweight): Implemented.
(getMaximumSize): Implemented.
(doLayout): Implemented, NOP.
(validate): Implemented, NOP.
(invalidate): Only propagate to parent if parent was valid.
(getGraphics): Implemented.
(getFontMetrics): Implemented.
(update): Implemented.
(paintAll): Implemented.
(repaint): Implemented all repaint methods.
(print): Implemented.
(printAll): Implemented.
(createImage): Implemented.
(dispatchEvent): Give the peer a chance to handle the event.
(dispatchEventImpl): Dispatch paint events.
(enableEvents): Lightweights enable events on parent component.
(coalesceEvents): Coalesce paint events, and select event type
using a switch.
(coalescePaintEvents): New method.
(processEvent): Fix unfortunate ordering of statements, and call
correct method for MOUSE_CLICKED.
(processPaintEvent): New method.
(addNotify): Allow container to notify children before event
mask is set in peer.
(addNotifyContainerChildren): New method.
(removeNotify): Visibility should not change on removeNotify.
(paramString): Implemented.
(list): Implemented two of the list methods.
* Container (myInsets): Removed, insets are managed by peer.
(getInsets): Query peer.
(addImpl): Fix reparenting, enable events for lightweights,
initialize component array.
(validate): Call doLayout in validateTree() instead.
(validateTree): Do nothing if already valid. Call beginValidate(),
endValidate() on peer. Call validateTree() instead of validate()
for children that are containers. Mark valid after validation of
children.
(setFont): Partial implementation.
(paint): Implemented.
(visitChildren): New method.
(visitChild): New method.
(update): Implemented.
(print): Implemented.
(paintComponents): Implemented.
(printComponents): Consider translation and clipping.
(getComponentAt): Ignore invisible children. Return this if no
child match.
(addNotify): Call super.
(addNotifyContainerChildren): New method.
(paramString): Implemented.
(list): Implemented.
* java/awt/EventQueue (invokeAndWait): Get system event queue the
right way.
(invokeLater): Likewise.
(isDispatchThread): Likewise.
* java/awt/FontMetrics (getLeading): Formula change.
(getDescent): Consider leading also.
(getMaxAscent): Default to getAscent().
(getMaxDescent): Default to getDescent.
(getMaxAdvance): Return value signifying unknown.
(charWidth): Both methods implemented.
(charsWidth): Implemented.
(bytesWidth): Implemented.
(getWidths): Implemented.
* java/awt/Frame.java (NORMAL, ICONIFIED, iconImage, isResizable,
state): New fields.
(Frame): Rearragend constuctor chaining to disallow null being
passed as a graphics configuration.
(getTitle): Return empty string if null.
(dispose): Removed.
(getIconImage): New method.
(setIconImage): New method.
(finalize): New method.
(setMenuBar): Notify peer.
(isResizable): New method.
(setResizable): New method.
(getState): New method.
(getFont): Removed.
(remove): Implemented.
(removeNotify): New method.
(getFrames): New method.
* java/awt/Graphics.java: Implemented body of class.
* java/awt/Graphics2D.java: New file.
* java/awt/GraphicsConfiguration.java: Enabled part of the API.
* java/awt/Image.java: Implemented body of class.
* java/awt/Panel.java (Panel): Call correct super constructor.
(addNotify): Implemented.
* java/awt/Rectangle.java (isEmpty): Fixed reversed logic.
* java/awt/RenderingHints.java: New file.
* java/awt/Toolkit.java (createComponent): Implemented.
(getSystemEventQueue): Delegate to getSystemEventQueueImpl().
* java/awt/Window.java (Window): Two new constructors. Reordered
constructor chaining.
(getGraphicsConfigurationImpl): New method.
(finalize): Call super.
(addNotify): Call super.
(pack): Do layout stuff.
(show): Ensure that peer exists and that component is valid.
(dispose): Dispose owned children.
(getOwner): Simplify code, casting null pointers is valid.
(getGraphicsConfiguration): Ask peer if local value is null.
* java/awt/event/ActionEvent.java (getActionCommand): Renamed from
getcmd().
* java/awt/image/BufferedImage.java: New file.
* java/awt/image/RasterOp.java: New file.
* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration):
More powerfull replacement for getColorModel().
(getColorModel) Removed.
(setEventMask) New method.
* Makefile.am: Added new files.
* Makefile.in: Rebuilt.
From-SVN: r35748
2000-08-16 20:03:48 +02:00
|
|
|
java/awt/RenderingHints.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/ScrollPane.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/Scrollbar.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Shape.java \
|
2000-12-26 01:25:13 +01:00
|
|
|
java/awt/SystemColor.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/TextArea.java \
|
|
|
|
java/awt/TextComponent.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/TextField.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Toolkit.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/Transparency.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/Window.java \
|
2000-07-25 19:53:30 +02:00
|
|
|
java/awt/color/ColorSpace.java \
|
|
|
|
java/awt/color/ICC_ColorSpace.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/color/ICC_Profile.java \
|
|
|
|
java/awt/datatransfer/Clipboard.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/event/AWTEventListener.java \
|
|
|
|
java/awt/event/ActionEvent.java \
|
|
|
|
java/awt/event/ActionListener.java \
|
|
|
|
java/awt/event/AdjustmentEvent.java \
|
|
|
|
java/awt/event/AdjustmentListener.java \
|
|
|
|
java/awt/event/ComponentAdapter.java \
|
|
|
|
java/awt/event/ComponentEvent.java \
|
|
|
|
java/awt/event/ComponentListener.java \
|
|
|
|
java/awt/event/ContainerAdapter.java \
|
|
|
|
java/awt/event/ContainerEvent.java \
|
|
|
|
java/awt/event/ContainerListener.java \
|
|
|
|
java/awt/event/FocusAdapter.java \
|
|
|
|
java/awt/event/FocusEvent.java \
|
|
|
|
java/awt/event/FocusListener.java \
|
|
|
|
java/awt/event/HierarchyBoundsAdapter.java \
|
|
|
|
java/awt/event/HierarchyBoundsListener.java \
|
|
|
|
java/awt/event/HierarchyEvent.java \
|
|
|
|
java/awt/event/HierarchyListener.java \
|
|
|
|
java/awt/event/InputEvent.java \
|
|
|
|
java/awt/event/InputMethodEvent.java \
|
|
|
|
java/awt/event/InputMethodListener.java \
|
|
|
|
java/awt/event/InvocationEvent.java \
|
|
|
|
java/awt/event/ItemEvent.java \
|
|
|
|
java/awt/event/ItemListener.java \
|
|
|
|
java/awt/event/KeyAdapter.java \
|
|
|
|
java/awt/event/KeyEvent.java \
|
|
|
|
java/awt/event/KeyListener.java \
|
|
|
|
java/awt/event/MouseAdapter.java \
|
|
|
|
java/awt/event/MouseEvent.java \
|
|
|
|
java/awt/event/MouseListener.java \
|
|
|
|
java/awt/event/MouseMotionAdapter.java \
|
|
|
|
java/awt/event/MouseMotionListener.java \
|
|
|
|
java/awt/event/PaintEvent.java \
|
|
|
|
java/awt/event/TextEvent.java \
|
|
|
|
java/awt/event/TextListener.java \
|
|
|
|
java/awt/event/WindowAdapter.java \
|
|
|
|
java/awt/event/WindowEvent.java \
|
|
|
|
java/awt/event/WindowListener.java \
|
|
|
|
java/awt/geom/AffineTransform.java \
|
|
|
|
java/awt/geom/Dimension2D.java \
|
|
|
|
java/awt/geom/Ellipse2D.java \
|
|
|
|
java/awt/geom/IllegalPathStateException.java \
|
|
|
|
java/awt/geom/NoninvertibleTransformException.java \
|
|
|
|
java/awt/geom/PathIterator.java \
|
|
|
|
java/awt/geom/Point2D.java \
|
|
|
|
java/awt/geom/Rectangle2D.java \
|
|
|
|
java/awt/geom/RectangularShape.java \
|
2000-12-03 22:21:52 +01:00
|
|
|
java/awt/geom/RoundRectangle2D.java \
|
ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/GLightweightPeer.java: New file.
* java/awt/BorderLayout.java: Implemented all methods.
* java/awt/Button.java (actionListener, actionCommand): Renamed
and modifier change.
(addNotify): Call super.
(dispatchEventImpl): New method.
(getListeners): New method.
(label): Made package-private, not private.
* java/awt/Canvas.java: Implemented class body.
* java/awt/Color.java (brighter): New method.
(darker): New method.
(hashCode): New method.
* java/awt/Component.java (visible, enabled, eventMask): Set defaults.
(getGraphicsConfiguration): Delegate to
getGraphicsConfigurationImpl().
(getGraphicsConfigurationImpl): New method.
(getToolkit): Only return value from peer if not null.
(isDisplayable): Check with parent.
(isShowing): No parent implies not showing.
(getForeground): Check parent property if local is null.
(getBackground): Likewise.
(getFont): Likewise.
(setForeground): Inform peer.
(setBackground): Likewise
(setLocale): Invalidate component.
(getColorModel): Implemented.
(setLocation): Invalidate, or ignore if no change.
(setSize): Invalidate, or ignore if no change.
(setBounds): Invalidate, or ignore if no change.
(isOpaque): By default, heavyweight implies opaque.
(isLightweight): Implemented.
(getMaximumSize): Implemented.
(doLayout): Implemented, NOP.
(validate): Implemented, NOP.
(invalidate): Only propagate to parent if parent was valid.
(getGraphics): Implemented.
(getFontMetrics): Implemented.
(update): Implemented.
(paintAll): Implemented.
(repaint): Implemented all repaint methods.
(print): Implemented.
(printAll): Implemented.
(createImage): Implemented.
(dispatchEvent): Give the peer a chance to handle the event.
(dispatchEventImpl): Dispatch paint events.
(enableEvents): Lightweights enable events on parent component.
(coalesceEvents): Coalesce paint events, and select event type
using a switch.
(coalescePaintEvents): New method.
(processEvent): Fix unfortunate ordering of statements, and call
correct method for MOUSE_CLICKED.
(processPaintEvent): New method.
(addNotify): Allow container to notify children before event
mask is set in peer.
(addNotifyContainerChildren): New method.
(removeNotify): Visibility should not change on removeNotify.
(paramString): Implemented.
(list): Implemented two of the list methods.
* Container (myInsets): Removed, insets are managed by peer.
(getInsets): Query peer.
(addImpl): Fix reparenting, enable events for lightweights,
initialize component array.
(validate): Call doLayout in validateTree() instead.
(validateTree): Do nothing if already valid. Call beginValidate(),
endValidate() on peer. Call validateTree() instead of validate()
for children that are containers. Mark valid after validation of
children.
(setFont): Partial implementation.
(paint): Implemented.
(visitChildren): New method.
(visitChild): New method.
(update): Implemented.
(print): Implemented.
(paintComponents): Implemented.
(printComponents): Consider translation and clipping.
(getComponentAt): Ignore invisible children. Return this if no
child match.
(addNotify): Call super.
(addNotifyContainerChildren): New method.
(paramString): Implemented.
(list): Implemented.
* java/awt/EventQueue (invokeAndWait): Get system event queue the
right way.
(invokeLater): Likewise.
(isDispatchThread): Likewise.
* java/awt/FontMetrics (getLeading): Formula change.
(getDescent): Consider leading also.
(getMaxAscent): Default to getAscent().
(getMaxDescent): Default to getDescent.
(getMaxAdvance): Return value signifying unknown.
(charWidth): Both methods implemented.
(charsWidth): Implemented.
(bytesWidth): Implemented.
(getWidths): Implemented.
* java/awt/Frame.java (NORMAL, ICONIFIED, iconImage, isResizable,
state): New fields.
(Frame): Rearragend constuctor chaining to disallow null being
passed as a graphics configuration.
(getTitle): Return empty string if null.
(dispose): Removed.
(getIconImage): New method.
(setIconImage): New method.
(finalize): New method.
(setMenuBar): Notify peer.
(isResizable): New method.
(setResizable): New method.
(getState): New method.
(getFont): Removed.
(remove): Implemented.
(removeNotify): New method.
(getFrames): New method.
* java/awt/Graphics.java: Implemented body of class.
* java/awt/Graphics2D.java: New file.
* java/awt/GraphicsConfiguration.java: Enabled part of the API.
* java/awt/Image.java: Implemented body of class.
* java/awt/Panel.java (Panel): Call correct super constructor.
(addNotify): Implemented.
* java/awt/Rectangle.java (isEmpty): Fixed reversed logic.
* java/awt/RenderingHints.java: New file.
* java/awt/Toolkit.java (createComponent): Implemented.
(getSystemEventQueue): Delegate to getSystemEventQueueImpl().
* java/awt/Window.java (Window): Two new constructors. Reordered
constructor chaining.
(getGraphicsConfigurationImpl): New method.
(finalize): Call super.
(addNotify): Call super.
(pack): Do layout stuff.
(show): Ensure that peer exists and that component is valid.
(dispose): Dispose owned children.
(getOwner): Simplify code, casting null pointers is valid.
(getGraphicsConfiguration): Ask peer if local value is null.
* java/awt/event/ActionEvent.java (getActionCommand): Renamed from
getcmd().
* java/awt/image/BufferedImage.java: New file.
* java/awt/image/RasterOp.java: New file.
* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration):
More powerfull replacement for getColorModel().
(getColorModel) Removed.
(setEventMask) New method.
* Makefile.am: Added new files.
* Makefile.in: Rebuilt.
From-SVN: r35748
2000-08-16 20:03:48 +02:00
|
|
|
java/awt/image/BufferedImage.java \
|
2000-07-25 19:53:30 +02:00
|
|
|
java/awt/image/ColorModel.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/image/ComponentColorModel.java \
|
2000-07-25 19:53:30 +02:00
|
|
|
java/awt/image/ComponentSampleModel.java \
|
|
|
|
java/awt/image/DataBuffer.java \
|
|
|
|
java/awt/image/DataBufferByte.java \
|
|
|
|
java/awt/image/DataBufferInt.java \
|
|
|
|
java/awt/image/DataBufferUShort.java \
|
|
|
|
java/awt/image/DirectColorModel.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/image/ImageConsumer.java \
|
|
|
|
java/awt/image/ImageObserver.java \
|
|
|
|
java/awt/image/ImageProducer.java \
|
2000-07-25 19:53:30 +02:00
|
|
|
java/awt/image/IndexColorModel.java \
|
|
|
|
java/awt/image/PackedColorModel.java \
|
|
|
|
java/awt/image/Raster.java \
|
ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/ComponentDataBlitOp.java: New file.
* gnu/gcj/awt/GLightweightPeer.java: New file.
* java/awt/BorderLayout.java: Implemented all methods.
* java/awt/Button.java (actionListener, actionCommand): Renamed
and modifier change.
(addNotify): Call super.
(dispatchEventImpl): New method.
(getListeners): New method.
(label): Made package-private, not private.
* java/awt/Canvas.java: Implemented class body.
* java/awt/Color.java (brighter): New method.
(darker): New method.
(hashCode): New method.
* java/awt/Component.java (visible, enabled, eventMask): Set defaults.
(getGraphicsConfiguration): Delegate to
getGraphicsConfigurationImpl().
(getGraphicsConfigurationImpl): New method.
(getToolkit): Only return value from peer if not null.
(isDisplayable): Check with parent.
(isShowing): No parent implies not showing.
(getForeground): Check parent property if local is null.
(getBackground): Likewise.
(getFont): Likewise.
(setForeground): Inform peer.
(setBackground): Likewise
(setLocale): Invalidate component.
(getColorModel): Implemented.
(setLocation): Invalidate, or ignore if no change.
(setSize): Invalidate, or ignore if no change.
(setBounds): Invalidate, or ignore if no change.
(isOpaque): By default, heavyweight implies opaque.
(isLightweight): Implemented.
(getMaximumSize): Implemented.
(doLayout): Implemented, NOP.
(validate): Implemented, NOP.
(invalidate): Only propagate to parent if parent was valid.
(getGraphics): Implemented.
(getFontMetrics): Implemented.
(update): Implemented.
(paintAll): Implemented.
(repaint): Implemented all repaint methods.
(print): Implemented.
(printAll): Implemented.
(createImage): Implemented.
(dispatchEvent): Give the peer a chance to handle the event.
(dispatchEventImpl): Dispatch paint events.
(enableEvents): Lightweights enable events on parent component.
(coalesceEvents): Coalesce paint events, and select event type
using a switch.
(coalescePaintEvents): New method.
(processEvent): Fix unfortunate ordering of statements, and call
correct method for MOUSE_CLICKED.
(processPaintEvent): New method.
(addNotify): Allow container to notify children before event
mask is set in peer.
(addNotifyContainerChildren): New method.
(removeNotify): Visibility should not change on removeNotify.
(paramString): Implemented.
(list): Implemented two of the list methods.
* Container (myInsets): Removed, insets are managed by peer.
(getInsets): Query peer.
(addImpl): Fix reparenting, enable events for lightweights,
initialize component array.
(validate): Call doLayout in validateTree() instead.
(validateTree): Do nothing if already valid. Call beginValidate(),
endValidate() on peer. Call validateTree() instead of validate()
for children that are containers. Mark valid after validation of
children.
(setFont): Partial implementation.
(paint): Implemented.
(visitChildren): New method.
(visitChild): New method.
(update): Implemented.
(print): Implemented.
(paintComponents): Implemented.
(printComponents): Consider translation and clipping.
(getComponentAt): Ignore invisible children. Return this if no
child match.
(addNotify): Call super.
(addNotifyContainerChildren): New method.
(paramString): Implemented.
(list): Implemented.
* java/awt/EventQueue (invokeAndWait): Get system event queue the
right way.
(invokeLater): Likewise.
(isDispatchThread): Likewise.
* java/awt/FontMetrics (getLeading): Formula change.
(getDescent): Consider leading also.
(getMaxAscent): Default to getAscent().
(getMaxDescent): Default to getDescent.
(getMaxAdvance): Return value signifying unknown.
(charWidth): Both methods implemented.
(charsWidth): Implemented.
(bytesWidth): Implemented.
(getWidths): Implemented.
* java/awt/Frame.java (NORMAL, ICONIFIED, iconImage, isResizable,
state): New fields.
(Frame): Rearragend constuctor chaining to disallow null being
passed as a graphics configuration.
(getTitle): Return empty string if null.
(dispose): Removed.
(getIconImage): New method.
(setIconImage): New method.
(finalize): New method.
(setMenuBar): Notify peer.
(isResizable): New method.
(setResizable): New method.
(getState): New method.
(getFont): Removed.
(remove): Implemented.
(removeNotify): New method.
(getFrames): New method.
* java/awt/Graphics.java: Implemented body of class.
* java/awt/Graphics2D.java: New file.
* java/awt/GraphicsConfiguration.java: Enabled part of the API.
* java/awt/Image.java: Implemented body of class.
* java/awt/Panel.java (Panel): Call correct super constructor.
(addNotify): Implemented.
* java/awt/Rectangle.java (isEmpty): Fixed reversed logic.
* java/awt/RenderingHints.java: New file.
* java/awt/Toolkit.java (createComponent): Implemented.
(getSystemEventQueue): Delegate to getSystemEventQueueImpl().
* java/awt/Window.java (Window): Two new constructors. Reordered
constructor chaining.
(getGraphicsConfigurationImpl): New method.
(finalize): Call super.
(addNotify): Call super.
(pack): Do layout stuff.
(show): Ensure that peer exists and that component is valid.
(dispose): Dispose owned children.
(getOwner): Simplify code, casting null pointers is valid.
(getGraphicsConfiguration): Ask peer if local value is null.
* java/awt/event/ActionEvent.java (getActionCommand): Renamed from
getcmd().
* java/awt/image/BufferedImage.java: New file.
* java/awt/image/RasterOp.java: New file.
* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration):
More powerfull replacement for getColorModel().
(getColorModel) Removed.
(setEventMask) New method.
* Makefile.am: Added new files.
* Makefile.in: Rebuilt.
From-SVN: r35748
2000-08-16 20:03:48 +02:00
|
|
|
java/awt/image/RasterOp.java \
|
2000-08-03 19:56:02 +02:00
|
|
|
java/awt/image/SampleModel.java \
|
2000-07-25 19:53:30 +02:00
|
|
|
java/awt/image/SinglePixelPackedSampleModel.java \
|
|
|
|
java/awt/image/WritableRaster.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/peer/ButtonPeer.java \
|
|
|
|
java/awt/peer/CanvasPeer.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/peer/CheckboxMenuItemPeer.java \
|
|
|
|
java/awt/peer/CheckboxPeer.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/peer/ChoicePeer.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/peer/ComponentPeer.java \
|
|
|
|
java/awt/peer/ContainerPeer.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/peer/DialogPeer.java \
|
|
|
|
java/awt/peer/FileDialogPeer.java \
|
|
|
|
java/awt/peer/FontPeer.java \
|
1999-05-06 02:27:18 +02:00
|
|
|
java/awt/peer/FramePeer.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/peer/LabelPeer.java \
|
|
|
|
java/awt/peer/LightweightPeer.java \
|
|
|
|
java/awt/peer/ListPeer.java \
|
|
|
|
java/awt/peer/MenuBarPeer.java \
|
|
|
|
java/awt/peer/MenuComponentPeer.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/peer/MenuItemPeer.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/peer/MenuPeer.java \
|
|
|
|
java/awt/peer/PanelPeer.java \
|
|
|
|
java/awt/peer/PopupMenuPeer.java \
|
|
|
|
java/awt/peer/ScrollPanePeer.java \
|
|
|
|
java/awt/peer/ScrollbarPeer.java \
|
2000-07-23 02:24:14 +02:00
|
|
|
java/awt/peer/TextAreaPeer.java \
|
2000-07-12 05:32:07 +02:00
|
|
|
java/awt/peer/TextComponentPeer.java \
|
|
|
|
java/awt/peer/TextFieldPeer.java \
|
2000-08-09 15:03:26 +02:00
|
|
|
java/awt/peer/WindowPeer.java \
|
|
|
|
java/beans/beancontext/BeanContext.java \
|
|
|
|
java/beans/beancontext/BeanContextChild.java \
|
|
|
|
java/beans/beancontext/BeanContextChildComponentProxy.java \
|
|
|
|
java/beans/beancontext/BeanContextChildSupport.java \
|
|
|
|
java/beans/beancontext/BeanContextContainerProxy.java \
|
|
|
|
java/beans/beancontext/BeanContextEvent.java \
|
|
|
|
java/beans/beancontext/BeanContextMembershipEvent.java \
|
|
|
|
java/beans/beancontext/BeanContextMembershipListener.java \
|
|
|
|
java/beans/beancontext/BeanContextProxy.java \
|
|
|
|
java/beans/beancontext/BeanContextServiceAvailableEvent.java \
|
|
|
|
java/beans/beancontext/BeanContextServiceProvider.java \
|
|
|
|
java/beans/beancontext/BeanContextServiceProviderBeanInfo.java \
|
|
|
|
java/beans/beancontext/BeanContextServiceRevokedEvent.java \
|
|
|
|
java/beans/beancontext/BeanContextServiceRevokedListener.java \
|
|
|
|
java/beans/beancontext/BeanContextServices.java \
|
|
|
|
java/beans/beancontext/BeanContextServicesListener.java \
|
|
|
|
java/beans/BeanDescriptor.java \
|
|
|
|
java/beans/BeanInfo.java \
|
|
|
|
java/beans/Beans.java \
|
|
|
|
java/beans/Customizer.java \
|
|
|
|
java/beans/DesignMode.java \
|
|
|
|
java/beans/EventSetDescriptor.java \
|
|
|
|
java/beans/FeatureDescriptor.java \
|
|
|
|
java/beans/IndexedPropertyDescriptor.java \
|
|
|
|
java/beans/IntrospectionException.java \
|
|
|
|
java/beans/Introspector.java \
|
|
|
|
java/beans/MethodDescriptor.java \
|
|
|
|
java/beans/ParameterDescriptor.java \
|
|
|
|
java/beans/PropertyChangeEvent.java \
|
|
|
|
java/beans/PropertyChangeListener.java \
|
|
|
|
java/beans/PropertyChangeSupport.java \
|
|
|
|
java/beans/PropertyDescriptor.java \
|
|
|
|
java/beans/PropertyEditor.java \
|
|
|
|
java/beans/PropertyEditorManager.java \
|
|
|
|
java/beans/PropertyEditorSupport.java \
|
|
|
|
java/beans/PropertyVetoException.java \
|
|
|
|
java/beans/SimpleBeanInfo.java \
|
|
|
|
java/beans/VetoableChangeListener.java \
|
|
|
|
java/beans/VetoableChangeSupport.java \
|
|
|
|
java/beans/Visibility.java
|
1999-05-06 02:27:18 +02:00
|
|
|
|
1999-05-12 13:23:44 +02:00
|
|
|
## Java files which are created by configure and thus are in the build
|
|
|
|
## directory.
|
2000-11-26 02:48:04 +01:00
|
|
|
built_java_source_files = java/lang/ConcreteProcess.java \
|
|
|
|
gnu/classpath/Configuration.java
|
1999-05-12 13:23:44 +02:00
|
|
|
|
2000-10-26 00:11:38 +02:00
|
|
|
## Java files in the core packages java.lang, java.io, and java.util.
|
|
|
|
## These are built before the other source files, in order to reduce
|
|
|
|
## build time.
|
|
|
|
core_java_source_files = \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/lang/AbstractMethodError.java \
|
|
|
|
java/lang/ArithmeticException.java \
|
|
|
|
java/lang/ArrayIndexOutOfBoundsException.java \
|
|
|
|
java/lang/ArrayStoreException.java \
|
|
|
|
java/lang/Boolean.java \
|
|
|
|
java/lang/Byte.java \
|
|
|
|
java/lang/Character.java \
|
|
|
|
java/lang/ClassCastException.java \
|
|
|
|
java/lang/ClassCircularityError.java \
|
|
|
|
java/lang/ClassFormatError.java \
|
|
|
|
java/lang/ClassLoader.java \
|
|
|
|
java/lang/ClassNotFoundException.java \
|
|
|
|
java/lang/CloneNotSupportedException.java \
|
|
|
|
java/lang/Cloneable.java \
|
|
|
|
java/lang/Comparable.java \
|
|
|
|
java/lang/Compiler.java \
|
|
|
|
java/lang/Double.java \
|
|
|
|
java/lang/Error.java \
|
|
|
|
java/lang/Exception.java \
|
|
|
|
java/lang/ExceptionInInitializerError.java \
|
|
|
|
java/lang/Float.java \
|
|
|
|
java/lang/IllegalAccessError.java \
|
|
|
|
java/lang/IllegalAccessException.java \
|
|
|
|
java/lang/IllegalArgumentException.java \
|
|
|
|
java/lang/IllegalMonitorStateException.java \
|
|
|
|
java/lang/IllegalStateException.java \
|
|
|
|
java/lang/IllegalThreadStateException.java \
|
|
|
|
java/lang/IncompatibleClassChangeError.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/lang/IndexOutOfBoundsException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/lang/InstantiationError.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/lang/InstantiationException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/lang/Integer.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/lang/InternalError.java \
|
|
|
|
java/lang/InterruptedException.java \
|
|
|
|
java/lang/LinkageError.java \
|
|
|
|
java/lang/Long.java \
|
|
|
|
java/lang/Math.java \
|
|
|
|
java/lang/NegativeArraySizeException.java \
|
|
|
|
java/lang/NoClassDefFoundError.java \
|
|
|
|
java/lang/NoSuchFieldError.java \
|
|
|
|
java/lang/NoSuchFieldException.java \
|
|
|
|
java/lang/NoSuchMethodError.java \
|
|
|
|
java/lang/NoSuchMethodException.java \
|
|
|
|
java/lang/NullPointerException.java \
|
|
|
|
java/lang/Number.java \
|
|
|
|
java/lang/NumberFormatException.java \
|
|
|
|
java/lang/OutOfMemoryError.java \
|
|
|
|
java/lang/Process.java \
|
|
|
|
java/lang/Runnable.java \
|
|
|
|
java/lang/Runtime.java \
|
|
|
|
java/lang/RuntimeException.java \
|
2000-11-27 05:07:48 +01:00
|
|
|
java/lang/RuntimePermission.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/lang/SecurityException.java \
|
|
|
|
java/lang/SecurityManager.java \
|
|
|
|
java/lang/Short.java \
|
|
|
|
java/lang/StackOverflowError.java \
|
|
|
|
java/lang/String.java \
|
|
|
|
java/lang/StringBuffer.java \
|
|
|
|
java/lang/StringIndexOutOfBoundsException.java \
|
|
|
|
java/lang/System.java \
|
|
|
|
java/lang/Thread.java \
|
|
|
|
java/lang/ThreadDeath.java \
|
|
|
|
java/lang/ThreadGroup.java \
|
|
|
|
java/lang/Throwable.java \
|
|
|
|
java/lang/UnknownError.java \
|
|
|
|
java/lang/UnsatisfiedLinkError.java \
|
|
|
|
java/lang/UnsupportedOperationException.java \
|
|
|
|
java/lang/VerifyError.java \
|
|
|
|
java/lang/VirtualMachineError.java \
|
|
|
|
java/lang/Void.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/io/BufferedInputStream.java \
|
|
|
|
java/io/BufferedOutputStream.java \
|
|
|
|
java/io/BufferedReader.java \
|
|
|
|
java/io/BufferedWriter.java \
|
|
|
|
java/io/ByteArrayInputStream.java \
|
|
|
|
java/io/ByteArrayOutputStream.java \
|
|
|
|
java/io/CharArrayReader.java \
|
|
|
|
java/io/CharArrayWriter.java \
|
|
|
|
java/io/CharConversionException.java \
|
|
|
|
java/io/DataInput.java \
|
|
|
|
java/io/DataInputStream.java \
|
|
|
|
java/io/DataOutput.java \
|
|
|
|
java/io/DataOutputStream.java \
|
|
|
|
java/io/EOFException.java \
|
|
|
|
java/io/Externalizable.java \
|
|
|
|
java/io/File.java \
|
|
|
|
java/io/FileDescriptor.java \
|
2000-11-20 19:25:41 +01:00
|
|
|
java/io/FileFilter.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/io/FileInputStream.java \
|
|
|
|
java/io/FileNotFoundException.java \
|
|
|
|
java/io/FileOutputStream.java \
|
2000-11-20 19:25:41 +01:00
|
|
|
java/io/FilePermission.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/io/FileReader.java \
|
|
|
|
java/io/FileWriter.java \
|
|
|
|
java/io/FilenameFilter.java \
|
|
|
|
java/io/FilterInputStream.java \
|
|
|
|
java/io/FilterOutputStream.java \
|
|
|
|
java/io/FilterReader.java \
|
|
|
|
java/io/FilterWriter.java \
|
|
|
|
java/io/IOException.java \
|
|
|
|
java/io/InputStream.java \
|
|
|
|
java/io/InputStreamReader.java \
|
|
|
|
java/io/InterruptedIOException.java \
|
|
|
|
java/io/InvalidClassException.java \
|
|
|
|
java/io/InvalidObjectException.java \
|
|
|
|
java/io/LineNumberInputStream.java \
|
|
|
|
java/io/LineNumberReader.java \
|
|
|
|
java/io/NotActiveException.java \
|
|
|
|
java/io/NotSerializableException.java \
|
|
|
|
java/io/ObjectInput.java \
|
|
|
|
java/io/ObjectInputStream.java \
|
|
|
|
java/io/ObjectInputValidation.java \
|
|
|
|
java/io/ObjectOutput.java \
|
|
|
|
java/io/ObjectOutputStream.java \
|
|
|
|
java/io/ObjectStreamClass.java \
|
|
|
|
java/io/ObjectStreamConstants.java \
|
|
|
|
java/io/ObjectStreamException.java \
|
|
|
|
java/io/ObjectStreamField.java \
|
|
|
|
java/io/OptionalDataException.java \
|
|
|
|
java/io/OutputStream.java \
|
|
|
|
java/io/OutputStreamWriter.java \
|
|
|
|
java/io/PipedInputStream.java \
|
|
|
|
java/io/PipedOutputStream.java \
|
|
|
|
java/io/PipedReader.java \
|
|
|
|
java/io/PipedWriter.java \
|
|
|
|
java/io/PrintStream.java \
|
|
|
|
java/io/PrintWriter.java \
|
|
|
|
java/io/PushbackInputStream.java \
|
|
|
|
java/io/PushbackReader.java \
|
|
|
|
java/io/RandomAccessFile.java \
|
|
|
|
java/io/Reader.java \
|
|
|
|
java/io/SequenceInputStream.java \
|
|
|
|
java/io/Serializable.java \
|
|
|
|
java/io/SerializablePermission.java \
|
|
|
|
java/io/StreamCorruptedException.java \
|
|
|
|
java/io/StreamTokenizer.java \
|
|
|
|
java/io/StringBufferInputStream.java \
|
|
|
|
java/io/StringReader.java \
|
|
|
|
java/io/StringWriter.java \
|
|
|
|
java/io/SyncFailedException.java \
|
|
|
|
java/io/UTFDataFormatException.java \
|
|
|
|
java/io/UnsupportedEncodingException.java \
|
|
|
|
java/io/WriteAbortedException.java \
|
|
|
|
java/io/Writer.java \
|
|
|
|
java/util/AbstractCollection.java \
|
|
|
|
java/util/AbstractList.java \
|
|
|
|
java/util/AbstractMap.java \
|
|
|
|
java/util/AbstractSequentialList.java \
|
|
|
|
java/util/AbstractSet.java \
|
|
|
|
java/util/ArrayList.java \
|
|
|
|
java/util/Arrays.java \
|
2000-12-21 03:00:15 +01:00
|
|
|
java/util/BasicMapEntry.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/util/BitSet.java \
|
|
|
|
java/util/Calendar.java \
|
|
|
|
java/util/Collection.java \
|
2000-11-22 12:59:59 +01:00
|
|
|
java/util/Collections.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/util/Comparator.java \
|
|
|
|
java/util/ConcurrentModificationException.java \
|
|
|
|
java/util/Date.java \
|
|
|
|
java/util/Dictionary.java \
|
|
|
|
java/util/EmptyStackException.java \
|
|
|
|
java/util/Enumeration.java \
|
|
|
|
java/util/EventListener.java \
|
|
|
|
java/util/EventObject.java \
|
|
|
|
java/util/GregorianCalendar.java \
|
|
|
|
java/util/HashMap.java \
|
2000-12-11 04:47:48 +01:00
|
|
|
java/util/HashSet.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/util/Hashtable.java \
|
|
|
|
java/util/Iterator.java \
|
2000-11-03 04:58:05 +01:00
|
|
|
java/util/LinkedList.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/util/List.java \
|
|
|
|
java/util/ListIterator.java \
|
|
|
|
java/util/ListResourceBundle.java \
|
|
|
|
java/util/Locale.java \
|
|
|
|
java/util/Map.java \
|
|
|
|
java/util/MissingResourceException.java \
|
|
|
|
java/util/NoSuchElementException.java \
|
|
|
|
java/util/Observable.java \
|
|
|
|
java/util/Observer.java \
|
|
|
|
java/util/Properties.java \
|
|
|
|
java/util/PropertyPermission.java \
|
|
|
|
java/util/PropertyResourceBundle.java \
|
|
|
|
java/util/Random.java \
|
|
|
|
java/util/ResourceBundle.java \
|
|
|
|
java/util/Set.java \
|
|
|
|
java/util/SimpleTimeZone.java \
|
|
|
|
java/util/SortedMap.java \
|
|
|
|
java/util/SortedSet.java \
|
|
|
|
java/util/Stack.java \
|
|
|
|
java/util/StringTokenizer.java \
|
|
|
|
java/util/TimeZone.java \
|
|
|
|
java/util/Timer.java \
|
|
|
|
java/util/TimerTask.java \
|
2001-02-14 05:44:21 +01:00
|
|
|
java/util/TreeMap.java \
|
|
|
|
java/util/TreeSet.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/util/TooManyListenersException.java \
|
2001-02-14 05:44:21 +01:00
|
|
|
java/util/Vector.java \
|
|
|
|
java/util/WeakHashMap.java
|
2000-10-26 00:11:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
## List of all .java files to be compiled. Please keep this list
|
|
|
|
## alphabetical. Please put files from java/lang, java/io, and java/util
|
|
|
|
## into core_java_source_files. Please put files from gnu/gcj/convert
|
|
|
|
## into convert_source_files and files from java/awt into
|
|
|
|
## awt_java_source_files. If the .java file has a hand-maintained
|
|
|
|
## header, please list it in special_java_source_files.
|
|
|
|
ordinary_java_source_files = $(core_java_source_files) \
|
|
|
|
gnu/gcj/RawData.java \
|
|
|
|
gnu/gcj/io/DefaultMimeTypes.java \
|
|
|
|
gnu/gcj/io/MimeTypes.java \
|
|
|
|
gnu/gcj/io/SimpleSHSStream.java \
|
|
|
|
gnu/gcj/jni/NativeThread.java \
|
|
|
|
gnu/gcj/math/MPN.java \
|
|
|
|
gnu/gcj/protocol/file/Connection.java \
|
|
|
|
gnu/gcj/protocol/file/Handler.java \
|
|
|
|
gnu/gcj/protocol/http/Connection.java \
|
|
|
|
gnu/gcj/protocol/http/Handler.java \
|
|
|
|
gnu/gcj/protocol/jar/Connection.java \
|
|
|
|
gnu/gcj/protocol/jar/Handler.java \
|
|
|
|
gnu/gcj/runtime/FileDeleter.java \
|
|
|
|
gnu/gcj/runtime/FirstThread.java \
|
|
|
|
gnu/gcj/runtime/VMClassLoader.java \
|
|
|
|
gnu/gcj/text/BaseBreakIterator.java \
|
|
|
|
gnu/gcj/text/CharacterBreakIterator.java \
|
|
|
|
gnu/gcj/text/LineBreakIterator.java \
|
|
|
|
gnu/gcj/text/LocaleData_en.java \
|
|
|
|
gnu/gcj/text/LocaleData_en_US.java \
|
|
|
|
gnu/gcj/text/SentenceBreakIterator.java \
|
|
|
|
gnu/gcj/text/WordBreakIterator.java \
|
|
|
|
gnu/gcj/util/EnumerationChain.java \
|
|
|
|
gnu/java/io/ClassLoaderObjectInputStream.java \
|
|
|
|
gnu/java/io/NullOutputStream.java \
|
|
|
|
gnu/java/io/ObjectIdentityWrapper.java \
|
|
|
|
gnu/java/lang/ArrayHelper.java \
|
|
|
|
gnu/java/lang/ClassHelper.java \
|
|
|
|
gnu/java/lang/reflect/TypeSignature.java \
|
2000-10-27 12:33:46 +02:00
|
|
|
gnu/java/locale/Calendar.java \
|
|
|
|
gnu/java/locale/Calendar_de.java \
|
|
|
|
gnu/java/locale/Calendar_en.java \
|
|
|
|
gnu/java/locale/Calendar_nl.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
gnu/java/security/provider/Gnu.java \
|
|
|
|
gnu/java/security/provider/SHA.java \
|
|
|
|
gnu/java/security/provider/SHA1PRNG.java \
|
2000-12-11 04:47:48 +01:00
|
|
|
java/lang/ref/PhantomReference.java \
|
|
|
|
java/lang/ref/Reference.java \
|
|
|
|
java/lang/ref/ReferenceQueue.java \
|
|
|
|
java/lang/ref/SoftReference.java \
|
|
|
|
java/lang/ref/WeakReference.java \
|
|
|
|
java/lang/reflect/AccessibleObject.java \
|
|
|
|
java/lang/reflect/Array.java \
|
|
|
|
java/lang/reflect/Constructor.java \
|
|
|
|
java/lang/reflect/Field.java \
|
|
|
|
java/lang/reflect/InvocationTargetException.java \
|
|
|
|
java/lang/reflect/Member.java \
|
|
|
|
java/lang/reflect/Method.java \
|
|
|
|
java/lang/reflect/Modifier.java \
|
|
|
|
java/lang/reflect/ReflectPermission.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/math/BigDecimal.java \
|
|
|
|
java/math/BigInteger.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/BindException.java \
|
|
|
|
java/net/ConnectException.java \
|
|
|
|
java/net/ContentHandler.java \
|
|
|
|
java/net/ContentHandlerFactory.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/net/DatagramPacket.java \
|
|
|
|
java/net/DatagramSocket.java \
|
|
|
|
java/net/DatagramSocketImpl.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/FileNameMap.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/net/HttpURLConnection.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/InetAddress.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/net/JarURLConnection.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/MalformedURLException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/net/MulticastSocket.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/NoRouteToHostException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/net/PlainDatagramSocketImpl.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/PlainSocketImpl.java \
|
|
|
|
java/net/ProtocolException.java \
|
|
|
|
java/net/ServerSocket.java \
|
|
|
|
java/net/Socket.java \
|
|
|
|
java/net/SocketException.java \
|
|
|
|
java/net/SocketImpl.java \
|
|
|
|
java/net/SocketImplFactory.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/net/SocketOptions.java \
|
|
|
|
java/net/URL.java \
|
|
|
|
java/net/URLClassLoader.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/URLConnection.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/net/URLDecoder.java \
|
|
|
|
java/net/URLEncoder.java \
|
1999-04-07 16:42:40 +02:00
|
|
|
java/net/URLStreamHandler.java \
|
|
|
|
java/net/URLStreamHandlerFactory.java \
|
|
|
|
java/net/UnknownHostException.java \
|
|
|
|
java/net/UnknownServiceException.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/AlgorithmParameterGeneratorSpi.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/security/BasicPermission.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/DigestException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/security/DigestOutputStream.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/GeneralSecurityException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/security/Guard.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/InvalidAlgorithmParameterException.java \
|
|
|
|
java/security/InvalidKeyException.java \
|
|
|
|
java/security/InvalidParameterException.java \
|
|
|
|
java/security/Key.java \
|
|
|
|
java/security/KeyException.java \
|
|
|
|
java/security/KeyPair.java \
|
|
|
|
java/security/KeyPairGenerator.java \
|
|
|
|
java/security/KeyPairGeneratorSpi.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/security/MessageDigest.java \
|
|
|
|
java/security/NoSuchAlgorithmException.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/NoSuchProviderException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/security/Permission.java \
|
|
|
|
java/security/PermissionCollection.java \
|
2000-06-28 03:31:42 +02:00
|
|
|
java/security/Principal.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/PrivateKey.java \
|
|
|
|
java/security/Provider.java \
|
|
|
|
java/security/PublicKey.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/security/SecureClassLoader.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/SecureRandom.java \
|
|
|
|
java/security/Security.java \
|
|
|
|
java/security/Signature.java \
|
|
|
|
java/security/SignatureException.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/security/cert/CRL.java \
|
|
|
|
java/security/cert/CRLException.java \
|
|
|
|
java/security/cert/Certificate.java \
|
|
|
|
java/security/cert/CertificateEncodingException.java \
|
|
|
|
java/security/cert/CertificateException.java \
|
|
|
|
java/security/cert/CertificateExpiredException.java \
|
|
|
|
java/security/cert/CertificateFactory.java \
|
|
|
|
java/security/cert/CertificateFactorySpi.java \
|
|
|
|
java/security/cert/CertificateNotYetValidException.java \
|
|
|
|
java/security/cert/CertificateParsingException.java \
|
|
|
|
java/security/cert/X509CRL.java \
|
|
|
|
java/security/cert/X509CRLEntry.java \
|
|
|
|
java/security/cert/X509Certificate.java \
|
|
|
|
java/security/cert/X509Extension.java \
|
|
|
|
java/security/interfaces/DSAKey.java \
|
|
|
|
java/security/interfaces/DSAParams.java \
|
|
|
|
java/security/interfaces/DSAPrivateKey.java \
|
|
|
|
java/security/interfaces/DSAPublicKey.java \
|
|
|
|
java/security/interfaces/RSAPrivateCrtKey.java \
|
|
|
|
java/security/interfaces/RSAPrivateKey.java \
|
|
|
|
java/security/interfaces/RSAPublicKey.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/security/spec/AlgorithmParameterSpec.java \
|
|
|
|
java/security/spec/InvalidKeySpecException.java \
|
|
|
|
java/security/spec/InvalidParameterSpecException.java \
|
|
|
|
java/security/spec/KeySpec.java \
|
|
|
|
java/security/spec/RSAPrivateCrtKeySpec.java \
|
|
|
|
java/security/spec/RSAPrivateKeySpec.java \
|
|
|
|
java/security/spec/RSAPublicKeySpec.java \
|
2000-12-01 19:34:28 +01:00
|
|
|
java/sql/Array.java \
|
|
|
|
java/sql/BatchUpdateException.java \
|
|
|
|
java/sql/Blob.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/sql/CallableStatement.java \
|
2000-12-01 19:34:28 +01:00
|
|
|
java/sql/Clob.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/sql/Connection.java \
|
|
|
|
java/sql/DataTruncation.java \
|
|
|
|
java/sql/DatabaseMetaData.java \
|
|
|
|
java/sql/Date.java \
|
|
|
|
java/sql/Driver.java \
|
|
|
|
java/sql/DriverManager.java \
|
|
|
|
java/sql/DriverPropertyInfo.java \
|
|
|
|
java/sql/PreparedStatement.java \
|
2000-12-01 19:34:28 +01:00
|
|
|
java/sql/Ref.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/sql/ResultSet.java \
|
|
|
|
java/sql/ResultSetMetaData.java \
|
2000-12-01 19:34:28 +01:00
|
|
|
java/sql/SQLData.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/sql/SQLException.java \
|
2000-12-01 19:34:28 +01:00
|
|
|
java/sql/SQLInput.java \
|
|
|
|
java/sql/SQLOutput.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/sql/SQLWarning.java \
|
|
|
|
java/sql/Statement.java \
|
2000-12-01 19:34:28 +01:00
|
|
|
java/sql/Struct.java \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/sql/Time.java \
|
|
|
|
java/sql/Timestamp.java \
|
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
2000-08-19 20:19:42 +02:00
|
|
|
java/sql/Types.java \
|
|
|
|
java/text/BreakIterator.java \
|
|
|
|
java/text/CharacterIterator.java \
|
|
|
|
java/text/ChoiceFormat.java \
|
|
|
|
java/text/CollationElementIterator.java \
|
|
|
|
java/text/CollationKey.java \
|
|
|
|
java/text/Collator.java \
|
|
|
|
java/text/DateFormat.java \
|
|
|
|
java/text/DateFormatSymbols.java \
|
|
|
|
java/text/DecimalFormat.java \
|
|
|
|
java/text/DecimalFormatSymbols.java \
|
|
|
|
java/text/FieldPosition.java \
|
|
|
|
java/text/Format.java \
|
|
|
|
java/text/MessageFormat.java \
|
|
|
|
java/text/NumberFormat.java \
|
|
|
|
java/text/ParseException.java \
|
|
|
|
java/text/ParsePosition.java \
|
|
|
|
java/text/RuleBasedCollator.java \
|
|
|
|
java/text/SimpleDateFormat.java \
|
|
|
|
java/text/StringCharacterIterator.java \
|
|
|
|
java/util/jar/Attributes.java \
|
|
|
|
java/util/jar/JarEntry.java \
|
|
|
|
java/util/jar/JarException.java \
|
|
|
|
java/util/jar/JarFile.java \
|
|
|
|
java/util/jar/JarInputStream.java \
|
|
|
|
java/util/jar/JarOutputStream.java \
|
|
|
|
java/util/jar/Manifest.java \
|
|
|
|
java/util/zip/Adler32.java \
|
|
|
|
java/util/zip/CRC32.java \
|
|
|
|
java/util/zip/CheckedInputStream.java \
|
|
|
|
java/util/zip/CheckedOutputStream.java \
|
|
|
|
java/util/zip/Checksum.java \
|
|
|
|
java/util/zip/DataFormatException.java \
|
|
|
|
java/util/zip/Deflater.java \
|
|
|
|
java/util/zip/DeflaterOutputStream.java \
|
|
|
|
java/util/zip/GZIPInputStream.java \
|
|
|
|
java/util/zip/GZIPOutputStream.java \
|
|
|
|
java/util/zip/Inflater.java \
|
|
|
|
java/util/zip/InflaterInputStream.java \
|
|
|
|
java/util/zip/ZipConstants.java \
|
|
|
|
java/util/zip/ZipEntry.java \
|
|
|
|
java/util/zip/ZipException.java \
|
|
|
|
java/util/zip/ZipFile.java \
|
|
|
|
java/util/zip/ZipInputStream.java \
|
2000-10-26 00:11:38 +02:00
|
|
|
java/util/zip/ZipOutputStream.java \
|
|
|
|
$(awt_java_source_files) \
|
|
|
|
$(convert_source_files)
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2001-02-13 08:42:48 +01:00
|
|
|
|
2000-10-26 00:11:38 +02:00
|
|
|
java_source_files = $(special_java_source_files) $(ordinary_java_source_files)
|
1999-04-07 16:42:40 +02:00
|
|
|
|
|
|
|
## Math library: C, not C++
|
|
|
|
c_source_files = \
|
|
|
|
java/lang/dtoa.c java/lang/k_rem_pio2.c java/lang/s_tan.c \
|
|
|
|
java/lang/e_acos.c java/lang/k_sin.c java/lang/strtod.c \
|
|
|
|
java/lang/e_asin.c java/lang/k_tan.c java/lang/w_acos.c \
|
|
|
|
java/lang/e_atan2.c java/lang/mprec.c java/lang/w_asin.c \
|
|
|
|
java/lang/e_exp.c java/lang/s_atan.c java/lang/w_atan2.c \
|
|
|
|
java/lang/e_fmod.c java/lang/s_ceil.c java/lang/w_exp.c \
|
|
|
|
java/lang/e_log.c java/lang/s_copysign.c java/lang/w_fmod.c \
|
|
|
|
java/lang/e_pow.c java/lang/s_cos.c java/lang/w_log.c \
|
|
|
|
java/lang/e_rem_pio2.c java/lang/s_fabs.c java/lang/w_pow.c \
|
|
|
|
java/lang/e_remainder.c java/lang/s_floor.c java/lang/w_remainder.c \
|
|
|
|
java/lang/e_scalb.c java/lang/s_rint.c java/lang/w_sqrt.c \
|
|
|
|
java/lang/e_sqrt.c java/lang/s_scalbn.c java/lang/sf_rint.c \
|
2001-01-24 18:43:25 +01:00
|
|
|
java/lang/k_cos.c java/lang/s_sin.c java/lang/sf_fabs.c
|
1999-04-07 16:42:40 +02:00
|
|
|
|
1999-05-06 02:27:18 +02:00
|
|
|
#java/awt/natToolkit.cc
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## This lists all the C++ source files in subdirectories.
|
1999-04-30 11:31:00 +02:00
|
|
|
nat_source_files = \
|
1999-04-07 16:42:40 +02:00
|
|
|
gnu/gcj/convert/JIS0208_to_Unicode.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
gnu/gcj/convert/JIS0212_to_Unicode.cc \
|
|
|
|
gnu/gcj/convert/Unicode_to_JIS.cc \
|
2000-01-31 05:53:47 +01:00
|
|
|
gnu/gcj/convert/natIconv.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
gnu/gcj/convert/natInput_EUCJIS.cc \
|
|
|
|
gnu/gcj/convert/natInput_SJIS.cc \
|
|
|
|
gnu/gcj/convert/natOutput_EUCJIS.cc \
|
|
|
|
gnu/gcj/convert/natOutput_SJIS.cc \
|
2000-05-19 19:55:34 +02:00
|
|
|
gnu/gcj/io/natSimpleSHSStream.cc \
|
|
|
|
gnu/gcj/io/shs.cc \
|
2000-02-10 21:31:48 +01:00
|
|
|
gnu/gcj/jni/natNativeThread.cc \
|
2000-03-05 23:26:30 +01:00
|
|
|
gnu/gcj/runtime/natFirstThread.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
java/io/natFile.cc \
|
|
|
|
java/io/natFileDescriptor.cc \
|
2000-05-19 19:55:34 +02:00
|
|
|
java/io/natObjectInputStream.cc \
|
|
|
|
java/io/natObjectOutputStream.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
java/lang/natCharacter.cc \
|
|
|
|
java/lang/natClass.cc \
|
[multiple changes]
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 16:06:23 +02:00
|
|
|
java/lang/natClassLoader.cc \
|
1999-05-12 13:23:44 +02:00
|
|
|
java/lang/natConcreteProcess.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
java/lang/natDouble.cc \
|
|
|
|
java/lang/natFloat.cc \
|
|
|
|
java/lang/natMath.cc \
|
|
|
|
java/lang/natObject.cc \
|
|
|
|
java/lang/natRuntime.cc \
|
|
|
|
java/lang/natString.cc \
|
|
|
|
java/lang/natSystem.cc \
|
|
|
|
java/lang/natThread.cc \
|
2000-01-17 16:45:24 +01:00
|
|
|
java/lang/natThrowable.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
java/lang/reflect/natArray.cc \
|
2000-01-04 09:46:52 +01:00
|
|
|
java/lang/reflect/natConstructor.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
java/lang/reflect/natField.cc \
|
|
|
|
java/lang/reflect/natMethod.cc \
|
|
|
|
java/net/natInetAddress.cc \
|
1999-05-18 20:02:01 +02:00
|
|
|
java/net/natPlainDatagramSocketImpl.cc \
|
1999-04-30 11:31:00 +02:00
|
|
|
java/net/natPlainSocketImpl.cc \
|
|
|
|
java/text/natCollator.cc \
|
1999-05-18 17:33:03 +02:00
|
|
|
java/util/natGregorianCalendar.cc \
|
|
|
|
java/util/zip/natDeflater.cc \
|
|
|
|
java/util/zip/natInflater.cc
|
1999-04-07 16:42:40 +02:00
|
|
|
|
2000-10-22 19:46:09 +02:00
|
|
|
x_java_source_files = \
|
|
|
|
gnu/gcj/xlib/Clip.java \
|
|
|
|
gnu/gcj/xlib/Colormap.java \
|
|
|
|
gnu/gcj/xlib/Display.java \
|
|
|
|
gnu/gcj/xlib/Drawable.java \
|
|
|
|
gnu/gcj/xlib/Font.java \
|
|
|
|
gnu/gcj/xlib/GC.java \
|
|
|
|
gnu/gcj/xlib/Pixmap.java \
|
|
|
|
gnu/gcj/xlib/Screen.java \
|
|
|
|
gnu/gcj/xlib/Visual.java \
|
|
|
|
gnu/gcj/xlib/WMSizeHints.java \
|
|
|
|
gnu/gcj/xlib/Window.java \
|
|
|
|
gnu/gcj/xlib/WindowAttributes.java \
|
|
|
|
gnu/gcj/xlib/XAnyEvent.java \
|
|
|
|
gnu/gcj/xlib/XButtonEvent.java \
|
|
|
|
gnu/gcj/xlib/XColor.java \
|
|
|
|
gnu/gcj/xlib/XConfigureEvent.java \
|
|
|
|
gnu/gcj/xlib/XConnectException.java \
|
|
|
|
gnu/gcj/xlib/XEvent.java \
|
|
|
|
gnu/gcj/xlib/XException.java \
|
|
|
|
gnu/gcj/xlib/XExposeEvent.java \
|
|
|
|
gnu/gcj/xlib/XID.java \
|
|
|
|
gnu/gcj/xlib/XImage.java \
|
|
|
|
gnu/gcj/xlib/XUnmapEvent.java \
|
|
|
|
gnu/awt/xlib/XCanvasPeer.java \
|
|
|
|
gnu/awt/xlib/XEventLoop.java \
|
|
|
|
gnu/awt/xlib/XEventQueue.java \
|
|
|
|
gnu/awt/xlib/XFontMetrics.java \
|
|
|
|
gnu/awt/xlib/XFramePeer.java \
|
|
|
|
gnu/awt/xlib/XGraphics.java \
|
|
|
|
gnu/awt/xlib/XGraphicsConfiguration.java \
|
|
|
|
gnu/awt/xlib/XPanelPeer.java \
|
|
|
|
gnu/awt/xlib/XToolkit.java
|
|
|
|
|
|
|
|
x_nat_source_files = \
|
|
|
|
gnu/gcj/xlib/natClip.cc \
|
|
|
|
gnu/gcj/xlib/natColormap.cc \
|
|
|
|
gnu/gcj/xlib/natDisplay.cc \
|
|
|
|
gnu/gcj/xlib/natDrawable.cc \
|
|
|
|
gnu/gcj/xlib/natFont.cc \
|
|
|
|
gnu/gcj/xlib/natGC.cc \
|
|
|
|
gnu/gcj/xlib/natPixmap.cc \
|
|
|
|
gnu/gcj/xlib/natScreen.cc \
|
|
|
|
gnu/gcj/xlib/natVisual.cc \
|
|
|
|
gnu/gcj/xlib/natWMSizeHints.cc \
|
|
|
|
gnu/gcj/xlib/natWindow.cc \
|
|
|
|
gnu/gcj/xlib/natWindowAttributes.cc \
|
|
|
|
gnu/gcj/xlib/natXAnyEvent.cc \
|
|
|
|
gnu/gcj/xlib/natXButtonEvent.cc \
|
|
|
|
gnu/gcj/xlib/natXColor.cc \
|
|
|
|
gnu/gcj/xlib/natXConfigureEvent.cc \
|
|
|
|
gnu/gcj/xlib/natXException.cc \
|
|
|
|
gnu/gcj/xlib/natXExposeEvent.cc \
|
|
|
|
gnu/gcj/xlib/natXImage.cc \
|
|
|
|
gnu/gcj/xlib/natXUnmapEvent.cc
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
## ################################################################
|
|
|
|
|
001-01-07 Anthony Green <green@redhat.com>
* Makefile.am (texinfo): Add texinfo target for generating texinfo
documentation.
* Makefile.in: Rebuilt.
* scripts/TexinfoDoclet.java: New file.
* doc/java-applet.texi, doc/java-lang-reflect.texi,
doc/java-awt-color.texi, doc/java-lang.texi,
doc/java-awt-datatransfer.texi, doc/java-math.texi,
doc/java-awt-event.texi, doc/java-net.texi,
doc/java-awt-geom.texi, doc/java-security-spec.texi,
doc/java-awt-image.texi, doc/java-security.texi,
doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi,
doc/java-text.texi, doc/java-beans-beancontext.texi,
doc/java-util-jar.texi, doc/java-beans.texi,
doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi,
doc/java-lang-ref.texi: New files.
From-SVN: r38789
2001-01-08 01:27:51 +01:00
|
|
|
##
|
|
|
|
## javadoc to texinfo conversion
|
|
|
|
##
|
|
|
|
|
|
|
|
TexinfoDoclet.class: $(srcdir)/scripts/TexinfoDoclet.java
|
|
|
|
javac -d . $(srcdir)/scripts/TexinfoDoclet.java
|
|
|
|
|
|
|
|
texinfo: TexinfoDoclet.class
|
|
|
|
langsource=`ls $(srcdir)/java/lang/*.java`; \
|
|
|
|
lang=`echo $$langsource | sed -e 's/[^ ].*EcosProcess.java//g' | sed -e 's/[^ ].*PosixProcess.java//g'`; \
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-lang.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $$lang
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-lang-ref.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/ref/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-lang-reflect.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/reflect/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-applet.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/applet/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-awt.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-awt-color.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/color/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-awt-datatransfer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/datatransfer/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-awt-event.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/event/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-awt-geom.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/geom/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-awt-image.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/image/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-awt-peer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/peer/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-beans.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-beans-beancontext.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/beancontext/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-io.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/io/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-math.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/math/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-net.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/net/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-security.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-security-cert.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security-cert/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-security-spec.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-security-interfaces.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/interfaces/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-sql.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/sql/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-text.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/text/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-util.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-util-jar.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/jar/*.java
|
|
|
|
javadoc -outfile $(srcdir)/doc/java-util-zip.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/zip/*.java
|
|
|
|
|
|
|
|
## ################################################################
|
|
|
|
|
2000-10-20 23:21:37 +02:00
|
|
|
##
|
|
|
|
## Dependency tracking madness.
|
|
|
|
##
|
|
|
|
|
|
|
|
## FIXME: depends on GNU make.
|
|
|
|
-include deps.mk
|
|
|
|
|
|
|
|
## This is an evil hack to work around an automake limitation. We
|
|
|
|
## need to ensure that the built headers are built before we try to
|
|
|
|
## compile the C++ sources, but we can't make the .o files depend on
|
|
|
|
## the headers, because in that case we'll force a complete rebuild of
|
|
|
|
## the C++ code whenever any .java file is touched.
|
2000-10-22 19:46:09 +02:00
|
|
|
all-recursive: $(nat_headers) $(x_nat_headers)
|
2000-10-20 23:21:37 +02:00
|
|
|
|
|
|
|
## ################################################################
|
|
|
|
|
1999-04-07 16:42:40 +02:00
|
|
|
##
|
|
|
|
## This section is for make and multilib madness.
|
|
|
|
##
|
|
|
|
|
|
|
|
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
|
|
|
# values defined in terms of make variables, as is the case for CC and
|
|
|
|
# friends when we are called from the top level Makefile.
|
|
|
|
AM_MAKEFLAGS = \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
"CXXFLAGS=$(CXXFLAGS)" \
|
|
|
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
|
|
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
|
1999-04-13 12:54:14 +02:00
|
|
|
"JC1FLAGS=$(JC1FLAGS)" \
|
1999-04-07 16:42:40 +02:00
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
|
|
|
|
"MAKE=$(MAKE)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
|
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"infodir=$(infodir)" \
|
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AS=$(AS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"CXX=$(CXX)" \
|
|
|
|
"LD=$(LD)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"NM=$(NM)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"DESTDIR=$(DESTDIR)"
|
|
|
|
|
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(libgcj_basedir)/configure.host
|
|
|
|
|
|
|
|
MAKEOVERRIDES=
|
|
|
|
|
|
|
|
# Multilib support variables.
|
|
|
|
MULTISRCTOP =
|
|
|
|
MULTIBUILDTOP =
|
|
|
|
MULTIDIRS =
|
|
|
|
MULTISUBDIR =
|
|
|
|
MULTIDO = true
|
|
|
|
MULTICLEAN = true
|
|
|
|
|
|
|
|
# Multilib support.
|
|
|
|
.PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
|
|
|
|
maintainer-clean-multi
|
|
|
|
|
|
|
|
all-recursive: all-multi
|
|
|
|
install-recursive: install-multi
|
|
|
|
mostlyclean-recursive: mostlyclean-multi
|
|
|
|
clean-recursive: clean-multi
|
|
|
|
distclean-recursive: distclean-multi
|
|
|
|
maintainer-clean-recursive: maintainer-clean-multi
|
|
|
|
|
|
|
|
all-multi:
|
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
|
|
|
install-multi:
|
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
|
|
|
mostlyclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
|
|
|
clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
|
|
|
distclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
|
|
|
maintainer-clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|