+2001-07-30 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/Integer.java: Merged with Classpath.
+
+2001-07-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * java/util/GregorianCalendar.java (GregorianCalendar): Call
+ setTimeInMillis() to set the default/current time.
+
+2001-07-29 Mark Wielaard <mark@klomp.org>
+
+ * HACKING: add description on updating namespace
+
+2001-07-26 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * java/util/Calendar.java (set): Never recompute fields here. They
+ will already be set if someone set time explicitly, and it can cause
+ problems to do so. Don't invalidate AM_PM setting if HOUR is set.
+ * java/util/GregorianCalendar.java (computeTime): Don't ignore an
+ HOUR setting if AM_PM is set. Don't try to ensure the HOUR value is
+ sane.
+ * java/text/SimpleDateFormat.java (defaultCentury): New field.
+ (readObject): Call set2DigitYearStart if appropriate so that
+ defaultCentury is calculated.
+ (SimpleDateFormat): Don't bother clearing calendar here. Call
+ computeCenturyStart().
+ (set2DigitYearStart): Calculate and set defaultCentury.
+ (format): Don't clone the calendar. Use "calendar" not "theCalendar"
+ everywhere.
+ (parse): Likewise. If the pattern is "y" or "yy" and it found exactly
+ 2 numeric digits, use the 80-20 heuristic to parse the value into a
+ default century based on defaultCenturyStart.
+ (computeCenturyStart): Rewritten. Call set2DigitYearStart().
+
+2001-07-25 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in: Rebuilt.
+ * Makefile.am (libgcj.jar): Correctly fail when bytecode
+ compilation fails.
+
+2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * prims.cc (_JNI_OnLoad): New function.
+ (JNI_OnLoad): Use it.
+ (_Jv_CreateJavaVM): Check for _JNI_OnLoad, not NULL.
+
+2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * Makefile.am (AM_MAKEFLAGS): Pass RUNTESTFLAGS.
+ Makefile.in: Regenerate.
+
+2001-07-24 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/VMClassLoader.java (getPrimitiveClass): Return correct
+ type.
+
+2001-07-23 Tom Tromey <tromey@redhat.com>
+
+ * gcj/javaprims.h: Rebuilt class list.
+ * Makefile.in: Rebuilt.
+ * Makefile.am (core_java_source_files): Added VMClassLoader.
+ * java/lang/VMClassLoader.java: New file.
+ * java/lang/Boolean.java: Merged with Classpath.
+ * java/lang/Byte.java: Merged with Classpath.
+ * java/lang/Integer.java: Merged with Classpath.
+ * java/lang/Long.java: Merged with Classpath.
+ * java/lang/Number.java: Merged with Classpath.
+ * java/lang/Short.java: Merged with Classpath.
+
+2001-07-22 Jeff Sturm <jsturm@one-point.com>
+
+ * configure.host: Enable hash synchronization for alpha*-*.
+ * include/posix-threads.h (_Jv_ThreadSelf): Added inline
+ function for alpha.
+ * java/lang/natObject.cc (compare_and_swap, release_set,
+ compare_and_swap_release): Added inline functions for alpha.
+
+2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC
+ 2533 socket options IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP, falling
+ back to old RFC 2133 variants if missing.
+
+2001-07-18 Tom Tromey <tromey@redhat.com>
+
+ * java/io/natFileWin32.cc (_access): Renamed.
+ (_stat): Likewise.
+ * java/io/natFile.cc (_access): Renamed.
+ (_stat): Likewise.
+ * java/io/File.java (access, stat): Add leading `_' to name.
+ Updated all callers.
+
+2001-07-18 Tom Tromey <tromey@redhat.com>
+
+ For PR java/2812:
+ * libgcj.spec.in (*lib): Added LIBICONV.
+ * configure: Rebuilt.
+ * configure.in: Call AM_ICONV. Don't check for iconv function.
+ Add parameters to JV_HASH_SYNCHRONIZATION define.
+ * acinclude.m4 (AM_ICONV): New macro, from Bruno Haible.
+
+2001-07-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * java/util/LinkedList.java (clone): Clear the copy list with clear(),
+ not by setting its size field.
+
+2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com>
+
+ * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused
+ local `_ebp.'
+
+2001-07-12 Tom Tromey <tromey@redhat.com>
+ David Brownell <david-b@pacbell.net>
+
+ Fix for PR libgcj/3426:
+ * gnu/gcj/convert/natIconv.cc: Include CharConversionException.h,
+ errno.h.
+ (read): Throw exception if character conversion fails.
+ * java/io/BufferedInputStream.java (refill): Now package-private.
+ * java/io/InputStreamReader.java (ready): Simplified.
+ (refill): New method.
+ (read): Use it.
+
+2001-07-12 Tom Tromey <tromey@redhat.com>
+
+ Report from Henner Zeller:
+ * java/io/FileOutputStream.java (FileOutputStream): Throw
+ FileNotFoundException, not IOException.
+
+2001-07-10 Anthony Green <green@redhat.com>
+
+ * Makefile.in: Rebuilt.
+ * Makefile.am: Add new files.
+ * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
+ org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
+ org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
+ org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
+ org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
+ org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
+ org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
+ org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
+ org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
+ org/w3c/dom/ranges/DocumentRange.java,
+ org/w3c/dom/ranges/Range.java,
+ org/w3c/dom/ranges/RangeException.java,
+ org/w3c/dom/traversal/DocumentTraversal.java,
+ org/w3c/dom/traversal/NodeFilter.java,
+ org/w3c/dom/traversal/NodeIterator.java,
+ org/w3c/dom/traversal/TreeWalker.java,
+ org/xml/sax/ext/DeclHandler.java,
+ org/xml/sax/ext/LexicalHandler.java,
+ org/xml/sax/helpers/AttributeListImpl.java,
+ org/xml/sax/helpers/AttributesImpl.java,
+ org/xml/sax/helpers/DefaultHandler.java,
+ org/xml/sax/helpers/LocatorImpl.java,
+ org/xml/sax/helpers/NamespaceSupport.java,
+ org/xml/sax/helpers/ParserAdapter.java,
+ org/xml/sax/helpers/ParserFactory.java,
+ org/xml/sax/helpers/XMLFilterImpl.java,
+ org/xml/sax/helpers/XMLReaderAdapter.java,
+ org/xml/sax/helpers/XMLReaderFactory.java,
+ org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
+ org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
+ org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
+ org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
+ org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
+ org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
+ org/xml/sax/SAXNotRecognizedException.java,
+ org/xml/sax/SAXNotSupportedException.java,
+ org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
+ org/xml/sax/XMLReader.java: New files.
+
+2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com>
+
+ * Makefile.am: Added `java/lang/ThreadLocal.java'.
+ * Makefile.in: Regenerate.
+ * java/lang/ThreadLocal.java: Initial import.
+
+2001-07-07 Jeff Sturm <jsturm@one-point.com>
+
+ * Makefile.am (libgcj.jar): Don't recursively make
+ built_java_source_files. Avoid long command lines.
+ Don't change to $(srcdir) to invoke javac.
+ (libgcj.la, libgcjx.la); Avoid long command lines.
+ ($(nat_headers),$(x_nat_headers)): Depend on libgcj.jar.
+ * Makefile.in: Rebuilt.
+
+2001-07-06 Andrew Haley <aph@cambridge.redhat.com>
+
+ * include/i386-signal.h: Don't do anything with unsigned divide
+ overflow except throw an exception.
+
+2001-07-05 Tom Tromey <tromey@redhat.com>
+
+ For PR java/3562:
+ * java/lang/Class.h (Class(void)): Now private. Removed
+ implementation. From dmorsberger@sensysdl.com.
+
+2001-07-02 Tom Tromey <tromey@redhat.com>
+
+ Fix for PR bootstrap/3281:
+ * aclocal.m4, configure: Rebuilt.
+ * acinclude.m4 (LIBGCJ_CONFIGURE): Don't set libgcj_flagbasedir.
+ Correctly compute libgcj_basedir.
+ (mkinstalldirs): Define and subst.
+
+2001-07-01 Jeremy Nimmer <jwnimmer@alum.mit.edu>
+
+ For PR libgcj/3523:
+ * java/io/LineNumberReader.java (reset): Pass correct arguments to
+ countLines.
+
+2001-06-27 Tom Tromey <tromey@redhat.com>
+
+ * gnu/gcj/convert/IOConverter.java: Manually maintained alias now
+ lowercase.
+
+2001-06-25 Tom Tromey <tromey@redhat.com>
+
+ * scripts/encodings.pl: Generate lower-case names. Updated URL
+ for `character-sets' file.
+ * gnu/gcj/convert/IOConverter.java (canonicalize): Convert name to
+ lower case.
+ Rebuilt list of aliases.
+
+2001-06-25 Tom Tromey <tromey@redhat.com>
+
+ * java/io/natFileDescriptorPosix.cc (open): Change error message
+ formatting. From David Brownell.
+
+2001-06-21 Tom Tromey <tromey@redhat.com>
+
+ * include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
+ From Corey Minyard.
+
+2001-06-19 Mark J. Roberts <mjr@statesmean.com>
+
+ * java/math/BigInteger.java (byteArrayToIntArray): Don't include
+ extraneous/malformed sign word.
+
+2001-06-15 Tom Tromey <tromey@redhat.com>
+
+ * jni.cc (_Jv_JNI_NewLocalRef): Search other frames.
+
+2001-06-15 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Return
+ NULL if no library on the list has the symbol.
+ (init): Call add_library on the program itself.
+ * prims.cc (JvRunMain): Initialize Runtime before searching for
+ `main'.
+ (_Jv_RunMain): Likewise.
+
+2001-06-15 Tom Tromey <tromey@redhat.com>
+
+ * jni.cc (ClassClass): Removed; updated all users.
+ (ObjectClass): Likewise.
+ (ThrowableClass): Likewise.
+ (MethodClass): Likewise.
+ (ThreadGroupClass): Likewise.
+ (local_ref_table): Renamed from `ref_table'.
+ (global_ref_table): New global.
+ (_Jv_JNI_Init): Initialize both ref tables.
+ (mark_for_gc): Added `ref_table' parameter.
+ (unmark_for_gc): Likewise. Also, fail if we unreferenced too many
+ times.
+ (_Jv_JNI_NewGlobalRef): Updated for new mark function.
+ (_Jv_JNI_DeleteGlobalRef): Likewise.
+ (_Jv_JNI_DeleteLocalRef): Likewise.
+ (_Jv_JNI_NewLocalRef): Likewise.
+ (_Jv_JNI_PopLocalFrame): Likewise.
+ (_Jv_JNI_GetStringChars): Likewise.
+ (_Jv_JNI_ReleaseStringChars): Likewise.
+ (_Jv_JNI_GetPrimitiveArrayElements): Likewise.
+ (_Jv_JNI_ReleasePrimitiveArrayElements): Likewise.
+
+2001-06-14 Tom Tromey <tromey@redhat.com>
+
+ Fix for PR libgcj/3144:
+ * java/util/Date.java: Merged with Classpath.
+
+2001-06-12 Tom Tromey <tromey@redhat.com>
+
+ * aclocal.m4, configure: Rebuilt.
+ * acinclude.m4: Find configure.host in srcdir.
+
+2001-06-07 Tom Tromey <tromey@redhat.com>
+
+ Fix for PR libgcj/3059:
+ * java/lang/natSystem.cc (init_properties): Define `java.home'.
+ * Makefile.in: Rebuilt.
+ * Makefile.am (AM_CXXFLAGS): Define PREFIX.
+
+2001-06-10 Alexandre Petit-Bianco <apbianco@redhat.com>
+
+ * exception.cc (cstdlib): Replaces stdlib.h.
+ (_Jv_Throw): Use std::abort().
+ (PERSONALITY_FUNCTION): Likewise.
+
+2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
+
+ * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
+ nothing, as in autoconf 2.50.
+ * aclocal.m4, configure: Rebuilt.
+
+2001-06-08 Tom Tromey <tromey@redhat.com>
+
+ * configure: Rebuilt.
+ * configure.in: Compute new aux dir using `pwd'.
+
+2001-06-07 Tom Tromey <tromey@redhat.com>
+
+ For PR bootstrap/3075:
+ * configure, aclocal.m4, Makefile.am: Rebuilt.
+ * configure.in: Pass `--with-auxdir' to subdir configure. Don't
+ call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. Look for unwind.h
+ relative to libgcj_basedir.
+ * acinclude.m4 ((LIBGCJ_CONFIGURE): Call AC_CONFIG_AUX_DIR and
+ AC_CANONICAL_SYSTEM here.
+ * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
+ libgcj_basedir.
+ ($(extra_headers)): New target.
+
+2001-06-05 Martin Kahlert <martin.kahlert@infineon.com>
+ Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * java/lang/natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors
+ table index is within allowed bounds. Ensure that we dont try to access
+ class itable at a negative offset. Avoid an ancestor table lookup if
+ source is a primitive type class.
+ (isInstance): Remove redundant isPrimitive() check.
+
+2001-06-04 Tom Tromey <tromey@redhat.com>
+
+ * java/security/PublicKey.java: Extend Key.
+ * java/security/PrivateKey.java: Extend Key.
+
+2001-06-02 Anthony Green <green@redhat.com>
+
+ * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Provide an
+ alternate when USE_LTDL not defined.
+
+2001-06-02 Anthony Green <green@redhat.com>
+
+ * configure: Rebuild.
+ * configure.in: Remove data_start hack.
+ * libgcj.spec.in: Ditto.
+ * Makefile.in: Rebuild.
+ * Makefile.am: Ditto.
+ * libgcjdata.c: Remove.
+
+2001-06-02 Anthony Green <green@redhat.com>
+
+ * configure: Rebuild.
+ * configure.in (LIBFFIINCS, LIBFFI): Introduce. Add
+ --without-libffi option. Tweak --disable-java-net processing.
+ * Makefile.in: Rebuild.
+ * Makefile.am (LIBFFIINCS, LIBFFI): Use.
+ * include/config.h.in: Rebuild.
+ * acconfig.h (USE_LIBFFI): Define.
+ * java/lang/reflect/natMethod.c: Use USE_LIBFFI.
+
+2001-06-02 Anthony Green <green@redhat.com>
+
+ * configure: Rebuilt.
+ * configure.in: Test for sigaction on native builds.
+ * prims.cc: Check HAVE_SIGACTION.
+ * include/config.h.in: Rebuilt.
+
+2001-05-31 Jeff Sturm <jsturm@one-point.com>
+
+ * natFile.cc (get_entry): Removed functions.
+ (performList): Call readdir or readdir_r if HAVE_READDIR_R defined.
+ Allocate enough storage for d_name if using readdir_r.
+
+2001-05-31 Tom Tromey <tromey@redhat.com>
+
+ * java/io/natFileDescriptorPosix.cc (open): Allocate buffer to
+ correct size.
+ (write): Loop until write completes. From Corey Minyard.
+
+2001-05-29 Laurent Guerby <guerby@acm.org>
+
+ * java/awt/geom/Rectangle2D.java: fix doc typo.
+
+2001-05-31 Tom Tromey <tromey@redhat.com>
+
+ * java/sql/DriverManager.java (getDrivers): Handle case where
+ driver's class loader is null. From Corey Minyard.
+
+2001-05-29 Tom Tromey <tromey@redhat.com>
+
+ * include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
+
+ * configure: Rebuilt.
+ * configure.in: Only add multilib support code if we just rebuilt
+ top-level Makefile.
+
+2001-05-29 Andrew Haley <aph@redhat.com>
+
+ * include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame
+ pointer: the dwarf unwinder in libgcc will do everything that's
+ needed.
+ (HANDLE_DIVIDE_OVERFLOW): Tidy. Don't mess with stack frames any
+ more than we absolutely need to.
+ * configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha.
+ * configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on
+ Alpha.
+ (SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not
+ "$libgcj_sjlj".
+ * configure: Rebuilt.
+ * include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC
+ for Alpha.
+ (SIGNAL_HANDLER): Use siginfo style handler.
+ (INIT_SEGV): Likewise.
+ (INIT_FPE): Likewise.
+ * include/ppc-signal.h: Delete whole file.
+
+2001-05-24 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/natString.cc (init): Throw
+ ArrayIndexOutOfBoundsException.
+ (getChars): Likewise.
+ (getBytes): Likewise.
+ (valueOf): Likewise.
+
+ * configure.in: Only allow hash synchronization when POSIX threads
+ are enabled.
+ * java/lang/natObject.cc (alloc_heavy): Properly find `init' field
+ of sync info object.
+
+2001-05-23 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in: Rebuilt.
+ * Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks.
+
+ Revert patch of 2001-05-21:
+ * Makefile.am (libgcj_la_DEPENDENCIES): Removed nat_files.
+ (libgcj_la_LIBADD): Likewise.
+ (libgcjx_la_DEPENDENCIES): Removed x_nat_files.
+ (libgcjx_la_LIBADD): Likewise.
+
+ * posix-threads.cc (_Jv_self_cache): Renamed from self_cache.
+ * gcj/Makefile.in: Rebuilt.
+ * gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h.
+ * gcj/javaprims.h: Include gcj/libgcj-config.h.
+ * gcj/libgcj-config.h.in: New file.
+ * libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@.
+ * configure: Rebuilt.
+ * configure.in: Enable hash synchronization by default on some
+ platforms.
+ (HASH_SYNC_SPEC): New subst.
+ (AC_CONFIG_HEADER): Added gcj/libgcj-config.h.
+ Correctly use `test -z' instead of `test -n' in a couple places.
+ (JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to
+ LIBGCJ_CXXFLAGS.
+ * configure.host (enable_java_net_default): Initialize.
+ (enable_hash_synchronization_default): New variable.
+
+2001-05-23 Hans Boehm <Hans_Boehm@hp.com>
+
+ * boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash
+ synchronization in use.
+ (_Jv_MarkArray): Likewise.
+ (_Jv_AllocBytes): Don't check return result.
+ (handle_out_of_memory): New function.
+ (_Jv_InitGC): Set GC_oom_fn.
+ (trace_one_vtable): New global.
+ (_Jv_AllocTraceOne): New function.
+ * configure.in: Added --enable-hash-synchronization.
+ * defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc,
+ java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked.
+ * nogc.cc (_Jv_AllocObj): Throw out-of-memory.
+ (_Jv_AllocArray): Likewise.
+ (_Jv_AllocBytes): Likewise.
+ (_Jv_AllocPtrFreeObject): New function.
+ (_Jv_AllocTraceOne): Likewise.
+ * posix-threads.cc (_Jv_ThreadRegister): Handle slow
+ pthread_self().
+ (self_cache): New global.
+ (_Jv_ThreadSelf_out_of_line): New function.
+ * prims.cc (_Jv_AllocBytesChecked): Removed.
+ (_Jv_ThrowNoMemory): New function.
+ (_Jv_AllocObject): Don't check for null return from allocator.
+ (_Jv_NewObjectArray): Likewise.
+ (_Jv_AllocPtrFreeObject): New function.
+ (_Jv_NewPrimArray): Allocate pointer-free object if possible.
+ * include/javaprims.h (_Jv_AllocPtrFreeObject): Declare.
+ (_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value.
+ * include/boehm-gc.h (_Jv_AllocObj): Define.
+ (_Jv_AllocPtrFreeObj): Define.
+ * include/jvm.h (_Jv_AllocPtrFreeObj): Declare.
+ (_Jv_ThrowNoMemory): Declare.
+ (_Jv_AllocTraceOne): Declare.
+ (_Jv_AllocBytesChecked): Removed.
+ * include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock,
+ _Jv_MutexUnlock): Handle LOCK_DEBUG.
+ (_Jv_ThreadSelf): Handle case where system pthread_self() is
+ slow.
+ * java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as
+ friend.
+ * java/lang/Object.h (sync_info): Conditional upon presence of
+ hash synchronization.
+ * java/lang/natObject.cc: Much new code to handle thin locks and
+ hash synchronization.
+ * java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free
+ object if possible.
+
+2001-05-23 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * gij.cc (version): Update copyright year.
+
+2001-05-22 Anthony Green <green@redhat.com>
+
+ * configure.in: Tweak canadian cross test, and don't redefine GCJ
+ for cross builds.
+
+2001-05-21 Per Bothner <per@bothner.com>
+
+ Implement invocation interface; don't create new thread for main.
+ * java/lang/Thread.java (gen_name): Make native.
+ (<init>(Thread,THreadGroup,Runnable,String)): New private
+ constructor, used by other constructors, and _Jv_AttachCurrentThread.
+ * java/lang/natThread.cc (gen_name): New implementation.
+ (_Jv_AttachCurrentThread, _Jv_DetachCurrentThread): New.
+ * prims.cc (main_init): Removed, replaced by _Jv_CreateJavaVM.
+ (_Jv_CreateJavaVM): New runtime initialization procedure.
+ (runFirst): New proecdure - mostly code from old FirstThread::run.
+ (JvRunMain, _Jv_RunMain): Re-write to use new invocation code.
+ * gcj/cni.h (JvCreateJavaVM, JvAttachCurrentThread,
+ JvDetachCurrentThread): New inline wrappers.
+ * gcj/javaprims.h (_Jv_CreateJavaVM, _Jv_AttachCurrentThread,
+ _Jv_DetachCurrentThread): New declarations.
+ * gnu/gcj/runtime/FirstThread.java: Gutted. Now contains only ...
+ (getMain): new static method.
+ * gnu/gcj/runtime/natFirstThread.cc: Removed; run method replaced
+ by runFirst in prims.cc.
+ (java/lang/Thread.h): Update for new invocation interface.
+ * include/posix-threads.h (_Jv_ThreadRegister,
+ _Jv_ThreadUnRegister): New declarations.
+ * posix-threads.cc (_Jv_ThreadRegister, _Jv_ThreadUnRegister): New.
+ (really_start): Use new _Jv_ThreadRegister.
+ * include/no-threads.h (_Jv_ThreadInitData): No longer inline.
+ (_Jv_ThreadRegister, _Jv_ThreadUnRegister): New empty inlines.
+ * no-threads.cc (_Jv_ThreadInitData): Set _Jv_OnlyThread here.
+ Complain of called when _Jv_OnlyThread already set.
+ (_Jv_ThreadStart): Always JvFail.
+ * include/win32-threads.h (_Jv_Thread_t): New thread_obj field.
+ (_Jv_ThreadRegister, _Jv_ThreadUnRegister): New declarations.
+ * win32-threads.cc (struct starter): Remove objet field -
+ we use _Jv_Thread_t's new thread_obj field instead.
+ (_Jv_ThreadInitData): Set _Jv_Thread_t's thread_obj field.
+ (_Jv_ThreadRegister, _Jv_ThreadUnRegister): New.
+ (really_start): Use new _Jv_ThreadRegister.
+ * jni.cc (_Jv_JNI_AttachCurrentThread): Use _Jv_AttachCurrentThread.
+ (_Jv_JNI_DetachCurrentThread): Use _Jv_DetachCurrentThread.
+ * gnu/gcj/jni/NativeThread.java, gnu/gcj/jni/natNativeThread.cc:
+ Removed - no longer needed with new invocation interface.
+ * Makefile.am: Update for removed/added files.
+
+2001-05-21 Per Bothner <per@bothner.com>
+
+ * Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
+ (libgcj_la_LIBADD): Likewise.
+ (libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD): Add $(x_nat_files).
+