OSDN Git Service

2003-12-08 Fernando Nasser <fnasser@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
2  
3         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
4         object of type expected by specified DataFlavor.
5
6 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
7  
8         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
9         error which was clipping off the first character of a parameter value.
10
11 2003-12-08  Olga Rodimina <rodimina@redhat.com>
12
13         * java/awt/Polygon.java
14         (translate): Fixed error that caused polygon 
15         to move right/left when up/down translation was required.
16         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
17         (getSelectionStart): Initialized start position to 0. 
18         (getSelectionEnd): Initialized end position to 0.
19         (getCaretPosition): Initialized caret position to 0.
20         (getText): Initialized selected text to NULL 
21
22 2003-12-08  Michael Koch  <konqueror@gmx.de>
23
24         Fix for PR libgcj/13176.
25         * java/io/PrintStream.java: Partly revert my previous patches to get
26         (line_separator): New field.
27         (converter): New field.
28         (work): New field.
29         (work_bytes): New field.
30         (pw): Removed.
31         (closed): Removed.
32         (PrintStrean): Initialize converter and not pw.
33         (checkError): Flush always, pw doesn't exist anymore.
34         (close): Close underlying out stream.
35         (print): New method.
36         (writeChars): New method.
37         (print): Use new internal print method.
38         (println): Likewise.
39
40 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
41
42         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
43         putAllInternal.
44         (putAllInternal): Correct comment.
45         * java/util/HashMap.java (HashMap(Map)): As above.
46         (putAllInternal): As above.
47
48 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
49
50         * java/util/Hashtable.java (internalContainsValue): Removed.
51         (containsValue): Don't delegate to internalContainsValue.
52
53 2003-12-06  Michael Koch  <konqueror@gmx.de>
54
55         * javax/naming/directory/Attribute.java,
56         javax/naming/directory/Attributes.java,
57         javax/naming/directory/DirContext.java,
58         javax/naming/directory/InitialDirContext.java,
59         javax/naming/directory/SearchResult.java,
60         javax/naming/event/EventContext.java,
61         javax/naming/event/NamingEvent.java,
62         javax/naming/event/NamingExceptionEvent.java,
63         javax/naming/ldap/ControlFactory.java,
64         javax/naming/ldap/ExtendedRequest.java,
65         javax/naming/ldap/HasControls.java,
66         javax/naming/ldap/InitialLdapContext.java,
67         javax/naming/ldap/LdapContext.java,
68         javax/naming/ldap/LdapReferralException.java,
69         javax/naming/ldap/UnsolicitedNotification.java,
70         javax/naming/ldap/UnsolicitedNotificationListener.java,
71         javax/naming/spi/DirObjectFactory.java,
72         javax/naming/spi/DirStateFactory.java,
73         javax/naming/spi/DirectoryManager.java,
74         javax/naming/spi/NamingManager.java,
75         javax/naming/spi/ObjectFactoryBuilder.java,
76         javax/naming/spi/ResolveResult.java,
77         javax/naming/spi/Resolver.java,
78         javax/naming/spi/StateFactory.java:
79         Import used classes explicitely.
80
81 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
82
83         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
84         (clip): Removed field
85         (clipRectangles): New field.
86         (clone): Use new updateClip.
87         (setClipRectangles): Use new updateClip.
88         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
89
90 2003-12-04  Michael Koch  <konqueror@gmx.de>
91
92         * java/io/FilePermission.java:
93         Import used classes explicitely.
94
95 2003-12-04  Michael Koch  <konqueror@gmx.de>
96
97         * java/beans/BeanDescriptor.java,
98         java/beans/EventSetDescriptor.java,
99         java/beans/FeatureDescriptor.java,
100         java/beans/IndexedPropertyDescriptor.java,
101         java/beans/Introspector.java,
102         java/beans/MethodDescriptor.java,
103         java/beans/PropertyDescriptor.java,
104         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
105         * java/beans/beancontext/BeanContextServicesSupport.java
106         (serialVersionUID): New field.
107
108 2003-12-04  Michael Koch  <konqueror@gmx.de>
109
110         * java/awt/MenuComponent.java: Import java.io.Serialization.
111         * java/awt/MenuItem.java: Likewise.
112         * java/awt/TextComponent.java: Likewise.
113         * java/awt/image/ImagingOpException.java
114         (serialVersionUID): Fixed.
115
116 2003-12-04  Michael Koch  <konqueror@gmx.de>
117
118         * gnu/java/net/protocol/http/Connection.java
119         (sendRequest): Merged writing http headers with classpath.
120         (getInputStream): Merged documentation from classpath.
121         (getHeaderField): Likewise.
122         (getHeaderFieldKey): Likewise.
123
124 2003-12-04  Michael Koch  <konqueror@gmx.de>
125
126         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
127
128 2003-12-04  Michael Koch  <konqueror@gmx.de>
129
130         * java/net/DatagramPacket.java
131         (length): Made packge-private to make it accessible via CNI.
132         (maxlen): New field.
133         (DatagramPacket): Cleaned up.
134         (setSocketAddress): Add message to exception.
135         (setData): Call other setData().
136         (setData): Call setLength().
137         (setLength): Initialize maxlen too.
138         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
139         Get maximal length from maxlen field, set length field directly.
140         (receive): Likewise.
141         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
142         Get maximal length from maxlen field, set length field directly.
143         (receive): Likewise.
144
145 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
146
147         * gnu/java/nio/natSelectorImplPosix.cc
148         (implSelect): A timeout of 0 means an infinite
149         timeout.
150
151 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
152  
153         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
154         of ActionEvents.
155
156 2003-12-03  Michael Koch  <konqueror@gmx.de>
157
158         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
159         * java/lang/natClass.cc (getSigners): Likewise.
160         (setSigners): Likewise.
161
162 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
163
164         * configure.in: Added new MinGW-specific configure flag
165         --with-win32-nlsapi.
166         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
167         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
168         is set to unicows.
169         * configure: Rebuilt.
170         * include/config.h.in: Rebuilt.
171         * win32.cc (_Jv_Win32NewString): Implemented.
172         (nativeToUnicode): New helper function defined only for
173         non-UNICODE builds.
174         (unicodeToNative): Likewise.
175         (_Jv_Win32TempString): Implemented.
176         (lots): Refactored using tchar.h macros.
177         (WSAEventWrapper): Use _Jv_Win32NewString.
178         (_Jv_platform_initialize): Use GetModuleFileNameA instead
179         of GetModuleFileName.
180         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
181         Use temporary stack buffer instead of a heap buffer.
182         * include/win32.h
183         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
184         defined; added tchar.h include.
185         (_Jv_Win32TempString): Declared new helper class.
186         (JV_TEMP_STRING_WIN32): New helper macro.
187         (_Jv_Win32NewString): Declared new helper method.
188         * java/io/natFileDescriptorWin32.cc (open): Use
189         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
190         (write): Reformatted slightly.
191         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
192         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
193         (getCanonicalPath): Use _Jv_Win32NewString instead of
194         JvNewStringUTF.
195         (performList): Likewise.
196         * java/lang/natWin32Process.cc (ChildProcessPipe):
197         Use tchar.h macros.
198         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
199         and UNICODE environment flag for CreateProcess.
200         * java/net/natNetworkInterfaceWin32.cc
201         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
202         _Jv_Win32NewString.
203
204 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
205
206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
207         (initState): Mark obj parameter as unused.
208         (stringWidth): Mark obj parameter as unused.  Initialize
209         font_name properly.
210
211         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
212         BufferedImageBuilder class static.
213
214 2003-12-02  Mark Wielaard  <mark@klomp.org>
215
216         * java/security/Security.java: Don't use &nbsp; in the api doc.
217
218 2003-12-02  Dalibor Topic <robilad@kaffe.org>
219
220         Reported by: Jim Pick <jim@kaffe.org>
221         * libraries/javalib/java/util/Hashtable.java
222         (internalcontainsValue): New method.
223         (contains): Delegate to internalContainsValue.
224         
225         Reported by: Mark Wielaard  <mark@klomp.org>
226         * libraries/javalib/java/util/Hashtable.java
227         (contains): Improved comment.
228         
229         Reported by: Jeroen Frijters  <jeroen@frijters.net>
230         * libraries/javalib/java/util/Hashtable.java
231         (containsValue): Delegate to contains(Object) to make sure older
232         code overwriting it continues to work.
233
234 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
235
236         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
237         method. Handle mouse and key events that must generate
238         ActionEvents.
239         * java/awt/List.java (getSelectedIndex): Return -1
240         if no list element is selected.
241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
242         Correct handling of mouse and key events so that List receives them.
243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
244         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
245         multiple list elements. 
246
247 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
248
249         * java/text/SimpleDateFormat.java (compileFormat):
250         isLowerCase() and isUpperCase() allow too many characters.
251         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
252
253 2003-12-02  Dalibor Topic <robilad@kaffe.org>
254
255         * java/text/FieldPosition.java (equals): Fixed comment.
256
257 2003-12-02  Mark Wielaard  <mark@klomp.org>
258
259         Reported by Archie Cobbs:
260         * java/security/DigestInputStream.java (read(byte[], int, int): Call
261         digest.update() with temp, not len as lenght.
262
263 2003-12-02  Michael Koch  <konqueror@gmx.de>
264
265         * java/net/DatagramSocket.java
266         (close): Close associated DatagramChannel object.
267         * java/net/ServerSocket.java
268         * java/net/Socket.java
269         (close): Reset impl and bound before calling getChannel().close() to
270         prevent from loops.
271
272 2003-12-02  Michael Koch  <konqueror@gmx.de>
273
274         * java/nio/channels/spi/AbstractInterruptibleChannel.java
275         (opened): Removed.
276         (closed): New field.
277         (close): Check of channel is closed already.
278         (isOpen): Return !closed.
279
280 2003-12-02  Michael Koch  <konqueror@gmx.de>
281
282         * gnu/java/nio/DatagramChannelImpl.java
283         (blocking): Initialize with true by default.
284         * gnu/java/nio/ServerSocketChannelImpl.java
285         (serverSocket): Made private.
286         (blocking): Likewise.
287         (connected): Likewise.
288         * gnu/java/nio/SocketChannelImpl.java
289         (connectionPending): Made private.
290         * gnu/java/nio/FileLockImpl.java
291         (static): Load native library (needed for classpath).
292         * gnu/java/nio/SelectorImpl.java
293         (static): Load native library (needed for classpath).
294
295 2003-12-02  Michael Koch  <konqueror@gmx.de>
296
297         * gnu/java/net/protocol/file/Connection.java
298         (getLastModified): Implement for file connections.
299         (getContentLength): Likewise.
300
301 2003-12-02  Michael Koch  <konqueror@gmx.de>
302
303         * gnu/java/net/protocol/file/Connection.java:
304         Some reformating.
305         (file): Renamed from fileIn.
306         (getPermission): Moved around.
307
308 2003-12-02  Michael Koch  <konqueror@gmx.de>
309
310         * gnu/java/net/protocol/jar/Connection.java
311         (Connection): Made class final, merged documentation with classpath.
312         (file_cache): Made private.
313         (jar_file): Renamed from jarfile.
314
315 2003-12-02  Michael Koch  <konqueror@gmx.de>
316
317         * gnu/java/net/protocol/http/Connection.java
318         (Connection): Initialize doOutput to false;
319         (connect): Initialize inputStream, moved "send request" code to new
320         method.
321         (sendRequest): New method.
322         (getHttpHeaders): Don't reinitialize inputStream.
323
324 2003-12-02  Michael Koch  <konqueror@gmx.de>
325
326         * gnu/java/net/protocol//http/Connection.java
327         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
328         (requestProperties): Initialize, documentation added.
329         (inputStream): Renamed from bufferedIn.
330         (Connection): Dont initialize requestProperties.
331         (setDefaultRequestProperty): Removed.
332         (getDefaultRequestProperty): Removed.
333         (usingProxy): Documentation added.
334         (getHttpHeaders): Likewise.
335
336 2003-12-02  Michael Koch  <konqueror@gmx.de>
337
338         * java/text/DateFormat.java:
339         Explicitely import used classes.
340
341 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
342
343         * verify.cc (state::clean_subrs): Clear seen_subrs.
344         (state::copy): Walk seen_subrs from copy, not `this'.
345         Don't clear seen_subrs.
346
347 2003-12-01  Kim Ho <kho@redhat.com>
348
349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
350         Disable wrapping if TextArea has horizontal scroll bars.
351
352 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
353
354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
355         (awt_event_handler): Hard-code inset values.
356
357         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
358         Pass font name, not XLFD, to initState.
359         (stringWidth(String, int, String)): New method.
360         (stringWidth(String)): Call new stringWidth.
361         (getLeading): Always return 0.
362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
363         (initState): New Pango implementation.
364         (stringWidth): Likewise.
365
366 2003-12-01  Olga Rodimina <rodimina@redhat.com>
367
368         * java/awt/TextComponent.java:
369         (getSelectionStart): Updated javadocs.
370         (getSelectionEnd): Ditto.
371         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
372         (getSelectionStart): Changed to return caret position if no
373         text is selected
374         (getSelectionEnd): Ditto.
375
376 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
377
378         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
379         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
380         gnu/awt/gtk/GtkContainerPeer.java,
381         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
382         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
383         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
384         gnu/awt/gtk/natGtkComponentPeer.cc,
385         gnu/awt/gtk/natGtkContainerPeer.cc,
386         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
387         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
388         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
389
390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
391         (closed): Mark loader parameter as unused.
392
393 2003-12-01  Michael Koch  <konqueror@gmx.de>
394
395         * gnu/java/net/protocol/http/Connection.java
396         (Connection): Merged class documentation.
397         (socket): Renamed from sock.
398         (Connection): Made protected, documentation added.
399         (connect): Give URL'S host instead of InetAddress to Socket
400         constructor.
401         (disconnect): Documentation added.
402         (getOutputStream): Rewrapped.
403
404 2003-12-01  Michael Koch  <konqueror@gmx.de>
405
406         * gnu/java/net/protocol/file/Connection.java
407         (fileIn): Documentation added.
408         (inputStream): Likewise.
409         (outputStream): Likewise.
410         (Connection): Likewise.
411         (connect): Simplified.
412
413 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
414
415         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
416         setProperties): Check that io is not null before calling
417         io.imageUpdate.
418         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
419         Update javadocs.
420         * java/awt/image/PixelGrabber.java: Fix implementation and
421         update javadocs.
422
423 2003-12-01  Michael Koch  <konqueror@gmx.de>
424
425         * gnu/java/net/natPlainSocketImplPosix.cc
426         bind(): Dont set SockedImpl.address field on succesful bind.
427         * gnu/java/net/natPlainSocketImplWin32.cc
428         bind(): Likewise.
429
430 2003-11-30  Jeff Sturm <jsturm@one-point.com>
431
432         * java/net/InetAddress.java:
433         (static): Don'f force DNS request for ANY_IF address.
434
435 2003-11-30  Michael Koch  <konqueror@gmx.de>
436
437         * java/net/InetAddress.java,
438         java/net/natInetAddressNoNet.cc,
439         java/net/natInetAddressPosix.cc,
440         java/net/natInetAddressWin32.cc:
441         Reverted my last patch.
442
443 2003-11-28  Michael Koch  <konqueror@gmx.de>
444
445         * java/net/InetAddress.java
446         (lookup): New method that doesnt lookup "0.0.0.0".
447         (ImplLookup): Renamed from lookup.
448         * java/net/natInetAddressNoNet.cc
449         (ImplLookup): Renamed from lookup.
450         * java/net/natInetAddressPosix.cc
451         (ImplLookup): Renamed from lookup.
452         * java/net/natInetAddressWin32.cc
453         (ImplLookup): Renamed from lookup.
454
455 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
456
457         * configure: Rebuilt.
458         * configure.in: Require gtk and glib 2.2.0.
459
460 2003-11-27  Dalibor Topic <robilad@kaffe.org>
461
462         * java/text/FieldPosition.java (equals): Adapted to handle
463         field_attribute. Added fast-circuit check for comparison to self.
464         Replaced use of instanceof by getClass to fix symmetry for derived
465         types.
466         (toString): Adapted to handle field_attribute. Improved readability.
467         (hashCode): New method.
468
469 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
470
471         * java/text/FieldPosition.java (field_attribute): New field.
472         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
473         getFieldAttribute): New methods.
474
475 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
476
477         * java/text/DecimalFormatSymbols.java (locale): New field.
478         (DecimalFormatSymbols (Locale)): Set locale.
479         (serialVersionOnStream): Upgraded to number 2.
480         (readObject): Assign locale if it wasn't by the serializer.
481
482 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
483
484         * java/text/FormatCharacterIterator.java: Documented the class and
485
486 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
487
488         * java/text/FormatCharacterIterator.java: Fixed some typos.
489
490 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
491
492         * java/text/NumberFormat.java:
493         (getIntegerInstance) Added the java version in the comments.
494
495 2003-11-27  Mark Wielaard  <mark@klomp.org>
496
497         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
498         (readResolve): Reformat.
499
500 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
501
502         * java/text/NumberFormat.java
503         (NumberFormat.Field): New implemented class to match Java 1.4. 
504         (getIntegerInstance): Two new Java 1.4 methods.o
505
506 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
507
508         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
509         the leap day of the leap year twice.
510         (computeFields): First week of month is 1 not 0.
511
512 2003-11-27  Mark Wielaard  <mark@klomp.org>
513
514         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
515         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
516
517 2003-11-27  Michael Koch  <konqueror@gmx.de>
518
519         * javax/swing/UIDefaults.java:
520         Reformated to match classpath's version.
521
522 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
523
524         * javax/swing/UIManager.java (getDefaults, getDimension,
525         getIcon, getInsets, getInstalledLookAndFeels, getInt,
526         getLookAndFeel, getString, getSystemLookAndFeelClassName):
527         Declare as public.
528
529 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
530
531         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
532         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
533         isSignificant): Likewise.
534
535 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
536
537         * javax/swing/undo/CompoundEdit.java: Re-format, document.
538         (inProgress): Set initial value to true.
539         (undo, redo, die, canUndo, canRedo): Also call inherited
540         implementation; simplify code structure.
541         (getPresentationName, getUndoPresentationName,
542         getRedoPresentationName): Make behavior dependent on lastEdit.
543         (addEdit, isSignificant): Completely re-written.
544
545 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
546
547         * javax/swing/undo/StateEdit.java: Re-format, document.
548         (undo, redo): Also call inherited implementation.
549
550 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
551
552         * javax/swing/undo/StateEditable.java: Re-format, document.
553
554 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
555
556         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
557         (AbstractUndoableEdit): Initialize hasBeenDone to true.
558         (canUndo, canRedo): Simplify.
559         (getUndoPresentationName, getRedoPresentationName): Support
560         localized message; call getPresentationName() only once.
561
562 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
563
564         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
565         (ZipFile(File,int)): Likewise.
566
567 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
568
569         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
570         (putAllInternal): Likewise.
571         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
572         (putAllInternal): Likewise.
573
574 2003-11-26  Michael Koch  <konqueror@gmx.de>
575
576         * java/net/URLStreamHandler.java
577         (parseURL): Added comment in catch statement.
578         (canonicalizeFilename): Add documentation.
579         (sameURL): Completed documentation.
580         (equals): Likewise.
581         (hostsEqual): Likewise.
582         (getDefaulPort): Likewise.
583         (hashCode): Likewise.
584         (toExternalForm): Likewise.
585         (getHostName): Fix empty hostname check, completed documentation.
586
587 2003-11-26  Tom Tromey  <tromey@redhat.com>
588
589         * java/lang/natDouble.cc (parseDouble): Reverted patch of
590         2003-11-13.
591
592 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
593             Mark Wielaard  <mark@klomp.org>
594
595         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
596         ('@' should be checked to distinguish port from userinfo).
597         (toExternalForm): Add @ userInfo if necessary.
598
599
600 2003-11-26  Michael Koch  <konqueror@gmx.de>
601
602         * java/net/DatagramSocket.java
603         (DategramSocket, bind): Moved binding code from DatagramSocket
604         constructor to bind method.
605
606 2003-11-26  Michael Koch  <konqueror@gmx.de>
607
608         * java/net/DatagramSocket.java
609         (impl): Made private.
610         (bound): New private member variable.
611         (DatagramSocket): Fixed documentation, use getImpl().
612         (getImpl): New package-private method.
613         (isClosed): Use getImpl().
614         (getLocalAddress): Completed documentation, use getImpl().
615         (getLocalPort): Use getImpl().
616         (getSoTimeout): Likewise.
617         (setSoTimeout): Likewise.
618         (getSendBufferSize): Likewise.
619         (setSendBufferSize): Likewise.
620         (getReceiveBufferSize): Likewise.
621         (setReceiveBufferSize): Likewise.
622         (connect): Likewise.
623         (disconnect): Likewise.
624         (receive): Likewise.
625         (send): Likewise.
626         (setReuseAddress): Likewise.
627         (setTrafficClass): Likewise.
628         (bind): Added message to exception.
629         (isClosed): Completed documentation.
630         (getChannel): Likewise.
631         (connect): Added missing exception, refined exception message.
632         (isBound): Completed documentation, just return bound.
633         (isConnected): Completed documentation.
634         (getRemoteSocketAddress): Likewise.
635         (getReuseAddress): Completed documentation, use getImpl().
636         (setSoBroadcast): Likewise.
637         (getSoBroadcast): Likewise.
638         (getTrafficClass): Likewise.
639         (getLocalSocketAddress): Simplified.
640         * java/net/MulticastSocket.java
641         (MulticastSocket): Removed comment not applying anymore.
642         (getInterface): Use getImpl().
643         (getTTL): Likewise.
644         (getTimeToLive): Likewise.
645         (setInterface): Likewise.
646         (setNetworkInterface): Likewise.
647         (getNetworkInterface): Likewise.
648         (setLoopback): Likewise.
649         (getLoopback): Likewise.
650         (setTTL): Likewise.
651         (setTimeToLive): Likewise.
652         (joinGroup): Likewise.
653         (leaveGroup): Likewise.
654         (send): Likewise.
655
656 2003-11-26  Michael Koch  <konqueror@gmx.de>
657
658         * java/net/Socket.java
659         (implCreated): Dont set default value explicitely, added
660         documentation.
661         (inputShutdown): Likewise.
662         (outputShutdown): Likewise.
663         (bound): New private member variable.
664         (bind): Set bound to true.
665         (close): Set bound to false.
666         (isBound): Return bound.
667         * java/net/ServerSocket.java
668         (bound): New private member variable.
669         (bind): Set bound to true.
670         (close): Set bound to false.
671         (isBound): Return bound.
672
673 2003-11-26  Michael Koch  <konqueror@gmx.de>
674
675         * java/net/URL.java
676         (URL): Fixed documentation to be HTML compliant.
677         (getContent): Completed documentation.
678         (getFile): Likewise.
679         (getPath): Likewise.
680         (getAuthority): Likewise.
681         (getHost): Likewise.
682         (getDefaultPort): Likewise.
683         (getProtocol): Likewise.
684         (hashCode): Likewise.
685         (openConnection): Likewise.
686         (openStream): Likewise.
687         (set): Likewise.
688         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
689
690 2003-11-26  Michael Koch  <konqueror@gmx.de>
691
692         * java/net/InetSocketAddress.java
693         (hostname): Made private, added documentation.
694         (addr): Likewise.
695         (port): Likewise.
696         (equals): Completed documentation.
697         (getAddress): Likewise.
698         (getHostName): Likewise.
699         (getPort): Likewise.
700         (hashCode): Likewise.
701         (isUnresolved): Likewise.
702         (toString): Likewise.
703
704 2003-11-26  Michael Koch  <konqueror@gmx.de>
705
706         * gnu/java/net/protocol/file/Handler.java
707         (Handler): New explicit constructor.
708         (openConnection): Added documentation.
709         * gnu/java/net/protocol/jar/Handler.java
710         (Handler): New explicit constructor.
711         (openConnection): Added documentation.
712
713 2003-11-26  Michael Koch  <konqueror@gmx.de>
714
715         * java/net/DatagramPacket.java
716         (DatagramPacket): Fixed documentation to become legal HTML.
717
718 2003-11-25  Michael Koch  <konqueror@gmx.de>
719
720         * gcj/javaprims.h: Added missing java.util.Currency.
721
722 2003-11-25  Michael Koch  <konqueror@gmx.de>
723
724         * testsuite/libjava.mauve/xfails:
725         Removed these two tests, they mystically pass now:
726         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
727         test_params failed - 5getInetAddress did not return proper values
728         (number 1)
729         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
730         test_BasicServer failed - 11 exception was thrown :Illegal seek
731         (number 1)
732
733 2003-11-25  Michael Koch  <konqueror@gmx.de>
734
735         * java/net/DatagramSocket.java
736         (factory): Made private.
737         (closed): Removed.
738         (DatagramSocket): Check impl argument, use constructor with
739         SocketAddress argument.
740         (close): Set impl to null, use isClosed().
741         (isClosed): Check for impl == null.
742         (getLocalAddress): Use isClosed().
743         (getLocalPort): Check if socket is closed.
744         (getSoTimeout): Likewise.
745         (setSoTimeout): Likewise.
746         (getSendBufferSize): Likewise.
747         (setSendBufferSize): Likewise.
748         (getReceiveBufferSize): Likewise.
749         (setReceiveBufferSize): Likewise.
750         (receive): Likewise.
751         (send): Likewise.
752         (bind): Likewise.
753         (connect): Likewise.
754         (setReuseAddress): Likewise.
755         (getReuseAddress): Likewise.
756         (setBroadcast): Likewise.
757         (getBroadcast): Likewise.
758         (setTrafficClass): Likewise.
759         (getTrafficClass): Likewise.
760         * java/net/MulticastSocket.java
761         (getInterface): Check if socket is closed.
762         (getTTL): Likewise.
763         (getTimeToLive): Likewise.
764         (setInterface): Likewise.
765         (setNetworkInterface): Likewise.
766         (getNetworkInterface): Likewise.
767         (setLoopbackMode): Likewise.
768         (setTTL): Likewise.
769         (setTimeToLive): Likewise.
770         (joinGroup): Likewise.
771         (leaveGroup): Likewise.
772         (send): Likewise.
773         * java/net/ServerSocket.java
774         (closed): Removed.
775         (close): Check if socket is closed, set impl to null.
776         (isClosed): Check impl == null;
777         (ServerSocket): Check impl argument.
778         (getInetAddress): Check if socket is bound.
779         (getLocalPort): Likewise.
780         (getLocalSocketAddress): Likewise.
781         (bind): Check if socket is closed.
782         (implAccept): Likewise.
783         (setSoTimeout): Likewise.
784         (getSoTimeout): Likewise.
785         (setReuseAddress): Likewise.
786         (getReuseAddress): Likewise.
787         (setReceiveBufferSize): Likewise.
788         (getReceiveBufferSize): Likewise.
789         (toString): Make output compliant to JDK 1.4.2.
790         * java/net/Socket.java
791         (closed): Removed.
792         (Socket): Fixed documentation.
793         (connect): Check if socket is closed, changed exception text,
794         fixed documentation.
795         (getInputStream): Check of socket is closed  and connected.
796         (getOutputStream): Likewise.
797         (bind): Check if socket is closed.
798         (setTcpNoDelay): Likewise.
799         (getTcpNoDelay): Likewise.
800         (setSoLinger): Likewise.
801         (getSoLinger): Likewise.
802         (sendUrgentData): Likewise.
803         (setOOBInline): Likewise.
804         (getOOBInline): Likewise.
805         (setSoTimeout): Likewise.
806         (getSoTimeout): Likewise.
807         (setSendBufferSize): Likewise.
808         (getSendBufferSize): Likewise.
809         (setReceiveBufferSize): Likewise.
810         (getReceiveBufferSize): Likewise.
811         (setKeepAlive): Likewise.
812         (getKeepAlive): Likewise.
813         (close): Likewise.
814         (shutdownInput): Likewise.
815         (shutdownOutput): Likewise.
816         (getReuseAddress): Likewise.
817         (getTrafficClass): Likewise.
818         (setTrafficClass): Likewise.
819         (isClosed): Check impl == null.
820         (toString): Added missing ']'.
821
822 2003-11-24  Tom Tromey  <tromey@redhat.com>
823
824         * Makefile.in: Rebuilt.
825         * Makefile.am (propdir): New macro.
826         (install-data-local): Install logging.properties.
827         (core_java_source_files): Added java.util.logging.*.
828         * java/util/logging/logging.properties: New file.
829
830 2003-11-25  Michael Koch  <konqueror@gmx.de>
831
832         * java/net/DatagramSocket.java
833         (DatagramSocket): Move binding code to bind(), simplify constructors.
834         * java/net/MulticastSocket.java
835         (MulticastSocket): Call parent constructor with null argument,
836         bind socket after setReuseAddress is called, simplify constructors.
837
838 2003-11-24  Michael Koch  <konqueror@gmx.de>
839
840         * javax/swing/BoxLayout.java
841         (serialVersionUIR): New member variable.
842         (X_AXIS, Y_AXIS): Documentation added.
843         (LINE_AXIS, PAGE_AXIS): New constants.
844         (grid): Renamed from gridbag.
845         (BoxLayout): Use new constants, throw exception if invalid value for
846         way, added documentation.
847         (BoxLayout): Removed.
848         (addLayoutComponent): Use new constants, added documentation.
849         (removeLayoutComponent): Likewise.
850         (addLayoutContainer): Added documentation.
851         (preferredLayoutSize): Added documentation, check given argument.
852         (minimumLayoutSize): Likewise.
853         (layoutContainer): Likewise.
854         (getLayoutAlignmentX): Likewise.
855         (getLayoutAlignmentY): Likewise.
856         (invalidateLayout): Likewise.
857         (maximumLayoutSize): Likewise.
858
859 2003-11-22  Michael Koch  <konqueror@gmx.de>
860
861         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
862         (peekData): Use offset and maximal free space in datagram packet.
863         (receive): Likewise.
864         (send): Use offset in datagram packet.
865
866 2003-11-22  Michael Koch  <konqueror@gmx.de>
867
868         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
869         (peekData): Use offset and maximal free space in datagram packet.
870         (receive): Likewise.
871         (send): Use offset in datagram packet.
872
873 2003-11-22  Michael Koch  <konqueror@gmx.de>
874
875         * gnu/java/nio/DatagramChannelImpl.java
876         (getNativeFD): Use getPlainDatagramSocketImpl().
877         * gnu/java/nio/NIODatagramSocket.java
878         (getPlainDatagramSocketImpl): Renamed from getImpl().
879         * gnu/java/nio/NIOSocket.java
880         (getPlainSocketImpl): Renamed from getImpl().
881         (setChannel): Use getPlainSocketImpl().
882         * gnu/java/nio/SocketChannelImpl.java
883         (SocketChannelImpl): Use getPlainSocketImpl().
884         (getPlainSocketImpl): Renamed from getImpl().
885         (getNativeFD): Use getPlainSocketImpl().
886
887 2003-11-18  Graydon Hoare  <graydon@redhat.com>
888
889         * javax/swing/JLayeredPane.java: Implement.
890         * javax/swing/JFrame.java (getContentPane): Make public
891         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
892         Use JLayeredPane.FRAME_CONTENT_LAYER.
893
894 2003-11-21  Mark Wielaard  <mark@klomp.org>
895
896         * java/lang/Float.java (static): Removed.
897
898 2003-11-18  Graydon Hoare  <graydon@redhat.com>
899
900         * java/awt/font/TextLayout.java: Implement simple layouts
901         using attributed strings and glyph vectors.
902
903 2003-11-17  Graydon Hoare  <graydon@redhat.com>
904
905         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
906         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
907         (GdkFontLineMetrics): New inner class.
908         (getLineMetrics): Return new GdkFontLineMetrics.
909         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
910         (layoutGlyphVector): Create GdkGlyphVector.
911         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
912         (GdkGraphics2D): Initialize state via mathod calls.
913         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
914         (cairoTranslate, cairoScale, cairoRotate): Remove.
915         (various methods): use setTransform for special transform cases.
916         (DrawState): New inner class.
917         (stateSave): New method.
918         (stateRestore): New method.
919         (various methods): use stateSave, stateRestore.
920         (getClipInDevSpace): New method.
921         (clip, clipRect, setClip, getClip, getClipBounds): 
922         Follow spec more closely.
923         (getTransform): Return clone of transform.
924         (setStroke): Set linewidth to passed width / 2.0.
925         (setPaintMode): Set SrcOver rather than Xor.
926         (setColor): Set paint to passed color.
927         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
928         transform from image to user space.
929         (drawRenderedImage, drawRenderableImage): Implement.
930         (getFontRenderContext, getFontMetrics, drawString, getFont): 
931         Implement
932         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
933         Implement.
934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
935         Match changes to java side.
936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
937         Release resources.
938         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
939         Don't use pango for metrics.
940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
941         New file.
942
943 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
944             Jim Pick  <jim@kaffe.org>
945
946         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
947         methods.
948
949 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
950
951         * java/text/DecimalFormatSymbols.java (getCurrency,
952         setCurrency): New methods.
953
954 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
955
956         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
957         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
958         Describe how the implementation works.
959
960 2003-11-19  Michael Koch  <konqueror@gmx.de>
961
962         * java/net/Socket.java
963         (implCreated): New variable that indicates created impl.
964         (getImpl): New method.
965         (toString): Return more SUN compliant string representation.
966         (various): Use getImpl() instead of impl.
967
968 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
969
970         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
971         the right libgcc. Add -multiply_defined suppress and -bind_at_load
972         flags.
973
974 2003-11-18  Tom Tromey  <tromey@redhat.com>
975
976         PR libgcj/13026:
977         * verify.cc (state::copy): Only set local_changed if we're in a
978         subroutine.  Correctly copy local variables which were modified
979         by the subroutine.
980         (push_jump_merge): Added more debugging output.
981
982         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
983         is null.
984
985 2003-11-17  Graydon Hoare  <graydon@redhat.com>
986
987         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
988         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
989
990 2003-11-16  Tom Tromey  <tromey@redhat.com>
991
992         PR libgcj/13062:
993         * java/io/StreamTokenizer.java (commentChar): Clear other
994         attributes for character.
995         (quoteChar): Likewise.
996
997 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
998
999         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1000         zero-length int arrays when layoutInfo is null.
1001         (getLayoutWeights): Return array of two zero-length double arrays when
1002         layoutInfo is null.
1003
1004 2003-11-13  Tom Tromey  <tromey@redhat.com>
1005
1006         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1007         JvGetStringUTFRegion.
1008         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1009         to JvGetStringUTFRegion.
1010         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1011         JvGetStringUTFRegion.
1012         * java/lang/natWin32Process.cc (startProcess): Pass length of
1013         string to JvGetStringUTFRegion.
1014         * java/lang/natClass.cc (forName): Pass length of string to
1015         JvGetStringUTFRegion.
1016         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1017         of string to JvGetStringUTFRegion.
1018         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1019         JvGetStringUTFRegion.
1020         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1021         to JvGetStringUTFRegion.
1022         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1023         string to JvGetStringUTFRegion.
1024
1025 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1026
1027         * gnu/java/nio/natSelectorImplPosix.cc
1028         (helper_put_filedescriptors): Change to static linkage.
1029         (helper_get_filedescriptors): Likewise.
1030
1031 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1032
1033         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1034         null check.
1035         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1036         * java/awt/Component.java (prepareImage): Likewise.
1037
1038         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1039         Rename to nativeSetAlignment.
1040
1041 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1042
1043         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1044         (JNI_GetCreatedJavaVMs): Likewise.
1045         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1046         * include/jni.h (JNIIMPEXP): Remove definition
1047         and replace with...
1048         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1049         symbols,
1050         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1051
1052 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1053
1054         * Makefile.am: Add GdkPixbufDecoder.java and
1055         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1056         * Makefile.in: Regenerate.
1057         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1058         New constructor.
1059         (startProduction): Create ByteArrayInputStream when url and filename are
1060         null.
1061         (produce): Declare stream parameter as InputStream.
1062         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1063         as InputStream.
1064         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1065         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1066         (produce): Declare stream parameter as InputStream.
1067         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1068         if image is null.  Set image's observer before running PrepareImage
1069         thread.  Pass image to startProduction.
1070         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1071         source's member functions.
1072         (observer): New field.
1073         (setObserver): New method.
1074         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1075         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1076         new GtkImage.
1077         (prepareImage): Implement.
1078         * java/awt/Component.java: Add static fields incrementalDraw and
1079         redrawRate.
1080         (imageUpdate): Implement.
1081         (createImage): Call Toolkit's createImage if peer is null.
1082         (prepareImage): Throw NPE if image is null.
1083         * java/awt/MediaTracker.java: Fix return value.
1084
1085 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1086
1087         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1088         (create(String, float)): New method.
1089         (setText): Make native.
1090         (nativeSetAlignment): New method.
1091         (setAlignment): Call nativeSetAlignment.
1092         (getArgs): Remove method.
1093         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1094         (find_fg_color_widget, find_bg_color_widget): New functions.
1095         (gtkWidgetSetForeground): Call find_fg_color_widget.
1096         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1097         prelight colors.
1098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1099         widget in event box.
1100         (setText, setAlignment): Implement new native methods.
1101
1102 2003-11-11  Michael Koch  <konqueror@gmx.de>
1103
1104         * java/awt/Font.java,
1105         java/awt/datatransfer/DataFlavor.java,
1106         java/math/BigInteger.java,
1107         java/net/Inet4Address.java,
1108         java/net/Inet6Address.java,
1109         java/rmi/MarshalledObject.java,
1110         java/rmi/server/RMIClassLoader.java,
1111         java/security/cert/CertStore.java,
1112         java/sql/Timestamp.java,
1113         java/text/SimpleDateFormat.java,
1114         javax/naming/CompoundName.java:
1115         Removed some redundant obj == null checks.
1116
1117 2003-11-11  Michael Koch  <konqueror@gmx.de>
1118
1119         * java/nio/ByteBuffer.java
1120         (equals): Remove redundant obj == null check.
1121
1122 2003-11-11  Michael Koch  <konqueror@gmx.de>
1123
1124         * gnu/java/nio/natPipeImpl.cc,
1125         gnu/java/nio/natSelectorImpl.cc: Removed
1126         * gnu/java/nio/natPipeImplEcos.cc,
1127         gnu/java/nio/natPipeImplPosix.cc,
1128         gnu/java/nio/natPipeImplWin32.cc,
1129         gnu/java/nio/natSelectorImplEcos.cc,
1130         gnu/java/nio/natSelectorImplPosix.cc,
1131         gnu/java/nio/natSelectorImplWin32.cc: New files
1132         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1133         gnu/java/nio/natSelectorImpl.cc
1134         * configure: Regenerated.
1135
1136 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1137
1138         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1139         if host is printed too and port was really given to URL.
1140
1141 2003-11-10  Gary Benson  <gbenson@redhat.com>
1142
1143         * java/sql/Timestamp.java (valueOf): Correctly handle
1144         nanoseconds.
1145
1146 2003-11-09  Tom Tromey  <tromey@redhat.com>
1147
1148         * java/net/Inet4Address.java (serialVersionUID): Updated.
1149
1150 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1151
1152         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1153         New fields.
1154
1155 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1156
1157         * java/io/ByteArrayOutputStream.java (resize):
1158         Fix off-by-one error.
1159
1160 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1161
1162         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1163         public.
1164
1165 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1166
1167         PR libgcj/12231
1168         * java/lang/Win32Process.java (hasExited) Changed from
1169         public to private.
1170         (startProcess): Likewise.
1171         (cleanup): Likewise.
1172         * java/lang/natWin32Process.cc (cleanup) Don't close
1173         input, output and error streams.
1174         (ChildProcessPipe): New helper class.
1175         (startProcess): Refactored to use ChildProcessPipe.
1176         Use CREATE_NO_WINDOW when launching child process.
1177
1178 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1179
1180         * include/win32.h (_Jv_platform_close_on_exec): Changed
1181         signature and declared extern.
1182         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1183         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1184         (create): Use new signature of _Jv_platform_close_on_exec.
1185         * gnu/java/net/natPlainSocketImplWin32.cc 
1186         (create): Eliminated a few typecasts
1187         Use new signature of _Jv_platform_close_on_exec.
1188         (accept): Eliminated a few typecasts
1189         Use new signature of _Jv_platform_close_on_exec.
1190         * java/io/natFileDescriptorWin32.cc (open): Use
1191         _Jv_platform_close_on_exec.
1192
1193 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1194
1195         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1196         if class has no null-argument constructor.
1197
1198 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1199
1200         PR libgcj/12647:
1201         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1202         refcount when releasing and reacquiring it.
1203
1204 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1205
1206         * win32.cc: (dirExists) Internal helper function to
1207         test for directory existence.
1208         (getUserHome) New helper function refactored out
1209         of _Jv_platform_initProperties. Uses USERPROFILE
1210         instead of HOMEDIR and attempts to support Win9X and NT.
1211         (_Jv_platform_initProperties) Use getUserHome.
1212
1213 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1214
1215         PR libgcj/11521:
1216         * gnu/java/net/natPlainSocketImplWin32.cc
1217         (bind): Don't use SO_REUSEADDR
1218
1219 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1220
1221         PR libgcj/6652:
1222         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1223
1224 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1225
1226         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1227         dispatch for final methods.
1228
1229 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1230
1231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1232         word wrapping.
1233
1234 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1235
1236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1237         scrolled window's size request.
1238
1239 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1240
1241         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1242         * java/awt/geom/QuadCurve2D.java: Likewise.
1243
1244 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1245
1246         * java/awt/geom/CubicCurve2D.java: Added documentation.
1247         * java/awt/geom/QuadCurve2D.java: Likewise.
1248
1249         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1250         java/awt/geom/doc-files/QuadCurve2D-5.png,
1251         java/awt/geom/doc-files/CubicCurve2D-4.png,
1252         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1253
1254 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1255
1256         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1257         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1258         (subdivide(double[],int,double[],int,double[],int)): Implement.
1259
1260 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1261
1262         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1263         java/awt/geom/doc-files/CubicCurve2D-2.png,
1264         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1265
1266 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1267
1268         * java/text/DecimalFormat.java
1269         (scanFormat) corrected so that '%' may appear in a pattern.
1270
1271 2003-10-29  Mark Wielaard  <mark@klomp.org>
1272
1273         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1274         * java/text/DateFormat.java (Field): New public static inner class.
1275         * java/text/Format.java (Field): Likewise.
1276         (formatToCharacterIterator): New method.
1277         * java/text/FormatCharacterIterator.java: New file.
1278
1279 2003-10-29  Mark Wielaard  <mark@klomp.org>
1280
1281         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1282         * java/util/Currency.java: New file.
1283
1284 2003-10-29  Michael Koch  <konqueror@gmx.de>
1285
1286         * Makefile.am (ordinary_java_source_files): Added
1287         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1288         * Makefile.in: Regenerated.
1289
1290 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1291
1292         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1293         static methods.
1294
1295 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1296
1297         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1298         getObjectInstance() with Object, Name, Context and environment
1299         Hashtable from exception. Call fillInStackTrace() on exception when
1300         rethrown.
1301         * javax/naming/InitialContext.java (lookup(Name)): When a
1302         CannotProceedException is thrown use the ContinuationContext.
1303         (lookup(String)): Likewise.
1304         (close): Clear myProps and defaultInitCtx.
1305
1306 2003-10-29  Michael Koch  <konqueror@gmx.de>
1307
1308         * java/net/InetAddress.java
1309         (equals): Remove redundant obj == null check.
1310         * java/net/SocketPermission.java
1311         (equals): Likewise.
1312         * java/net/URL.java
1313         (equals): Likewise.
1314         (getURLStreamHandler): Likewise.
1315
1316 2003-10-29  Michael Koch  <konqueror@gmx.de>
1317
1318         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1319         (setOption): Directly return if no error occured.
1320         * gnu/java/net/natPlainSocketImplPosix.cc
1321         (setOption): Likewise.
1322
1323 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1324
1325         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1326         vtable slot for final methods. Add FIXME comment.
1327
1328 2003-10-28  David S. Miller  <davem@redhat.com>
1329
1330         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1331
1332 2003-10-26  Mark Wielaard  <mark@klomp.org>
1333
1334         Reported by Helmer Kraemer <hkraemer@freenet.de>
1335         * java/util/jar/JarInputStream.java (readManifest): Don't call
1336         closeEntry().
1337
1338         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1339         (finish): Use inbufWrite().
1340         (write(int)): Likewise.
1341         (write(byte[],int,int)): Likewise.
1342
1343 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1344
1345         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1346         Don't check for AccessibleObject. Update javadocs.
1347         
1348         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1349
1350 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1351
1352         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1353         whitespace on constructor with no modifiers.
1354         * java/lang/reflect/natConstructor.java (newInstance): Look up
1355         caller and perform accessibility check only if constructor is
1356         non-public and accessible flag is not set.
1357
1358 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1359
1360         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1361         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1362         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1363         is_virtual_call argument.
1364         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1365         natClass.cc.
1366         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1367         _Jv_isVirtualMethod.
1368         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1369         _Jv_LookupDeclaredMethod.
1370         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1371         look up method in target object's vtable.
1372
1373 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1374
1375         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1376         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1377         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1378         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1379         New concrete implementation of ClasspathFontPeer, with native part.
1380         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1381         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1382         New class, with native part.
1383         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1384         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1385         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1386
1387 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1388
1389         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1390         on method with no modifiers.
1391
1392 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1393
1394         PR libgcj/11780:
1395         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1396         accessibility check only if target is non-public and accessible flag
1397         is not set.
1398         * java/lang/reflect/natField.cc (getAddr): Likewise.
1399
1400 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1401
1402         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1403         Remove method.
1404         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1405         New method.
1406         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1407         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1408         (dispose): Post WINDOW_CLOSED event.
1409         (addWindowFocusListener, addWindowStateListener): Assign result
1410         of multicaster add back to window listener.
1411         (removeWindowFocusListener, removeWindowStateListener): Assign
1412         result of multicaster remove back to window listener.
1413         (dispatchEventImpl): Add null checks for focus and state
1414         listeners.
1415         (processWindowEvent): Handle case where windowListener is null
1416         but state or focus listeners exist.
1417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1418         glue for postWindowEvent.
1419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1420         (window_delete_cb, window_destroy_cb, window_show_cb,
1421         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1422         window_get_new_state): New functions.
1423         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1424         macros.  Declare postWindowEventID.
1425
1426 2003-10-24  Anthony Green  <green@redhat.com>
1427
1428         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1429         we have no interpreter.
1430
1431 2003-10-22  Andrew Haley  <aph@redhat.com>
1432
1433         * java/lang/natClass.cc (initializeClass): Call
1434         _Jv_linkExceptionClassTable.
1435         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1436         _Jv_Defer_Resolution on a method whose ncode is NULL.
1437         (_Jv_linkExceptionClassTable): New function.
1438         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1439         entry, look it up.
1440         * java/lang/Class.h (struct _Jv_CatchClass): New.
1441         (_Jv_linkExceptionClassTable): New friend.
1442         (_Jv_Defer_Resolution): New friend.
1443         (class Class.catch_classes): New field.
1444         * include/java-interp.h (Jv_Defer_Resolution): New method.
1445         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1446         (_Jv_MethodBase.deferred): New field.
1447         (_Jv_Defer_Resolution): New function.
1448         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1449         * exception.cc (get_ttype_entry): Change return type to void**.
1450         (PERSONALITY_FUNCTION): Remove all code related to using a
1451         Utf8Const* for a match type.  Change match type to be a pointer to
1452         a pointer, rather than a pointer to a Class.
1453         * defineclass.cc (handleCodeAttribute): Initialize
1454         method->deferred.
1455         (handleMethodsEnd): Likewise.
1456
1457 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1458
1459         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1460         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1461
1462 2003-10-22  Tom Tromey  <tromey@redhat.com>
1463
1464         PR libgcj/12416:
1465         * java/lang/Class.h: Updated.
1466         * java/lang/natClass.cc (_getFields): Removed.
1467         (getFields): Likewise.
1468         (getDeclaredFields): Added `public_only' parameter.
1469         * java/lang/Class.java (getFields): Now implemented in java; from
1470         Classpath.
1471         (getDeclaredFields): Likewise.
1472         (getDeclaredFields(boolean)): Declare.
1473         (_getFields): Removed.
1474         (internalGetFields): New method, from Classpath.
1475
1476         PR libgcj/12656:
1477         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1478         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1479
1480 2003-10-22  David Daney  <ddaney@avtrex.com)
1481
1482         * include/mips-signal.h: New file.
1483         * sysdep/dwarf2-backtrace.cc: New file.
1484         * sysdep/mips: New directory.
1485         * sysdep/mips/locks.h: New file.
1486         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1487         added to libgcj.
1488         (extra_cc_source_files): Ditto.
1489         * configure.host(disable_dladdr):  New shell variable passed to
1490         configure.
1491         (mips*-*-linux*): sysdeps_dir=mips,
1492         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1493         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1494         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1495         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1496         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1497         (EXTRA_CC_FILES): New, to support conditional addition of
1498         sysdep/dwarf2-backtrace.cc.
1499         * configure: Regenerated.
1500         * Makefile.in: Regenerated.
1501         * gcj/Makefile.in: Regenerated.
1502         * include/config.h.in: Regenerated.
1503         * include/Makefile.in: Regenerated.
1504         * testsuite/Makefile.in: Regenerated.
1505         
1506 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1507
1508         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1509         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1510
1511 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1512
1513         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1514         * java/awt/geom/doc-files: New directory.
1515         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1516         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1517         
1518 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1519
1520         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1521
1522 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1523
1524         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1525
1526 2003-10-22  Michael Koch  <konqueror@gmx.de>
1527
1528         * java/io/File.java
1529         (equals): Removed redundant obj == null check.
1530         (createTempFile): Merged comments from classpath.
1531
1532 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1533
1534         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1535         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1536         (error): Synchronize on instance, not class.
1537
1538 2003-10-21  Mark Wielaard  <mark@klomp.org>
1539
1540         Reported by M.Negovanovic
1541         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1542         method.
1543         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1544
1545 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1546
1547         Fix for Classpath bug #6076.
1548         * java/awt/geom/GeneralPath.java (append): Re-written.
1549
1550 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1551
1552         Fix for Classpath bug #6089.
1553         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1554         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1555
1556 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1557
1558         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1559         point, not start of subpath.  Fixes Classpath bug #6075.
1560
1561 2003-10-21  Michael Koch  <konqueror@gmx.de>
1562
1563         * java/nio/ByteOrder.java,
1564         java/nio/DirectByteBufferImpl.java,
1565         java/nio/channels/FileChannelImpl.java:
1566         Add code to load library with code for native methods if needed.
1567
1568 2003-10-21  Michael Koch  <konqueror@gmx.de>
1569
1570         * gnu/java/net/PlainDatagramSocketImpl.java,
1571         gnu/java/net/PlainSocketImpl.java,
1572         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1573         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1574         gnu/java/net/natPlainSocketImplPosix.cc,
1575         gnu/java/net/natPlainSocketImplWin32.cc:
1576         Renamed fnum to native_fd to match classpath more.
1577
1578 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1579
1580         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1581         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1582         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1583         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1584         _Jv_PthreadCheckMonitor.  Simplify code.
1585         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1586         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1587         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1588         * java/lang/Thread.java (holdsLock): New.
1589         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1590         without JV_HASH_SYNCHRONIZATION.
1591         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1592
1593 2003-10-20  Michael Koch  <konqueror@gmx.de>
1594
1595         * java/text/RuleBasedCollator.java
1596         (RuleBasedCollator): Check rules not empty, fixed search in already
1597         existing collation elements.
1598         (is_special): Removed common whitespace characters.
1599         (text_argument): Dont return on whitespaces, add characters between
1600         two ' to string buffer.
1601
1602 2003-10-18  Michael Koch  <konqueror@gmx.de>
1603
1604         * gnu/java/net/protocol/file/Connection.java,
1605         gnu/java/net/protocol/file/Handler.java,
1606         gnu/java/net/protocol/http/Connection.java,
1607         gnu/java/net/protocol/http/Handler.java,
1608         gnu/java/net/protocol/jar/Connection.java,
1609         gnu/java/net/protocol/jar/Handler.java:
1610         Merged copyright text from classpath to make
1611         it possible to merge the classes.
1612
1613 2003-10-18  Mark Wielaard  <mark@klomp.org>
1614
1615         Reported by M.Negovanovic
1616         * java/beans/IndexedPropertyDescriptor.java
1617         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1618
1619 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1620
1621         * win32.cc (_Jv_pipe): Implemented.
1622         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1623         _Jv_pipe instead of ::pipe.
1624         * include/posix.h (_Jv_pipe): New inline.
1625         * include/win32.h (_Jv_pipe): New declaration.
1626         
1627 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1628
1629         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1630         (append, substring, insert): Likewise.
1631         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1632         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1633         
1634 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1635
1636         * java/lang/natString.cc (getChars):
1637         Fix validation of array indexes.
1638         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1639         * testsuite/libjava.lang/String_overflow.java: New file.
1640         * testsuite/libjava.lang/String_overflow.out: New file.
1641
1642 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1643
1644         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1645         overflow a jint.
1646         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1647         check for overflowing size_t, since the lower level functions
1648         take a jint.
1649         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1650         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1651         
1652 2003-10-15  Michael Koch  <konqueror@gmx.de>
1653
1654         * java/text/RuleBasedCollator.java
1655         (RuleBasedCollator): Moved around, documentation added.
1656         (compare): Documentation added.
1657         (equals): Likewise.
1658         (getCollationElementIterator): Likewise.
1659         (getCollationKey): Likewise.
1660         (getRules): Likewise.
1661         (hashCode): Likewise.
1662
1663 2003-10-15  Michael Koch  <konqueror@gmx.de>
1664
1665         * java/text/RuleBasedCollator.java
1666         (CollationElement): Renamed from RBCElement and moved into
1667         RuledBasedCollator as inner class.
1668
1669 2003-10-15  Michael Koch  <konqueror@gmx.de>
1670
1671         * java/text/CollationElementIterator.java
1672         (CollationElementIterator): Moved, documenatation added, call setText.
1673         (next): Reformated.
1674         (reset): Reformated.
1675         (setText): New method.
1676         (getOffset): New method.
1677         * java/text/CollationKey.java
1678         (getSourceString): Reformated.
1679         (hashCode): Reformated.
1680         (toByteArray): Reformated.
1681
1682 2003-10-15  Michael Koch  <konqueror@gmx.de>
1683
1684         * java/util/zip/InflaterInputStream.java
1685         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1686         added description to exception, check for inf == null and size < 0.
1687
1688 2003-10-15  Michael Koch  <konqueror@gmx.de>
1689
1690         * java/text/AttributedCharacterIterator.java,
1691         java/text/CharacterIterator.java: Reformated.
1692
1693 2003-10-15  Michael Koch  <konqueror@gmx.de>
1694
1695         * javax/swing/UIDefaults.java (putDefaults):
1696         Readded accidently removed "public" modifier.
1697
1698 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1699
1700         * interpret.cc (_Jv_InterpMethod::run): Don't
1701         use libffi types, they were meant to be internal.
1702         * gcj/javaprims.h (_Jv_ulong): New typedef.
1703
1704 2003-10-13  Tom Tromey  <tromey@redhat.com>
1705
1706         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1707         (defineClass): Updated.
1708         (_Jv_NewClass): Likewise.
1709         * prims.cc (_Jv_InitPrimClass): Don't call
1710         _Jv_InitNewClassFields.
1711
1712 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1713
1714         PR libgcj/12592
1715         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1716         not just \n.
1717
1718 2003-10-13  Michael Koch  <konqueror@gmx.de>
1719
1720         * java/io/File.java: Reformated.
1721         (equals): Check for obj == null.
1722
1723 2003-10-13  Michael Koch  <konqueror@gmx.de>
1724
1725         * java/net/JarURLConnection.java
1726         (jarFileURL): Added dcoumentation.
1727         (jarFileURLConnection): Reformated documentation.
1728         (entryName): Renamed from "element", documentation rewritten.
1729         (connectionCache): Renamed from "conn_cache", documentation
1730         reformated.
1731         (JarURLConnection): Check URL protocol.
1732         (getEntryName): Use entryName.
1733         (connect): Use connectionCache.
1734         (getInputStream): Use entryName, fixed comment.
1735         (getJarEntry): Use entryName.
1736         (getHeaders): Use entryName.
1737         * java/net/URLConnection.java
1738         (addRequestProperty): Fixed documentation.
1739         (setDefaultRequestProptery): Added comment that it does nothing since
1740         JDK 1.3.
1741         (getDefaultRequestProperty): Likewise.
1742
1743 2003-10-13  Michael Koch  <konqueror@gmx.de>
1744
1745         * java/net/java/net/URLStreamHandlerFactory.java
1746         (createURLStreamHandler): Removed redundant "public" modifier.
1747         * java/sql/DatabaseMetaData.java:
1748         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1749         * java/sql/ParameterMetaData.java:
1750         (ParameterMetaData): Readded accidently removed "public" modifier.
1751         * java/sql/PreparedStatement.java:
1752         (PreparedStatement): Readded accidently removed "public" modifier.
1753         * java/sql/Ref.java:
1754         (Ref): Readded accidently removed "public" modifier.
1755
1756 2003-10-13  Michael Koch  <konqueror@gmx.de>
1757
1758         * java/nio/Buffer.java
1759         (hasRemaining): Made implementation more clear.
1760         * java/nio/MappedByteBuffer.java
1761         (loaded): New member variable.
1762         (force): Added comment.
1763         (isLoaded): Return value of loaded.
1764         (load): Set loaded to true, added comment.
1765
1766 2003-10-12  Michael Koch  <konqueror@gmx.de>
1767
1768         * gnu/java/nio/PipeImpl.java
1769         (SourceChannelImpl): New inner class.
1770         (SinkChannelImpl): New inner class.
1771         (sink): New member variable.
1772         (source): New member variable.
1773         (PipeImpl): Add SelectorProvider argument, implemented.
1774         (nativeInit): New method.
1775         (sink): Return sink channel.
1776         (source): Return source channel.
1777         * gnu/java/nio/SelectorProviderImpl.java
1778         (openPipe): Give provider as argument to PipeImpl constructor.
1779         * java/nio/channels/spi/SelectorProvider.java
1780         (pr): Removed.
1781         (systemDefaultProvider): New member variable.
1782         (provider): Made it synchronized, use property
1783         java.nio.channels.spi.SelectorProvider.
1784         * gnu/java/nio/natPipeImpl.cc: New file.
1785         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1786         * Makefile.in: Regenerated.
1787
1788 2003-10-12  Michael Koch  <konqueror@gmx.de>
1789
1790         * javax/swing/table/DefaultTableModel.java,
1791         javax/swing/table/TableCellEditor.java,
1792         javax/swing/table/TableCellRenderer.java,
1793         javax/swing/table/TableColumnModel.java,
1794         javax/swing/table/TableModel.java,
1795         javax/swing/text/AbstractDocument.java,
1796         javax/swing/text/Document.java,
1797         javax/swing/text/MutableAttributeSet.java,
1798         javax/swing/text/StyledDocument.java,
1799         javax/swing/text/ViewFactory.java,
1800         javax/swing/tree/DefaultMutableTreeNode.java,
1801         javax/swing/tree/MutableTreeNode.java,
1802         javax/swing/tree/RowMapper.java,
1803         javax/swing/tree/TreeCellEditor.java,
1804         javax/swing/tree/TreeCellRenderer.java,
1805         javax/swing/tree/TreeModel.java,
1806         javax/swing/tree/TreeNode.java,
1807         javax/swing/tree/TreeSelectionModel.java,
1808         javax/swing/undo/StateEditable.java,
1809         javax/swing/undo/UndoableEdit.java:
1810         Removed redundant modifiers.
1811
1812 2003-10-12  Michael Koch  <konqueror@gmx.de>
1813
1814         * javax/swing/event/AncestorListener.java,
1815         javax/swing/event/CaretListener.java,
1816         javax/swing/event/CellEditorListener.java,
1817         javax/swing/event/ChangeListener.java,
1818         javax/swing/event/DocumentEvent.java,
1819         javax/swing/event/DocumentListener.java,
1820         javax/swing/event/HyperlinkListener.java,
1821         javax/swing/event/InternalFrameListener.java,
1822         javax/swing/event/ListDataListener.java,
1823         javax/swing/event/ListSelectionListener.java,
1824         javax/swing/event/MenuDragMouseListener.java,
1825         javax/swing/event/MenuKeyListener.java,
1826         javax/swing/event/MenuListener.java,
1827         javax/swing/event/MouseInputListener.java,
1828         javax/swing/event/PopupMenuListener.java,
1829         javax/swing/event/TableColumnModelListener.java,
1830         javax/swing/event/TableModelListener.java,
1831         javax/swing/event/TreeExpansionListener.java,
1832         javax/swing/event/TreeModelListener.java,
1833         javax/swing/event/TreeSelectionListener.java,
1834         javax/swing/event/TreeWillExpandListener.java,
1835         javax/swing/event/UndoableEditListener.java,
1836         javax/swing/plaf/UIResource.java,
1837         javax/swing/plaf/metal/MetalLookAndFeel.java:
1838         Removed redundant modifiers.
1839
1840 2003-10-12  Michael Koch  <konqueror@gmx.de>
1841
1842         * javax/swing/Action.java,
1843         javax/swing/BoundedRangeModel.java,
1844         javax/swing/CellEditor.java,
1845         javax/swing/ComboBoxEditor.java,
1846         javax/swing/ComboBoxModel.java,
1847         javax/swing/DesktopManager.java,
1848         javax/swing/JComboBox.java,
1849         javax/swing/ListCellRenderer.java,
1850         javax/swing/ListSelectionModel.java,
1851         javax/swing/MenuElement.java,
1852         javax/swing/MutableComboBoxModel.java,
1853         javax/swing/Renderer.java,
1854         javax/swing/RootPaneContainer.java,
1855         javax/swing/ScrollPaneConstants.java,
1856         javax/swing/SingleSelectionModel.java,
1857         javax/swing/SpinnerModel.java,
1858         javax/swing/SwingConstants.java,
1859         javax/swing/UIDefaults.java,
1860         javax/swing/WindowConstants.java,
1861         javax/swing/border/Border.java,
1862         javax/swing/colorchooser/ColorSelectionModel.java:
1863         Removed redundant modifiers.
1864
1865 2003-10-11  Michael Koch  <konqueror@gmx.de>
1866
1867         * javax/transaction/Status.java,
1868         javax/transaction/Synchronization.java,
1869         javax/transaction/Transaction.java,
1870         javax/transaction/TransactionManager.java,
1871         javax/transaction/UserTransaction.java,
1872         javax/transaction/xa/XAResource.java,
1873         javax/transaction/xa/Xid.java:
1874         Removing redundant modifiers.
1875
1876 2003-10-11  Michael Koch  <konqueror@gmx.de>
1877
1878         * javax/print/attribute/Attribute.java,
1879         javax/print/attribute/AttributeSet.java,
1880         javax/print/attribute/PrintRequestAttributeSet.java:
1881         Removing redundant modifiers.
1882
1883 2003-10-11  Michael Koch  <konqueror@gmx.de>
1884
1885         * javax/sql/ConnectionEventListener.java,
1886         javax/sql/ConnectionPoolDataSource.java,
1887         javax/sql/DataSource.java,
1888         javax/sql/PooledConnection.java,
1889         javax/sql/RowSet.java,
1890         javax/sql/RowSetInternal.java,
1891         javax/sql/RowSetListener.java,
1892         javax/sql/RowSetMetaData.java,
1893         javax/sql/RowSetReader.java,
1894         javax/sql/RowSetWriter.java,
1895         javax/sql/XAConnection.java,
1896         javax/sql/XADataSource.java:
1897         Removing redundant modifiers.
1898
1899 2003-10-11  Michael Koch  <konqueror@gmx.de>
1900
1901         * javax/naming/Context.java,
1902         javax/naming/Name.java,
1903         javax/naming/NameParser.java,
1904         javax/naming/NamingEnumeration.java,
1905         javax/naming/Referenceable.java,
1906         javax/naming/directory/Attribute.java,
1907         javax/naming/directory/Attributes.java,
1908         javax/naming/directory/DirContext.java,
1909         javax/naming/event/EventContext.java,
1910         javax/naming/event/EventDirContext.java,
1911         javax/naming/event/NamespaceChangeListener.java,
1912         javax/naming/event/NamingListener.java,
1913         javax/naming/event/ObjectChangeListener.java,
1914         javax/naming/ldap/Control.java,
1915         javax/naming/ldap/ExtendedRequest.java,
1916         javax/naming/ldap/ExtendedResponse.java,
1917         javax/naming/ldap/HasControls.java,
1918         javax/naming/ldap/LdapContext.java,
1919         javax/naming/ldap/UnsolicitedNotification.java,
1920         javax/naming/ldap/UnsolicitedNotificationListener.java,
1921         javax/naming/spi/DirObjectFactory.java,
1922         javax/naming/spi/DirStateFactory.java,
1923         javax/naming/spi/InitialContextFactory.java,
1924         javax/naming/spi/InitialContextFactoryBuilder.java,
1925         javax/naming/spi/ObjectFactory.java,
1926         javax/naming/spi/ObjectFactoryBuilder.java,
1927         javax/naming/spi/Resolver.java,
1928         javax/naming/spi/StateFactory.java:
1929         Removing redundant modifiers.
1930
1931 2003-10-11  Michael Koch  <konqueror@gmx.de>
1932
1933         * java/security/Key.java,
1934         * java/security/PrivateKey.java,
1935         * java/security/PublicKey.java,
1936         * java/security/acl/Acl.java,
1937         * java/security/acl/AclEntry.java,
1938         * java/security/acl/Group.java,
1939         * java/security/acl/Owner.java,
1940         * java/security/acl/Permission.java,
1941         * java/security/cert/X509Extension.java,
1942         * java/security/interfaces/DSAKey.java,
1943         * java/security/interfaces/DSAKeyPairGenerator.java,
1944         * java/security/interfaces/DSAParams.java,
1945         * java/security/interfaces/DSAPrivateKey.java,
1946         * java/security/interfaces/DSAPublicKey.java,
1947         * java/security/interfaces/RSAKey.java,
1948         * java/security/interfaces/RSAPrivateCrtKey.java,
1949         * java/security/interfaces/RSAPrivateKey.java,
1950         * java/security/interfaces/RSAPublicKey.java:
1951         Removed redundant modifiers.
1952
1953 2003-10-11  Michael Koch  <konqueror@gmx.de>
1954
1955         * gnu/java/rmi/server/ProtocolConstants.java,
1956         gnu/java/security/der/DER.java:
1957         Removing redundant modifiers.
1958
1959 2003-10-11  Michael Koch  <konqueror@gmx.de>
1960
1961         * java/util/Map.java,
1962         java/util/Observer.java,
1963         java/util/zip/Checksum.java,
1964         java/util/zip/ZipConstants.java:
1965         Removed redundant modifiers.
1966
1967 2003-10-11  Michael Koch  <konqueror@gmx.de>
1968
1969         * java/text/AttributedCharacterIterator.java,
1970         java/text/CharacterIterator.java:
1971         Removed redundant modifiers.
1972
1973 2003-10-11  Michael Koch  <konqueror@gmx.de>
1974
1975         * java/sql/Array.java,
1976         java/sql/Blob.java,
1977         java/sql/CallableStatement.java,
1978         java/sql/Clob.java,
1979         java/sql/Connection.java,
1980         java/sql/DatabaseMetaData.java,
1981         java/sql/Driver.java,
1982         java/sql/ParameterMetaData.java,
1983         java/sql/PreparedStatement.java,
1984         java/sql/Ref.java,
1985         java/sql/ResultSet.java,
1986         java/sql/ResultSetMetaData.java,
1987         java/sql/SQLData.java,
1988         java/sql/SQLInput.java,
1989         java/sql/SQLOutput.java,
1990         java/sql/Savepoint.java,
1991         java/sql/Statement.java,
1992         java/sql/Struct.java:
1993         Removed redundant modifiers.
1994
1995 2003-10-11  Michael Koch  <konqueror@gmx.de>
1996
1997         * java/nio/channels/Channel.java,
1998         java/nio/channels/GatheringByteChannel.java,
1999         java/nio/channels/ReadableByteChannel.java,
2000         java/nio/channels/ScatteringByteChannel.java,
2001         java/nio/channels/WritableByteChannel.java:
2002         Removed redundant modifiers.
2003
2004 2003-10-11  Michael Koch  <konqueror@gmx.de>
2005
2006         * java/rmi/activation/ActivationInstantiator.java,
2007         java/rmi/activation/ActivationMonitor.java,
2008         java/rmi/activation/ActivationSystem.java,
2009         java/rmi/activation/Activator.java,
2010         java/rmi/dgc/DGC.java,
2011         java/rmi/registry/Registry.java,
2012         java/rmi/registry/RegistryHandler.java,
2013         java/rmi/server/LoaderHandler.java,
2014         java/rmi/server/RMIClientSocketFactory.java,
2015         java/rmi/server/RMIFailureHandler.java,
2016         java/rmi/server/RMIServerSocketFactory.java,
2017         java/rmi/server/RemoteCall.java,
2018         java/rmi/server/RemoteRef.java,
2019         java/rmi/server/ServerRef.java,
2020         java/rmi/server/Skeleton.java,
2021         java/rmi/server/Unreferenced.java:
2022         Removed redundant modifiers.
2023
2024 2003-10-11  Michael Koch  <konqueror@gmx.de>
2025
2026         * java/net/ContentHandlerFactory.java,
2027         java/net/DatagramSocketImplFactory.java,
2028         java/net/FileNameMap.java,
2029         java/net/SocketImplFactory.java,
2030         java/net/SocketOptions.java,
2031         java/net/URLStreamHandlerFactory.java:
2032         Removed redundant modifiers.
2033
2034 2003-10-11  Michael Koch  <konqueror@gmx.de>
2035
2036         * java/io/Externalizable.java,
2037         java/io/FileFilter.java,
2038         java/io/FilePermission.java,
2039         java/io/ObjectInput.java,
2040         java/io/ObjectInputValidation.java,
2041         java/io/ObjectOutput.java,
2042         java/io/ObjectStreamClass.java,
2043         java/io/ObjectStreamConstants.java,
2044         java/io/Serializable.java:
2045         Removed redundant modifiers.
2046
2047 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2048
2049         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2050         codebase and context classloader.
2051
2052 2003-10-11  Michael Koch  <konqueror@gmx.de>
2053
2054         * java/beans/beancontext/BeanContext.java,
2055         java/beans/beancontext/BeanContextChild.java,
2056         java/beans/beancontext/BeanContextChildComponentProxy.java,
2057         java/beans/beancontext/BeanContextChildSupport.java,
2058         java/beans/beancontext/BeanContextContainerProxy.java,
2059         java/beans/beancontext/BeanContextMembershipListener.java,
2060         java/beans/beancontext/BeanContextProxy.java,
2061         java/beans/beancontext/BeanContextServiceProvider.java,
2062         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2063         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2064         java/beans/beancontext/BeanContextServices.java,
2065         java/beans/beancontext/BeanContextServicesListener.java:
2066         Removed redundant modifiers.
2067
2068 2003-10-11  Michael Koch  <konqueror@gmx.de>
2069
2070         * java/beans/AppletInitializer.java,
2071         java/beans/BeanInfo.java,
2072         java/beans/Customizer.java,
2073         java/beans/DesignMode.java,
2074         java/beans/PropertyEditor.java,
2075         java/beans/Visibility.java:
2076         Removed redundant modifiers.
2077
2078 2003-10-11  Michael Koch  <konqueror@gmx.de>
2079
2080         * java/awt/print/Pageable.java,
2081         * java/awt/print/Printable.java,
2082         java/awt/print/PrinterGraphics.java:
2083         Removed redundant modifiers.
2084
2085 2003-10-11  Michael Koch  <konqueror@gmx.de>
2086
2087         * java/awt/peer/ButtonPeer.java,
2088         java/awt/peer/CheckboxMenuItemPeer.java,
2089         java/awt/peer/CheckboxPeer.java,
2090         java/awt/peer/ChoicePeer.java,
2091         java/awt/peer/ComponentPeer.java,
2092         java/awt/peer/ContainerPeer.java,
2093         java/awt/peer/DialogPeer.java,
2094         java/awt/peer/FileDialogPeer.java,
2095         java/awt/peer/FramePeer.java,
2096         java/awt/peer/LabelPeer.java,
2097         java/awt/peer/ListPeer.java,
2098         java/awt/peer/MenuBarPeer.java,
2099         java/awt/peer/MenuComponentPeer.java,
2100         java/awt/peer/MenuItemPeer.java,
2101         java/awt/peer/MenuPeer.java,
2102         java/awt/peer/PopupMenuPeer.java,
2103         java/awt/peer/RobotPeer.java,
2104         java/awt/peer/ScrollPanePeer.java,
2105         java/awt/peer/ScrollbarPeer.java,
2106         java/awt/peer/TextAreaPeer.java,
2107         java/awt/peer/TextComponentPeer.java,
2108         java/awt/peer/TextFieldPeer.java,
2109         java/awt/peer/WindowPeer.java:
2110         Removed redundant modifiers.
2111
2112 2003-10-11  Michael Koch  <konqueror@gmx.de>
2113
2114         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2115         * gnu/java/nio/ServerSocketChannelImpl.java
2116         (serverSocket): Made it a NIOServerSocket.
2117         (impl): Removed.
2118         (ServerSocketChannelImpl): Initialize only serverSocket.
2119         (initServerSocket): Removed.
2120         (getNativeFD): Rewritten.
2121         (implConfigureBlocking): Set socket timeout and removed comment.
2122         (accept): Rewritten.
2123         * gnu/java/nio/SocketChannelImpl.java
2124         (impl): New variable.
2125         (connected): Removed.
2126         (SocketChannelImpl): Initialize impl too.
2127         (getImpl): New method.
2128         (isConnected): Rewritten.
2129         (read): Rewritten, set position in buffer correctly.
2130         (write): Set position in buffer correctly.
2131         * java/net/ServerSocket.java (getImpl): New method.
2132         * gnu/java/nio/NIOServerSocket.java,
2133         gnu/java/nio/natNIOServerSocket.cc: New files.
2134         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2135         * Makefile.am
2136         (ordinary_java_source_files):
2137         Added gnu/java/nio/NIOServerSocket.java.
2138         (nat_source_files):
2139         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2140         and added gnu/java/nio/natNIOServerSocket.cc.
2141         * Makefile.in: Regenerated.
2142
2143 2003-10-11  Michael Koch  <konqueror@gmx.de>
2144
2145         * java/awt/ActiveEvent.java,
2146         java/awt/datatransfer/ClipboardOwner.java,
2147         java/awt/datatransfer/FlavorMap.java,
2148         java/awt/datatransfer/Transferable.java,
2149         java/awt/dnd/Autoscroll.java,
2150         java/awt/dnd/peer/DragSourceContextPeer.java,
2151         java/awt/dnd/peer/DropTargetContextPeer.java,
2152         java/awt/dnd/peer/DropTargetPeer.java,
2153         java/awt/font/MultipleMaster.java,
2154         java/awt/font/OpenType.java,
2155         java/awt/im/spi/InputMethodDescriptor.java,
2156         java/awt/image/ImageObserver.java,
2157         java/awt/image/ImageConsumer.java,
2158         java/awt/image/ImageProducer.java,
2159         java/awt/image/RGBImageFilter.java,
2160         java/awt/image/RasterOp.java,
2161         java/awt/image/renderable/RenderableImage.java:
2162         Removed redundant modifiers.
2163
2164 2003-10-11  Michael Koch  <konqueror@gmx.de>
2165
2166         * gnu/awt/j2d/DirectRasterGraphics.java,
2167         gnu/java/awt/EmbeddedWindowSupport.java:
2168         Removed redundant modifiers.
2169
2170 2003-10-09  Michael Koch  <konqueror@gmx.de>
2171
2172         * gnu/java/nio/SelectorImpl.java (register):
2173         Use ServerSocketChannelSelectionKey for server socket channels,
2174         removed unneeded comments.
2175         * gnu/java/nio/ServerSocketChannelImpl.java
2176         (ServerSocketChannelImpl): Made class public final.
2177         (impl): New member variable.
2178         (ServerSocketChannelImpl): Initialize member variables correctly.
2179         (initServerSocket): New method.
2180         (getNativeFD): Likewise.
2181         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2182         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2183         * Makefile.am (ordinary_java_source_files):
2184         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2185         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2186         * Makefile.in: Regenrated.
2187
2188 2003-10-09  Michael Koch  <konqueror@gmx.de>
2189
2190         * java/nio/channels/spi/AbstractSelectableChannel.java
2191         (registered): Made private.
2192         (blocking): Likewise.
2193         (LOCK): Likewise.
2194         (provider): Likewise.
2195         (keys): Made it a private LinkedList.
2196         (AbstractSelectableChannel): Initialize keys.
2197         (isRegistered): New implementation.
2198         (locate): Rewritten.
2199         (register): Rewritten.
2200         * java/nio/channels/spi/AbstractSelectionKey.java
2201         (ok): Removed.
2202         (cancelled): New member variable.
2203         (cancel): Rewritten.
2204         (isValid): Rewritten.
2205         * java/nio/channels/spi/AbstractSelector.java:
2206         Some methods moved.
2207         (closed): Make private.
2208         (provider): Likewise.
2209         (cancelledKeys): New member variable.
2210         (AbstractSelector): Initialize cancelledKeys.
2211         (cancelKey): New method.
2212
2213 2003-10-09  Tom Tromey  <tromey@redhat.com>
2214
2215         * java/lang/ClassLoader.java (setSigners): Implemented.
2216         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2217         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2218         Initialize new fields.
2219         * java/lang/Class.java (getSigners): Now native.
2220         (setSigners): Declare.
2221         * java/lang/natClass.cc (getSigners): New method.
2222         (getSigners): Likewise.
2223         * java/lang/Class.h (Class::signers): New field.
2224         (Class::setSigners): New method.
2225
2226 2003-10-09  Michael Koch  <konqueror@gmx.de>
2227
2228         * java/rmi/server/RMIClassLoader.java:
2229         Removed unused imports, little reformatings.
2230         (getClassLoader): New method, implementation was part of old loadCLass
2231         method.
2232         (loadClass): Simplified by moving functionality to new method and
2233         reworking the code a bit.
2234         (getClassAnnotation): Merged documentation from classpath.
2235
2236 2003-10-09  Michael Koch  <konqueror@gmx.de>
2237
2238         * java/math/BigInteger.java
2239         (add): Removed unused local variable len.
2240
2241 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2242
2243         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2244         modality check.
2245         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2246         Initialize insets to use latest insets.
2247         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2248         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2249         field.
2250         (postConfigureEvent): Update latestInsets field when insets
2251         change.  Remove call to setSize.  Move validate call outside of
2252         if blocks.
2253         (setVisible): Call setBounds before showing window.
2254         (nativeSetVisible): New native method.
2255         * java/awt/Window.java (show): Show visible owned windows.
2256         (hide): Hide visible owned windows.
2257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2258         (awt_event_handler): Implement modality using GTK grabs.
2259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2260         (global_gtk_window_group): New global variable.
2261         (gtkInit): Initialize global_gtk_window_group.
2262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2263         Clamp width and height values to at least 1.  Add this window to
2264         the global GTK window group.
2265         (setVisible): Rename to nativeSetVisible.
2266         (setup_window): Remove function.
2267         (setSize): Clamp width and height values to at least 1.
2268         (nativeSetBounds): Likewise.
2269         (gdk_window_get_root_geometry): Remove function.
2270         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2271         and setup_window declarations.  Declare global_gtk_window_group.
2272
2273         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2274         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2275         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2276         (gtkWidgetSetForeground): New method.
2277         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2278         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2279         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2280         (setBackground, setForeground): Implement.
2281         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2282         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2283         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2284         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2285         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2287         Position PangoLayout relative to text's baseline.
2288         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2289
2290         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2291         for CENTER and RIGHT alignments.
2292
2293 2003-10-08  Michael Koch  <konqueror@gmx.de>
2294
2295         * java/security/Security.java: Reformated.
2296
2297 2003-10-08  Michael Koch  <konqueror@gmx.de>
2298
2299         * java/text/SimpleDateFormat.java
2300         (compileFormat): Replace Character.isLetter() test with
2301         Character.isLowerCase() || Character.isUpperCase().
2302
2303 2003-10-08  Tom Tromey  <tromey@redhat.com>
2304
2305         * java/lang/StrictMath.java (toDegrees): Multiply before
2306         dividing.
2307         (toRadians): Likewise.
2308
2309 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2310
2311         * java/lang/Math.java
2312         (toRadians): multiply before dividing to reduce decimal error
2313         (toDegrees): ditto
2314
2315 2003-10-08  Michael Koch  <konqueror@gmx.de>
2316
2317         * gnu/gcj/protocol/core/Connection.java,
2318         gnu/gcj/protocol/core/CoreInputStream.java,
2319         gnu/gcj/protocol/core/Handler.java,
2320         gnu/gcj/protocol/core/natCoreInputStream.cc,
2321         gnu/gcj/protocol/file/Connection.java,
2322         gnu/gcj/protocol/file/Handler.java,
2323         gnu/gcj/protocol/gcjlib/Connection.java,
2324         gnu/gcj/protocol/gcjlib/Handler.java,
2325         gnu/gcj/protocol/http/Connection.java,
2326         gnu/gcj/protocol/http/Handler.java,
2327         gnu/gcj/protocol/jar/Connection.java,
2328         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2329         * gnu/java/net/protocol/core/Connection.java,
2330         gnu/java/net/protocol/core/CoreInputStream.java,
2331         gnu/java/net/protocol/core/Handler.java,
2332         gnu/java/net/protocol/core/natCoreInputStream.cc,
2333         gnu/java/net/protocol/file/Connection.java,
2334         gnu/java/net/protocol/file/Handler.java,
2335         gnu/java/net/protocol/gcjlib/Connection.java,
2336         gnu/java/net/protocol/gcjlib/Handler.java,
2337         gnu/java/net/protocol/http/Connection.java,
2338         gnu/java/net/protocol/http/Handler.java,
2339         gnu/java/net/protocol/jar/Connection.java,
2340         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2341         * gnu/gcj/runtime/FirstThread.java,
2342         java/net/URL.java: Use moved protocol handlers.
2343         * Makefile.am
2344         (ordinary_java_source_files): Moved files.
2345         (nat_source_files): Likewise.
2346         * Makefile.in: Regenerated.
2347
2348 2003-10-08  Michael Koch  <konqueror@gmx.de>
2349
2350         * gnu/java/nio/SocketChannelImpl.java
2351         (read): Write only read data to buffer.
2352
2353 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2354
2355         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2356         out.
2357         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2358         (JCL_free): Attach "unused" attribute to env parameter.
2359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2360         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2361         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2362         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2363         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2364         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2365         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2366         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2367         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2368         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2369         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2370         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2371         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2372         parameters.
2373         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2374         (initNativeState): Pass 0 as info argument to
2375         gtk_selection_add_target.
2376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2377         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2378         unused method implementations.
2379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2380         (awt_event_handler): Add break statement after default label.
2381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2382         (drawPixels): Remove unused variable i.
2383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2384         (setEnabled): Remove method implementation.
2385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2386         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2387         argument.
2388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2389         unused function.
2390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2391         (menu_pos): Assign TRUE to push_in.
2392         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2393         argument.
2394         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2395         (create): Remove unused variable layout.
2396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2397         Pass window_widget, rather than window, to
2398         gtk_widget_set_size_request.
2399         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2400         structure initialization with NULL values.
2401         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2402
2403 2003-10-08  Michael Koch  <konqueror@gmx.de>
2404
2405         * java/util/LinkedList.java:
2406         Removed whitespace to match classpath's version again.
2407
2408 2003-10-08  Michael Koch  <konqueror@gmx.de>
2409
2410         * java/util/prefs/Preferences.java
2411         (defaultFactoryClass): Fixed class name.
2412         (getFactory): Create instance of class returned by Class.forName(),
2413         reformated code.
2414
2415 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2416
2417         * javax/swing/table/AbstractTableModel.java
2418         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2419         helped stop pulling my hair on this +1 then -1 tricky thing!
2420
2421 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2422
2423         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2424         Remove unused parameters.
2425         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2426         Likewise.
2427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2428         (keyevent_state_to_awt_mods): Export function.
2429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2430         (getCaretPosition): Fix TextArea case.
2431         (textcomponent_commit_cb): Get exact event time and modifier
2432         state.
2433         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2434
2435 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2436
2437         * java/net/InetSocketAddress.java
2438         (InetSocketAddress): Made exception more clear.
2439         (equals): Handle case when addr is null.
2440         (toString): Likewise.
2441         * java/net/NetworkInterface.java
2442         (static): Load native library.
2443         (getNetworkInterfaces): Rewritten.
2444
2445 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2446
2447         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2448         field.
2449         (initializeInsets): New method.
2450         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2451         setBounds unconditionally.
2452         (setBounds): Convert coordinates if parent is a Window.
2453         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2454         field to GtkComponentPeer.
2455         (GtkContainerPeer): Don't initialize insets.
2456         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2457         New method.
2458         (create): Call new GtkWindowPeer create method.
2459         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2460         New method.
2461         (create): Call new GtkWindowPeer create method.
2462         (setBounds): Remove method.
2463         (postConfigureEvent): Likewise.
2464         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2465         type constants with GDK window type constants.
2466         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2467         (create(int,boolean)): Likewise.
2468         (create()): Call create(int,boolean).
2469         (nativeSetBounds): New native method declaration.
2470         (setBounds): Call native method declaration.
2471         (setSize): New native method declaration.
2472         (setBoundsCallback): Likewise.
2473         (postConfigureEvent): Handle change in insets.  Call setSize and
2474         setBoundsCallback methods.
2475         * java/awt/Window.java (Window): Set visible to false.
2476         (setBoundsCallback): New method.
2477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2478         (gtkWidgetGetLocationOnScreen): If this component is not a
2479         container, adjust the location returned based on the peer's
2480         allocation.
2481         (set(String,boolean)): Revert change from 2003-09-19.
2482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2483         (awt_event_handler): Fix inset calculation.
2484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2485         glue for Window.setBoundsCallback.
2486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2487         Set up stacking order, window decorations and window manager
2488         hints.
2489         (setBoundsCallback): New method.
2490         (setSize): New method.
2491         (nativeSetBounds): New method.
2492         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2493
2494 2003-10-02  Tom Tromey  <tromey@redhat.com>
2495
2496         * java/lang/VMClassLoader.java (loadClass): Now native.
2497         * java/lang/natClassLoader.cc (loadClass): Implement.
2498         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2499
2500 2003-10-02  Michael Koch  <konqueror@gmx.de>
2501
2502         * java/net/InetAddress.java
2503         (zeros): Removed.
2504         (ANY_IF): Initalizie in static block.
2505         (static): Load library with native methods here and initialize ANY_IF.
2506         (isAnyLocalAddress): Check if equal to ANY_IF.
2507         (equals): Use addr directly instead of addr1. Simplify for loop.
2508         (toString): Rename "result" to "host" and add IP address allways.
2509         (getLocalHost): Merged documentation from classpath.
2510         * java/net/ServerSocket.java
2511         (ServerSocket): New package-private constructor used by java.nio.
2512         * java/net/URLConnection.java
2513         (getRequestProperties): Check if already connected.
2514
2515 2003-10-02  Michael Koch  <konqueror@gmx.de>
2516
2517         * java/nio/ByteBufferHelper.java:
2518         Rewrote all methods by suggestions from Eric Blake.
2519
2520 2003-10-02  Michael Koch  <konqueror@gmx.de>
2521
2522         * java/net/URL.java
2523         (DEFAULT_SEARCH_PATH): New static variable.
2524         (ph_cache): Made it a HashMap.
2525         (getURLStreamHandler): Rename propVal to ph_search_path and use
2526         DEFAULT_SEARCH_PATH.
2527
2528 2003-10-02  Michael Koch  <konqueror@gmx.de>
2529
2530         * javax/swing/table/AbstractTableModel.java
2531         (findColumnName): Prevent from NullPointerException if argument
2532         columnName is null.
2533
2534 2003-10-02  Michael Koch  <konqueror@gmx.de>
2535
2536         * javax/swing/table/AbstractTableModel.java:
2537         This patch is based on a patch done by Arnaud Vandyck
2538         <arnaud.vandyck@ulg.ac.be>.
2539         (getColumnName): Fixed method documentation.
2540         (findColumn): Likewise.
2541         (getColumnClass): Likewise.
2542         (isCellEditable): Likewise.
2543         (setValueAt): Likewise.
2544         (addTableModelListener): Likewise.
2545         (removeTableModelListener): Likewise.
2546         (getTableModelListeners): New method.
2547
2548 2003-10-02  Michael Koch  <konqueror@gmx.de>
2549
2550         * javax/swing/table/AbstractTableModel.java:
2551         Reformated.
2552
2553 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2554
2555         Fix PR libgcj/12475
2556         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2557         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2558
2559 2003-10-01  Tom Tromey  <tromey@redhat.com>
2560
2561         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2562
2563 2003-10-01  Andrew Haley  <aph@redhat.com>
2564
2565         * java/lang/natClass.cc (initializeClass): Check for otable and
2566         atable.
2567         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2568         loops using for().  Search superinterfaces.  Check for fields as
2569         well as methods.  Initialize atable as well as otable: check for
2570         static methods as well as virtual methods.
2571         * java/lang/Class.h (struct _Jv_AddressTable): New.
2572         (atable): New.
2573         (atable_syms): New.
2574         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2575         * prims.cc (_Jv_equalUtf8Consts): constify.
2576
2577 2003-09-29  Tom Tromey  <tromey@redhat.com>
2578
2579         PR libgcj/10596:
2580         * include/jvm.h (_Jv_FinalizeString,
2581         _Jv_RegisterStringFinalizer): Declare.
2582         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2583         unintern.
2584         (intern): Updated.
2585         (_Jv_NewStringUtf8Const): Likewise.
2586         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2587         Add special case when finalizing a String.
2588         (in_hash): New function.
2589         (_Jv_RegisterStringFinalizer): Likewise.
2590         (maybe_add_finalize): Likewise.
2591
2592 2003-09-29  Michael Koch  <konqueror@gmx.de>
2593
2594         * java/net/InetAddress.java:
2595         (isMulticastAddress): Dont use local variable to store address length.
2596         Let the compiler optimize this.
2597         (getHostName): Merged dcoumentation from classpath.
2598         (getAddress): Likewise.
2599         (getHostAddress): Likewise.
2600         (hashCode): Likewise.
2601         (equals): Likewise.
2602         (toString): Likewise.
2603         (getByName): Likewise.
2604         (getAllByName): Likewise.
2605
2606 2003-09-29  Michael Koch  <konqueror@gmx.de>
2607
2608         * java/awt/image/IndexColorModel.java: Reformated.
2609
2610 2003-09-29  Michael Koch  <konqueror@gmx.de>
2611
2612         * java/net/InetAddress.java,
2613         java/net/URL.java: Reformated.
2614
2615 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2616
2617         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2618         significant bit of descriptor. Include the vtable and sync_info 
2619         fields.
2620
2621 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2622
2623         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2624         if `obj' is not a Number or Date instance.
2625         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2626         instead of Vector.
2627
2628 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2629
2630         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2631         Don't call setTimeZone on calendar.
2632
2633 2003-09-27  Michael Koch  <konqueror@gmx.de>
2634
2635         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2636
2637 2003-09-27  Michael Koch  <konqueror@gmx.de>
2638
2639         * java/net/URL.java (getURLStreamHandler):
2640         Check if we have to use cache before trying to retrieve handler from
2641         cache. Rename facName to clsName to match classpath more. Reformated
2642         some little pieces.
2643
2644 2003-09-27  Michael Koch  <konqueror@gmx.de>
2645
2646         * gnu/java/nio/SelectionKeyImpl.java
2647         (ch): Make package-private again. Jikes found this bug.
2648         Jeff Sturm submitted PR12426 for this to bugzilla
2649         to fix this bug in gcj.
2650
2651 2003-09-26  Michael Koch  <konqueror@gmx.de>
2652
2653         * java/rmi/server/RMIClassLoader.java:
2654         Reformatted file, no functional code changes.
2655
2656 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2657
2658         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2659         Save space for some pixels at the buffer end.  Added Javadoc.
2660
2661 2003-09-26  Tom Tromey  <tromey@redhat.com>
2662
2663         * java/io/ObjectOutputStream.java (writeFields): Fixed
2664         indentation.
2665         (putFields): Likewise.
2666
2667 2003-09-26  Michael Koch  <konqueror@gmx.de>
2668
2669         * java/nio/ByteBufferHelper.java:
2670         Totally reworked with help from Eric Blake.
2671
2672 2003-09-26  Tom Tromey  <tromey@redhat.com>
2673
2674         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2675         * java/awt/geom/PathIterator.java: Documentation fixes.
2676
2677 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2678
2679         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2680         (select): Likewise.
2681         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2682
2683 2003-09-25  Michael Koch  <konqueror@gmx.de>
2684
2685         * gnu/java/nio/DatagramChannelImpl.java
2686         (getNativeFD): New method.
2687         * gnu/java/nio/SelectionKeyImpl.java
2688         (SelectionKeyImpl): Class made abstract.
2689         (fd): Removed.
2690         (SelectionKeyImpl): Remove fd argument.
2691         (getNativeFD): New method.
2692         * gnu/java/nio/SocketChannelImpl.java
2693         (getNativeFD): New method.
2694         gnu/java/nio/DatagramChannelSelectionKey.java,
2695         * gnu/java/nio/SocketChannelSelectionKey.java:
2696         New files.
2697         * Makefile.am (ordinary_java_source_files):
2698         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2699         gnu/java/nio/SocketChannelSelectionKey.java.
2700         * Makefile.in: Regenerated.
2701
2702 2003-09-25  Michael Koch  <konqueror@gmx.de>
2703
2704         * java/lang/reflect/Proxy.java
2705         (getProxyClass): Remove workaround for gcj 3.0.x.
2706
2707 2003-09-25  Michael Koch  <konqueror@gmx.de>
2708
2709         * gnu/java/net/PlainDatagramSocketImpl.java
2710         (finalize): Moved to directly after constructor.
2711         (getNativeFD): New method.
2712         * gnu/java/net/PlainSocketImpl.java
2713         (getNativeFD): New method.
2714
2715 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2716
2717         * java/io/ObjectOutputStream.java:
2718         Allow putFields be called more than once.
2719
2720 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2721
2722         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2723         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2724         * java/awt/image/BufferedImage.java (toString): Implement.
2725
2726 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2727
2728         * aclocal.m4: Rebuilt.
2729         * configure: Rebuilt.
2730
2731 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2732
2733         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2734         field.
2735
2736 2003-09-25  Michael Koch  <konqueror@gmx.de>
2737
2738         * gnu/java/nio/SelectorImpl.java
2739         (implSelect): Renamed from java_do_select.
2740         (select): Call native implSelect() and add support for Thread
2741         interruption.
2742         * gnu/java/nio/natSelectorImpl.cc
2743         (implSelect): Renamed from java_do_select.
2744
2745 2003-09-25  Michael Koch  <konqueror@gmx.de>
2746
2747         * gnu/java/nio/SelectorImpl.java
2748         (selectNow): Made final, throws IOException.
2749         (select): Likewise.
2750         (getFDsAsArray): Made final.
2751         (selectedKeys): Likewise.
2752         (wakeup): Likewise.
2753         (deregisterCancelledKeys): Likewise.
2754         (register): Likewise.
2755         (ass): Removed.
2756         (add_selected): Removed.
2757         * gnu/java/nio/natSelectorImpl.cc:
2758         No need to include bstring.h or gcj/cni.h.
2759         (helper_put_filedescriptors): Rewritten.
2760         (helper_get_filedescriptors): Rewritten.
2761
2762 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2763
2764         * java/awt/font/FontRenderContext.java (getTransform): Return
2765         copy of internal transform object. Add Javadoc.
2766         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2767         winding rule as Sun J2SE.
2768         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2769
2770 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2771
2772         * java/rmi/Naming.java:
2773         Added comments, now accepts pseudo protocol "rmi".
2774
2775 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2776
2777         * java/text/DecimalFormat.java (format): Don't immediatly round
2778         baseNumber to long.
2779         (setMinimumIntegerDigits): Call super.
2780         (setMinimumFractionDigits): Likewise.
2781         (setMaximumIntegerDigits): Likewise.
2782         (setMaximumFractionDigits): Likewise.
2783
2784 2003-09-25  Michael Koch  <konqueror@gmx.de>
2785
2786         * gnu/java/nio/DatagramChannelImpl.java
2787         (DatagramChannelImpl): Made class final.
2788         (blocking): Made private.
2789         (socket): Made it a NIODatagramSocket and private.
2790         (DatagramChannelImpl): create NIODatagramSocket instead of
2791         DatagramSocket.
2792         (implConfigureBlocking): Set socket timeout.
2793         (connect): Check that channel is not closed.
2794         (write): Implemented.
2795         (write): Rewritten.
2796         (read): Implemented.
2797         (read): Rewritten.
2798         (receive): Implemented.
2799         (send): Implemented.
2800         * gnu/java/nio/SelectionKeyImpl.java
2801         (readyOps): Made private.
2802         (interestOps): Made private.
2803         (impl): Made private.
2804         (ch): Made private.
2805         (readyOps): Check if selection key is valid.
2806         (interestOps): Likewise.
2807         * gnu/java/nio/SelectorImpl.java
2808         (closed): Removed.
2809         (keys): Made private.
2810         (selected): Made private.
2811         (finalize): New method.
2812         (implCloseSelector): Rewritten.
2813         (keys): Return unmodifiable Set.
2814         (deregisterCancelledKeys): Fixed typo in method name.
2815         * gnu/java/nio/SocketChannelImpl.java
2816         (SocketChannelImpl): Made class final.
2817         (socket): Made it a NIOSocket and private.
2818         (blocking): Made private.
2819         (connected): Made private.
2820         (connectionPending): New member variable.
2821         (SocketChannelImpl): New implementation.
2822         (finalizer): Use isConnected().
2823         (connect): Rewritten.
2824         (finishConnect): Throws IOException, implemented.
2825         (isConnectionPending): Return connectionPending.
2826         (read): Rewritten.
2827         (write): Rewritten.
2828         * gnu/java/nio/NIOConstants.java: New file.
2829         * Makefile.am (ordinary_java_source_files):
2830         Added gnu/java/nio/NIOConstants.java.
2831         * Makefile.in: Regenerated.
2832
2833 2003-09-25  Michael Koch  <konqueror@gmx.de>
2834
2835         * java/net/InetAddress.java:
2836         Reorder imports, remove implementation comment.
2837         (isMulticastAddress): Merged documentation from classpath.
2838         * java/net/URLConnection.java
2839         (setRequestProperty): Check key for null, fix documentation.
2840         (adREquestProperty): Check key for null, remove wrong implementation
2841         and replace it with comment to overwrite this method in subclasses,
2842         fix documentation.
2843
2844 2003-09-25  Tom Tromey  <tromey@redhat.com>
2845
2846         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2847         domain code.
2848         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2849         argument.
2850         (linkClass0): Now in VMClassLoader.
2851         (markClassErrorState0): Likewise.
2852         (getSystemClassLoaderInternal): New method.
2853         * java/lang/natClass.cc (initializeClass): Use
2854         VMClassLoader::resolveClass.
2855         * java/lang/ClassLoader.java: New version, from Classpath.
2856         * java/lang/Class.java (getProtectionDomain):
2857         protectionDomainPermission and unknownProtectionDomain now in
2858         VMClassLoader.
2859         * java/lang/Class.h: VMClassLoader now a friend class.
2860         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2861         package-private.
2862         * gcj/javaprims.h: Regenerated class list.
2863         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2864         * java/lang/VMClassLoader.java: New version from Classpath;
2865         modified for libgcj use.
2866
2867 2003-09-25  Michael Koch  <konqueror@gmx.de>
2868
2869         * java/nio/ByteBufferHelper.java:
2870         New file.
2871         * java/nio/ByteBufferImpl.java,
2872         java/nio/DirectByteBufferImpl.java,
2873         java/nio/MappedByteBufferImpl.java
2874         (getType,putType): Use new helper class ByteBufferHelper.
2875         * Makefile.am (ordinary_java_source_files):
2876         Added java/nio/ByteBufferHelper.java.
2877         * Makefile.in: Regenerated.
2878
2879 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2880
2881         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2882         PR libgcj/12388.
2883
2884 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2885
2886         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2887         Strings, even if buffer is already shared.
2888
2889 2003-09-24  Michael Koch  <konqueror@gmx.de>
2890
2891         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2892
2893 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2894
2895         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2896         (write): Likewise.
2897         (SocketInputStream): Declare `read' and `write' methods native.
2898         Remove implementations which called back into PlainSocketImpl.
2899         Remove unneccessary overridden methods.
2900         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2901         to inner class PlainSocketImpl.SocketInputStream.
2902         (write): Likewise.
2903         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2904         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2905         * gnu/java/net/SocketInputStream.java: Remove unused file.
2906         * gnu/java/net/SocketOutputStream.java: Likewise.
2907         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2908         and SocketOutputStream.
2909         * Makefile.in: Rebuilt.
2910
2911 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2912
2913         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2914
2915         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2916         markers.
2917
2918 2003-09-22  Anthony Green  <green@redhat.com>
2919
2920         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2921         * configure: Rebuilt.
2922
2923 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2924
2925         PR java/12350:
2926         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2927
2928 2003-09-22  Michael Koch  <konqueror@gmx.de>
2929
2930         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2931         compiler warning but produces a different one now.
2932
2933 2003-09-22  Michael Koch  <konqueror@gmx.de>
2934
2935         * java/net/InetAddress.java:
2936         Moves around some code, reformats and adds documentation.
2937         No functional changes.
2938
2939 2003-09-22  Michael Koch  <konqueror@gmx.de>
2940
2941         * java/net/JarURLConnection.java
2942         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2943         (getCertificates): Made it more error prone.
2944         (getMainAttributes): Likewise.
2945         (getAttributes): Implemented.
2946         (getManifest): Reformatted code.
2947
2948 2003-09-20  Tom Tromey  <tromey@redhat.com>
2949
2950         * java/awt/Component.java: Indentation cleanup from Classpath.
2951
2952 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2953
2954        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2955        checking to follow 1.4.2 spec.
2956
2957 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2958
2959         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2960         is compatible in case client and server are running in the same VM
2961         (remerged from Classpath on 2003-09-20)
2962
2963 2003-09-19  David Daney <ddaney@avtrex.com>
2964
2965         * java/lang/ref/Reference.java (clear): Set referent to null and
2966         synchronize.
2967
2968 2003-09-19  Michael Koch  <konqueror@gmx.de>
2969
2970         * gnu/java/nio/NIODatagramSocket.java,
2971         gnu/java/nio/NIOSocket.java: New files.
2972         * Makefile.am (ordinary_java_source_files):
2973         Added gnu/java/nio/NIODatagramSocket.java and
2974         gnu/java/nio/NIOSocket.java.
2975         * Makefile.in: Regenerated.
2976
2977 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2978
2979         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2980         top-level GTK window.
2981         (getArgs): Add "title" property.
2982         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2983         "allow_shrink" and "allow_grow" properties.
2984         * java/awt/Dialog.java: Initialize resizable to true and change
2985         comments accordingly.  Initialize visible to false in
2986         constructors.
2987         * java/awt/Frame.java (dispose): Remove method.
2988         * java/awt/Window.java (ownedWindows): New field.
2989         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2990         owner's ownedWindows vector.
2991         (finalize): Remove method.
2992         (hide): Hide owned windows.
2993         (dispose): Dispose of owned windows.
2994         (getOwnedWindows): Implement.
2995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2996         unused GtkArg code.
2997         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2998         to TRUE or FALSE.
2999         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3000         (create): Set window's size requisition.
3001         (connectHooks): Fix indentation.
3002         (setResizable): Remove function.
3003         (static setBounds): Likewise.
3004         (setBounds): Replace call to setBounds with GTK size requisition
3005         and resize calls.
3006
3007 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3008
3009         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3010         function for lazy initialization of an auto-reset event.
3011         (_Jv_CondWait) Added thread interrupt support.
3012         (_Jv_ThreadInitData) Added initialization of interrupt support
3013         members.
3014         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3015         (_Jv_ThreadStart) Removed unused code.
3016         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3017         to an external caller.
3018         (_Jv_ThreadInterrupt) Implemented.
3019         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3020         event for interrupt support as well as a mutex which regulates
3021         access to this.
3022         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3023         event to an external caller.
3024         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3025         process.
3026         (waitFor) Added interrupt support.
3027
3028 2003-09-19  Michael Koch  <konqueror@gmx.de>
3029
3030         * java/net/DatagramSocket.java (getLocalAddress):
3031         Renamed result variable to localAddr.
3032         * java/net/MulticastSocket.java:
3033         No need to import gnu.java.net.PlainDatagramSocketImpl.
3034
3035 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3036
3037         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3038         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3039
3040 2003-09-18  Tom Tromey  <tromey@redhat.com>
3041
3042         * javax/naming/InitialContext.java: Reindented.
3043
3044 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3045             Helmer Kraemer <hkraemer@freenet.de>
3046
3047         * javax/naming/spi/NamingManager.java (getURLContext,
3048         getObjectInstance, getStateToBind): Always use current thread's
3049         context class loader when calling Class.forName.
3050
3051 2003-09-18  Michael Koch  <konqueror@gmx.de>
3052
3053         * java/util/Timer.java (finalize): Added "throws Throwable".
3054
3055 2003-09-18  Michael Koch  <konqueror@gmx.de>
3056
3057         * java/net/DatagramSocket.java
3058         (ch): Removed.
3059         (receive): Use getChannel() instead of ch.
3060         (send): Likewise.
3061         (getChannel): Return null.
3062         * java/net/ServerSocket.java
3063         (ch): Removed.
3064         (setChannel): Removed.
3065         (implAccept): Use getChannel() instead of ch.
3066         (close): Likewise.
3067         (getChannel): Return null.
3068         * java/net/Socket.java
3069         (ch): Removed.
3070         (connect): Use getChannel() instead of ch.
3071         (setChannel): Removed.
3072         (getChannel): Return null.
3073
3074 2003-09-18  Mark Wielaard  <mark@klomp.org>
3075
3076         Reported by Guilhem Lavaux and Julian Dolby
3077         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3078         field "serialPersistentFields", not "getSerialPersistentFields".
3079
3080 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3081
3082         * java/util/TimeZone.java: Initialize lazily.
3083         * java/util/Locale.java (readManifest): Fix check for country.
3084         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3085         traceable 
3086         * java/util/Calendar.java: Make use of ResourceBundle better
3087         traceable.
3088
3089 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3090
3091         * java/sql/Timestamp.java
3092         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3093
3094 2003-09-18  David P Grove  <groved@us.ibm.com>
3095
3096         * java/io/LineNumberReader (read): Don't reset pos & limit when
3097         markPos is 0.
3098
3099 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3100
3101         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3102         constant.
3103         (computeArguments): use computeTypicalArguments.
3104
3105         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3106         Compile_jikes.java and RMICException.java.
3107         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3108         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3109         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3110  
3111         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3112  
3113         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3114         (computeTypicalArguments): New method.
3115         (compile): Print compiler output to System.out. Collect compiler
3116         error output and use it in exception message.
3117  
3118         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3119         (destination): Initialize to null.
3120         (run): Replace file separator with '.' when processing class.
3121         (processClass): Replace '.' with file separator when compiling
3122         classes.
3123         (findClass): Use SystemClassLoader to load class.
3124         (generateStub): Use full class name for generated stub, that puts
3125         it in right path.  Replace '.' with file separator when generating
3126         stub file name. Write just the stub class name without package
3127         information as class name, and constructor name. Write only
3128         interface names for interfaces extending java.rmi.Remote as
3129         implemented.
3130         (generateSkel): Use full class name for generated skel, that puts
3131         it in right path.  Replace '.' with file separator when generating
3132         stub file name. Write just the stub class name without package
3133         information as class name.
3134
3135 2003-09-18  Michael Koch  <konqueror@gmx.de>
3136
3137         * Makefile.am (rmi_java_source_files):
3138         Added gnu/java/rmi/rmic/Compile_kjc.java,
3139         gnu/java/rmi/rmic/Compile_jikes.java and
3140         gnu/java/rmi/rmic/RMICException.java
3141         * Makefile.in: Regenerated.
3142
3143 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3144
3145         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3146         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3147         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3148         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3149         New files.
3150
3151 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3152
3153         * java/awt/BufferedImage.java (setData): Support non-component
3154         sample models.
3155         (getData): Same.
3156
3157 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3158
3159         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3160         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3161
3162 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3163
3164         * configure.in: Standardized help text case of
3165         --enable-hash-synchronization
3166         New configure switch --enable-libgcj-multifile and corresponding
3167         automake conditional ONESTEP.
3168         * configure: Rebuilt.
3169         * Makefile.am: Use automake conditional ONESTEP to determine
3170         whether classfiles should be compiled individually or all
3171         at once.
3172         * Makefile.in: Rebuilt.
3173
3174 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3175
3176         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3177         Remove method declaration.
3178         (create()): Call native create.
3179         (create(int)): New method.
3180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3181         (create): Add window_id parameter.  Call gtk_plug_new with
3182         window_id parameter.
3183         (construct): Remove method implementation.
3184
3185 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3186
3187         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3188         (mostlyclean-local): New target patterned after clean-local
3189         which recursively deletes all libtool objects using 'libtool rm'.
3190         (clean-local): Slightly modified comment to alleviate monotony.
3191         (distclean-local): New target patterned after clean-local
3192         which recursively deletes all .d files.
3193         * Makefile.in: Rebuilt.
3194
3195 2003-09-11  Tom Tromey  <tromey@redhat.com>
3196
3197         * java/net/URLStreamHandler.java (parseURL): If original file
3198         ends with "/", so must canonical result.
3199         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3200         with nul-termination and finding previous "/".
3201
3202 2003-09-11  Michael Koch  <konqueror@gmx.de>
3203
3204         * acconfig.h: Removed most items.
3205         * configure.in: Added descriptions to AC_DEFINE macros that where in
3206         acconfig.h before.
3207         * include/config.h.in: Regenerated.
3208
3209 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3210
3211         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3212         if one is installed. Improve Javadoc.
3213         (getSystemEventQueueImpl): Improve Javadoc.
3214
3215 2003-09-11  Tom Tromey  <tromey@redhat.com>
3216
3217         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3218         file does not exist.
3219
3220 2003-09-10  Anthony Green  <green@redhat.com>
3221
3222         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3223         Specify full name when referencing ::java::net::InetAddress.
3224         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3225         Fix argument type.
3226
3227 2003-09-10  Michael Koch  <konqueror@gmx.de>
3228
3229         * acconfig.h (__NO_MATH_INLINES): Removed.
3230         * configure.in: Removed check for g++ math inlining bug from 2000.
3231         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3232         libgcj_cxxflags.
3233         * configure: Regenerated.
3234
3235 2003-09-10  David Daney <ddaney@avtrex.com>
3236
3237         * java/util/Arrays.java (equals(all variants)): Quit using
3238         NullPointerException catching to detect null valued parameters.
3239
3240 2003-09-10  Michael Koch  <konqueror@gmx.de>
3241
3242         * java/net/DatagramSocket.java,
3243         java/net/MulticastSocket.java,
3244         java/net/ServerSocket.java,
3245         java/net/Socket.java:
3246         Use gnu.java.net.Plain*SocketImpl instead of
3247         java.net.PlainSocketImpl.
3248         * java/net/PlainDatagramSocketImpl.java,
3249         java/net/PlainSocketImpl.java,
3250         java/net/SocketInputStream.java,
3251         java/net/SocketOutputStream.java,
3252         java/net/natPlainDatagramSocketImplNoNet.cc,
3253         java/net/natPlainDatagramSocketImplPosix.cc,
3254         java/net/natPlainDatagramSocketImplWin32.cc,
3255         java/net/natPlainSocketImplNoNet.cc,
3256         java/net/natPlainSocketImplPosix.cc,
3257         java/net/natPlainSocketImplWin32.cc:
3258         Removed.
3259         * gnu/java/net/PlainDatagramSocketImpl.java,
3260         gnu/java/net/PlainSocketImpl.java,
3261         gnu/java/net/SocketInputStream.java,
3262         gnu/java/net/SocketOutputStream.java,
3263         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3264         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3265         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3266         gnu/java/net/natPlainSocketImplNoNet.cc,
3267         gnu/java/net/natPlainSocketImplPosix.cc,
3268         gnu/java/net/natPlainSocketImplWin32.cc:
3269         New files (moved from java/net).
3270         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3271         instead of java/net/natPlain*SocketImpl.cc.
3272         * configure: Regenerated.
3273         * Makefile.am: Moved files from java/net to gnu/java/net.
3274         * Makefile.in: Regenerated.
3275
3276 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3277
3278         * configure: Regenerate.
3279
3280 2003-09-04  Tom Tromey  <tromey@redhat.com>
3281
3282         * configure.host: Removed erroneous comment.
3283
3284         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3285         lvalue cast; use correct rvalue cast.
3286
3287 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3288
3289         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3290         and height arguments to GtkWindowPeer.create method call.
3291         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3292         (create(int,int,int)): New method.
3293         (create(int)): Add call to new create method.
3294         (create()): Add width and height arguments to create method
3295         call.
3296         (GtkWindowPeer): Remove call to setBounds.
3297         * java/awt/Frame.java (Frame(String)): Initialize visible field
3298         to false.
3299         (Frame(GraphicsConfiguration)): Likewise.
3300         (Frame(String,GraphicsConfiguration)): Likewise.
3301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3302         Add width and height parameters.  Call
3303         gtk_window_set_default_size.
3304         (connectHooks): Remove unused name variable.
3305         (static setBounds): Call gtk_window_resize not
3306         gtk_widget_set_usize.
3307         (setBounds): Remove unused nchildren variable.
3308
3309 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3310
3311         * java/util/logging/Logger.java: provide class and method information
3312         * java/util/logging/LogManager.java: create handlers
3313         * java/util/logging/SimpleFormatter.java: print souceClassName and
3314         sourceMethodName
3315
3316 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3317
3318         * win32.cc: fixed tab, indentation and whitespace
3319         inconsistencies
3320         removed jvm.h include
3321         added includes java/lang/UnsupportedOperationException.h,
3322         java/io/IOException.h, java/net/SocketException.h
3323         (WSAEventWrapper): class implementation
3324         (_Jv_WinStrError): implemented both overloads
3325         (_Jv_ThrowIOException): implemented both overloads
3326         (_Jv_ThrowSocketException): implemented both overloads
3327         (_Jv_select): implemented
3328         * include/win32.h: fixed tab, indentation and whitespace
3329         inconsistencies
3330         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3331         added jvm.h include
3332         (WSAEventWrapper): added class declaration
3333         (_Jv_WinStrError): added both overload declarations
3334         (_Jv_ThrowIOException): added both overload declarations
3335         (_Jv_ThrowSocketException): added both overload declarations
3336         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3337         (_Jv_select): added declaration
3338         (_Jv_socket): removed
3339         (_Jv_connect): removed
3340         (_Jv_close): removed
3341         (_Jv_bind): removed
3342         (_Jv_accept): removed
3343         (_Jv_listen): removed
3344         (_Jv_write): removed
3345         (_Jv_read): removed
3346         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3347         whitespace inconsistencies
3348         replaced <windows.h> #include with <platform.h>
3349         removed jvm.h include
3350         (testCanUseGetHandleInfo): new function which tests whether Win32
3351         GetHandleInformation() call can be used with console buffer handles
3352         (only supported on >=WinNT 5.0)
3353         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3354         (valid): rewrote implementation using GetHandleInformation()
3355         (sync):         changed exception throwing to use error string and exception
3356         helper methods declared in include/win32.h
3357         (open): likewise
3358         (write): likewise
3359         (setLength): likewise
3360         (close): likewise
3361         (seek): likewise
3362         (getFilePointer): likewise
3363         (read): likewise
3364         * java/io/natFileWin32.cc: fixed tab, indentation and
3365         whitespace inconsistencies
3366         replaced <windows.h> #include with <platform.h>
3367         removed jvm.h include
3368         (_access): use JV_TEMP_UTF_STRING
3369         (_stat): likewise
3370         (performMkDir): use JV_TEMP_UTF_STRING
3371         (performRenameTo): likewise
3372         (performDelete): likewise
3373         (performCreate): likewise
3374         (performSetReadOnly): likewise
3375         (performSetLastModified): likewise
3376         * java/lang/natWin32Process.cc: fixed tab, indentation and
3377         whitespace inconsistencies
3378         replaced <windows.h> #include with <platform.h>
3379         removed includes gcj/cni.h, jvm.h
3380         (new_string): removed
3381         (startProcess): use JV_TEMP_UTF_STRING,
3382         changed exception throwing to use error string and exception
3383         helper methods declared in include/win32.h
3384         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3385         whitespace inconsistencies
3386         replaced <windows.h> #include with <platform.h>
3387         removed jvm.h include
3388         removed DISABLE_JAVA_NET conditional code
3389         removed POSIX conditional code not relevant to Win32
3390         (aton): use JV_TEMP_UTF_STRING
3391         removed POSIX conditional code not relevant to Win32
3392         (lookup): likewise
3393         (getLocalHostName): likewise
3394         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3395         whitespace inconsistencies
3396         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3397         removed DISABLE_JAVA_NET conditional code
3398         removed POSIX conditional code not relevant to Win32
3399         (winsock2GetRealNetworkInterfaces): new function to compute network
3400         interfaces via Winsock2 API
3401         (determineGetRealNetworkInterfacesFN): new function for returning
3402         a function pointer to the function used to compute network interfaces.
3403         (getRealNetworkInterfaces): implemented
3404         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3405         whitespace inconsistencies
3406         removed gcj/cni.h include
3407         removed DISABLE_JAVA_NET conditional code
3408         removed POSIX conditional code not relevant to Win32
3409         changed net POSIXisms to Win32isms
3410         replaced _Jv socket-related calls with their real Win32 equivalents
3411         changed exception throwing to use error string and exception
3412         helper methods declared in include/win32.h
3413         (peekData): implemented timeout support
3414         (receive): likewise
3415         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3416         whitespace inconsistencies
3417         removed gcj/cni.h and gcj/javaprims.h includes
3418         removed DISABLE_JAVA_NET conditional code
3419         removed POSIX conditional code not relevant to Win32
3420         changed net POSIXisms to Win32isms
3421         replaced _Jv socket-related calls with their real Win32
3422         equivalents
3423         changed exception throwing to use error string and exception
3424         helper methods declared in include/win32.h
3425         (throwConnectException): helper function for connect()
3426         (connect): implemented timeout support
3427         (accept): likewise
3428         (doRead): new helper function common to both read() method overloads,
3429         includes timeout support
3430         (read): implemented both overloads in terms of doRead()
3431         (available): implemented using ioctlsocket()
3432
3433 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3434
3435         * java/net/natInetAddressWin32.cc,
3436         java/net/natNetworkInterfaceWin32.cc,
3437         java/net/natPlainDatagramSocketImplWin32.cc,
3438         java/net/natPlainSocketImplWin32.cc:
3439         Readded code enclosed in DISABLE_JAVA_NET defines
3440         in preparation for MinGW cleanup / networking
3441         patch
3442
3443 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3444
3445         * Makefile.am: Fixed problems with parallel makes.
3446         (all_java_class_files): Readded definition.
3447         (all_java_class_files): New target which depends on
3448         libgcj-@gcc_version@.jar
3449         * Makefile.in: Rebuilt
3450
3451 2003-08-28  Tom Tromey  <tromey@redhat.com>
3452
3453         * Makefile.in: Rebuilt.
3454         * Makefile.am (ordinary_java_source_files): Added new files.
3455         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3456         friend.
3457         * java/net/URLClassLoader.java (findClass): Don't use
3458         findURLResource.  Use loader's getClass method.
3459         (URLLoader.getClass): New method.
3460         (addURL): Handle `gcjlib' URLs.
3461         (SoURLLoader): New class.
3462         (SoResource): Likewise.
3463         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3464         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3465         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3466         (_Jv_RegisterCoreHook): Declare.
3467         (_Jv_FindCore): Declare.
3468         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3469         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3470         typedef.
3471         (core_hook): New function.
3472         (struct SharedLibDummy) [saved_core]: New field.
3473         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3474         (register_hook): Set protection domain and class loader on new
3475         class.
3476         (finalize): Free core chain.
3477         * gnu/gcj/Core.java (Core): New constructor.
3478         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3479         SharedLibHelper.
3480         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3481         (_Jv_create_core): New function.
3482         (create): Use it.
3483         (default_register_resource): New function.
3484         (_Jv_RegisterCoreHook): New global.
3485         (_Jv_RegisterResource): Use it.
3486         (core_chain_struct): Removed.
3487         (_Jv_FindCore): New function.
3488         (_Jv_FreeCoreChain): New function.
3489
3490 2003-08-29  Michael Koch  <konqueror@gmx.de>
3491
3492         * java/net/natInetAddressWin32.cc,
3493         java/net/natNetworkInterfaceWin32.cc,
3494         java/net/natPlainDatagramSocketImplWin32.cc,
3495         java/net/natPlainSocketImplWin32.cc:
3496         Removed code enclosed in DISABLE_JAVA_NET defines.
3497
3498 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3499
3500         * Makefile.am: (write_entries_to_file) New parameterized
3501         function for writing entries to a file one line at a time.
3502         (all_java_class_files): Removed definition.
3503         (.java.class) Removed.target.
3504         (libgcj-@gcc_version@.jar): Changed dependency to
3505         $(all_java_source_files); added compilation step which compiles
3506         all changed source files in one pass.
3507         (libgcj.la) Refactored to use write_entries_to_file.
3508         (lib-gnu-awt-xlib.la) Likewise.
3509         (install-data-local) Likewise.
3510         (write-entries-to-file-check) New target which tests write_entries_to_file.
3511         (all-recursive): Changed dependency from $(all_java_class_files)
3512         to libgcj-@gcc_version@.jar
3513         * Makefile.in: Rebuilt.
3514
3515 2003-08-26  Tom Tromey  <tromey@redhat.com>
3516
3517         * java/lang/StrictMath.java: Typo fix.
3518         * java/lang/Math.java: Typo fix.
3519
3520 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3521
3522         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3523         of the removed Thread.
3524
3525 2003-08-26  Mark Wielaard  <mark@klomp.org>
3526
3527         Reported by David Holmes <dholmes@dltech.com.au>.
3528         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3529         Collections.synchronizedMap.
3530         * java/lang/ThreadLocal.java (valueMap): Likewise.
3531
3532 2003-08-26  Mark Wielaard  <mark@klomp.org>
3533
3534         * java/security/acl/Acl.java: Fix broken p tag.
3535         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3536         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3537         * javax/swing/plaf/TreeUI.java: Likewise.
3538         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3539         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3540         documentation.
3541         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3542         tag.
3543
3544 2003-08-26  Tom Tromey  <tromey@redhat.com>
3545
3546         * Makefile.in: Rebuilt.
3547         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3548
3549         * java/lang/ref/Reference.java (get): Indentation fix.
3550         (clear): Comment fix.
3551         (enqueue): Likewise.
3552         (lock): Likewise.
3553         (referent): Likewise.
3554
3555 2003-08-26  Tom Tromey  <tromey@redhat.com>
3556
3557         PR java/12058:
3558         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3559
3560         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3561         (ProxyData.getPackage): New method.
3562         (ProxyData.getProxyData): Use package name, not Package.
3563         (ClassFactory.ClassFactory): Updated.
3564
3565 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3566         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3567         * Makefile.in: re-generated.
3568         * gnu/awt/j2d/IntegerGraphicsState.java
3569         (ScreenCoupledImage): new interface.
3570         (drawImage): detect ScreenCoupledImage instances.
3571         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3572         * gnu/awt/xlib/XEventLoop.java
3573         (createEvent): re-formatted, and rearranged to avoid null pointer.
3574         * gnu/awt/xlib/XGraphics.java
3575         (drawImage): added XOffScreenImage handling.
3576         * gnu/awt/xlib/XOffScreenImage.java: new file.
3577         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3578         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3579         * gnu/gcj/xlib/XAnyEvent.java
3580         (TYPE_KEY_PRESS): new constant.
3581         (TYPE_KEY_RELEASE): new constant.
3582         (TYPE_MOTION_NOTIFY): new constant.
3583         (TYPE_ENTER_NOTIFY): new constant.
3584         (TYPE_LEAVE_NOTIFY): new constant.
3585         (TYPE_FOCUS_IN): new constant.
3586         (TYPE_FOCUS_OUT): new constant.
3587         (TYPE_KEYMAP_NOTIFY): new constant.
3588         (TYPE_GRAPHICS_EXPOSE): new constant.
3589         (TYPE_NO_EXPOSE): new constant.
3590         (TYPE_VISIBILITY_NOTIFY): new constant.
3591         (TYPE_CREATE_NOTIFY): new constant.
3592         (TYPE_DESTROY_NOTIFY): new constant.
3593         (TYPE_MAP_REQUEST): new constant.
3594         (TYPE_CONFIGURE_REQUEST): new constant.
3595         (TYPE_GRAVITY_NOTIFY): new constant.
3596         (TYPE_RESIZE_REQUEST): new constant.
3597         (TYPE_CIRCULATE_NOTIFY): new constant.
3598         (TYPE_CIRCULATE_REQUEST): new constant.
3599         (TYPE_PROPERTY_NOTIFY): new constant.
3600         (TYPE_SELECTION_CLEAR): new constant.
3601         (TYPE_SELECTION_REQUEST): new constant.
3602         (TYPE_SELECTION_NOTIFY): new constant.
3603         (TYPE_COLORMAP_NOTIFY): new constant.
3604         (TYPE_MAPPING_NOTIFY): new constant.
3605         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3606         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3607         * java/awt/Component.java (createImage): changed to use peer method.
3608
3609 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3610
3611         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3612         name, not XLFD, to native drawString.
3613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3614         Replace XLFD-based implementation with Pango-based
3615         implementation.
3616
3617 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3618
3619         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3620         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3621
3622 2003-08-21  David Daney  <ddaney@avtrex.com>
3623
3624         Fix for PR libgcj/12013:
3625         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3626         Check `cleared' field.
3627         * java/lang/ref/Reference.java (copy): Updated comments.
3628         (cleared): New field.
3629         (clear): Rewrote.
3630
3631 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3632             Thomas Fitzsimmons  <fitzsim@redhat.com>
3633
3634         * Makefile.am (gtk_awt_peer_sources): Add
3635         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3636         gnu/java/awt/GLightweightPeer.java.
3637         * gnu/java/awt/GLightweightPeer.java: Remove file.
3638         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3639         * java/awt/Component.java (getToolkit): Add comment about
3640         lightweight components.
3641         * java/awt/Toolkit.java (createComponent): Return
3642         gnu.java.awt.peer.GLightweightPeer.
3643
3644 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3645
3646         * configure.in: Fix detection of gcj when building with newlib.
3647         * configure: Regenerated.
3648
3649 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3650
3651         * jni.cc: Replace "cheating" pointer-casting code with
3652         extract_from_jvalue<> template.
3653
3654 2003-08-20  Andrew Haley  <aph@redhat.com>
3655
3656         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3657         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3658         (classAt): Break out class lookup function into getClass().
3659         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3660         handlers when using -fno-assume-compiled.
3661
3662 2003-08-20  Tom Tromey  <tromey@redhat.com>
3663
3664         Fix for PR libgcj/9125:
3665         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3666         object outside of loop.  Respect lib_control setting.
3667         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3668         field.
3669         (lib_control): New field.
3670         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3671         (VMClassLoader): Initialize new field.
3672
3673         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3674         Set `list->reference' to DELETED_REFERENCE when removing dead
3675         object.
3676         (find_slot): Added an assert.
3677         (DELETED_REFERENCE): New define.
3678         (add_to_hash): Check for DELETED_REFERENCE.
3679         (remove_from_hash): Just return if found slot isn't ours.
3680
3681 2003-08-19  Andrew Haley  <aph@redhat.com>
3682
3683         * prims.cc (unblock_signal): New function.
3684         (catch_segv): Use it.
3685         (catch_fpe): Likewise.
3686
3687 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3688
3689         PR libgcj/11575
3690         * java/io/natFileDescriptorWin32.cc (open): Set create
3691         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3692         Honor EXCL when openning with WRITE flag. 
3693
3694 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3695
3696         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3697         getting a temporary C string from a jstring)
3698         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3699         but uses a stack buffer if the string length is less than 256
3700         bytes.
3701
3702 2003-08-18  Tom Tromey  <tromey@redhat.com>
3703
3704         PR libgcj/11951:
3705         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3706         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3707         value.  Added is_jni_call argument; only wrap exception if not a
3708         JNI call.  Use descriptive message if operation not supported.
3709         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3710         array class.
3711         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3712         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3713         _Jv_CallAnyMethodA.
3714         (_Jv_JNI_CallAnyMethodA): Likewise.
3715         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3716         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3717
3718 2003-08-13  Tom Tromey  <tromey@redhat.com>
3719
3720         * gij.cc (help): Document -? and -X.
3721
3722 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3723
3724         * java/awt/Font.java: 
3725         Stub out more recent API. 
3726
3727 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3728
3729         * java/awt/Color.java (getAlpha): 
3730         Prevent sign-extended alpha values.
3731
3732 2003-08-12  Tom Tromey  <tromey@redhat.com>
3733
3734         * gij.cc (main): Handle -? and -X.
3735
3736 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3737
3738         * java/awt/Container.java
3739         (getPreferredSize): Call preferredSize.
3740         (preferredSize): Moved body of getPreferredSize here.
3741         (getMinimumSize): Call minimumSize.
3742         (minimumSize): Moved body of getMinimumSize here.
3743
3744 2003-08-11  Tom Tromey  <tromey@redhat.com>
3745
3746         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3747         (postEvent): Removed FIXME comment.
3748         (isDispatchThread): Documented.
3749         (getCurrentEvent): New method.
3750         (dispatchEvent): Set currentEvent and lastWhen.
3751         (getMostRecentEventTime): Rewrote.
3752         (invokeLater): Documented.
3753
3754 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3755
3756         * java/io/PrintStream.java (print): Always flush if auto_flush is
3757         set. Don't check for newline characters.
3758         (write (int)): Implement without using a temporary array.
3759         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3760         check for newline characters.
3761         Fixes PR libgcj/11778.
3762
3763 2003-08-08  Andrew Haley  <aph@redhat.com>
3764
3765         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3766         * Makefile.in: Rebuild.
3767         * java/lang/natRuntime.cc (insertSystemProperties): Add
3768         "sun.boot.class.path".
3769
3770 2003-08-07  Andrew Haley  <aph@redhat.com>
3771
3772         * java/io/PrintStream.java: Don't crash on a null string.
3773         
3774 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3775
3776         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3777         * configure: Regenerate.
3778
3779 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3780
3781         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3782         SocketImpl. Update Javadoc.
3783         (bind): Call close() not impl.close() in event of exception.
3784         (connect): Likewise.
3785         Remove superfluous null checks throughout.
3786         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3787         Don't create an extra socket. Fix for PR libgcj/10868.
3788         (bind): Clean up exception handling.
3789         Remove superfluous null checks throughout.
3790
3791 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3792             Bryce McKinlay  <bryce@mckinlay.net.nz>
3793
3794         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3795         ready-to-write argument to _Jv_Select. Reset the socket back to 
3796         non-blocking state after connecting.
3797         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3798         Throw SocketTimeoutException not InterruptedIOException.
3799         (read): Throw SocketTimeoutException not InterruptedIOException.
3800
3801 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3802
3803         * java/lang/Thread.java (Thread): Check for null "name" from
3804         start of private constructor, not after calling the private
3805         constructor.
3806
3807 2003-08-06  Tom Tromey  <tromey@redhat.com>
3808
3809         * java/io/FilePermission.java (equals): Use correct index for
3810         last character of path.
3811
3812 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3813
3814         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3815         * configure.in: Compare with_cross_host to build_alias, not build.
3816         * aclocal.m4: Regenerate.
3817         * configure: Regenerate.
3818
3819 2003-08-05  Tom Tromey  <tromey@redhat.com>
3820
3821         Fix for PR libgcj/11779:
3822         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3823         class.
3824
3825         * java/lang/reflect/Method.java: Updated status comment.
3826         Imported javadoc from Classpath and re-ordered methods.
3827         * java/lang/reflect/Constructor.java: Reindented.  Updated
3828         status comment.  Imported javadoc from Classpath and re-ordered
3829         methods.
3830
3831 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3832
3833         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3834         Add keyLocation parameter.
3835         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3836         string.
3837         (paramString): Generate keyChar string according to keyChar, not
3838         keyCode.
3839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3840         (state_to_awt_mods): Handle ALT key.
3841         (keyevent_state_to_awt_mods): New function.
3842         (get_first_keyval_from_keymap): New function.
3843         (keysym_to_awt_keycode): Get virtual key code from keymap.
3844         Handle missing VK_ values.
3845         (keysym_to_awt_keylocation): New function.
3846         (keyevent_to_awt_keychar): New function.
3847         (generates_key_typed_event): Handle non-text-component case.
3848         Handle GDK_KP_Delete and GDK_KP_Enter.
3849         (awt_event_handler): Call new functions to get postKeyEvent
3850         parameters.
3851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3852         Update postKeyEvent method signature.
3853         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3854         VK_ defines.
3855
3856 2003-08-05  Matthias Klose  <doko@debian.org>
3857
3858         * aclocal.m4: check for libart-config binary
3859           under the name libart2-config as well.
3860         * configure: regenerated.
3861
3862 2003-08-04  David P Grove  <groved@us.ibm.com>
3863
3864         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3865         when groupingSize is 0.
3866         (parse): Likewise.
3867
3868 2003-08-04  Matthias Klose  <doko@debian.org>
3869
3870         * libart.m4: check for libart-config binary
3871           under the name libart2-config as well.
3872         * configure, aclocal.m4: regenerated.
3873
3874 2003-08-02  Michael Koch  <konqueror@gmx.de>
3875
3876         * java/nio/ByteBufferImpl.java
3877         (getChar): Check remaining bytes, fixed comment about endianess.
3878         (putChar): Likewise.
3879         (getShort): Likewise.
3880         (putShort): Likewise.
3881         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3882         endianess.
3883         (putInt): Likewise.
3884         (getLong): Likewise.
3885         (putLong): Likewise.
3886         (getFloat): Likewise.
3887         (putFloat): Likewise.
3888         (getDouble): Likewise.
3889         (putDouble): Likewise.
3890         * java/nio/DirectByteBufferImpl.java
3891         (getChar): Wrapped code, fixed comment about endianess.
3892         (putchar): Likewise.
3893         (getShort): Likewise.
3894         (putShort): Likewise.
3895         (getInt): Fixed conversion, fixed comment about endianess.
3896         (putInt): Likewise.
3897         (getLong): Likewise.
3898         (putLong): Likewise.
3899         (getFloat): Likewise.
3900         (putFloat): Likewise.
3901         (getDouble): Likewise.
3902         (putDouble): Likewise.
3903         * java/nio/MappedByteBufferImpl.java
3904         (compact): Implemented.
3905         (getChar): Implemented.
3906         (putChar): Implemented.
3907         (getDouble): Implemented.
3908         (putdouble): Implemented.
3909         (getFloat): Implemented.
3910         (putFloat): Implemented.
3911         (getInt): Implemented.
3912         (putInt): Implemented.
3913         (getLong): Implemented.
3914         (putLong): Implemented.
3915         (getShort): Implemented.
3916         (putShort): Implemented.
3917         * java/nio/channels/FileChannelImpl.java
3918         (read): Set position where to access file.
3919         (write): Likewise.
3920         (transferTo): Flip buffer after read and before write.
3921         (transferFrom): Likewise.
3922
3923 2003-08-02  Michael Koch  <konqueror@gmx.de>
3924
3925         * gnu/java/lang/ArrayHelper.java
3926         (equalsArray): Reformated, added method documentation.
3927
3928 2003-08-02  Michael Koch  <konqueror@gmx.de>
3929
3930         * java/net/URL.java
3931         (URL): Added paragraph about the
3932         gnu.java.net.nocache_protocol_handlers property.
3933         (ph_cache): Renamed from handlers to match classpath's implementation.
3934         Reordered it with factory and serialVersionUID member variables.
3935         (cache_handlers): New member variable.
3936         (static): New static initializer to initialize cache_handlers from
3937         gnu.java.net.nocache_protocol_handlers property.
3938         (URL): Use ph_cache instead of handlers, reformatted some code to
3939         match classpath's implementation.
3940
3941 2003-08-01  Tom Tromey  <tromey@redhat.com>
3942
3943         Fix for PR libgcj/11241:
3944         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3945         initialCapacity is 0, set it to 1.
3946
3947 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3948
3949         * java/net/SocketImpl.java (toString): Display the remote address
3950         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3951
3952 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3953
3954         * javax/swing/border/BevelBorder.java,
3955         javax/swing/border/EtchedBorder.java,
3956         javax/swing/border/LineBorder.java,
3957         javax/swing/border/MatteBorder.java,
3958         javax/swing/border/SoftBevelBorder.java,
3959         javax/swing/plaf/BorderUIResource.java,
3960         javax/swing/plaf/ComponentUI.java,
3961         javax/swing/plaf/TreeUI.java,
3962         javax/swing/plaf/basic/BasicBorders.java,
3963         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3964         javax/swing/plaf/basic/BasicTreeUI.java:
3965         Prepend "doc-files" to all paths to embedded Javadoc images, so
3966         that the generated documentation contains the correct URL.
3967
3968 2003-08-01  Tom Tromey  <tromey@redhat.com>
3969
3970         * configure: Rebuilt.
3971         * configure.in (tool_include_dir): Redefine to match gcc.
3972
3973 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
3974             Mark Wielaard  <mark@klomp.org>
3975             
3976         * java/math/BigDecimal (divide): Correctly handle
3977         ROUND_HALF_EVEN when amount is greater than 0.5.
3978         Simplify and optimize code.
3979
3980 2003-07-31  Tom Tromey  <tromey@redhat.com>
3981
3982         More for PR libgcj/11737:
3983         * java/io/ObjectInputStream.java (processResolution): Use
3984         getMethod.
3985         (getMethod): Make method accessible.
3986         (getField): Make field accessible.
3987         (setBooleanField): Don't call setAccessible here.
3988         (setByteField, setCharField, setDoubleField, setFloatField,
3989         setIntField, setLongField, setShortField, setObjectField):
3990         Likewise.
3991         (callReadMethod): Don't check whether method is null.  Catch
3992         NoSuchMethodException.
3993         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3994         cause on thrown exceptions.
3995
3996 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3997
3998         Fix for PR libgcj/11728:
3999         * java/util/HashMap.java (readObject): Set size.
4000
4001 2003-07-31  Tom Tromey  <tromey@redhat.com>
4002
4003         Fix for PR libgcj/11737:
4004         * java/io/ObjectOutputStream.java (getMethod): Make method
4005         accessible.
4006         (getField): Likewise.
4007         (writeObject): Use getMethod.
4008         Import PrivilegedAction and AccessController.
4009         (callWriteMethod): Don't check whether m is null.  Catch
4010         NoSuchMethodException.
4011
4012         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4013         (containsAngle): Likewise.
4014         (getStartPoint): Rewrote.
4015         (getEndPoint): Likewise.
4016         (setAngleStart(Point2D)): Likewise.
4017
4018 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4019             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4020
4021         * configure.in: Add new THREADCXXFLAGS variable.
4022         Handle POSIX threads on alpha*-dec-osf*.
4023         * configure: Regenerate.
4024         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4025         * Makefile.in: Regenerate.
4026
4027 2003-07-08  Andrew Haley  <aph@redhat.com>
4028
4029         * include/i386-signal.h (RESTORE): New.
4030         (INIT_SEGV): Set restorer.
4031         (INIT_FPE): Likewise.
4032
4033 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4034
4035         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4036         than getXLFD.
4037         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4038         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4040         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4041         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4042         Likewise.
4043         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4044         Likewise.
4045
4046 2003-07-29  Tom Tromey  <tromey@redhat.com>
4047
4048         * defineclass.cc (handleField): Throw exception if field name is
4049         duplicated.
4050         (handleMethod): Throw exception for duplicate method.
4051
4052 2003-07-29  Tom Tromey  <tromey@redhat.com>
4053
4054         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4055         output buffer is too small.
4056
4057 2003-07-28  Tom Tromey  <tromey@redhat.com>
4058
4059         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4060         New method.
4061         Include gnu/gcj/runtime/StringBuffer.h.
4062         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4063         native method.
4064         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4065
4066 2003-07-27  Anthony Green  <green@redhat.com>
4067
4068         * configure.in: Fix newlib check.
4069         * configure: Rebuilt.
4070
4071 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4072
4073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4074         Create vbox and layout for GtkPlug.
4075
4076 2003-07-27  Michael Koch  <konqueror@gmx.de>
4077
4078         * java/awt/Window.java
4079         (Window): Removed now unused constructor. It became oboslete with the
4080         new embedded window patch.
4081
4082 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4083             Michael Koch  <konqueror@gmx.de>
4084
4085         * gnu/java/awt/EmbeddedWindow.java
4086         (EmbeddedWindow): Extends Frame instead of Window.
4087         (window_id): New member variable to store the native window handle.
4088         (create): Removed.
4089         (EmbeddedWindow): New constructor.
4090         (addNotify): New method.
4091         (getHandler): Likewise.
4092         (setWindowPeer): New native method.
4093         * gnu/java/awt/EmbeddedWindowSupport.java
4094         (EmbeddedWindowSupport): Fixed documentation.
4095         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4096         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4097         window data.
4098         * gnu/java/awt/natEmbeddedWindow.cc
4099         (create): Removed.
4100         (setWindowPeer): New method.
4101         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4102         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4103         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4104         New files
4105         * gnu/java/awt/peer/gtk/GtkToolkit.java
4106         (GtkToolkit): Implements EmbeddedWindowSupport.
4107         (createEmbeddedWindow): New method.
4108         * java/awt/Window.java
4109         (Window): Removed.
4110         * Makefile.am
4111         (java_source_files): Added EmbeddedWindowPeer.java.
4112         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4113         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4114         * Makefile.in: Regenerated.
4115
4116 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4117
4118         * java/lang/Win32Process.java (ConcreteProcess): Surround
4119         a command line element with quotes if it contains an
4120         embedded space or tab.
4121         * java/lang/natWin32Process.cc (startProcess): Do not
4122         surround command line elements with quotes here.
4123
4124         * configure.host: Use -fcheck-references and 
4125         -fuse-divide-subroutine for MinGW until we fix
4126         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4127         Structured Exception Handling (SEH).
4128
4129         * win32.cc (_Jv_platform_initProperties): Use generic names
4130         like "x86" for the "os.arch" property to be consistent with
4131         what Sun's JDK produces. Use the wProcessorArchitecture
4132         member of the Win32 SYSTEM_INFO structure, filled in a call 
4133         to GetSystemInfo( ), instead of dwProcessorType.
4134
4135 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4136             Ranjit Mathew  <rmathew@hotmail.com>
4137
4138         * Makefile.am: Use cross-compiling gcjh from the path for
4139         a crossed-native build.
4140         * Makefile.in: Rebuilt.
4141         * configure.in: Include libltdl in non-newlib builds.
4142         Moved determination of gcj used to build libraries to
4143         its own section. Fixed cross-compilation issues for
4144         non-newlib builds.
4145         * configure: Rebuilt.
4146
4147 2003-07-25  Tom Tromey  <tromey@redhat.com>
4148
4149         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4150         (write): Likewise.
4151         (read): Likewise.
4152         (read): Likewise.
4153
4154 2003-07-25  Mark Wielaard  <mark@klomp.org>
4155
4156         * java/lang/natRuntime.cc (_load): Add library name to
4157         UnsatisfiedLinkError when thrown.
4158
4159 2003-07-25  Mark Wielaard  <mark@klomp.org>
4160
4161         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4162         added.
4163         * Makefile.in: Likewise.
4164
4165 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4166
4167         * java/awt/Component.java
4168         (getPreferredSize): Call preferredSize.
4169         (preferredSize): Moved body of getPreferredSize here.
4170         (getMinimumSize): Call minimumSize.
4171         (minimumSize): Moved body of getMinimumSize here.
4172         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4173         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4174         pass -1
4175         * java/awt/Container.java
4176         (validate): Don't validate if there is no peer.
4177         (update): Clear background before calling paint.
4178         * java/awt/GridBagLayout.java
4179         Completed the implementation and fixed several bugs.
4180         * java/awt/MediaTracker.java
4181         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4182         combine flags.
4183         * java/awt/Window.java
4184         (Window): Don't call setVisible(false). Windows are invisible by
4185         default and calling virtual methods from constructor causes
4186         compatibility problems (e.g. subclasses may assume that the peer
4187         already exists).
4188
4189 2003-07-25  Michael Koch  <konqueror@gmx.de>
4190
4191         * java/awt/GridBagLayout.java:
4192         Totally reworked and partly implemented.
4193         * java/awt/GridBagLayoutInfo.java:
4194         New file.
4195
4196 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4197
4198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4199         Don't pack label in an event box.
4200
4201 2003-07-24  Tom Tromey  <tromey@redhat.com>
4202
4203         For PR libgcj/7482:
4204         * verify.cc (ref_intersection): New class.
4205         (type_val): Removed unresolved_reference_type,
4206         uninitialized_unresolved_reference_type.
4207         (is_assignable_from_slow): Rewrote.
4208         (type::data): Removed.
4209         (type::klass): New field.
4210         (type::type): Added verifier argument.
4211         (type::resolve): Removed.
4212         (type::set_uninitialized): Updated for change to type_val.
4213         (type::set_initialized): Likewise.
4214         (type::isinitialized): Likewise.
4215         (type::print): Likewise.
4216         (construct_primitive_array_type): Likewise.
4217         (type::compatible): Updated for change to type_val and to use
4218         ref_intersection.
4219         (type::isarray): Updated to use ref_intersection.
4220         (type::isinterface): Likewise.
4221         (type::element_type): Likewise.
4222         (type::to_array): Likewise.
4223         (type::verify_dimensions): Rewrote.
4224         (type::merge): Likewise.
4225         (check_class_constant): Updated for type constructor change.
4226         (check_constant): Likewise.
4227         (check_field_constant): Likewise.
4228         (get_one_type): Likewise.
4229         (initialize_stack): Likewise.
4230         (verify_instructions_0): Likewise.
4231         (verify_instructions_0) [op_invokeinterface]: Removed special
4232         case.
4233         (isect_list): New field.
4234         (_Jv_BytecodeVerifier): Initialize it.
4235         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4236
4237 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4238
4239         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4240         unless field size is 2.
4241
4242 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4243
4244         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4245         (connectHooks): New method.
4246         (handleEvent): Remove.
4247         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4248         (createHooks): Remove declaration.
4249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4250         (generates_key_typed_event): Change to handle only certain
4251         keyvals.
4252         (awt_event_handler): Add special handling for GtkTextView.
4253         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4254         (textcomponent_commit_cb): New function.
4255         (textcomponent_changed_cb): Likewise.
4256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4257         (connectHooks): Remove.
4258
4259 2003-07-23  Tom Tromey  <tromey@redhat.com>
4260
4261         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4262
4263         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4264
4265 2003-07-22  Tom Tromey  <tromey@redhat.com>
4266
4267         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4268         Include limits.h.
4269
4270 2003-07-22  Tom Tromey  <tromey@redhat.com>
4271
4272         * java/awt/Window.java (getWarningString): Just return the
4273         string.
4274         (Window): Set warningString; check with security manager.
4275
4276 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4277
4278         * gnu/awt/xlib/XGraphicsConfiguration.java
4279         (FontMetricsCache): Made static.
4280  
4281 2003-07-22  Tom Tromey  <tromey@redhat.com>
4282
4283         * java/net/URLEncoder.java (encode(String)): Use platform default
4284         encoding.
4285         (encode(String,String)): Convert to 2-digit upper-case hex
4286         number.
4287         (hex): New field.
4288
4289 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4290
4291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4292         (create): Remove unused method implementation.
4293         (connectHooks): Remove debug messages.
4294
4295 2003-07-20  Anthony Green  <green@redhat.com>
4296
4297         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4298         CloneNotSupportedException.
4299         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4300         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4301         * gnu/gcj/xlib/GC.java (clone): Ditto.
4302         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4303         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4304
4305         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4306         handler.
4307         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4308
4309 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4310
4311         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4312         String.  Put dlerror() message into exception.
4313         Include UnsatisfiedLinkError.
4314         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4315         String.  Now native.
4316
4317 2003-07-20  Tom Tromey  <tromey@redhat.com>
4318
4319         * java/lang/Runtime.java: Comment fix.
4320         * java/lang/ClassLoader.java (isAncestorOf): New method.
4321         (getParent): Uncommented security check.  Use isAncestorOf.
4322         * include/jvm.h (_Jv_CheckAccess): Declare.
4323         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4324         access check.
4325         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4326         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4327         class loader to _Jv_GetArrayClass.
4328         Include ArrayIndexOutOfBoundsException.h.
4329         * java/lang/reflect/Field.java: Update comment to reflect status.
4330         (equals): Fixed indentation.
4331         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4332         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4333         * java/lang/Class.java (memberAccessCheck): New method from
4334         Classpath.
4335         (checkMemberAccess): Removed.
4336         (getDeclaredMethod): Use memberAccessCheck.
4337         (getField): Likewise.
4338         (getMethod): Likewise.
4339         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4340         (_Jv_SearchMethodInClass): Likewise.
4341         * prims.cc (_Jv_CheckAccess): New function.
4342         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4343         (_Jv_JNI_GetAnyFieldID): Likewise.
4344         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4345         (getClassLoader): Added security check.
4346         (getConstructor): Call memberAccessCheck.
4347         (getDeclaredClasses): Likewise.
4348         (getDeclaredField): Likewise.
4349         (getDeclaredFields): Likewise.
4350         (_getConstructors): Likewise.
4351         (getDeclaredConstructor): Likewise.
4352         (getDeclaredMethods): Likewise.
4353         (getFields): Likewise.
4354         (getMethods): Likewise.
4355         (newInstance): Likewise.
4356         (_Jv_MakeVTable): Put method name in exception.
4357         * java/lang/reflect/natMethod.cc (getType): Use
4358         getClassLoaderInternal.
4359         (_Jv_GetTypesFromSignature): Likewise.
4360         (invoke): Perform access check.
4361         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4362         Include ArrayIndexOutOfBoundsException.h.
4363         * java/lang/reflect/natField.cc (getType): Use
4364         getClassLoaderInternal.
4365         (_Jv_CheckFieldAccessibility): Removed.
4366         (getAddr): Use _Jv_CheckAccess; find caller.
4367         Include ArrayIndexOutOfBoundsException.h.
4368
4369 2003-07-20  Michael Koch  <konqueror@gmx.de>
4370
4371         * java/net/URL.java
4372         (URL): Fixed documentation to name an argument correcty, Reformatted
4373         one method declaration.
4374         (getURLStreamHandler): Added documentation from classpath.
4375
4376 2003-07-19  Tom Tromey  <tromey@redhat.com>
4377
4378         * mauve-libgcj: Don't run CollationElementIterator tests.
4379
4380 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4381
4382         * java/net/URLClassLoader.java (addURL): Moved implementation to
4383         private addURLImpl() to avoid calling addURL from the constructor.
4384         (addURLImpl): Contains the code that was previously in addURL.
4385         (addURLs): Call addURLImpl(), not addURL().
4386
4387 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4388
4389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4390         Handle missing event cases, connect to "value-changed" signal.
4391
4392 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4393
4394         * java/awt/geom/CubicCurve2D.java,
4395         java/awt/geom/Line2D.java,
4396         java/awt/geom/QuadCurve2D.java,
4397         java/awt/geom/Rectangle2D.java: 
4398         Fix path some calculations, make path iterators follow
4399         a consistent style.
4400
4401 2003-07-18  Mark Wielaard  <mark@klomp.org>
4402
4403         * java/util/logging/Handler.java (isLoggable): Check record level
4404         smaller or equal.
4405
4406 2003-07-17  Michael Koch  <konqueror@gmx.de>
4407
4408         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4409         Reworked imports.
4410
4411 2003-07-14  Michael Koch  <konqueror@gmx.de>
4412
4413         * gnu/java/rmi/server/UnicastServerRef.java:
4414         New version from classpath.
4415
4416 2003-07-14  Michael Koch  <konqueror@gmx.de>
4417
4418         * java/awt/image/MemoryImageSource.java,
4419         java/beans/PropertyEditorManager.java,
4420         javax/naming/CompoundName.java,
4421         javax/naming/spi/NamingManager.java,
4422         javax/swing/AbstractButton.java,
4423         javax/swing/ButtonModel.java,
4424         javax/swing/SwingUtilities.java,
4425         javax/swing/UIManager.java,
4426         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4427         javax/swing/event/AncestorEvent.java,
4428         javax/swing/event/InternalFrameEvent.java,
4429         java/util/zip/ZipFile.java:
4430         New versions from classpath.
4431
4432 2003-07-13  Michael Koch  <konqueror@gmx.de>
4433
4434         * gnu/java/nio/FileChannelImpl.java,
4435         gnu/java/nio/natFileChannelImpl.cc: Removed.
4436         * java/io/FileInputStream.java,
4437         java/io/FileOutputStream.java,
4438         java/io/RandomAccessFile.java,
4439         java/nio/MappedByteBufferImpl.java:
4440         Import java.nio.channels.FileChannelImpl instead of
4441         gnu.java.nio.FileChannelImpl.
4442         * java/nio/channels/FileChannelImpl.java,
4443         java/nio/channels/natFileChannelImpl.cc:
4444         New files.
4445         * Makefile.am
4446         (ordinary_java_source_files):
4447         Removed gnu/java/nio/FileChannelImpl.java and added
4448         java/nio/channels/FileChannelImpl.java.
4449         (nat source_files):
4450         Removed gnu/java/nio/natFileChannelImpl.cc and added
4451         java/nio/channels/natFileChannelImpl.cc.
4452         * Makefile.in: Regenerated.
4453
4454 2003-07-13  Michael Koch  <konqueror@gmx.de>
4455
4456         * javax/swing/plaf/basic/BasicBorders.java,
4457         javax/swing/plaf/basic/BasicLabelUI.java,
4458         javax/swing/plaf/basic/BasicLookAndFeel.java,
4459         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4460         javax/swing/plaf/basic/BasicTextUI.java,
4461         javax/swing/plaf/metal/MetalLookAndFeel.java:
4462         New versions from classpath.
4463
4464 2003-07-13  Michael Koch  <konqueror@gmx.de>
4465
4466         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4467         * gnu/java/awt/peer/gtk/GdkGraphics.java
4468         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4469         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4470         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4471         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4472         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4473         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4474         * gnu/java/awt/peer/gtk/GtkClipboard.java
4475         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4476         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4477         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4478         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4479         * gnu/java/awt/peer/gtk/GtkImage.java
4480         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4481         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4482         * gnu/java/awt/peer/gtk/GtkListPeer.java
4483         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4484         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4485         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4486         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4487         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4488         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4489         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4490         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4491         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4492         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4493         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4494         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4495
4496 2003-07-13  Michael Koch  <konqueror@gmx.de>
4497
4498         * gnu/java/locale/LocaleInformation_de.java
4499         * gnu/java/locale/LocaleInformation_en.java
4500         * gnu/java/locale/LocaleInformation_nl.java
4501
4502 2003-07-13  Michael Koch  <konqueror@gmx.de>
4503
4504         * gnu/java/awt/EmbeddedWindow.java,
4505         gnu/java/awt/EmbeddedWindowSupport.java,
4506         gnu/java/awt/natEmbeddedWindow.cc:
4507         New files.
4508         * java/awt/Window.java
4509         (Window): New constructor to support embedded windows.
4510         * Makefile.am
4511         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4512         gnu/java/awt/EmbeddedWindowSupport.java.
4513         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4514         * Makefile.in: Regenerated.
4515
4516 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4517
4518         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4519         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4520         * java/awt/im/InputContext.java: Remove a redundant
4521         partial line.
4522
4523 2003-07-09  Tom Tromey  <tromey@redhat.com>
4524
4525         * Makefile.in: Rebuilt.
4526         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4527
4528 2003-07-09  Mark Wielaard  <mark@klomp.org>
4529
4530         * java/io/ObjectOutputStream.java (writeObject): break after
4531         calling writeClassDescriptor().
4532
4533 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4534
4535         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4536
4537 2003-07-09  Michael Koch  <konqueror@gmx.de>
4538
4539         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4540         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4541         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4542         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4543         Explicitly import used classes.
4544         * java/awt/Container.java: New version from classpath.
4545
4546 2003-07-09  Michael Koch  <konqueror@gmx.de>
4547
4548         * libgcj.pc.in: New file.
4549         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4550         * Makefile.in: Regenerated.
4551         * configure: Regenrated.
4552         * configure.in: Create libgcj.pc from libgcj.pc.in.
4553
4554 2003-07-08  Mark Wielaard <mark@klomp.org>
4555
4556         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4557
4558         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4559         * java/lang/fdlibm.h: Likewise.
4560
4561 2003-07-07  Adam Megacz <adam@xwt.org>
4562
4563         * posix.cc: added #include<stdio.h>
4564                 
4565 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4566
4567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4568         formatting.
4569
4570         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4571         (setCaretPosition, setEditable): Rely entirely on native
4572         implementation.
4573         (getArgs): Remove.
4574         (postTextEvent): New method.
4575         (handleEvent): New method.
4576         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4577         method.
4578         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4580         (keysym_to_awt_keycode): Fix range checks.
4581         (generates_key_typed_event): New function.
4582         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4583         queue.
4584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4585         (gtkInit): Store TextComponent's postTextEvent method ID.
4586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4587         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4588
4589 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4590
4591         * configure.in: Check for usleep declaration.
4592         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4593         * configure: Regenerate.
4594         * include/config.h.in: Likewise.
4595         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4596
4597 2003-07-01  Michael Koch  <konqueror@gmx.de>
4598
4599         * gnu/gcj/convert/natIconv.cc
4600         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4601         handle.
4602
4603 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4604
4605         * glib-2.0.m4: New file.
4606         * gtk-2.0.m4: New file.
4607         * glib.m4: Remove.
4608         * gtk.m4: Remove.
4609         * configure.in: Update AM_PATH_GTK macro call to
4610         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4612         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4613         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4614         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4615         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4616         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4617         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4618         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4619         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4620         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4621         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4622         jni/gtk-peer/gthread-jni.c,
4623         jni/gtk-peer/gthread-jni.h:
4624         New versions from classpath.
4625         * aclocal.m4: Regenerate.
4626         * configure: Regenerate.
4627         * Makefile.in: Regenerate.
4628         * gcj/Makefile.in: Regenerate.
4629         * include/Makefile.in: Regenerate.
4630         * testsuite/Makefile.in: Regenerate.
4631
4632 2003-06-30  Gary Benson  <gbenson@redhat.com>
4633
4634         For PR libgcj/11349:
4635         * javax/naming/spi/NamingManager.java (getURLContext): Use
4636         correct name for factory class.
4637
4638 2003-06-28  Michael Koch  <konqueror@gmx.de>
4639
4640         * java/io/PrintStream.java
4641         (checkError): Call flush() instead of direct flushing of the Writer
4642         object.
4643         (print): Call print(String) instead of direct print method of the
4644         Writer Object.
4645         (println): Call println(String) instead of direct println method of the
4646         Writer Object.
4647         (write): Simplified.
4648
4649 2003-06-28  Michael Koch  <konqueror@gmx.de>
4650
4651         * java/net/ServerSocket.java
4652         (setChannel): New method.
4653         * java/net/Socket.java
4654         (setChannel): New method.
4655
4656 2003-06-27  Michael Koch  <konqueror@gmx.de>
4657
4658         * java/beans/beancontext/BeanContextSupport.java:
4659         New version from classpath.
4660
4661 2003-06-27  Michael Koch  <konqueror@gmx.de>
4662
4663         * java/awt/Window.java,
4664         java/awt/font/GraphicAttribute.java,
4665         java/awt/font/ImageGraphicAttribute.java,
4666         java/awt/image/DataBufferByte.java,
4667         java/awt/image/DataBufferInt.java,
4668         java/awt/image/DataBufferUShort.java,
4669         java/awt/image/DirectColorModel.java,
4670         java/awt/image/PixelGrabber.java:
4671         New versions from classpath.
4672
4673 2003-06-27  Michael Koch  <konqueror@gmx.de>
4674
4675         * java/security/Certificate.java
4676         (getGuarantor): Removed wrong @deprecated tag.
4677         (getPrincipal): Likewise.
4678         (getPublicKey): Likewise.
4679         (encode): Likewise.
4680         (decode): Likewise.
4681         (getFormat): Likewise.
4682         (toString): Likewise.
4683         * java/security/cert/PolicyQualifierInfo.java
4684         (PolicyQualifierInfo): Made final.
4685         * javax/security/auth/x500/X500Principal.java
4686         (serialVersionUID): New member variable.
4687
4688 2003-06-27  Michael Koch  <konqueror@gmx.de>
4689
4690         * java/text/Format.java
4691         (serialVersionUID): Fixed value.
4692
4693 2003-06-27  Michael Koch  <konqueror@gmx.de>
4694
4695         * java/net/Inet4Address.java
4696         (Inet4Address): Made package-private.
4697         * java/net/Inet6Address.java
4698         (Inet4Address): Made package-private.
4699
4700 2003-06-27  Michael Koch  <konqueror@gmx.de>
4701
4702         * java/io/RandomAccessFile.java
4703         (readLine): Removed wrong @deprecated tag.
4704         (getChannel): Made final.
4705
4706 2003-06-27  Michael Koch  <konqueror@gmx.de>
4707
4708         * gnu/java/nio/FileChannelImpl.java
4709         (write): Removed.
4710
4711 2003-06-27  Michael Koch  <konqueror@gmx.de>
4712
4713         * java/nio/ByteBufferImpl.java
4714         (ByteBufferImpl): Made it a package-private class
4715         * java/nio/CharBufferImpl.java
4716         (CharBufferImpl): Made it a package-private class
4717         * java/nio/DirectByteBufferImpl.java
4718         (DirectByteBufferImpl): Made it a package-private class
4719         * java/nio/DoubleBufferImpl.java
4720         (DoubleBufferImpl): Made it a package-private class
4721         * java/nio/FloatBufferImpl.java
4722         (FloatBufferImpl): Made it a package-private class
4723         * java/nio/IntBufferImpl.java
4724         (IntBufferImpl): Made it a package-private class
4725         * java/nio/LongBufferImpl.java
4726         (LongBufferImpl): Made it a package-private class
4727         * java/nio/ShortBufferImpl.java
4728         (ShortBufferImpl): Made it a package-private class
4729         * java/nio/channels/FileChannel.java
4730         (write): Made final.
4731         * java/nio/channels/ServerSocketChannel.java
4732         (ServerSocketChanne): Made protected.
4733
4734 2003-06-27  Michael Koch  <konqueror@gmx.de>
4735
4736         * javax/naming/CompositeName.java
4737         (serialVersionUID): New member variable.
4738         * javax/naming/CompoundName.java
4739         (serialVersionUID): New member variable.
4740         * javax/naming/InitialContext.java
4741         (InitialContext): Throws NamingException.
4742         (init): Likewise.
4743         * javax/naming/LinkRef.java
4744         (serialVersionUID): New member variable.
4745         (gteLinkName): Throws NamingException.
4746         * javax/naming/NamingException.java
4747         (serialVersionUID): New member variable.
4748         * javax/naming/NamingSecurityException.java
4749         (NamingSecurityException): Made abstract.
4750         (serialVersionUID): New member variable.
4751         * javax/naming/ReferralException.java
4752         (serialVersionUID): New member variable.
4753         * javax/naming/StringRefAddr.java
4754         (serialVersionUID): New member variable.
4755         * javax/naming/directory/BasicAttribute.java:
4756         Reworked imports.
4757         (serialVersionUID): New member variable.
4758         (get): Throws NamingException.
4759         (getAll): Throws NamingException.
4760         * javax/naming/directory/BasicAttributes.java:
4761         Reworked imports.
4762         (serialVersionUID): New member variable.
4763         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4764         (serialVersionUID): New member variable.
4765
4766 2003-06-27  Michael Koch  <konqueror@gmx.de>
4767
4768         * Makefile.am
4769         (awt_java_source_files): Added new files:
4770         javax/swing/Popup.java,
4771         javax/swing/PopupFactory.java
4772         * Makefile.in: Regenerated.
4773
4774 2003-06-27  Michael Koch  <konqueror@gmx.de>
4775
4776         * javax/swing/JWindow.java,
4777         javax/swing/event/AncestorEvent.java,
4778         javax/swing/event/HyperlinkEvent.java,
4779         javax/swing/event/InternalFrameEvent.java,
4780         javax/swing/event/ListDataEvent.java,
4781         javax/swing/event/TableModelEvent.java,
4782         javax/swing/plaf/PopupMenuUI.java,
4783         javax/swing/plaf/SplitPaneUI.java,
4784         javax/swing/plaf/TabbedPaneUI.java,
4785         javax/swing/plaf/TextUI.java,
4786         javax/swing/plaf/TreeUI.java,
4787         javax/swing/plaf/basic/BasicTextUI.java,
4788         javax/swing/plaf/basic/BasicTreeUI.java:
4789         New versions from classpath.
4790         * javax/swing/Popup.java,
4791         javax/swing/PopupFactory.jav:
4792         New source files from classpath.
4793         * javax/swing/plaf/doc-files/TreeUI-1.png:
4794         New binary files from classpath.
4795
4796 2003-06-25  Michael Koch  <konqueror@gmx.de>
4797
4798         * Makefile.am
4799         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4800         * Makefile.in: Regenerated.
4801
4802 2003-06-25  Michael Koch  <konqueror@gmx.de>
4803
4804         * javax/swing/plaf/ActionMapUIResource.java,
4805         javax/swing/plaf/BorderUIResource.java,
4806         javax/swing/plaf/ButtonUI.java,
4807         javax/swing/plaf/ColorChooserUI.java,
4808         javax/swing/plaf/ColorUIResource.java,
4809         javax/swing/plaf/ComboBoxUI.java,
4810         javax/swing/plaf/ComponentInputMapUIResource.java,
4811         javax/swing/plaf/ComponentUI.java,
4812         javax/swing/plaf/DesktopIconUI.java,
4813         javax/swing/plaf/DesktopPaneUI.java,
4814         javax/swing/plaf/DimensionUIResource.java,
4815         javax/swing/plaf/FileChooserUI.java,
4816         javax/swing/plaf/FontUIResource.java,
4817         javax/swing/plaf/IconUIResource.java,
4818         javax/swing/plaf/InputMapUIResource.java,
4819         javax/swing/plaf/InsetsUIResource.java,
4820         javax/swing/plaf/InternalFrameUI.java,
4821         javax/swing/plaf/LabelUI.java,
4822         javax/swing/plaf/ListUI.java,
4823         javax/swing/plaf/MenuBarUI.java,
4824         javax/swing/plaf/MenuItemUI.java,
4825         javax/swing/plaf/OptionPaneUI.java,
4826         javax/swing/plaf/PanelUI.java,
4827         javax/swing/plaf/ProgressBarUI.java,
4828         javax/swing/plaf/RootPaneUI.java,
4829         javax/swing/plaf/ScrollBarUI.java,
4830         javax/swing/plaf/ScrollPaneUI.java,
4831         javax/swing/plaf/SeparatorUI.java,
4832         javax/swing/plaf/SliderUI.java,
4833         javax/swing/plaf/TableHeaderUI.java,
4834         javax/swing/plaf/TableUI.java,
4835         javax/swing/plaf/ToolBarUI.java,
4836         javax/swing/plaf/ToolTipUI.java,
4837         javax/swing/plaf/ViewportUI.java:
4838         New versions from classpath.
4839         * javax/swing/plaf/SpinnerUI.java: 
4840         New file from classpath
4841
4842 2003-06-25  Michael Koch  <konqueror@gmx.de>
4843
4844         * java/awt/image/ColorModel.java:
4845         New version from classpath.
4846
4847 2003-06-25  Michael Koch  <konqueror@gmx.de>
4848
4849         * java/net/PlainDatagramSocketImpl.java:
4850         Partly merged with classpath, this mainly adds documentation.
4851
4852 2003-06-25  Michael Koch  <konqueror@gmx.de>
4853
4854         * java/io/ObjectInputStream.java
4855         (readClassDescriptor): New method.
4856         (readObject): Moved functionality to readClassDescriptor().
4857         * java/io/ObjectOutputStream.java
4858         (writeClassDescriptor): New method.
4859         (writeObject): Moved functionality to writeClassDescriptor().
4860
4861 2003-06-25  Michael Koch  <konqueror@gmx.de>
4862
4863         * javax/swing/plaf/basic/BasicListUI.java,
4864         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4865         Added missing methods.
4866
4867 2003-06-25  Michael Koch  <konqueror@gmx.de>
4868
4869         * javax/swing/event/AncestorEvent.java
4870         javax/swing/event/HyperlinkEvent.java
4871         javax/swing/event/InternalFrameEvent.java
4872         javax/swing/event/ListDataEvent.java
4873         javax/swing/event/TableModelEvent.java:
4874         Compile fixes.
4875
4876 2003-06-24  Michael Koch  <konqueror@gmx.de>
4877
4878         * java/net/URL.java:
4879         Renamed "handler" to "ph" in the whole file to match classpaths
4880         version.
4881         * java/net/URLStreamHandler.java:
4882         (equals): Renamed "handler" to "ph".
4883
4884 2003-06-24  Michael Koch  <konqueror@gmx.de>
4885
4886         * javax/swing/event/AncestorEvent.java,
4887         javax/swing/event/HyperlinkEvent.java,
4888         javax/swing/event/InternalFrameEvent.java,
4889         javax/swing/event/ListDataEvent.java,
4890         javax/swing/event/TableModelEvent.java,
4891         javax/swing/event/TreeWillExpandListener.java,
4892         javax/swing/plaf/ComponentUI.java,
4893         javax/swing/plaf/DesktopIconUI.java,
4894         javax/swing/plaf/DesktopPaneUI.java,
4895         javax/swing/plaf/DimensionUIResource.java,
4896         javax/swing/plaf/FileChooserUI.java,
4897         javax/swing/plaf/FontUIResource.java,
4898         javax/swing/plaf/IconUIResource.java,
4899         javax/swing/plaf/InputMapUIResource.java,
4900         javax/swing/plaf/InsetsUIResource.java,
4901         javax/swing/plaf/InternalFrameUI.java,
4902         javax/swing/plaf/LabelUI.java,
4903         javax/swing/plaf/ListUI.java,
4904         javax/swing/plaf/MenuBarUI.java,
4905         javax/swing/plaf/MenuItemUI.java,
4906         javax/swing/plaf/OptionPaneUI.java,
4907         javax/swing/plaf/PanelUI.java,
4908         javax/swing/plaf/ProgressBarUI.java,
4909         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4910         javax/swing/plaf/doc-files/ComponentUI-1.png:
4911         New versions from classpath.
4912
4913 2003-06-24  Michael Koch  <konqueror@gmx.de>
4914
4915         * java/nio/Buffer.java
4916         (cap): Made package-private.
4917         (pos): Likewise.
4918         (limit): Likewise.
4919         (mark): Likewise.
4920
4921 2003-06-24  Michael Koch  <konqueror@gmx.de>
4922
4923         * java/net/SocketImpl.java
4924         (shutdownInput): Made it non-abstract method throwing an exception
4925         like in SUNs JRE.
4926         (shutdownOutput): Likewise.
4927         * java/net/SocketInputStream.java,
4928         java/net/SocketOutputStream.java:
4929         New files from classpath.
4930
4931 2003-06-24  Michael Koch  <konqueror@gmx.de>
4932
4933         * java/awt/Font.java,
4934         java/awt/Window.java,
4935         java/awt/color/ColorSpace.java,
4936         java/awt/datatransfer/StringSelection.java,
4937         java/awt/image/ColorModel.java:
4938         New versions from classpath.
4939
4940 2003-06-24  Michael Koch  <konqueror@gmx.de>
4941
4942         * Makefile.am
4943         (awt_java_source_files): Added new files:
4944         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4945         javax/swing/plaf/basic/BasicSplitPaneUI.java
4946         * Makefile.in: Regenerated.
4947
4948 2003-06-24  Michael Koch  <konqueror@gmx.de>
4949
4950         * javax/swing/text/JTextComponent.java:
4951         New version from classpath.
4952
4953 2003-06-24  Michael Koch  <konqueror@gmx.de>
4954
4955         * javax/swing/Timer.java,
4956         javax/swing/plaf/ActionMapUIResource.java,
4957         javax/swing/plaf/ButtonUI.java,
4958         javax/swing/plaf/ColorChooserUI.java,
4959         javax/swing/plaf/ColorUIResource.java,
4960         javax/swing/plaf/ComboBoxUI.java,
4961         javax/swing/plaf/ComponentInputMapUIResource.java,
4962         javax/swing/plaf/basic/BasicBorders.java:
4963         New versions from classpath.
4964         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4965         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4966         New file from classpath.
4967         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4968         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4969         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4970         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4971         javax/swing/plaf/doc-files/ComponentUI-1.png:
4972         New binary files from classpath.
4973
4974 2003-06-24  Michael Koch  <konqueror@gmx.de>
4975
4976         * java/io/LineNumberReader.java
4977         (skip): Dont do line number accounting here as this is already done in
4978         read(), simplified.
4979
4980 2003-06-21  Michael Koch  <konqueror@gmx.de>
4981
4982         * java/io/File.java
4983         (static): Load javaio lib if existing (only in classpath).
4984         (File): Revised documentation to show the correct argument name.
4985         (createTempFile): Partly merged with classpath.
4986         (compareTo): Simplified.
4987         (lastModified): Throw exception if time < 0.
4988         (deleteOnExit): Revised documentation.
4989
4990 2003-06-21  Michael Koch  <konqueror@gmx.de>
4991
4992         * java/net/PlainSocketImpl.java:
4993         Reformatted.
4994         (PlainSocketImpl): Merged class documentaion with classpath.
4995         (in): Moved.
4996         (out): Moved.
4997         (PlainSocketImpl): New empty constructor.
4998         (finalize): Moved.
4999         (setOption): Merged documentation from classpath.
5000         (getOption): Likewise.
5001         (create): Likewise.
5002         (connect): Likewise.
5003         (bind): Likewise.
5004         (listen): Likewise.
5005         (accept): Likewise.
5006         (available): Likewise.
5007         (close): Likewise.
5008         (read): Likewise.
5009         (write): Likewise.
5010         (getInputStream): Made synchronozed to get sure that only one stream
5011         object can be created for this socket, merged documentation from
5012         classpath.
5013         (getOutputStream): Likewise.
5014
5015 2003-06-21  Michael Koch  <konqueror@gmx.de>
5016
5017         * java/net/PlainSocketImpl.java:
5018         Reformatting.
5019         (static): New implicit method.
5020         (read): Made package private.
5021         (write): Likewise.
5022
5023 2003-06-21  Michael Koch  <konqueror@gmx.de>
5024
5025         * java/util/SimpleTimeZone.java:
5026         Removed unneeded import, reformatting.
5027
5028 2003-06-21  Michael Koch  <konqueror@gmx.de>
5029
5030         * java/text/DateFormat.java,
5031         java/text/SimpleDateFormat.java,
5032         java/util/Locale.java:
5033         New versions from classpath.
5034
5035 2003-06-21  Michael Koch  <konqueror@gmx.de>
5036
5037         * javax/swing/SpinnerModel.java:
5038         New file from classpath.
5039         * javax/swing/border/LineBorder.java,
5040         javax/swing/border/SoftBevelBorder.java,
5041         javax/swing/plaf/BorderUIResource.java,
5042         javax/swing/plaf/basic/BasicBorders.java:
5043         New versions from classpath.
5044         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5045         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5046         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5047         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5048         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5049         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5050         New binary files from classpath.
5051
5052 2003-06-21  Michael Koch  <konqueror@gmx.de>
5053
5054         * java/util/logging/LogRecord.java,
5055         java/util/logging/Logger.java,
5056         java/util/logging/SocketHandler.java,
5057         java/util/logging/SimpleFormatter.java,
5058         java/util/logging/Formatter.java,
5059         java/util/logging/ErrorManager.java,
5060         java/util/logging/Handler.java,
5061         java/util/logging/FileHandler.java,
5062         java/util/logging/LogManager.java,
5063         java/util/logging/Level.java,
5064         java/util/logging/ConsoleHandler.java,
5065         java/util/logging/StreamHandler.java,
5066         java/util/logging/LoggingPermission.java,
5067         java/util/logging/Filter.java,
5068         java/util/logging/MemoryHandler.java,
5069         java/util/logging/XMLFormatter.java:
5070         New files from classpath.
5071
5072 2003-06-20  Michael Koch  <konqueror@gmx.de>
5073
5074         * java/io/ObjectStreamField.java
5075         (unshared): new member variable.
5076         (ObjectStreamField): New constructor.
5077         (isUnshared): New method.
5078
5079 2003-06-20  Michael Koch  <konqueror@gmx.de>
5080
5081         * java/net/URLStreamHandler.java
5082         (hostsEqual): Rewritten.
5083
5084 2003-06-20  Michael Koch  <konqueror@gmx.de>
5085
5086         * gnu/java/nio/MappedByteFileBuffer.java,
5087         gnu/java/nio/natMappedByteFileBuffer.cc:
5088         Removed
5089         * java/nio/MappedByteBufferImpl.java:
5090         New file.
5091         * gnu/java/nio/FileChannelImpl.java:
5092         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5093         * Makefile.am
5094         (ordinary_java_source_files): Removed
5095         gnu/java/nio/MappedByteFileBuffer.java and added
5096         java/nio/MappedByteBufferImpl.java.
5097         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5098         * Makefile.in: Regenerated.
5099
5100 2003-06-19  Michael Koch  <konqueror@gmx.de>
5101
5102         * gnu/java/nio/DatagramChannelImpl.java
5103         (fd): Removed.
5104         (blocking): New member variable.
5105         (socket): Likewise.
5106         (DatagramChannelImpl): Throws IOException, initialize socket.
5107         (socket):Implemented.
5108         (implCloseSelectableChannel): Throws IOException, implemented.
5109         (implConfigureBlocking): Likewise.
5110         (connect): Likewise.
5111         (disconnect): Likewise.
5112         (isConnected): Likewise.
5113         (write): Likewise.
5114         (read): Likewise.
5115         (receive): Throws IOException.
5116         (send): Likewise.
5117         * gnu/java/nio/SocketChannelImpl.java
5118         (read): Implemented.
5119         (write): Implemented.
5120
5121 2003-06-19  Michael Koch  <konqueror@gmx.de>
5122
5123         * javax/swing/JComponent.java,
5124         javax/swing/JInternalFrame.java,
5125         javax/swing/MenuSelectionManager.java,
5126         javax/swing/SwingUtilities.java,
5127         javax/swing/ToggleButtonModel.java:
5128         New versions from classpath.
5129
5130 2003-06-19  Michael Koch  <konqueror@gmx.de>
5131
5132         * java/text/CollationElementIterator.java
5133         (NULLORDER): Initialize with -1 as JDK documentation says.
5134
5135 2003-06-19  Michael Koch  <konqueror@gmx.de>
5136
5137         * java/net/HttpURLConnection.java,
5138         java/net/Inet4Address.java,
5139         java/net/Inet6Address.java,
5140         java/net/SocketImpl.java,
5141         java/net/URLClassLoader.java:
5142         Reworked import statements.
5143         * java/net/InetAddress.java
5144         (getByAddress): Simplified.
5145         * java/net/ServerSocket.java
5146         (ServerSocket): Moved special handling during bind operation to
5147         bind().
5148         (bind): Handle different cases when trying to bind a socket.
5149         * java/net/URLConnection.java
5150         (getHeaderFieldDate): Merged with classpath.
5151         (getHeaderFieldInt): Likewise.
5152
5153 2003-06-19  Michael Koch  <konqueror@gmx.de>
5154
5155         * java/util/zip/InflaterInputStream.java
5156         (InflaterInputStream): Throw NullPointerException if in is null (as
5157         JDK does).
5158
5159 2003-06-19  Michael Koch  <konqueror@gmx.de>
5160
5161         * java/awt/Font.java
5162         javax/swing/UIManager.java
5163         javax/swing/border/AbstractBorder.java
5164         javax/swing/border/BevelBorder.java
5165         javax/swing/border/Border.java
5166         javax/swing/border/CompoundBorder.java
5167         javax/swing/border/EmptyBorder.java
5168         javax/swing/border/EtchedBorder.java
5169         javax/swing/border/LineBorder.java
5170         javax/swing/border/MatteBorder.java
5171         javax/swing/border/TitledBorder.java
5172         javax/swing/plaf/BorderUIResource.java
5173         javax/swing/plaf/basic/BasicBorders.java
5174         javax/swing/plaf/basic/BasicButtonUI.java
5175         javax/swing/plaf/basic/BasicCheckBoxUI.java
5176         javax/swing/plaf/basic/BasicGraphicsUtils.java
5177         javax/swing/plaf/basic/BasicLabelUI.java
5178         javax/swing/plaf/basic/BasicRadioButtonUI.java
5179         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5180         New versions from classpath.
5181         * javax/swing/border/SoftBevelBorder.java:
5182         New file from classpath.
5183         * javax/swing/border/doc-files/LineBorder-1.png,
5184         javax/swing/border/doc-files/BevelBorder-1.png,
5185         javax/swing/border/doc-files/BevelBorder-2.png,
5186         javax/swing/border/doc-files/BevelBorder-3.png,
5187         javax/swing/border/doc-files/EmptyBorder-1.png,
5188         javax/swing/border/doc-files/EtchedBorder-1.png,
5189         javax/swing/border/doc-files/EtchedBorder-2.png,
5190         javax/swing/border/doc-files/MatteBorder-1.png,
5191         javax/swing/border/doc-files/MatteBorder-2.png,
5192         javax/swing/border/doc-files/MatteBorder-3.png,
5193         javax/swing/border/doc-files/MatteBorder-4.png,
5194         javax/swing/border/doc-files/MatteBorder-5.png,
5195         javax/swing/border/doc-files/MatteBorder-6.png,
5196         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5197         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5198         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5199         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5200         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5201         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5202         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5203         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5204         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5205         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5206         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5207         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5208         New binary files from classpath.
5209         * Makefile.am
5210         (awt_java_source_files): Added
5211         javax/swing/border/SoftBevelBorder.java.
5212         * Makefile.in: Regenerated.
5213
5214 2003-06-19  Michael Koch  <konqueror@gmx.de>
5215
5216         * gnu/java/security/x509/X509Certificate.java
5217         (writeReplace): Merged from classpath.
5218
5219 2003-06-19  Michael Koch  <konqueror@gmx.de>
5220
5221         * gnu/java/nio/FileChannelImpl.java
5222         (map_address): Made public.
5223         (FileChannelImpl): Merged with classpath.
5224         * gnu/java/nio/natFileChannelImpl.cc
5225         (nio_mmap_file): Commented out unused arguments.
5226         (nio_unmmap_file): Likewise.
5227         (niu_msync): Likewise.
5228
5229 2003-06-19  Michael Koch  <konqueror@gmx.de>
5230
5231         * java/awt/image/IndexColorModel.java:
5232         New version from classpath.
5233
5234 2003-06-18  Tom Tromey  <tromey@redhat.com>
5235
5236         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5237         on arrays.
5238         (isLoopbackAddress): Likewise.
5239         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5240         on arrays.
5241
5242 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5243
5244         * java/lang/natVMSecurityManager.cc (getClassContext):
5245         Use maxlen instead of len for loop bound.
5246
5247 2003-06-18  Michael Koch  <konqueror@gmx.de>
5248
5249         * gnu/java/nio/SelectorImpl.java
5250         (register): Use fd with value 0 for now, will be fixed later.
5251         * gnu/java/nio/ServerSocketChannelImpl.java
5252         (fd): Removed.
5253         (local_port): Removed.
5254         (InetSocketAddress): Removed.
5255         (ServerSocketChannelImpl): Just initialize internal socket object.
5256         (implCloseSelectableChannel): Close internal socket object.
5257         (implConfigureBlocking): Added comment.
5258         (accept): Use jaba.net stuff to accept socket.
5259         * gnu/java/nio/SocketChannelImpl.java
5260         (fd): Removed.
5261         (local_port): Removed.
5262         (InetSocketAddress): Removed.
5263         (SocketCreate): Removed.
5264         (SocketConnect): Removed.
5265         (SocketBind): Removed.
5266         (SocketListen): Removed.
5267         (SocketAvailable): Removed.
5268         (SocketClose): Removed.
5269         (SocketRead): Removed.
5270         (SocketWrite): Removed.
5271         (SocketChannelImpl): Just initialize internal socket object.
5272         (implCloseSelectableChannel): Close internal socket object.
5273         (implConfigureBlocking): Fixed implementation, added comment.
5274         (connect): Use internal socket object to connect.
5275         (socket): No need for sanity checks.
5276         (read): Comment out some stuff, this will be reimplemented in the next
5277         commit.
5278         (write): Likewise.
5279         * gnu/java/nio/natFileChannelImpl.cc
5280         (nio_mmap_file): Line wrapped.
5281         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5282         * Makefile.am
5283         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5284         * Makefile.in: Regenerated.
5285
5286 2003-06-18  Michael Koch  <konqueror@gmx.de>
5287
5288         * java/util/Locale.java
5289         (equals): Merged from classpath.
5290
5291 2003-06-18  Michael Koch  <konqueror@gmx.de>
5292
5293         * java/net/InetAddress.java:
5294         Reformatted to better match classpath's version.
5295         * java/net/URL.java
5296         (equals): Simplified.
5297         * java/net/URLConnection.java
5298         (setDoInput): Revised documentation.
5299         (getDefaultUseCaches): Likewise.
5300         (setRequestProperty): Added @since tag.
5301
5302 2003-06-17  Michael Koch  <konqueror@gmx.de>
5303
5304         * java/net/InetSocketAddress.java
5305         (InetSocketAddress): Use wildcard address if addr is null.
5306         (InetSocketAddress): Dont duplicate implementation.
5307         (InetSocketAddress): Throw exception when hostname is null.
5308         * java/net/Socket.java:
5309         Reworked imports.
5310         (Socket): Throw exception when raddr is null, handle case when laddr
5311         is null.
5312
5313 2003-06-17  Michael Koch  <konqueror@gmx.de>
5314
5315         * java/nio/DirectByteBufferImpl.java
5316         (address): Made package private.
5317         (DirectByteBufferImpl): New constructor.
5318         * java/nio/natDirectByteBufferImpl.cc
5319         (allocateImpl): Moved to java.nio namespace, implemented.
5320         (freeImpl): Likewise.
5321         (getImpl): Likewise.
5322         (putImpl): Likewise.
5323         * jni.cc
5324         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5325         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5326         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5327
5328 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5329
5330         * include/powerpc-signal.h: New File.
5331         * configure.in: Use it.
5332         * configure: Regenerated.
5333
5334 2003-06-17  Michael Koch  <konqueror@gmx.de>
5335
5336         * java/util/Locale.java
5337         (getDisplayLanguage): Made it final.
5338         (getDisplayCountry): Likewise.
5339         (getDisplayVariant): Likewise.
5340         (getDisplayName): Likewise.
5341
5342 2003-06-17  Michael Koch  <konqueror@gmx.de>
5343
5344         * java/util/PropertyResourceBundle.java:
5345         Removed unneeded import.
5346
5347 2003-06-17  Michael Koch  <konqueror@gmx.de>
5348
5349         * java/util/prefs/AbstractPreferences.java,
5350         java/util/prefs/PreferencesFactory.java:
5351         Reworked imports, removed unused imports.
5352         * java/util/prefs/Preferences.java
5353         (systemNodeForPackage): Method takes a Class not an Object.
5354         (userNodeForPackage): Likewise.
5355         (nodeForPackage): Likewise.
5356
5357 2003-06-17  Michael Koch  <konqueror@gmx.de>
5358
5359         * gnu/java/security/x509/X509Certificate.java:
5360         Explicitely import used classes.
5361
5362 2003-06-17  Michael Koch  <konqueror@gmx.de>
5363
5364         * java/util/zip/ZipEntry.java,
5365         java/util/zip/ZipFile.java,
5366         java/util/zip/ZipInputStream.java,
5367         java/util/zip/ZipOutputStream.java:
5368         Reworked imports, only import used classes.
5369
5370 2003-06-17  Michael Koch  <konqueror@gmx.de>
5371
5372         * gnu/java/lang/ArrayHelper.java,
5373         gnu/java/lang/ClassHelper.java:
5374         Reformatted to match classpath's versions.
5375
5376 2003-06-14  Michael Koch  <konqueror@gmx.de>
5377
5378         * gnu/java/nio/FileChannelImpl.java
5379         (map_address): Removed incorrect comment.        
5380         * gnu/java/nio/SelectorImpl.java
5381         (register): Remove code duplication and code for file channel handling.        
5382         * gnu/java/nio/ServerSocketChannelImpl.java
5383         (serverSocket): Renamed from sock_object.
5384         (ServerSocketChannel): Initialize serverSocket.
5385         (socket): Return serverSocket.
5386         * gnu/java/nio/SocketChannelImpl.java
5387         (socket): Renamed from sock_object.
5388         (isConnectionPenging): Simplified.
5389         (socket): Return socket.
5390 2003-06-14  Michael Koch  <konqueror@gmx.de>
5391
5392         * java/security/BasicPermission.java:
5393         New version from classpath.
5394
5395 2003-06-14  Michael Koch  <konqueror@gmx.de>
5396
5397         * javax/naming/directory/Attribute.java:
5398         New version from classpath.
5399
5400 2003-06-14  Michael Koch  <konqueror@gmx.de>
5401
5402         * java/io/BufferedReader.java,
5403         java/io/FileOutputStream.java:
5404         New versions from classpath.
5405
5406 2003-06-12  Andrew Haley  <aph@redhat.com>
5407
5408         * prims.cc (catch_segv): Create exception in handler.
5409         (catch_fpe): Likewise.  
5410         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5411         (_Jv_ThrowSignal): Remove.
5412
5413         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5414         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5415         to nullp and arithexception.
5416         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5417         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5418         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5419         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5420         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5421
5422 2003-06-11  Andrew Haley  <aph@redhat.com>
5423
5424         * jni.cc (_Jv_JNI_check_types): New.
5425         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5426         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5427         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5428         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5429         
5430         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5431         infinite loop.
5432
5433 2003-06-11  Tom Tromey  <tromey@redhat.com>
5434
5435         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5436         * java/io/PrintStream.java: Not deprecated.
5437
5438 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5439
5440         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5441         (fillOval): implemented
5442         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5443         (fillArc): implemented.
5444         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5445         (fillArc): added native method.
5446         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5447         (fillArc): added native method.
5448
5449 2003-06-11  Michael Koch  <konqueror@gmx.de>
5450
5451         * java/awt/im/InputSubset.java:
5452         New version from classpath.
5453
5454 2003-06-11  Michael Koch  <konqueror@gmx.de>
5455
5456         * javax/swing/AbstractAction.java,
5457         javax/swing/AbstractButton.java,
5458         javax/swing/AbstractCellEditor.java,
5459         javax/swing/AbstractListModel.java,
5460         javax/swing/BorderFactory.java,
5461         javax/swing/Box.java,
5462         javax/swing/BoxLayout.java,
5463         javax/swing/ButtonGroup.java,
5464         javax/swing/DefaultButtonModel.java,
5465         javax/swing/DefaultListModel.java,
5466         javax/swing/DefaultListSelectionModel.java,
5467         javax/swing/FocusManager.java,
5468         javax/swing/ImageIcon.java,
5469         javax/swing/InputMap.java,
5470         javax/swing/JApplet.java,
5471         javax/swing/JButton.java,
5472         javax/swing/JCheckBox.java,
5473         javax/swing/JCheckBoxMenuItem.java,
5474         javax/swing/JColorChooser.java,
5475         javax/swing/JComboBox.java,
5476         javax/swing/JComponent.java,
5477         javax/swing/JDesktopPane.java,
5478         javax/swing/JDialog.java,
5479         javax/swing/JEditorPane.java,
5480         javax/swing/JFileChooser.java,
5481         javax/swing/JFormattedTextField.java,
5482         javax/swing/JFrame.java,
5483         javax/swing/JLabel.java,
5484         javax/swing/JLayeredPane.java,
5485         javax/swing/JList.java,
5486         javax/swing/JMenuBar.java,
5487         javax/swing/JMenuItem.java,
5488         javax/swing/JOptionPane.java,
5489         javax/swing/JPanel.java,
5490         javax/swing/JPasswordField.java,
5491         javax/swing/JPopupMenu.java,
5492         javax/swing/JProgressBar.java,
5493         javax/swing/JRadioButton.java,
5494         javax/swing/JRadioButtonMenuItem.java,
5495         javax/swing/JRootPane.java,
5496         javax/swing/JScrollBar.java,
5497         javax/swing/JScrollPane.java,
5498         javax/swing/JSeparator.java,
5499         javax/swing/JSlider.java,
5500         javax/swing/JTabbedPane.java,
5501         javax/swing/JTable.java,
5502         javax/swing/JTextField.java,
5503         javax/swing/JToggleButton.java,
5504         javax/swing/JToolBar.java,
5505         javax/swing/JToolTip.java,
5506         javax/swing/JTree.java,
5507         javax/swing/JViewport.java,
5508         javax/swing/JWindow.java,
5509         javax/swing/KeyStroke.java,
5510         javax/swing/ListSelectionModel.java,
5511         javax/swing/LookAndFeel.java,
5512         javax/swing/RepaintManager.java,
5513         javax/swing/ScrollPaneLayout.java,
5514         javax/swing/SizeRequirements.java,
5515         javax/swing/SwingConstants.java,
5516         javax/swing/Timer.java,
5517         javax/swing/UIDefaults.java,
5518         javax/swing/UIManager.java,
5519         javax/swing/border/AbstractBorder.java,
5520         javax/swing/border/CompoundBorder.java,
5521         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5522         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5523         javax/swing/colorchooser/ColorSelectionModel.java,
5524         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5525         javax/swing/event/AncestorEvent.java,
5526         javax/swing/event/HyperlinkEvent.java,
5527         javax/swing/event/InternalFrameAdapter.java,
5528         javax/swing/event/InternalFrameEvent.java,
5529         javax/swing/event/ListDataEvent.java,
5530         javax/swing/event/MouseInputAdapter.java,
5531         javax/swing/event/SwingPropertyChangeSupport.java,
5532         javax/swing/event/TableModelEvent.java,
5533         javax/swing/event/TreeWillExpandListener.java,
5534         javax/swing/event/UndoableEditEvent.java,
5535         javax/swing/filechooser/FileFilter.java,
5536         javax/swing/filechooser/FileSystemView.java,
5537         javax/swing/filechooser/FileView.java,
5538         javax/swing/plaf/BorderUIResource.java,
5539         javax/swing/plaf/basic/BasicDefaults.java,
5540         javax/swing/table/AbstractTableModel.java,
5541         javax/swing/table/DefaultTableCellRenderer.java,
5542         javax/swing/table/DefaultTableColumnModel.java,
5543         javax/swing/table/DefaultTableModel.java,
5544         javax/swing/table/TableColumn.java,
5545         javax/swing/text/JTextComponent.java,
5546         javax/swing/tree/AbstractLayoutCache.java,
5547         javax/swing/tree/DefaultMutableTreeNode.java,
5548         javax/swing/tree/DefaultTreeCellEditor.java,
5549         javax/swing/tree/DefaultTreeCellRenderer.java,
5550         javax/swing/tree/DefaultTreeModel.java,
5551         javax/swing/tree/DefaultTreeSelectionModel.java,
5552         javax/swing/tree/FixedHeightLayoutCache.java,
5553         javax/swing/tree/TreeCellEditor.java,
5554         javax/swing/tree/TreeModel.java,
5555         javax/swing/tree/TreeNode.java,
5556         javax/swing/tree/TreePath.java,
5557         javax/swing/tree/TreeSelectionModel.java,
5558         javax/swing/tree/VariableHeightLayoutCache.java,
5559         javax/swing/undo/AbstractUndoableEdit.java,
5560         javax/swing/undo/CompoundEdit.java,
5561         javax/swing/undo/StateEdit.java,
5562         javax/swing/undo/UndoManager.java,
5563         javax/swing/undo/UndoableEditSupport.java:
5564         New versions from classpath.
5565         * javax/swing/table/JTableHeader.java:
5566         New file from classpath.
5567         * Makefile.am
5568         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5569         * Makefile.in: Regenerated.
5570
5571 2003-06-11  Michael Koch  <konqueror@gmx.de>
5572
5573         * java/nio/MappedByteBuffer.java,
5574         java/nio/channels/Channels.java,
5575         java/nio/channels/ServerSocketChannel.java,
5576         java/nio/channels/spi/AbstractSelector.java:
5577         Removed unneeded imports.
5578
5579 2003-06-11  Michael Koch  <konqueror@gmx.de>
5580
5581         * java/net/DatagramSocket.java:
5582         Partly merged with classpath.
5583
5584 2003-06-11  Michael Koch  <konqueror@gmx.de>
5585
5586         * java/awt/Frame.java,
5587         java/awt/Graphics.java,
5588         java/awt/Menu.java,
5589         java/awt/Robot.java,
5590         java/awt/image/ColorModel.java:
5591         New versions from classpath.
5592
5593 2003-06-10  Michael Koch  <konqueror@gmx.de>
5594
5595         * java/io/PrintStream.java:
5596         Merged version from classpath.
5597         (close): Removed sychronized keyword. This class is not garantied to
5598         be thread-safe.
5599         (write): Likewise.
5600
5601 2003-06-09  Tom Tromey  <tromey@redhat.com>
5602
5603         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5604         field.
5605         (getDescent): Likewise, for "descent".
5606
5607 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5608
5609         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5610         (getMaxDescent): adjusted return value.
5611         (getAscent): modified to use metrics for 'O'.
5612         (getDescent): modified to use metrics for 'y'.
5613
5614 2003-06-08  Anthony Green  <green@redhat.com>
5615
5616         * java/net/URLStreamHandler.java (sameFile): Fix port value
5617         comparison.
5618         * java/net/URL.java (handler): Make package private.
5619         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5620
5621 2003-06-07  Tom Tromey  <tromey@redhat.com>
5622
5623         For PR libgcj/11085:
5624         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5625         Limit number of characters in numeric field when required.
5626         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5627         Respect maximumIntegerDigits.
5628
5629 2003-06-08  Michael Koch  <konqueror@gmx.de>
5630
5631         * java/net/Socket.java
5632         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5633         call bind() and connect() to actually do the bind and connect tasks.
5634         (bind): Connect to canonical address if bindpoint is null, create
5635         socket and bind it to bindpoint.
5636         (connect): Check for exceptions.
5637
5638 2003-06-08  Michael Koch  <konqueror@gmx.de>
5639
5640         * java/net/DatagramSocket.java
5641         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5642         into the Multicast constructors.
5643         * java/net/DatagramSocketImpl.java
5644         (getOption): Removed.
5645         (setOption): Removed.
5646         * java/net/MulticastSocket.java
5647         (MulticastSocket): Call setReuseAddress (true).
5648         * java/net/SocketImpl.java
5649         (getOption): Removed.
5650         (setOption): Removed.
5651
5652 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5653
5654         PR libgcj/10886:
5655         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5656         Test for empty vector.
5657
5658 2003-06-06  Mark Wielaard  <mark@klomp.org>
5659
5660         * java/security/Security.java (secprops): Initialize.
5661         (loadProviders): Return boolean.
5662         (static): Check result of loadProvider calls. If necessary
5663         display WARNING and fallback to Gnu provider.
5664
5665 2002-06-06  James Clark  <jjc@jclark.com>
5666
5667         Fix for PR libgcj/8738:
5668         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5669         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5670         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5671         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5672         (write): Always decrease avail when count is increased.
5673         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5674         and whether output buffer is full before increasing size.
5675
5676 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5677
5678         * java/io/PrintStream.java (writeChars(char[],int, int)):
5679         Check converter.havePendingBytes().
5680         (writeChars(String,int,int)): Likewise.
5681         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5682         Check converter.havePendingBytes() and flush buffer when stalled.
5683
5684 2003-06-07  Michael Koch  <konqueror@gmx.de>
5685
5686         * include/posix.h
5687         (O_DSYNC): Define O_DSYNC on platforms not
5688         supporting O_FSYNC (newlib).
5689
5690 2003-06-06  Mark Wielaard  <mark@klomp.org>
5691
5692         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5693         AWTError.
5694
5695 2003-06-06  Michael Koch  <konqueror@gmx.de>
5696
5697         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5698         More compile fixes from my stupid work yesterday.
5699
5700 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5701
5702         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5703         if _IEEE_LIBM is undefined.
5704
5705 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5706
5707         * libjava/include/posix.h (O_SYNC): Define if not available
5708         and a reasonable, perhaps more conservative, replacement exists.
5709         (O_DSYNC): Likewise.
5710         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5711
5712 2003-06-05  Michael Koch  <konqueror@gmx.de>
5713
5714         * javax/swing/plaf/BorderUIResource.java,
5715         javax/swing/plaf/basic/BasicDefaults.java,
5716         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5717         More compile fixes for latest Border commit. I should not commit
5718         something in this heat here ...
5719
5720 2003-06-05  Michael Koch  <konqueror@gmx.de>
5721
5722         * javax/swing/border/BevelBorder.java
5723         (BevelBorder): Removed.
5724         * javax/swing/border/EmptyBorder.java:
5725         Reformatted.
5726         (EmptyBorder): Removed.
5727         (getBorderInsets): Dont use l, r, t and b.
5728         * javax/swing/border/EtchedBorder.java
5729         (EtchedBorder): Removed.
5730         * javax/swing/border/LineBorder.java
5731         (LineBorder): Removed.
5732         * javax/swing/border/MatteBorder.java
5733         (MatteBorder): Removed.
5734         * javax/swing/border/TitledBorder.java
5735         (defaultBorder): Use other default for now.
5736         (defaultFont): Likewise.
5737         (defaultColor): Likewise.
5738
5739 2003-06-05  Michael Koch  <konqueror@gmx.de>
5740
5741         * javax/swing/border/Border.java:
5742         New version from classpath.
5743
5744 2003-06-05  Michael Koch  <konqueror@gmx.de>
5745
5746         * javax/swing/border/AbstractBorder.java,
5747         javax/swing/border/BevelBorder.java,
5748         javax/swing/border/CompoundBorder.java,
5749         javax/swing/border/EmptyBorder.java,
5750         javax/swing/border/EtchedBorder.java,
5751         javax/swing/border/LineBorder.java,
5752         javax/swing/border/MatteBorder.java,
5753         javax/swing/border/TitledBorder.java:
5754         New versions from Classpath.
5755
5756 2003-06-05  Michael Koch  <konqueror@gmx.de>
5757
5758         * java/awt/Button.java,
5759         java/awt/Checkbox.java,
5760         java/awt/CheckboxMenuItem.java,
5761         java/awt/Choice.java,
5762         java/awt/Container.java,
5763         java/awt/Dialog.java,
5764         java/awt/EventQueue.java,
5765         java/awt/FileDialog.java,
5766         java/awt/Frame.java,
5767         java/awt/Label.java,
5768         java/awt/List.java,
5769         java/awt/Menu.java,
5770         java/awt/MenuItem.java,
5771         java/awt/Panel.java,
5772         java/awt/PopupMenu.java,
5773         java/awt/Rectangle.java,
5774         java/awt/ScrollPane.java,
5775         java/awt/Scrollbar.java,
5776         java/awt/TextArea.java,
5777         java/awt/TextField.java,
5778         java/awt/Window.java,
5779         java/awt/datatransfer/DataFlavor.java,
5780         java/awt/dnd/DragSource.java,
5781         java/awt/dnd/DragSourceContext.java,
5782         java/awt/event/HierarchyEvent.java,
5783         java/awt/event/MouseWheelEvent.java,
5784         java/awt/im/InputContext.java,
5785         java/awt/image/BufferedImage.java,
5786         java/awt/image/ComponentColorModel.java,
5787         java/awt/image/Raster.java,
5788         java/awt/image/WritableRaster.java,
5789         java/awt/peer/ComponentPeer.java,
5790         java/awt/print/PageFormat.java,
5791         java/awt/print/PrinterJob.java:
5792         New versions from Classpath.
5793
5794 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5795
5796         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5797         numberFormat.setParseIntegerOnly(true).
5798
5799 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5800
5801         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5802
5803 2003-06-03  Andrew Haley  <aph@redhat.com>
5804
5805         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5806         stack volatile to prevent optimization from removing it.
5807
5808 2003-05-27  Michael Koch  <konqueror@gmx.de>
5809
5810         * java/util/zip/Deflater.java
5811         (FILTERED): Merged documentation from classpath.
5812         * java/util/zip/DeflaterOutputStream.java
5813         (DeflaterOutputStream): Merged documentation and argument validity
5814         check from classpath.
5815         (deflate): Merged documentation from classpath.
5816         (finish): Likewise.
5817         * java/util/zip/Inflater.java
5818         (Inflater): Merged class documentation from classpath.
5819         (zstream): Reordered.
5820         (is_finished): Reordered.
5821         (dict_needed): Reordered.
5822         (Inflater): Reordered, merged documentation from classpath.
5823         (end): Likewise.
5824         (finalize): Merged documentation from classpath.
5825         (finished): Likewise.
5826         (getAdler): Likewise.
5827         (getRemaining): Likewise.
5828         (getTotalIn): Likewise.
5829         (getTotalOut): Likewise.
5830         (inflate): Likewise.
5831         (needsDictionary): Likewise.
5832         (needsInput): Likewise.
5833         (reset): Likewise.
5834         (setDictionary): Likewise.
5835         (setInput): Likewise.
5836
5837 2003-05-27  Michael Koch  <konqueror@gmx.de>
5838
5839         * java/net/URLConnection.java
5840         (getHeaderFieldInt): Merged with classpath.
5841
5842 2003-05-27  Michael Koch  <konqueror@gmx.de>
5843
5844         * java/io/PrintStream.java
5845         (PrintStream): Reformatted.
5846         (PrintStream): New method, merged from classpath.
5847         (write): Reformatted.
5848
5849 2003-05-27  Michael Koch  <konqueror@gmx.de>
5850
5851         * java/lang/System.java:
5852         Explicitely import needed classes.
5853
5854 2003-05-26  Michael Koch  <konqueror@gmx.de>
5855
5856         * java/net/NetPermission.java,
5857         java/net/NetworkInterface.java,
5858         java/net/PasswordAuthentication.java,
5859         java/net/SocketPermission.java:
5860         New versions from classpath.
5861
5862 2003-05-25  Michael Koch  <konqueror@gmx.de>
5863
5864         * java/io/PushbackInputStream.java,
5865         java/net/Authenticator.java,
5866         java/net/ContentHandler.java,
5867         java/net/ContentHandlerFactory.java,
5868         java/net/DatagramSocket.java,
5869         java/net/DatagramSocketImpl.java,
5870         java/net/DatagramSocketImplFactory.java,
5871         java/net/FileNameMap.java,
5872         java/net/SocketImplFactory.java,
5873         java/net/SocketOptions.java,
5874         java/net/URLStreamHandlerFactory.java:
5875         Merged new versions from classpath.
5876
5877 2003-05-25  Michael Koch  <konqueror@gmx.de>
5878
5879         * java/awt/Checkbox.java,
5880         java/awt/Dialog.java,
5881         java/awt/Font.java,
5882         java/awt/Frame.java,
5883         java/awt/ScrollPaneAdjustable.java,
5884         java/awt/Scrollbar.java,
5885         java/awt/Window.java:
5886         New versions from classpath.
5887
5888 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5889
5890         PR libgcj/10838:
5891         * java/io/ObjectInputStream (enableResolveObject):
5892         Fixed spelling of permission name.
5893
5894 2003-05-20  Michael Koch  <konqueror@gmx.de>
5895
5896         * java/io/DataInputStream.java
5897         (convertFromUTF): Merged comment from classpath.
5898         * java/io/PrintStream.java
5899         (error_occured): Renamed from error, merged comment from classpath.
5900         (PrintStream): No need to initialized error.
5901         (checkError): Replace error with error_occurred.
5902         (setError): Likewise.
5903
5904 2003-05-20  Michael Koch  <konqueror@gmx.de>
5905
5906         * java/io/DataInputStream.java:
5907         Reformatted, Replaced < and & with html entitites in documentation.
5908         * java/io/File.java:
5909         Reformatted.
5910         * java/io/PrintWriter.java:
5911         Moved class documentation.
5912
5913 2003-05-20  Michael Koch  <konqueror@gmx.de>
5914
5915         * gnu/java/nio/ByteBufferImpl.java,
5916         gnu/java/nio/CharBufferImpl.java,
5917         gnu/java/nio/CharViewBufferImpl.java,
5918         gnu/java/nio/DirectByteBufferImpl.java,
5919         gnu/java/nio/DoubleBufferImpl.java,
5920         gnu/java/nio/DoubleViewBufferImpl.java,
5921         gnu/java/nio/FloatBufferImpl.java,
5922         gnu/java/nio/FloatViewBufferImpl.java,
5923         gnu/java/nio/IntBufferImpl.java,
5924         gnu/java/nio/IntViewBufferImpl.java,
5925         gnu/java/nio/LongBufferImpl.java,
5926         gnu/java/nio/LongViewBufferImpl.java,
5927         gnu/java/nio/natDirectByteBufferImpl.cc,
5928         gnu/java/nio/ShortBufferImpl.java,
5929         gnu/java/nio/ShortViewBufferImpl.java:
5930         Moved files to java/nio.
5931         * gnu/java/nio/SocketChannelImpl.java
5932         
5933         * java/nio/ByteBuffer.java,
5934         java/nio/CharBuffer.java,
5935         java/nio/DoubleBuffer.java,
5936         java/nio/FloatBuffer.java,
5937         java/nio/IntBuffer.java,
5938         java/nio/LongBuffer.java,
5939         java/nio/ShortBuffer.java:
5940         Dont import anything.
5941         * java/nio/ByteBufferImpl.java,
5942         java/nio/CharBufferImpl.java,
5943         java/nio/CharViewBufferImpl.java,
5944         java/nio/DirectByteBufferImpl.java,
5945         java/nio/DoubleBufferImpl.java,
5946         java/nio/DoubleViewBufferImpl.java,
5947         java/nio/FloatBufferImpl.java,
5948         java/nio/FloatViewBufferImpl.java,
5949         java/nio/IntBufferImpl.java,
5950         java/nio/IntViewBufferImpl.java,
5951         java/nio/LongBufferImpl.java,
5952         java/nio/LongViewBufferImpl.java,
5953         java/nio/natDirectByteBufferImpl.cc,
5954         java/nio/ShortBufferImpl.java,
5955         java/nio/ShortViewBufferImpl.java:
5956         Moved from gnu/java/nio.
5957         * Makefile.am
5958         (ordinary_java_source_files): Moved files from gnu/java/nio to
5959         java/nio.
5960         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5961         to java/nio.
5962         * Makefile.in: Regenerated.
5963
5964 2003-05-19  Michael Koch  <konqueror@gmx.de>
5965
5966         * java/util/Calendar.java
5967         (get): Not final anymore since JDK 1.4
5968         (set): Likewise.
5969
5970 2003-05-19  Michael Koch  <konqueror@gmx.de>
5971
5972         * java/text/CollationKey.java:
5973         Merged copyright and dat from classpath.
5974         * java/text/RuleBasedCollator.java:
5975         Merged class documentation from classpath.
5976
5977 2003-05-19  Michael Koch  <konqueror@gmx.de>
5978
5979         * java/nio/CharBuffer.java
5980         (toString): Compile fix.
5981
5982 2003-05-19  Michael Koch  <konqueror@gmx.de>
5983
5984         * gnu/java/nio/ByteBufferImpl.java
5985         (putLong): Fixed conversion to bytes.
5986         (putDouble): Fixed conversion to bytes.
5987         * gnu/java/nio/DirectByteBufferImpl.java
5988         (putLong): Fixed conversion to bytes.
5989         (putDouble): Fixed conversion to bytes.
5990         * gnu/java/nio/FileLockImpl.java
5991         (isValid): Reformatted.
5992         * java/nio/Buffer.java
5993         (Buffer): Fixed off-by-one bug in handling mark.
5994         * java/nio/ByteBuffer.java:
5995         Added newline.
5996         * java/nio/CharBuffer.java
5997         (toString): Don't use relative get to get string data.
5998
5999 2003-05-16  Michael Koch  <konqueror@gmx.de>
6000
6001         * java/io/natFileDescriptorPosix.cc
6002         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6003         tested.
6004
6005 2003-05-14  Michael Koch  <konqueror@gmx.de>
6006
6007         * gnu/java/nio/FileLockImpl.java
6008         (released): New member variable.
6009         (FileLockImpl): Initialize released.
6010         (releaseImpl): New native method.
6011         (release): Implemented.
6012         * gnu/java/nio/SelectorImpl.java: Reformatted.
6013         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6014         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6015         (accept): Throws IOException.
6016         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6017         (implConfigureBlocking): Throws IOException.
6018         (connect): Likewise.
6019         (read): Likewise.
6020         (write): Likewise.
6021         * gnu/java/nio/natFileLockImpl.cc: New file.
6022         * java/nio/channels/FileLock.java: Reformatted.
6023         * Makefile.am:
6024         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6025         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6026         * Makefile.in: Regenerated.
6027
6028 2003-05-13  Michael Koch  <konqueror@gmx.de>
6029
6030         * gnu/java/nio/CharViewBufferImpl.java
6031         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6032         (get): Shift bits to the right direction.
6033         (put): Likewise.
6034         * gnu/java/nio/DoubleViewBufferImpl.java
6035         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6036         (get): Shift bits to the right direction.
6037         (put): Likewise.
6038         * gnu/java/nio/FloatViewBufferImpl.java
6039         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6040         (get): Shift bits to the right direction.
6041         (put): Likewise.
6042         * gnu/java/nio/IntViewBufferImpl.java
6043         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6044         (get): Shift bits to the right direction.
6045         (put): Likewise.
6046         * gnu/java/nio/LongViewBufferImpl.java
6047         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6048         (get): Shift bits to the right direction.
6049         (put): Likewise.
6050         * gnu/java/nio/ShortViewBufferImpl.java
6051         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6052         (get): Shift bits to the right direction.
6053         (put): Likewise.
6054
6055 2003-05-13  Michael Koch  <konqueror@gmx.de>
6056
6057         * gnu/java/nio/natDirectByteBufferImpl.cc
6058         (allocateImpl): jlong -> RawData*.
6059         (freeImpl): Likewise.
6060
6061 2003-05-13  Michael Koch  <konqueror@gmx.de>
6062
6063         * java/nio/channels/FileChannel.java
6064         (MapMode.m): Made it package-private to match JDK 1.4.
6065         * java/nio/charset/Charset.java
6066         (decode): Made it final to match JDK 1.4.
6067
6068 2003-05-13  Michael Koch  <konqueror@gmx.de>
6069
6070        * java/io/FileDescriptor.java
6071        (SYNC): New constant.
6072        (DSYNC): Likewise.
6073        (getLength): Renamed from lenght() to match classpath's
6074        FileDescriptor.java.
6075        * java/io/RandomAccessFile.java
6076        (RandomAccessFile): Removed unneeded mode check, implemented mode
6077        "rws" and "rwd", merged documentation from classpath.
6078        (setLength): Reformatted.
6079        (length): Use new getLength() of FileDescriptor.
6080        * java/io/natFileDescriptorEcos.cc
6081        (getLength): Renamed from length().
6082        * java/io/natFileDescriptorPosix.cc
6083        (open): Implemented support for SYNC and DSYNC.
6084        (seek): Use getLength() instead of length().
6085        (getLength): Renamed from length().
6086        * java/io/natFileDescriptorWin32.cc
6087        (getLength): Renamed from length().
6088        (seek): Use getLength() instead of length().
6089        (available): Likewise.
6090        * gnu/java/nio/natFileChannelImpl.cc
6091        (size): Use getLength() instead of length().
6092
6093 2003-05-13  Michael Koch  <konqueror@gmx.de>
6094
6095         * gnu/java/nio/ByteBufferImpl.java
6096         (ByteBufferImpl): All constructors revised.
6097         (slice): Reimplemented.
6098         (duplicate): Reimplemented.
6099         (asReadOnlyBuffer): Reimplemented.
6100         * java/nio/ByteBuffer.java:
6101         Reformatted.
6102         (array_offset): Renamed from "offset" to match all other buffer
6103         classes.
6104         (ByteBuffer): All constructors revised.
6105         (allocateDirect): Implemented.
6106         (allocate): New implementation, documentation reworked.
6107         (wrap): Likewise.
6108         (get): Documentation reworked.
6109         (put): New implementation, documentation reworked.
6110         (hasArray): Documentation reworked.
6111         (arrayOffset): Likewise.
6112         (hashCode): Likewise.
6113         (equals): Likewise.
6114         (compareTo): Likewise.
6115         (order): Likewise.
6116         (compact): Likewise.
6117         (isDirect): Likewise.
6118         (slice): Likewise.
6119         (duplicate): Likewise.
6120         (asReadOnlyBuffer): Likewise.
6121         * Makefile.am
6122         (ordinary_java_source_files):
6123         Added gnu/java/nio/DirectByteBufferImpl.java.
6124         (nat_source_files):
6125         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6126         * Makefile.in: Regenerated.
6127
6128 2003-05-12  Michael Koch  <konqueror@gmx.de>
6129
6130         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6131         (nio_get_*): Removed.
6132         (nio_put_*): Removed.
6133         (as*Buffer): Implemented.
6134         (compact): Implemented.
6135         (get): Documentation added.
6136         (put): Documentation added.
6137         (get*): Newly implemented.
6138         (put*): Newly implemented.
6139         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6140         (CharBufferImpl): Revised.
6141         (slice): New implementation.
6142         (duplicate): New implementation.
6143         (compact): New implementation.
6144         (asReadOnlyBuffer): New implementation.
6145         (get): Documentation revised.
6146         (order): Return native byte order.
6147         * gnu/java/nio/DirectByteBufferImpl.java
6148         (allocateDirect): objects can be null not 0.
6149         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6150         (DoubleBufferImpl): Revised.
6151         (slice): New implementation.
6152         (duplicate): New implementation.
6153         (compact): New implementation.
6154         (asReadOnlyBuffer): New implementation.
6155         (get): Documentation revised.
6156         (order): Return native byte order.
6157         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6158         (FloatBufferImpl): Revised.
6159         (slice): New implementation.
6160         (duplicate): New implementation.
6161         (compact): New implementation.
6162         (asReadOnlyBuffer): New implementation.
6163         (get): Documentation revised.
6164         (order): Return native byte order.
6165         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6166         (IntBufferImpl): Revised.
6167         (slice): New implementation.
6168         (duplicate): New implementation.
6169         (compact): New implementation.
6170         (asReadOnlyBuffer): New implementation.
6171         (get): Documentation revised.
6172         (order): Return native byte order.
6173         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6174         (LongBufferImpl): Revised.
6175         (slice): New implementation.
6176         (duplicate): New implementation.
6177         (compact): New implementation.
6178         (asReadOnlyBuffer): New implementation.
6179         (get): Documentation revised.
6180         (order): Return native byte order.
6181         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6182         (ShortBufferImpl): Revised.
6183         (slice): New implementation.
6184         (duplicate): New implementation.
6185         (compact): New implementation.
6186         (asReadOnlyBuffer): New implementation.
6187         (get): Documentation revised.
6188         (order): Return native byte order.
6189         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6190         (CharBuffer): Revised.
6191         (order): Removed.
6192         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6193         (DoubleBuffer): Revised.
6194         (allocateDirect): Removed.
6195         (order): Removed.
6196         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6197         (FloatBuffer): Revised.
6198         (allocateDirect): Removed.
6199         (order): Removed.
6200         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6201         (IntBuffer): Revised.
6202         (allocateDirect): Removed.
6203         (order): Removed.
6204         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6205         (LongBuffer): Revised.
6206         (allocateDirect): Removed.
6207         (order): Removed.
6208         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6209         (ShortBuffer): Revised.
6210         (allocateDirect): Removed.
6211         (order): Removed.
6212         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6213         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6214         * Makefile.am
6215         (ordinary_java_source_files): Added the following files:
6216         gnu/java/nio/CharViewBufferImpl.java,
6217         gnu/java/nio/DoubleViewBufferImpl.java,
6218         gnu/java/nio/FloatViewBufferImpl.java,
6219         gnu/java/nio/IntViewBufferImpl.java,
6220         gnu/java/nio/LongViewBufferImpl.java,
6221         gnu/java/nio/ShortViewBufferImpl.java
6222         (nat_source_files): Removed the following files:
6223         gnu/java/nio/natByteBufferImpl.cc,
6224         gnu/java/nio/natCharBufferImpl.cc
6225         * Makefile.in: Regenerated.
6226
6227 2003-05-12  Michael Koch  <konqueror@gmx.de>
6228
6229         * gnu/java/nio/CharViewBufferImpl.java,
6230         gnu/java/nio/DirectByteBufferImpl.java,
6231         gnu/java/nio/DoubleViewBufferImpl.java,
6232         gnu/java/nio/FloatViewBufferImpl.java,
6233         gnu/java/nio/IntViewBufferImpl.java,
6234         gnu/java/nio/LongViewBufferImpl.java,
6235         gnu/java/nio/ShortViewBufferImpl.java,
6236         gnu/java/nio/natDirectByteBufferImpl.cc:
6237         New files, not yet to be compiled.
6238
6239 2003-05-10  Michael Koch  <konqueror@gmx.de>
6240
6241         * javax/swing/plaf/ButtonUI.java,
6242         javax/swing/plaf/ColorUIResource.java,
6243         javax/swing/plaf/ComponentUI.java,
6244         javax/swing/plaf/DimensionUIResource.java,
6245         javax/swing/plaf/FontUIResource.java,
6246         javax/swing/plaf/IconUIResource.java,
6247         javax/swing/plaf/InsetsUIResource.java,
6248         javax/swing/plaf/LabelUI.java,
6249         javax/swing/plaf/ListUI.java,
6250         javax/swing/plaf/OptionPaneUI.java,
6251         javax/swing/plaf/PanelUI.java,
6252         javax/swing/plaf/TabbedPaneUI.java,
6253         javax/swing/plaf/TextUI.java,
6254         javax/swing/plaf/TreeUI.java,
6255         javax/swing/plaf/ViewportUI.java,
6256         javax/swing/plaf/basic/BasicBorders.java,
6257         javax/swing/plaf/basic/BasicButtonUI.java,
6258         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6259         javax/swing/plaf/basic/BasicDefaults.java,
6260         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6261         javax/swing/plaf/basic/BasicIconFactory.java,
6262         javax/swing/plaf/basic/BasicLabelUI.java,
6263         javax/swing/plaf/basic/BasicListUI.java,
6264         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6265         javax/swing/plaf/basic/BasicPanelUI.java,
6266         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6267         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6268         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6269         javax/swing/plaf/basic/BasicTextUI.java,
6270         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6271         javax/swing/plaf/basic/BasicTreeUI.java,
6272         javax/swing/plaf/basic/BasicViewportUI.java,
6273         javax/swing/plaf/metal/MetalLookAndFeel.java:
6274         New versions from classpath. This adds copyrights to all files and
6275         some serialVersionUIDs.
6276
6277 2003-05-10  Michael Koch  <konqueror@gmx.de>
6278
6279         * java/nio/CharBuffer.java
6280         (offset): Make it package-private.
6281         (backing_buffer): Likewise.
6282         * java/nio/DoubleBuffer.java
6283         (offset): Make it package-private.
6284         (backing_buffer): Likewise.
6285         (put): Reformatted.
6286         * java/nio/FloatBuffer.java
6287         (offset): Make it package-private.
6288         (backing_buffer): Likewise.
6289         * java/nio/IntBuffer.java
6290         (offset): Make it package-private.
6291         (backing_buffer): Likewise.
6292         * java/nio/LongBuffer.java
6293         (offset): Make it package-private.
6294         (backing_buffer): Likewise.
6295         * java/nio/ShortBuffer.java
6296         (offset): Make it package-private.
6297         (backing_buffer): Likewise.
6298
6299 2003-05-10  Michael Koch  <konqueror@gmx.de>
6300
6301         * java/nio/CharBuffer.java
6302         (put): Fixed precondtion check.
6303         (toString): Make it work without backing array.
6304         (put): Skip one level of method calling.
6305
6306 2003-05-10  Michael Koch  <konqueror@gmx.de>
6307
6308         * java/security/Identity.java,
6309         java/security/IdentityScope.java,
6310         java/security/Key.java,
6311         java/security/KeyPair.java,
6312         java/security/PrivateKey.java,
6313         java/security/Provider.java,
6314         java/security/PublicKey.java,
6315         java/security/SecureRandom.java,
6316         java/security/SecureRandomSpi.java,
6317         java/security/SignedObject.java,
6318         java/security/Signer.java,
6319         java/security/cert/Certificate.java,
6320         java/security/cert/PKIXCertPathBuilderResult.java,
6321         java/security/cert/X509Certificate.java:
6322         New versions from classpath.
6323
6324 2003-05-09  Tom Tromey  <tromey@redhat.com>
6325
6326         * Makefile.in: Rebuilt.
6327         * Makefile.am (nat_source_files): Removed old files.
6328         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6329         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6330         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6331         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6332         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6333
6334 2003-05-09  Michael Koch  <konqueror@gmx.de>
6335
6336         * gnu/java/nio/ByteBufferImpl.java
6337         (nio_cast): Removed.
6338         (ByteBufferImpl): Removed.
6339         (nio_get_Byte): Removed.
6340         (nio_put_Byte): Removed.
6341         (asByteBuffer): Removed.
6342         (asCharBuffer): Removed implementation and throw exception.
6343         (asShortBuffer): Likewise.
6344         (asIntBuffer): Likewise.
6345         (asLongBuffer): Likewise.
6346         (asFloatBuffer): Likewise.
6347         (asDoubleBuffer): Likewise.
6348         * gnu/java/nio/CharBufferImpl.java
6349         (CharBufferImpl): Removed.
6350         (nio_get_Byte): Removed.
6351         (nio_put_Byte): Removed.
6352         (asByteBuffer): Removed.
6353         * gnu/java/nio/DoubleBufferImpl.java
6354         (DoubleBufferImpl): Removed.
6355         (nio_get_Byte): Removed.
6356         (nio_put_Byte): Removed.
6357         (asByteBuffer): Removed.
6358         * gnu/java/nio/FloatBufferImpl.java
6359         (FloatBufferImpl): Removed.
6360         (nio_get_Byte): Removed.
6361         (nio_put_Byte): Removed.
6362         (asByteBuffer): Removed.
6363         * gnu/java/nio/IntBufferImpl.java
6364         (IntBufferImpl): Removed.
6365         (nio_get_Byte): Removed.
6366         (nio_put_Byte): Removed.
6367         (asByteBuffer): Removed.
6368         * gnu/java/nio/LongBufferImpl.java
6369         (LongBufferImpl): Removed.
6370         (nio_get_Byte): Removed.
6371         (nio_put_Byte): Removed.
6372         (asByteBuffer): Removed.
6373         * gnu/java/nio/ShortBufferImpl.java
6374         (ShortBufferImpl): Removed.
6375         (nio_get_Byte): Removed.
6376         (nio_put_Byte): Removed.
6377         (asByteBuffer): Removed.
6378         * gnu/java/nio/natByteBufferImpl.cc
6379         (nio_cast): Removed.
6380         (nio_get_Byte): Removed.
6381         (nio_put_Byte): Removed.
6382         * gnu/java/nio/natCharBufferImpl.cc
6383         (nio_get_Byte): Removed.
6384         (nio_put_Byte): Removed.
6385
6386 2003-05-09  Michael Koch  <konqueror@gmx.de>
6387
6388         * java/net/JarURLConnection.java
6389         (getJarEntry): Merged documentation from classpath.
6390         (getJarFile): Likewise.
6391         (getMainAttributes): Likewise.
6392         (getAttributes): Likewise.
6393         (getManifest): Likewise.
6394         (getCertificates): Reformatted.
6395         * java/net/URLConnection.java:
6396         Little classpath merge.
6397
6398 2003-05-09  Michael Koch  <konqueror@gmx.de>
6399
6400         * java/io/DataOutputStream.java
6401         (writeShort): Made it synchronized.
6402         (writeChar): Likewise.
6403         (writeInt): Likewise.
6404         (writeLong): Liekwise.
6405         (writeUTF): Made it synchronized, renamed argument to match classpath.
6406         * java/io/InputStreamReader.java
6407         (converter): Added documentation.
6408         (read): Merged documentation from classpath.
6409         * java/io/OutputStreamWriter.java
6410         (OutputStreamWriter): Merged documentation from classpath.
6411         (close): Reformatted.
6412         (getEncoding): Likewise.
6413         (flush): Likewise.
6414         (write): Merged documentation from classpath, reformatted.
6415
6416 2003-05-08  Tom Tromey  <tromey@redhat.com>
6417
6418         * configure.host <powerpc64*-*>: Set with_libffi_default and
6419         libgcj_interpreter to "yes".
6420
6421 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6422
6423         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6424         
6425 2003-05-06  Tom Tromey  <tromey@redhat.com>
6426
6427         * verify.cc: Reverted previous patch.
6428
6429 2003-05-06  Michael Koch  <konqueror@gmx.de>
6430
6431         * java/io/DataOutputStream.java
6432         (write): Renamed argument to "value", merged documentation from
6433         classpath.
6434         (writeBoolean): Likewise.
6435         (writeByte): Likewise.
6436         (writeShort): Likewise.
6437         (writeChar): Likewise.
6438         (writeInt): Likewise.
6439         (writeLong): Likewise.
6440         (writeFloat): Likewise.
6441         (writeDouble): Likewise.
6442         (writeBytes): Likewise.
6443         (writeChars): Likewise.
6444         (writeUTF): Likewise.
6445         * java/io/File.java
6446         (performDelete): Added documentation.
6447         (performList): Likewise.
6448         (performMkdir): Likewise.
6449         (performSetReadOnly): Likewise.
6450         (performRenameTo): Likewise.
6451         (performSetLastModified): Likewise.
6452         (delete): Made it sychronized.
6453         (renameTo): Made it sychronized.
6454         (equals): Reformatted.
6455         (isHidden): Likewise.
6456         (listFiles): Likewise.
6457         (setReadOnly): Likewise.
6458         (listRoots): Likewise.
6459         (setLastModified): Likewise.
6460         (checkRead): Likewise.
6461         (checkWrite): Likewise.
6462         * java/io/FileInputStream.java
6463         (skip): Made it sychronized, merged from classpath.
6464         * java/io/FileOutputStream.java
6465         (write): Merged from classpath.
6466         * java/io/InputStreamReader.java:
6467         (InputStreamReader): Merged documentation from classpath.
6468
6469 2003-05-05  Michael Koch  <konqueror@gmx.de>
6470
6471         * java/net/NetworkInterface.java
6472         (networkInterfaces): Removed.
6473         (getByName): Use getRealNetworkInterfaces() instead of
6474         networkInterfaces.
6475         (getByInetAddress): Likewise.
6476         (getNetworkInterfaces): Likewise.
6477         (toString): Fix output of addresses of an interface.
6478
6479 2003-05-05  Michael Koch  <konqueror@gmx.de>
6480
6481         * java/io/DataInputStream.java:
6482         Merged new documentation from classpath.
6483
6484 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6485
6486         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6487         "version".
6488         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6489         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6490         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6491         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6492         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6493         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6494         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6495         * java/security/Key.java: Likewise.
6496         * java/security/PrivateKey.java: Likewise.
6497         * java/security/Provider.java: Likewise.
6498         * java/security/PublicKey.java: Likewise.
6499
6500 2003-05-02  Michael Koch  <konqueror@gmx.de>
6501
6502         * java/net/URI.java
6503         (create): Doesnt throws any exceptions.
6504         * java/net/URLConnection.java
6505         (URLConnection): Commend added.
6506         (getExpiration): The header field is called "expires" not
6507         "expiration".
6508         (getHeaderField): Merged documentation with classpath.
6509         (getHeaderFieldInt): Likewise.
6510         (getHeaderFieldDate): Likewise.
6511         (getHeaderFieldKey): Likewise.
6512         (getPermission): Likewise.
6513         (setDefaultUseCaches): Likewise.
6514         (setRequestProperty): Likewise.
6515         (addRequestProperty): Likewise.
6516         (getRequestProperty): Likewise.
6517         (getRequestProperties): Likewise.
6518         (setDefaultRequestProperty): Likewise.
6519         (getDefaultRequestProperty): Likewise.
6520         (guessContentTypeFromStream): Likewise.
6521         (getFileNameMap): Likewise.
6522         (setFileNameMap): Likewise.
6523         (setDoInput): Merged implementation and documentation with classpath.
6524         (setDoOutput): Likewise.
6525         (setAllowUserInteraction): Likewise.
6526         (setDefaultAllowUserInteraction): Likewise.
6527         (setContentHandlerFactory): Made it synchronized, merged documentation
6528         with classpath.
6529         (guessContentTypeFromName): Renamed argument fname to filename to
6530         match classpath, merged documentation with classpath.
6531
6532 2003-05-02  Michael Koch  <konqueror@gmx.de>
6533
6534         * java/net/JarURLConnection.java
6535         (JarURLConnection): Class documentation merged with classpath.
6536         (getJarFileURL): Moved and documentation merged with classpath.
6537         (getEntryName): Likewise.
6538         (JarURLConnection): Documentation merged with classpath.
6539         (getJarEntry): Likewise.
6540         (getJarFile): Likewise.
6541         * java/net/PlainDatagramSocketImpl.java:
6542         Class documentation moved.
6543         * java/net/URLConnection.java
6544         (fileNameMap): Moved and documentation merged with classpath.
6545         (factory): Likewise.
6546         (defaultAllowUserInteraction): Likewis.
6547         (defaultUseCaches): Likewise.
6548         (allowUserInteraction): Likewise.
6549         (connected): Likewise.
6550         (url): Likewise.
6551         (connect): Documentation merged with classpath.
6552         (getURL): Likewise.
6553         (getContentLength): Likewise.
6554         (getContentType): Likewise.
6555         (getContentEncoding): Likewise.
6556         (getExpiration): Likewise.
6557         (getDate): Likewise.
6558         (getLastModified): Likewise.
6559         (getHeaderField): Likewise.
6560         (getContent): Likewise.
6561         (getPermission): Likewise.
6562         (getInputStream): Likewise.
6563         (getOutputStream): Likewise.
6564         (toString): Likewise.
6565         (getDoInput): Likewise.
6566         (getDoOutput): Likewise.
6567         (setAllowUserInteraction): Likewise.
6568         (getAllowUserInteraction): Likewise.
6569         (setDefaultAllowUserInteraction): Likewise.
6570         (getDefaultAllowUserInteraction): Likewise.
6571         (setUseCaches): Likewise.
6572         (getUseCaches): Likewise.
6573         (setIfModifiedSince): Likewise.
6574         (getIfModifiedSince): Likewise.
6575         (setDefaultRequestProperty): Likewise.
6576         (getDefaultRequestProperty): Likewise.
6577         (setContentHandlerFactory): Likewise.
6578         (setFileNameMap): Likewise.
6579
6580 2003-05-02  Michael Koch  <konqueror@gmx.de>
6581
6582         * java/net/InetAddress.java:
6583         Merged class documentation with classpath.
6584         * java/net/JarURLConnection.java:
6585         Explicitely import all used classes.
6586         * java/net/URL.java:
6587         Reformatting.
6588         * java/net/ServerSocket.java,
6589         java/net/Socket.java:
6590         New versions from classpath.
6591
6592 2003-05-02  Michael Koch  <konqueror@gmx.de>
6593
6594         * gnu/java/nio/FileChannelImpl.java
6595         (read): New implementation.
6596         (implRead): New methods.
6597         (write): New implementation, call other write insteal of read method.
6598         (implWrite): New methods.
6599         (map): Added comment.
6600         (transferFrom): Implemented.
6601         (transferTo): Implemented.
6602         (lock): Added checks to throw exceptions.
6603         (truncate): Added check to throw exception.
6604         * gnu/java/nio/natFileChannelImpl.cc
6605         (implRead): New method.
6606         (implWrite): New method.
6607         * java/nio/ByteBuffer.java
6608         (hashCode): Fixed comment.
6609         (get): Fixed exception documentation.
6610         (put): Fixed exception documentation.
6611         * java/nio/CharBuffer.java:
6612         Added comment for later optimizations.
6613
6614 2003-04-30  Tom Tromey  <tromey@redhat.com>
6615
6616         PR libgcj/10582:
6617         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6618         Removed.
6619         (type::compatible): Use _Jv_IsAssignableFrom.
6620         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6621         (_Jv_IsAssignableFrom): Work even when source or target class is
6622         not prepared.
6623
6624 2003-04-30  Michael Koch  <konqueror@gmx.de>
6625
6626         * java/text/BreakIterator.java
6627         (clone): New method.
6628
6629 2003-04-30  Michael Koch  <konqueror@gmx.de>
6630
6631         * java/text/CollationElementIterator.java,
6632         java/text/CollationKey.java,
6633         java/text/RuleBasedCollator.java:
6634         Merged copyright and documentation from classpath and
6635         rearranged some code. No code changes done.
6636
6637 2003-04-30  Michael Koch  <konqueror@gmx.de>
6638
6639         * java/util/regex/Matcher.java
6640         (pattern): New member variable.
6641         (appendReplacement): New method.
6642         (appendTail): New method.
6643         (end): New method.
6644         (find): New method.
6645         (group): New method.
6646         (replaceFirst): Added documentation.
6647         (replaceAll): Added documentation.
6648         (groupCount): New method.
6649         (lookingAt): New method.
6650         (matches): New method.
6651         (reset): New method.
6652         (start): New method.
6653         * java/util/regex/Pattern.java
6654         (serialVersionUID): New constant.
6655         (CANON_EQ): New constant.
6656         (CASE_INSENSITIVE): New constant.
6657         (COMMENTS): New constant.
6658         (DOTALL): New constant.
6659         (MULTILINE): New constant.
6660         (UNICODE_CASE): New constant.
6661         (UNIX_LINES): New constant.
6662         (regex): New member variable.
6663         (flags): New member variable.
6664         (Pattern): New method.
6665         (compile): Documentation added.
6666         (flags): New method.
6667         (matches): Documentation added.
6668         (matcher): Documentation added.
6669         (split): Documentation added.
6670         (pattern): New method.
6671
6672 2003-04-30  Michael Koch  <konqueror@gmx.de>
6673
6674         * gnu/java/security/Engine.java,
6675         gnu/java/security/OID.java,
6676         gnu/java/security/der/BitString.java,
6677         gnu/java/security/der/DER.java,
6678         gnu/java/security/der/DERReader.java,
6679         gnu/java/security/der/DERValue.java,
6680         gnu/java/security/der/DERWriter.java,
6681         gnu/java/security/provider/DSAKeyFactory.java,
6682         gnu/java/security/provider/X509CertificateFactory.java,
6683         gnu/java/security/x509/X500DistinguishedName.java,
6684         gnu/java/security/x509/X509CRL.java,
6685         gnu/java/security/x509/X509CRLEntry.java,
6686         gnu/java/security/x509/X509Certificate.java,
6687         java/security/cert/CRLSelector.java,
6688         java/security/cert/CertPathBuilder.java,
6689         java/security/cert/CertPathBuilderResult.java,
6690         java/security/cert/CertPathBuilderSpi.java,
6691         java/security/cert/CertPathParameters.java,
6692         java/security/cert/CertPathValidator.java,
6693         java/security/cert/CertPathValidatorResult.java,
6694         java/security/cert/CertPathValidatorSpi.java,
6695         java/security/cert/CertSelector.java,
6696         java/security/cert/CertStore.java,
6697         java/security/cert/CertStoreParameters.java,
6698         java/security/cert/CertStoreSpi.java,
6699         java/security/cert/CollectionCertStoreParameters.java,
6700         java/security/cert/LDAPCertStoreParameters.java,
6701         java/security/cert/PKIXBuilderParameters.java,
6702         java/security/cert/PKIXCertPathBuilderResult.java,
6703         java/security/cert/PKIXCertPathChecker.java,
6704         java/security/cert/PKIXCertPathValidatorResult.java,
6705         java/security/cert/PKIXParameters.java,
6706         java/security/cert/PolicyNode.java,
6707         java/security/cert/PolicyQualifierInfo.java,
6708         java/security/cert/TrustAnchor.java,
6709         javax/security/auth/x500/X500Principal.java:
6710         New files from classpath.
6711         * gnu/java/io/ASN1ParsingException.java,
6712         gnu/java/io/Base64InputStream.java,
6713         gnu/java/security/der/DEREncodingException.java,
6714         gnu/java/security/provider/DSAParameters.java,
6715         gnu/java/security/provider/DSASignature.java,
6716         gnu/java/security/provider/Gnu.java,
6717         gnu/java/security/provider/GnuDSAPrivateKey.java,
6718         gnu/java/security/provider/GnuDSAPublicKey.java,
6719         java/security/AlgorithmParameterGenerator.java,
6720         java/security/AlgorithmParameters.java,
6721         java/security/KeyFactory.java,
6722         java/security/KeyPairGenerator.java,
6723         java/security/KeyStore.java,
6724         java/security/MessageDigest.java,
6725         java/security/SecureClassLoader.java,
6726         java/security/SecureRandom.java,
6727         java/security/Security.java,
6728         java/security/Signature.java,
6729         java/security/cert/Certificate.java,
6730         java/security/cert/CertificateFactory.java,
6731         java/security/cert/CertificateFactorySpi.java,
6732         java/security/cert/X509CRL.java,
6733         java/security/cert/X509Certificate.java,
6734         java/security/spec/DSAPublicKeySpec.java:
6735         New versions from classpath.
6736         * gnu/java/security/provider/DERReader.java,
6737         gnu/java/security/provider/DERWriter.java,
6738         java/security/Engine.java: Removed.
6739         * Makefile.am
6740         (java_source_files, javax_source_files): Added new files.
6741         * Makefile.in: Regenerated.
6742
6743 2003-04-29  Michael Koch  <konqueror@gmx.de>
6744
6745         * javax/swing/JTable.java
6746         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6747         (AUTO_RESIZE_LAST_COLUMN): New constant.
6748         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6749         (AUTO_RESIZE_OFF): New constant.
6750         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6751         (JTable): New method.
6752         (columnAdded): New method.
6753         (columnMarginChanged): New method.
6754         (columnMoved): New method.
6755         (columnRemoved): New method.
6756         (columnSelectionChanged): New method.
6757         (editingCanceled): New method.
6758         (editingStopped): New method.
6759         (getColumnModel): New method.
6760         (getPreferredScrollableViewportSize): New method.
6761         (getScrollableBlockIncrement): New method.
6762         (getScrollableTracksViewportHeight): New method.
6763         (getScrollableTracksViewportWidth): New method.
6764         (getScrollableUnitIncrement): New method.
6765         (getSelectedRow): New method.
6766         (getSelectionModel): New method.
6767         (tableChanged): New method.
6768         (setModel): New method.
6769         (setSelectionMode): New method.
6770         (setSelectionModel): New method.
6771         (setShowGrid): New method.
6772         (valueChanged): New method.
6773         * javax/swing/text/DefaultEditorKit.java
6774         (backwardAction): New constant.
6775         (beepAction): New constant.
6776         (beginAction): New constant.
6777         (beginLineAction): New constant.
6778         (beginParagraphAction): New constant.
6779         (beginWordAction): New constant.
6780         (copyAction): New constant.
6781         (cutAction): New constant.
6782         (defaultKeyTypedAction): New constant.
6783         (deleteNextCharAction): New constant.
6784         (deletePrevCharAction): New constant.
6785         (downAction): New constant.
6786         (endAction): New constant.
6787         (endLineAction): New constant.
6788         (endOfLineStringProperty): New constant.
6789         (endParagraphAction): New constant.
6790         (endWordAction): New constant.
6791         (forwardAction): New constant.
6792         (insertBreakAction): New constant.
6793         (insertContentAction): New constant.
6794         (insertTabAction): New constant.
6795         (nextWordAction): New constant.
6796         (pageDownAction): New constant.
6797         (pageUpAction): New constant.
6798         (pasteAction): New constant.
6799         (previousWordAction): New constant.
6800         (readOnlyAction): New constant.
6801         (selectAllAction): New constant.
6802         (selectionBackwardAction): New constant.
6803         (selectionBeginAction): New constant.
6804         (selectionBeginLineAction): New constant.
6805         (selectionBeginParagraphAction): New constant.
6806         (selectionBeginWordAction): New constant.
6807         (selectionDownAction): New constant.
6808         (selectionEndAction): New constant.
6809         (selectionEndLineAction): New constant.
6810         (selectionEndParagraphAction): New constant.
6811         (selectionEndWordAction): New constant.
6812         (selectionForwardAction): New constant.
6813         (selectionNextWordAction): New constant.
6814         (selectionPreviousWordAction): New constant.
6815         (selectionUpAction): New constant.
6816         (selectLineAction): New constant.
6817         (selectParagraphAction): New constant.
6818         (selectWordAction): New constant.
6819         (upAction): New constant.
6820         (writableAction): New constant.
6821
6822 2003-04-29  Michael Koch  <konqueror@gmx.de>
6823
6824         * java/util/PropertyPermission.java:
6825         New version from classpath
6826         * java/util/ResourceBundle.java:
6827         Partly merged from classpath
6828         (getObject): Reformated.
6829         (tryBundle): Set foundBundle = null if no bundle found.
6830
6831 2003-04-29  Michael Koch  <konqueror@gmx.de>
6832
6833         * javax/swing/AbstractListModel.java,
6834         javax/swing/DefaultBoundedRangeModel.java,
6835         javax/swing/DefaultSingleSelectionModel.java:
6836         New Versions from classpath.
6837
6838 2003-04-29  Michael Koch  <konqueror@gmx.de>
6839
6840         * java/awt/Window.java
6841         (show): Call super.show() instead of setVisible() to avoid endless
6842         loop.
6843         (hide): Call super.hide() instead of setVisible() to avoid endless
6844         loop.
6845
6846 2003-04-29  Michael Koch  <konqueror@gmx.de>
6847
6848         * java/util/zip/Deflater.java,
6849         java/util/zip/DeflaterOutputStream.java:
6850         Partly merged with classpath.
6851
6852 2003-04-27  Tom Tromey  <tromey@redhat.com>
6853
6854         * java/lang/natString.cc (_Jv_AllocString): Initialize
6855         cachedHashCode.
6856         (init): Likewise.
6857         (_Jv_NewStringUtf8Const): Likewise.
6858
6859 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6860
6861         * include/jvm.h: (_Jv_GetNbArgs) added
6862         (_Jv_GetSafeArg) added
6863         (_Jv_SetArgs) added
6864         * prims.cc: (_Jv_GetNbArgs) implemented
6865         (_Jv_GetSafeArg) implemented
6866         (_Jv_SetArgs) implemented
6867         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6868         setting _Jv_argc and _Jv_argv
6869         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6870         instead of _Jv_argv
6871         * java/lang/natRuntime.cc: (insertSystemProperties) use
6872         _Jv_GetSafeArg() instead of _Jv_argv
6873
6874 2003-04-23  Tom Tromey  <tromey@redhat.com>
6875
6876         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6877         required by this object.  Search superclasses to find required
6878         alignment.
6879         (get_alignment_from_class): Use alignment of type as it appears
6880         in a struct.
6881         (ALIGNOF): New macro.
6882         (struct aligner): New helper structure.
6883
6884 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6885
6886         * java/awt/Container.java (addImpl): Enable paint events if adding
6887         a lightweight to a heavyweight.
6888         (addNotify): Ensure that peer is created before
6889         addNotifyContainerChildren.
6890         (addNotifyContainerChildren): Enable paint events if a heavyweight
6891         container contains a lightweight.
6892
6893 2003-04-20  Tom Tromey  <tromey@redhat.com>
6894
6895         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6896         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6897         Classpath.
6898
6899 2003-04-19  Tom Tromey  <tromey@redhat.com>
6900
6901         * java/sql/Date.java, java/sql/DriverManager.java,
6902         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6903         Classpath.
6904
6905         * Makefile.in: Rebuilt.
6906         * Makefile.am (ordinary_java_source_files): Added new files.
6907         * java/security/AlgorithmParameterGenerator.java,
6908         java/security/AlgorithmParameters.java, java/security/Engine.java,
6909         java/security/Identity.java, java/security/IdentityScope.java,
6910         java/security/KeyFactory.java,
6911         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6912         java/security/MessageDigest.java, java/security/Policy.java,
6913         java/security/ProtectionDomain.java,
6914         java/security/SecureRandom.java, java/security/Security.java,
6915         java/security/Signature.java, java/security/SignatureSpi.java,
6916         java/security/SignedObject.java, java/security/Signer.java,
6917         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6918         java/security/spec/PSSParameterSpec.java,
6919         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6920         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6921         Classpath.
6922
6923 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6924
6925         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6926         (dispose): Null metrics.
6927         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6928         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6929         finalize.
6930         (finalize): Call dispose.
6931         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6932         (gcCachedCount): New field.
6933         (finalize): New method.
6934         (putGCInCache): New method.
6935         (getGCFromCache): New method.
6936         * gnu/gcj/xlib/GC.java (GC): Make protected.
6937         (clone): Get new GC from cache if possible.
6938         (create): New static method.
6939         (dispose): Save old GC in cache.
6940         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6941         deleting.
6942         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6943         is null.
6944         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6945         * java/awt/Container.java (visitChild): Dispose gfx2 when
6946         finished.
6947
6948 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6949
6950         * java/math/BigInteger.java (probablePrime): New.
6951         * java/math/BigDecimal.java (unscaledValue): New.
6952
6953 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6954
6955         * java/io/File.java (getAbsolutePath): On Windows, take care
6956         of paths like "C:", "G:foo\bar", etc.
6957         (getName): Make it work correctly on Windows.
6958         (getParent): Make it work correctly on Windows. For UNIX,
6959         fix bug that causes "/" to be returned as the parent of "/",
6960         instead of null as returned by Sun's JRE.
6961
6962         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6963
6964 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6965
6966         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6967         inner class.
6968         (CACHE_SIZE_PER_DISPLAY): New field
6969         (fontMetricsCache): New field
6970         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6971         loading ISO10646-1 fonts.
6972
6973 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6974
6975         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6976         characters.
6977         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6978         characters.
6979
6980 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
6981
6982         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6983         floating point.
6984
6985 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
6986
6987         * configure.host (*-linux*): Don't set slow_pthread_self if primary
6988         installed libpthread is either linuxthreads with floating stacks or
6989         NPTL.
6990
6991 2003-04-14  Tom Tromey  <tromey@redhat.com>
6992
6993         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6994         of alignment.
6995
6996 2003-04-10  Tom Tromey  <tromey@redhat.com>
6997
6998         * verify.cc (pop64): Removed.
6999         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7000         exception if top-of-stack is narrow.
7001         (initialize_stack): Check to ensure that <init> is not static and
7002         <clinit> is.
7003
7004 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7005
7006         * java/io/ObjectStreamException
7007         * java/io/FileFilter
7008         * java/io/FilenameFilter
7009         * java/io/ObjectInput
7010         * java/io/ObjectOutput
7011         * java/io/ObjectStreamConstants
7012         Minor doc fixes, format fixes, spelling corrections, etc.
7013         * java/io/DataInput
7014         Corrected code samples in Javadocs to match reality
7015         * java/io/DataOutput
7016         * java/io/ObjectInputValidation
7017         Major documentation fixes - all Javadocs re-written or updated
7018
7019 2003-04-06  Michael Koch  <konqueror@gmx.de>
7020
7021         * java/net/URLConnection.java:
7022         Import classes directly.
7023         (URLConnection): Merged class documentation with classpath.
7024         (url): Moved, documentation from classpath added.
7025         (doInput): Moved, documentation from classpath added.
7026         (doOutput): Moved, documentation from classpath added.
7027         (allowUserInteraction): Moved.
7028         (useCaches): Moved, documentation from classpath added.
7029         (ifModifiedSince): Moved, documentation from classpath added.
7030         (connected): Moved, documentation from classpath added.
7031
7032 2003-04-06  Michael Koch  <konqueror@gmx.de>
7033
7034         * java/io/FileInputStream.java
7035         (skip): Renamed some variables to match classpath, added
7036         checks from classpath.
7037
7038 2003-03-31  Michael Koch  <konqueror@gmx.de>
7039
7040         * javax/swing/AbstractAction.java
7041         (AbstractAction): Reformatted.
7042         (serialVersionUID): New private member variable.
7043         * javax/swing/plaf/BorderUIResource.java
7044         (serialVersionUID): New private member variable.
7045         * javax/swing/plaf/basic/BasicLookAndFeel.java
7046         (serialVersionUID): New private member variable.
7047
7048 2003-03-31  Michael Koch  <konqueror@gmx.de>
7049
7050         * java/sql/Date.java
7051         (valueOf): Deprecated, reformatted.
7052         (toString): Deprecated, reformatted.
7053         * java/sql/Time.java
7054         (valueOf): Deprecated, reformatted.
7055         (toString): Deprecated, reformatted.
7056
7057 2003-03-31  Michael Koch  <konqueror@gmx.de>
7058
7059         * java/rmi/dgc/VMID.java
7060         (isUnique): Deprecated.
7061
7062 2003-03-31  Michael Koch  <konqueror@gmx.de>
7063
7064         * java/io/File.java
7065         (separator): Merged documentation from classpath.
7066         (separatorChar): Merged documentation from classpath.
7067         (pathSeparator): Merged documentation from classpath.
7068         (pathSeparatorChar): Merged documentation from classpath.
7069         (path): Merged documentation from classpath.
7070         (canRead): Merged documentation from classpath.
7071         (canWrite): Merged documentation from classpath.
7072         (createNewFile): Merged documentation from classpath.
7073         (delete): Merged documentation from classpath.
7074         (equals): Merged documentation from classpath.
7075         (exists): Merged documentation from classpath.
7076         (File): Renamed p to name to match classpath, merged documentation
7077         from classpath.
7078         (getAbsolutePath): Merged documentation from classpath.
7079         (getCanonicalPath): Merged documentation from classpath.
7080         (getCanonicalFile): Merged documentation from classpath.
7081         (getName): Merged documentation from classpath.
7082         (getParent): Merged documentation from classpath.
7083         (getParentFile): Merged documentation from classpath.
7084         (getPath): Merged documentation from classpath.
7085         (hashCode): Merged documentation from classpath.
7086         (isAbsolute): Merged documentation from classpath.
7087         (isDirectory): Merged documentation from classpath.
7088         (isFile): Merged documentation from classpath.
7089         (isHidden): Merged documentation from classpath.
7090         (lastModified): Merged documentation from classpath.
7091         (length): Merged documentation from classpath.
7092         (list): Merged documentation from classpath.
7093         (listFiles): Merged documentation from classpath.
7094         (toString): Merged documentation from classpath.
7095         (toURL): Merged documentation from classpath.
7096         (mkdir): Merged documentation from classpath.
7097         (mkdirs): Merged documentation from classpath.
7098         (createTempFile): Merged documentation from classpath.
7099         (setReadOnly): Merged documentation from classpath.
7100         (listRoots): Merged documentation from classpath.
7101         (compareTo): Merged documentation from classpath.
7102         (renameTo): Merged documentation from classpath.
7103         (setLastModified): Merged documentation from classpath.
7104         * java/io/PrintStream.java
7105         (auto_flush): Merged documentation from classpath.
7106         (PrintStream): Merged documentation from classpath.
7107         (checkError): Merged documentation from classpath.
7108         (setError): Merged documentation from classpath.
7109         (close): Merged documentation from classpath.
7110         (flush): Merged documentation from classpath.
7111         (print): Merged documentation from classpath.
7112         (println):  Merged documentation from classpath.
7113         (write): Renamed count to len to match classpath,
7114         merged documentation from classpath.
7115         * java/io/RandomAccessFile.java
7116         (readShort): Merged documentation from classpath.
7117         (readUnsignedByte): Merged documentation from classpath.
7118         (readUnsignedShort): Merged documentation from classpath.
7119         (readUTF): Merged documentation from classpath.
7120         (seek): Reformatted, merged documentation from classpath.
7121         (skipBytes): Renamed some variables to match classpath, reformatted,
7122         merged documentation from classpath.
7123         (write): Merged documentation from classpath.
7124         (writeBoolean): Merged documentation from classpath.
7125         (writeByte): Merged documentation from classpath.
7126         (writeShort): Merged documentation from classpath.
7127         (writeChar): Merged documentation from classpath.
7128         (writeInt): Merged documentation from classpath.
7129         (writeLong): Merged documentation from classpath.
7130         (writeFloat): Merged documentation from classpath.
7131         (writeDouble): Merged documentation from classpath.
7132         (writeBytes): Merged documentation from classpath.
7133         (writeChars): Merged documentation from classpath.
7134         (writeUTF): Reformatted.
7135         (getChannel): Reformatted.
7136
7137 2003-03-31  Michael Koch  <konqueror@gmx.de>
7138
7139         * java/awt/font/TextAttribute.java
7140         (readResolve): Throws java.io.InvalidObjectException.
7141
7142 2003-03-31  Michael Koch  <konqueror@gmx.de>
7143
7144         * java/rmi/server/LoaderHandler.java
7145         (loadClass): Deprecated.
7146         (getSecurityContext): Deprecated.
7147         * java/rmi/server/LogStream.java
7148         (getDefaultStream): Deprecated.
7149         (setDefaultStream): Deprecated.
7150         (getOutputStream): Deprecated.
7151         (setOutputStream): Deprecated.
7152         (write): Deprecated.
7153         (toString): Deprecated.
7154         (parseLevel): Deprecated.
7155         * java/rmi/server/Operation.java
7156         (Operation): Deprecated.
7157         (getOperation): Deprecated.
7158         (toString): Deprecated.
7159         * java/rmi/server/RemoteCall.java
7160         (getOutputStream): Deprecated.
7161         (releaseOutputStream): Deprecated.
7162         (getInputStream): Deprecated.
7163         (releaseInputStream): Deprecated.
7164         (getResultStream): Deprecated.
7165         (executeCall): Deprecated.
7166         (done): Deprecated.
7167         * java/rmi/server/RemoteRef.java
7168         (invoke): Deprecated.
7169         (newCall): Deprecated.
7170         (done): Deprecated.
7171         * java/rmi/server/RemoteStub.java
7172         (setRef): Deprecated.
7173         * java/rmi/server/Skeleton.java:
7174         No need to import java.lang.Exception explicitly.
7175         (dispatch): Deprecated.
7176         (getOperations): Deprecated.
7177
7178 2003-03-31  Michael Koch  <konqueror@gmx.de>
7179
7180         * java/rmi/dgc/VMID.java,
7181         java/rmi/registry/RegistryHandler.java,
7182         java/rmi/server/LogStream.java,
7183         java/rmi/server/Operation.java,
7184         java/rmi/server/RemoteCall.java,
7185         java/rmi/server/RemoteRef.java,
7186         java/rmi/server/RemoteStub.java:
7187         Reformatted.
7188
7189 2003-03-31  Michael Koch  <konqueror@gmx.de>
7190
7191         * javax/swing/AbstractCellEditor.java,
7192         javax/swing/AbstractListModel.java,
7193         javax/swing/ActionMap.java,
7194         javax/swing/BorderFactory.java,
7195         javax/swing/ButtonGroup.java,
7196         javax/swing/DefaultBoundedRangeModel.java,
7197         javax/swing/DefaultButtonModel.java,
7198         javax/swing/DefaultCellEditor.java,
7199         javax/swing/DefaultComboBoxModel.java,
7200         javax/swing/DefaultDesktopManager.java,
7201         javax/swing/DefaultListCellRenderer.java,
7202         javax/swing/DefaultSingleSelectionModel.java,
7203         javax/swing/InputMap.java,
7204         javax/swing/JComponent.java,
7205         javax/swing/JMenu.java,
7206         javax/swing/JSlider.java,
7207         javax/swing/KeyStroke.java,
7208         javax/swing/OverlayLayout.java,
7209         javax/swing/ScrollPaneLayout.java,
7210         javax/swing/SizeRequirements.java,
7211         javax/swing/UIManager.java,
7212         javax/swing/ViewportLayout.java,
7213         javax/swing/border/AbstractBorder.java,
7214         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7215         javax/swing/event/EventListenerList.java,
7216         javax/swing/table/AbstractTableModel.java,
7217         javax/swing/table/DefaultTableCellRenderer.java,
7218         javax/swing/table/DefaultTableColumnModel.java,
7219         javax/swing/table/DefaultTableModel.java,
7220         javax/swing/table/TableColumn.java,
7221         javax/swing/text/StyledEditorKit.java,
7222         javax/swing/tree/DefaultMutableTreeNode.java,
7223         javax/swing/tree/DefaultTreeModel.java,
7224         javax/swing/tree/DefaultTreeSelectionModel.java,
7225         javax/swing/tree/TreePath.java,
7226         javax/swing/undo/AbstractUndoableEdit.java,
7227         javax/swing/undo/StateEdit.java,
7228         javax/swing/undo/StateEditable.java,
7229         javax/swing/undo/UndoableEditSupport.java:
7230         Merges from classpath.
7231
7232 2003-03-30  Tom Tromey  <tromey@redhat.com>
7233
7234         * java/lang/String.java (data, boffset, count): Documented.
7235         (String(byte[],String)): Reformatted.
7236         (String(byte[])): Likewise.
7237         (lastIndexOf(int)): Likewise.
7238         (lastIndexOf(String)): Likewise.
7239         (substring(int)): Renamed argument to match Classpath.
7240         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7241
7242         * java/lang/String.java: Miscellaneous minor formatting changes
7243         to match Classpath more closely.
7244
7245 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7246             Tom Tromey  <tromey@redhat.com>
7247
7248         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7249         (init()): Removed.
7250         (charAt): Put index in exception.
7251         (contentEquals): New method.
7252         Include StringBuffer.h.
7253         * java/lang/String.java (cachedHashCode): New field.
7254         (String()): Follow classpath implementation.
7255         (init()): Removed.
7256         (contentEquals): Declare.
7257         (subSequence): Don't declare IndexOutIfBoundsException in throws
7258         clause.
7259         (matches, replaceFirst, replaceAll, split): New methods from
7260         Classpath.
7261
7262 2003-03-29  Tom Tromey  <tromey@redhat.com>
7263
7264         * java/lang/String.java: Reordered to follow Classpath; merged in
7265         javadoc.
7266
7267         * java/text/MessageFormat.java: Removed some whitespace.
7268
7269         * Makefile.in: Rebuilt.
7270         * Makefile.am (awt_java_source_files): Added new files.
7271         * gnu/javax/rmi/PortableServer.java,
7272         gnu/javax/rmi/CORBA/DelegateFactory.java,
7273         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7274         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7275         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7276         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7277         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7278         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7279         javax/rmi/PortableRemoteObject.java,
7280         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7281         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7282         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7283         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7284         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7285         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7286
7287         * java/lang/natClass.cc (newInstance): Put method name in
7288         exception.
7289         (getConstructor): Likewise.
7290         (getDeclaredConstructor): Likewise.
7291         (getPrivateMethod): Likewise.
7292
7293 2003-03-28  Tom Tromey  <tromey@redhat.com>
7294
7295         * java/lang/reflect/Proxy.java: New version from Classpath.
7296         * java/lang/Package.java: New version from Classpath.
7297
7298 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7299
7300         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7301         * configure: Regenerate.
7302
7303 2003-03-28  Michael Koch  <konqueror@gmx.de>
7304
7305         * java/io/File.java:
7306         Import needed classes instead of whole packages, merged class
7307         documentation with classpath, moved constants and variables to top of
7308         class.
7309         * java/io/PrintStream.java:
7310         Merged class documentation with classpath, moved constants and
7311         variables to top of class.
7312         * java/io/RandomAccessFile.java
7313         (RandomAccessFile): Merged with classpath.
7314         (read): Merged with classpath).
7315         (read*): Reformatted.
7316
7317 2003-03-28  Michael Koch  <konqueror@gmx.de>
7318
7319         * java/io/FileDescriptor.java
7320         (finalize): Throws Throwable, not IOException.
7321         * java/io/ObjectOutputStream.java
7322         (PutField.put): Doesnt throws anything.
7323
7324 2003­03-28  Michael Koch  <konqueror@gmx.de>
7325
7326         * java/io/FileOutputStream.java:
7327         Merged class documentation and authors with classpath.
7328         (FileOutputStream): Partly merged with classpath.
7329         (write): Merged with classpath.
7330         (getChannel): Make it synchronized instead of explicit block in this
7331         method.
7332         * java/io/RandomAccessFile.java:
7333         Merged class documentation and authors with classpath.
7334
7335 2003-03-26  Tom Tromey  <tromey@redhat.com>
7336
7337         * java/lang/natRuntime.cc (insertSystemProperties): Set
7338         gnu.classpath.home.url.
7339         * Makefile.in: Rebuilt.
7340         * Makefile.am: Define LIBDIR.
7341
7342 2003-03-25  Michael Koch  <konqueror@gmx.de>
7343
7344         * java/io/FileInputStream.java
7345         (read): Renamed b to buf and off to offset.
7346         * java/io/FileOutputStream.java
7347         (ch): Documentation added.
7348         (FileOutputStream): Documentation added.
7349         (getFD): Documentation added.
7350         (write): Documentation added.
7351         (close): Documentation added.
7352         (getChannel): Documentation added.
7353
7354 2003-03-24  Michael Koch  <konqueror@gmx.de>
7355
7356         * java/io/DataOutputStream.java
7357         (write): Merged from classpath.
7358         * java/io/File.java:
7359         Merged copyrigth with classpath.
7360         * java/io/FileInputStream.java
7361         (getChannel): Made it synchronized instead of using a synchronized
7362         block.
7363         * java/io/FileOutputStream.java: Reformatted.
7364         * java/io/InputStreamReader.java
7365         (InputStreamReader): Renamed enc to encoding_name.
7366         (close): Merged documentation from classpath.
7367         (getEncoding): Merged documentation from classpath.
7368         (ready): Merged documentation from classpath.
7369         (read): Merged documentation from classpath.
7370         * java/io/LineNumberReader.java
7371         (lineNumber): Made it private.
7372         (LineNumberReader): Use Constant instead of a direct value.
7373         * java/io/OutputStreamWriter.java
7374         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7375         documentation from classpath.
7376         (close): Merged documentation from classpath.
7377         (flush): Merged documentation from classpath.
7378         (write): Merged documentation from classpath.
7379         * java/io/PrintStream.java: Reformatted.
7380
7381 2003-03-24  Michael Koch  <konqueror@gmx.de>
7382
7383         * javax/swing/text/ComponentView.java
7384         (getComponent): Must be final.
7385         * javax/swing/tree/DefaultTreeCellRenderer.java:
7386         Reformatted.
7387         * javax/swing/undo/StateEditable.java:
7388         Reformatted.
7389
7390 2003-03-24  Michael Koch  <konqueror@gmx.de>
7391
7392         * java/rmi/activation/ActivationInstantiator.java:
7393         Reformatted.
7394         * java/rmi/activation/Activator.java:
7395         Reformatted.
7396         * java/rmi/registry/RegistryHandler.java:
7397         Remerged from classpath.
7398
7399 2003-03-24  Michael Koch  <konqueror@gmx.de>
7400
7401         * java/util/Date.java:
7402         Fixed documentation starting tag to make javadoc happy.
7403         * java/util/regex/Pattern.java
7404         (Pattern): Implements Serializable.
7405         * java/util/PatternSyntaxException.java
7406         (serialVersionUID): New member variable.
7407
7408 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7409
7410         * java/awt/ContainerOrderFocusTraversalPolicy.java
7411         (getFirstComponent): Implemented.
7412         (getLastComponent): Implemented.
7413         (getDefaultComponent): Implemented.
7414         (setImplicitDownCycleTraversal): Fixed implementation.
7415         * java/awt/Robot.java
7416         (Robot): Added documentation.
7417         * java/awt/Toolkit.java
7418         (getFontList): Deprecated.
7419         (getFontMetrics): Deprecated.
7420         (getPrintJob): Added documentation.
7421         (getSystemSelection): Added documentation.
7422         (getLockingKeyState): Added documentation.
7423         (setLockingKeyState): Added documentation.
7424         (createCustomCursor): Added documentation.
7425         (getBestCursorSize): Added documentation.
7426         (getMaximumCursorColors): Added documentation.
7427         (isFrameStateSupported): Added documentation.
7428
7429 2003-03-24  Michael Koch  <konqueror@gmx.de>
7430
7431         * java/io/RandomAccessFile.java:
7432         More little merges with classpath. No code changes.
7433
7434 2003-03-24  Michael Koch  <konqueror@gmx.de>
7435
7436         * java/net/natInetAddressNoNet.cc:
7437         Include stddef.h.
7438         * java/net/natPlainDatagramSocketImplNoNet.cc:
7439         Fixed inlcude of java/net/DatagramPacket.h.
7440         * java/net/natPlainSocketImplNoNet.cc:
7441         Include some missing classes.
7442
7443 2003-03-24  Michael Koch  <konqueror@gmx.de>
7444
7445         * java/awt/dnd/DropTarget.java
7446         (DropTargetAutoScroller): According to the online documentation, this
7447         is protected, but in reality it is public.
7448         * java/awt/dnd/DropTargetContext.java
7449         (TransferableProxy): According to the online documentation, this
7450         is protected, but in reality it is public.
7451
7452 2003-03-24  Michael Koch  <konqueror@gmx.de>
7453
7454         * java/io/DataInputStream.java
7455         (): Wrapped documentation line.
7456         (): Fixed @return tag.
7457         * java/io/DataOutputStream.java
7458         (written): Moved to top of class.
7459         (all methods): Merged documentation from classpath.
7460         * java/io/File.java:
7461         Merged copyright year with classpath.
7462         * java/io/FileInputStream.java
7463         (all methods): Merged documentation from classpath.
7464         * java/io/LineNumberReader.java
7465         (getLineNumber): Fixed @return tag.
7466         * java/io/ObjectInputStream.java.
7467         Reformatted.
7468         * java/io/ObjectOutputStream.java:
7469         Reformatted, fixed some @see tags.
7470         * java/io/OutputStreamWriter.java:
7471         Deleted empty line.
7472         * java/io/Writer.java:
7473         Reformatted.
7474
7475 2003-03-24  Michael Koch  <konqueror@gmx.de>
7476
7477         * java/awt/Frame.java
7478         (DEFAULT_CURSOR): Fixed @deprecated tag.
7479         (setCursor): Fixed @deprecated tag.
7480
7481 2003-03-24  Michael Koch  <konqueror@gmx.de>
7482
7483         * java/beans/beancontext/BeanContextEvent.java:
7484         Reformated.
7485
7486 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7487
7488         * java/lang/natStringBuffer.cc (regionMatches): New function.
7489         * java/lang/String.java (count): Now package-private.
7490         * java/lang/StringBuffer.java: Merged with Classpath.
7491
7492 2003-03-23  Michael Koch  <konqueror@gmx.de>
7493
7494         * java/io/BufferedOutputStream.java:
7495         Reformated.
7496         * java/io/BufferedReader.java:
7497         Reformated.
7498         * java/io/ByteArrayOutputStream.java
7499         (size): Fixed @see tag.
7500         * java/io/CharArrayWriter.java
7501         (size): Fixed @see tag.
7502         * java/io/DataInput.java:
7503         Reformated.
7504         * java/io/DataOutput.java:
7505         Reformated.
7506         * java/io/DataOutputStream.java:
7507         Merged copyright years with classpath.
7508         * java/io/Externalizable.java:
7509         Reformated.
7510         * java/io/FileFilter.java:
7511         Reformated.
7512         * java/io/FileInputStream.java:
7513         Merged copyright years with classpath.
7514         * java/io/FileOutputStream.java:
7515         Merged copyright years with classpath.
7516         * java/io/FilePermission.java
7517         (FilePermission): Replaced @XXX with FIXME:.
7518         * java/io/FileWriter.java:
7519         Reformated.
7520         * java/io/FilenameFilter.java:
7521         Reformated.
7522         * java/io/FilterInputStream.java:
7523         Reformated.
7524         * java/io/FilterOutputStream.java:
7525         Reformated.
7526         * java/io/FilterReader.java:
7527         Reformated.
7528         * java/io/FilterWriter.java:
7529         Reformated.
7530         * java/io/LineNumberInputStream.java
7531         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7532         happy.
7533         (getLineNumber): Fixed @return tag.
7534         * java/io/ObjectInput.java:
7535         Reformated.
7536         * java/io/ObjectOutput.java:
7537         Reformated.
7538         * java/io/ObjectStreamClass.java:
7539         Reformated.
7540         * java/io/PrintStream.java:
7541         Merged copyright years with classpath.
7542         * java/io/PushbackReader.java
7543         (PushbackReader): Replaced @code with @param.
7544         * java/io/SerializablePermission.java:
7545         Reformated.
7546         * java/io/StreamTokenizer.java
7547         (resetSyntax): Fixed @see tag.
7548
7549 2003-03-22  Richard Henderson  <rth@redhat.com>
7550
7551         * sysdep/ia64/locks.h: Include ia64intrin.h.
7552         (compare_and_swap): Use __sync_bool_compare_and_swap.
7553         (compare_and_swap_release): Expose ar.ccv assignment.
7554
7555 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7556
7557         * include/posix.h: Add suffix for darwin dynamic libraries.
7558
7559 2003-03-21  Michael Koch  <konqueror@gmx.de>
7560
7561         * javax/swing/Action.java
7562         (ACCELERATOR_KEY): New constant.
7563         (ACTION_COMMAND_KEY): Likewise.
7564         (MNEMONIC_KEY): Likewise.
7565         * javax/swing/UnsupportedLookAndFeelException.java
7566         (UnsupportedLookAndFeelException): Must be public.
7567         * javax/swing/WindowConstants.java
7568         (EXIT_ON_CLOSE): New constant.
7569         * javax/swing/text/BadLocationException.java
7570         (offset): New member variable.
7571         (BadLocationException): New implementation, documentation added.
7572         (offsetRequested): New method.
7573         * javax/swing/text/Caret.java:
7574         Reformated.
7575         * javax/swing/text/Document.java:
7576         Reformated.
7577
7578 2003-03-21  Michael Koch  <konqueror@gmx.de>
7579
7580         * java/rmi/activation/Activatable.java
7581         (serialVersionUID): New member variable.
7582         * java/rmi/activation/ActivationGroup.java
7583         (serialVersionUID): New member variable.
7584         * java/rmi/activation/ActivationGroupDesc.java
7585         (serialVersionUID): New member variable.
7586         * java/rmi/registry/Registry.java:
7587         Reformated.
7588         (Registry): Deprecated.
7589         * java/rmi/server/LoaderHandler.java
7590         Reformated.
7591         (LoaderHandler): Deprecated.
7592         * java/rmi/server/LogStream.java
7593         Reformated.
7594         (LogStream): Deprecated.
7595         * java/rmi/server/Operation.java
7596         (Operation): Deprecated.
7597         * java/rmi/server/RMIFailureHandler.java:
7598         Reformated.
7599         * java/rmi/server/RMISocketFactory.java:
7600         Reformated.
7601         * java/rmi/server/RemoteCall.java
7602         (RemoteCall): Deprecated.
7603         * java/rmi/server/RemoteStub.java:
7604         Reformated.
7605         * java/rmi/server/Skeleton.java
7606         Reformated.
7607         (Skeleton): Deprecated.
7608
7609 2003-03-21  Michael Koch  <konqueror@gmx.de>
7610
7611         * java/io/LineNumberReader.java
7612         (LineNumberReader): Merged documentation with classpath.
7613         (getLineNumber): Likewise.
7614         (setLineNumber): Likewise.
7615         (mark): Likewise.
7616         (reset): Likewise.
7617         (read): Likewise.
7618         (readLine): Likewise.
7619         (skip): Likewise.
7620
7621 2003-03-21  Michael Koch  <konqueror@gmx.de>
7622
7623         * java/rmi/RMISecurityManager.java
7624         (checkAccept): Removed.
7625         (checkAccess): Likewise.
7626         (checkAccess): Likewise.
7627         (checkAwtEventQueueAccess): Likewise.
7628         (checkConnect): Likewise.
7629         (checkCreateClassLoader): Likewise.
7630         (checkDelete): Likewise.
7631         (checkExec): Likewise.
7632         (checkExit): Likewise.
7633         (checkLink): Likewise.
7634         (checkListen): Likewise.
7635         (checkMemberAccess): Likewise.
7636         (checkMulticast): Likewise.
7637         (checkPackageAccess): Likewise.
7638         (checkPackageDefinition): Likewise.
7639         (checkPermission): Likewise.
7640         (checkPrintJobAccess): Likewise.
7641         (checkPropertiesAccess): Likewise.
7642         (checkPropertyAccess): Likewise.
7643         (checkRead): Likewise.
7644         (checkSecurityAccess): Likewise.
7645         (checkSetFactory): Likewise.
7646         (checkSystemClipboardAccess): Likewise.
7647         (checkTopLevelWindow): Likewise.
7648         (checkWrite): Likewise.
7649
7650 2003-03-20  Michael Koch  <konqueror@gmx.de>
7651
7652         * gnu/java/nio/FileChannelImpl.java
7653         (address): Removed.
7654         (map_address): New member variable.
7655         (length): Make it package private.
7656         (fd): Make it package private.
7657         (buf): Make it package private.
7658         (file_obj): Make it package private.
7659         (FileChannelImpl): New constructor.
7660         (nio_mmap_file): Use RawData instead of long.
7661         (nio_munmap_file): Use RawData instead of long.
7662         (nio_msync): Use RawData instead of long.
7663         (implCloseChannel): New implementation using map_address.
7664         (read): Reformated.
7665         (map): Implemented.
7666         (create_direct_mapped_buffer): Implemented, use RawData, throws
7667         IOException.
7668         (force): Use map_address instead of address.
7669         * gnu/java/nio/MappedByteFileBuffer.java
7670         (address): Removed.
7671         (map_address): New member variable.
7672         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7673         (several methods): Use map_address instead of address, replaced long
7674         with RawData where appropriate.
7675         * gnu/java/nio/natFileChannelImpl.cc
7676         (nio_mmap_file): Replaced long with RawData.
7677         (nio_munmap_file): Replaced long with RawData.
7678         (nio_msync): Replaced long with RawData.
7679         * gnu/java/nio/natMappedByteFileBuffer.cc
7680         (several methods): Replaced long with RawData where appropriate.
7681
7682 2003-03-20  Michael Koch  <konqueror@gmx.de>
7683
7684         * java/net/InetAddress.java,
7685         java/net/JarURLConnection.java,
7686         java/net/PlainDatagramSocketImpl.java,
7687         java/net/PlainSocketImpl.java,
7688         java/net/URLConnection.java:
7689         Merged copyright statements with classpath for easier merging.
7690
7691 2003-03-20  Michael Koch  <konqueror@gmx.de>
7692
7693         * java/io/FileInputStream.java
7694         (getChannel): New implementation.
7695         * java/io/FileOutputStream.java
7696         (ch): New member variable.
7697         (getChannel): Implemented.
7698         * java/io/RandomAccessFile.java
7699         (RandomAccessFile): Throws FileNotFoundException instead of
7700         IOException.
7701         (getChannel): New method.
7702         (ch): New member variable.
7703
7704 2003-03-20  Michael Koch  <konqueror@gmx.de>
7705
7706         * java/io/DataOutputStream.java,
7707         java/io/File.java,
7708         java/io/FileInputStream.java,
7709         java/io/FileOutputStream.java,
7710         java/io/InputStreamReader.java,
7711         java/io/LineNumberReader.java,
7712         java/io/OutputStreamWriter.java,
7713         java/io/PrintStream.java,
7714         java/io/RandomAccessFile.java:
7715         Merged copyright statements with classpath for easier merging.
7716
7717 2003-03-19  Michael Koch  <konqueror@gmx.de>
7718
7719         * java/lang/Process.java:
7720         Merged from classpath.
7721
7722 2003-03-19  Michael Koch  <konqueror@gmx.de>
7723
7724         * java/io/FileOutputStream.java
7725         (FileOutputStream): New constructor, merged from classpath.
7726         * java/io/FileWriter.java
7727         (FileWriter): New constructor, merged from classpath.
7728
7729 2003-03-18  Michael Koch  <konqueror@gmx.de>
7730
7731         * java/awt/ScrollPane.java
7732         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7733         (getViewportSize): Likewise.
7734         (addNotify): Likewise.
7735         (removeNotify): Likewise.
7736         * java/awt/ScrollPaneAdjustable.java
7737         (ScrollPaneAdjustable): No longer extends Scrollbar.
7738         * java/beans/beancontext/BeanContextServices.java:
7739         Reformated.
7740         (getService): Added throws TooManyListenersException;
7741         * java/beans/beancontext/BeanContextServicesSupport.java:
7742         Reformated.
7743
7744 2003-03-18  Michael Koch  <konqueror@gmx.de>
7745
7746         * java/io/BufferedOutputStream.java,
7747         java/io/DataInput.java,
7748         java/io/DataInputStream.java,
7749         java/io/DataOutput.java,
7750         java/io/Externalizable.java:
7751         More merges from classpath.
7752
7753 2003-03-18  Michael Koch  <konqueror@gmx.de>
7754
7755         * configure.in: Fixed links to platform dependant java.net files.
7756         * configure: Regenerated.
7757         * java/net/natInetAddress.cc,
7758         java/net/natNetworkInterface.cc,
7759         java/net/natPlainDatagramSocketImpl.cc,
7760         java/net/natPlainSocketImpl.cc:
7761         Removed.
7762
7763 2003-03-18  Michael Koch  <konqueror@gmx.de>
7764
7765         * configure.in: Create links to architecture dependent files,
7766         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7767         * configure: Regenerated.
7768         * java/net/natInetAddressNoNet.cc,
7769         java/net/natInetAddressPosix.cc,
7770         java/net/natInetAddressWin32.cc,
7771         java/net/natNetworkInterfaceNoNet.cc,
7772         java/net/natNetworkInterfacePosix.cc,
7773         java/net/natNetworkInterfaceWin32.cc,
7774         java/net/natPlainDatagramSocketImplNoNet.cc,
7775         java/net/natPlainDatagramSocketImplPosix.cc,
7776         java/net/natPlainDatagramSocketImplWin32.cc,
7777         java/net/natPlainSocketImplNoNet.cc,
7778         java/net/natPlainSocketImplPosix.cc,
7779         java/net/natPlainSocketImplWin32.cc: New files.
7780
7781 2003-03-18  Michael Koch  <konqueror@gmx.de>
7782
7783         * java/io/BufferedReader.java,
7784         java/io/BufferedWriter.java,
7785         java/io/ByteArrayOutputStream.java,
7786         java/io/FileFilter.java,
7787         java/io/FilePermission.java,
7788         java/io/FileReader.java,
7789         java/io/FileWriter.java,
7790         java/io/FilenameFilter.java,
7791         java/io/FilterInputStream.java,
7792         java/io/FilterOutputStream.java,
7793         java/io/FilterReader.java,
7794         java/io/FilterWriter.java,
7795         java/io/ObjectInput.java,
7796         java/io/ObjectInputValidation.java,
7797         java/io/ObjectOutput.java,
7798         java/io/ObjectStreamField.java,
7799         java/io/PipedInputStream.java,
7800         java/io/PipedReader.java,
7801         java/io/PrintWriter.java,
7802         java/io/PushbackReader.java,
7803         java/io/Reader.java,
7804         java/io/SerializablePermission.java,
7805         java/io/StringReader.java,
7806         java/io/Writer.java:
7807         Merged from classpath.
7808
7809 2003-03-17  Michael Koch  <konqueror@gmx.de>
7810
7811         * java/awt/ScrollPaneAdjustable.java:
7812         Compile fixes.
7813         
7814 2003-03-17  Michael Koch  <konqueror@gmx.de>
7815
7816         * java/net/DatagramSocket.java
7817         (connect): Fixed comment.
7818         * java/nio/ByteBuffer.java
7819         (hasArray): Fixed comment.
7820
7821 2003-03-17  Michael Koch  <konqueror@gmx.de>
7822
7823         * java/beans/Beans.java:
7824         Explicitely import classes not packages.
7825         * java/beans/FeatureDescriptor.java
7826         (preferred): New member variable.
7827         (isPreferred): New method.
7828         (setPreferred): New method.
7829         * java/beans/PropertyEditorManager.java:
7830         Explicitely import used classes.
7831         * java/beans/beancontext/BeanContextChild.java:
7832         Added line wrapping.
7833         * java/beans/beancontext/BeanContextChildSupport.java:
7834         Reindented.
7835         * java/beans/beancontext/BeanContextEvent.java:
7836         Reindented.
7837
7838 2003-03-17  Michael Koch  <konqueror@gmx.de>
7839
7840         * java/awt/Dialog.java
7841         (Dialog): New constructor, changed implementations, added
7842         documentation.
7843         * java/awt/ScrollPaneAdjustable.java
7844         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7845         Serializable.
7846         (serialVersionUID): New member variable.
7847         (sp): New member variable.
7848         (orientation): New member variable.
7849         (value): New member variable.
7850         (minimum): New member variable.
7851         (maximum): New member variable.
7852         (visibleAmount): New member variable.
7853         (unitIncrement): New member variable.
7854         (blockIncrement): New member variable.
7855         (AdjustmentListener): New member variable.
7856         (ScrollPaneAdjustable): New implementation.
7857         (addAdjustmentListener): New method.
7858         (removeAdjustmentListener): New method.
7859         (getAdjustmentListeners): New method.
7860         (getBlockIncrement): New method.
7861         (getMaximum): New method.
7862         (getMinimum): New method.
7863         (getOrientation): New method.
7864         (getUnitIncrement): New method.
7865         (getValue): New method.
7866         (getVisibleAmount): New method.
7867         (setBlockIncrement): New method.
7868         (setMaximum): Implemented.
7869         (setMinimum): Implemented.
7870         (setUnitIncrement): New method.
7871         (setValue): New method.
7872         (setVisibleAmount): Implemented. 
7873         (paramString): New stubbed method.
7874         * java/awt/Window.java
7875         (show): Call setVisible().
7876         (hide): Call setVisible().
7877         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7878         and WINDOW_STATE_CHANGED.
7879         (processWindowFocusEvent): New method.
7880         (processWindowStateEvent): New method.
7881         (postEvent): Deprecated.
7882         (applyResourceBundle): Deprecated.
7883         * java/awt/datatransfer/DataFlavor.java
7884         (DataFlavor): Doesn't thow ClassNotFoundException.
7885
7886 2003-03-17  Michael Koch
7887
7888         * javax/print/attribute/Attribute.java,
7889         javax/print/attribute/AttributeSet.java,
7890         javax/print/attribute/PrintRequestAttributeSet.java:
7891         New files.
7892         * Makefile.am
7893         (javax_source_files): Added new files:
7894         javax/print/attribute/Attribute.java
7895         javax/print/attribute/AttributeSet.java
7896         javax/print/attribute/PrintRequestAttributeSet.java
7897         * Makefile.in: Regenerated.
7898
7899 2003-03-17  Michael Koch
7900
7901         * javax/print/attribute/Attribute.java,
7902         javax/print/attribute/AttributeSet.java,
7903         javax/print/attribute/PrintRequestAttributeSet.java:
7904         New files.
7905         * Makefile.am
7906         (awt_java_source_files): Added new files:
7907         javax/print/attribute/Attribute.java
7908         javax/print/attribute/AttributeSet.java
7909         javax/print/attribute/PrintRequestAttributeSet.java
7910         * Makefile.in: Regenerated.
7911
7912 2003-03-16  Tom Tromey  <tromey@redhat.com>
7913
7914         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7915         Include platform.h.
7916         * java/lang/natRuntime.cc (insertSystemProperties): Use
7917         _Jv_platform_path_separator.
7918         (nativeGetLibname): Use _Jv_platform_file_separator.
7919         (_load): Use _Jv_platform_onload_names.
7920         (onload_names): New global.
7921         * include/win32.h (_Jv_platform_file_separator): New define.
7922         (_Jv_platform_path_separator): Likewise.
7923         (_Jv_platform_onload_names): Likewise.
7924         (_Jv_platform_ffi_abi): Likewise.
7925         * include/posix.h (_Jv_platform_file_separator): New define.
7926         (_Jv_platform_path_separator): Likewise.
7927         (_Jv_platform_onload_names): Likewise.
7928         (_Jv_platform_ffi_abi): Likewise.
7929
7930 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7931
7932         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7933
7934 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7935
7936         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7937         hierarchy loop.
7938         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7939         list to Object,ObjectStreamClass, moved callReadMethod code up into
7940         readObject and added Class argument to all setXxxField calls.
7941         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7942         consistent with ObjectOutputStream and to facilitate caching the
7943         Method in the future.
7944         (setBooleanField): Added Class argument.
7945         (setByteField): Likewise.
7946         (setCharField): Likewise.
7947         (setDoubleField): Likewise.
7948         (setFloatField): Likewise.
7949         (setIntField): Likewise.
7950         (setLongField): Likewise.
7951         (setShortField): Likewise.
7952         (setObjectField): Likewise.
7953         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7954         class hierarchy loop.
7955         (defaultWriteObject): Call writeFields with new argument list.
7956         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7957         list to Object,ObjectStreamClass, moved callWriteMethod up into
7958         writeObject and added Class argument to all getXxxField calls.
7959         (callWriteMethod): Added ObjectStreamClass argument to be able to
7960         get the proper class to call getMethod on (each class can have (or
7961         not have) its own writeObject method).
7962         (getBooleanField): Added Class argument.
7963         (getByteField): Likewise.
7964         (getCharField): Likewise.
7965         (getDoubleField): Likewise.
7966         (getFloatField): Likewise.
7967         (getIntField): Likewise.
7968         (getLongField): Likewise.
7969         (getShortField): Likewise.
7970         (getObjectField): Likewise.
7971         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7972         facilitate caching the Method object in the future.
7973
7974 2003-03-12  Andreas Schwab  <schwab@suse.de>
7975
7976         * configure.in: Avoid trailing /. in toolexeclibdir.
7977         * configure: Rebuilt.
7978
7979 2003-03-11  Michael Koch  <konqueror@gmx.de>
7980
7981         * gnu/java/nio/ByteBufferImpl.java
7982         (putInt): Use limit() instead of limit.
7983         * gnu/java/nio/CharBufferImpl.java
7984         (slice): Fixed implementation.
7985         (subSequence): Better bounds checking.
7986         * gnu/java/nio/MappedByteFileBuffer.java:
7987         Import all needed classes directly.
7988         * java/nio/ByteBuffer.java
7989         (hashCode): New dummy method.
7990         * java/nio/CharBuffer.java
7991         (array_offset): New member variable.
7992         (hasArray): Fixed documentation.
7993         (arrayOffset): Return array_offset.
7994
7995 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
7996
7997         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7998         setter; made return value of getter const char* instead of char*
7999         * prims.cc: removed all references to _Jv_ThisExecutable().
8000         These are in the platform-specific sections now.
8001         * posix.cc: define platform-specific _Jv_ThisExecutable().
8002         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8003         * win32.cc: define platform-specific _Jv_ThisExecutable()
8004         using GetModuleFilename()
8005         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8006         to argv[0] instead of _Jv_ThisExecutable()
8007
8008 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8009
8010         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8011         that is set if we are using addr2name.awk instead of addr2line.
8012         (NameFinder): Set usingAddr2name if using addr2name.awk.
8013         (getExternalLabel): New native method to convert a method 
8014         name to an external label.
8015         (lookup): Convert name given by addr2line to an external label
8016         before demangling.
8017
8018         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8019         constant representing the prefix attached to method names to
8020         convert them to an external label.
8021         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8022         using LABEL_PREFIX.
8023
8024 2003-03-10  Tom Tromey  <tromey@redhat.com>
8025
8026         * Makefile.in: Rebuilt.
8027         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8028         (JC1FLAGS): Removed -Wno-deprecated.
8029
8030 2003-03-10  Michael Koch  <konqueror@gmx.de>
8031
8032         * java/nio/ByteOrder.java
8033         (nativeOrder): Working implementation, added documentation.
8034         (toString): Added documentation.
8035
8036 2003-03-10  Michael Koch  <konqueror@gmx.de>
8037
8038         * java/net/DatagramSocket.java,
8039         java/net/MulticastSocket.java,
8040         java/net/Socket.java,
8041         java/net/URL.java,
8042         java/net/URLConnection.java:
8043         Fixed some documentation tags to make javadoc and friends happy.
8044
8045 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8046
8047         * java/beans/beancontext/BeanContextServicesSupport.java,
8048         java/beans/beancontext/BeanContextSupport.java: New files.
8049         * Makefile.am
8050         (awt_source_files): Added new files.
8051         * Makefile.in: Regenerated.
8052
8053 2003-03-10  Michael Koch  <konqueror@gmx.de>
8054
8055         * java/awt/FocusTraversalPolicy.java
8056         (FocusTraversalPolicy): Documentation added.
8057         (getComponentAfter): Documentation added.
8058         (getComponentBefore): Documentation added.
8059         (getFirstComponent): Documentation added.
8060         (getLastComponent): Documentation added.
8061         (getDefaultComponent): Documentation added.
8062         (getInitialComponent): Documentation added.
8063         * java/awt/ScrollPaneAdjustable.java
8064         (sp): New member variable.
8065         (orientation): New member variable.
8066         (value): New member variable.
8067         (minimum): New member variable.
8068         (maximum): New member variable.
8069         (visibleAmount): New member variable.
8070         (unitIncrement): New member variable.
8071         (blockIncrement): New member variable.
8072         (adjustmentListener): New member variable.
8073         (ScrollPaneAdjustable): Rewrote.
8074         (addAdjustmentListener): New method.
8075         (removeAdjustmentListener): New method.
8076         (getAdjustmentListeners): New method.
8077         (getBlockIncrement): New method.
8078         (getMaximum): New method.
8079         (getMinimum): New method.
8080         (getOrientation): New method.
8081         (getUnitIncrement): New method.
8082         (getValue): New method.
8083         (getVisibleAmount): New method.
8084         (setBlockIncrement): New method.
8085         (setUnitIncrement): New method.
8086         (setMaximum): Implemented.
8087         (setMinimum): Implemented.
8088         (setValue): New method.
8089         (setVisibleAmount): Implemented.
8090         (paramString): New method.
8091         * java/awt/Window.java
8092         (show): Use setVisible(true) instead of super.show().
8093         (hide): Use sevVisible(false) instead of super.hide().
8094         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8095         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8096         (postEvent): Deprecated.
8097         (applyResourceBundle): Deprecated.
8098         (processWindowFocusEvent): New method.
8099         (processWindowStateEvent): New method.
8100         * java/awt/datatransfer/DataFlavor.java: Reindented.
8101         * java/awt/font/TextHitInfo.java
8102         (charIndex): New member variable.
8103         (leadingEdge): New member variable.
8104         (TextHitInfo): New constructor.
8105         (getCharIndex): Implemented.
8106         (isLeadingEdge): Implemented.
8107         (getInsertionIndex): Implemented.
8108         (hashCode): Access charIndex directly.
8109         (equals): Reformated.
8110         (leading): Implemented.
8111         (trailing): Implemented.
8112         (beforeOffset): Implemented.
8113         (afterOffset): Implemented.
8114         (getOtherHit): Implemented.
8115         (getOffsetHit): Implemented.
8116         (toString): Implemented.
8117         * java/awt/image/BufferedImage.java
8118         (BufferedImage): Implements WritableRenderedImage.
8119         (observers): New member variable.
8120         (addTileObserver): New method.
8121         (removeTileObserver): New method.
8122
8123 2003-03-09  Tom Tromey  <tromey@redhat.com>
8124
8125         PR libgcj/9934:
8126         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8127         to lseek.  Return 0 if we can't compute the value.
8128
8129 2003-03-03  Michael Koch  <konqueror@gmx.de>
8130
8131         * java/net/NetworkInterface.java: Merged with classpath.
8132
8133 2003-03-03  Tom Tromey  <tromey@redhat.com>
8134
8135         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8136         of bytecode.
8137         (handle_ret_insn): Fail if returning to jsr that appears at end of
8138         bytecode.
8139
8140 2003-03-03  Michael Koch  <konqueror@gmx.de>
8141
8142         * Makefile.am
8143         (ordinary_java_source_files):
8144         Added gnu/java/nio/MappedByteFileBuffer.java.
8145         (nat_source_files):
8146         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8147         * Makefile.in: Regenerated.
8148
8149 2003-03-03  Michael Koch  <konqueror@gmx.de>
8150
8151         * java/net/DatagramSocket.java
8152         (connect): Merged comment from classpath.
8153         (receive): Merged documentation from classpath.
8154         * java/net/Socket.java
8155         (setSoTimeout): Clarified documentation.
8156         * java/net/URL.java
8157         (getPath): Merged from classpath.
8158         (getUserInfo): Merged from classpath.
8159         (getQuery): Merged from classpath.
8160         * java/net/URLStreamHandler.java
8161         (toExternalForm): Merged from classpath.
8162
8163 2003-03-02  Mark Wielaard  <mark@klomp.org>
8164
8165         * java/util/Properties.java (load): Only skip line if the first
8166         character is a comment, whitespaces don't count.
8167
8168 2003-03-02  Michael Koch  <konqueror@gmx.de>
8169
8170         * java/net/NetPermission.java:
8171         Merged copyright with classpath.
8172
8173 2003-03-02  Michael Koch  <konqueror@gmx.de>
8174
8175         * java/lang/Package.java:
8176         Remerged from classpath.
8177
8178 2003-03-02  Michael Koch  <konqueror@gmx.de>
8179
8180         * java/net/HttpURLConnection.java
8181         (HTTP_SERVER_ERROR): Deprecated.
8182         * java/net/MulticastSocket.java
8183         (send): Replaced checkMulticast with appropriate checkPermission call,
8184         deprecated.
8185         * java/net/URLDecoder.java
8186         (decode): Deprecated.
8187         * java/net/URLEncoder.java
8188         (encode): Deprecated.
8189
8190 2003-03-02  Michael Koch  <konqueror@gmx.de>
8191
8192         * javax/swing/text/Caret.java
8193         (getMagicCaretPosition): Fixed typo in method name.
8194         * javax/swing/text/DefaultCaret.java
8195         (getMagicCaretPosition): Fixed typo in method name.
8196
8197 2003-03-02  Michael Koch  <konqueror@gmx.de>
8198
8199         * java/awt/List.java
8200         (setMultipleSelections): Deprecated.
8201         (delItem): Deprecated.
8202         * java/awt/MenuComponent.java
8203         (getPeer): Deprecated.
8204         * java/awt/ScrollPane.java
8205         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8206         * java/awt/dnd/MouseDragGestureRecognizer.java
8207         (mouseClicked): Added comment.
8208         (mousePressed): Added comment.
8209         (mouseReleased): Added comment.
8210         (mouseEntered): Added comment.
8211         (mouseExited): Added comment.
8212         (mouseDragged): Added comment.
8213         (mouseMoved): Added comment.
8214         * java/awt/event/KeyEvent.java
8215         (KeyEvent): Deprecated.
8216         (setModifiers): Deprecated.
8217         
8218 2003-03-02  Michael Koch  <konqueror@gmx.de>
8219
8220         * gnu/java/nio/FileChannelImpl.java
8221         (fd): Type FileDescriptor instead of int.
8222         (lengthInternal): Removed.
8223         (FileChannelImpl): Fixed arguments, check type of file object.
8224         (size): Made it native.
8225         (implPosition): New native method.
8226         (implTruncate): New native method.
8227         (position): Implemented.
8228         (truncate): Implemented.
8229         (nio_mmap_file): Changed arguments.
8230         (nio_munmap_file): Changed arguments.
8231         (nio_msync): Changed arguments.
8232         * gnu/java/nio/natFileChannelImpl.cc
8233         (lengthInternal): Removed.
8234         (size): New method.
8235         (implPosition): New method.
8236         (implTruncate): New method.
8237         (nio_mmap_file): Changed arguments.
8238         (nio_munmap_file): Changed arguments.
8239         (nio_msync): Changed arguments.
8240
8241 2003-03-02  Michael Koch  <konqueror@gmx.de>
8242
8243         * java/awt/dnd/DropTargetContext.java:
8244         Compile fix: Forgot to commit import.
8245         
8246 2003-03-02  Michael Koch  <konqueror@gmx.de>
8247
8248         * java/awt/Component.java,
8249         java/awt/ScrollPane.java:
8250         Fixed typos.
8251
8252 2003-03-02  Michael Koch  <konqueror@gmx.de>
8253
8254         * java/awt/dnd/DnDEventMulticaster.java: New file.
8255         * java/awt/dnd/DragSource.java
8256         (flavorMap): New member variable.
8257         (dragSourceListener): New member variable.
8258         (dragSourceMotionListener): New member variable.
8259         (getFlavorMap): Implemented.
8260         (createDragGestureRecognizer): Implemented.
8261         (addDragSourceListener): Implemented.
8262         (removeDragSourceListener): Implemented.
8263         (getDragSourceListeners): Implemented.
8264         (addDragSourceMotionListener): Implemented.
8265         (removeDragSourceMotionListener): Implemented.
8266         (getDragSourceMotionListeners): Implemented.
8267         (getListeners): Implemented.
8268         * java/awt/dnd/DragSourceContext.java
8269         (peer): New member variable.
8270         (cursor): New member variable.
8271         (transferable): New member variable.
8272         (trigger): New member variable.
8273         (dragSourceListener): New member variable.
8274         (image): New member variable.
8275         (offset): New member variable.
8276         (DragSourceContext): Implemented.
8277         (getDragSource): Implemented.
8278         (getComponent): Implemented.
8279         (getTrigger): Implemented.
8280         (getSourceActions): Implemented.
8281         (setCursor): Implemented.
8282         (getCursor): Implemented.
8283         (addDragSourceListener): Implemented.
8284         (removeDragSourceListener): Implemented.
8285         (getTransferable): Implemented.
8286         * java/awt/dnd/DropTarget.java
8287         (DropTargetAutoScroller.component): New member variable.
8288         (DropTargetAutoScroller.point): New member variable.
8289         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8290         (DropTargetAutoScroller.updateLocation): Implemented.
8291         (active): Renamed from isActive, defaults to true now.
8292         (component): New member variable.
8293         (flavorMap): New member variable.
8294         (actions): New member variable.
8295         (dropTargetContext): New member variable.
8296         (dropTargetListener): New member variable.
8297         (DropTarget): Implemented.
8298         (getComponent): Implemented.
8299         (setComponent): Implemented.
8300         (setDefaultActions): Implemented.
8301         (getDefaultActions): Implemented.
8302         (setActive): Use active instead of isActive.
8303         (isActive): Use active instead of isActive.
8304         (addDropTargetListener): Implemented.
8305         (removeDropTargetListener): Implemented.
8306         (getFlavorMap): Implemented.
8307         (setFlavorMap): Implemented.
8308         (getDropTargetContext): Implemented.
8309         (createDropTargetContext): Implemented.
8310         (createDropTargetAutoScroller): Implemented.
8311         * java/awt/dnd/DropTargetContext.java
8312         (TransferableProxy.getTransferDataFlavors): Implemented.
8313         (TransferableProxy.isDataFlavorSupported): Implemented.
8314         (TransferableProxy.getTransferData): Implemented.
8315         (dropTarget):  New member variable.
8316         (dtcp): New member variable.
8317         (DropTargetContext): New package private constructor.
8318         (getDropTarget): Implemented.
8319         (getComponent): Implemented.
8320         (addNotify): Implemented.
8321         (removeNotify): Implemented.
8322         (getCurrentDataFlavorsAsList): Implemented.
8323         (isDataFlavorSupported): Implemented.
8324         * java/awt/dnd/MouseDragGestureRecognizer.java
8325         (registerListeners): Implemented.
8326         (unregisterListeners): Implemented.
8327         * Makefile.am
8328         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8329         * Makefile.in: Regenerated.
8330
8331 2003-03-02  Michael Koch  <konqueror@gmx.de>
8332
8333         * java/awt/Component.java
8334         (eventTypeEnabled): New method.
8335         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8336         * java/awt/Container.java
8337         (changeSupport): New member variable.
8338         (addPropertyChangeListener): New methods.
8339         * java/awt/ContainerOrderFocusTraversalPolicy.java
8340         (ContainerOrderFocusTraversalPolicy): Added comment.
8341         (getComponentAfter): Throw exception, documentation added.
8342         (getComponentBefore): Throw exception, documentation added.
8343         (getFirstComponent): Throw exception, documentation added.
8344         (getLastComponent): Throw exception, documentation added.
8345         (getDefaultComponent): Throw exception, documentation added.
8346         * java/awt/EventQueue.java: Reindented.
8347         * java/awt/FocusTraversalPolicy.java:
8348         (FocusTraversalPolicy): Added comment.
8349         (getComponentAfter): Documentation added.
8350         (getComponentBefore): Documentation added.
8351         (getFirstComponent): Documentation added.
8352         (getLastComponent): Documentation added.
8353         (getDefaultComponent): Documentation added.
8354         (getInitialComponent): Documentation added.
8355         * java/awt/ScrollPane.java
8356         (wheelScrollingEnabled): New member variable.
8357         (ScrollPane): Initialize wheelScollingEnabled.
8358         (eventTypeEnabled): New method.
8359         (isWheelScrollingEnabled): New method.
8360         (setWheelScrollingEnabled): New method.
8361
8362 2003-03-02  Michael Koch  <konqueror@gmx.de>
8363
8364         * java/net/DatagramSocket.java
8365         (closed): New member variable.
8366         (close): Use closed variable.
8367         (getInetAddress): No need to call isConnected().
8368         (getPort): No need to call isConnected().
8369         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8370         (isClosed): Reimplemented.
8371         
8372 2003-03-02  Michael Koch  <konqueror@gmx.de>
8373
8374         * configure.in: Added check for memory mapping of files.
8375         * configure: Regenerated.
8376         * config.h.in: Regenerated.
8377
8378 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8379
8380         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8381         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8382
8383 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8384
8385         * java/io/File.java (normalizePath): Remove trailing separator
8386         on Windows only if path is not of the form "x:\".
8387
8388         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8389         (java::io::File::attr): Change formatting a bit and use
8390         WIN32_EPOCH_MILLIS instead of magic numbers.
8391         (java::io::File::isAbsolute): Path must have at least 3 
8392         characters for a UNC network path.
8393         (java::io::File::init_native): Define.
8394         (java::io::File::performCreate): Likewise.
8395         (java::io::File::performSetReadOnly): Likewise.
8396         (java::io::File::performSetLastModified): Likewise.
8397         (java::io::File::performListRoots): Likewise.
8398
8399 2003-03-01  Tom Tromey  <tromey@redhat.com>
8400
8401         * java/lang/natObject.cc: Don't include assert.h.
8402         (heavy_lock_obj_finalization_proc): Use JvAssert.
8403         (remove_all_heavy): Likewise.
8404         (_Jv_MonitorEnter): Likewise.
8405         (_Jv_MonitorExit): Likewise.
8406         (wait): Likewise.
8407
8408 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8409
8410         * java/io/File (getAbsolutePath): Prefix drive specifier on
8411         Windows for paths starting with a '\'.
8412         (toURL): Make URL more consistent with what Sun's JDK returns.
8413
8414         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8415         true only if the path is a UNC network path or it starts with a
8416         drive specifier.
8417
8418         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8419         Be prepared to handle either '/' or '\\' in the file path for
8420         Windows if using the "file" protocol.
8421         Canonicalise the file path if using a relative path in the given
8422         context and the "file" protocol.
8423
8424 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8425
8426         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8427         program array element passed to CreateProcess.
8428
8429 2003-03-01  Tom Tromey  <tromey@redhat.com>
8430
8431         * java/rmi/registry/RegistryHandler.java: Deprecate.
8432
8433 2003-03-01  Tom Tromey  <tromey@redhat.com>
8434
8435         * javax/accessibility/AccessibleEditableText.java,
8436         javax/accessibility/AccessibleHyperlink.java: New versions from
8437         Classpath.
8438
8439         * gnu/java/locale/LocaleInformation_af_ZA.java,
8440         gnu/java/locale/LocaleInformation_ar_AE.java,
8441         gnu/java/locale/LocaleInformation_ar_BH.java,
8442         gnu/java/locale/LocaleInformation_ar_DZ.java,
8443         gnu/java/locale/LocaleInformation_ar_EG.java,
8444         gnu/java/locale/LocaleInformation_ar_IN.java,
8445         gnu/java/locale/LocaleInformation_ar_IQ.java,
8446         gnu/java/locale/LocaleInformation_ar_JO.java,
8447         gnu/java/locale/LocaleInformation_ar_KW.java,
8448         gnu/java/locale/LocaleInformation_ar_LB.java,
8449         gnu/java/locale/LocaleInformation_ar_LY.java,
8450         gnu/java/locale/LocaleInformation_ar_MA.java,
8451         gnu/java/locale/LocaleInformation_ar_OM.java,
8452         gnu/java/locale/LocaleInformation_ar_QA.java,
8453         gnu/java/locale/LocaleInformation_ar_SD.java,
8454         gnu/java/locale/LocaleInformation_ar_SY.java,
8455         gnu/java/locale/LocaleInformation_ar_TN.java,
8456         gnu/java/locale/LocaleInformation_ar_YE.java,
8457         gnu/java/locale/LocaleInformation_be_BY.java,
8458         gnu/java/locale/LocaleInformation_bn_IN.java,
8459         gnu/java/locale/LocaleInformation_br_FR.java,
8460         gnu/java/locale/LocaleInformation_bs_BA.java,
8461         gnu/java/locale/LocaleInformation_ca_ES.java,
8462         gnu/java/locale/LocaleInformation_cs_CZ.java,
8463         gnu/java/locale/LocaleInformation_cy_GB.java,
8464         gnu/java/locale/LocaleInformation_da_DK.java,
8465         gnu/java/locale/LocaleInformation_de_AT.java,
8466         gnu/java/locale/LocaleInformation_de_BE.java,
8467         gnu/java/locale/LocaleInformation_de_CH.java,
8468         gnu/java/locale/LocaleInformation_de_DE.java,
8469         gnu/java/locale/LocaleInformation_de_LU.java,
8470         gnu/java/locale/LocaleInformation_el_GR.java,
8471         gnu/java/locale/LocaleInformation_en_AU.java,
8472         gnu/java/locale/LocaleInformation_en_BW.java,
8473         gnu/java/locale/LocaleInformation_en_CA.java,
8474         gnu/java/locale/LocaleInformation_en_DK.java,
8475         gnu/java/locale/LocaleInformation_en_GB.java,
8476         gnu/java/locale/LocaleInformation_en_HK.java,
8477         gnu/java/locale/LocaleInformation_en_IE.java,
8478         gnu/java/locale/LocaleInformation_en_IN.java,
8479         gnu/java/locale/LocaleInformation_en_NZ.java,
8480         gnu/java/locale/LocaleInformation_en_PH.java,
8481         gnu/java/locale/LocaleInformation_en_SG.java,
8482         gnu/java/locale/LocaleInformation_en_US.java,
8483         gnu/java/locale/LocaleInformation_en_ZA.java,
8484         gnu/java/locale/LocaleInformation_en_ZW.java,
8485         gnu/java/locale/LocaleInformation_es_AR.java,
8486         gnu/java/locale/LocaleInformation_es_BO.java,
8487         gnu/java/locale/LocaleInformation_es_CL.java,
8488         gnu/java/locale/LocaleInformation_es_CO.java,
8489         gnu/java/locale/LocaleInformation_es_CR.java,
8490         gnu/java/locale/LocaleInformation_es_DO.java,
8491         gnu/java/locale/LocaleInformation_es_EC.java,
8492         gnu/java/locale/LocaleInformation_es_ES.java,
8493         gnu/java/locale/LocaleInformation_es_GT.java,
8494         gnu/java/locale/LocaleInformation_es_HN.java,
8495         gnu/java/locale/LocaleInformation_es_MX.java,
8496         gnu/java/locale/LocaleInformation_es_NI.java,
8497         gnu/java/locale/LocaleInformation_es_PA.java,
8498         gnu/java/locale/LocaleInformation_es_PE.java,
8499         gnu/java/locale/LocaleInformation_es_PR.java,
8500         gnu/java/locale/LocaleInformation_es_PY.java,
8501         gnu/java/locale/LocaleInformation_es_SV.java,
8502         gnu/java/locale/LocaleInformation_es_US.java,
8503         gnu/java/locale/LocaleInformation_es_UY.java,
8504         gnu/java/locale/LocaleInformation_es_VE.java,
8505         gnu/java/locale/LocaleInformation_et_EE.java,
8506         gnu/java/locale/LocaleInformation_eu_ES.java,
8507         gnu/java/locale/LocaleInformation_fa_IR.java,
8508         gnu/java/locale/LocaleInformation_fi_FI.java,
8509         gnu/java/locale/LocaleInformation_fo_FO.java,
8510         gnu/java/locale/LocaleInformation_fr_BE.java,
8511         gnu/java/locale/LocaleInformation_fr_CA.java,
8512         gnu/java/locale/LocaleInformation_fr_CH.java,
8513         gnu/java/locale/LocaleInformation_fr_FR.java,
8514         gnu/java/locale/LocaleInformation_fr_LU.java,
8515         gnu/java/locale/LocaleInformation_ga_IE.java,
8516         gnu/java/locale/LocaleInformation_gd_GB.java,
8517         gnu/java/locale/LocaleInformation_gl_ES.java,
8518         gnu/java/locale/LocaleInformation_gv_GB.java,
8519         gnu/java/locale/LocaleInformation_he_IL.java,
8520         gnu/java/locale/LocaleInformation_hi_IN.java,
8521         gnu/java/locale/LocaleInformation_hr_HR.java,
8522         gnu/java/locale/LocaleInformation_hu_HU.java,
8523         gnu/java/locale/LocaleInformation_id_ID.java,
8524         gnu/java/locale/LocaleInformation_it_CH.java,
8525         gnu/java/locale/LocaleInformation_it_IT.java,
8526         gnu/java/locale/LocaleInformation_iw_IL.java,
8527         gnu/java/locale/LocaleInformation_ja_JP.java,
8528         gnu/java/locale/LocaleInformation_ka_GE.java,
8529         gnu/java/locale/LocaleInformation_kl_GL.java,
8530         gnu/java/locale/LocaleInformation_ko_KR.java,
8531         gnu/java/locale/LocaleInformation_kw_GB.java,
8532         gnu/java/locale/LocaleInformation_lt_LT.java,
8533         gnu/java/locale/LocaleInformation_lv_LV.java,
8534         gnu/java/locale/LocaleInformation_mi_NZ.java,
8535         gnu/java/locale/LocaleInformation_mk_MK.java,
8536         gnu/java/locale/LocaleInformation_mr_IN.java,
8537         gnu/java/locale/LocaleInformation_mt_MT.java,
8538         gnu/java/locale/LocaleInformation_nl_BE.java,
8539         gnu/java/locale/LocaleInformation_nl_NL.java,
8540         gnu/java/locale/LocaleInformation_nn_NO.java,
8541         gnu/java/locale/LocaleInformation_no_NO.java,
8542         gnu/java/locale/LocaleInformation_oc_FR.java,
8543         gnu/java/locale/LocaleInformation_pl_PL.java,
8544         gnu/java/locale/LocaleInformation_pt_BR.java,
8545         gnu/java/locale/LocaleInformation_pt_PT.java,
8546         gnu/java/locale/LocaleInformation_ro_RO.java,
8547         gnu/java/locale/LocaleInformation_ru_RU.java,
8548         gnu/java/locale/LocaleInformation_ru_UA.java,
8549         gnu/java/locale/LocaleInformation_se_NO.java,
8550         gnu/java/locale/LocaleInformation_sk_SK.java,
8551         gnu/java/locale/LocaleInformation_sl_SI.java,
8552         gnu/java/locale/LocaleInformation_sq_AL.java,
8553         gnu/java/locale/LocaleInformation_sr_YU.java,
8554         gnu/java/locale/LocaleInformation_sv_FI.java,
8555         gnu/java/locale/LocaleInformation_sv_SE.java,
8556         gnu/java/locale/LocaleInformation_ta_IN.java,
8557         gnu/java/locale/LocaleInformation_te_IN.java,
8558         gnu/java/locale/LocaleInformation_tg_TJ.java,
8559         gnu/java/locale/LocaleInformation_tl_PH.java,
8560         gnu/java/locale/LocaleInformation_tr_TR.java,
8561         gnu/java/locale/LocaleInformation_uk_UA.java,
8562         gnu/java/locale/LocaleInformation_ur_PK.java,
8563         gnu/java/locale/LocaleInformation_uz_UZ.java,
8564         gnu/java/locale/LocaleInformation_vi_VN.java,
8565         gnu/java/locale/LocaleInformation_yi_US.java,
8566         gnu/java/locale/LocaleInformation_zh_CN.java,
8567         gnu/java/locale/LocaleInformation_zh_HK.java,
8568         gnu/java/locale/LocaleInformation_zh_SG.java,
8569         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8570         info; from Classpath.
8571
8572         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8573         isPaintPending): New methods.
8574         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8575         setMaximizedBounds): New methods.
8576         (beginLayout, endLayout, isPaintPending): Likewise.
8577         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8578         (requestFocus): Likewise.
8579         (isObscured): Likewise.
8580         (canDetermineObscurity): Likewise.
8581         (coalescePaintEvent): Likewise.
8582         (updateCursorImmediately): Likewise.
8583         (createVolatileImage): Likewise.
8584         (handlesWheelScrolling): Likewise.
8585         (createBuffers): Likewise.
8586         (getBackBuffer): Likewise.
8587         (flip): Likewise.
8588         (destroyBuffers): Likewise.
8589
8590         * Makefile.in: Rebuilt.
8591         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8592         RobotPeer.java.
8593         * gnu/java/awt/GLightweightPeer.java,
8594         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8595         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8596         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8597         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8598         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8599         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8600         java/awt/dnd/peer/DragSourceContextPeer.java,
8601         java/awt/dnd/peer/DropTargetContextPeer.java,
8602         java/awt/peer/ButtonPeer.java,
8603         java/awt/peer/CheckboxMenuItemPeer.java,
8604         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8605         java/awt/peer/ComponentPeer.java,
8606         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8607         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8608         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8609         java/awt/peer/MenuBarPeer.java,
8610         java/awt/peer/MenuComponentPeer.java,
8611         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8612         java/awt/peer/PopupMenuPeer.java,
8613         java/awt/peer/ScrollPanePeer.java,
8614         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8615         java/awt/peer/TextComponentPeer.java,
8616         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8617         New versions from Classpath.
8618         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8619         * java/awt/peer/RobotPeer.java: Likewise.
8620
8621 2003-03-01  Mark Wielaard  <mark@klomp.org>
8622
8623         * java/io/ObjectInputStream.java: Reindent.
8624         * java/io/ObjectOutputStream.java: Likewise.
8625
8626 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8627
8628         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8629         jvalue for each argument. Simplify.
8630         * testsuite/libjava.jni/calls.c (docall),
8631         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8632         misalignment.
8633
8634 2003-02-28  Mark Wielaard  <mark@klomp.org>
8635
8636         * Makefile.am (nat_source_files): Remove
8637         java/io/natObjectOutputStream.cc.
8638         * Makefile.in: Regenerated.
8639         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8640         * java/io/ObjectStreamField.java (typename): New field.
8641         (ObjectStreamField(String, Class)): Initialize new field.
8642         (ObjectStreamField(String, String)): New Constructor.
8643         (getTypeCode): Use new field.
8644         (getTypeString): Use new field.
8645         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8646         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8647         Handle reading of Proxy classes. Never drain(), just write
8648         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8649         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8650         (flush): Call flush(), not just drain().
8651         (writeBoolean): Always use blockDataOutput.
8652         (writeByte): Likewise.
8653         (writeShort): Likewise.
8654         (writeChar): Likewise.
8655         (writeInt): Likewise.
8656         (writeLong): Likewise.
8657         (writeFloat): Likewise.
8658         (writeDouble): Likewise.
8659         (writeBytes): Likewise.
8660         (putfield (put(String,Object))): Throw IllegalArgumentException if
8661         field cannot be found.
8662         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8663         (writeArraySizeAndElements): Write byte[] in one go.
8664         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8665         set BlockDataMode to false.
8666         (annotateProxyClass): New method.
8667         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8668         (getField): No longer native.
8669         (getMethod): Likewise.
8670         (setBlockDataMode): Always drain() on switch, return old mode.
8671         (static): New static code block.
8672         * java/io/natObjectOutputStream.cc: Removed.
8673         * java/io/ObjectInputStream.java (getField): No longer native.
8674         (getMethod): Likewise.
8675         (readObject): Remember and reset old BlockDataMode. Track whether
8676         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8677         TC_LONGSTRING.
8678         (defaultReadObject): Set BlockDataMode to false during readFields.
8679         (resolveClass): Create new SecurityManager if necessary.
8680         Use Class.forName() if null ClassLoader found.
8681         (read(byte[],int,int): Copy remaining bytes to data before calling
8682         readNextBlock().
8683         (readFields): Set and reset BlockDataMode on call_read_method.
8684         Catch NoSuchFieldErrors.
8685         (setBlockDataMode): Return old mode.
8686         (static): New static code block.
8687         * java/io/natObjectInputStream.cc (getField): Removed.
8688         (getMethod): Likewise.
8689
8690 2003-02-27  Michael Koch  <konqueror@gmx.de>
8691
8692         * java/beans/Beans.java,
8693         java/beans/FeatureDescriptor.java
8694         java/beans/PropertyEditorManager.java:
8695         Reformated to GNU style.
8696
8697 2003-02-25  Michael Koch  <konqueror@gmx.de>
8698
8699         * gnu/java/nio/MappedByteFileBuffer.java,
8700         gnu/java/nio/natMappedByteFileBuffer.cc:
8701         New files, both are not compiled yet to get not noncompiling CVS.
8702
8703 2003-02-24  Tom Tromey  <tromey@redhat.com>
8704
8705         * java/util/prefs/AbstractPreferences.java (isUserNode):
8706         Implemented.
8707
8708 2003-02-24  Tom Tromey  <tromey@redhat.com>
8709
8710         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8711         Deprecate.
8712         * java/lang/Thread.java (resume): Deprecate.
8713         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8714         in @deprecated.
8715
8716 2003-02-23  Tom Tromey  <tromey@redhat.com>
8717
8718         * Makefile.in: Rebuilt.
8719         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8720
8721 2003-02-23  Tom Tromey  <tromey@redhat.com>
8722
8723         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8724         libraries): Removed.
8725         (add_library): Removed.
8726         (_load): Don't call add_library.
8727         (loadLibraryInternal): Likewise.
8728         (init): Likewise.
8729         (lookup_data): New struct.
8730         (find_symbol): New function.
8731         (_Jv_FindSymbolInExecutable): Use it.
8732
8733 2002-02-21  Anthony Green  <green@redhat.com>
8734
8735         * java/lang/Thread.java (Thread): New constructor taking stack
8736         size parameter (ignored for now).
8737         * Many methods: Merged GNU Classpath documentation.
8738
8739         * java/lang/Class.java (finalize): throws a Throwable.
8740
8741 2003-02-21  Mark Wielaard  <mark@klomp.org>
8742
8743         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8744         argument is null.
8745
8746 2003-02-21  Mark Wielaard  <mark@klomp.org>
8747
8748         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8749         then 65535 chars throw IllegalArgumentException.
8750
8751 2003-02-21  Mark Wielaard  <mark@klomp.org>
8752
8753         * java/util/zip/ZipFile.java (finalize): New method.
8754
8755 2003-02-21  Michael Koch  <konqueror@gmx.de>
8756
8757         * gnu/java/nio/natSocketChannelImpl.cc:
8758         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8759         <cato@df.lth.se> for pointing to it.
8760
8761 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8762
8763         * java/math/BigInteger.java (euclidInv): Take result array as an
8764         argument.  Updated all callers.
8765         (modInverse): Removed unused variables.
8766
8767 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8768
8769         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8770         config.status.
8771         * configure: Rebuilt.
8772
8773 2003-02-19  Michael Koch  <konqueror@gmx.de>
8774
8775         * gnu/java/nio/natSocketChannelImpl.cc:
8776         Added support for platforms without network support.
8777
8778 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8779
8780         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8781         after config.h.  Use <> for consistency.
8782         * java/lang/natObject.cc: Likewise.
8783         * java/lang/natRuntime.cc: Likewise.
8784         * java/lang/natSystem.cc: Likewise.
8785         * java/util/natTimeZone.cc: Likewise.
8786         * win32.cc: Likewise.
8787         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8788         listen, write, read): Undef to avoid interference from OS macros.
8789
8790 2003-02-19  Michael Koch  <konqueror@gmx.de>
8791
8792         * gnu/java/nio/ByteBufferImpl.java
8793         (ByteBufferImpl): Renamed two variables.
8794         * gnu/java/nio/CharBufferImpl.java
8795         (CharBufferImpl): Renamed two variables.
8796         * gnu/java/nio/DoubleBufferImpl.java
8797         (DoubleBufferImpl): Renamed two variables.
8798         * gnu/java/nio/FloatBufferImpl.java
8799         (FloatBufferImpl): Renamed two variables.
8800         * gnu/java/nio/IntBufferImpl.java
8801         (IntBufferImpl): Renamed two variables.
8802         * gnu/java/nio/LongBufferImpl.java
8803         (LongBufferImpl): Renamed two variables.
8804         * gnu/java/nio/ShortBufferImpl.java
8805         (ShortBufferImpl): Renamed two variables.
8806         * java/nio/CharBuffer.java
8807         (wrap): Fixed arguments to CharBufferImpl constructor.
8808         (hasArray): Only not read-only buffers have backing arrays.
8809         (length): Documentation added.
8810         (subSequence): Documentation added.
8811         * java/nio/DoubleBuffer.java
8812         (hasArray): Only not read-only buffers have backing arrays.
8813         * java/nio/FloatBuffer.java
8814         (hasArray): Only not read-only buffers have backing arrays.
8815         * java/nio/IntBuffer.java
8816         (hasArray): Only not read-only buffers have backing arrays.
8817         * java/nio/LongBuffer.java
8818         (hasArray): Only not read-only buffers have backing arrays.
8819         * java/nio/ShortBuffer.java
8820         (hasArray): Only not read-only buffers have backing arrays.
8821         
8822 2003-02-19  Michael Koch  <konqueror@gmx.de>
8823
8824         * javax/accessibility/AccessibleContext.java
8825         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8826
8827 2003-02-19  Michael Koch  <konqueror@gmx.de>
8828
8829         * java/awt/ScrollPaneAdjustable.java: Reformated.
8830
8831 2003-02-19  Michael Koch <konqueror@gmx.de>
8832
8833         * gnu/awt/j2d/Graphics2DImpl.java
8834         (getFontRenderContext): New method.
8835         (drawGlyphVector): New method.
8836         * java/awt/Graphics2D.java
8837         (getFontRenderContext): New abstract method.
8838         (drawGlyphVector): New abstract method.
8839         
8840 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8841
8842         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8843         if necessary.
8844         
8845         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8846         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8847         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8848         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8849         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8851         (setFont, gtkSetFont): add.
8852         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8853         Propagate font to peer.  (setFont): add FIXME comment.
8854
8855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8856         (gtkTextGetSize): fix height, width computation.
8857
8858         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8859         Make X font name a bit less bogus.
8860
8861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8862         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8863
8864         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8865         (processAdjustmentEvent): Adjust value.
8866
8867         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8868         logic errors.
8869
8870         * java/awt/Component.java (setVisible, show, hide): Call show and
8871         hide methods in subclasses.
8872         (getPreferredSize): don't set prefSize before we have peer.
8873
8874         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8875         Guess (0,0) if we don't have peer.
8876
8877
8878 2003-02-18  Michael Koch  <konqueror@gmx.de>
8879
8880         * java/nio/channels/FileChannel.java
8881         (toString): New implementation, added documentation.
8882         (map): Added exception documentation.
8883         (size): Added exception documentation.
8884         (write): New methods, documentation work.
8885         (read): New methods, documentation work.
8886         (implCloseChannel): Rewrote exception documentation.
8887         (force): Throws IOException, added documentation.
8888         (lock): New methods.
8889         (tryLock): New methods.
8890         (position): New methods.
8891         (transferTo): New method.
8892         (transferFrom): New method.
8893         (truncate): New method.
8894         * java/nio/channels/spi/SelectorProvider.java
8895         (provider): Implemented.
8896         * Makefile.am
8897         (ordinary_java_source_files): Added the following files:
8898         gnu/java/nio/DatagramChannelImpl.java
8899         gnu/java/nio/FileChannelImpl.java
8900         gnu/java/nio/PipeImpl.java
8901         gnu/java/nio/SelectionKeyImpl.java
8902         gnu/java/nio/SelectorImpl.java
8903         gnu/java/nio/SelectorProviderImpl.java
8904         gnu/java/nio/ServerSocketChannelImpl.java
8905         gnu/java/nio/SocketChannelImpl.java
8906         java/nio/channels/FileLock.java
8907         (nat_java_source_files): Added the following files:
8908         gnu/java/nio/natFileChannelImpl.cc
8909         gnu/java/nio/natSelectorImpl.cc
8910         gnu/java/nio/natSocketChannelImpl.cc
8911         * Makefile.in: Regenerated.
8912
8913 2003-02-17  Tom Tromey  <tromey@redhat.com>
8914
8915         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8916         * java/awt/image/ImageFilter.java: Likewise.
8917
8918 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8919
8920         * java/math/BigInteger.java (euclidInv): Return array of
8921         `BigInteger's.  Changed all callers.
8922
8923 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8924
8925         * java/util/Properties.java (store): Move the code formerly in
8926         list(), into this method.
8927         (list (PrintStream)): Just call list (PrintWriter) with a 
8928         PrintWriter object constructed from the given PrintStream object.
8929         (list (PrintWriter)): Emulate the output of Properties.list()
8930         as found in JDK 1.3/1.4.
8931
8932 2003-02-17  Michael Koch  <konqueror@gmx.de>
8933
8934         * java/net/DatagramSocket.java
8935         (connect): Merged with classpath.
8936         (disconnect): Merged documentation with classpath.
8937         (receice): Merged documentation with classpath.
8938         (send): Merged documentation with classpath.
8939         
8940 2003-02-17  Michael Koch  <konqueror@gmx.de>
8941
8942         * java/awt/dnd/DragSourceContext.java
8943         (addDragSourceListener): Added documentation.
8944         * java/awt/dnd/DragSourceDragEvent.java
8945         (serialVersionUID): New member variable.
8946         (getDropAction): Reformated.
8947         * java/awt/dnd/DragSourceDropEvent.java
8948         (serialVersionUID): New member variable.
8949         (dropSuccess): Renamed from success for serialization issues.
8950         * java/awt/dnd/DragSourceEvent.java
8951         (serialVersionUID): New member variable.
8952         * java/awt/dnd/DropTarget.java
8953         (serialVersionUID): New member variable.
8954         (DropTarget): Implemented, documentation reworked.
8955         (setComponent): Documentation added.
8956         (getComponent): Documentation added.
8957         (setDefaultActions): Documentation added.
8958         (getDefaultActions): Documentation added.
8959         (addDropTargetListener): Documentation added.
8960         * java/awt/dnd/DropTargetContext.java
8961         (DropTargetContext): Documentation added.
8962         (TransferableProxy.TransferableProxy): New method.
8963         (dropComplete): Fixed documentation.
8964         (getTransferable): Fixed documentation.
8965         (createTransferableProxy): Implemented.
8966         * java/awt/dnd/DropTargetDragEvent.java
8967         (DropTargetDragEvent): Documentation added.
8968         (serialVersionUID): New member variable.
8969         (DropTargetDragEvent): Throw exceptions, documentation added.
8970         (acceptDrag): Implemented.
8971         (getCurrentDataFlavors): Implemented.3yy
8972         (getCurrentDataFlavorsAsList): Implemented.
8973         (isDataFlavorSupported): Implemented.
8974         (rejectDrag): Implemented.
8975         * java/awt/dnd/DropTargetDropEvent.java
8976         (DropTargetDropEvent): Documentation added.
8977         (serialVersionUID): New member variable.
8978         (actions): Renamed from srcActions for serialization issues.
8979         (isLocalTx): Renamed from isLocalTx for serialization issues.
8980         (DropTargetDropEvent): New implementation, throw exceptions,
8981         documentation added.
8982         (getCurrentDataFlavors): Implemented.
8983         (getCurrentDataFlavorsAsList): Implemented.
8984         (isDataFlavorSupported): Implemented.
8985         (getSourceActions): Implemented.
8986         (getDropAction): Implemented.
8987         (getTransferable): Implemented.
8988         (acceptDrop): Implemented.
8989         (rejectDrop): Implemented.
8990         * java/awt/dnd/DropTargetListener.java
8991         (drop): Fixed documentation.
8992         * java/awt/dnd/MouseDragGestureRecognizer.java
8993         (MouseDragGestureRecognizer): Documentation added.
8994
8995 2003-02-17  Michael Koch  <konqueror@gmx.de>
8996
8997         * java/awt/font/FontRenderContext.java,
8998         java/awt/font/ShapeGraphicAttribute.java,
8999         java/awt/font/MultipleMaster.java,
9000         java/awt/font/TransformAttribute.java,
9001         java/awt/font/GlyphJustificationInfo.java,
9002         java/awt/font/LineBreakMeasurer.java,
9003         java/awt/font/TextMeasurer.java,
9004         java/awt/font/TextLayout.java,
9005         java/awt/font/LineMetrics.java,
9006         java/awt/font/TextAttribute.java,
9007         java/awt/font/GlyphMetrics.java,
9008         java/awt/font/OpenType.java,
9009         java/awt/font/GlyphVector.java,
9010         java/awt/font/GraphicAttribute.java,
9011         java/awt/font/ImageGraphicAttribute.java,
9012         java/awt/font/NumericShaper.java: New files.
9013         * Makefile.am
9014         (awt_java_source_files): Added the following files:
9015         java/awt/font/FontRenderContext.java
9016         java/awt/font/ShapeGraphicAttribute.java
9017         java/awt/font/MultipleMaster.java
9018         java/awt/font/TransformAttribute.java
9019         java/awt/font/GlyphJustificationInfo.java
9020         java/awt/font/LineBreakMeasurer.java
9021         java/awt/font/TextMeasurer.java
9022         java/awt/font/TextLayout.java
9023         java/awt/font/LineMetrics.java
9024         java/awt/font/TextAttribute.java
9025         java/awt/font/GlyphMetrics.java
9026         java/awt/font/OpenType.java
9027         java/awt/font/GlyphVector.java
9028         java/awt/font/GraphicAttribute.java
9029         java/awt/font/ImageGraphicAttribute.java
9030         java/awt/font/NumericShaper.java
9031         * Makefile.in: Regenerated.
9032
9033 2003-02-17  Michael Koch  <konqueror@gmx.de>
9034
9035         * java/awt/print/Paper.java
9036         (Paper): Implements Cloneable.
9037         * java/awt/print/PrinterJob.java
9038         (setJobName): Return value must be void.
9039         (print): Throws PrinterException.
9040         
9041 2003-02-16  Tom Tromey  <tromey@redhat.com>
9042
9043         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9044         variable.
9045
9046 2003-02-15  Michael Koch  <konqueror@gmx.de>
9047
9048         * java/awt/datatransfer/DataFlavor.java
9049         (isRepresentationClassByteBuffer): Removed try-catch block.
9050         (isRepresentationClassCharBuffer): Removed try-catch block.
9051         (isRepresentationClassReader): Removed try-catch block.
9052
9053 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9054
9055         * java/nio/charset/Charset.java
9056         (isRegistered): Fixed method args and implementation.
9057         * java/nio/charset/CharsetEncoder.java
9058         (unmappableCharacterAction): New method.
9059
9060 2003-02-15  Michael Koch  <konqueror@gmx.de>
9061
9062         * java/awt/CheckboxMenuItem.java
9063         (CheckBoxMenuItem): Dont implement Serializable.
9064         (getListeners): New method,
9065         (getItemListeners): New method.
9066         * java/awt/Choice.java
9067         (getListeners): New method,
9068         (getItemListeners): New method.
9069         * java/awt/Container.java
9070         (getListeners): Added exception documentation.
9071         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9072         (getFocusTraversalKeys): Added documentation.
9073         (areFocusTraversalKeysSet): Added documentation.
9074         (applyComponentOrientation): Added documentation.
9075         * java/awt/ContainerOrderFocusTraversalPolicy.java
9076         (implicitDownCycleTraversal): Renamed from downCycle for
9077         serialization.
9078         (ContainerOrderFocusTraversalPolicy): Added documentation.
9079         (accept): Reformated.
9080         * java/awt/Dialog.java
9081         (Dialog): Dont implement Serializable.
9082         (Dialog): Added documentation.
9083         * java/awt/Font.java
9084         (Font): Dont use absolute class name.
9085         * java/awt/Frame.java
9086         (Frame): Font implement Serializable.
9087         * java/awt/List.java
9088         (getListeners): New method,
9089         (getActionListeners): New method.       
9090         (getItemListeners): New method.
9091         * java/awt/Menu.java
9092         (countItems): New deprecated method.
9093         * java/awt/Scrollbar.java
9094         (getListeners): New method,
9095         (getAdjustmentListeners): New method,
9096         * java/awt/TextComponent.java
9097         (getListeners): New method,
9098         (getTextListeners): New method,
9099         * java/awt/TextField.java
9100         (getListeners): New method,
9101         (getActionListeners): New method.       
9102         * java/awt/Window.java
9103         (windowFocusListener): New member variable.
9104         (windowStateListener): New member variable.
9105         (getWindowFocusListeners): New method.
9106         (getWindowStateListeners): New method.
9107         (addWindowFocusListener): New method.
9108         (addWindowStateListener): New method.
9109         (removeWindowFocusListener): New method.
9110         (removeWindowStateListener): New method.
9111         * java/awt/datatransfer/DataFlavor.java
9112         (isRepresentationClassByteBuffer): New method.
9113         (isRepresentationClassCharBuffer): New method.
9114         (isRepresentationClassReader): New method.
9115
9116 2003-02-14  Mark Wielaard  <mark@klomp.org>
9117
9118         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9119         zero when there is an exponent and the significant is zero.
9120         (divide): Always set scale to newScale even in special ZERO case.
9121
9122 2003-02-14  Tom Tromey  <tromey@redhat.com>
9123
9124         * java/lang/System.java (properties): Use Properties.clone.
9125         (setProperties): Likewise.
9126
9127 2003-02-14  Michael Koch  <konqueror@gmx.de>
9128
9129         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9130         * gnu/java/nio/ServerSocketChannelImpl.java
9131         (SocketAccept): Removed.
9132         (accept): Commented out use of SocketAccept.
9133
9134 2003-02-13  Tom Tromey  <tromey@redhat.com>
9135
9136         * verify.cc (state::seen_subrs): New field.
9137         (state::state): Initialize it.
9138         (state::clean_subrs): New method.
9139         (state::~state): Call it.
9140         (state::copy): Copy subroutine list.
9141         (state::add_subr): New method.
9142         (state::merge): Only register a change if the current subroutine
9143         hasn't yet been noted.
9144
9145 2003-02-13  Mark Wielaard  <mark@klomp.org>
9146
9147         * java/io/InputStreamReader.java (getEncoding): Return null when
9148         closed.
9149         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9150
9151 2003-02-13  Mark Wielaard  <mark@klomp.org>
9152  
9153         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9154         is zero.
9155
9156 2003-02-13  Mark Wielaard  <mark@klomp.org>
9157
9158         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9159         next byte cannot be buffered.
9160
9161 2003-02-13  Michael Koch  <konqueror@gmx.de>
9162  
9163         * java/awt/Label.java
9164         (Label): Don't implement Serializable directly.
9165         (addNotify): Fixed typo in documentation.
9166         * java/awt/List.java
9167         (List): Don't implement Serializable directly.
9168         * java/awt/PopupMenu.java
9169         (PopupMenu): Don't implement Serializable directly.
9170         * java/awt/ScrollPane.java
9171         (ScrollPane): Don't implement Serializable directly.
9172         * java/awt/Scrollbar.java
9173         (Scrollbar): Don't implement Serializable directly.
9174         * java/awt/TextArea.java
9175         (preferredSize): Fixed method arguments.
9176         * java/awt/TextField.java
9177         (TextField): Don't implement Serializable directly.
9178         * java/awt/color/ICC_ColorSpace.java
9179         (fromCIOXYZ): Documentation added.
9180         (getMinValue): Documentation added.
9181         (getMaxValue): Documentation added.
9182         * java/awt/datatransfer/DataFlavor.java
9183         (isMimeTypeEqual): May not be final.
9184         (clone): Throws CloneNotSupportedException.
9185         (getReaderForText): Don't throws UnsupportedEncodingException.
9186
9187 2003-02-13  Michael Koch  <konqueror@gmx.de>
9188  
9189         * gnu/java/awt/peer/gtk/GdkGraphics.java
9190         (drawString): New stubbed method.
9191         * java/awt/Graphics.java
9192         (drawString): New method.
9193
9194 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9195
9196         PR libgcj/9271:
9197         * java/security/SecureRandom.java (next): Avoid bias in results.
9198
9199 2003-02-13  Michael  <konqueror@gmx.de>
9200
9201         * gnu/java/nio/FileChannelImpl.java
9202         (lengthInternal): Must be native.
9203         (size): Check if channel is already closed.
9204         (implCloseChannel): Reformated.
9205         (read): w was unused, removed it.
9206         (read): Removed.
9207         (read): New method.
9208         (write): New method.
9209         (map): Check arguments.
9210         (force): Throws IOException, check if channel is closed.
9211         (transferTo): New method.
9212         (transferFrom): New method.
9213         (lock): New method.
9214         (tryLock): New method.
9215         (position): New method.
9216         (truncate): New method.
9217         (nio_mmap_file): Uncommented.
9218         (nio_munmap_file): Uncommented.
9219         (nio_msync): Uncommented.
9220         * gnu/java/nio/natFileChannelImpl.cc: New file.
9221         
9222 2003-02-13  Michael Koch  <konqueror@gmx.de>
9223
9224         * java/nio/ByteBuffer.java
9225         (endian): New member variable.
9226         (get): New methods.
9227         (equals): New method.
9228         (compareTo): New method.
9229         (order): New methods.
9230         (compact): New method.
9231         (isDirect): New method.
9232         (slice): New method.
9233         (duplicate): New method.
9234         (asReadOnlyBuffer): New method.
9235         (asCharBuffer): New method.
9236         (asDoubleBuffer): New method.
9237         (asFloatBuffer): New method.
9238         (asIntBuffer): New method.
9239         (asLongBuffer): New method.
9240         (asShortBuffer): New method.
9241         (get*): New methods.
9242         (put*): New methods.
9243         (toString): New method.
9244         * java/nio/CharBuffer.java
9245         (CharBuffer): Implement Comparable instead of Cloneable.
9246         (get): May not be final.
9247         (put): May not be final.
9248         
9249 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9250
9251         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9252         lastIndexOf( ) instead of indexOf( ) to find the colon before
9253         the line number, because Win32 file names might contain a 
9254         drive letter and a colon at the start of an absolute path.
9255
9256 2003-02-13  Michael Koch  <konqueror@gmx.de>
9257
9258         * gnu/java/nio/natSocketChannelImpl.cc
9259         (SocketConnect): This is not implemented yet.
9260         (SocketBind): This is not implemented yet.
9261
9262 2003-02-13  Michael Koch  <konqueror@gmx.de>
9263
9264         * gnu/java/nio/natByteBufferImpl.cc,
9265         gnu/java/nio/natCharBufferImpl.cc,
9266         gnu/java/nio/natDoubleBufferImpl.cc,
9267         gnu/java/nio/natFloatBufferImpl.cc,
9268         gnu/java/nio/natIntBufferImpl.cc,
9269         gnu/java/nio/natLongBufferImpl.cc,
9270         gnu/java/nio/natShortBufferImpl.cc:
9271         Added copyright and license.
9272         * java/nio/DoubleBuffer.java,
9273         java/nio/FloatBuffer.java,
9274         java/nio/IntBuffer.java,
9275         java/nio/LongBuffer.java,
9276         java/nio/ShortBuffer.java
9277         (array): Throw exceptions.
9278         (arrayOffset): Throw exceptions.
9279
9280 2003-02-13  Michael Koch  <konqueror@gmx.de>
9281  
9282         * gnu/java/util/prefs/FileBasedFactory.java,
9283         gnu/java/util/prefs/MemmoryBasedFactory.java,
9284         gnu/java/util/prefs/MemoryBasedPreferences.java,
9285         gnu/java/util/prefs/NodeReader.java,
9286         gnu/java/util/prefs/NodeWriter.java,
9287         java/util/prefs/AbstractPreferences.java,
9288         java/util/prefs/BackingStoreException.java,
9289         java/util/prefs/InvalidPreferencesFormatException.java,
9290         java/util/prefs/NodeChangeEvent.java,
9291         java/util/prefs/NodeChangeListener.java,
9292         java/util/prefs/PreferenceChangeEvent.java,
9293         java/util/prefs/PreferenceChangeListener.java,
9294         java/util/prefs/Preferences.java,
9295         java/util/prefs/PreferencesFactory.java:
9296         New files, all merged from classpath.
9297         * Makefile.am
9298         (ordinary_java_source_files): Added the following files:
9299         gnu/java/util/prefs/FileBasedFactory.java,
9300         gnu/java/util/prefs/MemmoryBasedFactory.java,
9301         gnu/java/util/prefs/MemoryBasedPreferences.java,
9302         gnu/java/util/prefs/NodeReader.java,
9303         gnu/java/util/prefs/NodeWriter.java,
9304         (core_java_source_files): Added the following files:
9305         java/util/prefs/AbstractPreferences.java,
9306         java/util/prefs/BackingStoreException.java,
9307         java/util/prefs/InvalidPreferencesFormatException.java,
9308         java/util/prefs/NodeChangeEvent.java,
9309         java/util/prefs/NodeChangeListener.java,
9310         java/util/prefs/PreferenceChangeEvent.java,
9311         java/util/prefs/PreferenceChangeListener.java,
9312         java/util/prefs/Preferences.java,
9313         java/util/prefs/PreferencesFactory.java
9314         * Makefile.in: Regenerated.
9315  
9316 2003-02-13  Michael Koch  <konqueror@gmx.de>
9317
9318         * java/net/NetPermission.java
9319         (NetPermission): Make doucmentation match the method declaration.
9320         * java/net/NetworkInterface.java
9321         (equals): Reformated for GNU coding style.
9322         * java/net/ServerSocket.java: Merged with classpath.
9323         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9324         * java/net/SocketImpl.java
9325         (localPort): Merged with classpath (initialize with -1).
9326         * java/net/SocketPermission.java: Merged with classpath (reindented).
9327         * java/net/URLDecoder.java: Merged with classpath (reindented).
9328
9329 2003-02-13  Michael Koch  <konqueror@gmx.de>
9330
9331         * java/awt/GridBagConstraints.java
9332         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9333         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9334         * java/awt/KeyboardFocusManager.java
9335         (setGlobalCurrentFocusCycleRoot): Must be public.
9336         * java/awt/MenuComponent.java
9337         (MenuComponent): Must be public.
9338         * java/awt/Toolkit.java:
9339         Added some empty lines to make documentation more readable.
9340         (getFontPeer): Added @deprecated.
9341         (getColorModel): Added exception documentation.
9342         (getProperty): Fixed documentation.
9343  
9344 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9345
9346         * configure.host (alpha*-*): Default to -mieee.
9347         * configure.in (IEEESPEC): New.
9348         * libgcj.spec.in (jc1): Add IEEESPEC.
9349         * configure: Rebuild.
9350
9351 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9352
9353         * include/win32.h: Include ws2tcpip.h instead of
9354         winsock.h to obtain definition of the socklen_t type.
9355         Remove IP_TOS definition - not needed with ws2tcpip.h
9356         (_Jv_connect): Correct slight formatting error.
9357
9358 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9359
9360         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9361         size of the arguments for a JNI function. For Win32,
9362         modify to search for all forms of possible exported
9363         names of an stdcall JNI function.
9364         (_Jv_JNIMethod::call): Modify to calculate the size
9365         of the arguments passed to a JNI function and pass
9366         it to _Jv_LookupJNIMethod.
9367
9368 2003-02-12  Michael Koch  <konqueror@gmx.de>
9369
9370         * java/nio/channels/Channels.java: New file.
9371         * Makefile.am
9372         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9373         * Makefile.in: Regenerated.
9374
9375 2003-02-12  Michael Koch  <konqueror@gmx.de>
9376
9377         * java/nio/ByteBuffer.java
9378         (allocate): Implemented.
9379         (wrap): Implemented.
9380         * java/nio/CharBuffer.java:
9381         Some documentation added and reworked.
9382         (endian): Removed.
9383         (allocate): Implemented.
9384         (wrap): Implemented.
9385         (array): Throw exceptions.
9386         (arrayOffset): Throw exceptions.
9387         (toString): Implemented.
9388         (length): Implemented.
9389         (put): Implemented.
9390         (charAt): Implemented.
9391
9392 2003-02-11  John Leuner  <jewel@debian.org>
9393
9394         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9395         reads from end of file.
9396
9397 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9398
9399         * java/io/natFileDescriptorWin32.cc 
9400         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9401         returns with Win32 error code ERROR_BROKEN_PIPE.
9402
9403 2003-02-11  Michael Koch  <konqueror@gmx.de>
9404
9405         * Makefile.in
9406         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9407
9408 2003-02-11  Michael Koch  <konqueror@gmx.de>
9409
9410         * gnu/java/nio/ByteBufferImpl.java:
9411         Reformated and removed some code.
9412         (backing_buffer): Removed.      
9413         (array_offset): Removed.
9414         (ro): Renamed to readOnly.
9415         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9416         * gnu/java/nio/CharBufferImpl.java:
9417         Reformated and removed some code.
9418         (array_offset): Removed.
9419         (ro): Renamed to readOnly.
9420         (CharBufferImpl): Use parent constructor, initialize readOnly.
9421         (inc_pos): Removed.
9422         (order): New method.
9423         * gnu/java/nio/DoubleBufferImpl.java:
9424         Reformated and removed some code.
9425         (array_offset): Removed.
9426         (ro): Renamed to readOnly.
9427         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9428         (inc_pos): Removed.
9429         (order): New method.
9430         * gnu/java/nio/FloatBufferImpl.java:
9431         Reformated and removed some code.
9432         (array_offset): Removed.
9433         (ro): Renamed to readOnly.
9434         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9435         (inc_pos): Removed.
9436         (order): New method.
9437         * gnu/java/nio/IntBufferImpl.java:
9438         Reformated and removed some code.
9439         (array_offset): Removed.
9440         (ro): Renamed to readOnly.
9441         (IntBufferImpl): Use parent constructor, initialize readOnly.
9442         (inc_pos): Removed.
9443         (order): New method.
9444         * gnu/java/nio/LongBufferImpl.java:
9445         Reformated and removed some code.
9446         (array_offset): Removed.
9447         (ro): Renamed to readOnly.
9448         (LongBufferImpl): Use parent constructor, initialize readOnly.
9449         (inc_pos): Removed.
9450         (order): New method.
9451         * gnu/java/nio/ShortBufferImpl.java:
9452         Reformated and removed some code.
9453         (array_offset): Removed.
9454         (ro): Renamed to readOnly.
9455         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9456         (inc_pos): Removed.
9457         (order): New method.
9458         * Makefile.am
9459         (ordinary_java_source_files): Added the following files:
9460         gnu/java/nio/ByteBufferImpl.java
9461         gnu/java/nio/CharBufferImpl.java
9462         gnu/java/nio/DoubleBufferImpl.java
9463         gnu/java/nio/FloatBufferImpl.java
9464         gnu/java/nio/IntBufferImpl.java
9465         gnu/java/nio/LongBufferImpl.java
9466         gnu/java/nio/ShortBufferImpl.java
9467         java/nio/DoubleBuffer.java
9468         java/nio/FloatBuffer.java
9469         java/nio/IntBuffer.java
9470         java/nio/LongBuffer.java
9471         java/nio/ShortBuffer.java
9472         (nat_source_files): Added the following files:
9473         gnu/java/nio/natByteBufferImpl.cc
9474         gnu/java/nio/natCharBufferImpl.cc
9475         gnu/java/nio/natDoubleBufferImpl.cc
9476         gnu/java/nio/natFloatBufferImpl.cc
9477         gnu/java/nio/natIntBufferImpl.cc
9478         gnu/java/nio/natLongBufferImpl.cc
9479         gnu/java/nio/natShortBufferImpl.cc
9480         * Makefile.in: Regenerated.
9481
9482 2003-02-11  Michael Koch  <konqueror@gmx.de>
9483
9484         * gnu/java/nio/natCharBufferImpl.cc
9485         (nio_cast): Removed.
9486         (nio_put_*): Removed.
9487         (nio_get_*): Removed.
9488         * gnu/java/nio/natDoubleBufferImpl.cc
9489         (nio_cast): Removed.
9490         (nio_put_*): Removed.
9491         (nio_get_*): Removed.
9492         * gnu/java/nio/natFloatBufferImpl.cc
9493         (nio_cast): Removed.
9494         (nio_put_*): Removed.
9495         (nio_get_*): Removed.
9496         * gnu/java/nio/natIntBufferImpl.cc
9497         (nio_cast): Removed.
9498         (nio_put_*): Removed.
9499         (nio_get_*): Removed.
9500         * gnu/java/nio/natLongBufferImpl.cc
9501         (nio_cast): Removed.
9502         (nio_put_*): Removed.
9503         (nio_get_*): Removed.
9504         * gnu/java/nio/natShortBufferImpl.cc
9505         (nio_cast): Removed.
9506         (nio_put_*): Removed.
9507         (nio_get_*): Removed.
9508         * gnu/java/nio/SelectorProviderImpl.java
9509         (openDatagramChannel): Throws IOException.
9510         (openPipe): Throws IOException.
9511         (openSelector): Throws IOException.
9512         (openServerSocketChannel): Throws IOException.
9513         (openSocketChannel): Throws IOException.
9514         * gnu/java/nio/ServerSocketChannelImpl.java
9515         (ServerSocketChannelImpl): Throws IOException.
9516         (implCloseSelectableChannel): Throws IOException.
9517         (implConfigureBlocking): Throws IOException.
9518         * java/nio/ByteBuffer.java
9519         (readOnly): Removed.
9520         (hasArray): Use isReadOnly() instead of readOnly.
9521         (array): Use isReadOnly() instead of readOnly.
9522         (arrayOffset): Use isReadOnly() instead of readOnly.
9523         * java/nio/CharBuffer.java
9524         (CharBuffer): Implements Cloneable and CharSequence.
9525
9526 2003-02-11  Michael Koch  <konqueror@gmx.de>
9527
9528         * java/nio/DoubleBuffer.java
9529         (DoubleBuffer): Implements Comparable.
9530         (endian): Removed.
9531         (array_offset): New member variable.
9532         (DoubleBuffer): New constuctor.
9533         (get): May not be final.
9534         (put): May not be final.
9535         (arrayOffset): Implemented.
9536         (order): Made abstract.
9537         (order): Removed.
9538         (as*Buffer): Removed.
9539         (get*): Removed.
9540         (put*): Removed.
9541         * java/nio/FloatBuffer.java
9542         (FloatBuffer): Implements Comparable.
9543         (endian): Removed.
9544         (array_offset): New member variable.
9545         (FloatBuffer): New constuctor.
9546         (get): May not be final.
9547         (put): May not be final.
9548         (arrayOffset): Implemented.
9549         (order): Made abstract.
9550         (order): Removed.
9551         (as*Buffer): Removed.
9552         (get*): Removed.
9553         (put*): Removed.
9554         * java/nio/IntBuffer.java
9555         (IntBuffer): Implements Comparable.
9556         (endian): Removed.
9557         (array_offset): New member variable.
9558         (IntBuffer): New constuctor.
9559         (get): May not be final.
9560         (put): May not be final.
9561         (arrayOffset): Implemented.
9562         (order): Made abstract.
9563         (order): Removed.
9564         (as*Buffer): Removed.
9565         (get*): Removed.
9566         (put*): Removed.
9567         * java/nio/LongBuffer.java
9568         (LongBuffer): Implements Comparable.
9569         (endian): Removed.
9570         (array_offset): New member variable.
9571         (LongBuffer): New constuctor.
9572         (get): May not be final.
9573         (put): May not be final.
9574         (arrayOffset): Implemented.
9575         (order): Made abstract.
9576         (order): Removed.
9577         (as*Buffer): Removed.
9578         (get*): Removed.
9579         (put*): Removed.
9580         * java/nio/ShortBuffer.java
9581         (ShortBuffer): Implements Comparable.
9582         (endian): Removed.
9583         (array_offset): New member variable.
9584         (ShortBuffer): New constuctor.
9585         (get): May not be final.
9586         (put): May not be final.
9587         (arrayOffset): Implemented.
9588         (order): Made abstract.
9589         (order): Removed.
9590         (as*Buffer): Removed.
9591         (get*): Removed.
9592         (put*): Removed.
9593
9594 2003-02-11   Michael Koch  <konqueror@gmx.de>
9595
9596         * java/nio/channels/SelectionKey.java
9597         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9598         values.
9599
9600 2003-02-11  Michael Koch  <konqueror@gmx.de>
9601
9602         * java/nio/channels/DatagramChannel.java
9603         (write): Throws IOException.
9604         (connect): Throws IOException.
9605         (disconnect): Throws IOException.
9606         (read): Throws IOException.
9607         (receive): Throws IOException.
9608         (send): Throws IOException.
9609         * java/nio/channels/Pipe.java
9610         (open): Throws IOException.
9611         * java/nio/channels/SelectableChannel.java
9612         (configureBlocking): Throws IOException.
9613         * java/nio/channels/ServerSocketChannel.java
9614         (accept): Throws IOException.
9615         * java/nio/channels/SocketChannel.java
9616         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9617         GatheringByteChannel.
9618         (read): Throws IOException.
9619         (write): Throws IOException.
9620         (finishConnect): Throws IOException.
9621         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9622         (end): Throws AsynchronousCloseException.
9623         * java/nio/channels/spi/AbstractSelectableChannel.java
9624         (configureBlocking): Throws IOException.
9625         (implCloseChannel): Throws IOException.
9626         (implCloseSelectableChannel): Throws IOException.
9627         (implConfigureBlocking): Throws IOException.
9628         * java/nio/channels/spi/SelectorProvider.java
9629         (openDatagramChannel): Throws IOException.
9630         (openPipe): Throws IOException.
9631         (openSelector): Throws IOException.
9632         (openServerSocketChannel): Throws IOException.
9633         (openSocketChannel): Throws IOException.
9634
9635 2003-02-11  Michael Koch  <konqueror@gmx.de>
9636
9637         * gnu/java/nio/FileLockImpl.java,
9638         java/nio/channels/FileLock.java: New files.
9639
9640 2003-02-11  Michael Koch  <konqueror@gmx.de>
9641
9642         * java/nio/charset/IllegalCharsetNameException.java
9643         (serialVersionUID): New member variable.
9644         (charsetName): New member variable.
9645         (IllegalCharsetException): New implementation.
9646         (getCharsetName): New implementation.
9647         * java/nio/charset/UnsupportedCharsetException.java
9648         (serialVersionUID): New member variable.
9649         (charsetName): New member variable.
9650         (UnsupportedCharsetException): New implementation.
9651         (getCharsetName): New implementation.
9652
9653 2003-02-10  Tom Tromey  <tromey@redhat.com>
9654
9655         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9656         (ex): Renamed from sqlException.
9657
9658 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9659
9660         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9661         method used to ensure seeding has occurred and that a specific 
9662         seed can be set and used.
9663
9664 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9665
9666         * java/lang/Win32Process.java (destroy): Declare as native.
9667         (hasExited): New native method.
9668         (exitValue): Define.
9669         (getErrorStream): Likewise.
9670         (getInputStream): Likewise.
9671         (getOutputStream): Likewise.
9672         (waitFor): Declare as native.
9673         (startProcess): New native method.
9674         (cleanup): Likewise.
9675         (ConcreteProcess): Define.
9676         (outputStream, inputStream, errorStream): New members.
9677         (procHandle, exitCode): Likewise.
9678
9679         * java/lang/natWin32Process.cc
9680         (java::lang::ConcreteProcess::cleanup): Define.
9681         (java::lang::ConcreteProcess::destroy): Likewise.
9682         (java::lang::ConcreteProcess::hasExited): Likewise.
9683         (java::lang::ConcreteProcess::waitFor): Likewise.
9684         (new_string): Likewise.
9685         (java::lang::ConcreteProcess::startProcess): Likewise.
9686
9687 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9688
9689         * java/math/BigInteger.java:
9690         Updated notice to include years 2002 and 3.
9691         Added 2 private (int) arrays with values from the HAC (Handbook of
9692         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9693         and t[] that contains nbr. of tests --used in isProbablePrime().
9694
9695         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9696
9697         * java/math/BigInteger.java (make(int[],int), add(int,int),
9698         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9699         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9700         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9701         make(long).
9702
9703         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9704         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9705         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9706         BIs and returns void.
9707         (modInverse(BI)): Use new signatures of euclidInv().
9708
9709         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9710         static small primes instead of remainder().
9711         Use pre-computed max nbr of trials based on bitlength of BI to test.
9712         Use pre-computed small primes for the trial tests instead of random
9713         numbers.
9714
9715         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9716         not used.
9717
9718         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9719         invoacation of MPN.chars_per_word().  not used.
9720
9721         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9722         local var and used where needed.
9723
9724         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9725         Combined declaration with initialisation of locals.
9726         Removed unused var.
9727
9728         * java/math/BigInteger.java: Style changes
9729         (pow(int)): Removed 'else' keyword.
9730         (toString(int)): idem.
9731         (doubleValue()): idem.
9732         (bitLength()): idem.
9733         (equals(Object)): Use static methods name in same class w/o prepending
9734         class name.
9735         (doubleValue()): idem.
9736         (setNegative(BI)): idem.
9737         (negate()): idem.
9738         (and(BI,int)): idem.
9739         (and(BI)): idem.
9740         (gcd(BI)): idem.
9741         (byteArrayToIntArray()): Removed casting to (int). this is
9742         std. behaviour.
9743         (canonicalize()): idem.
9744         (alloc(int)): Always instantiate a new BI.
9745
9746 2003-02-10  Tom Tromey  <tromey@redhat.com>
9747
9748         * java/sql/Timestamp.java (compareTo(Object)): New method.
9749         (compareTo(Timestamp)): Likewise.
9750         (serialVersionUID): Updated.
9751
9752 2003-02-07  Mark Wielaard  <mark@klomp.org>
9753
9754         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9755         when verify is true.
9756         (JarFile(File, boolean)): Likewise.
9757         (manifestRead): Set manifestRead field correctly.
9758
9759 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9760
9761         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9762         tests; see patch #1016 on Savannah.
9763
9764 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9765
9766         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9767         (toString): do not return Strings starting with . and - erroneously.
9768         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9769         DiagBigDecimal.
9770
9771 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9772
9773         * java/beans/PropertyDescriptor.java
9774         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9775         methods.
9776         (PropertyDescriptor(String, Class, String, String)): Likewise.
9777         (PropertyDescriptor(String, Method, Method): Factor out getter and
9778         setter method sanity checks into new method.
9779         (findMethods): Don't do parameter sanity checking of get method here.
9780         (checkMethods): New method.
9781
9782 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9783
9784         * java/beans/PropertyDescriptor.java: Reformat.
9785
9786 2003-02-04  Tom Tromey  <tromey@redhat.com>
9787
9788         * java/io/PipedOutputStream.java (flush): Declare as throwing
9789         IOException.
9790         (close): Likewise.
9791         * java/io/PipedWriter.java (close): Declare as throwing
9792         IOException.
9793         * java/io/StringWriter.java (close): Declare as throwing
9794         IOException.
9795
9796 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9797
9798         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9799         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9800         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9801         "_JNI_OnLoad@8" (MSVC).
9802
9803 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9804
9805         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9806         convention on Win32 to invoke native JNI methods.
9807
9808 2003-02-03  Andrew Haley  <aph@redhat.com>
9809
9810         * configure.host (x86_64): Enable interpreter.
9811
9812 2003-02-03  Andrew Haley  <aph@redhat.com>
9813
9814         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9815         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9816         * configure.in (BACKTRACESPEC): New.
9817         * configure: Regenerate.
9818
9819 2003-02-02  Tom Tromey  <tromey@redhat.com>
9820
9821         * configure: Rebuilt.
9822         * configure.in (TOOLKIT) [xlib]: Set correctly.
9823
9824         * Makefile.in: Rebuilt.
9825         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9826         libstdc++.
9827
9828 2003-01-31  Mark WIelaard  <mark@klomp.org>
9829
9830         * Makefile.in: Rebuilt.
9831         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9832
9833 2003-01-31  Tom Tromey  <tromey@redhat.com>
9834
9835         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9836         cast to element type.
9837         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9838         (_Jv_JNI_GetObjectArrayElement): Likewise.
9839
9840         * Makefile.in: Rebuilt.
9841         * Makefile.am (cond_x_ltlibrary): Renamed library to
9842         lib-gnu-awt-xlib.la.
9843         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9844         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9845         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9846         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9847         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9848         (lib_gnu_awt_xlib_la_LINK): Likewise.
9849         (install-exec-hook): Removed.
9850         (lib-gnu-awt-xlib.la): Renamed.
9851
9852 2003-01-31  Tom Tromey  <tromey@redhat.com>
9853
9854         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9855         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9856         aclocal.m4 and lost in some merge.
9857
9858         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9859         Don't try to find graphics configuration.
9860         * java/awt/Toolkit.java (default_toolkit_name): Use new
9861         Configuration entry.
9862         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9863         New global.
9864         * configure: Rebuilt.
9865         * configure.in (TOOLKIT): New subst.
9866         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9867         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9868         directory.  Make output directories for .c files.
9869         * Makefile.in: Rebuilt.
9870         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9871         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9872         (all_java_source_files): Added new sources.
9873         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9874         (gtk_c_files): New macro.
9875         (gtk_c_source_files): New macro.
9876         (cond_gtk_ltlibrary): New macro.
9877         ($(gtk_c_files)): New target.
9878         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9879         (gtk_awt_peer_sources): New macro.
9880         (gtk_c_headers): New macro.
9881         ($(gtk_c_headers)): New target.
9882         (ACLOCAL_AMFLAGS): New macro.
9883         * gtk.m4, glib.m4, libart.m4: New files.
9884         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9885         gnu/java/awt/peer/gtk/GdkGraphics.java,
9886         gnu/java/awt/peer/gtk/GtkArg.java,
9887         gnu/java/awt/peer/gtk/GtkArgList.java,
9888         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9889         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9890         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9891         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9892         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9893         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9894         gnu/java/awt/peer/gtk/GtkClipboard.java,
9895         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9896         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9897         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9898         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9899         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9900         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9901         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9902         gnu/java/awt/peer/gtk/GtkImage.java,
9903         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9904         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9905         gnu/java/awt/peer/gtk/GtkListPeer.java,
9906         gnu/java/awt/peer/gtk/GtkMainThread.java,
9907         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9908         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9909         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9910         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9911         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9912         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9913         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9914         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9915         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9916         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9917         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9918         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9919         gnu/java/awt/peer/gtk/GtkToolkit.java,
9920         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9921         gnu/java/awt/peer/gtk/TestAWT.java,
9922         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9924         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9925         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9926         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9927         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9928         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9929         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9930         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9931         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9932         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9933         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9934         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9935         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9936         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9937         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9938         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9939         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9940         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9941         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9942         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9943         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9944         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9945         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9946         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9947         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9948         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9949         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9950         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9951         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9952         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9953         jni/classpath/native_state.c, jni/classpath/native_state.h,
9954         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9955
9956 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9957
9958         * java/util/Properties.java (load): Ignore backslash before EOF.
9959
9960 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9961
9962         * java/lang/natClass.cc (initializeClass): Check tables when
9963         (state == JV_STATE_IN_PROGRESS).
9964         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9965         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9966         interpreted classes.
9967         (linkClass0): Use _Jv_WaitForState.
9968
9969 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9970
9971         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9972         object when finished.
9973
9974 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
9975
9976         * libjava/configure.host: Disable can_unwind_signal on darwin.
9977
9978 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
9979
9980         Fixes PR java/9254:
9981         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9982         additionally containing id of the owner thread as well as
9983         the number of nested times the thread has acquired the mutex.
9984         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9985         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9986         (_Jv_MutexUnlock): Check if really the owner thread, reset
9987         owner thread id to 0 before leaving, if leaving for the last
9988         time.
9989         (_Jv_MutexLock): Set owner thread id in the mutex and increment
9990         refcount.
9991         (_Jv_ThreadYield): Yield using a call to Sleep(0).
9992         * win32-threads.cc (_Jv_CondWait): Check if really owner of
9993         the passed mutex.
9994         Pass handle of the broadcast event, instead of a pointer to it
9995         in Win32 ResetEvent( ) call.
9996         Remove incorrect return values.
9997         (_Jv_CondDestroy): Close both event handles and delete
9998         critical section.
9999         (_Jv_CondNotify): Check if really the owner thread.
10000         (_Jv_CondNotifyAll): Check if really the owner thread.
10001         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10002         (really_start): Use SetEvent( ) to signal daemon_cond.
10003         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10004         WaitForSingleObject( ) instead to wait for daemon_cond to be
10005         signalled.
10006
10007 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10008
10009         * configure.in: Specifically define HAVE_BACKTRACE if building
10010         for MinGW.
10011         * include/win32.h: Remove HAVE_BACKTRACE definition.
10012         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10013         * configure: Rebuilt.
10014
10015 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10016
10017         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10018         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10019         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10020         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10021         * Makefile.in, configure: Rebuilt.
10022
10023 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10024
10025         Fixes PR java/9253:
10026         * java/io/natFileWin32.cc (performList): Append only "*.*"
10027         if the canonical file path already has a "\" at the end.
10028
10029 2003-01-24  Tom Tromey  <tromey@redhat.com>
10030
10031         * defineclass.cc (handleMethodsEnd): Precompute code for static
10032         method.
10033         (handleCodeAttribute): Likewise.
10034         * resolve.cc (ncode): Use run_class for unsynchronized static
10035         methods.
10036         * include/java-interp.h (class _Jv_InterpMethod): Declare
10037         run_class.
10038         * interpret.cc (run_synch_class): Initialize class.
10039         (run) [insn_invokestatic]: Don't initialize class.
10040         [insn_anewarray]: Likewise.
10041         [insn_multianewarray]: Likewise.
10042         (run_class): New function.
10043
10044 2003-01-24  Tom Tromey  <tromey@redhat.com>
10045
10046         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10047         comment.
10048
10049 2003-01-22  Andrew Haley  <aph@redhat.com>
10050
10051         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10052         * configure.host (CHECKREFSPEC): Define for x86_64.
10053
10054 2003-01-21  Tom Tromey  <tromey@redhat.com>
10055
10056         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10057         search at 2, not 3.
10058
10059 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10060
10061         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10062         looking at any characters.
10063         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10064         be used.
10065         (isAbsolute): Check path's length as well.
10066
10067 2003-01-17  Mark Wielaard  <mark@klomp.org>
10068
10069         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10070         (nat_source_files): Add natVMObjectStreamClass.cc.
10071         * Makefile.in: Regenerated.
10072         * gcj/javaprims.h (namespace java): Regenerated.
10073         * java/io/ObjectStreamClass.java (getClassUID): Call
10074         VMObjectStreamClass.hasClassInitializer().
10075         (hasClassInitializer): Removed.
10076         * java/io/VMObjectStreamClass.java: New class.
10077         * java/io/natVMObjectStreamClass.cc: New file.
10078         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10079
10080 2003-01-16  Mark Wielaard  <mark@klomp.org>
10081
10082         * java/net/SocketImpl.java (toString): Don't explicitly call
10083         toString() on possible null address.
10084
10085 2003-01-16  Michael Koch  <konqueror@gmx.de>
10086
10087         * java/net/MulticastSocket.java
10088         (setInterface): Reindented.
10089
10090 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10091
10092         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10093         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10094         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10095         translateY arguments.  Implement.
10096         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10097         down translation arguments.
10098         (drawPolyline, drawPolygon): Fix incorrect tests.
10099         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10100         translateX and translateY arguments.
10101
10102 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10103
10104         * Makefile.in: Rebuilt.
10105         * Makefile.am (xlib_includes): New macro.
10106         (INCLUDES): Use it.
10107
10108 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10109
10110         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10111         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10112         16-bit display mode.
10113
10114 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10115
10116         * java/awt/CardLayout.java (show): Rewrote.
10117         (gotoComponent): Removed `target' argument.  Simplified code.
10118         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10119         Changed all callers.
10120         (NONE): Removed.
10121         
10122 2003-01-14  Michael Koch  <konqueror@gmx.de>
10123
10124         * java/net/InetSocketAddress.java
10125         (serialVersionUID): New member variable.
10126         * java/net/NetPermission.java
10127         (NetPermission): Dont implement java.io.Serialization directly.
10128         * java/net/SocketAddress.java:
10129         (serialVersionUID): Documentation added.
10130         
10131 2003-01-14  Michael Koch  <konqueror@gmx.de>
10132
10133         * java/awt/Label.java
10134         (Label): Implements javax.accessibility.Accessible;
10135         * java/awt/List.java
10136         (List): Implements javax.accessibility.Accessible;
10137         * java/awt/ScrollPane.java
10138         (ScrollPane): Implements javax.accessibility.Accessible;
10139         * java/awt/Scrollbar.java
10140         (Scrollbar): Implements javax.accessibility.Accessible;
10141         * java/awt/TextComponent.java
10142         (setCaretPosition): Throw exception, documentation added.
10143         * java/awt/Toolkit.java:
10144         Added some newlines in method documentations.
10145         (createButton): Exception documentation added.
10146         (createTextField): Exception documentation added.
10147         (createLabel): Exception documentation added.
10148         (createList): Exception documentation added.
10149         (createCheckbox): Exception documentation added.
10150         (createScrollbar): Exception documentation added.
10151         (createScrollPane): Exception documentation added.
10152         (createTextArea): Exception documentation added.
10153         (createChoice): Exception documentation added.
10154         (createFrame): Exception documentation added.
10155         (createWindow): Exception documentation added.
10156         (createDialog): Exception documentation added.
10157         (createMenuBar): Exception documentation added.
10158         (createMenu): Exception documentation added.
10159         (createMenuItem): Exception documentation added.
10160         (createFileDialog): Exception documentation added.
10161         (createCheckboxMenuItem): Exception documentation added.
10162         (loadSystemColors): Exception documentation added.
10163         (setDynamicLayout): Exception documentation added.
10164         (isDynamicLayoutSet): Exception documentation added.
10165         (isDynamicLayoutActive): Exception documentation added.
10166         (getScreenSize): Exception documentation added.
10167         (getScreenResolution): Exception documentation added.
10168         (getScreenInsets): Exception documentation added.
10169         (getColorModel): Exception documentation added.
10170         (getSystemClipboard): Exception documentation added.
10171         (getSystemSelection): Exception documentation added.
10172         (getMenuShortcutKeyMask): Exception documentation added.
10173         (getSystemEventQueue): Exception documentation added.
10174         * java/awt/Window.java:
10175         Reindented some code.
10176         (Window): Centralized implementation, documentation added.
10177         (finalize): Documentation added.
10178         (hide): Fixed typo in comment.
10179         (getWindowListeners): Documentation added.
10180         * java/awt/color/ColorSpace.java
10181         (toRGB): Documentation added.
10182         * java/awt/color/ICC_ColorSpace.java
10183         (ICC_ColorSpace): Documentation added.
10184         (toRGB): Throw exception, documentation added.
10185         (fromRGB): Throw exception, documentation added.
10186         (toCIEXYZ): Documentation added.
10187         (fromCIEXYZ): Documentation added.
10188         (getMinValue): Documentation added.
10189         (getMaxValue): Documentation added.
10190         * java/awt/geom/Dimension2D.java
10191         (clone): Documentation added.
10192         * java/awt/geom/GeneralPath.java
10193         (clone): Documentation added.
10194         * java/awt/geom/Line2D.java
10195         (clone): Documentation added.
10196         * java/awt/geom/QuadCurve2D.java
10197         (clone): Documentation added.
10198         * java/awt/image/ColorModel.java
10199         (ColorModel): Throw exception, documentation added.
10200         * java/awt/image/ImageFilter.java
10201         (clone): Doesnt throw CloneNotSupportedException.
10202
10203 2003-01-14  Andrew Haley  <aph@redhat.com>
10204
10205         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10206         in a try block.
10207
10208 2003-01-10  Andrew Haley  <aph@redhat.com>
10209
10210         * include/dwarf2-signal.h: Remove x86_64.
10211         * configure.host (x86_64 DIVIDESPEC): Remove.
10212         * include/x86_64-signal.h: New file.
10213         * configure.in: Regenerate.
10214
10215 2003-01-10  Michael Koch  <konqueror@gmx.de>
10216
10217         * java/net/DatagramSocket.java
10218         (ch): Description added.
10219         (remotePort): Initialize with -1.
10220         (connect): Doesnt throws SocketException.
10221         * java/net/MulticastSocket.java
10222         (setInterface): Merge with Classpath.
10223         * java/net/ServerSocket.java
10224         (closed): New member variable.
10225         (bind): Check if socket is closed.
10226         (close): Close an associated channel too, set new value to closed.
10227         (isBound): Reindented.
10228         (isClosed): Implemented.
10229         * java/net/Socket.java
10230         (closed): New member variable.
10231         (bind): Check if socket is closed.
10232         (connect): Check if socket is closed.
10233         (close): Close an associated channel too, set new value to closed.
10234         (isClosed): Implemented.
10235
10236 2003-01-10  Michael Koch  <konqueror@gmx.de>
10237
10238         * java/awt/DisplayMode.java
10239         (equals): Fixed argument type and implementation.
10240
10241 2003-01-07  Tom Tromey  <tromey@redhat.com>
10242
10243         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10244         JV_HASH_SYNCHRONIZATION.
10245         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10246         JV_HASH_SYNCHRONIZATION.
10247
10248 2003-01-07  Michael Koch  <konqueror@gmx.de>
10249  
10250         * java/net/DatagramSocket.java:
10251         Added classpath license info.
10252         (DatagramSocket): Merged description with classpath.
10253         (close): Merged description with classpath.
10254         (getChannel): Merged description with classpath.
10255         (getInetAddress): Merged description with classpath.
10256         (getPort): Merged description with classpath.
10257         (getLocalAddress): Merged description with classpath.
10258         (getLocalPort): Merged description with classpath.
10259         (getSoTimeout): Merged description with classpath.
10260         (setSoTimeout): Merged description with classpath.
10261         (getSendBufferSize): Merged description with classpath.
10262         (setSendBufferSize): Merged description with classpath.
10263         (getReceiveBufferSize): Merged description with classpath.
10264         (setReceiveBufferSize): Merged description with classpath.
10265         
10266 2003-01-04  Tom Tromey  <tromey@redhat.com>
10267
10268         * java/awt/List.java: Merged with Classpath.
10269
10270 2003-01-03  Mark Wielaard  <mark@klomp.org>
10271
10272         * java/io/FileDescriptor.java (position): New private field.
10273         * java/io/natFileDescriptorPosix.cc (write): Up position.
10274         (setLength): Use and set position.
10275         (seek): Set position.
10276         (getFilePointer): Return position.
10277         (read): Up position.
10278
10279 2003-01-03  Mark Wielaard  <mark@klomp.org>
10280
10281         Merge with Classpath:
10282         * java/io/ObjectStreamClass.java (lookup): Split method and call
10283         lookupForClassObject().
10284         (lookupForClassObject): New method.
10285         (isProxyClass): New field.
10286         (setClass): Set isProxyClass, add object to classLookupTable, set
10287         superClass and calculateOffsets.
10288         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10289         and not a proxy class.
10290         (setFields): Set accessible true for serialPersistentFields.
10291         (getClassUID): Same for suid. And check if suid is of type long.
10292         (hasClassInitializer): Don't throw NoSuchMethodError.
10293
10294 2003-01-03  Mark Wielaard  <mark@klomp.org>
10295
10296         * java/io/FileInputStream.java (finalize): Don't explicitly
10297         finalize FileDescriptor.
10298
10299 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10300
10301         * configure.host (sparc*-*): Enable bytecode interpreter.
10302
10303 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10304
10305         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10306         Don't throw RemoteException.
10307         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10308         throw RemoteException.
10309
10310 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10311
10312         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10313         proxyHost): New static fields.
10314         (<clinit>): Initialize new fields.
10315         (connect): Use proxy if necessary.
10316         (usingProxy): Implement.
10317
10318 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10319
10320         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10321         (TreeIterator.remove): Prefer IllegalStateException over
10322         ConcurrentModificationException, to match Sun.
10323
10324 2002-12-22  Anthony Green  <green@redhat.com>
10325
10326         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10327
10328 2003-01-02  Mark Wielaard  <mark@klomp.org>
10329
10330         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10331         public.
10332         (HTTP_USE_PROXY): Add field.
10333         (getResponseVals): Only set responseCode when not yet explicitly
10334         set by subclass.
10335
10336 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10337             Mark Wielaard  <mark@klomp.org>
10338
10339         * java/util/zip/ZipFile.java (entries): Now HashMap.
10340         (readLeShort(DataInput, byte[])): Read from given byte array.
10341         (readLeInt(DataInput, byte[]): Likewise.
10342         (readLeShort(byte[] b, int off)): New method.
10343         (readLeInt(byte[] b, int off)): Likewise.
10344         (readEntries): Use byte arrays to read info in bigger chunks.
10345         (getEntries): Return HashMap.
10346         (getEntry): Use HashMap.
10347         (locBuf): New private field.
10348         (checkLocalHeader): Use locBuf to read info in one chunk.
10349         (getInputStream): Use entries HashMap, wrap PartialInputStream
10350         in BufferedInputStream.
10351         (ZipEntryEnumeration): Use HashMap and Interator.
10352
10353 2003-01-02  Mark Wielaard  <mark@klomp.org>
10354             Jeroen Frijters  <jeroen@sumatra.nl>
10355
10356         * java/net/URLClassLoader.java (Resource.getCodeSource):
10357         Fix check certs == null.
10358         (getCanonicalFileURL): Removed method.
10359         (JarURLLoader): Don't call removed method.
10360         (FileURLLoader): Likewise.
10361         (FileURLLoader.getResource): Don't canonicalize file name.
10362
10363 2003-01-01  Tom Tromey  <tromey@redhat.com>
10364
10365         * Makefile.in: Rebuilt.
10366         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10367         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10368         java/awt/BufferCapabilities.java, java/awt/Button.java,
10369         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10370         java/awt/Container.java, java/awt/Cursor.java,
10371         java/awt/EventQueue.java, java/awt/FileDialog.java,
10372         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10373         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10374         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10375         java/awt/Scrollbar.java, java/awt/TextArea.java,
10376         java/awt/TextField.java, java/awt/color/CMMException.java,
10377         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10378         java/awt/color/ProfileDataException.java,
10379         java/awt/datatransfer/Clipboard.java,
10380         java/awt/datatransfer/DataFlavor.java,
10381         java/awt/datatransfer/FlavorMap.java,
10382         java/awt/datatransfer/SystemFlavorMap.java,
10383         java/awt/dnd/DragGestureEvent.java,
10384         java/awt/dnd/DragGestureRecognizer.java,
10385         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10386         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10387         java/awt/im/InputMethodHighlight.java,
10388         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10389         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10390
10391         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10392         `op' to BufferedImageOp.
10393
10394 2002-12-31  Tom Tromey  <tromey@redhat.com>
10395
10396         Fix for PR libgcj/7416:
10397         * javax/naming/InitialContext.java (init): Use
10398         gnu.classpath.home.url.
10399         * java/security/Security.java: Use new properties.
10400         (loadProviders): Accept base url; use it.
10401         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10402         gnu.classpath.home.url.
10403         (gnu.classpath.home.url): Define.
10404         (gnu.classpath.vm.shortname): Likewise.
10405
10406 2002-12-31  Tom Tromey  <tromey@redhat.com>
10407             Ranjit Mathew  <rmathew@hotmail.com>
10408
10409         Fix for PR libgcj/8997:
10410         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10411         Include platform.h.
10412         * include/posix.h (_Jv_platform_usleep): New function.
10413         * include/win32.h (_Jv_platform_usleep): New function.
10414
10415 2002-12-29  Tom Tromey  <tromey@redhat.com>
10416
10417         * gcj/javaprims.h: Updated.
10418         * scripts/classes.pl (scan): Removed stray semicolon.
10419
10420 2002-12-30  Mark Wielaard  <mark@klomp.org>
10421
10422         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10423         if zero or smaller.
10424
10425 2002-12-30  Mark Wielaard  <mark@klomp.org>
10426
10427         * java/util/Properties (formatForOutput): Don't fall through to
10428         default case after escaping character.
10429
10430 2002-12-30  Mark Wielaard  <mark@klomp.org>
10431
10432         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10433         against count.
10434
10435 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10436
10437         * boehm.cc: Remove stray semicolon.
10438         * interpret.cc: Likewise.
10439         * prims.cc: Likewise.
10440         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10441         earlier to ensure default arguments are processed.
10442         * gcj/array.h (JArray): Add forward declaration.
10443         (elements): Likewise.
10444         * gcj/javaprim.h: Remove stray semicolons.
10445         * include/bohm-gc.h: Likewise.
10446         * include/jni.h: Likewise.
10447         * include/jvm.h: Likewise.
10448         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10449         
10450 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10451
10452         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10453         of catch_type.
10454         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10455         idt tables after initializing superclass.
10456         * java/lang/natClassLoader.cc (uaddr): New typedef.
10457         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10458         if they are constant pool indicies.  Don't link vtable, otable yet.
10459
10460 2002-12-21  Anthony Green  <green@redhat.com>
10461
10462         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10463         libraries.
10464         * Makefile.in: Rebuilt.
10465
10466 2002-12-19  Anthony Green  <green@redhat.com>
10467
10468         * Makefile.am (ordinary_java_source_files): Add
10469         org/xml/sax/helpers/NewInstance.java.
10470         * Makefile.in: Rebuilt.
10471         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10472         org/xml/sax/helpers/package.html: New files.
10473         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10474         http://www.saxproject.org.
10475
10476 2002-12-19  Andrew Haley  <aph@redhat.com>
10477
10478         * java/util/natResourceBundle.cc: Include
10479         ArrayIndexOutOfBoundsException.h.
10480         (getCallingClassLoader): Don't put upper bound on stack search.
10481         Catch ArrayIndexOutOfBoundsException.
10482
10483 2002-12-19  Tom Tromey  <tromey@redhat.com>
10484
10485         * libtool-version: Increased `current'.
10486
10487 2002-12-19  Tom Tromey  <tromey@redhat.com>
10488
10489         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10490         comment.
10491         * java/lang/ClassLoader.java (defineClass): Use chained
10492         exception when rethrowing.
10493         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10494         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10495         constants.
10496         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10497         (_Jv_PrepareClass): Use it.
10498         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10499         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10500         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10501         (Class): _Jv_PrepareMissingMethods now friend.
10502         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10503         Record `NULL' for system class loader.
10504         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10505         system class loader.
10506         (_Jv_FindClassInCache): Likewise.
10507         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10508         (_Jv_FindClass): Special case system class loader.
10509         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10510         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10511         vtable slots.
10512         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10513         in a final class.
10514         (_getDeclaredMethod): Don't return synthetic methods.
10515         (getDeclaredMethods): Likewise.
10516         (_getMethod): Likewise.
10517         (_getMethods): Likewise.
10518
10519 2002-12-18  Raif Naffah  <raif@fl.net.au>
10520
10521         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10522         canonical form after divide().
10523         (modInverse): Likewise.
10524
10525 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10526             Mark Wielaard  <mark@klomp.org>
10527
10528         * java/security/SecurityRandom (digest): Removed field.
10529         (SecureRandom): Check all providers for case-insensitive SecureRandom
10530         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10531         if necessary.
10532         (getInstance(String,Provider,boolean): New method.
10533         (getInstance(String)): Use new method.
10534         (getInstance(String,String)): Likewise.
10535         (getInstance(String,Provider)): Likewise.
10536
10537 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10538
10539         * java/security/Security.java (loadProviders): Increment i only once.
10540
10541 2002-12-12  Mark Wielaard  <mark@klomp.org>
10542
10543         * java/lang/ClassLoader.java (resolveClass0): Transform
10544         ClassNotFoundException to NoClassDefFoundError. Transform all other
10545         throwables to LinkageError.
10546
10547 2002-12-11  Tom Tromey  <tromey@redhat.com>
10548
10549         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10550
10551         * java/lang/ClassLoader.java (loadedClasses): New field.
10552         (defineClass): Fixed indentation.  Put new class in
10553         loadedClasses.
10554         (findLoadedClass): Implement here.
10555         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10556
10557 2002-12-10  Tom Tromey  <tromey@redhat.com>
10558
10559         * Makefile.in: Rebuilt.
10560         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10561         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10562         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10563         * java/lang/natClassLoader.cc
10564         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10565
10566 2002-12-10  Mark Wielaard  <mark@klomp.org>
10567             Tom Tromey  <tromey@redhat.com>
10568
10569         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10570         (JarURLLoader): Use it.
10571         (FileURLLoader): Likewise.
10572         (JarURLResource.getURL): Use chained exception.
10573         (FileResource.getURL): Likewise.
10574         (FileURLLoader.getResource): Use canonical file name.
10575         (addURL): Indentation fix.
10576
10577 2002-12-10  Tom Tromey  <tromey@redhat.com>
10578
10579         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10580         From Laurent Bardet <l.bardet@magic.fr>.
10581
10582 2002-12-09  Tom Tromey  <tromey@redhat.com>
10583
10584         * include/win32.h (_Jv_platform_solib_prefix): New define.
10585         (_Jv_platform_solib_suffix): Likewise.
10586         * include/posix.h (_Jv_platform_solib_prefix): New define.
10587         (_Jv_platform_solib_suffix): Likewise.
10588         * java/lang/natRuntime.cc: Include StackTrace.h.
10589         (_load): Use findLibrary and new platform defines.
10590         (nativeGetLibname): Use new platform defines.
10591
10592         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10593         `t' won't be null.
10594
10595 2002-12-08  Mark Wielaard  <mark@klomp.org>
10596
10597         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10598         cache remote jar files.
10599         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10600         add File.separator to URL when it is a directory.
10601         * java/lang/ClassLoader.java: Add Classpath javadoc.
10602         (parent): final.
10603         (getParent): Add (disabled) security check.
10604         (findLibrary): New default method.
10605         * java/net/JarURLConnection.java (getManifest): Implement.
10606         (getInputStream): Only create InputStream when entry exists.
10607         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10608         when they exist.
10609         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10610
10611 2002-12-08  Mark Wielaard  <mark@klomp.org>
10612
10613         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10614         (lastDefaultLocale): New field.
10615         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10616         resourceBundleCache.
10617
10618 2002-12-06  Mark Wielaard  <mark@klomp.org>
10619
10620         * java/net/InetAddress.java (toString): Use hostname when not null,
10621         don't do an explicit reverse getHostName() lookup.
10622         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10623         NullPointerException.
10624
10625 2002-12-06  Tom Tromey  <tromey@redhat.com>
10626
10627         * include/java-interp.h (class _Jv_InterpMethod): Added
10628         JV_MARKOBJ_DECL.
10629         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10630         mark `prepared' field of interpreted method.
10631         * interpret.cc (compile): Use _Jv_AllocBytes.
10632
10633 2002-12-05  Andrew Haley  <aph@redhat.com>
10634
10635         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10636         #ifdef (HAVE_BACKTRACE) around the whole function body.
10637
10638 2002-12-05  Tom Tromey  <tromey@redhat.com>
10639
10640         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10641         * resolve.cc: Don't include AbstractMethodError.h.
10642         (_Jv_abstractMethodError): Removed.
10643         * defineclass.cc (handleMethodsBegin): Initialize method index to
10644         -1.
10645         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10646         method index for "new" final method.
10647         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10648         isVirtualMethod.  Added `flags' argument.
10649         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10650         class.
10651
10652 2002-12-04  Tom Tromey  <tromey@redhat.com>
10653
10654         * java/net/SocketPermission.java (hashCode): Rewrote.
10655
10656 2002-12-04  Tom Tromey  <tromey@redhat.com>
10657
10658         * Makefile.in: Rebuilt.
10659         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10660         natResourceBundle.
10661         * java/util/ResourceBundle.java (Security): Removed.
10662         (getCallingClassLoader): Now native.
10663         * java/util/natResourceBundle.cc: New file.
10664         * java/lang/natVMSecurityManager.cc: New file.
10665         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10666
10667 2002-12-03  Mark Wielaard  <mark@klomp.org>
10668
10669         * java/util/jar/JarFile.java (manifest): Not final.
10670         (manifestRead): New field.
10671         (JarFile): Don't read Manifest in constructor.
10672         (getManifest): New method.
10673         (JarEnumeration.nextElement): Use new method.
10674         (getEntry): Likewise.
10675         * java/util/zip/ZipFile.java (name): Final.
10676         (raf): Likewsie.
10677         (entries): Change type to Hashtable.
10678         (closed): New field.
10679         (ZipFile): Don't read enties in constructor.
10680         (readEntries): Use Hashtable.
10681         (close): Set new close flag and set entries to null inside
10682         synchronized block.
10683         (entries): Contruct enumeration using new getEntries() method and
10684         entries Hashtable.
10685         (getEntryIndex): Removed.
10686         (getEntries): New method.
10687         (getEntry): Use new getEntries() method and entries Hastable.
10688         (getInputStream): Likewise.
10689         (size): Return getEntries().size().
10690         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10691         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10692         (time): Removed
10693         (dostime): New field.
10694         (zipFileIndex): Removed.
10695         (ZipEntry(ZipEntry)): Copy dostime.
10696         (setDOSTime): Now final and doesn't convert dos time.
10697         (getDOSTime): Likewise.
10698         (setTime): Convert dos time.
10699         (getTime): Likewise.
10700         (getCalendar): New method.
10701         (setExtra): Use setTime().
10702         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10703
10704 2002-12-03  Tom Tromey  <tromey@redhat.com>
10705
10706         * java/lang/Character.java (forDigit): Formatting fix.
10707
10708 2002-12-03  Raif Naffah  <raif@fl.net.au>
10709
10710         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10711         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10712         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10713
10714 2002-12-03  Andrew Haley  <aph@redhat.com>
10715
10716         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10717         _Jv_PushClass.
10718         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10719         (_Jv_PopClass): New.
10720         (_Jv_PushClass): New.
10721         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10722         discover the ClassLoader of our caller.
10723         (_Jv_CheckArrayStore): Don't check that a class is assignment
10724         compatible with Object.
10725         * java/lang/natVMTHrowable.cc: Delete.
10726         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10727         java.lang.VMThrowable.
10728         (StackTrace(), StackTrace(int)): New constructors.
10729         (classAt, methodAt, update, methodAtAddress): New methods.
10730         (map): New field.
10731         * java/lang/VMThrowable.java: Use StackTrace instead of
10732         natVMTHrowable.
10733         * java/lang/Class.h (getClassLoaderInternal): New.
10734         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10735         Be friendly with gnu::gcj::runtime::StackTrace.
10736         (Object.chain): New field.
10737         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10738         gnu::gcj::runtime::StackTrace.
10739         * gnu/gcj/runtime/natStackTrace.cc: New file.
10740         * gnu/gcj/runtime/MethodRef.java: New file.
10741         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10742         instead of getClassLoader().
10743         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10744         java::lang::VMThrowable.
10745         * Makefile.am (core_java_source_files): Add MethodRef.java,
10746         StackTrace.java.
10747         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10748         * Makefile.in: Rebuild.
10749
10750 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10751
10752         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10753         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10754         yes also for sh-linux* and sh[34]*-linux*.
10755         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10756         set SIGNAL_HANDLER to use DWARF2 exception for them.
10757         * configure: Regenerate.
10758
10759 2002-12-02  Tom Tromey  <tromey@redhat.com>
10760
10761         * jni.cc: Added `name' argument.
10762         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10763         `const char *' argument.
10764         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10765
10766 2002-12-01  Tom Tromey  <tromey@redhat.com>
10767
10768         Bug compatibility, for PR libgcj/8738:
10769         * java/io/CharArrayWriter.java (close): Do nothing.
10770         (flush): Likewise.
10771         (reset): Don't touch `closed'.
10772         (write(int)): Don't throw IOException.
10773         (write(char[],int,int)): Likewise.
10774         (write(String,int,int)): Likewise.
10775         (closed): Removed.
10776
10777 2002-12-01  Mark Wielaard  <mark@klomp.org>
10778
10779         * java/lang/SecurityManager.java: Remerge comments, indenting and
10780         checkXXX methods with Classpath.
10781
10782 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10783
10784         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10785         getNormalizedComponents): Fix calculation which was using one too
10786         many bits in the unnormalized format.
10787
10788 2002-11-29  Gary Benson  <gbenson@redhat.com>
10789
10790         For PR libgcj/8759:
10791         * java/beans/Introspector.java (flushCaches): New method.
10792         (flushFromCaches): Likewise.
10793
10794 2002-11-29  Michael Koch <konqueror@gmx.de>
10795
10796         * java/nio/channels/DatagramChannel.java
10797         (open): Added exception documentation.
10798         (write): Added exception documentation.
10799         (connect): Added exception documentation.
10800         (disconnect): Added exception documentation.
10801         (isConnected): Added exception documentation.
10802         (read): Added exception documentation.
10803         (receive): Added exception documentation.
10804         (send): Added exception documentation.
10805         (validOps): Added exception documentation.
10806         * java/nio/channels/SocketChannel.java
10807         (open): Added exception documentation.
10808         (read): Added exception documentation.
10809         (write): Added exception documentation.
10810         (connect): Added exception documentation.
10811         (finishConnect): Added exception documentation.
10812
10813 2002-11-29  Michael Koch <konqueror@gmx.de>
10814
10815         * gnu/java/nio/DatagramChannelImpl:
10816         (fd): New member variable to store file descriptor of socket.
10817         * gnu/java/nio/SelectionKeyImpl.java:
10818         (ops): Removed.
10819         (readyOps): New member variable.
10820         (interestOps): New member variable.
10821         (readyOps): Implemented.
10822         (readyOps): New method to set member variable readyOps.
10823         (interestOps): Replaced ops by interestOps.
10824         * gnu/java/nio/SelectorImpl.java:
10825         (SelectorImpl): Initialize key sets.
10826         (select): Call select with -1 instead of Long.MAX_VALUE).
10827         (java_do_select): Make it a native method.
10828         (getFDsAsArray): New helper method.
10829         (select): Remove canceled keys, give only interested file discriptors
10830         to java_do_select, set ready ops.
10831         (add): No need to initialize keys set here.
10832         (add_selected): No need to initialize selected set here.
10833         (deregisterCanceledKeys): New helper method.
10834         (register): Set interest ops, set attachments, added handling of datagram
10835         channels.
10836         * gnu/java/nio/ServerSocketChannelImpl:
10837         (SocketAccept): Renamed from NioSocketAccept.
10838         (implConfigureBlocking): Implemented.
10839         (accept): Use SocketAccept instead of NioSocketAccept.
10840         * gnu/java/nio/SocketChannelImpl:
10841         Reactivate native methods.
10842
10843 2002-11-29  Michael Koch <konqueror@gmx.de>
10844
10845         * gnu/java/nio/natByteBufferImpl.cc,
10846         gnu/java/nio/natCharBufferImpl.cc,
10847         gnu/java/nio/natDoubleBufferImpl.cc,
10848         gnu/java/nio/natFloatBufferImpl.cc,
10849         gnu/java/nio/natIntBufferImpl.cc,
10850         gnu/java/nio/natLongBufferImpl.cc,
10851         gnu/java/nio/natSelectorImpl.cc,
10852         gnu/java/nio/natServerSocketChannelImpl.cc,
10853         gnu/java/nio/natShortBufferImpl.cc,
10854         gnu/java/nio/natSocketChannelImpl.cc:
10855         New files that implement native functionalities.
10856
10857 2002-11-29  Michael Koch <konqueror@gmx.de>
10858
10859         * gnu/java/nio/ByteBufferImpl.java
10860         (ByteBufferImpl): Moved position() after limit.
10861         (nio_*): Use native implementation.
10862         * gnu/java/nio/CharBufferImpl.java:
10863         Reformated.
10864         (endian): New member variable string endianess of buffer.
10865         (CharBufferImpl): Moved position() after limit.
10866         (nio_*): Use native implementation.
10867         (subSequence): Implemented.
10868         * gnu/java/nio/DoubleBufferImpl.java
10869         (DoubleBufferImpl): Moved position() after limit.
10870         (nio_*): Use native implementation.
10871         * gnu/java/nio/FloatBufferImpl.java
10872         Reformated.
10873         (FloatBufferImpl): Moved position() after limit.
10874         (nio_*): Use native implementation.
10875         * gnu/java/nio/IntBufferImpl.java
10876         Added needed imports, Reformated.
10877         (IntBufferImpl): Moved position() after limit.
10878         (nio_*): Use native implementation.
10879         * gnu/java/nio/LongBufferImpl.java
10880         Reformated.
10881         (LongBufferImpl): Moved position() after limit.
10882         (nio_*): Use native implementation.
10883         * gnu/java/nio/ShortBufferImpl.java
10884         Reformated.
10885         (ShortBufferImpl): Moved position() after limit.
10886         (nio_*): Use native implementation.
10887
10888 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10889
10890         * java/util/Locale.java (toString): Improve efficiency if country
10891         and variant are both empty.
10892
10893 2002-11-26  Tom Tromey  <tromey@redhat.com>
10894
10895         * verify.cc (pop_init_ref): New method.
10896         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10897         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10898         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10899         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10900         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10901         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10902         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10903         let `this' argument be uninitialized.  Don't let `null' be passed
10904         as `this' to construtor.
10905
10906 2002-11-26  Mark Wielaard  <mark@klomp.org>
10907
10908         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10909         * javax/transaction/HeuristicMixedException.java: Likewise.
10910         * javax/transaction/HeuristicRollbackException.java: Likewise.
10911         * javax/transaction/InvalidTransactionException.java: Likewise.
10912         * javax/transaction/NotSupportedException.java: Likewise.
10913         * javax/transaction/RollbackException.java: Likewise.
10914         * javax/transaction/Status.java: Likewise.
10915         * javax/transaction/Synchronization.java: Likewise.
10916         * javax/transaction/SystemException.java: Likewise.
10917         * javax/transaction/Transaction.java: Likewise.
10918         * javax/transaction/TransactionManager.java: Likewise.
10919         * javax/transaction/TransactionRequiredException.java: Likewise.
10920         * javax/transaction/TransactionRolledbackException.java: Likewise.
10921         * javax/transaction/UserTransaction.java: Likewise.
10922         * javax/transaction/xa/XAException.java: Likewise.
10923         * javax/transaction/xa/XAResource.java: Likewise.
10924         * javax/transaction/xa/Xid.java: Likewise.
10925
10926 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10927
10928         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10929         define.
10930         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10931         * include/posix.h (socklen_t): Define if not already defined.
10932
10933 2002-11-25  Tom Tromey  <tromey@redhat.com>
10934
10935         * verify.cc (type::compatible): Backed out broken change.
10936
10937         * verify.cc (type::compatible): Check initialization status
10938         first.
10939         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10940         Don't use NULLCHECK.
10941
10942 2002-11-23  H.J. Lu <hjl@gnu.org>
10943
10944         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10945         Include ../config/accross.m4.
10946         * aclocal.m4; Rebuild.
10947         * configure: Likewise.
10948
10949 2002-11-23  Mark Wielaard  <mark@klomp.org>
10950
10951         * javax/naming/AuthenticationException.java: Update copyright header.
10952         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10953         * javax/naming/Binding.java: Likewise.
10954         * javax/naming/CannotProceedException.java: Likewise.
10955         * javax/naming/CommunicationException.java: Likewise.
10956         * javax/naming/CompositeName.java: Likewise.
10957         * javax/naming/CompoundName.java: Likewise.
10958         * javax/naming/ConfigurationException.java: Likewise.
10959         * javax/naming/Context.java: Likewise.
10960         * javax/naming/ContextNotEmptyException.java: Likewise.
10961         * javax/naming/InitialContext.java: Likewise.
10962         * javax/naming/InsufficientResourcesException.java: Likewise.
10963         * javax/naming/InterruptedNamingException.java: Likewise.
10964         * javax/naming/LimitExceededException.java: Likewise.
10965         * javax/naming/LinkException.java: Likewise.
10966         * javax/naming/LinkLoopException.java: Likewise.
10967         * javax/naming/LinkRef.java: Likewise.
10968         * javax/naming/MalformedLinkException.java: Likewise.
10969         * javax/naming/NameAlreadyBoundException.java: Likewise.
10970         * javax/naming/NameClassPair.java: Likewise.
10971         * javax/naming/NameNotFoundException.java: Likewise.
10972         * javax/naming/NameParser.java: Likewise.
10973         * javax/naming/NamingEnumeration.java: Likewise.
10974         * javax/naming/NamingSecurityException.java: Likewise.
10975         * javax/naming/NoInitialContextException.java: Likewise.
10976         * javax/naming/NoPermissionException.java: Likewise.
10977         * javax/naming/NotContextException.java: Likewise.
10978         * javax/naming/OperationNotSupportedException.java: Likewise.
10979         * javax/naming/PartialResultException.java: Likewise.
10980         * javax/naming/Reference.java: Likewise.
10981         * javax/naming/Referenceable.java: Likewise.
10982         * javax/naming/ReferralException.java: Likewise.
10983         * javax/naming/ServiceUnavailableException.java: Likewise.
10984         * javax/naming/SizeLimitExceededException.java: Likewise.
10985         * javax/naming/TimeLimitExceededException.java: Likewise.
10986         * javax/naming/directory/Attribute.java: Likewise.
10987         * javax/naming/directory/AttributeInUseException.java: Likewise.
10988         * javax/naming/directory/AttributeModificationException.java: Likewise.
10989         * javax/naming/directory/Attributes.java: Likewise.
10990         * javax/naming/directory/BasicAttribute.java: Likewise.
10991         * javax/naming/directory/BasicAttributes.java: Likewise.
10992         * javax/naming/directory/DirContext.java: Likewise.
10993         * javax/naming/directory/InitialDirContext.java: Likewise.
10994         * javax/naming/directory/InvalidAttributeIdentifierException.java:
10995         Likewise.
10996         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10997         * javax/naming/directory/InvalidAttributesException.java: Likewise.
10998         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10999         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11000         * javax/naming/directory/ModificationItem.java: Likewise.
11001         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11002         * javax/naming/directory/SchemaViolationException.java: Likewise.
11003         * javax/naming/directory/SearchControls.java: Likewise.
11004         * javax/naming/directory/SearchResult.java: Likewise.
11005         * javax/naming/event/EventContext.java: Likewise.
11006         * javax/naming/event/EventDirContext.java: Likewise.
11007         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11008         * javax/naming/event/NamingEvent.java: Likewise.
11009         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11010         * javax/naming/event/NamingListener.java: Likewise.
11011         * javax/naming/event/ObjectChangeListener.java: Likewise.
11012         * javax/naming/ldap/Control.java: Likewise.
11013         * javax/naming/ldap/ControlFactory.java: Likewise.
11014         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11015         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11016         * javax/naming/ldap/HasControls.java: Likewise.
11017         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11018         * javax/naming/ldap/LdapContext.java: Likewise.
11019         * javax/naming/ldap/LdapReferralException.java: Likewise.
11020         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11021         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11022         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11023         * javax/naming/spi/DirObjectFactory.java: Likewise.
11024         * javax/naming/spi/DirStateFactory.java: Likewise.
11025         * javax/naming/spi/DirectoryManager.java: Likewise.
11026         * javax/naming/spi/InitialContextFactory.java: Likewise.
11027         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11028         * javax/naming/spi/NamingManager.java: Likewise.
11029         * javax/naming/spi/ObjectFactory.java: Likewise.
11030         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11031         * javax/naming/spi/ResolveResult.java: Likewise.
11032         * javax/naming/spi/Resolver.java: Likewise.
11033         * javax/naming/spi/StateFactory.java: Likewise.
11034
11035         * javax/naming/spi/NamingManager.java (ofb): Package private.
11036
11037 2002-11-21  Mark Wielaard  <mark@klomp.org>
11038
11039         * java/net/URL.java: Merge with Classpath (partly).
11040         * java/net/URLStreamHandler: Merge with Classpath.
11041
11042 2002-11-22  Michael Koch <konqueror@gmx.de>
11043
11044         * include/posix.h:
11045         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11046         * include/win32.h:
11047         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11048         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11049
11050 2002-11-21  Michael Koch <konqueror@gmx.de>
11051
11052         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11053         Only the new network functions should be in it.
11054
11055 2002-11-21  Michael Koch <konqueror@gmx.de>
11056
11057         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11058         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11059
11060 2002-11-21  Michael Koch <konqueror@gmx.de>
11061
11062         * java/nio/channels/AsynchronousCloseException.java,
11063         java/nio/channels/CancelledKeyException.java,
11064         java/nio/channels/ClosedByInterruptException.java,
11065         java/nio/channels/ConnectionPendingException.java,
11066         java/nio/channels/FileLockInterruptionException.java,
11067         java/nio/channels/IllegalSelectorException.java,
11068         java/nio/channels/NoConnectionPendingException.java,
11069         java/nio/channels/NonReadableChannelException.java,
11070         java/nio/channels/NonWritableChannelException.java,
11071         java/nio/channels/NotYetBoundException.java,
11072         java/nio/channels/NotYetConnectedException.java,
11073         java/nio/channels/OverlappingFileLockException.java,
11074         java/nio/channels/UnresolvedAddressException.java,
11075         java/nio/channels/UnsupportedAddressTypeException.java:
11076         New files.
11077         * Makefile.am (ordinary_java_source_files): Added new files.
11078         * Makefile.in: Regenerated.
11079
11080 2002-11-21  Michael Koch <konqueror@gmx.de>
11081
11082         * include/posix.h
11083         (_Jv_socket): New method.
11084         (_Jv_connect): New method.
11085         (_Jv_close): New method.
11086         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11087         (_Jv_bind): New method.
11088         (_Jv_listen): New method.
11089         (_Jv_write): New method.
11090         (_Jv_read): New method.
11091         * include/win32.h
11092         (_Jv_socket): New method.
11093         (_Jv_connect): New method.
11094         (_Jv_close): New method.
11095         (_Jv_bind): New method.
11096         (_Jv_listen): New method.
11097         (_Jv_write): New method.
11098         (_Jv_read): New method.
11099         * java/net/natNetworkInterface.cc:
11100         Include platform.h, removed inclusion of socket.h
11101         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11102         ::close() by _Jv_close().
11103         * java/net/natPlainDatagramSocketImpl.cc:
11104         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11105         added some new lines to make code more readable.
11106         (create): Replaced ::socket() by _Jv_socket().
11107         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11108         * java/net/natPlainSocketImpl.cc:
11109         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11110         removed include of socket.h, removed some windows defines
11111         (now in include/win32.h).
11112         (create): Replaced ::socket() by _Jv_socket().
11113         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11114         (write): Replaced ::read by _Jv_write().
11115         (read): Replaced ::read by _Jv_read().
11116
11117 2002-11-20  Michael Koch <konqueror@gmx.de>
11118
11119         * Makefile.am (ordinary_java_source_files):
11120         Added java/nio/channels/FileChannel.java.
11121         * Makefile.in: Regenerated.
11122
11123 2002-11-20  Michael Koch <konqueror@gmx.de>
11124
11125         * java/io/FileInputStream.java
11126         (getChannel): New method.
11127         * java/io/FileOutputStream.java
11128         (getChannel): New method.
11129         * java/net/ServerSocket.java
11130         (bind): Removed duplicate code and called another bind method instead.
11131         * java/nio/channels/SelectionKey.java
11132         (isValid): Removed wrong exception documentation.
11133         * java/nio/channels/ServerSocketChannel.java
11134         (accept): Added exception documentation.
11135         (open): Fixed typo, added exception documentation.
11136         * java/nio/channels/spi/AbstractSelectableChannel.java
11137         (implCloseChannel): Added exception documentation.
11138         (add): Reformated.
11139         (register): Added exception documentation.
11140
11141 2002-11-20  Andreas Jaeger  <aj@suse.de>
11142
11143         * configure: Regenerated with new libtool.m4.
11144
11145 2002-11-19  Tom Tromey  <tromey@redhat.com>
11146
11147         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11148         `referent'.
11149         (finalize_referred_to_object): Don't modify `referent' or `copy'
11150         fields.
11151         (add_to_hash): Correctly set `n->next' when updating list.
11152         * java/lang/ref/Reference.java (enqueue): Return false if already
11153         enqueued.
11154
11155 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11156
11157         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11158         to function and function pointer declarations in accordance with
11159         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11160         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11161         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11162         JNI function definitions.
11163
11164 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11165
11166         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11167         that was causing CoderResults to be cached, not WeakReferences
11168         to CoderResults.
11169
11170 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11171
11172         * java/security/KeyStore.java (getInstance): Fix
11173         comment and throw IllegalArgumentException if
11174         given provider is null.
11175         (getInstance): New method for jdk1.4 compatibility.
11176
11177 2002-11-18  Michael Koch <konqueror@gmx.de>
11178
11179         * java/net/PlainSocketImpl.java: Fix imports.
11180
11181 2002-11-18  Michael Koch <konqueror@gmx.de>
11182
11183         * java/nio/channels/SelectionKey.java
11184         (isValid): Added exception documentation.
11185         * java/nio/channels/Selector.java
11186         (open): Declare "throws IOException".
11187
11188 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11189
11190         * java/nio/charset/Charset.java
11191         (<clinit>): New method.
11192         (encode): Synchronize use of cached encoder object.
11193         (decode): Synchronize use of cached encoder object.
11194
11195 2002-11-18  Michael Koch <konqueror@gmx.de>
11196
11197         * gnu/java/nio/ByteBufferImpl.java,
11198         gnu/java/nio/CharBufferImpl.java,
11199         gnu/java/nio/DatagramChannelImpl.java,
11200         gnu/java/nio/DoubleBufferImpl.java,
11201         gnu/java/nio/FileChannelImpl.java,
11202         gnu/java/nio/FloatBufferImpl.java,
11203         gnu/java/nio/IntBufferImpl.java,
11204         gnu/java/nio/LongBufferImpl.java,
11205         gnu/java/nio/PipeImpl.java,
11206         gnu/java/nio/SelectionKeyImpl.java,
11207         gnu/java/nio/SelectorImpl.java,
11208         gnu/java/nio/SelectorProviderImpl.java,
11209         gnu/java/nio/ServerSocketChannelImpl.java,
11210         gnu/java/nio/ShortBufferImpl.java,
11211         gnu/java/nio/SocketChannelImpl.java,
11212         java/nio/DoubleBuffer.java,
11213         java/nio/FloatBuffer.java,
11214         java/nio/IntBuffer.java,
11215         java/nio/LongBuffer.java,
11216         java/nio/ShortBuffer.java,
11217         java/nio/channels/FileChannel.java: New files.
11218
11219 2002-11-18  Michael Koch <konqueror@gmx.de>
11220
11221         * Makefile.am (ordinary_java_source_files):
11222         Added java/nio/ReadOnlyBufferException.java and
11223         java/nio/channels/ClosedSelectorException.java.
11224         * Makefile.in: Regenerated.
11225
11226 2002-11-18  Michael Koch <konqueror@gmx.de>
11227
11228         * java/net/PlainSocketImpl.java: Reworked imports.
11229         * java/net/ServerSocket.java
11230         (ServerSocket): Create socket.
11231         * java/net/SocketAddress.java: Documentation added.
11232         * java/net/natPlainSocketImpl.cc: Reindented.
11233         * java/nio/ReadOnlyBufferException.java: New file
11234         * java/nio/channels/ClosedChannelException.java: Documentation added.
11235         * java/nio/channels/ClosedSelectorException.java: New file.
11236
11237 2002-11-17  Mark Wielaard  <mark@klomp.org>
11238
11239         * java/net/HttpURLConnection.java ((getPermission): Take port
11240         into consideration.
11241         (getErrorStream): Implement.
11242
11243 2002-11-17  Mark Wielaard  <mark@klomp.org>
11244
11245         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11246
11247 2002-11-16  Mark Wielaard  <mark@klomp.org>
11248
11249         Integrate work by Raif S. Naffah (raif@fl.net.au)
11250         * java/security/DummyKeyPairGenerator.java (clone): New method.
11251         * java/security/DummyMessageDigest.java (clone): New method.
11252         (engineUpdate): Now public.
11253         (engineReset): Likewise.
11254         (engineDigest): Likewise.
11255         (engineGetDigestLength): New method.
11256         * java/security/DummySignature.java (clone): New method.
11257         * java/security/KeyPairGenerator.java (provider): Now package private.
11258         (getInstance(String)): Use getInstance(String,Provider).
11259         (getInstance(String,String): Use getInstance(String,Provider)
11260         (getInstance(String,Provider): New method.
11261         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11262         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11263         * java/security/MessageDigest.java (provider): Now package private.
11264         (getInstance(String): Use getInstance(String,Provider).
11265         (getInstance(String,String): Use getInstance(String,Provider)
11266         (getInstance(String,Provider): New method.
11267         * java/security/Provider.java (toCanonicalKey): New method.
11268         (get): New method that uses toCanonicalKey().
11269         (put): Use toCanonicalKey().
11270         (remove): Likewise.
11271         * java/security/Security.java (insertProviderAt): Provider index is one
11272         based, not zero based.
11273         (addProvider): Likewise.
11274         (removeProvider): Likewise.
11275         * java/security/Signature.java (provider): Now package private.
11276         (getInstance(String)): Use getInstance(String,Provider).
11277         (getInstance(String,String): Use getInstance(String,Provider)
11278         (getInstance(String,Provider): New method.
11279         (getInstance(String,String,Provider): Don't cast DummySignature.
11280
11281 2002-11-15  Tom Tromey  <tromey@redhat.com>
11282
11283         For PR libgcj/8593:
11284         * java/util/zip/GZIPInputStream.java (read): Check file size.
11285         Look in inflater for remaining input bytes.
11286         (read4): Added buf and offset arguments.
11287
11288 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11289
11290         * java/applet/AppletContext.java: Fix typo and remove redundant
11291         modifiers.
11292
11293 2002-11-14  Tom Tromey  <tromey@redhat.com>
11294
11295         * java/lang/natRuntime.cc (insertSystemProperties): Set
11296         gnu.classpath.home.
11297
11298 2002-11-13  Michael Koch <konqueror@gmx.de>
11299
11300         * java/nio/ByteBuffer.java
11301         (allocate): New method.
11302         (wrap): New method.
11303         (put): New method.
11304         (get): New method.
11305
11306 2002-11-13  Michael Koch <konqueror@gmx.de>
11307
11308         * java/nio/channels/AlreadyConnectedException.java:
11309         Removed unneeded import.
11310         (AlreadyConnectedException): Documentation added.
11311         * java/nio/channels/Pipe.java
11312         (SinkChannel.SinkChannel): Documentation added.
11313         (SinkChannel.validOps): New method.
11314         (SourceChannel.SourceChannel): Documentation added.
11315         (SourceChannel.validOps): New method.
11316         (Pipe): Documentation added.
11317         (open): Documentation added.
11318         (SinkChannel.channel): Documentation added.
11319         (SourceChannel.channel): Documentation added.
11320         * java/nio/channel/SelectableChannel.java
11321         (SelectableChannel): Documentation added.
11322         (blockingLock): Documentation added.
11323         (configureBlocking):Documentation added.
11324         (isBlocking):Documentation added.
11325         (isRegistered):Documentation added.
11326         (keyFor):Documentation added.
11327         (provider):Documentation added.
11328         (register): Documentation added.
11329         (validOps): Documentation added.
11330         * jaba/nio/channels/SelectionKey.java
11331         (SelectionKey): Documentation added.
11332         (attach): Documentation added.
11333         (attachment): Documentation added.
11334         (isAcceptable): Documentation added.
11335         (isConnetable): Documentation added.
11336         (isReadable): Documentation added.
11337         (isWritable): Documentation added.
11338         (cancel): Documentation added.
11339         (channel): Documentation added.
11340         (interestOps): Documentation added.
11341         (isValid): Documentation added.
11342         (readyOps): Documentation added.
11343         (selector): Documentation added.
11344         * jaba/nio/channels/Selector.java
11345         (Selector): Documentation added.
11346         (open): Documentation added.
11347         (close): Documentation added.
11348         (isOpen): Documentation added.
11349         (keys): Documentation added.
11350         (provider): Documentation added.
11351         (select): Documentation added.
11352         (selectedKeys): Documentation added.
11353         (selectNow): Documentation added.
11354         (wakeup): Documentation added.
11355         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11356         (AbstractInterruptibleChannel): Documentation added.
11357         (opened): Default to true;
11358         (begin): Documentation added.
11359         (close): Set opened to false, documentation added.
11360         (isOpen): Documentation added.
11361         * java/nio/channels/spi/AbstractSelectionKey.java
11362         (AbstractSelectionKey): Documentation added.
11363         (cancel): Documentation added.
11364         (isValid): Documentation added.
11365         * java/nio/channels/spi/AbstractSelector.java
11366         (AbstractSelector): Documentation added.
11367         (begin): Documentation added.
11368         (close): Documentation added.
11369         (isOpen): Documentation added.
11370         (deregister): Documentation added.
11371         (end): Documentation added.
11372         (provider): Documentation added.
11373         (implCloseSelector): Documentation added.
11374         (register): Documentation added.
11375         * java/nio/channels/spi/SelectorProvider.java
11376         (SelectorProvider): Documentation added.
11377         (openDatagramChannel): Documentation added.
11378         (openPipe): Documentation added.
11379         (openSelector): Documentation added.
11380         (openServerSocketChannel): Documentation added.
11381         (openSocketChannel): Documentation added.
11382         (provider): Documentation added.
11383
11384 2002-11-12  Michael Koch <konqueror@gmx.de>
11385
11386         * java/nio/Buffer.java: Implemented.
11387         * java/nio/CharBuffer.java: New file.
11388         * java/nio/InvalidMarkException.java: New file.
11389         * java/nio/channels/DatagramChannel.java: Implemented.
11390         * java/nio/channels/ServerSocketChannel.java: Implemented.
11391         * java/nio/channels/SocketChannel.java: Implemented.
11392         * java/nio/channels/spi/AbstractChannel.java: Removed.
11393         * java/nio/channels/spi/AbstractSelectableChannel.java:
11394         Implemented.
11395         * java/nio/charset/Charset.java:
11396         Merge from Classpath.
11397         * java/nio/charset/CharsetDecoder.java: New file.
11398         * java/nio/charset/CharsetEncoder.java: New file.
11399         * java/nio/charset/CoderResult.java: New file.
11400         * Makefile.am (ordinary_java_source_files): Added new files.
11401         * Makefile.in: Regenerated.
11402
11403 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11404
11405         * gnu/java/nio/charset/ISO_8859_1.java,
11406         gnu/java/nio/charset/Provider.java,
11407         gnu/java/nio/charset/US_ASCII.java,
11408         gnu/java/nio/charset/UTF_16.java,
11409         gnu/java/nio/charset/UTF_16BE.java,
11410         gnu/java/nio/charset/UTF_16Decoder.java,
11411         gnu/java/nio/charset/UTF_16Encoder.java,
11412         gnu/java/nio/charset/UTF_16LE.java,
11413         gnu/java/nio/charset/UTF_8.java: New files.
11414
11415 2002-11-11  Michael Koch <konqueror@gmx.de>
11416
11417         * java/nio/charset/CharacterCodingException.java:
11418         This class must be public.
11419         * java/nio/charset/CoderMalfunctionError.java:
11420         This class must be public.
11421         * java/nio/charset/CodingErrorAction.java:
11422         This class must be public.
11423         * java/nio/charset/IllegalCharsetNameException.java:
11424         This class must be public, better implementation.
11425         * java/nio/charset/MalformedInputException.java:
11426         This class must be public, better implementation.
11427         * java/nio/charset/UnmappableCharacterException.java:
11428         This class must be public, better implementation.
11429         * java/nio/charset/UnsupportedCharsetException.java:
11430         This class must be public, better implementation.
11431
11432 2002-11-11  Michael Koch <konqueror@gmx.de>
11433
11434         * java/nio/BufferOverflowException.java,
11435         java/nio/BufferUnderflowException.java: New file.
11436         * Makefile.am (ordinary_java_source_files):
11437         Added new files.
11438         * Makefile.in: Regenerated.
11439
11440 2002-11-10  Tom Tromey  <tromey@redhat.com>
11441
11442         * java/awt/Container.java (validate): Use tree lock.
11443         (getComponent): Likewise.
11444         (getComponents): Likewise.
11445         (addImpl): Likewise.
11446         (remove): Likewise.
11447         (removeAll): Likewise.
11448         (processEvent): Fixed indentation.
11449         (getComponentAt): Use tree lock.
11450         (findComponentAt): Likewise.
11451         (removeNotify): Likewise.
11452         (isAncestorOf): Likewise.
11453         (list): Likewise.
11454         (visitChildren): Likewise.
11455         (findNextFocusComponent): Likewise.
11456         (addNotifyContainerChildren): Likewise.
11457         (getAccessibleChildrenCount): Likewise.
11458         (getAccessibleChild): Likewise.
11459
11460         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11461         (getSize): Likewise.
11462         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11463         (getSize): Likewise.
11464         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11465         (calcSize): Likewise.
11466         * java/awt/CardLayout.java (getSize): Use tree lock.
11467         (gotoComponent): Likewise.
11468         (layoutContainer): Likewise.
11469
11470         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11471         count is 0.
11472         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11473         count is 0.
11474
11475         * java/io/Externalizable.java, java/io/FilePermission.java,
11476         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11477         java/io/SerializablePermission.java, java/text/Format.java,
11478         java/util/AbstractMap.java, java/util/HashMap.java,
11479         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11480         versions from Classpath.
11481
11482 2002-11-10  Anthony Green  <green@redhat.com>
11483
11484         * java/util/jar/Attributes.java (Name): Fix name check.
11485
11486 2002-11-10  Mark Wielaard  <mark@klomp.org>
11487
11488         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11489         with getName() as message.
11490         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11491         type as message.
11492
11493         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11494         unused.
11495
11496 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11497
11498         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11499         for Win32. JNICALL has been defined to __stdcall to be compatible
11500         with Sun's JDKs.
11501
11502 2002-11-10  Tom Tromey  <tromey@redhat.com>
11503
11504         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11505         (setRows): Check newRows, not rows.
11506
11507         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11508
11509 2002-11-09  Tom Tromey  <tromey@redhat.com>
11510
11511         * java/applet/Applet.java, java/applet/AppletContext.java,
11512         java/applet/AppletStub.java, java/applet/AudioClip.java,
11513         java/awt/CardLayout.java,
11514         java/awt/ContainerOrderFocusTraversalPolicy.java,
11515         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11516         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11517         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11518         java/awt/color/ICC_ColorSpace.java,
11519         java/awt/color/ICC_Profile.java,
11520         java/awt/color/ICC_ProfileGray.java,
11521         java/awt/color/ICC_ProfileRGB.java,
11522         java/awt/datatransfer/DataFlavor.java,
11523         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11524         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11525         New versions from Classpath.
11526         * Makefile.in: Rebuilt.
11527         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11528         ICC_ProfileRGB.
11529
11530         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11531         display policy.
11532
11533         * java/awt/List.java (processEvent): Added missing `else's.
11534
11535         * java/awt/Window.java (show): validate() before showing.  Make
11536         parent displayable.
11537         (isDisplayable): New method.
11538
11539 2002-11-07  Mark Wielaard  <mark@klomp.org>
11540
11541         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11542         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11543
11544         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11545         annotation.
11546         (loadClass): Take String as codebases.
11547         (getClassAnnotation): Use MyClassLoader annotations.
11548         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11549         call exportObject(this).
11550
11551         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11552         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11553         (setAnnotation): Don't set locBytesStream and locStream.
11554         (replaceObject): Removed.
11555         (flush): Don't test locStream.
11556         (getLocBytes): LikeWise.
11557         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11558         (leaseCache): New field.
11559         (dirty): Use leaseCache.
11560         (LeaseRecord): New inner class.
11561         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11562         explicitly call exportObject().
11563         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11564         false to communicate with Sun JDK130.
11565         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11566         * gnu/java/rmi/server/RMIObjectInputStream.java
11567         (UnicastConnectionManager): Removed field.
11568         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11569         Use UnicastServer.getExportedRef().
11570         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11571         (expireTime): Likewise.
11572         (CONNECTION_TIMEOUT): Likewise.
11573         (disconnect): Call sock.close().
11574         (isExpired): New method.
11575         (resetTime): Likewise.
11576         (run): Use do while loop and catch Exception for discardConnection().
11577         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11578         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11579         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11580         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11581         (exportObject): Use refcache.
11582         (unexportObject): Likewise.
11583         (getExportedRef): New method.
11584         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11585         constructor.
11586         (exportObject): Save manager.serverobj.
11587         (getStub): New method.
11588
11589 2002-11-07  Mark Wielaard  <mark@klomp.org>
11590
11591         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11592         (getByte): Likewise.
11593         (getShort): Likewise.
11594         (getInt): Likewise.
11595         (getLong): Likewise.
11596         (getFloat): Likewise.
11597         (getDouble): Likewise.
11598         (get): Likewise.
11599         (setChar): Likewise.
11600         (setByte): Likewise.
11601         (setShort): Likewise.
11602         (setInt): Likewise.
11603         (setLong): Likewise.
11604         (setFloat): Likewise.
11605         (setDouble): Likewise.
11606
11607 2002-11-07  Michael Koch <konqueror@gmx.de>
11608
11609         * java/awt/Choice.java,
11610         java/awt/Container.java,
11611         java/awt/GridBagLayout.java:
11612         Fixed documentation.
11613         * java/awt/peer/ContainerPeer.java:
11614         Reindented.
11615
11616 2002-11-07  Michael Koch <konqueror@gmx.de>
11617
11618         * java/awt/color/ICC_Profile.java:
11619         Added missing constants.
11620         * java/awt/color/ICC_ColorSpace.java
11621         (getMinValue): Added dummy implementation.
11622         (getMaxValue): Added dummy implementation.
11623         * java/awt/datatransfer/DataFlavor.java
11624         (imageFlavor): Added.
11625         (isMimeTypeEqual): Must be final.
11626         (getDefaultRepresentationClass): Must be non-static.
11627         (getDefaultRepresentationClassAsString): Must be non-static.
11628         * java/awt/dnd/DragSourceContext.java
11629         (dragExit): Corrected argument.
11630         (dragDropEnd): Corrected argument.
11631         * java/awt/dnd/DragSourceListener.java.java
11632         (dragExit): Corrected argument.
11633         (dragDropEnd): Corrected argument.
11634         * java/awt/font/TextHitInfo.java
11635         (toString): Added stubbed implementation.
11636         * java/awt/geom/PathIterator.java:
11637         The constants must be static.
11638         * java/awt/image/VolatileImage.java
11639         (IMAGE_INCOMPATIBLE): Fixed typo.
11640         * java/awt/image/renderable/RenderableImage.java
11641         (HINTS_OBSERVED): Must be static.
11642         * java/beans/BeanInfo.java:
11643         Constants must be final.
11644
11645 2002-11-06  Tom Tromey  <tromey@redhat.com>
11646
11647         From svens@it.uu.se.  For PR libgcj/8481.
11648         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11649
11650 2002-11-06  Tom Tromey  <tromey@redhat.com>
11651
11652         * jni.cc (array_from_valist): Assume that jlong won't be
11653         promoted.
11654
11655 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11656
11657         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11658         Return 20.
11659         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11660         Return 16.
11661
11662 2002-11-03  Tom Tromey  <tromey@redhat.com>
11663
11664         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11665         VMClassLoader, not findClass.
11666
11667 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11668
11669         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11670         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11671         _Jv_DetermineVTableIndex, to determine vtable offset.
11672         (_Jv_DetermineVTableIndex): Remove.
11673         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11674
11675         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11676
11677 2002-11-03  Tom Tromey  <tromey@redhat.com>
11678
11679         * java/nio/channels/AlreadyConnectedException.java: Extend
11680         IllegalStateException, per spec.
11681
11682 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11683
11684         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11685
11686 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11687
11688         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11689         size items.
11690
11691 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11692
11693         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11694         initial estimated size to avoid enlarge buffer frequently.
11695
11696 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11697
11698         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11699         ClassLoader when null.
11700         (ProxyType.hashCode): Loader null check no longer needed.
11701         (ProxyType.sameTypes): New method.
11702         (ProxyType.equals): Use new method.
11703
11704 2002-10-31  Mark Wielaard  <mark@klomp.org>
11705
11706         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11707         length of String.
11708         * java/net/URLEncoder.java (encode): Likewise.
11709
11710 2002-10-31  Mark Wielaard  <mark@klomp.org>
11711
11712         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11713         when stream is closed.
11714         (closeEntry): Likewise.
11715         (read): Likewise.
11716         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11717         ZipException when no entry active.
11718         (closeEntry): Likewise.
11719         (write): Likewise.
11720
11721 2002-11-02  Tom Tromey  <tromey@redhat.com>
11722
11723         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11724         * java/lang/natClass.cc (initializeClass): Don't return just
11725         because self==thread.
11726
11727         For PR java/8415:
11728         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11729         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11730
11731 2002-11-02  Andreas Schwab  <schwab@suse.de>
11732
11733         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11734         pass GCJFLAGS.
11735         (FLAGS_TO_PASS): Define.
11736         * Makefile.in: Regenerated.
11737
11738 2002-11-01  Michael Koch  <konqueror@gmx.de>
11739
11740         * java/nio/ByteOrder.java: New file.
11741         * java/nio/channels/DatagramChannel.java:
11742         (DatagramChannel): New constructor.
11743         * java/nio/channels/Pipe.java: New file.
11744         * java/nio/channels/SelectableChannel.java: New file.
11745         * java/nio/channels/SelectionKey.java: New file.
11746         * java/nio/channels/Selector.java: New file.
11747         * java/nio/channels/ServerSocketChannel.java
11748         (ServerSocketChannel): New constructor.
11749         * java/nio/channels/SocketChannel.java
11750         (SocketChannel): New constructor.
11751         * java/nio/channels/Pipe.java: New file.
11752         * java/nio/channels/spi/AbstractChannel.java: New file.
11753         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11754         * java/nio/channels/spi/AbstractSelectableChannel.java:
11755         License added
11756         (AbstractSelectableChannel): New stubbed method.
11757         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11758         * java/nio/channels/spi/AbstractSelector.java: New file.
11759         * java/nio/channels/spi/SelectorProvider.java: New file.
11760         * java/nio/charset/Charset.java: New file.
11761         * java/nio/charset/CoderMalfunctionError.java: New file.
11762         * java/nio/charset/CodingErrorAction.java: New file.
11763         * java/nio/charset/spi/CharsetProvider.java
11764         (charsetForName): Uncommented.
11765         * Makefile.am (java_native_source_files): Added new files.
11766         * Makefile.in: Regenerated.
11767
11768 2002-11-01  Michael Koch  <konqueror@gmx.de>
11769
11770         * java/net/InetAddress.java:
11771         (isAnyLocalAddress): Implemented.
11772         (isLoopbackAddress): Implemented, comment added.
11773         (isLinkLocalAddress): Implemented, documentation added.
11774         (isSiteLocalAddress): Implemented, documentation added.
11775         (isMCGlobal): Implemented, documentation added.
11776         (isMCNodeLocal): Implemented, documentation added.
11777         (isMCLinkLocal): Implemented, documentation added.
11778         (isMCSiteLocal): Implemented, documentation added.
11779         (isMCOrgLocal): Implemented, documentation added.
11780         (getHostName): Documentation added.
11781         (getCanonicalHostName): Implemented, documentation added.
11782         (getAddress): Documentation added.
11783         (hashCode): Documentation added.
11784         (equals): Documentation added.
11785         (toString): Fixed implementation.
11786         (getByAddress): Use Inet4Address and Inet6Address.
11787         (lookup): New linewrap.
11788         (getByName): SecurityManager check added, support Inet4Address and
11789         Inet6address, comments added.
11790         (getAllByName): SecurityManager check added, comments added.
11791         * java/net/Inet6Address.java:
11792         (Inet6Address): Initialize parent class with addr instead of null.
11793         * java/net/URL.java
11794         (equals): Documentation added.
11795         (getFile): Documentation added.
11796         (hashCode): Documentation added.
11797         * java/net/natInetAddress.cc:
11798         (aton): Fix IPv6 support.
11799         * java/net/natPlainDatagramSocketImpl.cc:
11800         (peek): Throw PortUnreachableException when suitable.
11801         (peekData): Throw PortUnreachableException when suitable.
11802         (send): Throw PortUnreachableException when suitable.
11803         (receive): Throw PortUnreachableException when suitable.
11804
11805 2002-10-27  Mark Wielaard  <mark@klomp.org>
11806
11807         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11808         argument.
11809         (readLeShort): Likewise and use byte[].
11810         (readLeInt): Likewise.
11811         (readEntries): Use new versions of methods and use byte[] for reading
11812         a complete zip entry. Add ZipFile name to exceptions.
11813         (entries): Add ZipFile name to exceptions.
11814         (getEntry): Likewise.
11815         (checkLocalHeader): Use new versions of methods and add ZipFile name
11816         to exceptions.
11817
11818 2002-10-31  Mark Anderson  <mark@panonet.net>
11819
11820         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11821         added
11822
11823 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11824
11825         * configure.in: Disable hash sync when not using threads.
11826         * configure: Regenerated.
11827
11828 2002-10-24  Tom Tromey  <tromey@redhat.com>
11829
11830         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11831         (_Jv_FindSymbolInExecutable): Removed argument name.
11832         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11833         java.library.path is set.
11834
11835         * gij.cc (help): Document --showversion.
11836         (version): Don't exit.
11837         (main): Handle --showversion.  Exit if --version given.
11838
11839 2002-10-23  Tom Tromey  <tromey@redhat.com>
11840
11841         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11842         (array_from_valist): Correctly handle promotion for jint, jlong,
11843         jfloat, and jdouble.
11844
11845 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11846
11847         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11848         GetFileAttributesEx( ) to find file length and modification times,
11849         as the latter is not present on Windows 95.
11850
11851 2002-10-21  Michael Koch  <konqueror@gmx.de>
11852
11853         * java/net/URL.java
11854         (URL): Activate SecurityManager checks.
11855         (equals): Use URLStreamHandler implementation instead of doing it
11856         alone. This allows special protocol stream handlers to change default
11857         behaviour.
11858         (hashCode): Use URLStreamHandler implementation instead of doing it
11859         alone. This allows special protocol stream handlers to change default
11860         behaviour.
11861         * java/net/URLStreamHandler.java
11862         (equals): Implemented default URL equality check.
11863         (hostsEqual): Implemented default URL equality check.
11864         (hashCode): Implemented default URL hashCode algorithm.
11865         * java/net/natPlainDatagramSocketImpl.cc:
11866         No lines longer then 80 characters.
11867
11868 2002-10-20  Adam Megacz <adam@xwt.org>
11869
11870         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11871         * configure.in: enabled hash sync on Win32
11872         * include/win32-threads.h (_Jv_ThreadId_t): added.
11873         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11874         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11875         removed some posix-isms, use Thread::sleep() instead of usleep,
11876         added code to clear bottom three bits if platform has a broken
11877         linker.
11878         * include/win32-threads.h (_Jv_ThreadId_t): added.
11879
11880 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11881
11882         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11883         runtime property "gnu.gcj.progname" containing the name used to
11884         invoke the current Java program (similar to argv[0] for C
11885         programs).
11886
11887 2002-10-15  Tom Tromey  <tromey@redhat.com>
11888
11889         Fix for PR libgcj/8234:
11890         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11891         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11892
11893 2002-10-13  Mark Wielaard  <mark@klomp.org>
11894
11895         * mauve-libgcj: Enable Mauve tests that compile now.
11896
11897 2002-10-11  Mark Wielaard  <mark@klomp.org>
11898
11899         Fix for PR libgcj/8142
11900         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11901         loading native modules.
11902
11903 2002-10-10  Michael Koch  <konqueror@gmx.de>
11904
11905         * javax/swing/AbstractListModel.java
11906         (getListDataListeners): New stubbed method.
11907         javax/swing/DefaultBoundedRangeModel.java
11908         (getChangeListeners): New stubbed method.
11909         javax/swing/DefaultSingleSelectionModel.java
11910         (getChangeListeners): New stubbed method.
11911
11912 2002-10-10  Michael Koch  <konqueror@gmx.de>
11913
11914         * gcj/.cvsignore: New file to ignore files generated during build.
11915         * include/.cvsignore: New file to ignore files generated during build.
11916
11917 2002-10-10  Michael Koch  <konqueror@gmx.de>
11918
11919         * java/net/HttpURLConnection.java
11920         (getPermission): New method.
11921         (getErrorStream): New stub method.
11922         (getHeaderFieldDate): New stub method.
11923         * java/net/Inet4Address.java:
11924         (isLinkLocalAddress): Typo fixed.
11925         * java/net/InetAddress.java:
11926         (readResolve): New stubbed method (for serialization).
11927         (isAnyLocalAddress): New stubbed method.
11928         (isLoopbackAddress): New stubbed method.
11929         (isLinkLocalAddress): New stubbed method.
11930         (isSiteLocalAddress): New stubbed method.
11931         (isMCGlobal): New stubbed method.
11932         (isMCNodeGlobal): New stubbed method.
11933         (isMCLinkLocal): New stubbed method.
11934         (isMCSiteLocal): New stubbed method.
11935         (isMCOrgLocal): New stubbed method.
11936         (getCanonicalHostName): New stubbed method.
11937         (getByAddress): Create instances of Inet4Address/Inet6Address,
11938         instead of InetAddress, documentation added.
11939         * java/net/MulticastSocket.java
11940         (getInterface): Removed FIXME.
11941         (getNetworkInterface): New method.
11942         (setNetworkInterface): New method.
11943         * java/net/NetworkInterface.java:
11944         (toString): Use property "line.separator" instead of "\n".
11945         * java/net/URLConnection.java
11946         (getContent): New stubbed method.
11947         * java/net/URLStreamHandler.java:
11948         (equals): New stubbed method.
11949         (hostsEqual): New stubbed method.
11950         (hashCode): New stubbed method.
11951         * java/net/natNetworkInterface.cc:
11952         (getRealNetworkInterfaces): Create Inet4Address object
11953         instead of InetAddress.
11954
11955 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11956
11957         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11958         unsigned long temporary to implement insn_iushr shifts.
11959
11960 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11961
11962         * configure.host [s390*-*]: Enable Java interpreter.
11963         Enable hash synchronization.  Add sysdeps dir.
11964         * sysdep/s390/locks.h: New file.
11965
11966 2002-10-06  Mark Wielaard  <mark@klomp.org>
11967
11968         * java/lang/Thread.java (setDaemon): Check startable_flag,
11969         not isAlive().
11970
11971 2002-10-07  Michael Koch  <konqueror@gmx.de>
11972
11973         * java/nio/Buffer.java: New stub file.
11974         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11975         of class Charset.
11976         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11977         * Makefile.in: Regenerated.
11978
11979 2002-10-07  Michael Koch  <konqueror@gmx.de>
11980
11981         * java/nio/ByteBuffer.java:
11982         removed import of not commited class.
11983
11984 2002-10-07  Michael Koch  <konqueror@gmx.de>
11985
11986         * java/nio/ByteBuffer.java,
11987         java/nio/MappedByteBuffer.java:
11988         New files, forgot to add these dummies.
11989         * Makefile.am (java_native_source_files): Added new files.
11990         * Makefile.in: Regenerated.
11991
11992 2002-10-07  Michael Koch  <konqueror@gmx.de>
11993
11994         * java/nio/channels/AlreadyConnectedException.java,
11995         java/nio/channels/ClosedChannelException.java,
11996         java/nio/channels/ReadableByteChannel.java,
11997         java/nio/channels/InterruptibleChannel.java,
11998         java/nio/channels/Channel.java,
11999         java/nio/channels/ByteChannel.java,
12000         java/nio/channels/GatheringByteChannel.java,
12001         java/nio/channels/ScatteringByteChannel.java,
12002         java/nio/channels/WritableByteChannel.java,
12003         java/nio/charset/CharacterCodingException.java,
12004         java/nio/charset/IllegalCharsetNameException.java,
12005         java/nio/charset/MalformedInputException.java,
12006         java/nio/charset/UnmappableCharacterException.java,
12007         java/nio/charset/UnsupportedCharsetException.java,
12008         java/nio/charset/spi/CharsetProvider.java: New file.
12009         These files are exceptions or interfaces,
12010         no real or abstract classes.
12011         * Makefile.am (java_native_source_files): Added new files.
12012         * Makefile.in: Regenerated.
12013
12014 2002-10-05  Michael Koch  <konqueror@gmx.de>
12015
12016         * java/net/InetAddress.java
12017         (getByAddress): Fixed documentation.
12018         (getByAddress): New method.
12019         * java/net/Inet4Address.java: New file.
12020         * java/net/URL.java
12021         (URL): Documentation added.
12022         (getContent): Documentation added.
12023         (getContent): New stubbed method.
12024         (getQuery): New method.
12025         (openConnection): Documentation added.
12026         (openStream): Documentation added.
12027         (setURLStreamHandlerFactory): Documentation added.
12028         * java/net/URI.java: New stub file.
12029         * Makefile.am
12030         (java_native_source_files): Added java/net/Inet4Address.java,
12031         java/net/Inet6Address.java and java/net/URI.java.
12032         * Makefile.in: Regenerated.
12033
12034 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12035
12036         * java/lang/ProtectionDomain.java (linesep): Remove field.
12037         (toString): Use System.getProperty("line.separator").
12038
12039 2002-10-04  Michael Koch  <konqueror@gmx.de>
12040
12041         * java/security/Identity.java: Added serialVersionUID.
12042         * java/security/KeyPair.java: Added serialVersionUID.
12043         * java/security/Provider.java: Added serialVersionUID.
12044         * java/security/SecureRandom.java: Added serialVersionUID.
12045         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12046         * java/security/SignedObject.java: Added serialVersionUID.
12047         * java/security/cert/Certificate.java: Added serialVersionUID.
12048
12049 2002-10-04  Mark Wielaard <mark@klomp.org>
12050
12051         * java/security/Security.java: Use java.home or gnu.classpath.home
12052         to load providers.
12053         (loadProviders): Extra dir argument.
12054         (getProvider): Return null when not found.
12055
12056 2002-10-04  Mark Wielaard  <mark@klomp.org>
12057
12058         * java/lang/Throwable.java: Remerge with Classpath.
12059
12060 2002-10-04  Michael Koch  <konqueror@gmx.de>
12061
12062         * java/net/InetAddress.java:
12063         (isMulticastAddress): Added documentation.
12064         (getHostAddress): Added documentation.
12065         (toString): Added documentation.
12066         (getByAddress): Fixed documentation.
12067         (getByName): Added documentation.
12068         (getAllByName): Added documentation.
12069         (getLocalHost): Added documentation.
12070
12071 2002-10-04  Michael Koch  <konqueror@gmx.de>
12072
12073         * java/beans/beancontext/BeanContextChildSupport.java:
12074         Added serialVersionUID.
12075         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12076         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12077         * javax/naming/Name.java: Added serialVersionUID.
12078
12079 2002-10-03  Adam Megacz <adam@xwt.org>
12080
12081         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12082         some functionality that isn't supported yet on WIN32.
12083
12084 2002-10-03  Tom Tromey  <tromey@redhat.com>
12085
12086         * Makefile.in: Rebuilt.
12087         * Makefile.am (awt_java_source_files): Added new files.
12088
12089 2002-10-03  Michael Koch  <konqueror@gmx.de>
12090
12091         * java/net/InetAddress.java
12092         (class InetAddress): Removed final keyword.
12093         (equals): Fixed typo.
12094         (getByAddress): New method.
12095
12096 2002-10-03  Michael Koch  <konqueror@gmx.de>
12097
12098         * java/awt/dnd/Autoscroll.java:
12099         New file, merge from Classpath.
12100         * java/awt/dnd/DragSourceAdapter.java:
12101         (dragExit): Fixed typos in argument type.
12102         (dragDropEnd): Fixed typos in argument type.
12103         * java/awt/dnd/DragSourceDropEvent.java:
12104         New file, merge from Classpath.
12105         * java/awt/dnd/DropTarget.java:
12106         Added stubs, merge from Classpath.
12107         * java/awt/dnd/DropTargetAdapter.java:
12108         New file, merge from Classpath.
12109         * java/awt/dnd/DropTargetContext.java:
12110         New file, merge from Classpath.
12111         * java/awt/dnd/DropTargetDragEvent.java:
12112         New file, merge from Classpath.
12113         * java/awt/dnd/DropTargetDropEvent.java:
12114         New file, merge from Classpath.
12115         * java/awt/dnd/DropTargetEvent.java:
12116         New file, merge from Classpath.
12117         * java/awt/dnd/DropTargetListener.java:
12118         New file, merge from Classpath.
12119         * java/awt/dnd/MouseDragGestureRecognizer.java:
12120         New file, merge from Classpath.
12121         * java/awt/dnd/peer/DropTargetContextPeer.java:
12122         New file, merge from Classpath.
12123
12124 2002-10-03  Michael Koch  <konqueror@gmx.de>
12125
12126         * java/net/DatagramPacket.java
12127         (setLength): Fixed typo and be HTML-aware.
12128         * java/net/InetSocketAddress.java
12129         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12130         (equals): Added comment about equality of InetSocketAddress objects.
12131         * java/net/ServerSocket.java
12132         (accept): Added checks.
12133         (isClosed): New stubbed method.
12134         * java/net/SocketOptions.java: Reindention.
12135         * java/net/SocketPermission
12136         (SocketPermission): Documentation fixed.
12137
12138 2002-10-03  Michael Koch  <konqueror@gmx.de>
12139
12140         * java/net/DatagramSocket.java
12141         (receive): Check with SecurityManager AFTER the packet is received,
12142         check if connected to multicast address, documentation added.
12143         (send): Only check SecurityManager if connected, check address of
12144         packet to send.
12145         (connect): Implemented, documentation added.
12146         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12147         * java/net/InetSocketAddress.java
12148         (whole file): Reindented.
12149         (hostname): New attribute.
12150         (InetSocketAddress): Initialize new attribute.
12151         (getAddress): Documentation added.
12152         (getHostName): Documentation added.
12153         (getPort): Documentation added.
12154         (hashCode): Documentation added.
12155         (isUnresolved): Documentation added.
12156         (toString): Conform to output of JDK 1.4.1, documentation added.
12157         * java/net/MulticastSocket.java
12158         (joinGroup): Removed FIXME, documentation added.
12159         (leaveGroup): Removed FIXME, documentation added.
12160         (send): Documentation added.
12161         * java/net/Socket.java
12162         (inputShutdown): New variable.
12163         (outputShutdown): New variable.
12164         (Socket): Initialize new variables.
12165         (getRemoteSocketAddress): Check if connected.
12166         (shutdownInput): Set new variable.
12167         (shutdownOutput): Set new variable.
12168         (isConnected): New method.
12169         (isClosed): New method.
12170         (isInputShutdown): New method.
12171         (isOutputShutdown): New method.
12172         * java/net/URLStreamHandler.java
12173         (URLStreamHandler): New method.
12174         (openConnection): Added documentation.
12175         (parseURL): Added documentation.
12176         (getHostAddress): New method.
12177         (getDefaultPort): New method.
12178
12179 2002-10-02  Tom Tromey  <tromey@redhat.com>
12180
12181         * java/rmi/activation/ActivationDesc.java,
12182         java/rmi/activation/ActivationGroupDesc.java,
12183         java/rmi/activation/ActivationGroupID.java,
12184         java/rmi/activation/ActivationID.java: New versions from
12185         Classpath.
12186
12187 2002-09-30  Bo Thorsen  <bo@suse.de>
12188
12189         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12190
12191 2002-09-30  Tom Tromey  <tromey@redhat.com>
12192
12193         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12194         from Classpath.
12195         * Makefile.in: Rebuilt.
12196         * Makefile.am (rmi_java_source_files): Added new files.
12197         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12198         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12199         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12200         Classpath.
12201         * gnu/java/rmi/dgc/DGCImpl.java,
12202         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12203         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12204         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12205         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12206         gnu/java/rmi/server/RMIHashes.java,
12207         gnu/java/rmi/server/RMIObjectInputStream.java,
12208         gnu/java/rmi/server/RMIObjectOutputStream.java,
12209         gnu/java/rmi/server/UnicastConnection.java,
12210         gnu/java/rmi/server/UnicastConnectionManager.java,
12211         gnu/java/rmi/server/UnicastRef.java,
12212         gnu/java/rmi/server/UnicastServer.java,
12213         gnu/java/rmi/server/UnicastServerRef.java,
12214         java/rmi/MarshalledObject.java,
12215         java/rmi/server/RMIClassLoader.java,
12216         java/rmi/server/RemoteObject.java,
12217         java/rmi/server/UnicastRemoteObject.java,
12218         java/security/SecureClassLoader.java: Merged from Classpath.
12219
12220 2002-09-29  Anthony Green  <green@redhat.com>
12221
12222         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12223         Imported from GNU Classpath.
12224         * java/lang/reflect/natProxy.cc: New file.
12225         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12226         from GNU Classpath.
12227         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12228         Classpath.
12229         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12230         Classpath.
12231         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12232         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12233         New statics.
12234         * gcj/javaprims.h ("Java"): Add new classes.
12235         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12236         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12237         java/lang/reflect/Proxy$$ProxyType.h): And this.
12238         (inner_nat_headers): Add these new headers.
12239         (ordinary_java_source_files): Add new files.
12240         (nat_source_files): Add new file.
12241         * Makefile.in: Rebuilt.
12242
12243 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12244
12245         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12246         a single configuration.
12247
12248 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12249
12250         * java/util/TimeZone.java (getDSTSavings): New method.
12251         Fixes PR libgcj/7786.
12252
12253 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12254
12255         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12256         to see if `the_method == 0' before looking up vtable index.
12257         Fixes PR libgcj/7709.
12258
12259 2002-09-25  Tom Tromey  <tromey@redhat.com>
12260
12261         * java/lang/natClassLoader.cc:
12262         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12263         * resolve.cc: Include NoClassDefFoundError.h, not
12264         ClassNotFoundException.h.
12265         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12266
12267         * defineclass.cc: Don't include ClassNotFoundException.h.
12268
12269         * resolve.cc: Include StringBuffer.
12270         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12271
12272         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12273         allocated but not initialized.
12274
12275 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12276
12277         Fix for PR libgcj/7766:
12278         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12279         (getNextEntry): Set it.
12280         (closeEntry): Likewise.
12281         (read): Likewise.
12282         (close): Likewise.
12283         (available): Use it.
12284
12285 2002-09-25  Michael Koch  <konqueror@gmx.de>
12286
12287         * java/net/DatagramSocket.java
12288         (DatagramSocket): Initialize new instance variables.
12289         (close): Reset new instance variables.
12290         (getLocalAddress): Remove unneeded SecurityManager usage.
12291         (getLocalPort): Check if socket is already bound.
12292         (isConnected): New method.
12293         (getInetAddress): Implemented.
12294         (getPort): Better Implementation, documentation fixed.
12295         (getRemoteSocketAddress): New method.
12296         * java/net/JarURLConnection.java
12297         (element): Typo fixed.
12298         (getMainAttributes): New method.
12299         (getAttributes): New method (stub only).
12300         (getManifest): New method (stub only).
12301         * java/net/NetPermission.java: Added serialVersionsUID.
12302         * java/net/Socket.java
12303         (connect): Check blocking mode of associated channel,
12304         documentation added.
12305         (getLocalSocketAddress): Better implementation.
12306         (getRemoteSocketAddress): Implemented.
12307         (isBound): New method.
12308         (setSendBufferSize): Documentation added.
12309         * java/net/SocketAddress.java: Added serialVersionsUID.
12310         * java/net/SocketPermission.java: Added serialVersionsUID.
12311         * java/net/URL.java
12312         (URL): Wrap for shorter lines, initialize new instance variables,
12313         documentation added.
12314         (equals): Check new instance variables too.
12315         (getContent): Documentation added.
12316         (getPath): Documentation added.
12317         (getAuthority): New method.
12318         (getHost): Documentation added.
12319         (getPort): Documentation added.
12320         (getDefaultPort): New method.
12321         (getProtocol): Documentation added.
12322         (getUserInfo): Documentation added.
12323         (set): Initialize new instance variables, documentation added.
12324         * java/net/URLStreamHandler.java
12325         (setURL): New method.
12326         * java/net/natPlainDatagramSocketImpl.cc
12327         (connect): Fix exception name.
12328         (disconnect): Fix exception name.
12329
12330 2002-09-25  Michael Koch  <konqueror@gmx.de>
12331
12332         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12333         * java/nio/channels/DatagramChannel.java:
12334         extends AbstractSelectableChannel
12335         * java/nio/channels/ServerSocketChannel.java:
12336         extends AbstractSelectableChannel
12337         * java/nio/channels/SocketChannel.java:
12338         extends AbstractSelectableChannel
12339         * Makefile.am (ordinary_java_source_files):
12340         java/nio/channels/spi/AbstractSelectableChannel.java added.
12341         * Makefile.in: Regenerated.
12342
12343 2002-09-25  Michael Koch  <konqueror@gmx.de>
12344
12345         * java/net/DatagramSocket.java
12346         (DatagramSocket): Exception documentation added.
12347         (bind): Exception documentation added, addded SecurityManager check,
12348         added SocketAddress type check.
12349         (getSoTimeout): Check impl.
12350         (receive): Fix SecurityManager check, check impl, documentation added.
12351         (send): Check channel mode, documentation added.
12352         (connect): New method.
12353         (disconnect): Implemented.
12354         (getLocalSocketAddress): New method.
12355         (getReceiveBufferSize): Check impl.
12356         (setReuseAddress): Check impl.
12357         (getReuseAddress): Check impl.
12358         (setBroadcast): Check impl.
12359         (getBroadcast): Check impl.
12360         (setTrafficClass): Check impl, Documentation cleared.
12361         (getTrafficClass): Check impl.
12362         (getSendBufferSize): Check impl.
12363         (setReceiveBufferSize): Check impl, documentation added.
12364         (setSendBufferSize): Documentation added.
12365         (setDatagramSocketImplFactory): New method.
12366         * java/net/HttpURLConnection.java
12367         (HTTP_INTERNAL_ERROR): The correct code is 500.
12368         (HTTP_NOT_IMPLEMENTED): Added new constant.
12369         (setFollowRedirects): Documentation added.
12370         (getInstanceFollowRedirects): New method.
12371         (setInstanceFollowRedirects): New method.
12372         (setRequestMethod): Documentation added.
12373         (getResponseCode): Documentation added.
12374         (getResponseMessage): Documentation added.
12375         * java/net/JarURLConnection.java
12376         (JarURLConnection): protected since JDK 1.4.
12377         (getJarEntry): java.io.IOException to IOException, documentation added.
12378         (getJarFile): Documentation added.
12379         * java/net/ServerSocket.java
12380         (ServerSocket): Private to public, exception added.
12381         (ServerSocket): java.io.IOException to IOException, documentation added.
12382         (bind): Check socket address type, documentation added.
12383         (bind): java.io.IOException to IOException, documentation added.
12384         (accept): Documentation added.
12385         (implAccept): Check ch is not non-blocking, documentation added.
12386         (setSoTimeout): Documentation fixed.
12387         (setReceiveBufferSize): Documentation added.
12388         * java/net/Socket.java
12389         (Socket): Documentation added.
12390         (bind): Documentation added.
12391         (connect): Check socket address type, documentation added.
12392         (getRemoteSocketAddress): New method.
12393         (getLocalSocketAddress): New method.
12394         (setSoLinger): Documentation added.
12395         (getReuseAddress): New method.
12396         (setReuseAddress): New method.
12397         (getTrafficClass): New method.
12398         (setTrafficClass): New method.
12399         * java/net/URLStreamHandler.java
12400         (openConnection): java.io.IOException to IOException.
12401         (parseURL): Documentation added.
12402         (sameFile): public to protected, documentation added.
12403         (setURL): Documentation added.
12404         * java/nio/IllegalBlockingModeException.java: New file.
12405         * Makefile.am (ordinary_java_source_files):
12406         added java/nio/IllegalBlockingModeException.java
12407         * Makefile.in: Regenerated.
12408
12409 2002-09-25  Michael Koch  <konqueror@gmx.de>
12410
12411         * java/net/DatagramPacket
12412         (DatagramPacket): Exception documentation added.
12413         (setData): Likewise.
12414         (setSocketAddress): Likewise.
12415         * java/net/DatagramSocketImpl.java
12416         (peek): Documentation addded.
12417         (peekData): Documentation addded.
12418         (send): Documentation addded.
12419         (receive): Documentation addded.
12420         (connect): New method.
12421         (disconnect): New method.
12422         (joinGroup): New abstract method.
12423         (leaveGroup): New abstract method.
12424         * java/net/InetSocketAddress.java
12425         (InetSocketAddress): Documentation added.
12426         (equals): final keyword added.
12427         (getAddress): final keyword added.
12428         (getHostName): final keyword added.
12429         (getPort): final keyword added.
12430         (hashCode): final keyword added.
12431         (isUnresolved): final keyword added.
12432         * java/net/MulticastSocket.java
12433         (MulticastSocket): Documentation added.
12434         (MulticastSocket): New method.
12435         (joinGroup): Documentation added.
12436         (joinGroup): New method.
12437         (leaveGroup): Documentation added.
12438         (leaveGroup): New method.
12439         (send): Documentation added.
12440         * java/net/NetworkInterface.java
12441         (getByName): Documentation added.
12442         (getByInetAddress): Documentation added.
12443         (getNetworkInterfaces): Documentation added.
12444         * java/net/PlainDatagramSocketImpl.java
12445         (connect): New method.
12446         (disconnect): New method.
12447         * java/net/SocketImpl.java
12448         (create): Documentation added.
12449         (shutdownInput): Convert public to protected, as it always was.
12450         (shutdownOutput): Convert public to protected, as it always was.
12451         * java/net/SocketOptions.java
12452         (whole file): Reintented.
12453         * java/net/URLClassLoader.java
12454         (URLClassLoader): SecurityManager check added, documentation added.
12455         (findResources): Documentation added.
12456         (findClass): Documentation added.
12457         (newInstance): More correct method arguments.
12458         * java/net/URLConnection.java
12459         (connect): Documentation added.
12460         (getContent): Documentation added.
12461         (getPermission): Documentation added.
12462         (getInputStream): Documentation added.
12463         (getOutputStream): Documentation added.
12464         (setDoInput): Throw correct exception, documentation added.
12465         (setDoOutput): Throw correct exception, documentation added.
12466         (setAllowUserInteraction): Throw correct exception, documentation added.
12467         (setUseCaches): Throw correct exception, documentation added.
12468         (setIfModifiedSince): Throw correct exception, documentation added.
12469         (setRequestProperty): Throw exception, documentation added.
12470         (addRequestProperty): Throw exception, documentation added.
12471         (getRequestProperty): Throw exception, documentation added.
12472         (getRequestProperties): Documentation added.
12473         (setContentHandlerFactory): Documentation added.
12474         (guessContentTypeFromName): protected to public.
12475         (setFileNameMap): Documentation added.
12476         * java/net/URLDecoder.java
12477         (URLDecoder): New method.
12478         (decode): Documentation added.
12479         (whole file): Reindented.
12480         * java/net/URLEncoder.java
12481         (encode): Documentation added.
12482         * java/net/natPlainDatagramSocketImpl.cc
12483         (connect): New method.
12484         (disconnect): New method.
12485         * javax/naming/RefAddr:
12486         (addrType): addrType was never final.
12487         (equals): Fix typo in method name.
12488         * javax/naming/BinaryRefAddr:
12489         (equals): Fix typo in method name.
12490
12491 2002-09-22  Tom Tromey  <tromey@redhat.com>
12492
12493         Fix for PR libgcj/6576:
12494         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12495         didn't find a given bundle.
12496         (getBundle): Don't require base bundle.
12497         (setParent): Removed old comment.
12498         (tryLocalBundle): Try components even if preceding components were
12499         empty.
12500
12501 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12502
12503         * Makefile.am (all-multi): Fix multilib parallel build.
12504
12505 2002-09-21  Michael Koch  <konqueror@gmx.de>
12506
12507         * java/net/Socket.java
12508         (sendUrgentData): New method.
12509         (getChannel): New method.
12510         * java/net/ServerSocket.java
12511         (getChannel): New method.
12512         (isBound): New method.
12513         * java/net/DatagramSocket.java
12514         (DatagramSocket): Two new methods.
12515         (bind): New method.
12516         (getChannel): New method.
12517         (isBound): New method.
12518         (send): Added newline to to make shorter lines.
12519         * java/net/PlainDatagramSocketImpl.java
12520         (mcastGrp): Added argument.
12521         (join): Use new mcastGrp.
12522         (leave): Use new mcastGrp.
12523         (joinGroup): New method.
12524         (leaveGroup): New method.
12525         * java/net/natPlainDatagramSocketImpl.cc
12526         (mcastGrp): Added argument, no yet really implemented.
12527         (getOption): Added newline for shorter lines.
12528         * java/net/natPlainSocketImpl.cc
12529         (read, setOption, getOption): Added newline for shorter lines.
12530
12531 2002-09-19  Tom Tromey  <tromey@redhat.com>
12532
12533        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12534        newly-created exception.
12535
12536 2002-09-18  Michael Koch  <konqueror@gmx.de>
12537
12538         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12539         java/util/regex/PatternSyntaxException.java:
12540         Merge with classpath, new files.
12541         * Makefile.am (core_java_source_files):
12542         Added java/util/regex/Matcher.java,
12543         java/util/regex/Pattern.java,
12544         java/util/regex/PatternSyntaxException.java
12545         * Makefile.in: Regenerated.
12546         * include/config.h.in: Added HAVE_NET_IF_H.
12547         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12548         Removed #if 0 ... #endif.
12549
12550 2002-09-17  Michael Koch  <konqueror@gmx.de>
12551
12552         * java/net/natNetworkInterface.cc:
12553         Removed unneed and yet wrong includes.
12554
12555 2002-09-17  Michael Koch  <konqueror@gmx.de>
12556
12557         * java/net/NetworkInterface.java: New file.
12558         * java/net/natNetworkInterface.java: New file.
12559         * configure.in: Added check for net/if.h.
12560         * configure: Regenerated.
12561         * Makefile.am
12562         (ordinary_java_source_files): Added NetworkInterface.java.
12563         (nat_source_files): Added natNetworkInterface.cc.
12564         * Makefile.in: Regenerated.
12565
12566 2002-09-16  Tom Tromey  <tromey@redhat.com>
12567
12568         * java/net/URLClassLoader.java (findClass): Code source for a
12569         class from a jar is not necessarily a jar: URL.
12570
12571 2002-09-16  Michael Koch  <konqueror@gmx.de>
12572
12573         * java/lang/AssertionError.java:
12574         Merge with classpath, fixes HTML.
12575         * java/rmi/server/LogStream.java:
12576         Merge with classpath, fixes some constants.
12577         * java/net/server/RemoteServer.java:
12578         Merge with classpath, adds serialVersionUID.
12579         * javax/naming/BinaryRefAddr.java:
12580         Merge with classpath, s/equal/equals/.
12581         * javax/naming/NamingException.java:
12582         Merge with classpath, fixed typo.
12583         * javax/naming/RefAddr.java:
12584         Merge with classpath, s/equal/equals/.
12585         * java/awt/Toolkit.java:
12586         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12587         and typo fixed.
12588
12589 2002-09-15  Adam Megacz <adam@xwt.org>
12590
12591         * java/net/natPlainSocketImpl.cc: fixed typo.
12592
12593 2002-09-15  Adam Megacz <adam@xwt.org>
12594
12595         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12596         which don't work on Win32 (yet).
12597
12598 2002-09-14  Adam Megacz <adam@xwt.org>
12599
12600         * java/net/natPlainDatagramSocket.cc: removed #include
12601         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12602         * include/win32.h: included definition for IP_TOS to satisfy
12603         natPlainDatagramSocket.cc
12604
12605 2002-09-13  Michael Koch  <konqueror@gmx.de>
12606
12607         * java/net/DatagramPacket.java (DatagramPacket):
12608         Added linebreak for 80 chars per line.
12609         * java/net/JarURLConection.java
12610         (getInputStreami, getJarEntry): Likewise.
12611         * java/net/SocketPErmission.java
12612         (SocketPermission class docu, implies): Likewise.
12613         * java/net/URLClassLoader.java (findResources): Likewise.
12614         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12615
12616 2002-09-13  Michael Koch  <konqueror@gmx.de>
12617
12618         * java/nio/channels/DatagramChannel.java,
12619         java/nio/channels/ServerSocketChannel.java
12620         java/nio/channels/SocketChannel.java:
12621         New dummy files to make java.net fully JDK 1.4 compatible
12622         * Makefile.am (ordinary_java_source_files): Added
12623         java/net/DatagramSocketImplFactory.java (long forgotten),
12624         java/nio/SocketChannel.java,
12625         java/nio/ServerSocketChannel.java,
12626         java/nio/DatagramChannel.java
12627         * Makefile.in: Regenrated.
12628
12629 2002-09-12  Michael Koch  <konqueror@gmx.de>
12630
12631         * java/net/DatagramSocketImpl.java
12632         (peekData): New method.
12633         * java/net/PlainDatagramSocketImpl.java
12634         (peekData): New method.
12635         * java/net/natPlainDatagramSocketImpl.cc
12636         (peekData): New method.
12637         * java/net/URLConnection
12638         (getPermission): New method.
12639         (addRequestProperty): New method.
12640         (getRequestProperties): New method.
12641         (guessContentTypeFromStream): New method, not really implemented.
12642         (URLConnection): Added/updated documentation.
12643         (connect): Added/updated documentation.
12644         (getURL): Added/updated documentation.
12645         (getContentLength): Added/updated documentation.
12646         (getContentType: Added/updated documentation.
12647         (getContentEncoding): Added/updated documentation.
12648         (getExpiration): Added/updated documentation.
12649         (getDate): Added/updated documentation.
12650         (getLastModified): Added/updated documentation.
12651         (getHeaderField): Added/updated documentation.
12652         (getHeaderFields): Added/updated documentation.
12653         (getHeaderFieldInt): Added/updated documentation.
12654         (getHeaderFieldDate): Added/updated documentation.
12655         (getHeaderFieldKey): Added/updated documentation.
12656         (getContent): Added/updated documentation.
12657         (getInputStream): Added/updated documentation.
12658         (getOutputStream): Added/updated documentation.
12659         (toString): Added/updated documentation.
12660         (setDoInput): Added/updated documentation.
12661         (getDoInput): Added/updated documentation.
12662         (setDoOutput): Added/updated documentation.
12663         (getDoOutput): Added/updated documentation.
12664         (setAllowUserInteraction): Added/updated documentation.
12665         (getAllowUserInteraction): Added/updated documentation.
12666         (setDefaultAllowUserInteraction): Added/updated documentation.
12667         (getDefaultAllowUserInteraction): Added/updated documentation.
12668         (setUseCaches): Added/updated documentation.
12669         (getUseCaches): Added/updated documentation.
12670         (setIfModifiedSince): Added/updated documentation.
12671         (getIfModifiedSince): Added/updated documentation.
12672         (getDefaultUseCaches): Added/updated documentation.
12673         (setDefaultUseCaches): Added/updated documentation.
12674         (setRequestProperty): Added/updated documentation.
12675         (getRequestProperty): Added/updated documentation.
12676         (setDefaultRequestProperty): Added/updated documentation.
12677         (getDefaultRequestProperty): Added/updated documentation.
12678         (setContentHandlerFactory): Added/updated documentation.
12679         (guessContentTypeFromName): Added/updated documentation.
12680         (getFileNameMap): Added/updated documentation.
12681         (setFileNameMap): Added/updated documentation.
12682
12683 2002-09-11  Michael Koch  <konqueror@gmx.de>
12684
12685         * java/net/Socket.java
12686         (Socket): protected to public (since JDK 1.4). Added @specnote.
12687         (bind): New method.
12688         (connect): Two new methods.
12689         (getKeepalive): Get correct socket option.
12690         (setKeepalive): Set correct socket option.
12691         (getOOBInline): New method.
12692         (setOOBInline): New method.
12693         * java/net/ServerSocket.java
12694         (bind): Two new methods.
12695         (getInetAddress): Reimplemented, catch exception.
12696         (getLocalSocketAddress): New method.
12697         (setReuseAddress): New method.
12698         (getReuseAdress): New method.
12699         (setReceiveBufferSize): New method.
12700         (getReceiveBufferSize): New method.
12701         (toString): Made string JDK 1.4 compliant.
12702
12703 2002-09-10  Michael Koch  <konqueror@gmx.de>
12704
12705         * java/net/SocketImpl.java
12706         (connect): New method.
12707         (supportsUrgentData): New method.
12708         (sendUrgentData): New method.
12709         * java/net/PlainSocketImpl.java
12710         (connect): One new method and two new implementation.
12711         (sendUrgentData): New method.
12712         * java/natPlainSocketImpl.cc
12713         (connect): Arguments changed, added support for timeouts.
12714         (getOption): Another __java_boolean to jboolean.
12715
12716 2002-09-07  Adam Megacz <adam@xwt.org>
12717
12718         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12719         definition of IP_TOS.
12720
12721 2002-09-04  Michael Koch  <konqueror@gmx.de>
12722
12723         * java/net/DatagramSocket.java
12724         (DatagramSocket): Added documentation.
12725         (close): Likewise.
12726         (getLocalAddress): Likewise.
12727         (getLocalPort): Likewise.
12728         (receive): Likewise.
12729         (send): Likewise.
12730         (setSoTimeout): Likewise.
12731         (connect): New method.
12732         (disconnect): New method.
12733         (getInetAddress): New method (FIXME)
12734         (getPort): New method.
12735         (setReuseAddress): New method.
12736         (getReuseAddress): New method.
12737         (setBroadcast): New method.
12738         (getBroadcast): New method.
12739         (setTrafficClass): New method.
12740         (getTrafficClass): New method.
12741         * java/net/MulticastSocket.java):
12742         (getTTL): Added @see in documentation.
12743         (setTTL): Added @see in documentation.
12744         (setLoopbackMode): New method.
12745         (getLoopbackMode): New method.
12746         * java/net/PlainSocketImpl.java:
12747         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12748         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12749         * java/net/PlainDatagramSocketImpl.java
12750         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12751         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12752         * java/net/natPlainSocketImpl.cc
12753         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12754         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12755         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12756         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12757         This should also fix SO_KEEPALIVE
12758         * java/net/natPlainDatagramSocketImpl.cc
12759         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12760         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12761         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12762         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12763
12764 2002-09-04  Michael Koch  <konqueror@gmx.de>
12765
12766         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12767         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12768         IP_MULTICAST_LOOP, IP_TOS
12769
12770 2002-09-03  Tom Tromey  <tromey@redhat.com>
12771
12772         * java/lang/Class.h (_getDeclaredMethod): Declare.
12773         (_getMethod): Now private.
12774         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12775         getDeclaredMethod.  Now returns NULL on failure.
12776         * java/lang/Class.java (_getDeclaredMethod): Declare.
12777         (getDeclaredMethod): No longer native; implements access checks.
12778
12779 2002-09-01  Mark Wielaard  <mark@klomp.org>
12780
12781         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12782         (sanitizeStack): Correctly reset unknown and interpreter counters,
12783         detect interpreter runtime frames.
12784         (demangleInterpreterMethod): New method.
12785         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12786         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12787         filling in addrs[].
12788
12789 2002-09-02  Michael Koch  <konqueror@gmx.de>
12790
12791         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12792         re-indented documentation.
12793
12794 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12795
12796         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12797         public, per 1.4 spec.  Fixes PR libgcj/7785.
12798
12799 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12800
12801         * Makefile.in: Rebuilt.
12802         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12803
12804 2002-08-29  Tom Tromey  <tromey@redhat.com>
12805
12806         * java/net/JarURLConnection.java (getCertificates): New method
12807         from Classpath.
12808         * java/net/URLClassLoader.java (URLClassLoader): Extends
12809         SecureClassLoader.
12810         (definePackage): New method from Classpath.
12811         (getPermissions): Likewise.
12812         (newInstance): Likewise.
12813         (findClass): Construct CodeSource for new class (from Classpath).
12814         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12815         methods.
12816         * java/net/URL.java (getUserInfo): New method.
12817         (set(String,String,int,String,String,String,String,String)): New
12818         method.
12819         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12820         (shutdownInput, shutdownOutput): Declare.
12821         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12822         Define.
12823         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12824         (getOption): Likewise.
12825         (shutdownInput): New method.
12826         (shutdownOutput): Likewise.
12827         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12828         keepalive.
12829         (getOption): Likewise.
12830         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12831         * java/net/Socket.java (setKeepAlive): New method.
12832         (getKeepAlive): Likewise.
12833         (shutdownInput, shutdownOutput): New methods.
12834
12835 2002-08-29  Michael Koch  <konqueror@gmx.de>
12836
12837         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12838         new methods are:
12839         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12840           address),
12841         DatagramPacket(byte[] buf, int length, SocketAddress address),
12842         void setSocketAddress(SocketAddress address)
12843         public SocketAddress getSocketAddress()
12844
12845 2002-08-29  Tom Tromey  <tromey@redhat.com>
12846
12847         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12848         ftruncate is missing.
12849         * configure, include/config.h.in: Rebuilt.
12850         * acconfig.h (HAVE_FTRUNCATE): Mention.
12851         * configure.in: Check for ftruncate.
12852
12853 2002-08-29  Tom Tromey  <tromey@redhat.com>
12854
12855         * include/jvm.h (struct _Jv_frame_info): New structure.
12856         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12857         java-interp.h.
12858         (lookupInterp): New method.
12859         (getAddrAsString): Use _Jv_frame_info.
12860         (dladdrLookup): Likewise.
12861         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12862         interpreted frame.
12863         (lookupInterp): Declare.
12864         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12865         (fillInStackTrace): Collect information on interpreted frames.
12866         Use _Jv_frame_info.
12867         * interpret.cc: Include Thread.h.
12868         (run): Create and push _Jv_MethodChain object.
12869         (_Jv_EndOfInterpreter): New global.
12870         * java/lang/Thread.java (interp_frame): New field.
12871         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12872         Include NameFinder.h.
12873
12874 2002-08-28  Tom Tromey  <tromey@redhat.com>
12875
12876         * java/lang/Class.h: Include Package.h.
12877         (Class::getProtectionDomain): Declare.
12878         (Class::getPackage): Declare.
12879
12880 2002-08-28  Michael Koch <konqueror@gmx.de>
12881
12882         * java/net/InetSocketAddress.java: Added some documentation and argument
12883         checks for the port numbers.
12884         * java/net/DatagramSocketImplFactory.java: New file.
12885
12886 2002-08-28  Michael Koch <konqueror@gmx.de>
12887
12888         * java/net/Authenticator.java: added some documentation.
12889
12890 2002-08-27  Tom Tromey  <tromey@redhat.com>
12891
12892         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12893         class.
12894         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12895
12896 2002-08-27  Michael Koch <konqueror@gmx.de>
12897
12898         * java/net/BindException.java,
12899         java/net/JarURLConnection.java,
12900         java/net/FileNameMap.java,
12901         java/net/HttpURLConnection.java,
12902         java/net/InetSocketAddress.java,
12903         java/net/DatagramPacket.java,
12904         java/net/DatagramSocket.java,
12905         java/net/DatagramSocketImpl.java,
12906         java/net/MulticastSocket.java,
12907         java/net/PasswordAuthentication.java,
12908         java/net/ServerSocket.java,
12909         java/net/Socket.java,
12910         java/net/URLClassLoader.java,
12911         java/net/URLConnection.java: add/update of some @since/@deprecated
12912
12913 2002-08-27  Tony Kimball <alk@pobox.com>
12914             Tom Tromey  <tromey@redhat.com>
12915
12916         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12917         define.
12918         (::close): Removed.
12919         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12920         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12921         (::close): Removed.
12922         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12923         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12924
12925 2002-08-25  Adam Megacz <adam@xwt.org>
12926
12927         * include/win32.h (getcwd): copied function declaration as
12928         temporary fix for header confusion.
12929
12930 2002-08-24  Mark Wielaard <mark@klomp.org>
12931
12932         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12933         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12934         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12935         and natNameFinder.cc.
12936         * Makefile.in: Regenerate.
12937         * prims.cc: Use trace_enabled from VMThrowable.
12938         * name-finder.cc: Removed.
12939         * gcj/javaprims.h: Add class VMThrowable.
12940         * gnu/gcj/runtime/NameFinder.java: New file.
12941         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12942         * include/name-finder.h: Removed.
12943         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12944         method stackTraceString().
12945         (printStackTrace (PrintWriter)): Likewise.
12946         (stackTraceString): Complete rewrite of old printStackTrace using
12947         StringBuffer.
12948         (stackTraceStringBuffer): New helper method for stackTraceString().
12949         (fillInStackTrace): Delegate to VMTrowable.
12950         (getStackTrace): Likewise.
12951         (getStackTrace0): Removed.
12952         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12953         (setStackTrace): Copy given array.
12954         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12955         * java/lang/VMThrowable.java: New class.
12956         * java/lang/natVMThrowable.cc: New file.
12957
12958 2003-08-23  Michael Koch  <konqueror@gmx.de>
12959
12960         * java/net/URLConnection.java,
12961         java/netJarURLConnection.java,
12962         gnu/gcj/protocol/core/Connection.java,
12963         gnu/gcj/protocol/file/Connection.java,
12964         gnu/gcj/protocol/http/Connection.java: Added implementation of
12965         getHeaderFields().
12966
12967 2002-08-22  Tom Tromey  <tromey@redhat.com>
12968
12969         * gij.cc (help): Document -cp and -classpath.
12970         (main): Handle -classpath.
12971
12972 2002-08-21  Tom Tromey  <tromey@redhat.com>
12973
12974         * Makefile.in: Rebuilt.
12975         * Makefile.am (ordinary_java_source_files): Added
12976         SocketAddress.java, InetSocketAddress.java.
12977         * java/net/PortUnreachableException.java: Merged with Classpath.
12978         * java/net/SocketTimeoutException.java: Likewise.
12979         * java/net/URISyntaxException.java: Likewise.
12980         * java/net/SocketAddress.java: New class from Classpath.
12981         * java/net/InetSocketAddress.java: Likewise.
12982
12983 2003-08-21  Michael Koch  <konqueror@gmx.de>
12984
12985         * java/net/Authenticator.java: updated JDK 1.4
12986         * java/net/ContentHandler.java: updated JDK 1.4
12987
12988 2002-08-20  Michael Koch  <konqueror@gmx.de>
12989
12990         * java/net/URISyntaxException.java: New file.
12991         * java/net/SocketTimeoutException.java: New file.
12992         * java/net/PortUnreachableException.java: New file.
12993         * Makefile.am: Updated.
12994         * Makefile.in: Rebuilt.
12995
12996 2002-08-18  Mark Wielaard  <mark@klomp.org>
12997
12998         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12999         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13000         MessageDigestSpi (fixes Classpath bug #783).
13001
13002 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13003
13004         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13005         (startProcess): Allocate path for chdir in async-signal-safe way.
13006
13007 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13008
13009         Fix for PR libgcj/7570 and PR libgcj/7578:
13010         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13011         (startProcess): Handle new `dir' argument.
13012         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13013         argument.
13014         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13015         argument.
13016         (startProcess): Likewise.
13017         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13018         argument.
13019         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13020         (exec): Don't create new environment if ENV==null.  Pass DIR to
13021         execInternal.
13022         * java/lang/natRuntime.cc: Include java/io/File.h.
13023         (execInternal): Added `dir' argument.
13024
13025 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13026
13027         * java/io/RandomAccessFile.java (skipBytes): Return number of
13028         bytes skipped.
13029
13030 2002-08-01  Mark Wielaard  <mark@klomp.org>
13031
13032         Reenable patch since shared library troubles on powerpc are solved:
13033         * gnu/java/security/provider/Gnu.java: Reference all implementation
13034         classes by using Class.getName().
13035         * gnu/java/security/der/DEREncodingException.java,
13036         gnu/java/security/provider/DERReader.java,
13037         gnu/java/security/provider/DERWriter.java,
13038         gnu/java/security/provider/DSAKeyPairGenerator.java,
13039         gnu/java/security/provider/DSAParameterGenerator.java,
13040         gnu/java/security/provider/DSAParameters.java,
13041         gnu/java/security/provider/DSASignature.java,
13042         gnu/java/security/provider/GnuDSAPrivateKey.java,
13043         gnu/java/security/provider/GnuDSAPublicKey.java,
13044         gnu/java/security/provider/MD5.java,
13045         gnu/java/security/util/Prime.java: New classes
13046         * Makefile.am (ordinary_java_source_files): Add above files.
13047         * Makefile.in: Regenerate.
13048         * gnu/java/security/provider/DefaultPolicy.java
13049         (getPermissions): Don't maintain static class variable of Permissions.
13050         * gnu/java/security/provider/SHA.java
13051         (engineUpdate): algorithm change.
13052         (engineDigest): algorithm change.
13053
13054 2002-08-09  Mark Wielaard  <mark@klomp.org>
13055
13056         * java/awt/image/MemoryImageSource.java: Change constructor to take
13057         int[] not byte[].
13058         * java/awt/Graphics2D.java: Uncomment methods that can now be
13059         compiled.
13060         * java/awt/GridBagLayout.java: New stub implementation.
13061         * javax/swing/text/html/HTML.java: Stub implementation.
13062         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13063         implementation.
13064
13065         * Makefile.am: Add new files.
13066         * Makefile.in: Rebuilt.
13067
13068 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13069
13070         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13071         methods in Graphics2D.
13072
13073 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13074
13075         AWT/Swing merge from GNU Classpath.
13076
13077         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13078         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13079         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13080         java/awt/color/ProfileDataException.java,
13081         java/awt/CompositeContext.java, java/awt/Composite.java,
13082         java/awt/ContainerOrderFocusTraversalPolicy.java,
13083         java/awt/datatransfer/FlavorTable.java,
13084         java/awt/DefaultFocusTraversalPolicy.java,
13085         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13086         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13087         java/awt/dnd/DragGestureListener.java,
13088         java/awt/dnd/DragGestureRecognizer.java,
13089         java/awt/dnd/DragSourceAdapter.java,
13090         java/awt/dnd/DragSourceContext.java,
13091         java/awt/dnd/DragSourceDragEvent.java,
13092         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13093         java/awt/dnd/DragSourceListener.java,
13094         java/awt/dnd/DragSourceMotionListener.java,
13095         java/awt/dnd/DropTarget.java,
13096         java/awt/dnd/InvalidDnDOperationException.java,
13097         java/awt/dnd/peer/DragSourceContextPeer.java,
13098         java/awt/event/AWTEventListenerProxy.java,
13099         java/awt/event/MouseWheelEvent.java,
13100         java/awt/event/MouseWheelListener.java,
13101         java/awt/event/WindowFocusListener.java,
13102         java/awt/event/WindowStateListener.java,
13103         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13104         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13105         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13106         java/awt/geom/FlatteningPathIterator.java,
13107         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13108         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13109         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13110         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13111         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13112         java/awt/image/ImagingOpException.java,
13113         java/awt/image/RasterFormatException.java,
13114         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13115         java/awt/image/VolatileImage.java,
13116         java/awt/image/WritableRenderedImage.java,
13117         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13118         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13119         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13120         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13121         java/awt/PageAttributes.java, java/awt/print/Book.java,
13122         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13123         java/awt/print/Paper.java, java/awt/print/Printable.java,
13124         java/awt/print/PrinterAbortException.java,
13125         java/awt/print/PrinterException.java,
13126         java/awt/print/PrinterGraphics.java,
13127         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13128         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13129         java/awt/Stroke.java, java/awt/TexturePaint.java,
13130         javax/accessibility/AccessibleAction.java,
13131         javax/accessibility/AccessibleBundle.java,
13132         javax/accessibility/AccessibleComponent.java,
13133         javax/accessibility/AccessibleContext.java,
13134         javax/accessibility/AccessibleEditableText.java,
13135         javax/accessibility/AccessibleExtendedComponent.java,
13136         javax/accessibility/AccessibleExtendedTable.java,
13137         javax/accessibility/AccessibleHyperlink.java,
13138         javax/accessibility/AccessibleHypertext.java,
13139         javax/accessibility/AccessibleIcon.java,
13140         javax/accessibility/Accessible.java,
13141         javax/accessibility/AccessibleKeyBinding.java,
13142         javax/accessibility/AccessibleRelation.java,
13143         javax/accessibility/AccessibleRelationSet.java,
13144         javax/accessibility/AccessibleResourceBundle.java,
13145         javax/accessibility/AccessibleRole.java,
13146         javax/accessibility/AccessibleSelection.java,
13147         javax/accessibility/AccessibleState.java,
13148         javax/accessibility/AccessibleStateSet.java,
13149         javax/accessibility/AccessibleTable.java,
13150         javax/accessibility/AccessibleTableModelChange.java,
13151         javax/accessibility/AccessibleText.java,
13152         javax/accessibility/AccessibleValue.java,
13153         javax/swing/AbstractAction.java,
13154         javax/swing/AbstractButton.java,
13155         javax/swing/AbstractCellEditor.java,
13156         javax/swing/AbstractListModel.java,
13157         javax/swing/AbstractSet.java, javax/swing/Action.java,
13158         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13159         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13160         javax/swing/border/CompoundBorder.java,
13161         javax/swing/border/EmptyBorder.java,
13162         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13163         javax/swing/border/LineBorder.java,
13164         javax/swing/border/MatteBorder.java,
13165         javax/swing/border/TitledBorder.java,
13166         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13167         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13168         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13169         javax/swing/CellRendererPane.java,
13170         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13171         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13172         javax/swing/colorchooser/ColorSelectionModel.java,
13173         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13174         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13175         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13176         javax/swing/DefaultBoundedRangeModel.java,
13177         javax/swing/DefaultButtonModel.java,
13178         javax/swing/DefaultCellEditor.java,
13179         javax/swing/DefaultCellRenderer.java,
13180         javax/swing/DefaultComboBoxModel.java,
13181         javax/swing/DefaultDesktopManager.java,
13182         javax/swing/DefaultFocusManager.java,
13183         javax/swing/DefaultListCellRenderer.java,
13184         javax/swing/DefaultListModel.java,
13185         javax/swing/DefaultListSelectionModel.java,
13186         javax/swing/DefaultSingleSelectionModel.java,
13187         javax/swing/DesktopManager.java,
13188         javax/swing/event/AncestorEvent.java,
13189         javax/swing/event/AncestorListener.java,
13190         javax/swing/event/CaretEvent.java,
13191         javax/swing/event/CaretListener.java,
13192         javax/swing/event/CellEditorListener.java,
13193         javax/swing/event/ChangeEvent.java,
13194         javax/swing/event/ChangeListener.java,
13195         javax/swing/event/DocumentEvent.java,
13196         javax/swing/event/DocumentListener.java,
13197         javax/swing/event/EventListenerList.java,
13198         javax/swing/event/HyperlinkEvent.java,
13199         javax/swing/event/HyperlinkListener.java,
13200         javax/swing/event/InternalFrameAdapter.java,
13201         javax/swing/event/InternalFrameEvent.java,
13202         javax/swing/event/InternalFrameListener.java,
13203         javax/swing/event/ListDataEvent.java,
13204         javax/swing/event/ListDataListener.java,
13205         javax/swing/event/ListSelectionEvent.java,
13206         javax/swing/event/ListSelectionListener.java,
13207         javax/swing/event/MenuDragMouseEvent.java,
13208         javax/swing/event/MenuDragMouseListener.java,
13209         javax/swing/event/MenuEvent.java,
13210         javax/swing/event/MenuKeyEvent.java,
13211         javax/swing/event/MenuKeyListener.java,
13212         javax/swing/event/MenuListener.java,
13213         javax/swing/event/MouseInputAdapter.java,
13214         javax/swing/event/MouseInputListener.java,
13215         javax/swing/event/PopupMenuEvent.java,
13216         javax/swing/event/PopupMenuListener.java,
13217         javax/swing/event/SwingPropertyChangeSupport.java,
13218         javax/swing/event/TableColumnModelEvent.java,
13219         javax/swing/event/TableColumnModelListener.java,
13220         javax/swing/event/TableModelEvent.java,
13221         javax/swing/event/TableModelListener.java,
13222         javax/swing/event/TreeExpansionEvent.java,
13223         javax/swing/event/TreeExpansionListener.java,
13224         javax/swing/event/TreeModelEvent.java,
13225         javax/swing/event/TreeModelListener.java,
13226         javax/swing/event/TreeSelectionEvent.java,
13227         javax/swing/event/TreeSelectionListener.java,
13228         javax/swing/event/TreeWillExpandListener.java,
13229         javax/swing/event/UndoableEditEvent.java,
13230         javax/swing/event/UndoableEditListener.java,
13231         javax/swing/filechooser/FileFilter.java,
13232         javax/swing/filechooser/FileSystemView.java,
13233         javax/swing/filechooser/FileView.java,
13234         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13235         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13236         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13237         javax/swing/JApplet.java, javax/swing/JButton.java,
13238         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13239         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13240         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13241         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13242         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13243         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13244         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13245         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13246         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13247         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13248         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13249         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13250         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13251         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13252         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13253         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13254         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13255         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13256         javax/swing/JToolTip.java, javax/swing/JTree.java,
13257         javax/swing/JViewport.java, javax/swing/JWindow.java,
13258         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13259         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13260         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13261         javax/swing/MenuSelectionManager.java,
13262         javax/swing/MutableComboBoxModel.java,
13263         javax/swing/OverlayLayout.java,
13264         javax/swing/plaf/ActionMapUIResource.java,
13265         javax/swing/plaf/basic/BasicBorders.java,
13266         javax/swing/plaf/basic/BasicButtonUI.java,
13267         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13268         javax/swing/plaf/basic/BasicDefaults.java,
13269         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13270         javax/swing/plaf/basic/BasicIconFactory.java,
13271         javax/swing/plaf/basic/BasicLabelUI.java,
13272         javax/swing/plaf/basic/BasicListUI.java,
13273         javax/swing/plaf/basic/BasicLookAndFeel.java,
13274         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13275         javax/swing/plaf/basic/BasicPanelUI.java,
13276         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13277         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13278         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13279         javax/swing/plaf/basic/BasicTextUI.java,
13280         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13281         javax/swing/plaf/basic/BasicTreeUI.java,
13282         javax/swing/plaf/basic/BasicViewportUI.java,
13283         javax/swing/plaf/BorderUIResource.java,
13284         javax/swing/plaf/ButtonUI.java,
13285         javax/swing/plaf/ColorChooserUI.java,
13286         javax/swing/plaf/ColorUIResource.java,
13287         javax/swing/plaf/ComboBoxUI.java,
13288         javax/swing/plaf/ComponentInputMapUIResource.java,
13289         javax/swing/plaf/ComponentUI.java,
13290         javax/swing/plaf/DesktopIconUI.java,
13291         javax/swing/plaf/DesktopPaneUI.java,
13292         javax/swing/plaf/DimensionUIResource.java,
13293         javax/swing/plaf/FileChooserUI.java,
13294         javax/swing/plaf/FontUIResource.java,
13295         javax/swing/plaf/IconUIResource.java,
13296         javax/swing/plaf/InputMapUIResource.java,
13297         javax/swing/plaf/InsetsUIResource.java,
13298         javax/swing/plaf/InternalFrameUI.java,
13299         javax/swing/plaf/LabelUI.java,
13300         javax/swing/plaf/ListUI.java,
13301         javax/swing/plaf/MenuBarUI.java,
13302         javax/swing/plaf/MenuItemUI.java,
13303         javax/swing/plaf/OptionPaneUI.java,
13304         javax/swing/plaf/PanelUI.java,
13305         javax/swing/plaf/PopupMenuUI.java,
13306         javax/swing/plaf/ProgressBarUI.java,
13307         javax/swing/plaf/RootPaneUI.java,
13308         javax/swing/plaf/ScrollBarUI.java,
13309         javax/swing/plaf/ScrollPaneUI.java,
13310         javax/swing/plaf/SeparatorUI.java,
13311         javax/swing/plaf/SliderUI.java,
13312         javax/swing/plaf/SplitPaneUI.java,
13313         javax/swing/plaf/TabbedPaneUI.java,
13314         javax/swing/plaf/TableHeaderUI.java,
13315         javax/swing/plaf/TableUI.java,
13316         javax/swing/plaf/TextUI.java,
13317         javax/swing/plaf/ToolBarUI.java,
13318         javax/swing/plaf/ToolTipUI.java,
13319         javax/swing/plaf/TreeUI.java,
13320         javax/swing/plaf/UIResource.java,
13321         javax/swing/plaf/ViewportUI.java,
13322         javax/swing/ProgressMonitorInputStream.java,
13323         javax/swing/ProgressMonitor.java,
13324         javax/swing/Renderer.java,
13325         javax/swing/RepaintManager.java,
13326         javax/swing/RootPaneContainer.java,
13327         javax/swing/Scrollable.java,
13328         javax/swing/ScrollPaneConstants.java,
13329         javax/swing/ScrollPaneLayout.java,
13330         javax/swing/SingleSelectionModel.java,
13331         javax/swing/SizeRequirements.java,
13332         javax/swing/SizeSequence.java,
13333         javax/swing/SwingConstants.java,
13334         javax/swing/SwingUtilities.java,
13335         javax/swing/table/AbstractTableModel.java,
13336         javax/swing/table/DefaultTableCellRenderer.java,
13337         javax/swing/table/DefaultTableColumnModel.java,
13338         javax/swing/table/DefaultTableModel.java,
13339         javax/swing/table/TableCellEditor.java,
13340         javax/swing/table/TableCellRenderer.java,
13341         javax/swing/table/TableColumn.java,
13342         javax/swing/table/TableColumnModel.java,
13343         javax/swing/table/TableModel.java,
13344         javax/swing/text/AbstractDocument.java,
13345         javax/swing/text/AttributeSet.java,
13346         javax/swing/text/BadLocationException.java,
13347         javax/swing/text/Caret.java,
13348         javax/swing/text/CharacterIterator.java,
13349         javax/swing/text/ComponentView.java,
13350         javax/swing/text/DefaultCaret.java,
13351         javax/swing/text/DefaultEditorKit.java,
13352         javax/swing/text/Document.java,
13353         javax/swing/text/EditorKit.java,
13354         javax/swing/text/Element.java,
13355         javax/swing/text/GapContent.java,
13356         javax/swing/text/JTextComponent.java,
13357         javax/swing/text/Keymap.java,
13358         javax/swing/text/MutableAttributeSet.java,
13359         javax/swing/text/PlainDocument.java,
13360         javax/swing/text/PlainEditorKit.java,
13361         javax/swing/text/Position.java,
13362         javax/swing/text/Segment.java,
13363         javax/swing/text/StyledDocument.java,
13364         javax/swing/text/StyledEditorKit.java,
13365         javax/swing/text/Style.java,
13366         javax/swing/text/TextAction.java,
13367         javax/swing/text/ViewFactory.java,
13368         javax/swing/text/View.java,
13369         javax/swing/Timer.java,
13370         javax/swing/ToggleButtonModel.java,
13371         javax/swing/ToolTipManager.java,
13372         javax/swing/tree/AbstractLayoutCache.java,
13373         javax/swing/tree/DefaultMutableTreeNode.java,
13374         javax/swing/tree/DefaultTreeCellEditor.java,
13375         javax/swing/tree/DefaultTreeCellRenderer.java,
13376         javax/swing/tree/DefaultTreeModel.java,
13377         javax/swing/tree/DefaultTreeSelectionModel.java,
13378         javax/swing/tree/ExpandVetoException.java,
13379         javax/swing/tree/FixedHeightLayoutCache.java,
13380         javax/swing/tree/MutableTreeNode.java,
13381         javax/swing/tree/RowMapper.java,
13382         javax/swing/tree/TreeCellEditor.java,
13383         javax/swing/tree/TreeCellRenderer.java,
13384         javax/swing/tree/TreeModel.java,
13385         javax/swing/tree/TreeNode.java,
13386         javax/swing/tree/TreePath.java,
13387         javax/swing/tree/TreeSelectionModel.java,
13388         javax/swing/tree/VariableHeightLayoutCache.java,
13389         javax/swing/UIDefaults.java,
13390         javax/swing/UIManager.java,
13391         javax/swing/undo/AbstractUndoableEdit.java,
13392         javax/swing/undo/CannotRedoException.java,
13393         javax/swing/undo/CannotUndoException.java,
13394         javax/swing/undo/CompoundEdit.java,
13395         javax/swing/undo/StateEditable.java,
13396         javax/swing/undo/StateEdit.java,
13397         javax/swing/undo/UndoableEdit.java,
13398         javax/swing/undo/UndoableEditSupport.java,
13399         javax/swing/undo/UndoManager.java,
13400         javax/swing/UnsupportedLookAndFeelException.java,
13401         javax/swing/ViewportLayout.java,
13402         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13403
13404         * java/awt/ActiveEvent.java,
13405         java/awt/Adjustable.java, java/awt/AWTError.java,
13406         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13407         java/awt/AWTException.java, java/awt/AWTPermission.java,
13408         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13409         java/awt/Color.java, java/awt/Component.java,
13410         java/awt/ComponentOrientation.java, java/awt/Container.java,
13411         java/awt/datatransfer/MimeTypeParseException.java,
13412         java/awt/datatransfer/Transferable.java,
13413         java/awt/datatransfer/UnsupportedFlavorException.java,
13414         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13415         java/awt/event/ActionListener.java,
13416         java/awt/event/AdjustmentEvent.java,
13417         java/awt/event/AdjustmentListener.java,
13418         java/awt/event/AWTEventListener.java,
13419         java/awt/event/ComponentAdapter.java,
13420         java/awt/event/ComponentEvent.java,
13421         java/awt/event/ComponentListener.java,
13422         java/awt/event/ContainerAdapter.java,
13423         java/awt/event/ContainerEvent.java,
13424         java/awt/event/ContainerListener.java,
13425         java/awt/event/FocusAdapter.java,
13426         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13427         java/awt/event/HierarchyBoundsAdapter.java,
13428         java/awt/event/HierarchyBoundsListener.java,
13429         java/awt/event/HierarchyEvent.java,
13430         java/awt/event/HierarchyListener.java,
13431         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13432         java/awt/event/InputMethodListener.java,
13433         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13434         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13435         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13436         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13437         java/awt/event/MouseListener.java,
13438         java/awt/event/MouseMotionAdapter.java,
13439         java/awt/event/MouseMotionListener.java,
13440         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13441         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13442         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13443         java/awt/event/WindowListener.java, java/awt/Font.java,
13444         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13445         java/awt/geom/Ellipse2D.java,
13446         java/awt/geom/IllegalPathStateException.java,
13447         java/awt/geom/Line2D.java,
13448         java/awt/geom/NoninvertibleTransformException.java,
13449         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13450         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13451         java/awt/geom/RoundRectangle2D.java,
13452         java/awt/GraphicsConfiguration.java,
13453         java/awt/IllegalComponentStateException.java,
13454         java/awt/image/IndexColorModel.java,
13455         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13456         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13457         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13458         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13459         java/awt/MenuItem.java, java/awt/PaintContext.java,
13460         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13461         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13462         java/awt/PrintJob.java, java/awt/Rectangle.java,
13463         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13464         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13465         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13466
13467         * java/awt/im/spi/InputMethod.java,
13468         java/awt/im/spi/InputMethodContext.java,
13469         java/awt/im/spi/InputMethodDescriptor.java,
13470         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13471         java/awt/image/renderable/ParameterBlock.java,
13472         java/awt/image/renderable/RenderContext.java,
13473         java/awt/image/renderable/RenderableImage.java,
13474         java/awt/image/renderable/RenderableImageOp.java,
13475         java/awt/image/renderable/RenderableImageProducer.java,
13476         java/awt/image/renderable/RenderedImageFactory.java: New files from
13477         classpath.
13478
13479         * gnu/java/awt/EventModifier.java,
13480         gnu/java/awt/image/ImageDecoder.java,
13481         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13482
13483         * gnu/awt/xlib/XGraphicsConfiguration.java,
13484         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13485         API.
13486
13487         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13488         GNU Classpath.
13489
13490         * Makefile.am: Add new files.
13491         * Makefile.in: Rebuilt.
13492
13493 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13494
13495         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13496         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13497         findResource, getResources, findResources): Add javadoc from classpath.
13498         (getSystemResources): Implemented.
13499
13500 2002-08-01  Mark Wielaard  <mark@klomp.org>
13501
13502         Revert patch that breaks libgcj shared library on powerpc:
13503         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13504         implementation classes by using Class.getName(). Uses Strings again.
13505         * gnu/java/security/der/DEREncodingException.java,
13506         gnu/java/security/provider/DERReader.java,
13507         gnu/java/security/provider/DERWriter.java,
13508         gnu/java/security/provider/DSAKeyPairGenerator.java,
13509         gnu/java/security/provider/DSAParameterGenerator.java,
13510         gnu/java/security/provider/DSAParameters.java,
13511         gnu/java/security/provider/DSASignature.java,
13512         gnu/java/security/provider/GnuDSAPrivateKey.java,
13513         gnu/java/security/provider/GnuDSAPublicKey.java,
13514         gnu/java/security/provider/MD5.java,
13515         gnu/java/security/util/Prime.java: Removed.
13516         * Makefile.am (ordinary_java_source_files): Remove above files.
13517         * Makefile.in: Regenerate.
13518         * gnu/java/security/provider/DefaultPolicy.java
13519         (getPermissions): Revert to maintaining static class variable of
13520         Permissions.
13521         * gnu/java/security/provider/SHA.java
13522         (engineUpdate): Revert algorithm change.
13523         (engineDigest): Revert algorithm change.
13524
13525 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13526
13527         * configure.host: Add SH support.
13528         * sysdep/sh/locks.h: New file.
13529
13530 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13531
13532         * java/awt/Frame.java (Frame): Remove println calls.
13533
13534 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13535
13536         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13537         * configure: Rebuilt.
13538
13539 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13540
13541         * sysdep/powerpc/locks.h: Formatting.
13542         (_LARX): Define.
13543         (_STCX): Define.
13544         (compare_and_swap): Use _LARX and _STCX.
13545         (compare_and_swap_release): Likewise.
13546
13547 2002-07-26  Tom Tromey  <tromey@redhat.com>
13548
13549         * java/net/Authenticator.java: New version from Classpath.
13550         * java/net/DatagramSocketImpl.java: New version from Classpath.
13551
13552 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13553
13554         * configure.host: Add powerpc64*-* entry.
13555
13556 2002-07-26  Tom Tromey  <tromey@redhat.com>
13557
13558         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13559         fcntl.h.
13560
13561 2002-07-24  Tom Tromey  <tromey@redhat.com>
13562
13563         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13564         argument to _load.
13565
13566 2002-07-24  Tom Tromey  <tromey@redhat.com>
13567             Tony Kimball <alk@pobox.com>
13568
13569         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13570         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13571         * java/io/RandomAccessFile.java (setLength): New method.
13572         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13573         * java/io/FileDescriptor.java (setLength): New method.
13574
13575 2002-07-24  Mark Wielaard  <mark@klomp.org>
13576
13577         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13578         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13579         field call setAccessible(true).
13580         (setByteField): Likewise.
13581         (setCharField): Likewise.
13582         (setDoubleField): Likewise.
13583         (setFloatField): Likewise.
13584         (setIntField): Likewise.
13585         (setLongField): Likewise.
13586         (setShortField): Likewise.
13587         (setObjectField): Likewise.
13588
13589 2002-07-24  Tom Tromey  <tromey@redhat.com>
13590
13591         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13592         use toString() to format array element.
13593
13594 2002-07-23  Mark Wielaard  <mark@klomp.org>
13595
13596         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13597         MessageDigestSpi (fixes Classpath bug #783).
13598
13599 2002-07-21  Mark Wielaard  <mark@klomp.org>
13600
13601         * gnu/java/security/provider/Gnu.java: Reference all implementation
13602         classes by using Class.getName().
13603
13604 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13605
13606         * java/lang/ieeefp.h: Add x86-64 support.
13607         * configure.in: Likewise.
13608         * configure.host: Likewise.
13609         * configure: Regenerated.
13610         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13611
13612 2002-07-16  Mark Wielaard  <mark@klomp.org>
13613
13614         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13615         (whitespaceChars): call resetChar().
13616
13617 2002-07-15  Tom Tromey  <tromey@redhat.com>
13618
13619         * Makefile.in: Rebuilt.
13620         * Makefile.am (awt_java_source_files): Added new files.
13621         * java/beans/ExceptionListener.java: Merged with Classpath.
13622         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13623         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13624         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13625         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13626         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13627         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13628         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13629
13630 2002-07-14  Mark Wielaard  <mark@klomp.org>
13631
13632         * gnu/java/security/der/DEREncodingException.java,
13633         gnu/java/security/provider/DERReader.java,
13634         gnu/java/security/provider/DERWriter.java,
13635         gnu/java/security/provider/DSAKeyPairGenerator.java,
13636         gnu/java/security/provider/DSAParameterGenerator.java,
13637         gnu/java/security/provider/DSAParameters.java,
13638         gnu/java/security/provider/DSASignature.java,
13639         gnu/java/security/provider/GnuDSAPrivateKey.java,
13640         gnu/java/security/provider/GnuDSAPublicKey.java,
13641         gnu/java/security/provider/MD5.java,
13642         gnu/java/security/util/Prime.java: New files from Classpath.
13643         * Makefile.am (ordinary_java_source_files): Add new files.
13644         * Makefile.in: Regenerate.
13645
13646 2002-07-14  C. Brian Jones <cbj@gnu.org>
13647
13648         * gnu/java/security/provider/DefaultPolicy.java
13649         (getPermissions): do not maintain static class variable of
13650         Permissions
13651         * gnu/java/security/provider/SHA.java
13652         (engineUpdate): algorithm change
13653         (engineDigest): algorithm change
13654
13655 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13656
13657         For PR libgcj/7292:
13658         * java/lang/Character.java (toString(char)): Now static.
13659
13660 2002-07-12  Mark Wielaard  <mark@klomp.org>
13661
13662         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13663         (getStackTrace0): new method.
13664         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13665         (printStackTrace(PrintWriter)): replace with pure java implementation.
13666         (printRawStackTrace): removed.
13667         (getStackTrace0): new method.
13668         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13669         * gcj/javaprims.h: regenerate class list.
13670         * include/name-finder.h (lookup): new returns StackTraceElement*.
13671         (method_name, file_name): fields removed.
13672         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13673         (~_Jv_name_finder): close new descriptors.
13674         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13675         (createStackTraceElement): new method.
13676         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13677
13678 2002-07-10  Tom Tromey  <tromey@redhat.com>
13679
13680         * configure: Rebuilt.
13681         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13682
13683 2002-07-08  Mark Wielaard  <mark@klomp.org>
13684
13685         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13686         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13687         java.sql.DatabaseMetaData.TestJdbc20
13688
13689 2002-07-05  Tony Kimball  <alk@pobox.com>
13690
13691         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13692
13693 2002-07-04  Tom Tromey  <tromey@redhat.com>
13694             Jeff Sturm  <jsturm@one-point.com>
13695
13696         Fix for PR libgcj/7060:
13697         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13698         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13699         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13700         * java/lang/Class.java (getMethod): New Java implementation;
13701         complies with spec.
13702         (_getMethod): New native method.
13703
13704 2002-07-02  Tom Tromey  <tromey@redhat.com>
13705             David Hovemeyer  <daveho@cs.umd.edu>
13706
13707         * java/text/ChoiceFormat.java
13708         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13709         in check loop.
13710         * java/text/MessageFormat.java
13711         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13712         to MessageFormat.
13713
13714 2002-07-01  Tom Tromey  <tromey@redhat.com>
13715
13716         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13717         StringTokenizer on null string.  For PR libgcj/7180.
13718         From daveho@cs.umd.edu.
13719
13720 2002-06-24  Tom Tromey  <tromey@redhat.com>
13721
13722         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13723         (IntegerClass): Likewise.
13724         * java/lang/natClass.cc (CloneableClass): Removed.
13725         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13726         ConstructorClass): Likewise.
13727         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13728         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13729         SerializableClass): Likewise.
13730         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13731         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13732         LongClass, FloatClass, DoubleClass): Likewise.
13733
13734         * verify.cc (branch_prepass): Updated for change to exception
13735         handler type.
13736         (verify_instructions_0): Likewise.
13737         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13738         (handleExceptionTableEntry): Updated for change to exception
13739         handler type.
13740         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13741         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13742         (union _Jv_InterpPC): New.
13743         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13744         (class _Jv_InterpMethod): Added new `prepared' field.
13745         (class _Jv_InterpMethod): Added `compile' method.  Removed
13746         `continue1' and `find_exception'.  Changed arguments to `run'.
13747         * interpret.cc (union insn_slot): New.
13748         (find_exception): Removed.
13749         (run_normal): Removed most logic.
13750         (run_synch_object): Likewise; also, use JvSynchronize.
13751         (run_synch_class): Likewise.
13752         (run): Removed.
13753         (continue1): Renamed as `run'.  Compile bytecode if required.
13754         Add new code to allow refinement of direct-threaded code at
13755         runtime.  Handle exceptions.
13756         (SAVE_PC): Removed.
13757         (compile): New method.
13758         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13759         (NULLARRAYCHECK): Don't use SAVE_PC.
13760         (pc_t): New typedef.
13761         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13762         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13763
13764 2002-06-23  Tom Tromey  <tromey@redhat.com>
13765
13766         * configure: Rebuilt.
13767         * configure.in (INTERPRETER): New subst.
13768         (AM_RUNTESTFLAGS): Don't subst.
13769
13770         * Makefile.in: Rebuilt.
13771         * Makefile.am ($(srcdir)/java/lang/Object.h,
13772         $(srcdir)/java/lang/Class.h): Added dummy targets.
13773
13774 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13775
13776         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13777
13778         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13779         java/sql/Savepoint.java: New files.
13780         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13781         java/sql/Blob.java, java/sql/CallableStatement.java,
13782         java/sql/Clob.java, java/sql/Connection.java,
13783         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13784         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13785         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13786         java/sql/Ref.java, java/sql/ResultSet.java,
13787         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13788         java/sql/SQLException.java, java/sql/SQLInput.java,
13789         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13790         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13791         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13792         (JDK 1.4) specification.
13793         * javax/sql/ConnectionEvent.java,
13794         javax/sql/ConnectionEventListener.java,
13795         javax/sql/ConnectionPoolDataSource.java,
13796         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13797         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13798         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13799         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13800         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13801         javax/sql/XADataSource.java: New files.
13802         * Makefile.am: Add new files.
13803         * Makefile.in: Rebuilt.
13804
13805 2002-06-20  Tom Tromey  <tromey@redhat.com>
13806
13807         For PR libgcj/7073:
13808         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13809         exists.
13810         * defineclass.cc (handleClassBegin): Superclass for interface is
13811         `null'.
13812
13813 2002-06-18  Tom Tromey  <tromey@redhat.com>
13814
13815         * gcj/javaprims.h: Updated class declaration list.
13816         * Makefile.in: Rebuilt.
13817         * Makefile.am (core_java_source_files): Removed
13818         BasicMapEntry.java.
13819         * java/util/BasicMapEntry.java: Removed.
13820
13821 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13822
13823         * java/net/natPlainDatagramSocketImpl.cc (receive):
13824         Check bounds of argument to FD_SET.
13825         (setOption): Throw exception if socket is closed.
13826
13827         * java/net/natPlainSocketImpl.cc (accept, read):
13828         Check bounds of argument to FD_SET.
13829         (setOption): Throw exception if socket is closed.
13830
13831 2002-06-18  Tom Tromey  <tromey@redhat.com>
13832
13833         * gcj/javaprims.h: Updated class declaration list.
13834         * Makefile.in: Rebuilt.
13835         * Makefile.am (core_java_source_files): Added
13836         PropertyPermissionCollection.java.
13837         * java/lang/Thread.java (group, name): Now package-private.
13838         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13839         * java/util/AbstractList.java: Likewise.
13840         * java/util/AbstractMap.java: Likewise.
13841         * java/util/Calendar.java: Likewise.
13842         * java/util/Collections.java: Likewise.
13843         * java/util/HashMap.java: Likewise.
13844         * java/util/Hashtable.java: Likewise.
13845         * java/util/LinkedHashMap.java: Likewise.
13846         * java/util/LinkedList.java: Likewise.
13847         * java/util/List.java: Likewise.
13848         * java/util/ListResourceBundle.java: Likewise.
13849         * java/util/Map.java: Likewise.
13850         * java/util/Observable.java: Likewise.
13851         * java/util/Properties.java: Likewise.
13852         * java/util/PropertyPermission.java: Likewise.
13853         * java/util/PropertyPermissionCollection.java: Likewise.
13854         * java/util/PropertyResourceBundle.java: Likewise.
13855         * java/util/Random.java: Likewise.
13856         * java/util/SimpleTimeZone.java: Likewise.
13857         * java/util/StringTokenizer.java: Likewise.
13858         * java/util/TimerTask.java: Likewise.
13859         * java/util/TreeMap.java: Likewise.
13860         * java/util/WeakHashMap.java: Likewise.
13861         * java/util/jar/Attributes.java: Likewise.
13862         * java/util/jar/JarException.java: Likewise.
13863         * java/util/jar/Manifest.java: Likewise.
13864
13865 2002-06-17  Tom Tromey  <tromey@redhat.com>
13866
13867         * gcj/javaprims.h: Updated class declaration list.
13868         * Makefile.in: Rebuilt.
13869         * Makefile.am (core_java_source_files): Added new file.
13870         * java/util/EventListenerProxy.java: New file.
13871         * java/util/EventListener.java: Re-merge with Classpath.
13872         * java/util/EventObject.java: Re-merge with Classpath.
13873
13874 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13875
13876         * java/lang/ClassNotFoundException.java: New Classpath version.
13877
13878 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13879
13880         * java/rmi/activation/ActivateFailedException.java: Remerge from
13881         Classpath version.
13882         * java/rmi/activation/ActivationException.java: Ditto.
13883         * java/rmi/activation/UnknownGroupException.java: Ditto.
13884         * java/rmi/activation/UnknownObjectException.java: Ditto.
13885         * java/rmi/server/ExportException: Ditto.
13886         * java/rmi/server/ServerCloneException: Ditto.
13887         * java/rmi/server/ServerNotActiveException: Ditto.
13888         * java/rmi/server/SkeletonMismatchException: Ditto.
13889         * java/rmi/server/SkeletonNotFoundException: Ditto.
13890         * java/rmi/server/SocketSecurityException: Ditto.
13891
13892 2002-06-16  Tom Tromey  <tromey@redhat.com>
13893
13894         * gcj/javaprims.h: Updated class declaration list.
13895
13896         * java/io/LineNumberInputStream.java: Merged with Classpath.
13897
13898         * java/lang/RuntimeException.java: Re-merge with Classpath.
13899         * java/util/ArrayList.java: Likewise.
13900         * java/util/Arrays.java: Likewise.
13901         * java/util/BitSet.java: Likewise.
13902         * java/util/Dictionary.java: Likewise.
13903         * java/util/IdentityHashMap.java: Likewise.
13904         * java/util/MissingResourceException.java: Likewise.
13905         * java/util/Observer.java: Likewise.
13906         * java/util/TooManyListenersException.java: Likewise.
13907         * java/util/zip/DataFormatException.java: Likewise.
13908         * java/util/zip/ZipException.java: Likewise.
13909
13910 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13911
13912         * java/rmi/AccessException.java: Remerge from Classpath.
13913         * java/rmi/AlreadyBoundException.java: Ditto.
13914         * java/rmi/ConnectException.java: Ditto.
13915         * java/rmi/ConnectIOException.java: Ditto.
13916         * java/rmi/MarshalException.java: Ditto.
13917         * java/rmi/NoSuchObjectException.java: Ditto.
13918         * java/rmi/NotBoundException.java: Ditto.
13919         * java/rmi/RemoteException.java: Ditto.
13920         * java/rmi/RMISecurityException.java: Ditto.
13921         * java/rmi/ServerError.java: Ditto.
13922         * java/rmi/ServerException.java: Ditto.
13923         * java/rmi/ServerRuntimeException.java: Ditto.
13924         * java/rmi/StubNotFoundException.java: Ditto.
13925         * java/rmi/UnexpectedExcpetion.java: Ditto.
13926         * java/rmi/UnknownHostException.java: Ditto.
13927         * java/rmi/UnmarshalException.java: Ditto.
13928
13929 2002-06-15  Tom Tromey  <tromey@redhat.com>
13930
13931         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13932         * java/lang/ArithmeticException.java: Likewise.
13933         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13934         * java/lang/ArrayStoreException.java: Likewise.
13935         * java/lang/Byte.java: Likewise.
13936         * java/lang/CharSequence.java: Likewise.
13937         * java/lang/ClassCastException.java: Likewise.
13938         * java/lang/ClassCircularityError.java: Likewise.
13939         * java/lang/ClassFormatError.java: Likewise.
13940         * java/lang/CloneNotSupportedException.java: Likewise.
13941         * java/lang/Cloneable.java: Likewise.
13942         * java/lang/Comparable.java: Likewise.
13943         * java/lang/Compiler.java: Likewise.
13944         * java/lang/Error.java: Likewise.
13945         * java/lang/ExceptionInInitializerError.java: Likewise.
13946         * java/lang/IllegalAccessError.java: Likewise.
13947         * java/lang/IllegalAccessException.java: Likewise.
13948         * java/lang/IllegalArgumentException.java: Likewise.
13949         * java/lang/IllegalMonitorStateException.java: Likewise.
13950         * java/lang/IllegalStateException.java: Likewise.
13951         * java/lang/IllegalThreadStateException.java: Likewise.
13952         * java/lang/IncompatibleClassChangeError.java: Likewise.
13953         * java/lang/IndexOutOfBoundsException.java: Likewise.
13954         * java/lang/InheritableThreadLocal.java: Likewise.
13955         * java/lang/InstantiationError.java: Likewise.
13956         * java/lang/InstantiationException.java: Likewise.
13957         * java/lang/InternalError.java: Likewise.
13958         * java/lang/InterruptedException.java: Likewise.
13959         * java/lang/LinkageError.java: Likewise.
13960         * java/lang/NegativeArraySizeException.java: Likewise.
13961         * java/lang/NoClassDefFoundError.java: Likewise.
13962         * java/lang/NoSuchFieldError.java: Likewise.
13963         * java/lang/NoSuchFieldException.java: Likewise.
13964         * java/lang/NoSuchMethodError.java: Likewise.
13965         * java/lang/NoSuchMethodException.java: Likewise.
13966         * java/lang/NullPointerException.java: Likewise.
13967         * java/lang/NumberFormatException.java: Likewise.
13968         * java/lang/OutOfMemoryError.java: Likewise.
13969         * java/lang/Process.java: Likewise.
13970         * java/lang/Runnable.java: Likewise.
13971         * java/lang/RuntimePermission.java: Likewise.
13972         * java/lang/SecurityException.java: Likewise.
13973         * java/lang/Short.java: Likewise.
13974         * java/lang/StackOverflowError.java: Likewise.
13975         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13976         * java/lang/ThreadDeath.java: Likewise.
13977         * java/lang/ThreadLocal.java: Likewise.
13978         * java/lang/UnknownError.java: Likewise.
13979         * java/lang/UnsatisfiedLinkError.java: Likewise.
13980         * java/lang/UnsupportedClassVersionError.java: Likewise.
13981         * java/lang/UnsupportedOperationException.java: Likewise.
13982         * java/lang/VerifyError.java: Likewise.
13983         * java/lang/VirtualMachineError.java: Likewise.
13984         * java/lang/reflect/InvocationTargetException.java: Likewise.
13985         * java/net/BindException.java: Likewise.
13986         * java/net/ConnectException.java: Likewise.
13987         * java/net/MalformedURLException.java: Likewise.
13988         * java/net/NoRouteToHostException.java: Likewise.
13989         * java/net/ProtocolException.java: Likewise.
13990         * java/net/SocketException.java: Likewise.
13991         * java/net/UnknownHostException.java: Likewise.
13992         * java/net/UnknownServiceException.java: Likewise.
13993
13994         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13995         * java/io/CharConversionException.java: Likewise.
13996         * java/io/EOFException.java: Likewise.
13997         * java/io/FileNotFoundException.java: Likewise.
13998         * java/io/IOException.java: Likewise.
13999         * java/io/InterruptedIOException.java: Likewise.
14000         * java/io/InvalidClassException.java: Likewise.
14001         * java/io/InvalidObjectException.java: Likewise.
14002         * java/io/NotActiveException.java: Likewise.
14003         * java/io/NotSerializableException.java: Likewise.
14004         * java/io/ObjectStreamException.java: Likewise.
14005         * java/io/ObjectStreamConstants.java: Likewise.
14006         * java/io/OptionalDataException.java: Likewise.
14007         * java/io/PipedInputStream.java: Likewise.
14008         * java/io/PushbackInputStream.java: Likewise.
14009         * java/io/StreamCorruptedException.java: Likewise.
14010         * java/io/SyncFailedException.java: Likewise.
14011         * java/io/UTFDataFormatException.java: Likewise.
14012         * java/io/UnsupportedEncodingException.java: Likewise.
14013         * java/io/WriteAbortedException.java: Likewise.
14014
14015 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14016
14017         * java/text/ChoiceFormat.java: Update comments from Classpath.
14018         * java/text/ParseException.java (serialVersionUID): New
14019         field from Classpath.
14020         * java/text/ParseException.java: Update formatting & comments
14021         from Classpath.
14022
14023 2002-06-15  Tom Tromey  <tromey@redhat.com>
14024
14025         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14026         been read but none output by inflater.
14027         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14028         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14029         is_finished.
14030         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14031         version.
14032         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14033         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14034         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14035         version.
14036         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14037
14038 2002-06-13  Tom Tromey  <tromey@redhat.com>
14039
14040         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14041         true and OFFSET!=0.
14042         * java/lang/String.java (String(char[],int,int,boolean): New
14043         constructor.
14044         * java/lang/Long.java: Imported new version from Classpath.
14045         * java/lang/Number.java: Likewise.
14046         * java/lang/Integer.java: Likewise.
14047         * java/lang/Long.java: Likewise.
14048         * java/lang/Float.java: Likewise.
14049         * java/lang/Boolean.java: Likewise.
14050         * java/lang/Double.java: Likewise.
14051         * java/lang/Void.java: Likewise.
14052
14053 2002-06-12  Tom Tromey  <tromey@redhat.com>
14054
14055         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14056         Fixes PR libgcj/6652.
14057
14058 2002-06-10  Tom Tromey  <tromey@redhat.com>
14059
14060         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14061         (Class::getPackagePortion): Likewise.
14062         * java/lang/Class.java (desiredAssertionStatus): New method from
14063         Classpath.
14064         (getPackagePortion): Likewise.
14065         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14066         packageAssertionStatus, classAssertionStatus): New methods from
14067         Classpath.
14068         * java/lang/ClassLoader.java (defaultAssertionStatus,
14069         systemPackageAssertionStatus, packageAssertionStatus,
14070         systemClassAssertionStatus, classAssertionStatus): New fields from
14071         Classpath.
14072         (setDefaultAssertionStatus, setPackageAssertionStatus,
14073         setClassAssertionStatus, clearAssertionStatus): New methods from
14074         Classpath.
14075         * Makefile.in: Rebuilt.
14076         * Makefile.am (core_java_source_files): Added AssertionError.java.
14077         * java/lang/AssertionError.java: New from Classpath.
14078
14079 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14080
14081         * configure.host: Disable hash synchronization and slow_pthread_self
14082         for cygwin.
14083
14084 2002-06-06  Adam Megacz <adam@xwt.org>
14085
14086         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14087         locking, just like the Sun JVM does.
14088
14089 2002-06-05  H.J. Lu  (hjl@gnu.org)
14090
14091         * Makefile.am (libgcj_convenience.la): Revert the last change.
14092         (libgcj.la): Likewise.
14093         * Makefile.in: Regenerated.
14094
14095 2002-06-04  H.J. Lu  (hjl@gnu.org)
14096
14097         * Makefile.am (libgcj_convenience.la): New target.
14098         (libgcj.la): Depend on libgcj_convenience.la.
14099         * Makefile.in: Regenerated.
14100
14101 2002-06-04  H.J. Lu  (hjl@gnu.org)
14102
14103         * configure.in (--with-newlib): New option:
14104         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14105         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14106         Linux.
14107         * configure: Regenerated.
14108
14109 2002-06-04  Tom Tromey  <tromey@redhat.com>
14110
14111         * java/util/natTimeZone.cc: Include <stdio.h>.
14112
14113 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14114
14115         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14116         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14117         Set SIGNAL_HANDLER=include/s390-linux.h.
14118         * configure: Regenerate.
14119         * include/s390-linux.h: New file.
14120
14121 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14122
14123         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14124         not "stackTrace".
14125
14126 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14127
14128         Merge JDK 1.4 java.security changes from classpath.
14129
14130         * java/security/AccessControlException.java: Merge from Classpath.
14131         * java/security/AccessController.java: Likewise.
14132         * java/security/AllPermission.java: Likewise.
14133         * java/security/BasicPermission.java: Likewise.
14134         * java/security/Certificate.java: Likewise.
14135         * java/security/CodeSource.java: Likewise.
14136         * java/security/DigestException.java: Likewise.
14137         * java/security/DigestOutputStream.java: Likewise.
14138         * java/security/DomainCombiner.java: Likewise.
14139         * java/security/GeneralSecurityException.java: Likewise.
14140         * java/security/Guard.java: Likewise.
14141         * java/security/GuardedObject.java: Likewise.
14142         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14143         * java/security/InvalidKeyException.java: Likewise.
14144         * java/security/InvalidParameterException.java: Likewise.
14145         * java/security/Key.java: Likewise.
14146         * java/security/KeyException.java: Likewise.
14147         * java/security/KeyManagementException.java: Likewise.
14148         * java/security/KeyStoreException.java: Likewise.
14149         * java/security/MessageDigest.java: Likewise.
14150         * java/security/NoSuchAlgorithmException.java: Likewise.
14151         * java/security/NoSuchProviderException.java: Likewise.
14152         * java/security/Permission.java: Likewise.
14153         * java/security/PermissionCollection.java: Likewise.
14154         * java/security/Permissions.java: Likewise.
14155         * java/security/Policy.java: Likewise.
14156         * java/security/Principal.java: Likewise.
14157         * java/security/PrivateKey.java: Likewise.
14158         * java/security/PrivilegedAction.java: Likewise.
14159         * java/security/PrivilegedActionException.java: Likewise.
14160         * java/security/PrivilegedExceptionAction.java: Likewise.
14161         * java/security/ProtectionDomain.java: Likewise.
14162         * java/security/ProviderException.java: Likewise.
14163         * java/security/PublicKey.java: Likewise.
14164         * java/security/SecureClassLoader.java: Likewise.
14165         * java/security/SecurityPermission.java: Likewise.
14166         * java/security/SignatureException.java: Likewise.
14167         * java/security/UnrecoverableKeyException.java: Likewise.
14168         * java/security/UnresolvedPermission.java: Likewise.
14169         * java/security/acl/AclNotFoundException.java: Likewise.
14170         * java/security/acl/LastOwnerException.java: Likewise.
14171         * java/security/acl/NotOwnerException.java: Likewise.
14172         * java/security/cert/CRLException.java: Likewise.
14173         * java/security/cert/CertificateEncodingException.java: Likewise.
14174         * java/security/cert/CertificateException.java: Likewise.
14175         * java/security/cert/CertificateExpiredException.java: Likewise.
14176         * java/security/cert/CertificateFactory.java: Likewise.
14177         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14178         * java/security/cert/CertificateParsingException.java: Likewise.
14179         * java/security/spec/InvalidKeySpecException.java: Likewise.
14180         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14181
14182         * java/security/cert/CertPath.java: New file.
14183         * java/security/cert/CertPathBuilderException.java: New file.
14184         * java/security/cert/CertPathValidatorException.java: New file.
14185         * java/security/cert/CertStoreException.java: New file.
14186
14187         * Makefile.am: Add new CertPath classes.
14188         * Makefile.in: Rebuilt.
14189
14190         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14191
14192 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14193
14194         Merge JDK 1.4 exception chaining support from classpath.
14195
14196         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14197         (stackTraceBytes): Rename from stackTrace.
14198         * java/lang/Exception.java: Merge from classpath.
14199         * java/lang/StackTraceElement: New file from classpath.
14200         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14201         * Makefile.am: Add StackTraceElement.
14202         * Makefile.in: Rebuilt.
14203
14204 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14205
14206         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14207         they build first.
14208         * Makefile.in: Rebuilt.
14209
14210 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14211
14212         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14213         * configure.in: Likewise.
14214         * aclocal.m4: Regenerate.
14215         * configure: Regenerate.
14216
14217 2002-05-13  Tom Tromey  <tromey@redhat.com>
14218
14219         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14220         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14221         Include platform.h.
14222
14223         Fixes PR libgcj/6389:
14224         * Makefile.in: Rebuilt.
14225         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14226         * java/util/natTimeZone.cc: New file.
14227         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14228         * java/lang/System.java: Merged with Classpath.
14229         * java/lang/Runtime.java: Merged with Classpath.
14230         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14231         security check.
14232         (setIn0): Renamed from setIn; don't run security check.
14233         (setOut0): Renamed from setOut; don't run security check.
14234         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14235         init_properties): Moved to natRuntime.cc.
14236         Moved many includes to natRuntime.cc.
14237         (isWordsBigEndian): New method.
14238         * java/lang/natRuntime.cc: Include Long.h, also other includes
14239         previously in natSystem.cc.
14240         (maxMemory): New function.
14241         (exitInternal): Renamed from `_exit'.
14242         (exit): Removed.
14243         (init): Don't set finalize_on_exit.
14244         (exitInternal): Use `finalizeOnExit'.
14245         (file_encoding, getpwuid_adaptor): New functions from
14246         natSystem.cc.
14247         (insertSystemProperties): New method, renamed from
14248         System::init_properties.  Don't set user.timezone.
14249         (_load): Don't call checkLink.
14250         (execInternal): New method.
14251         (availableProcessors): Likewise.
14252         (nativeGetLibname): Likewise.
14253
14254 2002-05-11  Mark Wielaard  <mark@klomp.org>
14255
14256         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14257         space characters.
14258         (previous_internal): Likewise.
14259
14260 2002-05-09  Tom Tromey  <tromey@redhat.com>
14261
14262         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14263
14264         * java/util/ResourceBundle.java: New version from Classpath.
14265         * java/util/Locale.java: Likewise.
14266
14267 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14268
14269         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14270         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14271         LD_LIBRARY_PATH.
14272
14273 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14274
14275         * libjava/Makefile.am (all_java_source_files): New variable.
14276         (all_java_class_files): Likewise.
14277         .java.class: New rule.
14278         (CLEANFILES): Remove tmp-list.
14279         * libjava/Makefile.in: Regenerated.
14280
14281 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14282
14283         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14284         Append .exe to executable names.  Fix for cygwin.
14285
14286 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14287
14288         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14289         script entry, and set LD to it when configuring multilibs.
14290         * configure: Rebuilt.
14291
14292 2002-05-07  Tom Tromey  <tromey@redhat.com>
14293
14294         * java/lang/natString.cc (unintern): Fixed typo.
14295
14296 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14297
14298         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14299         with -no-install on *-*-cygwin*.
14300
14301 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14302
14303         * testsuite/lib/libjava.exp (test_libjava_from_source):
14304         Add comment explaining last patch
14305
14306 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14307
14308         * testsuite/lib/libjava.exp (test_libjava_from_source):
14309         Append .exe to executable names.  If no suffix is present,
14310         then ".exe" is added by default on win32.  Harmless
14311         elsewhere so always do it.
14312
14313 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14314             Tom Tromey  <tromey@redhat.com>
14315
14316         * java/lang/natSystem.cc (getSystemTimeZone): Use
14317         HAVE_UNDERSCORE_TIMEZONE.
14318         * include/config.h.in: Rebuilt.
14319         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14320         * aclocal.m4, configure: Rebuilt.
14321         * acinclude.m4: Run AC_EXEEXT.
14322         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14323         Add test for `_timezone'.
14324
14325 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14326
14327         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14328         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14329         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14330         * Makefile.in: Rebuilt.
14331
14332 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14333
14334         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14335         use sigaction instead of __libc_sigaction.
14336
14337 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14338
14339         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14340         (libjava_init): Use it to find libgcj.spec.
14341         (libjava_arguments): Likewise.
14342
14343 2002-05-02  David S. Miller  <davem@redhat.com>
14344
14345         PR bootstrap/6525
14346         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14347         __libc_sigaction on Sparc.
14348
14349 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14350
14351         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14352         sys/filio.h, if present.
14353
14354 2002-04-30  Tom Tromey  <tromey@redhat.com>
14355
14356         * java/io/BufferedReader.java (fill): Handle case where markPos
14357         point to ignored \n.  Fixes PR libgcj/6301.
14358
14359 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14360
14361         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14362
14363 2002-04-29  Adam King <aking@dreammechanics.com>
14364
14365         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14366         of file in APPEND mode.
14367
14368 2002-04-25  David S. Miller  <davem@redhat.com>
14369
14370         PR target/6422
14371         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14372         program counter to next program counter minus 8.  Update
14373         comments in this macro to explain why.
14374
14375 2002-04-26  Tom Tromey  <tromey@redhat.com>
14376
14377         * verify.cc (construct_primitive_array_type) [void_type]: New
14378         case.
14379         (branch_prepass): Added dummy entries for unused instruction
14380         values.
14381         (verify_instructions_0): Likewise.
14382         * interpret.cc (continue1): Comment fix.
14383         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14384         * Makefile.in: Rebuilt.
14385         * Makefile.am: Added -Wswitch-enum.
14386
14387 2002-04-24  Tom Tromey  <tromey@redhat.com>
14388
14389         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14390         correct length of UTF-8 encoded name.  Strip leading `/'.
14391         (_Jv_RegisterResource): Use _Jv_Malloc.
14392
14393 2002-04-23  Adam Megacz <adam@xwt.org>
14394
14395         * win32.cc, include/win32.cc (backtrace): Added this function
14396         because Win32 does not supply it.
14397
14398 2002-04-21  David S. Miller  <davem@redhat.com>
14399
14400         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14401         magic instruction reading sequence.
14402
14403 2002-04-21  Mark Wielaard  <mark@klomp.org>
14404
14405         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14406
14407 2002-04-19  David S. Miller  <davem@redhat.com>
14408
14409         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14410         arg.
14411         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14412         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14413         on Sparc too.
14414         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14415         for 64-bit sparc.
14416         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14417         * sysdeps/sparc/locks.h: New file.
14418         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14419         on all sparc Solaris configurations.  Set to
14420         include/dwarf2-signal.h on sparc Linux.
14421         * configure: Regenerate
14422         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14423
14424 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14425
14426         * configure: Rebuilt.
14427         * configure.in (backtrace): Function doesn't work on IA-64.
14428
14429 2002-04-17  Adam King <aking@dreammechanics.com>
14430
14431         * java/io/File.java (normalizePath): Add Win32 support for auto
14432         conversion of a '/' path separator to Win32's '\' separator.
14433
14434 2002-04-16  Tom Tromey  <tromey@redhat.com>
14435
14436         Fix for PR libgcj/6081:
14437         * Makefile.in: Rebuilt.
14438         * Makefile.am (install-data-local): Use GNU make trick to avoid
14439         shell limit.
14440
14441 2002-04-16  Adam King <aking@dreammechanics.com>
14442             Tom Tromey  <tromey@redhat.com>
14443
14444         * java/io/natFileWin32.cc (performList): Return the correct array
14445         type.  Don't duplicate the creation of a File since it's already
14446         done earlier in the method and the existing code would cause a
14447         ArrayStoreException.  Don't use fixed-size array.
14448         (_access, _stat, attr, getCanonicalPath, performMkdir,
14449         performRenameTo): Don't use fixed-size array.
14450         (getCanonicalPath): Use throw, not _Jv_Throw.
14451
14452 2002-04-15  DJ Delorie  <dj@redhat.com>
14453
14454         * configure.in: Allow building in $srcdir.
14455         * configure: Regenerated.
14456
14457 2002-04-14  Mark Wielaard <mark@klomp.org>
14458
14459         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14460         * java/net/natSocketImpl.cc (close): Likewise.
14461
14462 2002-04-14  Mark Wielaard <mark@klomp.org>
14463
14464         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14465
14466 2002-04-13  Adam King <aking@dreammechanics.com>
14467
14468         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14469         the f/F/d/D modifiers.
14470
14471 2002-04-12  Anthony Green  <green@redhat.com>
14472
14473         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14474         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14475         * Makefile.in: Rebuilt.
14476         * configure.in: Substitute gcc_version.
14477         * configure: Rebuilt.
14478
14479 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14480
14481         * configure.host: Set can_unwind_signal on hosts which support it.
14482         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14483         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14484         exceptions and can_unwind_signal isn't set.
14485         * configure: Rebuilt.
14486
14487 2002-04-11  Tom Tromey  <tromey@redhat.com>
14488
14489         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14490
14491 2002-04-11  Adam King <aking@dreammechanics.com>
14492             Tom Tromey  <tromey@redhat.com>
14493
14494         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14495         _Jv_ThrowNullPointerException): Mark as noreturn.
14496         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14497         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14498         fixes.
14499
14500 2002-04-10  Tom Tromey  <tromey@redhat.com>
14501
14502         * Makefile.in: Rebuilt.
14503         * Makefile.am (java/lang/Thread.h): Mark
14504         _Jv_AttachCurrentThreadAsDaemon as friend.
14505         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14506         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14507         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14508         function.
14509         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14510         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14511         (_Jv_JNI_InvokeFunctions): Added
14512         _Jv_JNI_AttachCurrentThreadAsDaemon.
14513         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14514         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14515         (JNI_CreateJavaVM): Likewise.
14516         (_Jv_JNI_AttachCurrentThread): Likewise.
14517         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14518         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14519         (_Jv_JNIFunctions): Initialize new fields.
14520         (_Jv_JNI_NewDirectByteBuffer): New function.
14521         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14522         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14523         * include/jni.h (JNI_VERSION_1_4): New macro.
14524         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14525         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14526         (JNINativeInterface::NewDirectByteBuffer): New field.
14527         (JNINativeInterface::GetDirectBufferAddress): New field.
14528         (JNINativeInterface::GetDirectBufferCapacity): New field.
14529         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14530         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14531         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14532
14533 2002-04-09  Tom Tromey  <tromey@redhat.com>
14534
14535         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14536
14537 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14538
14539         Fix for PR libgcj/6187:
14540         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14541         distance.
14542
14543 2002-04-07  Mark Wielaard <mark@klomp.org>
14544
14545         * java/util/AbstractMap.java (putAll): Use entrySet size.
14546         (toString): Explicitly use getKey() and getValue().
14547
14548 2002-04-07  Mark Wielaard <mark@klomp.org>
14549
14550         * java/util/Hashtable.java (contains): Remove NullPointer check.
14551         (containsValue): Add NullPointer check.
14552         (remove): Always throw NullPointerException when key
14553         is null.
14554
14555 2002-04-07  Adam King <aking@dreammechanics.com>
14556
14557         * java/lang/natSystem.cc (init_properties): Call new function
14558         _Jv_platform_initProperties.
14559         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14560         support for the System properties os.name, os.arch, os.version,
14561         user.name, user.home, and user.dir.
14562         * include/posix.h, include/win32.h, posix.cc: New function
14563         _Jv_platform_initProperties.
14564
14565 2002-04-06  Mark Wielaard <mark@klomp.org>
14566
14567         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14568
14569 2002-04-06  Mark Wielaard <mark@klomp.org>
14570
14571         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14572         all of the remaining elements.
14573         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14574         (removeRange): If toIndex == fromIndex do
14575         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14576         (removeAll): Always throw NullPointerException when collection is
14577         null.
14578         (retrainAll): Likewise.
14579
14580 2002-04-05  Mark Wielaard <mark@klomp.org>
14581
14582         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14583         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14584
14585 2002-04-05  Adam Megacz <adam@xwt.org>
14586
14587         * exception.cc (abort): added static modifier
14588
14589 2002-04-04  Adam Megacz <adam@xwt.org>
14590
14591         * include/win32.h (_Jv_platform_close_on_exec): added inline
14592         modifier.
14593
14594 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14595
14596         * configure.host: Add case statement to support generic port
14597         properties.  Add *-*-freebsd* section.
14598
14599 2002-04-04  Mark Wielaard  <mark@klomp.org>
14600
14601         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14602         test.
14603         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14604         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14605         that depend on awt code and BufferedByteOutputStream.interrupt.
14606
14607 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14608
14609         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14610         incorrect "hi" value when count > 40.
14611
14612 2002-04-03  Mark Wielaard  <mark@klomp.org>
14613
14614         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14615         ordering.
14616
14617 2002-04-02  Tom Tromey  <tromey@redhat.com>
14618
14619         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14620         not `0'.
14621
14622 2002-04-02  Mark Wielaard  <mark@klomp.org>
14623
14624         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14625         list of testsuite crashers.
14626
14627 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14628
14629         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14630         when resizing table.
14631
14632 2002-04-01  Mark Wielaard  <mark@klomp.org>
14633
14634         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14635         NegativeArraySizeException
14636         (clear(int)): Use sign extended shift.
14637         (flip(int)): Likewise.
14638         (get(int)): Likewise.
14639         (nextClearBit(int)): Likewise.
14640         (nextSetBit(int)): Likewise.
14641         (set(int)): Likewise.
14642
14643 2002-04-01  Mark Wielaard  <mark@klomp.org>
14644
14645         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14646         that can be compiled now and add testsuite crashers to ignore list.
14647
14648 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14649
14650         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14651
14652         * libgcj.spec.in: Override libgcc, not lib.
14653         * libgcj-test.spec.in: Likewise.
14654
14655 2002-03-29  Tom Tromey  <tromey@redhat.com>
14656
14657         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14658         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14659
14660 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14661
14662         * java/net/PlainDatagramSocketImpl.java
14663         (close): Use native implementation.
14664         (finalize): New method.
14665
14666         * java/net/PlainSocketImpl.java (finalize): New method.
14667
14668         * java/net/natPlainDatagramSocketImpl.cc
14669         (java/io/FileDescriptor.h): Don't include.
14670         (close): Implement method here.
14671         (create): Don't assign fd.
14672
14673         * java/net/natPlainSocketImpl.cc
14674         (java/io/FileDescriptor.h): Don't include.
14675         (create): Don't assign fd.
14676         (accept): Likewise.
14677         (close): Synchronize.
14678
14679 2002-03-27  Richard Henderson  <rth@redhat.com>
14680
14681         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14682
14683 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14684
14685         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14686         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14687         instead of syscall on IA-64.
14688         Add FIXME comment.
14689
14690 2002-03-27  Anthony Green  <green@redhat.com>
14691
14692         * libgcj.spec.in: Add CHECKREFSPEC.
14693         * configure.in: Ditto.
14694         * configure.host: Ditto.  Check references for xscale-elf.
14695         * configure: Rebuilt.
14696
14697 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14698
14699         * include/dwarf2-signal.h: Temporarily back out last change.
14700
14701 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14702
14703         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14704
14705 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14706
14707         * configure.in, configure: enable dwarf2-exception-style
14708         exception handling on IA-64.
14709         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14710         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14711         Add FIXME comment.
14712
14713 2002-03-25  Tom Tromey  <tromey@redhat.com>
14714
14715         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14716         (jv_convert_LDFLAGS): Likewise.
14717         (gij_LDFLAGS): Likewise.
14718         (rmic_LDFLAGS): Likewise.
14719         (rmiregistry_LDFLAGS): Likewise.
14720         * configure.in (THREADLDFLAGS): New subst; set correctly for
14721         *BSD.
14722
14723 2002-03-25  Tom Tromey  <tromey@redhat.com>
14724
14725         For PR libgcj/5303:
14726         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14727         and --version.
14728         (help): New method.
14729         (version): Likewise.
14730         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14731         "GNU".
14732         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14733         "GNU".
14734
14735 2002-03-25  Tom Tromey  <tromey@redhat.com>
14736
14737         * java/awt/Component.java (processEvent): Check ComponentEvent
14738         after KeyEvent.
14739
14740 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14741
14742         * java/io/PushbackReader.java: Reformat.
14743
14744         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14745         calculate correct number of bytes skipped.
14746
14747         Based on patch from Intel's ORP team:
14748         * java/io/PushbackInputStream.java (available): Calculate correct
14749         number of bytes in buffer.
14750         (read): Remove redundant bound check. Return bytes from both the
14751         buffer and the stream.
14752
14753 2002-03-24  Tom Tromey  <tromey@redhat.com>
14754
14755         * java/awt/TextComponent.java (TextComponent): Editable by
14756         default.
14757
14758         * java/awt/MenuItem.java (eventMask): No longer private.
14759         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14760         superclass if we didn't handle event.
14761         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14762         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14763         * java/awt/Choice.java (dispatchEventImpl): New method.
14764         * java/awt/List.java (dispatchEventImpl): New method.
14765         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14766         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14767         * java/awt/TextField.java (dispatchEventImpl): New method.
14768
14769 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14770
14771         * java/beans/IntrospectionException.java: Update to 1.4.
14772         * java/beans/PropertyVetoException.java: Ditto.
14773
14774 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14775
14776         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14777         Arrays.equals instead of ArrayHelper.equalsArray.
14778
14779 2002-03-24  C. Brian Jones <cbj@gnu.org>
14780
14781         * java/beans/Introspector.java: added new static final fields
14782         introduced in 1.2, lots of other updates remain to be done
14783
14784 2002-03-24  C. Brian Jones <cbj@gnu.org>
14785
14786         * java/beans/Introspector.java: reformatting
14787
14788 2002-03-24  C. Brian Jones <cbj@gnu.org>
14789
14790         * java/beans/Introspector.java: default beanInfoSearchPath will
14791         not include sun.beans.infos given we provide no such package and
14792         the API doesn't really require it; gnu.java.beans.info is the
14793         default.
14794
14795 2002-03-24  Mark Wielaard  <mark@klomp.org>
14796
14797         Thanks to Orp developers
14798         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14799         switch TRUE and FALSE return values.
14800
14801 2002-03-23  Tom Tromey  <tromey@redhat.com>
14802
14803         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14804         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14805
14806 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14807
14808         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14809         MONTH entry.  Fixes PR libgcj/6045.
14810
14811 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14812
14813         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14814
14815 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14816
14817         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14818         not release_set.
14819         * sysdep/powerpc/locks.h (write_barrier): New function.
14820         * sysdep/i386/locks.h (write_barrier): New function.
14821
14822 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14823
14824         * include/jni.h Use correct C comments.
14825
14826 2002-03-18  Tom Tromey  <tromey@redhat.com>
14827
14828         * include/jni.h (JNIIMPORT): New macro.
14829         (JNIEXPORT): Likewise.
14830         (JNICALL): Likewise.
14831
14832 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14833
14834         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14835         systems.
14836
14837 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14838
14839         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14840         INIT_SEGV: Use old_i386_kernel_sigaction.
14841         INIT_FP: Likewise.
14842
14843 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14844
14845         * java/lang/natSystem.cc (init_properties): Update VM version
14846         properties.
14847         * configure.in: Set GCJVERSION.
14848         * acconfig.h: Add GCJVERSION.
14849         * configure: Rebuilt.
14850         * include/config.h.in: Rebuilt.
14851
14852 2002-03-17  Anthony Green  <green@redhat.com>
14853
14854         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14855
14856 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14857
14858         Build a single libgcj.so, without separate gc and zlib libraries.
14859         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14860         SYS_ZLIBS if system zlib is used.
14861         * configure: Rebuilt.
14862         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14863         * Makefile.in: Rebuilt.
14864         * libtool-version: Increment .so version number.
14865
14866         * Makefile.am: Escape quotes in echo.
14867         * Makefile.in: Rebuilt.
14868
14869 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14870
14871         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14872         * Makefile.in: Rebuilt.
14873
14874 2002-03-15  Anthony Green  <green@redhat.com>
14875
14876         * configure.host (FILE): New macro for specifing File
14877         implementation.
14878         * configure: Rebuilt.
14879         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14880
14881 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14882
14883         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14884         already implicitly brought in from libgcj.la.
14885         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14886         * Makefile.in: Rebuilt.
14887
14888 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14889
14890         * THANKS: Fix punctuation, alphabetization.
14891
14892 2002-03-15  Tom Tromey  <tromey@redhat.com>
14893             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14894
14895         Fix for PR libgcj/5944.
14896         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14897
14898 2002-03-15  Anthony Green  <green@redhat.com>
14899
14900         * configure.in (tool_include_dir): Define.
14901         * configure: Rebuilt.
14902         * gcj/Makefile.am: Install libgcj-config.h relative to
14903         tool_include_dir.
14904         * gcj/Makefile: Rebuilt.
14905         * gcj/libgcj-config.h: Add warning comment.
14906
14907 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14908
14909         * configure.host (powerpc*-darwin*): Enable interpreter.
14910
14911 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14912
14913         * include/posix.h: Add multiple include header protection.
14914         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14915
14916 2002-03-10  Adam Megacz <adam@xwt.org>
14917
14918         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14919
14920 2002-03-10  Tom Tromey  <tromey@redhat.com>
14921
14922         * java/awt/GridLayout.java (layoutContainer): Handle case where
14923         there are no items in container.
14924
14925         * java/lang/Win32Process.java: Added comment.
14926         * include/posix.h (_Jv_platform_close_on_exec): New function.
14927         Include fcntl.h.
14928         * include/win32.h (_Jv_platform_close_on_exec): New function.
14929         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14930         flag.
14931         (accept): Likewise.
14932         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14933         close-on-exec flag.
14934         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14935         flag.
14936
14937 2002-03-09  Tom Tromey  <tromey@redhat.com>
14938
14939         * verify.cc (state::NO_STACK): New constant.
14940         (state::is_unmerged_ret_state): Handle case where stacktop is
14941         NO_STACK.
14942         (state::merge): Handle NO_STACK merges.
14943         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14944         for instruction following jsr.
14945         (stacktop, stackdepth): Removed unused variables.
14946         (pop_jump): Ignore case where all remaining states are skipped.
14947
14948 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14949
14950         * java/awt/ImageMediaEntry: Removed.
14951         * java/awt/MediaEntry: Removed.
14952
14953 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14954
14955         Hashtable synchronization for PowerPC.
14956         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14957         slow_pthread_self. Set up symlink for sysdeps directory.
14958         * configure: Rebuild.
14959         * configure.host: Document more shell variables. Set sysdeps_dir
14960         for most platforms. Set slow_pthread_self for i686. Set
14961         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14962         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14963         that memory barrier is emitted where required.
14964         * prims.cc: 64-bit align static primitive class instances.
14965         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14966         read_barrier() to enforce ordering of reads.
14967         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14968         primitives for PowerPC.
14969         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14970         moved from natObject.cc.
14971         * sysdep/alpha/locks.h: Likewise.
14972         * sysdep/ia64/locks.h: Likewise.
14973         * sysdep/generic/locks.h: Likewise.
14974         * java/lang/natObject.cc: Move thread synchronization primitives to
14975         system-dependent headers.
14976
14977 2002-03-09  Adam Megacz  <adam@xwt.org>
14978
14979         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14980         bytes read and no failure code returned.
14981
14982 2002-03-09  Adam Megacz  <adam@xwt.org>
14983
14984         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14985         definitions to simulate -mthreads.
14986
14987 2002-03-09  Adam Megacz  <adam@xwt.org>
14988
14989         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14990         avoid precision loss.
14991
14992 2002-03-09  Per Bothner  <per@bothner.com>
14993
14994         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
14995         * gnu/gcj/xlib/XImage.java:  Likewise.
14996         * gnu/gcj/xlib/XColor.java:  Likewise.
14997
14998 2002-03-09  Adam Megacz  <adam@xwt.org>
14999
15000         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15001         IOException so that Throwable.printStackTrace fails correctly.
15002
15003 2002-03-08  Adam Megacz  <adam@xwt.org>
15004
15005         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15006         fixed.
15007
15008 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15009
15010         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15011         truncated to int.
15012
15013 2002-03-08  Tom Tromey  <tromey@redhat.com>
15014
15015         * include/jni.h: Include stdio.h.
15016
15017 2002-03-08  Tom Tromey  <tromey@redhat.com>
15018
15019         * posix.cc (internal_gettimeofday): New function.
15020         (_Jv_select): Use it.
15021
15022 2002-03-07  Adam Megacz  <adam@xwt.org>
15023
15024         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15025         WIN32, and added thunks for read(), write(), and close().
15026         * java/net/natPlainSocketImpl.cc (accept, read, read):
15027         Disabled timeouts on WIN32 pending discussion.
15028
15029 2002-03-07  Adam Megacz  <adam@xwt.org>
15030
15031         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15032         returns jlong. Added implementation
15033         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15034         returns jlong.
15035         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15036         returns jlong.
15037         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15038         returns jlong.
15039         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15040         _Jv_platform_gettimeofday signature.
15041
15042 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15043
15044         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15045         (read): Call recv() directly, not _Jv_recv().
15046
15047 2002-03-06  Tom Tromey  <tromey@redhat.com>
15048
15049         * java/io/natFileDescriptorEcos.cc (init): Don't use
15050         GetStdHandle.
15051         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15052         is negative.
15053         (init): Don't use GetStdHandle.
15054
15055         * include/config.h.in: Rebuilt.
15056         * configure: Rebuilt.
15057         * Makefile.in: Rebuilt.
15058
15059 2002-03-06  Adam Megacz  <adam@xwt.org>
15060
15061         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15062         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15063         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15064         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15065
15066 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15067
15068         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15069         the code for generating include/java-chartables.h.
15070         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15071         merge with Classpath.
15072         * scripts/unicode-muncher.pl: Copy from Classpath.
15073         * scritps/MakeCharTables.java: New file.
15074         * gnu/gcj/convert/Blocks-3.txt: New file.
15075         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15076         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15077         * gnu/java/lang/CharData.java: Copy from Classpath.
15078         * Makefile.am (ordinary_java_source_files): Add
15079         gnu/java/lang/CharData.java.
15080         * configure.in: Remove --enable-fast-character option.
15081         * java/lang/Character.java: Merge algorithms and Javadoc with
15082         Classpath.
15083         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15084         efficiently.
15085         * include/java-chardecomp.h: Regenerate.
15086         * include/java-chartables.h: Regenerate.
15087
15088 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15089
15090         * java/awt/MediaTracker.java: Implemented.
15091         * Makefile.am: Add MediaTracker.
15092         * Makefile.in: Rebuilt.
15093
15094 2002-03-05  Tom Tromey  <tromey@redhat.com>
15095
15096         * java/lang/natPosixProcess.cc (fail): Removed.
15097         (startProcess): Simplified error-handling.  Preserve
15098         LD_LIBRARY_PATH across exec.
15099
15100         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15101         AbstractMethodError.
15102
15103 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15104
15105         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15106         * Makefile.in: Rebuilt.
15107
15108 2002-03-03 Mark Wielaard <mark@klomp.org>
15109
15110         * java/util/Timer (TaskQueue.stop): set elements to zero.
15111
15112 2002-02-28  Anthony Green  <green@redhat.com>
15113
15114         * java/lang/reflect/natMethod.cc (result): Add void* element.
15115         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15116         constructor test.
15117
15118 2002-02-27  Adam Megacz <adam@xwt.org>
15119
15120         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15121         '#undef STRICT'.
15122
15123 2002-02-26  Tom Tromey  <tromey@redhat.com>
15124
15125         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15126         * gij.cc (version): Use __VERSION__.
15127         * include/config.h.in: Rebuilt.
15128         * acconfig.h (GCJVERSION): Removed.
15129         * configure: Rebuilt.
15130         * configure.in (GCJVERSION): Removed.
15131
15132 2002-02-26  Andreas Schwab  <schwab@suse.de>
15133
15134         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15135         glibcpp_CXX, since libjava uses even another CXX.
15136         * aclocal.m4, configure: Regenerated.
15137
15138 2002-02-26  Tom Tromey  <tromey@redhat.com>
15139
15140         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15141         `1'.
15142
15143 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15144
15145         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15146         dependency tracking for .java files.
15147         * Makefile.in: Rebuilt.
15148
15149 2002-02-24  Adam Megacz  <adam@xwt.org>
15150
15151         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15152         typo. Sorry.
15153
15154 2002-02-24  Adam Megacz  <adam@xwt.org>
15155
15156         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15157         for Win32, changed #ifdefs to check WIN32 instead of the
15158         (now-obsolete) USE_WINSOCK, and removed support for socket
15159         timeouts on Win32 pending further discussion.
15160
15161 2002-02-24  Adam Megacz  <adam@xwt.org>
15162
15163         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15164         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15165         delete
15166
15167 2002-02-24  Adam Megacz  <adam@xwt.org>
15168
15169         * java/lang/Win32Process.java: Created a dummy class to allow
15170         build process to run to completion.
15171
15172 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15173
15174         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15175         Define ffi_result union for ffi_call result.  Cast
15176         ffi_result members to jvalue.
15177
15178 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15179
15180         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15181         * testsuite/Makefile.in: Likewise.
15182
15183 2002-02-20  Per Bothner  <per@bothner.com>
15184
15185         * java/net/URL.java (getPath):  New JDK 1.3 method.
15186
15187         * java/net/URLStreamHandler.java (parseURL):
15188         It is wrong to prepend '/' to the file part of a relative url.
15189
15190         * java/net/URLStreamHandler.java (parseURL):
15191         Minor optizations - append '/' rather than "/".
15192
15193         * java/net/URLStreamHandler.java (parseURL):
15194         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15195         We probably should canonicalize for a context-relative url, though.
15196         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15197         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15198         (sameFile):  New method.  Uses canonicalizeFilename.
15199
15200 2002-02-22  Tom Tromey  <tromey@redhat.com>
15201
15202         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15203         java.vendor and java.vm.vendor.
15204         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15205         recent copyright date.
15206         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15207         * gij.cc (version): Print `Inc'.
15208
15209 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15210
15211         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15212         * aclocal.m4, configure: Rebuilt.
15213
15214 2002-02-20  Per Bothner  <per@bothner.com>
15215
15216         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15217         and/or output streams immediately here, instead of using File.exists.
15218         (inputStream, outputStream):  New fields to save open streams.
15219         (getInputStream, getOutputStream):  Use already-opened streams.
15220
15221 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15222
15223         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15224         Use it.
15225         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15226         * aclocal.m4, configure, Makefile.in: Rebuilt.
15227
15228 2002-02-19  Tom Tromey  <tromey@redhat.com>
15229
15230         Fix for PR libgcj/5696:
15231         * verify.cc (is_assignable_from_slow): Never call
15232         _Jv_IsAssignableFrom.
15233         (verify_instructions_0): Added new debug statement.
15234         (state::print): Print information about whether local has
15235         changed.
15236         (state::merge): Don't call note_variable when merging locals.
15237         (state::set_exception): Removed old FIXME comment.
15238
15239 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15240
15241         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15242         enable SO_BROADCAST.
15243
15244 2002-02-18  Jason Merrill  <jason@redhat.com>
15245
15246         * name-finder.cc (toHex): Use word mode, not long long.
15247
15248         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15249
15250 2002-02-15  Tom Tromey  <tromey@redhat.com>
15251
15252         Fix for PR libgcj/5695:
15253         * verify.cc (is_assignable_from_slow): Check to see if target is
15254         an Object before checking to see if source is an interface.
15255         (verify_instructions_0) [op_invokeinterface]: Handle case where
15256         we're making an interface call on Object.
15257
15258 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15259
15260         * Makefile.in: Rebuilt with Eric's change below.
15261
15262         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15263         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15264         Removed functions which are now implemented in Math.java.
15265
15266 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15267
15268         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15269         * Makefile.am (core_java_source_files): Add
15270         java/lang/StrictMath.java.
15271         * java/lang/Math.java: Merge with Classpath.
15272         * java/lang/StrictMath.java: New file - merge with Classpath.
15273
15274 2002-02-14  Mark Wielaard  <mark@klomp.org>
15275
15276         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15277         package as a workaround for gcj 3.0.x
15278
15279 2002-02-14  Mark Wielaard <mark@klomp.org>
15280
15281         * java/security/BasicPermission.java: extends with fully qualified
15282         classname as workaround for gcj 3.0.4.
15283
15284 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15285
15286         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15287         around gcj bug of wrong emitted qualifier for inherited method.
15288         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15289         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15290         constructor to reduce amount of emitted bytecode. While this
15291         happens to work around a jikes 1.15 bug, it is still a useful
15292         patch even for correct compilers.
15293         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15294         * gnu/java/rmi/server/UnicastRemoteCall.java
15295         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15296
15297 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15298
15299         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15300         * java/net/SocketImpl.java: Ditto.
15301         * java/rmi/server/RMIClassLoader.java: Ditto.
15302         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15303
15304 2002-02-14  Mark Wielaard <mark@klomp.org>
15305
15306         Thanks to Takashi Okamoto
15307         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15308         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15309         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15310
15311 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15312
15313         Fix for PR libgcj/5670:
15314         * verify.cc (is_assignable_from_slow): If `source' is interface,
15315         recursively look for merge with `target'.
15316
15317 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15318
15319         * include/jni.h: Fix typo.
15320
15321 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15322
15323         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15324         correctly.
15325
15326 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15327
15328         Fix for PR libgcj/5671:
15329         * verify.cc (state::merge): Handle case where we're merging
15330         against an interface.
15331
15332 2002-02-12  Tom Tromey  <tromey@redhat.com>
15333
15334         * exception.cc (std::abort): Mark as noreturn.
15335
15336 2002-02-12  Adam Megacz <adam@xwt.org>
15337
15338         * java/lang/Win32Process.java: Filled in a placeholder
15339         implementation so Win32 will build.
15340
15341 2002-02-12  Adam Megacz <adam@xwt.org>
15342
15343         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15344         * java/io/natFile.cc: Removed from repository.
15345         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15346
15347 2002-02-12  Adam Megacz <adam@xwt.org>
15348
15349         * win32.cc: Added two #includes to make win32.cc compile.
15350
15351 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15352
15353         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15354         declarations.
15355         (_Jv_InitGC): Don't bother locking, as this is always called from a
15356         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15357
15358 2002-02-11  Adam Megacz <adam@xwt.org>
15359
15360         * include/win32.h: Added _Jv_platform_gettimeofday.
15361         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15362
15363 2002-02-11  Adam Megacz <adam@xwt.org>
15364
15365         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15366         Added #undef STRICT to make windows.h and
15367         java/lang/reflect/Modifier.h cooperate.
15368
15369 2002-02-11  Adam Megacz <adam@xwt.org>
15370
15371         * java/io/natFileWin32.cc: Created a placeholder class with lots
15372         of FIXMEs.
15373
15374 2002-02-11  Adam Megacz <adam@xwt.org>
15375
15376         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15377         std::abort() to simply abort(). Also added "fake" std::abort() so
15378         we can #include unwind-pe.h without having to link against
15379         libstdc++-v3.
15380
15381 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15382
15383         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15384
15385 2002-02-08  Tom Tromey  <tromey@redhat.com>
15386
15387         * interpret.cc (convert): New function.
15388         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15389         convert.
15390         Include Long.h.
15391
15392 2002-02-08  Anthony Green  <green@redhat.com>
15393
15394         * configure.host: Add support for xscale-elf embedded target.
15395
15396 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15397
15398         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15399         dereferenced.
15400         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15401         frame.
15402
15403 2002-02-07  Tom Tromey  <tromey@redhat.com>
15404
15405         * java/io/natFile.cc (_access): Use __builtin_alloca.
15406         (_stat): Likewise.
15407         (attr): Likewise.
15408         (getCanonicalPath): Likewise.
15409         (performList): Likewise.
15410         (performMkdir): Likewise.
15411         (performSetReadOnly): Likewise.
15412         (performRenameTo): Likewise.
15413         (performSetLastModified): Likewise.
15414         (performCreate): Likewise.
15415         (performDelete): Likewise.
15416
15417 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15418
15419         * HACKING: Fix URL for the automake-gcj.
15420
15421 2002-02-07  Tom Tromey  <tromey@redhat.com>
15422
15423         * java/lang/natThrowable.cc: Updated copyright.
15424         * java/io/natFileWin32.cc: Updated copyright.
15425         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15426         * win32-threads.cc: Updated copyright.
15427         * name-finder.cc: Updated copyright.
15428         * include/name-finder.h: Updated copyright.
15429
15430         * include/name-finder.h: Conditionally include sys/wait.h.
15431         * include/config.h.in: Rebuilt.
15432
15433         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15434         Size buffer based on real size of string.
15435         (_stat): Likewise.
15436         (attr): Likewise.
15437         (getCanonicalPath): Likewise.
15438         (performList): Likewise.
15439         (performMkdir): Likewise.
15440         (performSetReadOnly): Likewise.
15441         (unixroot): Removed.
15442         (performRenameTo): Likewise.
15443         (performSetLastModified): Likewise.
15444         (performCreate): Likewise.
15445         (performDelete): Likewise.
15446         (performListRoots): Always return new array.
15447
15448         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15449         * win32.cc (win32_exception_handler): Now static.
15450         * include/win32.h (_Jv_platform_initialize): Declare.
15451         (win32_exception_handler): Don't declare.
15452         * java/lang/natSystem.cc (currentTimeMillis): Use
15453         _Jv_platform_gettimeofday.
15454         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15455         (_Jv_select): Use new name.
15456         (_Jv_platform_initialize): New function.
15457         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15458         _Jv_gettimeofday.
15459         (_Jv_platform_initialize): Declare.
15460
15461         * configure: Rebuilt.
15462         * configure.in: Removed unnecessary parens.
15463
15464 2002-02-06  Adam Megacz <adam@xwt.org>
15465
15466        * configure.in: Changed mingw) to *mingw*).
15467        * win32.cc: Created this file.
15468        * win32.h: Created this file.
15469        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15470        win32_exception_handler from prims.cc to win32.cc, added
15471        header in win32.h.
15472        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15473        longer needed now that we have platform.h
15474
15475 2002-02-06  Adam Megacz <adam@xwt.org>
15476
15477         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15478         use uint<n>_t instead of LONG and BYTE
15479
15480 2002-02-06  Adam Megacz <adam@xwt.org>
15481
15482         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15483
15484 2002-02-06  Anthony Green  <green@redhat.com>
15485
15486         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15487         Implement missing method stubs.
15488         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15489         targets.
15490         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15491         concept of timezones.
15492         (init_properties): Don't refer to _Jv_Environment_Properties
15493         when this feature is not available.
15494         * include/config.h.in: Rebuilt.
15495         * acconfig.h: Add DISABLE_MAIN_ARGS.
15496         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15497         * configure: Rebuilt.
15498         * configure.in: Add --disable-main-args option.  Test for
15499           opendir function.  Replace AC_CHECK_SIZEOF with
15500           AC_COMPILE_CHECK_SIZEOF.
15501         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15502         * aclocal.m4: Rebuilt.
15503         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15504
15505 2002-02-06  Tom Tromey  <tromey@redhat.com>
15506
15507         * verify.cc (require_array_type): If argument is a null array of
15508         references, return null as the element type.
15509
15510 2002-02-06  Mark Wielaard  <mark@klomp.org>
15511
15512         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15513         duplicate of a wide type.
15514
15515 2002-02-06  Tom Tromey  <tromey@redhat.com>
15516
15517         * verify.cc (type::isnull): New method.
15518         (require_array_type): Handle case where array is null.
15519         (verify_instructions_0) [op_arraylength]: Likewise.
15520
15521 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15522
15523         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15524         Symlink PLATFORMH to platform.h.
15525         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15526         PLATFORMOBJS.
15527         * java/lang/natSystem.cc: #include platform.h not posix.h.
15528         * Makefile.in: Rebuilt with libgcj automake.
15529         * configure: Rebuilt.
15530
15531 2002-02-05  Richard Henderson  <rth@redhat.com>
15532
15533         * Makefile.in: Undo munging last change.
15534
15535 2002-02-04  Adam Megacz <adam@xwt.org>
15536
15537         * win32.cc: Created it.
15538         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15539         which is set to posix.cc or win32.cc.
15540         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15541
15542 2002-02-04  Adam Megacz <adam@xwt.org>
15543
15544         * configure.in: Corrected mingw case branches; added * before
15545         and after.
15546
15547 2002-02-04  Adam Megacz <adam@xwt.org>
15548
15549         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15550         if compiling for win32
15551
15552 2002-02-04  Adam Megacz <adam@xwt.org>
15553
15554         * win32-threads.cc: #undef STRICT after gc.h inclusion
15555
15556 2002-02-02  Tom Tromey  <tromey@redhat.com>
15557
15558         * Makefile.in: Rebuilt.
15559
15560 2002-02-02  Jason Merrill  <jason@redhat.com>
15561
15562         * Makefile.am (clean-nat): New target.
15563
15564 2002-02-02  Tom Tromey  <tromey@redhat.com>
15565
15566         * java/io/natFile.cc: Removed old "FIXME" comments.
15567
15568 2002-02-01  Tom Tromey  <tromey@redhat.com>
15569
15570         * java/lang/natPosixProcess.cc (myclose): New function.
15571         (fail): Use it.
15572         (startProcess): Likewise.
15573
15574 2002-02-01  Adam Megacz <adam@xwt.org>
15575
15576         * prims.cc: Added #undef STRICT after #include<windows.h>.
15577
15578 2002-02-01  Adam Megacz <adam@xwt.org>
15579
15580         * prims.cc
15581         (_Jv_CreateJavaVM): We now use WIN32 instead of
15582         USE_WIN32_SIGNALLING and USE_WINSOCK.
15583         (win32_exception_handler): Now throws an exception out of
15584         the signal handler; assumes SJLJ.
15585
15586 2002-02-01  Adam Megacz <adam@xwt.org>
15587
15588         * win32-threads.cc:
15589         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15590         wait() algorithm to make it safe.
15591         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15592         Added lazy creation of Win32 Events for better performance
15593         (really_start): This now uses GC_CreateThread so boehm-gc
15594         knows about new threads even when statically linked.
15595
15596 2002-02-01  Adam Megacz <adam@xwt.org>
15597
15598         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15599         enable safer wait() algorithm.
15600         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15601         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15602         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15603         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15604         instead of mutex.
15605         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15606
15607 2002-02-01  Adam Megacz <adam@xwt.org>
15608
15609         * configure.in: Added support for mingw.
15610         * java/lang/Win32Process.java: Created as empty file.
15611         * java/lang/natWin32Process.cc: Created as empty file.
15612
15613 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15614
15615         PR java/4972
15616         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15617         for libiconv in LIBICONV variable.
15618         * configure: Regenerated.
15619
15620 2002-01-31  Tom Tromey  <tromey@redhat.com>
15621
15622         * verify.cc (state::enter_subroutine): New method.
15623         (handle_jsr_insn): Use it.
15624         (state::merge): When processing a `ret', correctly use
15625         subroutine's state to determine which local variables have
15626         changed.
15627         (push_exception_jump): Don't let stack overflow.
15628
15629 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15630
15631         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15632         --version output.
15633
15634 2002-01-30  Tom Tromey  <tromey@redhat.com>
15635
15636         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15637         parameter for `recv' return type.
15638
15639         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15640         (state::merge): ... not here.
15641         (subr_entry_info): New structure.
15642         (entry_points): New field.
15643         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15644         entry_points.
15645
15646 2002-01-29  Tom Tromey  <tromey@redhat.com>
15647
15648         * java/awt/List.java (addNotify): Correctly check to see if peer
15649         does not exist.
15650
15651         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15652         to compute height of each cell, and number of columns to compute
15653         width of each cell.
15654         * java/awt/Window.java (getOwnedWindows): Don't return null.
15655         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15656         of component.  Increment x using horizontal gap, not vertical
15657         gap.
15658
15659 2002-01-28  Tom Tromey  <tromey@redhat.com>
15660
15661         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15662         `nargs' byte is number of words, not number of arguments.
15663
15664 2002-01-27  Tom Tromey  <tromey@redhat.com>
15665
15666         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15667         (when): Likewise.
15668         * java/awt/event/InputEvent.java (modifiers, when): Now
15669         package-private.
15670
15671         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15672         and to-do list.
15673         (state::merge): Use current class' class loader.
15674         (state::print): Print subroutine.
15675         (state::merge): Don't look at subroutine of unmerged `ret'.
15676
15677 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15678
15679         * nogc.cc: Remove warnings.
15680         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15681         New functions.
15682
15683 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15684
15685         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15686         int, int):  Remove empty "if" statement to work around compiler bug.
15687         (newPixels(int[], ColorModel, int, int): Likewise.
15688
15689 2002-01-25  Per Bothner  <per@bothner.com>
15690
15691         * verify.cc (verify_fail):  Change from being a top-level function
15692         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15693         Pass the current verifier to type: and state: methods as needed,
15694         for better error messages, and for resolve.
15695         (resolve):  Pass current class's loader for Class.forName and
15696         _Jv_FindClassFromSignature, rather than using the default loader.
15697         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15698         (get_type_val_for_signature):  Make non-static.
15699         (various methods):  Pass start_PC implicitly, not explicitly.
15700
15701 2002-01-25  Tom Tromey  <tromey@redhat.com>
15702
15703         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15704         loop termination condition.
15705         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15706         width.
15707
15708 2002-01-24  Tom Tromey  <tromey@redhat.com>
15709
15710         * java/awt/Shape.java: Merged with Classpath.
15711         * java/awt/Scrollbar.java: Merged with Classpath.
15712
15713         * java/awt/Container.java (addNotify): Unconditionally call
15714         addNotifyContainerChildren and superclass addNotify.
15715
15716         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15717         getAlpha, not getBlue.
15718
15719 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15720
15721         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15722
15723         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15724         (grabPixels(long)): Wait to be notified that the ImageProducer has
15725         completed.
15726
15727 2002-01-24  Per Bothner  <per@bothner.com>
15728
15729         * verify.cc (is_assignable_from_slow): If target is an interface,
15730         we must still check the source's superclass before giving up.
15731
15732 2002-01-24  Tom Tromey  <tromey@redhat.com>
15733
15734         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15735
15736 2002-01-23  Tom Tromey  <tromey@redhat.com>
15737
15738         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15739         `else'.
15740
15741         * Makefile.in: Rebuilt.
15742         * Makefile.am (awt_java_source_files): Added new files.
15743         * java/awt/Toolkit.java: Merged with Classpath.
15744         * java/awt/PrintGraphics.java: New file from Classpath.
15745         * java/awt/PrintJob.java: New file from Classpath.
15746         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15747         * java/awt/datatransfer/ClipboardOwner.java: New file from
15748         Classpath.
15749         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15750         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15751         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15752         Classpath.
15753         * java/awt/datatransfer/StringSelection.java: New file from
15754         Classpath.
15755         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15756         Classpath.
15757         * java/awt/datatransfer/Transferable.java: New file from
15758         Classpath.
15759         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15760         from Classpath.
15761
15762         * Makefile.in: Rebuilt.
15763         * Makefile.am (awt_java_source_files): Added new files.
15764         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15765         Classpath.
15766         * java/awt/image/CropImageFilter.java: New file from Classpath.
15767         * java/awt/image/FilteredImageSource.java: New file from
15768         Classpath.
15769         * java/awt/image/ImageFilter.java: New file from Classpath.
15770         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15771         * java/awt/image/PixelGrabber.java: New file from Classpath.
15772         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15773         * java/awt/image/ReplicateScaleFilter.java: New file from
15774         Classpath.
15775         * java/awt/image/ImageProducer.java: Replaced with Classpath
15776         version.
15777         * java/awt/image/ImageObserver.java: Replaced with Classpath
15778         version.
15779         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15780         version.
15781         * java/awt/GridBagConstraints.java (clone): Catch
15782         CloneNotSupportedException.
15783
15784 2002-01-23  Per Bothner  <per@bothner.com>
15785
15786         * java/lang/reflect/natField.cc (setAddr):  New function.
15787         Calls getAddr and then checks that the field isn't final.
15788         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15789         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15790         (set):  Call setAddr before check that new value has right type,
15791         to better match specified semantics.
15792
15793 2002-01-22  Tom Tromey  <tromey@redhat.com>
15794
15795         * java/awt/TextField.java: Replaced with Classpath version.
15796         * java/awt/TextArea.java: Replaced with Classpath version.
15797         * java/awt/TextComponent.java: Replaced with Classpath version.
15798
15799         * java/awt/GridBagConstraints.java: Updated copyright.
15800
15801 2002-01-22  Mark Wielaard <mark@klomp.org>
15802
15803         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15804         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15805         java/awt/Dialog.java java/awt/FileDialog.java
15806         java/awt/Font.java java/awt/FontMetrics.java
15807         java/awt/Image.java java/awt/ImageMediaEntry.java
15808         java/awt/Insets.java java/awt/List.java
15809         java/awt/MediaEntry.java java/awt/MediaTracker.java
15810         java/awt/Menu.java java/awt/MenuBar.java
15811         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15812         java/awt/PaintContext.java java/awt/Panel.java
15813         java/awt/PopupMenu.java java/awt/SystemColor.java
15814         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15815         java/awt/peer/CheckboxMenuItemPeer.java
15816         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15817         java/awt/peer/ComponentPeer.java
15818         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15819         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15820         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15821         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15822         java/awt/peer/MenuBarPeer.java
15823         java/awt/peer/MenuComponentPeer.java
15824         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15825         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15826         java/awt/peer/ScrollPanePeer.java
15827         java/awt/peer/ScrollbarPeer.java
15828         java/awt/peer/TextAreaPeer.java
15829         java/awt/peer/TextComponentPeer.java
15830         java/awt/peer/TextFieldPeer.java
15831         java/awt/peer/WindowPeer.java: Add license clarification.
15832
15833 2002-01-22  Mark Wielaard <mark@klomp.org>
15834
15835         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15836         gnu/gcj/runtime/StringBuffer.java
15837         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15838         gnu/java/awt/ComponentDataBlitOp.java
15839         gnu/java/awt/GLightweightPeer.java
15840         gnu/java/beans/BeanInfoEmbryo.java
15841         gnu/java/beans/EmptyBeanInfo.java
15842         gnu/java/beans/ExplicitBeanInfo.java
15843         gnu/java/beans/IntrospectionIncubator.java
15844         gnu/java/beans/editors/ColorEditor.java
15845         gnu/java/beans/editors/FontEditor.java
15846         gnu/java/beans/editors/NativeBooleanEditor.java
15847         gnu/java/beans/editors/NativeByteEditor.java
15848         gnu/java/beans/editors/NativeDoubleEditor.java
15849         gnu/java/beans/editors/NativeFloatEditor.java
15850         gnu/java/beans/editors/NativeIntEditor.java
15851         gnu/java/beans/editors/NativeLongEditor.java
15852         gnu/java/beans/editors/NativeShortEditor.java
15853         gnu/java/beans/editors/StringEditor.java
15854         gnu/java/beans/info/ComponentBeanInfo.java
15855         gnu/java/io/ClassLoaderObjectInputStream.java
15856         gnu/java/io/NullOutputStream.java
15857         gnu/java/io/ObjectIdentityWrapper.java
15858         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15859         gnu/java/lang/reflect/TypeSignature.java
15860         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15861         gnu/java/locale/Calendar_en.java
15862         gnu/java/locale/Calendar_nl.java
15863         gnu/java/locale/LocaleInformation.java
15864         gnu/java/locale/LocaleInformation_de.java
15865         gnu/java/locale/LocaleInformation_en.java
15866         gnu/java/locale/LocaleInformation_nl.java
15867         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15868         gnu/java/rmi/registry/RegistryImpl.java
15869         gnu/java/rmi/rmic/Compile_gcj.java
15870         gnu/java/rmi/rmic/Compiler.java
15871         gnu/java/rmi/rmic/CompilerProcess.java
15872         gnu/java/rmi/rmic/RMIC.java
15873         gnu/java/rmi/rmic/TabbedWriter.java
15874         gnu/java/rmi/server/ProtocolConstants.java
15875         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15876         gnu/java/rmi/server/RMIHashes.java
15877         gnu/java/rmi/server/RMIObjectInputStream.java
15878         gnu/java/rmi/server/RMIObjectOutputStream.java
15879         gnu/java/rmi/server/UnicastConnection.java
15880         gnu/java/rmi/server/UnicastConnectionManager.java
15881         gnu/java/rmi/server/UnicastRef.java
15882         gnu/java/rmi/server/UnicastRemoteCall.java
15883         gnu/java/rmi/server/UnicastRemoteStub.java
15884         gnu/java/rmi/server/UnicastServer.java
15885         gnu/java/rmi/server/UnicastServerRef.java
15886         gnu/java/security/provider/DefaultPolicy.java
15887         gnu/java/security/provider/Gnu.java
15888         gnu/java/security/provider/SHA.java
15889         gnu/java/security/provider/SHA1PRNG.java
15890         gnu/java/text/BaseBreakIterator.java
15891         gnu/java/text/CharacterBreakIterator.java
15892         gnu/java/text/LineBreakIterator.java
15893         gnu/java/text/SentenceBreakIterator.java
15894         gnu/java/text/WordBreakIterator.java
15895         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15896         java/applet/AppletContext.java java/applet/AppletStub.java
15897         java/applet/AudioClip.java java/awt/AWTError.java
15898         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15899         java/awt/AWTException.java java/awt/AWTPermission.java
15900         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15901         java/awt/Button.java java/awt/Canvas.java
15902         java/awt/CardLayout.java java/awt/Checkbox.java
15903         java/awt/CheckboxGroup.java java/awt/Component.java
15904         java/awt/ComponentOrientation.java java/awt/Container.java
15905         java/awt/Dimension.java java/awt/Event.java
15906         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15907         java/awt/FlowLayout.java java/awt/Frame.java
15908         java/awt/Graphics.java java/awt/Graphics2D.java
15909         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15910         java/awt/IllegalComponentStateException.java
15911         java/awt/ItemSelectable.java java/awt/Label.java
15912         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15913         java/awt/MenuComponent.java java/awt/MenuItem.java
15914         java/awt/Paint.java java/awt/Point.java
15915         java/awt/Rectangle.java java/awt/RenderingHints.java
15916         java/awt/Transparency.java java/awt/Window.java
15917         java/awt/color/ColorSpace.java
15918         java/awt/color/ICC_ColorSpace.java
15919         java/awt/color/ICC_Profile.java
15920         java/awt/event/HierarchyBoundsAdapter.java
15921         java/awt/event/HierarchyBoundsListener.java
15922         java/awt/event/HierarchyEvent.java
15923         java/awt/event/HierarchyListener.java
15924         java/awt/geom/AffineTransform.java
15925         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15926         java/awt/geom/IllegalPathStateException.java
15927         java/awt/geom/Line2D.java
15928         java/awt/geom/NoninvertibleTransformException.java
15929         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15930         java/awt/geom/Rectangle2D.java
15931         java/awt/geom/RectangularShape.java
15932         java/awt/geom/RoundRectangle2D.java
15933         java/awt/image/BufferedImage.java
15934         java/awt/image/ColorModel.java
15935         java/awt/image/ComponentColorModel.java
15936         java/awt/image/ComponentSampleModel.java
15937         java/awt/image/DataBuffer.java
15938         java/awt/image/DataBufferByte.java
15939         java/awt/image/DataBufferInt.java
15940         java/awt/image/DataBufferUShort.java
15941         java/awt/image/DirectColorModel.java
15942         java/awt/image/PackedColorModel.java
15943         java/awt/image/Raster.java java/awt/image/RasterOp.java
15944         java/awt/image/SampleModel.java
15945         java/awt/image/SinglePixelPackedSampleModel.java
15946         java/awt/image/WritableRaster.java
15947         java/beans/AppletInitializer.java
15948         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15949         java/beans/Beans.java java/beans/Customizer.java
15950         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15951         java/beans/FeatureDescriptor.java
15952         java/beans/IndexedPropertyDescriptor.java
15953         java/beans/IntrospectionException.java
15954         java/beans/Introspector.java java/beans/MethodDescriptor.java
15955         java/beans/ParameterDescriptor.java
15956         java/beans/PropertyChangeEvent.java
15957         java/beans/PropertyChangeListener.java
15958         java/beans/PropertyChangeSupport.java
15959         java/beans/PropertyDescriptor.java
15960         java/beans/PropertyEditor.java
15961         java/beans/PropertyEditorManager.java
15962         java/beans/PropertyEditorSupport.java
15963         java/beans/PropertyVetoException.java
15964         java/beans/SimpleBeanInfo.java
15965         java/beans/VetoableChangeListener.java
15966         java/beans/VetoableChangeSupport.java
15967         java/beans/Visibility.java
15968         java/beans/beancontext/BeanContext.java
15969         java/beans/beancontext/BeanContextChild.java
15970         java/beans/beancontext/BeanContextChildComponentProxy.java
15971         java/beans/beancontext/BeanContextChildSupport.java
15972         java/beans/beancontext/BeanContextContainerProxy.java
15973         java/beans/beancontext/BeanContextEvent.java
15974         java/beans/beancontext/BeanContextMembershipEvent.java
15975         java/beans/beancontext/BeanContextMembershipListener.java
15976         java/beans/beancontext/BeanContextProxy.java
15977         java/beans/beancontext/BeanContextServiceAvailableEvent.java
15978         java/beans/beancontext/BeanContextServiceProvider.java
15979         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15980         java/beans/beancontext/BeanContextServiceRevokedEvent.java
15981         java/beans/beancontext/BeanContextServiceRevokedListener.java
15982         java/beans/beancontext/BeanContextServices.java
15983         java/beans/beancontext/BeanContextServicesListener.java
15984         java/io/BufferedInputStream.java
15985         java/io/BufferedOutputStream.java java/io/BufferedReader.java
15986         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15987         java/io/ByteArrayOutputStream.java
15988         java/io/CharArrayReader.java java/io/CharArrayWriter.java
15989         java/io/CharConversionException.java java/io/DataInput.java
15990         java/io/DataInputStream.java java/io/DataOutput.java
15991         java/io/EOFException.java java/io/Externalizable.java
15992         java/io/FileFilter.java java/io/FileNotFoundException.java
15993         java/io/FilePermission.java java/io/FileReader.java
15994         java/io/FileWriter.java java/io/FilenameFilter.java
15995         java/io/FilterInputStream.java java/io/FilterOutputStream.java
15996         java/io/FilterReader.java java/io/FilterWriter.java
15997         java/io/IOException.java java/io/InputStream.java
15998         java/io/InterruptedIOException.java
15999         java/io/InvalidClassException.java
16000         java/io/InvalidObjectException.java
16001         java/io/NotActiveException.java
16002         java/io/NotSerializableException.java java/io/ObjectInput.java
16003         java/io/ObjectInputStream.java
16004         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16005         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16006         java/io/ObjectStreamConstants.java
16007         java/io/ObjectStreamException.java
16008         java/io/ObjectStreamField.java
16009         java/io/OptionalDataException.java java/io/OutputStream.java
16010         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16011         java/io/PipedReader.java java/io/PipedWriter.java
16012         java/io/PrintWriter.java java/io/PushbackInputStream.java
16013         java/io/PushbackReader.java java/io/Reader.java
16014         java/io/SequenceInputStream.java java/io/Serializable.java
16015         java/io/SerializablePermission.java
16016         java/io/StreamCorruptedException.java
16017         java/io/StreamTokenizer.java
16018         java/io/StringBufferInputStream.java java/io/StringReader.java
16019         java/io/StringWriter.java java/io/SyncFailedException.java
16020         java/io/UTFDataFormatException.java
16021         java/io/UnsupportedEncodingException.java
16022         java/io/WriteAbortedException.java java/io/Writer.java
16023         java/lang/AbstractMethodError.java
16024         java/lang/ArithmeticException.java
16025         java/lang/ArrayIndexOutOfBoundsException.java
16026         java/lang/ArrayStoreException.java java/lang/Boolean.java
16027         java/lang/Byte.java java/lang/CharSequence.java
16028         java/lang/ClassCastException.java
16029         java/lang/ClassCircularityError.java
16030         java/lang/ClassFormatError.java
16031         java/lang/ClassNotFoundException.java
16032         java/lang/CloneNotSupportedException.java
16033         java/lang/Cloneable.java java/lang/Comparable.java
16034         java/lang/Compiler.java java/lang/Double.java
16035         java/lang/Error.java java/lang/Exception.java
16036         java/lang/ExceptionInInitializerError.java
16037         java/lang/Float.java java/lang/IllegalAccessError.java
16038         java/lang/IllegalAccessException.java
16039         java/lang/IllegalArgumentException.java
16040         java/lang/IllegalMonitorStateException.java
16041         java/lang/IllegalStateException.java
16042         java/lang/IllegalThreadStateException.java
16043         java/lang/IncompatibleClassChangeError.java
16044         java/lang/IndexOutOfBoundsException.java
16045         java/lang/InheritableThreadLocal.java
16046         java/lang/InstantiationError.java
16047         java/lang/InstantiationException.java java/lang/Integer.java
16048         java/lang/InternalError.java
16049         java/lang/InterruptedException.java
16050         java/lang/LinkageError.java java/lang/Long.java
16051         java/lang/NegativeArraySizeException.java
16052         java/lang/NoClassDefFoundError.java
16053         java/lang/NoSuchFieldError.java
16054         java/lang/NoSuchFieldException.java
16055         java/lang/NoSuchMethodError.java
16056         java/lang/NoSuchMethodException.java
16057         java/lang/NullPointerException.java java/lang/Number.java
16058         java/lang/NumberFormatException.java
16059         java/lang/OutOfMemoryError.java java/lang/Package.java
16060         java/lang/Process.java java/lang/Runnable.java
16061         java/lang/RuntimeException.java
16062         java/lang/RuntimePermission.java
16063         java/lang/SecurityException.java
16064         java/lang/SecurityManager.java java/lang/Short.java
16065         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16066         java/lang/StringIndexOutOfBoundsException.java
16067         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16068         java/lang/ThreadLocal.java java/lang/UnknownError.java
16069         java/lang/UnsatisfiedLinkError.java
16070         java/lang/UnsupportedClassVersionError.java
16071         java/lang/UnsupportedOperationException.java
16072         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16073         java/lang/Void.java java/lang/ref/PhantomReference.java
16074         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16075         java/lang/ref/SoftReference.java
16076         java/lang/ref/WeakReference.java
16077         java/lang/reflect/AccessibleObject.java
16078         java/lang/reflect/InvocationTargetException.java
16079         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16080         java/lang/reflect/ReflectPermission.java
16081         java/math/BigDecimal.java java/math/BigInteger.java
16082         java/net/Authenticator.java java/net/BindException.java
16083         java/net/ConnectException.java java/net/ContentHandler.java
16084         java/net/ContentHandlerFactory.java
16085         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16086         java/net/FileNameMap.java java/net/MalformedURLException.java
16087         java/net/MulticastSocket.java java/net/NetPermission.java
16088         java/net/NoRouteToHostException.java
16089         java/net/PasswordAuthentication.java
16090         java/net/ProtocolException.java java/net/ServerSocket.java
16091         java/net/Socket.java java/net/SocketException.java
16092         java/net/SocketImpl.java java/net/SocketImplFactory.java
16093         java/net/SocketOptions.java java/net/SocketPermission.java
16094         java/net/URLDecoder.java java/net/URLEncoder.java
16095         java/net/URLStreamHandlerFactory.java
16096         java/net/UnknownHostException.java
16097         java/net/UnknownServiceException.java
16098         java/rmi/AccessException.java
16099         java/rmi/AlreadyBoundException.java
16100         java/rmi/ConnectException.java
16101         java/rmi/ConnectIOException.java
16102         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16103         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16104         java/rmi/NotBoundException.java
16105         java/rmi/RMISecurityException.java
16106         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16107         java/rmi/RemoteException.java java/rmi/ServerError.java
16108         java/rmi/ServerException.java
16109         java/rmi/ServerRuntimeException.java
16110         java/rmi/StubNotFoundException.java
16111         java/rmi/UnexpectedException.java
16112         java/rmi/UnknownHostException.java
16113         java/rmi/UnmarshalException.java
16114         java/rmi/activation/Activatable.java
16115         java/rmi/activation/ActivateFailedException.java
16116         java/rmi/activation/ActivationDesc.java
16117         java/rmi/activation/ActivationException.java
16118         java/rmi/activation/ActivationGroup.java
16119         java/rmi/activation/ActivationGroupDesc.java
16120         java/rmi/activation/ActivationGroupID.java
16121         java/rmi/activation/ActivationID.java
16122         java/rmi/activation/ActivationInstantiator.java
16123         java/rmi/activation/ActivationMonitor.java
16124         java/rmi/activation/ActivationSystem.java
16125         java/rmi/activation/Activator.java
16126         java/rmi/activation/UnknownGroupException.java
16127         java/rmi/activation/UnknownObjectException.java
16128         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16129         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16130         java/rmi/registry/Registry.java
16131         java/rmi/registry/RegistryHandler.java
16132         java/rmi/server/ExportException.java
16133         java/rmi/server/LoaderHandler.java
16134         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16135         java/rmi/server/Operation.java
16136         java/rmi/server/RMIClassLoader.java
16137         java/rmi/server/RMIClientSocketFactory.java
16138         java/rmi/server/RMIFailureHandler.java
16139         java/rmi/server/RMIServerSocketFactory.java
16140         java/rmi/server/RMISocketFactory.java
16141         java/rmi/server/RemoteCall.java
16142         java/rmi/server/RemoteObject.java
16143         java/rmi/server/RemoteRef.java
16144         java/rmi/server/RemoteServer.java
16145         java/rmi/server/RemoteStub.java
16146         java/rmi/server/ServerCloneException.java
16147         java/rmi/server/ServerNotActiveException.java
16148         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16149         java/rmi/server/SkeletonMismatchException.java
16150         java/rmi/server/SkeletonNotFoundException.java
16151         java/rmi/server/SocketSecurityException.java
16152         java/rmi/server/UID.java
16153         java/rmi/server/UnicastRemoteObject.java
16154         java/rmi/server/Unreferenced.java
16155         java/security/AccessControlContext.java
16156         java/security/AccessControlException.java
16157         java/security/AccessController.java
16158         java/security/AlgorithmParameterGenerator.java
16159         java/security/AlgorithmParameterGeneratorSpi.java
16160         java/security/AlgorithmParameters.java
16161         java/security/AlgorithmParametersSpi.java
16162         java/security/AllPermission.java
16163         java/security/BasicPermission.java
16164         java/security/Certificate.java java/security/CodeSource.java
16165         java/security/DigestException.java
16166         java/security/DigestInputStream.java
16167         java/security/DigestOutputStream.java
16168         java/security/DomainCombiner.java
16169         java/security/DummyKeyPairGenerator.java
16170         java/security/DummyMessageDigest.java
16171         java/security/DummySignature.java
16172         java/security/GeneralSecurityException.java
16173         java/security/Guard.java java/security/GuardedObject.java
16174         java/security/Identity.java java/security/IdentityScope.java
16175         java/security/InvalidAlgorithmParameterException.java
16176         java/security/InvalidKeyException.java
16177         java/security/InvalidParameterException.java
16178         java/security/Key.java java/security/KeyException.java
16179         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16180         java/security/KeyManagementException.java
16181         java/security/KeyPair.java java/security/KeyPairGenerator.java
16182         java/security/KeyPairGeneratorSpi.java
16183         java/security/KeyStore.java
16184         java/security/KeyStoreException.java
16185         java/security/KeyStoreSpi.java
16186         java/security/MessageDigest.java
16187         java/security/MessageDigestSpi.java
16188         java/security/NoSuchAlgorithmException.java
16189         java/security/NoSuchProviderException.java
16190         java/security/Permission.java
16191         java/security/PermissionCollection.java
16192         java/security/Permissions.java java/security/Policy.java
16193         java/security/Principal.java java/security/PrivateKey.java
16194         java/security/PrivilegedAction.java
16195         java/security/PrivilegedActionException.java
16196         java/security/PrivilegedExceptionAction.java
16197         java/security/ProtectionDomain.java
16198         java/security/Provider.java
16199         java/security/ProviderException.java
16200         java/security/PublicKey.java
16201         java/security/SecureClassLoader.java
16202         java/security/SecureRandom.java
16203         java/security/SecureRandomSpi.java java/security/Security.java
16204         java/security/SecurityPermission.java
16205         java/security/Signature.java
16206         java/security/SignatureException.java
16207         java/security/SignatureSpi.java
16208         java/security/SignedObject.java java/security/Signer.java
16209         java/security/UnrecoverableKeyException.java
16210         java/security/UnresolvedPermission.java
16211         java/security/acl/Acl.java java/security/acl/AclEntry.java
16212         java/security/acl/AclNotFoundException.java
16213         java/security/acl/Group.java
16214         java/security/acl/LastOwnerException.java
16215         java/security/acl/NotOwnerException.java
16216         java/security/acl/Owner.java java/security/acl/Permission.java
16217         java/security/cert/CRL.java
16218         java/security/cert/CRLException.java
16219         java/security/cert/Certificate.java
16220         java/security/cert/CertificateEncodingException.java
16221         java/security/cert/CertificateException.java
16222         java/security/cert/CertificateExpiredException.java
16223         java/security/cert/CertificateFactory.java
16224         java/security/cert/CertificateFactorySpi.java
16225         java/security/cert/CertificateNotYetValidException.java
16226         java/security/cert/CertificateParsingException.java
16227         java/security/cert/X509CRL.java
16228         java/security/cert/X509CRLEntry.java
16229         java/security/cert/X509Certificate.java
16230         java/security/cert/X509Extension.java
16231         java/security/interfaces/DSAKey.java
16232         java/security/interfaces/DSAKeyPairGenerator.java
16233         java/security/interfaces/DSAParams.java
16234         java/security/interfaces/DSAPrivateKey.java
16235         java/security/interfaces/DSAPublicKey.java
16236         java/security/interfaces/RSAKey.java
16237         java/security/interfaces/RSAPrivateCrtKey.java
16238         java/security/interfaces/RSAPrivateKey.java
16239         java/security/interfaces/RSAPublicKey.java
16240         java/security/spec/AlgorithmParameterSpec.java
16241         java/security/spec/DSAParameterSpec.java
16242         java/security/spec/DSAPrivateKeySpec.java
16243         java/security/spec/DSAPublicKeySpec.java
16244         java/security/spec/EncodedKeySpec.java
16245         java/security/spec/InvalidKeySpecException.java
16246         java/security/spec/InvalidParameterSpecException.java
16247         java/security/spec/KeySpec.java
16248         java/security/spec/PKCS8EncodedKeySpec.java
16249         java/security/spec/RSAKeyGenParameterSpec.java
16250         java/security/spec/RSAPrivateCrtKeySpec.java
16251         java/security/spec/RSAPrivateKeySpec.java
16252         java/security/spec/RSAPublicKeySpec.java
16253         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16254         java/sql/BatchUpdateException.java java/sql/Blob.java
16255         java/sql/CallableStatement.java java/sql/Clob.java
16256         java/sql/Connection.java java/sql/DataTruncation.java
16257         java/sql/DatabaseMetaData.java java/sql/Date.java
16258         java/sql/Driver.java java/sql/DriverManager.java
16259         java/sql/DriverPropertyInfo.java
16260         java/sql/PreparedStatement.java java/sql/Ref.java
16261         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16262         java/sql/SQLData.java java/sql/SQLException.java
16263         java/sql/SQLInput.java java/sql/SQLOutput.java
16264         java/sql/SQLWarning.java java/sql/Statement.java
16265         java/sql/Struct.java java/sql/Time.java
16266         java/sql/Timestamp.java java/sql/Types.java
16267         java/text/Annotation.java
16268         java/text/AttributedCharacterIterator.java
16269         java/text/AttributedString.java
16270         java/text/AttributedStringIterator.java
16271         java/text/BreakIterator.java java/text/CharacterIterator.java
16272         java/text/ChoiceFormat.java java/text/Collator.java
16273         java/text/DateFormat.java java/text/DateFormatSymbols.java
16274         java/text/DecimalFormat.java
16275         java/text/DecimalFormatSymbols.java
16276         java/text/FieldPosition.java java/text/Format.java
16277         java/text/MessageFormat.java java/text/NumberFormat.java
16278         java/text/ParseException.java java/text/ParsePosition.java
16279         java/text/SimpleDateFormat.java
16280         java/text/StringCharacterIterator.java
16281         java/util/AbstractCollection.java java/util/AbstractList.java
16282         java/util/AbstractMap.java
16283         java/util/AbstractSequentialList.java
16284         java/util/AbstractSet.java java/util/ArrayList.java
16285         java/util/Arrays.java java/util/BasicMapEntry.java
16286         java/util/BitSet.java java/util/Calendar.java
16287         java/util/Collection.java java/util/Collections.java
16288         java/util/Comparator.java
16289         java/util/ConcurrentModificationException.java
16290         java/util/Date.java java/util/Dictionary.java
16291         java/util/EmptyStackException.java java/util/Enumeration.java
16292         java/util/EventListener.java java/util/EventObject.java
16293         java/util/GregorianCalendar.java java/util/HashMap.java
16294         java/util/HashSet.java java/util/Hashtable.java
16295         java/util/IdentityHashMap.java java/util/Iterator.java
16296         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16297         java/util/LinkedList.java java/util/List.java
16298         java/util/ListIterator.java java/util/ListResourceBundle.java
16299         java/util/Locale.java java/util/Map.java
16300         java/util/MissingResourceException.java
16301         java/util/NoSuchElementException.java
16302         java/util/Observable.java java/util/Observer.java
16303         java/util/Properties.java java/util/PropertyPermission.java
16304         java/util/PropertyResourceBundle.java java/util/Random.java
16305         java/util/RandomAccess.java java/util/ResourceBundle.java
16306         java/util/Set.java java/util/SimpleTimeZone.java
16307         java/util/SortedMap.java java/util/SortedSet.java
16308         java/util/Stack.java java/util/StringTokenizer.java
16309         java/util/TimeZone.java java/util/Timer.java
16310         java/util/TimerTask.java
16311         java/util/TooManyListenersException.java
16312         java/util/TreeMap.java java/util/TreeSet.java
16313         java/util/Vector.java java/util/WeakHashMap.java
16314         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16315         java/util/jar/JarException.java java/util/jar/JarFile.java
16316         java/util/jar/JarInputStream.java
16317         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16318         java/util/zip/Adler32.java java/util/zip/CRC32.java
16319         java/util/zip/CheckedInputStream.java
16320         java/util/zip/CheckedOutputStream.java
16321         java/util/zip/Checksum.java
16322         java/util/zip/DataFormatException.java
16323         java/util/zip/Deflater.java
16324         java/util/zip/DeflaterOutputStream.java
16325         java/util/zip/GZIPInputStream.java
16326         java/util/zip/GZIPOutputStream.java
16327         java/util/zip/Inflater.java
16328         java/util/zip/InflaterInputStream.java
16329         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16330         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16331         java/util/zip/ZipInputStream.java
16332         java/util/zip/ZipOutputStream.java
16333         javax/naming/BinaryRefAddr.java
16334         javax/naming/InvalidNameException.java javax/naming/Name.java
16335         javax/naming/NamingException.java javax/naming/RefAddr.java
16336         javax/naming/StringRefAddr.java: Add license clarification.
16337
16338 2002-01-22  Tom Tromey  <tromey@redhat.com>
16339
16340         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16341         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16342         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16343         version.
16344         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16345         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16346         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16347         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16348         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16349         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16350         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16351         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16352         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16353         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16354         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16355         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16356         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16357         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16358         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16359         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16360         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16361         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16362         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16363         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16364         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16365         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16366         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16367         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16368         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16369         (minimumSize, preferredSize, reshape): Likewise.
16370         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16371         getColorModel): New methods.
16372         * java/awt/PopupMenu.java: Merged with Classpath.
16373         * java/awt/MenuBar.java: Merged with Classpath.
16374         * java/awt/SystemColor.java: Replace with Classpath version.
16375         * java/awt/Panel.java: Merged with Classpath.
16376         * java/awt/PaintContext.java: Updated copyright.
16377         * java/awt/MenuShortcut.java: Merged with Classpath.
16378         * java/awt/MenuContainer.java: Merged with Classpath.
16379         * java/awt/Menu.java: Merged with Classpath.
16380         * java/awt/MediaEntry.java: New file from Classpath.
16381         * java/awt/MediaTracker.java: New file from Classpath.
16382         * java/awt/List.java: Merged with Classpath version.
16383         * java/awt/Insets.java: Merged with Classpath version.
16384         * java/awt/ImageMediaEntry.java: New file from Classpath.
16385         * java/awt/Image.java: Replaced with Classpath version.
16386         * java/awt/FontMetrics.java: Merged with Classpath version.
16387         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16388         constant.
16389         * java/awt/Font.java: Merged with Classpath version.
16390         * java/awt/Dialog.java: Merged with Classpath version.
16391         * java/awt/Color.java: Merged with Classpath version.
16392         * java/awt/Choice.java: Merged with Classpath version.
16393         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16394         * java/awt/Adjustable.java: Replace with Classpath version.
16395         * java/awt/MenuItem.java (paramString): Don't include class name
16396         or brackets.  Call superclass paramString.
16397         * java/awt/MenuComponent.java (toString): Call paramString.
16398         (paramString): Compute string; don't call toString.
16399         * java/awt/Label.java (paramString): Don't include class name
16400         or brackets.  Call superclass paramString.
16401         * java/awt/Checkbox.java (paramString): Don't include class name
16402         or brackets.  Call superclass paramString.
16403         * java/awt/Button.java (paramString): Don't include class name or
16404         brackets.  Call superclass paramString.
16405         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16406
16407 2002-01-20  Andreas Schwab  <schwab@suse.de>
16408
16409         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16410         function and of parameter recv_func to ssize_t, as specified by
16411         POSIX.
16412
16413 2002-01-19  Per Bothner  <per@bothner.com>
16414
16415         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16416         uncompressed_size in readiness for next entry.
16417
16418 2002-01-18  Tom Tromey  <tromey@redhat.com>
16419
16420         * java/net/natPlainSocketImpl.cc: Include
16421         IllegalArgumentException.h.
16422         (_Jv_recv): New template function.
16423         (BooleanClass): Removed.
16424         (read): Use _Jv_recv.
16425         (setOption): Use Boolean::class$.  Throw exception if object is
16426         not Boolean or Integer.
16427
16428 2002-01-17  Tom Tromey  <tromey@redhat.com>
16429
16430         * java/awt/MenuComponent.java: Merged with Classpath.
16431         * java/awt/MenuItem.java: Merged with Classpath.
16432         * java/awt/Button.java: Merged with Classpath.
16433
16434         * java/awt/ActiveEvent.java: Updated copyright.
16435
16436         * java/awt/AWTError.java: Replaced with Classpath version.
16437         * java/awt/AWTException.java: Replaced with Classpath version.
16438         * java/awt/IllegalComponentStateException.java: Replaced with
16439         Classpath version.
16440
16441 2002-01-16  Tom Tromey  <tromey@redhat.com>
16442
16443         * java/awt/Canvas.java (serialVersionUID): New constant.
16444         Updated copyright.  Added javadoc from Classpath.
16445         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16446
16447         * java/awt/CheckboxGroup.java: Merged with Classpath.
16448         * java/awt/Checkbox.java: Merged with Classpath.
16449
16450         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16451         Classpath.
16452         * java/awt/Point.java: Updated copyright.
16453
16454         * java/awt/Point.java (toString): Use getClass().getName().
16455         Added javadoc.
16456
16457         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16458         commented code.
16459         (hash): Correctly compute initial value for `h'.
16460
16461         * java/awt/Label.java: Merged with Classpath.
16462
16463 2002-01-15  Tom Tromey  <tromey@redhat.com>
16464
16465         * java/awt/AWTPermission.java: Updated copyright.
16466
16467         * java/awt/LayoutManager2.java: Merged with Classpath.
16468         * java/awt/LayoutManager.java: Merged with Classpath.
16469         * java/awt/GridLayout.java: Updated copyright and javadoc.
16470         (getSize): Use `parent.ncomponents'.  Handle insets.
16471         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16472         there are fewer children than columns.  Correctly compute size of
16473         each cell in the grid.  Handle case where there isn't enough
16474         space.
16475         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16476         all users.
16477         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16478         before calling setVisible() on it.  Last item is `num - 1', not
16479         `num'.
16480         (layoutContainer): Hoist invariants out of loop.
16481
16482         Start of AWT merge with Classpath:
16483         * Makefile.in: Rebuilt.
16484         * Makefile.am (awt_java_source_files): Reference files in
16485         gnu/java/awt, not gnu/gcj/awt.
16486         * java/awt/image/BufferedImage.java: Updated copyright.
16487         * java/awt/image/ComponentColorModel.java: Updated copyright.
16488         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16489         * java/awt/image/DataBuffer.java: Updated copyright.
16490         * java/awt/image/DataBufferByte.java: Updated copyright.
16491         * java/awt/image/DataBufferInt.java: Updated copyright.
16492         * java/awt/image/DataBufferUShort.java: Updated copyright.
16493         * java/awt/image/IndexColorModel.java: Updated copyright.
16494         * java/awt/image/PackedColorModel.java: Updated copyright.
16495         * java/awt/image/Raster.java: Updated copyright.
16496         * java/awt/image/RasterOp.java: Updated copyright.
16497         * java/awt/image/SampleModel.java: Updated copyright.
16498         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16499         * java/awt/image/WritableRaster.java: Updated copyright.
16500         * java/awt/color/ColorSpace.java: Updated copyright.
16501         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16502         * java/awt/color/ICC_Profile.java: Updated copyright.
16503         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16504         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16505         * java/awt/event/HierarchyEvent.java: Updated copyright.
16506         * java/awt/event/HierarchyListener.java: Updated copyright.
16507         * java/awt/geom/AffineTransform.java: Updated copyright.
16508         * java/awt/geom/Dimension2D.java: Updated copyright.
16509         * java/awt/geom/Ellipse2D.java: Updated copyright.
16510         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16511         * java/awt/geom/Line2D.java: Updated copyright.
16512         * java/awt/geom/NoninvertibleTransformException.java: Updated
16513         copyright.
16514         * java/awt/geom/PathIterator.java: Updated copyright.
16515         * java/awt/geom/Point2D.java: Updated copyright.
16516         * java/awt/geom/Rectangle2D.java: Updated copyright.
16517         * java/awt/geom/RectangularShape.java: Updated copyright.
16518         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16519         * java/awt/Toolkit.java: Updated import for file moves.
16520         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16521         Classpath.
16522         (hashCode): New method from Classpath.
16523         * java/awt/Graphics2D.java: Updated copyright.
16524         * java/awt/Transparency.java: Updated copyright.
16525         * java/awt/Paint.java: Updated copyright.
16526         * java/awt/Graphics.java: New version from Classpath.
16527         * java/awt/EventDispatchThread.java: Updated copyright.
16528         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16529         children.
16530         (gotoComponent): Wrap around on next/previous.
16531         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16532         * gnu/gcj/awt/Buffers.java: Removed.
16533         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16534         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16535         * gnu/java/awt/BitMaskExtent.java: Added.
16536         * gnu/java/awt/Buffers.java: Added.
16537         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16538         * gnu/java/awt/GLightweightPeer.java: Added.
16539         * java/awt/geom/Line2D.java (clone): Ignore
16540         CloneNotSupportedException.
16541         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16542         * java/awt/Frame.java: Merged with Classpath.
16543         * java/awt/RenderingHints.java: Copyright update.
16544         * java/awt/Paint.java: Copyright update.
16545         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16546         * java/awt/image/ColorModel.java: Merged with Classpath.
16547         * java/awt/Window.java (show): New Implementation from Classpath.
16548         (isShowing): Use super.isShowing().
16549         * java/awt/EventQueue.java: Merged with Classpath.
16550         * java/awt/AWTEventMulticaster.java (save): Throw
16551         RuntimeException.
16552         (saveInternal): Likewise.
16553         * java/awt/AWTEvent.java: Now implements Serializable.
16554         * java/awt/Event.java: Copyright update.
16555         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16556         * java/awt/image/BufferedImage.java: Copyright update.
16557         * java/awt/GraphicsConfiguration.java: Copyright update.
16558         * java/awt/Component.java: (addNotify): Don't call
16559         addNotifyContainerChildren().
16560         (addNotifyContainerChildren): Removed.
16561         (setPeer): New method from Classpath.
16562         (setTreeLock): Likewise.
16563         (setVisible): Rewrote.
16564         (show): Use it.
16565         (hide): Likewise.
16566         (validate): Set `valid'.
16567         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16568         (createImage(ImageProducer)): Likewise.
16569         (prepareImage): Likewise.
16570         * java/awt/Container.java (addImpl): Handle case where constraint
16571         is not a String.  Post event via system event queue.
16572         (remove): Post event via system event queue.
16573         (validateTree): Only validate child if it is invalid.
16574         (getAlignmentX): Call super method as default.
16575         (getAlignmentY): Likewise.
16576         (addContainerListener): Now synchronized.
16577         (removeContainerListener): Likewise.
16578         (addNotifyContainerChildren): Now private.
16579         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16580         @author.
16581         * java/awt/FlowLayout.java (serialVersionUID): New field.
16582         (setAlignment): Better exception message.
16583         (layoutContainer): Don't compute component's preferred size unless
16584         we're going to use it.
16585         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16586         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16587         (firstLine, lastLine, firstItem, lastItem): New fields.
16588         (addLayoutComponent): Handle case where constraints is null.
16589         Also, handle relative locations.
16590         (removeLayoutComponent): Handle relative locations.
16591         (MIN, MAX, PREF): New constants.
16592         (calcCompSize): New method.
16593         (calcSize): New method.
16594         (minimumLayoutSize): Use it.
16595         (preferredLayoutSize): Likewise.
16596         (maximumLayoutSize): Likewise.
16597         (toString): Include more information.
16598         (setBounds): New method.
16599         (layoutContainer): Use libgcj implementation; extended to handle
16600         relative locations.
16601
16602 2002-01-15  Tom Tromey  <tromey@redhat.com>
16603
16604         * java/lang/Float.java (equals): Preserve old code.
16605         * java/lang/Double.java (equals): Preserve old code.
16606
16607 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16608
16609         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16610         * java/lang/Float.java (equals, compare): Ditto.
16611
16612 2002-01-13  Mark Wielaard  <mark@klomp.org>
16613
16614         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16615         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16616         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16617         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16618
16619 2002-01-11  Mark Wielaard  <mark@klomp.org>
16620
16621         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16622         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16623         InetAddress.
16624         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16625         * java/net/Socket.java: Merge with Classpath.
16626         * java/net/ServerSocket.java: Likewise.
16627
16628 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16629
16630         * interpret.cc (NULLARRAYCHECK): New macro.
16631         (SAVE_PC): Just store `pc'.
16632         (find_exception): Subtract one from `pc' here.
16633         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16634         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16635         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16636         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16637         don't call SAVE_PC.
16638         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16639         call SAVE_PC.
16640
16641 2002-01-11  Tom Tromey  <tromey@redhat.com>
16642
16643         * java/lang/natSystem.cc (init_properties): Only look for default
16644         locale if LC_MESSAGES is defined.
16645         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16646         * configure.in: Call AM_LC_MESSAGES.
16647         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16648
16649 2002-01-10  Tom Tromey  <tromey@redhat.com>
16650
16651         For PR libgcj/5303:
16652         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16653         --version.  Recognize GNU-style long options.  Print GNU-style
16654         error messages.
16655         (usage): Print GNU-style help.  Exit with status 0.
16656         (error): New method.
16657         (run): Print error message if no class names found.
16658         (main): Don't print usage on error.
16659
16660 2002-01-09  Tom Tromey  <tromey@redhat.com>
16661
16662         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16663         property.
16664         (help, version): Use println(), not println("").
16665
16666         For PR libgcj/5303:
16667         * gnu/gcj/convert/Convert.java (error): Program is called
16668         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16669         -1.
16670         (main): Handle --help and --version.
16671         (help): New method.
16672         (version): Likewise.
16673
16674 2002-01-08  Tom Tromey  <tromey@redhat.com>
16675
16676         * Makefile.in: Rebuilt.
16677         * Makefile.am (ordinary_java_source_files): Added new files.
16678         * gnu/java/locale/LocaleInformation.java: Extend
16679         LocaleInformation_en.
16680         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16681         and time/date formats.
16682         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16683         generated.
16684         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16685         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16686         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16687         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16688         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16689         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16690         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16691         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16692         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16693         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16694         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16695         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16696         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16697         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16698         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16699         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16700         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16701         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16702         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16703         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16704         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16705         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16706         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16707         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16708         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16709         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16710         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16711         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16712         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16713         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16714         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16715         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16716         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16717         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16718         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16719         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16720         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16721         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16722         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16723         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16724         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16725         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16726         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16727         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16728         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16729         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16730         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16731         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16732         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16733         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16734         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16735         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16736         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16737         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16738         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16739         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16740         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16741         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16742         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16743         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16744         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16745         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16746         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16747         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16748         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16749         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16750         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16751         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16752         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16753         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16754         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16755         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16756         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16757         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16758         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16759         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16760         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16761         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16762         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16763         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16764         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16765         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16766         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16767         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16768         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16769         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16770         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16771         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16772         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16773         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16774         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16775         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16776         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16777         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16778         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16779         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16780         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16781         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16782         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16783         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16784         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16785         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16786         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16787         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16788         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16789         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16790         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16791         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16792         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16793         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16794         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16795         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16796         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16797         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16798         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16799         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16800         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16801         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16802         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16803         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16804         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16805         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16806         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16807         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16808         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16809         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16810         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16811         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16812         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16813         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16814
16815         For PR libgcj/5031:
16816         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16817         choose default locale.
16818
16819         * Makefile.in: Rebuilt.
16820         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16821
16822 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16823
16824         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16825         sockets.
16826         (close): New function closes the socket.
16827         (write): New functions for output to socket.
16828         (read): New functions for reading from socket.
16829         * java/net/PlainSocketImpl.java: Glue for new timeout
16830         implementation.
16831         (write): Call the native impl.
16832         (read): Likewise.
16833         (getInputStream): Get a stream to read from the socket.
16834         (getOutputStream): Get a stream to write to the socket.
16835
16836 2002-01-08  Tom Tromey  <tromey@redhat.com>
16837
16838         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16839
16840 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16841
16842         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16843         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16844
16845 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16846
16847         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16848         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16849         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16850         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16851         insn_bastore, insn_castore, insn_sastore]: Use it.
16852         (continue1) [insn_arraylength]: Check for null array.
16853
16854 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16855
16856         * configure, include/config.h.in: Rebuilt.
16857         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16858         * configure.in: Call AC_STRUCT_TIMEZONE.
16859
16860 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16861
16862         * configure.host: Disable the interpreter for Darwin.
16863
16864 2002-01-04  Tom Tromey  <tromey@redhat.com>
16865
16866         * java/lang/Thread.java (stop): No longer synchronized.
16867         (start): Likewise.
16868
16869 2002-01-02  Tom Tromey  <tromey@redhat.com>
16870
16871         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16872         patch.
16873
16874 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16875
16876         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16877         PPC Darwin, not for all of Darwin.