12000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
2
3	* Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that
4	the correct versions of various linuxthreads functions get linked.
5	* Makefile.in: Rebuilt.
6	* java/lang/natThread.cc (finalize_native): New static function. Call
7	_Jv_ThreadDestroyData.
8	(initialize_native): Register finalizer for "data".
9	* include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype.
10	(_Jv_ThreadDestroyData): New prototype.
11	* include/win32-threads.h: Ditto.
12	* include/no-threads.h: Ditto.
13	* posix-threads.cc (_Jv_ThreadInitData): Implement new prototype.
14	(_Jv_ThreadDestroyData): New function. Free native thread "data" and
15	move mutex and condition variable destroy code from:
16	(really_start): ...here.
17	(_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED.
18	* win32-threads.cc (_Jv_ThreadInitData): Implement new prototype.
19	(_Jv_ThreadDestroyData): Implemented.
20	* nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t".
21	(_Jv_AllocArray): Ditto.
22
232000-12-27  Jeff Sturm  <jeff.sturm@commerceone.com>
24
25	* java/sql/DriverManager.java (getConnection): Don't set user/password
26	properties if null.
27
282000-12-27  Warren Levy  <warrenl@redhat.com>
29
30	Fix for PR libgcj/1358:
31	* java/lang/System.java: Update Copyright date properly.
32	* java/util/Calendar.java: Fix typo in comment.
33	(set): Set 24-hour clock hour instead of 12-hour clock hour.
34	* java/util/GregorianCalendar.java (GregorianCalendar): Properly
35	initialize times.  Spec says to set H:M:S values to zero only if
36	a date is given.
37	* java/util/TimeZone.java (getDefaultDisplayName): Casts to char
38	needed for evaluating numbers '0' to '9' in printouts of GMT offsets.
39	* java/util/natGregorianCalendar.cc (computeTime): Properly handle
40	timezones and GMT offsets, being careful to account for units of
41	milliseconds vs. seconds.
42
432000-12-28  Bryce McKinlay  <bryce@albatross.co.nz>
44
45	* java/lang/natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can
46	not be assigned to Object.
47
48	Fix for PR libgcj/1516:
49	* java/lang/reflect/natMethod.cc (primitives): Remove void entry.
50	Add boolean entry.
51	(can_widen): Declared inline. Remove redundant checks for void
52	arguments and char->short conversion. Add special case for boolean
53	conversions.
54	(ffi_type): Declared inline.
55	(_Jv_CallAnyMethodA): Move unwrapping logic inside isPrimitive() block.
56
572000-12-26  Petter Reinholdtsen  <pere@hungry.com>
58
59	* java/sql/SQLWarning.java: Fixed typo in comment.
60
612000-12-26  Tom Tromey  <tromey@redhat.com>
62
63	* java/awt/MenuItem.java (paramString): Now protected.
64
65	* java/awt/MenuShortcut.java: Implements Serializable.
66
67	* java/awt/MenuBar.java: Rewrote from scratch.
68
69	* java/awt/MenuComponent.java (removeNotify): Wrote.
70	Implements Serializable.
71
72	* java/awt/GridBagConstraints.java (GridBagConstraints): New
73	constructor.
74
75	* java/awt/CheckboxMenuItem.java: Wrote.
76
772000-12-25  Tom Tromey  <tromey@redhat.com>
78
79	* java/awt/MenuContainer.java: Fixed typo.
80
81	* Makefile.in: Rebuilt.
82	* Makefile.am (awt_java_source_files): Added SystemColor.java.
83	* java/awt/SystemColor.java: New file.
84
85	* java/awt/Color.java (rgba): Now package-private.
86
87	* java/awt/event/InputEvent.java (isAltGraphDown): New method.
88
89	* java/awt/event/ContainerEvent.java (getContainer): Renamed from
90	getComponent.
91
92	* java/awt/MenuItem.java (addNotify): New method.
93	(MenuItem(String,MenuShortcut)): New constructor.
94	(setLabel): Notify peer of change.
95	(setEnabled): Likewise.
96
97	* java/awt/GridLayout.java (toString): New method.
98
99	* java/awt/FlowLayout.java (LEADING, TRAILING): New constants.
100	(FlowLayout): Check for LEADING and TRAILING.
101	(setAlignment): Likewise.
102	(layoutContainer): Handle component orientation.
103
104	* java/awt/Component.java (orientatin): New field.
105	(setComponentOrientation): Wrote.
106	(getComponentOrientation): Wrote.
107
108	* java/awt/Event.java (Event): Implements Serializable.
109	(consumed): New field for serialization.
110	* java/awt/Dimension.java (Dimension): Implements Serializable.
111	* java/awt/Cursor.java (Cursor): Implements Serializable.
112	* java/awt/Container.java (Container): No longer abstract.
113
114	* java/awt/Choice.java: Wrote.
115	* java/awt/Checkbox.java: Wrote.
116	* java/awt/ItemSelectable.java: Documented.
117	* java/awt/CheckboxGroup.java: Wrote.
118
119	* java/awt/CardLayout.java (layoutContainer): Directly use fields
120	in other classes.
121	(getSize): Likewise.
122
1232000-12-24  Jeff Sturm  <jeff.sturm@commerceone.com>
124
125	* java/io/FileDescriptor.java: Initialize fd to -1.
126	Remove default constructor.
127
1282000-12-23  Joseph S. Myers  <jsm28@cam.ac.uk>
129
130	* java/lang/mprec.h: Change C9X reference to refer to C99.
131
1322000-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
133
134	* java/lang/Throwable.java (trace_enabled): New static field.
135	* java/lang/natThrowable.cc (fillInStackTrace): Do nothing if
136	trace_enabled not set.
137	* prims.cc (main_init): Turn off trace_enabled while creating
138	default exception objects.
139
1402000-12-21  Tom Tromey  <tromey@redhat.com>
141
142	* java/beans/PropertyChangeListener.java: Extends EventListener.
143	* java/beans/VetoableChangeListener.java: Extends EventListener.
144
145	* java/util/zip/Deflater.java (update, init): Now private.
146
1472000-12-21  Bryce McKinlay  <bryce@albatross.co.nz>
148
149	* java/util/BasicMapEntry.java: Re-added.
150	* java/util/HashMap.java (Entry): Extend BasicMapEntry.
151	(putAll): Test for BasicMapEntry.
152	* java/util/Hashtable.java (Entry): Extend BasicMapEntry.
153	(putAll): Test for BasicMapEntry.
154	Change references from `HashMap.Entry' to `Entry' in various places.
155	* Makefile.am: Add BasicMapEntry.java.
156	* Makefile.in: Rebuilt.
157
1582000-12-18  Warren Levy  <warrenl@redhat.com>
159
160	* java/util/GregorianCalendar.java (GregorianCalendar): Constructors
161	need to set timezone to a valid non-null value.  Partial fix for
162	PR 331.
163
1642000-12-18  Bryce McKinlay  <bryce@albatross.co.nz>
165
166	* java/awt/Window.java (addNotify): Remove peer casting hack now that
167	gcj/312 is fixed.
168	* java/awt/Button.java (addNotify): Likewise.
169	* java/awt/Label.java (addNotify): Likewise.
170	* java/awt/Panel.java (addNotify): Likewise.
171	* java/awt/Scrollbar.java (addNotify): Likewise.
172	* java/awt/Component.java (processPaintEvent): Use peer not getPeer.
173	Remove redundant null checks.
174
1752000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
176
177	* COPYING: Update to current
178	ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
179	to 19yy as example year in copyright notice).
180
1812000-12-18  Bryce McKinlay  <bryce@albatross.co.nz>
182
183	* java/util/zip/natInflater.cc (inflate): Treat Z_BUF_ERROR as
184	end-of-stream if avail_in is 0.
185
1862000-12-17  Bryce McKinlay  <bryce@albatross.co.nz>
187
188	* java/util/ArrayList.java (data): Declare transient.
189	(serialPersistantFields): Removed.
190	(readObject): Use defaultReadObject(), not readFields().
191	(writeObject): Use defaultWriteObject(), not writeFields().
192
1932000-12-17  Jeff Sturm  <jeff.sturm@commerceone.com>
194
195	* java/util/Hashtable.java (put): Remove `last' variable.
196	Link new entry to head of list.
197	* java/util/HashMap.java (put): Ditto.
198
1992000-12-15  Tom Tromey  <tromey@redhat.com>
200
201	* java/util/ResourceBundle.java (trySomeGetBundle): Pass class
202	loader to Class.forName.
203
2042000-12-14  Tom Tromey  <tromey@redhat.com>
205
206	* java/util/ResourceBundle.java
207	(getBundle(String,Locale,ClassLoader)): New method.
208	(trySomeGetBundle): Added `loader' argument.
209	(partialGetBundle): Likewise.
210
211	* java/text/NumberFormat.java (groupingUsed, parseIntegerOnly,
212	maximumFractionDigits, maximumIntegerDigits,
213	minimumFractionDigits, minimumIntegerDigits): Now
214	package-private.
215
216	* java/lang/Thread.java (checkAccess): Now final.
217
218	* java/lang/RuntimePermission.java: Class now final.
219
220	* java/io/StringWriter.java (StringWriter(int)): Now public.
221
222	* java/io/SerializablePermission.java (legal_names): Now private.
223
224	* java/lang/Character.java: Updated UnicodeBlock constants.
225	* scripts/blocks.pl: Special case private use and surrogate
226	areas.  Updated URL.
227
2282000-12-12  Tom Tromey  <tromey@redhat.com>
229
230	* Makefile.in: Rebuilt.
231	* Makefile.am (GCJ_WITH_FLAGS): New macro, includes --encoding
232	option.
233	(GCJCOMPILE): Use it.
234	(JAVAC): Likewise.
235
2362000-12-11  Tom Tromey  <tromey@redhat.com>
237
238	* gnu/gcj/runtime/FirstThread.java (Kcert, Kfile, Khttp, Kjar):
239	New static final fields.
240
241	* scripts/classes.pl (scan): Skip lines with leading `*'.
242	Fix for PR libgcj/378.
243
2442000-12-11  Bryce McKinlay  <bryce@albatross.co.nz>
245
246	* configure.in: Remove check for -fuse-divide-subroutine.
247	* configure: Rebuilt.
248
249	* java/util/Hashtable.java (Enumerator.nextElement): Initialize `e'.
250
251	* gcj/javaprims.h: Rebuilt CNI namespace declarations.
252
2532000-12-11  Bryce McKinlay  <bryce@albatross.co.nz>
254
255	* Makefile.am: Add HashSet.java and java/lang/ref classes.
256	Remove BasicMapEntry.java and Bucket.java.
257	* Makefile.in: Rebuilt.
258	* java/util/HashMap.java: Rewritten.
259	* java/util/HashSet.java: Imported from classpath.
260	* java/util/WeakHashMap.java: Imported from classpath.
261	* java/util/Hashtable.java: Rewritten based on new HashMap code.
262	* java/util/Bucket.java: Deleted.
263	* java/util/BasicMapEntry.java: Deleted.
264	* java/util/Collections.java (search): Use a for-loop, not iterator
265	hasNext().
266	(copy): Use a for-loop. Throw an IndexOutOfBoundsException if run out
267	of elements in source.
268	(max): Use a for-loop.
269	(min): Ditto.
270	(reverse): Keep track of positions instead of using Iterator's
271	nextIndex() and previousIndex().
272	(shuffle(List)): Initialize defaultRandom if required using
273	double-check thread safety idiom. Call two-argument shuffle method
274	using defaultRandom.
275	(defaultRandom): New field.
276	(shuffle(List, Random)): Use a for-loop. Keep track of pos instead of
277	using previousIndex() and nextIndex().
278	(singletonMap(iterator)): Use a HashMap.Entry, not BasicMapEntry.
279	* java/util/AbstractCollection.java (toString): Use a StringBuffer.
280	* java/util/AbstractMap.java (toString): Use StringBuffer.
281	* java/lang/ref/PhantomReference.java: Imported from classpath.
282	* java/lang/ref/SoftReference.java: Ditto.
283	* java/lang/ref/Reference.java: Ditto.
284	* java/lang/ref/WeakReference.java: Ditto.
285	* java/lang/ref/ReferenceQueue.java: Ditto.
286
2872000-12-10  Richard Henderson <rth@redhat.com>
288
289	* configure.host: Recognize alpha*-*, not alphaev6-*.
290
2912000-12-09  Anthony Green  <green@redhat.com>
292
293	* configure.host: Enable interpreter for Alpha.
294
2952000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>
296
297	* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
298	(ZIP): Points at fastjar instead of zip.
299	(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
300	(libgcj_la_LDFLAGS): Correctly point at libsupc++.
301	(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
302	(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
303	($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
304	($(x_java_source_files:.java=.class):): Likewise.
305	(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
306	fastar's flags.
307	(CLEANFILES): libgcj.jar replaces libgcj.zip.
308	(java/lang/ClassLoader.h:): Depends on libgcj.jar.
309	(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
310	java/lang/String.h:, java/lang/reflect/Constructor.h:,
311	java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
312	gnu/gcj/runtime/VMClassLoader.h:,
313	java/io/ObjectInputStream$$GetField.h:,
314	java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
315	(Makefile.in): Rebuilt.
316
3172000-12-08  Tom Tromey  <tromey@redhat.com>
318
319	From Phil Edwards:
320	* configure: Rebuilt.
321	* configure.in: Use echo, not `:', to create .d files.
322
3232000-12-08  Warren Levy  <warrenl@redhat.com>
324
325	* java/lang/StringBuffer.java (insert(int,char[])): Avoid
326	NullPointerException so proper check of offset can be done.
327
3282000-12-08  Warren Levy  <warrenl@redhat.com>
329
330	* java/io/FileInputStream.java (close): Check if the fd is valid.
331	* java/io/RandomAccessFile.java (close): Ditto.
332	* java/net/PlainDatagramSocketImpl.java (close): Ditto.
333	* java/net/PlainSocketImpl.java (close): Ditto.
334
3352000-12-06  Tom Tromey  <tromey@redhat.com>
336
337	* java/awt/GridBagConstraints.java: Filled in values for static
338	final fields.
339
340	* java/util/BitSet.java: Updated copyright notice.
341
342	* Makefile.in: Rebuilt.
343	* Makefile.am (awt_java_source_files): Added new file.
344	* java/awt/GridBagConstraints.java: New file.
345
3462000-12-05  Tom Tromey  <tromey@redhat.com>
347
348	* java/text/Collator.java (decomposeCharacter, decmp, strength):
349	Now package-private, not protected.
350	* java/text/DateFormatSymbols.java (equals): Now private.
351	* java/text/DecimalFormatSymbols.java (safeGetChar): Now private.
352	* java/util/BitSet.java: Class no longer final.
353
3542000-12-04  Warren Levy  <warrenl@redhat.com>
355
356	* java/util/TimeZone.java (getAvailableIDs): Activated commented
357	out code dependent on compiler and library changes.
358
3592000-12-04  Warren Levy  <warrenl@redhat.com>
360
361	* java/io/FilePermission.java: Made class final per spec.
362	* java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed
363	method name to match spec (fixed typo).
364	* java/util/LinkedList.java: Implements List.
365
3662000-12-04  Bryce McKinlay  <bryce@albatross.co.nz>
367
368	* java/lang/natDouble.cc: Include fdlibm.h, not mprec.h. From
369	Edgar Villanueva <edgarvil@home.com>.
370
3712000-12-03  Tom Tromey  <tromey@redhat.com>
372
373	* java/awt/geom/Point2D.java: Added protected constructor.
374	(equals): New method.
375	(Float.setLocation(float,float)): New method.
376	* java/awt/geom/Dimension2D.java: Added protected constructor.
377	* java/awt/geom/AffineTransform.java: Made all constants public.
378	(concatenate): Fixed typo in name.
379	* java/awt/event/WindowAdapter.java: Class now abstract.
380	* java/awt/event/KeyEvent.java (CHAR_UNDEFINED): Now final.
381	* java/awt/event/FocusEvent.java: Extend ComponentEvent, not
382	AWTEvent.
383
384	* java/awt/AWTError.java: Extend Error, not
385	IllegalStateException.
386
387	* Makefile.in: Rebuilt.
388	* Makefile.am (awt_java_source_files): Added new file.
389	* java/awt/geom/RoundRectangle2D.java: New file.
390
391	* Makefile.in: Rebuilt.
392	* Makefile.am (awt_java_source_files): Added new file.
393	* java/awt/FlowLayout.java: New file.
394
395	* Makefile.in: Rebuilt.
396	* Makefile.am (awt_java_source_files): Added new file.
397	* java/awt/GridLayout.java: New file.
398
3992000-12-02  Tom Tromey  <tromey@redhat.com>
400
401	* Makefile.in: Rebuilt.
402	* Makefile.am (awt_java_source_files): Added new files.
403	* java/awt/CardLayout.java: New file.
404	* java/awt/AWTPermission.java: New file.
405
4062000-12-01  Tom Tromey  <tromey@redhat.com>
407
408	* java/util/Vector.java (insertElementAt): Unconditionally
409	increment elementCount.
410	(removeRange): Clear unused slots in vector.
411
4122000-12-02  Bryce McKinlay  <bryce@albatross.co.nz>
413
414	* java/lang/natMath.cc: Declare fabsf() function.
415	* java/lang/mprec.h: Don't include math.h.
416	* java/lang/dtoa.c: Include string.h.
417	* java/lang/natString.cc (toLowerCase): Initialize `ch' to prevent
418	compiler warning.
419
420	From Adam Welc <welc@cs.purdue.edu>:
421	* java/util/LinkedList.java (removeFirst): Update `first' field.
422	Handle the last == first case.
423	(removeLast): Update `last' field. Handle the last == first case.
424
4252000-12-01  Warren Levy  <warrenl@cygnus.com>
426
427	* Makefile.am: Added entries for new java.sql modules.
428	* Makefile.in: Rebuilt.
429
4302000-12-01  Warren Levy  <warrenl@cygnus.com>
431
432	* mauve-libgcj: Turned on JDK1.2 and turned off tests for classes
433	that aren't quite 1.2 compatible yet.
434
4352000-11-30  Warren Levy  <warrenl@cygnus.com>
436
437	* java/sql/Array.java: New file from classpath.
438	* java/sql/BatchUpdateException.java: Ditto.
439	* java/sql/Blob.java: Ditto.
440	* java/sql/Clob.java: Ditto.
441	* java/sql/Ref.java: Ditto.
442	* java/sql/SQLData.java: Ditto.
443	* java/sql/SQLInput.java: Ditto.
444	* java/sql/SQLOutput.java: Ditto.
445	* java/sql/Struct.java: Ditto.
446	* java/sql/CallableStatement.java: Merged file from claspath.
447	* java/sql/Connection.java: Ditto.
448	* java/sql/DataTruncation.java: Ditto.
449	* java/sql/DatabaseMetaData.java: Ditto.
450	* java/sql/DriverManager.java: Ditto.
451	* java/sql/PreparedStatement.java: Ditto.
452	* java/sql/ResultSet.java: Ditto.
453	* java/sql/ResultSetMetaData.java: Ditto.
454	* java/sql/SQLException.java: Ditto.
455	* java/sql/SQLWarning.java: Ditto.
456	* java/sql/Statement.java: Ditto.
457	* java/sql/Types.java: Ditto.
458
4592000-11-29  Bryce McKinlay  <bryce@albatross.co.nz>
460
461	* java/lang/natSystem.cc (init_properties): Set user.language and
462	user.region.
463	* configure.in: Check for setlocale.
464	* configure: Rebuilt.
465	* include/config.h.in: Rebuilt.
466
467	* java/util/zip/InflaterInputStream (read): Don't return -1 unless
468	the infate() call didn't deliver any output. Throw a ZipException if
469	the needsDictionary() call returns true.
470	* java/io/ByteArrayInputStream (read): Remove redundant bounds checks.
471	* java/io/InputStreamReader: Use the default buffer size for the
472	contained BufferedInputStream.
473
4742000-11-28  Warren Levy  <warrenl@cygnus.com>
475
476	* java/text/DateFormatSymbols.java (zoneStringsDefault): Added
477	more time zone entries.
478	* java/text/SimpleDateFormat.java (format): Added case for
479	TIMEZONE_FIELD.
480
4812000-11-28  Bryce McKinlay  <bryce@albatross.co.nz>
482
483	* java/io/DataInputStream.java: Merge classpath docs. Call in.read()
484	directly rather than read() in all cases. Make primitive read
485	implementations	more efficient, as defined in JDK online docs.
486	(skipBytes): Behave like the JDK's implementation.
487	* java/io/BufferedReader.java: Merge classpath docs. Check for a
488	closed stream with checkStatus() whenever an IOException can be
489	thrown.
490	(checkStatus): New private method.
491
4922000-11-27  Warren Levy  <warrenl@cygnus.com>
493
494	* Makefile.am: Added natTimeZone.cc.
495	* Makefile.in: Rebuilt.
496	* gnu/gcj/text/LocaleData_en.java: Added DateFormat entries.
497	* java/text/DateFormatSymbols.java (ampms): Made package private.
498	(eras): Made package private.
499	(months): Made package private.
500	(shortMonths): Made package private.
501	(shortWeekdays): Made package private.
502	(weekdays): Made package private.
503	(formatPrefixes): New private field.
504	(localPatternCharsDefault): Made private.
505	(dateFormats): New package private field.
506	(timeFormats): New package private field.
507	(formatsForKey): New private method.
508	(DateFormatSymbols(Locale)): Set dateFormats and timeFormats.
509	(DateFormatSymbols(DateFormatSymbols)): Ditto.
510	* java/text/SimpleDateFormat.java: Merged with Classpath.
511	* java/util/TimeZone.java: Merged with Classpath.
512	* java/util/natTimeZone.cc: New file.
513
5142000-11-27  Bryce McKinlay  <bryce@albatross.co.nz>
515
516	* java/util/Vector.java (ensureCapacity): Don't increment modCount.
517	(addElement): Don't increment elementCount twice. Doh.
518	* java/util/ArrayList.java (add): Only call ensureCapacity if the
519	array needs to be expanded.
520	(addAll): Ditto.
521	* java/util/Collections.java (UnmodifiableCollection): Implement
522	toString().
523	(UnmodifiableList): Throw UnsupportedOperationException from
524	modification methods. Set `l' from the one-parameter constructor.
525	(UnmodifiableMap): Implement toString().
526	(SynchronizedCollection): Ditto.
527	(SynchronizedList): Set `l' from the one-parameter constructor.
528	(SynchronizedSortedSet): Set `ss' from the one-parameter constructor.
529	(SynchronizedMap): Implement toString().
530
531Sun Nov 26 23:59:55 2000  Anthony Green  <green@redhat.com>
532
533	* javax/naming/NameParser.java,
534	javax/naming/directory/AttributeInUseException.java,
535	javax/naming/directory/AttributeModificationException.java,
536	javax/naming/directory/InvalidAttributeIdentifierException.java,
537	javax/naming/directory/InvalidAttributesException.java,
538	javax/naming/directory/InvalidAttributeValueException.java,
539	javax/naming/directory/InvalidSearchControlsException.java,
540	javax/naming/directory/InvalidSearchFilterException.java,
541	javax/naming/directory/NoSuchAttributeException.java,
542	javax/naming/directory/SchemaViolationException.java: New files.
543
544Sun Nov 26 22:35:53 2000  Anthony Green  <green@redhat.com>
545
546	* javax/naming/InitialContext.java (rebind): Implement.
547	(unbind): Implement.
548	(rename): Implement.
549	(list): Implement.
550	(listBindings): Implement.
551	(destroySubcontext): Implement.
552	(createSubcontext): Implement.
553	(lookupLink): Implement.
554	(getNameParser): Implement.
555	(composeName): Implement.
556	(addToEnvironment): Implement.
557
558Sun Nov 26 21:30:25 2000  Anthony Green  <green@redhat.com>
559
560	* javax/naming/AuthenticationException.java,
561	javax/naming/AuthenticationNotSupportedException.java,
562	javax/naming/CannotProceedException.java,
563	javax/naming/CommunicationException.java,
564	javax/naming/ConfigurationException.java,
565	javax/naming/ContextNotEmptyException.java,
566	javax/naming/InsufficientResourcesException.java,
567	javax/naming/InterruptedNamingException.java,
568	javax/naming/InvalidNameException.java,
569	javax/naming/LimitExceededException.java,
570	javax/naming/LinkException.java,
571	javax/naming/LinkLoopException.java,
572	javax/naming/MalformedLinkException.java,
573	javax/naming/NameAlreadyBoundException.java,
574	javax/naming/NameNotFoundException.java,
575	javax/naming/NamingSecurityException.java,
576	javax/naming/NoPermissionException.java,
577	javax/naming/NotContextException.java,
578	javax/naming/PartialResultException.java,
579	javax/naming/ReferralException.java,
580	javax/naming/ServiceUnavailableException.java,
581	javax/naming/SizeLimitExceededException.java,
582	javax/naming/TimeLimitExceededException.java: New files.
583
584	* javax/naming/Name.java (clone): New method.
585	(compareTo): New method.
586	(isEmpty): New method.
587	(getAll): New method.
588	(getPrefix): New method.
589	(getSuffix): New method.
590	(startsWith): New method.
591	(endsWith): New method.
592	(addAll): New method.
593	(addAll): New method.
594	(add): New method.
595	(add): New method.
596	(remove): New method.
597
598	* javax/naming/Context.java (lookup): New method.
599	(rebind): New method.
600	(unbind): New method.
601	(rename): New method.
602	(list): New method.
603	(listBindings): New method.
604	(destroySubcontext): New method.
605	(createSubcontext): New method.
606	(lookupLink): New method.
607	(getNameParser): New method.
608	(composeName): New method.
609	(addToEnvironment): New method.
610	(removeFromEnvironment): New method.
611	(getEnvironment): New method.
612	(close): New method.
613	(getNameInNamespace): New method.
614
615	* javax/naming/InitialContext.java (lookup): New method.
616	(rebind): New method.
617	(unbind): New method.
618	(rename): New method.
619	(list): New method.
620	(listBindings): New method.
621	(destroySubcontext): New method.
622	(createSubcontext): New method.
623	(lookupLink): New method.
624	(getNameParser): New method.
625	(composeName): New method.
626	(addToEnvironment): New method.
627	(removeFromEnvironment): New method.
628	(getEnvironment): New method.
629	(close): New method.
630	(getNameInNamespace): New method.
631
6322000-11-26  Tom Tromey  <tromey@cygnus.com>
633
634	* Makefile.in: Rebuilt.
635	* Makefile.am (core_java_source_files): Added
636	RuntimePermission.java.
637	* java/lang/RuntimePermission.java: Imported from Classpath.
638	* java/lang/Thread.java (getContextClassLoader): Now
639	synchronized.  Added security code.
640	(setContextClassLoader): Likewise.
641
642	* prims.cc (_Jv_NewObjectArray): Use const_cast to initialize
643	length field of array.
644	(_Jv_NewPrimArray): Likewise.
645	* gcj/array.h (__JArray): `length' field now const.  Added
646	constructor.
647
6482000-11-26  Anthony Green  <green@redhat.com>
649
650	* javax/naming/spi/NamingManager.java,
651	javax/naming/spi/ObjectFactory.java,
652	javax/naming/spi/InitialContextFactory.java,
653	javax/naming/spi/InitialContextFactoryBuilder.java,
654	javax/naming/RefAddr.java, javax/naming/Reference.java,
655	javax/naming/NamingException.java, javax/naming/Context.java,
656	javax/naming/Referenceable.java,
657	javax/naming/directory/InitialDirContext.java,
658	javax/naming/directory/DirContext.java,
659	javax/naming/directory/Attributes.java,
660	javax/naming/directory/Attribute.java,
661	javax/naming/StringRefAddr.java,
662	javax/naming/NamingEnumeration.java, javax/naming/Name.java,
663	javax/naming/InitialContext.java,
664	javax/naming/NoInitialContextException.java: New files.
665
6662000-11-25  Anthony Green  <green@redhat.com>
667
668	* prims.cc (_Jv_NewObjectArray): Undo placement change.
669	(_Jv_NewPrimArray): Likewise.
670	* gcj/array.h (__JArray): Undo const change.  Removed constructor.
671	(class JArray): Removed constructor.
672
673	* java/lang/Thread.java (context_class_loader): New private data.
674	(getContextClassLoader): New method.
675	(setContextClassLoader): New method.
676	(Thread): Initialize context_class_loader.
677
678	* java/net/URLClassLoader.java: Import java.util.Enumeration.
679	(getResource): Rename to findResource.
680	(findResource): New method.  Used to be getResource.
681	(getResourceAsStream): Deleted.
682	(jarFileize): Extracted logic from URLClassLoader constructor into
683	this new private method.
684	(addURL): New protected method.
685	(URLClassLoader): Call jarFileize.  Use addElement instead of
686	insertElementAt.
687	(findResources): New method.
688
689	* java/lang/ClassLoader.java: Import java.util.Enumeration.
690	(getResource): Implement correct logic.
691	(findResource): New method.
692	(getResources): New method.
693	(findClass): Create a ClassNotFoundException with the name of the
694	class rather than nothing at all.
695	(defineClass) Only throw ClassFormatError.
696
697	* java/lang/Class.java (forName): New method.
698	* java/lang/Class.h (forName): New method.
699	* java/lang/natClass.cc (forName): New method.
700
7012000-11-24  Bryce McKinlay  <bryce@albatross.co.nz>
702
703	* java/lang/System.java (setProperties): Only call init_properties()
704	if properties is null.
705	(getProperties): Ditto.
706	(getProperty): Ditto.
707	(setProperty): Call init_properties if properties are null.
708	(prop_init): Remove field.
709	* java/lang/natSystem.cc (init_properties): Synchronize the entire
710	method. Check for null properties after synchronizing instead of
711	prop_init flag. Set the properties field last for thread safety.
712
713	* java/io/ObjectInputStream.java (ObjectInputStream): If DEBUG is set,
714	test for gcj.dumpobjects property and enable object stream dumping
715	if it is set.
716	(dumpElement): No longer native.
717	(dumpElementln): Ditto.
718	(setDump): Do not define.
719	* java/io/natObjectInputStream.cc (dumpElement): Removed.
720	(dumpElementln): Removed.
721	(setDump): Removed.
722
7232000-11-24  Bryce McKinlay  <bryce@albatross.co.nz>
724
725	* configure: Rebuilt.
726	* Makefile.in: Rebuilt.
727	* Makefile.am (built_java_source_files): Add Configuration.java.
728	* configure.in: Add Configuration.java to CONFIG_FILES. Set
729	LIBGCJDEBUG substitution if --enable-libgcj-debug is specified.
730	Create `gnu' directory in the build tree.
731	* gnu/classpath/Configuration.java.in: New file.
732
7332000-11-24  Tom Tromey  <tromey@cygnus.com>
734
735	* prims.cc (_Jv_NewObjectArray): Use placement new to create
736	array.
737	(_Jv_NewPrimArray): Likewise.
738	Include <new>.
739	* gcj/array.h (__JArray): `length' field now const.  Added
740	constructor.
741	(class JArray): Added constructor.
742
7432000-11-23  Mark Wielaard  <mark@klomp.org>
744
745	* name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting
746	lookup.
747
7482000-11-23  Bryce McKinlay  <bryce@albatross.co.nz>
749
750	* java/util/Vector.java: Improve exception messages.
751	(Vector): Check initialCapacity for IllegalArgumentException.
752	(tromToSize): Don't check for elementCount == elementData.length
753	case.
754	(toArray): Don't try to set null marker if target array is the same
755	length as the vector.
756
7572000-11-22  Bryce McKinlay  <bryce@albatross.co.nz>
758
759	* Makefile.in: Rebuilt.
760	* Makefile.am (core_java_source_files): Added Collections.java.
761	* java/util/List.java: Merged from classpath.
762	* java/util/Vector.java: Ditto.
763	* java/util/Collections.java: From classpath.
764	* java/util/ArrayList.java (addAll(Collection)): Call
765	addAll(int,Collection) instead of duplicating code.
766	(indexOf): Clean up int initialization.
767	(clear): Set cleared array entries to null, to allow garbage
768	collection.
769	* java/util/List.java: Minor formatting fixes.
770	* java/util/SimpleTimeZone.java: ditto.
771
7722000-11-18  Tom Tromey  <tromey@cygnus.com>
773
774	* Makefile.in: Rebuilt.
775	* Makefile.am (core_java_source_files): Added new files.
776	* java/lang/reflect/ReflectPermission.java: New class.
777	* java/io/FileFilter.java: From Classpath
778	* java/io/FilePermission.java: From Classpath.
779
7802000-11-17  Tom Tromey  <tromey@cygnus.com>
781
782	* java/lang/reflect/AccessibleObject.java (isAccessible,
783	setAccessible): Now public.
784
785	* java/lang/natString.cc: Include Locale.h.
786	(toUpperCase): Added `locale' argument.  Handle locale
787	sensitivity.
788	(toLowerCase): Added `locale' argument.  Handle locale
789	sensitivity.
790	(ESSET, CAPITAL_S, SMALL_I, CAPITAL_I_WITH_DOT, SMALL_DOTLESS_I,
791	CAPITAL_I): New defines.
792	* java/lang/String.java (CASE_INSENSITIVE_ORDER): Now public and
793	final.
794	Import Locale.
795	(toUpperCase, toLowerCase): New methods.  Variants which accept
796	locale now native.
797
798	* java/lang/ExceptionInInitializerError.java (printStackTrace):
799	New methods.
800
801	* java/util/PropertyPermission.java: Re-merged from Classpath.
802
803	* java/text/RuleBasedCollator.java (getCollationElementIterator):
804	New method.
805	* java/text/StringCharacterIterator.java: Reindented.
806	(setText): New method.
807
8082000-11-17  Mark Wielaard  <mark@klomp.org>
809
810	Merge with Classpath (changes by Bryce McKinlay)
811	* java/util/jar/*.java: Reformat all to unofficial standard coding
812	style. No changes of substance.
813
8142000-11-17  Mark Wielaard  <mark@klomp.org>
815
816	* java/util/zip/*.java: Javadoc updates.
817
8182000-11-17  Tom Tromey  <tromey@cygnus.com>
819
820	* java/text/CollationKey.java: Implement Comparable.
821	(compareTo(Object)): New method.
822	* java/text/Collator.java (compare(Object,Object)): New method.
823	Implement Comparator.
824
825	* java/util/zip/InflaterInputStream.java (available): New method.
826	(close): New method.
827	(read, available, skip, fill): Throw exception if stream closed.
828	* java/util/zip/ZipInputStream.java (read, skip, readFully, fill,
829	getNextEntry): Throw exception if closed.
830
8312000-11-16  Tom Tromey  <tromey@cygnus.com>
832
833	* java/io/PushbackReader.java: Merged with Classpath.
834	* java/util/Arrays.java: Updated from Classpath.
835
836	* scripts/blocks.pl: New file.
837	* java/lang/Character.java (Subset): New class.
838	(UnicodeBlock): New class.
839
840	* java/lang/Math.java (toDegrees, toRadians): New methods.
841
842	* java/lang/Float.java: Implement Comparable.
843	(compareTo): New methods.
844	* java/lang/Double.java: Implement Comparable.
845	(compareTo): New methods.
846
8472000-11-16  Warren Levy  <warrenl@cygnus.com>
848
849	* java/beans/PropertyChangeSupport.java (propertyListeners): Made
850	transient.
851	(listeners): Made transient.
852	(source): Renamed from 'bean'.
853	(children): New field for serialization.
854	(propertyChangeSupportSerializedDataVersion): Ditto.
855	(serialVersionUID): Ditto.
856	(writeObject): New serialization method.
857	(readObject): New serialization method.
858	* java/beans/VetoableChangeSupport.java (propertyListeners): Made
859	transient.
860	(listeners): Made transient.
861	(source): Renamed from 'bean'.
862	(children): New field for serialization.
863	(vetoableChangeSupportSerializedDataVersion): Ditto.
864	(serialVersionUID): Ditto.
865	(writeObject): New serialization method.
866	(readObject): New serialization method.
867	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Fixed assert
868	to allow constructor to have a return type (i.e. the class that the
869	constructor constructs).
870
8712000-11-14  Tom Tromey  <tromey@cygnus.com>
872
873	* Makefile.in: Rebuilt.
874	* Makefile.am (libgcj.zip): Fail immediately if compilation fails
875	and -k not given.
876
8772000-11-02  Warren Levy  <warrenl@cygnus.com>
878
879	* java/io/ObjectInputStream.java (readObject): Added code to
880	conditionally dump out the serialized data.
881	Handle ENDBLOCKDATA case a bit more gracefully since the current
882	behavior doesn't seem to work as expected.
883	(readStreamHeader): Added code for serialized data dumper.
884	(readNextBlock): Ditto.
885	(readFields): Ditto.
886	(dump): New private static field for turning on/off dumper.
887	(setDump): New native method.
888	(dumpElement): New native method.
889	(dumpElementln): New native method.
890	* java/io/natObjectInputStream.cc (setDump): New method.
891	(dumpElement): New method.
892	(dumpElementln): New method.
893
8942000-11-02  Warren Levy  <warrenl@cygnus.com>
895
896	* java/net/InetAddress.java (addr): Renamed from 'address'.
897	(address): New field to match Serialized Form doc.
898	(hostName): Renamed from 'hostname' to match Serialized Form doc.
899	(family): New serialization field.
900	(serialVersionUID): New field.
901	(readObject): New method.
902	(writeObject): New method.
903	(getFamily): New native method.
904	(InetAddress): Set family.
905	* java/net/natInetAddress.cc (getFamily): New method.
906	(addr): Renamed from 'address'.
907	(hostName): Renamed from 'hostname' to match Serialized Form doc.
908	* java/net/natPlainDatagramSocketImpl.cc (addr): Renamed from 'address'.
909	* java/net/natPlainSocketImpl.cc (addr): Renamed from 'address'.
910
9112000-11-03  Bryce McKinlay  <bryce@albatross.co.nz>
912
913	* java/util/AbstractList.java (SubList): Make it a top-level private
914	class.
915	* java/util/LinkedList.java (remove): Do update modCount and knownMod.
916	(add): Ditto.
917	* Makefile.am (ordinary_java_source_files): Add LinkedList.java.
918	* Makefile.in: Rebuilt.
919
9202000-11-02  Tom Tromey  <tromey@cygnus.com>
921
922	* Makefile.in: Rebuilt.
923	* Makefile.am (install-exec-hook): Make `.la' link, not `.so'
924	link.
925
9262000-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
927
928	* java/util/AbstractList.java (remove): Comment out modCount increment
929	to work around compiler bug.
930	(add): Ditto.
931
9322000-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
933
934	* java/util/AbstractList.java: Throw messages with
935	IndexOutOfBoundsExceptions.
936	 (listIterator()): Call listIterator(0).
937	(size): New field. Initialize to size().
938	(hasNext): Test position against size, not size().
939	(remove): Increment knownMod by one instead of resetting it from
940	modCount.
941	(add): Ditto.
942	(SubList.upMod): Removed.
943	(SubList.set): Don't call upMod() or update knownMod.
944	(SubList.add(int,Object)): Increment modCount instead of caling upMod().
945	(SubList.remove): Ditto.
946	(SubList.addAll): Don't call backingList.size(). Increment size from
947	c.size().
948	(SubList.iterator): New method. Call listIterator(0).
949	(SubList.listIterator): New method. Restore code to return an anonymous
950	listIterator implementation (with some changes).
951	* java/util/AbstractSequentialList.java: Throw messages with
952	IndexOutOfBoundsExceptions.
953	(addAll): Add a specnote.
954	* java/util/ArrayList.java (removeRange): Get the math right.
955	(addAll): Increment modCount _before_ creating iterator.
956	* java/util/LinkedList.java: Rewritten, mostly.
957
9582000-11-01  Tom Tromey  <tromey@cygnus.com>
959
960	* scripts/encodings.pl: Added `ASCII' alias.
961	* Makefile.in: Rebuilt.
962	* Makefile.am (convert_source_files): Added new files.
963	* gnu/gcj/convert/Input_ASCII.java: New file.
964	* gnu/gcj/convert/Output_ASCII.java: New file.
965	* gnu/gcj/convert/Output_8859_1.java (write): Use `?' to represent
966	out-of-range characters.
967	* gnu/gcj/convert/natIconv.cc (iconv_init): New method.
968	(read): Swap bytes if required.  Treat `count' as character count,
969	not byte count.
970	(write): Likewise.  Also, handle case where iconv fails on a given
971	character.
972	(init): Put encoding into exception.
973	* gnu/gcj/convert/IOConverter.java (iconv_byte_swap): New global.
974	(static): Call iconv_init.  Rebuilt alias list.
975	(iconv_init): New private method.
976
9772000-11-01  Tom Tromey  <tromey@cygnus.com>
978
979	* Makefile.in: Rebuilt.
980	* Makefile.am (install-exec-hook): Only make a single symlink, and
981	remove the destination before making the link.
982	* configure: Rebuilt.
983	* configure.in: Call AC_PROG_LN_S.
984
9852000-10-31  Warren Levy  <warrenl@cygnus.com>
986
987	* jni.cc: Added include of java/lang/ThreadGroup.h.
988	* gcj/javaprims.h: Removed Replaceable and Resolvable from namespace
989	per change of 2000-10-05.
990
9912000-10-30  Bryce McKinlay  <bryce@albatross.co.nz>
992
993	* java/util/BitSet.java: Updated @specnote.
994
995	* java/io/Reader.java: Merge docs from classpath.
996	(skip): Synchronize on `lock'.
997	* java/io/FileReader.java: Import correct implementation from
998	classpath.
999	* java/io/StringReader.java: Merge docs from classpath.
1000	(ready): Throw IOException if stream is closed.
1001
10022000-10-29  Bryce McKinlay  <bryce@albatross.co.nz>
1003
1004	* java/util/AbstractCollection.java (addAll): Use size() instead of
1005	hasNext() in iterator loop.
1006	(clear): Ditto.
1007	(contains): Ditto. Simplify loop.
1008	(containsAll): Ditto.
1009	(remove): Ditto.
1010	(removeAll): Ditto.
1011	(retainAll): Ditto.
1012	(toArray): Ditto.
1013	(toString): Ditto. Use string concatenation operators, not
1014	StringBuffer.
1015	* java/util/AbstractList.java (addAll): Use size() instead of
1016	hasNext() in iterator loop.
1017	(equals): Ditto.
1018	(hashCode): Ditto.
1019	(indexOf): Ditto. Don't take null check outside of the loop.
1020	(iterator): Return an AbstractListItr instead of anonymous class.
1021	(lastIndexOf): Use a for loop bounded by size() instead of
1022	hasPrevious() in iterator loop.
1023	(listIterator): Return an AbstractListItr.
1024	(removeRange): Remove bounds checking code and docs.
1025	(AbstractListItr): New inner class. Code moved here from
1026	listIterator().
1027	(SubList.iterator): Removed. Use default implementation from
1028	AbstractList instead.
1029	(SubList.listIterator): As above.
1030	* java/util/AbstractMap.java (clear): Use a for loop bounded by size()
1031	instead of hasNext() in iterator loop.
1032	(containsValue): Ditto.
1033	(equals): Ditto.
1034	(get): Ditto.
1035	(put): Ditto.
1036	(putAll): Ditto.
1037	(remove): Ditto.
1038	(toString): Ditto. Use string concatenation operators, not
1039	StringBuffer.
1040	* java/util/AbstractSequentialList.java (addAll): Use a for loop
1041	bounded by size() instead of hasNext() in iterator loop.
1042	* java/util/AbstractSet.java (hashCode): Don't catch exception as
1043	part of normal execution flow. Do an explicit null check instead.
1044	* java/util/ArrayList.java (_iSize): Rename to `size'.
1045	(_arData): Rename to `data'.
1046	(get): Check lower bounds also. Simplify IndexOutOfBoundsException
1047	message.
1048	(remove): Ditto.
1049	(removeRange): Make protected. Don't check bounds.
1050	(add): Check lower bounds also. Simplify IndexOutOfBoundsException
1051	message.
1052	(addAll (Collection)): Use a size-bounded for loop instead of hasNext()
1053	check.
1054	(addAll (int, Collection)): Check lower bounds. Simplify exception
1055	string.
1056	(clone): Clone the data array too.
1057	(indexOf): Inline doesEqual().
1058	(lastIndexOf): Ditto.
1059	(clear): Don't set array data to null.
1060	(set): Check lower bounds. Simplify exception string.
1061	(toArray): Correct comment.
1062	(trimToSize): Don't update modCount, this is not a structural change.
1063	Add comment.
1064
1065	* java/util/BitSet.java: Merged with classpath, new JDK 1.2 methods
1066	implemented.
1067	(toString): Declare `bit' as long, not int.
1068	(data): Made package-private, not private.
1069
10702000-10-27  Warren Levy  <warrenl@cygnus.com>
1071
1072	* java/util/natGregorianCalendar.cc (computeFields): Set the isSet__
1073	array elements to true.
1074
10752000-10-27  Warren Levy  <warrenl@cygnus.com>
1076
1077	* Makefile.am: Added locale files from Classpath.
1078	* Makefile.in: Rebuilt.
1079	* gnu/java/locale/Calendar.java: New file.
1080	* gnu/java/locale/Calendar_de.java: New file.
1081	* gnu/java/locale/Calendar_en.java: New file.
1082	* gnu/java/locale/Calendar_nl.java: New file.
1083	* java/lang/ClassNotFoundException.java: Replaced with Classpath file.
1084	* java/math/BigDecimal.java (intVal): Renamed from 'num' for
1085	serialization compatibility.
1086	(scale): Made private.
1087	(serialVersionUID): New field.
1088	* java/math/BigInteger.java (ival): Made transient.
1089	(words): Made transient.
1090	(bitCount): New serialization field.
1091	(bitLength): Ditto.
1092	(firstNonzeroByteNum): Ditto.
1093	(lowestSetBit): Ditto.
1094	(magnitude): Ditto.
1095	(signum): Ditto.
1096	(serialVersionUID): New field.
1097	(readObject): New method.
1098	(writeObject): New method.
1099	* java/util/BitSet.java (serialVersionUID): New field.
1100	* java/util/Calendar.java: Replaced with Classpath file.
1101	* java/util/GregorianCalendar.java (GregorianCalendar): Pass result
1102	of getDefault() for TimeZone or Locale instead of passing nulls.
1103	* java/util/Locale.java (serialVersionUID): New field.
1104	(writeObject): New method.
1105	(readObject): New method.
1106	* java/util/SimpleTimeZone.java: Replaced with Classpath file.
1107
11082000-10-25  Bryce McKinlay  <bryce@albatross.co.nz>
1109
1110	* Makefile.am (GCJCOMPILE): Pass --tag=GCJ to libtool.
1111	(core_java_source_files): Put java.lang, java.io, and java.util here.
1112	(ordinary_java_source_files): Order so that core_java_source_files are
1113	built first.
1114	(java_source_files): Reorder so that special_java_source_files are
1115	built first.
1116	* configure.in: Don't pass -I flag to gcj.
1117	* Makefile.in: Rebuilt.
1118	* configure: Rebuilt.
1119
11202000-10-25  Tom Tromey  <tromey@cygnus.com>
1121
1122	* Makefile.in: Rebuilt.
1123	* Makefile.am (install-exec-hook): New target.
1124
11252000-10-24  Bryce McKinlay  <bryce@albatross.co.nz>
1126
1127	* java/util/EventObject.java: Merged from classpath.
1128
1129	* java/lang/ThreadGroup.java (uncaughtException): Print thread name
1130	with stack dump.
1131
11322000-10-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1133
1134	* java/util/AbstractSet.java (equals): Re-installed original code.
1135
11362000-10-22  Rolf W. Rasmussen  <rolfwr@ii.uib.no>
1137
1138	* Makefile.am: Added rules for libgcjx library.
1139	* Makefile.in: Rebuilt.
1140	* configure.in: Added check for X.
1141	* configure: Rebuilt.
1142	* gnu/awt/LightweightRedirector.java: New file.
1143	* gnu/awt/j2d/AbstractGraphicsState.java: New file.
1144	* gnu/awt/j2d/DirectRasterGraphics.java: New file.
1145	* gnu/awt/j2d/Graphics2DImpl.java: New file.
1146	* gnu/awt/j2d/IntegerGraphicsState.java: New file.
1147	* gnu/awt/j2d/MappedRaster.java: New file.
1148	* gnu/awt/xlib/XCanvasPeer.java: New file.
1149	* gnu/awt/xlib/XEventLoop.java: New file.
1150	* gnu/awt/xlib/XEventQueue.java: New file.
1151	* gnu/awt/xlib/XFontMetrics.java: New file.
1152	* gnu/awt/xlib/XFramePeer.java: New file.
1153	* gnu/awt/xlib/XGraphics.java: New file.
1154	* gnu/awt/xlib/XGraphicsConfiguration.java: New file.
1155	* gnu/awt/xlib/XPanelPeer.java: New file.
1156	* gnu/awt/xlib/XToolkit.java: New file.
1157	* gnu/gcj/xlib/Clip.java: New file.
1158	* gnu/gcj/xlib/Colormap.java: New file.
1159	* gnu/gcj/xlib/Display.java: New file.
1160	* gnu/gcj/xlib/Drawable.java: New file.
1161	* gnu/gcj/xlib/Font.java: New file.
1162	* gnu/gcj/xlib/GC.java: New file.
1163	* gnu/gcj/xlib/Pixmap.java: New file.
1164	* gnu/gcj/xlib/Screen.java: New file.
1165	* gnu/gcj/xlib/Visual.java: New file.
1166	* gnu/gcj/xlib/WMSizeHints.java: New file.
1167	* gnu/gcj/xlib/Window.java: New file.
1168	* gnu/gcj/xlib/WindowAttributes.java: New file.
1169	* gnu/gcj/xlib/XAnyEvent.java: New file.
1170	* gnu/gcj/xlib/XButtonEvent.java: New file.
1171	* gnu/gcj/xlib/XColor.java: New file.
1172	* gnu/gcj/xlib/XConfigureEvent.java: New file.
1173	* gnu/gcj/xlib/XConnectException.java: New file.
1174	* gnu/gcj/xlib/XEvent.java: New file.
1175	* gnu/gcj/xlib/XException.java: New file.
1176	* gnu/gcj/xlib/XExposeEvent.java: New file.
1177	* gnu/gcj/xlib/XID.java: New file.
1178	* gnu/gcj/xlib/XImage.java: New file.
1179	* gnu/gcj/xlib/XUnmapEvent.java: New file.
1180	* gnu/gcj/xlib/natClip.cc: New file.
1181	* gnu/gcj/xlib/natColormap.cc: New file.
1182	* gnu/gcj/xlib/natDisplay.cc: New file.
1183	* gnu/gcj/xlib/natDrawable.cc: New file.
1184	* gnu/gcj/xlib/natFont.cc: New file.
1185	* gnu/gcj/xlib/natGC.cc: New file.
1186	* gnu/gcj/xlib/natPixmap.cc: New file.
1187	* gnu/gcj/xlib/natScreen.cc: New file.
1188	* gnu/gcj/xlib/natVisual.cc: New file.
1189	* gnu/gcj/xlib/natWMSizeHints.cc: New file.
1190	* gnu/gcj/xlib/natWindow.cc: New file.
1191	* gnu/gcj/xlib/natWindowAttributes.cc: New file.
1192	* gnu/gcj/xlib/natXAnyEvent.cc: New file.
1193	* gnu/gcj/xlib/natXButtonEvent.cc: New file.
1194	* gnu/gcj/xlib/natXColor.cc: New file.
1195	* gnu/gcj/xlib/natXConfigureEvent.cc: New file.
1196	* gnu/gcj/xlib/natXException.cc: New file.
1197	* gnu/gcj/xlib/natXExposeEvent.cc: New file.
1198	* gnu/gcj/xlib/natXImage.cc: New file.
1199	* gnu/gcj/xlib/natXUnmapEvent.cc: New file.
1200	* java/awt/EventDispatchThread.java: Start thead on creation.
1201
12022000-10-20  Tom Tromey  <tromey@cygnus.com>
1203
1204	From Arno J. Klaassen:
1205	* interpret.cc: Include <stdlib.h> for alloca.
1206	* defineclass.cc: Include <stdlib.h> for alloca.
1207
1208	* Makefile.in: Rebuilt.
1209	* Makefile.am: Include deps.mk.
1210	(GCJCOMPILE): Added -MD, -MT, and -MF.
1211	($(javao_files)): Don't depend on libgcj.zip.
1212	(all-recursive): New target.
1213	(%.lo:%.cc): Do dependency tracking.
1214	($(nat_headers)): Don't depend on libgcj.zip.
1215	* configure: Rebuilt.
1216	* configure.in: Make .d files and deps.mk.
1217
12182000-10-13  Bryce McKinlay  <bryce@albatross.co.nz>
1219
1220	* exception.cc: Don't #include "exception".
1221	(_Jv_eh_alloc): Call abort (), not terminate (), if malloc fails.
1222
1223	* Makefile.am (libgcj_la_LDFLAGS): Link in libsupc++.
1224	* Makefile.in: Updated.
1225
12262000-10-11  Bryce McKinlay  <bryce@albatross.co.nz>
1227
1228	* java/awt/peer/ChoicePeer.java (addItem): Removed.
1229	* java/awt/peer/ComponentPeer.java (disable): Removed.
1230	(enable): Removed.
1231	(hide): Removed.
1232	(minimumSize): Removed.
1233	(preferredSize): Removed.
1234	(reshape): Removed.
1235	(show): Removed.
1236	* java/awt/peer/ListPeer.java (addItem): Removed.
1237	(clear): Removed.
1238	(minimumSize): Removed.
1239	(preferredSize): Removed.
1240	(setMultipleSelections): Removed.
1241	* java/awt/peer/MenuBarPeer.java (add): Renamed from addMenu.
1242	(remove): Renamed from removeMenu.
1243	* java/awt/peer/MenuItemPeer.java (disable): Removed.
1244	(enable): Removed.
1245	* java/awt/peer/MenuPeer.java (add): Renamed from addItem.
1246	(remove): Renamed from removeItem.
1247	* java/awt/peer/TextAreaPeer.java (insertText): Removed.
1248	(getMinimumSize): Removed.
1249	(getPreferredSize): Removed.
1250	(minimumSize): Removed.
1251	(preferredSize): Removed.
1252	(replaceText): Removed.
1253	* java/awt/peer/TextFieldPeer.java (minimumSize): Removed.
1254	(preferredSize): Removed.
1255	(getMinimumSize): Removed.
1256	(getPreferredSize): Removed.
1257	(setEchoCharacter): Removed.
1258
12592000-10-10  Warren Levy  <warrenl@cygnus.com>
1260
1261	* gnu/gcj/text/LocaleData_en.java (monetarySeparator): Added.
1262	* java/sql/Date.java (serialVersionUID): New field.
1263	* java/sql/Time.java (serialVersionUID): New field.
1264	* java/sql/Timestamp.java (serialVersionUID): New field.
1265	* java/text/ChoiceFormat.java (serialVersionUID): New field.
1266	* java/text/DateFormat.java (getDateTimeInstance (int)): Removed.
1267	* java/text/DateFormatSymbols.java (serialVersionUID): New field.
1268	* java/text/DecimalFormat.java (serialVersionOnStream): New field.
1269	(readObject): New serialization method.
1270	* java/text/DecimalFormatSymbols.java (monetarySeparator): New field.
1271	(serialVersionOnStream): New field.
1272	(readObject): New serialization method.
1273	(getMonetaryDecimalSeparator): New method.
1274	(setMonetaryDecimalSeparator): New method.
1275	* java/text/NumberFormat.java (maxFractionDigits): New field.
1276	(maxIntegerDigits): New field.
1277	(minFractionDigits): New field.
1278	(minIntegerDigits): New field.
1279	(serialVersionOnStream): New field.
1280	(serialVersionUID): New field.
1281	(readObject): New serialization method.
1282	(writeObject): New serialization method.
1283	* java/text/SimpleDateFormat.java (defaultCenturyStart): Initialized.
1284	(serialVersionOnStream): New field.
1285	(serialVersionUID): New field.
1286	(readObject): New serialization method.
1287
12882000-10-09  Alexandre Oliva  <aoliva@redhat.com>
1289
1290	* configure.in (GCJ): Avoid bogus error message when looking for
1291	(and not finding) gcj in the build tree.
1292	* configure: Rebuilt.
1293
12942000-10-09  Tom Tromey  <tromey@cygnus.com>
1295
1296	* configure: Rebuilt.
1297	* configure.in: Include sys/types.h when checking for socklen_t.
1298	From Arno J. Klaassen.
1299
13002000-10-09  Bryce McKinlay  <bryce@albatross.co.nz>
1301
1302	* include/jvm.h: Enable __builtin_expect().
1303
1304	* name-finder.cc (lookup): Don't trust dladdr() if the address is from
1305	the main program. Fix for PR libgcj/341.
1306
13072000-10-07  Tom Tromey  <tromey@cygnus.com>
1308
1309	* java/util/Properties.java: Merged with Classpath version.
1310
13112000-10-05  Tom Tromey  <tromey@cygnus.com>
1312
1313	* java/lang/reflect/natField.cc (BooleanClass): Don't define.
1314	* java/lang/reflect/natArray.cc (BooleanClass): Don't define.
1315	* java/lang/Class.h (Object): Added `class$' field.
1316	* java/lang/Object.h (Object): Added `class$' field.
1317	* defineclass.cc (ClassClass): Use `class$' form.
1318	(ClassObject): Likewise.
1319	* resolve.cc (ClassObject): Use `class$' form.
1320	(ObjectClass): Likewise.
1321	* interpret.cc (ClassError): Removed.
1322	* java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Use
1323	`class$' form.
1324	(IntegerClass): Likewise.
1325	* java/net/natPlainSocketImpl.cc (BooleanClass): Use `class$'
1326	form.
1327	* java/lang/natClassLoader.cc (CloneableClass): Use `class$' form.
1328	(ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
1329	SerializableClass): Likewise.
1330	Include Serializable.h, Cloneable.h.
1331	* java/lang/natSystem.cc (SystemClass): Removed.
1332	(init_properties): Use `class$' form.
1333	* java/lang/natObject.cc (CloneableClass): Removed.
1334	(clone): Use `class$' form.
1335	* java/lang/natClass.cc (CloneableClass): Use `class$' form.
1336	(ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
1337	ConstructorClass): Likewise.
1338	* java/lang/reflect/natMethod.cc (ObjectClass): Use `class$' form.
1339	(ClassClass, VoidClass, ByteClass, ShortClass, CharacterClass,
1340	IntegerClass, LongClass, FloatClass, DoubleClass): Likewise.
1341	* java/io/natObjectInputStream.cc (ObjectClass): Use `class$'
1342	form.
1343	(ClassClass): Likewise.
1344	* include/jvm.h (StringClass): Use `class$' form.
1345	* prims.cc (ObjectClass): Removed.
1346	(_Jv_RunMain): Use `class$' form.
1347	(_Jv_AllocObject): Likewise.
1348	* jni.cc (ClassClass): Use `class$' form.
1349	(ThrowableClass): Likewise.
1350	(ObjectClass): Likewise.
1351	(MethodClass): Likewise.
1352	(ThreadGroupClass): Likewise.
1353	(NativeThreadClass): Likewise.
1354	* boehm.cc (ObjectClass): Removed.
1355	(ClassClass): Removed.
1356	(_Jv_MarkObj): Use `class$' form.
1357	* gcj/field.h (JvFieldIsRef): Use `class$' form.
1358	Include RawData.h.
1359
13602000-10-05  Warren Levy  <warrenl@cygnus.com>
1361
1362	* Makefile.am: Removed java/io/Replaceable.java and
1363	java/io/Resolvable.java.
1364	* Makefile.in: Rebuilt.
1365	* gcj/javaprims.h: Removed Replaceable and Resolvable from java.io
1366	namespace.
1367	* java/io/ObjectInputStream.java (processResolution): Fixed typo
1368	in method name.
1369	(processResolution): Handle readResolve method via reflection with
1370	removal of Resolvable interface.
1371	* java/io/ObjectOutputStream.java (writeObject): Handle writeReplace
1372	method via reflection with removal of Replaceable interface.
1373	* java/io/Replaceable.java: Removed.
1374	* java/io/Resolvable.java: Removed.
1375	* java/security/Key.java (serialVersionUID): New field.
1376	* java/security/Provider.java (serialVersionUID): New field.
1377	* java/security/interfaces/DSAPrivateKey.java (serialVersionUID):
1378	New field.
1379	* java/security/interfaces/DSAPublicKey.java (serialVersionUID):
1380	New field.
1381	* java/sql/DataTruncation.java (serialVersionUID): New field.
1382	* java/sql/SQLException.java (serialVersionUID): New field.
1383	* java/sql/SQLWarning.java (serialVersionUID): New field.
1384	* java/util/Date.java (serialVersionUID): New field.
1385	(millis): Made transient.
1386	(readObject): New method.
1387	(writeObject): New method.
1388
13892000-10-05  Tom Tromey  <tromey@cygnus.com>
1390
1391	* gnu/gcj/convert/natIconv.cc (init): Terminate buffer.
1392
13932000-10-02  Bryce McKinlay  <bryce@albatross.co.nz>
1394
1395	* prims.cc (_Jv_argv, _Jv_argc): New fields.
1396	(JvRunMain): Set _Jv_argv and _Jv_argc.
1397	* java/awt/Component.java: Minor fixes.
1398	* java/awt/Image.java (UndefinedProperty): Initialize final field.
1399	* java/awt/Toolkit.java (systemEventQueue): Removed.
1400	(getDefaultToolkit): Default to "gnu.awt.gtk.GtkToolkit".
1401	* java/awt/Window.java (getToolkit): Don't call super.
1402	* java/awt/image/BufferedImage.java: Fix definite assignment errors.
1403	* java/awt/peer/ContainerPeer.java (insets): Remove unused method.
1404	* gnu/awt/gtk/GtkComponentPeer.java: New file.
1405	* gnu/awt/gtk/GtkContainerPeer.java: New file.
1406	* gnu/awt/gtk/GtkFramePeer.java: New file.
1407	* gnu/awt/gtk/GtkMainThread.java: New file.
1408	* gnu/awt/gtk/GtkToolkit.java: New file.
1409	* gnu/awt/gtk/GtkWindowPeer.java: New file.
1410	* gnu/awt/gtk/gtkcommon.cc: New file.
1411	* gnu/awt/gtk/gtkcommon.h: New file.
1412	* gnu/awt/gtk/natGtkComponentPeer.cc: New file.
1413	* gnu/awt/gtk/natGtkContainerPeer.cc: New file.
1414	* gnu/awt/gtk/natGtkFramePeer.cc: New file.
1415	* gnu/awt/gtk/natGtkMainThread.cc: New file.
1416	* gnu/awt/gtk/natGtkToolkit.cc: New file.
1417	* gnu/awt/gtk/natGtkWindowPeer.cc: New file.
1418
14192000-09-30  Tom Tromey  <tromey@cygnus.com>
1420
1421	* posix-threads.cc (_Jv_CondWait): Check to see if we are
1422	interrupted before modifying the cv's wait set.
1423	From Corey Minyard.
1424
14252000-09-30  Hans Boehm  <boehm@acm.org>
1426	    Bryce McKinlay  <bryce@albatross.co.nz>
1427
1428	Implement bitmap descriptor based marking for Boehm GC.
1429
1430	* configure.in: Define JC1GCSPEC. Set it if boehm-gc is used.
1431	* configure: Rebuilt.
1432	* libgcj.spec.in: Pass JC1GCSPEC to jc1.
1433	* include/jvm.h (struct _Jv_VTable): New field `gc_descr'. New inline
1434	method get_finalizer().
1435	(struct _Jv_ArrayVTable): Ditto. Declare method array with
1436	NUM_OBJECT_METHODS elements instead of NUM_OBJECT_METHODS + 1.
1437	(_Jv_AllocObj): Add new jclass parameter.
1438	(_Jv_AllocArray): Ditto.
1439	(_Jv_BuildGCDescr): New prototype.
1440	* prims.cc (_Jv_AllocObject): Rename parameter `c' to `klass'. Pass
1441	`klass' to _Jv_AllocObj. Don't set the new object's vtable. Use
1442	get_finalizer() instead of direct finalizer vtable offset.
1443	(_Jv_NewObjectArray): Rename parameter `clas' to `klass'. Pass
1444	`klass' to _Jv_AllocArray. Don't set the new array's vtable.
1445	(_Jv_NewPrimArray): Call _Jv_FindArrayClass before _Jv_AllocObj. Pass
1446	`klass' to _Jv_AllocObj. Don't set the new array's vtable.
1447	* resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): New #defines.
1448	(_Jv_ResolvePoolEntry): Use METHOD_NOT_THERE and METHOD_INACCESSIBLE.
1449	(_Jv_DetermineVTableIndex): Ditto.
1450	(_Jv_PrepareClass): Ditto. Remove offset-by-one adjustments from vtable
1451	calculations to account for new gc_descr field.
1452	* boehm.cc: #include gc_gcj.h.
1453	(obj_kind_x, obj_free_list): `#if 0'-ed away.
1454	(_Jv_MarkObj): Check that vtable doesn't point to a cleared object.
1455	New commentary from HB. Mark the classes vtable.
1456	(_Jv_MarkArray): Check that vtable doesn't point to a cleared object.
1457	(GC_DEFAULT_DESCR): New #define.
1458	(_Jv_BuildGCDescr): New function. Use GC_DEFAULT_DESCR, for now.
1459	(_Jv_AllocObj): New parameter `klass'. Use GC_GCJ_MALLOC ().
1460	(_Jv_AllocArray): New parameter `klass'. Allocate with GC_MALLOC and
1461	scan conservativly if size is less than min_heap_addr. Set vtable
1462	pointer of new object before returning.
1463	(_Jv_AllocBytes): Use GC_MALLOC_ATOMIC, not GC_GENERIC_MALLOC.
1464	(_Jv_InitGC): Call GC_init_gcj_malloc(). Don't set up marking and
1465	allocation for obj_kind_x.
1466	* nogc.cc (_Jv_BuildGCDescr): New function. Return 0.
1467	(_Jv_AllocObj): Set vtable on returned object.
1468	(_Jv_AllocArray): Ditto.
1469	* java/lang/Class.h (_Jv_NewObjectArray): No longer a friend.
1470	(_Jv_NewPrimArray): Ditto.
1471	(_Jv_AllocObj): Declare as a friend.
1472	(_Jv_AllocArray): Ditto.
1473	* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Copy gc_descr
1474	from &ObjectClass into new array class. Remove offset-by-one
1475	adjustments from `method' size calculations to account for gc_descr
1476	field.
1477
14782000-09-26  Tom Tromey  <tromey@cygnus.com>
1479
1480	* java/awt/Scrollbar.java (removeAdjustmentListener): Use
1481	`remove', not `add'.
1482
14832000-09-26  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1484
1485	* java/lang/natSystem.cc (file_encoding): Added return statement.
1486
14872000-09-14  Alexandre Oliva  <aoliva@redhat.com>
1488
1489	* Makefile.am: Re-work shell commands that exceeded command-line
1490	length limits.
1491	* Makefile.in: Rebuilt.
1492
1493	* java/lang/natRuntime.cc (lt_preloaded_symbols): Define as `extern'.
1494
1495	* defineclass.cc: Include alloca.h only if HAVE_ALLOCA_H.
1496	* java/lang/natDouble.cc: Likewise.
1497	* java/lang/reflect/natMethod.cc: Likewise.
1498	* interpret.cc: Likewise.  Fix NULLCHECKs that tested a _Jv_word.
1499
15002000-09-13  Alexandre Oliva  <aoliva@redhat.com>
1501
1502	* configure.in (LIBDATASTARTSPEC): Use `%s' to search for
1503	libgcjdata.a.
1504	(GCJ): Support single-tree builds.  Add -B`pwd`/ and -I$srcdir.
1505	* acinclude.m4: Arrange for automake to not bring in a new
1506	libtool.m4 for LT_AC_PROG_GCJ.  AC_SUBST GCJ.
1507	* Makefile.am: Leave it up to automake to subst GCJ.
1508	* aclocal.m4, configure, Makefile.in: Rebuilt.
1509
15102000-09-13  Tom Tromey  <tromey@cygnus.com>
1511
1512	* java/lang/reflect/natArray.cc (BooleanClass): New define.
1513	(get): Ensure Boolean class is initialized.
1514	* java/lang/reflect/natField.cc (BooleanClass): New define.
1515	(get): Ensure Boolean class is initialized.
1516
15172000-09-13  Bryce McKinlay  <bryce@albatross.co.nz>
1518
1519	* java/lang/String.java (CASE_INSENSITIVE_ORDER): New static field.
1520	Initialize with anonymous class.
1521	(compareToIgnoreCase): New method.
1522
1523	* java/lang/ThreadGroup.java (had_uncaught_exception): New field.
1524	(uncaughtException): Set had_uncaught_exception.
1525	* prims.cc (JvRunMain): Check value of had_uncaught_exception and
1526	exit with error status if set.
1527	(_Jv_RunMain): Ditto.
1528
15292000-09-12  Alexandre Oliva  <aoliva@redhat.com>
1530
1531	* configure: Rebuilt with new ../libtool.m4.
1532
15332000-09-11  Tom Tromey  <tromey@cygnus.com>
1534
1535	* java/lang/reflect/Field.java (toString): Don't rely on
1536	Class.toString.
1537
15382000-09-08  Tom Tromey  <tromey@cygnus.com>
1539
1540	* gnu/gcj/convert/BytesToUnicode.java (getDefaultDecoder): Let
1541	default decoder use iconv.
1542	* gnu/gcj/convert/UnicodeToBytes.java (getDefaultEncoder):
1543	Let default encoder use iconv.
1544	* configure: Rebuilt.
1545	* configure.in: Check for nl_langinfo and <langinfo.h>.
1546	* java/lang/natSystem.cc (file_encoding): New function.
1547	(DEFAULT_FILE_ENCODING): Define to file_encoding() if possible.
1548
15492000-09-10  Alexandre Oliva  <aoliva@redhat.com>
1550
1551	* acinclude.m4: Simplify the tests for CC and CXX.
1552	* aclocal.m4, configure: Rebuilt.
1553
1554	* acinclude.m4: Include libtool macros from the source tree.
1555	* aclocal.m4, configure: Rebuilt.
1556
15572000-09-08  Warren Levy  <warrenl@cygnus.com>
1558
1559	* java/beans/PropertyChangeEvent.java (serialVersionUID): Added.
1560	* java/beans/PropertyVetoException.java (serialVersionUID): Added.
1561	* java/io/File.java (writeObject): Added.
1562	(readObject): Added.
1563	(serialVersionUID): Added.
1564	* java/io/ObjectOutputStream.java (writeObject): Initialized
1565	fieldsAlreadyWritten before recursion rather than after.
1566	* java/io/ObjectStreamClass.java (serialVersionUID): Added.
1567	* java/io/OptionalDataException.java (serialVersionUID): Added.
1568	(OptionalDataException): Made package private.
1569	* java/io/SyncFailedException.java (SyncFailedException): Removed
1570	default constructor to match spec.
1571	* java/lang/Boolean.java (serialVersionUID): Added.
1572	* java/lang/Byte.java (serialVersionUID): Added.
1573	* java/lang/Character.java (serialVersionUID): Added.
1574	* java/lang/Double.java (serialVersionUID): Added.
1575	* java/lang/Float.java (serialVersionUID): Added.
1576	* java/lang/Integer.java (serialVersionUID): Added.
1577	* java/lang/Long.java (serialVersionUID): Added.
1578	* java/lang/Number.java (serialVersionUID): Added.
1579	* java/lang/Short.java (serialVersionUID): Added.
1580	* java/lang/String.java (serialVersionUID): Added.
1581	* java/lang/ThreadDeath.java (ThreadDeath): Removed constructor
1582	to match spec.
1583	* java/lang/reflect/InvocationTargetException.java
1584	(serialVersionUID): Added.
1585	* java/net/URL.java (handler): Made transient.
1586	(hashCode): Added field for serialization, per spec. and use
1587	cached value if available.
1588	(serialVersionUID): Added.
1589	(URL): Initialize hashCode.
1590	(set): Adjust hashCode.
1591	(readObject): New Method to initialize the protocol handler when
1592	deserializing.
1593	(writeObject): New method.
1594	* java/text/BreakIterator.java: Removed 'implements Serializable'.
1595	* java/text/Collator.java: Removed 'implements Serializable'.
1596	* java/util/GregorianCalendar.java (serialVersionUID): Added.
1597	* java/util/Properties.java (serialVersionUID): Added.
1598	* java/util/Random.java (serialVersionUID): Added.
1599	(seed): Made private.
1600	(nextNextGaussian): Made private.
1601	(haveNextNextGaussian): Made private.
1602	* java/util/Stack.java (serialVersionUID): Added.
1603	* java/util/TimeZone.java (serialVersionUID): Added.
1604	* java/util/Vector.java (serialVersionUID): Added.
1605
16062000-09-07  Bryce McKinlay  <bryce@albatross.co.nz>
1607
1608	* Makefile.am (Thread.h): Don't be friends with native threads
1609	functions.
1610	* Makefile.in: Rebuilt.
1611	* java/lang/Thread.java (interrupt_flag): Make package-private.
1612
16132000-09-06  Jeff Sturm  <jeff.sturm@appnet.com>
1614
1615	* include/jvm.h (_Jv_HashCode): Cast object ptr to `unsigned long'
1616	to avoid long long division.
1617
16182000-09-06  Tom Tromey  <tromey@cygnus.com>
1619
1620	* java/lang/reflect/Constructor.java (toString): Use `getName' for
1621	parameter types.
1622	* java/lang/reflect/Method.java (toString): Use `getName' for
1623	return type.
1624
1625	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Accept null
1626	`args' if method takes no parameters.
1627
1628	Fix for PR java.lang/339:
1629	* java/lang/natPosixProcess.cc (fail): New function.
1630	(cleanup): New function.
1631	(startProcess): Use them.  Create pipe so child can communicate
1632	exec failure back to parent.
1633
16342000-09-05  Bryce McKinlay  <bryce@albatross.co.nz>
1635
1636	* java/net/natPlainDatagramSocketImpl.cc: Change various `JvThrow'
1637	calls to `throw'.
1638	(send): Undo last patch. Remove the label only.
1639	(mcastGrp): Ditto.
1640	* java/net/natPlainSocketImpl.cc: Change various `JvThrow' calls to
1641	`throw'.
1642	* java/net/natInetAdress.cc: Ditto.
1643
1644	* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Fix typo.
1645
16462000-09-05  Tom Tromey  <tromey@cygnus.com>
1647
1648	* doc/cni.sgml: Updated from master copy.
1649
16502000-09-05  Bryce McKinlay  <bryce@albatross.co.nz>
1651
1652	* gnu/gcj/convert/natIconv.cc (read): Remove unused local.
1653	(write): Ditto.
1654	* gnu/gcj/runtime/FileDeleter.java (deleteOnExitNow): Check for null
1655	stack. Synchronize.
1656	* java/lang/fdlibm.h: #undef __P if previously defined.
1657	* java/lang/natSystem.cc (currentTimeMillis): Remove unused local.
1658	* java/net/natPlainDatagramSocketImpl.cc (send): Remove unreachable
1659	block.
1660	(mcastGrp): Ditto.
1661
16622000-09-04  Tom Tromey  <tromey@cygnus.com>
1663
1664	* java/util/zip/ZipFile.java (ZipFile): Delete file when opened in
1665	DELETE mode.
1666
16672000-09-04  Anthony Green  <green@redhat.com>
1668
1669	Fix for PR java.io/203:
1670	* java/io/File.java (createTempFile): Obey directory argument.
1671	Use java.io.tmpdir if needed.  Don't leave FileDescripators open.
1672	* java/lang/natSystem.cc (init_properties): Use TMPDIR environment
1673	variable to set java.io.tmpdir on non-WIN32 systems.
1674
16752000-09-04  Anthony Green  <green@redhat.com>
1676
1677	* java/io/File.java (deleteOnExit): New method.
1678	* gnu/gcj/runtime/FileDeleter.java: New class.
1679	* java/lang/natRuntime.cc (exit): Call
1680	FileDeleter.deleteOnExitNow()
1681	* Makefile.am: Add FileDeleter.java.
1682	* Makefile.in: Rebuilt.
1683
16842000-09-02  Tom Tromey  <tromey@cygnus.com>
1685
1686	* Makefile.in: Rebuilt.
1687	* Makefile.am (GCJCOMPILE): Use -fclasspath, not the CLASSPATH
1688	environment variable.
1689
16902000-09-01  Andrew Haley  <aph@redhat.com>
1691
1692	* java/io/StreamTokenizer.java: Don't throw a
1693	NumberFormatException if a field is numeric as far as the
1694	StreamTokenizer is concerned but not as far as Double.valueOf() is
1695	concerned: return a zero instead.
1696
16972000-08-30  Tom Tromey  <tromey@cygnus.com>
1698
1699	* Makefile.in: Rebuilt.
1700	* Makefile.am (AM_CXXFLAGS): Added -fdollars-in-identifiers.
1701
17022000-08-28  Tom Tromey  <tromey@cygnus.com>
1703
1704	* gnu/gcj/awt/BitMaskExtent.java, gnu/gcj/awt/Buffers.java,
1705	gnu/gcj/awt/ComponentDataBlitOp.java,
1706	gnu/gcj/awt/GLightweightPeer.java, java/awt/Graphics2D.java,
1707	java/awt/RenderingHints.java, java/awt/color/ColorSpace.java,
1708	java/awt/color/ICC_ColorSpace.java,
1709	java/awt/color/ICC_Profile.java,
1710	java/awt/image/BufferedImage.java, java/awt/image/ColorModel.java,
1711	java/awt/image/ComponentColorModel.java,
1712	java/awt/image/ComponentSampleModel.java,
1713	java/awt/image/DataBuffer.java,
1714	java/awt/image/DataBufferByte.java,
1715	java/awt/image/DataBufferInt.java,
1716	java/awt/image/DataBufferUShort.java,
1717	java/awt/image/DirectColorModel.java,
1718	java/awt/image/IndexColorModel.java,
1719	java/awt/image/PackedColorModel.java, java/awt/image/Raster.java,
1720	java/awt/image/RasterOp.java, java/awt/image/SampleModel.java,
1721	java/awt/image/SinglePixelPackedSampleModel.java,
1722	java/awt/image/WritableRaster.java, java/util/zip/ZipFile.java:
1723	Removed Latin-1 copyright symbols.
1724	* java/util/zip/ZipFile.java: Indentation fixes.
1725
17262000-08-27  Mark Wielaard  <mark@klomp.org>
1727
1728	* java/util/zip/ZipFile.java: Implement OPEN_DELETE mode, new
1729	constructor, close can delete the file, finalize calls close.
1730	* java/util/jar/JarFile.java: Constructor that takes mode now
1731	calls super.
1732
17332000-08-27  Anthony Green  <green@redhat.com>
1734
1735	* java/util/ArrayList.java, java/util/Timer.java,
1736	java/util/LinkedList.java, java/util/TimerTask.java,
1737	java/util/HashMap.java, java/util/AbstractMap.java,
1738	java/util/SortedMap.java, java/util/AbstractSequentialList.java,
1739	java/util/SortedSet.java: Imported from GNU Classpath.
1740	* Makefile.in: Rebuilt.
1741	* Makefile.am: Added new files.
1742
17432000-08-26  Anthony Green  <green@redhat.com>
1744
1745	* Makefile.in: Rebuilt.
1746	* Makefile.am (java/lang/ClassLoader.h): Make _Jv_RunMain a
1747	friend.
1748
1749	* prims.cc: Include ClassLoader.h.
1750	(_Jv_RunMain): When executing jar files, classpath must be the jar
1751	file only.  Lose our reference to the system ClassLoader in order
1752	to get a new one with the correct classpath.
1753	* java/lang/natSystem.cc (init_properties): When executing a jar
1754	file, only use the jar file for java.class.path.
1755
1756	* gnu/gcj/runtime/VMClassLoader.java: Use the canonical file name
1757	for bytecode archives.
1758
1759	* gnu/gcj/runtime/FirstThread.java: Handle case where manifest
1760	exists, but not Main-Class.
1761
17622000-08-23  Mark Wielaard  <mark@klomp.org>
1763
1764	* java/util/zip/InflaterInputStream.java (read(byte[],int,int)):
1765	return -1 when fill() has no more data for the Inflater.
1766
17672000-08-23  Mark Wielaard  <mark@klomp.org>
1768
1769	* java/io/PrintWriter.java (print(String)): Don't catch IOException,
1770	write(String) already does.
1771
17722000-08-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1773
1774	* gnu/gcj/jni/NativeThread.java (NativeThread): Removed assignment
1775	to `alive_flag', call `init'.
1776	(init): New native method.
1777	* gnu/gcj/jni/natNativeThread.cc (init): New native method
1778	implementation.
1779
17802000-08-21  Mark Wielaard  <mark@klomp.org>
1781
1782	* Makefile.in: Rebuilt.
1783	* Makefile.am (java/lang/reflect/Constructor.h): Declare Class as
1784	a `friend class'.
1785	(java/lang/reflect/Field.h): Likewise.
1786	(java/lang/reflect/Method.h): Likewise.
1787	(gnu/gcj/runtime/VMClassLoader.h): Declare ClassLoader as a
1788	`friend class'.
1789
17902000-08-21  Tom Tromey  <tromey@cygnus.com>
1791
1792	* java/util/ResourceBundle.java (trySomeGetBundle): Removed
1793	debugging prints.
1794
1795Sun Aug 20 21:02:48 2000  Anthony Green  <green@redhat.com>
1796
1797	* java/lang/natSystem.cc (init_properties): Change sourceware
1798	reference to sources.redhat.com.
1799
1800	* include/java-props.h: Add _Jv_Jar_Class_Path.
1801	* prims.cc: Ditto.  Set it from	`gij -jar file' option.
1802
1803	* java/lang/natSystem.cc (init_properties): Set java.class.path
1804	from
1805	{gij -jar file}:{CLASSPATH variable}:{-Djava.class.path= or .}
1806
1807	* java/util/PropertyPermission.java: Import from GNU Classpath.
1808	* Makefile.in: Rebuilt.
1809	* Makefile.am: Add java/util/PropertyPermission.java.
1810	* java/lang/System.java: Add setProperty method.
1811
1812	* gij.cc (main): Add -jar option to execute jar files.
1813	(help): Describe -jar option.
1814	* prims.cc (_Jv_RunMain): Add support for jar execution mode.
1815	* include/jvm.h: Add is_jar argument to _Jv_RunMain.
1816	* gnu/gcj/runtime/FirstThread.java (main): New method.
1817
1818	* java/util/jar/Attributes.java: Correct comment spelling.
1819
18202000-08-20  Mark Wielaard  <mark@klomp.org>
1821
1822	* java/util/zip/Adler32.java: Make private variables really private
1823	* java/util/zip/CRC32.java: Make private variables really private
1824	* java/util/zip/CheckedInputStream.java: skip() could skip to much
1825	bytes
1826	* java/util/zip/InflaterInputStream.java: skip() could skip to
1827	much bytes
1828	* java/util/zip/ZipEntry.java: setCompressedSize() didn't check input
1829	* java/util/zip/ZipFile.java: size() new 1.2 method
1830	* java/util/zip/ZipInputStream.java: Use createZipEntry not new
1831	ZipEntry.  since 1.2 available() always returns just 1 or 0 when
1832	closed
1833
1834Sun Aug 20 12:33:43 2000  Anthony Green  <green@redhat.com>
1835
1836	* java/util/jar/JarFile.java: Don't call
1837	java.util.zip.ZipFile.getEntry twice.  From Mark Wielaard
1838	<mark@klomp.org>.
1839
1840Sun Aug 20 09:51:48 2000  Anthony Green  <green@redhat.com>
1841
1842	* java/net/URLClassLoader.java: Find the JarEntry via the JarFile.
1843	Read the entire contents of the class file, not just what is
1844	available().
1845
1846	* java/net/JarURLConnection.java: getEntry doesn't take any
1847	arguments.  Return null if element is null.
1848
1849	* java/util/zip/ZipFile.java (getInputStream): Read the compressed
1850	size from the archive, not the inflated size.
1851
1852	* java/util/jar/JarFile.java (getEntry): Don't recurse.  Call
1853	java.util.zip.ZipFile.getEntry.
1854
1855	* gij.cc (help): Change sourceware reference to
1856	sources.redhat.com.
1857
18582000-08-19  Tom Tromey  <tromey@cygnus.com>
1859
1860	* java/util/zip/ZipInputStream.java (createZipEntry):
1861	Implemented.
1862
1863Sat Aug 19 11:00:53 2000  Anthony Green  <green@redhat.com>
1864
1865	* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
1866	java/util/jar/JarException.java, java/util/jar/JarFile.java,
1867	java/util/jar/JarInputStream.java,
1868	java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
1869	java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
1870	java/util/AbstractSet.java, java/util/BasicMapEntry.java,
1871	java/security/cert/CRL.java, java/security/cert/CRLException.java,
1872	java/security/cert/Certificate.java,
1873	java/security/cert/CertificateEncodingException.java,
1874	java/security/cert/CertificateException.java,
1875	java/security/cert/CertificateExpiredException.java,
1876	java/security/cert/CertificateFactory.java,
1877	java/security/cert/CertificateFactorySpi.java,
1878	java/security/cert/CertificateNotYetValidException.java,
1879	java/security/cert/CertificateParsingException.java,
1880	java/security/cert/X509CRL.java,
1881	java/security/cert/X509CRLEntry.java,
1882	java/security/cert/X509Certificate.java,
1883	java/security/cert/X509Extension.java: Imported from Classpath.
1884	* java/util/Hashtable.java: Imported from Classpath.
1885
1886	* java/util/zip/ZipInputStream.java: Create stub for
1887	createZipEntry.
1888
1889	* gcj/javaprims.h: Updated class list.
1890
1891	* Makefile.in, gcj/Makefile.in: Rebuilt.
1892	* Makefile.am (ordinary_java_source_files): Add these new classes.
1893
18942000-08-16  Rolf W. Rasmussen  <rolfwr@ii.uib.no>
1895
1896	* gnu/gcj/awt/ComponentDataBlitOp.java: New file.
1897	* gnu/gcj/awt/GLightweightPeer.java: New file.
1898	* java/awt/BorderLayout.java: Implemented all methods.
1899	* java/awt/Button.java (actionListener, actionCommand): Renamed
1900	and modifier change.
1901	(addNotify): Call super.
1902	(dispatchEventImpl): New method.
1903	(getListeners): New method.
1904	(label): Made package-private, not private.
1905	* java/awt/Canvas.java: Implemented class body.
1906	* java/awt/Color.java (brighter): New method.
1907	(darker): New method.
1908	(hashCode): New method.
1909	* java/awt/Component.java (visible, enabled, eventMask): Set defaults.
1910	(getGraphicsConfiguration): Delegate to
1911	getGraphicsConfigurationImpl().
1912	(getGraphicsConfigurationImpl): New method.
1913	(getToolkit): Only return value from peer if not null.
1914	(isDisplayable): Check with parent.
1915	(isShowing): No parent implies not showing.
1916	(getForeground): Check parent property if local is null.
1917	(getBackground): Likewise.
1918	(getFont): Likewise.
1919	(setForeground): Inform peer.
1920	(setBackground): Likewise
1921	(setLocale): Invalidate component.
1922	(getColorModel): Implemented.
1923	(setLocation): Invalidate, or ignore if no change.
1924	(setSize): Invalidate, or ignore if no change.
1925	(setBounds): Invalidate, or ignore if no change.
1926	(isOpaque): By default, heavyweight implies opaque.
1927	(isLightweight): Implemented.
1928	(getMaximumSize): Implemented.
1929	(doLayout): Implemented, NOP.
1930	(validate): Implemented, NOP.
1931	(invalidate): Only propagate to parent if parent was valid.
1932	(getGraphics): Implemented.
1933	(getFontMetrics): Implemented.
1934	(update): Implemented.
1935	(paintAll): Implemented.
1936	(repaint): Implemented all repaint methods.
1937	(print): Implemented.
1938	(printAll): Implemented.
1939	(createImage): Implemented.
1940	(dispatchEvent): Give the peer a chance to handle the event.
1941	(dispatchEventImpl): Dispatch paint events.
1942	(enableEvents): Lightweights enable events on parent component.
1943	(coalesceEvents): Coalesce paint events, and select event type
1944	using a switch.
1945	(coalescePaintEvents): New method.
1946	(processEvent): Fix unfortunate ordering of statements, and call
1947	correct method for MOUSE_CLICKED.
1948	(processPaintEvent): New method.
1949	(addNotify): Allow container to notify children before event
1950	mask is set in peer.
1951	(addNotifyContainerChildren): New method.
1952	(removeNotify): Visibility should not change on removeNotify.
1953	(paramString): Implemented.
1954	(list): Implemented two of the list methods.
1955	* Container (myInsets): Removed, insets are managed by peer.
1956	(getInsets): Query peer.
1957	(addImpl): Fix reparenting, enable events for lightweights,
1958	initialize component array.
1959	(validate): Call doLayout in validateTree() instead.
1960	(validateTree): Do nothing if already valid. Call beginValidate(),
1961	endValidate() on peer. Call validateTree() instead of validate()
1962	for children that are containers. Mark valid after validation of
1963	children.
1964	(setFont): Partial implementation.
1965	(paint): Implemented.
1966	(visitChildren): New method.
1967	(visitChild): New method.
1968	(update): Implemented.
1969	(print): Implemented.
1970	(paintComponents): Implemented.
1971	(printComponents): Consider translation and clipping.
1972	(getComponentAt): Ignore invisible children. Return this if no
1973	child match.
1974	(addNotify): Call super.
1975	(addNotifyContainerChildren): New method.
1976	(paramString): Implemented.
1977	(list): Implemented.
1978	* java/awt/EventQueue (invokeAndWait): Get system event queue the
1979	right way.
1980	(invokeLater): Likewise.
1981	(isDispatchThread): Likewise.
1982	* java/awt/FontMetrics (getLeading): Formula change.
1983	(getDescent): Consider leading also.
1984	(getMaxAscent): Default to getAscent().
1985	(getMaxDescent): Default to getDescent.
1986	(getMaxAdvance): Return value signifying unknown.
1987	(charWidth): Both methods implemented.
1988	(charsWidth): Implemented.
1989	(bytesWidth): Implemented.
1990	(getWidths): Implemented.
1991	* java/awt/Frame.java (NORMAL, ICONIFIED, iconImage, isResizable,
1992	state): New fields.
1993	(Frame): Rearragend constuctor chaining to disallow null being
1994	passed as a graphics configuration.
1995	(getTitle): Return empty string if null.
1996	(dispose): Removed.
1997	(getIconImage): New method.
1998	(setIconImage): New method.
1999	(finalize): New method.
2000	(setMenuBar): Notify peer.
2001	(isResizable): New method.
2002	(setResizable): New method.
2003	(getState): New method.
2004	(getFont): Removed.
2005	(remove): Implemented.
2006	(removeNotify): New method.
2007	(getFrames): New method.
2008	* java/awt/Graphics.java: Implemented body of class.
2009	* java/awt/Graphics2D.java: New file.
2010	* java/awt/GraphicsConfiguration.java: Enabled part of the API.
2011	* java/awt/Image.java: Implemented body of class.
2012	* java/awt/Panel.java (Panel): Call correct super constructor.
2013	(addNotify): Implemented.
2014	* java/awt/Rectangle.java (isEmpty): Fixed reversed logic.
2015	* java/awt/RenderingHints.java: New file.
2016	* java/awt/Toolkit.java (createComponent): Implemented.
2017	(getSystemEventQueue): Delegate to getSystemEventQueueImpl().
2018	* java/awt/Window.java (Window): Two new constructors. Reordered
2019	constructor chaining.
2020	(getGraphicsConfigurationImpl): New method.
2021	(finalize): Call super.
2022	(addNotify): Call super.
2023	(pack): Do layout stuff.
2024	(show): Ensure that peer exists and that component is valid.
2025	(dispose): Dispose owned children.
2026	(getOwner): Simplify code, casting null pointers is valid.
2027	(getGraphicsConfiguration): Ask peer if local value is null.
2028	* java/awt/event/ActionEvent.java (getActionCommand): Renamed from
2029	getcmd().
2030	* java/awt/image/BufferedImage.java: New file.
2031	* java/awt/image/RasterOp.java: New file.
2032	* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration):
2033	More powerful replacement for getColorModel().
2034	(getColorModel) Removed.
2035	(setEventMask) New method.
2036	* Makefile.am: Added new files.
2037	* Makefile.in: Rebuilt.
2038
20392000-08-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2040
2041	* java/lang/natClass.cc (finit_name): Initialized with `finit$'.
2042	(finit_leg_name): New global.
2043	(java::lang::Class::getDeclaredMethods): Test for `finit$' or
2044	`$finit$'. This is a backward compatibility hack.
2045	(java::lang::Class::_getMethods): Likewise.
2046
20472000-08-15  Andrew Haley  <aph@cygnus.com>
2048
2049	* include/jvm.h (_Jv_HashCode): New hash code.
2050
20512000-08-15  Tom Tromey  <tromey@cygnus.com>
2052
2053	* java/io/ByteArrayOutputStream.java: Merged with Classpath.
2054
2055Sun Aug 13 19:53:01 2000  Anthony Green  <green@redhat.com>
2056
2057	* THANKS: More thanks.
2058
20592000-08-10  Tom Tromey  <tromey@cygnus.com>
2060
2061	* java/net/natPlainSocketImpl.cc (bind): Don't go to error case
2062	when errno not set.
2063	(connect): Likewise.
2064	(accept): Likewise.
2065	(getOption): Likewise.
2066	* java/net/natPlainDatagramSocketImpl.cc (bind): Don't go to error
2067	case when errno not set.
2068	(peek): Likewise.
2069	(send): Likewise.
2070	(receive): Likewise.
2071	(mcastGrp): Likewise.
2072	(setOption): Likewise.
2073	(getOption): Likewise.
2074
20752000-08-10  Bryce McKinlay  <bryce@albatross.co.nz>
2076	    John Stracke <francis@ecal.com>
2077
2078	* gnu/gcj/protocol/http/Connection.java (gotHeaders): Removed.
2079	(connect): Don't falsely claim HTTP/1.1 compliance. Call
2080	getHttpHeaders().
2081	(disconnect): Don't unset connected flag.
2082	(getHeaderField (String)): Call connect() if not connected.
2083	(getHeaderField (int)): Ditto.
2084	(getHeaderFieldKey): Ditto.
2085	(getHttpHeaders): Don't call connect().
2086	* java/net/HttpURLConnection.java (instanceFollowRedirects,
2087	gotResponseVals): New fields.
2088	(getResponseCode): Call getResponseVals() conditionally.
2089	(getResponseMessage): Ditto.
2090	(getResponseVals): Call connect(). Don't throw FileNotFoundException.
2091
20922000-08-09  Bryce McKinlay  <bryce@albatross.co.nz>
2093
2094	* Makefile.am: Move beans and applet classes to awt_java_source_files.
2095	* Makefile.in: Rebuilt.
2096	* java/awt/Color.java (getTransparency): New method.
2097	* java/awt/Component.java: Various updates.
2098	* java/awt/Container.java (removeNotify): Call super.removeNotify()
2099	after dealing with children.
2100	* java/awt/Toolkit.java (changeSupport): Renamed from pcsupport.
2101	* java/awt/Window.java: Various new methods and updates.
2102	* java/awt/color/ICC_Profile.java (getNumComponents): Cast profileID
2103	to int for switch.
2104	* java/awt/event/KeyEvent.java (paramString): Initialize `r'.
2105	* java/awt/event/WindowEvent.java (paramString): Ditto.
2106	* java/awt/geom/Dimension2D.java (clone): Wrap super call with
2107	try/catch block.
2108	* java/awt/geom/Point2D.java (clone): Ditto.
2109	* java/awt/geom/RectangularShape.java (clone): Ditto.
2110	* java/awt/image/ColorModel.java (bits, cspace, transparency, hasAlpha,
2111	isAlphaPremultiplied): Make package-private, not private.
2112
21132000-08-08  Tom Tromey  <tromey@cygnus.com>
2114
2115	* gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of
2116	surrogate characters.
2117	* gnu/gcj/convert/Output_UTF8.java (standardUTF8): Default to
2118	true.
2119	(write): Correct handling of surrogate characters.
2120
21212000-08-07  Tom Tromey  <tromey@cygnus.com>
2122
2123	* java/lang/reflect/Method.java (hashCode): Use getName().
2124	(toString): Likewise.
2125	* java/lang/reflect/natMethod.cc (getType): Initialize
2126	exception_types.
2127
2128	* java/lang/reflect/Method.java (toString): Use Class.getName, not
2129	Class.toString.
2130	* java/lang/reflect/Field.java (toString): Correct formatting.
2131	From Corey Minyard.
2132
2133	* java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
2134	rewrote.
2135	(receive): Streamlined.
2136
21372000-08-05  Tom Tromey  <tromey@cygnus.com>
2138
2139	* java/io/PrintWriter.java: Merged comments from Classpath.
2140	(printlnUnsynchronized): Removed.
2141	(println()): Print the separator.
2142	(println): Call println(), not printlnUnsynchronized.
2143	(out): Now protected, to match spec.
2144
21452000-08-04  Tom Tromey  <tromey@cygnus.com>
2146
2147	* java/io/StreamTokenizer.java (TT_NONE): Now private.
2148	(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
2149	For PR java.io/301.
2150
21512000-08-03  Warren Levy  <warrenl@cygnus.com>
2152
2153	* java/io/ObjectInputStream.java (readFields): Turn off
2154	readDataFromBlock while reading via GetField.
2155	(GetField$1.get(String, Object)): Pass Class of default value to
2156	getField.
2157	(getField): Allow for null default values.
2158
2159	* java/io/ObjectOutputStream.java: Fixed typo in comment.
2160	(PutField$1.put): Fixed calls of checkType in most of the put
2161	methods to pass the correct parameter.
2162	(PutField$1.put(String, Object)): Allow for null value arg.
2163	(PutField$1.write): Turn off writeDataAsBlocks while writing via
2164	PutField.
2165
2166	* java/io/ObjectStreamClass.java (serialPersistentFields): Fixed
2167	typo in spec'ed field name.
2168	(getSerialPersistentFields): Changed spelling of method to match
2169	the correct spelling of the spec'ed field name.
2170
21712000-08-03  Tom Tromey  <tromey@cygnus.com>
2172
2173	* Makefile.in: Rebuilt.
2174	* Makefile.am (awt_java_source_files): Added new files.
2175
21762000-08-03  Bryce McKinlay  <bryce@albatross.co.nz>
2177
2178	* Makefile.am: Add new AWT stubs.
2179	* java/awt/Canvas.java: New placeholder class.
2180	* java/awt/Checkbox.java: Ditto.
2181	* java/awt/CheckboxMenuItem.java: Ditto.
2182	* java/awt/Choice.java: Ditto.
2183	* java/awt/Dialog.java: Ditto.
2184	* java/awt/FileDialog.java: Ditto.
2185	* java/awt/List.java: Ditto.
2186	* java/awt/ScrollPane.java: Ditto.
2187	* java/awt/TextField.java: Ditto.
2188	* java/awt/datatransfer/Clipboard.java: Ditto.
2189	* java/awt/Component.java (treeLock): Now a static String. Add comment.
2190	* java/awt/MenuItem.java (MenuItem): Add default constructor.
2191	* java/awt/Toolkit.java: Added all methods from J2SE 1.3 API docs.
2192	Some commented out. Partially implemented.
2193	* java/awt/natToolkit.cc: Removed file.
2194
21952000-08-03  Bryce McKinlay  <bryce@albatross.co.nz>
2196
2197	* Makefile.am: Make inner class CNI headers depend on libgcj.zip only.
2198	Fixes "make -j" builds.
2199	* Makefile.in: Rebuild.
2200
22012000-08-02  Tom Tromey  <tromey@cygnus.com>
2202
2203	* Makefile.in: Rebuilt.
2204	* Makefile.am (libgcj_la_SOURCES): Added posix.cc.
2205	* java/net/natPlainSocketImpl.cc: Include posix.h.
2206	(accept): Use _Jv_select.
2207	* java/net/natPlainDatagramSocketImpl.cc: Include posix.h.
2208	(receive): Use _Jv_select.
2209	* java/io/natFileDescriptorPosix.cc: Include posix.h.
2210	(available): Use _Jv_select.
2211	* java/lang/natSystem.cc: Include posix.h.
2212	(currentTimeMillis): Use _Jv_gettimeofday.
2213	* include/posix.h: New file.
2214	* posix.cc: New file.
2215
2216	* scripts/encodings.pl: New file.
2217	* Makefile.in: Rebuilt.
2218	* Makefile.am (convert_source_files): Added IOConverter.java.
2219	* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
2220	IOConverter.
2221	(getDefaultDecodingClass): Canonicalize default encoding name.
2222	(getEncoder): Likewise.
2223	* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
2224	IOConverter.
2225	(getDefaultDecodingClass): Canonicalize default encoding name.
2226	(getDecoder): Likewise.
2227	* gnu/gcj/convert/IOConverter.java: New file.
2228
22292000-08-02  Bryce McKinlay  <bryce@albatross.co.nz>
2230
2231	* interpret.cc (_Jv_InterpMethod::continue1): Type of `fun' changed
2232	to match C declaration in ffi.h.
2233	* Makefile.am: Add java/awt/Button.java.
2234	* Makefile.in: Rebuilt.
2235
22362000-07-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2237
2238	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Type of the
2239	cast of the second argument to `ffi_raw_call' changed to match
2240	prototype.
2241
22422000-07-26  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2243
2244	* jni.cc (_Jv_JNIMethod::call): Type of the cast of the second
2245	argument to `ffi_raw_call' changed to match prototype.
2246
22472000-07-31  Bryce McKinlay  <bryce@albatross.co.nz>
2248
2249	* java/awt/Component.java (toString): Implemented.
2250	* java/awt/Container.java (addImpl): Remove FIXME. Only call
2251	dispatchEvent() to dispatch the event.
2252	(removeImpl): Ditto.
2253
22542000-07-30  Anthony Green  <green@redhat.com>
2255
2256	* java/awt/Component.java: Add treeLock object.
2257	(getTreeLock): Implement.
2258	(isShowing): Implement.
2259
22602000-07-30  Tom Tromey  <tromey@cygnus.com>
2261
2262	* java/awt/BorderLayout.java (BorderLayout()): New constructor.
2263
2264	* java/awt/Frame.java (Frame): Pass `null' to Window constructor.
2265
2266	* java/awt/Window.java (addNotify): Wrote.
2267	(addWindowListener): Wrote.
2268	(getLocale): Wrote.
2269	(getWarningString): Wrote.
2270	(processEvent): Wrote.
2271	(processWindowEvent): Wrote.
2272	(removeWindowListener): Wrote.
2273	(show): Call validate(), setVisible().
2274	(toBack): Wrote.
2275	(toFront): Wrote.
2276
2277	* java/awt/Toolkit.java (createWindow): Declare.
2278
2279	* java/awt/Frame.java (addNotify): Use getToolkit to find
2280	toolkit.
2281
2282	* java/awt/Component.java (invalidate): Wrote.
2283	(isValid): Wrote.
2284	(getToolkit): Wrote.
2285
2286	* java/awt/Container.java (addContainerListener): Removed
2287	unnecessary cast.
2288	(removeContainerListener): Likewise.
2289	(addImpl): Wrote.
2290	(add(Component)): Use it.
2291	(add(String,Component)): Likewise.
2292	(add(Component,int)): Likewise.
2293	(add(Component,Object)): Likewise.
2294	(add(Component,Object,int)): Likewise.
2295	(doLayout): Wrote.
2296	(getAlignmentX): Wrote.
2297	(getAlignmentY): Wrote.
2298	(getComponentAt): Wrote.
2299	(getMaximumSize): Wrote.
2300	(invalidate): Wrote.
2301	(list(PrintStream,int)): Wrote.
2302	(list(PrintWriter,int)): Wrote.
2303	(getMinimumSize): Wrote.
2304	(getPreferredSize): Wrote.
2305	(printComponents): Wrote.
2306	(processContainerEvent): Look at containerListener, not
2307	componentListener.
2308	(remove): Added event processing and peer destruction.
2309	(removeAll): Use remove.
2310	(removeNotify): Wrote.
2311	(validate): Wrote.
2312	(validateTree): Wrote.
2313
2314	* java/awt/Scrollbar.java (addNotify): Do nothing if peer exists.
2315	* java/awt/Label.java (addNotify): Do nothing if peer exists.
2316	* java/awt/Container.java (addNotify): Don't create Container
2317	peer.
2318	* java/awt/Button.java (addNotify): Do nothing if peer exists.
2319
23202000-07-30  Tom Tromey  <tromey@cygnus.com>
2321
2322	* java/awt/Container.java (remove(int)): Wrote.
2323	(remove(Component)): Wrote.
2324	(add(Component)): Wrote.
2325	(add(Component,int)): Wrote.
2326	(removeAll): Wrote.
2327	(addNotify): Set our own peer.
2328	* java/awt/Scrollbar.java (listeners): Changed type.
2329	(Scrollbar): Don't initialize listeners.
2330	(addNotify): Wrote.
2331	(setValue): Call setValues.
2332	(setMinimum): Likewise.
2333	(setMaxPriority): Likewise.
2334	(setVisibleAmount): Likewise.
2335	(setValues): Wrote.
2336	(setUnitIncrement): Forward to peer.
2337	(setLineIncrement): Call setUnitIncrement.
2338	(setPageIncrement): Call setBlockIncrement.
2339	(setBlockIncrement): Forward to peer.
2340	(addAdjustmentListener): Rewrote.
2341	(removeAdjustmentListener): Rewrote.
2342	(processAdjustmentEvent): Rewrote.
2343	(paramString): Wrote.
2344	* Makefile.in: Rebuilt.
2345	* Makefile.am (awt_java_source_files): Added Button.java.
2346	* java/awt/Button.java: New file.
2347	* java/awt/Toolkit.java (createLabel): Declare.
2348	(createButton): Likewise.
2349	(createScrollbar): Likewise.
2350	(createContainer): Likewise.
2351	* java/awt/Label.java (addNotify): Wrote.
2352	(setAlignment): Call setAlignment in the peer.
2353	(setText): Call setText in the peer.
2354
23552000-07-28  Warren Levy  <warrenl@cygnus.com>
2356
2357	* java/io/ObjectOutputStream.java (writeObject): Per spec, call
2358	NotSerializableException with just the class name.
2359
23602000-07-26  Andrew Haley  <aph@cygnus.com>
2361
2362	* interpret.cc (continue1): Insert missing break into switch.
2363
23642000-07-28  Warren Levy  <warrenl@cygnus.com>
2365
2366	* java/io/ObjectStreamException.java: Made constructors protected.
2367
23682000-07-27  Tom Tromey  <tromey@cygnus.com>
2369
2370	* java/io/OutputStreamWriter.java (close): Only flush if not
2371	closed.
2372
23732000-07-27  Warren Levy  <warrenl@cygnus.com>
2374
2375	* mauve-libgcj: Activated serialization tests.
2376	* gcj/field.h (getModifiers): Mask off unknown flags.
2377	* gnu/java/security/provider/SHA.java (munch): Reset buffer to 0 so
2378	spurious bits don't cause discrepancies.
2379	* java/io/ObjectOutputStream.java: Fixed typo in comment.
2380	* java/io/ObjectStreamClass.java: Fixed typos in comments.
2381	(lookup): Applied patch from Brian Jones <cbj@gnu.org> to optimize.
2382	(hasClassInitializer): Call getDeclaredMethod instead of getMethod.
2383	* java/lang/Throwable.java (serialVersionUID): New field.
2384	* java/lang/reflect/Modifier.java (ALL_FLAGS): Preserve STRICT if used.
2385	* java/lang/reflect/natConstructor.cc (getModifiers): Mask off
2386	unknown flags.
2387	* java/lang/reflect/natMethod.cc: Ditto.
2388	* java/security/Key.java (serialVersionUID): Removed field for now.
2389	* java/security/interfaces/DSAPrivateKey.java (serialVersionUID): Ditto.
2390	* java/security/interfaces/DSAPublicKey.java (serialVersionUID): Ditto.
2391
23922000-07-22  Tom Tromey  <tromey@cygnus.com>
2393
2394	* java/awt/geom/RectangularShape.java (getPathIterator):
2395	Wrote.
2396
23972000-07-23  Rolf W. Rasmussen  <rolfwr@ii.uib.no>
2398
2399	* libjava/java/awt/image/ColorModel.java: New file, replaces the
2400	stub libjava/java/awt/ColorModel.java which was located in the
2401	wrong package.
2402	* libjava/java/awt/image/ComponentColorModel.java: New file.
2403	* libjava/java/awt/image/ComponentSampleModel.java: New file.
2404	* libjava/java/awt/image/DataBuffer.java: New file.
2405	* libjava/java/awt/image/DataBufferByte.java: New file.
2406	* libjava/java/awt/image/DataBufferInt.java: New file.
2407	* libjava/java/awt/image/DataBufferUShort.java: New file.
2408	* libjava/java/awt/image/DirectColorModel.java: New file.
2409	* libjava/java/awt/image/PackedColorModel.java: New file.
2410	* libjava/java/awt/image/Raster.java: New file.
2411	* libjava/java/awt/image/SampleModel.java: New file.
2412	* libjava/java/awt/image/SinglePixelPackedSampleModel.java: New
2413	file.
2414	* libjava/java/awt/image/IndexColorModel.java: New file.
2415	* libjava/java/awt/image/ImageConsumer.java: Removed import of
2416	java.awt.ColorModel stub.
2417
2418	* gnu/gcj/util/BitMaskExtent.java: New file, utility class.
2419	* gnu/gcj/util/Buffers.java: New file, utility class.
2420
2421	* libjava/Makefile.am: Updated to include new files.
2422	* libjava/Makefile.in: Rebuilt.
2423
24242000-07-23  Oskar Liljeblad <osk@hem.passagen.se>
2425
2426	* java/io/StreamTokenizer.java: Merged with classpath.
2427
24282000-07-20  Tom Tromey  <tromey@cygnus.com>
2429
2430	* Makefile.in: Rebuilt.
2431	* Makefile.am (awt_java_source_files): Updated for new files.
2432	* java/awt/Adjustable.java (HORIZONTAL, VERTICAL): Set values.
2433	* java/awt/Label.java: New file.
2434	* java/awt/Rectangle.java (Rectangle): Extend Rectangle2D.
2435	(createIntersection, createUnion, getBounds2D): New methods.
2436	* java/awt/Scrollbar.java: New file.
2437	* java/awt/Shape.java: Updated to 1.2.
2438	* java/awt/geom/AffineTransform.java: New file.
2439	* java/awt/geom/Ellipse2D.java: New file.
2440	* java/awt/geom/NoninvertibleTransformException.java: New file.
2441	* java/awt/geom/PathIterator.java: New file.
2442	* java/awt/geom/Rectangle2D.java: New file.
2443	* java/awt/geom/RectangularShape.java: New file.
2444	* java/awt/geom/Point2D.java (Double, Float): New inner classes.
2445	* java/awt/geom/IllegalPathStateException.java: New file.
2446
2447	* scripts/showval.java: New file.
2448
2449	* scripts/classes.pl (scan): Print inner classes properly.
2450	* gcj/javaprims.h: Updated class list.
2451
2452	* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Only
2453	initialize String fields for interpreted classes.  Fixes bug
2454	reported by Hans Boehm.
2455
2456	* java/io/File.java (getParentFile): New method, from Classpath
2457	via Oskar Liljeblad.
2458
2459	* java/util/Vector.java (remove(Object)): Implemented.
2460
24612000-07-19  Jeff Sturm  <jeff.sturm@appnet.com>
2462
2463	* java/lang/natThrowable.cc (fillInStackTrace): Check for
2464	zero return from backtrace().
2465
24662000-07-15  Bryce McKinlay  <bryce@albatross.co.nz>
2467
2468	* java/awt/EventQueue.java (invokeAndWait): Call postEvent() within
2469	synchronized block.
2470	* java/awt/event/InvocationEvent (dispatch): Synchronize on notifier
2471	before calling notifyAll().
2472
24732000-07-13  Bryce McKinlay  <bryce@albatross.co.nz>
2474
2475	Add missing files from last check-in:
2476	* java/awt/image/ImageConsumer.java: New file.
2477	* java/awt/image/ImageProducer.java: New file.
2478	* java/awt/image/ImageObserver.java: New file.
2479
24802000-07-12  Bryce McKinlay  <bryce@albatross.co.nz>
2481
2482	Merged implementation of java.applet from classpath:
2483	* java/applet/Applet.java: New file.
2484	* java/applet/AppletContext.java: New file.
2485	* java/applet/AppletStub.java: New file.
2486	* java/applet/AudioClip.java: New file.
2487
2488	* Makefile.am: Added new java.applet classes.
2489	* Makefile.in: Rebuilt.
2490
24912000-07-12  Bryce McKinlay  <bryce@albatross.co.nz>
2492
2493	AWT Stuff:
2494	* java/util/ResourceBundle.java (getLocale): stub.
2495	* Makefile.am: Added new AWT classes.
2496	* Makefile.in: Rebuilt.
2497	* java/awt/AWTEvent.java: Add EVENT_MASK constants, isConsumed,
2498	constructors. Fix toString() and paramString().
2499	* java/awt/AWTEventMulticaster.java: New class. Implemented.
2500	* java/awt/CheckboxGroup.java: New class.
2501	* java/awt/ColorModel.java: New class.
2502	* java/awt/Component.java: Added stubs for most methods. Implemented
2503	event dispatch.
2504	* java/awt/Container.java: ditto.
2505	* java/awt/ComponentOrientation.java: New class. Partly implemented.
2506	* java/awt/Cursor.java: ditto.
2507	* java/awt/Event.java: Fix paramString().
2508	* java/awt/EventQueue.java: New class. Implemented.
2509	* java/awt/Font.java: Added additional stub methods. Implemented
2510	toString().
2511	* java/awt/FontMetrics.java: New class. Stubbed.
2512	* java/awt/GraphicsConfiguration.java: New class. Complete, except for
2513	Java2D parts.
2514	* java/awt/Insets.java: New class. Implemented.
2515	* java/awt/Menu.java: Add new methods. Partially implemented.
2516	* java/awt/MenuItem.java: Add new methods and fields. Partially
2517	implemented.
2518	* java/awt/MenuShortcut.java: New class. Implemented.
2519	* java/awt/Panel.java: New class. Placeholder.
2520	* java/awt/PopupMenu.java: New class. Stubbed.
2521	* java/awt/Rectangle.java: New class. Implemented.
2522	* java/awt/Toolkit.java: Added getSystemEventQueue() stub.
2523	* java/awt/event/ActionEvent.java: Implement paramString().
2524	* java/awt/event/AdjustmentEvent.java: Implement paramString().
2525	* java/awt/event/ComponentEvent.java: Implement paramString().
2526	* java/awt/event/ContainerEvent.java: Implement paramString().
2527	* java/awt/event/FocusEvent.java: Implement paramString().
2528	* java/awt/event/HierarchyBoundsAdapter.java: New class.
2529	* java/awt/event/HierarchyBoundsListener.java: New class.
2530	* java/awt/event/HierarchyEvent.java: New class.
2531	* java/awt/event/HierarchyListener.java: New class.
2532	* java/awt/event/InputMethodEvent.java: Implement paramString().
2533	* java/awt/event/InvocationEvent.java: Implement paramString(). Throw
2534	exception if !catchExceptions.
2535	* java/awt/event/ItemEvent.java: Implement paramString().
2536	* java/awt/event/KeyEvent.java: Implement paramString().
2537	* java/awt/event/MouseEvent.java: Implement paramString().
2538	* java/awt/event/PaintEvent.java: Implement paramString().
2539	* java/awt/event/TextEvent.java: Implement paramString().
2540	* java/awt/event/WindowEvent.java: Implement paramString().
2541
2542	AWT Peer interfaces:
2543	* java/awt/peer/ButtonPeer.java: New file.
2544	* java/awt/peer/ListPeer.java: New file.
2545	* java/awt/peer/CanvasPeer.java: New file.
2546	* java/awt/peer/MenuBarPeer.java: New file.
2547	* java/awt/peer/CheckboxMenuItemPeer.java: New file.
2548	* java/awt/peer/MenuComponentPeer.java: New file.
2549	* java/awt/peer/CheckboxPeer.java: New file.
2550	* java/awt/peer/MenuItemPeer.java: New file.
2551	* java/awt/peer/ChoicePeer.java: New file.
2552	* java/awt/peer/MenuPeer.java: New file.
2553	* java/awt/peer/ComponentPeer.java: Implemented.
2554	* java/awt/peer/PanelPeer.java: New file.
2555	* java/awt/peer/ContainerPeer.java: Implemented.
2556	* java/awt/peer/PopupMenuPeer.java: New file.
2557	* java/awt/peer/DialogPeer.java: New file.
2558	* java/awt/peer/ScrollPanePeer.java: New file.
2559	* java/awt/peer/FileDialogPeer.java: New file.
2560	* java/awt/peer/ScrollbarPeer.java: New file.
2561	* java/awt/peer/FontPeer.java: New file.
2562	* java/awt/peer/TextAreaPeer.java: New file.
2563	* java/awt/peer/FramePeer.java: Implemented.
2564	* java/awt/peer/TextComponentPeer.java: New file.
2565	* java/awt/peer/LabelPeer.java: New file.
2566	* java/awt/peer/TextFieldPeer.java: New file.
2567	* java/awt/peer/LightweightPeer.java: New file.
2568	* java/awt/peer/WindowPeer.java: Implemented.
2569
25702000-07-06  Tom Tromey  <tromey@cygnus.com>
2571
2572	* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
2573	Initialize static final String fields.
2574
25752000-07-03  Tom Tromey  <tromey@cygnus.com>
2576
2577	* java/io/PrintWriter.java (print): Call write(String), not
2578	print(String).  See PR libgcj/277.
2579	(print(String)): Use write, not out.write.
2580
25812000-06-30  Tom Tromey  <tromey@cygnus.com>
2582
2583	* include/jni.h: Include <gcj/array.h>.  Fixes PR libgcj/270.
2584
25852000-06-27  Andrew Haley  <aph@cygnus.com>
2586
2587       * java/io/File.java (createTempFile): Close the FileDescriptor
2588       used to create a temp file.  Fixes some of PR 203.
2589       * java/io/natFileDescriptorPosix.cc (open): Call garbage
2590       collection if we run out of file handles.
2591
25922000-06-28  Warren Levy  <warrenl@cygnus.com>
2593
2594	* gnu/java/security/provider/Gnu.java: New file.
2595	* gnu/java/security/provider/SHA.java: New file.
2596	* gnu/java/security/provider/SHA1PRNG.java: New file.
2597	* Makefile.am: Added the above files.
2598	* Makefile.in: Rebuilt.
2599
2600	* java/io/ObjectStreamClass.java (setUID): Use Gnu SHA instead of SHS.
2601
26022000-06-28  Bryce McKinlay  <bryce@albatross.co.nz>
2603
2604	* java/lang/ThreadGroup.java: Added synchronized flag to many methods.
2605	(destroyed_flag): Removed.
2606	(isDestroyed, removeGroup, removeThread): Test for parent == null.
2607	(activeCount): Added spec note.
2608
26092000-06-27  Warren Levy  <warrenl@cygnus.com>
2610
2611	* java/security/Principal.java: New file.
2612	* Makefile.am: Added Principal.java.
2613	* Makefile.in: Rebuilt.
2614
26152000-06-27  Rolf W. Rasmussen  <rolfwr@ii.uib.no>
2616
2617	* java/awt/event/MouseEvent.java: Fixed coordinate space
2618	confusion.
2619
26202000-06-27  Tom Tromey  <tromey@cygnus.com>
2621
2622	* java/io/PushbackInputStream.java (read): If there are characters
2623	in the buffer, don't also call super.read().
2624	* java/io/PushbackReader.java (read): If there are characters in
2625	the buffer, don't also call super.read().
2626
2627	* java/lang/Double.java (valueOf): Call parseDouble().
2628
26292000-06-26  Warren Levy  <warrenl@cygnus.com>
2630
2631	* java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.
2632	(newVal): Renamed to newValue.
2633	* java/beans/PropertyVetoException.java (changeEvent): Renamed to evt.
2634	* java/beans/beancontext/BeanContextServiceRevokedEvent.java
2635	(revokeNow): Renamed to invalidateRefs.
2636	* java/io/OptionalDataException.java: Updated FIXME.
2637	(eof): New placeholder field.
2638	(length); Ditto.
2639	* java/io/WriteAbortedException.java (message): Made transient.
2640	* java/lang/ClassNotFoundException.java: Updated comments for JDK 1.2.
2641	* java/lang/Throwable.java (stackTrace): Made transient.
2642	* java/net/InetAddress.java: Made Serializable.
2643	* java/security/KeyPair.java: Made Serializable.
2644	* java/security/Provider.java: Replaced with Classpath version that
2645	implements serialization and proper methods.
2646	* java/text/ChoiceFormat.java (strings): Renamed to choiceFormats.
2647	(limits): Renamed to choiceLimits.
2648
26492000-06-24  Tom Tromey  <tromey@cygnus.com>
2650
2651	* java/lang/natDouble.cc (parseDouble): Renamed from
2652	doubleValueOf.
2653	* java/lang/Double.java (parseDouble): Renamed from
2654	doubleValueOf.  Now public.
2655
26562000-06-23  Andrew Haley  <aph@cygnus.com>
2657
2658	* java/lang/ieeefp.h: Handle ia64, fr30, mcore.
2659	* java/lang/natThrowable.cc: On IA-64, use __ia64_backtrace.
2660
26612000-06-23  Tom Tromey  <tromey@cygnus.com>
2662
2663	* java/lang/reflect/natMethod.cc: Include <alloca.h>.
2664	* java/lang/natDouble.cc: Always include <alloca.h>.
2665	Fix for PR libgcj/267.
2666
26672000-06-21  Bryce McKinlay  <bryce@albatross.co.nz>
2668
2669	* java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to
2670	comply with classpath VM spec.
2671	(add(Group)): Rename to addGroup().
2672	* java/lang/Thread.java (Thread): Use addThread().
2673	* java/lang/natThread.cc (finish_): Use removeThread().
2674
26752000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
2676
2677	* java/lang/ThreadGroup.java: Merged with classpath.
2678	* prims.cc (_Jv_RunMain): Don't use `main_group'.
2679	* gnu/gcj/runtime/FirstThread.java: Remove ThreadGroup constructor
2680	argument.
2681	* java/lang/Thread.java (Thread): Bootstrap initial thread from
2682	ThreadGroup.root if Thread.currentThread is null. Honour the
2683	ThreadGroup's max priority setting.
2684
26852000-06-18  Tom Tromey  <tromey@cygnus.com>
2686
2687	* java/lang/natClass.cc (forName): Removed dead code.  Initialize
2688	returned class.  For PR gcj/260.
2689
26902000-06-16  Tom Tromey  <tromey@cygnus.com>
2691
2692	Fix for PR libgcj/261:
2693	* include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception'
2694	argument.
2695	* include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception'
2696	argument.  (This is a patch from long ago that somehow went
2697	missing.)
2698
26992000-06-15  Tom Tromey  <tromey@cygnus.com>
2700
2701	* gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.
2702	(read): Use it.
2703	(write): Likewise.
2704
27052000-06-15  Bryce McKinlay  <bryce@albatross.co.nz>
2706
2707	Fix for PR java.lang/258:
2708	* prims.cc (_Jv_PrimClass): Set state of primitive class to
2709	JV_STATE_DONE, to prevent accidental initialization.
2710	* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
2711	_Jv_InterfaceAssignableFrom if target is an interface and source is an
2712	interface or an abstract class.	Remove redundant initializeClass calls.
2713	Remove duplicate if_idt test.
2714	(_Jv_InterfaceAssignableFrom): New function.
2715	* java/lang/Class.h (_Jv_InterfaceAssignableFrom): Prototype.
2716
27172000-05-31  Tom Tromey  <tromey@cygnus.com>
2718
2719	* prims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.
2720	(_Jv_PrimClass): Set `methods' by calling _Jv_FindArrayClass.
2721	* include/jvm.h (struct _Jv_ArrayVTable): Declare.
2722	(NUM_OBJECT_METHODS): New define.
2723	* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
2724	`array_vtable' parameter.  Added assertion.
2725	* java/lang/Class.h (_Jv_FindArrayClass): Added `array_vtable'
2726	parameter.
2727
27282000-05-31  Bryce McKinlay  <bryce@albatross.co.nz>
2729
2730	* gcj/cni.h: Include <string.h>.
2731	* defineclass.cc: Include <alloca.h>.
2732	* interpret.cc: Ditto.
2733	* gij.cc: Include <stdlib.h>.
2734
27352000-05-30  Tom Tromey  <tromey@cygnus.com>
2736
2737	* include/name-finder.h: Include <sys/wait.h>.
2738	(_Jv_name_finder::pid): Now of type `pid_t'.
2739	(_Jv_name_finder::~_Jv_name_finder): Call waitpid().
2740	* java/lang/Throwable.java (CPlusPlusDemangler.close): Call
2741	`proc.waitFor()'.
2742
27432000-05-24  Warren Levy  <warrenl@cygnus.com>
2744
2745	* java/io/ObjectOutputStream.java (writeObject): Use component type
2746	when writing arrays.
2747	Fixed typo.
2748
27492000-05-20  Bryce McKinlay  <bryce@albatross.co.nz>
2750
2751	Fix for PR libgcj/226:
2752	* java/lang/Class.h (_Jv_InitClass): Don't call __builtin_expect,
2753	since this is an installed header.
2754
2755	Fix for PR libgcj/228:
2756	* java/util/zip/ZipFile (getInputStream): Create inflater with
2757	nowrapper option.
2758
2759	* java/util/zip/natInflater.cc (inflate): Throw zlib's error message
2760	with DataFormatException.
2761
27622000-05-20  Tom Tromey  <tromey@cygnus.com>
2763
2764	* Makefile.in: Rebuilt.
2765	* Makefile.am (hack1): Removed.
2766	(awto_files): Likewise.
2767	(libgcjawt_la_SOURCES): Likewise.
2768	(EXTRA_libgcjawt_la_SOURCES): Likewise.
2769	(libgcjawt_la_DEPENDENCIES): Likewise.
2770	(libgcjawt_la_LIBADD): Likewise.
2771	(libgcjawt_la_LDFLAGS): Likewise.
2772	(libgcjawt_la_LINK): Likewise.
2773	($(awt_java_source_files:.java=.class)): Likewise.
2774	(libgcj.zip): Don't depend on AWT files.
2775	(MOSTLYCLEANFILES): Don't include AWT files.
2776	($(awto_files)): Removed.
2777	(nat_headers): Removed AWT files.
2778	(cond_awt_java_source_files): Removed.
2779	(ordinary_java_source_files): Added awt_java_source_files.
2780	* libgcj.spec.in (*lib): Removed -lgcjawt.
2781	* configure: Rebuilt.
2782	* configure.in: Removed --enable-java-awt option.
2783
27842000-05-20  Bryce McKinlay  <bryce@albatross.co.nz>
2785
2786	* java/util/zip/ZipEntry.java: Implement Cloneable, per JDK1.2 docs.
2787	(ZipEntry): Copy the `name' field.
2788	(clone): Implement JDK1.2 method.
2789	(setCompressedSize): ditto.
2790	(hashCode): ditto.
2791
27922000-05-19  Tom Tromey  <tromey@cygnus.com>
2793
2794	* java/io/BufferedWriter.java: Merged with Classpath.
2795	* java/io/BufferedOutputStream.java: Merged with Classpath.
2796
27972000-05-16  Andrew Haley  <aph@cygnus.com>
2798
2799	* sysdep/ia64.c (ia64_backtrace_helper): Pass NULL pointer to
2800	build_ia64_frame_state.
2801	* sysdep/ia64-frame.h (build_ia64_frame_state): Match with
2802	defintion in gcc.
2803
28042000-05-15  Warren Levy  <warrenl@cygnus.com>
2805
2806	* gnu/gcj/beans/BeanInfoEmbryo.java: Removed.
2807	* gnu/gcj/beans/EmptyBeanInfo.java: Removed.
2808	* gnu/gcj/beans/ExplicitBeanInfo.java: Removed.
2809	* gnu/gcj/beans/IntrospectionIncubator.java: Removed.
2810	* gnu/gcj/beans/editors/ColorEditor.java: Removed.
2811	* gnu/gcj/beans/editors/FontEditor.java: Removed.
2812	* gnu/gcj/beans/editors/NativeBooleanEditor.java: Removed.
2813	* gnu/gcj/beans/editors/NativeByteEditor.java: Removed.
2814	* gnu/gcj/beans/editors/NativeDoubleEditor.java: Removed.
2815	* gnu/gcj/beans/editors/NativeFloatEditor.java: Removed.
2816	* gnu/gcj/beans/editors/NativeIntEditor.java: Removed.
2817	* gnu/gcj/beans/editors/NativeLongEditor.java: Removed.
2818	* gnu/gcj/beans/editors/NativeShortEditor.java: Removed.
2819	* gnu/gcj/beans/editors/StringEditor.java: Removed.
2820	* gnu/gcj/beans/info/ComponentBeanInfo.java: Removed.
2821	* gnu/gcj/io/ClassLoaderObjectInputStream.java: Removed.
2822	* gnu/gcj/io/NullOutputStream.java: Removed.
2823	* gnu/gcj/io/ObjectIdentityWrapper.java: Removed.
2824	* gnu/gcj/lang/ArrayHelper.java: Removed.
2825	* gnu/gcj/lang/ClassHelper.java: Removed.
2826	* gnu/gcj/lang/reflect/TypeSignature.java: Removed.
2827
2828	* gnu/java/beans/BeanInfoEmbryo.java: New file.
2829	* gnu/java/beans/EmptyBeanInfo.java: New file.
2830	* gnu/java/beans/ExplicitBeanInfo.java: New file.
2831	* gnu/java/beans/IntrospectionIncubator.java: New file.
2832	* gnu/java/beans/editors/ColorEditor.java: New file.
2833	* gnu/java/beans/editors/FontEditor.java: New file.
2834	* gnu/java/beans/editors/NativeBooleanEditor.java: New file.
2835	* gnu/java/beans/editors/NativeByteEditor.java: New file.
2836	* gnu/java/beans/editors/NativeDoubleEditor.java: New file.
2837	* gnu/java/beans/editors/NativeFloatEditor.java: New file.
2838	* gnu/java/beans/editors/NativeIntEditor.java: New file.
2839	* gnu/java/beans/editors/NativeLongEditor.java: New file.
2840	* gnu/java/beans/editors/NativeShortEditor.java: New file.
2841	* gnu/java/beans/editors/StringEditor.java: New file.
2842	* gnu/java/beans/info/ComponentBeanInfo.java: New file.
2843	* gnu/java/io/ClassLoaderObjectInputStream.java: New file.
2844	* gnu/java/io/NullOutputStream.java: New file.
2845	* gnu/java/io/ObjectIdentityWrapper.java: New file.
2846	* gnu/java/lang/ArrayHelper.java: New file.
2847	* gnu/java/lang/ClassHelper.java: New file.
2848	* gnu/java/lang/reflect/TypeSignature.java: New file.
2849
2850	* Makefile.am: Updated for moving Classpath files from gnu/gcj
2851	namespace back to the original Classpath gnu/java namespace.
2852	* Makefile.in: Rebuilt.
2853
2854	* java/beans/Beans.java: Namespace change.
2855	* java/beans/EventSetDescriptor.java: Namespace change.
2856	* java/beans/Introspector.java: Namespace change.
2857	* java/beans/PropertyEditorManager.java: Namespace change.
2858	* java/io/ObjectInputStream.java: Namespace change.
2859	* java/io/ObjectOutputStream.java: Namespace change.
2860	* java/io/ObjectStreamClass.java: Namespace change.
2861	* java/io/ObjectStreamField.java: Namespace change.
2862
28632000-04-21  Warren Levy  <warrenl@cygnus.com>
2864
2865	* java/io/ObjectInputStream.java: Reverted workarounds of 2000-04-13
2866	now that compiler patch is available.
2867	Removed unneeded System.loadLibrary.
2868	* java/io/ObjectOutputStream.java: Removed unneeded System.loadLibrary.
2869	* java/io/ObjectStreamClass.java: Removed unneeded System.loadLibrary.
2870
28712000-04-19  Andrew Haley  <aph@cygnus.com>
2872
2873	* java/lang/natClass.cc (_Jv_IsAssignableFrom): Make sure source
2874	and target classes have been initialized.
2875
28762000-04-19  Andrew Haley  <aph@cygnus.com>
2877
2878	* java/lang/String.java: implement Serializable, Comparable.
2879	(compareTo (Object)): New method.
2880
28812000-04-19  Warren Levy  <warrenl@cygnus.com>
2882
2883	* java/io/ObjectStreamClass.java (getDefinedSUID): Use getDeclaredField
2884	instead of getField to retrieve non-public field.
2885	(getSerialPersistantFields): Ditto.
2886
28872000-04-18  Warren Levy  <warrenl@cygnus.com>
2888
2889	* mauve-libgcj: Turned off object serialization tests temporarily
2890	due to compiler error.
2891
28922000-04-17  Warren Levy  <warrenl@cygnus.com>
2893
2894	* java/io/ObjectInputStream.java (DEBUG): Disabled unused method
2895	to avoid build problem.
2896	(DEBUGln): Ditto.
2897	* mauve-libgcj: Turned on object serialization tests.
2898
28992000-04-17  Tom Tromey  <tromey@cygnus.com>
2900
2901	* libgcj.spec.in (*lib): Added -lgcjawt.
2902
29032000-04-17  Andrew Haley  <aph@cygnus.com>
2904
2905	* Makefile.am: Add new files:
2906	gnu/gcj/io/SimpleSHSStream.java, gnu/gcj/io/natSimpleSHSStream.cc,
2907	gnu/gcj/io/shs.cc.
2908	* Makefile.in: Rebuilt.
2909
2910	* java/lang/natClass.cc (_Jv_IsAssignableFrom): Check for an
2911	interface that has no implementations.
2912	Check for an attempt to assign an abstract class to an interface.
2913
2914	* java/io/ObjectStreamClass.java (setUID): Use a SimpleSHSStream
2915	if we fail to find MessageDigest.getInstance ("SHA").
2916
2917	* gnu/gcj/io/SimpleSHSStream.java: New file.
2918	* gnu/gcj/io/natSimpleSHSStream.java: New file.
2919	* gnu/gcj/io/shs.cc: New file.
2920	* gnu/gcj/io/shs.h: new file.
2921
2922	* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Make arrays
2923	serializable.
2924
2925	* gnu/gcj/lang/reflect/TypeSignature.java: Don't remove
2926	punctuation from the classname of an array element.
2927
2928	* gcj/javaprims.h: Add SimpleDigestStream.
2929
29302000-04-17  Andrew Haley  <aph@cygnus.com>
2931
2932	* java/lang/natClass.cc (getPrivateField): Make recursive calls
2933	to getPrivateField for superclasses.
2934
29352000-04-14  Andrew Haley  <aph@cygnus.com>
2936
2937	* Makefile.am: Add new files:
2938	java/io/ObjectOutputStream$PutField.h,
2939	java/io/ObjectInputStream$GetField.h,java/io/natObjectInputStream.cc,
2940	java/io/natObjectOutputStream.cc
2941	* Makefile.in: Rebuilt.
2942	* gcj/Makefile.in: Rebuilt.
2943	* include/Makefile.in: Rebuilt.
2944	* java/lang/Class.h (getPrivateField): New method.
2945	(getPrivateMethod): Ditto.
2946	Make java::io::ObjectOutputStream, java::io::ObjectInputStream,
2947	and java::io::ObjectStreamClass our friends.
2948	* java/lang/natClass.cc (getPrivateField): New method.
2949	(getPrivateMethod): Ditto.
2950	(_Jv_IsAssignableFrom): Return false for Interface with no IDT.
2951	* gcj/javaprims.h: Add serialization classes.
2952	* java/io/ObjectInputStream.java (setBooleanField): Rewrite in Java.
2953	(setByteField): Ditto.
2954	(setCharField): Ditto.
2955	(setDoubleField): Ditto.
2956	(setFloatField): Ditto.
2957	(setIntField): Ditto.
2958	(setLongField): Ditto.
2959	(setShortField): Ditto.
2960	(setObjectField): Ditto.
2961	* java/io/ObjectOutputStream.java: (getBooleanField): Rewrite in
2962	Java.
2963	(getByteField): Ditto.
2964	(getCharField): Ditto.
2965	(getDoubleField): Ditto.
2966	(getFloatField): Ditto.
2967	(getIntField): Ditto.
2968	(getLongField): Ditto.
2969	(getShortField): Ditto.
2970	(getObjectField): Ditto.
2971	* java/io/ObjectStreamClass.java (hasClassInitializer): Rewrite in
2972	Java.
2973	(getSerialPersistantFields): Ditto.
2974	(getDefinedSUID): Ditto.
2975	* java/io/natObjectOutputStream.cc: New file.
2976	* java/io/natObjectInputStream.cc: New file.
2977
29782000-04-13  Warren Levy  <warrenl@cygnus.com>
2979
2980	* java/io/ObjectInputStream.java: Temporary workarounds for compiler
2981	problems.  Revert to previous version to reproduce and when fixed.
2982
29832000-04-13  Warren Levy  <warrenl@cygnus.com>
2984
2985	* gnu/gcj/io/ClassLoaderObjectInputStream.java: New file.
2986	* gnu/gcj/io/NullOutputStream.java: New file.
2987	* gnu/gcj/lang/reflect/TypeSignature.java: New file.
2988	* java/io/BlockDataException.java: New file.
2989	* java/io/Externalizable.java: New file.
2990	* java/io/InvalidClassException.java: New file.
2991	* java/io/InvalidObjectException.java: New file.
2992	* java/io/NotActiveException.java: New file.
2993	* java/io/NotSerializableException.java: New file.
2994	* java/io/ObjectInput.java: New file.
2995	* java/io/ObjectInputStream.java: New file.
2996	* java/io/ObjectInputValidation.java: New file.
2997	* java/io/ObjectOutput.java: New file.
2998	* java/io/ObjectOutputStream.java: New file.
2999	* java/io/ObjectStreamClass.java: New file.
3000	* java/io/ObjectStreamConstants.java: New file.
3001	* java/io/ObjectStreamField.java: New file.
3002	* java/io/Replaceable.java: New file.
3003	* java/io/Resolvable.java: New file.
3004	* java/io/SerializablePermission.java: New file.
3005	* java/io/WriteAbortedException.java: New file.
3006	* java/security/BasicPermission.java: New file.
3007	* java/security/DigestOutputStream.java: New file.
3008	* java/security/Guard.java: New file.
3009	* java/security/Permission.java: New file.
3010	* java/security/PermissionCollection.java: New file.
3011	* Makefile.am: Added above files.
3012	* Makefile.in: Rebuilt.
3013
3014	* java/beans/Beans.java (instantiate): Activated serialization code.
3015	* java/lang/SecurityManager.java (checkPermission): New method.
3016
30172000-04-12  Warren Levy  <warrenl@cygnus.com>
3018
3019	* gnu/gcj/beans/BeanInfoEmbryo.java: New file.
3020	* gnu/gcj/beans/EmptyBeanInfo.java: New file.
3021	* gnu/gcj/beans/ExplicitBeanInfo.java: New file.
3022	* gnu/gcj/beans/IntrospectionIncubator.java: New file.
3023	* gnu/gcj/beans/editors/ColorEditor.java: New file.
3024	* gnu/gcj/beans/editors/FontEditor.java: New file.
3025	* gnu/gcj/beans/editors/NativeBooleanEditor.java: New file.
3026	* gnu/gcj/beans/editors/NativeByteEditor.java: New file.
3027	* gnu/gcj/beans/editors/NativeDoubleEditor.java: New file.
3028	* gnu/gcj/beans/editors/NativeFloatEditor.java: New file.
3029	* gnu/gcj/beans/editors/NativeIntEditor.java: New file.
3030	* gnu/gcj/beans/editors/NativeLongEditor.java: New file.
3031	* gnu/gcj/beans/editors/NativeShortEditor.java: New file.
3032	* gnu/gcj/beans/editors/StringEditor.java: New file.
3033	* gnu/gcj/beans/info/ComponentBeanInfo.java: New file.
3034	* gnu/gcj/io/ObjectIdentityWrapper.java: New file.
3035	* gnu/gcj/lang/ArrayHelper.java: New file.
3036	* gnu/gcj/lang/ClassHelper.java: New file.
3037	* java/beans/BeanDescriptor.java: New file.
3038	* java/beans/BeanInfo.java: New file.
3039	* java/beans/Beans.java: New file.
3040	* java/beans/Customizer.java: New file.
3041	* java/beans/DesignMode.java: New file.
3042	* java/beans/EventSetDescriptor.java: New file.
3043	* java/beans/FeatureDescriptor.java: New file.
3044	* java/beans/IndexedPropertyDescriptor.java: New file.
3045	* java/beans/IntrospectionException.java: New file.
3046	* java/beans/Introspector.java: New file.
3047	* java/beans/MethodDescriptor.java: New file.
3048	* java/beans/ParameterDescriptor.java: New file.
3049	* java/beans/PropertyChangeEvent.java: New file.
3050	* java/beans/PropertyChangeListener.java: New file.
3051	* java/beans/PropertyChangeSupport.java: New file.
3052	* java/beans/PropertyDescriptor.java: New file.
3053	* java/beans/PropertyEditor.java: New file.
3054	* java/beans/PropertyEditorManager.java: New file.
3055	* java/beans/PropertyEditorSupport.java: New file.
3056	* java/beans/PropertyVetoException.java: New file.
3057	* java/beans/SimpleBeanInfo.java: New file.
3058	* java/beans/VetoableChangeListener.java: New file.
3059	* java/beans/VetoableChangeSupport.java: New file.
3060	* java/beans/Visibility.java: New file.
3061	* java/beans/beancontext/BeanContext.java: New file.
3062	* java/beans/beancontext/BeanContextChild.java: New file.
3063	* java/beans/beancontext/BeanContextChildComponentProxy.java: New file.
3064	* java/beans/beancontext/BeanContextChildSupport.java: New file.
3065	* java/beans/beancontext/BeanContextContainerProxy.java: New file.
3066	* java/beans/beancontext/BeanContextEvent.java: New file.
3067	* java/beans/beancontext/BeanContextMembershipEvent.java: New file.
3068	* java/beans/beancontext/BeanContextMembershipListener.java: New file.
3069	* java/beans/beancontext/BeanContextProxy.java: New file.
3070	* java/beans/beancontext/BeanContextServiceAvailableEvent.java:
3071	New file.
3072	* java/beans/beancontext/BeanContextServiceProvider.java: New file.
3073	* java/beans/beancontext/BeanContextServiceProviderBeanInfo.java:
3074	New file.
3075	* java/beans/beancontext/BeanContextServiceRevokedEvent.java: New file.
3076	* java/beans/beancontext/BeanContextServiceRevokedListener.java:
3077	New file.
3078	* java/beans/beancontext/BeanContextServices.java: New file.
3079	* java/beans/beancontext/BeanContextServicesListener.java: New file.
3080	* java/util/AbstractCollection.java: New file.
3081	* java/util/AbstractList.java: New file.
3082	* java/util/Arrays.java: New file.
3083	* Makefile.am: Added above files.
3084	* Makefile.in: Rebuilt.
3085
30862000-04-11  Warren Levy  <warrenl@cygnus.com>
3087
3088	* java/awt/AWTError.java: New file.
3089	* java/awt/AWTEvent.java: New file.
3090	* java/awt/AWTException.java: New file.
3091	* java/awt/ActiveEvent.java: New file.
3092	* java/awt/Adjustable.java: New file.
3093	* java/awt/BorderLayout.java: New file.
3094	* java/awt/Color.java: New file.
3095	* java/awt/Component.java: New file.
3096	* java/awt/Container.java: New file.
3097	* java/awt/Dimension.java: New file.
3098	* java/awt/Event.java: New file.
3099	* java/awt/Font.java: New file.
3100	* java/awt/Frame.java: New file.
3101	* java/awt/Graphics.java: New file.
3102	* java/awt/IllegalComponentStateException.java: New file.
3103	* java/awt/Image.java: New file.
3104	* java/awt/ItemSelectable.java: New file.
3105	* java/awt/LayoutManager.java: New file.
3106	* java/awt/LayoutManager2.java: New file.
3107	* java/awt/Menu.java: New file.
3108	* java/awt/MenuBar.java: New file.
3109	* java/awt/MenuComponent.java: New file.
3110	* java/awt/MenuContainer.java: New file.
3111	* java/awt/MenuItem.java: New file.
3112	* java/awt/Paint.java: New file.
3113	* java/awt/PaintContext.java: New file.
3114	* java/awt/Point.java: New file.
3115	* java/awt/Rectangle.java: New file.
3116	* java/awt/Shape.java: New file.
3117	* java/awt/TextArea.java: New file.
3118	* java/awt/TextComponent.java: New file.
3119	* java/awt/Toolkit.java: New file.
3120	* java/awt/Transparency.java: New file.
3121	* java/awt/Window.java: New file.
3122	* java/awt/natToolkit.cc: New file.
3123	* java/awt/event/AWTEventListener.java: New file.
3124	* java/awt/event/ActionEvent.java: New file.
3125	* java/awt/event/ActionListener.java: New file.
3126	* java/awt/event/AdjustmentEvent.java: New file.
3127	* java/awt/event/AdjustmentListener.java: New file.
3128	* java/awt/event/ComponentAdapter.java: New file.
3129	* java/awt/event/ComponentEvent.java: New file.
3130	* java/awt/event/ComponentListener.java: New file.
3131	* java/awt/event/ContainerAdapter.java: New file.
3132	* java/awt/event/ContainerEvent.java: New file.
3133	* java/awt/event/ContainerListener.java: New file.
3134	* java/awt/event/FocusAdapter.java: New file.
3135	* java/awt/event/FocusEvent.java: New file.
3136	* java/awt/event/FocusListener.java: New file.
3137	* java/awt/event/InputEvent.java: New file.
3138	* java/awt/event/InputMethodEvent.java: New file.
3139	* java/awt/event/InputMethodListener.java: New file.
3140	* java/awt/event/InvocationEvent.java: New file.
3141	* java/awt/event/ItemEvent.java: New file.
3142	* java/awt/event/ItemListener.java: New file.
3143	* java/awt/event/KeyAdapter.java: New file.
3144	* java/awt/event/KeyEvent.java: New file.
3145	* java/awt/event/KeyListener.java: New file.
3146	* java/awt/event/MouseAdapter.java: New file.
3147	* java/awt/event/MouseEvent.java: New file.
3148	* java/awt/event/MouseListener.java: New file.
3149	* java/awt/event/MouseMotionAdapter.java: New file.
3150	* java/awt/event/MouseMotionListener.java: New file.
3151	* java/awt/event/PaintEvent.java: New file.
3152	* java/awt/event/TextEvent.java: New file.
3153	* java/awt/event/TextListener.java: New file.
3154	* java/awt/event/WindowAdapter.java: New file.
3155	* java/awt/event/WindowEvent.java: New file.
3156	* java/awt/event/WindowListener.java: New file.
3157	* java/awt/geom/Dimension2D.java: New file.
3158	* java/awt/geom/Point2D.java: New file.
3159	* java/awt/peer/ComponentPeer.java: New file.
3160	* java/awt/peer/ContainerPeer.java: New file.
3161	* java/awt/peer/FramePeer.java: New file.
3162	* java/awt/peer/WindowPeer.java: New file.
3163	* java/util/Collection.java: New file.
3164	* java/util/Comparator.java: New file.
3165	* java/util/Iterator.java: New file.
3166	* java/util/List.java: New file.
3167	* java/util/ListIterator.java: New file.
3168	* Makefile.am: Added above files.
3169	* Makefile.in: Rebuilt.
3170
31712000-04-10  Warren Levy  <warrenl@cygnus.com>
3172
3173	* gnu/gcj/runtime/MethodInvocation.java: Fixed copyright.
3174	* java/lang/FirstThread.java: Ditto.
3175	* java/lang/StringBuffer.java: Ditto.
3176	* mauve-libgcj: Turned on java.math, java.sql and java.security tests.
3177
3178	* gnu/gcj/math/MPN.java (rshift): Undid Boehm's patch of 03-14.
3179	Special case handled in java.math.BigInteger.
3180	* java/math/BigInteger.java (divide): Handle the special case when
3181	dividing by 1 and the high bit of the dividend is set.
3182	(setShiftRight): Handle case when count == 0.
3183
31842000-04-05  Andrew Haley  <aph@cygnus.com>
3185
3186	* java/net/URL.java (setURLStreamHandler): Make "file" protocol a
3187	special case.
3188
31892000-04-05  Andrew Haley  <aph@cygnus.com>
3190
3191	* sysdep/ia64.c (rse_address_add): Delete.
3192	(IS_NaT_COLLECTION_ADDR): Delete.
3193	(ia64_backtrace_helper): check for null unwind_info.
3194
3195	* sysdep/ia64-frame.h: add calc_caller_bsp.
3196
3197	* java/lang/natThrowable.cc (printRawStackTrace): Flush
3198	PrintWriter.
3199
3200	* prims.cc (_Jv_divI): Use _Jv_ThrowSignal.
3201	(_Jv_remI): Likewise.
3202	(_Jv_divJ): Likewise.
3203	(_Jv_remJ): Likewise.
3204
3205	* interpret.cc (continue1): Use divide subroutines to guarantee
3206	correct Java standard behaviour.
3207	Floating-point division should not abort; make it so.
3208
32092000-03-29  Tom Tromey  <tromey@cygnus.com>
3210
3211	* configure: Rebuilt.
3212	* configure.in: Test against `libgcj_sjlj', not
3213	`enable_sjlj_exceptions'.  Rearranged code to allow SYSDEP_SOURCES
3214	to be set even when using sjlj.
3215
32162000-03-24  Andrew Haley  <aph@cygnus.com>
3217
3218	* Makefile.am: Add file addr2name.awk.
3219	* Makefile.in: Rebuilt.
3220	* addr2name.awk: New file.
3221	* name-finder.cc (_Jv_name_finder): Call addr2name.awk to do name
3222	lookups on ia64.
3223	* java/lang/natThrowable.cc(printRawStackTrace): Don't print out a
3224	blank line.
3225
32262000-03-22  Andrew Haley  <aph@cygnus.com>
3227
3228	* configure.host: Add -funwind-tables for IA64.
3229	* Makefile.am (c_source_files): Add SYSDEP_SORCES.
3230	* Makefile.in: Rebuilt.
3231	* java/lang/natThrowable.cc (fillInStackTrace): Add ia64 case.
3232	* sysdep/ia64.c: New file.
3233	* sysdep/ia64-frame.h: New file.
3234	* configure.in: Add sysdep/ia64.c for ia64.
3235	* configure: Rebuilt.
3236
32372000-03-17  Andrew Haley  <aph@cygnus.com>
3238
3239	* java/lang/natString.cc: Remove `register' keyword.
3240	interpret.cc: ditto.
3241
32422000-03-16  Andrew Haley  <aph@cygnus.com>
3243
3244	* configure.host (ia64): Enable interpreter.
3245
32462000-03-14  Hans Boehm  <boehm@acm.org>
3247
3248	* gnu/gcj/math/MPN.java (rshift): Handle shift 32 specially.
3249
32502000-03-14  Andrew Haley  <aph@cygnus.com>
3251
3252	* include/default-signal.h (MAKE_THROW_FRAME): Add arg
3253	`_exception'.
3254
32552000-03-10  Andrew Haley  <aph@cygnus.com>
3256
3257	* java/lang/ieeefp.h: Import latest version from fdlibm.
3258
32592000-03-14  Andrew Haley  <aph@cygnus.com>
3260
3261	* prims.cc (_Jv_ThrowSignal): New function.
3262	(catch_segv): Add arg `_exception' to MAKE_THROW_FRAME.
3263	(catch_fpe): Ditto.
3264	* include/sparc-signal.h (MAKE_THROW_FRAME): Ditto
3265	* include/i386-signal.h (MAKE_THROW_FRAME): Ditto.
3266	* include/ppc-signal.h: New file.
3267
32682000-05-18  Bryce McKinlay  <bryce@albatross.co.nz>
3269
3270	* java/lang/Thread.java: Declare `data' as Object, not RawData.
3271	* java/lang/natThread.java (initialize_native): Cast `data' to
3272	jobject.
3273	* gnu/gcj/RawData.java: Clarify documentation.
3274
3275	From Gregory R. Warnes <warnes@biostat.washington.edu>:
3276	* gnu/gcj/protocol/jar/Connection.java (getJarFile): Test for null
3277	`jarFile', not `jarFileURL'.
3278
32792000-05-15  Andrew Haley  <aph@cygnus.com>
3280
3281	* include/ppc-signal.h: New file.
3282
32832000-05-11  Tom Tromey  <tromey@cygnus.com>
3284
3285	* java/util/zip/ZipInputStream.java (getNextEntry): When reading
3286	file headers, don't include `size' in the skip call.
3287
32882000-05-10  Bryce McKinlay  <bryce@albatross.co.nz>
3289
3290	* java/lang/StringBuffer.java (delete): Call arrayCopy() correctly.
3291	Avoid arrayCopy() call where possible. Update `count' _after_ calling
3292	arrayCopy().
3293	(replace): Reimplemented. Fix javadoc.
3294	(reverse): Call ensureCapacity_unsynchronized().
3295	(StringBuffer (String)): Use DEFAULT_CAPACITY.
3296
3297	(replace): Calculate length for arraycopy() correctly.
3298
32992000-05-09  Tom Tromey  <tromey@cygnus.com>
3300
3301	* java/lang/StringBuffer.java (toString): Don't mark buffer as
3302	shared.
3303	(insert(int,char[],int,int): New method.
3304	(delete): New method from Classpath.
3305	(deleteCharAt): Likewise.
3306	(substring): Likewise.
3307	(shared): No longer private.
3308	Added JavaDoc comments from Classpath.
3309	* java/lang/String.java (String(StringBuffer)): Ensure `buffer' is
3310	shared.
3311
33122000-05-07  Tom Tromey  <tromey@cygnus.com>
3313
3314	* Makefile.in: Rebuilt.
3315	* Makefile.am (LIBLINK): New macro.
3316	(libgcj_la_LINK): Use it.
3317	(libgcjawt_la_LINK): Likewise.
3318
33192000-05-06  Tom Tromey  <tromey@cygnus.com>
3320
3321	* Makefile.in: Rebuilt.
3322	* Makefile.am (libgcj.zip): Don't pass -L to javac.
3323
33242000-05-05  Tom Tromey  <tromey@cygnus.com>
3325
3326	Fix for PR libgcj/220:
3327	* Makefile.in: Rebuilt.
3328	* Makefile.am (gij_LDFLAGS): Don't use libstdc++.
3329	(jv_convert_LDFLAGS): Likewise.
3330	(libgcj_la_LDFLAGS): Likewise.
3331	(GCJLINK): New macro.
3332	(jv_convert_LINK): Use it.
3333	(gij_LINK): Likewise.
3334	(libgcj_la_LINK): New macro.
3335	(libgcjawt_la_LINK): Likewise.
3336
33372000-05-04  Tom Tromey  <tromey@cygnus.com>
3338
3339	* gcj/field.h (JvFieldIsRef): Return false for gnu.gcj.RawData
3340	field.
3341	* boehm.cc (_Jv_MarkObj): Removed dead code.  Use `STATIC', not
3342	`0x0008'.
3343	Include Modifier.h.
3344
33452000-05-05  Bryce McKinlay  <bryce@albatross.co.nz>
3346
3347	* java/lang/natClass.cc (isInstance): Use __builtin_expect.
3348	(_Jv_IsAssignableFrom): Ditto.
3349	(_Jv_IsInstanceOf): Ditto.
3350	(_Jv_CheckCast): Ditto.
3351	(_Jv_CheckArrayStore): Ditto.
3352	* java/lang/Class.h (_Jv_InitClass): Ditto.
3353	* java/lang/natObject.cc (_Jv_MonitorEnter): __builtin_expect `false',
3354	not `0'.
3355	(notify): Ditto.
3356	(notifyAll): Ditto.
3357	(wait): Ditto.
3358	(_Jv_MonitorExit): Ditto.
3359	* boehm.cc (_Jv_MarkObj): Ditto.
3360	(_Jv_MarkObj): Ditto.
3361	(_Jv_MarkArray): Ditto.
3362	* prims.cc (_Jv_AllocObject): Ditto.
3363	(_Jv_NewObjectArray): Ditto.
3364	(_Jv_NewPrimArray): Ditto.
3365	(_Jv_Malloc): Ditto.
3366	(_Jv_Realloc): Ditto.
3367	(_Jv_MallocUnchecked): Ditto.
3368	(_Jv_divI): Ditto.
3369	(_Jv_remI): Ditto.
3370	(_Jv_divJ): Ditto.
3371	(_Jv_remJ): Ditto.
3372
33732000-05-04  Tom Tromey  <tromey@cygnus.com>
3374
3375	* java/util/Locale.java (Locale): Don't explicitly check for
3376	null.
3377	* java/util/Hashtable.java (containsKey): Don't explicitly check
3378	for null.
3379	(get): Likewise.
3380	* java/util/BitSet.java (and, or, xor): Don't explicitly check for
3381	null.
3382	* java/util/zip/ZipEntry.java (ZipEntry): Don't explicitly check
3383	for null.
3384	* java/text/StringCharacterIterator.java
3385	(StringCharacterIterator): Don't check for null.
3386	* java/text/ChoiceFormat.java (setChoices): Don't explicitly check
3387	for null pointer.
3388	* java/net/MulticastSocket.java (joinGroup): Don't explicitly
3389	check for null pointer.
3390	(leaveGroup): Likewise.
3391	* java/net/DatagramPacket.java (DatagramPacket): Removed erroneous
3392	comment.
3393	(setData): Likewise.
3394	* java/lang/ThreadGroup.java (ThreadGroup): Don't explicitly check
3395	for `p==null'.
3396
33972000-04-28  Jakub Jelinek  <jakub@redhat.com>
3398
3399	* Makefile.am (GCJCOMPILE, JCFLAGS, JF1CLAGS, jv_convert_LINK,
3400	gij_LINK, libgcj.zip, .java=.class): Move -L option out of FLAGS.
3401	(libgcj_la_LDFLAGS): Add -L../libstdc++ for in-gcc builds.
3402	(jv_convert_LDFLAGS, gij_LDFLAGS): Add `pwd`/../libstdc++ to
3403	-rpath for in-gcc builds.
3404	* Makefile.in: Rebuilt.
3405
34062000-04-28  Tom Tromey  <tromey@cygnus.com>
3407
3408	* libgcj.spec.in (*jc1): Added -fasynchronous-exceptions.
3409	Fix for PR gcj/218.
3410
34112000-04-28  Bryce McKinlay  <bryce@albatross.co.nz>
3412
3413	* libjava/java/lang/String.java (toString): Remove `final' hack.
3414
34152000-04-05  Tom Tromey  <tromey@cygnus.com>
3416
3417	Runtime support for PR gcj/2:
3418	* prims.cc (_Jv_ThrowNullPointerException): New function.
3419	* include/jvm.h (_Jv_ThrowNullPointerException): Declare.
3420
34212000-04-27  Bryce McKinlay  <bryce@albatross.co.nz>
3422
3423	* prims.cc (_Jv_NewObjectArray): Fix typo.
3424
34252000-04-26  Tom Tromey  <tromey@cygnus.com>
3426
3427	* Makefile.in: Rebuilt.
3428	* Makefile.am (AM_CXXFLAGS): Added -fasynchronous-exceptions.
3429
34302000-04-24  Jeff Sturm  <jsturm@sigma6.com>
3431
3432	* gnu/gcj/runtime/natFirstThread.cc (run): Initialize class before
3433	calling main.
3434
34352000-04-22  Anthony Green  <green@cygnus.com>
3436
3437	* include/jvm.h (__builtin_expect): Define as unused for now.
3438	* java/lang/natObject.cc (_Jv_MonitorEnter): Add __builtin_expect.
3439	(notify): Ditto.
3440	(notifyAll): Ditto.
3441	(wait): Ditto.
3442	(_Jv_MonitorExit): Ditto.
3443	* boehm.cc (_Jv_MarkObj): Ditto.
3444	(_Jv_MarkObj): Ditto.
3445	(_Jv_MarkArray): Ditto.
3446	(_Jv_AllocBytes): Ditto.
3447	* prims.cc (_Jv_AllocObject): Ditto.
3448	(_Jv_NewObjectArray): Ditto.
3449	(_Jv_NewPrimArray): Ditto.
3450	(_Jv_Malloc): Ditto.
3451	(_Jv_Realloc): Ditto.
3452	(_Jv_MallocUnchecked): Ditto.
3453	(_Jv_divI): Ditto.
3454	(_Jv_remI): Ditto.
3455	(_Jv_divJ): Ditto.
3456	(_Jv_remJ): Ditto.
3457
3458	* include/Makefile.in: Rebuilt.
3459	* include/Makefile.am (include_HEADERS): Add jvmpi.h.
3460
34612000-04-21  Tom Tromey  <tromey@cygnus.com>
3462
3463	* java/io/PipedInputStream.java, java/io/PipedOutputStream.java:
3464	Yet another new version from Classpath.
3465
3466	Fix for PR libgcj/15:
3467	* java/util/natGregorianCalendar.cc (_REENTRANT,
3468	_POSIX_PTHREAD_SEMANTICS): Don't define.
3469	* java/net/natInetAddress.cc (_REENTRANT): Don't define.
3470	* java/lang/natSystem.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS):
3471	Don't define.
3472	* java/io/natFile.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't
3473	define.
3474	* configure: Rebuilt.
3475	* configure.in: If using POSIX threads, define _REENTRANT if
3476	needed.  Define _POSIX_PTHREAD_SEMANTICS.  Don't define
3477	GETHOSTBYNAME_R_NEEDS_REENTRANT.
3478
3479	* java/io/PipedInputStream.java, java/io/PipedReader.java,
3480	java/io/PipedOutputStream.java, java/io/PipedWriter.java: New
3481	version from Classpath.
3482
3483	Fix for PR libgcj/213:
3484	* Makefile.in: Rebuilt.
3485	* Makefile.am (gij_SOURCES): Added gij.cc.
3486	(EXTRA_gij_SOURCES): Removed.
3487	(gij_LDADD): Removed gij.lo.
3488	(gij_DEPENDENCIES): Likewise.
3489	($(gij_OBJECTS)): Depend on nat_headers.
3490
3491	* gnu/gcj/protocol/file/Handler.java (openConnection): Use
3492	`setURL', not `url.set'.
3493
34942000-04-20  Tom Tromey  <tromey@cygnus.com>
3495
3496	Fix for PR java.io/204:
3497	* java/io/PipedInputStream.java, java/io/PipedReader.java,
3498	java/io/PipedOutputStream.java, java/io/PipedWriter.java: Imported
3499	from Classpath.
3500
3501	Fix for PR libgcj/212:
3502	* gcj/javaprims.h (_Jv_word, _Jv_word2): Removed definitions.
3503	* include/jvm.h (_Jv_word, _Jv_word2): Define.
3504	* java/lang/Class.h (_Jv_word): Declare.
3505
3506	* jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.
3507
35082000-04-19  Tom Tromey  <tromey@cygnus.com>
3509
3510	* jni.cc (_Jv_JNI_FindClass): Use system class loader if class
3511	doesn't have a loader.
3512
35132000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
3514
3515	* boehm.cc: (_Jv_MarkObj, _Jv_MarkArray): Cast pointers for
3516	MAYBE_MARK to ptr_t, for compatibility with new GC version.
3517
35182000-04-16  Bryce McKinlay  <bryce@albatross.co.nz>
3519
3520	* java/io/natFileDescriptorPosix.cc (open): Use mode 0666. Fix for PR
3521	libgcj/202.
3522	(available): Initialize `where' to prevent bogus compiler warning.
3523
35242000-04-12  Tom Tromey  <tromey@cygnus.com>
3525
3526	* java/lang/natString.cc (intern): Temporarily disable finalizer
3527	registration.
3528
3529	* java/lang/natString.cc (unintern): Added `obj' argument.
3530	(intern): Register finalizer for string.
3531	* java/lang/String.java (unintern): Now static; added obj
3532	argument.
3533
35342000-04-11  Tom Tromey  <tromey@cygnus.com>
3535
3536	* java/util/Vector.java (VectorEnumeration): Now `final'.
3537	* java/util/Hashtable.java (HashtableEntry): Now `final'.
3538	(HashtableEnumeration): Likewise.
3539	* java/util/zip/ZipFile.java (ZipEnumeration): Now `final'.
3540	* java/text/RuleBasedCollator.java (RBCElement): Now `final'.
3541
35422000-04-10  Warren Levy  <warrenl@cygnus.com>
3543
3544	* java/io/ObjectStreamException.java: New file.
3545	* java/io/OptionalDataException.java: New file.
3546	* java/io/StreamCorruptedException.java: New file.
3547	* java/math/BigDecimal.java: New file.
3548	* java/sql/CallableStatement.java: New file.
3549	* java/sql/Connection.java: New file.
3550	* java/sql/DataTruncation.java: New file.
3551	* java/sql/DatabaseMetaData.java: New file.
3552	* java/sql/Date.java: New file.
3553	* java/sql/Driver.java: New file.
3554	* java/sql/DriverManager.java: New file.
3555	* java/sql/DriverPropertyInfo.java: New file.
3556	* java/sql/PreparedStatement.java: New file.
3557	* java/sql/ResultSet.java: New file.
3558	* java/sql/ResultSetMetaData.java: New file.
3559	* java/sql/SQLException.java: New file.
3560	* java/sql/SQLWarning.java: New file.
3561	* java/sql/Statement.java: New file.
3562	* java/sql/Time.java: New file.
3563	* java/sql/Timestamp.java: New file.
3564	* java/sql/Types.java: New file.
3565	* Makefile.am: Added above new files.
3566	* Makefile.in: Rebuilt.
3567
3568	* mauve-libgcj: Turned on java.math, java.sql and java.security tests.
3569	* java/net/MulticastSocket.java (MulticastSocket): Pass values a la
3570	DatagramSocket constructor instead of null.
3571
35722000-04-08  Anthony Green  <green@cygnus.com>
3573
3574	* include/posix-threads.h (_Jv_MutexUnlock): Replace
3575	_JV_NOT_OWNER.
3576
35772000-04-08  Anthony Green  <green@cygnus.com>
3578
3579	* posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h.
3580	(_Jv_MutexUnlock): Ditto.
3581	* include/posix-threads.h (_Jv_MutexLock): From posix-threads.cc.
3582	(_Jv_MutexUnlock): Ditto.
3583
35842000-04-08  Anthony Green  <green@cygnus.com>
3585
3586	* java/lang/StringBuffer.java (ensureCapacity): Don't call Math::max.
3587	(ensureCapacity_unsynchronized): New private method.
3588	(append): Use ensureCapacity_unsynchronized.
3589
35902000-04-08  Tom Tromey  <tromey@cygnus.com>
3591
3592	* Makefile.in: Rebuilt.
3593	* Makefile.am (awt_java_source_files): Added new files.
3594	* java/awt/IllegalComponentStateException.java: New file.
3595	* java/awt/ItemSelectable.java: New file.
3596	* java/awt/event/WindowEvent.java: Finished.
3597	* java/awt/event/TextEvent.java: Finished.
3598	* java/awt/event/ContainerEvent.java: New file.
3599	* java/awt/Component.java (getX, getY): New methods.
3600	* java/awt/event/PaintEvent.java: New file.
3601	* java/awt/event/MouseEvent.java: New file.
3602	* java/awt/ActiveEvent.java: New file.
3603	* java/awt/event/KeyEvent.java: Finished.
3604	* java/awt/event/ItemEvent.java: New file.
3605	* java/awt/Adjustable.java: New file.
3606	* java/awt/event/InputMethodEvent.java: New file.
3607	* java/awt/event/InputEvent.java: Finished.
3608	* java/awt/event/FocusEvent.java: New file.
3609	* java/awt/event/MouseMotionAdapter.java: New file.
3610	* java/awt/event/MouseAdapter.java: New file.
3611	* java/awt/event/KeyAdapter.java: New file.
3612	* java/awt/event/FocusAdapter.java: New file.
3613	* java/awt/event/ContainerAdapter.java: New file.
3614	* java/awt/event/ComponentEvent.java: Finished.
3615	* java/awt/event/AdjustmentEvent.java: New file.
3616	* java/awt/event/ComponentAdapter.java: New file.
3617	* java/awt/event/ActionEvent.java: Finished.
3618	* java/awt/event/MouseMotionListener.java: New file.
3619	* java/awt/event/MouseListener.java: New file.
3620	* java/awt/event/ItemListener.java: New file.
3621	* java/awt/event/InputMethodListener.java: New file.
3622	* java/awt/event/ContainerListener.java: New file.
3623	* java/awt/event/FocusListener.java: New file.
3624	* java/awt/event/ComponentListener.java: New file.
3625	* java/awt/event/AWTEventListener.java: New file.
3626	* java/awt/event/AdjustmentListener.java: New file.
3627
36282000-04-08  Anthony Green  <green@cygnus.com>
3629
3630	* java/lang/natObject.cc (_Jv_MonitorEnter): Only perform null
3631	check when we have to.
3632
3633	* gcj/array.h: Mark elements(JArray<T>& x) and elements(JArray<T>*
3634	x) as `inline'.
3635
3636	* java/util/StringTokenizer.java: Minor optimization.  Eliminates
3637	one method call.
3638
3639	* java/util/Vector.java (VectorEnumeration.nextElement): Manually
3640	inline hasMoreElements.
3641
36422000-04-05  Tom Tromey  <tromey@cygnus.com>
3643
3644	* configure: Rebuilt.
3645	* configure.in: Recognize --enable-java-awt.
3646	(AWT): New conditional.
3647	* Makefile.in: Rebuilt.
3648	* Makefile.am (toolexeclib_LTLIBRARIES): Build libgcjawt.la if
3649	requested.
3650	(libgcjawt_la_SOURCES): New macro.
3651	(EXTRA_libgcjawt_la_SOURCES): Likewise.
3652	(libgcjawt_la_DEPENDENCIES): Likewise.
3653	(libgcjawt_la_LIBADD): Likewise.
3654	(libgcjawt_la_LDFLAGS): Likewise.
3655	(libgcj.zip): Depend on cond_java_awt_source_files
3656	(cond_awt_java_source_files): New macro.
3657	(MOSTLYCLEANFILES): Added awto_files.
3658	(awto_files): New macro.  Use where javao_files used.
3659	(nat_headers): Use cond_awt_java_source_files.
3660
36612000-04-04  Tom Tromey  <tromey@cygnus.com>
3662
3663	* Makefile.in: Rebuilt.
3664	* Makefile.am (awt_java_source_files): Added AWTException.java.
3665	* java/awt/AWTException.java: New file.
3666
36672000-04-03  Tom Tromey  <tromey@cygnus.com>
3668
3669	* include/jvm.h (_Jv_GetArrayElementFromElementType): More
3670	commentary from Alex.
3671
3672	* Makefile.in: Rebuilt.
3673	* Makefile.am ($(javao_files)): Depend on libgcj.zip.
3674	From H.J. Lu.
3675
3676Sun Apr  2 08:27:18 2000  Anthony Green  <green@redhat.com>
3677
3678	* configure: Rebuilt.
3679	* configure.in: Add --disable-jvmpi.
3680	* include/config.h.in: Rebuilt.
3681	* acconfig.h: Add ENABLE_JVMPI.
3682
3683	* include/jvm.h: Declare _Jv_DisableGC and _Jv_EnableGC.
3684	(_Jv_JVMPI_Notify_OBJECT_ALLOC): New define.
3685	(_Jv_JVMPI_Notify_THREAD_END): New define.
3686	(_Jv_JVMPI_Notify_THREAD_END): New define.
3687	* prims.cc (_Jv_JVMPI_Notify_OBJECT_ALLOC): Declare.
3688	(_Jv_JVMPI_Notify_THREAD_END): Declare.
3689	(_Jv_JVMPI_Notify_THREAD_END): Declare.
3690
3691	* prims.cc (_Jv_AllocObject): Generate JVMPI object allocation
3692	events.
3693
3694	* java/lang/natThread.cc: Include JVMPI headers if necessary.
3695	(finish_): Generate JVMPI thread end events.
3696	(run_): Generate JVMPI thread start events.
3697	* gnu/gcj/runtime/natFirstThread.cc (run): Call JNI_OnLoad for any
3698	preloaded JNI library.
3699	Include JVMPI headers if necessary.
3700	(run): Generate JVMPI thread start events.
3701
3702	* boehm.cc: Define GC_disable and GC_enable.
3703	(_Jv_DisableGC): New function.
3704	(_Jv_EnableGC): New function.
3705	(disable_gc_mutex): Declare.
3706	* nogc.cc (_Jv_DisableGC): New function.
3707	(_Jv_EnableGC): New function.
3708
3709	* jni.cc (_Jv_JNI_GetEnv): Handle JVMPI interface requests.
3710	(_Jv_JVMPI_Interface): Define.
3711	(jvmpiEnableEvent): New function.
3712	(_Jv_JNI_Init): Initialize _Jv_JVMPI_Interface.
3713
3714	* include/jvmpi.h: New file.
3715
37162000-03-27  Bryce McKinlay  <bryce@albatross.co.nz>
3717
3718	* Makefile.in: New #defines and friends for Thread.h.
3719	* Makefile.am: Ditto.
3720	* posix-threads.cc: (struct starter): Remove `object'.
3721	(_Jv_CondWait): Use interruptable condition variables and new
3722	recursive mutexes. New return codes on interrupt or non-ownership
3723	of mutex.
3724	(_Jv_CondNotify): Ditto.
3725	(_Jv_CondNotifyAll): Ditto.
3726	(_Jv_ThreadInterrupt): Set thread interrupt flag directly. Interrupt
3727	the target thread by signaling its wait condition.
3728	(_Jv_ThreadInitData): Set `thread_obj' in the thread data struct,
3729	not the starter struct. Initialize wait_mutex and wait_cond.
3730	(_Jv_MutexLock): New recursive mutex implementation. Moved from
3731	posix-threads.h.
3732	(_Jv_MutexUnlock): Ditto.
3733	(really_start): Set info->data->thread from pthread_self() to work
3734	around a race condition. Destroy wait_mutex and wait_cond when run()
3735	returns.
3736	* java/lang/Thread.java: (isInterrupted_): Renamed to overloaded
3737	`isInterrupted(boolean)'. Clear interrupted flag if clear_flag is
3738	set.
3739	startable_flag: New private field.
3740	(Thread): Initialize `startable_flag'.
3741	(toString): Check for null thread group.
3742	* java/lang/natThread.cc: (struct natThread): New fields
3743	`join_mutex', `join_cond'. Removed fields `joiner', `next'.
3744	(class locker): Removed.
3745	(initialize_native): Initialize `join_cond' and `join_mutex'.
3746	(interrupt): Now just calls _Jv_ThreadInterrupt().
3747	(join): Simplified. Just wait on the target thread's join condition.
3748	(finish_): Remove join list code. Unset thread group. Signal
3749	potential joiners by notifying the dying threads join_cond.
3750	(start): Check for illegal restarts.
3751	* java/lang/natObject.cc: Check for return value of _Jv_CondWait and
3752	act appropriatly.
3753	* include/posix-threads.h: Remove all HAVE_RECURSIVE_MUTEX related
3754	#defines and #ifdefs.
3755	(struct _Jv_Thread_t): New fields `thread_obj', `wait_cond',
3756	`wait_mutex', `next'.
3757	(struct _Jv_ConditionVariable_t): Define as a struct instead of
3758	directly mapping to pthread_cond_t.
3759	(struct _Jv_Mutex_t): New recursive implementation.
3760	(_Jv_PthreadCheckMonitor): Reimplemented. Simple `owner' check.
3761	_Jv_HaveCondDestroy: Never define this for posix-threads.
3762	(_Jv_CondNotify): Remove inline implementation(s), prototype instead.
3763	(_Jv_CondNotifyAll): Ditto.
3764	(_Jv_MutexLock): Ditto.
3765	(_Jv_MutexUnlock): Ditto.
3766	(_Jv_MutexInit): Changed to reflect new mutex implementation.
3767	(_Jv_MutexDestroy): Ditto.
3768	(_Jv_CondDestroy): Removed.
3769	(_Jv_PthreadGetMutex): Removed.
3770	* include/win32-threads.h: (_Jv_CondNotify): Guess _JV_NOT_OWNER on an
3771	error. Add a FIXME about this.
3772	(_Jv_CondNotifyAll): Ditto.
3773	* win32-threads.cc: (_Jv_CondWait): Return 0 on a timeout. Guess
3774	_JV_NOT_OWNER on other errors. Add FIXME.
3775
37762000-03-26  Tom Tromey  <tromey@cygnus.com>
3777
3778	* jni.cc (_Jv_JNI_PopSystemFrame): If environment has exception
3779	set, throw it.
3780	(call): Don't throw exception here.
3781
37822000-03-26  Tom Tromey  <tromey@cygnus.com>
3783
3784	* java/lang/mprec.h: Use SIZEOF_VOID_P.
3785	* interpret.cc: Use SIZEOF_VOID_P.
3786	* include/java-cpool.h (_Jv_storeLong): Use SIZEOF_VOID_P.
3787	(_Jv_loadLong): Likewise.
3788	(_Jv_storeDouble): Likewise.
3789	* configure: Rebuilt.
3790	* configure.in: Check size of void*.
3791
3792	* resolve.cc (ncode): Use FFI_PREP_RAW_CLOSURE and FFI_RAW_SIZE.
3793
37942000-03-26  Hans Boehm  <boehm@acm.org>
3795
3796	* include/java-cpool.h (_Jv_storeLong, _Jv_loadLong,
3797	_Jv_storeDouble, _Jv_loadDouble): Define differently on 64 bit
3798	machine.
3799	* java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN or
3800	__IEEE_LITTLE_ENDIAN appropriately on IA64.
3801	* java/lang/mprec.h: Don't define Pack_32 on 64 bit machine.
3802	* javaprims.h (_Jv_word): Added `l' and `d' entries in 64 bit
3803	case.
3804	* resolve.cc (FFI_PREP_RAW_CLOSURE): New define.
3805	(FFI_RAW_SIZE): Likewise.
3806	(_Jv_InterpMethod::ncode): Use them.
3807	* interpret.cc (PUSHL, PUSHD, POPL, POPD, LOADL, LOADD, STOREL,
3808	STORED): Define differently on a 64 bit machine.
3809	(continue1): Use ffi_java_raw_call when appropriate.
3810
38112000-03-24  Warren Levy  <warrenl@cygnus.com>
3812
3813	* java/math/BigInteger.java(divide): Handle the special case when
3814	dividing by 1 and the high bit of the dividend is set.
3815	(setShiftRight): Handle case when count == 0.
3816
38172000-03-24  Warren Levy  <warrenl@cygnus.com>
3818
3819	* java/awt/Font.java(isBold): Fix syntax error.
3820	(isItalic): ditto.
3821	* java/awt/Frame.java(postEvent): ditto.
3822	* java/awt/Menu.java(postEvent): ditto.
3823	* java/awt/MenuBar.java(postEvent): ditto.
3824	* java/awt/Toolkit.java(init): Included a stub.
3825
38262000-03-21  Bryce McKinlay  <bryce@albatross.co.nz>
3827
3828	* java/awt/Event.java: Add all the event type constants.
3829	(Event): Implemented constructors.
3830	(controlDown): Implemented.
3831	(metaDown): Implemented.
3832	(paramString): Stubbed.
3833	(shiftDown): Implemented.
3834	(toString): Implemented.
3835	(translate): Implemented.
3836
38372000-03-21  Bryce McKinlay  <bryce@albatross.co.nz>
3838
3839	* java/lang/natClass.cc (isInstance): Initialize `this'.
3840	(isAssignableFrom): Initialize `this' and `klass'.
3841	(_Jv_IsAssignableFrom): If an interface has no idt, it is not
3842	implemented by any loaded class, so return false.
3843	* java/lang/natClass.cc (isInstance): Use _Jv_IsAssignableFrom(),
3844	not Class.isAssignableFrom(). Use JV_CLASS, not getClass().
3845
38462000-03-19  Warren Levy  <warrenl@cygnus.com>
3847
3848	* java/awt/Color.java: Specified java.io for Serializable.
3849	* java/awt/Toolkit.java: Imported java.net.URL.
3850
38512000-03-19  Warren Levy  <warrenl@cygnus.com>
3852
3853	* java/awt/Color.java: Rewrote to be more memory efficient (& compile).
3854
38552000-03-16  Warren Levy  <warrenl@cygnus.com>
3856
3857	* java/awt/Color.java: New file.
3858	* java/awt/Graphics.java: New file.
3859	* java/awt/Image.java: New file.
3860	* java/awt/Paint.java: New file.
3861	* java/awt/PaintContext.java: New file.
3862	* java/awt/Transparency.java: New file.
3863	* java/util/Collection.java: New file.
3864	* java/util/Comparator.java: New file.
3865	* java/util/Iterator.java: New file.
3866	* java/util/List.java: New file.
3867	* java/util/ListIterator.java: New file.
3868	* Makefile.am: Added above new files.
3869	* Makefile.in: Rebuilt.
3870
3871	* java/awt/Font.java (PLAIN): New field.
3872	(BOLD): New field.
3873	(ITALIC): New field.
3874	(ROMAN_BASELINE): New field.
3875	(CENTER_BASELINE): New field.
3876	(HANGING_BASELINE): New field.
3877	(name): New field.
3878	(style): New field.
3879	(size): New field.
3880	(pointSize): New field.
3881	(Font): Implemented constructor.
3882	(isPlain): Implemented method.
3883	(isBold): Implemented method.
3884	(isItalic): Implemented method.
3885	(getName): Implemented method.
3886	(getStyle): Implemented method.
3887	(getSize): Implemented method.
3888	(getSize2D): Implemented method.
3889	(decode): Stubbed.
3890	* java/awt/Frame.java (getFont): Stubbed.
3891	(postEvent): Stubbed.
3892	(remove): Stubbed.
3893	* java/awt/Menu.java (postEvent): Stubbed.
3894	* java/awt/MenuBar.java (getFont): Stubbed.
3895	(postEvent): Stubbed.
3896	* java/awt/Toolkit.java (getImage): Added abstract method.
3897
38982000-03-15  Tom Tromey  <tromey@cygnus.com>
3899
3900	* java/io/natFileDescriptorWin32.cc (winerr): Now static.
3901
3902	* prims.cc (win32_exception_handler): Reformatted.
3903
3904	* include/win32-threads.h (_Jv_HaveCondDestroy): New define.
3905	(_Jv_HaveMutexDestroy): Likewise.
3906
39072000-03-15 Jon Beniston <jb7216@bristol.ac.uk>
3908
3909	* java/io/natFileDescriptorWin32.cc: New file.
3910	* java/io/natFileWin32.cc: New file.
3911	* java/net/natInetAddress.cc: Added conditional inclusion of
3912	Windows / Winsock headers.
3913	* java/net/natPlainDatagramSocketImpl.cc: Added conditional
3914	inclusion of Windows / Winsock headers.
3915	* java/net/natPlainSocketImpl.cc: Added conditional inclusion of
3916	Windows / Winsock headers.
3917	* include/win32-signal.h: New file.
3918	* include/win32-threads.h: New file.
3919	* win32-threads.cc: New file.
3920	* exception.cc (win32_get_restart_frame): New function.
3921	* prims.cc (win32_exception_handler): New function.
3922	(main_init) Performs Winsock initialisation.
3923	(main_init) Installs exeception handler.
3924
39252000-03-14  Tom Tromey  <tromey@cygnus.com>
3926
3927	* jni.cc (mangled_name): Fixed assertion.
3928	(JNI_GetCreatedJavaVMs): Don't comment out `buf_len' argument;
3929	turned assert into actual failure.
3930
39312000-03-09  Warren Levy  <warrenl@cygnus.com>
3932
3933	* java/security/Key.java(serialVersionUID): Set to 0 for now.
3934	* java/security/interfaces/DSAPrivateKey.java(serialVersionUID): Ditto.
3935	* java/security/interfaces/DSAPublicKey.java(serialVersionUID): Ditto.
3936
39372000-03-09  Warren Levy  <warrenl@cygnus.com>
3938
3939	* java/security/AlgorithmParameterGeneratorSpi.java: New file.
3940	* java/security/DigestException.java: New file.
3941	* java/security/GeneralSecurityException.java: New file.
3942	* java/security/InvalidAlgorithmParameterException.java: New file.
3943	* java/security/InvalidKeyException.java: New file.
3944	* java/security/InvalidParameterException.java: New file.
3945	* java/security/Key.java: New file.
3946	* java/security/KeyException.java: New file.
3947	* java/security/KeyPair.java: New file.
3948	* java/security/KeyPairGenerator.java: New file.
3949	* java/security/KeyPairGeneratorSpi.java: New file.
3950	* java/security/NoSuchProviderException.java: New file.
3951	* java/security/PrivateKey.java: New file.
3952	* java/security/Provider.java: New file.
3953	* java/security/PublicKey.java: New file.
3954	* java/security/SecureRandom.java: New file.
3955	* java/security/Security.java: New file.
3956	* java/security/Signature.java: New file.
3957	* java/security/SignatureException.java: New file.
3958	* java/security/interfaces/DSAKey.java: New file.
3959	* java/security/interfaces/DSAParams.java: New file.
3960	* java/security/interfaces/DSAPrivateKey.java: New file.
3961	* java/security/interfaces/DSAPublicKey.java: New file.
3962	* java/security/interfaces/RSAPrivateCrtKey.java: New file.
3963	* java/security/interfaces/RSAPrivateKey.java: New file.
3964	* java/security/interfaces/RSAPublicKey.java: New file.
3965	* java/security/spec/AlgorithmParameterSpec.java: New file.
3966	* java/security/spec/InvalidKeySpecException.java: New file.
3967	* java/security/spec/InvalidParameterSpecException.java: New file.
3968	* java/security/spec/KeySpec.java: New file.
3969	* java/security/spec/RSAPrivateCrtKeySpec.java: New file.
3970	* java/security/spec/RSAPrivateKeySpec.java: New file.
3971	* java/security/spec/RSAPublicKeySpec.java: New file.
3972	* Makefile.am: Added above java.security files.
3973	* Makefile.in: Rebuilt.
3974
3975	* java/security/MessageDigest.java: Rewritten.
3976	* java/security/SecureClassLoader.java: Added JDK1.2 comment.
3977
39782000-03-09  Bryce McKinlay  <bryce@albatross.co.nz>
3979
3980	* README: Updated.
3981
39822000-03-09  Bryce McKinlay  <bryce@albatross.co.nz>
3983
3984	* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Call
3985	_Jv_PrepareConstantTimeTables.
3986	* java/lang/natClass.cc (_Jv_PrepareConstantTimeTables): Array
3987	classes should have an IDT, so don't return if klass is an array
3988	class.
3989
39902000-03-08  Tom Tromey  <tromey@cygnus.com>
3991
3992	* java/lang/reflect/natArray.cc (newInstance): Don't allow array
3993	of `void' to be created.
3994
39952000-03-08  Warren Levy  <warrenl@cygnus.com>
3996
3997	* java/math/BigInteger.java(signum): Handle zero properly.
3998
39992000-03-07  Tom Tromey  <tromey@cygnus.com>
4000
4001	* All files: Updated copyright information.
4002	* COPYING: New file.
4003	* COPYING.LIB: Removed.
4004	* LIBGCJ_LICENSE: We now use GPL + special exception.
4005
40062000-03-07  Bryce McKinlay  <bryce@albatross.co.nz>
4007
4008	* resolve.cc (_Jv_SearchMethodInClass): New function.
4009	(_Jv_ResolvePoolEntry): Search superinterfaces for interface methods.
4010	* java/lang/Class.h (_Jv_SearchMethodInClass): New prototype.
4011
40122000-03-07  Bryce McKinlay  <bryce@albatross.co.nz>
4013
4014	* java/lang/Class.h (union _Jv_IDispatchTable): New declaration.
4015	(struct _Jv_ifaces): New declaration.
4016	JV_CLASS: New macro definition.
4017	(getComponentType): Relocate below isArray() for inlining.
4018	(getModifiers): Declare `inline'.
4019	(getSuperclass): Ditto.
4020	(isArray): Ditto.
4021	(isPrimitive): Ditto.
4022	(_Jv_IsAssignableFrom): New prototype.
4023	(_Jv_LookupInterfaceMethodIdx): New prototype. Predeclare with "C"
4024	linkage.
4025	(_Jv_InitClass): Move from natClass.cc. Declare `inline'.
4026	Check for JV_STATE_DONE before invoking initializeClass().
4027	(_Jv_PrepareConstantTimeTables): New prototype.
4028	(_Jv_GetInterfaces): Ditto.
4029	(_Jv_GenerateITable): Ditto.
4030	(_Jv_GetMethodString): Ditto.
4031	(_Jv_AppendPartialITable): Ditto.
4032	(_Jv_FindIIndex): Ditto.
4033	depth, ancestors, idt: New class fields.
4034
4035	* java/lang/natClass.cc (isAssignableFrom): Move functionality to
4036	inline function `_Jv_IsAssignableFrom'. Use that function.
4037	(isInstance): Declare `inline'.
4038	(initializeClass): Get lock on class before checking `state'. Unlock
4039	before calling resolveClass0. Call _Jv_PrepareConstantTimeTables with
4040	the lock held.
4041	(_Jv_LookupInterfaceMethod): Use _Jv_GetMessageString.
4042	(_Jv_IsAssignableFrom): New inline function. Test assignability using
4043	class->depth and ancestor table.
4044	(_Jv_IsInstanceOf): Use _Jv_IsAssignableFrom.
4045	(_Jv_CheckCast): Move from prims.cc. Use JV_CLASS and
4046	_Jv_IsAssignableFrom.
4047	(_Jv_CheckArrayStore): Ditto.
4048	(_Jv_LookupInterfaceMethodIdx): New function.
4049	INITIAL_IOFFSETS_LEN, INITIAL_IFACES_LEN: New #defines.
4050	(_Jv_PrepareConstantTimeTables): New function.
4051	(_Jv_IndexOf): Ditto.
4052	(_Jv_GetInterfaces): Ditto.
4053	(_Jv_GenerateITable): Ditto.
4054	(_Jv_GetMethodString): Ditto.
4055	(_Jv_AppendPartialITable): Ditto.
4056	iindex_mutex, iindex_mutex_initialized: New static fields.
4057	(_Jv_FindIIndex): New function.
4058
4059	* java/lang/natClassLoader.cc (_Jv_NewClass): Set new jclass fields.
4060
4061	* prims.cc (_Jv_CheckCast): Moved to natClass.cc.
4062	(_Jv_CheckArrayStore): Ditto.
4063	(JvNewCharArray, JvNewBooleanArray, JvNewByteArray, JvNewShortArray,
4064	JvNewIntArray, JvNewLongArray, JvNewFloatArray, JvNewDoubleArray):
4065	Moved to gcj/array.h.
4066	(_Jv_Realloc): New function.
4067
4068	* gcj/cni.h: Move _Jv_PrimClass definitions to gcj/array.h.
4069
4070	* gcj/array.h: _Jv_PrimClass definitions moved from gcj/cni.h.
4071	(JvNewCharArray, JvNewBooleanArray, JvNewByteArray,
4072	JvNewShortArray, JvNewIntArray, JvNewLongArray, JvNewFloatArray,
4073	JvNewDoubleArray): Implementations moved from prims.cc and
4074	declared `inline'.
4075
4076	* gcj/javaprims.h (_Jv_Realloc): Prototype.
4077
4078	* include/jvm.h (_Jv_LookupInterfaceMethodIdx): Prototype.
4079
40802000-03-06  Tom Tromey  <tromey@cygnus.com>
4081
4082	* jni.cc (MARK_NONE): New define.
4083	(MARK_USER): Likewise.
4084	(MARK_SYSTEM): Likewise.
4085	(struct _Jv_JNI_LocalFrame): Made `marker' bigger and `size'
4086	smaller.
4087	(_Jv_JNI_DeleteLocalRef): Use MARK_NONE in assert.
4088	(_Jv_JNI_EnsureLocalCapacity): Use MARK_NONE.
4089	(_Jv_JNI_PushLocalFrame): Use MARK_USER.
4090	(_Jv_JNI_PopLocalFrame): New version with additional `stop'
4091	argument.
4092	(call): Use MARK_SYSTEM.
4093	(_Jv_GetJNIEnvNewFrame): New function.
4094	(_Jv_LookupJNIMethod): New function.
4095	(_Jv_JNI_PopSystemFrame): New function.
4096	(call): Use _Jv_JNI_PopSystemFrame and _Jv_LookupJNIMethod.
4097
40982000-03-05  Tom Tromey  <tromey@cygnus.com>
4099
4100	Fix for PR libgcj/43:
4101	* include/Makefile.in: Rebuilt.
4102	* include/Makefile.am (include_HEADERS): New define.
4103
41042000-03-05  Anthony Green  <green@redhat.com>
4105
4106	* gcj/javaprims.h ("Java"): Remove FirstThread.
4107
4108	* configure.host: Fix __NO_MATH_INLNES botch.
4109
4110	* Makefile.in: Rebuilt.
4111	* Makefile.am (nat_source_files): Move natFirstThread.cc.
4112	(gnu/gcj/runtime/FirstThread.h): Moved.
4113	(ordinary_java_source_files): Move FirstThread.java.
4114	* prims.cc: Deal with FirstThread movement.
4115	(JvRunMain): Ditto.
4116	(_Jv_RunMain): Ditto.
4117
4118	* gnu/gcj/runtime/FirstThread.java: Moved from java/lang.
4119	* gnu/gcj/runtime/natFirstThread.cc: Ditto.
4120
41212000-03-05  Warren Levy  <warrenl@cygnus.com>
4122
4123	* java/net/DatagramSocket.java(DatagramSocket(int,InetAddress)):
4124	  Handle null addresses.
4125
41262000-03-04  Anthony Green  <green@redhat.com>
4127
4128	* configure.host (libgcj_flags): Define __NO_MATH_INLINES.
4129	See PR gcj/151.
4130
41312000-03-04  Anthony Green  <green@redhat.com>
4132
4133	* configure: Rebuilt.
4134	* configure.in (ZLIBTESTSPEC): New macro.
4135	(GCTESTSPEC): New macro.
4136	(LIBGCJTESTSPEC): New macro.
4137	* libgcj-test.spec.in: New file.
4138
41392000-03-02  Tom Tromey  <tromey@cygnus.com>
4140
4141	* include/java-interp.h: Don't include MethodInvocation.h.
4142	(class _Jv_InterpMethod): Don't make MethodInvocation a friend.
4143	* Makefile.in: Rebuilt.
4144	* Makefile.am (gnu/gcj/runtime/MethodInvocation.h): Removed.
4145	(ordinary_java_source_files): Don't mention
4146	MethodInvocation.java.
4147	* gnu/gcj/runtime/MethodInvocation.java: Removed.
4148	* interpret.cc (MethodInvocation::continue1): Removed.
4149	(run): Handle exceptions here.
4150	* java/lang/ClassLoader.java (defineClass1, defineClass2):
4151	Removed.
4152	* java/lang/natClassLoader.cc (defineClass0): Catch exceptions
4153	here.
4154	(defineClass2): Removed.
4155
4156	* java/lang/reflect/Method.java (hack_trampoline, hack_call):
4157	Removed.
4158	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Catch
4159	exceptions here.
4160	(hack_call): Removed.
4161
4162	* java/lang/Class.h (Class): Removed hackRunInitializers,
4163	hackTrampoline.
4164	* java/lang/natClass.cc (hackRunInitializers): Removed.
4165	(initializeClass): Catch exceptions here.
4166	Include ExceptionInInitializerError.h.
4167	* java/lang/Class.java (hackTrampoline, hackRunInitializers):
4168	Removed.
4169
4170	* java/lang/Object.h (Object): Don't mention hack12_6.
4171	* java/lang/natObject.cc (_Jv_FinalizeObject): Catch exceptions
4172	here.
4173	* java/lang/Object.java (hack12_6): Removed.
4174
4175	* java/lang/natThread.cc (run_): Renamed.  Catch exceptions here.
4176	(start): Use run_, not run__.
4177	* java/lang/Thread.java (run_): Renamed from run__; old run_
4178	removed.
4179
4180	* jni.cc (_Jv_JNI_FindClass): Handle exceptions.
4181	(_Jv_JNI_EnsureLocalCapacity): Likewise.
4182	(_Jv_JNI_DefineClass): Likewise.
4183	(_Jv_JNI_ThrowNew): Likewise.
4184	(_Jv_JNI_AllocObject): Likewise.
4185	(_Jv_JNI_GetAnyMethodID): Likewise.
4186	(_Jv_JNI_CallAnyMethodV): Likewise.
4187	(_Jv_JNI_CallAnyMethodA): Likewise.
4188	(_Jv_JNI_CallAnyVoidMethodV): Likewise.
4189	(_Jv_JNI_CallAnyVoidMethodA): Likewise.
4190	(_Jv_JNI_GetAnyFieldID): Likewise.
4191	(_Jv_JNI_NewString): Likewise.
4192	(_Jv_JNI_NewStringUTF): Likewise.
4193	(_Jv_JNI_GetStringUTFChars): Likewise.
4194	(_Jv_JNI_NewObjectArray): Likewise.
4195	(_Jv_JNI_NewPrimitiveArray): Likewise.
4196	(_Jv_JNI_GetPrimitiveArrayRegion): Likewise.
4197	(_Jv_JNI_GetStringRegion): Likewise.
4198	(_Jv_JNI_GetStringUTFRegion): Likewise.
4199	(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.
4200	(_Jv_JNI_MonitorEnter): Likewise.
4201	(_Jv_JNI_MonitorExit): Likewise.
4202	(_Jv_JNI_ToReflectedField): Likewise.
4203	(_Jv_JNI_ToReflectedMethod): Likewise.
4204	(_Jv_JNI_RegisterNatives): Likewise.
4205	(_Jv_JNI_AttachCurrentThread): Likewise.
4206	(_Jv_JNI_DestroyJavaVM): Likewise.
4207
42082000-02-28  Mo DeJong  <mdejong@cygnus.com>
4209
4210	* java/util/zip/ZipOutputStream.java(closeEntry) : Fixed
4211	error caused by the incorrect casting of a long to an int.
4212
42132000-02-28  Mo DeJong  <mdejong@cygnus.com>
4214
4215	* java/util/zip/ZipOutputStream.java(write_entry) : Fixed
4216	SIGSEV caused by use of the wrong instance variable.
4217
42182000-02-27  Bryce McKinlay  <bryce@albatross.co.nz>
4219
4220	* java/io/File.java (File(String, String)): For dirPath, treat an
4221	empty String the same as `null'.
4222
42232000-02-26  Anthony Green  <green@cygnus.com>
4224
4225	* gnu/gcj/io/MimeTypes.java: Test for null.
4226
4227	* jni.cc (_Jv_JNI_AttachCurrentThread): Minor cleanup.
4228	(JNI_GetCreatedJavaVMs): Remove compiler warning.
4229
4230	* java/net/URLConnection.java: Update copyright notice.
4231
42322000-02-25  Tom Tromey  <tromey@cygnus.com>
4233
4234	* jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on
4235	`INTERPRETER'.
4236
42372000-02-25  Bryce McKinlay  <bryce@albatross.co.nz>
4238
4239	* java/net/URLConnection.java (initializeDateFormats): New
4240	private method.
4241	(getHeaderFieldDate): Call initializeDateFormats if required.
4242	locale, dateFormat1, dateFormat2, dateFormat3: Don't initialize
4243	these.
4244	Fix for PR libgcj/38.
4245
42462000-02-24  Warren Levy  <warrenl@cygnus.com>
4247
4248	* java/math/BigInteger.java(ival): Made private.
4249	(words): Ditto.
4250	(neg): Ditto.
4251
42522000-02-20  Anthony Green  <green@cygnus.com>
4253
4254	* Makefile.in: Rebuilt.
4255	* Makefile.am (ordinary_java_source_files): Add
4256	gnu/gcj/io/DefaultMimeTypes.java and gnu/gcj/io/MimeTypes.java
4257
4258	* scripts/MakeDefaultMimeTypes.java: New file.
4259	* scripts/mime.types: New file.
4260	* scripts/classes.pl: Moved from top level.
4261	* classes.pl: Moved to scripts directory.
4262
4263	* java/net/URLConnection.java: Implement guessContentTypeFromName.
4264
4265	* gnu/gcj/io/MimeTypes.java: New file.
4266	* gnu/gcj/io/DefaultMimeTypes.java: New file.
4267
42682000-02-20  Tom Tromey  <tromey@cygnus.com>
4269
4270	* boehm.cc (_Jv_AllocBytes): Clear returned memory.
4271
42722000-02-19  Bryce McKinlay  <bryce@albatross.co.nz>
4273
4274	* java/util/zip/ZipEntry.java (setCrc): Fix overflow.
4275	(setSize): ditto.
4276
42772000-02-18  Tom Tromey  <tromey@cygnus.com>
4278
4279	* include/jvm.h (_Jv_GetJavaVM): Declare.
4280	* include/java-interp.h (_Jv_GetFirstMethod): New function.
4281	(_Jv_MethodBase::get_method): New method.
4282	(_Jv_JNIMethod::set_function): New method.
4283	* jni.cc (_Jv_JNI_UnregisterNatives): New function.
4284	(_Jv_JNI_RegisterNatives): New function.
4285	(_Jv_JNIFunctions): Updated for new functions.
4286	(_Jv_GetJavaVM): New function.
4287	(_Jv_JNI_GetJavaVM): Use it.  Now static.
4288	(_Jv_JNI_AttachCurrentThread): Create a new JNIEnv if this thread
4289	is already a Java thread but does not have a JNIEnv yet.
4290
4291	* java/lang/natRuntime.cc (_load): Pass the JavaVM to the onload
4292	function.
4293
42942000-02-17  Tom Tromey  <tromey@cygnus.com>
4295
4296	* gcj/field.h (_Jv_Field::getClass): Don't use JvAssert.
4297	Fixes PR gcj/152.
4298
42992000-02-16  Tom Tromey  <tromey@cygnus.com>
4300
4301	* jni.cc (_Jv_JNI_CallStaticMethodV): Added some assertions.
4302
4303	* jni.cc (_Jv_JNI_NewObjectV): Corrected assertion.
4304	(_Jv_JNI_NewObject): Likewise.
4305	(_Jv_JNI_NewObjectA): Likewise.
4306	(_Jv_JNI_CallAnyMethodV): In constructor case, pass correct value
4307	as "return" type to _Jv_CallAnyMethodA.
4308	(_Jv_JNI_CallAnyMethodA): Likewise.
4309	(_Jv_JNI_CallAnyVoidMethodV): Likewise.
4310
4311	* jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
4312	findClass.
4313
43142000-02-15  Tom Tromey  <tromey@cygnus.com>
4315
4316	* resolve.cc (ncode): Set args_raw_size.  Compute jni_cif and
4317	jni_arg_types.
4318	(init_cif): Added `rtype_p' argument.
4319	* include/java-interp.h (class _Jv_MethodBase): Added
4320	args_raw_size.
4321	(class _Jv_InterpMethod): Removed args_raw_size.
4322	(class _Jv_JNIMethod): Added jni_cif and jni_arg_types fields.
4323	* jni.cc (call): Pass JNIEnv and (for static methods only) the
4324	class pointer as well as the ordinary arguments.
4325
4326	* jni.cc (mangled_name): Skip leading `(' in signature.
4327
4328	* jni.cc (add_char): Added missing `else'.
4329
4330	* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
4331	fails.
4332
43332000-02-15  Bryce McKinlay  <bryce@albatross.co.nz>
4334
4335	* NEWS: Updated.
4336
4337	* java/lang/natRuntime.cc (_load): Include library path with
4338	exception message.
4339
4340	* java/lang/natSystem.cc (init_properties): set java.lang.classpath
4341	property.
4342
4343	* java/lang/natThread.cc (dumpStack): Removed.
4344	* java/lang/Thread.java (dumpStack): Implemented.
4345
43462000-02-15  Tom Tromey  <tromey@cygnus.com>
4347
4348	* java/lang/natRuntime.cc (_load): On Unix, prefix library name
4349	with `lib' for loadLibrary.  Fixes PR gcj/150.
4350
43512000-02-14  Warren Levy  <warrenl@cygnus.com>
4352
4353	* gnu/gcj/math/MPN.java(findLowestBit): Made methods public.
4354
4355	* java/math/BigInteger.java(BigInteger(int,int,java.util.Random):
4356	  New constructor.
4357	(min): Implemented.
4358	(max): Implemented.
4359	(modPow): Rewritten to not use the naive, slow, brute force approach.
4360	(isProbablePrime): Implemented.
4361	(testBit): Implemented.
4362	(flipBit): Implemented.
4363	(getLowestSetBit): Implemented.
4364
43652000-02-16  Anthony Green  <green@redhat.com>
4366
4367	* configure.host: Use the same options for i386 and i486 as we do
4368	for i586 and i686.
4369
43702000-02-12  Tom Tromey  <tromey@cygnus.com>
4371
4372	* java/io/File.java (createTempFile): Use low bits from counter,
4373	not high bits.
4374
4375Fri Feb 11 19:48:08 2000  Anthony Green  <green@cygnus.com>
4376
4377	* THANKS: More thanks.
4378
43792000-02-11  Tom Tromey  <tromey@cygnus.com>
4380
4381	* interpret.cc (continue1): Use STOREA, not STOREI, to implement
4382	astore instruction.  From Hans Boehm.
4383
43842000-02-11  Warren Levy  <warrenl@cygnus.com>
4385
4386	* java/math/BigInteger.java(BigInteger(String, int)): New constructor.
4387	(BigInteger(String)): New constructor.
4388	(not): Rewritten using version from Kawa's BitOps class.
4389	(valueOf): New private methods from Kawa's BitOps class.
4390	(swappedOp): ditto.
4391	(bitOp): ditto.
4392	(setBitOp): ditto.
4393	(and): Implemented.
4394	(or): Implemented.
4395	(xor): Implemented.
4396	(andNot): Implemented.
4397	(clearBit): Implemented.
4398	(setBit): Implemented.
4399	(bitCount): Implemented.
4400	(toByteArray): Implemented.
4401
44022000-02-11  Tom Tromey  <tromey@cygnus.com>
4403
4404	* java/io/File.java (nextValue): Now synchronized.
4405
44062000-02-10  Tom Tromey  <tromey@cygnus.com>
4407
4408	* java/io/natFileDescriptorPosix.cc (open): Recognize EXCL flag.
4409	* java/io/FileDescriptor.java (EXCL): New static field.
4410	* java/io/File.java (tmpdir): New static field.
4411	(createTempFile): New method.
4412	(nextValue): New method.
4413	* java/lang/natSystem.cc (init_properties): Set java.io.tmpdir
4414	property.
4415
4416	* include/jni.h (JNI_FALSE): Renamed from JNI_TRUE; oops.
4417	(jboolean): Declare as an attributed int, not a bool.
4418	(_Jv_func): Declare differently for C.
4419
4420	* gnu/gcj/jni/natNativeThread.cc: New file.
4421	* gnu/gcj/jni/NativeThread.java: New file.
4422	* java/lang/Thread.java (data): Now a RawData.
4423	* include/jvm.h (_Jv_GetCurrentJNIEnv, _Jv_SetCurrentJNIEnv):
4424	Declare.
4425	* Makefile.in: Rebuilt.
4426	* Makefile.am (java/lang/Thread.h): New target.
4427	(ordinary_java_source_files): Added NativeThread.java.
4428	(nat_source_files): Added natNativeThread.cc.
4429	* java/lang/natThread.cc: Include <jni.h>
4430	(struct natThread): Added `jni_env' field.
4431	(_Jv_GetCurrentJNIEnv): New function.
4432	(_Jv_SetCurrentJNIEnv): Likewise.
4433	(initialize_native): Initialize jni_env.
4434	Include RawData.h.
4435	* jni.cc (ThreadGroupClass): New define.
4436	(_Jv_JNI_InvokeFunctions): New structure.
4437	(JNI_GetCreatedJavaVMs): New function.
4438	(the_vm): New global.
4439	(JNI_GetDefaultJavaVMInitArgs): New function.
4440	Include NativeThread.h.
4441	(NativeThreadClass): New define.
4442	(_Jv_JNI_EnsureLocalCapacity): Return JNI_ERR, not -1.
4443	(_Jv_JNI_DestroyJavaVM): New function.
4444	(_Jv_JNI_AttachCurrentThread): New function.
4445	(_Jv_JNI_DetachCurrentThread): New function.
4446	(_Jv_JNI_GetEnv): New function.
4447	(JNI_CreateJavaVM): New function.
4448	(_Jv_JNI_GetJavaVM): New function.
4449	(_Jv_JNIFunctions): Added entry for GetJavaVM.
4450	* include/jni.h (JavaVMAttachArgs): New structure.
4451	(JNI_EDETACHED): New define.
4452	(JNI_EVERSION): Likewise.
4453	(JavaVM): Define properly.
4454	(struct JNIInvokeInterface): New structure.
4455	(class _Jv_JavaVM): New class.
4456	(JNI_OnLoad, JNI_OnUnload): Declare.
4457	(JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
4458	JNI_GetCreatedJavaVMs): Declare.
4459	(JavaVMInitArgs): New typedef.
4460	(JavaVMOption): Likewise.
4461	(JNI_ERR): New define.
4462	(JNI_OK): Likewise.
4463
44642000-02-10  Andrew Haley  <aph@cygnus.com>
4465
4466	* interpret.cc: Don't include fdlibm.h.
4467	Replace #if with #ifdef throughout.
4468	Declare extern __ieee754_fmod.
4469	(continue1): Remove op_getfield, op_getstatic, op_putfield,
4470	op_putstatic insns.
4471	* resolve.cc (_Jv_PrepareClass): Use imeth as method pointer.
4472	Search class hierarchy for superclass vtable.
4473
4474	* java/lang/natClassLoader.cc (_Jv_UnregisterClass): Don't fall
4475	off the end of a pointer list.
4476
4477	* java/lang/natThread.cc (stop): Don't abort, throw an exception
4478	instead.
4479	(suspend): Ditto.
4480
44812000-02-09  Tom Tromey  <tromey@cygnus.com>
4482
4483	* java/lang/natRuntime.cc (_load): Call add_library.
4484	(loadLibraryInternal): Likewise.
4485
4486	* gnu/gcj/convert/natIconv.cc (Input_iconv::finalize): Call
4487	iconv_close when handle is not NULL.  Thanks to Andrew Haley.
4488	(Output_iconv::finalize): Likewise.
4489
44902000-02-08  Tom Tromey  <tromey@cygnus.com>
4491
4492	* java/util/Properties.java (setProperty): New method.
4493	(store): New method.
4494
44952000-02-07  Tom Tromey  <tromey@cygnus.com>
4496
4497	* java/lang/Runtime.java (_load): Declare.
4498	(load, loadLibrary): Wrote in terms of _load.
4499	* java/lang/natRuntime.cc (load): Call JNI_OnLoad if it appears in
4500	library.
4501	(loadLibrary): Likewise.
4502	Include <jni.h>.
4503	(_load): New method.
4504	(loadLibrary, load): Removed.
4505
4506	* jni.cc (ThrowableClass): New define.
4507	(_Jv_JNI_Throw): Check argument.
4508	(_Jv_JNI_ThrowNew): Likewise.
4509	(wrap_value): Don't wrap object if it is NULL.
4510	(_Jv_JNI_DefineClass): Use wrap_value.
4511	(_Jv_JNI_FindClass): Likewise.
4512	(_Jv_JNI_GetSuperclass): Likewise.
4513	(_Jv_JNI_ExceptionOccurred): Likewise.
4514	(_Jv_JNI_AllocObject): Likewise.
4515	(_Jv_JNI_GetObjectClass): Likewise.
4516	(_Jv_JNI_NewString): Likewise.
4517	(_Jv_JNI_NewStringUTF): Likewise.
4518	(_Jv_JNI_NewObjectArray): Likewise.
4519	(_Jv_JNI_GetObjectArrayElement): Likewise.
4520	(_Jv_JNI_NewPrimitiveArray): Likewise.
4521	(_Jv_JNI_ToReflectedField): Likewise.
4522	(_Jv_JNI_ToReflectedMethod): Likewise.
4523	(_Jv_JNI_AllocObject): Check argument.
4524	(_Jv_JNI_NewObjectV): Likewise.
4525	(_Jv_JNI_NewObject): Likewise.
4526	(_Jv_JNI_NewObjectA): Likewise.
4527	(_Jv_JNI_GetObjectClass): Likewise.
4528	(_Jv_JNI_GetField): Likewise.
4529	(_Jv_JNI_SetField): Likewise.
4530
4531	* interpret.cc (PUSHL): Don't use expression statement.
4532	(PUSHD): Likewise.
4533	(LOADL): Likewise.
4534	(STOREL): Likewise.
4535
4536	* jni.cc (add_char): Conditional on INTERPRETER.
4537	(mangled_name): Likewise.
4538	(call): Likewise.
4539	* include/java-interp.h (class _Jv_MethodBase): Conditional on
4540	INTERPRETER.
4541	(class _Jv_JNIMethod): Likewise.
4542
45432000-02-04  Warren Levy  <warrenl@cygnus.com>
4544
4545	* Makefile.am: Added MPN.java and BigInteger.java.
4546	* Makefile.in: Rebuilt.
4547	* gnu/gcj/math/MPN.java: New file.  From Kawa by Per Bothner
4548	<per@bothner.com>.
4549	* java/math/BigInteger.java: New file.  Based primarily on
4550	Kawa's IntNum.java by Per Bothner <per@bothner.com>.
4551
45522000-02-04  Tom Tromey  <tromey@cygnus.com>
4553
4554	* defineclass.cc (handleMethodsBegin): Allocate _Jv_MethodBase
4555	pointers.
4556	(handleMethodsEnd): Fixed error messages.  Create a _Jv_JNIMethod
4557	if the method is native.
4558	* resolve.cc (ncode): Don't handle native methods.
4559	(_Jv_JNIMethod::ncode): New method.
4560	(_Jv_PrepareClass): Handle native methods.
4561	* jni.cc (call): Renamed from _Jv_JNI_conversion_call.
4562	Include AbstractMethodError.h.
4563	(add_char): New function.
4564	(mangled_name): Likewise.
4565	* include/java-interp.h (class _Jv_JNIMethod): New class.
4566	(class _Jv_MethodBase): New class.
4567	(class _Jv_InterpMethod): Derive from _Jv_MethodBase.
4568	(_Jv_InterpClass): Changed `interpreted_methods' field to type
4569	`_Jv_MethodBase'.
4570
4571	* include/jvm.h (_Jv_FindSymbolInExecutable): Declare.
4572	* java/lang/natRuntime.cc (libraries_size, libraries_count,
4573	libraries): New globals.
4574	(add_library): New function.
4575	(_Jv_FindSymbolInExecutable): New function.
4576
4577	* java/lang/natClassLoader.cc (initiated_classes, loaded_classes):
4578	Now static.
4579
45802000-02-04  Andrew Haley  <aph@cygnus.com>
4581
4582	* java/lang/Throwable.java (CPlusPlusDemangler): New class.
4583	(printStackTrace): Use a CPlusPlusDemangler to demangle names.
4584	* java/lang/natThrowable.cc (printRawStackTrace): Rename
4585	printStackTrace to printRawStackTrace.
4586
45872000-02-03  Tom Tromey  <tromey@cygnus.com>
4588
4589	* java/util/Calendar.java (toString): New method.
4590	* java/util/SimpleTimeZone.java (clone): New method.
4591	(toString): New method.
4592	* java/util/TimeZone.java (clone): New method.
4593	* java/text/SimpleDateFormat.java (clone): New method.
4594	* java/text/NumberFormat.java (clone): New method.
4595	(equals): New method.
4596	* java/text/Format.java (clone): New method.
4597	* java/text/DateFormatSymbols.java (DateFormatSymbols): New
4598	constructor.
4599	(clone): New method.
4600	* java/text/DateFormat.java (clone): New method.
4601	* java/text/Collator.java (clone): New method.
4602
46032000-02-03  Tom Tromey  <tromey@cygnus.com>
4604
4605	* java/io/PipedOutputStream.java (write(byte[], int, int)): New
4606	method.
4607
46082000-02-01  Tom Tromey  <tromey@cygnus.com>
4609
4610	* include/java-interp.h (_Jv_JNI_conversion_call): Declare.
4611	* resolve.cc (ncode): Use _Jv_JNI_conversion_call when
4612	constructing the closure if the function is native.
4613	* jni.cc (_Jv_JNI_conversion_call): Now returns `void'.  No longer
4614	a template function, #if'd out, or static.
4615	Include <java-interp.h>.
4616
4617	* include/jni.h (class _Jv_JNIEnv): Corrected calls using `...'.
4618
4619	* include/jni.h (class _Jv_JNIEnv): Added all C++ inline methods.
4620
4621	* jni.cc (_Jv_JNI_PopLocalFrame): Leave loop when `n == NULL'.
4622	(_Jv_JNI_conversion_call): _Jv_JNI_PopLocalFrame will never leave
4623	`locals == NULL'.
4624	(wrap_value): New function.
4625	(_Jv_JNI_CallAnyMethodV): Use it.
4626	(_Jv_JNI_CallAnyMethodA): Likewise.
4627	(_Jv_JNI_GetField): Use wrap_value; removed specialized version.
4628	(_Jv_JNI_GetStaticField): Likewise.
4629
4630	* jni.cc (_Jv_JNI_GetField): Specialize for jobject.
4631	(_Jv_JNI_GetStaticField): Likewise.
4632
46332000-01-31  Tom Tromey  <tromey@cygnus.com>
4634
4635	* prims.cc (_Jv_MallocUnchecked): New function.
4636	(main_init): Call _Jv_JNI_Init.
4637	* include/jvm.h (_Jv_MallocUnchecked): Declare.
4638	(_Jv_JNI_Init): Declare.
4639	* jni.cc: Include Hashtable.h, OutOfMemoryError.h, Integer.h,
4640	<string.h>.
4641	(_Jv_JNI_NewGlobalRef): New function.
4642	(_Jv_JNI_DeleteGlobalRef): New function.
4643	(_Jv_JNI_DeleteLocalRef): New function.
4644	(_Jv_JNI_conversion_call): Initialize and clear local reference
4645	frame.
4646	(_Jv_JNI_NewLocalRef): New function.
4647	(struct _Jv_JNI_LocalFrame): New structure.
4648	(_Jv_JNI_PushLocalFrame): New function.
4649	(_Jv_JNI_EnsureLocalCapacity): New function.
4650	(FRAME_SIZE): New define.
4651	(_Jv_JNI_GetStringChars): Mark string, not characters.
4652	(_Jv_JNI_ReleaseStringChars): Unmark string, not characters.
4653	(_Jv_JNI_GetPrimitiveArrayElements): Mark array, not elements.
4654	(_Jv_JNI_ReleasePrimitiveArrayElements): Unmark array, not
4655	elements.
4656	(_Jv_JNI_DefineClass): Make return value a local ref.
4657	(_Jv_JNI_FindClass): Likewise.
4658	(_Jv_JNI_GetSuperclass): Likewise.
4659	(_Jv_JNI_ExceptionOccurred): Likewise.
4660	(_Jv_JNI_AllocObject): Likewise.
4661	(_Jv_JNI_GetObjectClass): Likewise.
4662	(_Jv_JNI_CallAnyMethodV): Likewise.
4663	(_Jv_JNI_NewString): Likewise.
4664	(_Jv_JNI_NewStringUTF): Likewise.
4665	(_Jv_JNI_NewObjectArray): Likewise.
4666	(_Jv_JNI_GetObjectArrayElement): Likewise.
4667	(_Jv_JNI_ToReflectedField): Likewise.
4668	(_Jv_JNI_ToReflectedMethod): Likewise.
4669	(_Jv_JNIFunctions): Updated table for new functions.
4670	(_Jv_JNI_Init): New function.
4671	(mark_for_gc): Wrote.
4672	(unmark_for_gc): Wrote.
4673	* include/jni.h (struct JNINativeInterface): Removed name from
4674	PopLocalFrame parameter.
4675	(class _Jv_JNIEnv): Added `locals' field.
4676
4677Mon Jan 31 00:43:15 2000  Anthony Green  <green@redhat.com>
4678
4679	* gnu/gcj/convert/natIconv.cc (read): Minor fixes.
4680	(write): Ditto.
4681
46822000-01-30  Tom Tromey  <tromey@cygnus.com>
4683
4684	* include/config.h.in: Rebuilt.
4685	* acconfig.h (HAVE_ICONV): Define.
4686	* configure: Rebuilt.
4687	* configure.in: Check for `iconv' function.
4688	* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try iconv if
4689	no specific encoder exists.
4690	* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try iconv if
4691	no specific encoder exists.
4692	* Makefile.in: Rebuilt.
4693	* Makefile.am (convert_source_files): Mention Input_iconv.java and
4694	Output_iconv.java.
4695	(nat_source_files): Added natIconv.cc.
4696	* gnu/gcj/convert/natIconv.cc: New file.
4697	* gnu/gcj/convert/Input_iconv.java: New file.
4698	* gnu/gcj/convert/Output_iconv.java: New file.
4699
47002000-01-28  Tom Tromey  <tromey@cygnus.com>
4701
4702	* Makefile.in: Rebuilt.
4703	* Makefile.am (LIBFFIINCS): Added MULTIBUILDTOP.
4704
47052000-01-26  Tom Tromey  <tromey@cygnus.com>
4706
4707	* gcj/method.h (JvNumMethods): Moved from Class.h.
4708	(JvGetFirstMethod): Likewise.
4709	* java/lang/Class.h (Object): Updated decl of
4710	_Jv_JNI_ToReflectedField.
4711	(Object): Added _Jv_JNI_ToReflectedMethod as a friend.
4712	* Makefile.in: Rebuilt.
4713	* Makefile.am (java/lang/reflect/Field.h): Added `jboolean'
4714	argument of _Jv_JNI_ToReflectedField.
4715	(java/lang/reflect/Constructor.h): Added _Jv_JNI_ToReflectedMethod
4716	as a friend.
4717	(java/lang/reflect/Method.h): Likewise.
4718	* include/jni.h (class _Jv_JNIEnv): Added `klass' member.  Use
4719	__GCJ_JNI_IMPL__.
4720	(jweak): New typedef.
4721	(struct JNINativeInterface): Correctly declare remaining entries.
4722	* jni.cc: Include Class.h, ClassLoader.h.
4723	(_Jv_JNI_FindClass): New function.
4724	(_Jv_JNI_DefineClass): New function.
4725	(_Jv_JNI_conversion_call): New function.
4726	(_Jv_JNI_FindClass): Use current class loader to find class.
4727	(_Jv_JNI_ExceptionCheck): New function.
4728	(_Jv_JNI_FromReflectedField): Now static.
4729	(MethodClass): New define.
4730	(_Jv_JNI_FromReflectedMethod): New function.
4731	(_Jv_JNI_ToReflectedMethod): Likewise.
4732	Include Method.h.
4733	(_Jv_JNI_IsAssignableFrom): Renamed.
4734	(_Jv_JNI_GetStringRegion): New function.
4735	Include StringIndexOutOfBoundsException.h.
4736	(_Jv_JNI_GetStringUTFRegion): New function.
4737	(_Jv_JNIFunctions): Updated for new functions.
4738	(_Jv_JNI_GetPrimitiveArrayCritical): New function
4739	(_Jv_JNI_ReleasePrimitiveArrayCritical): Likewise.
4740	(_Jv_JNI_GetStringCritical): New function.
4741	(_Jv_JNI_ReleaseStringCritical): Likewise.
4742	(get_throwable): Removed.
4743	(GCJ_JV_JNIENV_FRIEND): Removed.
4744	(__GCJ_JNI_IMPL__): Define.
4745	Include method.h.
4746
4747	* resolve.cc (get_ffi_type_from_signature): Handle case where
4748	boolean is an int.
4749
4750Tue Jan 25 08:51:16 2000  Tom Tromey  <tromey@ferrule.cygnus.com>
4751
4752	* interpret.cc (run): Don't call println.
4753	Don't include PrintStream.h.
4754
4755	* gcj/field.h (struct _Jv_Field): Use "jshort" as type for
4756	nameIndex.  Use "jint" as type for boffset.
4757	* java/lang/Class.h (struct _Jv_Method): Made accflags a
4758	_Jv_ushort.
4759	(Class): Likewise.  Also changed type of method_count,
4760	vtable_method_count, size_in_bytes, field_count,
4761	static_field_count, interface_count.
4762	* gcj/array.h (__JArray): Made `length' a const jsize, not an
4763	int.
4764
47652000-01-21  Tom Tromey  <tromey@cygnus.com>
4766
4767	* java/lang/reflect/natConstructor.cc (newInstance): Use
4768	_Jv_CallAnyMethodA.
4769	* include/jvm.h: Declare _Jv_CallAnyMethodA.
4770	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed
4771	from _Jv_CallNonvirtualMethodA.  Changed interface; overloaded.
4772	Include <jni.h>.
4773	(COPY): Removed.
4774	(invoke): Use _Jv_CallAnyMethodA.
4775	(VAL): Redefined.
4776	* java/lang/Class.h (Class): Declare JvGetFirstStaticField,
4777	JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend
4778	functions.
4779	(struct _Jv_Method): Added getNextMethod method.
4780	(JvNumMethods): New function.
4781	(JvGetFirstMethod): Likewise.
4782	* gcj/field.h (JvGetFirstStaticField): New function.
4783	(JvNumStaticFields): Likewise.
4784	(getNextField): Renamed from getNextInstanceField.
4785	(struct _Jv_Field): New method getClass.
4786	* jni.cc: Wrote many new functions.
4787	* include/jni.h (JNI_TRUE): Define.
4788	(JNI_FALSE): Likewise.
4789	(jobject, jclass, jstring, jarray, jthrowable, jobjectArray,
4790	jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray,
4791	jcharArray, jfloatArray, jdoubleArray): New typedefs.
4792	(jfieldID, jmethodID): Likewise.
4793	(JNI_COMMIT, JNI_ABORT): New defines.
4794	(JNINativeMethod): New struct.
4795	(struct JNINativeInterface): Correctly declared more entries.
4796	(class _Jv_JNIEnv): Added `ex' member.
4797	(JNI_VERSION_1_1): New define.
4798	(JNI_VERSION_1_2): Likewise.
4799
4800	* boehm.cc (_Jv_MarkObj): Use getNextField, not
4801	getNextInstanceField.
4802
48032000-01-20  Tom Tromey  <tromey@cygnus.com>
4804
4805	* resolve.cc (StringClass): Removed.
4806	* defineclass.cc (StringClass): Removed.
4807
48082000-01-19  Bryce McKinlay  <bryce@albatross.co.nz>
4809
4810	* NEWS: updated.
4811
48122000-01-19  Tom Tromey  <tromey@cygnus.com>
4813
4814	* interpret.cc (PC_REGISTER_ASM): Removed.
4815
4816	* java/lang/natThrowable.cc: Don't use `#pragma implementation'.
4817	From Bryce McKinlay.
4818
4819	* All files: Updated copyright to reflect Cygnus purchase.
4820
48212000-01-18  Bryce McKinlay <bryce@albatross.co.nz>
4822
4823	* configure: Rebuilt.
4824	* configure.in: Recognize --disable-interpreter.
4825
48262000-01-18  Andrew Haley  <aph@cygnus.com>
4827
4828	* name-finder.cc (lookup): Check for dladdr function.
4829	acconfig.h (HAVE_DLADDR): Add.
4830	configure.in: Check for HAVE_DLADDR
4831	configure: Rebuilt.
4832	include/config.h.in:  Rebuilt.
4833
48342000-01-17  Andrew Haley  <aph@cygnus.com>
4835
4836	* prims.cc (_Jv_RunMain): Set the name of this executable.
4837
48382000-01-17  Tom Tromey  <tromey@cygnus.com>
4839
4840	* java/lang/natThrowable.cc (fillInStackTrace): Return `this' even
4841	when backtrace can't be computed.
4842
4843	* configure: Rebuilt.
4844	* configure.in: Fixed typo in AC_CONFIG_SUBDIRS call.
4845
4846	* java/lang/Runtime.java (loadLibraryInternal): Declare.
4847	* java/lang/natClassLoader.cc (_Jv_FindClass): Removed dead copy.
4848	(_Jv_FindClassInCache): Likewise.
4849	(_Jv_FindClass): Don't conditionalize body on INTERPRETER.
4850	(findSystemClass): Try to load class from compiled module.
4851	Include Runtime.h.
4852	* java/lang/natRuntime.cc (load): Use UTF-8 copy of filename.
4853	(loadLibrary): Likewise.
4854	(lt_preloaded_symbols): Define.
4855	(loadLibraryInternal): New method.
4856	* include/config.h.in: Rebuilt.
4857	* acconfig.h (USE_LTDL): Added.
4858	* Makefile.am (SUBDIRS): Added $(DIRLTDL).
4859	(INCLUDES): Added $(INCLTDL).
4860	(libgcj_la_DEPENDENCIES): Added $(LIBLTDL).
4861	(libgcj_la_LIBADD): Likewise.
4862	* aclocal.m4, configure: Rebuilt.
4863	* configure.in: Added libltdl support.
4864
48652000-01-15  Tom Tromey  <tromey@cygnus.com>
4866
4867	* prims.cc (_Jv_PrimClass): Use `JV_STATE_NOTHING', not `0'.
4868
48692000-01-14  Andrew Haley  <aph@cygnus.com>
4870
4871	* java/lang/natThrowable.cc: New file.
4872
4873	* java/lang/Throwable.java (fillInStackTrace): Make native.
4874	(printStackTrace): Call native method to do this.
4875	(Throwable): Call fillInStackTrace.
4876	(stackTrace): New variable.
4877
4878	* include/jvm.h: Add _Jv_ThisExecutable functions.
4879
4880	* prims.cc: (_Jv_execName): New variable.
4881	(catch_segv): Call fillInStackTrace.
4882	(catch_fpe): Ditto.
4883	(_Jv_ThisExecutable): New functions.
4884	(JvRunMain): Set the name of this executable.
4885
4886	* Makefile.am: Add java/lang/natThrowable.cc.
4887	Add name-finder.cc.
4888	* Makefile.in: Rebuilt.
4889
4890	* acconfig.h: Add HAVE_PROC_SELF_EXE.
4891
4892	* configure.in: Force link with __frame_state_for in
4893	FORCELIBGCCSPEC.  Add new checks for backtrace.
4894	* include/config.h.in: Rebuilt.
4895
4896	* name-finder.cc: New file.
4897	* include/name-finder.h: New file.
4898
48992000-01-16  Anthony Green  <green@cygnus.com>
4900
4901	* java/lang/StringBuffer.java (StringBuffer): Don't special case
4902	null argument.
4903
49042000-01-16  Jeff Sturm  <jsturm@sigma6.com>
4905
4906	* java/io/StreamTokenizer.java (nextToken): Avoid unread(TT_EOF).
4907
49082000-01-13  Tom Tromey  <tromey@cygnus.com>
4909
4910	* java/lang/natClassLoader.cc (_Jv_FindClass): Register `loader',
4911	not system loader, as initiating loader.
4912
49132000-01-11  Tom Tromey  <tromey@cygnus.com>
4914
4915	* java/lang/natSystem.cc (getpwuid_adaptor): New adaptor for
4916	HP/UX.  From David Scott Urban.
4917
49182000-01-10  Jeff Sturm  <jsturm@sigma6.com>
4919
4920	* java/lang/natMath.cc (pow): Cast args to `double', not
4921	`jdouble'.
4922	(atan2): Likewise.
4923	(IEEEremainder): Likewise.
4924	* java/lang/mprec.h: Don't wrap includes in `extern "C"'.
4925	* java/lang/fdlibm.h: Don't wrap includes in `extern "C"'.
4926
49272000-01-09  Anthony Green  <green@cygnus.com>
4928
4929	* java/lang/natString.cc (init): Test for overflow condition
4930	during out of bounds check.
4931	(getChars): Throw StringIndexOutOfBoundsException, not
4932	ArrayIndexOutOfBoundsException.
4933	(getBytes): Ditto.
4934	(regionMatches): Obey case option during string comparison.
4935
4936	* configure.host (ligcj_interpreter): New variable.  Enable
4937	interpreter by default on IA-32.
4938	* configure.in:  Examine libgcj_interpreter.
4939	* configure: Rebuilt.
4940
49412000-01-07  Tom Tromey  <tromey@cygnus.com>
4942
4943	* mauve-libgcj: Don't disable ClassTest.
4944
4945	* java/lang/natClass.cc (getClasses): Wrote.
4946
49472000-01-06  Tom Tromey  <tromey@cygnus.com>
4948
4949	* java/lang/natClass.cc (_getConstructors): Correctly check
4950	whether method name is the init name.
4951	(getMethod): Look at accflags on method in `klass', not `this'.
4952
49532000-01-05  Tom Tromey  <tromey@cygnus.com>
4954
4955	* java/lang/natClass.cc (getMethod): Compute offset relative to
4956	`klass's methods table, not `this's table.
4957
4958	* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA):
4959	In unwrapping/widening case, check whether `k' is null, not
4960	whether it is primitive.  Initialize `num' from `argelts', not
4961	`paramelts'.  Correct create and pass arguments to ffi_call.
4962	Don't let presence of `this' argument affect index used to look in
4963	argument arrays.
4964	(COPY): Set appropriate element in `values' vector.
4965
4966	* java/lang/natClass.cc: Include <gcj/method.h>.
4967
4968	* java/lang/Class.h (_getMethods): Correctly declare as private,
4969	not public.
4970
4971	* java/lang/Class.h (_getMethods): Declare.
4972	* java/lang/Class.java (_getMethods): Declare.
4973	* java/lang/natClass.cc (getDeclaringClass): Always return NULL.
4974	(getDeclaredClasses): Always return empty array.
4975	(_getMethods): New method.
4976	(getMethods): Wrote.
4977	(getDeclaredMethod): Return `rmethod'.
4978	(finit_name): New global.
4979	(getDeclaredMethods): Check for finit_name.
4980	(_getMethods): Likewise.
4981	(getMethod): Only return public methods.
4982
4983	* java/lang/reflect/natMethod.cc (get_ffi_type): Test size of
4984	jboolean and select correct ffi type on that basis.
4985	(_Jv_CallNonvirtualMethodA): Handle `void' return type.
4986	Constructor call always has `void' return type.
4987
49882000-01-04  Tom Tromey  <tromey@cygnus.com>
4989
4990	* java/lang/Class.h (getSignature): Updated.
4991	* java/lang/Class.java (getSignature): Updated.
4992	* java/lang/natClass.cc (getSignature): Added `is_constructor'
4993	argument.
4994	(getConstructor): Ensure constructor is public.
4995	(_getConstructors): Check for public-ness of constructor when
4996	`declared' is false, not when it is true.
4997
49982000-01-04  Warren Levy  <warrenl@cygnus.com>
4999
5000	* java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary
5001	comment.
5002	(receive): Set the sender's address in the DatagramPacket.
5003
50042000-01-04  Tom Tromey  <tromey@cygnus.com>
5005
5006	* java/lang/reflect/natConstructor.cc (newInstance): Pass
5007	declaring class as return_type argument to
5008	_Jv_CallNonvirtualMethodA.
5009	* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In
5010	constructor case, create object and use it as `this' argument.
5011	* java/lang/Class.h (_getConstructors): Declare.
5012	(_getFields): Declare.
5013	* java/lang/Class.java (getConstructors): Wrote.
5014	(_getConstructors): New native method.
5015	(getDeclaredConstructors): Wrote.
5016	(_getFields): Declare new native method.
5017	* java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Removed
5018	incorrect comment.
5019	(getMethod): Work correctly when class is primitive.
5020	(getDeclaredMethods): Likewise.  Compute offset using `method',
5021	not `mptr'.
5022	(getDeclaredMethod): Likewise.
5023	(getConstructor): Wrote.
5024	(ConstructorClass): New define.
5025	(getDeclaredConstructor): Wrote.
5026	(_getConstructors): New method.
5027	(_getFields): New method.
5028	(getFields): Wrote.
5029
5030	* Makefile.in: Rebuilt.
5031	* Makefile.am (AM_CXXFLAGS): Added -D_GNU_SOURCE.
5032
5033	* prims.cc: Remove `#pragma implementation'.
5034	* gcj/array.h: Remove `#pragma interface'.
5035
5036	* prims.cc (_Jv_equaln): New function.
5037	* java/lang/Class.java (getSignature): Declare.
5038	* resolve.cc (_Jv_LookupDeclaredMethod): Moved to natClass.cc.
5039	* java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Moved from
5040	resolve.cc.
5041	(getSignature): New method.
5042	(getDeclaredMethod): Wrote.
5043	(getMethod): Wrote.
5044	Include StringBuffer.h.
5045	* java/lang/Class.h (Class): Added _Jv_FromReflectedConstructor
5046	as a friend.  Unconditionally declare _Jv_LookupDeclaredMethod as
5047	a friend.
5048	(getSignature): Declare.
5049	* include/jvm.h (_Jv_GetTypesFromSignature): Declare.
5050	(_Jv_equaln): Declare.
5051	(_Jv_CallNonvirtualMethodA): Declare.
5052	* Makefile.in: Rebuilt.
5053	* Makefile.am (nat_source_files): Added natConstructor.cc.
5054	(java/lang/reflect/Constructor.h): New target.
5055	* java/lang/reflect/natConstructor.cc: New file.
5056	* java/lang/reflect/Constructor.java (newInstance): Now native.
5057	(declaringClass): Renamed from decl_class.
5058	(offset): Renamed from index.
5059	(getType): New native method.
5060	(getModifiers): Now native.
5061	(getParameterTypes): Call getType if required.
5062	(hashCode): Include hash code from declaring class.
5063	(modifiers): Removed.
5064	(toString): Call getType if required.
5065	* gcj/method.h (_Jv_FromReflectedConstructor): New function.
5066	* java/lang/reflect/natMethod.cc (hack_call): New method.
5067	Removed `#if 0' around FFI code.
5068	Include <gnu/gcj/RawData.h>.
5069	(invoke): Use _Jv_CallNonvirtualMethodA.  Throw
5070	IllegalArgumentException when argument object and class disagree.
5071	(_Jv_GetTypesFromSignature): New function.
5072	(getType): Use it.
5073	(ObjectClass): New define.
5074	(_Jv_CallNonvirtualMethodA): New function.
5075	* java/lang/reflect/Method.java (hack_trampoline): New method.
5076	(hack_call): New native method.
5077
5078