OSDN Git Service

2003-12-09 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-09  Michael Koch  <konqueror@gmx.de>
2
3         * java/net/DatagramSocket.java
4         (close): Directly return if socket is closed.
5         * java/net/ServerSocket.java
6         (close): Directly return if socket is closed.
7         * java/net/Socket.java
8         (close): Directly return if socket is closed.
9
10 2003-12-09  Michael Koch  <konqueror@gmx.de>
11
12         * gnu/java/nio/SelectorImpl.java
13         (implSelect): Throws IOException.
14         (select): Likewise.
15
16 2003-12-08  Kim Ho  <kho@redhat.com>
17
18         Fix for Checkbox states.
19         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
20         (currentState): New field.
21         (nativeCreate): Add initial state parameter.
22         (create): Changed to reflect new parameter.
23         (setState): Fire only on changed states.
24         (postItemEvent): Fire only on changed states. Also change the 
25         Java Checkbox to reflect new state.
26         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
27         (nativeCreate): Add parameter and set active state.
28
29 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
30  
31         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
32         object of type expected by specified DataFlavor.
33
34 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
35  
36         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
37         error which was clipping off the first character of a parameter value.
38
39 2003-12-08  Olga Rodimina <rodimina@redhat.com>
40
41         * java/awt/Polygon.java
42         (translate): Fixed error that caused polygon 
43         to move right/left when up/down translation was required.
44         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
45         (getSelectionStart): Initialized start position to 0. 
46         (getSelectionEnd): Initialized end position to 0.
47         (getCaretPosition): Initialized caret position to 0.
48         (getText): Initialized selected text to NULL 
49
50 2003-12-08  Michael Koch  <konqueror@gmx.de>
51
52         Fix for PR libgcj/13176.
53         * java/io/PrintStream.java: Partly revert my previous patches to get
54         (line_separator): New field.
55         (converter): New field.
56         (work): New field.
57         (work_bytes): New field.
58         (pw): Removed.
59         (closed): Removed.
60         (PrintStrean): Initialize converter and not pw.
61         (checkError): Flush always, pw doesn't exist anymore.
62         (close): Close underlying out stream.
63         (print): New method.
64         (writeChars): New method.
65         (print): Use new internal print method.
66         (println): Likewise.
67
68 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
69
70         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
71         putAllInternal.
72         (putAllInternal): Correct comment.
73         * java/util/HashMap.java (HashMap(Map)): As above.
74         (putAllInternal): As above.
75
76 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
77
78         * java/util/Hashtable.java (internalContainsValue): Removed.
79         (containsValue): Don't delegate to internalContainsValue.
80
81 2003-12-06  Michael Koch  <konqueror@gmx.de>
82
83         * javax/naming/directory/Attribute.java,
84         javax/naming/directory/Attributes.java,
85         javax/naming/directory/DirContext.java,
86         javax/naming/directory/InitialDirContext.java,
87         javax/naming/directory/SearchResult.java,
88         javax/naming/event/EventContext.java,
89         javax/naming/event/NamingEvent.java,
90         javax/naming/event/NamingExceptionEvent.java,
91         javax/naming/ldap/ControlFactory.java,
92         javax/naming/ldap/ExtendedRequest.java,
93         javax/naming/ldap/HasControls.java,
94         javax/naming/ldap/InitialLdapContext.java,
95         javax/naming/ldap/LdapContext.java,
96         javax/naming/ldap/LdapReferralException.java,
97         javax/naming/ldap/UnsolicitedNotification.java,
98         javax/naming/ldap/UnsolicitedNotificationListener.java,
99         javax/naming/spi/DirObjectFactory.java,
100         javax/naming/spi/DirStateFactory.java,
101         javax/naming/spi/DirectoryManager.java,
102         javax/naming/spi/NamingManager.java,
103         javax/naming/spi/ObjectFactoryBuilder.java,
104         javax/naming/spi/ResolveResult.java,
105         javax/naming/spi/Resolver.java,
106         javax/naming/spi/StateFactory.java:
107         Import used classes explicitely.
108
109 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
110
111         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
112         (clip): Removed field
113         (clipRectangles): New field.
114         (clone): Use new updateClip.
115         (setClipRectangles): Use new updateClip.
116         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
117
118 2003-12-04  Michael Koch  <konqueror@gmx.de>
119
120         * java/io/FilePermission.java:
121         Import used classes explicitely.
122
123 2003-12-04  Michael Koch  <konqueror@gmx.de>
124
125         * java/beans/BeanDescriptor.java,
126         java/beans/EventSetDescriptor.java,
127         java/beans/FeatureDescriptor.java,
128         java/beans/IndexedPropertyDescriptor.java,
129         java/beans/Introspector.java,
130         java/beans/MethodDescriptor.java,
131         java/beans/PropertyDescriptor.java,
132         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
133         * java/beans/beancontext/BeanContextServicesSupport.java
134         (serialVersionUID): New field.
135
136 2003-12-04  Michael Koch  <konqueror@gmx.de>
137
138         * java/awt/MenuComponent.java: Import java.io.Serialization.
139         * java/awt/MenuItem.java: Likewise.
140         * java/awt/TextComponent.java: Likewise.
141         * java/awt/image/ImagingOpException.java
142         (serialVersionUID): Fixed.
143
144 2003-12-04  Michael Koch  <konqueror@gmx.de>
145
146         * gnu/java/net/protocol/http/Connection.java
147         (sendRequest): Merged writing http headers with classpath.
148         (getInputStream): Merged documentation from classpath.
149         (getHeaderField): Likewise.
150         (getHeaderFieldKey): Likewise.
151
152 2003-12-04  Michael Koch  <konqueror@gmx.de>
153
154         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
155
156 2003-12-04  Michael Koch  <konqueror@gmx.de>
157
158         * java/net/DatagramPacket.java
159         (length): Made packge-private to make it accessible via CNI.
160         (maxlen): New field.
161         (DatagramPacket): Cleaned up.
162         (setSocketAddress): Add message to exception.
163         (setData): Call other setData().
164         (setData): Call setLength().
165         (setLength): Initialize maxlen too.
166         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
167         Get maximal length from maxlen field, set length field directly.
168         (receive): Likewise.
169         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
170         Get maximal length from maxlen field, set length field directly.
171         (receive): Likewise.
172
173 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
174
175         * gnu/java/nio/natSelectorImplPosix.cc
176         (implSelect): A timeout of 0 means an infinite
177         timeout.
178
179 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
180  
181         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
182         of ActionEvents.
183
184 2003-12-03  Michael Koch  <konqueror@gmx.de>
185
186         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
187         * java/lang/natClass.cc (getSigners): Likewise.
188         (setSigners): Likewise.
189
190 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
191
192         * configure.in: Added new MinGW-specific configure flag
193         --with-win32-nlsapi.
194         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
195         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
196         is set to unicows.
197         * configure: Rebuilt.
198         * include/config.h.in: Rebuilt.
199         * win32.cc (_Jv_Win32NewString): Implemented.
200         (nativeToUnicode): New helper function defined only for
201         non-UNICODE builds.
202         (unicodeToNative): Likewise.
203         (_Jv_Win32TempString): Implemented.
204         (lots): Refactored using tchar.h macros.
205         (WSAEventWrapper): Use _Jv_Win32NewString.
206         (_Jv_platform_initialize): Use GetModuleFileNameA instead
207         of GetModuleFileName.
208         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
209         Use temporary stack buffer instead of a heap buffer.
210         * include/win32.h
211         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
212         defined; added tchar.h include.
213         (_Jv_Win32TempString): Declared new helper class.
214         (JV_TEMP_STRING_WIN32): New helper macro.
215         (_Jv_Win32NewString): Declared new helper method.
216         * java/io/natFileDescriptorWin32.cc (open): Use
217         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
218         (write): Reformatted slightly.
219         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
220         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
221         (getCanonicalPath): Use _Jv_Win32NewString instead of
222         JvNewStringUTF.
223         (performList): Likewise.
224         * java/lang/natWin32Process.cc (ChildProcessPipe):
225         Use tchar.h macros.
226         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
227         and UNICODE environment flag for CreateProcess.
228         * java/net/natNetworkInterfaceWin32.cc
229         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
230         _Jv_Win32NewString.
231
232 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
233
234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
235         (initState): Mark obj parameter as unused.
236         (stringWidth): Mark obj parameter as unused.  Initialize
237         font_name properly.
238
239         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
240         BufferedImageBuilder class static.
241
242 2003-12-02  Mark Wielaard  <mark@klomp.org>
243
244         * java/security/Security.java: Don't use &nbsp; in the api doc.
245
246 2003-12-02  Dalibor Topic <robilad@kaffe.org>
247
248         Reported by: Jim Pick <jim@kaffe.org>
249         * libraries/javalib/java/util/Hashtable.java
250         (internalcontainsValue): New method.
251         (contains): Delegate to internalContainsValue.
252         
253         Reported by: Mark Wielaard  <mark@klomp.org>
254         * libraries/javalib/java/util/Hashtable.java
255         (contains): Improved comment.
256         
257         Reported by: Jeroen Frijters  <jeroen@frijters.net>
258         * libraries/javalib/java/util/Hashtable.java
259         (containsValue): Delegate to contains(Object) to make sure older
260         code overwriting it continues to work.
261
262 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
263
264         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
265         method. Handle mouse and key events that must generate
266         ActionEvents.
267         * java/awt/List.java (getSelectedIndex): Return -1
268         if no list element is selected.
269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
270         Correct handling of mouse and key events so that List receives them.
271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
272         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
273         multiple list elements. 
274
275 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
276
277         * java/text/SimpleDateFormat.java (compileFormat):
278         isLowerCase() and isUpperCase() allow too many characters.
279         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
280
281 2003-12-02  Dalibor Topic <robilad@kaffe.org>
282
283         * java/text/FieldPosition.java (equals): Fixed comment.
284
285 2003-12-02  Mark Wielaard  <mark@klomp.org>
286
287         Reported by Archie Cobbs:
288         * java/security/DigestInputStream.java (read(byte[], int, int): Call
289         digest.update() with temp, not len as lenght.
290
291 2003-12-02  Michael Koch  <konqueror@gmx.de>
292
293         * java/net/DatagramSocket.java
294         (close): Close associated DatagramChannel object.
295         * java/net/ServerSocket.java
296         * java/net/Socket.java
297         (close): Reset impl and bound before calling getChannel().close() to
298         prevent from loops.
299
300 2003-12-02  Michael Koch  <konqueror@gmx.de>
301
302         * java/nio/channels/spi/AbstractInterruptibleChannel.java
303         (opened): Removed.
304         (closed): New field.
305         (close): Check of channel is closed already.
306         (isOpen): Return !closed.
307
308 2003-12-02  Michael Koch  <konqueror@gmx.de>
309
310         * gnu/java/nio/DatagramChannelImpl.java
311         (blocking): Initialize with true by default.
312         * gnu/java/nio/ServerSocketChannelImpl.java
313         (serverSocket): Made private.
314         (blocking): Likewise.
315         (connected): Likewise.
316         * gnu/java/nio/SocketChannelImpl.java
317         (connectionPending): Made private.
318         * gnu/java/nio/FileLockImpl.java
319         (static): Load native library (needed for classpath).
320         * gnu/java/nio/SelectorImpl.java
321         (static): Load native library (needed for classpath).
322
323 2003-12-02  Michael Koch  <konqueror@gmx.de>
324
325         * gnu/java/net/protocol/file/Connection.java
326         (getLastModified): Implement for file connections.
327         (getContentLength): Likewise.
328
329 2003-12-02  Michael Koch  <konqueror@gmx.de>
330
331         * gnu/java/net/protocol/file/Connection.java:
332         Some reformating.
333         (file): Renamed from fileIn.
334         (getPermission): Moved around.
335
336 2003-12-02  Michael Koch  <konqueror@gmx.de>
337
338         * gnu/java/net/protocol/jar/Connection.java
339         (Connection): Made class final, merged documentation with classpath.
340         (file_cache): Made private.
341         (jar_file): Renamed from jarfile.
342
343 2003-12-02  Michael Koch  <konqueror@gmx.de>
344
345         * gnu/java/net/protocol/http/Connection.java
346         (Connection): Initialize doOutput to false;
347         (connect): Initialize inputStream, moved "send request" code to new
348         method.
349         (sendRequest): New method.
350         (getHttpHeaders): Don't reinitialize inputStream.
351
352 2003-12-02  Michael Koch  <konqueror@gmx.de>
353
354         * gnu/java/net/protocol//http/Connection.java
355         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
356         (requestProperties): Initialize, documentation added.
357         (inputStream): Renamed from bufferedIn.
358         (Connection): Dont initialize requestProperties.
359         (setDefaultRequestProperty): Removed.
360         (getDefaultRequestProperty): Removed.
361         (usingProxy): Documentation added.
362         (getHttpHeaders): Likewise.
363
364 2003-12-02  Michael Koch  <konqueror@gmx.de>
365
366         * java/text/DateFormat.java:
367         Explicitely import used classes.
368
369 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
370
371         * verify.cc (state::clean_subrs): Clear seen_subrs.
372         (state::copy): Walk seen_subrs from copy, not `this'.
373         Don't clear seen_subrs.
374
375 2003-12-01  Kim Ho <kho@redhat.com>
376
377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
378         Disable wrapping if TextArea has horizontal scroll bars.
379
380 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
381
382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
383         (awt_event_handler): Hard-code inset values.
384
385         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
386         Pass font name, not XLFD, to initState.
387         (stringWidth(String, int, String)): New method.
388         (stringWidth(String)): Call new stringWidth.
389         (getLeading): Always return 0.
390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
391         (initState): New Pango implementation.
392         (stringWidth): Likewise.
393
394 2003-12-01  Olga Rodimina <rodimina@redhat.com>
395
396         * java/awt/TextComponent.java:
397         (getSelectionStart): Updated javadocs.
398         (getSelectionEnd): Ditto.
399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
400         (getSelectionStart): Changed to return caret position if no
401         text is selected
402         (getSelectionEnd): Ditto.
403
404 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
405
406         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
407         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
408         gnu/awt/gtk/GtkContainerPeer.java,
409         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
410         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
411         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
412         gnu/awt/gtk/natGtkComponentPeer.cc,
413         gnu/awt/gtk/natGtkContainerPeer.cc,
414         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
415         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
416         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
417
418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
419         (closed): Mark loader parameter as unused.
420
421 2003-12-01  Michael Koch  <konqueror@gmx.de>
422
423         * gnu/java/net/protocol/http/Connection.java
424         (Connection): Merged class documentation.
425         (socket): Renamed from sock.
426         (Connection): Made protected, documentation added.
427         (connect): Give URL'S host instead of InetAddress to Socket
428         constructor.
429         (disconnect): Documentation added.
430         (getOutputStream): Rewrapped.
431
432 2003-12-01  Michael Koch  <konqueror@gmx.de>
433
434         * gnu/java/net/protocol/file/Connection.java
435         (fileIn): Documentation added.
436         (inputStream): Likewise.
437         (outputStream): Likewise.
438         (Connection): Likewise.
439         (connect): Simplified.
440
441 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
442
443         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
444         setProperties): Check that io is not null before calling
445         io.imageUpdate.
446         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
447         Update javadocs.
448         * java/awt/image/PixelGrabber.java: Fix implementation and
449         update javadocs.
450
451 2003-12-01  Michael Koch  <konqueror@gmx.de>
452
453         * gnu/java/net/natPlainSocketImplPosix.cc
454         bind(): Dont set SockedImpl.address field on succesful bind.
455         * gnu/java/net/natPlainSocketImplWin32.cc
456         bind(): Likewise.
457
458 2003-11-30  Jeff Sturm <jsturm@one-point.com>
459
460         * java/net/InetAddress.java:
461         (static): Don'f force DNS request for ANY_IF address.
462
463 2003-11-30  Michael Koch  <konqueror@gmx.de>
464
465         * java/net/InetAddress.java,
466         java/net/natInetAddressNoNet.cc,
467         java/net/natInetAddressPosix.cc,
468         java/net/natInetAddressWin32.cc:
469         Reverted my last patch.
470
471 2003-11-28  Michael Koch  <konqueror@gmx.de>
472
473         * java/net/InetAddress.java
474         (lookup): New method that doesnt lookup "0.0.0.0".
475         (ImplLookup): Renamed from lookup.
476         * java/net/natInetAddressNoNet.cc
477         (ImplLookup): Renamed from lookup.
478         * java/net/natInetAddressPosix.cc
479         (ImplLookup): Renamed from lookup.
480         * java/net/natInetAddressWin32.cc
481         (ImplLookup): Renamed from lookup.
482
483 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
484
485         * configure: Rebuilt.
486         * configure.in: Require gtk and glib 2.2.0.
487
488 2003-11-27  Dalibor Topic <robilad@kaffe.org>
489
490         * java/text/FieldPosition.java (equals): Adapted to handle
491         field_attribute. Added fast-circuit check for comparison to self.
492         Replaced use of instanceof by getClass to fix symmetry for derived
493         types.
494         (toString): Adapted to handle field_attribute. Improved readability.
495         (hashCode): New method.
496
497 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
498
499         * java/text/FieldPosition.java (field_attribute): New field.
500         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
501         getFieldAttribute): New methods.
502
503 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
504
505         * java/text/DecimalFormatSymbols.java (locale): New field.
506         (DecimalFormatSymbols (Locale)): Set locale.
507         (serialVersionOnStream): Upgraded to number 2.
508         (readObject): Assign locale if it wasn't by the serializer.
509
510 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
511
512         * java/text/FormatCharacterIterator.java: Documented the class and
513
514 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
515
516         * java/text/FormatCharacterIterator.java: Fixed some typos.
517
518 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
519
520         * java/text/NumberFormat.java:
521         (getIntegerInstance) Added the java version in the comments.
522
523 2003-11-27  Mark Wielaard  <mark@klomp.org>
524
525         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
526         (readResolve): Reformat.
527
528 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
529
530         * java/text/NumberFormat.java
531         (NumberFormat.Field): New implemented class to match Java 1.4. 
532         (getIntegerInstance): Two new Java 1.4 methods.o
533
534 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
535
536         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
537         the leap day of the leap year twice.
538         (computeFields): First week of month is 1 not 0.
539
540 2003-11-27  Mark Wielaard  <mark@klomp.org>
541
542         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
543         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
544
545 2003-11-27  Michael Koch  <konqueror@gmx.de>
546
547         * javax/swing/UIDefaults.java:
548         Reformated to match classpath's version.
549
550 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
551
552         * javax/swing/UIManager.java (getDefaults, getDimension,
553         getIcon, getInsets, getInstalledLookAndFeels, getInt,
554         getLookAndFeel, getString, getSystemLookAndFeelClassName):
555         Declare as public.
556
557 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
558
559         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
560         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
561         isSignificant): Likewise.
562
563 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
564
565         * javax/swing/undo/CompoundEdit.java: Re-format, document.
566         (inProgress): Set initial value to true.
567         (undo, redo, die, canUndo, canRedo): Also call inherited
568         implementation; simplify code structure.
569         (getPresentationName, getUndoPresentationName,
570         getRedoPresentationName): Make behavior dependent on lastEdit.
571         (addEdit, isSignificant): Completely re-written.
572
573 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
574
575         * javax/swing/undo/StateEdit.java: Re-format, document.
576         (undo, redo): Also call inherited implementation.
577
578 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
579
580         * javax/swing/undo/StateEditable.java: Re-format, document.
581
582 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
583
584         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
585         (AbstractUndoableEdit): Initialize hasBeenDone to true.
586         (canUndo, canRedo): Simplify.
587         (getUndoPresentationName, getRedoPresentationName): Support
588         localized message; call getPresentationName() only once.
589
590 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
591
592         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
593         (ZipFile(File,int)): Likewise.
594
595 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
596
597         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
598         (putAllInternal): Likewise.
599         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
600         (putAllInternal): Likewise.
601
602 2003-11-26  Michael Koch  <konqueror@gmx.de>
603
604         * java/net/URLStreamHandler.java
605         (parseURL): Added comment in catch statement.
606         (canonicalizeFilename): Add documentation.
607         (sameURL): Completed documentation.
608         (equals): Likewise.
609         (hostsEqual): Likewise.
610         (getDefaulPort): Likewise.
611         (hashCode): Likewise.
612         (toExternalForm): Likewise.
613         (getHostName): Fix empty hostname check, completed documentation.
614
615 2003-11-26  Tom Tromey  <tromey@redhat.com>
616
617         * java/lang/natDouble.cc (parseDouble): Reverted patch of
618         2003-11-13.
619
620 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
621             Mark Wielaard  <mark@klomp.org>
622
623         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
624         ('@' should be checked to distinguish port from userinfo).
625         (toExternalForm): Add @ userInfo if necessary.
626
627
628 2003-11-26  Michael Koch  <konqueror@gmx.de>
629
630         * java/net/DatagramSocket.java
631         (DategramSocket, bind): Moved binding code from DatagramSocket
632         constructor to bind method.
633
634 2003-11-26  Michael Koch  <konqueror@gmx.de>
635
636         * java/net/DatagramSocket.java
637         (impl): Made private.
638         (bound): New private member variable.
639         (DatagramSocket): Fixed documentation, use getImpl().
640         (getImpl): New package-private method.
641         (isClosed): Use getImpl().
642         (getLocalAddress): Completed documentation, use getImpl().
643         (getLocalPort): Use getImpl().
644         (getSoTimeout): Likewise.
645         (setSoTimeout): Likewise.
646         (getSendBufferSize): Likewise.
647         (setSendBufferSize): Likewise.
648         (getReceiveBufferSize): Likewise.
649         (setReceiveBufferSize): Likewise.
650         (connect): Likewise.
651         (disconnect): Likewise.
652         (receive): Likewise.
653         (send): Likewise.
654         (setReuseAddress): Likewise.
655         (setTrafficClass): Likewise.
656         (bind): Added message to exception.
657         (isClosed): Completed documentation.
658         (getChannel): Likewise.
659         (connect): Added missing exception, refined exception message.
660         (isBound): Completed documentation, just return bound.
661         (isConnected): Completed documentation.
662         (getRemoteSocketAddress): Likewise.
663         (getReuseAddress): Completed documentation, use getImpl().
664         (setSoBroadcast): Likewise.
665         (getSoBroadcast): Likewise.
666         (getTrafficClass): Likewise.
667         (getLocalSocketAddress): Simplified.
668         * java/net/MulticastSocket.java
669         (MulticastSocket): Removed comment not applying anymore.
670         (getInterface): Use getImpl().
671         (getTTL): Likewise.
672         (getTimeToLive): Likewise.
673         (setInterface): Likewise.
674         (setNetworkInterface): Likewise.
675         (getNetworkInterface): Likewise.
676         (setLoopback): Likewise.
677         (getLoopback): Likewise.
678         (setTTL): Likewise.
679         (setTimeToLive): Likewise.
680         (joinGroup): Likewise.
681         (leaveGroup): Likewise.
682         (send): Likewise.
683
684 2003-11-26  Michael Koch  <konqueror@gmx.de>
685
686         * java/net/Socket.java
687         (implCreated): Dont set default value explicitely, added
688         documentation.
689         (inputShutdown): Likewise.
690         (outputShutdown): Likewise.
691         (bound): New private member variable.
692         (bind): Set bound to true.
693         (close): Set bound to false.
694         (isBound): Return bound.
695         * java/net/ServerSocket.java
696         (bound): New private member variable.
697         (bind): Set bound to true.
698         (close): Set bound to false.
699         (isBound): Return bound.
700
701 2003-11-26  Michael Koch  <konqueror@gmx.de>
702
703         * java/net/URL.java
704         (URL): Fixed documentation to be HTML compliant.
705         (getContent): Completed documentation.
706         (getFile): Likewise.
707         (getPath): Likewise.
708         (getAuthority): Likewise.
709         (getHost): Likewise.
710         (getDefaultPort): Likewise.
711         (getProtocol): Likewise.
712         (hashCode): Likewise.
713         (openConnection): Likewise.
714         (openStream): Likewise.
715         (set): Likewise.
716         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
717
718 2003-11-26  Michael Koch  <konqueror@gmx.de>
719
720         * java/net/InetSocketAddress.java
721         (hostname): Made private, added documentation.
722         (addr): Likewise.
723         (port): Likewise.
724         (equals): Completed documentation.
725         (getAddress): Likewise.
726         (getHostName): Likewise.
727         (getPort): Likewise.
728         (hashCode): Likewise.
729         (isUnresolved): Likewise.
730         (toString): Likewise.
731
732 2003-11-26  Michael Koch  <konqueror@gmx.de>
733
734         * gnu/java/net/protocol/file/Handler.java
735         (Handler): New explicit constructor.
736         (openConnection): Added documentation.
737         * gnu/java/net/protocol/jar/Handler.java
738         (Handler): New explicit constructor.
739         (openConnection): Added documentation.
740
741 2003-11-26  Michael Koch  <konqueror@gmx.de>
742
743         * java/net/DatagramPacket.java
744         (DatagramPacket): Fixed documentation to become legal HTML.
745
746 2003-11-25  Michael Koch  <konqueror@gmx.de>
747
748         * gcj/javaprims.h: Added missing java.util.Currency.
749
750 2003-11-25  Michael Koch  <konqueror@gmx.de>
751
752         * testsuite/libjava.mauve/xfails:
753         Removed these two tests, they mystically pass now:
754         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
755         test_params failed - 5getInetAddress did not return proper values
756         (number 1)
757         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
758         test_BasicServer failed - 11 exception was thrown :Illegal seek
759         (number 1)
760
761 2003-11-25  Michael Koch  <konqueror@gmx.de>
762
763         * java/net/DatagramSocket.java
764         (factory): Made private.
765         (closed): Removed.
766         (DatagramSocket): Check impl argument, use constructor with
767         SocketAddress argument.
768         (close): Set impl to null, use isClosed().
769         (isClosed): Check for impl == null.
770         (getLocalAddress): Use isClosed().
771         (getLocalPort): Check if socket is closed.
772         (getSoTimeout): Likewise.
773         (setSoTimeout): Likewise.
774         (getSendBufferSize): Likewise.
775         (setSendBufferSize): Likewise.
776         (getReceiveBufferSize): Likewise.
777         (setReceiveBufferSize): Likewise.
778         (receive): Likewise.
779         (send): Likewise.
780         (bind): Likewise.
781         (connect): Likewise.
782         (setReuseAddress): Likewise.
783         (getReuseAddress): Likewise.
784         (setBroadcast): Likewise.
785         (getBroadcast): Likewise.
786         (setTrafficClass): Likewise.
787         (getTrafficClass): Likewise.
788         * java/net/MulticastSocket.java
789         (getInterface): Check if socket is closed.
790         (getTTL): Likewise.
791         (getTimeToLive): Likewise.
792         (setInterface): Likewise.
793         (setNetworkInterface): Likewise.
794         (getNetworkInterface): Likewise.
795         (setLoopbackMode): Likewise.
796         (setTTL): Likewise.
797         (setTimeToLive): Likewise.
798         (joinGroup): Likewise.
799         (leaveGroup): Likewise.
800         (send): Likewise.
801         * java/net/ServerSocket.java
802         (closed): Removed.
803         (close): Check if socket is closed, set impl to null.
804         (isClosed): Check impl == null;
805         (ServerSocket): Check impl argument.
806         (getInetAddress): Check if socket is bound.
807         (getLocalPort): Likewise.
808         (getLocalSocketAddress): Likewise.
809         (bind): Check if socket is closed.
810         (implAccept): Likewise.
811         (setSoTimeout): Likewise.
812         (getSoTimeout): Likewise.
813         (setReuseAddress): Likewise.
814         (getReuseAddress): Likewise.
815         (setReceiveBufferSize): Likewise.
816         (getReceiveBufferSize): Likewise.
817         (toString): Make output compliant to JDK 1.4.2.
818         * java/net/Socket.java
819         (closed): Removed.
820         (Socket): Fixed documentation.
821         (connect): Check if socket is closed, changed exception text,
822         fixed documentation.
823         (getInputStream): Check of socket is closed  and connected.
824         (getOutputStream): Likewise.
825         (bind): Check if socket is closed.
826         (setTcpNoDelay): Likewise.
827         (getTcpNoDelay): Likewise.
828         (setSoLinger): Likewise.
829         (getSoLinger): Likewise.
830         (sendUrgentData): Likewise.
831         (setOOBInline): Likewise.
832         (getOOBInline): Likewise.
833         (setSoTimeout): Likewise.
834         (getSoTimeout): Likewise.
835         (setSendBufferSize): Likewise.
836         (getSendBufferSize): Likewise.
837         (setReceiveBufferSize): Likewise.
838         (getReceiveBufferSize): Likewise.
839         (setKeepAlive): Likewise.
840         (getKeepAlive): Likewise.
841         (close): Likewise.
842         (shutdownInput): Likewise.
843         (shutdownOutput): Likewise.
844         (getReuseAddress): Likewise.
845         (getTrafficClass): Likewise.
846         (setTrafficClass): Likewise.
847         (isClosed): Check impl == null.
848         (toString): Added missing ']'.
849
850 2003-11-24  Tom Tromey  <tromey@redhat.com>
851
852         * Makefile.in: Rebuilt.
853         * Makefile.am (propdir): New macro.
854         (install-data-local): Install logging.properties.
855         (core_java_source_files): Added java.util.logging.*.
856         * java/util/logging/logging.properties: New file.
857
858 2003-11-25  Michael Koch  <konqueror@gmx.de>
859
860         * java/net/DatagramSocket.java
861         (DatagramSocket): Move binding code to bind(), simplify constructors.
862         * java/net/MulticastSocket.java
863         (MulticastSocket): Call parent constructor with null argument,
864         bind socket after setReuseAddress is called, simplify constructors.
865
866 2003-11-24  Michael Koch  <konqueror@gmx.de>
867
868         * javax/swing/BoxLayout.java
869         (serialVersionUIR): New member variable.
870         (X_AXIS, Y_AXIS): Documentation added.
871         (LINE_AXIS, PAGE_AXIS): New constants.
872         (grid): Renamed from gridbag.
873         (BoxLayout): Use new constants, throw exception if invalid value for
874         way, added documentation.
875         (BoxLayout): Removed.
876         (addLayoutComponent): Use new constants, added documentation.
877         (removeLayoutComponent): Likewise.
878         (addLayoutContainer): Added documentation.
879         (preferredLayoutSize): Added documentation, check given argument.
880         (minimumLayoutSize): Likewise.
881         (layoutContainer): Likewise.
882         (getLayoutAlignmentX): Likewise.
883         (getLayoutAlignmentY): Likewise.
884         (invalidateLayout): Likewise.
885         (maximumLayoutSize): Likewise.
886
887 2003-11-22  Michael Koch  <konqueror@gmx.de>
888
889         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
890         (peekData): Use offset and maximal free space in datagram packet.
891         (receive): Likewise.
892         (send): Use offset in datagram packet.
893
894 2003-11-22  Michael Koch  <konqueror@gmx.de>
895
896         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
897         (peekData): Use offset and maximal free space in datagram packet.
898         (receive): Likewise.
899         (send): Use offset in datagram packet.
900
901 2003-11-22  Michael Koch  <konqueror@gmx.de>
902
903         * gnu/java/nio/DatagramChannelImpl.java
904         (getNativeFD): Use getPlainDatagramSocketImpl().
905         * gnu/java/nio/NIODatagramSocket.java
906         (getPlainDatagramSocketImpl): Renamed from getImpl().
907         * gnu/java/nio/NIOSocket.java
908         (getPlainSocketImpl): Renamed from getImpl().
909         (setChannel): Use getPlainSocketImpl().
910         * gnu/java/nio/SocketChannelImpl.java
911         (SocketChannelImpl): Use getPlainSocketImpl().
912         (getPlainSocketImpl): Renamed from getImpl().
913         (getNativeFD): Use getPlainSocketImpl().
914
915 2003-11-18  Graydon Hoare  <graydon@redhat.com>
916
917         * javax/swing/JLayeredPane.java: Implement.
918         * javax/swing/JFrame.java (getContentPane): Make public
919         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
920         Use JLayeredPane.FRAME_CONTENT_LAYER.
921
922 2003-11-21  Mark Wielaard  <mark@klomp.org>
923
924         * java/lang/Float.java (static): Removed.
925
926 2003-11-18  Graydon Hoare  <graydon@redhat.com>
927
928         * java/awt/font/TextLayout.java: Implement simple layouts
929         using attributed strings and glyph vectors.
930
931 2003-11-17  Graydon Hoare  <graydon@redhat.com>
932
933         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
934         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
935         (GdkFontLineMetrics): New inner class.
936         (getLineMetrics): Return new GdkFontLineMetrics.
937         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
938         (layoutGlyphVector): Create GdkGlyphVector.
939         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
940         (GdkGraphics2D): Initialize state via mathod calls.
941         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
942         (cairoTranslate, cairoScale, cairoRotate): Remove.
943         (various methods): use setTransform for special transform cases.
944         (DrawState): New inner class.
945         (stateSave): New method.
946         (stateRestore): New method.
947         (various methods): use stateSave, stateRestore.
948         (getClipInDevSpace): New method.
949         (clip, clipRect, setClip, getClip, getClipBounds): 
950         Follow spec more closely.
951         (getTransform): Return clone of transform.
952         (setStroke): Set linewidth to passed width / 2.0.
953         (setPaintMode): Set SrcOver rather than Xor.
954         (setColor): Set paint to passed color.
955         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
956         transform from image to user space.
957         (drawRenderedImage, drawRenderableImage): Implement.
958         (getFontRenderContext, getFontMetrics, drawString, getFont): 
959         Implement
960         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
961         Implement.
962         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
963         Match changes to java side.
964         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
965         Release resources.
966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
967         Don't use pango for metrics.
968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
969         New file.
970
971 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
972             Jim Pick  <jim@kaffe.org>
973
974         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
975         methods.
976
977 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
978
979         * java/text/DecimalFormatSymbols.java (getCurrency,
980         setCurrency): New methods.
981
982 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
983
984         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
985         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
986         Describe how the implementation works.
987
988 2003-11-19  Michael Koch  <konqueror@gmx.de>
989
990         * java/net/Socket.java
991         (implCreated): New variable that indicates created impl.
992         (getImpl): New method.
993         (toString): Return more SUN compliant string representation.
994         (various): Use getImpl() instead of impl.
995
996 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
997
998         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
999         the right libgcc. Add -multiply_defined suppress and -bind_at_load
1000         flags.
1001
1002 2003-11-18  Tom Tromey  <tromey@redhat.com>
1003
1004         PR libgcj/13026:
1005         * verify.cc (state::copy): Only set local_changed if we're in a
1006         subroutine.  Correctly copy local variables which were modified
1007         by the subroutine.
1008         (push_jump_merge): Added more debugging output.
1009
1010         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1011         is null.
1012
1013 2003-11-17  Graydon Hoare  <graydon@redhat.com>
1014
1015         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1016         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1017
1018 2003-11-16  Tom Tromey  <tromey@redhat.com>
1019
1020         PR libgcj/13062:
1021         * java/io/StreamTokenizer.java (commentChar): Clear other
1022         attributes for character.
1023         (quoteChar): Likewise.
1024
1025 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1026
1027         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1028         zero-length int arrays when layoutInfo is null.
1029         (getLayoutWeights): Return array of two zero-length double arrays when
1030         layoutInfo is null.
1031
1032 2003-11-13  Tom Tromey  <tromey@redhat.com>
1033
1034         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1035         JvGetStringUTFRegion.
1036         * java/lang/natPosixProcess.cc (new_string): Pass length of string
1037         to JvGetStringUTFRegion.
1038         * java/lang/natDouble.cc (parseDouble): Pass length of string to
1039         JvGetStringUTFRegion.
1040         * java/lang/natWin32Process.cc (startProcess): Pass length of
1041         string to JvGetStringUTFRegion.
1042         * java/lang/natClass.cc (forName): Pass length of string to
1043         JvGetStringUTFRegion.
1044         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1045         of string to JvGetStringUTFRegion.
1046         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1047         JvGetStringUTFRegion.
1048         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1049         to JvGetStringUTFRegion.
1050         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1051         string to JvGetStringUTFRegion.
1052
1053 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
1054
1055         * gnu/java/nio/natSelectorImplPosix.cc
1056         (helper_put_filedescriptors): Change to static linkage.
1057         (helper_get_filedescriptors): Likewise.
1058
1059 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1060
1061         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1062         null check.
1063         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1064         * java/awt/Component.java (prepareImage): Likewise.
1065
1066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1067         Rename to nativeSetAlignment.
1068
1069 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
1070
1071         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1072         (JNI_GetCreatedJavaVMs): Likewise.
1073         (JNI_GetDefaultJavaVMInitArgs): Likewise.
1074         * include/jni.h (JNIIMPEXP): Remove definition
1075         and replace with...
1076         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1077         symbols,
1078         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1079
1080 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1081
1082         * Makefile.am: Add GdkPixbufDecoder.java and
1083         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1084         * Makefile.in: Regenerate.
1085         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1086         New constructor.
1087         (startProduction): Create ByteArrayInputStream when url and filename are
1088         null.
1089         (produce): Declare stream parameter as InputStream.
1090         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1091         as InputStream.
1092         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1093         (GdkPixbufDecoder(byte[],int,int)): New constructor.
1094         (produce): Declare stream parameter as InputStream.
1095         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1096         if image is null.  Set image's observer before running PrepareImage
1097         thread.  Pass image to startProduction.
1098         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1099         source's member functions.
1100         (observer): New field.
1101         (setObserver): New method.
1102         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1103         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1104         new GtkImage.
1105         (prepareImage): Implement.
1106         * java/awt/Component.java: Add static fields incrementalDraw and
1107         redrawRate.
1108         (imageUpdate): Implement.
1109         (createImage): Call Toolkit's createImage if peer is null.
1110         (prepareImage): Throw NPE if image is null.
1111         * java/awt/MediaTracker.java: Fix return value.
1112
1113 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1114
1115         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1116         (create(String, float)): New method.
1117         (setText): Make native.
1118         (nativeSetAlignment): New method.
1119         (setAlignment): Call nativeSetAlignment.
1120         (getArgs): Remove method.
1121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1122         (find_fg_color_widget, find_bg_color_widget): New functions.
1123         (gtkWidgetSetForeground): Call find_fg_color_widget.
1124         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
1125         prelight colors.
1126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1127         widget in event box.
1128         (setText, setAlignment): Implement new native methods.
1129
1130 2003-11-11  Michael Koch  <konqueror@gmx.de>
1131
1132         * java/awt/Font.java,
1133         java/awt/datatransfer/DataFlavor.java,
1134         java/math/BigInteger.java,
1135         java/net/Inet4Address.java,
1136         java/net/Inet6Address.java,
1137         java/rmi/MarshalledObject.java,
1138         java/rmi/server/RMIClassLoader.java,
1139         java/security/cert/CertStore.java,
1140         java/sql/Timestamp.java,
1141         java/text/SimpleDateFormat.java,
1142         javax/naming/CompoundName.java:
1143         Removed some redundant obj == null checks.
1144
1145 2003-11-11  Michael Koch  <konqueror@gmx.de>
1146
1147         * java/nio/ByteBuffer.java
1148         (equals): Remove redundant obj == null check.
1149
1150 2003-11-11  Michael Koch  <konqueror@gmx.de>
1151
1152         * gnu/java/nio/natPipeImpl.cc,
1153         gnu/java/nio/natSelectorImpl.cc: Removed
1154         * gnu/java/nio/natPipeImplEcos.cc,
1155         gnu/java/nio/natPipeImplPosix.cc,
1156         gnu/java/nio/natPipeImplWin32.cc,
1157         gnu/java/nio/natSelectorImplEcos.cc,
1158         gnu/java/nio/natSelectorImplPosix.cc,
1159         gnu/java/nio/natSelectorImplWin32.cc: New files
1160         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1161         gnu/java/nio/natSelectorImpl.cc
1162         * configure: Regenerated.
1163
1164 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1165
1166         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1167         if host is printed too and port was really given to URL.
1168
1169 2003-11-10  Gary Benson  <gbenson@redhat.com>
1170
1171         * java/sql/Timestamp.java (valueOf): Correctly handle
1172         nanoseconds.
1173
1174 2003-11-09  Tom Tromey  <tromey@redhat.com>
1175
1176         * java/net/Inet4Address.java (serialVersionUID): Updated.
1177
1178 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1179
1180         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1181         New fields.
1182
1183 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1184
1185         * java/io/ByteArrayOutputStream.java (resize):
1186         Fix off-by-one error.
1187
1188 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1189
1190         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1191         public.
1192
1193 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1194
1195         PR libgcj/12231
1196         * java/lang/Win32Process.java (hasExited) Changed from
1197         public to private.
1198         (startProcess): Likewise.
1199         (cleanup): Likewise.
1200         * java/lang/natWin32Process.cc (cleanup) Don't close
1201         input, output and error streams.
1202         (ChildProcessPipe): New helper class.
1203         (startProcess): Refactored to use ChildProcessPipe.
1204         Use CREATE_NO_WINDOW when launching child process.
1205
1206 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1207
1208         * include/win32.h (_Jv_platform_close_on_exec): Changed
1209         signature and declared extern.
1210         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1211         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1212         (create): Use new signature of _Jv_platform_close_on_exec.
1213         * gnu/java/net/natPlainSocketImplWin32.cc 
1214         (create): Eliminated a few typecasts
1215         Use new signature of _Jv_platform_close_on_exec.
1216         (accept): Eliminated a few typecasts
1217         Use new signature of _Jv_platform_close_on_exec.
1218         * java/io/natFileDescriptorWin32.cc (open): Use
1219         _Jv_platform_close_on_exec.
1220
1221 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1222
1223         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1224         if class has no null-argument constructor.
1225
1226 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1227
1228         PR libgcj/12647:
1229         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1230         refcount when releasing and reacquiring it.
1231
1232 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1233
1234         * win32.cc: (dirExists) Internal helper function to
1235         test for directory existence.
1236         (getUserHome) New helper function refactored out
1237         of _Jv_platform_initProperties. Uses USERPROFILE
1238         instead of HOMEDIR and attempts to support Win9X and NT.
1239         (_Jv_platform_initProperties) Use getUserHome.
1240
1241 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1242
1243         PR libgcj/11521:
1244         * gnu/java/net/natPlainSocketImplWin32.cc
1245         (bind): Don't use SO_REUSEADDR
1246
1247 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1248
1249         PR libgcj/6652:
1250         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1251
1252 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1253
1254         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1255         dispatch for final methods.
1256
1257 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1258
1259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1260         word wrapping.
1261
1262 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1263
1264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1265         scrolled window's size request.
1266
1267 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1268
1269         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1270         * java/awt/geom/QuadCurve2D.java: Likewise.
1271
1272 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1273
1274         * java/awt/geom/CubicCurve2D.java: Added documentation.
1275         * java/awt/geom/QuadCurve2D.java: Likewise.
1276
1277         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1278         java/awt/geom/doc-files/QuadCurve2D-5.png,
1279         java/awt/geom/doc-files/CubicCurve2D-4.png,
1280         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1281
1282 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1283
1284         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1285         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1286         (subdivide(double[],int,double[],int,double[],int)): Implement.
1287
1288 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1289
1290         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1291         java/awt/geom/doc-files/CubicCurve2D-2.png,
1292         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1293
1294 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1295
1296         * java/text/DecimalFormat.java
1297         (scanFormat) corrected so that '%' may appear in a pattern.
1298
1299 2003-10-29  Mark Wielaard  <mark@klomp.org>
1300
1301         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1302         * java/text/DateFormat.java (Field): New public static inner class.
1303         * java/text/Format.java (Field): Likewise.
1304         (formatToCharacterIterator): New method.
1305         * java/text/FormatCharacterIterator.java: New file.
1306
1307 2003-10-29  Mark Wielaard  <mark@klomp.org>
1308
1309         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1310         * java/util/Currency.java: New file.
1311
1312 2003-10-29  Michael Koch  <konqueror@gmx.de>
1313
1314         * Makefile.am (ordinary_java_source_files): Added
1315         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1316         * Makefile.in: Regenerated.
1317
1318 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1319
1320         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1321         static methods.
1322
1323 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1324
1325         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1326         getObjectInstance() with Object, Name, Context and environment
1327         Hashtable from exception. Call fillInStackTrace() on exception when
1328         rethrown.
1329         * javax/naming/InitialContext.java (lookup(Name)): When a
1330         CannotProceedException is thrown use the ContinuationContext.
1331         (lookup(String)): Likewise.
1332         (close): Clear myProps and defaultInitCtx.
1333
1334 2003-10-29  Michael Koch  <konqueror@gmx.de>
1335
1336         * java/net/InetAddress.java
1337         (equals): Remove redundant obj == null check.
1338         * java/net/SocketPermission.java
1339         (equals): Likewise.
1340         * java/net/URL.java
1341         (equals): Likewise.
1342         (getURLStreamHandler): Likewise.
1343
1344 2003-10-29  Michael Koch  <konqueror@gmx.de>
1345
1346         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1347         (setOption): Directly return if no error occured.
1348         * gnu/java/net/natPlainSocketImplPosix.cc
1349         (setOption): Likewise.
1350
1351 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1352
1353         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1354         vtable slot for final methods. Add FIXME comment.
1355
1356 2003-10-28  David S. Miller  <davem@redhat.com>
1357
1358         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1359
1360 2003-10-26  Mark Wielaard  <mark@klomp.org>
1361
1362         Reported by Helmer Kraemer <hkraemer@freenet.de>
1363         * java/util/jar/JarInputStream.java (readManifest): Don't call
1364         closeEntry().
1365
1366         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1367         (finish): Use inbufWrite().
1368         (write(int)): Likewise.
1369         (write(byte[],int,int)): Likewise.
1370
1371 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1372
1373         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1374         Don't check for AccessibleObject. Update javadocs.
1375         
1376         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1377
1378 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1379
1380         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1381         whitespace on constructor with no modifiers.
1382         * java/lang/reflect/natConstructor.java (newInstance): Look up
1383         caller and perform accessibility check only if constructor is
1384         non-public and accessible flag is not set.
1385
1386 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1387
1388         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1389         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1390         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1391         is_virtual_call argument.
1392         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1393         natClass.cc.
1394         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1395         _Jv_isVirtualMethod.
1396         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1397         _Jv_LookupDeclaredMethod.
1398         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1399         look up method in target object's vtable.
1400
1401 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1402
1403         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1404         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1405         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1406         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1407         New concrete implementation of ClasspathFontPeer, with native part.
1408         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1409         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1410         New class, with native part.
1411         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1412         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1413         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1414
1415 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1416
1417         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1418         on method with no modifiers.
1419
1420 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1421
1422         PR libgcj/11780:
1423         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1424         accessibility check only if target is non-public and accessible flag
1425         is not set.
1426         * java/lang/reflect/natField.cc (getAddr): Likewise.
1427
1428 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1429
1430         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1431         Remove method.
1432         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1433         New method.
1434         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1435         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1436         (dispose): Post WINDOW_CLOSED event.
1437         (addWindowFocusListener, addWindowStateListener): Assign result
1438         of multicaster add back to window listener.
1439         (removeWindowFocusListener, removeWindowStateListener): Assign
1440         result of multicaster remove back to window listener.
1441         (dispatchEventImpl): Add null checks for focus and state
1442         listeners.
1443         (processWindowEvent): Handle case where windowListener is null
1444         but state or focus listeners exist.
1445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1446         glue for postWindowEvent.
1447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1448         (window_delete_cb, window_destroy_cb, window_show_cb,
1449         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1450         window_get_new_state): New functions.
1451         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1452         macros.  Declare postWindowEventID.
1453
1454 2003-10-24  Anthony Green  <green@redhat.com>
1455
1456         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1457         we have no interpreter.
1458
1459 2003-10-22  Andrew Haley  <aph@redhat.com>
1460
1461         * java/lang/natClass.cc (initializeClass): Call
1462         _Jv_linkExceptionClassTable.
1463         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1464         _Jv_Defer_Resolution on a method whose ncode is NULL.
1465         (_Jv_linkExceptionClassTable): New function.
1466         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1467         entry, look it up.
1468         * java/lang/Class.h (struct _Jv_CatchClass): New.
1469         (_Jv_linkExceptionClassTable): New friend.
1470         (_Jv_Defer_Resolution): New friend.
1471         (class Class.catch_classes): New field.
1472         * include/java-interp.h (Jv_Defer_Resolution): New method.
1473         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1474         (_Jv_MethodBase.deferred): New field.
1475         (_Jv_Defer_Resolution): New function.
1476         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1477         * exception.cc (get_ttype_entry): Change return type to void**.
1478         (PERSONALITY_FUNCTION): Remove all code related to using a
1479         Utf8Const* for a match type.  Change match type to be a pointer to
1480         a pointer, rather than a pointer to a Class.
1481         * defineclass.cc (handleCodeAttribute): Initialize
1482         method->deferred.
1483         (handleMethodsEnd): Likewise.
1484
1485 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1486
1487         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1488         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1489
1490 2003-10-22  Tom Tromey  <tromey@redhat.com>
1491
1492         PR libgcj/12416:
1493         * java/lang/Class.h: Updated.
1494         * java/lang/natClass.cc (_getFields): Removed.
1495         (getFields): Likewise.
1496         (getDeclaredFields): Added `public_only' parameter.
1497         * java/lang/Class.java (getFields): Now implemented in java; from
1498         Classpath.
1499         (getDeclaredFields): Likewise.
1500         (getDeclaredFields(boolean)): Declare.
1501         (_getFields): Removed.
1502         (internalGetFields): New method, from Classpath.
1503
1504         PR libgcj/12656:
1505         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1506         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1507
1508 2003-10-22  David Daney  <ddaney@avtrex.com)
1509
1510         * include/mips-signal.h: New file.
1511         * sysdep/dwarf2-backtrace.cc: New file.
1512         * sysdep/mips: New directory.
1513         * sysdep/mips/locks.h: New file.
1514         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1515         added to libgcj.
1516         (extra_cc_source_files): Ditto.
1517         * configure.host(disable_dladdr):  New shell variable passed to
1518         configure.
1519         (mips*-*-linux*): sysdeps_dir=mips,
1520         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1521         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1522         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1523         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1524         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1525         (EXTRA_CC_FILES): New, to support conditional addition of
1526         sysdep/dwarf2-backtrace.cc.
1527         * configure: Regenerated.
1528         * Makefile.in: Regenerated.
1529         * gcj/Makefile.in: Regenerated.
1530         * include/config.h.in: Regenerated.
1531         * include/Makefile.in: Regenerated.
1532         * testsuite/Makefile.in: Regenerated.
1533         
1534 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1535
1536         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1537         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1538
1539 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1540
1541         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1542         * java/awt/geom/doc-files: New directory.
1543         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1544         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1545         
1546 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1547
1548         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1549
1550 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1551
1552         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1553
1554 2003-10-22  Michael Koch  <konqueror@gmx.de>
1555
1556         * java/io/File.java
1557         (equals): Removed redundant obj == null check.
1558         (createTempFile): Merged comments from classpath.
1559
1560 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1561
1562         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1563         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1564         (error): Synchronize on instance, not class.
1565
1566 2003-10-21  Mark Wielaard  <mark@klomp.org>
1567
1568         Reported by M.Negovanovic
1569         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1570         method.
1571         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1572
1573 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1574
1575         Fix for Classpath bug #6076.
1576         * java/awt/geom/GeneralPath.java (append): Re-written.
1577
1578 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1579
1580         Fix for Classpath bug #6089.
1581         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1582         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1583
1584 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1585
1586         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1587         point, not start of subpath.  Fixes Classpath bug #6075.
1588
1589 2003-10-21  Michael Koch  <konqueror@gmx.de>
1590
1591         * java/nio/ByteOrder.java,
1592         java/nio/DirectByteBufferImpl.java,
1593         java/nio/channels/FileChannelImpl.java:
1594         Add code to load library with code for native methods if needed.
1595
1596 2003-10-21  Michael Koch  <konqueror@gmx.de>
1597
1598         * gnu/java/net/PlainDatagramSocketImpl.java,
1599         gnu/java/net/PlainSocketImpl.java,
1600         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1601         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1602         gnu/java/net/natPlainSocketImplPosix.cc,
1603         gnu/java/net/natPlainSocketImplWin32.cc:
1604         Renamed fnum to native_fd to match classpath more.
1605
1606 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1607
1608         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1609         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1610         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1611         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1612         _Jv_PthreadCheckMonitor.  Simplify code.
1613         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1614         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1615         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1616         * java/lang/Thread.java (holdsLock): New.
1617         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1618         without JV_HASH_SYNCHRONIZATION.
1619         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1620
1621 2003-10-20  Michael Koch  <konqueror@gmx.de>
1622
1623         * java/text/RuleBasedCollator.java
1624         (RuleBasedCollator): Check rules not empty, fixed search in already
1625         existing collation elements.
1626         (is_special): Removed common whitespace characters.
1627         (text_argument): Dont return on whitespaces, add characters between
1628         two ' to string buffer.
1629
1630 2003-10-18  Michael Koch  <konqueror@gmx.de>
1631
1632         * gnu/java/net/protocol/file/Connection.java,
1633         gnu/java/net/protocol/file/Handler.java,
1634         gnu/java/net/protocol/http/Connection.java,
1635         gnu/java/net/protocol/http/Handler.java,
1636         gnu/java/net/protocol/jar/Connection.java,
1637         gnu/java/net/protocol/jar/Handler.java:
1638         Merged copyright text from classpath to make
1639         it possible to merge the classes.
1640
1641 2003-10-18  Mark Wielaard  <mark@klomp.org>
1642
1643         Reported by M.Negovanovic
1644         * java/beans/IndexedPropertyDescriptor.java
1645         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1646
1647 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1648
1649         * win32.cc (_Jv_pipe): Implemented.
1650         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1651         _Jv_pipe instead of ::pipe.
1652         * include/posix.h (_Jv_pipe): New inline.
1653         * include/win32.h (_Jv_pipe): New declaration.
1654         
1655 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1656
1657         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1658         (append, substring, insert): Likewise.
1659         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1660         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1661         
1662 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1663
1664         * java/lang/natString.cc (getChars):
1665         Fix validation of array indexes.
1666         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1667         * testsuite/libjava.lang/String_overflow.java: New file.
1668         * testsuite/libjava.lang/String_overflow.out: New file.
1669
1670 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1671
1672         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1673         overflow a jint.
1674         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1675         check for overflowing size_t, since the lower level functions
1676         take a jint.
1677         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1678         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1679         
1680 2003-10-15  Michael Koch  <konqueror@gmx.de>
1681
1682         * java/text/RuleBasedCollator.java
1683         (RuleBasedCollator): Moved around, documentation added.
1684         (compare): Documentation added.
1685         (equals): Likewise.
1686         (getCollationElementIterator): Likewise.
1687         (getCollationKey): Likewise.
1688         (getRules): Likewise.
1689         (hashCode): Likewise.
1690
1691 2003-10-15  Michael Koch  <konqueror@gmx.de>
1692
1693         * java/text/RuleBasedCollator.java
1694         (CollationElement): Renamed from RBCElement and moved into
1695         RuledBasedCollator as inner class.
1696
1697 2003-10-15  Michael Koch  <konqueror@gmx.de>
1698
1699         * java/text/CollationElementIterator.java
1700         (CollationElementIterator): Moved, documenatation added, call setText.
1701         (next): Reformated.
1702         (reset): Reformated.
1703         (setText): New method.
1704         (getOffset): New method.
1705         * java/text/CollationKey.java
1706         (getSourceString): Reformated.
1707         (hashCode): Reformated.
1708         (toByteArray): Reformated.
1709
1710 2003-10-15  Michael Koch  <konqueror@gmx.de>
1711
1712         * java/util/zip/InflaterInputStream.java
1713         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1714         added description to exception, check for inf == null and size < 0.
1715
1716 2003-10-15  Michael Koch  <konqueror@gmx.de>
1717
1718         * java/text/AttributedCharacterIterator.java,
1719         java/text/CharacterIterator.java: Reformated.
1720
1721 2003-10-15  Michael Koch  <konqueror@gmx.de>
1722
1723         * javax/swing/UIDefaults.java (putDefaults):
1724         Readded accidently removed "public" modifier.
1725
1726 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1727
1728         * interpret.cc (_Jv_InterpMethod::run): Don't
1729         use libffi types, they were meant to be internal.
1730         * gcj/javaprims.h (_Jv_ulong): New typedef.
1731
1732 2003-10-13  Tom Tromey  <tromey@redhat.com>
1733
1734         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1735         (defineClass): Updated.
1736         (_Jv_NewClass): Likewise.
1737         * prims.cc (_Jv_InitPrimClass): Don't call
1738         _Jv_InitNewClassFields.
1739
1740 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1741
1742         PR libgcj/12592
1743         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1744         not just \n.
1745
1746 2003-10-13  Michael Koch  <konqueror@gmx.de>
1747
1748         * java/io/File.java: Reformated.
1749         (equals): Check for obj == null.
1750
1751 2003-10-13  Michael Koch  <konqueror@gmx.de>
1752
1753         * java/net/JarURLConnection.java
1754         (jarFileURL): Added dcoumentation.
1755         (jarFileURLConnection): Reformated documentation.
1756         (entryName): Renamed from "element", documentation rewritten.
1757         (connectionCache): Renamed from "conn_cache", documentation
1758         reformated.
1759         (JarURLConnection): Check URL protocol.
1760         (getEntryName): Use entryName.
1761         (connect): Use connectionCache.
1762         (getInputStream): Use entryName, fixed comment.
1763         (getJarEntry): Use entryName.
1764         (getHeaders): Use entryName.
1765         * java/net/URLConnection.java
1766         (addRequestProperty): Fixed documentation.
1767         (setDefaultRequestProptery): Added comment that it does nothing since
1768         JDK 1.3.
1769         (getDefaultRequestProperty): Likewise.
1770
1771 2003-10-13  Michael Koch  <konqueror@gmx.de>
1772
1773         * java/net/java/net/URLStreamHandlerFactory.java
1774         (createURLStreamHandler): Removed redundant "public" modifier.
1775         * java/sql/DatabaseMetaData.java:
1776         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1777         * java/sql/ParameterMetaData.java:
1778         (ParameterMetaData): Readded accidently removed "public" modifier.
1779         * java/sql/PreparedStatement.java:
1780         (PreparedStatement): Readded accidently removed "public" modifier.
1781         * java/sql/Ref.java:
1782         (Ref): Readded accidently removed "public" modifier.
1783
1784 2003-10-13  Michael Koch  <konqueror@gmx.de>
1785
1786         * java/nio/Buffer.java
1787         (hasRemaining): Made implementation more clear.
1788         * java/nio/MappedByteBuffer.java
1789         (loaded): New member variable.
1790         (force): Added comment.
1791         (isLoaded): Return value of loaded.
1792         (load): Set loaded to true, added comment.
1793
1794 2003-10-12  Michael Koch  <konqueror@gmx.de>
1795
1796         * gnu/java/nio/PipeImpl.java
1797         (SourceChannelImpl): New inner class.
1798         (SinkChannelImpl): New inner class.
1799         (sink): New member variable.
1800         (source): New member variable.
1801         (PipeImpl): Add SelectorProvider argument, implemented.
1802         (nativeInit): New method.
1803         (sink): Return sink channel.
1804         (source): Return source channel.
1805         * gnu/java/nio/SelectorProviderImpl.java
1806         (openPipe): Give provider as argument to PipeImpl constructor.
1807         * java/nio/channels/spi/SelectorProvider.java
1808         (pr): Removed.
1809         (systemDefaultProvider): New member variable.
1810         (provider): Made it synchronized, use property
1811         java.nio.channels.spi.SelectorProvider.
1812         * gnu/java/nio/natPipeImpl.cc: New file.
1813         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1814         * Makefile.in: Regenerated.
1815
1816 2003-10-12  Michael Koch  <konqueror@gmx.de>
1817
1818         * javax/swing/table/DefaultTableModel.java,
1819         javax/swing/table/TableCellEditor.java,
1820         javax/swing/table/TableCellRenderer.java,
1821         javax/swing/table/TableColumnModel.java,
1822         javax/swing/table/TableModel.java,
1823         javax/swing/text/AbstractDocument.java,
1824         javax/swing/text/Document.java,
1825         javax/swing/text/MutableAttributeSet.java,
1826         javax/swing/text/StyledDocument.java,
1827         javax/swing/text/ViewFactory.java,
1828         javax/swing/tree/DefaultMutableTreeNode.java,
1829         javax/swing/tree/MutableTreeNode.java,
1830         javax/swing/tree/RowMapper.java,
1831         javax/swing/tree/TreeCellEditor.java,
1832         javax/swing/tree/TreeCellRenderer.java,
1833         javax/swing/tree/TreeModel.java,
1834         javax/swing/tree/TreeNode.java,
1835         javax/swing/tree/TreeSelectionModel.java,
1836         javax/swing/undo/StateEditable.java,
1837         javax/swing/undo/UndoableEdit.java:
1838         Removed redundant modifiers.
1839
1840 2003-10-12  Michael Koch  <konqueror@gmx.de>
1841
1842         * javax/swing/event/AncestorListener.java,
1843         javax/swing/event/CaretListener.java,
1844         javax/swing/event/CellEditorListener.java,
1845         javax/swing/event/ChangeListener.java,
1846         javax/swing/event/DocumentEvent.java,
1847         javax/swing/event/DocumentListener.java,
1848         javax/swing/event/HyperlinkListener.java,
1849         javax/swing/event/InternalFrameListener.java,
1850         javax/swing/event/ListDataListener.java,
1851         javax/swing/event/ListSelectionListener.java,
1852         javax/swing/event/MenuDragMouseListener.java,
1853         javax/swing/event/MenuKeyListener.java,
1854         javax/swing/event/MenuListener.java,
1855         javax/swing/event/MouseInputListener.java,
1856         javax/swing/event/PopupMenuListener.java,
1857         javax/swing/event/TableColumnModelListener.java,
1858         javax/swing/event/TableModelListener.java,
1859         javax/swing/event/TreeExpansionListener.java,
1860         javax/swing/event/TreeModelListener.java,
1861         javax/swing/event/TreeSelectionListener.java,
1862         javax/swing/event/TreeWillExpandListener.java,
1863         javax/swing/event/UndoableEditListener.java,
1864         javax/swing/plaf/UIResource.java,
1865         javax/swing/plaf/metal/MetalLookAndFeel.java:
1866         Removed redundant modifiers.
1867
1868 2003-10-12  Michael Koch  <konqueror@gmx.de>
1869
1870         * javax/swing/Action.java,
1871         javax/swing/BoundedRangeModel.java,
1872         javax/swing/CellEditor.java,
1873         javax/swing/ComboBoxEditor.java,
1874         javax/swing/ComboBoxModel.java,
1875         javax/swing/DesktopManager.java,
1876         javax/swing/JComboBox.java,
1877         javax/swing/ListCellRenderer.java,
1878         javax/swing/ListSelectionModel.java,
1879         javax/swing/MenuElement.java,
1880         javax/swing/MutableComboBoxModel.java,
1881         javax/swing/Renderer.java,
1882         javax/swing/RootPaneContainer.java,
1883         javax/swing/ScrollPaneConstants.java,
1884         javax/swing/SingleSelectionModel.java,
1885         javax/swing/SpinnerModel.java,
1886         javax/swing/SwingConstants.java,
1887         javax/swing/UIDefaults.java,
1888         javax/swing/WindowConstants.java,
1889         javax/swing/border/Border.java,
1890         javax/swing/colorchooser/ColorSelectionModel.java:
1891         Removed redundant modifiers.
1892
1893 2003-10-11  Michael Koch  <konqueror@gmx.de>
1894
1895         * javax/transaction/Status.java,
1896         javax/transaction/Synchronization.java,
1897         javax/transaction/Transaction.java,
1898         javax/transaction/TransactionManager.java,
1899         javax/transaction/UserTransaction.java,
1900         javax/transaction/xa/XAResource.java,
1901         javax/transaction/xa/Xid.java:
1902         Removing redundant modifiers.
1903
1904 2003-10-11  Michael Koch  <konqueror@gmx.de>
1905
1906         * javax/print/attribute/Attribute.java,
1907         javax/print/attribute/AttributeSet.java,
1908         javax/print/attribute/PrintRequestAttributeSet.java:
1909         Removing redundant modifiers.
1910
1911 2003-10-11  Michael Koch  <konqueror@gmx.de>
1912
1913         * javax/sql/ConnectionEventListener.java,
1914         javax/sql/ConnectionPoolDataSource.java,
1915         javax/sql/DataSource.java,
1916         javax/sql/PooledConnection.java,
1917         javax/sql/RowSet.java,
1918         javax/sql/RowSetInternal.java,
1919         javax/sql/RowSetListener.java,
1920         javax/sql/RowSetMetaData.java,
1921         javax/sql/RowSetReader.java,
1922         javax/sql/RowSetWriter.java,
1923         javax/sql/XAConnection.java,
1924         javax/sql/XADataSource.java:
1925         Removing redundant modifiers.
1926
1927 2003-10-11  Michael Koch  <konqueror@gmx.de>
1928
1929         * javax/naming/Context.java,
1930         javax/naming/Name.java,
1931         javax/naming/NameParser.java,
1932         javax/naming/NamingEnumeration.java,
1933         javax/naming/Referenceable.java,
1934         javax/naming/directory/Attribute.java,
1935         javax/naming/directory/Attributes.java,
1936         javax/naming/directory/DirContext.java,
1937         javax/naming/event/EventContext.java,
1938         javax/naming/event/EventDirContext.java,
1939         javax/naming/event/NamespaceChangeListener.java,
1940         javax/naming/event/NamingListener.java,
1941         javax/naming/event/ObjectChangeListener.java,
1942         javax/naming/ldap/Control.java,
1943         javax/naming/ldap/ExtendedRequest.java,
1944         javax/naming/ldap/ExtendedResponse.java,
1945         javax/naming/ldap/HasControls.java,
1946         javax/naming/ldap/LdapContext.java,
1947         javax/naming/ldap/UnsolicitedNotification.java,
1948         javax/naming/ldap/UnsolicitedNotificationListener.java,
1949         javax/naming/spi/DirObjectFactory.java,
1950         javax/naming/spi/DirStateFactory.java,
1951         javax/naming/spi/InitialContextFactory.java,
1952         javax/naming/spi/InitialContextFactoryBuilder.java,
1953         javax/naming/spi/ObjectFactory.java,
1954         javax/naming/spi/ObjectFactoryBuilder.java,
1955         javax/naming/spi/Resolver.java,
1956         javax/naming/spi/StateFactory.java:
1957         Removing redundant modifiers.
1958
1959 2003-10-11  Michael Koch  <konqueror@gmx.de>
1960
1961         * java/security/Key.java,
1962         * java/security/PrivateKey.java,
1963         * java/security/PublicKey.java,
1964         * java/security/acl/Acl.java,
1965         * java/security/acl/AclEntry.java,
1966         * java/security/acl/Group.java,
1967         * java/security/acl/Owner.java,
1968         * java/security/acl/Permission.java,
1969         * java/security/cert/X509Extension.java,
1970         * java/security/interfaces/DSAKey.java,
1971         * java/security/interfaces/DSAKeyPairGenerator.java,
1972         * java/security/interfaces/DSAParams.java,
1973         * java/security/interfaces/DSAPrivateKey.java,
1974         * java/security/interfaces/DSAPublicKey.java,
1975         * java/security/interfaces/RSAKey.java,
1976         * java/security/interfaces/RSAPrivateCrtKey.java,
1977         * java/security/interfaces/RSAPrivateKey.java,
1978         * java/security/interfaces/RSAPublicKey.java:
1979         Removed redundant modifiers.
1980
1981 2003-10-11  Michael Koch  <konqueror@gmx.de>
1982
1983         * gnu/java/rmi/server/ProtocolConstants.java,
1984         gnu/java/security/der/DER.java:
1985         Removing redundant modifiers.
1986
1987 2003-10-11  Michael Koch  <konqueror@gmx.de>
1988
1989         * java/util/Map.java,
1990         java/util/Observer.java,
1991         java/util/zip/Checksum.java,
1992         java/util/zip/ZipConstants.java:
1993         Removed redundant modifiers.
1994
1995 2003-10-11  Michael Koch  <konqueror@gmx.de>
1996
1997         * java/text/AttributedCharacterIterator.java,
1998         java/text/CharacterIterator.java:
1999         Removed redundant modifiers.
2000
2001 2003-10-11  Michael Koch  <konqueror@gmx.de>
2002
2003         * java/sql/Array.java,
2004         java/sql/Blob.java,
2005         java/sql/CallableStatement.java,
2006         java/sql/Clob.java,
2007         java/sql/Connection.java,
2008         java/sql/DatabaseMetaData.java,
2009         java/sql/Driver.java,
2010         java/sql/ParameterMetaData.java,
2011         java/sql/PreparedStatement.java,
2012         java/sql/Ref.java,
2013         java/sql/ResultSet.java,
2014         java/sql/ResultSetMetaData.java,
2015         java/sql/SQLData.java,
2016         java/sql/SQLInput.java,
2017         java/sql/SQLOutput.java,
2018         java/sql/Savepoint.java,
2019         java/sql/Statement.java,
2020         java/sql/Struct.java:
2021         Removed redundant modifiers.
2022
2023 2003-10-11  Michael Koch  <konqueror@gmx.de>
2024
2025         * java/nio/channels/Channel.java,
2026         java/nio/channels/GatheringByteChannel.java,
2027         java/nio/channels/ReadableByteChannel.java,
2028         java/nio/channels/ScatteringByteChannel.java,
2029         java/nio/channels/WritableByteChannel.java:
2030         Removed redundant modifiers.
2031
2032 2003-10-11  Michael Koch  <konqueror@gmx.de>
2033
2034         * java/rmi/activation/ActivationInstantiator.java,
2035         java/rmi/activation/ActivationMonitor.java,
2036         java/rmi/activation/ActivationSystem.java,
2037         java/rmi/activation/Activator.java,
2038         java/rmi/dgc/DGC.java,
2039         java/rmi/registry/Registry.java,
2040         java/rmi/registry/RegistryHandler.java,
2041         java/rmi/server/LoaderHandler.java,
2042         java/rmi/server/RMIClientSocketFactory.java,
2043         java/rmi/server/RMIFailureHandler.java,
2044         java/rmi/server/RMIServerSocketFactory.java,
2045         java/rmi/server/RemoteCall.java,
2046         java/rmi/server/RemoteRef.java,
2047         java/rmi/server/ServerRef.java,
2048         java/rmi/server/Skeleton.java,
2049         java/rmi/server/Unreferenced.java:
2050         Removed redundant modifiers.
2051
2052 2003-10-11  Michael Koch  <konqueror@gmx.de>
2053
2054         * java/net/ContentHandlerFactory.java,
2055         java/net/DatagramSocketImplFactory.java,
2056         java/net/FileNameMap.java,
2057         java/net/SocketImplFactory.java,
2058         java/net/SocketOptions.java,
2059         java/net/URLStreamHandlerFactory.java:
2060         Removed redundant modifiers.
2061
2062 2003-10-11  Michael Koch  <konqueror@gmx.de>
2063
2064         * java/io/Externalizable.java,
2065         java/io/FileFilter.java,
2066         java/io/FilePermission.java,
2067         java/io/ObjectInput.java,
2068         java/io/ObjectInputValidation.java,
2069         java/io/ObjectOutput.java,
2070         java/io/ObjectStreamClass.java,
2071         java/io/ObjectStreamConstants.java,
2072         java/io/Serializable.java:
2073         Removed redundant modifiers.
2074
2075 2003-10-11  Ingo Proetel  <proetel@aicas.com>
2076
2077         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
2078         codebase and context classloader.
2079
2080 2003-10-11  Michael Koch  <konqueror@gmx.de>
2081
2082         * java/beans/beancontext/BeanContext.java,
2083         java/beans/beancontext/BeanContextChild.java,
2084         java/beans/beancontext/BeanContextChildComponentProxy.java,
2085         java/beans/beancontext/BeanContextChildSupport.java,
2086         java/beans/beancontext/BeanContextContainerProxy.java,
2087         java/beans/beancontext/BeanContextMembershipListener.java,
2088         java/beans/beancontext/BeanContextProxy.java,
2089         java/beans/beancontext/BeanContextServiceProvider.java,
2090         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2091         java/beans/beancontext/BeanContextServiceRevokedListener.java,
2092         java/beans/beancontext/BeanContextServices.java,
2093         java/beans/beancontext/BeanContextServicesListener.java:
2094         Removed redundant modifiers.
2095
2096 2003-10-11  Michael Koch  <konqueror@gmx.de>
2097
2098         * java/beans/AppletInitializer.java,
2099         java/beans/BeanInfo.java,
2100         java/beans/Customizer.java,
2101         java/beans/DesignMode.java,
2102         java/beans/PropertyEditor.java,
2103         java/beans/Visibility.java:
2104         Removed redundant modifiers.
2105
2106 2003-10-11  Michael Koch  <konqueror@gmx.de>
2107
2108         * java/awt/print/Pageable.java,
2109         * java/awt/print/Printable.java,
2110         java/awt/print/PrinterGraphics.java:
2111         Removed redundant modifiers.
2112
2113 2003-10-11  Michael Koch  <konqueror@gmx.de>
2114
2115         * java/awt/peer/ButtonPeer.java,
2116         java/awt/peer/CheckboxMenuItemPeer.java,
2117         java/awt/peer/CheckboxPeer.java,
2118         java/awt/peer/ChoicePeer.java,
2119         java/awt/peer/ComponentPeer.java,
2120         java/awt/peer/ContainerPeer.java,
2121         java/awt/peer/DialogPeer.java,
2122         java/awt/peer/FileDialogPeer.java,
2123         java/awt/peer/FramePeer.java,
2124         java/awt/peer/LabelPeer.java,
2125         java/awt/peer/ListPeer.java,
2126         java/awt/peer/MenuBarPeer.java,
2127         java/awt/peer/MenuComponentPeer.java,
2128         java/awt/peer/MenuItemPeer.java,
2129         java/awt/peer/MenuPeer.java,
2130         java/awt/peer/PopupMenuPeer.java,
2131         java/awt/peer/RobotPeer.java,
2132         java/awt/peer/ScrollPanePeer.java,
2133         java/awt/peer/ScrollbarPeer.java,
2134         java/awt/peer/TextAreaPeer.java,
2135         java/awt/peer/TextComponentPeer.java,
2136         java/awt/peer/TextFieldPeer.java,
2137         java/awt/peer/WindowPeer.java:
2138         Removed redundant modifiers.
2139
2140 2003-10-11  Michael Koch  <konqueror@gmx.de>
2141
2142         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2143         * gnu/java/nio/ServerSocketChannelImpl.java
2144         (serverSocket): Made it a NIOServerSocket.
2145         (impl): Removed.
2146         (ServerSocketChannelImpl): Initialize only serverSocket.
2147         (initServerSocket): Removed.
2148         (getNativeFD): Rewritten.
2149         (implConfigureBlocking): Set socket timeout and removed comment.
2150         (accept): Rewritten.
2151         * gnu/java/nio/SocketChannelImpl.java
2152         (impl): New variable.
2153         (connected): Removed.
2154         (SocketChannelImpl): Initialize impl too.
2155         (getImpl): New method.
2156         (isConnected): Rewritten.
2157         (read): Rewritten, set position in buffer correctly.
2158         (write): Set position in buffer correctly.
2159         * java/net/ServerSocket.java (getImpl): New method.
2160         * gnu/java/nio/NIOServerSocket.java,
2161         gnu/java/nio/natNIOServerSocket.cc: New files.
2162         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2163         * Makefile.am
2164         (ordinary_java_source_files):
2165         Added gnu/java/nio/NIOServerSocket.java.
2166         (nat_source_files):
2167         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2168         and added gnu/java/nio/natNIOServerSocket.cc.
2169         * Makefile.in: Regenerated.
2170
2171 2003-10-11  Michael Koch  <konqueror@gmx.de>
2172
2173         * java/awt/ActiveEvent.java,
2174         java/awt/datatransfer/ClipboardOwner.java,
2175         java/awt/datatransfer/FlavorMap.java,
2176         java/awt/datatransfer/Transferable.java,
2177         java/awt/dnd/Autoscroll.java,
2178         java/awt/dnd/peer/DragSourceContextPeer.java,
2179         java/awt/dnd/peer/DropTargetContextPeer.java,
2180         java/awt/dnd/peer/DropTargetPeer.java,
2181         java/awt/font/MultipleMaster.java,
2182         java/awt/font/OpenType.java,
2183         java/awt/im/spi/InputMethodDescriptor.java,
2184         java/awt/image/ImageObserver.java,
2185         java/awt/image/ImageConsumer.java,
2186         java/awt/image/ImageProducer.java,
2187         java/awt/image/RGBImageFilter.java,
2188         java/awt/image/RasterOp.java,
2189         java/awt/image/renderable/RenderableImage.java:
2190         Removed redundant modifiers.
2191
2192 2003-10-11  Michael Koch  <konqueror@gmx.de>
2193
2194         * gnu/awt/j2d/DirectRasterGraphics.java,
2195         gnu/java/awt/EmbeddedWindowSupport.java:
2196         Removed redundant modifiers.
2197
2198 2003-10-09  Michael Koch  <konqueror@gmx.de>
2199
2200         * gnu/java/nio/SelectorImpl.java (register):
2201         Use ServerSocketChannelSelectionKey for server socket channels,
2202         removed unneeded comments.
2203         * gnu/java/nio/ServerSocketChannelImpl.java
2204         (ServerSocketChannelImpl): Made class public final.
2205         (impl): New member variable.
2206         (ServerSocketChannelImpl): Initialize member variables correctly.
2207         (initServerSocket): New method.
2208         (getNativeFD): Likewise.
2209         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2210         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2211         * Makefile.am (ordinary_java_source_files):
2212         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2213         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2214         * Makefile.in: Regenrated.
2215
2216 2003-10-09  Michael Koch  <konqueror@gmx.de>
2217
2218         * java/nio/channels/spi/AbstractSelectableChannel.java
2219         (registered): Made private.
2220         (blocking): Likewise.
2221         (LOCK): Likewise.
2222         (provider): Likewise.
2223         (keys): Made it a private LinkedList.
2224         (AbstractSelectableChannel): Initialize keys.
2225         (isRegistered): New implementation.
2226         (locate): Rewritten.
2227         (register): Rewritten.
2228         * java/nio/channels/spi/AbstractSelectionKey.java
2229         (ok): Removed.
2230         (cancelled): New member variable.
2231         (cancel): Rewritten.
2232         (isValid): Rewritten.
2233         * java/nio/channels/spi/AbstractSelector.java:
2234         Some methods moved.
2235         (closed): Make private.
2236         (provider): Likewise.
2237         (cancelledKeys): New member variable.
2238         (AbstractSelector): Initialize cancelledKeys.
2239         (cancelKey): New method.
2240
2241 2003-10-09  Tom Tromey  <tromey@redhat.com>
2242
2243         * java/lang/ClassLoader.java (setSigners): Implemented.
2244         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2245         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2246         Initialize new fields.
2247         * java/lang/Class.java (getSigners): Now native.
2248         (setSigners): Declare.
2249         * java/lang/natClass.cc (getSigners): New method.
2250         (getSigners): Likewise.
2251         * java/lang/Class.h (Class::signers): New field.
2252         (Class::setSigners): New method.
2253
2254 2003-10-09  Michael Koch  <konqueror@gmx.de>
2255
2256         * java/rmi/server/RMIClassLoader.java:
2257         Removed unused imports, little reformatings.
2258         (getClassLoader): New method, implementation was part of old loadCLass
2259         method.
2260         (loadClass): Simplified by moving functionality to new method and
2261         reworking the code a bit.
2262         (getClassAnnotation): Merged documentation from classpath.
2263
2264 2003-10-09  Michael Koch  <konqueror@gmx.de>
2265
2266         * java/math/BigInteger.java
2267         (add): Removed unused local variable len.
2268
2269 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2270
2271         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2272         modality check.
2273         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2274         Initialize insets to use latest insets.
2275         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2276         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2277         field.
2278         (postConfigureEvent): Update latestInsets field when insets
2279         change.  Remove call to setSize.  Move validate call outside of
2280         if blocks.
2281         (setVisible): Call setBounds before showing window.
2282         (nativeSetVisible): New native method.
2283         * java/awt/Window.java (show): Show visible owned windows.
2284         (hide): Hide visible owned windows.
2285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2286         (awt_event_handler): Implement modality using GTK grabs.
2287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2288         (global_gtk_window_group): New global variable.
2289         (gtkInit): Initialize global_gtk_window_group.
2290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2291         Clamp width and height values to at least 1.  Add this window to
2292         the global GTK window group.
2293         (setVisible): Rename to nativeSetVisible.
2294         (setup_window): Remove function.
2295         (setSize): Clamp width and height values to at least 1.
2296         (nativeSetBounds): Likewise.
2297         (gdk_window_get_root_geometry): Remove function.
2298         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2299         and setup_window declarations.  Declare global_gtk_window_group.
2300
2301         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2302         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2303         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2304         (gtkWidgetSetForeground): New method.
2305         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2306         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2307         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2308         (setBackground, setForeground): Implement.
2309         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2311         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2312         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2313         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2315         Position PangoLayout relative to text's baseline.
2316         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2317
2318         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2319         for CENTER and RIGHT alignments.
2320
2321 2003-10-08  Michael Koch  <konqueror@gmx.de>
2322
2323         * java/security/Security.java: Reformated.
2324
2325 2003-10-08  Michael Koch  <konqueror@gmx.de>
2326
2327         * java/text/SimpleDateFormat.java
2328         (compileFormat): Replace Character.isLetter() test with
2329         Character.isLowerCase() || Character.isUpperCase().
2330
2331 2003-10-08  Tom Tromey  <tromey@redhat.com>
2332
2333         * java/lang/StrictMath.java (toDegrees): Multiply before
2334         dividing.
2335         (toRadians): Likewise.
2336
2337 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2338
2339         * java/lang/Math.java
2340         (toRadians): multiply before dividing to reduce decimal error
2341         (toDegrees): ditto
2342
2343 2003-10-08  Michael Koch  <konqueror@gmx.de>
2344
2345         * gnu/gcj/protocol/core/Connection.java,
2346         gnu/gcj/protocol/core/CoreInputStream.java,
2347         gnu/gcj/protocol/core/Handler.java,
2348         gnu/gcj/protocol/core/natCoreInputStream.cc,
2349         gnu/gcj/protocol/file/Connection.java,
2350         gnu/gcj/protocol/file/Handler.java,
2351         gnu/gcj/protocol/gcjlib/Connection.java,
2352         gnu/gcj/protocol/gcjlib/Handler.java,
2353         gnu/gcj/protocol/http/Connection.java,
2354         gnu/gcj/protocol/http/Handler.java,
2355         gnu/gcj/protocol/jar/Connection.java,
2356         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2357         * gnu/java/net/protocol/core/Connection.java,
2358         gnu/java/net/protocol/core/CoreInputStream.java,
2359         gnu/java/net/protocol/core/Handler.java,
2360         gnu/java/net/protocol/core/natCoreInputStream.cc,
2361         gnu/java/net/protocol/file/Connection.java,
2362         gnu/java/net/protocol/file/Handler.java,
2363         gnu/java/net/protocol/gcjlib/Connection.java,
2364         gnu/java/net/protocol/gcjlib/Handler.java,
2365         gnu/java/net/protocol/http/Connection.java,
2366         gnu/java/net/protocol/http/Handler.java,
2367         gnu/java/net/protocol/jar/Connection.java,
2368         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2369         * gnu/gcj/runtime/FirstThread.java,
2370         java/net/URL.java: Use moved protocol handlers.
2371         * Makefile.am
2372         (ordinary_java_source_files): Moved files.
2373         (nat_source_files): Likewise.
2374         * Makefile.in: Regenerated.
2375
2376 2003-10-08  Michael Koch  <konqueror@gmx.de>
2377
2378         * gnu/java/nio/SocketChannelImpl.java
2379         (read): Write only read data to buffer.
2380
2381 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2382
2383         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2384         out.
2385         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2386         (JCL_free): Attach "unused" attribute to env parameter.
2387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2388         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2399         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2400         parameters.
2401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2402         (initNativeState): Pass 0 as info argument to
2403         gtk_selection_add_target.
2404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2405         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2406         unused method implementations.
2407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2408         (awt_event_handler): Add break statement after default label.
2409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2410         (drawPixels): Remove unused variable i.
2411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2412         (setEnabled): Remove method implementation.
2413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2414         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2415         argument.
2416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2417         unused function.
2418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2419         (menu_pos): Assign TRUE to push_in.
2420         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2421         argument.
2422         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2423         (create): Remove unused variable layout.
2424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2425         Pass window_widget, rather than window, to
2426         gtk_widget_set_size_request.
2427         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2428         structure initialization with NULL values.
2429         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2430
2431 2003-10-08  Michael Koch  <konqueror@gmx.de>
2432
2433         * java/util/LinkedList.java:
2434         Removed whitespace to match classpath's version again.
2435
2436 2003-10-08  Michael Koch  <konqueror@gmx.de>
2437
2438         * java/util/prefs/Preferences.java
2439         (defaultFactoryClass): Fixed class name.
2440         (getFactory): Create instance of class returned by Class.forName(),
2441         reformated code.
2442
2443 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2444
2445         * javax/swing/table/AbstractTableModel.java
2446         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2447         helped stop pulling my hair on this +1 then -1 tricky thing!
2448
2449 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2450
2451         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2452         Remove unused parameters.
2453         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2454         Likewise.
2455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2456         (keyevent_state_to_awt_mods): Export function.
2457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2458         (getCaretPosition): Fix TextArea case.
2459         (textcomponent_commit_cb): Get exact event time and modifier
2460         state.
2461         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2462
2463 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2464
2465         * java/net/InetSocketAddress.java
2466         (InetSocketAddress): Made exception more clear.
2467         (equals): Handle case when addr is null.
2468         (toString): Likewise.
2469         * java/net/NetworkInterface.java
2470         (static): Load native library.
2471         (getNetworkInterfaces): Rewritten.
2472
2473 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2474
2475         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2476         field.
2477         (initializeInsets): New method.
2478         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2479         setBounds unconditionally.
2480         (setBounds): Convert coordinates if parent is a Window.
2481         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2482         field to GtkComponentPeer.
2483         (GtkContainerPeer): Don't initialize insets.
2484         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2485         New method.
2486         (create): Call new GtkWindowPeer create method.
2487         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2488         New method.
2489         (create): Call new GtkWindowPeer create method.
2490         (setBounds): Remove method.
2491         (postConfigureEvent): Likewise.
2492         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2493         type constants with GDK window type constants.
2494         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2495         (create(int,boolean)): Likewise.
2496         (create()): Call create(int,boolean).
2497         (nativeSetBounds): New native method declaration.
2498         (setBounds): Call native method declaration.
2499         (setSize): New native method declaration.
2500         (setBoundsCallback): Likewise.
2501         (postConfigureEvent): Handle change in insets.  Call setSize and
2502         setBoundsCallback methods.
2503         * java/awt/Window.java (Window): Set visible to false.
2504         (setBoundsCallback): New method.
2505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2506         (gtkWidgetGetLocationOnScreen): If this component is not a
2507         container, adjust the location returned based on the peer's
2508         allocation.
2509         (set(String,boolean)): Revert change from 2003-09-19.
2510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2511         (awt_event_handler): Fix inset calculation.
2512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2513         glue for Window.setBoundsCallback.
2514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2515         Set up stacking order, window decorations and window manager
2516         hints.
2517         (setBoundsCallback): New method.
2518         (setSize): New method.
2519         (nativeSetBounds): New method.
2520         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2521
2522 2003-10-02  Tom Tromey  <tromey@redhat.com>
2523
2524         * java/lang/VMClassLoader.java (loadClass): Now native.
2525         * java/lang/natClassLoader.cc (loadClass): Implement.
2526         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2527
2528 2003-10-02  Michael Koch  <konqueror@gmx.de>
2529
2530         * java/net/InetAddress.java
2531         (zeros): Removed.
2532         (ANY_IF): Initalizie in static block.
2533         (static): Load library with native methods here and initialize ANY_IF.
2534         (isAnyLocalAddress): Check if equal to ANY_IF.
2535         (equals): Use addr directly instead of addr1. Simplify for loop.
2536         (toString): Rename "result" to "host" and add IP address allways.
2537         (getLocalHost): Merged documentation from classpath.
2538         * java/net/ServerSocket.java
2539         (ServerSocket): New package-private constructor used by java.nio.
2540         * java/net/URLConnection.java
2541         (getRequestProperties): Check if already connected.
2542
2543 2003-10-02  Michael Koch  <konqueror@gmx.de>
2544
2545         * java/nio/ByteBufferHelper.java:
2546         Rewrote all methods by suggestions from Eric Blake.
2547
2548 2003-10-02  Michael Koch  <konqueror@gmx.de>
2549
2550         * java/net/URL.java
2551         (DEFAULT_SEARCH_PATH): New static variable.
2552         (ph_cache): Made it a HashMap.
2553         (getURLStreamHandler): Rename propVal to ph_search_path and use
2554         DEFAULT_SEARCH_PATH.
2555
2556 2003-10-02  Michael Koch  <konqueror@gmx.de>
2557
2558         * javax/swing/table/AbstractTableModel.java
2559         (findColumnName): Prevent from NullPointerException if argument
2560         columnName is null.
2561
2562 2003-10-02  Michael Koch  <konqueror@gmx.de>
2563
2564         * javax/swing/table/AbstractTableModel.java:
2565         This patch is based on a patch done by Arnaud Vandyck
2566         <arnaud.vandyck@ulg.ac.be>.
2567         (getColumnName): Fixed method documentation.
2568         (findColumn): Likewise.
2569         (getColumnClass): Likewise.
2570         (isCellEditable): Likewise.
2571         (setValueAt): Likewise.
2572         (addTableModelListener): Likewise.
2573         (removeTableModelListener): Likewise.
2574         (getTableModelListeners): New method.
2575
2576 2003-10-02  Michael Koch  <konqueror@gmx.de>
2577
2578         * javax/swing/table/AbstractTableModel.java:
2579         Reformated.
2580
2581 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2582
2583         Fix PR libgcj/12475
2584         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2585         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2586
2587 2003-10-01  Tom Tromey  <tromey@redhat.com>
2588
2589         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2590
2591 2003-10-01  Andrew Haley  <aph@redhat.com>
2592
2593         * java/lang/natClass.cc (initializeClass): Check for otable and
2594         atable.
2595         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2596         loops using for().  Search superinterfaces.  Check for fields as
2597         well as methods.  Initialize atable as well as otable: check for
2598         static methods as well as virtual methods.
2599         * java/lang/Class.h (struct _Jv_AddressTable): New.
2600         (atable): New.
2601         (atable_syms): New.
2602         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2603         * prims.cc (_Jv_equalUtf8Consts): constify.
2604
2605 2003-09-29  Tom Tromey  <tromey@redhat.com>
2606
2607         PR libgcj/10596:
2608         * include/jvm.h (_Jv_FinalizeString,
2609         _Jv_RegisterStringFinalizer): Declare.
2610         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2611         unintern.
2612         (intern): Updated.
2613         (_Jv_NewStringUtf8Const): Likewise.
2614         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2615         Add special case when finalizing a String.
2616         (in_hash): New function.
2617         (_Jv_RegisterStringFinalizer): Likewise.
2618         (maybe_add_finalize): Likewise.
2619
2620 2003-09-29  Michael Koch  <konqueror@gmx.de>
2621
2622         * java/net/InetAddress.java:
2623         (isMulticastAddress): Dont use local variable to store address length.
2624         Let the compiler optimize this.
2625         (getHostName): Merged dcoumentation from classpath.
2626         (getAddress): Likewise.
2627         (getHostAddress): Likewise.
2628         (hashCode): Likewise.
2629         (equals): Likewise.
2630         (toString): Likewise.
2631         (getByName): Likewise.
2632         (getAllByName): Likewise.
2633
2634 2003-09-29  Michael Koch  <konqueror@gmx.de>
2635
2636         * java/awt/image/IndexColorModel.java: Reformated.
2637
2638 2003-09-29  Michael Koch  <konqueror@gmx.de>
2639
2640         * java/net/InetAddress.java,
2641         java/net/URL.java: Reformated.
2642
2643 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2644
2645         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2646         significant bit of descriptor. Include the vtable and sync_info 
2647         fields.
2648
2649 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2650
2651         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2652         if `obj' is not a Number or Date instance.
2653         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2654         instead of Vector.
2655
2656 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2657
2658         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2659         Don't call setTimeZone on calendar.
2660
2661 2003-09-27  Michael Koch  <konqueror@gmx.de>
2662
2663         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2664
2665 2003-09-27  Michael Koch  <konqueror@gmx.de>
2666
2667         * java/net/URL.java (getURLStreamHandler):
2668         Check if we have to use cache before trying to retrieve handler from
2669         cache. Rename facName to clsName to match classpath more. Reformated
2670         some little pieces.
2671
2672 2003-09-27  Michael Koch  <konqueror@gmx.de>
2673
2674         * gnu/java/nio/SelectionKeyImpl.java
2675         (ch): Make package-private again. Jikes found this bug.
2676         Jeff Sturm submitted PR12426 for this to bugzilla
2677         to fix this bug in gcj.
2678
2679 2003-09-26  Michael Koch  <konqueror@gmx.de>
2680
2681         * java/rmi/server/RMIClassLoader.java:
2682         Reformatted file, no functional code changes.
2683
2684 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2685
2686         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2687         Save space for some pixels at the buffer end.  Added Javadoc.
2688
2689 2003-09-26  Tom Tromey  <tromey@redhat.com>
2690
2691         * java/io/ObjectOutputStream.java (writeFields): Fixed
2692         indentation.
2693         (putFields): Likewise.
2694
2695 2003-09-26  Michael Koch  <konqueror@gmx.de>
2696
2697         * java/nio/ByteBufferHelper.java:
2698         Totally reworked with help from Eric Blake.
2699
2700 2003-09-26  Tom Tromey  <tromey@redhat.com>
2701
2702         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2703         * java/awt/geom/PathIterator.java: Documentation fixes.
2704
2705 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2706
2707         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2708         (select): Likewise.
2709         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2710
2711 2003-09-25  Michael Koch  <konqueror@gmx.de>
2712
2713         * gnu/java/nio/DatagramChannelImpl.java
2714         (getNativeFD): New method.
2715         * gnu/java/nio/SelectionKeyImpl.java
2716         (SelectionKeyImpl): Class made abstract.
2717         (fd): Removed.
2718         (SelectionKeyImpl): Remove fd argument.
2719         (getNativeFD): New method.
2720         * gnu/java/nio/SocketChannelImpl.java
2721         (getNativeFD): New method.
2722         gnu/java/nio/DatagramChannelSelectionKey.java,
2723         * gnu/java/nio/SocketChannelSelectionKey.java:
2724         New files.
2725         * Makefile.am (ordinary_java_source_files):
2726         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2727         gnu/java/nio/SocketChannelSelectionKey.java.
2728         * Makefile.in: Regenerated.
2729
2730 2003-09-25  Michael Koch  <konqueror@gmx.de>
2731
2732         * java/lang/reflect/Proxy.java
2733         (getProxyClass): Remove workaround for gcj 3.0.x.
2734
2735 2003-09-25  Michael Koch  <konqueror@gmx.de>
2736
2737         * gnu/java/net/PlainDatagramSocketImpl.java
2738         (finalize): Moved to directly after constructor.
2739         (getNativeFD): New method.
2740         * gnu/java/net/PlainSocketImpl.java
2741         (getNativeFD): New method.
2742
2743 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2744
2745         * java/io/ObjectOutputStream.java:
2746         Allow putFields be called more than once.
2747
2748 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2749
2750         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2751         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2752         * java/awt/image/BufferedImage.java (toString): Implement.
2753
2754 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2755
2756         * aclocal.m4: Rebuilt.
2757         * configure: Rebuilt.
2758
2759 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2760
2761         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2762         field.
2763
2764 2003-09-25  Michael Koch  <konqueror@gmx.de>
2765
2766         * gnu/java/nio/SelectorImpl.java
2767         (implSelect): Renamed from java_do_select.
2768         (select): Call native implSelect() and add support for Thread
2769         interruption.
2770         * gnu/java/nio/natSelectorImpl.cc
2771         (implSelect): Renamed from java_do_select.
2772
2773 2003-09-25  Michael Koch  <konqueror@gmx.de>
2774
2775         * gnu/java/nio/SelectorImpl.java
2776         (selectNow): Made final, throws IOException.
2777         (select): Likewise.
2778         (getFDsAsArray): Made final.
2779         (selectedKeys): Likewise.
2780         (wakeup): Likewise.
2781         (deregisterCancelledKeys): Likewise.
2782         (register): Likewise.
2783         (ass): Removed.
2784         (add_selected): Removed.
2785         * gnu/java/nio/natSelectorImpl.cc:
2786         No need to include bstring.h or gcj/cni.h.
2787         (helper_put_filedescriptors): Rewritten.
2788         (helper_get_filedescriptors): Rewritten.
2789
2790 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2791
2792         * java/awt/font/FontRenderContext.java (getTransform): Return
2793         copy of internal transform object. Add Javadoc.
2794         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2795         winding rule as Sun J2SE.
2796         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2797
2798 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2799
2800         * java/rmi/Naming.java:
2801         Added comments, now accepts pseudo protocol "rmi".
2802
2803 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2804
2805         * java/text/DecimalFormat.java (format): Don't immediatly round
2806         baseNumber to long.
2807         (setMinimumIntegerDigits): Call super.
2808         (setMinimumFractionDigits): Likewise.
2809         (setMaximumIntegerDigits): Likewise.
2810         (setMaximumFractionDigits): Likewise.
2811
2812 2003-09-25  Michael Koch  <konqueror@gmx.de>
2813
2814         * gnu/java/nio/DatagramChannelImpl.java
2815         (DatagramChannelImpl): Made class final.
2816         (blocking): Made private.
2817         (socket): Made it a NIODatagramSocket and private.
2818         (DatagramChannelImpl): create NIODatagramSocket instead of
2819         DatagramSocket.
2820         (implConfigureBlocking): Set socket timeout.
2821         (connect): Check that channel is not closed.
2822         (write): Implemented.
2823         (write): Rewritten.
2824         (read): Implemented.
2825         (read): Rewritten.
2826         (receive): Implemented.
2827         (send): Implemented.
2828         * gnu/java/nio/SelectionKeyImpl.java
2829         (readyOps): Made private.
2830         (interestOps): Made private.
2831         (impl): Made private.
2832         (ch): Made private.
2833         (readyOps): Check if selection key is valid.
2834         (interestOps): Likewise.
2835         * gnu/java/nio/SelectorImpl.java
2836         (closed): Removed.
2837         (keys): Made private.
2838         (selected): Made private.
2839         (finalize): New method.
2840         (implCloseSelector): Rewritten.
2841         (keys): Return unmodifiable Set.
2842         (deregisterCancelledKeys): Fixed typo in method name.
2843         * gnu/java/nio/SocketChannelImpl.java
2844         (SocketChannelImpl): Made class final.
2845         (socket): Made it a NIOSocket and private.
2846         (blocking): Made private.
2847         (connected): Made private.
2848         (connectionPending): New member variable.
2849         (SocketChannelImpl): New implementation.
2850         (finalizer): Use isConnected().
2851         (connect): Rewritten.
2852         (finishConnect): Throws IOException, implemented.
2853         (isConnectionPending): Return connectionPending.
2854         (read): Rewritten.
2855         (write): Rewritten.
2856         * gnu/java/nio/NIOConstants.java: New file.
2857         * Makefile.am (ordinary_java_source_files):
2858         Added gnu/java/nio/NIOConstants.java.
2859         * Makefile.in: Regenerated.
2860
2861 2003-09-25  Michael Koch  <konqueror@gmx.de>
2862
2863         * java/net/InetAddress.java:
2864         Reorder imports, remove implementation comment.
2865         (isMulticastAddress): Merged documentation from classpath.
2866         * java/net/URLConnection.java
2867         (setRequestProperty): Check key for null, fix documentation.
2868         (adREquestProperty): Check key for null, remove wrong implementation
2869         and replace it with comment to overwrite this method in subclasses,
2870         fix documentation.
2871
2872 2003-09-25  Tom Tromey  <tromey@redhat.com>
2873
2874         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2875         domain code.
2876         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2877         argument.
2878         (linkClass0): Now in VMClassLoader.
2879         (markClassErrorState0): Likewise.
2880         (getSystemClassLoaderInternal): New method.
2881         * java/lang/natClass.cc (initializeClass): Use
2882         VMClassLoader::resolveClass.
2883         * java/lang/ClassLoader.java: New version, from Classpath.
2884         * java/lang/Class.java (getProtectionDomain):
2885         protectionDomainPermission and unknownProtectionDomain now in
2886         VMClassLoader.
2887         * java/lang/Class.h: VMClassLoader now a friend class.
2888         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2889         package-private.
2890         * gcj/javaprims.h: Regenerated class list.
2891         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2892         * java/lang/VMClassLoader.java: New version from Classpath;
2893         modified for libgcj use.
2894
2895 2003-09-25  Michael Koch  <konqueror@gmx.de>
2896
2897         * java/nio/ByteBufferHelper.java:
2898         New file.
2899         * java/nio/ByteBufferImpl.java,
2900         java/nio/DirectByteBufferImpl.java,
2901         java/nio/MappedByteBufferImpl.java
2902         (getType,putType): Use new helper class ByteBufferHelper.
2903         * Makefile.am (ordinary_java_source_files):
2904         Added java/nio/ByteBufferHelper.java.
2905         * Makefile.in: Regenerated.
2906
2907 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2908
2909         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2910         PR libgcj/12388.
2911
2912 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2913
2914         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2915         Strings, even if buffer is already shared.
2916
2917 2003-09-24  Michael Koch  <konqueror@gmx.de>
2918
2919         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2920
2921 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2922
2923         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2924         (write): Likewise.
2925         (SocketInputStream): Declare `read' and `write' methods native.
2926         Remove implementations which called back into PlainSocketImpl.
2927         Remove unneccessary overridden methods.
2928         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2929         to inner class PlainSocketImpl.SocketInputStream.
2930         (write): Likewise.
2931         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2932         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2933         * gnu/java/net/SocketInputStream.java: Remove unused file.
2934         * gnu/java/net/SocketOutputStream.java: Likewise.
2935         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2936         and SocketOutputStream.
2937         * Makefile.in: Rebuilt.
2938
2939 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2940
2941         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2942
2943         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2944         markers.
2945
2946 2003-09-22  Anthony Green  <green@redhat.com>
2947
2948         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2949         * configure: Rebuilt.
2950
2951 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2952
2953         PR java/12350:
2954         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2955
2956 2003-09-22  Michael Koch  <konqueror@gmx.de>
2957
2958         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2959         compiler warning but produces a different one now.
2960
2961 2003-09-22  Michael Koch  <konqueror@gmx.de>
2962
2963         * java/net/InetAddress.java:
2964         Moves around some code, reformats and adds documentation.
2965         No functional changes.
2966
2967 2003-09-22  Michael Koch  <konqueror@gmx.de>
2968
2969         * java/net/JarURLConnection.java
2970         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2971         (getCertificates): Made it more error prone.
2972         (getMainAttributes): Likewise.
2973         (getAttributes): Implemented.
2974         (getManifest): Reformatted code.
2975
2976 2003-09-20  Tom Tromey  <tromey@redhat.com>
2977
2978         * java/awt/Component.java: Indentation cleanup from Classpath.
2979
2980 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2981
2982        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2983        checking to follow 1.4.2 spec.
2984
2985 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2986
2987         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2988         is compatible in case client and server are running in the same VM
2989         (remerged from Classpath on 2003-09-20)
2990
2991 2003-09-19  David Daney <ddaney@avtrex.com>
2992
2993         * java/lang/ref/Reference.java (clear): Set referent to null and
2994         synchronize.
2995
2996 2003-09-19  Michael Koch  <konqueror@gmx.de>
2997
2998         * gnu/java/nio/NIODatagramSocket.java,
2999         gnu/java/nio/NIOSocket.java: New files.
3000         * Makefile.am (ordinary_java_source_files):
3001         Added gnu/java/nio/NIODatagramSocket.java and
3002         gnu/java/nio/NIOSocket.java.
3003         * Makefile.in: Regenerated.
3004
3005 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3006
3007         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3008         top-level GTK window.
3009         (getArgs): Add "title" property.
3010         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3011         "allow_shrink" and "allow_grow" properties.
3012         * java/awt/Dialog.java: Initialize resizable to true and change
3013         comments accordingly.  Initialize visible to false in
3014         constructors.
3015         * java/awt/Frame.java (dispose): Remove method.
3016         * java/awt/Window.java (ownedWindows): New field.
3017         (Window(Window,GraphicsConfiguration)): Add a weak reference to
3018         owner's ownedWindows vector.
3019         (finalize): Remove method.
3020         (hide): Hide owned windows.
3021         (dispose): Dispose of owned windows.
3022         (getOwnedWindows): Implement.
3023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3024         unused GtkArg code.
3025         (set(String,boolean)): Clamp gboolean parameter to g_object_set
3026         to TRUE or FALSE.
3027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3028         (create): Set window's size requisition.
3029         (connectHooks): Fix indentation.
3030         (setResizable): Remove function.
3031         (static setBounds): Likewise.
3032         (setBounds): Replace call to setBounds with GTK size requisition
3033         and resize calls.
3034
3035 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
3036
3037         * win32-threads.cc: (ensure_interrupt_event_initialized) New
3038         function for lazy initialization of an auto-reset event.
3039         (_Jv_CondWait) Added thread interrupt support.
3040         (_Jv_ThreadInitData) Added initialization of interrupt support
3041         members.
3042         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3043         (_Jv_ThreadStart) Removed unused code.
3044         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3045         to an external caller.
3046         (_Jv_ThreadInterrupt) Implemented.
3047         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3048         event for interrupt support as well as a mutex which regulates
3049         access to this.
3050         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3051         event to an external caller.
3052         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3053         process.
3054         (waitFor) Added interrupt support.
3055
3056 2003-09-19  Michael Koch  <konqueror@gmx.de>
3057
3058         * java/net/DatagramSocket.java (getLocalAddress):
3059         Renamed result variable to localAddr.
3060         * java/net/MulticastSocket.java:
3061         No need to import gnu.java.net.PlainDatagramSocketImpl.
3062
3063 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
3064
3065         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3066         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3067
3068 2003-09-18  Tom Tromey  <tromey@redhat.com>
3069
3070         * javax/naming/InitialContext.java: Reindented.
3071
3072 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
3073             Helmer Kraemer <hkraemer@freenet.de>
3074
3075         * javax/naming/spi/NamingManager.java (getURLContext,
3076         getObjectInstance, getStateToBind): Always use current thread's
3077         context class loader when calling Class.forName.
3078
3079 2003-09-18  Michael Koch  <konqueror@gmx.de>
3080
3081         * java/util/Timer.java (finalize): Added "throws Throwable".
3082
3083 2003-09-18  Michael Koch  <konqueror@gmx.de>
3084
3085         * java/net/DatagramSocket.java
3086         (ch): Removed.
3087         (receive): Use getChannel() instead of ch.
3088         (send): Likewise.
3089         (getChannel): Return null.
3090         * java/net/ServerSocket.java
3091         (ch): Removed.
3092         (setChannel): Removed.
3093         (implAccept): Use getChannel() instead of ch.
3094         (close): Likewise.
3095         (getChannel): Return null.
3096         * java/net/Socket.java
3097         (ch): Removed.
3098         (connect): Use getChannel() instead of ch.
3099         (setChannel): Removed.
3100         (getChannel): Return null.
3101
3102 2003-09-18  Mark Wielaard  <mark@klomp.org>
3103
3104         Reported by Guilhem Lavaux and Julian Dolby
3105         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3106         field "serialPersistentFields", not "getSerialPersistentFields".
3107
3108 2003-09-18  Ingo Proetel  <proetel@aicas.com>
3109
3110         * java/util/TimeZone.java: Initialize lazily.
3111         * java/util/Locale.java (readManifest): Fix check for country.
3112         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3113         traceable 
3114         * java/util/Calendar.java: Make use of ResourceBundle better
3115         traceable.
3116
3117 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
3118
3119         * java/sql/Timestamp.java
3120         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3121
3122 2003-09-18  David P Grove  <groved@us.ibm.com>
3123
3124         * java/io/LineNumberReader (read): Don't reset pos & limit when
3125         markPos is 0.
3126
3127 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
3128
3129         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3130         constant.
3131         (computeArguments): use computeTypicalArguments.
3132
3133         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3134         Compile_jikes.java and RMICException.java.
3135         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3136         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3137         * gnu/java/rmi/rmic/RMICException.java: Likewise.
3138  
3139         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3140  
3141         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3142         (computeTypicalArguments): New method.
3143         (compile): Print compiler output to System.out. Collect compiler
3144         error output and use it in exception message.
3145  
3146         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3147         (destination): Initialize to null.
3148         (run): Replace file separator with '.' when processing class.
3149         (processClass): Replace '.' with file separator when compiling
3150         classes.
3151         (findClass): Use SystemClassLoader to load class.
3152         (generateStub): Use full class name for generated stub, that puts
3153         it in right path.  Replace '.' with file separator when generating
3154         stub file name. Write just the stub class name without package
3155         information as class name, and constructor name. Write only
3156         interface names for interfaces extending java.rmi.Remote as
3157         implemented.
3158         (generateSkel): Use full class name for generated skel, that puts
3159         it in right path.  Replace '.' with file separator when generating
3160         stub file name. Write just the stub class name without package
3161         information as class name.
3162
3163 2003-09-18  Michael Koch  <konqueror@gmx.de>
3164
3165         * Makefile.am (rmi_java_source_files):
3166         Added gnu/java/rmi/rmic/Compile_kjc.java,
3167         gnu/java/rmi/rmic/Compile_jikes.java and
3168         gnu/java/rmi/rmic/RMICException.java
3169         * Makefile.in: Regenerated.
3170
3171 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3172
3173         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3174         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3175         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3176         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3177         New files.
3178
3179 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3180
3181         * java/awt/BufferedImage.java (setData): Support non-component
3182         sample models.
3183         (getData): Same.
3184
3185 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3186
3187         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3188         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3189
3190 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3191
3192         * configure.in: Standardized help text case of
3193         --enable-hash-synchronization
3194         New configure switch --enable-libgcj-multifile and corresponding
3195         automake conditional ONESTEP.
3196         * configure: Rebuilt.
3197         * Makefile.am: Use automake conditional ONESTEP to determine
3198         whether classfiles should be compiled individually or all
3199         at once.
3200         * Makefile.in: Rebuilt.
3201
3202 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3203
3204         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3205         Remove method declaration.
3206         (create()): Call native create.
3207         (create(int)): New method.
3208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3209         (create): Add window_id parameter.  Call gtk_plug_new with
3210         window_id parameter.
3211         (construct): Remove method implementation.
3212
3213 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3214
3215         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3216         (mostlyclean-local): New target patterned after clean-local
3217         which recursively deletes all libtool objects using 'libtool rm'.
3218         (clean-local): Slightly modified comment to alleviate monotony.
3219         (distclean-local): New target patterned after clean-local
3220         which recursively deletes all .d files.
3221         * Makefile.in: Rebuilt.
3222
3223 2003-09-11  Tom Tromey  <tromey@redhat.com>
3224
3225         * java/net/URLStreamHandler.java (parseURL): If original file
3226         ends with "/", so must canonical result.
3227         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3228         with nul-termination and finding previous "/".
3229
3230 2003-09-11  Michael Koch  <konqueror@gmx.de>
3231
3232         * acconfig.h: Removed most items.
3233         * configure.in: Added descriptions to AC_DEFINE macros that where in
3234         acconfig.h before.
3235         * include/config.h.in: Regenerated.
3236
3237 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3238
3239         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3240         if one is installed. Improve Javadoc.
3241         (getSystemEventQueueImpl): Improve Javadoc.
3242
3243 2003-09-11  Tom Tromey  <tromey@redhat.com>
3244
3245         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3246         file does not exist.
3247
3248 2003-09-10  Anthony Green  <green@redhat.com>
3249
3250         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3251         Specify full name when referencing ::java::net::InetAddress.
3252         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3253         Fix argument type.
3254
3255 2003-09-10  Michael Koch  <konqueror@gmx.de>
3256
3257         * acconfig.h (__NO_MATH_INLINES): Removed.
3258         * configure.in: Removed check for g++ math inlining bug from 2000.
3259         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3260         libgcj_cxxflags.
3261         * configure: Regenerated.
3262
3263 2003-09-10  David Daney <ddaney@avtrex.com>
3264
3265         * java/util/Arrays.java (equals(all variants)): Quit using
3266         NullPointerException catching to detect null valued parameters.
3267
3268 2003-09-10  Michael Koch  <konqueror@gmx.de>
3269
3270         * java/net/DatagramSocket.java,
3271         java/net/MulticastSocket.java,
3272         java/net/ServerSocket.java,
3273         java/net/Socket.java:
3274         Use gnu.java.net.Plain*SocketImpl instead of
3275         java.net.PlainSocketImpl.
3276         * java/net/PlainDatagramSocketImpl.java,
3277         java/net/PlainSocketImpl.java,
3278         java/net/SocketInputStream.java,
3279         java/net/SocketOutputStream.java,
3280         java/net/natPlainDatagramSocketImplNoNet.cc,
3281         java/net/natPlainDatagramSocketImplPosix.cc,
3282         java/net/natPlainDatagramSocketImplWin32.cc,
3283         java/net/natPlainSocketImplNoNet.cc,
3284         java/net/natPlainSocketImplPosix.cc,
3285         java/net/natPlainSocketImplWin32.cc:
3286         Removed.
3287         * gnu/java/net/PlainDatagramSocketImpl.java,
3288         gnu/java/net/PlainSocketImpl.java,
3289         gnu/java/net/SocketInputStream.java,
3290         gnu/java/net/SocketOutputStream.java,
3291         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3292         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3293         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3294         gnu/java/net/natPlainSocketImplNoNet.cc,
3295         gnu/java/net/natPlainSocketImplPosix.cc,
3296         gnu/java/net/natPlainSocketImplWin32.cc:
3297         New files (moved from java/net).
3298         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3299         instead of java/net/natPlain*SocketImpl.cc.
3300         * configure: Regenerated.
3301         * Makefile.am: Moved files from java/net to gnu/java/net.
3302         * Makefile.in: Regenerated.
3303
3304 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3305
3306         * configure: Regenerate.
3307
3308 2003-09-04  Tom Tromey  <tromey@redhat.com>
3309
3310         * configure.host: Removed erroneous comment.
3311
3312         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3313         lvalue cast; use correct rvalue cast.
3314
3315 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3316
3317         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3318         and height arguments to GtkWindowPeer.create method call.
3319         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3320         (create(int,int,int)): New method.
3321         (create(int)): Add call to new create method.
3322         (create()): Add width and height arguments to create method
3323         call.
3324         (GtkWindowPeer): Remove call to setBounds.
3325         * java/awt/Frame.java (Frame(String)): Initialize visible field
3326         to false.
3327         (Frame(GraphicsConfiguration)): Likewise.
3328         (Frame(String,GraphicsConfiguration)): Likewise.
3329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3330         Add width and height parameters.  Call
3331         gtk_window_set_default_size.
3332         (connectHooks): Remove unused name variable.
3333         (static setBounds): Call gtk_window_resize not
3334         gtk_widget_set_usize.
3335         (setBounds): Remove unused nchildren variable.
3336
3337 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3338
3339         * java/util/logging/Logger.java: provide class and method information
3340         * java/util/logging/LogManager.java: create handlers
3341         * java/util/logging/SimpleFormatter.java: print souceClassName and
3342         sourceMethodName
3343
3344 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3345
3346         * win32.cc: fixed tab, indentation and whitespace
3347         inconsistencies
3348         removed jvm.h include
3349         added includes java/lang/UnsupportedOperationException.h,
3350         java/io/IOException.h, java/net/SocketException.h
3351         (WSAEventWrapper): class implementation
3352         (_Jv_WinStrError): implemented both overloads
3353         (_Jv_ThrowIOException): implemented both overloads
3354         (_Jv_ThrowSocketException): implemented both overloads
3355         (_Jv_select): implemented
3356         * include/win32.h: fixed tab, indentation and whitespace
3357         inconsistencies
3358         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3359         added jvm.h include
3360         (WSAEventWrapper): added class declaration
3361         (_Jv_WinStrError): added both overload declarations
3362         (_Jv_ThrowIOException): added both overload declarations
3363         (_Jv_ThrowSocketException): added both overload declarations
3364         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3365         (_Jv_select): added declaration
3366         (_Jv_socket): removed
3367         (_Jv_connect): removed
3368         (_Jv_close): removed
3369         (_Jv_bind): removed
3370         (_Jv_accept): removed
3371         (_Jv_listen): removed
3372         (_Jv_write): removed
3373         (_Jv_read): removed
3374         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3375         whitespace inconsistencies
3376         replaced <windows.h> #include with <platform.h>
3377         removed jvm.h include
3378         (testCanUseGetHandleInfo): new function which tests whether Win32
3379         GetHandleInformation() call can be used with console buffer handles
3380         (only supported on >=WinNT 5.0)
3381         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3382         (valid): rewrote implementation using GetHandleInformation()
3383         (sync):         changed exception throwing to use error string and exception
3384         helper methods declared in include/win32.h
3385         (open): likewise
3386         (write): likewise
3387         (setLength): likewise
3388         (close): likewise
3389         (seek): likewise
3390         (getFilePointer): likewise
3391         (read): likewise
3392         * java/io/natFileWin32.cc: fixed tab, indentation and
3393         whitespace inconsistencies
3394         replaced <windows.h> #include with <platform.h>
3395         removed jvm.h include
3396         (_access): use JV_TEMP_UTF_STRING
3397         (_stat): likewise
3398         (performMkDir): use JV_TEMP_UTF_STRING
3399         (performRenameTo): likewise
3400         (performDelete): likewise
3401         (performCreate): likewise
3402         (performSetReadOnly): likewise
3403         (performSetLastModified): likewise
3404         * java/lang/natWin32Process.cc: fixed tab, indentation and
3405         whitespace inconsistencies
3406         replaced <windows.h> #include with <platform.h>
3407         removed includes gcj/cni.h, jvm.h
3408         (new_string): removed
3409         (startProcess): use JV_TEMP_UTF_STRING,
3410         changed exception throwing to use error string and exception
3411         helper methods declared in include/win32.h
3412         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3413         whitespace inconsistencies
3414         replaced <windows.h> #include with <platform.h>
3415         removed jvm.h include
3416         removed DISABLE_JAVA_NET conditional code
3417         removed POSIX conditional code not relevant to Win32
3418         (aton): use JV_TEMP_UTF_STRING
3419         removed POSIX conditional code not relevant to Win32
3420         (lookup): likewise
3421         (getLocalHostName): likewise
3422         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3423         whitespace inconsistencies
3424         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3425         removed DISABLE_JAVA_NET conditional code
3426         removed POSIX conditional code not relevant to Win32
3427         (winsock2GetRealNetworkInterfaces): new function to compute network
3428         interfaces via Winsock2 API
3429         (determineGetRealNetworkInterfacesFN): new function for returning
3430         a function pointer to the function used to compute network interfaces.
3431         (getRealNetworkInterfaces): implemented
3432         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3433         whitespace inconsistencies
3434         removed gcj/cni.h include
3435         removed DISABLE_JAVA_NET conditional code
3436         removed POSIX conditional code not relevant to Win32
3437         changed net POSIXisms to Win32isms
3438         replaced _Jv socket-related calls with their real Win32 equivalents
3439         changed exception throwing to use error string and exception
3440         helper methods declared in include/win32.h
3441         (peekData): implemented timeout support
3442         (receive): likewise
3443         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3444         whitespace inconsistencies
3445         removed gcj/cni.h and gcj/javaprims.h includes
3446         removed DISABLE_JAVA_NET conditional code
3447         removed POSIX conditional code not relevant to Win32
3448         changed net POSIXisms to Win32isms
3449         replaced _Jv socket-related calls with their real Win32
3450         equivalents
3451         changed exception throwing to use error string and exception
3452         helper methods declared in include/win32.h
3453         (throwConnectException): helper function for connect()
3454         (connect): implemented timeout support
3455         (accept): likewise
3456         (doRead): new helper function common to both read() method overloads,
3457         includes timeout support
3458         (read): implemented both overloads in terms of doRead()
3459         (available): implemented using ioctlsocket()
3460
3461 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3462
3463         * java/net/natInetAddressWin32.cc,
3464         java/net/natNetworkInterfaceWin32.cc,
3465         java/net/natPlainDatagramSocketImplWin32.cc,
3466         java/net/natPlainSocketImplWin32.cc:
3467         Readded code enclosed in DISABLE_JAVA_NET defines
3468         in preparation for MinGW cleanup / networking
3469         patch
3470
3471 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3472
3473         * Makefile.am: Fixed problems with parallel makes.
3474         (all_java_class_files): Readded definition.
3475         (all_java_class_files): New target which depends on
3476         libgcj-@gcc_version@.jar
3477         * Makefile.in: Rebuilt
3478
3479 2003-08-28  Tom Tromey  <tromey@redhat.com>
3480
3481         * Makefile.in: Rebuilt.
3482         * Makefile.am (ordinary_java_source_files): Added new files.
3483         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3484         friend.
3485         * java/net/URLClassLoader.java (findClass): Don't use
3486         findURLResource.  Use loader's getClass method.
3487         (URLLoader.getClass): New method.
3488         (addURL): Handle `gcjlib' URLs.
3489         (SoURLLoader): New class.
3490         (SoResource): Likewise.
3491         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3492         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3493         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3494         (_Jv_RegisterCoreHook): Declare.
3495         (_Jv_FindCore): Declare.
3496         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3497         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3498         typedef.
3499         (core_hook): New function.
3500         (struct SharedLibDummy) [saved_core]: New field.
3501         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3502         (register_hook): Set protection domain and class loader on new
3503         class.
3504         (finalize): Free core chain.
3505         * gnu/gcj/Core.java (Core): New constructor.
3506         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3507         SharedLibHelper.
3508         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3509         (_Jv_create_core): New function.
3510         (create): Use it.
3511         (default_register_resource): New function.
3512         (_Jv_RegisterCoreHook): New global.
3513         (_Jv_RegisterResource): Use it.
3514         (core_chain_struct): Removed.
3515         (_Jv_FindCore): New function.
3516         (_Jv_FreeCoreChain): New function.
3517
3518 2003-08-29  Michael Koch  <konqueror@gmx.de>
3519
3520         * java/net/natInetAddressWin32.cc,
3521         java/net/natNetworkInterfaceWin32.cc,
3522         java/net/natPlainDatagramSocketImplWin32.cc,
3523         java/net/natPlainSocketImplWin32.cc:
3524         Removed code enclosed in DISABLE_JAVA_NET defines.
3525
3526 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3527
3528         * Makefile.am: (write_entries_to_file) New parameterized
3529         function for writing entries to a file one line at a time.
3530         (all_java_class_files): Removed definition.
3531         (.java.class) Removed.target.
3532         (libgcj-@gcc_version@.jar): Changed dependency to
3533         $(all_java_source_files); added compilation step which compiles
3534         all changed source files in one pass.
3535         (libgcj.la) Refactored to use write_entries_to_file.
3536         (lib-gnu-awt-xlib.la) Likewise.
3537         (install-data-local) Likewise.
3538         (write-entries-to-file-check) New target which tests write_entries_to_file.
3539         (all-recursive): Changed dependency from $(all_java_class_files)
3540         to libgcj-@gcc_version@.jar
3541         * Makefile.in: Rebuilt.
3542
3543 2003-08-26  Tom Tromey  <tromey@redhat.com>
3544
3545         * java/lang/StrictMath.java: Typo fix.
3546         * java/lang/Math.java: Typo fix.
3547
3548 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3549
3550         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3551         of the removed Thread.
3552
3553 2003-08-26  Mark Wielaard  <mark@klomp.org>
3554
3555         Reported by David Holmes <dholmes@dltech.com.au>.
3556         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3557         Collections.synchronizedMap.
3558         * java/lang/ThreadLocal.java (valueMap): Likewise.
3559
3560 2003-08-26  Mark Wielaard  <mark@klomp.org>
3561
3562         * java/security/acl/Acl.java: Fix broken p tag.
3563         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3564         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3565         * javax/swing/plaf/TreeUI.java: Likewise.
3566         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3567         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3568         documentation.
3569         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3570         tag.
3571
3572 2003-08-26  Tom Tromey  <tromey@redhat.com>
3573
3574         * Makefile.in: Rebuilt.
3575         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3576
3577         * java/lang/ref/Reference.java (get): Indentation fix.
3578         (clear): Comment fix.
3579         (enqueue): Likewise.
3580         (lock): Likewise.
3581         (referent): Likewise.
3582
3583 2003-08-26  Tom Tromey  <tromey@redhat.com>
3584
3585         PR java/12058:
3586         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3587
3588         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3589         (ProxyData.getPackage): New method.
3590         (ProxyData.getProxyData): Use package name, not Package.
3591         (ClassFactory.ClassFactory): Updated.
3592
3593 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3594         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3595         * Makefile.in: re-generated.
3596         * gnu/awt/j2d/IntegerGraphicsState.java
3597         (ScreenCoupledImage): new interface.
3598         (drawImage): detect ScreenCoupledImage instances.
3599         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3600         * gnu/awt/xlib/XEventLoop.java
3601         (createEvent): re-formatted, and rearranged to avoid null pointer.
3602         * gnu/awt/xlib/XGraphics.java
3603         (drawImage): added XOffScreenImage handling.
3604         * gnu/awt/xlib/XOffScreenImage.java: new file.
3605         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3606         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3607         * gnu/gcj/xlib/XAnyEvent.java
3608         (TYPE_KEY_PRESS): new constant.
3609         (TYPE_KEY_RELEASE): new constant.
3610         (TYPE_MOTION_NOTIFY): new constant.
3611         (TYPE_ENTER_NOTIFY): new constant.
3612         (TYPE_LEAVE_NOTIFY): new constant.
3613         (TYPE_FOCUS_IN): new constant.
3614         (TYPE_FOCUS_OUT): new constant.
3615         (TYPE_KEYMAP_NOTIFY): new constant.
3616         (TYPE_GRAPHICS_EXPOSE): new constant.
3617         (TYPE_NO_EXPOSE): new constant.
3618         (TYPE_VISIBILITY_NOTIFY): new constant.
3619         (TYPE_CREATE_NOTIFY): new constant.
3620         (TYPE_DESTROY_NOTIFY): new constant.
3621         (TYPE_MAP_REQUEST): new constant.
3622         (TYPE_CONFIGURE_REQUEST): new constant.
3623         (TYPE_GRAVITY_NOTIFY): new constant.
3624         (TYPE_RESIZE_REQUEST): new constant.
3625         (TYPE_CIRCULATE_NOTIFY): new constant.
3626         (TYPE_CIRCULATE_REQUEST): new constant.
3627         (TYPE_PROPERTY_NOTIFY): new constant.
3628         (TYPE_SELECTION_CLEAR): new constant.
3629         (TYPE_SELECTION_REQUEST): new constant.
3630         (TYPE_SELECTION_NOTIFY): new constant.
3631         (TYPE_COLORMAP_NOTIFY): new constant.
3632         (TYPE_MAPPING_NOTIFY): new constant.
3633         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3634         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3635         * java/awt/Component.java (createImage): changed to use peer method.
3636
3637 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3638
3639         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3640         name, not XLFD, to native drawString.
3641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3642         Replace XLFD-based implementation with Pango-based
3643         implementation.
3644
3645 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3646
3647         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3648         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3649
3650 2003-08-21  David Daney  <ddaney@avtrex.com>
3651
3652         Fix for PR libgcj/12013:
3653         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3654         Check `cleared' field.
3655         * java/lang/ref/Reference.java (copy): Updated comments.
3656         (cleared): New field.
3657         (clear): Rewrote.
3658
3659 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3660             Thomas Fitzsimmons  <fitzsim@redhat.com>
3661
3662         * Makefile.am (gtk_awt_peer_sources): Add
3663         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3664         gnu/java/awt/GLightweightPeer.java.
3665         * gnu/java/awt/GLightweightPeer.java: Remove file.
3666         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3667         * java/awt/Component.java (getToolkit): Add comment about
3668         lightweight components.
3669         * java/awt/Toolkit.java (createComponent): Return
3670         gnu.java.awt.peer.GLightweightPeer.
3671
3672 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3673
3674         * configure.in: Fix detection of gcj when building with newlib.
3675         * configure: Regenerated.
3676
3677 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3678
3679         * jni.cc: Replace "cheating" pointer-casting code with
3680         extract_from_jvalue<> template.
3681
3682 2003-08-20  Andrew Haley  <aph@redhat.com>
3683
3684         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3685         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3686         (classAt): Break out class lookup function into getClass().
3687         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3688         handlers when using -fno-assume-compiled.
3689
3690 2003-08-20  Tom Tromey  <tromey@redhat.com>
3691
3692         Fix for PR libgcj/9125:
3693         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3694         object outside of loop.  Respect lib_control setting.
3695         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3696         field.
3697         (lib_control): New field.
3698         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3699         (VMClassLoader): Initialize new field.
3700
3701         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3702         Set `list->reference' to DELETED_REFERENCE when removing dead
3703         object.
3704         (find_slot): Added an assert.
3705         (DELETED_REFERENCE): New define.
3706         (add_to_hash): Check for DELETED_REFERENCE.
3707         (remove_from_hash): Just return if found slot isn't ours.
3708
3709 2003-08-19  Andrew Haley  <aph@redhat.com>
3710
3711         * prims.cc (unblock_signal): New function.
3712         (catch_segv): Use it.
3713         (catch_fpe): Likewise.
3714
3715 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3716
3717         PR libgcj/11575
3718         * java/io/natFileDescriptorWin32.cc (open): Set create
3719         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3720         Honor EXCL when openning with WRITE flag. 
3721
3722 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3723
3724         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3725         getting a temporary C string from a jstring)
3726         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3727         but uses a stack buffer if the string length is less than 256
3728         bytes.
3729
3730 2003-08-18  Tom Tromey  <tromey@redhat.com>
3731
3732         PR libgcj/11951:
3733         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3734         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3735         value.  Added is_jni_call argument; only wrap exception if not a
3736         JNI call.  Use descriptive message if operation not supported.
3737         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3738         array class.
3739         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3740         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3741         _Jv_CallAnyMethodA.
3742         (_Jv_JNI_CallAnyMethodA): Likewise.
3743         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3744         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3745
3746 2003-08-13  Tom Tromey  <tromey@redhat.com>
3747
3748         * gij.cc (help): Document -? and -X.
3749
3750 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3751
3752         * java/awt/Font.java: 
3753         Stub out more recent API. 
3754
3755 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3756
3757         * java/awt/Color.java (getAlpha): 
3758         Prevent sign-extended alpha values.
3759
3760 2003-08-12  Tom Tromey  <tromey@redhat.com>
3761
3762         * gij.cc (main): Handle -? and -X.
3763
3764 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3765
3766         * java/awt/Container.java
3767         (getPreferredSize): Call preferredSize.
3768         (preferredSize): Moved body of getPreferredSize here.
3769         (getMinimumSize): Call minimumSize.
3770         (minimumSize): Moved body of getMinimumSize here.
3771
3772 2003-08-11  Tom Tromey  <tromey@redhat.com>
3773
3774         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3775         (postEvent): Removed FIXME comment.
3776         (isDispatchThread): Documented.
3777         (getCurrentEvent): New method.
3778         (dispatchEvent): Set currentEvent and lastWhen.
3779         (getMostRecentEventTime): Rewrote.
3780         (invokeLater): Documented.
3781
3782 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3783
3784         * java/io/PrintStream.java (print): Always flush if auto_flush is
3785         set. Don't check for newline characters.
3786         (write (int)): Implement without using a temporary array.
3787         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3788         check for newline characters.
3789         Fixes PR libgcj/11778.
3790
3791 2003-08-08  Andrew Haley  <aph@redhat.com>
3792
3793         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3794         * Makefile.in: Rebuild.
3795         * java/lang/natRuntime.cc (insertSystemProperties): Add
3796         "sun.boot.class.path".
3797
3798 2003-08-07  Andrew Haley  <aph@redhat.com>
3799
3800         * java/io/PrintStream.java: Don't crash on a null string.
3801         
3802 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3803
3804         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3805         * configure: Regenerate.
3806
3807 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3808
3809         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3810         SocketImpl. Update Javadoc.
3811         (bind): Call close() not impl.close() in event of exception.
3812         (connect): Likewise.
3813         Remove superfluous null checks throughout.
3814         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3815         Don't create an extra socket. Fix for PR libgcj/10868.
3816         (bind): Clean up exception handling.
3817         Remove superfluous null checks throughout.
3818
3819 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3820             Bryce McKinlay  <bryce@mckinlay.net.nz>
3821
3822         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3823         ready-to-write argument to _Jv_Select. Reset the socket back to 
3824         non-blocking state after connecting.
3825         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3826         Throw SocketTimeoutException not InterruptedIOException.
3827         (read): Throw SocketTimeoutException not InterruptedIOException.
3828
3829 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3830
3831         * java/lang/Thread.java (Thread): Check for null "name" from
3832         start of private constructor, not after calling the private
3833         constructor.
3834
3835 2003-08-06  Tom Tromey  <tromey@redhat.com>
3836
3837         * java/io/FilePermission.java (equals): Use correct index for
3838         last character of path.
3839
3840 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3841
3842         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3843         * configure.in: Compare with_cross_host to build_alias, not build.
3844         * aclocal.m4: Regenerate.
3845         * configure: Regenerate.
3846
3847 2003-08-05  Tom Tromey  <tromey@redhat.com>
3848
3849         Fix for PR libgcj/11779:
3850         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3851         class.
3852
3853         * java/lang/reflect/Method.java: Updated status comment.
3854         Imported javadoc from Classpath and re-ordered methods.
3855         * java/lang/reflect/Constructor.java: Reindented.  Updated
3856         status comment.  Imported javadoc from Classpath and re-ordered
3857         methods.
3858
3859 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3860
3861         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3862         Add keyLocation parameter.
3863         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3864         string.
3865         (paramString): Generate keyChar string according to keyChar, not
3866         keyCode.
3867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3868         (state_to_awt_mods): Handle ALT key.
3869         (keyevent_state_to_awt_mods): New function.
3870         (get_first_keyval_from_keymap): New function.
3871         (keysym_to_awt_keycode): Get virtual key code from keymap.
3872         Handle missing VK_ values.
3873         (keysym_to_awt_keylocation): New function.
3874         (keyevent_to_awt_keychar): New function.
3875         (generates_key_typed_event): Handle non-text-component case.
3876         Handle GDK_KP_Delete and GDK_KP_Enter.
3877         (awt_event_handler): Call new functions to get postKeyEvent
3878         parameters.
3879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3880         Update postKeyEvent method signature.
3881         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3882         VK_ defines.
3883
3884 2003-08-05  Matthias Klose  <doko@debian.org>
3885
3886         * aclocal.m4: check for libart-config binary
3887           under the name libart2-config as well.
3888         * configure: regenerated.
3889
3890 2003-08-04  David P Grove  <groved@us.ibm.com>
3891
3892         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3893         when groupingSize is 0.
3894         (parse): Likewise.
3895
3896 2003-08-04  Matthias Klose  <doko@debian.org>
3897
3898         * libart.m4: check for libart-config binary
3899           under the name libart2-config as well.
3900         * configure, aclocal.m4: regenerated.
3901
3902 2003-08-02  Michael Koch  <konqueror@gmx.de>
3903
3904         * java/nio/ByteBufferImpl.java
3905         (getChar): Check remaining bytes, fixed comment about endianess.
3906         (putChar): Likewise.
3907         (getShort): Likewise.
3908         (putShort): Likewise.
3909         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3910         endianess.
3911         (putInt): Likewise.
3912         (getLong): Likewise.
3913         (putLong): Likewise.
3914         (getFloat): Likewise.
3915         (putFloat): Likewise.
3916         (getDouble): Likewise.
3917         (putDouble): Likewise.
3918         * java/nio/DirectByteBufferImpl.java
3919         (getChar): Wrapped code, fixed comment about endianess.
3920         (putchar): Likewise.
3921         (getShort): Likewise.
3922         (putShort): Likewise.
3923         (getInt): Fixed conversion, fixed comment about endianess.
3924         (putInt): Likewise.
3925         (getLong): Likewise.
3926         (putLong): Likewise.
3927         (getFloat): Likewise.
3928         (putFloat): Likewise.
3929         (getDouble): Likewise.
3930         (putDouble): Likewise.
3931         * java/nio/MappedByteBufferImpl.java
3932         (compact): Implemented.
3933         (getChar): Implemented.
3934         (putChar): Implemented.
3935         (getDouble): Implemented.
3936         (putdouble): Implemented.
3937         (getFloat): Implemented.
3938         (putFloat): Implemented.
3939         (getInt): Implemented.
3940         (putInt): Implemented.
3941         (getLong): Implemented.
3942         (putLong): Implemented.
3943         (getShort): Implemented.
3944         (putShort): Implemented.
3945         * java/nio/channels/FileChannelImpl.java
3946         (read): Set position where to access file.
3947         (write): Likewise.
3948         (transferTo): Flip buffer after read and before write.
3949         (transferFrom): Likewise.
3950
3951 2003-08-02  Michael Koch  <konqueror@gmx.de>
3952
3953         * gnu/java/lang/ArrayHelper.java
3954         (equalsArray): Reformated, added method documentation.
3955
3956 2003-08-02  Michael Koch  <konqueror@gmx.de>
3957
3958         * java/net/URL.java
3959         (URL): Added paragraph about the
3960         gnu.java.net.nocache_protocol_handlers property.
3961         (ph_cache): Renamed from handlers to match classpath's implementation.
3962         Reordered it with factory and serialVersionUID member variables.
3963         (cache_handlers): New member variable.
3964         (static): New static initializer to initialize cache_handlers from
3965         gnu.java.net.nocache_protocol_handlers property.
3966         (URL): Use ph_cache instead of handlers, reformatted some code to
3967         match classpath's implementation.
3968
3969 2003-08-01  Tom Tromey  <tromey@redhat.com>
3970
3971         Fix for PR libgcj/11241:
3972         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3973         initialCapacity is 0, set it to 1.
3974
3975 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3976
3977         * java/net/SocketImpl.java (toString): Display the remote address
3978         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3979
3980 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3981
3982         * javax/swing/border/BevelBorder.java,
3983         javax/swing/border/EtchedBorder.java,
3984         javax/swing/border/LineBorder.java,
3985         javax/swing/border/MatteBorder.java,
3986         javax/swing/border/SoftBevelBorder.java,
3987         javax/swing/plaf/BorderUIResource.java,
3988         javax/swing/plaf/ComponentUI.java,
3989         javax/swing/plaf/TreeUI.java,
3990         javax/swing/plaf/basic/BasicBorders.java,
3991         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3992         javax/swing/plaf/basic/BasicTreeUI.java:
3993         Prepend "doc-files" to all paths to embedded Javadoc images, so
3994         that the generated documentation contains the correct URL.
3995
3996 2003-08-01  Tom Tromey  <tromey@redhat.com>
3997
3998         * configure: Rebuilt.
3999         * configure.in (tool_include_dir): Redefine to match gcc.
4000
4001 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
4002             Mark Wielaard  <mark@klomp.org>
4003             
4004         * java/math/BigDecimal (divide): Correctly handle
4005         ROUND_HALF_EVEN when amount is greater than 0.5.
4006         Simplify and optimize code.
4007
4008 2003-07-31  Tom Tromey  <tromey@redhat.com>
4009
4010         More for PR libgcj/11737:
4011         * java/io/ObjectInputStream.java (processResolution): Use
4012         getMethod.
4013         (getMethod): Make method accessible.
4014         (getField): Make field accessible.
4015         (setBooleanField): Don't call setAccessible here.
4016         (setByteField, setCharField, setDoubleField, setFloatField,
4017         setIntField, setLongField, setShortField, setObjectField):
4018         Likewise.
4019         (callReadMethod): Don't check whether method is null.  Catch
4020         NoSuchMethodException.
4021         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4022         cause on thrown exceptions.
4023
4024 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
4025
4026         Fix for PR libgcj/11728:
4027         * java/util/HashMap.java (readObject): Set size.
4028
4029 2003-07-31  Tom Tromey  <tromey@redhat.com>
4030
4031         Fix for PR libgcj/11737:
4032         * java/io/ObjectOutputStream.java (getMethod): Make method
4033         accessible.
4034         (getField): Likewise.
4035         (writeObject): Use getMethod.
4036         Import PrivilegedAction and AccessController.
4037         (callWriteMethod): Don't check whether m is null.  Catch
4038         NoSuchMethodException.
4039
4040         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4041         (containsAngle): Likewise.
4042         (getStartPoint): Rewrote.
4043         (getEndPoint): Likewise.
4044         (setAngleStart(Point2D)): Likewise.
4045
4046 2003-07-31  Roger Sayle  <roger@eyesopen.com>
4047             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4048
4049         * configure.in: Add new THREADCXXFLAGS variable.
4050         Handle POSIX threads on alpha*-dec-osf*.
4051         * configure: Regenerate.
4052         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4053         * Makefile.in: Regenerate.
4054
4055 2003-07-08  Andrew Haley  <aph@redhat.com>
4056
4057         * include/i386-signal.h (RESTORE): New.
4058         (INIT_SEGV): Set restorer.
4059         (INIT_FPE): Likewise.
4060
4061 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4062
4063         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4064         than getXLFD.
4065         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4066         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4067         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4068         (gtkSetFont): Scale size parameter by PANGO_SCALE.
4069         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4070         Likewise.
4071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4072         Likewise.
4073
4074 2003-07-29  Tom Tromey  <tromey@redhat.com>
4075
4076         * defineclass.cc (handleField): Throw exception if field name is
4077         duplicated.
4078         (handleMethod): Throw exception for duplicate method.
4079
4080 2003-07-29  Tom Tromey  <tromey@redhat.com>
4081
4082         * gnu/gcj/convert/natIconv.cc (write): Handle case where
4083         output buffer is too small.
4084
4085 2003-07-28  Tom Tromey  <tromey@redhat.com>
4086
4087         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4088         New method.
4089         Include gnu/gcj/runtime/StringBuffer.h.
4090         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4091         native method.
4092         (String(gnu.gcj.runtime.StringBuffer)): Use it.
4093
4094 2003-07-27  Anthony Green  <green@redhat.com>
4095
4096         * configure.in: Fix newlib check.
4097         * configure: Rebuilt.
4098
4099 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
4100
4101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4102         Create vbox and layout for GtkPlug.
4103
4104 2003-07-27  Michael Koch  <konqueror@gmx.de>
4105
4106         * java/awt/Window.java
4107         (Window): Removed now unused constructor. It became oboslete with the
4108         new embedded window patch.
4109
4110 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
4111             Michael Koch  <konqueror@gmx.de>
4112
4113         * gnu/java/awt/EmbeddedWindow.java
4114         (EmbeddedWindow): Extends Frame instead of Window.
4115         (window_id): New member variable to store the native window handle.
4116         (create): Removed.
4117         (EmbeddedWindow): New constructor.
4118         (addNotify): New method.
4119         (getHandler): Likewise.
4120         (setWindowPeer): New native method.
4121         * gnu/java/awt/EmbeddedWindowSupport.java
4122         (EmbeddedWindowSupport): Fixed documentation.
4123         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4124         WindowPeer, give it an EmbeddedWindow instance instead of the raw
4125         window data.
4126         * gnu/java/awt/natEmbeddedWindow.cc
4127         (create): Removed.
4128         (setWindowPeer): New method.
4129         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4130         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4131         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4132         New files
4133         * gnu/java/awt/peer/gtk/GtkToolkit.java
4134         (GtkToolkit): Implements EmbeddedWindowSupport.
4135         (createEmbeddedWindow): New method.
4136         * java/awt/Window.java
4137         (Window): Removed.
4138         * Makefile.am
4139         (java_source_files): Added EmbeddedWindowPeer.java.
4140         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4141         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4142         * Makefile.in: Regenerated.
4143
4144 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4145
4146         * java/lang/Win32Process.java (ConcreteProcess): Surround
4147         a command line element with quotes if it contains an
4148         embedded space or tab.
4149         * java/lang/natWin32Process.cc (startProcess): Do not
4150         surround command line elements with quotes here.
4151
4152         * configure.host: Use -fcheck-references and 
4153         -fuse-divide-subroutine for MinGW until we fix
4154         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4155         Structured Exception Handling (SEH).
4156
4157         * win32.cc (_Jv_platform_initProperties): Use generic names
4158         like "x86" for the "os.arch" property to be consistent with
4159         what Sun's JDK produces. Use the wProcessorArchitecture
4160         member of the Win32 SYSTEM_INFO structure, filled in a call 
4161         to GetSystemInfo( ), instead of dwProcessorType.
4162
4163 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4164             Ranjit Mathew  <rmathew@hotmail.com>
4165
4166         * Makefile.am: Use cross-compiling gcjh from the path for
4167         a crossed-native build.
4168         * Makefile.in: Rebuilt.
4169         * configure.in: Include libltdl in non-newlib builds.
4170         Moved determination of gcj used to build libraries to
4171         its own section. Fixed cross-compilation issues for
4172         non-newlib builds.
4173         * configure: Rebuilt.
4174
4175 2003-07-25  Tom Tromey  <tromey@redhat.com>
4176
4177         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4178         (write): Likewise.
4179         (read): Likewise.
4180         (read): Likewise.
4181
4182 2003-07-25  Mark Wielaard  <mark@klomp.org>
4183
4184         * java/lang/natRuntime.cc (_load): Add library name to
4185         UnsatisfiedLinkError when thrown.
4186
4187 2003-07-25  Mark Wielaard  <mark@klomp.org>
4188
4189         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4190         added.
4191         * Makefile.in: Likewise.
4192
4193 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4194
4195         * java/awt/Component.java
4196         (getPreferredSize): Call preferredSize.
4197         (preferredSize): Moved body of getPreferredSize here.
4198         (getMinimumSize): Call minimumSize.
4199         (minimumSize): Moved body of getMinimumSize here.
4200         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4201         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4202         pass -1
4203         * java/awt/Container.java
4204         (validate): Don't validate if there is no peer.
4205         (update): Clear background before calling paint.
4206         * java/awt/GridBagLayout.java
4207         Completed the implementation and fixed several bugs.
4208         * java/awt/MediaTracker.java
4209         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4210         combine flags.
4211         * java/awt/Window.java
4212         (Window): Don't call setVisible(false). Windows are invisible by
4213         default and calling virtual methods from constructor causes
4214         compatibility problems (e.g. subclasses may assume that the peer
4215         already exists).
4216
4217 2003-07-25  Michael Koch  <konqueror@gmx.de>
4218
4219         * java/awt/GridBagLayout.java:
4220         Totally reworked and partly implemented.
4221         * java/awt/GridBagLayoutInfo.java:
4222         New file.
4223
4224 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4225
4226         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4227         Don't pack label in an event box.
4228
4229 2003-07-24  Tom Tromey  <tromey@redhat.com>
4230
4231         For PR libgcj/7482:
4232         * verify.cc (ref_intersection): New class.
4233         (type_val): Removed unresolved_reference_type,
4234         uninitialized_unresolved_reference_type.
4235         (is_assignable_from_slow): Rewrote.
4236         (type::data): Removed.
4237         (type::klass): New field.
4238         (type::type): Added verifier argument.
4239         (type::resolve): Removed.
4240         (type::set_uninitialized): Updated for change to type_val.
4241         (type::set_initialized): Likewise.
4242         (type::isinitialized): Likewise.
4243         (type::print): Likewise.
4244         (construct_primitive_array_type): Likewise.
4245         (type::compatible): Updated for change to type_val and to use
4246         ref_intersection.
4247         (type::isarray): Updated to use ref_intersection.
4248         (type::isinterface): Likewise.
4249         (type::element_type): Likewise.
4250         (type::to_array): Likewise.
4251         (type::verify_dimensions): Rewrote.
4252         (type::merge): Likewise.
4253         (check_class_constant): Updated for type constructor change.
4254         (check_constant): Likewise.
4255         (check_field_constant): Likewise.
4256         (get_one_type): Likewise.
4257         (initialize_stack): Likewise.
4258         (verify_instructions_0): Likewise.
4259         (verify_instructions_0) [op_invokeinterface]: Removed special
4260         case.
4261         (isect_list): New field.
4262         (_Jv_BytecodeVerifier): Initialize it.
4263         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4264
4265 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4266
4267         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4268         unless field size is 2.
4269
4270 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4271
4272         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4273         (connectHooks): New method.
4274         (handleEvent): Remove.
4275         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4276         (createHooks): Remove declaration.
4277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4278         (generates_key_typed_event): Change to handle only certain
4279         keyvals.
4280         (awt_event_handler): Add special handling for GtkTextView.
4281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4282         (textcomponent_commit_cb): New function.
4283         (textcomponent_changed_cb): Likewise.
4284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4285         (connectHooks): Remove.
4286
4287 2003-07-23  Tom Tromey  <tromey@redhat.com>
4288
4289         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4290
4291         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4292
4293 2003-07-22  Tom Tromey  <tromey@redhat.com>
4294
4295         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4296         Include limits.h.
4297
4298 2003-07-22  Tom Tromey  <tromey@redhat.com>
4299
4300         * java/awt/Window.java (getWarningString): Just return the
4301         string.
4302         (Window): Set warningString; check with security manager.
4303
4304 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4305
4306         * gnu/awt/xlib/XGraphicsConfiguration.java
4307         (FontMetricsCache): Made static.
4308  
4309 2003-07-22  Tom Tromey  <tromey@redhat.com>
4310
4311         * java/net/URLEncoder.java (encode(String)): Use platform default
4312         encoding.
4313         (encode(String,String)): Convert to 2-digit upper-case hex
4314         number.
4315         (hex): New field.
4316
4317 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4318
4319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4320         (create): Remove unused method implementation.
4321         (connectHooks): Remove debug messages.
4322
4323 2003-07-20  Anthony Green  <green@redhat.com>
4324
4325         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4326         CloneNotSupportedException.
4327         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4328         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4329         * gnu/gcj/xlib/GC.java (clone): Ditto.
4330         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4331         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4332
4333         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4334         handler.
4335         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4336
4337 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4338
4339         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4340         String.  Put dlerror() message into exception.
4341         Include UnsatisfiedLinkError.
4342         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4343         String.  Now native.
4344
4345 2003-07-20  Tom Tromey  <tromey@redhat.com>
4346
4347         * java/lang/Runtime.java: Comment fix.
4348         * java/lang/ClassLoader.java (isAncestorOf): New method.
4349         (getParent): Uncommented security check.  Use isAncestorOf.
4350         * include/jvm.h (_Jv_CheckAccess): Declare.
4351         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4352         access check.
4353         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4354         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4355         class loader to _Jv_GetArrayClass.
4356         Include ArrayIndexOutOfBoundsException.h.
4357         * java/lang/reflect/Field.java: Update comment to reflect status.
4358         (equals): Fixed indentation.
4359         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4360         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4361         * java/lang/Class.java (memberAccessCheck): New method from
4362         Classpath.
4363         (checkMemberAccess): Removed.
4364         (getDeclaredMethod): Use memberAccessCheck.
4365         (getField): Likewise.
4366         (getMethod): Likewise.
4367         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4368         (_Jv_SearchMethodInClass): Likewise.
4369         * prims.cc (_Jv_CheckAccess): New function.
4370         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4371         (_Jv_JNI_GetAnyFieldID): Likewise.
4372         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4373         (getClassLoader): Added security check.
4374         (getConstructor): Call memberAccessCheck.
4375         (getDeclaredClasses): Likewise.
4376         (getDeclaredField): Likewise.
4377         (getDeclaredFields): Likewise.
4378         (_getConstructors): Likewise.
4379         (getDeclaredConstructor): Likewise.
4380         (getDeclaredMethods): Likewise.
4381         (getFields): Likewise.
4382         (getMethods): Likewise.
4383         (newInstance): Likewise.
4384         (_Jv_MakeVTable): Put method name in exception.
4385         * java/lang/reflect/natMethod.cc (getType): Use
4386         getClassLoaderInternal.
4387         (_Jv_GetTypesFromSignature): Likewise.
4388         (invoke): Perform access check.
4389         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4390         Include ArrayIndexOutOfBoundsException.h.
4391         * java/lang/reflect/natField.cc (getType): Use
4392         getClassLoaderInternal.
4393         (_Jv_CheckFieldAccessibility): Removed.
4394         (getAddr): Use _Jv_CheckAccess; find caller.
4395         Include ArrayIndexOutOfBoundsException.h.
4396
4397 2003-07-20  Michael Koch  <konqueror@gmx.de>
4398
4399         * java/net/URL.java
4400         (URL): Fixed documentation to name an argument correcty, Reformatted
4401         one method declaration.
4402         (getURLStreamHandler): Added documentation from classpath.
4403
4404 2003-07-19  Tom Tromey  <tromey@redhat.com>
4405
4406         * mauve-libgcj: Don't run CollationElementIterator tests.
4407
4408 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4409
4410         * java/net/URLClassLoader.java (addURL): Moved implementation to
4411         private addURLImpl() to avoid calling addURL from the constructor.
4412         (addURLImpl): Contains the code that was previously in addURL.
4413         (addURLs): Call addURLImpl(), not addURL().
4414
4415 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4416
4417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4418         Handle missing event cases, connect to "value-changed" signal.
4419
4420 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4421
4422         * java/awt/geom/CubicCurve2D.java,
4423         java/awt/geom/Line2D.java,
4424         java/awt/geom/QuadCurve2D.java,
4425         java/awt/geom/Rectangle2D.java: 
4426         Fix path some calculations, make path iterators follow
4427         a consistent style.
4428
4429 2003-07-18  Mark Wielaard  <mark@klomp.org>
4430
4431         * java/util/logging/Handler.java (isLoggable): Check record level
4432         smaller or equal.
4433
4434 2003-07-17  Michael Koch  <konqueror@gmx.de>
4435
4436         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4437         Reworked imports.
4438
4439 2003-07-14  Michael Koch  <konqueror@gmx.de>
4440
4441         * gnu/java/rmi/server/UnicastServerRef.java:
4442         New version from classpath.
4443
4444 2003-07-14  Michael Koch  <konqueror@gmx.de>
4445
4446         * java/awt/image/MemoryImageSource.java,
4447         java/beans/PropertyEditorManager.java,
4448         javax/naming/CompoundName.java,
4449         javax/naming/spi/NamingManager.java,
4450         javax/swing/AbstractButton.java,
4451         javax/swing/ButtonModel.java,
4452         javax/swing/SwingUtilities.java,
4453         javax/swing/UIManager.java,
4454         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4455         javax/swing/event/AncestorEvent.java,
4456         javax/swing/event/InternalFrameEvent.java,
4457         java/util/zip/ZipFile.java:
4458         New versions from classpath.
4459
4460 2003-07-13  Michael Koch  <konqueror@gmx.de>
4461
4462         * gnu/java/nio/FileChannelImpl.java,
4463         gnu/java/nio/natFileChannelImpl.cc: Removed.
4464         * java/io/FileInputStream.java,
4465         java/io/FileOutputStream.java,
4466         java/io/RandomAccessFile.java,
4467         java/nio/MappedByteBufferImpl.java:
4468         Import java.nio.channels.FileChannelImpl instead of
4469         gnu.java.nio.FileChannelImpl.
4470         * java/nio/channels/FileChannelImpl.java,
4471         java/nio/channels/natFileChannelImpl.cc:
4472         New files.
4473         * Makefile.am
4474         (ordinary_java_source_files):
4475         Removed gnu/java/nio/FileChannelImpl.java and added
4476         java/nio/channels/FileChannelImpl.java.
4477         (nat source_files):
4478         Removed gnu/java/nio/natFileChannelImpl.cc and added
4479         java/nio/channels/natFileChannelImpl.cc.
4480         * Makefile.in: Regenerated.
4481
4482 2003-07-13  Michael Koch  <konqueror@gmx.de>
4483
4484         * javax/swing/plaf/basic/BasicBorders.java,
4485         javax/swing/plaf/basic/BasicLabelUI.java,
4486         javax/swing/plaf/basic/BasicLookAndFeel.java,
4487         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4488         javax/swing/plaf/basic/BasicTextUI.java,
4489         javax/swing/plaf/metal/MetalLookAndFeel.java:
4490         New versions from classpath.
4491
4492 2003-07-13  Michael Koch  <konqueror@gmx.de>
4493
4494         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4495         * gnu/java/awt/peer/gtk/GdkGraphics.java
4496         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4497         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4498         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4499         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4500         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4501         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4502         * gnu/java/awt/peer/gtk/GtkClipboard.java
4503         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4504         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4505         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4506         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4507         * gnu/java/awt/peer/gtk/GtkImage.java
4508         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4509         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4510         * gnu/java/awt/peer/gtk/GtkListPeer.java
4511         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4512         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4513         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4514         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4515         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4516         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4517         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4518         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4519         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4520         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4521         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4522         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4523
4524 2003-07-13  Michael Koch  <konqueror@gmx.de>
4525
4526         * gnu/java/locale/LocaleInformation_de.java
4527         * gnu/java/locale/LocaleInformation_en.java
4528         * gnu/java/locale/LocaleInformation_nl.java
4529
4530 2003-07-13  Michael Koch  <konqueror@gmx.de>
4531
4532         * gnu/java/awt/EmbeddedWindow.java,
4533         gnu/java/awt/EmbeddedWindowSupport.java,
4534         gnu/java/awt/natEmbeddedWindow.cc:
4535         New files.
4536         * java/awt/Window.java
4537         (Window): New constructor to support embedded windows.
4538         * Makefile.am
4539         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4540         gnu/java/awt/EmbeddedWindowSupport.java.
4541         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4542         * Makefile.in: Regenerated.
4543
4544 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4545
4546         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4547         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4548         * java/awt/im/InputContext.java: Remove a redundant
4549         partial line.
4550
4551 2003-07-09  Tom Tromey  <tromey@redhat.com>
4552
4553         * Makefile.in: Rebuilt.
4554         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4555
4556 2003-07-09  Mark Wielaard  <mark@klomp.org>
4557
4558         * java/io/ObjectOutputStream.java (writeObject): break after
4559         calling writeClassDescriptor().
4560
4561 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4562
4563         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4564
4565 2003-07-09  Michael Koch  <konqueror@gmx.de>
4566
4567         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4568         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4569         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4570         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4571         Explicitly import used classes.
4572         * java/awt/Container.java: New version from classpath.
4573
4574 2003-07-09  Michael Koch  <konqueror@gmx.de>
4575
4576         * libgcj.pc.in: New file.
4577         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4578         * Makefile.in: Regenerated.
4579         * configure: Regenrated.
4580         * configure.in: Create libgcj.pc from libgcj.pc.in.
4581
4582 2003-07-08  Mark Wielaard <mark@klomp.org>
4583
4584         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4585
4586         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4587         * java/lang/fdlibm.h: Likewise.
4588
4589 2003-07-07  Adam Megacz <adam@xwt.org>
4590
4591         * posix.cc: added #include<stdio.h>
4592                 
4593 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4594
4595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4596         formatting.
4597
4598         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4599         (setCaretPosition, setEditable): Rely entirely on native
4600         implementation.
4601         (getArgs): Remove.
4602         (postTextEvent): New method.
4603         (handleEvent): New method.
4604         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4605         method.
4606         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4608         (keysym_to_awt_keycode): Fix range checks.
4609         (generates_key_typed_event): New function.
4610         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4611         queue.
4612         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4613         (gtkInit): Store TextComponent's postTextEvent method ID.
4614         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4615         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4616
4617 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4618
4619         * configure.in: Check for usleep declaration.
4620         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4621         * configure: Regenerate.
4622         * include/config.h.in: Likewise.
4623         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4624
4625 2003-07-01  Michael Koch  <konqueror@gmx.de>
4626
4627         * gnu/gcj/convert/natIconv.cc
4628         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4629         handle.
4630
4631 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4632
4633         * glib-2.0.m4: New file.
4634         * gtk-2.0.m4: New file.
4635         * glib.m4: Remove.
4636         * gtk.m4: Remove.
4637         * configure.in: Update AM_PATH_GTK macro call to
4638         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4640         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4641         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4642         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4643         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4644         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4645         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4646         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4647         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4648         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4649         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4650         jni/gtk-peer/gthread-jni.c,
4651         jni/gtk-peer/gthread-jni.h:
4652         New versions from classpath.
4653         * aclocal.m4: Regenerate.
4654         * configure: Regenerate.
4655         * Makefile.in: Regenerate.
4656         * gcj/Makefile.in: Regenerate.
4657         * include/Makefile.in: Regenerate.
4658         * testsuite/Makefile.in: Regenerate.
4659
4660 2003-06-30  Gary Benson  <gbenson@redhat.com>
4661
4662         For PR libgcj/11349:
4663         * javax/naming/spi/NamingManager.java (getURLContext): Use
4664         correct name for factory class.
4665
4666 2003-06-28  Michael Koch  <konqueror@gmx.de>
4667
4668         * java/io/PrintStream.java
4669         (checkError): Call flush() instead of direct flushing of the Writer
4670         object.
4671         (print): Call print(String) instead of direct print method of the
4672         Writer Object.
4673         (println): Call println(String) instead of direct println method of the
4674         Writer Object.
4675         (write): Simplified.
4676
4677 2003-06-28  Michael Koch  <konqueror@gmx.de>
4678
4679         * java/net/ServerSocket.java
4680         (setChannel): New method.
4681         * java/net/Socket.java
4682         (setChannel): New method.
4683
4684 2003-06-27  Michael Koch  <konqueror@gmx.de>
4685
4686         * java/beans/beancontext/BeanContextSupport.java:
4687         New version from classpath.
4688
4689 2003-06-27  Michael Koch  <konqueror@gmx.de>
4690
4691         * java/awt/Window.java,
4692         java/awt/font/GraphicAttribute.java,
4693         java/awt/font/ImageGraphicAttribute.java,
4694         java/awt/image/DataBufferByte.java,
4695         java/awt/image/DataBufferInt.java,
4696         java/awt/image/DataBufferUShort.java,
4697         java/awt/image/DirectColorModel.java,
4698         java/awt/image/PixelGrabber.java:
4699         New versions from classpath.
4700
4701 2003-06-27  Michael Koch  <konqueror@gmx.de>
4702
4703         * java/security/Certificate.java
4704         (getGuarantor): Removed wrong @deprecated tag.
4705         (getPrincipal): Likewise.
4706         (getPublicKey): Likewise.
4707         (encode): Likewise.
4708         (decode): Likewise.
4709         (getFormat): Likewise.
4710         (toString): Likewise.
4711         * java/security/cert/PolicyQualifierInfo.java
4712         (PolicyQualifierInfo): Made final.
4713         * javax/security/auth/x500/X500Principal.java
4714         (serialVersionUID): New member variable.
4715
4716 2003-06-27  Michael Koch  <konqueror@gmx.de>
4717
4718         * java/text/Format.java
4719         (serialVersionUID): Fixed value.
4720
4721 2003-06-27  Michael Koch  <konqueror@gmx.de>
4722
4723         * java/net/Inet4Address.java
4724         (Inet4Address): Made package-private.
4725         * java/net/Inet6Address.java
4726         (Inet4Address): Made package-private.
4727
4728 2003-06-27  Michael Koch  <konqueror@gmx.de>
4729
4730         * java/io/RandomAccessFile.java
4731         (readLine): Removed wrong @deprecated tag.
4732         (getChannel): Made final.
4733
4734 2003-06-27  Michael Koch  <konqueror@gmx.de>
4735
4736         * gnu/java/nio/FileChannelImpl.java
4737         (write): Removed.
4738
4739 2003-06-27  Michael Koch  <konqueror@gmx.de>
4740
4741         * java/nio/ByteBufferImpl.java
4742         (ByteBufferImpl): Made it a package-private class
4743         * java/nio/CharBufferImpl.java
4744         (CharBufferImpl): Made it a package-private class
4745         * java/nio/DirectByteBufferImpl.java
4746         (DirectByteBufferImpl): Made it a package-private class
4747         * java/nio/DoubleBufferImpl.java
4748         (DoubleBufferImpl): Made it a package-private class
4749         * java/nio/FloatBufferImpl.java
4750         (FloatBufferImpl): Made it a package-private class
4751         * java/nio/IntBufferImpl.java
4752         (IntBufferImpl): Made it a package-private class
4753         * java/nio/LongBufferImpl.java
4754         (LongBufferImpl): Made it a package-private class
4755         * java/nio/ShortBufferImpl.java
4756         (ShortBufferImpl): Made it a package-private class
4757         * java/nio/channels/FileChannel.java
4758         (write): Made final.
4759         * java/nio/channels/ServerSocketChannel.java
4760         (ServerSocketChanne): Made protected.
4761
4762 2003-06-27  Michael Koch  <konqueror@gmx.de>
4763
4764         * javax/naming/CompositeName.java
4765         (serialVersionUID): New member variable.
4766         * javax/naming/CompoundName.java
4767         (serialVersionUID): New member variable.
4768         * javax/naming/InitialContext.java
4769         (InitialContext): Throws NamingException.
4770         (init): Likewise.
4771         * javax/naming/LinkRef.java
4772         (serialVersionUID): New member variable.
4773         (gteLinkName): Throws NamingException.
4774         * javax/naming/NamingException.java
4775         (serialVersionUID): New member variable.
4776         * javax/naming/NamingSecurityException.java
4777         (NamingSecurityException): Made abstract.
4778         (serialVersionUID): New member variable.
4779         * javax/naming/ReferralException.java
4780         (serialVersionUID): New member variable.
4781         * javax/naming/StringRefAddr.java
4782         (serialVersionUID): New member variable.
4783         * javax/naming/directory/BasicAttribute.java:
4784         Reworked imports.
4785         (serialVersionUID): New member variable.
4786         (get): Throws NamingException.
4787         (getAll): Throws NamingException.
4788         * javax/naming/directory/BasicAttributes.java:
4789         Reworked imports.
4790         (serialVersionUID): New member variable.
4791         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4792         (serialVersionUID): New member variable.
4793
4794 2003-06-27  Michael Koch  <konqueror@gmx.de>
4795
4796         * Makefile.am
4797         (awt_java_source_files): Added new files:
4798         javax/swing/Popup.java,
4799         javax/swing/PopupFactory.java
4800         * Makefile.in: Regenerated.
4801
4802 2003-06-27  Michael Koch  <konqueror@gmx.de>
4803
4804         * javax/swing/JWindow.java,
4805         javax/swing/event/AncestorEvent.java,
4806         javax/swing/event/HyperlinkEvent.java,
4807         javax/swing/event/InternalFrameEvent.java,
4808         javax/swing/event/ListDataEvent.java,
4809         javax/swing/event/TableModelEvent.java,
4810         javax/swing/plaf/PopupMenuUI.java,
4811         javax/swing/plaf/SplitPaneUI.java,
4812         javax/swing/plaf/TabbedPaneUI.java,
4813         javax/swing/plaf/TextUI.java,
4814         javax/swing/plaf/TreeUI.java,
4815         javax/swing/plaf/basic/BasicTextUI.java,
4816         javax/swing/plaf/basic/BasicTreeUI.java:
4817         New versions from classpath.
4818         * javax/swing/Popup.java,
4819         javax/swing/PopupFactory.jav:
4820         New source files from classpath.
4821         * javax/swing/plaf/doc-files/TreeUI-1.png:
4822         New binary files from classpath.
4823
4824 2003-06-25  Michael Koch  <konqueror@gmx.de>
4825
4826         * Makefile.am
4827         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4828         * Makefile.in: Regenerated.
4829
4830 2003-06-25  Michael Koch  <konqueror@gmx.de>
4831
4832         * javax/swing/plaf/ActionMapUIResource.java,
4833         javax/swing/plaf/BorderUIResource.java,
4834         javax/swing/plaf/ButtonUI.java,
4835         javax/swing/plaf/ColorChooserUI.java,
4836         javax/swing/plaf/ColorUIResource.java,
4837         javax/swing/plaf/ComboBoxUI.java,
4838         javax/swing/plaf/ComponentInputMapUIResource.java,
4839         javax/swing/plaf/ComponentUI.java,
4840         javax/swing/plaf/DesktopIconUI.java,
4841         javax/swing/plaf/DesktopPaneUI.java,
4842         javax/swing/plaf/DimensionUIResource.java,
4843         javax/swing/plaf/FileChooserUI.java,
4844         javax/swing/plaf/FontUIResource.java,
4845         javax/swing/plaf/IconUIResource.java,
4846         javax/swing/plaf/InputMapUIResource.java,
4847         javax/swing/plaf/InsetsUIResource.java,
4848         javax/swing/plaf/InternalFrameUI.java,
4849         javax/swing/plaf/LabelUI.java,
4850         javax/swing/plaf/ListUI.java,
4851         javax/swing/plaf/MenuBarUI.java,
4852         javax/swing/plaf/MenuItemUI.java,
4853         javax/swing/plaf/OptionPaneUI.java,
4854         javax/swing/plaf/PanelUI.java,
4855         javax/swing/plaf/ProgressBarUI.java,
4856         javax/swing/plaf/RootPaneUI.java,
4857         javax/swing/plaf/ScrollBarUI.java,
4858         javax/swing/plaf/ScrollPaneUI.java,
4859         javax/swing/plaf/SeparatorUI.java,
4860         javax/swing/plaf/SliderUI.java,
4861         javax/swing/plaf/TableHeaderUI.java,
4862         javax/swing/plaf/TableUI.java,
4863         javax/swing/plaf/ToolBarUI.java,
4864         javax/swing/plaf/ToolTipUI.java,
4865         javax/swing/plaf/ViewportUI.java:
4866         New versions from classpath.
4867         * javax/swing/plaf/SpinnerUI.java: 
4868         New file from classpath
4869
4870 2003-06-25  Michael Koch  <konqueror@gmx.de>
4871
4872         * java/awt/image/ColorModel.java:
4873         New version from classpath.
4874
4875 2003-06-25  Michael Koch  <konqueror@gmx.de>
4876
4877         * java/net/PlainDatagramSocketImpl.java:
4878         Partly merged with classpath, this mainly adds documentation.
4879
4880 2003-06-25  Michael Koch  <konqueror@gmx.de>
4881
4882         * java/io/ObjectInputStream.java
4883         (readClassDescriptor): New method.
4884         (readObject): Moved functionality to readClassDescriptor().
4885         * java/io/ObjectOutputStream.java
4886         (writeClassDescriptor): New method.
4887         (writeObject): Moved functionality to writeClassDescriptor().
4888
4889 2003-06-25  Michael Koch  <konqueror@gmx.de>
4890
4891         * javax/swing/plaf/basic/BasicListUI.java,
4892         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4893         Added missing methods.
4894
4895 2003-06-25  Michael Koch  <konqueror@gmx.de>
4896
4897         * javax/swing/event/AncestorEvent.java
4898         javax/swing/event/HyperlinkEvent.java
4899         javax/swing/event/InternalFrameEvent.java
4900         javax/swing/event/ListDataEvent.java
4901         javax/swing/event/TableModelEvent.java:
4902         Compile fixes.
4903
4904 2003-06-24  Michael Koch  <konqueror@gmx.de>
4905
4906         * java/net/URL.java:
4907         Renamed "handler" to "ph" in the whole file to match classpaths
4908         version.
4909         * java/net/URLStreamHandler.java:
4910         (equals): Renamed "handler" to "ph".
4911
4912 2003-06-24  Michael Koch  <konqueror@gmx.de>
4913
4914         * javax/swing/event/AncestorEvent.java,
4915         javax/swing/event/HyperlinkEvent.java,
4916         javax/swing/event/InternalFrameEvent.java,
4917         javax/swing/event/ListDataEvent.java,
4918         javax/swing/event/TableModelEvent.java,
4919         javax/swing/event/TreeWillExpandListener.java,
4920         javax/swing/plaf/ComponentUI.java,
4921         javax/swing/plaf/DesktopIconUI.java,
4922         javax/swing/plaf/DesktopPaneUI.java,
4923         javax/swing/plaf/DimensionUIResource.java,
4924         javax/swing/plaf/FileChooserUI.java,
4925         javax/swing/plaf/FontUIResource.java,
4926         javax/swing/plaf/IconUIResource.java,
4927         javax/swing/plaf/InputMapUIResource.java,
4928         javax/swing/plaf/InsetsUIResource.java,
4929         javax/swing/plaf/InternalFrameUI.java,
4930         javax/swing/plaf/LabelUI.java,
4931         javax/swing/plaf/ListUI.java,
4932         javax/swing/plaf/MenuBarUI.java,
4933         javax/swing/plaf/MenuItemUI.java,
4934         javax/swing/plaf/OptionPaneUI.java,
4935         javax/swing/plaf/PanelUI.java,
4936         javax/swing/plaf/ProgressBarUI.java,
4937         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4938         javax/swing/plaf/doc-files/ComponentUI-1.png:
4939         New versions from classpath.
4940
4941 2003-06-24  Michael Koch  <konqueror@gmx.de>
4942
4943         * java/nio/Buffer.java
4944         (cap): Made package-private.
4945         (pos): Likewise.
4946         (limit): Likewise.
4947         (mark): Likewise.
4948
4949 2003-06-24  Michael Koch  <konqueror@gmx.de>
4950
4951         * java/net/SocketImpl.java
4952         (shutdownInput): Made it non-abstract method throwing an exception
4953         like in SUNs JRE.
4954         (shutdownOutput): Likewise.
4955         * java/net/SocketInputStream.java,
4956         java/net/SocketOutputStream.java:
4957         New files from classpath.
4958
4959 2003-06-24  Michael Koch  <konqueror@gmx.de>
4960
4961         * java/awt/Font.java,
4962         java/awt/Window.java,
4963         java/awt/color/ColorSpace.java,
4964         java/awt/datatransfer/StringSelection.java,
4965         java/awt/image/ColorModel.java:
4966         New versions from classpath.
4967
4968 2003-06-24  Michael Koch  <konqueror@gmx.de>
4969
4970         * Makefile.am
4971         (awt_java_source_files): Added new files:
4972         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4973         javax/swing/plaf/basic/BasicSplitPaneUI.java
4974         * Makefile.in: Regenerated.
4975
4976 2003-06-24  Michael Koch  <konqueror@gmx.de>
4977
4978         * javax/swing/text/JTextComponent.java:
4979         New version from classpath.
4980
4981 2003-06-24  Michael Koch  <konqueror@gmx.de>
4982
4983         * javax/swing/Timer.java,
4984         javax/swing/plaf/ActionMapUIResource.java,
4985         javax/swing/plaf/ButtonUI.java,
4986         javax/swing/plaf/ColorChooserUI.java,
4987         javax/swing/plaf/ColorUIResource.java,
4988         javax/swing/plaf/ComboBoxUI.java,
4989         javax/swing/plaf/ComponentInputMapUIResource.java,
4990         javax/swing/plaf/basic/BasicBorders.java:
4991         New versions from classpath.
4992         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4993         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4994         New file from classpath.
4995         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4996         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4997         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4998         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4999         javax/swing/plaf/doc-files/ComponentUI-1.png:
5000         New binary files from classpath.
5001
5002 2003-06-24  Michael Koch  <konqueror@gmx.de>
5003
5004         * java/io/LineNumberReader.java
5005         (skip): Dont do line number accounting here as this is already done in
5006         read(), simplified.
5007
5008 2003-06-21  Michael Koch  <konqueror@gmx.de>
5009
5010         * java/io/File.java
5011         (static): Load javaio lib if existing (only in classpath).
5012         (File): Revised documentation to show the correct argument name.
5013         (createTempFile): Partly merged with classpath.
5014         (compareTo): Simplified.
5015         (lastModified): Throw exception if time < 0.
5016         (deleteOnExit): Revised documentation.
5017
5018 2003-06-21  Michael Koch  <konqueror@gmx.de>
5019
5020         * java/net/PlainSocketImpl.java:
5021         Reformatted.
5022         (PlainSocketImpl): Merged class documentaion with classpath.
5023         (in): Moved.
5024         (out): Moved.
5025         (PlainSocketImpl): New empty constructor.
5026         (finalize): Moved.
5027         (setOption): Merged documentation from classpath.
5028         (getOption): Likewise.
5029         (create): Likewise.
5030         (connect): Likewise.
5031         (bind): Likewise.
5032         (listen): Likewise.
5033         (accept): Likewise.
5034         (available): Likewise.
5035         (close): Likewise.
5036         (read): Likewise.
5037         (write): Likewise.
5038         (getInputStream): Made synchronozed to get sure that only one stream
5039         object can be created for this socket, merged documentation from
5040         classpath.
5041         (getOutputStream): Likewise.
5042
5043 2003-06-21  Michael Koch  <konqueror@gmx.de>
5044
5045         * java/net/PlainSocketImpl.java:
5046         Reformatting.
5047         (static): New implicit method.
5048         (read): Made package private.
5049         (write): Likewise.
5050
5051 2003-06-21  Michael Koch  <konqueror@gmx.de>
5052
5053         * java/util/SimpleTimeZone.java:
5054         Removed unneeded import, reformatting.
5055
5056 2003-06-21  Michael Koch  <konqueror@gmx.de>
5057
5058         * java/text/DateFormat.java,
5059         java/text/SimpleDateFormat.java,
5060         java/util/Locale.java:
5061         New versions from classpath.
5062
5063 2003-06-21  Michael Koch  <konqueror@gmx.de>
5064
5065         * javax/swing/SpinnerModel.java:
5066         New file from classpath.
5067         * javax/swing/border/LineBorder.java,
5068         javax/swing/border/SoftBevelBorder.java,
5069         javax/swing/plaf/BorderUIResource.java,
5070         javax/swing/plaf/basic/BasicBorders.java:
5071         New versions from classpath.
5072         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5073         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5074         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5075         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5076         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5077         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5078         New binary files from classpath.
5079
5080 2003-06-21  Michael Koch  <konqueror@gmx.de>
5081
5082         * java/util/logging/LogRecord.java,
5083         java/util/logging/Logger.java,
5084         java/util/logging/SocketHandler.java,
5085         java/util/logging/SimpleFormatter.java,
5086         java/util/logging/Formatter.java,
5087         java/util/logging/ErrorManager.java,
5088         java/util/logging/Handler.java,
5089         java/util/logging/FileHandler.java,
5090         java/util/logging/LogManager.java,
5091         java/util/logging/Level.java,
5092         java/util/logging/ConsoleHandler.java,
5093         java/util/logging/StreamHandler.java,
5094         java/util/logging/LoggingPermission.java,
5095         java/util/logging/Filter.java,
5096         java/util/logging/MemoryHandler.java,
5097         java/util/logging/XMLFormatter.java:
5098         New files from classpath.
5099
5100 2003-06-20  Michael Koch  <konqueror@gmx.de>
5101
5102         * java/io/ObjectStreamField.java
5103         (unshared): new member variable.
5104         (ObjectStreamField): New constructor.
5105         (isUnshared): New method.
5106
5107 2003-06-20  Michael Koch  <konqueror@gmx.de>
5108
5109         * java/net/URLStreamHandler.java
5110         (hostsEqual): Rewritten.
5111
5112 2003-06-20  Michael Koch  <konqueror@gmx.de>
5113
5114         * gnu/java/nio/MappedByteFileBuffer.java,
5115         gnu/java/nio/natMappedByteFileBuffer.cc:
5116         Removed
5117         * java/nio/MappedByteBufferImpl.java:
5118         New file.
5119         * gnu/java/nio/FileChannelImpl.java:
5120         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5121         * Makefile.am
5122         (ordinary_java_source_files): Removed
5123         gnu/java/nio/MappedByteFileBuffer.java and added
5124         java/nio/MappedByteBufferImpl.java.
5125         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5126         * Makefile.in: Regenerated.
5127
5128 2003-06-19  Michael Koch  <konqueror@gmx.de>
5129
5130         * gnu/java/nio/DatagramChannelImpl.java
5131         (fd): Removed.
5132         (blocking): New member variable.
5133         (socket): Likewise.
5134         (DatagramChannelImpl): Throws IOException, initialize socket.
5135         (socket):Implemented.
5136         (implCloseSelectableChannel): Throws IOException, implemented.
5137         (implConfigureBlocking): Likewise.
5138         (connect): Likewise.
5139         (disconnect): Likewise.
5140         (isConnected): Likewise.
5141         (write): Likewise.
5142         (read): Likewise.
5143         (receive): Throws IOException.
5144         (send): Likewise.
5145         * gnu/java/nio/SocketChannelImpl.java
5146         (read): Implemented.
5147         (write): Implemented.
5148
5149 2003-06-19  Michael Koch  <konqueror@gmx.de>
5150
5151         * javax/swing/JComponent.java,
5152         javax/swing/JInternalFrame.java,
5153         javax/swing/MenuSelectionManager.java,
5154         javax/swing/SwingUtilities.java,
5155         javax/swing/ToggleButtonModel.java:
5156         New versions from classpath.
5157
5158 2003-06-19  Michael Koch  <konqueror@gmx.de>
5159
5160         * java/text/CollationElementIterator.java
5161         (NULLORDER): Initialize with -1 as JDK documentation says.
5162
5163 2003-06-19  Michael Koch  <konqueror@gmx.de>
5164
5165         * java/net/HttpURLConnection.java,
5166         java/net/Inet4Address.java,
5167         java/net/Inet6Address.java,
5168         java/net/SocketImpl.java,
5169         java/net/URLClassLoader.java:
5170         Reworked import statements.
5171         * java/net/InetAddress.java
5172         (getByAddress): Simplified.
5173         * java/net/ServerSocket.java
5174         (ServerSocket): Moved special handling during bind operation to
5175         bind().
5176         (bind): Handle different cases when trying to bind a socket.
5177         * java/net/URLConnection.java
5178         (getHeaderFieldDate): Merged with classpath.
5179         (getHeaderFieldInt): Likewise.
5180
5181 2003-06-19  Michael Koch  <konqueror@gmx.de>
5182
5183         * java/util/zip/InflaterInputStream.java
5184         (InflaterInputStream): Throw NullPointerException if in is null (as
5185         JDK does).
5186
5187 2003-06-19  Michael Koch  <konqueror@gmx.de>
5188
5189         * java/awt/Font.java
5190         javax/swing/UIManager.java
5191         javax/swing/border/AbstractBorder.java
5192         javax/swing/border/BevelBorder.java
5193         javax/swing/border/Border.java
5194         javax/swing/border/CompoundBorder.java
5195         javax/swing/border/EmptyBorder.java
5196         javax/swing/border/EtchedBorder.java
5197         javax/swing/border/LineBorder.java
5198         javax/swing/border/MatteBorder.java
5199         javax/swing/border/TitledBorder.java
5200         javax/swing/plaf/BorderUIResource.java
5201         javax/swing/plaf/basic/BasicBorders.java
5202         javax/swing/plaf/basic/BasicButtonUI.java
5203         javax/swing/plaf/basic/BasicCheckBoxUI.java
5204         javax/swing/plaf/basic/BasicGraphicsUtils.java
5205         javax/swing/plaf/basic/BasicLabelUI.java
5206         javax/swing/plaf/basic/BasicRadioButtonUI.java
5207         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5208         New versions from classpath.
5209         * javax/swing/border/SoftBevelBorder.java:
5210         New file from classpath.
5211         * javax/swing/border/doc-files/LineBorder-1.png,
5212         javax/swing/border/doc-files/BevelBorder-1.png,
5213         javax/swing/border/doc-files/BevelBorder-2.png,
5214         javax/swing/border/doc-files/BevelBorder-3.png,
5215         javax/swing/border/doc-files/EmptyBorder-1.png,
5216         javax/swing/border/doc-files/EtchedBorder-1.png,
5217         javax/swing/border/doc-files/EtchedBorder-2.png,
5218         javax/swing/border/doc-files/MatteBorder-1.png,
5219         javax/swing/border/doc-files/MatteBorder-2.png,
5220         javax/swing/border/doc-files/MatteBorder-3.png,
5221         javax/swing/border/doc-files/MatteBorder-4.png,
5222         javax/swing/border/doc-files/MatteBorder-5.png,
5223         javax/swing/border/doc-files/MatteBorder-6.png,
5224         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5225         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5226         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5227         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5228         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5229         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5230         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5231         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5232         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5233         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5234         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5235         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5236         New binary files from classpath.
5237         * Makefile.am
5238         (awt_java_source_files): Added
5239         javax/swing/border/SoftBevelBorder.java.
5240         * Makefile.in: Regenerated.
5241
5242 2003-06-19  Michael Koch  <konqueror@gmx.de>
5243
5244         * gnu/java/security/x509/X509Certificate.java
5245         (writeReplace): Merged from classpath.
5246
5247 2003-06-19  Michael Koch  <konqueror@gmx.de>
5248
5249         * gnu/java/nio/FileChannelImpl.java
5250         (map_address): Made public.
5251         (FileChannelImpl): Merged with classpath.
5252         * gnu/java/nio/natFileChannelImpl.cc
5253         (nio_mmap_file): Commented out unused arguments.
5254         (nio_unmmap_file): Likewise.
5255         (niu_msync): Likewise.
5256
5257 2003-06-19  Michael Koch  <konqueror@gmx.de>
5258
5259         * java/awt/image/IndexColorModel.java:
5260         New version from classpath.
5261
5262 2003-06-18  Tom Tromey  <tromey@redhat.com>
5263
5264         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5265         on arrays.
5266         (isLoopbackAddress): Likewise.
5267         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5268         on arrays.
5269
5270 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5271
5272         * java/lang/natVMSecurityManager.cc (getClassContext):
5273         Use maxlen instead of len for loop bound.
5274
5275 2003-06-18  Michael Koch  <konqueror@gmx.de>
5276
5277         * gnu/java/nio/SelectorImpl.java
5278         (register): Use fd with value 0 for now, will be fixed later.
5279         * gnu/java/nio/ServerSocketChannelImpl.java
5280         (fd): Removed.
5281         (local_port): Removed.
5282         (InetSocketAddress): Removed.
5283         (ServerSocketChannelImpl): Just initialize internal socket object.
5284         (implCloseSelectableChannel): Close internal socket object.
5285         (implConfigureBlocking): Added comment.
5286         (accept): Use jaba.net stuff to accept socket.
5287         * gnu/java/nio/SocketChannelImpl.java
5288         (fd): Removed.
5289         (local_port): Removed.
5290         (InetSocketAddress): Removed.
5291         (SocketCreate): Removed.
5292         (SocketConnect): Removed.
5293         (SocketBind): Removed.
5294         (SocketListen): Removed.
5295         (SocketAvailable): Removed.
5296         (SocketClose): Removed.
5297         (SocketRead): Removed.
5298         (SocketWrite): Removed.
5299         (SocketChannelImpl): Just initialize internal socket object.
5300         (implCloseSelectableChannel): Close internal socket object.
5301         (implConfigureBlocking): Fixed implementation, added comment.
5302         (connect): Use internal socket object to connect.
5303         (socket): No need for sanity checks.
5304         (read): Comment out some stuff, this will be reimplemented in the next
5305         commit.
5306         (write): Likewise.
5307         * gnu/java/nio/natFileChannelImpl.cc
5308         (nio_mmap_file): Line wrapped.
5309         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5310         * Makefile.am
5311         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5312         * Makefile.in: Regenerated.
5313
5314 2003-06-18  Michael Koch  <konqueror@gmx.de>
5315
5316         * java/util/Locale.java
5317         (equals): Merged from classpath.
5318
5319 2003-06-18  Michael Koch  <konqueror@gmx.de>
5320
5321         * java/net/InetAddress.java:
5322         Reformatted to better match classpath's version.
5323         * java/net/URL.java
5324         (equals): Simplified.
5325         * java/net/URLConnection.java
5326         (setDoInput): Revised documentation.
5327         (getDefaultUseCaches): Likewise.
5328         (setRequestProperty): Added @since tag.
5329
5330 2003-06-17  Michael Koch  <konqueror@gmx.de>
5331
5332         * java/net/InetSocketAddress.java
5333         (InetSocketAddress): Use wildcard address if addr is null.
5334         (InetSocketAddress): Dont duplicate implementation.
5335         (InetSocketAddress): Throw exception when hostname is null.
5336         * java/net/Socket.java:
5337         Reworked imports.
5338         (Socket): Throw exception when raddr is null, handle case when laddr
5339         is null.
5340
5341 2003-06-17  Michael Koch  <konqueror@gmx.de>
5342
5343         * java/nio/DirectByteBufferImpl.java
5344         (address): Made package private.
5345         (DirectByteBufferImpl): New constructor.
5346         * java/nio/natDirectByteBufferImpl.cc
5347         (allocateImpl): Moved to java.nio namespace, implemented.
5348         (freeImpl): Likewise.
5349         (getImpl): Likewise.
5350         (putImpl): Likewise.
5351         * jni.cc
5352         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5353         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5354         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5355
5356 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5357
5358         * include/powerpc-signal.h: New File.
5359         * configure.in: Use it.
5360         * configure: Regenerated.
5361
5362 2003-06-17  Michael Koch  <konqueror@gmx.de>
5363
5364         * java/util/Locale.java
5365         (getDisplayLanguage): Made it final.
5366         (getDisplayCountry): Likewise.
5367         (getDisplayVariant): Likewise.
5368         (getDisplayName): Likewise.
5369
5370 2003-06-17  Michael Koch  <konqueror@gmx.de>
5371
5372         * java/util/PropertyResourceBundle.java:
5373         Removed unneeded import.
5374
5375 2003-06-17  Michael Koch  <konqueror@gmx.de>
5376
5377         * java/util/prefs/AbstractPreferences.java,
5378         java/util/prefs/PreferencesFactory.java:
5379         Reworked imports, removed unused imports.
5380         * java/util/prefs/Preferences.java
5381         (systemNodeForPackage): Method takes a Class not an Object.
5382         (userNodeForPackage): Likewise.
5383         (nodeForPackage): Likewise.
5384
5385 2003-06-17  Michael Koch  <konqueror@gmx.de>
5386
5387         * gnu/java/security/x509/X509Certificate.java:
5388         Explicitely import used classes.
5389
5390 2003-06-17  Michael Koch  <konqueror@gmx.de>
5391
5392         * java/util/zip/ZipEntry.java,
5393         java/util/zip/ZipFile.java,
5394         java/util/zip/ZipInputStream.java,
5395         java/util/zip/ZipOutputStream.java:
5396         Reworked imports, only import used classes.
5397
5398 2003-06-17  Michael Koch  <konqueror@gmx.de>
5399
5400         * gnu/java/lang/ArrayHelper.java,
5401         gnu/java/lang/ClassHelper.java:
5402         Reformatted to match classpath's versions.
5403
5404 2003-06-14  Michael Koch  <konqueror@gmx.de>
5405
5406         * gnu/java/nio/FileChannelImpl.java
5407         (map_address): Removed incorrect comment.        
5408         * gnu/java/nio/SelectorImpl.java
5409         (register): Remove code duplication and code for file channel handling.        
5410         * gnu/java/nio/ServerSocketChannelImpl.java
5411         (serverSocket): Renamed from sock_object.
5412         (ServerSocketChannel): Initialize serverSocket.
5413         (socket): Return serverSocket.
5414         * gnu/java/nio/SocketChannelImpl.java
5415         (socket): Renamed from sock_object.
5416         (isConnectionPenging): Simplified.
5417         (socket): Return socket.
5418 2003-06-14  Michael Koch  <konqueror@gmx.de>
5419
5420         * java/security/BasicPermission.java:
5421         New version from classpath.
5422
5423 2003-06-14  Michael Koch  <konqueror@gmx.de>
5424
5425         * javax/naming/directory/Attribute.java:
5426         New version from classpath.
5427
5428 2003-06-14  Michael Koch  <konqueror@gmx.de>
5429
5430         * java/io/BufferedReader.java,
5431         java/io/FileOutputStream.java:
5432         New versions from classpath.
5433
5434 2003-06-12  Andrew Haley  <aph@redhat.com>
5435
5436         * prims.cc (catch_segv): Create exception in handler.
5437         (catch_fpe): Likewise.  
5438         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5439         (_Jv_ThrowSignal): Remove.
5440
5441         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5442         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5443         to nullp and arithexception.
5444         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5445         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5446         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5447         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5448         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5449
5450 2003-06-11  Andrew Haley  <aph@redhat.com>
5451
5452         * jni.cc (_Jv_JNI_check_types): New.
5453         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5454         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5455         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5456         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5457         
5458         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5459         infinite loop.
5460
5461 2003-06-11  Tom Tromey  <tromey@redhat.com>
5462
5463         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5464         * java/io/PrintStream.java: Not deprecated.
5465
5466 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5467
5468         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5469         (fillOval): implemented
5470         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5471         (fillArc): implemented.
5472         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5473         (fillArc): added native method.
5474         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5475         (fillArc): added native method.
5476
5477 2003-06-11  Michael Koch  <konqueror@gmx.de>
5478
5479         * java/awt/im/InputSubset.java:
5480         New version from classpath.
5481
5482 2003-06-11  Michael Koch  <konqueror@gmx.de>
5483
5484         * javax/swing/AbstractAction.java,
5485         javax/swing/AbstractButton.java,
5486         javax/swing/AbstractCellEditor.java,
5487         javax/swing/AbstractListModel.java,
5488         javax/swing/BorderFactory.java,
5489         javax/swing/Box.java,
5490         javax/swing/BoxLayout.java,
5491         javax/swing/ButtonGroup.java,
5492         javax/swing/DefaultButtonModel.java,
5493         javax/swing/DefaultListModel.java,
5494         javax/swing/DefaultListSelectionModel.java,
5495         javax/swing/FocusManager.java,
5496         javax/swing/ImageIcon.java,
5497         javax/swing/InputMap.java,
5498         javax/swing/JApplet.java,
5499         javax/swing/JButton.java,
5500         javax/swing/JCheckBox.java,
5501         javax/swing/JCheckBoxMenuItem.java,
5502         javax/swing/JColorChooser.java,
5503         javax/swing/JComboBox.java,
5504         javax/swing/JComponent.java,
5505         javax/swing/JDesktopPane.java,
5506         javax/swing/JDialog.java,
5507         javax/swing/JEditorPane.java,
5508         javax/swing/JFileChooser.java,
5509         javax/swing/JFormattedTextField.java,
5510         javax/swing/JFrame.java,
5511         javax/swing/JLabel.java,
5512         javax/swing/JLayeredPane.java,
5513         javax/swing/JList.java,
5514         javax/swing/JMenuBar.java,
5515         javax/swing/JMenuItem.java,
5516         javax/swing/JOptionPane.java,
5517         javax/swing/JPanel.java,
5518         javax/swing/JPasswordField.java,
5519         javax/swing/JPopupMenu.java,
5520         javax/swing/JProgressBar.java,
5521         javax/swing/JRadioButton.java,
5522         javax/swing/JRadioButtonMenuItem.java,
5523         javax/swing/JRootPane.java,
5524         javax/swing/JScrollBar.java,
5525         javax/swing/JScrollPane.java,
5526         javax/swing/JSeparator.java,
5527         javax/swing/JSlider.java,
5528         javax/swing/JTabbedPane.java,
5529         javax/swing/JTable.java,
5530         javax/swing/JTextField.java,
5531         javax/swing/JToggleButton.java,
5532         javax/swing/JToolBar.java,
5533         javax/swing/JToolTip.java,
5534         javax/swing/JTree.java,
5535         javax/swing/JViewport.java,
5536         javax/swing/JWindow.java,
5537         javax/swing/KeyStroke.java,
5538         javax/swing/ListSelectionModel.java,
5539         javax/swing/LookAndFeel.java,
5540         javax/swing/RepaintManager.java,
5541         javax/swing/ScrollPaneLayout.java,
5542         javax/swing/SizeRequirements.java,
5543         javax/swing/SwingConstants.java,
5544         javax/swing/Timer.java,
5545         javax/swing/UIDefaults.java,
5546         javax/swing/UIManager.java,
5547         javax/swing/border/AbstractBorder.java,
5548         javax/swing/border/CompoundBorder.java,
5549         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5550         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5551         javax/swing/colorchooser/ColorSelectionModel.java,
5552         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5553         javax/swing/event/AncestorEvent.java,
5554         javax/swing/event/HyperlinkEvent.java,
5555         javax/swing/event/InternalFrameAdapter.java,
5556         javax/swing/event/InternalFrameEvent.java,
5557         javax/swing/event/ListDataEvent.java,
5558         javax/swing/event/MouseInputAdapter.java,
5559         javax/swing/event/SwingPropertyChangeSupport.java,
5560         javax/swing/event/TableModelEvent.java,
5561         javax/swing/event/TreeWillExpandListener.java,
5562         javax/swing/event/UndoableEditEvent.java,
5563         javax/swing/filechooser/FileFilter.java,
5564         javax/swing/filechooser/FileSystemView.java,
5565         javax/swing/filechooser/FileView.java,
5566         javax/swing/plaf/BorderUIResource.java,
5567         javax/swing/plaf/basic/BasicDefaults.java,
5568         javax/swing/table/AbstractTableModel.java,
5569         javax/swing/table/DefaultTableCellRenderer.java,
5570         javax/swing/table/DefaultTableColumnModel.java,
5571         javax/swing/table/DefaultTableModel.java,
5572         javax/swing/table/TableColumn.java,
5573         javax/swing/text/JTextComponent.java,
5574         javax/swing/tree/AbstractLayoutCache.java,
5575         javax/swing/tree/DefaultMutableTreeNode.java,
5576         javax/swing/tree/DefaultTreeCellEditor.java,
5577         javax/swing/tree/DefaultTreeCellRenderer.java,
5578         javax/swing/tree/DefaultTreeModel.java,
5579         javax/swing/tree/DefaultTreeSelectionModel.java,
5580         javax/swing/tree/FixedHeightLayoutCache.java,
5581         javax/swing/tree/TreeCellEditor.java,
5582         javax/swing/tree/TreeModel.java,
5583         javax/swing/tree/TreeNode.java,
5584         javax/swing/tree/TreePath.java,
5585         javax/swing/tree/TreeSelectionModel.java,
5586         javax/swing/tree/VariableHeightLayoutCache.java,
5587         javax/swing/undo/AbstractUndoableEdit.java,
5588         javax/swing/undo/CompoundEdit.java,
5589         javax/swing/undo/StateEdit.java,
5590         javax/swing/undo/UndoManager.java,
5591         javax/swing/undo/UndoableEditSupport.java:
5592         New versions from classpath.
5593         * javax/swing/table/JTableHeader.java:
5594         New file from classpath.
5595         * Makefile.am
5596         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5597         * Makefile.in: Regenerated.
5598
5599 2003-06-11  Michael Koch  <konqueror@gmx.de>
5600
5601         * java/nio/MappedByteBuffer.java,
5602         java/nio/channels/Channels.java,
5603         java/nio/channels/ServerSocketChannel.java,
5604         java/nio/channels/spi/AbstractSelector.java:
5605         Removed unneeded imports.
5606
5607 2003-06-11  Michael Koch  <konqueror@gmx.de>
5608
5609         * java/net/DatagramSocket.java:
5610         Partly merged with classpath.
5611
5612 2003-06-11  Michael Koch  <konqueror@gmx.de>
5613
5614         * java/awt/Frame.java,
5615         java/awt/Graphics.java,
5616         java/awt/Menu.java,
5617         java/awt/Robot.java,
5618         java/awt/image/ColorModel.java:
5619         New versions from classpath.
5620
5621 2003-06-10  Michael Koch  <konqueror@gmx.de>
5622
5623         * java/io/PrintStream.java:
5624         Merged version from classpath.
5625         (close): Removed sychronized keyword. This class is not garantied to
5626         be thread-safe.
5627         (write): Likewise.
5628
5629 2003-06-09  Tom Tromey  <tromey@redhat.com>
5630
5631         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5632         field.
5633         (getDescent): Likewise, for "descent".
5634
5635 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5636
5637         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5638         (getMaxDescent): adjusted return value.
5639         (getAscent): modified to use metrics for 'O'.
5640         (getDescent): modified to use metrics for 'y'.
5641
5642 2003-06-08  Anthony Green  <green@redhat.com>
5643
5644         * java/net/URLStreamHandler.java (sameFile): Fix port value
5645         comparison.
5646         * java/net/URL.java (handler): Make package private.
5647         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5648
5649 2003-06-07  Tom Tromey  <tromey@redhat.com>
5650
5651         For PR libgcj/11085:
5652         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5653         Limit number of characters in numeric field when required.
5654         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5655         Respect maximumIntegerDigits.
5656
5657 2003-06-08  Michael Koch  <konqueror@gmx.de>
5658
5659         * java/net/Socket.java
5660         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5661         call bind() and connect() to actually do the bind and connect tasks.
5662         (bind): Connect to canonical address if bindpoint is null, create
5663         socket and bind it to bindpoint.
5664         (connect): Check for exceptions.
5665
5666 2003-06-08  Michael Koch  <konqueror@gmx.de>
5667
5668         * java/net/DatagramSocket.java
5669         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5670         into the Multicast constructors.
5671         * java/net/DatagramSocketImpl.java
5672         (getOption): Removed.
5673         (setOption): Removed.
5674         * java/net/MulticastSocket.java
5675         (MulticastSocket): Call setReuseAddress (true).
5676         * java/net/SocketImpl.java
5677         (getOption): Removed.
5678         (setOption): Removed.
5679
5680 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5681
5682         PR libgcj/10886:
5683         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5684         Test for empty vector.
5685
5686 2003-06-06  Mark Wielaard  <mark@klomp.org>
5687
5688         * java/security/Security.java (secprops): Initialize.
5689         (loadProviders): Return boolean.
5690         (static): Check result of loadProvider calls. If necessary
5691         display WARNING and fallback to Gnu provider.
5692
5693 2002-06-06  James Clark  <jjc@jclark.com>
5694
5695         Fix for PR libgcj/8738:
5696         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5697         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5698         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5699         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5700         (write): Always decrease avail when count is increased.
5701         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5702         and whether output buffer is full before increasing size.
5703
5704 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5705
5706         * java/io/PrintStream.java (writeChars(char[],int, int)):
5707         Check converter.havePendingBytes().
5708         (writeChars(String,int,int)): Likewise.
5709         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5710         Check converter.havePendingBytes() and flush buffer when stalled.
5711
5712 2003-06-07  Michael Koch  <konqueror@gmx.de>
5713
5714         * include/posix.h
5715         (O_DSYNC): Define O_DSYNC on platforms not
5716         supporting O_FSYNC (newlib).
5717
5718 2003-06-06  Mark Wielaard  <mark@klomp.org>
5719
5720         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5721         AWTError.
5722
5723 2003-06-06  Michael Koch  <konqueror@gmx.de>
5724
5725         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5726         More compile fixes from my stupid work yesterday.
5727
5728 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5729
5730         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5731         if _IEEE_LIBM is undefined.
5732
5733 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5734
5735         * libjava/include/posix.h (O_SYNC): Define if not available
5736         and a reasonable, perhaps more conservative, replacement exists.
5737         (O_DSYNC): Likewise.
5738         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5739
5740 2003-06-05  Michael Koch  <konqueror@gmx.de>
5741
5742         * javax/swing/plaf/BorderUIResource.java,
5743         javax/swing/plaf/basic/BasicDefaults.java,
5744         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5745         More compile fixes for latest Border commit. I should not commit
5746         something in this heat here ...
5747
5748 2003-06-05  Michael Koch  <konqueror@gmx.de>
5749
5750         * javax/swing/border/BevelBorder.java
5751         (BevelBorder): Removed.
5752         * javax/swing/border/EmptyBorder.java:
5753         Reformatted.
5754         (EmptyBorder): Removed.
5755         (getBorderInsets): Dont use l, r, t and b.
5756         * javax/swing/border/EtchedBorder.java
5757         (EtchedBorder): Removed.
5758         * javax/swing/border/LineBorder.java
5759         (LineBorder): Removed.
5760         * javax/swing/border/MatteBorder.java
5761         (MatteBorder): Removed.
5762         * javax/swing/border/TitledBorder.java
5763         (defaultBorder): Use other default for now.
5764         (defaultFont): Likewise.
5765         (defaultColor): Likewise.
5766
5767 2003-06-05  Michael Koch  <konqueror@gmx.de>
5768
5769         * javax/swing/border/Border.java:
5770         New version from classpath.
5771
5772 2003-06-05  Michael Koch  <konqueror@gmx.de>
5773
5774         * javax/swing/border/AbstractBorder.java,
5775         javax/swing/border/BevelBorder.java,
5776         javax/swing/border/CompoundBorder.java,
5777         javax/swing/border/EmptyBorder.java,
5778         javax/swing/border/EtchedBorder.java,
5779         javax/swing/border/LineBorder.java,
5780         javax/swing/border/MatteBorder.java,
5781         javax/swing/border/TitledBorder.java:
5782         New versions from Classpath.
5783
5784 2003-06-05  Michael Koch  <konqueror@gmx.de>
5785
5786         * java/awt/Button.java,
5787         java/awt/Checkbox.java,
5788         java/awt/CheckboxMenuItem.java,
5789         java/awt/Choice.java,
5790         java/awt/Container.java,
5791         java/awt/Dialog.java,
5792         java/awt/EventQueue.java,
5793         java/awt/FileDialog.java,
5794         java/awt/Frame.java,
5795         java/awt/Label.java,
5796         java/awt/List.java,
5797         java/awt/Menu.java,
5798         java/awt/MenuItem.java,
5799         java/awt/Panel.java,
5800         java/awt/PopupMenu.java,
5801         java/awt/Rectangle.java,
5802         java/awt/ScrollPane.java,
5803         java/awt/Scrollbar.java,
5804         java/awt/TextArea.java,
5805         java/awt/TextField.java,
5806         java/awt/Window.java,
5807         java/awt/datatransfer/DataFlavor.java,
5808         java/awt/dnd/DragSource.java,
5809         java/awt/dnd/DragSourceContext.java,
5810         java/awt/event/HierarchyEvent.java,
5811         java/awt/event/MouseWheelEvent.java,
5812         java/awt/im/InputContext.java,
5813         java/awt/image/BufferedImage.java,
5814         java/awt/image/ComponentColorModel.java,
5815         java/awt/image/Raster.java,
5816         java/awt/image/WritableRaster.java,
5817         java/awt/peer/ComponentPeer.java,
5818         java/awt/print/PageFormat.java,
5819         java/awt/print/PrinterJob.java:
5820         New versions from Classpath.
5821
5822 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5823
5824         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5825         numberFormat.setParseIntegerOnly(true).
5826
5827 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5828
5829         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5830
5831 2003-06-03  Andrew Haley  <aph@redhat.com>
5832
5833         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5834         stack volatile to prevent optimization from removing it.
5835
5836 2003-05-27  Michael Koch  <konqueror@gmx.de>
5837
5838         * java/util/zip/Deflater.java
5839         (FILTERED): Merged documentation from classpath.
5840         * java/util/zip/DeflaterOutputStream.java
5841         (DeflaterOutputStream): Merged documentation and argument validity
5842         check from classpath.
5843         (deflate): Merged documentation from classpath.
5844         (finish): Likewise.
5845         * java/util/zip/Inflater.java
5846         (Inflater): Merged class documentation from classpath.
5847         (zstream): Reordered.
5848         (is_finished): Reordered.
5849         (dict_needed): Reordered.
5850         (Inflater): Reordered, merged documentation from classpath.
5851         (end): Likewise.
5852         (finalize): Merged documentation from classpath.
5853         (finished): Likewise.
5854         (getAdler): Likewise.
5855         (getRemaining): Likewise.
5856         (getTotalIn): Likewise.
5857         (getTotalOut): Likewise.
5858         (inflate): Likewise.
5859         (needsDictionary): Likewise.
5860         (needsInput): Likewise.
5861         (reset): Likewise.
5862         (setDictionary): Likewise.
5863         (setInput): Likewise.
5864
5865 2003-05-27  Michael Koch  <konqueror@gmx.de>
5866
5867         * java/net/URLConnection.java
5868         (getHeaderFieldInt): Merged with classpath.
5869
5870 2003-05-27  Michael Koch  <konqueror@gmx.de>
5871
5872         * java/io/PrintStream.java
5873         (PrintStream): Reformatted.
5874         (PrintStream): New method, merged from classpath.
5875         (write): Reformatted.
5876
5877 2003-05-27  Michael Koch  <konqueror@gmx.de>
5878
5879         * java/lang/System.java:
5880         Explicitely import needed classes.
5881
5882 2003-05-26  Michael Koch  <konqueror@gmx.de>
5883
5884         * java/net/NetPermission.java,
5885         java/net/NetworkInterface.java,
5886         java/net/PasswordAuthentication.java,
5887         java/net/SocketPermission.java:
5888         New versions from classpath.
5889
5890 2003-05-25  Michael Koch  <konqueror@gmx.de>
5891
5892         * java/io/PushbackInputStream.java,
5893         java/net/Authenticator.java,
5894         java/net/ContentHandler.java,
5895         java/net/ContentHandlerFactory.java,
5896         java/net/DatagramSocket.java,
5897         java/net/DatagramSocketImpl.java,
5898         java/net/DatagramSocketImplFactory.java,
5899         java/net/FileNameMap.java,
5900         java/net/SocketImplFactory.java,
5901         java/net/SocketOptions.java,
5902         java/net/URLStreamHandlerFactory.java:
5903         Merged new versions from classpath.
5904
5905 2003-05-25  Michael Koch  <konqueror@gmx.de>
5906
5907         * java/awt/Checkbox.java,
5908         java/awt/Dialog.java,
5909         java/awt/Font.java,
5910         java/awt/Frame.java,
5911         java/awt/ScrollPaneAdjustable.java,
5912         java/awt/Scrollbar.java,
5913         java/awt/Window.java:
5914         New versions from classpath.
5915
5916 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5917
5918         PR libgcj/10838:
5919         * java/io/ObjectInputStream (enableResolveObject):
5920         Fixed spelling of permission name.
5921
5922 2003-05-20  Michael Koch  <konqueror@gmx.de>
5923
5924         * java/io/DataInputStream.java
5925         (convertFromUTF): Merged comment from classpath.
5926         * java/io/PrintStream.java
5927         (error_occured): Renamed from error, merged comment from classpath.
5928         (PrintStream): No need to initialized error.
5929         (checkError): Replace error with error_occurred.
5930         (setError): Likewise.
5931
5932 2003-05-20  Michael Koch  <konqueror@gmx.de>
5933
5934         * java/io/DataInputStream.java:
5935         Reformatted, Replaced < and & with html entitites in documentation.
5936         * java/io/File.java:
5937         Reformatted.
5938         * java/io/PrintWriter.java:
5939         Moved class documentation.
5940
5941 2003-05-20  Michael Koch  <konqueror@gmx.de>
5942
5943         * gnu/java/nio/ByteBufferImpl.java,
5944         gnu/java/nio/CharBufferImpl.java,
5945         gnu/java/nio/CharViewBufferImpl.java,
5946         gnu/java/nio/DirectByteBufferImpl.java,
5947         gnu/java/nio/DoubleBufferImpl.java,
5948         gnu/java/nio/DoubleViewBufferImpl.java,
5949         gnu/java/nio/FloatBufferImpl.java,
5950         gnu/java/nio/FloatViewBufferImpl.java,
5951         gnu/java/nio/IntBufferImpl.java,
5952         gnu/java/nio/IntViewBufferImpl.java,
5953         gnu/java/nio/LongBufferImpl.java,
5954         gnu/java/nio/LongViewBufferImpl.java,
5955         gnu/java/nio/natDirectByteBufferImpl.cc,
5956         gnu/java/nio/ShortBufferImpl.java,
5957         gnu/java/nio/ShortViewBufferImpl.java:
5958         Moved files to java/nio.
5959         * gnu/java/nio/SocketChannelImpl.java
5960         
5961         * java/nio/ByteBuffer.java,
5962         java/nio/CharBuffer.java,
5963         java/nio/DoubleBuffer.java,
5964         java/nio/FloatBuffer.java,
5965         java/nio/IntBuffer.java,
5966         java/nio/LongBuffer.java,
5967         java/nio/ShortBuffer.java:
5968         Dont import anything.
5969         * java/nio/ByteBufferImpl.java,
5970         java/nio/CharBufferImpl.java,
5971         java/nio/CharViewBufferImpl.java,
5972         java/nio/DirectByteBufferImpl.java,
5973         java/nio/DoubleBufferImpl.java,
5974         java/nio/DoubleViewBufferImpl.java,
5975         java/nio/FloatBufferImpl.java,
5976         java/nio/FloatViewBufferImpl.java,
5977         java/nio/IntBufferImpl.java,
5978         java/nio/IntViewBufferImpl.java,
5979         java/nio/LongBufferImpl.java,
5980         java/nio/LongViewBufferImpl.java,
5981         java/nio/natDirectByteBufferImpl.cc,
5982         java/nio/ShortBufferImpl.java,
5983         java/nio/ShortViewBufferImpl.java:
5984         Moved from gnu/java/nio.
5985         * Makefile.am
5986         (ordinary_java_source_files): Moved files from gnu/java/nio to
5987         java/nio.
5988         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5989         to java/nio.
5990         * Makefile.in: Regenerated.
5991
5992 2003-05-19  Michael Koch  <konqueror@gmx.de>
5993
5994         * java/util/Calendar.java
5995         (get): Not final anymore since JDK 1.4
5996         (set): Likewise.
5997
5998 2003-05-19  Michael Koch  <konqueror@gmx.de>
5999
6000         * java/text/CollationKey.java:
6001         Merged copyright and dat from classpath.
6002         * java/text/RuleBasedCollator.java:
6003         Merged class documentation from classpath.
6004
6005 2003-05-19  Michael Koch  <konqueror@gmx.de>
6006
6007         * java/nio/CharBuffer.java
6008         (toString): Compile fix.
6009
6010 2003-05-19  Michael Koch  <konqueror@gmx.de>
6011
6012         * gnu/java/nio/ByteBufferImpl.java
6013         (putLong): Fixed conversion to bytes.
6014         (putDouble): Fixed conversion to bytes.
6015         * gnu/java/nio/DirectByteBufferImpl.java
6016         (putLong): Fixed conversion to bytes.
6017         (putDouble): Fixed conversion to bytes.
6018         * gnu/java/nio/FileLockImpl.java
6019         (isValid): Reformatted.
6020         * java/nio/Buffer.java
6021         (Buffer): Fixed off-by-one bug in handling mark.
6022         * java/nio/ByteBuffer.java:
6023         Added newline.
6024         * java/nio/CharBuffer.java
6025         (toString): Don't use relative get to get string data.
6026
6027 2003-05-16  Michael Koch  <konqueror@gmx.de>
6028
6029         * java/io/natFileDescriptorPosix.cc
6030         (open): Commented out the O_SYNC and O_DSYNC usage until its better
6031         tested.
6032
6033 2003-05-14  Michael Koch  <konqueror@gmx.de>
6034
6035         * gnu/java/nio/FileLockImpl.java
6036         (released): New member variable.
6037         (FileLockImpl): Initialize released.
6038         (releaseImpl): New native method.
6039         (release): Implemented.
6040         * gnu/java/nio/SelectorImpl.java: Reformatted.
6041         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6042         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6043         (accept): Throws IOException.
6044         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6045         (implConfigureBlocking): Throws IOException.
6046         (connect): Likewise.
6047         (read): Likewise.
6048         (write): Likewise.
6049         * gnu/java/nio/natFileLockImpl.cc: New file.
6050         * java/nio/channels/FileLock.java: Reformatted.
6051         * Makefile.am:
6052         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6053         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6054         * Makefile.in: Regenerated.
6055
6056 2003-05-13  Michael Koch  <konqueror@gmx.de>
6057
6058         * gnu/java/nio/CharViewBufferImpl.java
6059         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6060         (get): Shift bits to the right direction.
6061         (put): Likewise.
6062         * gnu/java/nio/DoubleViewBufferImpl.java
6063         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6064         (get): Shift bits to the right direction.
6065         (put): Likewise.
6066         * gnu/java/nio/FloatViewBufferImpl.java
6067         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6068         (get): Shift bits to the right direction.
6069         (put): Likewise.
6070         * gnu/java/nio/IntViewBufferImpl.java
6071         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6072         (get): Shift bits to the right direction.
6073         (put): Likewise.
6074         * gnu/java/nio/LongViewBufferImpl.java
6075         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6076         (get): Shift bits to the right direction.
6077         (put): Likewise.
6078         * gnu/java/nio/ShortViewBufferImpl.java
6079         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6080         (get): Shift bits to the right direction.
6081         (put): Likewise.
6082
6083 2003-05-13  Michael Koch  <konqueror@gmx.de>
6084
6085         * gnu/java/nio/natDirectByteBufferImpl.cc
6086         (allocateImpl): jlong -> RawData*.
6087         (freeImpl): Likewise.
6088
6089 2003-05-13  Michael Koch  <konqueror@gmx.de>
6090
6091         * java/nio/channels/FileChannel.java
6092         (MapMode.m): Made it package-private to match JDK 1.4.
6093         * java/nio/charset/Charset.java
6094         (decode): Made it final to match JDK 1.4.
6095
6096 2003-05-13  Michael Koch  <konqueror@gmx.de>
6097
6098        * java/io/FileDescriptor.java
6099        (SYNC): New constant.
6100        (DSYNC): Likewise.
6101        (getLength): Renamed from lenght() to match classpath's
6102        FileDescriptor.java.
6103        * java/io/RandomAccessFile.java
6104        (RandomAccessFile): Removed unneeded mode check, implemented mode
6105        "rws" and "rwd", merged documentation from classpath.
6106        (setLength): Reformatted.
6107        (length): Use new getLength() of FileDescriptor.
6108        * java/io/natFileDescriptorEcos.cc
6109        (getLength): Renamed from length().
6110        * java/io/natFileDescriptorPosix.cc
6111        (open): Implemented support for SYNC and DSYNC.
6112        (seek): Use getLength() instead of length().
6113        (getLength): Renamed from length().
6114        * java/io/natFileDescriptorWin32.cc
6115        (getLength): Renamed from length().
6116        (seek): Use getLength() instead of length().
6117        (available): Likewise.
6118        * gnu/java/nio/natFileChannelImpl.cc
6119        (size): Use getLength() instead of length().
6120
6121 2003-05-13  Michael Koch  <konqueror@gmx.de>
6122
6123         * gnu/java/nio/ByteBufferImpl.java
6124         (ByteBufferImpl): All constructors revised.
6125         (slice): Reimplemented.
6126         (duplicate): Reimplemented.
6127         (asReadOnlyBuffer): Reimplemented.
6128         * java/nio/ByteBuffer.java:
6129         Reformatted.
6130         (array_offset): Renamed from "offset" to match all other buffer
6131         classes.
6132         (ByteBuffer): All constructors revised.
6133         (allocateDirect): Implemented.
6134         (allocate): New implementation, documentation reworked.
6135         (wrap): Likewise.
6136         (get): Documentation reworked.
6137         (put): New implementation, documentation reworked.
6138         (hasArray): Documentation reworked.
6139         (arrayOffset): Likewise.
6140         (hashCode): Likewise.
6141         (equals): Likewise.
6142         (compareTo): Likewise.
6143         (order): Likewise.
6144         (compact): Likewise.
6145         (isDirect): Likewise.
6146         (slice): Likewise.
6147         (duplicate): Likewise.
6148         (asReadOnlyBuffer): Likewise.
6149         * Makefile.am
6150         (ordinary_java_source_files):
6151         Added gnu/java/nio/DirectByteBufferImpl.java.
6152         (nat_source_files):
6153         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6154         * Makefile.in: Regenerated.
6155
6156 2003-05-12  Michael Koch  <konqueror@gmx.de>
6157
6158         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6159         (nio_get_*): Removed.
6160         (nio_put_*): Removed.
6161         (as*Buffer): Implemented.
6162         (compact): Implemented.
6163         (get): Documentation added.
6164         (put): Documentation added.
6165         (get*): Newly implemented.
6166         (put*): Newly implemented.
6167         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6168         (CharBufferImpl): Revised.
6169         (slice): New implementation.
6170         (duplicate): New implementation.
6171         (compact): New implementation.
6172         (asReadOnlyBuffer): New implementation.
6173         (get): Documentation revised.
6174         (order): Return native byte order.
6175         * gnu/java/nio/DirectByteBufferImpl.java
6176         (allocateDirect): objects can be null not 0.
6177         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6178         (DoubleBufferImpl): Revised.
6179         (slice): New implementation.
6180         (duplicate): New implementation.
6181         (compact): New implementation.
6182         (asReadOnlyBuffer): New implementation.
6183         (get): Documentation revised.
6184         (order): Return native byte order.
6185         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6186         (FloatBufferImpl): Revised.
6187         (slice): New implementation.
6188         (duplicate): New implementation.
6189         (compact): New implementation.
6190         (asReadOnlyBuffer): New implementation.
6191         (get): Documentation revised.
6192         (order): Return native byte order.
6193         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6194         (IntBufferImpl): Revised.
6195         (slice): New implementation.
6196         (duplicate): New implementation.
6197         (compact): New implementation.
6198         (asReadOnlyBuffer): New implementation.
6199         (get): Documentation revised.
6200         (order): Return native byte order.
6201         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6202         (LongBufferImpl): Revised.
6203         (slice): New implementation.
6204         (duplicate): New implementation.
6205         (compact): New implementation.
6206         (asReadOnlyBuffer): New implementation.
6207         (get): Documentation revised.
6208         (order): Return native byte order.
6209         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6210         (ShortBufferImpl): Revised.
6211         (slice): New implementation.
6212         (duplicate): New implementation.
6213         (compact): New implementation.
6214         (asReadOnlyBuffer): New implementation.
6215         (get): Documentation revised.
6216         (order): Return native byte order.
6217         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6218         (CharBuffer): Revised.
6219         (order): Removed.
6220         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6221         (DoubleBuffer): Revised.
6222         (allocateDirect): Removed.
6223         (order): Removed.
6224         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6225         (FloatBuffer): Revised.
6226         (allocateDirect): Removed.
6227         (order): Removed.
6228         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6229         (IntBuffer): Revised.
6230         (allocateDirect): Removed.
6231         (order): Removed.
6232         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6233         (LongBuffer): Revised.
6234         (allocateDirect): Removed.
6235         (order): Removed.
6236         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6237         (ShortBuffer): Revised.
6238         (allocateDirect): Removed.
6239         (order): Removed.
6240         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6241         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6242         * Makefile.am
6243         (ordinary_java_source_files): Added the following files:
6244         gnu/java/nio/CharViewBufferImpl.java,
6245         gnu/java/nio/DoubleViewBufferImpl.java,
6246         gnu/java/nio/FloatViewBufferImpl.java,
6247         gnu/java/nio/IntViewBufferImpl.java,
6248         gnu/java/nio/LongViewBufferImpl.java,
6249         gnu/java/nio/ShortViewBufferImpl.java
6250         (nat_source_files): Removed the following files:
6251         gnu/java/nio/natByteBufferImpl.cc,
6252         gnu/java/nio/natCharBufferImpl.cc
6253         * Makefile.in: Regenerated.
6254
6255 2003-05-12  Michael Koch  <konqueror@gmx.de>
6256
6257         * gnu/java/nio/CharViewBufferImpl.java,
6258         gnu/java/nio/DirectByteBufferImpl.java,
6259         gnu/java/nio/DoubleViewBufferImpl.java,
6260         gnu/java/nio/FloatViewBufferImpl.java,
6261         gnu/java/nio/IntViewBufferImpl.java,
6262         gnu/java/nio/LongViewBufferImpl.java,
6263         gnu/java/nio/ShortViewBufferImpl.java,
6264         gnu/java/nio/natDirectByteBufferImpl.cc:
6265         New files, not yet to be compiled.
6266
6267 2003-05-10  Michael Koch  <konqueror@gmx.de>
6268
6269         * javax/swing/plaf/ButtonUI.java,
6270         javax/swing/plaf/ColorUIResource.java,
6271         javax/swing/plaf/ComponentUI.java,
6272         javax/swing/plaf/DimensionUIResource.java,
6273         javax/swing/plaf/FontUIResource.java,
6274         javax/swing/plaf/IconUIResource.java,
6275         javax/swing/plaf/InsetsUIResource.java,
6276         javax/swing/plaf/LabelUI.java,
6277         javax/swing/plaf/ListUI.java,
6278         javax/swing/plaf/OptionPaneUI.java,
6279         javax/swing/plaf/PanelUI.java,
6280         javax/swing/plaf/TabbedPaneUI.java,
6281         javax/swing/plaf/TextUI.java,
6282         javax/swing/plaf/TreeUI.java,
6283         javax/swing/plaf/ViewportUI.java,
6284         javax/swing/plaf/basic/BasicBorders.java,
6285         javax/swing/plaf/basic/BasicButtonUI.java,
6286         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6287         javax/swing/plaf/basic/BasicDefaults.java,
6288         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6289         javax/swing/plaf/basic/BasicIconFactory.java,
6290         javax/swing/plaf/basic/BasicLabelUI.java,
6291         javax/swing/plaf/basic/BasicListUI.java,
6292         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6293         javax/swing/plaf/basic/BasicPanelUI.java,
6294         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6295         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6296         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6297         javax/swing/plaf/basic/BasicTextUI.java,
6298         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6299         javax/swing/plaf/basic/BasicTreeUI.java,
6300         javax/swing/plaf/basic/BasicViewportUI.java,
6301         javax/swing/plaf/metal/MetalLookAndFeel.java:
6302         New versions from classpath. This adds copyrights to all files and
6303         some serialVersionUIDs.
6304
6305 2003-05-10  Michael Koch  <konqueror@gmx.de>
6306
6307         * java/nio/CharBuffer.java
6308         (offset): Make it package-private.
6309         (backing_buffer): Likewise.
6310         * java/nio/DoubleBuffer.java
6311         (offset): Make it package-private.
6312         (backing_buffer): Likewise.
6313         (put): Reformatted.
6314         * java/nio/FloatBuffer.java
6315         (offset): Make it package-private.
6316         (backing_buffer): Likewise.
6317         * java/nio/IntBuffer.java
6318         (offset): Make it package-private.
6319         (backing_buffer): Likewise.
6320         * java/nio/LongBuffer.java
6321         (offset): Make it package-private.
6322         (backing_buffer): Likewise.
6323         * java/nio/ShortBuffer.java
6324         (offset): Make it package-private.
6325         (backing_buffer): Likewise.
6326
6327 2003-05-10  Michael Koch  <konqueror@gmx.de>
6328
6329         * java/nio/CharBuffer.java
6330         (put): Fixed precondtion check.
6331         (toString): Make it work without backing array.
6332         (put): Skip one level of method calling.
6333
6334 2003-05-10  Michael Koch  <konqueror@gmx.de>
6335
6336         * java/security/Identity.java,
6337         java/security/IdentityScope.java,
6338         java/security/Key.java,
6339         java/security/KeyPair.java,
6340         java/security/PrivateKey.java,
6341         java/security/Provider.java,
6342         java/security/PublicKey.java,
6343         java/security/SecureRandom.java,
6344         java/security/SecureRandomSpi.java,
6345         java/security/SignedObject.java,
6346         java/security/Signer.java,
6347         java/security/cert/Certificate.java,
6348         java/security/cert/PKIXCertPathBuilderResult.java,
6349         java/security/cert/X509Certificate.java:
6350         New versions from classpath.
6351
6352 2003-05-09  Tom Tromey  <tromey@redhat.com>
6353
6354         * Makefile.in: Rebuilt.
6355         * Makefile.am (nat_source_files): Removed old files.
6356         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6357         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6358         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6359         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6360         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6361
6362 2003-05-09  Michael Koch  <konqueror@gmx.de>
6363
6364         * gnu/java/nio/ByteBufferImpl.java
6365         (nio_cast): Removed.
6366         (ByteBufferImpl): Removed.
6367         (nio_get_Byte): Removed.
6368         (nio_put_Byte): Removed.
6369         (asByteBuffer): Removed.
6370         (asCharBuffer): Removed implementation and throw exception.
6371         (asShortBuffer): Likewise.
6372         (asIntBuffer): Likewise.
6373         (asLongBuffer): Likewise.
6374         (asFloatBuffer): Likewise.
6375         (asDoubleBuffer): Likewise.
6376         * gnu/java/nio/CharBufferImpl.java
6377         (CharBufferImpl): Removed.
6378         (nio_get_Byte): Removed.
6379         (nio_put_Byte): Removed.
6380         (asByteBuffer): Removed.
6381         * gnu/java/nio/DoubleBufferImpl.java
6382         (DoubleBufferImpl): Removed.
6383         (nio_get_Byte): Removed.
6384         (nio_put_Byte): Removed.
6385         (asByteBuffer): Removed.
6386         * gnu/java/nio/FloatBufferImpl.java
6387         (FloatBufferImpl): Removed.
6388         (nio_get_Byte): Removed.
6389         (nio_put_Byte): Removed.
6390         (asByteBuffer): Removed.
6391         * gnu/java/nio/IntBufferImpl.java
6392         (IntBufferImpl): Removed.
6393         (nio_get_Byte): Removed.
6394         (nio_put_Byte): Removed.
6395         (asByteBuffer): Removed.
6396         * gnu/java/nio/LongBufferImpl.java
6397         (LongBufferImpl): Removed.
6398         (nio_get_Byte): Removed.
6399         (nio_put_Byte): Removed.
6400         (asByteBuffer): Removed.
6401         * gnu/java/nio/ShortBufferImpl.java
6402         (ShortBufferImpl): Removed.
6403         (nio_get_Byte): Removed.
6404         (nio_put_Byte): Removed.
6405         (asByteBuffer): Removed.
6406         * gnu/java/nio/natByteBufferImpl.cc
6407         (nio_cast): Removed.
6408         (nio_get_Byte): Removed.
6409         (nio_put_Byte): Removed.
6410         * gnu/java/nio/natCharBufferImpl.cc
6411         (nio_get_Byte): Removed.
6412         (nio_put_Byte): Removed.
6413
6414 2003-05-09  Michael Koch  <konqueror@gmx.de>
6415
6416         * java/net/JarURLConnection.java
6417         (getJarEntry): Merged documentation from classpath.
6418         (getJarFile): Likewise.
6419         (getMainAttributes): Likewise.
6420         (getAttributes): Likewise.
6421         (getManifest): Likewise.
6422         (getCertificates): Reformatted.
6423         * java/net/URLConnection.java:
6424         Little classpath merge.
6425
6426 2003-05-09  Michael Koch  <konqueror@gmx.de>
6427
6428         * java/io/DataOutputStream.java
6429         (writeShort): Made it synchronized.
6430         (writeChar): Likewise.
6431         (writeInt): Likewise.
6432         (writeLong): Liekwise.
6433         (writeUTF): Made it synchronized, renamed argument to match classpath.
6434         * java/io/InputStreamReader.java
6435         (converter): Added documentation.
6436         (read): Merged documentation from classpath.
6437         * java/io/OutputStreamWriter.java
6438         (OutputStreamWriter): Merged documentation from classpath.
6439         (close): Reformatted.
6440         (getEncoding): Likewise.
6441         (flush): Likewise.
6442         (write): Merged documentation from classpath, reformatted.
6443
6444 2003-05-08  Tom Tromey  <tromey@redhat.com>
6445
6446         * configure.host <powerpc64*-*>: Set with_libffi_default and
6447         libgcj_interpreter to "yes".
6448
6449 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6450
6451         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6452         
6453 2003-05-06  Tom Tromey  <tromey@redhat.com>
6454
6455         * verify.cc: Reverted previous patch.
6456
6457 2003-05-06  Michael Koch  <konqueror@gmx.de>
6458
6459         * java/io/DataOutputStream.java
6460         (write): Renamed argument to "value", merged documentation from
6461         classpath.
6462         (writeBoolean): Likewise.
6463         (writeByte): Likewise.
6464         (writeShort): Likewise.
6465         (writeChar): Likewise.
6466         (writeInt): Likewise.
6467         (writeLong): Likewise.
6468         (writeFloat): Likewise.
6469         (writeDouble): Likewise.
6470         (writeBytes): Likewise.
6471         (writeChars): Likewise.
6472         (writeUTF): Likewise.
6473         * java/io/File.java
6474         (performDelete): Added documentation.
6475         (performList): Likewise.
6476         (performMkdir): Likewise.
6477         (performSetReadOnly): Likewise.
6478         (performRenameTo): Likewise.
6479         (performSetLastModified): Likewise.
6480         (delete): Made it sychronized.
6481         (renameTo): Made it sychronized.
6482         (equals): Reformatted.
6483         (isHidden): Likewise.
6484         (listFiles): Likewise.
6485         (setReadOnly): Likewise.
6486         (listRoots): Likewise.
6487         (setLastModified): Likewise.
6488         (checkRead): Likewise.
6489         (checkWrite): Likewise.
6490         * java/io/FileInputStream.java
6491         (skip): Made it sychronized, merged from classpath.
6492         * java/io/FileOutputStream.java
6493         (write): Merged from classpath.
6494         * java/io/InputStreamReader.java:
6495         (InputStreamReader): Merged documentation from classpath.
6496
6497 2003-05-05  Michael Koch  <konqueror@gmx.de>
6498
6499         * java/net/NetworkInterface.java
6500         (networkInterfaces): Removed.
6501         (getByName): Use getRealNetworkInterfaces() instead of
6502         networkInterfaces.
6503         (getByInetAddress): Likewise.
6504         (getNetworkInterfaces): Likewise.
6505         (toString): Fix output of addresses of an interface.
6506
6507 2003-05-05  Michael Koch  <konqueror@gmx.de>
6508
6509         * java/io/DataInputStream.java:
6510         Merged new documentation from classpath.
6511
6512 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6513
6514         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6515         "version".
6516         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6517         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6518         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6519         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6520         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6521         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6522         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6523         * java/security/Key.java: Likewise.
6524         * java/security/PrivateKey.java: Likewise.
6525         * java/security/Provider.java: Likewise.
6526         * java/security/PublicKey.java: Likewise.
6527
6528 2003-05-02  Michael Koch  <konqueror@gmx.de>
6529
6530         * java/net/URI.java
6531         (create): Doesnt throws any exceptions.
6532         * java/net/URLConnection.java
6533         (URLConnection): Commend added.
6534         (getExpiration): The header field is called "expires" not
6535         "expiration".
6536         (getHeaderField): Merged documentation with classpath.
6537         (getHeaderFieldInt): Likewise.
6538         (getHeaderFieldDate): Likewise.
6539         (getHeaderFieldKey): Likewise.
6540         (getPermission): Likewise.
6541         (setDefaultUseCaches): Likewise.
6542         (setRequestProperty): Likewise.
6543         (addRequestProperty): Likewise.
6544         (getRequestProperty): Likewise.
6545         (getRequestProperties): Likewise.
6546         (setDefaultRequestProperty): Likewise.
6547         (getDefaultRequestProperty): Likewise.
6548         (guessContentTypeFromStream): Likewise.
6549         (getFileNameMap): Likewise.
6550         (setFileNameMap): Likewise.
6551         (setDoInput): Merged implementation and documentation with classpath.
6552         (setDoOutput): Likewise.
6553         (setAllowUserInteraction): Likewise.
6554         (setDefaultAllowUserInteraction): Likewise.
6555         (setContentHandlerFactory): Made it synchronized, merged documentation
6556         with classpath.
6557         (guessContentTypeFromName): Renamed argument fname to filename to
6558         match classpath, merged documentation with classpath.
6559
6560 2003-05-02  Michael Koch  <konqueror@gmx.de>
6561
6562         * java/net/JarURLConnection.java
6563         (JarURLConnection): Class documentation merged with classpath.
6564         (getJarFileURL): Moved and documentation merged with classpath.
6565         (getEntryName): Likewise.
6566         (JarURLConnection): Documentation merged with classpath.
6567         (getJarEntry): Likewise.
6568         (getJarFile): Likewise.
6569         * java/net/PlainDatagramSocketImpl.java:
6570         Class documentation moved.
6571         * java/net/URLConnection.java
6572         (fileNameMap): Moved and documentation merged with classpath.
6573         (factory): Likewise.
6574         (defaultAllowUserInteraction): Likewis.
6575         (defaultUseCaches): Likewise.
6576         (allowUserInteraction): Likewise.
6577         (connected): Likewise.
6578         (url): Likewise.
6579         (connect): Documentation merged with classpath.
6580         (getURL): Likewise.
6581         (getContentLength): Likewise.
6582         (getContentType): Likewise.
6583         (getContentEncoding): Likewise.
6584         (getExpiration): Likewise.
6585         (getDate): Likewise.
6586         (getLastModified): Likewise.
6587         (getHeaderField): Likewise.
6588         (getContent): Likewise.
6589         (getPermission): Likewise.
6590         (getInputStream): Likewise.
6591         (getOutputStream): Likewise.
6592         (toString): Likewise.
6593         (getDoInput): Likewise.
6594         (getDoOutput): Likewise.
6595         (setAllowUserInteraction): Likewise.
6596         (getAllowUserInteraction): Likewise.
6597         (setDefaultAllowUserInteraction): Likewise.
6598         (getDefaultAllowUserInteraction): Likewise.
6599         (setUseCaches): Likewise.
6600         (getUseCaches): Likewise.
6601         (setIfModifiedSince): Likewise.
6602         (getIfModifiedSince): Likewise.
6603         (setDefaultRequestProperty): Likewise.
6604         (getDefaultRequestProperty): Likewise.
6605         (setContentHandlerFactory): Likewise.
6606         (setFileNameMap): Likewise.
6607
6608 2003-05-02  Michael Koch  <konqueror@gmx.de>
6609
6610         * java/net/InetAddress.java:
6611         Merged class documentation with classpath.
6612         * java/net/JarURLConnection.java:
6613         Explicitely import all used classes.
6614         * java/net/URL.java:
6615         Reformatting.
6616         * java/net/ServerSocket.java,
6617         java/net/Socket.java:
6618         New versions from classpath.
6619
6620 2003-05-02  Michael Koch  <konqueror@gmx.de>
6621
6622         * gnu/java/nio/FileChannelImpl.java
6623         (read): New implementation.
6624         (implRead): New methods.
6625         (write): New implementation, call other write insteal of read method.
6626         (implWrite): New methods.
6627         (map): Added comment.
6628         (transferFrom): Implemented.
6629         (transferTo): Implemented.
6630         (lock): Added checks to throw exceptions.
6631         (truncate): Added check to throw exception.
6632         * gnu/java/nio/natFileChannelImpl.cc
6633         (implRead): New method.
6634         (implWrite): New method.
6635         * java/nio/ByteBuffer.java
6636         (hashCode): Fixed comment.
6637         (get): Fixed exception documentation.
6638         (put): Fixed exception documentation.
6639         * java/nio/CharBuffer.java:
6640         Added comment for later optimizations.
6641
6642 2003-04-30  Tom Tromey  <tromey@redhat.com>
6643
6644         PR libgcj/10582:
6645         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6646         Removed.
6647         (type::compatible): Use _Jv_IsAssignableFrom.
6648         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6649         (_Jv_IsAssignableFrom): Work even when source or target class is
6650         not prepared.
6651
6652 2003-04-30  Michael Koch  <konqueror@gmx.de>
6653
6654         * java/text/BreakIterator.java
6655         (clone): New method.
6656
6657 2003-04-30  Michael Koch  <konqueror@gmx.de>
6658
6659         * java/text/CollationElementIterator.java,
6660         java/text/CollationKey.java,
6661         java/text/RuleBasedCollator.java:
6662         Merged copyright and documentation from classpath and
6663         rearranged some code. No code changes done.
6664
6665 2003-04-30  Michael Koch  <konqueror@gmx.de>
6666
6667         * java/util/regex/Matcher.java
6668         (pattern): New member variable.
6669         (appendReplacement): New method.
6670         (appendTail): New method.
6671         (end): New method.
6672         (find): New method.
6673         (group): New method.
6674         (replaceFirst): Added documentation.
6675         (replaceAll): Added documentation.
6676         (groupCount): New method.
6677         (lookingAt): New method.
6678         (matches): New method.
6679         (reset): New method.
6680         (start): New method.
6681         * java/util/regex/Pattern.java
6682         (serialVersionUID): New constant.
6683         (CANON_EQ): New constant.
6684         (CASE_INSENSITIVE): New constant.
6685         (COMMENTS): New constant.
6686         (DOTALL): New constant.
6687         (MULTILINE): New constant.
6688         (UNICODE_CASE): New constant.
6689         (UNIX_LINES): New constant.
6690         (regex): New member variable.
6691         (flags): New member variable.
6692         (Pattern): New method.
6693         (compile): Documentation added.
6694         (flags): New method.
6695         (matches): Documentation added.
6696         (matcher): Documentation added.
6697         (split): Documentation added.
6698         (pattern): New method.
6699
6700 2003-04-30  Michael Koch  <konqueror@gmx.de>
6701
6702         * gnu/java/security/Engine.java,
6703         gnu/java/security/OID.java,
6704         gnu/java/security/der/BitString.java,
6705         gnu/java/security/der/DER.java,
6706         gnu/java/security/der/DERReader.java,
6707         gnu/java/security/der/DERValue.java,
6708         gnu/java/security/der/DERWriter.java,
6709         gnu/java/security/provider/DSAKeyFactory.java,
6710         gnu/java/security/provider/X509CertificateFactory.java,
6711         gnu/java/security/x509/X500DistinguishedName.java,
6712         gnu/java/security/x509/X509CRL.java,
6713         gnu/java/security/x509/X509CRLEntry.java,
6714         gnu/java/security/x509/X509Certificate.java,
6715         java/security/cert/CRLSelector.java,
6716         java/security/cert/CertPathBuilder.java,
6717         java/security/cert/CertPathBuilderResult.java,
6718         java/security/cert/CertPathBuilderSpi.java,
6719         java/security/cert/CertPathParameters.java,
6720         java/security/cert/CertPathValidator.java,
6721         java/security/cert/CertPathValidatorResult.java,
6722         java/security/cert/CertPathValidatorSpi.java,
6723         java/security/cert/CertSelector.java,
6724         java/security/cert/CertStore.java,
6725         java/security/cert/CertStoreParameters.java,
6726         java/security/cert/CertStoreSpi.java,
6727         java/security/cert/CollectionCertStoreParameters.java,
6728         java/security/cert/LDAPCertStoreParameters.java,
6729         java/security/cert/PKIXBuilderParameters.java,
6730         java/security/cert/PKIXCertPathBuilderResult.java,
6731         java/security/cert/PKIXCertPathChecker.java,
6732         java/security/cert/PKIXCertPathValidatorResult.java,
6733         java/security/cert/PKIXParameters.java,
6734         java/security/cert/PolicyNode.java,
6735         java/security/cert/PolicyQualifierInfo.java,
6736         java/security/cert/TrustAnchor.java,
6737         javax/security/auth/x500/X500Principal.java:
6738         New files from classpath.
6739         * gnu/java/io/ASN1ParsingException.java,
6740         gnu/java/io/Base64InputStream.java,
6741         gnu/java/security/der/DEREncodingException.java,
6742         gnu/java/security/provider/DSAParameters.java,
6743         gnu/java/security/provider/DSASignature.java,
6744         gnu/java/security/provider/Gnu.java,
6745         gnu/java/security/provider/GnuDSAPrivateKey.java,
6746         gnu/java/security/provider/GnuDSAPublicKey.java,
6747         java/security/AlgorithmParameterGenerator.java,
6748         java/security/AlgorithmParameters.java,
6749         java/security/KeyFactory.java,
6750         java/security/KeyPairGenerator.java,
6751         java/security/KeyStore.java,
6752         java/security/MessageDigest.java,
6753         java/security/SecureClassLoader.java,
6754         java/security/SecureRandom.java,
6755         java/security/Security.java,
6756         java/security/Signature.java,
6757         java/security/cert/Certificate.java,
6758         java/security/cert/CertificateFactory.java,
6759         java/security/cert/CertificateFactorySpi.java,
6760         java/security/cert/X509CRL.java,
6761         java/security/cert/X509Certificate.java,
6762         java/security/spec/DSAPublicKeySpec.java:
6763         New versions from classpath.
6764         * gnu/java/security/provider/DERReader.java,
6765         gnu/java/security/provider/DERWriter.java,
6766         java/security/Engine.java: Removed.
6767         * Makefile.am
6768         (java_source_files, javax_source_files): Added new files.
6769         * Makefile.in: Regenerated.
6770
6771 2003-04-29  Michael Koch  <konqueror@gmx.de>
6772
6773         * javax/swing/JTable.java
6774         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6775         (AUTO_RESIZE_LAST_COLUMN): New constant.
6776         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6777         (AUTO_RESIZE_OFF): New constant.
6778         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6779         (JTable): New method.
6780         (columnAdded): New method.
6781         (columnMarginChanged): New method.
6782         (columnMoved): New method.
6783         (columnRemoved): New method.
6784         (columnSelectionChanged): New method.
6785         (editingCanceled): New method.
6786         (editingStopped): New method.
6787         (getColumnModel): New method.
6788         (getPreferredScrollableViewportSize): New method.
6789         (getScrollableBlockIncrement): New method.
6790         (getScrollableTracksViewportHeight): New method.
6791         (getScrollableTracksViewportWidth): New method.
6792         (getScrollableUnitIncrement): New method.
6793         (getSelectedRow): New method.
6794         (getSelectionModel): New method.
6795         (tableChanged): New method.
6796         (setModel): New method.
6797         (setSelectionMode): New method.
6798         (setSelectionModel): New method.
6799         (setShowGrid): New method.
6800         (valueChanged): New method.
6801         * javax/swing/text/DefaultEditorKit.java
6802         (backwardAction): New constant.
6803         (beepAction): New constant.
6804         (beginAction): New constant.
6805         (beginLineAction): New constant.
6806         (beginParagraphAction): New constant.
6807         (beginWordAction): New constant.
6808         (copyAction): New constant.
6809         (cutAction): New constant.
6810         (defaultKeyTypedAction): New constant.
6811         (deleteNextCharAction): New constant.
6812         (deletePrevCharAction): New constant.
6813         (downAction): New constant.
6814         (endAction): New constant.
6815         (endLineAction): New constant.
6816         (endOfLineStringProperty): New constant.
6817         (endParagraphAction): New constant.
6818         (endWordAction): New constant.
6819         (forwardAction): New constant.
6820         (insertBreakAction): New constant.
6821         (insertContentAction): New constant.
6822         (insertTabAction): New constant.
6823         (nextWordAction): New constant.
6824         (pageDownAction): New constant.
6825         (pageUpAction): New constant.
6826         (pasteAction): New constant.
6827         (previousWordAction): New constant.
6828         (readOnlyAction): New constant.
6829         (selectAllAction): New constant.
6830         (selectionBackwardAction): New constant.
6831         (selectionBeginAction): New constant.
6832         (selectionBeginLineAction): New constant.
6833         (selectionBeginParagraphAction): New constant.
6834         (selectionBeginWordAction): New constant.
6835         (selectionDownAction): New constant.
6836         (selectionEndAction): New constant.
6837         (selectionEndLineAction): New constant.
6838         (selectionEndParagraphAction): New constant.
6839         (selectionEndWordAction): New constant.
6840         (selectionForwardAction): New constant.
6841         (selectionNextWordAction): New constant.
6842         (selectionPreviousWordAction): New constant.
6843         (selectionUpAction): New constant.
6844         (selectLineAction): New constant.
6845         (selectParagraphAction): New constant.
6846         (selectWordAction): New constant.
6847         (upAction): New constant.
6848         (writableAction): New constant.
6849
6850 2003-04-29  Michael Koch  <konqueror@gmx.de>
6851
6852         * java/util/PropertyPermission.java:
6853         New version from classpath
6854         * java/util/ResourceBundle.java:
6855         Partly merged from classpath
6856         (getObject): Reformated.
6857         (tryBundle): Set foundBundle = null if no bundle found.
6858
6859 2003-04-29  Michael Koch  <konqueror@gmx.de>
6860
6861         * javax/swing/AbstractListModel.java,
6862         javax/swing/DefaultBoundedRangeModel.java,
6863         javax/swing/DefaultSingleSelectionModel.java:
6864         New Versions from classpath.
6865
6866 2003-04-29  Michael Koch  <konqueror@gmx.de>
6867
6868         * java/awt/Window.java
6869         (show): Call super.show() instead of setVisible() to avoid endless
6870         loop.
6871         (hide): Call super.hide() instead of setVisible() to avoid endless
6872         loop.
6873
6874 2003-04-29  Michael Koch  <konqueror@gmx.de>
6875
6876         * java/util/zip/Deflater.java,
6877         java/util/zip/DeflaterOutputStream.java:
6878         Partly merged with classpath.
6879
6880 2003-04-27  Tom Tromey  <tromey@redhat.com>
6881
6882         * java/lang/natString.cc (_Jv_AllocString): Initialize
6883         cachedHashCode.
6884         (init): Likewise.
6885         (_Jv_NewStringUtf8Const): Likewise.
6886
6887 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6888
6889         * include/jvm.h: (_Jv_GetNbArgs) added
6890         (_Jv_GetSafeArg) added
6891         (_Jv_SetArgs) added
6892         * prims.cc: (_Jv_GetNbArgs) implemented
6893         (_Jv_GetSafeArg) implemented
6894         (_Jv_SetArgs) implemented
6895         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6896         setting _Jv_argc and _Jv_argv
6897         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6898         instead of _Jv_argv
6899         * java/lang/natRuntime.cc: (insertSystemProperties) use
6900         _Jv_GetSafeArg() instead of _Jv_argv
6901
6902 2003-04-23  Tom Tromey  <tromey@redhat.com>
6903
6904         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6905         required by this object.  Search superclasses to find required
6906         alignment.
6907         (get_alignment_from_class): Use alignment of type as it appears
6908         in a struct.
6909         (ALIGNOF): New macro.
6910         (struct aligner): New helper structure.
6911
6912 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6913
6914         * java/awt/Container.java (addImpl): Enable paint events if adding
6915         a lightweight to a heavyweight.
6916         (addNotify): Ensure that peer is created before
6917         addNotifyContainerChildren.
6918         (addNotifyContainerChildren): Enable paint events if a heavyweight
6919         container contains a lightweight.
6920
6921 2003-04-20  Tom Tromey  <tromey@redhat.com>
6922
6923         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6924         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6925         Classpath.
6926
6927 2003-04-19  Tom Tromey  <tromey@redhat.com>
6928
6929         * java/sql/Date.java, java/sql/DriverManager.java,
6930         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6931         Classpath.
6932
6933         * Makefile.in: Rebuilt.
6934         * Makefile.am (ordinary_java_source_files): Added new files.
6935         * java/security/AlgorithmParameterGenerator.java,
6936         java/security/AlgorithmParameters.java, java/security/Engine.java,
6937         java/security/Identity.java, java/security/IdentityScope.java,
6938         java/security/KeyFactory.java,
6939         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6940         java/security/MessageDigest.java, java/security/Policy.java,
6941         java/security/ProtectionDomain.java,
6942         java/security/SecureRandom.java, java/security/Security.java,
6943         java/security/Signature.java, java/security/SignatureSpi.java,
6944         java/security/SignedObject.java, java/security/Signer.java,
6945         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6946         java/security/spec/PSSParameterSpec.java,
6947         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6948         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6949         Classpath.
6950
6951 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6952
6953         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6954         (dispose): Null metrics.
6955         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6956         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6957         finalize.
6958         (finalize): Call dispose.
6959         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6960         (gcCachedCount): New field.
6961         (finalize): New method.
6962         (putGCInCache): New method.
6963         (getGCFromCache): New method.
6964         * gnu/gcj/xlib/GC.java (GC): Make protected.
6965         (clone): Get new GC from cache if possible.
6966         (create): New static method.
6967         (dispose): Save old GC in cache.
6968         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6969         deleting.
6970         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6971         is null.
6972         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6973         * java/awt/Container.java (visitChild): Dispose gfx2 when
6974         finished.
6975
6976 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6977
6978         * java/math/BigInteger.java (probablePrime): New.
6979         * java/math/BigDecimal.java (unscaledValue): New.
6980
6981 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6982
6983         * java/io/File.java (getAbsolutePath): On Windows, take care
6984         of paths like "C:", "G:foo\bar", etc.
6985         (getName): Make it work correctly on Windows.
6986         (getParent): Make it work correctly on Windows. For UNIX,
6987         fix bug that causes "/" to be returned as the parent of "/",
6988         instead of null as returned by Sun's JRE.
6989
6990         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6991
6992 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6993
6994         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6995         inner class.
6996         (CACHE_SIZE_PER_DISPLAY): New field
6997         (fontMetricsCache): New field
6998         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6999         loading ISO10646-1 fonts.
7000
7001 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
7002
7003         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7004         characters.
7005         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7006         characters.
7007
7008 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
7009
7010         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7011         floating point.
7012
7013 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
7014
7015         * configure.host (*-linux*): Don't set slow_pthread_self if primary
7016         installed libpthread is either linuxthreads with floating stacks or
7017         NPTL.
7018
7019 2003-04-14  Tom Tromey  <tromey@redhat.com>
7020
7021         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7022         of alignment.
7023
7024 2003-04-10  Tom Tromey  <tromey@redhat.com>
7025
7026         * verify.cc (pop64): Removed.
7027         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
7028         exception if top-of-stack is narrow.
7029         (initialize_stack): Check to ensure that <init> is not static and
7030         <clinit> is.
7031
7032 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
7033
7034         * java/io/ObjectStreamException
7035         * java/io/FileFilter
7036         * java/io/FilenameFilter
7037         * java/io/ObjectInput
7038         * java/io/ObjectOutput
7039         * java/io/ObjectStreamConstants
7040         Minor doc fixes, format fixes, spelling corrections, etc.
7041         * java/io/DataInput
7042         Corrected code samples in Javadocs to match reality
7043         * java/io/DataOutput
7044         * java/io/ObjectInputValidation
7045         Major documentation fixes - all Javadocs re-written or updated
7046
7047 2003-04-06  Michael Koch  <konqueror@gmx.de>
7048
7049         * java/net/URLConnection.java:
7050         Import classes directly.
7051         (URLConnection): Merged class documentation with classpath.
7052         (url): Moved, documentation from classpath added.
7053         (doInput): Moved, documentation from classpath added.
7054         (doOutput): Moved, documentation from classpath added.
7055         (allowUserInteraction): Moved.
7056         (useCaches): Moved, documentation from classpath added.
7057         (ifModifiedSince): Moved, documentation from classpath added.
7058         (connected): Moved, documentation from classpath added.
7059
7060 2003-04-06  Michael Koch  <konqueror@gmx.de>
7061
7062         * java/io/FileInputStream.java
7063         (skip): Renamed some variables to match classpath, added
7064         checks from classpath.
7065
7066 2003-03-31  Michael Koch  <konqueror@gmx.de>
7067
7068         * javax/swing/AbstractAction.java
7069         (AbstractAction): Reformatted.
7070         (serialVersionUID): New private member variable.
7071         * javax/swing/plaf/BorderUIResource.java
7072         (serialVersionUID): New private member variable.
7073         * javax/swing/plaf/basic/BasicLookAndFeel.java
7074         (serialVersionUID): New private member variable.
7075
7076 2003-03-31  Michael Koch  <konqueror@gmx.de>
7077
7078         * java/sql/Date.java
7079         (valueOf): Deprecated, reformatted.
7080         (toString): Deprecated, reformatted.
7081         * java/sql/Time.java
7082         (valueOf): Deprecated, reformatted.
7083         (toString): Deprecated, reformatted.
7084
7085 2003-03-31  Michael Koch  <konqueror@gmx.de>
7086
7087         * java/rmi/dgc/VMID.java
7088         (isUnique): Deprecated.
7089
7090 2003-03-31  Michael Koch  <konqueror@gmx.de>
7091
7092         * java/io/File.java
7093         (separator): Merged documentation from classpath.
7094         (separatorChar): Merged documentation from classpath.
7095         (pathSeparator): Merged documentation from classpath.
7096         (pathSeparatorChar): Merged documentation from classpath.
7097         (path): Merged documentation from classpath.
7098         (canRead): Merged documentation from classpath.
7099         (canWrite): Merged documentation from classpath.
7100         (createNewFile): Merged documentation from classpath.
7101         (delete): Merged documentation from classpath.
7102         (equals): Merged documentation from classpath.
7103         (exists): Merged documentation from classpath.
7104         (File): Renamed p to name to match classpath, merged documentation
7105         from classpath.
7106         (getAbsolutePath): Merged documentation from classpath.
7107         (getCanonicalPath): Merged documentation from classpath.
7108         (getCanonicalFile): Merged documentation from classpath.
7109         (getName): Merged documentation from classpath.
7110         (getParent): Merged documentation from classpath.
7111         (getParentFile): Merged documentation from classpath.
7112         (getPath): Merged documentation from classpath.
7113         (hashCode): Merged documentation from classpath.
7114         (isAbsolute): Merged documentation from classpath.
7115         (isDirectory): Merged documentation from classpath.
7116         (isFile): Merged documentation from classpath.
7117         (isHidden): Merged documentation from classpath.
7118         (lastModified): Merged documentation from classpath.
7119         (length): Merged documentation from classpath.
7120         (list): Merged documentation from classpath.
7121         (listFiles): Merged documentation from classpath.
7122         (toString): Merged documentation from classpath.
7123         (toURL): Merged documentation from classpath.
7124         (mkdir): Merged documentation from classpath.
7125         (mkdirs): Merged documentation from classpath.
7126         (createTempFile): Merged documentation from classpath.
7127         (setReadOnly): Merged documentation from classpath.
7128         (listRoots): Merged documentation from classpath.
7129         (compareTo): Merged documentation from classpath.
7130         (renameTo): Merged documentation from classpath.
7131         (setLastModified): Merged documentation from classpath.
7132         * java/io/PrintStream.java
7133         (auto_flush): Merged documentation from classpath.
7134         (PrintStream): Merged documentation from classpath.
7135         (checkError): Merged documentation from classpath.
7136         (setError): Merged documentation from classpath.
7137         (close): Merged documentation from classpath.
7138         (flush): Merged documentation from classpath.
7139         (print): Merged documentation from classpath.
7140         (println):  Merged documentation from classpath.
7141         (write): Renamed count to len to match classpath,
7142         merged documentation from classpath.
7143         * java/io/RandomAccessFile.java
7144         (readShort): Merged documentation from classpath.
7145         (readUnsignedByte): Merged documentation from classpath.
7146         (readUnsignedShort): Merged documentation from classpath.
7147         (readUTF): Merged documentation from classpath.
7148         (seek): Reformatted, merged documentation from classpath.
7149         (skipBytes): Renamed some variables to match classpath, reformatted,
7150         merged documentation from classpath.
7151         (write): Merged documentation from classpath.
7152         (writeBoolean): Merged documentation from classpath.
7153         (writeByte): Merged documentation from classpath.
7154         (writeShort): Merged documentation from classpath.
7155         (writeChar): Merged documentation from classpath.
7156         (writeInt): Merged documentation from classpath.
7157         (writeLong): Merged documentation from classpath.
7158         (writeFloat): Merged documentation from classpath.
7159         (writeDouble): Merged documentation from classpath.
7160         (writeBytes): Merged documentation from classpath.
7161         (writeChars): Merged documentation from classpath.
7162         (writeUTF): Reformatted.
7163         (getChannel): Reformatted.
7164
7165 2003-03-31  Michael Koch  <konqueror@gmx.de>
7166
7167         * java/awt/font/TextAttribute.java
7168         (readResolve): Throws java.io.InvalidObjectException.
7169
7170 2003-03-31  Michael Koch  <konqueror@gmx.de>
7171
7172         * java/rmi/server/LoaderHandler.java
7173         (loadClass): Deprecated.
7174         (getSecurityContext): Deprecated.
7175         * java/rmi/server/LogStream.java
7176         (getDefaultStream): Deprecated.
7177         (setDefaultStream): Deprecated.
7178         (getOutputStream): Deprecated.
7179         (setOutputStream): Deprecated.
7180         (write): Deprecated.
7181         (toString): Deprecated.
7182         (parseLevel): Deprecated.
7183         * java/rmi/server/Operation.java
7184         (Operation): Deprecated.
7185         (getOperation): Deprecated.
7186         (toString): Deprecated.
7187         * java/rmi/server/RemoteCall.java
7188         (getOutputStream): Deprecated.
7189         (releaseOutputStream): Deprecated.
7190         (getInputStream): Deprecated.
7191         (releaseInputStream): Deprecated.
7192         (getResultStream): Deprecated.
7193         (executeCall): Deprecated.
7194         (done): Deprecated.
7195         * java/rmi/server/RemoteRef.java
7196         (invoke): Deprecated.
7197         (newCall): Deprecated.
7198         (done): Deprecated.
7199         * java/rmi/server/RemoteStub.java
7200         (setRef): Deprecated.
7201         * java/rmi/server/Skeleton.java:
7202         No need to import java.lang.Exception explicitly.
7203         (dispatch): Deprecated.
7204         (getOperations): Deprecated.
7205
7206 2003-03-31  Michael Koch  <konqueror@gmx.de>
7207
7208         * java/rmi/dgc/VMID.java,
7209         java/rmi/registry/RegistryHandler.java,
7210         java/rmi/server/LogStream.java,
7211         java/rmi/server/Operation.java,
7212         java/rmi/server/RemoteCall.java,
7213         java/rmi/server/RemoteRef.java,
7214         java/rmi/server/RemoteStub.java:
7215         Reformatted.
7216
7217 2003-03-31  Michael Koch  <konqueror@gmx.de>
7218
7219         * javax/swing/AbstractCellEditor.java,
7220         javax/swing/AbstractListModel.java,
7221         javax/swing/ActionMap.java,
7222         javax/swing/BorderFactory.java,
7223         javax/swing/ButtonGroup.java,
7224         javax/swing/DefaultBoundedRangeModel.java,
7225         javax/swing/DefaultButtonModel.java,
7226         javax/swing/DefaultCellEditor.java,
7227         javax/swing/DefaultComboBoxModel.java,
7228         javax/swing/DefaultDesktopManager.java,
7229         javax/swing/DefaultListCellRenderer.java,
7230         javax/swing/DefaultSingleSelectionModel.java,
7231         javax/swing/InputMap.java,
7232         javax/swing/JComponent.java,
7233         javax/swing/JMenu.java,
7234         javax/swing/JSlider.java,
7235         javax/swing/KeyStroke.java,
7236         javax/swing/OverlayLayout.java,
7237         javax/swing/ScrollPaneLayout.java,
7238         javax/swing/SizeRequirements.java,
7239         javax/swing/UIManager.java,
7240         javax/swing/ViewportLayout.java,
7241         javax/swing/border/AbstractBorder.java,
7242         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7243         javax/swing/event/EventListenerList.java,
7244         javax/swing/table/AbstractTableModel.java,
7245         javax/swing/table/DefaultTableCellRenderer.java,
7246         javax/swing/table/DefaultTableColumnModel.java,
7247         javax/swing/table/DefaultTableModel.java,
7248         javax/swing/table/TableColumn.java,
7249         javax/swing/text/StyledEditorKit.java,
7250         javax/swing/tree/DefaultMutableTreeNode.java,
7251         javax/swing/tree/DefaultTreeModel.java,
7252         javax/swing/tree/DefaultTreeSelectionModel.java,
7253         javax/swing/tree/TreePath.java,
7254         javax/swing/undo/AbstractUndoableEdit.java,
7255         javax/swing/undo/StateEdit.java,
7256         javax/swing/undo/StateEditable.java,
7257         javax/swing/undo/UndoableEditSupport.java:
7258         Merges from classpath.
7259
7260 2003-03-30  Tom Tromey  <tromey@redhat.com>
7261
7262         * java/lang/String.java (data, boffset, count): Documented.
7263         (String(byte[],String)): Reformatted.
7264         (String(byte[])): Likewise.
7265         (lastIndexOf(int)): Likewise.
7266         (lastIndexOf(String)): Likewise.
7267         (substring(int)): Renamed argument to match Classpath.
7268         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7269
7270         * java/lang/String.java: Miscellaneous minor formatting changes
7271         to match Classpath more closely.
7272
7273 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7274             Tom Tromey  <tromey@redhat.com>
7275
7276         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7277         (init()): Removed.
7278         (charAt): Put index in exception.
7279         (contentEquals): New method.
7280         Include StringBuffer.h.
7281         * java/lang/String.java (cachedHashCode): New field.
7282         (String()): Follow classpath implementation.
7283         (init()): Removed.
7284         (contentEquals): Declare.
7285         (subSequence): Don't declare IndexOutIfBoundsException in throws
7286         clause.
7287         (matches, replaceFirst, replaceAll, split): New methods from
7288         Classpath.
7289
7290 2003-03-29  Tom Tromey  <tromey@redhat.com>
7291
7292         * java/lang/String.java: Reordered to follow Classpath; merged in
7293         javadoc.
7294
7295         * java/text/MessageFormat.java: Removed some whitespace.
7296
7297         * Makefile.in: Rebuilt.
7298         * Makefile.am (awt_java_source_files): Added new files.
7299         * gnu/javax/rmi/PortableServer.java,
7300         gnu/javax/rmi/CORBA/DelegateFactory.java,
7301         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7302         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7303         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7304         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7305         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7306         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7307         javax/rmi/PortableRemoteObject.java,
7308         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7309         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7310         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7311         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7312         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7313         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7314
7315         * java/lang/natClass.cc (newInstance): Put method name in
7316         exception.
7317         (getConstructor): Likewise.
7318         (getDeclaredConstructor): Likewise.
7319         (getPrivateMethod): Likewise.
7320
7321 2003-03-28  Tom Tromey  <tromey@redhat.com>
7322
7323         * java/lang/reflect/Proxy.java: New version from Classpath.
7324         * java/lang/Package.java: New version from Classpath.
7325
7326 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7327
7328         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7329         * configure: Regenerate.
7330
7331 2003-03-28  Michael Koch  <konqueror@gmx.de>
7332
7333         * java/io/File.java:
7334         Import needed classes instead of whole packages, merged class
7335         documentation with classpath, moved constants and variables to top of
7336         class.
7337         * java/io/PrintStream.java:
7338         Merged class documentation with classpath, moved constants and
7339         variables to top of class.
7340         * java/io/RandomAccessFile.java
7341         (RandomAccessFile): Merged with classpath.
7342         (read): Merged with classpath).
7343         (read*): Reformatted.
7344
7345 2003-03-28  Michael Koch  <konqueror@gmx.de>
7346
7347         * java/io/FileDescriptor.java
7348         (finalize): Throws Throwable, not IOException.
7349         * java/io/ObjectOutputStream.java
7350         (PutField.put): Doesnt throws anything.
7351
7352 2003­03-28  Michael Koch  <konqueror@gmx.de>
7353
7354         * java/io/FileOutputStream.java:
7355         Merged class documentation and authors with classpath.
7356         (FileOutputStream): Partly merged with classpath.
7357         (write): Merged with classpath.
7358         (getChannel): Make it synchronized instead of explicit block in this
7359         method.
7360         * java/io/RandomAccessFile.java:
7361         Merged class documentation and authors with classpath.
7362
7363 2003-03-26  Tom Tromey  <tromey@redhat.com>
7364
7365         * java/lang/natRuntime.cc (insertSystemProperties): Set
7366         gnu.classpath.home.url.
7367         * Makefile.in: Rebuilt.
7368         * Makefile.am: Define LIBDIR.
7369
7370 2003-03-25  Michael Koch  <konqueror@gmx.de>
7371
7372         * java/io/FileInputStream.java
7373         (read): Renamed b to buf and off to offset.
7374         * java/io/FileOutputStream.java
7375         (ch): Documentation added.
7376         (FileOutputStream): Documentation added.
7377         (getFD): Documentation added.
7378         (write): Documentation added.
7379         (close): Documentation added.
7380         (getChannel): Documentation added.
7381
7382 2003-03-24  Michael Koch  <konqueror@gmx.de>
7383
7384         * java/io/DataOutputStream.java
7385         (write): Merged from classpath.
7386         * java/io/File.java:
7387         Merged copyrigth with classpath.
7388         * java/io/FileInputStream.java
7389         (getChannel): Made it synchronized instead of using a synchronized
7390         block.
7391         * java/io/FileOutputStream.java: Reformatted.
7392         * java/io/InputStreamReader.java
7393         (InputStreamReader): Renamed enc to encoding_name.
7394         (close): Merged documentation from classpath.
7395         (getEncoding): Merged documentation from classpath.
7396         (ready): Merged documentation from classpath.
7397         (read): Merged documentation from classpath.
7398         * java/io/LineNumberReader.java
7399         (lineNumber): Made it private.
7400         (LineNumberReader): Use Constant instead of a direct value.
7401         * java/io/OutputStreamWriter.java
7402         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7403         documentation from classpath.
7404         (close): Merged documentation from classpath.
7405         (flush): Merged documentation from classpath.
7406         (write): Merged documentation from classpath.
7407         * java/io/PrintStream.java: Reformatted.
7408
7409 2003-03-24  Michael Koch  <konqueror@gmx.de>
7410
7411         * javax/swing/text/ComponentView.java
7412         (getComponent): Must be final.
7413         * javax/swing/tree/DefaultTreeCellRenderer.java:
7414         Reformatted.
7415         * javax/swing/undo/StateEditable.java:
7416         Reformatted.
7417
7418 2003-03-24  Michael Koch  <konqueror@gmx.de>
7419
7420         * java/rmi/activation/ActivationInstantiator.java:
7421         Reformatted.
7422         * java/rmi/activation/Activator.java:
7423         Reformatted.
7424         * java/rmi/registry/RegistryHandler.java:
7425         Remerged from classpath.
7426
7427 2003-03-24  Michael Koch  <konqueror@gmx.de>
7428
7429         * java/util/Date.java:
7430         Fixed documentation starting tag to make javadoc happy.
7431         * java/util/regex/Pattern.java
7432         (Pattern): Implements Serializable.
7433         * java/util/PatternSyntaxException.java
7434         (serialVersionUID): New member variable.
7435
7436 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7437
7438         * java/awt/ContainerOrderFocusTraversalPolicy.java
7439         (getFirstComponent): Implemented.
7440         (getLastComponent): Implemented.
7441         (getDefaultComponent): Implemented.
7442         (setImplicitDownCycleTraversal): Fixed implementation.
7443         * java/awt/Robot.java
7444         (Robot): Added documentation.
7445         * java/awt/Toolkit.java
7446         (getFontList): Deprecated.
7447         (getFontMetrics): Deprecated.
7448         (getPrintJob): Added documentation.
7449         (getSystemSelection): Added documentation.
7450         (getLockingKeyState): Added documentation.
7451         (setLockingKeyState): Added documentation.
7452         (createCustomCursor): Added documentation.
7453         (getBestCursorSize): Added documentation.
7454         (getMaximumCursorColors): Added documentation.
7455         (isFrameStateSupported): Added documentation.
7456
7457 2003-03-24  Michael Koch  <konqueror@gmx.de>
7458
7459         * java/io/RandomAccessFile.java:
7460         More little merges with classpath. No code changes.
7461
7462 2003-03-24  Michael Koch  <konqueror@gmx.de>
7463
7464         * java/net/natInetAddressNoNet.cc:
7465         Include stddef.h.
7466         * java/net/natPlainDatagramSocketImplNoNet.cc:
7467         Fixed inlcude of java/net/DatagramPacket.h.
7468         * java/net/natPlainSocketImplNoNet.cc:
7469         Include some missing classes.
7470
7471 2003-03-24  Michael Koch  <konqueror@gmx.de>
7472
7473         * java/awt/dnd/DropTarget.java
7474         (DropTargetAutoScroller): According to the online documentation, this
7475         is protected, but in reality it is public.
7476         * java/awt/dnd/DropTargetContext.java
7477         (TransferableProxy): According to the online documentation, this
7478         is protected, but in reality it is public.
7479
7480 2003-03-24  Michael Koch  <konqueror@gmx.de>
7481
7482         * java/io/DataInputStream.java
7483         (): Wrapped documentation line.
7484         (): Fixed @return tag.
7485         * java/io/DataOutputStream.java
7486         (written): Moved to top of class.
7487         (all methods): Merged documentation from classpath.
7488         * java/io/File.java:
7489         Merged copyright year with classpath.
7490         * java/io/FileInputStream.java
7491         (all methods): Merged documentation from classpath.
7492         * java/io/LineNumberReader.java
7493         (getLineNumber): Fixed @return tag.
7494         * java/io/ObjectInputStream.java.
7495         Reformatted.
7496         * java/io/ObjectOutputStream.java:
7497         Reformatted, fixed some @see tags.
7498         * java/io/OutputStreamWriter.java:
7499         Deleted empty line.
7500         * java/io/Writer.java:
7501         Reformatted.
7502
7503 2003-03-24  Michael Koch  <konqueror@gmx.de>
7504
7505         * java/awt/Frame.java
7506         (DEFAULT_CURSOR): Fixed @deprecated tag.
7507         (setCursor): Fixed @deprecated tag.
7508
7509 2003-03-24  Michael Koch  <konqueror@gmx.de>
7510
7511         * java/beans/beancontext/BeanContextEvent.java:
7512         Reformated.
7513
7514 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7515
7516         * java/lang/natStringBuffer.cc (regionMatches): New function.
7517         * java/lang/String.java (count): Now package-private.
7518         * java/lang/StringBuffer.java: Merged with Classpath.
7519
7520 2003-03-23  Michael Koch  <konqueror@gmx.de>
7521
7522         * java/io/BufferedOutputStream.java:
7523         Reformated.
7524         * java/io/BufferedReader.java:
7525         Reformated.
7526         * java/io/ByteArrayOutputStream.java
7527         (size): Fixed @see tag.
7528         * java/io/CharArrayWriter.java
7529         (size): Fixed @see tag.
7530         * java/io/DataInput.java:
7531         Reformated.
7532         * java/io/DataOutput.java:
7533         Reformated.
7534         * java/io/DataOutputStream.java:
7535         Merged copyright years with classpath.
7536         * java/io/Externalizable.java:
7537         Reformated.
7538         * java/io/FileFilter.java:
7539         Reformated.
7540         * java/io/FileInputStream.java:
7541         Merged copyright years with classpath.
7542         * java/io/FileOutputStream.java:
7543         Merged copyright years with classpath.
7544         * java/io/FilePermission.java
7545         (FilePermission): Replaced @XXX with FIXME:.
7546         * java/io/FileWriter.java:
7547         Reformated.
7548         * java/io/FilenameFilter.java:
7549         Reformated.
7550         * java/io/FilterInputStream.java:
7551         Reformated.
7552         * java/io/FilterOutputStream.java:
7553         Reformated.
7554         * java/io/FilterReader.java:
7555         Reformated.
7556         * java/io/FilterWriter.java:
7557         Reformated.
7558         * java/io/LineNumberInputStream.java
7559         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7560         happy.
7561         (getLineNumber): Fixed @return tag.
7562         * java/io/ObjectInput.java:
7563         Reformated.
7564         * java/io/ObjectOutput.java:
7565         Reformated.
7566         * java/io/ObjectStreamClass.java:
7567         Reformated.
7568         * java/io/PrintStream.java:
7569         Merged copyright years with classpath.
7570         * java/io/PushbackReader.java
7571         (PushbackReader): Replaced @code with @param.
7572         * java/io/SerializablePermission.java:
7573         Reformated.
7574         * java/io/StreamTokenizer.java
7575         (resetSyntax): Fixed @see tag.
7576
7577 2003-03-22  Richard Henderson  <rth@redhat.com>
7578
7579         * sysdep/ia64/locks.h: Include ia64intrin.h.
7580         (compare_and_swap): Use __sync_bool_compare_and_swap.
7581         (compare_and_swap_release): Expose ar.ccv assignment.
7582
7583 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7584
7585         * include/posix.h: Add suffix for darwin dynamic libraries.
7586
7587 2003-03-21  Michael Koch  <konqueror@gmx.de>
7588
7589         * javax/swing/Action.java
7590         (ACCELERATOR_KEY): New constant.
7591         (ACTION_COMMAND_KEY): Likewise.
7592         (MNEMONIC_KEY): Likewise.
7593         * javax/swing/UnsupportedLookAndFeelException.java
7594         (UnsupportedLookAndFeelException): Must be public.
7595         * javax/swing/WindowConstants.java
7596         (EXIT_ON_CLOSE): New constant.
7597         * javax/swing/text/BadLocationException.java
7598         (offset): New member variable.
7599         (BadLocationException): New implementation, documentation added.
7600         (offsetRequested): New method.
7601         * javax/swing/text/Caret.java:
7602         Reformated.
7603         * javax/swing/text/Document.java:
7604         Reformated.
7605
7606 2003-03-21  Michael Koch  <konqueror@gmx.de>
7607
7608         * java/rmi/activation/Activatable.java
7609         (serialVersionUID): New member variable.
7610         * java/rmi/activation/ActivationGroup.java
7611         (serialVersionUID): New member variable.
7612         * java/rmi/activation/ActivationGroupDesc.java
7613         (serialVersionUID): New member variable.
7614         * java/rmi/registry/Registry.java:
7615         Reformated.
7616         (Registry): Deprecated.
7617         * java/rmi/server/LoaderHandler.java
7618         Reformated.
7619         (LoaderHandler): Deprecated.
7620         * java/rmi/server/LogStream.java
7621         Reformated.
7622         (LogStream): Deprecated.
7623         * java/rmi/server/Operation.java
7624         (Operation): Deprecated.
7625         * java/rmi/server/RMIFailureHandler.java:
7626         Reformated.
7627         * java/rmi/server/RMISocketFactory.java:
7628         Reformated.
7629         * java/rmi/server/RemoteCall.java
7630         (RemoteCall): Deprecated.
7631         * java/rmi/server/RemoteStub.java:
7632         Reformated.
7633         * java/rmi/server/Skeleton.java
7634         Reformated.
7635         (Skeleton): Deprecated.
7636
7637 2003-03-21  Michael Koch  <konqueror@gmx.de>
7638
7639         * java/io/LineNumberReader.java
7640         (LineNumberReader): Merged documentation with classpath.
7641         (getLineNumber): Likewise.
7642         (setLineNumber): Likewise.
7643         (mark): Likewise.
7644         (reset): Likewise.
7645         (read): Likewise.
7646         (readLine): Likewise.
7647         (skip): Likewise.
7648
7649 2003-03-21  Michael Koch  <konqueror@gmx.de>
7650
7651         * java/rmi/RMISecurityManager.java
7652         (checkAccept): Removed.
7653         (checkAccess): Likewise.
7654         (checkAccess): Likewise.
7655         (checkAwtEventQueueAccess): Likewise.
7656         (checkConnect): Likewise.
7657         (checkCreateClassLoader): Likewise.
7658         (checkDelete): Likewise.
7659         (checkExec): Likewise.
7660         (checkExit): Likewise.
7661         (checkLink): Likewise.
7662         (checkListen): Likewise.
7663         (checkMemberAccess): Likewise.
7664         (checkMulticast): Likewise.
7665         (checkPackageAccess): Likewise.
7666         (checkPackageDefinition): Likewise.
7667         (checkPermission): Likewise.
7668         (checkPrintJobAccess): Likewise.
7669         (checkPropertiesAccess): Likewise.
7670         (checkPropertyAccess): Likewise.
7671         (checkRead): Likewise.
7672         (checkSecurityAccess): Likewise.
7673         (checkSetFactory): Likewise.
7674         (checkSystemClipboardAccess): Likewise.
7675         (checkTopLevelWindow): Likewise.
7676         (checkWrite): Likewise.
7677
7678 2003-03-20  Michael Koch  <konqueror@gmx.de>
7679
7680         * gnu/java/nio/FileChannelImpl.java
7681         (address): Removed.
7682         (map_address): New member variable.
7683         (length): Make it package private.
7684         (fd): Make it package private.
7685         (buf): Make it package private.
7686         (file_obj): Make it package private.
7687         (FileChannelImpl): New constructor.
7688         (nio_mmap_file): Use RawData instead of long.
7689         (nio_munmap_file): Use RawData instead of long.
7690         (nio_msync): Use RawData instead of long.
7691         (implCloseChannel): New implementation using map_address.
7692         (read): Reformated.
7693         (map): Implemented.
7694         (create_direct_mapped_buffer): Implemented, use RawData, throws
7695         IOException.
7696         (force): Use map_address instead of address.
7697         * gnu/java/nio/MappedByteFileBuffer.java
7698         (address): Removed.
7699         (map_address): New member variable.
7700         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7701         (several methods): Use map_address instead of address, replaced long
7702         with RawData where appropriate.
7703         * gnu/java/nio/natFileChannelImpl.cc
7704         (nio_mmap_file): Replaced long with RawData.
7705         (nio_munmap_file): Replaced long with RawData.
7706         (nio_msync): Replaced long with RawData.
7707         * gnu/java/nio/natMappedByteFileBuffer.cc
7708         (several methods): Replaced long with RawData where appropriate.
7709
7710 2003-03-20  Michael Koch  <konqueror@gmx.de>
7711
7712         * java/net/InetAddress.java,
7713         java/net/JarURLConnection.java,
7714         java/net/PlainDatagramSocketImpl.java,
7715         java/net/PlainSocketImpl.java,
7716         java/net/URLConnection.java:
7717         Merged copyright statements with classpath for easier merging.
7718
7719 2003-03-20  Michael Koch  <konqueror@gmx.de>
7720
7721         * java/io/FileInputStream.java
7722         (getChannel): New implementation.
7723         * java/io/FileOutputStream.java
7724         (ch): New member variable.
7725         (getChannel): Implemented.
7726         * java/io/RandomAccessFile.java
7727         (RandomAccessFile): Throws FileNotFoundException instead of
7728         IOException.
7729         (getChannel): New method.
7730         (ch): New member variable.
7731
7732 2003-03-20  Michael Koch  <konqueror@gmx.de>
7733
7734         * java/io/DataOutputStream.java,
7735         java/io/File.java,
7736         java/io/FileInputStream.java,
7737         java/io/FileOutputStream.java,
7738         java/io/InputStreamReader.java,
7739         java/io/LineNumberReader.java,
7740         java/io/OutputStreamWriter.java,
7741         java/io/PrintStream.java,
7742         java/io/RandomAccessFile.java:
7743         Merged copyright statements with classpath for easier merging.
7744
7745 2003-03-19  Michael Koch  <konqueror@gmx.de>
7746
7747         * java/lang/Process.java:
7748         Merged from classpath.
7749
7750 2003-03-19  Michael Koch  <konqueror@gmx.de>
7751
7752         * java/io/FileOutputStream.java
7753         (FileOutputStream): New constructor, merged from classpath.
7754         * java/io/FileWriter.java
7755         (FileWriter): New constructor, merged from classpath.
7756
7757 2003-03-18  Michael Koch  <konqueror@gmx.de>
7758
7759         * java/awt/ScrollPane.java
7760         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7761         (getViewportSize): Likewise.
7762         (addNotify): Likewise.
7763         (removeNotify): Likewise.
7764         * java/awt/ScrollPaneAdjustable.java
7765         (ScrollPaneAdjustable): No longer extends Scrollbar.
7766         * java/beans/beancontext/BeanContextServices.java:
7767         Reformated.
7768         (getService): Added throws TooManyListenersException;
7769         * java/beans/beancontext/BeanContextServicesSupport.java:
7770         Reformated.
7771
7772 2003-03-18  Michael Koch  <konqueror@gmx.de>
7773
7774         * java/io/BufferedOutputStream.java,
7775         java/io/DataInput.java,
7776         java/io/DataInputStream.java,
7777         java/io/DataOutput.java,
7778         java/io/Externalizable.java:
7779         More merges from classpath.
7780
7781 2003-03-18  Michael Koch  <konqueror@gmx.de>
7782
7783         * configure.in: Fixed links to platform dependant java.net files.
7784         * configure: Regenerated.
7785         * java/net/natInetAddress.cc,
7786         java/net/natNetworkInterface.cc,
7787         java/net/natPlainDatagramSocketImpl.cc,
7788         java/net/natPlainSocketImpl.cc:
7789         Removed.
7790
7791 2003-03-18  Michael Koch  <konqueror@gmx.de>
7792
7793         * configure.in: Create links to architecture dependent files,
7794         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7795         * configure: Regenerated.
7796         * java/net/natInetAddressNoNet.cc,
7797         java/net/natInetAddressPosix.cc,
7798         java/net/natInetAddressWin32.cc,
7799         java/net/natNetworkInterfaceNoNet.cc,
7800         java/net/natNetworkInterfacePosix.cc,
7801         java/net/natNetworkInterfaceWin32.cc,
7802         java/net/natPlainDatagramSocketImplNoNet.cc,
7803         java/net/natPlainDatagramSocketImplPosix.cc,
7804         java/net/natPlainDatagramSocketImplWin32.cc,
7805         java/net/natPlainSocketImplNoNet.cc,
7806         java/net/natPlainSocketImplPosix.cc,
7807         java/net/natPlainSocketImplWin32.cc: New files.
7808
7809 2003-03-18  Michael Koch  <konqueror@gmx.de>
7810
7811         * java/io/BufferedReader.java,
7812         java/io/BufferedWriter.java,
7813         java/io/ByteArrayOutputStream.java,
7814         java/io/FileFilter.java,
7815         java/io/FilePermission.java,
7816         java/io/FileReader.java,
7817         java/io/FileWriter.java,
7818         java/io/FilenameFilter.java,
7819         java/io/FilterInputStream.java,
7820         java/io/FilterOutputStream.java,
7821         java/io/FilterReader.java,
7822         java/io/FilterWriter.java,
7823         java/io/ObjectInput.java,
7824         java/io/ObjectInputValidation.java,
7825         java/io/ObjectOutput.java,
7826         java/io/ObjectStreamField.java,
7827         java/io/PipedInputStream.java,
7828         java/io/PipedReader.java,
7829         java/io/PrintWriter.java,
7830         java/io/PushbackReader.java,
7831         java/io/Reader.java,
7832         java/io/SerializablePermission.java,
7833         java/io/StringReader.java,
7834         java/io/Writer.java:
7835         Merged from classpath.
7836
7837 2003-03-17  Michael Koch  <konqueror@gmx.de>
7838
7839         * java/awt/ScrollPaneAdjustable.java:
7840         Compile fixes.
7841         
7842 2003-03-17  Michael Koch  <konqueror@gmx.de>
7843
7844         * java/net/DatagramSocket.java
7845         (connect): Fixed comment.
7846         * java/nio/ByteBuffer.java
7847         (hasArray): Fixed comment.
7848
7849 2003-03-17  Michael Koch  <konqueror@gmx.de>
7850
7851         * java/beans/Beans.java:
7852         Explicitely import classes not packages.
7853         * java/beans/FeatureDescriptor.java
7854         (preferred): New member variable.
7855         (isPreferred): New method.
7856         (setPreferred): New method.
7857         * java/beans/PropertyEditorManager.java:
7858         Explicitely import used classes.
7859         * java/beans/beancontext/BeanContextChild.java:
7860         Added line wrapping.
7861         * java/beans/beancontext/BeanContextChildSupport.java:
7862         Reindented.
7863         * java/beans/beancontext/BeanContextEvent.java:
7864         Reindented.
7865
7866 2003-03-17  Michael Koch  <konqueror@gmx.de>
7867
7868         * java/awt/Dialog.java
7869         (Dialog): New constructor, changed implementations, added
7870         documentation.
7871         * java/awt/ScrollPaneAdjustable.java
7872         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7873         Serializable.
7874         (serialVersionUID): New member variable.
7875         (sp): New member variable.
7876         (orientation): New member variable.
7877         (value): New member variable.
7878         (minimum): New member variable.
7879         (maximum): New member variable.
7880         (visibleAmount): New member variable.
7881         (unitIncrement): New member variable.
7882         (blockIncrement): New member variable.
7883         (AdjustmentListener): New member variable.
7884         (ScrollPaneAdjustable): New implementation.
7885         (addAdjustmentListener): New method.
7886         (removeAdjustmentListener): New method.
7887         (getAdjustmentListeners): New method.
7888         (getBlockIncrement): New method.
7889         (getMaximum): New method.
7890         (getMinimum): New method.
7891         (getOrientation): New method.
7892         (getUnitIncrement): New method.
7893         (getValue): New method.
7894         (getVisibleAmount): New method.
7895         (setBlockIncrement): New method.
7896         (setMaximum): Implemented.
7897         (setMinimum): Implemented.
7898         (setUnitIncrement): New method.
7899         (setValue): New method.
7900         (setVisibleAmount): Implemented. 
7901         (paramString): New stubbed method.
7902         * java/awt/Window.java
7903         (show): Call setVisible().
7904         (hide): Call setVisible().
7905         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7906         and WINDOW_STATE_CHANGED.
7907         (processWindowFocusEvent): New method.
7908         (processWindowStateEvent): New method.
7909         (postEvent): Deprecated.
7910         (applyResourceBundle): Deprecated.
7911         * java/awt/datatransfer/DataFlavor.java
7912         (DataFlavor): Doesn't thow ClassNotFoundException.
7913
7914 2003-03-17  Michael Koch
7915
7916         * javax/print/attribute/Attribute.java,
7917         javax/print/attribute/AttributeSet.java,
7918         javax/print/attribute/PrintRequestAttributeSet.java:
7919         New files.
7920         * Makefile.am
7921         (javax_source_files): Added new files:
7922         javax/print/attribute/Attribute.java
7923         javax/print/attribute/AttributeSet.java
7924         javax/print/attribute/PrintRequestAttributeSet.java
7925         * Makefile.in: Regenerated.
7926
7927 2003-03-17  Michael Koch
7928
7929         * javax/print/attribute/Attribute.java,
7930         javax/print/attribute/AttributeSet.java,
7931         javax/print/attribute/PrintRequestAttributeSet.java:
7932         New files.
7933         * Makefile.am
7934         (awt_java_source_files): Added new files:
7935         javax/print/attribute/Attribute.java
7936         javax/print/attribute/AttributeSet.java
7937         javax/print/attribute/PrintRequestAttributeSet.java
7938         * Makefile.in: Regenerated.
7939
7940 2003-03-16  Tom Tromey  <tromey@redhat.com>
7941
7942         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7943         Include platform.h.
7944         * java/lang/natRuntime.cc (insertSystemProperties): Use
7945         _Jv_platform_path_separator.
7946         (nativeGetLibname): Use _Jv_platform_file_separator.
7947         (_load): Use _Jv_platform_onload_names.
7948         (onload_names): New global.
7949         * include/win32.h (_Jv_platform_file_separator): New define.
7950         (_Jv_platform_path_separator): Likewise.
7951         (_Jv_platform_onload_names): Likewise.
7952         (_Jv_platform_ffi_abi): Likewise.
7953         * include/posix.h (_Jv_platform_file_separator): New define.
7954         (_Jv_platform_path_separator): Likewise.
7955         (_Jv_platform_onload_names): Likewise.
7956         (_Jv_platform_ffi_abi): Likewise.
7957
7958 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7959
7960         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7961
7962 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7963
7964         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7965         hierarchy loop.
7966         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7967         list to Object,ObjectStreamClass, moved callReadMethod code up into
7968         readObject and added Class argument to all setXxxField calls.
7969         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7970         consistent with ObjectOutputStream and to facilitate caching the
7971         Method in the future.
7972         (setBooleanField): Added Class argument.
7973         (setByteField): Likewise.
7974         (setCharField): Likewise.
7975         (setDoubleField): Likewise.
7976         (setFloatField): Likewise.
7977         (setIntField): Likewise.
7978         (setLongField): Likewise.
7979         (setShortField): Likewise.
7980         (setObjectField): Likewise.
7981         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7982         class hierarchy loop.
7983         (defaultWriteObject): Call writeFields with new argument list.
7984         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7985         list to Object,ObjectStreamClass, moved callWriteMethod up into
7986         writeObject and added Class argument to all getXxxField calls.
7987         (callWriteMethod): Added ObjectStreamClass argument to be able to
7988         get the proper class to call getMethod on (each class can have (or
7989         not have) its own writeObject method).
7990         (getBooleanField): Added Class argument.
7991         (getByteField): Likewise.
7992         (getCharField): Likewise.
7993         (getDoubleField): Likewise.
7994         (getFloatField): Likewise.
7995         (getIntField): Likewise.
7996         (getLongField): Likewise.
7997         (getShortField): Likewise.
7998         (getObjectField): Likewise.
7999         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8000         facilitate caching the Method object in the future.
8001
8002 2003-03-12  Andreas Schwab  <schwab@suse.de>
8003
8004         * configure.in: Avoid trailing /. in toolexeclibdir.
8005         * configure: Rebuilt.
8006
8007 2003-03-11  Michael Koch  <konqueror@gmx.de>
8008
8009         * gnu/java/nio/ByteBufferImpl.java
8010         (putInt): Use limit() instead of limit.
8011         * gnu/java/nio/CharBufferImpl.java
8012         (slice): Fixed implementation.
8013         (subSequence): Better bounds checking.
8014         * gnu/java/nio/MappedByteFileBuffer.java:
8015         Import all needed classes directly.
8016         * java/nio/ByteBuffer.java
8017         (hashCode): New dummy method.
8018         * java/nio/CharBuffer.java
8019         (array_offset): New member variable.
8020         (hasArray): Fixed documentation.
8021         (arrayOffset): Return array_offset.
8022
8023 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
8024
8025         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8026         setter; made return value of getter const char* instead of char*
8027         * prims.cc: removed all references to _Jv_ThisExecutable().
8028         These are in the platform-specific sections now.
8029         * posix.cc: define platform-specific _Jv_ThisExecutable().
8030         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8031         * win32.cc: define platform-specific _Jv_ThisExecutable()
8032         using GetModuleFilename()
8033         * java/lang/natRuntime.cc: set gnu.gcj.progname property
8034         to argv[0] instead of _Jv_ThisExecutable()
8035
8036 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
8037
8038         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8039         that is set if we are using addr2name.awk instead of addr2line.
8040         (NameFinder): Set usingAddr2name if using addr2name.awk.
8041         (getExternalLabel): New native method to convert a method 
8042         name to an external label.
8043         (lookup): Convert name given by addr2line to an external label
8044         before demangling.
8045
8046         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8047         constant representing the prefix attached to method names to
8048         convert them to an external label.
8049         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
8050         using LABEL_PREFIX.
8051
8052 2003-03-10  Tom Tromey  <tromey@redhat.com>
8053
8054         * Makefile.in: Rebuilt.
8055         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8056         (JC1FLAGS): Removed -Wno-deprecated.
8057
8058 2003-03-10  Michael Koch  <konqueror@gmx.de>
8059
8060         * java/nio/ByteOrder.java
8061         (nativeOrder): Working implementation, added documentation.
8062         (toString): Added documentation.
8063
8064 2003-03-10  Michael Koch  <konqueror@gmx.de>
8065
8066         * java/net/DatagramSocket.java,
8067         java/net/MulticastSocket.java,
8068         java/net/Socket.java,
8069         java/net/URL.java,
8070         java/net/URLConnection.java:
8071         Fixed some documentation tags to make javadoc and friends happy.
8072
8073 2003-03-10  Michael Koch  <koqnueror@gmx.de>
8074
8075         * java/beans/beancontext/BeanContextServicesSupport.java,
8076         java/beans/beancontext/BeanContextSupport.java: New files.
8077         * Makefile.am
8078         (awt_source_files): Added new files.
8079         * Makefile.in: Regenerated.
8080
8081 2003-03-10  Michael Koch  <konqueror@gmx.de>
8082
8083         * java/awt/FocusTraversalPolicy.java
8084         (FocusTraversalPolicy): Documentation added.
8085         (getComponentAfter): Documentation added.
8086         (getComponentBefore): Documentation added.
8087         (getFirstComponent): Documentation added.
8088         (getLastComponent): Documentation added.
8089         (getDefaultComponent): Documentation added.
8090         (getInitialComponent): Documentation added.
8091         * java/awt/ScrollPaneAdjustable.java
8092         (sp): New member variable.
8093         (orientation): New member variable.
8094         (value): New member variable.
8095         (minimum): New member variable.
8096         (maximum): New member variable.
8097         (visibleAmount): New member variable.
8098         (unitIncrement): New member variable.
8099         (blockIncrement): New member variable.
8100         (adjustmentListener): New member variable.
8101         (ScrollPaneAdjustable): Rewrote.
8102         (addAdjustmentListener): New method.
8103         (removeAdjustmentListener): New method.
8104         (getAdjustmentListeners): New method.
8105         (getBlockIncrement): New method.
8106         (getMaximum): New method.
8107         (getMinimum): New method.
8108         (getOrientation): New method.
8109         (getUnitIncrement): New method.
8110         (getValue): New method.
8111         (getVisibleAmount): New method.
8112         (setBlockIncrement): New method.
8113         (setUnitIncrement): New method.
8114         (setMaximum): Implemented.
8115         (setMinimum): Implemented.
8116         (setValue): New method.
8117         (setVisibleAmount): Implemented.
8118         (paramString): New method.
8119         * java/awt/Window.java
8120         (show): Use setVisible(true) instead of super.show().
8121         (hide): Use sevVisible(false) instead of super.hide().
8122         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8123         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8124         (postEvent): Deprecated.
8125         (applyResourceBundle): Deprecated.
8126         (processWindowFocusEvent): New method.
8127         (processWindowStateEvent): New method.
8128         * java/awt/datatransfer/DataFlavor.java: Reindented.
8129         * java/awt/font/TextHitInfo.java
8130         (charIndex): New member variable.
8131         (leadingEdge): New member variable.
8132         (TextHitInfo): New constructor.
8133         (getCharIndex): Implemented.
8134         (isLeadingEdge): Implemented.
8135         (getInsertionIndex): Implemented.
8136         (hashCode): Access charIndex directly.
8137         (equals): Reformated.
8138         (leading): Implemented.
8139         (trailing): Implemented.
8140         (beforeOffset): Implemented.
8141         (afterOffset): Implemented.
8142         (getOtherHit): Implemented.
8143         (getOffsetHit): Implemented.
8144         (toString): Implemented.
8145         * java/awt/image/BufferedImage.java
8146         (BufferedImage): Implements WritableRenderedImage.
8147         (observers): New member variable.
8148         (addTileObserver): New method.
8149         (removeTileObserver): New method.
8150
8151 2003-03-09  Tom Tromey  <tromey@redhat.com>
8152
8153         PR libgcj/9934:
8154         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8155         to lseek.  Return 0 if we can't compute the value.
8156
8157 2003-03-03  Michael Koch  <konqueror@gmx.de>
8158
8159         * java/net/NetworkInterface.java: Merged with classpath.
8160
8161 2003-03-03  Tom Tromey  <tromey@redhat.com>
8162
8163         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8164         of bytecode.
8165         (handle_ret_insn): Fail if returning to jsr that appears at end of
8166         bytecode.
8167
8168 2003-03-03  Michael Koch  <konqueror@gmx.de>
8169
8170         * Makefile.am
8171         (ordinary_java_source_files):
8172         Added gnu/java/nio/MappedByteFileBuffer.java.
8173         (nat_source_files):
8174         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8175         * Makefile.in: Regenerated.
8176
8177 2003-03-03  Michael Koch  <konqueror@gmx.de>
8178
8179         * java/net/DatagramSocket.java
8180         (connect): Merged comment from classpath.
8181         (receive): Merged documentation from classpath.
8182         * java/net/Socket.java
8183         (setSoTimeout): Clarified documentation.
8184         * java/net/URL.java
8185         (getPath): Merged from classpath.
8186         (getUserInfo): Merged from classpath.
8187         (getQuery): Merged from classpath.
8188         * java/net/URLStreamHandler.java
8189         (toExternalForm): Merged from classpath.
8190
8191 2003-03-02  Mark Wielaard  <mark@klomp.org>
8192
8193         * java/util/Properties.java (load): Only skip line if the first
8194         character is a comment, whitespaces don't count.
8195
8196 2003-03-02  Michael Koch  <konqueror@gmx.de>
8197
8198         * java/net/NetPermission.java:
8199         Merged copyright with classpath.
8200
8201 2003-03-02  Michael Koch  <konqueror@gmx.de>
8202
8203         * java/lang/Package.java:
8204         Remerged from classpath.
8205
8206 2003-03-02  Michael Koch  <konqueror@gmx.de>
8207
8208         * java/net/HttpURLConnection.java
8209         (HTTP_SERVER_ERROR): Deprecated.
8210         * java/net/MulticastSocket.java
8211         (send): Replaced checkMulticast with appropriate checkPermission call,
8212         deprecated.
8213         * java/net/URLDecoder.java
8214         (decode): Deprecated.
8215         * java/net/URLEncoder.java
8216         (encode): Deprecated.
8217
8218 2003-03-02  Michael Koch  <konqueror@gmx.de>
8219
8220         * javax/swing/text/Caret.java
8221         (getMagicCaretPosition): Fixed typo in method name.
8222         * javax/swing/text/DefaultCaret.java
8223         (getMagicCaretPosition): Fixed typo in method name.
8224
8225 2003-03-02  Michael Koch  <konqueror@gmx.de>
8226
8227         * java/awt/List.java
8228         (setMultipleSelections): Deprecated.
8229         (delItem): Deprecated.
8230         * java/awt/MenuComponent.java
8231         (getPeer): Deprecated.
8232         * java/awt/ScrollPane.java
8233         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8234         * java/awt/dnd/MouseDragGestureRecognizer.java
8235         (mouseClicked): Added comment.
8236         (mousePressed): Added comment.
8237         (mouseReleased): Added comment.
8238         (mouseEntered): Added comment.
8239         (mouseExited): Added comment.
8240         (mouseDragged): Added comment.
8241         (mouseMoved): Added comment.
8242         * java/awt/event/KeyEvent.java
8243         (KeyEvent): Deprecated.
8244         (setModifiers): Deprecated.
8245         
8246 2003-03-02  Michael Koch  <konqueror@gmx.de>
8247
8248         * gnu/java/nio/FileChannelImpl.java
8249         (fd): Type FileDescriptor instead of int.
8250         (lengthInternal): Removed.
8251         (FileChannelImpl): Fixed arguments, check type of file object.
8252         (size): Made it native.
8253         (implPosition): New native method.
8254         (implTruncate): New native method.
8255         (position): Implemented.
8256         (truncate): Implemented.
8257         (nio_mmap_file): Changed arguments.
8258         (nio_munmap_file): Changed arguments.
8259         (nio_msync): Changed arguments.
8260         * gnu/java/nio/natFileChannelImpl.cc
8261         (lengthInternal): Removed.
8262         (size): New method.
8263         (implPosition): New method.
8264         (implTruncate): New method.
8265         (nio_mmap_file): Changed arguments.
8266         (nio_munmap_file): Changed arguments.
8267         (nio_msync): Changed arguments.
8268
8269 2003-03-02  Michael Koch  <konqueror@gmx.de>
8270
8271         * java/awt/dnd/DropTargetContext.java:
8272         Compile fix: Forgot to commit import.
8273         
8274 2003-03-02  Michael Koch  <konqueror@gmx.de>
8275
8276         * java/awt/Component.java,
8277         java/awt/ScrollPane.java:
8278         Fixed typos.
8279
8280 2003-03-02  Michael Koch  <konqueror@gmx.de>
8281
8282         * java/awt/dnd/DnDEventMulticaster.java: New file.
8283         * java/awt/dnd/DragSource.java
8284         (flavorMap): New member variable.
8285         (dragSourceListener): New member variable.
8286         (dragSourceMotionListener): New member variable.
8287         (getFlavorMap): Implemented.
8288         (createDragGestureRecognizer): Implemented.
8289         (addDragSourceListener): Implemented.
8290         (removeDragSourceListener): Implemented.
8291         (getDragSourceListeners): Implemented.
8292         (addDragSourceMotionListener): Implemented.
8293         (removeDragSourceMotionListener): Implemented.
8294         (getDragSourceMotionListeners): Implemented.
8295         (getListeners): Implemented.
8296         * java/awt/dnd/DragSourceContext.java
8297         (peer): New member variable.
8298         (cursor): New member variable.
8299         (transferable): New member variable.
8300         (trigger): New member variable.
8301         (dragSourceListener): New member variable.
8302         (image): New member variable.
8303         (offset): New member variable.
8304         (DragSourceContext): Implemented.
8305         (getDragSource): Implemented.
8306         (getComponent): Implemented.
8307         (getTrigger): Implemented.
8308         (getSourceActions): Implemented.
8309         (setCursor): Implemented.
8310         (getCursor): Implemented.
8311         (addDragSourceListener): Implemented.
8312         (removeDragSourceListener): Implemented.
8313         (getTransferable): Implemented.
8314         * java/awt/dnd/DropTarget.java
8315         (DropTargetAutoScroller.component): New member variable.
8316         (DropTargetAutoScroller.point): New member variable.
8317         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8318         (DropTargetAutoScroller.updateLocation): Implemented.
8319         (active): Renamed from isActive, defaults to true now.
8320         (component): New member variable.
8321         (flavorMap): New member variable.
8322         (actions): New member variable.
8323         (dropTargetContext): New member variable.
8324         (dropTargetListener): New member variable.
8325         (DropTarget): Implemented.
8326         (getComponent): Implemented.
8327         (setComponent): Implemented.
8328         (setDefaultActions): Implemented.
8329         (getDefaultActions): Implemented.
8330         (setActive): Use active instead of isActive.
8331         (isActive): Use active instead of isActive.
8332         (addDropTargetListener): Implemented.
8333         (removeDropTargetListener): Implemented.
8334         (getFlavorMap): Implemented.
8335         (setFlavorMap): Implemented.
8336         (getDropTargetContext): Implemented.
8337         (createDropTargetContext): Implemented.
8338         (createDropTargetAutoScroller): Implemented.
8339         * java/awt/dnd/DropTargetContext.java
8340         (TransferableProxy.getTransferDataFlavors): Implemented.
8341         (TransferableProxy.isDataFlavorSupported): Implemented.
8342         (TransferableProxy.getTransferData): Implemented.
8343         (dropTarget):  New member variable.
8344         (dtcp): New member variable.
8345         (DropTargetContext): New package private constructor.
8346         (getDropTarget): Implemented.
8347         (getComponent): Implemented.
8348         (addNotify): Implemented.
8349         (removeNotify): Implemented.
8350         (getCurrentDataFlavorsAsList): Implemented.
8351         (isDataFlavorSupported): Implemented.
8352         * java/awt/dnd/MouseDragGestureRecognizer.java
8353         (registerListeners): Implemented.
8354         (unregisterListeners): Implemented.
8355         * Makefile.am
8356         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8357         * Makefile.in: Regenerated.
8358
8359 2003-03-02  Michael Koch  <konqueror@gmx.de>
8360
8361         * java/awt/Component.java
8362         (eventTypeEnabled): New method.
8363         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8364         * java/awt/Container.java
8365         (changeSupport): New member variable.
8366         (addPropertyChangeListener): New methods.
8367         * java/awt/ContainerOrderFocusTraversalPolicy.java
8368         (ContainerOrderFocusTraversalPolicy): Added comment.
8369         (getComponentAfter): Throw exception, documentation added.
8370         (getComponentBefore): Throw exception, documentation added.
8371         (getFirstComponent): Throw exception, documentation added.
8372         (getLastComponent): Throw exception, documentation added.
8373         (getDefaultComponent): Throw exception, documentation added.
8374         * java/awt/EventQueue.java: Reindented.
8375         * java/awt/FocusTraversalPolicy.java:
8376         (FocusTraversalPolicy): Added comment.
8377         (getComponentAfter): Documentation added.
8378         (getComponentBefore): Documentation added.
8379         (getFirstComponent): Documentation added.
8380         (getLastComponent): Documentation added.
8381         (getDefaultComponent): Documentation added.
8382         (getInitialComponent): Documentation added.
8383         * java/awt/ScrollPane.java
8384         (wheelScrollingEnabled): New member variable.
8385         (ScrollPane): Initialize wheelScollingEnabled.
8386         (eventTypeEnabled): New method.
8387         (isWheelScrollingEnabled): New method.
8388         (setWheelScrollingEnabled): New method.
8389
8390 2003-03-02  Michael Koch  <konqueror@gmx.de>
8391
8392         * java/net/DatagramSocket.java
8393         (closed): New member variable.
8394         (close): Use closed variable.
8395         (getInetAddress): No need to call isConnected().
8396         (getPort): No need to call isConnected().
8397         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8398         (isClosed): Reimplemented.
8399         
8400 2003-03-02  Michael Koch  <konqueror@gmx.de>
8401
8402         * configure.in: Added check for memory mapping of files.
8403         * configure: Regenerated.
8404         * config.h.in: Regenerated.
8405
8406 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8407
8408         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8409         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8410
8411 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8412
8413         * java/io/File.java (normalizePath): Remove trailing separator
8414         on Windows only if path is not of the form "x:\".
8415
8416         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8417         (java::io::File::attr): Change formatting a bit and use
8418         WIN32_EPOCH_MILLIS instead of magic numbers.
8419         (java::io::File::isAbsolute): Path must have at least 3 
8420         characters for a UNC network path.
8421         (java::io::File::init_native): Define.
8422         (java::io::File::performCreate): Likewise.
8423         (java::io::File::performSetReadOnly): Likewise.
8424         (java::io::File::performSetLastModified): Likewise.
8425         (java::io::File::performListRoots): Likewise.
8426
8427 2003-03-01  Tom Tromey  <tromey@redhat.com>
8428
8429         * java/lang/natObject.cc: Don't include assert.h.
8430         (heavy_lock_obj_finalization_proc): Use JvAssert.
8431         (remove_all_heavy): Likewise.
8432         (_Jv_MonitorEnter): Likewise.
8433         (_Jv_MonitorExit): Likewise.
8434         (wait): Likewise.
8435
8436 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8437
8438         * java/io/File (getAbsolutePath): Prefix drive specifier on
8439         Windows for paths starting with a '\'.
8440         (toURL): Make URL more consistent with what Sun's JDK returns.
8441
8442         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8443         true only if the path is a UNC network path or it starts with a
8444         drive specifier.
8445
8446         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8447         Be prepared to handle either '/' or '\\' in the file path for
8448         Windows if using the "file" protocol.
8449         Canonicalise the file path if using a relative path in the given
8450         context and the "file" protocol.
8451
8452 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8453
8454         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8455         program array element passed to CreateProcess.
8456
8457 2003-03-01  Tom Tromey  <tromey@redhat.com>
8458
8459         * java/rmi/registry/RegistryHandler.java: Deprecate.
8460
8461 2003-03-01  Tom Tromey  <tromey@redhat.com>
8462
8463         * javax/accessibility/AccessibleEditableText.java,
8464         javax/accessibility/AccessibleHyperlink.java: New versions from
8465         Classpath.
8466
8467         * gnu/java/locale/LocaleInformation_af_ZA.java,
8468         gnu/java/locale/LocaleInformation_ar_AE.java,
8469         gnu/java/locale/LocaleInformation_ar_BH.java,
8470         gnu/java/locale/LocaleInformation_ar_DZ.java,
8471         gnu/java/locale/LocaleInformation_ar_EG.java,
8472         gnu/java/locale/LocaleInformation_ar_IN.java,
8473         gnu/java/locale/LocaleInformation_ar_IQ.java,
8474         gnu/java/locale/LocaleInformation_ar_JO.java,
8475         gnu/java/locale/LocaleInformation_ar_KW.java,
8476         gnu/java/locale/LocaleInformation_ar_LB.java,
8477         gnu/java/locale/LocaleInformation_ar_LY.java,
8478         gnu/java/locale/LocaleInformation_ar_MA.java,
8479         gnu/java/locale/LocaleInformation_ar_OM.java,
8480         gnu/java/locale/LocaleInformation_ar_QA.java,
8481         gnu/java/locale/LocaleInformation_ar_SD.java,
8482         gnu/java/locale/LocaleInformation_ar_SY.java,
8483         gnu/java/locale/LocaleInformation_ar_TN.java,
8484         gnu/java/locale/LocaleInformation_ar_YE.java,
8485         gnu/java/locale/LocaleInformation_be_BY.java,
8486         gnu/java/locale/LocaleInformation_bn_IN.java,
8487         gnu/java/locale/LocaleInformation_br_FR.java,
8488         gnu/java/locale/LocaleInformation_bs_BA.java,
8489         gnu/java/locale/LocaleInformation_ca_ES.java,
8490         gnu/java/locale/LocaleInformation_cs_CZ.java,
8491         gnu/java/locale/LocaleInformation_cy_GB.java,
8492         gnu/java/locale/LocaleInformation_da_DK.java,
8493         gnu/java/locale/LocaleInformation_de_AT.java,
8494         gnu/java/locale/LocaleInformation_de_BE.java,
8495         gnu/java/locale/LocaleInformation_de_CH.java,
8496         gnu/java/locale/LocaleInformation_de_DE.java,
8497         gnu/java/locale/LocaleInformation_de_LU.java,
8498         gnu/java/locale/LocaleInformation_el_GR.java,
8499         gnu/java/locale/LocaleInformation_en_AU.java,
8500         gnu/java/locale/LocaleInformation_en_BW.java,
8501         gnu/java/locale/LocaleInformation_en_CA.java,
8502         gnu/java/locale/LocaleInformation_en_DK.java,
8503         gnu/java/locale/LocaleInformation_en_GB.java,
8504         gnu/java/locale/LocaleInformation_en_HK.java,
8505         gnu/java/locale/LocaleInformation_en_IE.java,
8506         gnu/java/locale/LocaleInformation_en_IN.java,
8507         gnu/java/locale/LocaleInformation_en_NZ.java,
8508         gnu/java/locale/LocaleInformation_en_PH.java,
8509         gnu/java/locale/LocaleInformation_en_SG.java,
8510         gnu/java/locale/LocaleInformation_en_US.java,
8511         gnu/java/locale/LocaleInformation_en_ZA.java,
8512         gnu/java/locale/LocaleInformation_en_ZW.java,
8513         gnu/java/locale/LocaleInformation_es_AR.java,
8514         gnu/java/locale/LocaleInformation_es_BO.java,
8515         gnu/java/locale/LocaleInformation_es_CL.java,
8516         gnu/java/locale/LocaleInformation_es_CO.java,
8517         gnu/java/locale/LocaleInformation_es_CR.java,
8518         gnu/java/locale/LocaleInformation_es_DO.java,
8519         gnu/java/locale/LocaleInformation_es_EC.java,
8520         gnu/java/locale/LocaleInformation_es_ES.java,
8521         gnu/java/locale/LocaleInformation_es_GT.java,
8522         gnu/java/locale/LocaleInformation_es_HN.java,
8523         gnu/java/locale/LocaleInformation_es_MX.java,
8524         gnu/java/locale/LocaleInformation_es_NI.java,
8525         gnu/java/locale/LocaleInformation_es_PA.java,
8526         gnu/java/locale/LocaleInformation_es_PE.java,
8527         gnu/java/locale/LocaleInformation_es_PR.java,
8528         gnu/java/locale/LocaleInformation_es_PY.java,
8529         gnu/java/locale/LocaleInformation_es_SV.java,
8530         gnu/java/locale/LocaleInformation_es_US.java,
8531         gnu/java/locale/LocaleInformation_es_UY.java,
8532         gnu/java/locale/LocaleInformation_es_VE.java,
8533         gnu/java/locale/LocaleInformation_et_EE.java,
8534         gnu/java/locale/LocaleInformation_eu_ES.java,
8535         gnu/java/locale/LocaleInformation_fa_IR.java,
8536         gnu/java/locale/LocaleInformation_fi_FI.java,
8537         gnu/java/locale/LocaleInformation_fo_FO.java,
8538         gnu/java/locale/LocaleInformation_fr_BE.java,
8539         gnu/java/locale/LocaleInformation_fr_CA.java,
8540         gnu/java/locale/LocaleInformation_fr_CH.java,
8541         gnu/java/locale/LocaleInformation_fr_FR.java,
8542         gnu/java/locale/LocaleInformation_fr_LU.java,
8543         gnu/java/locale/LocaleInformation_ga_IE.java,
8544         gnu/java/locale/LocaleInformation_gd_GB.java,
8545         gnu/java/locale/LocaleInformation_gl_ES.java,
8546         gnu/java/locale/LocaleInformation_gv_GB.java,
8547         gnu/java/locale/LocaleInformation_he_IL.java,
8548         gnu/java/locale/LocaleInformation_hi_IN.java,
8549         gnu/java/locale/LocaleInformation_hr_HR.java,
8550         gnu/java/locale/LocaleInformation_hu_HU.java,
8551         gnu/java/locale/LocaleInformation_id_ID.java,
8552         gnu/java/locale/LocaleInformation_it_CH.java,
8553         gnu/java/locale/LocaleInformation_it_IT.java,
8554         gnu/java/locale/LocaleInformation_iw_IL.java,
8555         gnu/java/locale/LocaleInformation_ja_JP.java,
8556         gnu/java/locale/LocaleInformation_ka_GE.java,
8557         gnu/java/locale/LocaleInformation_kl_GL.java,
8558         gnu/java/locale/LocaleInformation_ko_KR.java,
8559         gnu/java/locale/LocaleInformation_kw_GB.java,
8560         gnu/java/locale/LocaleInformation_lt_LT.java,
8561         gnu/java/locale/LocaleInformation_lv_LV.java,
8562         gnu/java/locale/LocaleInformation_mi_NZ.java,
8563         gnu/java/locale/LocaleInformation_mk_MK.java,
8564         gnu/java/locale/LocaleInformation_mr_IN.java,
8565         gnu/java/locale/LocaleInformation_mt_MT.java,
8566         gnu/java/locale/LocaleInformation_nl_BE.java,
8567         gnu/java/locale/LocaleInformation_nl_NL.java,
8568         gnu/java/locale/LocaleInformation_nn_NO.java,
8569         gnu/java/locale/LocaleInformation_no_NO.java,
8570         gnu/java/locale/LocaleInformation_oc_FR.java,
8571         gnu/java/locale/LocaleInformation_pl_PL.java,
8572         gnu/java/locale/LocaleInformation_pt_BR.java,
8573         gnu/java/locale/LocaleInformation_pt_PT.java,
8574         gnu/java/locale/LocaleInformation_ro_RO.java,
8575         gnu/java/locale/LocaleInformation_ru_RU.java,
8576         gnu/java/locale/LocaleInformation_ru_UA.java,
8577         gnu/java/locale/LocaleInformation_se_NO.java,
8578         gnu/java/locale/LocaleInformation_sk_SK.java,
8579         gnu/java/locale/LocaleInformation_sl_SI.java,
8580         gnu/java/locale/LocaleInformation_sq_AL.java,
8581         gnu/java/locale/LocaleInformation_sr_YU.java,
8582         gnu/java/locale/LocaleInformation_sv_FI.java,
8583         gnu/java/locale/LocaleInformation_sv_SE.java,
8584         gnu/java/locale/LocaleInformation_ta_IN.java,
8585         gnu/java/locale/LocaleInformation_te_IN.java,
8586         gnu/java/locale/LocaleInformation_tg_TJ.java,
8587         gnu/java/locale/LocaleInformation_tl_PH.java,
8588         gnu/java/locale/LocaleInformation_tr_TR.java,
8589         gnu/java/locale/LocaleInformation_uk_UA.java,
8590         gnu/java/locale/LocaleInformation_ur_PK.java,
8591         gnu/java/locale/LocaleInformation_uz_UZ.java,
8592         gnu/java/locale/LocaleInformation_vi_VN.java,
8593         gnu/java/locale/LocaleInformation_yi_US.java,
8594         gnu/java/locale/LocaleInformation_zh_CN.java,
8595         gnu/java/locale/LocaleInformation_zh_HK.java,
8596         gnu/java/locale/LocaleInformation_zh_SG.java,
8597         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8598         info; from Classpath.
8599
8600         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8601         isPaintPending): New methods.
8602         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8603         setMaximizedBounds): New methods.
8604         (beginLayout, endLayout, isPaintPending): Likewise.
8605         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8606         (requestFocus): Likewise.
8607         (isObscured): Likewise.
8608         (canDetermineObscurity): Likewise.
8609         (coalescePaintEvent): Likewise.
8610         (updateCursorImmediately): Likewise.
8611         (createVolatileImage): Likewise.
8612         (handlesWheelScrolling): Likewise.
8613         (createBuffers): Likewise.
8614         (getBackBuffer): Likewise.
8615         (flip): Likewise.
8616         (destroyBuffers): Likewise.
8617
8618         * Makefile.in: Rebuilt.
8619         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8620         RobotPeer.java.
8621         * gnu/java/awt/GLightweightPeer.java,
8622         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8623         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8624         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8625         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8626         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8627         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8628         java/awt/dnd/peer/DragSourceContextPeer.java,
8629         java/awt/dnd/peer/DropTargetContextPeer.java,
8630         java/awt/peer/ButtonPeer.java,
8631         java/awt/peer/CheckboxMenuItemPeer.java,
8632         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8633         java/awt/peer/ComponentPeer.java,
8634         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8635         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8636         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8637         java/awt/peer/MenuBarPeer.java,
8638         java/awt/peer/MenuComponentPeer.java,
8639         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8640         java/awt/peer/PopupMenuPeer.java,
8641         java/awt/peer/ScrollPanePeer.java,
8642         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8643         java/awt/peer/TextComponentPeer.java,
8644         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8645         New versions from Classpath.
8646         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8647         * java/awt/peer/RobotPeer.java: Likewise.
8648
8649 2003-03-01  Mark Wielaard  <mark@klomp.org>
8650
8651         * java/io/ObjectInputStream.java: Reindent.
8652         * java/io/ObjectOutputStream.java: Likewise.
8653
8654 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8655
8656         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8657         jvalue for each argument. Simplify.
8658         * testsuite/libjava.jni/calls.c (docall),
8659         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8660         misalignment.
8661
8662 2003-02-28  Mark Wielaard  <mark@klomp.org>
8663
8664         * Makefile.am (nat_source_files): Remove
8665         java/io/natObjectOutputStream.cc.
8666         * Makefile.in: Regenerated.
8667         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8668         * java/io/ObjectStreamField.java (typename): New field.
8669         (ObjectStreamField(String, Class)): Initialize new field.
8670         (ObjectStreamField(String, String)): New Constructor.
8671         (getTypeCode): Use new field.
8672         (getTypeString): Use new field.
8673         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8674         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8675         Handle reading of Proxy classes. Never drain(), just write
8676         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8677         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8678         (flush): Call flush(), not just drain().
8679         (writeBoolean): Always use blockDataOutput.
8680         (writeByte): Likewise.
8681         (writeShort): Likewise.
8682         (writeChar): Likewise.
8683         (writeInt): Likewise.
8684         (writeLong): Likewise.
8685         (writeFloat): Likewise.
8686         (writeDouble): Likewise.
8687         (writeBytes): Likewise.
8688         (putfield (put(String,Object))): Throw IllegalArgumentException if
8689         field cannot be found.
8690         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8691         (writeArraySizeAndElements): Write byte[] in one go.
8692         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8693         set BlockDataMode to false.
8694         (annotateProxyClass): New method.
8695         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8696         (getField): No longer native.
8697         (getMethod): Likewise.
8698         (setBlockDataMode): Always drain() on switch, return old mode.
8699         (static): New static code block.
8700         * java/io/natObjectOutputStream.cc: Removed.
8701         * java/io/ObjectInputStream.java (getField): No longer native.
8702         (getMethod): Likewise.
8703         (readObject): Remember and reset old BlockDataMode. Track whether
8704         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8705         TC_LONGSTRING.
8706         (defaultReadObject): Set BlockDataMode to false during readFields.
8707         (resolveClass): Create new SecurityManager if necessary.
8708         Use Class.forName() if null ClassLoader found.
8709         (read(byte[],int,int): Copy remaining bytes to data before calling
8710         readNextBlock().
8711         (readFields): Set and reset BlockDataMode on call_read_method.
8712         Catch NoSuchFieldErrors.
8713         (setBlockDataMode): Return old mode.
8714         (static): New static code block.
8715         * java/io/natObjectInputStream.cc (getField): Removed.
8716         (getMethod): Likewise.
8717
8718 2003-02-27  Michael Koch  <konqueror@gmx.de>
8719
8720         * java/beans/Beans.java,
8721         java/beans/FeatureDescriptor.java
8722         java/beans/PropertyEditorManager.java:
8723         Reformated to GNU style.
8724
8725 2003-02-25  Michael Koch  <konqueror@gmx.de>
8726
8727         * gnu/java/nio/MappedByteFileBuffer.java,
8728         gnu/java/nio/natMappedByteFileBuffer.cc:
8729         New files, both are not compiled yet to get not noncompiling CVS.
8730
8731 2003-02-24  Tom Tromey  <tromey@redhat.com>
8732
8733         * java/util/prefs/AbstractPreferences.java (isUserNode):
8734         Implemented.
8735
8736 2003-02-24  Tom Tromey  <tromey@redhat.com>
8737
8738         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8739         Deprecate.
8740         * java/lang/Thread.java (resume): Deprecate.
8741         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8742         in @deprecated.
8743
8744 2003-02-23  Tom Tromey  <tromey@redhat.com>
8745
8746         * Makefile.in: Rebuilt.
8747         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8748
8749 2003-02-23  Tom Tromey  <tromey@redhat.com>
8750
8751         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8752         libraries): Removed.
8753         (add_library): Removed.
8754         (_load): Don't call add_library.
8755         (loadLibraryInternal): Likewise.
8756         (init): Likewise.
8757         (lookup_data): New struct.
8758         (find_symbol): New function.
8759         (_Jv_FindSymbolInExecutable): Use it.
8760
8761 2002-02-21  Anthony Green  <green@redhat.com>
8762
8763         * java/lang/Thread.java (Thread): New constructor taking stack
8764         size parameter (ignored for now).
8765         * Many methods: Merged GNU Classpath documentation.
8766
8767         * java/lang/Class.java (finalize): throws a Throwable.
8768
8769 2003-02-21  Mark Wielaard  <mark@klomp.org>
8770
8771         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8772         argument is null.
8773
8774 2003-02-21  Mark Wielaard  <mark@klomp.org>
8775
8776         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8777         then 65535 chars throw IllegalArgumentException.
8778
8779 2003-02-21  Mark Wielaard  <mark@klomp.org>
8780
8781         * java/util/zip/ZipFile.java (finalize): New method.
8782
8783 2003-02-21  Michael Koch  <konqueror@gmx.de>
8784
8785         * gnu/java/nio/natSocketChannelImpl.cc:
8786         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8787         <cato@df.lth.se> for pointing to it.
8788
8789 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8790
8791         * java/math/BigInteger.java (euclidInv): Take result array as an
8792         argument.  Updated all callers.
8793         (modInverse): Removed unused variables.
8794
8795 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8796
8797         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8798         config.status.
8799         * configure: Rebuilt.
8800
8801 2003-02-19  Michael Koch  <konqueror@gmx.de>
8802
8803         * gnu/java/nio/natSocketChannelImpl.cc:
8804         Added support for platforms without network support.
8805
8806 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8807
8808         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8809         after config.h.  Use <> for consistency.
8810         * java/lang/natObject.cc: Likewise.
8811         * java/lang/natRuntime.cc: Likewise.
8812         * java/lang/natSystem.cc: Likewise.
8813         * java/util/natTimeZone.cc: Likewise.
8814         * win32.cc: Likewise.
8815         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8816         listen, write, read): Undef to avoid interference from OS macros.
8817
8818 2003-02-19  Michael Koch  <konqueror@gmx.de>
8819
8820         * gnu/java/nio/ByteBufferImpl.java
8821         (ByteBufferImpl): Renamed two variables.
8822         * gnu/java/nio/CharBufferImpl.java
8823         (CharBufferImpl): Renamed two variables.
8824         * gnu/java/nio/DoubleBufferImpl.java
8825         (DoubleBufferImpl): Renamed two variables.
8826         * gnu/java/nio/FloatBufferImpl.java
8827         (FloatBufferImpl): Renamed two variables.
8828         * gnu/java/nio/IntBufferImpl.java
8829         (IntBufferImpl): Renamed two variables.
8830         * gnu/java/nio/LongBufferImpl.java
8831         (LongBufferImpl): Renamed two variables.
8832         * gnu/java/nio/ShortBufferImpl.java
8833         (ShortBufferImpl): Renamed two variables.
8834         * java/nio/CharBuffer.java
8835         (wrap): Fixed arguments to CharBufferImpl constructor.
8836         (hasArray): Only not read-only buffers have backing arrays.
8837         (length): Documentation added.
8838         (subSequence): Documentation added.
8839         * java/nio/DoubleBuffer.java
8840         (hasArray): Only not read-only buffers have backing arrays.
8841         * java/nio/FloatBuffer.java
8842         (hasArray): Only not read-only buffers have backing arrays.
8843         * java/nio/IntBuffer.java
8844         (hasArray): Only not read-only buffers have backing arrays.
8845         * java/nio/LongBuffer.java
8846         (hasArray): Only not read-only buffers have backing arrays.
8847         * java/nio/ShortBuffer.java
8848         (hasArray): Only not read-only buffers have backing arrays.
8849         
8850 2003-02-19  Michael Koch  <konqueror@gmx.de>
8851
8852         * javax/accessibility/AccessibleContext.java
8853         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8854
8855 2003-02-19  Michael Koch  <konqueror@gmx.de>
8856
8857         * java/awt/ScrollPaneAdjustable.java: Reformated.
8858
8859 2003-02-19  Michael Koch <konqueror@gmx.de>
8860
8861         * gnu/awt/j2d/Graphics2DImpl.java
8862         (getFontRenderContext): New method.
8863         (drawGlyphVector): New method.
8864         * java/awt/Graphics2D.java
8865         (getFontRenderContext): New abstract method.
8866         (drawGlyphVector): New abstract method.
8867         
8868 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8869
8870         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8871         if necessary.
8872         
8873         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8874         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8875         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8876         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8877         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8878         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8879         (setFont, gtkSetFont): add.
8880         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8881         Propagate font to peer.  (setFont): add FIXME comment.
8882
8883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8884         (gtkTextGetSize): fix height, width computation.
8885
8886         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8887         Make X font name a bit less bogus.
8888
8889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8890         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8891
8892         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8893         (processAdjustmentEvent): Adjust value.
8894
8895         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8896         logic errors.
8897
8898         * java/awt/Component.java (setVisible, show, hide): Call show and
8899         hide methods in subclasses.
8900         (getPreferredSize): don't set prefSize before we have peer.
8901
8902         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8903         Guess (0,0) if we don't have peer.
8904
8905
8906 2003-02-18  Michael Koch  <konqueror@gmx.de>
8907
8908         * java/nio/channels/FileChannel.java
8909         (toString): New implementation, added documentation.
8910         (map): Added exception documentation.
8911         (size): Added exception documentation.
8912         (write): New methods, documentation work.
8913         (read): New methods, documentation work.
8914         (implCloseChannel): Rewrote exception documentation.
8915         (force): Throws IOException, added documentation.
8916         (lock): New methods.
8917         (tryLock): New methods.
8918         (position): New methods.
8919         (transferTo): New method.
8920         (transferFrom): New method.
8921         (truncate): New method.
8922         * java/nio/channels/spi/SelectorProvider.java
8923         (provider): Implemented.
8924         * Makefile.am
8925         (ordinary_java_source_files): Added the following files:
8926         gnu/java/nio/DatagramChannelImpl.java
8927         gnu/java/nio/FileChannelImpl.java
8928         gnu/java/nio/PipeImpl.java
8929         gnu/java/nio/SelectionKeyImpl.java
8930         gnu/java/nio/SelectorImpl.java
8931         gnu/java/nio/SelectorProviderImpl.java
8932         gnu/java/nio/ServerSocketChannelImpl.java
8933         gnu/java/nio/SocketChannelImpl.java
8934         java/nio/channels/FileLock.java
8935         (nat_java_source_files): Added the following files:
8936         gnu/java/nio/natFileChannelImpl.cc
8937         gnu/java/nio/natSelectorImpl.cc
8938         gnu/java/nio/natSocketChannelImpl.cc
8939         * Makefile.in: Regenerated.
8940
8941 2003-02-17  Tom Tromey  <tromey@redhat.com>
8942
8943         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8944         * java/awt/image/ImageFilter.java: Likewise.
8945
8946 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8947
8948         * java/math/BigInteger.java (euclidInv): Return array of
8949         `BigInteger's.  Changed all callers.
8950
8951 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8952
8953         * java/util/Properties.java (store): Move the code formerly in
8954         list(), into this method.
8955         (list (PrintStream)): Just call list (PrintWriter) with a 
8956         PrintWriter object constructed from the given PrintStream object.
8957         (list (PrintWriter)): Emulate the output of Properties.list()
8958         as found in JDK 1.3/1.4.
8959
8960 2003-02-17  Michael Koch  <konqueror@gmx.de>
8961
8962         * java/net/DatagramSocket.java
8963         (connect): Merged with classpath.
8964         (disconnect): Merged documentation with classpath.
8965         (receice): Merged documentation with classpath.
8966         (send): Merged documentation with classpath.
8967         
8968 2003-02-17  Michael Koch  <konqueror@gmx.de>
8969
8970         * java/awt/dnd/DragSourceContext.java
8971         (addDragSourceListener): Added documentation.
8972         * java/awt/dnd/DragSourceDragEvent.java
8973         (serialVersionUID): New member variable.
8974         (getDropAction): Reformated.
8975         * java/awt/dnd/DragSourceDropEvent.java
8976         (serialVersionUID): New member variable.
8977         (dropSuccess): Renamed from success for serialization issues.
8978         * java/awt/dnd/DragSourceEvent.java
8979         (serialVersionUID): New member variable.
8980         * java/awt/dnd/DropTarget.java
8981         (serialVersionUID): New member variable.
8982         (DropTarget): Implemented, documentation reworked.
8983         (setComponent): Documentation added.
8984         (getComponent): Documentation added.
8985         (setDefaultActions): Documentation added.
8986         (getDefaultActions): Documentation added.
8987         (addDropTargetListener): Documentation added.
8988         * java/awt/dnd/DropTargetContext.java
8989         (DropTargetContext): Documentation added.
8990         (TransferableProxy.TransferableProxy): New method.
8991         (dropComplete): Fixed documentation.
8992         (getTransferable): Fixed documentation.
8993         (createTransferableProxy): Implemented.
8994         * java/awt/dnd/DropTargetDragEvent.java
8995         (DropTargetDragEvent): Documentation added.
8996         (serialVersionUID): New member variable.
8997         (DropTargetDragEvent): Throw exceptions, documentation added.
8998         (acceptDrag): Implemented.
8999         (getCurrentDataFlavors): Implemented.3yy
9000         (getCurrentDataFlavorsAsList): Implemented.
9001         (isDataFlavorSupported): Implemented.
9002         (rejectDrag): Implemented.
9003         * java/awt/dnd/DropTargetDropEvent.java
9004         (DropTargetDropEvent): Documentation added.
9005         (serialVersionUID): New member variable.
9006         (actions): Renamed from srcActions for serialization issues.
9007         (isLocalTx): Renamed from isLocalTx for serialization issues.
9008         (DropTargetDropEvent): New implementation, throw exceptions,
9009         documentation added.
9010         (getCurrentDataFlavors): Implemented.
9011         (getCurrentDataFlavorsAsList): Implemented.
9012         (isDataFlavorSupported): Implemented.
9013         (getSourceActions): Implemented.
9014         (getDropAction): Implemented.
9015         (getTransferable): Implemented.
9016         (acceptDrop): Implemented.
9017         (rejectDrop): Implemented.
9018         * java/awt/dnd/DropTargetListener.java
9019         (drop): Fixed documentation.
9020         * java/awt/dnd/MouseDragGestureRecognizer.java
9021         (MouseDragGestureRecognizer): Documentation added.
9022
9023 2003-02-17  Michael Koch  <konqueror@gmx.de>
9024
9025         * java/awt/font/FontRenderContext.java,
9026         java/awt/font/ShapeGraphicAttribute.java,
9027         java/awt/font/MultipleMaster.java,
9028         java/awt/font/TransformAttribute.java,
9029         java/awt/font/GlyphJustificationInfo.java,
9030         java/awt/font/LineBreakMeasurer.java,
9031         java/awt/font/TextMeasurer.java,
9032         java/awt/font/TextLayout.java,
9033         java/awt/font/LineMetrics.java,
9034         java/awt/font/TextAttribute.java,
9035         java/awt/font/GlyphMetrics.java,
9036         java/awt/font/OpenType.java,
9037         java/awt/font/GlyphVector.java,
9038         java/awt/font/GraphicAttribute.java,
9039         java/awt/font/ImageGraphicAttribute.java,
9040         java/awt/font/NumericShaper.java: New files.
9041         * Makefile.am
9042         (awt_java_source_files): Added the following files:
9043         java/awt/font/FontRenderContext.java
9044         java/awt/font/ShapeGraphicAttribute.java
9045         java/awt/font/MultipleMaster.java
9046         java/awt/font/TransformAttribute.java
9047         java/awt/font/GlyphJustificationInfo.java
9048         java/awt/font/LineBreakMeasurer.java
9049         java/awt/font/TextMeasurer.java
9050         java/awt/font/TextLayout.java
9051         java/awt/font/LineMetrics.java
9052         java/awt/font/TextAttribute.java
9053         java/awt/font/GlyphMetrics.java
9054         java/awt/font/OpenType.java
9055         java/awt/font/GlyphVector.java
9056         java/awt/font/GraphicAttribute.java
9057         java/awt/font/ImageGraphicAttribute.java
9058         java/awt/font/NumericShaper.java
9059         * Makefile.in: Regenerated.
9060
9061 2003-02-17  Michael Koch  <konqueror@gmx.de>
9062
9063         * java/awt/print/Paper.java
9064         (Paper): Implements Cloneable.
9065         * java/awt/print/PrinterJob.java
9066         (setJobName): Return value must be void.
9067         (print): Throws PrinterException.
9068         
9069 2003-02-16  Tom Tromey  <tromey@redhat.com>
9070
9071         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9072         variable.
9073
9074 2003-02-15  Michael Koch  <konqueror@gmx.de>
9075
9076         * java/awt/datatransfer/DataFlavor.java
9077         (isRepresentationClassByteBuffer): Removed try-catch block.
9078         (isRepresentationClassCharBuffer): Removed try-catch block.
9079         (isRepresentationClassReader): Removed try-catch block.
9080
9081 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9082
9083         * java/nio/charset/Charset.java
9084         (isRegistered): Fixed method args and implementation.
9085         * java/nio/charset/CharsetEncoder.java
9086         (unmappableCharacterAction): New method.
9087
9088 2003-02-15  Michael Koch  <konqueror@gmx.de>
9089
9090         * java/awt/CheckboxMenuItem.java
9091         (CheckBoxMenuItem): Dont implement Serializable.
9092         (getListeners): New method,
9093         (getItemListeners): New method.
9094         * java/awt/Choice.java
9095         (getListeners): New method,
9096         (getItemListeners): New method.
9097         * java/awt/Container.java
9098         (getListeners): Added exception documentation.
9099         (setFocusTraversalKeys): Throw exceptions, added documentattion.
9100         (getFocusTraversalKeys): Added documentation.
9101         (areFocusTraversalKeysSet): Added documentation.
9102         (applyComponentOrientation): Added documentation.
9103         * java/awt/ContainerOrderFocusTraversalPolicy.java
9104         (implicitDownCycleTraversal): Renamed from downCycle for
9105         serialization.
9106         (ContainerOrderFocusTraversalPolicy): Added documentation.
9107         (accept): Reformated.
9108         * java/awt/Dialog.java
9109         (Dialog): Dont implement Serializable.
9110         (Dialog): Added documentation.
9111         * java/awt/Font.java
9112         (Font): Dont use absolute class name.
9113         * java/awt/Frame.java
9114         (Frame): Font implement Serializable.
9115         * java/awt/List.java
9116         (getListeners): New method,
9117         (getActionListeners): New method.       
9118         (getItemListeners): New method.
9119         * java/awt/Menu.java
9120         (countItems): New deprecated method.
9121         * java/awt/Scrollbar.java
9122         (getListeners): New method,
9123         (getAdjustmentListeners): New method,
9124         * java/awt/TextComponent.java
9125         (getListeners): New method,
9126         (getTextListeners): New method,
9127         * java/awt/TextField.java
9128         (getListeners): New method,
9129         (getActionListeners): New method.       
9130         * java/awt/Window.java
9131         (windowFocusListener): New member variable.
9132         (windowStateListener): New member variable.
9133         (getWindowFocusListeners): New method.
9134         (getWindowStateListeners): New method.
9135         (addWindowFocusListener): New method.
9136         (addWindowStateListener): New method.
9137         (removeWindowFocusListener): New method.
9138         (removeWindowStateListener): New method.
9139         * java/awt/datatransfer/DataFlavor.java
9140         (isRepresentationClassByteBuffer): New method.
9141         (isRepresentationClassCharBuffer): New method.
9142         (isRepresentationClassReader): New method.
9143
9144 2003-02-14  Mark Wielaard  <mark@klomp.org>
9145
9146         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9147         zero when there is an exponent and the significant is zero.
9148         (divide): Always set scale to newScale even in special ZERO case.
9149
9150 2003-02-14  Tom Tromey  <tromey@redhat.com>
9151
9152         * java/lang/System.java (properties): Use Properties.clone.
9153         (setProperties): Likewise.
9154
9155 2003-02-14  Michael Koch  <konqueror@gmx.de>
9156
9157         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9158         * gnu/java/nio/ServerSocketChannelImpl.java
9159         (SocketAccept): Removed.
9160         (accept): Commented out use of SocketAccept.
9161
9162 2003-02-13  Tom Tromey  <tromey@redhat.com>
9163
9164         * verify.cc (state::seen_subrs): New field.
9165         (state::state): Initialize it.
9166         (state::clean_subrs): New method.
9167         (state::~state): Call it.
9168         (state::copy): Copy subroutine list.
9169         (state::add_subr): New method.
9170         (state::merge): Only register a change if the current subroutine
9171         hasn't yet been noted.
9172
9173 2003-02-13  Mark Wielaard  <mark@klomp.org>
9174
9175         * java/io/InputStreamReader.java (getEncoding): Return null when
9176         closed.
9177         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9178
9179 2003-02-13  Mark Wielaard  <mark@klomp.org>
9180  
9181         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9182         is zero.
9183
9184 2003-02-13  Mark Wielaard  <mark@klomp.org>
9185
9186         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9187         next byte cannot be buffered.
9188
9189 2003-02-13  Michael Koch  <konqueror@gmx.de>
9190  
9191         * java/awt/Label.java
9192         (Label): Don't implement Serializable directly.
9193         (addNotify): Fixed typo in documentation.
9194         * java/awt/List.java
9195         (List): Don't implement Serializable directly.
9196         * java/awt/PopupMenu.java
9197         (PopupMenu): Don't implement Serializable directly.
9198         * java/awt/ScrollPane.java
9199         (ScrollPane): Don't implement Serializable directly.
9200         * java/awt/Scrollbar.java
9201         (Scrollbar): Don't implement Serializable directly.
9202         * java/awt/TextArea.java
9203         (preferredSize): Fixed method arguments.
9204         * java/awt/TextField.java
9205         (TextField): Don't implement Serializable directly.
9206         * java/awt/color/ICC_ColorSpace.java
9207         (fromCIOXYZ): Documentation added.
9208         (getMinValue): Documentation added.
9209         (getMaxValue): Documentation added.
9210         * java/awt/datatransfer/DataFlavor.java
9211         (isMimeTypeEqual): May not be final.
9212         (clone): Throws CloneNotSupportedException.
9213         (getReaderForText): Don't throws UnsupportedEncodingException.
9214
9215 2003-02-13  Michael Koch  <konqueror@gmx.de>
9216  
9217         * gnu/java/awt/peer/gtk/GdkGraphics.java
9218         (drawString): New stubbed method.
9219         * java/awt/Graphics.java
9220         (drawString): New method.
9221
9222 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9223
9224         PR libgcj/9271:
9225         * java/security/SecureRandom.java (next): Avoid bias in results.
9226
9227 2003-02-13  Michael  <konqueror@gmx.de>
9228
9229         * gnu/java/nio/FileChannelImpl.java
9230         (lengthInternal): Must be native.
9231         (size): Check if channel is already closed.
9232         (implCloseChannel): Reformated.
9233         (read): w was unused, removed it.
9234         (read): Removed.
9235         (read): New method.
9236         (write): New method.
9237         (map): Check arguments.
9238         (force): Throws IOException, check if channel is closed.
9239         (transferTo): New method.
9240         (transferFrom): New method.
9241         (lock): New method.
9242         (tryLock): New method.
9243         (position): New method.
9244         (truncate): New method.
9245         (nio_mmap_file): Uncommented.
9246         (nio_munmap_file): Uncommented.
9247         (nio_msync): Uncommented.
9248         * gnu/java/nio/natFileChannelImpl.cc: New file.
9249         
9250 2003-02-13  Michael Koch  <konqueror@gmx.de>
9251
9252         * java/nio/ByteBuffer.java
9253         (endian): New member variable.
9254         (get): New methods.
9255         (equals): New method.
9256         (compareTo): New method.
9257         (order): New methods.
9258         (compact): New method.
9259         (isDirect): New method.
9260         (slice): New method.
9261         (duplicate): New method.
9262         (asReadOnlyBuffer): New method.
9263         (asCharBuffer): New method.
9264         (asDoubleBuffer): New method.
9265         (asFloatBuffer): New method.
9266         (asIntBuffer): New method.
9267         (asLongBuffer): New method.
9268         (asShortBuffer): New method.
9269         (get*): New methods.
9270         (put*): New methods.
9271         (toString): New method.
9272         * java/nio/CharBuffer.java
9273         (CharBuffer): Implement Comparable instead of Cloneable.
9274         (get): May not be final.
9275         (put): May not be final.
9276         
9277 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9278
9279         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9280         lastIndexOf( ) instead of indexOf( ) to find the colon before
9281         the line number, because Win32 file names might contain a 
9282         drive letter and a colon at the start of an absolute path.
9283
9284 2003-02-13  Michael Koch  <konqueror@gmx.de>
9285
9286         * gnu/java/nio/natSocketChannelImpl.cc
9287         (SocketConnect): This is not implemented yet.
9288         (SocketBind): This is not implemented yet.
9289
9290 2003-02-13  Michael Koch  <konqueror@gmx.de>
9291
9292         * gnu/java/nio/natByteBufferImpl.cc,
9293         gnu/java/nio/natCharBufferImpl.cc,
9294         gnu/java/nio/natDoubleBufferImpl.cc,
9295         gnu/java/nio/natFloatBufferImpl.cc,
9296         gnu/java/nio/natIntBufferImpl.cc,
9297         gnu/java/nio/natLongBufferImpl.cc,
9298         gnu/java/nio/natShortBufferImpl.cc:
9299         Added copyright and license.
9300         * java/nio/DoubleBuffer.java,
9301         java/nio/FloatBuffer.java,
9302         java/nio/IntBuffer.java,
9303         java/nio/LongBuffer.java,
9304         java/nio/ShortBuffer.java
9305         (array): Throw exceptions.
9306         (arrayOffset): Throw exceptions.
9307
9308 2003-02-13  Michael Koch  <konqueror@gmx.de>
9309  
9310         * gnu/java/util/prefs/FileBasedFactory.java,
9311         gnu/java/util/prefs/MemmoryBasedFactory.java,
9312         gnu/java/util/prefs/MemoryBasedPreferences.java,
9313         gnu/java/util/prefs/NodeReader.java,
9314         gnu/java/util/prefs/NodeWriter.java,
9315         java/util/prefs/AbstractPreferences.java,
9316         java/util/prefs/BackingStoreException.java,
9317         java/util/prefs/InvalidPreferencesFormatException.java,
9318         java/util/prefs/NodeChangeEvent.java,
9319         java/util/prefs/NodeChangeListener.java,
9320         java/util/prefs/PreferenceChangeEvent.java,
9321         java/util/prefs/PreferenceChangeListener.java,
9322         java/util/prefs/Preferences.java,
9323         java/util/prefs/PreferencesFactory.java:
9324         New files, all merged from classpath.
9325         * Makefile.am
9326         (ordinary_java_source_files): Added the following files:
9327         gnu/java/util/prefs/FileBasedFactory.java,
9328         gnu/java/util/prefs/MemmoryBasedFactory.java,
9329         gnu/java/util/prefs/MemoryBasedPreferences.java,
9330         gnu/java/util/prefs/NodeReader.java,
9331         gnu/java/util/prefs/NodeWriter.java,
9332         (core_java_source_files): Added the following files:
9333         java/util/prefs/AbstractPreferences.java,
9334         java/util/prefs/BackingStoreException.java,
9335         java/util/prefs/InvalidPreferencesFormatException.java,
9336         java/util/prefs/NodeChangeEvent.java,
9337         java/util/prefs/NodeChangeListener.java,
9338         java/util/prefs/PreferenceChangeEvent.java,
9339         java/util/prefs/PreferenceChangeListener.java,
9340         java/util/prefs/Preferences.java,
9341         java/util/prefs/PreferencesFactory.java
9342         * Makefile.in: Regenerated.
9343  
9344 2003-02-13  Michael Koch  <konqueror@gmx.de>
9345
9346         * java/net/NetPermission.java
9347         (NetPermission): Make doucmentation match the method declaration.
9348         * java/net/NetworkInterface.java
9349         (equals): Reformated for GNU coding style.
9350         * java/net/ServerSocket.java: Merged with classpath.
9351         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9352         * java/net/SocketImpl.java
9353         (localPort): Merged with classpath (initialize with -1).
9354         * java/net/SocketPermission.java: Merged with classpath (reindented).
9355         * java/net/URLDecoder.java: Merged with classpath (reindented).
9356
9357 2003-02-13  Michael Koch  <konqueror@gmx.de>
9358
9359         * java/awt/GridBagConstraints.java
9360         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9361         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9362         * java/awt/KeyboardFocusManager.java
9363         (setGlobalCurrentFocusCycleRoot): Must be public.
9364         * java/awt/MenuComponent.java
9365         (MenuComponent): Must be public.
9366         * java/awt/Toolkit.java:
9367         Added some empty lines to make documentation more readable.
9368         (getFontPeer): Added @deprecated.
9369         (getColorModel): Added exception documentation.
9370         (getProperty): Fixed documentation.
9371  
9372 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9373
9374         * configure.host (alpha*-*): Default to -mieee.
9375         * configure.in (IEEESPEC): New.
9376         * libgcj.spec.in (jc1): Add IEEESPEC.
9377         * configure: Rebuild.
9378
9379 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9380
9381         * include/win32.h: Include ws2tcpip.h instead of
9382         winsock.h to obtain definition of the socklen_t type.
9383         Remove IP_TOS definition - not needed with ws2tcpip.h
9384         (_Jv_connect): Correct slight formatting error.
9385
9386 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9387
9388         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9389         size of the arguments for a JNI function. For Win32,
9390         modify to search for all forms of possible exported
9391         names of an stdcall JNI function.
9392         (_Jv_JNIMethod::call): Modify to calculate the size
9393         of the arguments passed to a JNI function and pass
9394         it to _Jv_LookupJNIMethod.
9395
9396 2003-02-12  Michael Koch  <konqueror@gmx.de>
9397
9398         * java/nio/channels/Channels.java: New file.
9399         * Makefile.am
9400         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9401         * Makefile.in: Regenerated.
9402
9403 2003-02-12  Michael Koch  <konqueror@gmx.de>
9404
9405         * java/nio/ByteBuffer.java
9406         (allocate): Implemented.
9407         (wrap): Implemented.
9408         * java/nio/CharBuffer.java:
9409         Some documentation added and reworked.
9410         (endian): Removed.
9411         (allocate): Implemented.
9412         (wrap): Implemented.
9413         (array): Throw exceptions.
9414         (arrayOffset): Throw exceptions.
9415         (toString): Implemented.
9416         (length): Implemented.
9417         (put): Implemented.
9418         (charAt): Implemented.
9419
9420 2003-02-11  John Leuner  <jewel@debian.org>
9421
9422         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9423         reads from end of file.
9424
9425 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9426
9427         * java/io/natFileDescriptorWin32.cc 
9428         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9429         returns with Win32 error code ERROR_BROKEN_PIPE.
9430
9431 2003-02-11  Michael Koch  <konqueror@gmx.de>
9432
9433         * Makefile.in
9434         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9435
9436 2003-02-11  Michael Koch  <konqueror@gmx.de>
9437
9438         * gnu/java/nio/ByteBufferImpl.java:
9439         Reformated and removed some code.
9440         (backing_buffer): Removed.      
9441         (array_offset): Removed.
9442         (ro): Renamed to readOnly.
9443         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9444         * gnu/java/nio/CharBufferImpl.java:
9445         Reformated and removed some code.
9446         (array_offset): Removed.
9447         (ro): Renamed to readOnly.
9448         (CharBufferImpl): Use parent constructor, initialize readOnly.
9449         (inc_pos): Removed.
9450         (order): New method.
9451         * gnu/java/nio/DoubleBufferImpl.java:
9452         Reformated and removed some code.
9453         (array_offset): Removed.
9454         (ro): Renamed to readOnly.
9455         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9456         (inc_pos): Removed.
9457         (order): New method.
9458         * gnu/java/nio/FloatBufferImpl.java:
9459         Reformated and removed some code.
9460         (array_offset): Removed.
9461         (ro): Renamed to readOnly.
9462         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9463         (inc_pos): Removed.
9464         (order): New method.
9465         * gnu/java/nio/IntBufferImpl.java:
9466         Reformated and removed some code.
9467         (array_offset): Removed.
9468         (ro): Renamed to readOnly.
9469         (IntBufferImpl): Use parent constructor, initialize readOnly.
9470         (inc_pos): Removed.
9471         (order): New method.
9472         * gnu/java/nio/LongBufferImpl.java:
9473         Reformated and removed some code.
9474         (array_offset): Removed.
9475         (ro): Renamed to readOnly.
9476         (LongBufferImpl): Use parent constructor, initialize readOnly.
9477         (inc_pos): Removed.
9478         (order): New method.
9479         * gnu/java/nio/ShortBufferImpl.java:
9480         Reformated and removed some code.
9481         (array_offset): Removed.
9482         (ro): Renamed to readOnly.
9483         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9484         (inc_pos): Removed.
9485         (order): New method.
9486         * Makefile.am
9487         (ordinary_java_source_files): Added the following files:
9488         gnu/java/nio/ByteBufferImpl.java
9489         gnu/java/nio/CharBufferImpl.java
9490         gnu/java/nio/DoubleBufferImpl.java
9491         gnu/java/nio/FloatBufferImpl.java
9492         gnu/java/nio/IntBufferImpl.java
9493         gnu/java/nio/LongBufferImpl.java
9494         gnu/java/nio/ShortBufferImpl.java
9495         java/nio/DoubleBuffer.java
9496         java/nio/FloatBuffer.java
9497         java/nio/IntBuffer.java
9498         java/nio/LongBuffer.java
9499         java/nio/ShortBuffer.java
9500         (nat_source_files): Added the following files:
9501         gnu/java/nio/natByteBufferImpl.cc
9502         gnu/java/nio/natCharBufferImpl.cc
9503         gnu/java/nio/natDoubleBufferImpl.cc
9504         gnu/java/nio/natFloatBufferImpl.cc
9505         gnu/java/nio/natIntBufferImpl.cc
9506         gnu/java/nio/natLongBufferImpl.cc
9507         gnu/java/nio/natShortBufferImpl.cc
9508         * Makefile.in: Regenerated.
9509
9510 2003-02-11  Michael Koch  <konqueror@gmx.de>
9511
9512         * gnu/java/nio/natCharBufferImpl.cc
9513         (nio_cast): Removed.
9514         (nio_put_*): Removed.
9515         (nio_get_*): Removed.
9516         * gnu/java/nio/natDoubleBufferImpl.cc
9517         (nio_cast): Removed.
9518         (nio_put_*): Removed.
9519         (nio_get_*): Removed.
9520         * gnu/java/nio/natFloatBufferImpl.cc
9521         (nio_cast): Removed.
9522         (nio_put_*): Removed.
9523         (nio_get_*): Removed.
9524         * gnu/java/nio/natIntBufferImpl.cc
9525         (nio_cast): Removed.
9526         (nio_put_*): Removed.
9527         (nio_get_*): Removed.
9528         * gnu/java/nio/natLongBufferImpl.cc
9529         (nio_cast): Removed.
9530         (nio_put_*): Removed.
9531         (nio_get_*): Removed.
9532         * gnu/java/nio/natShortBufferImpl.cc
9533         (nio_cast): Removed.
9534         (nio_put_*): Removed.
9535         (nio_get_*): Removed.
9536         * gnu/java/nio/SelectorProviderImpl.java
9537         (openDatagramChannel): Throws IOException.
9538         (openPipe): Throws IOException.
9539         (openSelector): Throws IOException.
9540         (openServerSocketChannel): Throws IOException.
9541         (openSocketChannel): Throws IOException.
9542         * gnu/java/nio/ServerSocketChannelImpl.java
9543         (ServerSocketChannelImpl): Throws IOException.
9544         (implCloseSelectableChannel): Throws IOException.
9545         (implConfigureBlocking): Throws IOException.
9546         * java/nio/ByteBuffer.java
9547         (readOnly): Removed.
9548         (hasArray): Use isReadOnly() instead of readOnly.
9549         (array): Use isReadOnly() instead of readOnly.
9550         (arrayOffset): Use isReadOnly() instead of readOnly.
9551         * java/nio/CharBuffer.java
9552         (CharBuffer): Implements Cloneable and CharSequence.
9553
9554 2003-02-11  Michael Koch  <konqueror@gmx.de>
9555
9556         * java/nio/DoubleBuffer.java
9557         (DoubleBuffer): Implements Comparable.
9558         (endian): Removed.
9559         (array_offset): New member variable.
9560         (DoubleBuffer): New constuctor.
9561         (get): May not be final.
9562         (put): May not be final.
9563         (arrayOffset): Implemented.
9564         (order): Made abstract.
9565         (order): Removed.
9566         (as*Buffer): Removed.
9567         (get*): Removed.
9568         (put*): Removed.
9569         * java/nio/FloatBuffer.java
9570         (FloatBuffer): Implements Comparable.
9571         (endian): Removed.
9572         (array_offset): New member variable.
9573         (FloatBuffer): New constuctor.
9574         (get): May not be final.
9575         (put): May not be final.
9576         (arrayOffset): Implemented.
9577         (order): Made abstract.
9578         (order): Removed.
9579         (as*Buffer): Removed.
9580         (get*): Removed.
9581         (put*): Removed.
9582         * java/nio/IntBuffer.java
9583         (IntBuffer): Implements Comparable.
9584         (endian): Removed.
9585         (array_offset): New member variable.
9586         (IntBuffer): New constuctor.
9587         (get): May not be final.
9588         (put): May not be final.
9589         (arrayOffset): Implemented.
9590         (order): Made abstract.
9591         (order): Removed.
9592         (as*Buffer): Removed.
9593         (get*): Removed.
9594         (put*): Removed.
9595         * java/nio/LongBuffer.java
9596         (LongBuffer): Implements Comparable.
9597         (endian): Removed.
9598         (array_offset): New member variable.
9599         (LongBuffer): New constuctor.
9600         (get): May not be final.
9601         (put): May not be final.
9602         (arrayOffset): Implemented.
9603         (order): Made abstract.
9604         (order): Removed.
9605         (as*Buffer): Removed.
9606         (get*): Removed.
9607         (put*): Removed.
9608         * java/nio/ShortBuffer.java
9609         (ShortBuffer): Implements Comparable.
9610         (endian): Removed.
9611         (array_offset): New member variable.
9612         (ShortBuffer): New constuctor.
9613         (get): May not be final.
9614         (put): May not be final.
9615         (arrayOffset): Implemented.
9616         (order): Made abstract.
9617         (order): Removed.
9618         (as*Buffer): Removed.
9619         (get*): Removed.
9620         (put*): Removed.
9621
9622 2003-02-11   Michael Koch  <konqueror@gmx.de>
9623
9624         * java/nio/channels/SelectionKey.java
9625         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9626         values.
9627
9628 2003-02-11  Michael Koch  <konqueror@gmx.de>
9629
9630         * java/nio/channels/DatagramChannel.java
9631         (write): Throws IOException.
9632         (connect): Throws IOException.
9633         (disconnect): Throws IOException.
9634         (read): Throws IOException.
9635         (receive): Throws IOException.
9636         (send): Throws IOException.
9637         * java/nio/channels/Pipe.java
9638         (open): Throws IOException.
9639         * java/nio/channels/SelectableChannel.java
9640         (configureBlocking): Throws IOException.
9641         * java/nio/channels/ServerSocketChannel.java
9642         (accept): Throws IOException.
9643         * java/nio/channels/SocketChannel.java
9644         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9645         GatheringByteChannel.
9646         (read): Throws IOException.
9647         (write): Throws IOException.
9648         (finishConnect): Throws IOException.
9649         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9650         (end): Throws AsynchronousCloseException.
9651         * java/nio/channels/spi/AbstractSelectableChannel.java
9652         (configureBlocking): Throws IOException.
9653         (implCloseChannel): Throws IOException.
9654         (implCloseSelectableChannel): Throws IOException.
9655         (implConfigureBlocking): Throws IOException.
9656         * java/nio/channels/spi/SelectorProvider.java
9657         (openDatagramChannel): Throws IOException.
9658         (openPipe): Throws IOException.
9659         (openSelector): Throws IOException.
9660         (openServerSocketChannel): Throws IOException.
9661         (openSocketChannel): Throws IOException.
9662
9663 2003-02-11  Michael Koch  <konqueror@gmx.de>
9664
9665         * gnu/java/nio/FileLockImpl.java,
9666         java/nio/channels/FileLock.java: New files.
9667
9668 2003-02-11  Michael Koch  <konqueror@gmx.de>
9669
9670         * java/nio/charset/IllegalCharsetNameException.java
9671         (serialVersionUID): New member variable.
9672         (charsetName): New member variable.
9673         (IllegalCharsetException): New implementation.
9674         (getCharsetName): New implementation.
9675         * java/nio/charset/UnsupportedCharsetException.java
9676         (serialVersionUID): New member variable.
9677         (charsetName): New member variable.
9678         (UnsupportedCharsetException): New implementation.
9679         (getCharsetName): New implementation.
9680
9681 2003-02-10  Tom Tromey  <tromey@redhat.com>
9682
9683         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9684         (ex): Renamed from sqlException.
9685
9686 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9687
9688         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9689         method used to ensure seeding has occurred and that a specific 
9690         seed can be set and used.
9691
9692 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9693
9694         * java/lang/Win32Process.java (destroy): Declare as native.
9695         (hasExited): New native method.
9696         (exitValue): Define.
9697         (getErrorStream): Likewise.
9698         (getInputStream): Likewise.
9699         (getOutputStream): Likewise.
9700         (waitFor): Declare as native.
9701         (startProcess): New native method.
9702         (cleanup): Likewise.
9703         (ConcreteProcess): Define.
9704         (outputStream, inputStream, errorStream): New members.
9705         (procHandle, exitCode): Likewise.
9706
9707         * java/lang/natWin32Process.cc
9708         (java::lang::ConcreteProcess::cleanup): Define.
9709         (java::lang::ConcreteProcess::destroy): Likewise.
9710         (java::lang::ConcreteProcess::hasExited): Likewise.
9711         (java::lang::ConcreteProcess::waitFor): Likewise.
9712         (new_string): Likewise.
9713         (java::lang::ConcreteProcess::startProcess): Likewise.
9714
9715 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9716
9717         * java/math/BigInteger.java:
9718         Updated notice to include years 2002 and 3.
9719         Added 2 private (int) arrays with values from the HAC (Handbook of
9720         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9721         and t[] that contains nbr. of tests --used in isProbablePrime().
9722
9723         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9724
9725         * java/math/BigInteger.java (make(int[],int), add(int,int),
9726         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9727         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9728         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9729         make(long).
9730
9731         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9732         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9733         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9734         BIs and returns void.
9735         (modInverse(BI)): Use new signatures of euclidInv().
9736
9737         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9738         static small primes instead of remainder().
9739         Use pre-computed max nbr of trials based on bitlength of BI to test.
9740         Use pre-computed small primes for the trial tests instead of random
9741         numbers.
9742
9743         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9744         not used.
9745
9746         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9747         invoacation of MPN.chars_per_word().  not used.
9748
9749         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9750         local var and used where needed.
9751
9752         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9753         Combined declaration with initialisation of locals.
9754         Removed unused var.
9755
9756         * java/math/BigInteger.java: Style changes
9757         (pow(int)): Removed 'else' keyword.
9758         (toString(int)): idem.
9759         (doubleValue()): idem.
9760         (bitLength()): idem.
9761         (equals(Object)): Use static methods name in same class w/o prepending
9762         class name.
9763         (doubleValue()): idem.
9764         (setNegative(BI)): idem.
9765         (negate()): idem.
9766         (and(BI,int)): idem.
9767         (and(BI)): idem.
9768         (gcd(BI)): idem.
9769         (byteArrayToIntArray()): Removed casting to (int). this is
9770         std. behaviour.
9771         (canonicalize()): idem.
9772         (alloc(int)): Always instantiate a new BI.
9773
9774 2003-02-10  Tom Tromey  <tromey@redhat.com>
9775
9776         * java/sql/Timestamp.java (compareTo(Object)): New method.
9777         (compareTo(Timestamp)): Likewise.
9778         (serialVersionUID): Updated.
9779
9780 2003-02-07  Mark Wielaard  <mark@klomp.org>
9781
9782         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9783         when verify is true.
9784         (JarFile(File, boolean)): Likewise.
9785         (manifestRead): Set manifestRead field correctly.
9786
9787 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9788
9789         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9790         tests; see patch #1016 on Savannah.
9791
9792 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9793
9794         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9795         (toString): do not return Strings starting with . and - erroneously.
9796         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9797         DiagBigDecimal.
9798
9799 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9800
9801         * java/beans/PropertyDescriptor.java
9802         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9803         methods.
9804         (PropertyDescriptor(String, Class, String, String)): Likewise.
9805         (PropertyDescriptor(String, Method, Method): Factor out getter and
9806         setter method sanity checks into new method.
9807         (findMethods): Don't do parameter sanity checking of get method here.
9808         (checkMethods): New method.
9809
9810 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9811
9812         * java/beans/PropertyDescriptor.java: Reformat.
9813
9814 2003-02-04  Tom Tromey  <tromey@redhat.com>
9815
9816         * java/io/PipedOutputStream.java (flush): Declare as throwing
9817         IOException.
9818         (close): Likewise.
9819         * java/io/PipedWriter.java (close): Declare as throwing
9820         IOException.
9821         * java/io/StringWriter.java (close): Declare as throwing
9822         IOException.
9823
9824 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9825
9826         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9827         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9828         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9829         "_JNI_OnLoad@8" (MSVC).
9830
9831 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9832
9833         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9834         convention on Win32 to invoke native JNI methods.
9835
9836 2003-02-03  Andrew Haley  <aph@redhat.com>
9837
9838         * configure.host (x86_64): Enable interpreter.
9839
9840 2003-02-03  Andrew Haley  <aph@redhat.com>
9841
9842         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9843         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9844         * configure.in (BACKTRACESPEC): New.
9845         * configure: Regenerate.
9846
9847 2003-02-02  Tom Tromey  <tromey@redhat.com>
9848
9849         * configure: Rebuilt.
9850         * configure.in (TOOLKIT) [xlib]: Set correctly.
9851
9852         * Makefile.in: Rebuilt.
9853         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9854         libstdc++.
9855
9856 2003-01-31  Mark WIelaard  <mark@klomp.org>
9857
9858         * Makefile.in: Rebuilt.
9859         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9860
9861 2003-01-31  Tom Tromey  <tromey@redhat.com>
9862
9863         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9864         cast to element type.
9865         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9866         (_Jv_JNI_GetObjectArrayElement): Likewise.
9867
9868         * Makefile.in: Rebuilt.
9869         * Makefile.am (cond_x_ltlibrary): Renamed library to
9870         lib-gnu-awt-xlib.la.
9871         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9872         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9873         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9874         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9875         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9876         (lib_gnu_awt_xlib_la_LINK): Likewise.
9877         (install-exec-hook): Removed.
9878         (lib-gnu-awt-xlib.la): Renamed.
9879
9880 2003-01-31  Tom Tromey  <tromey@redhat.com>
9881
9882         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9883         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9884         aclocal.m4 and lost in some merge.
9885
9886         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9887         Don't try to find graphics configuration.
9888         * java/awt/Toolkit.java (default_toolkit_name): Use new
9889         Configuration entry.
9890         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9891         New global.
9892         * configure: Rebuilt.
9893         * configure.in (TOOLKIT): New subst.
9894         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9895         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9896         directory.  Make output directories for .c files.
9897         * Makefile.in: Rebuilt.
9898         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9899         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9900         (all_java_source_files): Added new sources.
9901         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9902         (gtk_c_files): New macro.
9903         (gtk_c_source_files): New macro.
9904         (cond_gtk_ltlibrary): New macro.
9905         ($(gtk_c_files)): New target.
9906         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9907         (gtk_awt_peer_sources): New macro.
9908         (gtk_c_headers): New macro.
9909         ($(gtk_c_headers)): New target.
9910         (ACLOCAL_AMFLAGS): New macro.
9911         * gtk.m4, glib.m4, libart.m4: New files.
9912         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9913         gnu/java/awt/peer/gtk/GdkGraphics.java,
9914         gnu/java/awt/peer/gtk/GtkArg.java,
9915         gnu/java/awt/peer/gtk/GtkArgList.java,
9916         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9917         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9918         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9919         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9920         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9921         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9922         gnu/java/awt/peer/gtk/GtkClipboard.java,
9923         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9924         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9925         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9926         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9927         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9928         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9929         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9930         gnu/java/awt/peer/gtk/GtkImage.java,
9931         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9932         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9933         gnu/java/awt/peer/gtk/GtkListPeer.java,
9934         gnu/java/awt/peer/gtk/GtkMainThread.java,
9935         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9936         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9937         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9938         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9939         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9940         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9941         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9942         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9943         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9944         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9945         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9946         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9947         gnu/java/awt/peer/gtk/GtkToolkit.java,
9948         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9949         gnu/java/awt/peer/gtk/TestAWT.java,
9950         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9951         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9952         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9953         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9954         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9955         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9956         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9957         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9958         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9959         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9961         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9962         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9963         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9964         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9965         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9966         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9967         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9968         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9969         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9970         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9971         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9972         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9973         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9974         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9975         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9976         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9977         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9978         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9979         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9980         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9981         jni/classpath/native_state.c, jni/classpath/native_state.h,
9982         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9983
9984 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9985
9986         * java/util/Properties.java (load): Ignore backslash before EOF.
9987
9988 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9989
9990         * java/lang/natClass.cc (initializeClass): Check tables when
9991         (state == JV_STATE_IN_PROGRESS).
9992         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9993         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9994         interpreted classes.
9995         (linkClass0): Use _Jv_WaitForState.
9996
9997 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9998
9999         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10000         object when finished.
10001
10002 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
10003
10004         * libjava/configure.host: Disable can_unwind_signal on darwin.
10005
10006 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
10007
10008         Fixes PR java/9254:
10009         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10010         additionally containing id of the owner thread as well as
10011         the number of nested times the thread has acquired the mutex.
10012         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10013         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10014         (_Jv_MutexUnlock): Check if really the owner thread, reset
10015         owner thread id to 0 before leaving, if leaving for the last
10016         time.
10017         (_Jv_MutexLock): Set owner thread id in the mutex and increment
10018         refcount.
10019         (_Jv_ThreadYield): Yield using a call to Sleep(0).
10020         * win32-threads.cc (_Jv_CondWait): Check if really owner of
10021         the passed mutex.
10022         Pass handle of the broadcast event, instead of a pointer to it
10023         in Win32 ResetEvent( ) call.
10024         Remove incorrect return values.
10025         (_Jv_CondDestroy): Close both event handles and delete
10026         critical section.
10027         (_Jv_CondNotify): Check if really the owner thread.
10028         (_Jv_CondNotifyAll): Check if really the owner thread.
10029         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10030         (really_start): Use SetEvent( ) to signal daemon_cond.
10031         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10032         WaitForSingleObject( ) instead to wait for daemon_cond to be
10033         signalled.
10034
10035 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
10036
10037         * configure.in: Specifically define HAVE_BACKTRACE if building
10038         for MinGW.
10039         * include/win32.h: Remove HAVE_BACKTRACE definition.
10040         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10041         * configure: Rebuilt.
10042
10043 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
10044
10045         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10046         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
10047         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10048         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10049         * Makefile.in, configure: Rebuilt.
10050
10051 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
10052
10053         Fixes PR java/9253:
10054         * java/io/natFileWin32.cc (performList): Append only "*.*"
10055         if the canonical file path already has a "\" at the end.
10056
10057 2003-01-24  Tom Tromey  <tromey@redhat.com>
10058
10059         * defineclass.cc (handleMethodsEnd): Precompute code for static
10060         method.
10061         (handleCodeAttribute): Likewise.
10062         * resolve.cc (ncode): Use run_class for unsynchronized static
10063         methods.
10064         * include/java-interp.h (class _Jv_InterpMethod): Declare
10065         run_class.
10066         * interpret.cc (run_synch_class): Initialize class.
10067         (run) [insn_invokestatic]: Don't initialize class.
10068         [insn_anewarray]: Likewise.
10069         [insn_multianewarray]: Likewise.
10070         (run_class): New function.
10071
10072 2003-01-24  Tom Tromey  <tromey@redhat.com>
10073
10074         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10075         comment.
10076
10077 2003-01-22  Andrew Haley  <aph@redhat.com>
10078
10079         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10080         * configure.host (CHECKREFSPEC): Define for x86_64.
10081
10082 2003-01-21  Tom Tromey  <tromey@redhat.com>
10083
10084         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10085         search at 2, not 3.
10086
10087 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
10088
10089         * java/io/natFileWin32.cc (isAbsolute): Check path length before
10090         looking at any characters.
10091         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10092         be used.
10093         (isAbsolute): Check path's length as well.
10094
10095 2003-01-17  Mark Wielaard  <mark@klomp.org>
10096
10097         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10098         (nat_source_files): Add natVMObjectStreamClass.cc.
10099         * Makefile.in: Regenerated.
10100         * gcj/javaprims.h (namespace java): Regenerated.
10101         * java/io/ObjectStreamClass.java (getClassUID): Call
10102         VMObjectStreamClass.hasClassInitializer().
10103         (hasClassInitializer): Removed.
10104         * java/io/VMObjectStreamClass.java: New class.
10105         * java/io/natVMObjectStreamClass.cc: New file.
10106         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10107
10108 2003-01-16  Mark Wielaard  <mark@klomp.org>
10109
10110         * java/net/SocketImpl.java (toString): Don't explicitly call
10111         toString() on possible null address.
10112
10113 2003-01-16  Michael Koch  <konqueror@gmx.de>
10114
10115         * java/net/MulticastSocket.java
10116         (setInterface): Reindented.
10117
10118 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10119
10120         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10121         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10122         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10123         translateY arguments.  Implement.
10124         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10125         down translation arguments.
10126         (drawPolyline, drawPolygon): Fix incorrect tests.
10127         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10128         translateX and translateY arguments.
10129
10130 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10131
10132         * Makefile.in: Rebuilt.
10133         * Makefile.am (xlib_includes): New macro.
10134         (INCLUDES): Use it.
10135
10136 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10137
10138         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10139         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10140         16-bit display mode.
10141
10142 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10143
10144         * java/awt/CardLayout.java (show): Rewrote.
10145         (gotoComponent): Removed `target' argument.  Simplified code.
10146         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10147         Changed all callers.
10148         (NONE): Removed.
10149         
10150 2003-01-14  Michael Koch  <konqueror@gmx.de>
10151
10152         * java/net/InetSocketAddress.java
10153         (serialVersionUID): New member variable.
10154         * java/net/NetPermission.java
10155         (NetPermission): Dont implement java.io.Serialization directly.
10156         * java/net/SocketAddress.java:
10157         (serialVersionUID): Documentation added.
10158         
10159 2003-01-14  Michael Koch  <konqueror@gmx.de>
10160
10161         * java/awt/Label.java
10162         (Label): Implements javax.accessibility.Accessible;
10163         * java/awt/List.java
10164         (List): Implements javax.accessibility.Accessible;
10165         * java/awt/ScrollPane.java
10166         (ScrollPane): Implements javax.accessibility.Accessible;
10167         * java/awt/Scrollbar.java
10168         (Scrollbar): Implements javax.accessibility.Accessible;
10169         * java/awt/TextComponent.java
10170         (setCaretPosition): Throw exception, documentation added.
10171         * java/awt/Toolkit.java:
10172         Added some newlines in method documentations.
10173         (createButton): Exception documentation added.
10174         (createTextField): Exception documentation added.
10175         (createLabel): Exception documentation added.
10176         (createList): Exception documentation added.
10177         (createCheckbox): Exception documentation added.
10178         (createScrollbar): Exception documentation added.
10179         (createScrollPane): Exception documentation added.
10180         (createTextArea): Exception documentation added.
10181         (createChoice): Exception documentation added.
10182         (createFrame): Exception documentation added.
10183         (createWindow): Exception documentation added.
10184         (createDialog): Exception documentation added.
10185         (createMenuBar): Exception documentation added.
10186         (createMenu): Exception documentation added.
10187         (createMenuItem): Exception documentation added.
10188         (createFileDialog): Exception documentation added.
10189         (createCheckboxMenuItem): Exception documentation added.
10190         (loadSystemColors): Exception documentation added.
10191         (setDynamicLayout): Exception documentation added.
10192         (isDynamicLayoutSet): Exception documentation added.
10193         (isDynamicLayoutActive): Exception documentation added.
10194         (getScreenSize): Exception documentation added.
10195         (getScreenResolution): Exception documentation added.
10196         (getScreenInsets): Exception documentation added.
10197         (getColorModel): Exception documentation added.
10198         (getSystemClipboard): Exception documentation added.
10199         (getSystemSelection): Exception documentation added.
10200         (getMenuShortcutKeyMask): Exception documentation added.
10201         (getSystemEventQueue): Exception documentation added.
10202         * java/awt/Window.java:
10203         Reindented some code.
10204         (Window): Centralized implementation, documentation added.
10205         (finalize): Documentation added.
10206         (hide): Fixed typo in comment.
10207         (getWindowListeners): Documentation added.
10208         * java/awt/color/ColorSpace.java
10209         (toRGB): Documentation added.
10210         * java/awt/color/ICC_ColorSpace.java
10211         (ICC_ColorSpace): Documentation added.
10212         (toRGB): Throw exception, documentation added.
10213         (fromRGB): Throw exception, documentation added.
10214         (toCIEXYZ): Documentation added.
10215         (fromCIEXYZ): Documentation added.
10216         (getMinValue): Documentation added.
10217         (getMaxValue): Documentation added.
10218         * java/awt/geom/Dimension2D.java
10219         (clone): Documentation added.
10220         * java/awt/geom/GeneralPath.java
10221         (clone): Documentation added.
10222         * java/awt/geom/Line2D.java
10223         (clone): Documentation added.
10224         * java/awt/geom/QuadCurve2D.java
10225         (clone): Documentation added.
10226         * java/awt/image/ColorModel.java
10227         (ColorModel): Throw exception, documentation added.
10228         * java/awt/image/ImageFilter.java
10229         (clone): Doesnt throw CloneNotSupportedException.
10230
10231 2003-01-14  Andrew Haley  <aph@redhat.com>
10232
10233         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10234         in a try block.
10235
10236 2003-01-10  Andrew Haley  <aph@redhat.com>
10237
10238         * include/dwarf2-signal.h: Remove x86_64.
10239         * configure.host (x86_64 DIVIDESPEC): Remove.
10240         * include/x86_64-signal.h: New file.
10241         * configure.in: Regenerate.
10242
10243 2003-01-10  Michael Koch  <konqueror@gmx.de>
10244
10245         * java/net/DatagramSocket.java
10246         (ch): Description added.
10247         (remotePort): Initialize with -1.
10248         (connect): Doesnt throws SocketException.
10249         * java/net/MulticastSocket.java
10250         (setInterface): Merge with Classpath.
10251         * java/net/ServerSocket.java
10252         (closed): New member variable.
10253         (bind): Check if socket is closed.
10254         (close): Close an associated channel too, set new value to closed.
10255         (isBound): Reindented.
10256         (isClosed): Implemented.
10257         * java/net/Socket.java
10258         (closed): New member variable.
10259         (bind): Check if socket is closed.
10260         (connect): Check if socket is closed.
10261         (close): Close an associated channel too, set new value to closed.
10262         (isClosed): Implemented.
10263
10264 2003-01-10  Michael Koch  <konqueror@gmx.de>
10265
10266         * java/awt/DisplayMode.java
10267         (equals): Fixed argument type and implementation.
10268
10269 2003-01-07  Tom Tromey  <tromey@redhat.com>
10270
10271         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10272         JV_HASH_SYNCHRONIZATION.
10273         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10274         JV_HASH_SYNCHRONIZATION.
10275
10276 2003-01-07  Michael Koch  <konqueror@gmx.de>
10277  
10278         * java/net/DatagramSocket.java:
10279         Added classpath license info.
10280         (DatagramSocket): Merged description with classpath.
10281         (close): Merged description with classpath.
10282         (getChannel): Merged description with classpath.
10283         (getInetAddress): Merged description with classpath.
10284         (getPort): Merged description with classpath.
10285         (getLocalAddress): Merged description with classpath.
10286         (getLocalPort): Merged description with classpath.
10287         (getSoTimeout): Merged description with classpath.
10288         (setSoTimeout): Merged description with classpath.
10289         (getSendBufferSize): Merged description with classpath.
10290         (setSendBufferSize): Merged description with classpath.
10291         (getReceiveBufferSize): Merged description with classpath.
10292         (setReceiveBufferSize): Merged description with classpath.
10293         
10294 2003-01-04  Tom Tromey  <tromey@redhat.com>
10295
10296         * java/awt/List.java: Merged with Classpath.
10297
10298 2003-01-03  Mark Wielaard  <mark@klomp.org>
10299
10300         * java/io/FileDescriptor.java (position): New private field.
10301         * java/io/natFileDescriptorPosix.cc (write): Up position.
10302         (setLength): Use and set position.
10303         (seek): Set position.
10304         (getFilePointer): Return position.
10305         (read): Up position.
10306
10307 2003-01-03  Mark Wielaard  <mark@klomp.org>
10308
10309         Merge with Classpath:
10310         * java/io/ObjectStreamClass.java (lookup): Split method and call
10311         lookupForClassObject().
10312         (lookupForClassObject): New method.
10313         (isProxyClass): New field.
10314         (setClass): Set isProxyClass, add object to classLookupTable, set
10315         superClass and calculateOffsets.
10316         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10317         and not a proxy class.
10318         (setFields): Set accessible true for serialPersistentFields.
10319         (getClassUID): Same for suid. And check if suid is of type long.
10320         (hasClassInitializer): Don't throw NoSuchMethodError.
10321
10322 2003-01-03  Mark Wielaard  <mark@klomp.org>
10323
10324         * java/io/FileInputStream.java (finalize): Don't explicitly
10325         finalize FileDescriptor.
10326
10327 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10328
10329         * configure.host (sparc*-*): Enable bytecode interpreter.
10330
10331 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10332
10333         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10334         Don't throw RemoteException.
10335         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10336         throw RemoteException.
10337
10338 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10339
10340         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10341         proxyHost): New static fields.
10342         (<clinit>): Initialize new fields.
10343         (connect): Use proxy if necessary.
10344         (usingProxy): Implement.
10345
10346 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10347
10348         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10349         (TreeIterator.remove): Prefer IllegalStateException over
10350         ConcurrentModificationException, to match Sun.
10351
10352 2002-12-22  Anthony Green  <green@redhat.com>
10353
10354         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10355
10356 2003-01-02  Mark Wielaard  <mark@klomp.org>
10357
10358         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10359         public.
10360         (HTTP_USE_PROXY): Add field.
10361         (getResponseVals): Only set responseCode when not yet explicitly
10362         set by subclass.
10363
10364 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10365             Mark Wielaard  <mark@klomp.org>
10366
10367         * java/util/zip/ZipFile.java (entries): Now HashMap.
10368         (readLeShort(DataInput, byte[])): Read from given byte array.
10369         (readLeInt(DataInput, byte[]): Likewise.
10370         (readLeShort(byte[] b, int off)): New method.
10371         (readLeInt(byte[] b, int off)): Likewise.
10372         (readEntries): Use byte arrays to read info in bigger chunks.
10373         (getEntries): Return HashMap.
10374         (getEntry): Use HashMap.
10375         (locBuf): New private field.
10376         (checkLocalHeader): Use locBuf to read info in one chunk.
10377         (getInputStream): Use entries HashMap, wrap PartialInputStream
10378         in BufferedInputStream.
10379         (ZipEntryEnumeration): Use HashMap and Interator.
10380
10381 2003-01-02  Mark Wielaard  <mark@klomp.org>
10382             Jeroen Frijters  <jeroen@sumatra.nl>
10383
10384         * java/net/URLClassLoader.java (Resource.getCodeSource):
10385         Fix check certs == null.
10386         (getCanonicalFileURL): Removed method.
10387         (JarURLLoader): Don't call removed method.
10388         (FileURLLoader): Likewise.
10389         (FileURLLoader.getResource): Don't canonicalize file name.
10390
10391 2003-01-01  Tom Tromey  <tromey@redhat.com>
10392
10393         * Makefile.in: Rebuilt.
10394         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10395         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10396         java/awt/BufferCapabilities.java, java/awt/Button.java,
10397         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10398         java/awt/Container.java, java/awt/Cursor.java,
10399         java/awt/EventQueue.java, java/awt/FileDialog.java,
10400         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10401         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10402         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10403         java/awt/Scrollbar.java, java/awt/TextArea.java,
10404         java/awt/TextField.java, java/awt/color/CMMException.java,
10405         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10406         java/awt/color/ProfileDataException.java,
10407         java/awt/datatransfer/Clipboard.java,
10408         java/awt/datatransfer/DataFlavor.java,
10409         java/awt/datatransfer/FlavorMap.java,
10410         java/awt/datatransfer/SystemFlavorMap.java,
10411         java/awt/dnd/DragGestureEvent.java,
10412         java/awt/dnd/DragGestureRecognizer.java,
10413         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10414         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10415         java/awt/im/InputMethodHighlight.java,
10416         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10417         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10418
10419         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10420         `op' to BufferedImageOp.
10421
10422 2002-12-31  Tom Tromey  <tromey@redhat.com>
10423
10424         Fix for PR libgcj/7416:
10425         * javax/naming/InitialContext.java (init): Use
10426         gnu.classpath.home.url.
10427         * java/security/Security.java: Use new properties.
10428         (loadProviders): Accept base url; use it.
10429         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10430         gnu.classpath.home.url.
10431         (gnu.classpath.home.url): Define.
10432         (gnu.classpath.vm.shortname): Likewise.
10433
10434 2002-12-31  Tom Tromey  <tromey@redhat.com>
10435             Ranjit Mathew  <rmathew@hotmail.com>
10436
10437         Fix for PR libgcj/8997:
10438         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10439         Include platform.h.
10440         * include/posix.h (_Jv_platform_usleep): New function.
10441         * include/win32.h (_Jv_platform_usleep): New function.
10442
10443 2002-12-29  Tom Tromey  <tromey@redhat.com>
10444
10445         * gcj/javaprims.h: Updated.
10446         * scripts/classes.pl (scan): Removed stray semicolon.
10447
10448 2002-12-30  Mark Wielaard  <mark@klomp.org>
10449
10450         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10451         if zero or smaller.
10452
10453 2002-12-30  Mark Wielaard  <mark@klomp.org>
10454
10455         * java/util/Properties (formatForOutput): Don't fall through to
10456         default case after escaping character.
10457
10458 2002-12-30  Mark Wielaard  <mark@klomp.org>
10459
10460         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10461         against count.
10462
10463 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10464
10465         * boehm.cc: Remove stray semicolon.
10466         * interpret.cc: Likewise.
10467         * prims.cc: Likewise.
10468         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10469         earlier to ensure default arguments are processed.
10470         * gcj/array.h (JArray): Add forward declaration.
10471         (elements): Likewise.
10472         * gcj/javaprim.h: Remove stray semicolons.
10473         * include/bohm-gc.h: Likewise.
10474         * include/jni.h: Likewise.
10475         * include/jvm.h: Likewise.
10476         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10477         
10478 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10479
10480         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10481         of catch_type.
10482         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10483         idt tables after initializing superclass.
10484         * java/lang/natClassLoader.cc (uaddr): New typedef.
10485         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10486         if they are constant pool indicies.  Don't link vtable, otable yet.
10487
10488 2002-12-21  Anthony Green  <green@redhat.com>
10489
10490         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10491         libraries.
10492         * Makefile.in: Rebuilt.
10493
10494 2002-12-19  Anthony Green  <green@redhat.com>
10495
10496         * Makefile.am (ordinary_java_source_files): Add
10497         org/xml/sax/helpers/NewInstance.java.
10498         * Makefile.in: Rebuilt.
10499         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10500         org/xml/sax/helpers/package.html: New files.
10501         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10502         http://www.saxproject.org.
10503
10504 2002-12-19  Andrew Haley  <aph@redhat.com>
10505
10506         * java/util/natResourceBundle.cc: Include
10507         ArrayIndexOutOfBoundsException.h.
10508         (getCallingClassLoader): Don't put upper bound on stack search.
10509         Catch ArrayIndexOutOfBoundsException.
10510
10511 2002-12-19  Tom Tromey  <tromey@redhat.com>
10512
10513         * libtool-version: Increased `current'.
10514
10515 2002-12-19  Tom Tromey  <tromey@redhat.com>
10516
10517         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10518         comment.
10519         * java/lang/ClassLoader.java (defineClass): Use chained
10520         exception when rethrowing.
10521         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10522         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10523         constants.
10524         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10525         (_Jv_PrepareClass): Use it.
10526         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10527         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10528         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10529         (Class): _Jv_PrepareMissingMethods now friend.
10530         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10531         Record `NULL' for system class loader.
10532         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10533         system class loader.
10534         (_Jv_FindClassInCache): Likewise.
10535         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10536         (_Jv_FindClass): Special case system class loader.
10537         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10538         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10539         vtable slots.
10540         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10541         in a final class.
10542         (_getDeclaredMethod): Don't return synthetic methods.
10543         (getDeclaredMethods): Likewise.
10544         (_getMethod): Likewise.
10545         (_getMethods): Likewise.
10546
10547 2002-12-18  Raif Naffah  <raif@fl.net.au>
10548
10549         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10550         canonical form after divide().
10551         (modInverse): Likewise.
10552
10553 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10554             Mark Wielaard  <mark@klomp.org>
10555
10556         * java/security/SecurityRandom (digest): Removed field.
10557         (SecureRandom): Check all providers for case-insensitive SecureRandom
10558         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10559         if necessary.
10560         (getInstance(String,Provider,boolean): New method.
10561         (getInstance(String)): Use new method.
10562         (getInstance(String,String)): Likewise.
10563         (getInstance(String,Provider)): Likewise.
10564
10565 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10566
10567         * java/security/Security.java (loadProviders): Increment i only once.
10568
10569 2002-12-12  Mark Wielaard  <mark@klomp.org>
10570
10571         * java/lang/ClassLoader.java (resolveClass0): Transform
10572         ClassNotFoundException to NoClassDefFoundError. Transform all other
10573         throwables to LinkageError.
10574
10575 2002-12-11  Tom Tromey  <tromey@redhat.com>
10576
10577         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10578
10579         * java/lang/ClassLoader.java (loadedClasses): New field.
10580         (defineClass): Fixed indentation.  Put new class in
10581         loadedClasses.
10582         (findLoadedClass): Implement here.
10583         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10584
10585 2002-12-10  Tom Tromey  <tromey@redhat.com>
10586
10587         * Makefile.in: Rebuilt.
10588         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10589         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10590         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10591         * java/lang/natClassLoader.cc
10592         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10593
10594 2002-12-10  Mark Wielaard  <mark@klomp.org>
10595             Tom Tromey  <tromey@redhat.com>
10596
10597         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10598         (JarURLLoader): Use it.
10599         (FileURLLoader): Likewise.
10600         (JarURLResource.getURL): Use chained exception.
10601         (FileResource.getURL): Likewise.
10602         (FileURLLoader.getResource): Use canonical file name.
10603         (addURL): Indentation fix.
10604
10605 2002-12-10  Tom Tromey  <tromey@redhat.com>
10606
10607         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10608         From Laurent Bardet <l.bardet@magic.fr>.
10609
10610 2002-12-09  Tom Tromey  <tromey@redhat.com>
10611
10612         * include/win32.h (_Jv_platform_solib_prefix): New define.
10613         (_Jv_platform_solib_suffix): Likewise.
10614         * include/posix.h (_Jv_platform_solib_prefix): New define.
10615         (_Jv_platform_solib_suffix): Likewise.
10616         * java/lang/natRuntime.cc: Include StackTrace.h.
10617         (_load): Use findLibrary and new platform defines.
10618         (nativeGetLibname): Use new platform defines.
10619
10620         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10621         `t' won't be null.
10622
10623 2002-12-08  Mark Wielaard  <mark@klomp.org>
10624
10625         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10626         cache remote jar files.
10627         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10628         add File.separator to URL when it is a directory.
10629         * java/lang/ClassLoader.java: Add Classpath javadoc.
10630         (parent): final.
10631         (getParent): Add (disabled) security check.
10632         (findLibrary): New default method.
10633         * java/net/JarURLConnection.java (getManifest): Implement.
10634         (getInputStream): Only create InputStream when entry exists.
10635         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10636         when they exist.
10637         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10638
10639 2002-12-08  Mark Wielaard  <mark@klomp.org>
10640
10641         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10642         (lastDefaultLocale): New field.
10643         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10644         resourceBundleCache.
10645
10646 2002-12-06  Mark Wielaard  <mark@klomp.org>
10647
10648         * java/net/InetAddress.java (toString): Use hostname when not null,
10649         don't do an explicit reverse getHostName() lookup.
10650         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10651         NullPointerException.
10652
10653 2002-12-06  Tom Tromey  <tromey@redhat.com>
10654
10655         * include/java-interp.h (class _Jv_InterpMethod): Added
10656         JV_MARKOBJ_DECL.
10657         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10658         mark `prepared' field of interpreted method.
10659         * interpret.cc (compile): Use _Jv_AllocBytes.
10660
10661 2002-12-05  Andrew Haley  <aph@redhat.com>
10662
10663         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10664         #ifdef (HAVE_BACKTRACE) around the whole function body.
10665
10666 2002-12-05  Tom Tromey  <tromey@redhat.com>
10667
10668         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10669         * resolve.cc: Don't include AbstractMethodError.h.
10670         (_Jv_abstractMethodError): Removed.
10671         * defineclass.cc (handleMethodsBegin): Initialize method index to
10672         -1.
10673         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10674         method index for "new" final method.
10675         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10676         isVirtualMethod.  Added `flags' argument.
10677         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10678         class.
10679
10680 2002-12-04  Tom Tromey  <tromey@redhat.com>
10681
10682         * java/net/SocketPermission.java (hashCode): Rewrote.
10683
10684 2002-12-04  Tom Tromey  <tromey@redhat.com>
10685
10686         * Makefile.in: Rebuilt.
10687         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10688         natResourceBundle.
10689         * java/util/ResourceBundle.java (Security): Removed.
10690         (getCallingClassLoader): Now native.
10691         * java/util/natResourceBundle.cc: New file.
10692         * java/lang/natVMSecurityManager.cc: New file.
10693         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10694
10695 2002-12-03  Mark Wielaard  <mark@klomp.org>
10696
10697         * java/util/jar/JarFile.java (manifest): Not final.
10698         (manifestRead): New field.
10699         (JarFile): Don't read Manifest in constructor.
10700         (getManifest): New method.
10701         (JarEnumeration.nextElement): Use new method.
10702         (getEntry): Likewise.
10703         * java/util/zip/ZipFile.java (name): Final.
10704         (raf): Likewsie.
10705         (entries): Change type to Hashtable.
10706         (closed): New field.
10707         (ZipFile): Don't read enties in constructor.
10708         (readEntries): Use Hashtable.
10709         (close): Set new close flag and set entries to null inside
10710         synchronized block.
10711         (entries): Contruct enumeration using new getEntries() method and
10712         entries Hashtable.
10713         (getEntryIndex): Removed.
10714         (getEntries): New method.
10715         (getEntry): Use new getEntries() method and entries Hastable.
10716         (getInputStream): Likewise.
10717         (size): Return getEntries().size().
10718         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10719         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10720         (time): Removed
10721         (dostime): New field.
10722         (zipFileIndex): Removed.
10723         (ZipEntry(ZipEntry)): Copy dostime.
10724         (setDOSTime): Now final and doesn't convert dos time.
10725         (getDOSTime): Likewise.
10726         (setTime): Convert dos time.
10727         (getTime): Likewise.
10728         (getCalendar): New method.
10729         (setExtra): Use setTime().
10730         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10731
10732 2002-12-03  Tom Tromey  <tromey@redhat.com>
10733
10734         * java/lang/Character.java (forDigit): Formatting fix.
10735
10736 2002-12-03  Raif Naffah  <raif@fl.net.au>
10737
10738         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10739         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10740         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10741
10742 2002-12-03  Andrew Haley  <aph@redhat.com>
10743
10744         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10745         _Jv_PushClass.
10746         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10747         (_Jv_PopClass): New.
10748         (_Jv_PushClass): New.
10749         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10750         discover the ClassLoader of our caller.
10751         (_Jv_CheckArrayStore): Don't check that a class is assignment
10752         compatible with Object.
10753         * java/lang/natVMTHrowable.cc: Delete.
10754         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10755         java.lang.VMThrowable.
10756         (StackTrace(), StackTrace(int)): New constructors.
10757         (classAt, methodAt, update, methodAtAddress): New methods.
10758         (map): New field.
10759         * java/lang/VMThrowable.java: Use StackTrace instead of
10760         natVMTHrowable.
10761         * java/lang/Class.h (getClassLoaderInternal): New.
10762         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10763         Be friendly with gnu::gcj::runtime::StackTrace.
10764         (Object.chain): New field.
10765         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10766         gnu::gcj::runtime::StackTrace.
10767         * gnu/gcj/runtime/natStackTrace.cc: New file.
10768         * gnu/gcj/runtime/MethodRef.java: New file.
10769         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10770         instead of getClassLoader().
10771         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10772         java::lang::VMThrowable.
10773         * Makefile.am (core_java_source_files): Add MethodRef.java,
10774         StackTrace.java.
10775         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10776         * Makefile.in: Rebuild.
10777
10778 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10779
10780         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10781         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10782         yes also for sh-linux* and sh[34]*-linux*.
10783         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10784         set SIGNAL_HANDLER to use DWARF2 exception for them.
10785         * configure: Regenerate.
10786
10787 2002-12-02  Tom Tromey  <tromey@redhat.com>
10788
10789         * jni.cc: Added `name' argument.
10790         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10791         `const char *' argument.
10792         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10793
10794 2002-12-01  Tom Tromey  <tromey@redhat.com>
10795
10796         Bug compatibility, for PR libgcj/8738:
10797         * java/io/CharArrayWriter.java (close): Do nothing.
10798         (flush): Likewise.
10799         (reset): Don't touch `closed'.
10800         (write(int)): Don't throw IOException.
10801         (write(char[],int,int)): Likewise.
10802         (write(String,int,int)): Likewise.
10803         (closed): Removed.
10804
10805 2002-12-01  Mark Wielaard  <mark@klomp.org>
10806
10807         * java/lang/SecurityManager.java: Remerge comments, indenting and
10808         checkXXX methods with Classpath.
10809
10810 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10811
10812         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10813         getNormalizedComponents): Fix calculation which was using one too
10814         many bits in the unnormalized format.
10815
10816 2002-11-29  Gary Benson  <gbenson@redhat.com>
10817
10818         For PR libgcj/8759:
10819         * java/beans/Introspector.java (flushCaches): New method.
10820         (flushFromCaches): Likewise.
10821
10822 2002-11-29  Michael Koch <konqueror@gmx.de>
10823
10824         * java/nio/channels/DatagramChannel.java
10825         (open): Added exception documentation.
10826         (write): Added exception documentation.
10827         (connect): Added exception documentation.
10828         (disconnect): Added exception documentation.
10829         (isConnected): Added exception documentation.
10830         (read): Added exception documentation.
10831         (receive): Added exception documentation.
10832         (send): Added exception documentation.
10833         (validOps): Added exception documentation.
10834         * java/nio/channels/SocketChannel.java
10835         (open): Added exception documentation.
10836         (read): Added exception documentation.
10837         (write): Added exception documentation.
10838         (connect): Added exception documentation.
10839         (finishConnect): Added exception documentation.
10840
10841 2002-11-29  Michael Koch <konqueror@gmx.de>
10842
10843         * gnu/java/nio/DatagramChannelImpl:
10844         (fd): New member variable to store file descriptor of socket.
10845         * gnu/java/nio/SelectionKeyImpl.java:
10846         (ops): Removed.
10847         (readyOps): New member variable.
10848         (interestOps): New member variable.
10849         (readyOps): Implemented.
10850         (readyOps): New method to set member variable readyOps.
10851         (interestOps): Replaced ops by interestOps.
10852         * gnu/java/nio/SelectorImpl.java:
10853         (SelectorImpl): Initialize key sets.
10854         (select): Call select with -1 instead of Long.MAX_VALUE).
10855         (java_do_select): Make it a native method.
10856         (getFDsAsArray): New helper method.
10857         (select): Remove canceled keys, give only interested file discriptors
10858         to java_do_select, set ready ops.
10859         (add): No need to initialize keys set here.
10860         (add_selected): No need to initialize selected set here.
10861         (deregisterCanceledKeys): New helper method.
10862         (register): Set interest ops, set attachments, added handling of datagram
10863         channels.
10864         * gnu/java/nio/ServerSocketChannelImpl:
10865         (SocketAccept): Renamed from NioSocketAccept.
10866         (implConfigureBlocking): Implemented.
10867         (accept): Use SocketAccept instead of NioSocketAccept.
10868         * gnu/java/nio/SocketChannelImpl:
10869         Reactivate native methods.
10870
10871 2002-11-29  Michael Koch <konqueror@gmx.de>
10872
10873         * gnu/java/nio/natByteBufferImpl.cc,
10874         gnu/java/nio/natCharBufferImpl.cc,
10875         gnu/java/nio/natDoubleBufferImpl.cc,
10876         gnu/java/nio/natFloatBufferImpl.cc,
10877         gnu/java/nio/natIntBufferImpl.cc,
10878         gnu/java/nio/natLongBufferImpl.cc,
10879         gnu/java/nio/natSelectorImpl.cc,
10880         gnu/java/nio/natServerSocketChannelImpl.cc,
10881         gnu/java/nio/natShortBufferImpl.cc,
10882         gnu/java/nio/natSocketChannelImpl.cc:
10883         New files that implement native functionalities.
10884
10885 2002-11-29  Michael Koch <konqueror@gmx.de>
10886
10887         * gnu/java/nio/ByteBufferImpl.java
10888         (ByteBufferImpl): Moved position() after limit.
10889         (nio_*): Use native implementation.
10890         * gnu/java/nio/CharBufferImpl.java:
10891         Reformated.
10892         (endian): New member variable string endianess of buffer.
10893         (CharBufferImpl): Moved position() after limit.
10894         (nio_*): Use native implementation.
10895         (subSequence): Implemented.
10896         * gnu/java/nio/DoubleBufferImpl.java
10897         (DoubleBufferImpl): Moved position() after limit.
10898         (nio_*): Use native implementation.
10899         * gnu/java/nio/FloatBufferImpl.java
10900         Reformated.
10901         (FloatBufferImpl): Moved position() after limit.
10902         (nio_*): Use native implementation.
10903         * gnu/java/nio/IntBufferImpl.java
10904         Added needed imports, Reformated.
10905         (IntBufferImpl): Moved position() after limit.
10906         (nio_*): Use native implementation.
10907         * gnu/java/nio/LongBufferImpl.java
10908         Reformated.
10909         (LongBufferImpl): Moved position() after limit.
10910         (nio_*): Use native implementation.
10911         * gnu/java/nio/ShortBufferImpl.java
10912         Reformated.
10913         (ShortBufferImpl): Moved position() after limit.
10914         (nio_*): Use native implementation.
10915
10916 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10917
10918         * java/util/Locale.java (toString): Improve efficiency if country
10919         and variant are both empty.
10920
10921 2002-11-26  Tom Tromey  <tromey@redhat.com>
10922
10923         * verify.cc (pop_init_ref): New method.
10924         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10925         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10926         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10927         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10928         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10929         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10930         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10931         let `this' argument be uninitialized.  Don't let `null' be passed
10932         as `this' to construtor.
10933
10934 2002-11-26  Mark Wielaard  <mark@klomp.org>
10935
10936         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10937         * javax/transaction/HeuristicMixedException.java: Likewise.
10938         * javax/transaction/HeuristicRollbackException.java: Likewise.
10939         * javax/transaction/InvalidTransactionException.java: Likewise.
10940         * javax/transaction/NotSupportedException.java: Likewise.
10941         * javax/transaction/RollbackException.java: Likewise.
10942         * javax/transaction/Status.java: Likewise.
10943         * javax/transaction/Synchronization.java: Likewise.
10944         * javax/transaction/SystemException.java: Likewise.
10945         * javax/transaction/Transaction.java: Likewise.
10946         * javax/transaction/TransactionManager.java: Likewise.
10947         * javax/transaction/TransactionRequiredException.java: Likewise.
10948         * javax/transaction/TransactionRolledbackException.java: Likewise.
10949         * javax/transaction/UserTransaction.java: Likewise.
10950         * javax/transaction/xa/XAException.java: Likewise.
10951         * javax/transaction/xa/XAResource.java: Likewise.
10952         * javax/transaction/xa/Xid.java: Likewise.
10953
10954 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10955
10956         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10957         define.
10958         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10959         * include/posix.h (socklen_t): Define if not already defined.
10960
10961 2002-11-25  Tom Tromey  <tromey@redhat.com>
10962
10963         * verify.cc (type::compatible): Backed out broken change.
10964
10965         * verify.cc (type::compatible): Check initialization status
10966         first.
10967         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10968         Don't use NULLCHECK.
10969
10970 2002-11-23  H.J. Lu <hjl@gnu.org>
10971
10972         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10973         Include ../config/accross.m4.
10974         * aclocal.m4; Rebuild.
10975         * configure: Likewise.
10976
10977 2002-11-23  Mark Wielaard  <mark@klomp.org>
10978
10979         * javax/naming/AuthenticationException.java: Update copyright header.
10980         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10981         * javax/naming/Binding.java: Likewise.
10982         * javax/naming/CannotProceedException.java: Likewise.
10983         * javax/naming/CommunicationException.java: Likewise.
10984         * javax/naming/CompositeName.java: Likewise.
10985         * javax/naming/CompoundName.java: Likewise.
10986         * javax/naming/ConfigurationException.java: Likewise.
10987         * javax/naming/Context.java: Likewise.
10988         * javax/naming/ContextNotEmptyException.java: Likewise.
10989         * javax/naming/InitialContext.java: Likewise.
10990         * javax/naming/InsufficientResourcesException.java: Likewise.
10991         * javax/naming/InterruptedNamingException.java: Likewise.
10992         * javax/naming/LimitExceededException.java: Likewise.
10993         * javax/naming/LinkException.java: Likewise.
10994         * javax/naming/LinkLoopException.java: Likewise.
10995         * javax/naming/LinkRef.java: Likewise.
10996         * javax/naming/MalformedLinkException.java: Likewise.
10997         * javax/naming/NameAlreadyBoundException.java: Likewise.
10998         * javax/naming/NameClassPair.java: Likewise.
10999         * javax/naming/NameNotFoundException.java: Likewise.
11000         * javax/naming/NameParser.java: Likewise.
11001         * javax/naming/NamingEnumeration.java: Likewise.
11002         * javax/naming/NamingSecurityException.java: Likewise.
11003         * javax/naming/NoInitialContextException.java: Likewise.
11004         * javax/naming/NoPermissionException.java: Likewise.
11005         * javax/naming/NotContextException.java: Likewise.
11006         * javax/naming/OperationNotSupportedException.java: Likewise.
11007         * javax/naming/PartialResultException.java: Likewise.
11008         * javax/naming/Reference.java: Likewise.
11009         * javax/naming/Referenceable.java: Likewise.
11010         * javax/naming/ReferralException.java: Likewise.
11011         * javax/naming/ServiceUnavailableException.java: Likewise.
11012         * javax/naming/SizeLimitExceededException.java: Likewise.
11013         * javax/naming/TimeLimitExceededException.java: Likewise.
11014         * javax/naming/directory/Attribute.java: Likewise.
11015         * javax/naming/directory/AttributeInUseException.java: Likewise.
11016         * javax/naming/directory/AttributeModificationException.java: Likewise.
11017         * javax/naming/directory/Attributes.java: Likewise.
11018         * javax/naming/directory/BasicAttribute.java: Likewise.
11019         * javax/naming/directory/BasicAttributes.java: Likewise.
11020         * javax/naming/directory/DirContext.java: Likewise.
11021         * javax/naming/directory/InitialDirContext.java: Likewise.
11022         * javax/naming/directory/InvalidAttributeIdentifierException.java:
11023         Likewise.
11024         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11025         * javax/naming/directory/InvalidAttributesException.java: Likewise.
11026         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11027         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11028         * javax/naming/directory/ModificationItem.java: Likewise.
11029         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11030         * javax/naming/directory/SchemaViolationException.java: Likewise.
11031         * javax/naming/directory/SearchControls.java: Likewise.
11032         * javax/naming/directory/SearchResult.java: Likewise.
11033         * javax/naming/event/EventContext.java: Likewise.
11034         * javax/naming/event/EventDirContext.java: Likewise.
11035         * javax/naming/event/NamespaceChangeListener.java: Likewise.
11036         * javax/naming/event/NamingEvent.java: Likewise.
11037         * javax/naming/event/NamingExceptionEvent.java: Likewise.
11038         * javax/naming/event/NamingListener.java: Likewise.
11039         * javax/naming/event/ObjectChangeListener.java: Likewise.
11040         * javax/naming/ldap/Control.java: Likewise.
11041         * javax/naming/ldap/ControlFactory.java: Likewise.
11042         * javax/naming/ldap/ExtendedRequest.java: Likewise.
11043         * javax/naming/ldap/ExtendedResponse.java: Likewise.
11044         * javax/naming/ldap/HasControls.java: Likewise.
11045         * javax/naming/ldap/InitialLdapContext.java: Likewise.
11046         * javax/naming/ldap/LdapContext.java: Likewise.
11047         * javax/naming/ldap/LdapReferralException.java: Likewise.
11048         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11049         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11050         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11051         * javax/naming/spi/DirObjectFactory.java: Likewise.
11052         * javax/naming/spi/DirStateFactory.java: Likewise.
11053         * javax/naming/spi/DirectoryManager.java: Likewise.
11054         * javax/naming/spi/InitialContextFactory.java: Likewise.
11055         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11056         * javax/naming/spi/NamingManager.java: Likewise.
11057         * javax/naming/spi/ObjectFactory.java: Likewise.
11058         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11059         * javax/naming/spi/ResolveResult.java: Likewise.
11060         * javax/naming/spi/Resolver.java: Likewise.
11061         * javax/naming/spi/StateFactory.java: Likewise.
11062
11063         * javax/naming/spi/NamingManager.java (ofb): Package private.
11064
11065 2002-11-21  Mark Wielaard  <mark@klomp.org>
11066
11067         * java/net/URL.java: Merge with Classpath (partly).
11068         * java/net/URLStreamHandler: Merge with Classpath.
11069
11070 2002-11-22  Michael Koch <konqueror@gmx.de>
11071
11072         * include/posix.h:
11073         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11074         * include/win32.h:
11075         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11076         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11077
11078 2002-11-21  Michael Koch <konqueror@gmx.de>
11079
11080         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11081         Only the new network functions should be in it.
11082
11083 2002-11-21  Michael Koch <konqueror@gmx.de>
11084
11085         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11086         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11087
11088 2002-11-21  Michael Koch <konqueror@gmx.de>
11089
11090         * java/nio/channels/AsynchronousCloseException.java,
11091         java/nio/channels/CancelledKeyException.java,
11092         java/nio/channels/ClosedByInterruptException.java,
11093         java/nio/channels/ConnectionPendingException.java,
11094         java/nio/channels/FileLockInterruptionException.java,
11095         java/nio/channels/IllegalSelectorException.java,
11096         java/nio/channels/NoConnectionPendingException.java,
11097         java/nio/channels/NonReadableChannelException.java,
11098         java/nio/channels/NonWritableChannelException.java,
11099         java/nio/channels/NotYetBoundException.java,
11100         java/nio/channels/NotYetConnectedException.java,
11101         java/nio/channels/OverlappingFileLockException.java,
11102         java/nio/channels/UnresolvedAddressException.java,
11103         java/nio/channels/UnsupportedAddressTypeException.java:
11104         New files.
11105         * Makefile.am (ordinary_java_source_files): Added new files.
11106         * Makefile.in: Regenerated.
11107
11108 2002-11-21  Michael Koch <konqueror@gmx.de>
11109
11110         * include/posix.h
11111         (_Jv_socket): New method.
11112         (_Jv_connect): New method.
11113         (_Jv_close): New method.
11114         (_Jv_platform_close_on_exec): Prefixed system function with "::".
11115         (_Jv_bind): New method.
11116         (_Jv_listen): New method.
11117         (_Jv_write): New method.
11118         (_Jv_read): New method.
11119         * include/win32.h
11120         (_Jv_socket): New method.
11121         (_Jv_connect): New method.
11122         (_Jv_close): New method.
11123         (_Jv_bind): New method.
11124         (_Jv_listen): New method.
11125         (_Jv_write): New method.
11126         (_Jv_read): New method.
11127         * java/net/natNetworkInterface.cc:
11128         Include platform.h, removed inclusion of socket.h
11129         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11130         ::close() by _Jv_close().
11131         * java/net/natPlainDatagramSocketImpl.cc:
11132         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11133         added some new lines to make code more readable.
11134         (create): Replaced ::socket() by _Jv_socket().
11135         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11136         * java/net/natPlainSocketImpl.cc:
11137         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11138         removed include of socket.h, removed some windows defines
11139         (now in include/win32.h).
11140         (create): Replaced ::socket() by _Jv_socket().
11141         (close): Replaced NATIVE_CLOSE() by _Jv_close().
11142         (write): Replaced ::read by _Jv_write().
11143         (read): Replaced ::read by _Jv_read().
11144
11145 2002-11-20  Michael Koch <konqueror@gmx.de>
11146
11147         * Makefile.am (ordinary_java_source_files):
11148         Added java/nio/channels/FileChannel.java.
11149         * Makefile.in: Regenerated.
11150
11151 2002-11-20  Michael Koch <konqueror@gmx.de>
11152
11153         * java/io/FileInputStream.java
11154         (getChannel): New method.
11155         * java/io/FileOutputStream.java
11156         (getChannel): New method.
11157         * java/net/ServerSocket.java
11158         (bind): Removed duplicate code and called another bind method instead.
11159         * java/nio/channels/SelectionKey.java
11160         (isValid): Removed wrong exception documentation.
11161         * java/nio/channels/ServerSocketChannel.java
11162         (accept): Added exception documentation.
11163         (open): Fixed typo, added exception documentation.
11164         * java/nio/channels/spi/AbstractSelectableChannel.java
11165         (implCloseChannel): Added exception documentation.
11166         (add): Reformated.
11167         (register): Added exception documentation.
11168
11169 2002-11-20  Andreas Jaeger  <aj@suse.de>
11170
11171         * configure: Regenerated with new libtool.m4.
11172
11173 2002-11-19  Tom Tromey  <tromey@redhat.com>
11174
11175         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11176         `referent'.
11177         (finalize_referred_to_object): Don't modify `referent' or `copy'
11178         fields.
11179         (add_to_hash): Correctly set `n->next' when updating list.
11180         * java/lang/ref/Reference.java (enqueue): Return false if already
11181         enqueued.
11182
11183 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11184
11185         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11186         to function and function pointer declarations in accordance with
11187         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11188         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11189         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11190         JNI function definitions.
11191
11192 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11193
11194         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11195         that was causing CoderResults to be cached, not WeakReferences
11196         to CoderResults.
11197
11198 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11199
11200         * java/security/KeyStore.java (getInstance): Fix
11201         comment and throw IllegalArgumentException if
11202         given provider is null.
11203         (getInstance): New method for jdk1.4 compatibility.
11204
11205 2002-11-18  Michael Koch <konqueror@gmx.de>
11206
11207         * java/net/PlainSocketImpl.java: Fix imports.
11208
11209 2002-11-18  Michael Koch <konqueror@gmx.de>
11210
11211         * java/nio/channels/SelectionKey.java
11212         (isValid): Added exception documentation.
11213         * java/nio/channels/Selector.java
11214         (open): Declare "throws IOException".
11215
11216 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11217
11218         * java/nio/charset/Charset.java
11219         (<clinit>): New method.
11220         (encode): Synchronize use of cached encoder object.
11221         (decode): Synchronize use of cached encoder object.
11222
11223 2002-11-18  Michael Koch <konqueror@gmx.de>
11224
11225         * gnu/java/nio/ByteBufferImpl.java,
11226         gnu/java/nio/CharBufferImpl.java,
11227         gnu/java/nio/DatagramChannelImpl.java,
11228         gnu/java/nio/DoubleBufferImpl.java,
11229         gnu/java/nio/FileChannelImpl.java,
11230         gnu/java/nio/FloatBufferImpl.java,
11231         gnu/java/nio/IntBufferImpl.java,
11232         gnu/java/nio/LongBufferImpl.java,
11233         gnu/java/nio/PipeImpl.java,
11234         gnu/java/nio/SelectionKeyImpl.java,
11235         gnu/java/nio/SelectorImpl.java,
11236         gnu/java/nio/SelectorProviderImpl.java,
11237         gnu/java/nio/ServerSocketChannelImpl.java,
11238         gnu/java/nio/ShortBufferImpl.java,
11239         gnu/java/nio/SocketChannelImpl.java,
11240         java/nio/DoubleBuffer.java,
11241         java/nio/FloatBuffer.java,
11242         java/nio/IntBuffer.java,
11243         java/nio/LongBuffer.java,
11244         java/nio/ShortBuffer.java,
11245         java/nio/channels/FileChannel.java: New files.
11246
11247 2002-11-18  Michael Koch <konqueror@gmx.de>
11248
11249         * Makefile.am (ordinary_java_source_files):
11250         Added java/nio/ReadOnlyBufferException.java and
11251         java/nio/channels/ClosedSelectorException.java.
11252         * Makefile.in: Regenerated.
11253
11254 2002-11-18  Michael Koch <konqueror@gmx.de>
11255
11256         * java/net/PlainSocketImpl.java: Reworked imports.
11257         * java/net/ServerSocket.java
11258         (ServerSocket): Create socket.
11259         * java/net/SocketAddress.java: Documentation added.
11260         * java/net/natPlainSocketImpl.cc: Reindented.
11261         * java/nio/ReadOnlyBufferException.java: New file
11262         * java/nio/channels/ClosedChannelException.java: Documentation added.
11263         * java/nio/channels/ClosedSelectorException.java: New file.
11264
11265 2002-11-17  Mark Wielaard  <mark@klomp.org>
11266
11267         * java/net/HttpURLConnection.java ((getPermission): Take port
11268         into consideration.
11269         (getErrorStream): Implement.
11270
11271 2002-11-17  Mark Wielaard  <mark@klomp.org>
11272
11273         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11274
11275 2002-11-16  Mark Wielaard  <mark@klomp.org>
11276
11277         Integrate work by Raif S. Naffah (raif@fl.net.au)
11278         * java/security/DummyKeyPairGenerator.java (clone): New method.
11279         * java/security/DummyMessageDigest.java (clone): New method.
11280         (engineUpdate): Now public.
11281         (engineReset): Likewise.
11282         (engineDigest): Likewise.
11283         (engineGetDigestLength): New method.
11284         * java/security/DummySignature.java (clone): New method.
11285         * java/security/KeyPairGenerator.java (provider): Now package private.
11286         (getInstance(String)): Use getInstance(String,Provider).
11287         (getInstance(String,String): Use getInstance(String,Provider)
11288         (getInstance(String,Provider): New method.
11289         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11290         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11291         * java/security/MessageDigest.java (provider): Now package private.
11292         (getInstance(String): Use getInstance(String,Provider).
11293         (getInstance(String,String): Use getInstance(String,Provider)
11294         (getInstance(String,Provider): New method.
11295         * java/security/Provider.java (toCanonicalKey): New method.
11296         (get): New method that uses toCanonicalKey().
11297         (put): Use toCanonicalKey().
11298         (remove): Likewise.
11299         * java/security/Security.java (insertProviderAt): Provider index is one
11300         based, not zero based.
11301         (addProvider): Likewise.
11302         (removeProvider): Likewise.
11303         * java/security/Signature.java (provider): Now package private.
11304         (getInstance(String)): Use getInstance(String,Provider).
11305         (getInstance(String,String): Use getInstance(String,Provider)
11306         (getInstance(String,Provider): New method.
11307         (getInstance(String,String,Provider): Don't cast DummySignature.
11308
11309 2002-11-15  Tom Tromey  <tromey@redhat.com>
11310
11311         For PR libgcj/8593:
11312         * java/util/zip/GZIPInputStream.java (read): Check file size.
11313         Look in inflater for remaining input bytes.
11314         (read4): Added buf and offset arguments.
11315
11316 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11317
11318         * java/applet/AppletContext.java: Fix typo and remove redundant
11319         modifiers.
11320
11321 2002-11-14  Tom Tromey  <tromey@redhat.com>
11322
11323         * java/lang/natRuntime.cc (insertSystemProperties): Set
11324         gnu.classpath.home.
11325
11326 2002-11-13  Michael Koch <konqueror@gmx.de>
11327
11328         * java/nio/ByteBuffer.java
11329         (allocate): New method.
11330         (wrap): New method.
11331         (put): New method.
11332         (get): New method.
11333
11334 2002-11-13  Michael Koch <konqueror@gmx.de>
11335
11336         * java/nio/channels/AlreadyConnectedException.java:
11337         Removed unneeded import.
11338         (AlreadyConnectedException): Documentation added.
11339         * java/nio/channels/Pipe.java
11340         (SinkChannel.SinkChannel): Documentation added.
11341         (SinkChannel.validOps): New method.
11342         (SourceChannel.SourceChannel): Documentation added.
11343         (SourceChannel.validOps): New method.
11344         (Pipe): Documentation added.
11345         (open): Documentation added.
11346         (SinkChannel.channel): Documentation added.
11347         (SourceChannel.channel): Documentation added.
11348         * java/nio/channel/SelectableChannel.java
11349         (SelectableChannel): Documentation added.
11350         (blockingLock): Documentation added.
11351         (configureBlocking):Documentation added.
11352         (isBlocking):Documentation added.
11353         (isRegistered):Documentation added.
11354         (keyFor):Documentation added.
11355         (provider):Documentation added.
11356         (register): Documentation added.
11357         (validOps): Documentation added.
11358         * jaba/nio/channels/SelectionKey.java
11359         (SelectionKey): Documentation added.
11360         (attach): Documentation added.
11361         (attachment): Documentation added.
11362         (isAcceptable): Documentation added.
11363         (isConnetable): Documentation added.
11364         (isReadable): Documentation added.
11365         (isWritable): Documentation added.
11366         (cancel): Documentation added.
11367         (channel): Documentation added.
11368         (interestOps): Documentation added.
11369         (isValid): Documentation added.
11370         (readyOps): Documentation added.
11371         (selector): Documentation added.
11372         * jaba/nio/channels/Selector.java
11373         (Selector): Documentation added.
11374         (open): Documentation added.
11375         (close): Documentation added.
11376         (isOpen): Documentation added.
11377         (keys): Documentation added.
11378         (provider): Documentation added.
11379         (select): Documentation added.
11380         (selectedKeys): Documentation added.
11381         (selectNow): Documentation added.
11382         (wakeup): Documentation added.
11383         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11384         (AbstractInterruptibleChannel): Documentation added.
11385         (opened): Default to true;
11386         (begin): Documentation added.
11387         (close): Set opened to false, documentation added.
11388         (isOpen): Documentation added.
11389         * java/nio/channels/spi/AbstractSelectionKey.java
11390         (AbstractSelectionKey): Documentation added.
11391         (cancel): Documentation added.
11392         (isValid): Documentation added.
11393         * java/nio/channels/spi/AbstractSelector.java
11394         (AbstractSelector): Documentation added.
11395         (begin): Documentation added.
11396         (close): Documentation added.
11397         (isOpen): Documentation added.
11398         (deregister): Documentation added.
11399         (end): Documentation added.
11400         (provider): Documentation added.
11401         (implCloseSelector): Documentation added.
11402         (register): Documentation added.
11403         * java/nio/channels/spi/SelectorProvider.java
11404         (SelectorProvider): Documentation added.
11405         (openDatagramChannel): Documentation added.
11406         (openPipe): Documentation added.
11407         (openSelector): Documentation added.
11408         (openServerSocketChannel): Documentation added.
11409         (openSocketChannel): Documentation added.
11410         (provider): Documentation added.
11411
11412 2002-11-12  Michael Koch <konqueror@gmx.de>
11413
11414         * java/nio/Buffer.java: Implemented.
11415         * java/nio/CharBuffer.java: New file.
11416         * java/nio/InvalidMarkException.java: New file.
11417         * java/nio/channels/DatagramChannel.java: Implemented.
11418         * java/nio/channels/ServerSocketChannel.java: Implemented.
11419         * java/nio/channels/SocketChannel.java: Implemented.
11420         * java/nio/channels/spi/AbstractChannel.java: Removed.
11421         * java/nio/channels/spi/AbstractSelectableChannel.java:
11422         Implemented.
11423         * java/nio/charset/Charset.java:
11424         Merge from Classpath.
11425         * java/nio/charset/CharsetDecoder.java: New file.
11426         * java/nio/charset/CharsetEncoder.java: New file.
11427         * java/nio/charset/CoderResult.java: New file.
11428         * Makefile.am (ordinary_java_source_files): Added new files.
11429         * Makefile.in: Regenerated.
11430
11431 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11432
11433         * gnu/java/nio/charset/ISO_8859_1.java,
11434         gnu/java/nio/charset/Provider.java,
11435         gnu/java/nio/charset/US_ASCII.java,
11436         gnu/java/nio/charset/UTF_16.java,
11437         gnu/java/nio/charset/UTF_16BE.java,
11438         gnu/java/nio/charset/UTF_16Decoder.java,
11439         gnu/java/nio/charset/UTF_16Encoder.java,
11440         gnu/java/nio/charset/UTF_16LE.java,
11441         gnu/java/nio/charset/UTF_8.java: New files.
11442
11443 2002-11-11  Michael Koch <konqueror@gmx.de>
11444
11445         * java/nio/charset/CharacterCodingException.java:
11446         This class must be public.
11447         * java/nio/charset/CoderMalfunctionError.java:
11448         This class must be public.
11449         * java/nio/charset/CodingErrorAction.java:
11450         This class must be public.
11451         * java/nio/charset/IllegalCharsetNameException.java:
11452         This class must be public, better implementation.
11453         * java/nio/charset/MalformedInputException.java:
11454         This class must be public, better implementation.
11455         * java/nio/charset/UnmappableCharacterException.java:
11456         This class must be public, better implementation.
11457         * java/nio/charset/UnsupportedCharsetException.java:
11458         This class must be public, better implementation.
11459
11460 2002-11-11  Michael Koch <konqueror@gmx.de>
11461
11462         * java/nio/BufferOverflowException.java,
11463         java/nio/BufferUnderflowException.java: New file.
11464         * Makefile.am (ordinary_java_source_files):
11465         Added new files.
11466         * Makefile.in: Regenerated.
11467
11468 2002-11-10  Tom Tromey  <tromey@redhat.com>
11469
11470         * java/awt/Container.java (validate): Use tree lock.
11471         (getComponent): Likewise.
11472         (getComponents): Likewise.
11473         (addImpl): Likewise.
11474         (remove): Likewise.
11475         (removeAll): Likewise.
11476         (processEvent): Fixed indentation.
11477         (getComponentAt): Use tree lock.
11478         (findComponentAt): Likewise.
11479         (removeNotify): Likewise.
11480         (isAncestorOf): Likewise.
11481         (list): Likewise.
11482         (visitChildren): Likewise.
11483         (findNextFocusComponent): Likewise.
11484         (addNotifyContainerChildren): Likewise.
11485         (getAccessibleChildrenCount): Likewise.
11486         (getAccessibleChild): Likewise.
11487
11488         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11489         (getSize): Likewise.
11490         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11491         (getSize): Likewise.
11492         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11493         (calcSize): Likewise.
11494         * java/awt/CardLayout.java (getSize): Use tree lock.
11495         (gotoComponent): Likewise.
11496         (layoutContainer): Likewise.
11497
11498         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11499         count is 0.
11500         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11501         count is 0.
11502
11503         * java/io/Externalizable.java, java/io/FilePermission.java,
11504         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11505         java/io/SerializablePermission.java, java/text/Format.java,
11506         java/util/AbstractMap.java, java/util/HashMap.java,
11507         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11508         versions from Classpath.
11509
11510 2002-11-10  Anthony Green  <green@redhat.com>
11511
11512         * java/util/jar/Attributes.java (Name): Fix name check.
11513
11514 2002-11-10  Mark Wielaard  <mark@klomp.org>
11515
11516         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11517         with getName() as message.
11518         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11519         type as message.
11520
11521         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11522         unused.
11523
11524 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11525
11526         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11527         for Win32. JNICALL has been defined to __stdcall to be compatible
11528         with Sun's JDKs.
11529
11530 2002-11-10  Tom Tromey  <tromey@redhat.com>
11531
11532         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11533         (setRows): Check newRows, not rows.
11534
11535         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11536
11537 2002-11-09  Tom Tromey  <tromey@redhat.com>
11538
11539         * java/applet/Applet.java, java/applet/AppletContext.java,
11540         java/applet/AppletStub.java, java/applet/AudioClip.java,
11541         java/awt/CardLayout.java,
11542         java/awt/ContainerOrderFocusTraversalPolicy.java,
11543         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11544         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11545         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11546         java/awt/color/ICC_ColorSpace.java,
11547         java/awt/color/ICC_Profile.java,
11548         java/awt/color/ICC_ProfileGray.java,
11549         java/awt/color/ICC_ProfileRGB.java,
11550         java/awt/datatransfer/DataFlavor.java,
11551         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11552         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11553         New versions from Classpath.
11554         * Makefile.in: Rebuilt.
11555         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11556         ICC_ProfileRGB.
11557
11558         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11559         display policy.
11560
11561         * java/awt/List.java (processEvent): Added missing `else's.
11562
11563         * java/awt/Window.java (show): validate() before showing.  Make
11564         parent displayable.
11565         (isDisplayable): New method.
11566
11567 2002-11-07  Mark Wielaard  <mark@klomp.org>
11568
11569         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11570         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11571
11572         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11573         annotation.
11574         (loadClass): Take String as codebases.
11575         (getClassAnnotation): Use MyClassLoader annotations.
11576         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11577         call exportObject(this).
11578
11579         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11580         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11581         (setAnnotation): Don't set locBytesStream and locStream.
11582         (replaceObject): Removed.
11583         (flush): Don't test locStream.
11584         (getLocBytes): LikeWise.
11585         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11586         (leaseCache): New field.
11587         (dirty): Use leaseCache.
11588         (LeaseRecord): New inner class.
11589         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11590         explicitly call exportObject().
11591         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11592         false to communicate with Sun JDK130.
11593         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11594         * gnu/java/rmi/server/RMIObjectInputStream.java
11595         (UnicastConnectionManager): Removed field.
11596         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11597         Use UnicastServer.getExportedRef().
11598         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11599         (expireTime): Likewise.
11600         (CONNECTION_TIMEOUT): Likewise.
11601         (disconnect): Call sock.close().
11602         (isExpired): New method.
11603         (resetTime): Likewise.
11604         (run): Use do while loop and catch Exception for discardConnection().
11605         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11606         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11607         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11608         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11609         (exportObject): Use refcache.
11610         (unexportObject): Likewise.
11611         (getExportedRef): New method.
11612         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11613         constructor.
11614         (exportObject): Save manager.serverobj.
11615         (getStub): New method.
11616
11617 2002-11-07  Mark Wielaard  <mark@klomp.org>
11618
11619         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11620         (getByte): Likewise.
11621         (getShort): Likewise.
11622         (getInt): Likewise.
11623         (getLong): Likewise.
11624         (getFloat): Likewise.
11625         (getDouble): Likewise.
11626         (get): Likewise.
11627         (setChar): Likewise.
11628         (setByte): Likewise.
11629         (setShort): Likewise.
11630         (setInt): Likewise.
11631         (setLong): Likewise.
11632         (setFloat): Likewise.
11633         (setDouble): Likewise.
11634
11635 2002-11-07  Michael Koch <konqueror@gmx.de>
11636
11637         * java/awt/Choice.java,
11638         java/awt/Container.java,
11639         java/awt/GridBagLayout.java:
11640         Fixed documentation.
11641         * java/awt/peer/ContainerPeer.java:
11642         Reindented.
11643
11644 2002-11-07  Michael Koch <konqueror@gmx.de>
11645
11646         * java/awt/color/ICC_Profile.java:
11647         Added missing constants.
11648         * java/awt/color/ICC_ColorSpace.java
11649         (getMinValue): Added dummy implementation.
11650         (getMaxValue): Added dummy implementation.
11651         * java/awt/datatransfer/DataFlavor.java
11652         (imageFlavor): Added.
11653         (isMimeTypeEqual): Must be final.
11654         (getDefaultRepresentationClass): Must be non-static.
11655         (getDefaultRepresentationClassAsString): Must be non-static.
11656         * java/awt/dnd/DragSourceContext.java
11657         (dragExit): Corrected argument.
11658         (dragDropEnd): Corrected argument.
11659         * java/awt/dnd/DragSourceListener.java.java
11660         (dragExit): Corrected argument.
11661         (dragDropEnd): Corrected argument.
11662         * java/awt/font/TextHitInfo.java
11663         (toString): Added stubbed implementation.
11664         * java/awt/geom/PathIterator.java:
11665         The constants must be static.
11666         * java/awt/image/VolatileImage.java
11667         (IMAGE_INCOMPATIBLE): Fixed typo.
11668         * java/awt/image/renderable/RenderableImage.java
11669         (HINTS_OBSERVED): Must be static.
11670         * java/beans/BeanInfo.java:
11671         Constants must be final.
11672
11673 2002-11-06  Tom Tromey  <tromey@redhat.com>
11674
11675         From svens@it.uu.se.  For PR libgcj/8481.
11676         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11677
11678 2002-11-06  Tom Tromey  <tromey@redhat.com>
11679
11680         * jni.cc (array_from_valist): Assume that jlong won't be
11681         promoted.
11682
11683 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11684
11685         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11686         Return 20.
11687         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11688         Return 16.
11689
11690 2002-11-03  Tom Tromey  <tromey@redhat.com>
11691
11692         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11693         VMClassLoader, not findClass.
11694
11695 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11696
11697         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11698         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11699         _Jv_DetermineVTableIndex, to determine vtable offset.
11700         (_Jv_DetermineVTableIndex): Remove.
11701         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11702
11703         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11704
11705 2002-11-03  Tom Tromey  <tromey@redhat.com>
11706
11707         * java/nio/channels/AlreadyConnectedException.java: Extend
11708         IllegalStateException, per spec.
11709
11710 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11711
11712         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11713
11714 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11715
11716         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11717         size items.
11718
11719 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11720
11721         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11722         initial estimated size to avoid enlarge buffer frequently.
11723
11724 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11725
11726         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11727         ClassLoader when null.
11728         (ProxyType.hashCode): Loader null check no longer needed.
11729         (ProxyType.sameTypes): New method.
11730         (ProxyType.equals): Use new method.
11731
11732 2002-10-31  Mark Wielaard  <mark@klomp.org>
11733
11734         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11735         length of String.
11736         * java/net/URLEncoder.java (encode): Likewise.
11737
11738 2002-10-31  Mark Wielaard  <mark@klomp.org>
11739
11740         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11741         when stream is closed.
11742         (closeEntry): Likewise.
11743         (read): Likewise.
11744         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11745         ZipException when no entry active.
11746         (closeEntry): Likewise.
11747         (write): Likewise.
11748
11749 2002-11-02  Tom Tromey  <tromey@redhat.com>
11750
11751         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11752         * java/lang/natClass.cc (initializeClass): Don't return just
11753         because self==thread.
11754
11755         For PR java/8415:
11756         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11757         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11758
11759 2002-11-02  Andreas Schwab  <schwab@suse.de>
11760
11761         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11762         pass GCJFLAGS.
11763         (FLAGS_TO_PASS): Define.
11764         * Makefile.in: Regenerated.
11765
11766 2002-11-01  Michael Koch  <konqueror@gmx.de>
11767
11768         * java/nio/ByteOrder.java: New file.
11769         * java/nio/channels/DatagramChannel.java:
11770         (DatagramChannel): New constructor.
11771         * java/nio/channels/Pipe.java: New file.
11772         * java/nio/channels/SelectableChannel.java: New file.
11773         * java/nio/channels/SelectionKey.java: New file.
11774         * java/nio/channels/Selector.java: New file.
11775         * java/nio/channels/ServerSocketChannel.java
11776         (ServerSocketChannel): New constructor.
11777         * java/nio/channels/SocketChannel.java
11778         (SocketChannel): New constructor.
11779         * java/nio/channels/Pipe.java: New file.
11780         * java/nio/channels/spi/AbstractChannel.java: New file.
11781         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11782         * java/nio/channels/spi/AbstractSelectableChannel.java:
11783         License added
11784         (AbstractSelectableChannel): New stubbed method.
11785         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11786         * java/nio/channels/spi/AbstractSelector.java: New file.
11787         * java/nio/channels/spi/SelectorProvider.java: New file.
11788         * java/nio/charset/Charset.java: New file.
11789         * java/nio/charset/CoderMalfunctionError.java: New file.
11790         * java/nio/charset/CodingErrorAction.java: New file.
11791         * java/nio/charset/spi/CharsetProvider.java
11792         (charsetForName): Uncommented.
11793         * Makefile.am (java_native_source_files): Added new files.
11794         * Makefile.in: Regenerated.
11795
11796 2002-11-01  Michael Koch  <konqueror@gmx.de>
11797
11798         * java/net/InetAddress.java:
11799         (isAnyLocalAddress): Implemented.
11800         (isLoopbackAddress): Implemented, comment added.
11801         (isLinkLocalAddress): Implemented, documentation added.
11802         (isSiteLocalAddress): Implemented, documentation added.
11803         (isMCGlobal): Implemented, documentation added.
11804         (isMCNodeLocal): Implemented, documentation added.
11805         (isMCLinkLocal): Implemented, documentation added.
11806         (isMCSiteLocal): Implemented, documentation added.
11807         (isMCOrgLocal): Implemented, documentation added.
11808         (getHostName): Documentation added.
11809         (getCanonicalHostName): Implemented, documentation added.
11810         (getAddress): Documentation added.
11811         (hashCode): Documentation added.
11812         (equals): Documentation added.
11813         (toString): Fixed implementation.
11814         (getByAddress): Use Inet4Address and Inet6Address.
11815         (lookup): New linewrap.
11816         (getByName): SecurityManager check added, support Inet4Address and
11817         Inet6address, comments added.
11818         (getAllByName): SecurityManager check added, comments added.
11819         * java/net/Inet6Address.java:
11820         (Inet6Address): Initialize parent class with addr instead of null.
11821         * java/net/URL.java
11822         (equals): Documentation added.
11823         (getFile): Documentation added.
11824         (hashCode): Documentation added.
11825         * java/net/natInetAddress.cc:
11826         (aton): Fix IPv6 support.
11827         * java/net/natPlainDatagramSocketImpl.cc:
11828         (peek): Throw PortUnreachableException when suitable.
11829         (peekData): Throw PortUnreachableException when suitable.
11830         (send): Throw PortUnreachableException when suitable.
11831         (receive): Throw PortUnreachableException when suitable.
11832
11833 2002-10-27  Mark Wielaard  <mark@klomp.org>
11834
11835         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11836         argument.
11837         (readLeShort): Likewise and use byte[].
11838         (readLeInt): Likewise.
11839         (readEntries): Use new versions of methods and use byte[] for reading
11840         a complete zip entry. Add ZipFile name to exceptions.
11841         (entries): Add ZipFile name to exceptions.
11842         (getEntry): Likewise.
11843         (checkLocalHeader): Use new versions of methods and add ZipFile name
11844         to exceptions.
11845
11846 2002-10-31  Mark Anderson  <mark@panonet.net>
11847
11848         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11849         added
11850
11851 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11852
11853         * configure.in: Disable hash sync when not using threads.
11854         * configure: Regenerated.
11855
11856 2002-10-24  Tom Tromey  <tromey@redhat.com>
11857
11858         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11859         (_Jv_FindSymbolInExecutable): Removed argument name.
11860         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11861         java.library.path is set.
11862
11863         * gij.cc (help): Document --showversion.
11864         (version): Don't exit.
11865         (main): Handle --showversion.  Exit if --version given.
11866
11867 2002-10-23  Tom Tromey  <tromey@redhat.com>
11868
11869         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11870         (array_from_valist): Correctly handle promotion for jint, jlong,
11871         jfloat, and jdouble.
11872
11873 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11874
11875         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11876         GetFileAttributesEx( ) to find file length and modification times,
11877         as the latter is not present on Windows 95.
11878
11879 2002-10-21  Michael Koch  <konqueror@gmx.de>
11880
11881         * java/net/URL.java
11882         (URL): Activate SecurityManager checks.
11883         (equals): Use URLStreamHandler implementation instead of doing it
11884         alone. This allows special protocol stream handlers to change default
11885         behaviour.
11886         (hashCode): Use URLStreamHandler implementation instead of doing it
11887         alone. This allows special protocol stream handlers to change default
11888         behaviour.
11889         * java/net/URLStreamHandler.java
11890         (equals): Implemented default URL equality check.
11891         (hostsEqual): Implemented default URL equality check.
11892         (hashCode): Implemented default URL hashCode algorithm.
11893         * java/net/natPlainDatagramSocketImpl.cc:
11894         No lines longer then 80 characters.
11895
11896 2002-10-20  Adam Megacz <adam@xwt.org>
11897
11898         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11899         * configure.in: enabled hash sync on Win32
11900         * include/win32-threads.h (_Jv_ThreadId_t): added.
11901         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11902         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11903         removed some posix-isms, use Thread::sleep() instead of usleep,
11904         added code to clear bottom three bits if platform has a broken
11905         linker.
11906         * include/win32-threads.h (_Jv_ThreadId_t): added.
11907
11908 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11909
11910         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11911         runtime property "gnu.gcj.progname" containing the name used to
11912         invoke the current Java program (similar to argv[0] for C
11913         programs).
11914
11915 2002-10-15  Tom Tromey  <tromey@redhat.com>
11916
11917         Fix for PR libgcj/8234:
11918         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11919         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11920
11921 2002-10-13  Mark Wielaard  <mark@klomp.org>
11922
11923         * mauve-libgcj: Enable Mauve tests that compile now.
11924
11925 2002-10-11  Mark Wielaard  <mark@klomp.org>
11926
11927         Fix for PR libgcj/8142
11928         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11929         loading native modules.
11930
11931 2002-10-10  Michael Koch  <konqueror@gmx.de>
11932
11933         * javax/swing/AbstractListModel.java
11934         (getListDataListeners): New stubbed method.
11935         javax/swing/DefaultBoundedRangeModel.java
11936         (getChangeListeners): New stubbed method.
11937         javax/swing/DefaultSingleSelectionModel.java
11938         (getChangeListeners): New stubbed method.
11939
11940 2002-10-10  Michael Koch  <konqueror@gmx.de>
11941
11942         * gcj/.cvsignore: New file to ignore files generated during build.
11943         * include/.cvsignore: New file to ignore files generated during build.
11944
11945 2002-10-10  Michael Koch  <konqueror@gmx.de>
11946
11947         * java/net/HttpURLConnection.java
11948         (getPermission): New method.
11949         (getErrorStream): New stub method.
11950         (getHeaderFieldDate): New stub method.
11951         * java/net/Inet4Address.java:
11952         (isLinkLocalAddress): Typo fixed.
11953         * java/net/InetAddress.java:
11954         (readResolve): New stubbed method (for serialization).
11955         (isAnyLocalAddress): New stubbed method.
11956         (isLoopbackAddress): New stubbed method.
11957         (isLinkLocalAddress): New stubbed method.
11958         (isSiteLocalAddress): New stubbed method.
11959         (isMCGlobal): New stubbed method.
11960         (isMCNodeGlobal): New stubbed method.
11961         (isMCLinkLocal): New stubbed method.
11962         (isMCSiteLocal): New stubbed method.
11963         (isMCOrgLocal): New stubbed method.
11964         (getCanonicalHostName): New stubbed method.
11965         (getByAddress): Create instances of Inet4Address/Inet6Address,
11966         instead of InetAddress, documentation added.
11967         * java/net/MulticastSocket.java
11968         (getInterface): Removed FIXME.
11969         (getNetworkInterface): New method.
11970         (setNetworkInterface): New method.
11971         * java/net/NetworkInterface.java:
11972         (toString): Use property "line.separator" instead of "\n".
11973         * java/net/URLConnection.java
11974         (getContent): New stubbed method.
11975         * java/net/URLStreamHandler.java:
11976         (equals): New stubbed method.
11977         (hostsEqual): New stubbed method.
11978         (hashCode): New stubbed method.
11979         * java/net/natNetworkInterface.cc:
11980         (getRealNetworkInterfaces): Create Inet4Address object
11981         instead of InetAddress.
11982
11983 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11984
11985         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11986         unsigned long temporary to implement insn_iushr shifts.
11987
11988 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11989
11990         * configure.host [s390*-*]: Enable Java interpreter.
11991         Enable hash synchronization.  Add sysdeps dir.
11992         * sysdep/s390/locks.h: New file.
11993
11994 2002-10-06  Mark Wielaard  <mark@klomp.org>
11995
11996         * java/lang/Thread.java (setDaemon): Check startable_flag,
11997         not isAlive().
11998
11999 2002-10-07  Michael Koch  <konqueror@gmx.de>
12000
12001         * java/nio/Buffer.java: New stub file.
12002         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12003         of class Charset.
12004         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12005         * Makefile.in: Regenerated.
12006
12007 2002-10-07  Michael Koch  <konqueror@gmx.de>
12008
12009         * java/nio/ByteBuffer.java:
12010         removed import of not commited class.
12011
12012 2002-10-07  Michael Koch  <konqueror@gmx.de>
12013
12014         * java/nio/ByteBuffer.java,
12015         java/nio/MappedByteBuffer.java:
12016         New files, forgot to add these dummies.
12017         * Makefile.am (java_native_source_files): Added new files.
12018         * Makefile.in: Regenerated.
12019
12020 2002-10-07  Michael Koch  <konqueror@gmx.de>
12021
12022         * java/nio/channels/AlreadyConnectedException.java,
12023         java/nio/channels/ClosedChannelException.java,
12024         java/nio/channels/ReadableByteChannel.java,
12025         java/nio/channels/InterruptibleChannel.java,
12026         java/nio/channels/Channel.java,
12027         java/nio/channels/ByteChannel.java,
12028         java/nio/channels/GatheringByteChannel.java,
12029         java/nio/channels/ScatteringByteChannel.java,
12030         java/nio/channels/WritableByteChannel.java,
12031         java/nio/charset/CharacterCodingException.java,
12032         java/nio/charset/IllegalCharsetNameException.java,
12033         java/nio/charset/MalformedInputException.java,
12034         java/nio/charset/UnmappableCharacterException.java,
12035         java/nio/charset/UnsupportedCharsetException.java,
12036         java/nio/charset/spi/CharsetProvider.java: New file.
12037         These files are exceptions or interfaces,
12038         no real or abstract classes.
12039         * Makefile.am (java_native_source_files): Added new files.
12040         * Makefile.in: Regenerated.
12041
12042 2002-10-05  Michael Koch  <konqueror@gmx.de>
12043
12044         * java/net/InetAddress.java
12045         (getByAddress): Fixed documentation.
12046         (getByAddress): New method.
12047         * java/net/Inet4Address.java: New file.
12048         * java/net/URL.java
12049         (URL): Documentation added.
12050         (getContent): Documentation added.
12051         (getContent): New stubbed method.
12052         (getQuery): New method.
12053         (openConnection): Documentation added.
12054         (openStream): Documentation added.
12055         (setURLStreamHandlerFactory): Documentation added.
12056         * java/net/URI.java: New stub file.
12057         * Makefile.am
12058         (java_native_source_files): Added java/net/Inet4Address.java,
12059         java/net/Inet6Address.java and java/net/URI.java.
12060         * Makefile.in: Regenerated.
12061
12062 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12063
12064         * java/lang/ProtectionDomain.java (linesep): Remove field.
12065         (toString): Use System.getProperty("line.separator").
12066
12067 2002-10-04  Michael Koch  <konqueror@gmx.de>
12068
12069         * java/security/Identity.java: Added serialVersionUID.
12070         * java/security/KeyPair.java: Added serialVersionUID.
12071         * java/security/Provider.java: Added serialVersionUID.
12072         * java/security/SecureRandom.java: Added serialVersionUID.
12073         * java/security/SecureRandomSpi.java: Added serialVersionUID.
12074         * java/security/SignedObject.java: Added serialVersionUID.
12075         * java/security/cert/Certificate.java: Added serialVersionUID.
12076
12077 2002-10-04  Mark Wielaard <mark@klomp.org>
12078
12079         * java/security/Security.java: Use java.home or gnu.classpath.home
12080         to load providers.
12081         (loadProviders): Extra dir argument.
12082         (getProvider): Return null when not found.
12083
12084 2002-10-04  Mark Wielaard  <mark@klomp.org>
12085
12086         * java/lang/Throwable.java: Remerge with Classpath.
12087
12088 2002-10-04  Michael Koch  <konqueror@gmx.de>
12089
12090         * java/net/InetAddress.java:
12091         (isMulticastAddress): Added documentation.
12092         (getHostAddress): Added documentation.
12093         (toString): Added documentation.
12094         (getByAddress): Fixed documentation.
12095         (getByName): Added documentation.
12096         (getAllByName): Added documentation.
12097         (getLocalHost): Added documentation.
12098
12099 2002-10-04  Michael Koch  <konqueror@gmx.de>
12100
12101         * java/beans/beancontext/BeanContextChildSupport.java:
12102         Added serialVersionUID.
12103         * java/text/Collator.java: (compare): Made documentation HTML-aware.
12104         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12105         * javax/naming/Name.java: Added serialVersionUID.
12106
12107 2002-10-03  Adam Megacz <adam@xwt.org>
12108
12109         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12110         some functionality that isn't supported yet on WIN32.
12111
12112 2002-10-03  Tom Tromey  <tromey@redhat.com>
12113
12114         * Makefile.in: Rebuilt.
12115         * Makefile.am (awt_java_source_files): Added new files.
12116
12117 2002-10-03  Michael Koch  <konqueror@gmx.de>
12118
12119         * java/net/InetAddress.java
12120         (class InetAddress): Removed final keyword.
12121         (equals): Fixed typo.
12122         (getByAddress): New method.
12123
12124 2002-10-03  Michael Koch  <konqueror@gmx.de>
12125
12126         * java/awt/dnd/Autoscroll.java:
12127         New file, merge from Classpath.
12128         * java/awt/dnd/DragSourceAdapter.java:
12129         (dragExit): Fixed typos in argument type.
12130         (dragDropEnd): Fixed typos in argument type.
12131         * java/awt/dnd/DragSourceDropEvent.java:
12132         New file, merge from Classpath.
12133         * java/awt/dnd/DropTarget.java:
12134         Added stubs, merge from Classpath.
12135         * java/awt/dnd/DropTargetAdapter.java:
12136         New file, merge from Classpath.
12137         * java/awt/dnd/DropTargetContext.java:
12138         New file, merge from Classpath.
12139         * java/awt/dnd/DropTargetDragEvent.java:
12140         New file, merge from Classpath.
12141         * java/awt/dnd/DropTargetDropEvent.java:
12142         New file, merge from Classpath.
12143         * java/awt/dnd/DropTargetEvent.java:
12144         New file, merge from Classpath.
12145         * java/awt/dnd/DropTargetListener.java:
12146         New file, merge from Classpath.
12147         * java/awt/dnd/MouseDragGestureRecognizer.java:
12148         New file, merge from Classpath.
12149         * java/awt/dnd/peer/DropTargetContextPeer.java:
12150         New file, merge from Classpath.
12151
12152 2002-10-03  Michael Koch  <konqueror@gmx.de>
12153
12154         * java/net/DatagramPacket.java
12155         (setLength): Fixed typo and be HTML-aware.
12156         * java/net/InetSocketAddress.java
12157         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12158         (equals): Added comment about equality of InetSocketAddress objects.
12159         * java/net/ServerSocket.java
12160         (accept): Added checks.
12161         (isClosed): New stubbed method.
12162         * java/net/SocketOptions.java: Reindention.
12163         * java/net/SocketPermission
12164         (SocketPermission): Documentation fixed.
12165
12166 2002-10-03  Michael Koch  <konqueror@gmx.de>
12167
12168         * java/net/DatagramSocket.java
12169         (receive): Check with SecurityManager AFTER the packet is received,
12170         check if connected to multicast address, documentation added.
12171         (send): Only check SecurityManager if connected, check address of
12172         packet to send.
12173         (connect): Implemented, documentation added.
12174         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12175         * java/net/InetSocketAddress.java
12176         (whole file): Reindented.
12177         (hostname): New attribute.
12178         (InetSocketAddress): Initialize new attribute.
12179         (getAddress): Documentation added.
12180         (getHostName): Documentation added.
12181         (getPort): Documentation added.
12182         (hashCode): Documentation added.
12183         (isUnresolved): Documentation added.
12184         (toString): Conform to output of JDK 1.4.1, documentation added.
12185         * java/net/MulticastSocket.java
12186         (joinGroup): Removed FIXME, documentation added.
12187         (leaveGroup): Removed FIXME, documentation added.
12188         (send): Documentation added.
12189         * java/net/Socket.java
12190         (inputShutdown): New variable.
12191         (outputShutdown): New variable.
12192         (Socket): Initialize new variables.
12193         (getRemoteSocketAddress): Check if connected.
12194         (shutdownInput): Set new variable.
12195         (shutdownOutput): Set new variable.
12196         (isConnected): New method.
12197         (isClosed): New method.
12198         (isInputShutdown): New method.
12199         (isOutputShutdown): New method.
12200         * java/net/URLStreamHandler.java
12201         (URLStreamHandler): New method.
12202         (openConnection): Added documentation.
12203         (parseURL): Added documentation.
12204         (getHostAddress): New method.
12205         (getDefaultPort): New method.
12206
12207 2002-10-02  Tom Tromey  <tromey@redhat.com>
12208
12209         * java/rmi/activation/ActivationDesc.java,
12210         java/rmi/activation/ActivationGroupDesc.java,
12211         java/rmi/activation/ActivationGroupID.java,
12212         java/rmi/activation/ActivationID.java: New versions from
12213         Classpath.
12214
12215 2002-09-30  Bo Thorsen  <bo@suse.de>
12216
12217         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12218
12219 2002-09-30  Tom Tromey  <tromey@redhat.com>
12220
12221         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12222         from Classpath.
12223         * Makefile.in: Rebuilt.
12224         * Makefile.am (rmi_java_source_files): Added new files.
12225         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12226         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12227         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12228         Classpath.
12229         * gnu/java/rmi/dgc/DGCImpl.java,
12230         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12231         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12232         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12233         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12234         gnu/java/rmi/server/RMIHashes.java,
12235         gnu/java/rmi/server/RMIObjectInputStream.java,
12236         gnu/java/rmi/server/RMIObjectOutputStream.java,
12237         gnu/java/rmi/server/UnicastConnection.java,
12238         gnu/java/rmi/server/UnicastConnectionManager.java,
12239         gnu/java/rmi/server/UnicastRef.java,
12240         gnu/java/rmi/server/UnicastServer.java,
12241         gnu/java/rmi/server/UnicastServerRef.java,
12242         java/rmi/MarshalledObject.java,
12243         java/rmi/server/RMIClassLoader.java,
12244         java/rmi/server/RemoteObject.java,
12245         java/rmi/server/UnicastRemoteObject.java,
12246         java/security/SecureClassLoader.java: Merged from Classpath.
12247
12248 2002-09-29  Anthony Green  <green@redhat.com>
12249
12250         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12251         Imported from GNU Classpath.
12252         * java/lang/reflect/natProxy.cc: New file.
12253         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12254         from GNU Classpath.
12255         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12256         Classpath.
12257         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12258         Classpath.
12259         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12260         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12261         New statics.
12262         * gcj/javaprims.h ("Java"): Add new classes.
12263         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12264         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12265         java/lang/reflect/Proxy$$ProxyType.h): And this.
12266         (inner_nat_headers): Add these new headers.
12267         (ordinary_java_source_files): Add new files.
12268         (nat_source_files): Add new file.
12269         * Makefile.in: Rebuilt.
12270
12271 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12272
12273         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12274         a single configuration.
12275
12276 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12277
12278         * java/util/TimeZone.java (getDSTSavings): New method.
12279         Fixes PR libgcj/7786.
12280
12281 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12282
12283         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12284         to see if `the_method == 0' before looking up vtable index.
12285         Fixes PR libgcj/7709.
12286
12287 2002-09-25  Tom Tromey  <tromey@redhat.com>
12288
12289         * java/lang/natClassLoader.cc:
12290         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12291         * resolve.cc: Include NoClassDefFoundError.h, not
12292         ClassNotFoundException.h.
12293         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12294
12295         * defineclass.cc: Don't include ClassNotFoundException.h.
12296
12297         * resolve.cc: Include StringBuffer.
12298         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12299
12300         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12301         allocated but not initialized.
12302
12303 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12304
12305         Fix for PR libgcj/7766:
12306         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12307         (getNextEntry): Set it.
12308         (closeEntry): Likewise.
12309         (read): Likewise.
12310         (close): Likewise.
12311         (available): Use it.
12312
12313 2002-09-25  Michael Koch  <konqueror@gmx.de>
12314
12315         * java/net/DatagramSocket.java
12316         (DatagramSocket): Initialize new instance variables.
12317         (close): Reset new instance variables.
12318         (getLocalAddress): Remove unneeded SecurityManager usage.
12319         (getLocalPort): Check if socket is already bound.
12320         (isConnected): New method.
12321         (getInetAddress): Implemented.
12322         (getPort): Better Implementation, documentation fixed.
12323         (getRemoteSocketAddress): New method.
12324         * java/net/JarURLConnection.java
12325         (element): Typo fixed.
12326         (getMainAttributes): New method.
12327         (getAttributes): New method (stub only).
12328         (getManifest): New method (stub only).
12329         * java/net/NetPermission.java: Added serialVersionsUID.
12330         * java/net/Socket.java
12331         (connect): Check blocking mode of associated channel,
12332         documentation added.
12333         (getLocalSocketAddress): Better implementation.
12334         (getRemoteSocketAddress): Implemented.
12335         (isBound): New method.
12336         (setSendBufferSize): Documentation added.
12337         * java/net/SocketAddress.java: Added serialVersionsUID.
12338         * java/net/SocketPermission.java: Added serialVersionsUID.
12339         * java/net/URL.java
12340         (URL): Wrap for shorter lines, initialize new instance variables,
12341         documentation added.
12342         (equals): Check new instance variables too.
12343         (getContent): Documentation added.
12344         (getPath): Documentation added.
12345         (getAuthority): New method.
12346         (getHost): Documentation added.
12347         (getPort): Documentation added.
12348         (getDefaultPort): New method.
12349         (getProtocol): Documentation added.
12350         (getUserInfo): Documentation added.
12351         (set): Initialize new instance variables, documentation added.
12352         * java/net/URLStreamHandler.java
12353         (setURL): New method.
12354         * java/net/natPlainDatagramSocketImpl.cc
12355         (connect): Fix exception name.
12356         (disconnect): Fix exception name.
12357
12358 2002-09-25  Michael Koch  <konqueror@gmx.de>
12359
12360         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12361         * java/nio/channels/DatagramChannel.java:
12362         extends AbstractSelectableChannel
12363         * java/nio/channels/ServerSocketChannel.java:
12364         extends AbstractSelectableChannel
12365         * java/nio/channels/SocketChannel.java:
12366         extends AbstractSelectableChannel
12367         * Makefile.am (ordinary_java_source_files):
12368         java/nio/channels/spi/AbstractSelectableChannel.java added.
12369         * Makefile.in: Regenerated.
12370
12371 2002-09-25  Michael Koch  <konqueror@gmx.de>
12372
12373         * java/net/DatagramSocket.java
12374         (DatagramSocket): Exception documentation added.
12375         (bind): Exception documentation added, addded SecurityManager check,
12376         added SocketAddress type check.
12377         (getSoTimeout): Check impl.
12378         (receive): Fix SecurityManager check, check impl, documentation added.
12379         (send): Check channel mode, documentation added.
12380         (connect): New method.
12381         (disconnect): Implemented.
12382         (getLocalSocketAddress): New method.
12383         (getReceiveBufferSize): Check impl.
12384         (setReuseAddress): Check impl.
12385         (getReuseAddress): Check impl.
12386         (setBroadcast): Check impl.
12387         (getBroadcast): Check impl.
12388         (setTrafficClass): Check impl, Documentation cleared.
12389         (getTrafficClass): Check impl.
12390         (getSendBufferSize): Check impl.
12391         (setReceiveBufferSize): Check impl, documentation added.
12392         (setSendBufferSize): Documentation added.
12393         (setDatagramSocketImplFactory): New method.
12394         * java/net/HttpURLConnection.java
12395         (HTTP_INTERNAL_ERROR): The correct code is 500.
12396         (HTTP_NOT_IMPLEMENTED): Added new constant.
12397         (setFollowRedirects): Documentation added.
12398         (getInstanceFollowRedirects): New method.
12399         (setInstanceFollowRedirects): New method.
12400         (setRequestMethod): Documentation added.
12401         (getResponseCode): Documentation added.
12402         (getResponseMessage): Documentation added.
12403         * java/net/JarURLConnection.java
12404         (JarURLConnection): protected since JDK 1.4.
12405         (getJarEntry): java.io.IOException to IOException, documentation added.
12406         (getJarFile): Documentation added.
12407         * java/net/ServerSocket.java
12408         (ServerSocket): Private to public, exception added.
12409         (ServerSocket): java.io.IOException to IOException, documentation added.
12410         (bind): Check socket address type, documentation added.
12411         (bind): java.io.IOException to IOException, documentation added.
12412         (accept): Documentation added.
12413         (implAccept): Check ch is not non-blocking, documentation added.
12414         (setSoTimeout): Documentation fixed.
12415         (setReceiveBufferSize): Documentation added.
12416         * java/net/Socket.java
12417         (Socket): Documentation added.
12418         (bind): Documentation added.
12419         (connect): Check socket address type, documentation added.
12420         (getRemoteSocketAddress): New method.
12421         (getLocalSocketAddress): New method.
12422         (setSoLinger): Documentation added.
12423         (getReuseAddress): New method.
12424         (setReuseAddress): New method.
12425         (getTrafficClass): New method.
12426         (setTrafficClass): New method.
12427         * java/net/URLStreamHandler.java
12428         (openConnection): java.io.IOException to IOException.
12429         (parseURL): Documentation added.
12430         (sameFile): public to protected, documentation added.
12431         (setURL): Documentation added.
12432         * java/nio/IllegalBlockingModeException.java: New file.
12433         * Makefile.am (ordinary_java_source_files):
12434         added java/nio/IllegalBlockingModeException.java
12435         * Makefile.in: Regenerated.
12436
12437 2002-09-25  Michael Koch  <konqueror@gmx.de>
12438
12439         * java/net/DatagramPacket
12440         (DatagramPacket): Exception documentation added.
12441         (setData): Likewise.
12442         (setSocketAddress): Likewise.
12443         * java/net/DatagramSocketImpl.java
12444         (peek): Documentation addded.
12445         (peekData): Documentation addded.
12446         (send): Documentation addded.
12447         (receive): Documentation addded.
12448         (connect): New method.
12449         (disconnect): New method.
12450         (joinGroup): New abstract method.
12451         (leaveGroup): New abstract method.
12452         * java/net/InetSocketAddress.java
12453         (InetSocketAddress): Documentation added.
12454         (equals): final keyword added.
12455         (getAddress): final keyword added.
12456         (getHostName): final keyword added.
12457         (getPort): final keyword added.
12458         (hashCode): final keyword added.
12459         (isUnresolved): final keyword added.
12460         * java/net/MulticastSocket.java
12461         (MulticastSocket): Documentation added.
12462         (MulticastSocket): New method.
12463         (joinGroup): Documentation added.
12464         (joinGroup): New method.
12465         (leaveGroup): Documentation added.
12466         (leaveGroup): New method.
12467         (send): Documentation added.
12468         * java/net/NetworkInterface.java
12469         (getByName): Documentation added.
12470         (getByInetAddress): Documentation added.
12471         (getNetworkInterfaces): Documentation added.
12472         * java/net/PlainDatagramSocketImpl.java
12473         (connect): New method.
12474         (disconnect): New method.
12475         * java/net/SocketImpl.java
12476         (create): Documentation added.
12477         (shutdownInput): Convert public to protected, as it always was.
12478         (shutdownOutput): Convert public to protected, as it always was.
12479         * java/net/SocketOptions.java
12480         (whole file): Reintented.
12481         * java/net/URLClassLoader.java
12482         (URLClassLoader): SecurityManager check added, documentation added.
12483         (findResources): Documentation added.
12484         (findClass): Documentation added.
12485         (newInstance): More correct method arguments.
12486         * java/net/URLConnection.java
12487         (connect): Documentation added.
12488         (getContent): Documentation added.
12489         (getPermission): Documentation added.
12490         (getInputStream): Documentation added.
12491         (getOutputStream): Documentation added.
12492         (setDoInput): Throw correct exception, documentation added.
12493         (setDoOutput): Throw correct exception, documentation added.
12494         (setAllowUserInteraction): Throw correct exception, documentation added.
12495         (setUseCaches): Throw correct exception, documentation added.
12496         (setIfModifiedSince): Throw correct exception, documentation added.
12497         (setRequestProperty): Throw exception, documentation added.
12498         (addRequestProperty): Throw exception, documentation added.
12499         (getRequestProperty): Throw exception, documentation added.
12500         (getRequestProperties): Documentation added.
12501         (setContentHandlerFactory): Documentation added.
12502         (guessContentTypeFromName): protected to public.
12503         (setFileNameMap): Documentation added.
12504         * java/net/URLDecoder.java
12505         (URLDecoder): New method.
12506         (decode): Documentation added.
12507         (whole file): Reindented.
12508         * java/net/URLEncoder.java
12509         (encode): Documentation added.
12510         * java/net/natPlainDatagramSocketImpl.cc
12511         (connect): New method.
12512         (disconnect): New method.
12513         * javax/naming/RefAddr:
12514         (addrType): addrType was never final.
12515         (equals): Fix typo in method name.
12516         * javax/naming/BinaryRefAddr:
12517         (equals): Fix typo in method name.
12518
12519 2002-09-22  Tom Tromey  <tromey@redhat.com>
12520
12521         Fix for PR libgcj/6576:
12522         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12523         didn't find a given bundle.
12524         (getBundle): Don't require base bundle.
12525         (setParent): Removed old comment.
12526         (tryLocalBundle): Try components even if preceding components were
12527         empty.
12528
12529 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12530
12531         * Makefile.am (all-multi): Fix multilib parallel build.
12532
12533 2002-09-21  Michael Koch  <konqueror@gmx.de>
12534
12535         * java/net/Socket.java
12536         (sendUrgentData): New method.
12537         (getChannel): New method.
12538         * java/net/ServerSocket.java
12539         (getChannel): New method.
12540         (isBound): New method.
12541         * java/net/DatagramSocket.java
12542         (DatagramSocket): Two new methods.
12543         (bind): New method.
12544         (getChannel): New method.
12545         (isBound): New method.
12546         (send): Added newline to to make shorter lines.
12547         * java/net/PlainDatagramSocketImpl.java
12548         (mcastGrp): Added argument.
12549         (join): Use new mcastGrp.
12550         (leave): Use new mcastGrp.
12551         (joinGroup): New method.
12552         (leaveGroup): New method.
12553         * java/net/natPlainDatagramSocketImpl.cc
12554         (mcastGrp): Added argument, no yet really implemented.
12555         (getOption): Added newline for shorter lines.
12556         * java/net/natPlainSocketImpl.cc
12557         (read, setOption, getOption): Added newline for shorter lines.
12558
12559 2002-09-19  Tom Tromey  <tromey@redhat.com>
12560
12561        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12562        newly-created exception.
12563
12564 2002-09-18  Michael Koch  <konqueror@gmx.de>
12565
12566         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12567         java/util/regex/PatternSyntaxException.java:
12568         Merge with classpath, new files.
12569         * Makefile.am (core_java_source_files):
12570         Added java/util/regex/Matcher.java,
12571         java/util/regex/Pattern.java,
12572         java/util/regex/PatternSyntaxException.java
12573         * Makefile.in: Regenerated.
12574         * include/config.h.in: Added HAVE_NET_IF_H.
12575         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12576         Removed #if 0 ... #endif.
12577
12578 2002-09-17  Michael Koch  <konqueror@gmx.de>
12579
12580         * java/net/natNetworkInterface.cc:
12581         Removed unneed and yet wrong includes.
12582
12583 2002-09-17  Michael Koch  <konqueror@gmx.de>
12584
12585         * java/net/NetworkInterface.java: New file.
12586         * java/net/natNetworkInterface.java: New file.
12587         * configure.in: Added check for net/if.h.
12588         * configure: Regenerated.
12589         * Makefile.am
12590         (ordinary_java_source_files): Added NetworkInterface.java.
12591         (nat_source_files): Added natNetworkInterface.cc.
12592         * Makefile.in: Regenerated.
12593
12594 2002-09-16  Tom Tromey  <tromey@redhat.com>
12595
12596         * java/net/URLClassLoader.java (findClass): Code source for a
12597         class from a jar is not necessarily a jar: URL.
12598
12599 2002-09-16  Michael Koch  <konqueror@gmx.de>
12600
12601         * java/lang/AssertionError.java:
12602         Merge with classpath, fixes HTML.
12603         * java/rmi/server/LogStream.java:
12604         Merge with classpath, fixes some constants.
12605         * java/net/server/RemoteServer.java:
12606         Merge with classpath, adds serialVersionUID.
12607         * javax/naming/BinaryRefAddr.java:
12608         Merge with classpath, s/equal/equals/.
12609         * javax/naming/NamingException.java:
12610         Merge with classpath, fixed typo.
12611         * javax/naming/RefAddr.java:
12612         Merge with classpath, s/equal/equals/.
12613         * java/awt/Toolkit.java:
12614         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12615         and typo fixed.
12616
12617 2002-09-15  Adam Megacz <adam@xwt.org>
12618
12619         * java/net/natPlainSocketImpl.cc: fixed typo.
12620
12621 2002-09-15  Adam Megacz <adam@xwt.org>
12622
12623         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12624         which don't work on Win32 (yet).
12625
12626 2002-09-14  Adam Megacz <adam@xwt.org>
12627
12628         * java/net/natPlainDatagramSocket.cc: removed #include
12629         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12630         * include/win32.h: included definition for IP_TOS to satisfy
12631         natPlainDatagramSocket.cc
12632
12633 2002-09-13  Michael Koch  <konqueror@gmx.de>
12634
12635         * java/net/DatagramPacket.java (DatagramPacket):
12636         Added linebreak for 80 chars per line.
12637         * java/net/JarURLConection.java
12638         (getInputStreami, getJarEntry): Likewise.
12639         * java/net/SocketPErmission.java
12640         (SocketPermission class docu, implies): Likewise.
12641         * java/net/URLClassLoader.java (findResources): Likewise.
12642         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12643
12644 2002-09-13  Michael Koch  <konqueror@gmx.de>
12645
12646         * java/nio/channels/DatagramChannel.java,
12647         java/nio/channels/ServerSocketChannel.java
12648         java/nio/channels/SocketChannel.java:
12649         New dummy files to make java.net fully JDK 1.4 compatible
12650         * Makefile.am (ordinary_java_source_files): Added
12651         java/net/DatagramSocketImplFactory.java (long forgotten),
12652         java/nio/SocketChannel.java,
12653         java/nio/ServerSocketChannel.java,
12654         java/nio/DatagramChannel.java
12655         * Makefile.in: Regenrated.
12656
12657 2002-09-12  Michael Koch  <konqueror@gmx.de>
12658
12659         * java/net/DatagramSocketImpl.java
12660         (peekData): New method.
12661         * java/net/PlainDatagramSocketImpl.java
12662         (peekData): New method.
12663         * java/net/natPlainDatagramSocketImpl.cc
12664         (peekData): New method.
12665         * java/net/URLConnection
12666         (getPermission): New method.
12667         (addRequestProperty): New method.
12668         (getRequestProperties): New method.
12669         (guessContentTypeFromStream): New method, not really implemented.
12670         (URLConnection): Added/updated documentation.
12671         (connect): Added/updated documentation.
12672         (getURL): Added/updated documentation.
12673         (getContentLength): Added/updated documentation.
12674         (getContentType: Added/updated documentation.
12675         (getContentEncoding): Added/updated documentation.
12676         (getExpiration): Added/updated documentation.
12677         (getDate): Added/updated documentation.
12678         (getLastModified): Added/updated documentation.
12679         (getHeaderField): Added/updated documentation.
12680         (getHeaderFields): Added/updated documentation.
12681         (getHeaderFieldInt): Added/updated documentation.
12682         (getHeaderFieldDate): Added/updated documentation.
12683         (getHeaderFieldKey): Added/updated documentation.
12684         (getContent): Added/updated documentation.
12685         (getInputStream): Added/updated documentation.
12686         (getOutputStream): Added/updated documentation.
12687         (toString): Added/updated documentation.
12688         (setDoInput): Added/updated documentation.
12689         (getDoInput): Added/updated documentation.
12690         (setDoOutput): Added/updated documentation.
12691         (getDoOutput): Added/updated documentation.
12692         (setAllowUserInteraction): Added/updated documentation.
12693         (getAllowUserInteraction): Added/updated documentation.
12694         (setDefaultAllowUserInteraction): Added/updated documentation.
12695         (getDefaultAllowUserInteraction): Added/updated documentation.
12696         (setUseCaches): Added/updated documentation.
12697         (getUseCaches): Added/updated documentation.
12698         (setIfModifiedSince): Added/updated documentation.
12699         (getIfModifiedSince): Added/updated documentation.
12700         (getDefaultUseCaches): Added/updated documentation.
12701         (setDefaultUseCaches): Added/updated documentation.
12702         (setRequestProperty): Added/updated documentation.
12703         (getRequestProperty): Added/updated documentation.
12704         (setDefaultRequestProperty): Added/updated documentation.
12705         (getDefaultRequestProperty): Added/updated documentation.
12706         (setContentHandlerFactory): Added/updated documentation.
12707         (guessContentTypeFromName): Added/updated documentation.
12708         (getFileNameMap): Added/updated documentation.
12709         (setFileNameMap): Added/updated documentation.
12710
12711 2002-09-11  Michael Koch  <konqueror@gmx.de>
12712
12713         * java/net/Socket.java
12714         (Socket): protected to public (since JDK 1.4). Added @specnote.
12715         (bind): New method.
12716         (connect): Two new methods.
12717         (getKeepalive): Get correct socket option.
12718         (setKeepalive): Set correct socket option.
12719         (getOOBInline): New method.
12720         (setOOBInline): New method.
12721         * java/net/ServerSocket.java
12722         (bind): Two new methods.
12723         (getInetAddress): Reimplemented, catch exception.
12724         (getLocalSocketAddress): New method.
12725         (setReuseAddress): New method.
12726         (getReuseAdress): New method.
12727         (setReceiveBufferSize): New method.
12728         (getReceiveBufferSize): New method.
12729         (toString): Made string JDK 1.4 compliant.
12730
12731 2002-09-10  Michael Koch  <konqueror@gmx.de>
12732
12733         * java/net/SocketImpl.java
12734         (connect): New method.
12735         (supportsUrgentData): New method.
12736         (sendUrgentData): New method.
12737         * java/net/PlainSocketImpl.java
12738         (connect): One new method and two new implementation.
12739         (sendUrgentData): New method.
12740         * java/natPlainSocketImpl.cc
12741         (connect): Arguments changed, added support for timeouts.
12742         (getOption): Another __java_boolean to jboolean.
12743
12744 2002-09-07  Adam Megacz <adam@xwt.org>
12745
12746         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12747         definition of IP_TOS.
12748
12749 2002-09-04  Michael Koch  <konqueror@gmx.de>
12750
12751         * java/net/DatagramSocket.java
12752         (DatagramSocket): Added documentation.
12753         (close): Likewise.
12754         (getLocalAddress): Likewise.
12755         (getLocalPort): Likewise.
12756         (receive): Likewise.
12757         (send): Likewise.
12758         (setSoTimeout): Likewise.
12759         (connect): New method.
12760         (disconnect): New method.
12761         (getInetAddress): New method (FIXME)
12762         (getPort): New method.
12763         (setReuseAddress): New method.
12764         (getReuseAddress): New method.
12765         (setBroadcast): New method.
12766         (getBroadcast): New method.
12767         (setTrafficClass): New method.
12768         (getTrafficClass): New method.
12769         * java/net/MulticastSocket.java):
12770         (getTTL): Added @see in documentation.
12771         (setTTL): Added @see in documentation.
12772         (setLoopbackMode): New method.
12773         (getLoopbackMode): New method.
12774         * java/net/PlainSocketImpl.java:
12775         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12776         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12777         * java/net/PlainDatagramSocketImpl.java
12778         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12779         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12780         * java/net/natPlainSocketImpl.cc
12781         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12782         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12783         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12784         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12785         This should also fix SO_KEEPALIVE
12786         * java/net/natPlainDatagramSocketImpl.cc
12787         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12788         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12789         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12790         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12791
12792 2002-09-04  Michael Koch  <konqueror@gmx.de>
12793
12794         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12795         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12796         IP_MULTICAST_LOOP, IP_TOS
12797
12798 2002-09-03  Tom Tromey  <tromey@redhat.com>
12799
12800         * java/lang/Class.h (_getDeclaredMethod): Declare.
12801         (_getMethod): Now private.
12802         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12803         getDeclaredMethod.  Now returns NULL on failure.
12804         * java/lang/Class.java (_getDeclaredMethod): Declare.
12805         (getDeclaredMethod): No longer native; implements access checks.
12806
12807 2002-09-01  Mark Wielaard  <mark@klomp.org>
12808
12809         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12810         (sanitizeStack): Correctly reset unknown and interpreter counters,
12811         detect interpreter runtime frames.
12812         (demangleInterpreterMethod): New method.
12813         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12814         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12815         filling in addrs[].
12816
12817 2002-09-02  Michael Koch  <konqueror@gmx.de>
12818
12819         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12820         re-indented documentation.
12821
12822 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12823
12824         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12825         public, per 1.4 spec.  Fixes PR libgcj/7785.
12826
12827 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12828
12829         * Makefile.in: Rebuilt.
12830         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12831
12832 2002-08-29  Tom Tromey  <tromey@redhat.com>
12833
12834         * java/net/JarURLConnection.java (getCertificates): New method
12835         from Classpath.
12836         * java/net/URLClassLoader.java (URLClassLoader): Extends
12837         SecureClassLoader.
12838         (definePackage): New method from Classpath.
12839         (getPermissions): Likewise.
12840         (newInstance): Likewise.
12841         (findClass): Construct CodeSource for new class (from Classpath).
12842         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12843         methods.
12844         * java/net/URL.java (getUserInfo): New method.
12845         (set(String,String,int,String,String,String,String,String)): New
12846         method.
12847         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12848         (shutdownInput, shutdownOutput): Declare.
12849         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12850         Define.
12851         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12852         (getOption): Likewise.
12853         (shutdownInput): New method.
12854         (shutdownOutput): Likewise.
12855         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12856         keepalive.
12857         (getOption): Likewise.
12858         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12859         * java/net/Socket.java (setKeepAlive): New method.
12860         (getKeepAlive): Likewise.
12861         (shutdownInput, shutdownOutput): New methods.
12862
12863 2002-08-29  Michael Koch  <konqueror@gmx.de>
12864
12865         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12866         new methods are:
12867         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12868           address),
12869         DatagramPacket(byte[] buf, int length, SocketAddress address),
12870         void setSocketAddress(SocketAddress address)
12871         public SocketAddress getSocketAddress()
12872
12873 2002-08-29  Tom Tromey  <tromey@redhat.com>
12874
12875         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12876         ftruncate is missing.
12877         * configure, include/config.h.in: Rebuilt.
12878         * acconfig.h (HAVE_FTRUNCATE): Mention.
12879         * configure.in: Check for ftruncate.
12880
12881 2002-08-29  Tom Tromey  <tromey@redhat.com>
12882
12883         * include/jvm.h (struct _Jv_frame_info): New structure.
12884         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12885         java-interp.h.
12886         (lookupInterp): New method.
12887         (getAddrAsString): Use _Jv_frame_info.
12888         (dladdrLookup): Likewise.
12889         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12890         interpreted frame.
12891         (lookupInterp): Declare.
12892         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12893         (fillInStackTrace): Collect information on interpreted frames.
12894         Use _Jv_frame_info.
12895         * interpret.cc: Include Thread.h.
12896         (run): Create and push _Jv_MethodChain object.
12897         (_Jv_EndOfInterpreter): New global.
12898         * java/lang/Thread.java (interp_frame): New field.
12899         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12900         Include NameFinder.h.
12901
12902 2002-08-28  Tom Tromey  <tromey@redhat.com>
12903
12904         * java/lang/Class.h: Include Package.h.
12905         (Class::getProtectionDomain): Declare.
12906         (Class::getPackage): Declare.
12907
12908 2002-08-28  Michael Koch <konqueror@gmx.de>
12909
12910         * java/net/InetSocketAddress.java: Added some documentation and argument
12911         checks for the port numbers.
12912         * java/net/DatagramSocketImplFactory.java: New file.
12913
12914 2002-08-28  Michael Koch <konqueror@gmx.de>
12915
12916         * java/net/Authenticator.java: added some documentation.
12917
12918 2002-08-27  Tom Tromey  <tromey@redhat.com>
12919
12920         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12921         class.
12922         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12923
12924 2002-08-27  Michael Koch <konqueror@gmx.de>
12925
12926         * java/net/BindException.java,
12927         java/net/JarURLConnection.java,
12928         java/net/FileNameMap.java,
12929         java/net/HttpURLConnection.java,
12930         java/net/InetSocketAddress.java,
12931         java/net/DatagramPacket.java,
12932         java/net/DatagramSocket.java,
12933         java/net/DatagramSocketImpl.java,
12934         java/net/MulticastSocket.java,
12935         java/net/PasswordAuthentication.java,
12936         java/net/ServerSocket.java,
12937         java/net/Socket.java,
12938         java/net/URLClassLoader.java,
12939         java/net/URLConnection.java: add/update of some @since/@deprecated
12940
12941 2002-08-27  Tony Kimball <alk@pobox.com>
12942             Tom Tromey  <tromey@redhat.com>
12943
12944         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12945         define.
12946         (::close): Removed.
12947         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12948         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12949         (::close): Removed.
12950         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12951         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12952
12953 2002-08-25  Adam Megacz <adam@xwt.org>
12954
12955         * include/win32.h (getcwd): copied function declaration as
12956         temporary fix for header confusion.
12957
12958 2002-08-24  Mark Wielaard <mark@klomp.org>
12959
12960         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12961         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12962         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12963         and natNameFinder.cc.
12964         * Makefile.in: Regenerate.
12965         * prims.cc: Use trace_enabled from VMThrowable.
12966         * name-finder.cc: Removed.
12967         * gcj/javaprims.h: Add class VMThrowable.
12968         * gnu/gcj/runtime/NameFinder.java: New file.
12969         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12970         * include/name-finder.h: Removed.
12971         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12972         method stackTraceString().
12973         (printStackTrace (PrintWriter)): Likewise.
12974         (stackTraceString): Complete rewrite of old printStackTrace using
12975         StringBuffer.
12976         (stackTraceStringBuffer): New helper method for stackTraceString().
12977         (fillInStackTrace): Delegate to VMTrowable.
12978         (getStackTrace): Likewise.
12979         (getStackTrace0): Removed.
12980         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12981         (setStackTrace): Copy given array.
12982         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12983         * java/lang/VMThrowable.java: New class.
12984         * java/lang/natVMThrowable.cc: New file.
12985
12986 2003-08-23  Michael Koch  <konqueror@gmx.de>
12987
12988         * java/net/URLConnection.java,
12989         java/netJarURLConnection.java,
12990         gnu/gcj/protocol/core/Connection.java,
12991         gnu/gcj/protocol/file/Connection.java,
12992         gnu/gcj/protocol/http/Connection.java: Added implementation of
12993         getHeaderFields().
12994
12995 2002-08-22  Tom Tromey  <tromey@redhat.com>
12996
12997         * gij.cc (help): Document -cp and -classpath.
12998         (main): Handle -classpath.
12999
13000 2002-08-21  Tom Tromey  <tromey@redhat.com>
13001
13002         * Makefile.in: Rebuilt.
13003         * Makefile.am (ordinary_java_source_files): Added
13004         SocketAddress.java, InetSocketAddress.java.
13005         * java/net/PortUnreachableException.java: Merged with Classpath.
13006         * java/net/SocketTimeoutException.java: Likewise.
13007         * java/net/URISyntaxException.java: Likewise.
13008         * java/net/SocketAddress.java: New class from Classpath.
13009         * java/net/InetSocketAddress.java: Likewise.
13010
13011 2003-08-21  Michael Koch  <konqueror@gmx.de>
13012
13013         * java/net/Authenticator.java: updated JDK 1.4
13014         * java/net/ContentHandler.java: updated JDK 1.4
13015
13016 2002-08-20  Michael Koch  <konqueror@gmx.de>
13017
13018         * java/net/URISyntaxException.java: New file.
13019         * java/net/SocketTimeoutException.java: New file.
13020         * java/net/PortUnreachableException.java: New file.
13021         * Makefile.am: Updated.
13022         * Makefile.in: Rebuilt.
13023
13024 2002-08-18  Mark Wielaard  <mark@klomp.org>
13025
13026         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13027         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13028         MessageDigestSpi (fixes Classpath bug #783).
13029
13030 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13031
13032         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13033         (startProcess): Allocate path for chdir in async-signal-safe way.
13034
13035 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13036
13037         Fix for PR libgcj/7570 and PR libgcj/7578:
13038         * java/lang/natPosixProcess.cc: Include java/io/File.h.
13039         (startProcess): Handle new `dir' argument.
13040         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13041         argument.
13042         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13043         argument.
13044         (startProcess): Likewise.
13045         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13046         argument.
13047         * java/lang/Runtime.java (execInternal): Added `dir' argument.
13048         (exec): Don't create new environment if ENV==null.  Pass DIR to
13049         execInternal.
13050         * java/lang/natRuntime.cc: Include java/io/File.h.
13051         (execInternal): Added `dir' argument.
13052
13053 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
13054
13055         * java/io/RandomAccessFile.java (skipBytes): Return number of
13056         bytes skipped.
13057
13058 2002-08-01  Mark Wielaard  <mark@klomp.org>
13059
13060         Reenable patch since shared library troubles on powerpc are solved:
13061         * gnu/java/security/provider/Gnu.java: Reference all implementation
13062         classes by using Class.getName().
13063         * gnu/java/security/der/DEREncodingException.java,
13064         gnu/java/security/provider/DERReader.java,
13065         gnu/java/security/provider/DERWriter.java,
13066         gnu/java/security/provider/DSAKeyPairGenerator.java,
13067         gnu/java/security/provider/DSAParameterGenerator.java,
13068         gnu/java/security/provider/DSAParameters.java,
13069         gnu/java/security/provider/DSASignature.java,
13070         gnu/java/security/provider/GnuDSAPrivateKey.java,
13071         gnu/java/security/provider/GnuDSAPublicKey.java,
13072         gnu/java/security/provider/MD5.java,
13073         gnu/java/security/util/Prime.java: New classes
13074         * Makefile.am (ordinary_java_source_files): Add above files.
13075         * Makefile.in: Regenerate.
13076         * gnu/java/security/provider/DefaultPolicy.java
13077         (getPermissions): Don't maintain static class variable of Permissions.
13078         * gnu/java/security/provider/SHA.java
13079         (engineUpdate): algorithm change.
13080         (engineDigest): algorithm change.
13081
13082 2002-08-09  Mark Wielaard  <mark@klomp.org>
13083
13084         * java/awt/image/MemoryImageSource.java: Change constructor to take
13085         int[] not byte[].
13086         * java/awt/Graphics2D.java: Uncomment methods that can now be
13087         compiled.
13088         * java/awt/GridBagLayout.java: New stub implementation.
13089         * javax/swing/text/html/HTML.java: Stub implementation.
13090         * javax/swing/text/html/parser/ParserDelegator.java: New stub
13091         implementation.
13092
13093         * Makefile.am: Add new files.
13094         * Makefile.in: Rebuilt.
13095
13096 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13097
13098         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13099         methods in Graphics2D.
13100
13101 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13102
13103         AWT/Swing merge from GNU Classpath.
13104
13105         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13106         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13107         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13108         java/awt/color/ProfileDataException.java,
13109         java/awt/CompositeContext.java, java/awt/Composite.java,
13110         java/awt/ContainerOrderFocusTraversalPolicy.java,
13111         java/awt/datatransfer/FlavorTable.java,
13112         java/awt/DefaultFocusTraversalPolicy.java,
13113         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13114         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13115         java/awt/dnd/DragGestureListener.java,
13116         java/awt/dnd/DragGestureRecognizer.java,
13117         java/awt/dnd/DragSourceAdapter.java,
13118         java/awt/dnd/DragSourceContext.java,
13119         java/awt/dnd/DragSourceDragEvent.java,
13120         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13121         java/awt/dnd/DragSourceListener.java,
13122         java/awt/dnd/DragSourceMotionListener.java,
13123         java/awt/dnd/DropTarget.java,
13124         java/awt/dnd/InvalidDnDOperationException.java,
13125         java/awt/dnd/peer/DragSourceContextPeer.java,
13126         java/awt/event/AWTEventListenerProxy.java,
13127         java/awt/event/MouseWheelEvent.java,
13128         java/awt/event/MouseWheelListener.java,
13129         java/awt/event/WindowFocusListener.java,
13130         java/awt/event/WindowStateListener.java,
13131         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13132         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13133         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13134         java/awt/geom/FlatteningPathIterator.java,
13135         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13136         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13137         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13138         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13139         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13140         java/awt/image/ImagingOpException.java,
13141         java/awt/image/RasterFormatException.java,
13142         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13143         java/awt/image/VolatileImage.java,
13144         java/awt/image/WritableRenderedImage.java,
13145         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13146         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13147         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13148         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13149         java/awt/PageAttributes.java, java/awt/print/Book.java,
13150         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13151         java/awt/print/Paper.java, java/awt/print/Printable.java,
13152         java/awt/print/PrinterAbortException.java,
13153         java/awt/print/PrinterException.java,
13154         java/awt/print/PrinterGraphics.java,
13155         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13156         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13157         java/awt/Stroke.java, java/awt/TexturePaint.java,
13158         javax/accessibility/AccessibleAction.java,
13159         javax/accessibility/AccessibleBundle.java,
13160         javax/accessibility/AccessibleComponent.java,
13161         javax/accessibility/AccessibleContext.java,
13162         javax/accessibility/AccessibleEditableText.java,
13163         javax/accessibility/AccessibleExtendedComponent.java,
13164         javax/accessibility/AccessibleExtendedTable.java,
13165         javax/accessibility/AccessibleHyperlink.java,
13166         javax/accessibility/AccessibleHypertext.java,
13167         javax/accessibility/AccessibleIcon.java,
13168         javax/accessibility/Accessible.java,
13169         javax/accessibility/AccessibleKeyBinding.java,
13170         javax/accessibility/AccessibleRelation.java,
13171         javax/accessibility/AccessibleRelationSet.java,
13172         javax/accessibility/AccessibleResourceBundle.java,
13173         javax/accessibility/AccessibleRole.java,
13174         javax/accessibility/AccessibleSelection.java,
13175         javax/accessibility/AccessibleState.java,
13176         javax/accessibility/AccessibleStateSet.java,
13177         javax/accessibility/AccessibleTable.java,
13178         javax/accessibility/AccessibleTableModelChange.java,
13179         javax/accessibility/AccessibleText.java,
13180         javax/accessibility/AccessibleValue.java,
13181         javax/swing/AbstractAction.java,
13182         javax/swing/AbstractButton.java,
13183         javax/swing/AbstractCellEditor.java,
13184         javax/swing/AbstractListModel.java,
13185         javax/swing/AbstractSet.java, javax/swing/Action.java,
13186         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13187         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13188         javax/swing/border/CompoundBorder.java,
13189         javax/swing/border/EmptyBorder.java,
13190         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13191         javax/swing/border/LineBorder.java,
13192         javax/swing/border/MatteBorder.java,
13193         javax/swing/border/TitledBorder.java,
13194         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13195         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13196         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13197         javax/swing/CellRendererPane.java,
13198         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13199         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13200         javax/swing/colorchooser/ColorSelectionModel.java,
13201         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13202         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13203         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13204         javax/swing/DefaultBoundedRangeModel.java,
13205         javax/swing/DefaultButtonModel.java,
13206         javax/swing/DefaultCellEditor.java,
13207         javax/swing/DefaultCellRenderer.java,
13208         javax/swing/DefaultComboBoxModel.java,
13209         javax/swing/DefaultDesktopManager.java,
13210         javax/swing/DefaultFocusManager.java,
13211         javax/swing/DefaultListCellRenderer.java,
13212         javax/swing/DefaultListModel.java,
13213         javax/swing/DefaultListSelectionModel.java,
13214         javax/swing/DefaultSingleSelectionModel.java,
13215         javax/swing/DesktopManager.java,
13216         javax/swing/event/AncestorEvent.java,
13217         javax/swing/event/AncestorListener.java,
13218         javax/swing/event/CaretEvent.java,
13219         javax/swing/event/CaretListener.java,
13220         javax/swing/event/CellEditorListener.java,
13221         javax/swing/event/ChangeEvent.java,
13222         javax/swing/event/ChangeListener.java,
13223         javax/swing/event/DocumentEvent.java,
13224         javax/swing/event/DocumentListener.java,
13225         javax/swing/event/EventListenerList.java,
13226         javax/swing/event/HyperlinkEvent.java,
13227         javax/swing/event/HyperlinkListener.java,
13228         javax/swing/event/InternalFrameAdapter.java,
13229         javax/swing/event/InternalFrameEvent.java,
13230         javax/swing/event/InternalFrameListener.java,
13231         javax/swing/event/ListDataEvent.java,
13232         javax/swing/event/ListDataListener.java,
13233         javax/swing/event/ListSelectionEvent.java,
13234         javax/swing/event/ListSelectionListener.java,
13235         javax/swing/event/MenuDragMouseEvent.java,
13236         javax/swing/event/MenuDragMouseListener.java,
13237         javax/swing/event/MenuEvent.java,
13238         javax/swing/event/MenuKeyEvent.java,
13239         javax/swing/event/MenuKeyListener.java,
13240         javax/swing/event/MenuListener.java,
13241         javax/swing/event/MouseInputAdapter.java,
13242         javax/swing/event/MouseInputListener.java,
13243         javax/swing/event/PopupMenuEvent.java,
13244         javax/swing/event/PopupMenuListener.java,
13245         javax/swing/event/SwingPropertyChangeSupport.java,
13246         javax/swing/event/TableColumnModelEvent.java,
13247         javax/swing/event/TableColumnModelListener.java,
13248         javax/swing/event/TableModelEvent.java,
13249         javax/swing/event/TableModelListener.java,
13250         javax/swing/event/TreeExpansionEvent.java,
13251         javax/swing/event/TreeExpansionListener.java,
13252         javax/swing/event/TreeModelEvent.java,
13253         javax/swing/event/TreeModelListener.java,
13254         javax/swing/event/TreeSelectionEvent.java,
13255         javax/swing/event/TreeSelectionListener.java,
13256         javax/swing/event/TreeWillExpandListener.java,
13257         javax/swing/event/UndoableEditEvent.java,
13258         javax/swing/event/UndoableEditListener.java,
13259         javax/swing/filechooser/FileFilter.java,
13260         javax/swing/filechooser/FileSystemView.java,
13261         javax/swing/filechooser/FileView.java,
13262         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13263         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13264         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13265         javax/swing/JApplet.java, javax/swing/JButton.java,
13266         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13267         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13268         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13269         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13270         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13271         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13272         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13273         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13274         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13275         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13276         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13277         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13278         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13279         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13280         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13281         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13282         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13283         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13284         javax/swing/JToolTip.java, javax/swing/JTree.java,
13285         javax/swing/JViewport.java, javax/swing/JWindow.java,
13286         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13287         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13288         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13289         javax/swing/MenuSelectionManager.java,
13290         javax/swing/MutableComboBoxModel.java,
13291         javax/swing/OverlayLayout.java,
13292         javax/swing/plaf/ActionMapUIResource.java,
13293         javax/swing/plaf/basic/BasicBorders.java,
13294         javax/swing/plaf/basic/BasicButtonUI.java,
13295         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13296         javax/swing/plaf/basic/BasicDefaults.java,
13297         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13298         javax/swing/plaf/basic/BasicIconFactory.java,
13299         javax/swing/plaf/basic/BasicLabelUI.java,
13300         javax/swing/plaf/basic/BasicListUI.java,
13301         javax/swing/plaf/basic/BasicLookAndFeel.java,
13302         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13303         javax/swing/plaf/basic/BasicPanelUI.java,
13304         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13305         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13306         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13307         javax/swing/plaf/basic/BasicTextUI.java,
13308         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13309         javax/swing/plaf/basic/BasicTreeUI.java,
13310         javax/swing/plaf/basic/BasicViewportUI.java,
13311         javax/swing/plaf/BorderUIResource.java,
13312         javax/swing/plaf/ButtonUI.java,
13313         javax/swing/plaf/ColorChooserUI.java,
13314         javax/swing/plaf/ColorUIResource.java,
13315         javax/swing/plaf/ComboBoxUI.java,
13316         javax/swing/plaf/ComponentInputMapUIResource.java,
13317         javax/swing/plaf/ComponentUI.java,
13318         javax/swing/plaf/DesktopIconUI.java,
13319         javax/swing/plaf/DesktopPaneUI.java,
13320         javax/swing/plaf/DimensionUIResource.java,
13321         javax/swing/plaf/FileChooserUI.java,
13322         javax/swing/plaf/FontUIResource.java,
13323         javax/swing/plaf/IconUIResource.java,
13324         javax/swing/plaf/InputMapUIResource.java,
13325         javax/swing/plaf/InsetsUIResource.java,
13326         javax/swing/plaf/InternalFrameUI.java,
13327         javax/swing/plaf/LabelUI.java,
13328         javax/swing/plaf/ListUI.java,
13329         javax/swing/plaf/MenuBarUI.java,
13330         javax/swing/plaf/MenuItemUI.java,
13331         javax/swing/plaf/OptionPaneUI.java,
13332         javax/swing/plaf/PanelUI.java,
13333         javax/swing/plaf/PopupMenuUI.java,
13334         javax/swing/plaf/ProgressBarUI.java,
13335         javax/swing/plaf/RootPaneUI.java,
13336         javax/swing/plaf/ScrollBarUI.java,
13337         javax/swing/plaf/ScrollPaneUI.java,
13338         javax/swing/plaf/SeparatorUI.java,
13339         javax/swing/plaf/SliderUI.java,
13340         javax/swing/plaf/SplitPaneUI.java,
13341         javax/swing/plaf/TabbedPaneUI.java,
13342         javax/swing/plaf/TableHeaderUI.java,
13343         javax/swing/plaf/TableUI.java,
13344         javax/swing/plaf/TextUI.java,
13345         javax/swing/plaf/ToolBarUI.java,
13346         javax/swing/plaf/ToolTipUI.java,
13347         javax/swing/plaf/TreeUI.java,
13348         javax/swing/plaf/UIResource.java,
13349         javax/swing/plaf/ViewportUI.java,
13350         javax/swing/ProgressMonitorInputStream.java,
13351         javax/swing/ProgressMonitor.java,
13352         javax/swing/Renderer.java,
13353         javax/swing/RepaintManager.java,
13354         javax/swing/RootPaneContainer.java,
13355         javax/swing/Scrollable.java,
13356         javax/swing/ScrollPaneConstants.java,
13357         javax/swing/ScrollPaneLayout.java,
13358         javax/swing/SingleSelectionModel.java,
13359         javax/swing/SizeRequirements.java,
13360         javax/swing/SizeSequence.java,
13361         javax/swing/SwingConstants.java,
13362         javax/swing/SwingUtilities.java,
13363         javax/swing/table/AbstractTableModel.java,
13364         javax/swing/table/DefaultTableCellRenderer.java,
13365         javax/swing/table/DefaultTableColumnModel.java,
13366         javax/swing/table/DefaultTableModel.java,
13367         javax/swing/table/TableCellEditor.java,
13368         javax/swing/table/TableCellRenderer.java,
13369         javax/swing/table/TableColumn.java,
13370         javax/swing/table/TableColumnModel.java,
13371         javax/swing/table/TableModel.java,
13372         javax/swing/text/AbstractDocument.java,
13373         javax/swing/text/AttributeSet.java,
13374         javax/swing/text/BadLocationException.java,
13375         javax/swing/text/Caret.java,
13376         javax/swing/text/CharacterIterator.java,
13377         javax/swing/text/ComponentView.java,
13378         javax/swing/text/DefaultCaret.java,
13379         javax/swing/text/DefaultEditorKit.java,
13380         javax/swing/text/Document.java,
13381         javax/swing/text/EditorKit.java,
13382         javax/swing/text/Element.java,
13383         javax/swing/text/GapContent.java,
13384         javax/swing/text/JTextComponent.java,
13385         javax/swing/text/Keymap.java,
13386         javax/swing/text/MutableAttributeSet.java,
13387         javax/swing/text/PlainDocument.java,
13388         javax/swing/text/PlainEditorKit.java,
13389         javax/swing/text/Position.java,
13390         javax/swing/text/Segment.java,
13391         javax/swing/text/StyledDocument.java,
13392         javax/swing/text/StyledEditorKit.java,
13393         javax/swing/text/Style.java,
13394         javax/swing/text/TextAction.java,
13395         javax/swing/text/ViewFactory.java,
13396         javax/swing/text/View.java,
13397         javax/swing/Timer.java,
13398         javax/swing/ToggleButtonModel.java,
13399         javax/swing/ToolTipManager.java,
13400         javax/swing/tree/AbstractLayoutCache.java,
13401         javax/swing/tree/DefaultMutableTreeNode.java,
13402         javax/swing/tree/DefaultTreeCellEditor.java,
13403         javax/swing/tree/DefaultTreeCellRenderer.java,
13404         javax/swing/tree/DefaultTreeModel.java,
13405         javax/swing/tree/DefaultTreeSelectionModel.java,
13406         javax/swing/tree/ExpandVetoException.java,
13407         javax/swing/tree/FixedHeightLayoutCache.java,
13408         javax/swing/tree/MutableTreeNode.java,
13409         javax/swing/tree/RowMapper.java,
13410         javax/swing/tree/TreeCellEditor.java,
13411         javax/swing/tree/TreeCellRenderer.java,
13412         javax/swing/tree/TreeModel.java,
13413         javax/swing/tree/TreeNode.java,
13414         javax/swing/tree/TreePath.java,
13415         javax/swing/tree/TreeSelectionModel.java,
13416         javax/swing/tree/VariableHeightLayoutCache.java,
13417         javax/swing/UIDefaults.java,
13418         javax/swing/UIManager.java,
13419         javax/swing/undo/AbstractUndoableEdit.java,
13420         javax/swing/undo/CannotRedoException.java,
13421         javax/swing/undo/CannotUndoException.java,
13422         javax/swing/undo/CompoundEdit.java,
13423         javax/swing/undo/StateEditable.java,
13424         javax/swing/undo/StateEdit.java,
13425         javax/swing/undo/UndoableEdit.java,
13426         javax/swing/undo/UndoableEditSupport.java,
13427         javax/swing/undo/UndoManager.java,
13428         javax/swing/UnsupportedLookAndFeelException.java,
13429         javax/swing/ViewportLayout.java,
13430         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13431
13432         * java/awt/ActiveEvent.java,
13433         java/awt/Adjustable.java, java/awt/AWTError.java,
13434         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13435         java/awt/AWTException.java, java/awt/AWTPermission.java,
13436         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13437         java/awt/Color.java, java/awt/Component.java,
13438         java/awt/ComponentOrientation.java, java/awt/Container.java,
13439         java/awt/datatransfer/MimeTypeParseException.java,
13440         java/awt/datatransfer/Transferable.java,
13441         java/awt/datatransfer/UnsupportedFlavorException.java,
13442         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13443         java/awt/event/ActionListener.java,
13444         java/awt/event/AdjustmentEvent.java,
13445         java/awt/event/AdjustmentListener.java,
13446         java/awt/event/AWTEventListener.java,
13447         java/awt/event/ComponentAdapter.java,
13448         java/awt/event/ComponentEvent.java,
13449         java/awt/event/ComponentListener.java,
13450         java/awt/event/ContainerAdapter.java,
13451         java/awt/event/ContainerEvent.java,
13452         java/awt/event/ContainerListener.java,
13453         java/awt/event/FocusAdapter.java,
13454         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13455         java/awt/event/HierarchyBoundsAdapter.java,
13456         java/awt/event/HierarchyBoundsListener.java,
13457         java/awt/event/HierarchyEvent.java,
13458         java/awt/event/HierarchyListener.java,
13459         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13460         java/awt/event/InputMethodListener.java,
13461         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13462         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13463         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13464         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13465         java/awt/event/MouseListener.java,
13466         java/awt/event/MouseMotionAdapter.java,
13467         java/awt/event/MouseMotionListener.java,
13468         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13469         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13470         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13471         java/awt/event/WindowListener.java, java/awt/Font.java,
13472         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13473         java/awt/geom/Ellipse2D.java,
13474         java/awt/geom/IllegalPathStateException.java,
13475         java/awt/geom/Line2D.java,
13476         java/awt/geom/NoninvertibleTransformException.java,
13477         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13478         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13479         java/awt/geom/RoundRectangle2D.java,
13480         java/awt/GraphicsConfiguration.java,
13481         java/awt/IllegalComponentStateException.java,
13482         java/awt/image/IndexColorModel.java,
13483         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13484         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13485         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13486         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13487         java/awt/MenuItem.java, java/awt/PaintContext.java,
13488         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13489         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13490         java/awt/PrintJob.java, java/awt/Rectangle.java,
13491         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13492         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13493         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13494
13495         * java/awt/im/spi/InputMethod.java,
13496         java/awt/im/spi/InputMethodContext.java,
13497         java/awt/im/spi/InputMethodDescriptor.java,
13498         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13499         java/awt/image/renderable/ParameterBlock.java,
13500         java/awt/image/renderable/RenderContext.java,
13501         java/awt/image/renderable/RenderableImage.java,
13502         java/awt/image/renderable/RenderableImageOp.java,
13503         java/awt/image/renderable/RenderableImageProducer.java,
13504         java/awt/image/renderable/RenderedImageFactory.java: New files from
13505         classpath.
13506
13507         * gnu/java/awt/EventModifier.java,
13508         gnu/java/awt/image/ImageDecoder.java,
13509         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13510
13511         * gnu/awt/xlib/XGraphicsConfiguration.java,
13512         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13513         API.
13514
13515         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13516         GNU Classpath.
13517
13518         * Makefile.am: Add new files.
13519         * Makefile.in: Rebuilt.
13520
13521 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13522
13523         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13524         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13525         findResource, getResources, findResources): Add javadoc from classpath.
13526         (getSystemResources): Implemented.
13527
13528 2002-08-01  Mark Wielaard  <mark@klomp.org>
13529
13530         Revert patch that breaks libgcj shared library on powerpc:
13531         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13532         implementation classes by using Class.getName(). Uses Strings again.
13533         * gnu/java/security/der/DEREncodingException.java,
13534         gnu/java/security/provider/DERReader.java,
13535         gnu/java/security/provider/DERWriter.java,
13536         gnu/java/security/provider/DSAKeyPairGenerator.java,
13537         gnu/java/security/provider/DSAParameterGenerator.java,
13538         gnu/java/security/provider/DSAParameters.java,
13539         gnu/java/security/provider/DSASignature.java,
13540         gnu/java/security/provider/GnuDSAPrivateKey.java,
13541         gnu/java/security/provider/GnuDSAPublicKey.java,
13542         gnu/java/security/provider/MD5.java,
13543         gnu/java/security/util/Prime.java: Removed.
13544         * Makefile.am (ordinary_java_source_files): Remove above files.
13545         * Makefile.in: Regenerate.
13546         * gnu/java/security/provider/DefaultPolicy.java
13547         (getPermissions): Revert to maintaining static class variable of
13548         Permissions.
13549         * gnu/java/security/provider/SHA.java
13550         (engineUpdate): Revert algorithm change.
13551         (engineDigest): Revert algorithm change.
13552
13553 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13554
13555         * configure.host: Add SH support.
13556         * sysdep/sh/locks.h: New file.
13557
13558 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13559
13560         * java/awt/Frame.java (Frame): Remove println calls.
13561
13562 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13563
13564         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13565         * configure: Rebuilt.
13566
13567 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13568
13569         * sysdep/powerpc/locks.h: Formatting.
13570         (_LARX): Define.
13571         (_STCX): Define.
13572         (compare_and_swap): Use _LARX and _STCX.
13573         (compare_and_swap_release): Likewise.
13574
13575 2002-07-26  Tom Tromey  <tromey@redhat.com>
13576
13577         * java/net/Authenticator.java: New version from Classpath.
13578         * java/net/DatagramSocketImpl.java: New version from Classpath.
13579
13580 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13581
13582         * configure.host: Add powerpc64*-* entry.
13583
13584 2002-07-26  Tom Tromey  <tromey@redhat.com>
13585
13586         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13587         fcntl.h.
13588
13589 2002-07-24  Tom Tromey  <tromey@redhat.com>
13590
13591         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13592         argument to _load.
13593
13594 2002-07-24  Tom Tromey  <tromey@redhat.com>
13595             Tony Kimball <alk@pobox.com>
13596
13597         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13598         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13599         * java/io/RandomAccessFile.java (setLength): New method.
13600         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13601         * java/io/FileDescriptor.java (setLength): New method.
13602
13603 2002-07-24  Mark Wielaard  <mark@klomp.org>
13604
13605         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13606         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13607         field call setAccessible(true).
13608         (setByteField): Likewise.
13609         (setCharField): Likewise.
13610         (setDoubleField): Likewise.
13611         (setFloatField): Likewise.
13612         (setIntField): Likewise.
13613         (setLongField): Likewise.
13614         (setShortField): Likewise.
13615         (setObjectField): Likewise.
13616
13617 2002-07-24  Tom Tromey  <tromey@redhat.com>
13618
13619         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13620         use toString() to format array element.
13621
13622 2002-07-23  Mark Wielaard  <mark@klomp.org>
13623
13624         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13625         MessageDigestSpi (fixes Classpath bug #783).
13626
13627 2002-07-21  Mark Wielaard  <mark@klomp.org>
13628
13629         * gnu/java/security/provider/Gnu.java: Reference all implementation
13630         classes by using Class.getName().
13631
13632 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13633
13634         * java/lang/ieeefp.h: Add x86-64 support.
13635         * configure.in: Likewise.
13636         * configure.host: Likewise.
13637         * configure: Regenerated.
13638         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13639
13640 2002-07-16  Mark Wielaard  <mark@klomp.org>
13641
13642         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13643         (whitespaceChars): call resetChar().
13644
13645 2002-07-15  Tom Tromey  <tromey@redhat.com>
13646
13647         * Makefile.in: Rebuilt.
13648         * Makefile.am (awt_java_source_files): Added new files.
13649         * java/beans/ExceptionListener.java: Merged with Classpath.
13650         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13651         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13652         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13653         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13654         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13655         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13656         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13657
13658 2002-07-14  Mark Wielaard  <mark@klomp.org>
13659
13660         * gnu/java/security/der/DEREncodingException.java,
13661         gnu/java/security/provider/DERReader.java,
13662         gnu/java/security/provider/DERWriter.java,
13663         gnu/java/security/provider/DSAKeyPairGenerator.java,
13664         gnu/java/security/provider/DSAParameterGenerator.java,
13665         gnu/java/security/provider/DSAParameters.java,
13666         gnu/java/security/provider/DSASignature.java,
13667         gnu/java/security/provider/GnuDSAPrivateKey.java,
13668         gnu/java/security/provider/GnuDSAPublicKey.java,
13669         gnu/java/security/provider/MD5.java,
13670         gnu/java/security/util/Prime.java: New files from Classpath.
13671         * Makefile.am (ordinary_java_source_files): Add new files.
13672         * Makefile.in: Regenerate.
13673
13674 2002-07-14  C. Brian Jones <cbj@gnu.org>
13675
13676         * gnu/java/security/provider/DefaultPolicy.java
13677         (getPermissions): do not maintain static class variable of
13678         Permissions
13679         * gnu/java/security/provider/SHA.java
13680         (engineUpdate): algorithm change
13681         (engineDigest): algorithm change
13682
13683 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13684
13685         For PR libgcj/7292:
13686         * java/lang/Character.java (toString(char)): Now static.
13687
13688 2002-07-12  Mark Wielaard  <mark@klomp.org>
13689
13690         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13691         (getStackTrace0): new method.
13692         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13693         (printStackTrace(PrintWriter)): replace with pure java implementation.
13694         (printRawStackTrace): removed.
13695         (getStackTrace0): new method.
13696         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13697         * gcj/javaprims.h: regenerate class list.
13698         * include/name-finder.h (lookup): new returns StackTraceElement*.
13699         (method_name, file_name): fields removed.
13700         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13701         (~_Jv_name_finder): close new descriptors.
13702         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13703         (createStackTraceElement): new method.
13704         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13705
13706 2002-07-10  Tom Tromey  <tromey@redhat.com>
13707
13708         * configure: Rebuilt.
13709         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13710
13711 2002-07-08  Mark Wielaard  <mark@klomp.org>
13712
13713         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13714         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13715         java.sql.DatabaseMetaData.TestJdbc20
13716
13717 2002-07-05  Tony Kimball  <alk@pobox.com>
13718
13719         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13720
13721 2002-07-04  Tom Tromey  <tromey@redhat.com>
13722             Jeff Sturm  <jsturm@one-point.com>
13723
13724         Fix for PR libgcj/7060:
13725         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13726         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13727         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13728         * java/lang/Class.java (getMethod): New Java implementation;
13729         complies with spec.
13730         (_getMethod): New native method.
13731
13732 2002-07-02  Tom Tromey  <tromey@redhat.com>
13733             David Hovemeyer  <daveho@cs.umd.edu>
13734
13735         * java/text/ChoiceFormat.java
13736         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13737         in check loop.
13738         * java/text/MessageFormat.java
13739         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13740         to MessageFormat.
13741
13742 2002-07-01  Tom Tromey  <tromey@redhat.com>
13743
13744         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13745         StringTokenizer on null string.  For PR libgcj/7180.
13746         From daveho@cs.umd.edu.
13747
13748 2002-06-24  Tom Tromey  <tromey@redhat.com>
13749
13750         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13751         (IntegerClass): Likewise.
13752         * java/lang/natClass.cc (CloneableClass): Removed.
13753         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13754         ConstructorClass): Likewise.
13755         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13756         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13757         SerializableClass): Likewise.
13758         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13759         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13760         LongClass, FloatClass, DoubleClass): Likewise.
13761
13762         * verify.cc (branch_prepass): Updated for change to exception
13763         handler type.
13764         (verify_instructions_0): Likewise.
13765         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13766         (handleExceptionTableEntry): Updated for change to exception
13767         handler type.
13768         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13769         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13770         (union _Jv_InterpPC): New.
13771         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13772         (class _Jv_InterpMethod): Added new `prepared' field.
13773         (class _Jv_InterpMethod): Added `compile' method.  Removed
13774         `continue1' and `find_exception'.  Changed arguments to `run'.
13775         * interpret.cc (union insn_slot): New.
13776         (find_exception): Removed.
13777         (run_normal): Removed most logic.
13778         (run_synch_object): Likewise; also, use JvSynchronize.
13779         (run_synch_class): Likewise.
13780         (run): Removed.
13781         (continue1): Renamed as `run'.  Compile bytecode if required.
13782         Add new code to allow refinement of direct-threaded code at
13783         runtime.  Handle exceptions.
13784         (SAVE_PC): Removed.
13785         (compile): New method.
13786         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13787         (NULLARRAYCHECK): Don't use SAVE_PC.
13788         (pc_t): New typedef.
13789         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13790         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13791
13792 2002-06-23  Tom Tromey  <tromey@redhat.com>
13793
13794         * configure: Rebuilt.
13795         * configure.in (INTERPRETER): New subst.
13796         (AM_RUNTESTFLAGS): Don't subst.
13797
13798         * Makefile.in: Rebuilt.
13799         * Makefile.am ($(srcdir)/java/lang/Object.h,
13800         $(srcdir)/java/lang/Class.h): Added dummy targets.
13801
13802 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13803
13804         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13805
13806         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13807         java/sql/Savepoint.java: New files.
13808         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13809         java/sql/Blob.java, java/sql/CallableStatement.java,
13810         java/sql/Clob.java, java/sql/Connection.java,
13811         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13812         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13813         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13814         java/sql/Ref.java, java/sql/ResultSet.java,
13815         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13816         java/sql/SQLException.java, java/sql/SQLInput.java,
13817         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13818         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13819         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13820         (JDK 1.4) specification.
13821         * javax/sql/ConnectionEvent.java,
13822         javax/sql/ConnectionEventListener.java,
13823         javax/sql/ConnectionPoolDataSource.java,
13824         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13825         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13826         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13827         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13828         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13829         javax/sql/XADataSource.java: New files.
13830         * Makefile.am: Add new files.
13831         * Makefile.in: Rebuilt.
13832
13833 2002-06-20  Tom Tromey  <tromey@redhat.com>
13834
13835         For PR libgcj/7073:
13836         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13837         exists.
13838         * defineclass.cc (handleClassBegin): Superclass for interface is
13839         `null'.
13840
13841 2002-06-18  Tom Tromey  <tromey@redhat.com>
13842
13843         * gcj/javaprims.h: Updated class declaration list.
13844         * Makefile.in: Rebuilt.
13845         * Makefile.am (core_java_source_files): Removed
13846         BasicMapEntry.java.
13847         * java/util/BasicMapEntry.java: Removed.
13848
13849 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13850
13851         * java/net/natPlainDatagramSocketImpl.cc (receive):
13852         Check bounds of argument to FD_SET.
13853         (setOption): Throw exception if socket is closed.
13854
13855         * java/net/natPlainSocketImpl.cc (accept, read):
13856         Check bounds of argument to FD_SET.
13857         (setOption): Throw exception if socket is closed.
13858
13859 2002-06-18  Tom Tromey  <tromey@redhat.com>
13860
13861         * gcj/javaprims.h: Updated class declaration list.
13862         * Makefile.in: Rebuilt.
13863         * Makefile.am (core_java_source_files): Added
13864         PropertyPermissionCollection.java.
13865         * java/lang/Thread.java (group, name): Now package-private.
13866         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13867         * java/util/AbstractList.java: Likewise.
13868         * java/util/AbstractMap.java: Likewise.
13869         * java/util/Calendar.java: Likewise.
13870         * java/util/Collections.java: Likewise.
13871         * java/util/HashMap.java: Likewise.
13872         * java/util/Hashtable.java: Likewise.
13873         * java/util/LinkedHashMap.java: Likewise.
13874         * java/util/LinkedList.java: Likewise.
13875         * java/util/List.java: Likewise.
13876         * java/util/ListResourceBundle.java: Likewise.
13877         * java/util/Map.java: Likewise.
13878         * java/util/Observable.java: Likewise.
13879         * java/util/Properties.java: Likewise.
13880         * java/util/PropertyPermission.java: Likewise.
13881         * java/util/PropertyPermissionCollection.java: Likewise.
13882         * java/util/PropertyResourceBundle.java: Likewise.
13883         * java/util/Random.java: Likewise.
13884         * java/util/SimpleTimeZone.java: Likewise.
13885         * java/util/StringTokenizer.java: Likewise.
13886         * java/util/TimerTask.java: Likewise.
13887         * java/util/TreeMap.java: Likewise.
13888         * java/util/WeakHashMap.java: Likewise.
13889         * java/util/jar/Attributes.java: Likewise.
13890         * java/util/jar/JarException.java: Likewise.
13891         * java/util/jar/Manifest.java: Likewise.
13892
13893 2002-06-17  Tom Tromey  <tromey@redhat.com>
13894
13895         * gcj/javaprims.h: Updated class declaration list.
13896         * Makefile.in: Rebuilt.
13897         * Makefile.am (core_java_source_files): Added new file.
13898         * java/util/EventListenerProxy.java: New file.
13899         * java/util/EventListener.java: Re-merge with Classpath.
13900         * java/util/EventObject.java: Re-merge with Classpath.
13901
13902 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13903
13904         * java/lang/ClassNotFoundException.java: New Classpath version.
13905
13906 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13907
13908         * java/rmi/activation/ActivateFailedException.java: Remerge from
13909         Classpath version.
13910         * java/rmi/activation/ActivationException.java: Ditto.
13911         * java/rmi/activation/UnknownGroupException.java: Ditto.
13912         * java/rmi/activation/UnknownObjectException.java: Ditto.
13913         * java/rmi/server/ExportException: Ditto.
13914         * java/rmi/server/ServerCloneException: Ditto.
13915         * java/rmi/server/ServerNotActiveException: Ditto.
13916         * java/rmi/server/SkeletonMismatchException: Ditto.
13917         * java/rmi/server/SkeletonNotFoundException: Ditto.
13918         * java/rmi/server/SocketSecurityException: Ditto.
13919
13920 2002-06-16  Tom Tromey  <tromey@redhat.com>
13921
13922         * gcj/javaprims.h: Updated class declaration list.
13923
13924         * java/io/LineNumberInputStream.java: Merged with Classpath.
13925
13926         * java/lang/RuntimeException.java: Re-merge with Classpath.
13927         * java/util/ArrayList.java: Likewise.
13928         * java/util/Arrays.java: Likewise.
13929         * java/util/BitSet.java: Likewise.
13930         * java/util/Dictionary.java: Likewise.
13931         * java/util/IdentityHashMap.java: Likewise.
13932         * java/util/MissingResourceException.java: Likewise.
13933         * java/util/Observer.java: Likewise.
13934         * java/util/TooManyListenersException.java: Likewise.
13935         * java/util/zip/DataFormatException.java: Likewise.
13936         * java/util/zip/ZipException.java: Likewise.
13937
13938 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13939
13940         * java/rmi/AccessException.java: Remerge from Classpath.
13941         * java/rmi/AlreadyBoundException.java: Ditto.
13942         * java/rmi/ConnectException.java: Ditto.
13943         * java/rmi/ConnectIOException.java: Ditto.
13944         * java/rmi/MarshalException.java: Ditto.
13945         * java/rmi/NoSuchObjectException.java: Ditto.
13946         * java/rmi/NotBoundException.java: Ditto.
13947         * java/rmi/RemoteException.java: Ditto.
13948         * java/rmi/RMISecurityException.java: Ditto.
13949         * java/rmi/ServerError.java: Ditto.
13950         * java/rmi/ServerException.java: Ditto.
13951         * java/rmi/ServerRuntimeException.java: Ditto.
13952         * java/rmi/StubNotFoundException.java: Ditto.
13953         * java/rmi/UnexpectedExcpetion.java: Ditto.
13954         * java/rmi/UnknownHostException.java: Ditto.
13955         * java/rmi/UnmarshalException.java: Ditto.
13956
13957 2002-06-15  Tom Tromey  <tromey@redhat.com>
13958
13959         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13960         * java/lang/ArithmeticException.java: Likewise.
13961         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13962         * java/lang/ArrayStoreException.java: Likewise.
13963         * java/lang/Byte.java: Likewise.
13964         * java/lang/CharSequence.java: Likewise.
13965         * java/lang/ClassCastException.java: Likewise.
13966         * java/lang/ClassCircularityError.java: Likewise.
13967         * java/lang/ClassFormatError.java: Likewise.
13968         * java/lang/CloneNotSupportedException.java: Likewise.
13969         * java/lang/Cloneable.java: Likewise.
13970         * java/lang/Comparable.java: Likewise.
13971         * java/lang/Compiler.java: Likewise.
13972         * java/lang/Error.java: Likewise.
13973         * java/lang/ExceptionInInitializerError.java: Likewise.
13974         * java/lang/IllegalAccessError.java: Likewise.
13975         * java/lang/IllegalAccessException.java: Likewise.
13976         * java/lang/IllegalArgumentException.java: Likewise.
13977         * java/lang/IllegalMonitorStateException.java: Likewise.
13978         * java/lang/IllegalStateException.java: Likewise.
13979         * java/lang/IllegalThreadStateException.java: Likewise.
13980         * java/lang/IncompatibleClassChangeError.java: Likewise.
13981         * java/lang/IndexOutOfBoundsException.java: Likewise.
13982         * java/lang/InheritableThreadLocal.java: Likewise.
13983         * java/lang/InstantiationError.java: Likewise.
13984         * java/lang/InstantiationException.java: Likewise.
13985         * java/lang/InternalError.java: Likewise.
13986         * java/lang/InterruptedException.java: Likewise.
13987         * java/lang/LinkageError.java: Likewise.
13988         * java/lang/NegativeArraySizeException.java: Likewise.
13989         * java/lang/NoClassDefFoundError.java: Likewise.
13990         * java/lang/NoSuchFieldError.java: Likewise.
13991         * java/lang/NoSuchFieldException.java: Likewise.
13992         * java/lang/NoSuchMethodError.java: Likewise.
13993         * java/lang/NoSuchMethodException.java: Likewise.
13994         * java/lang/NullPointerException.java: Likewise.
13995         * java/lang/NumberFormatException.java: Likewise.
13996         * java/lang/OutOfMemoryError.java: Likewise.
13997         * java/lang/Process.java: Likewise.
13998         * java/lang/Runnable.java: Likewise.
13999         * java/lang/RuntimePermission.java: Likewise.
14000         * java/lang/SecurityException.java: Likewise.
14001         * java/lang/Short.java: Likewise.
14002         * java/lang/StackOverflowError.java: Likewise.
14003         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14004         * java/lang/ThreadDeath.java: Likewise.
14005         * java/lang/ThreadLocal.java: Likewise.
14006         * java/lang/UnknownError.java: Likewise.
14007         * java/lang/UnsatisfiedLinkError.java: Likewise.
14008         * java/lang/UnsupportedClassVersionError.java: Likewise.
14009         * java/lang/UnsupportedOperationException.java: Likewise.
14010         * java/lang/VerifyError.java: Likewise.
14011         * java/lang/VirtualMachineError.java: Likewise.
14012         * java/lang/reflect/InvocationTargetException.java: Likewise.
14013         * java/net/BindException.java: Likewise.
14014         * java/net/ConnectException.java: Likewise.
14015         * java/net/MalformedURLException.java: Likewise.
14016         * java/net/NoRouteToHostException.java: Likewise.
14017         * java/net/ProtocolException.java: Likewise.
14018         * java/net/SocketException.java: Likewise.
14019         * java/net/UnknownHostException.java: Likewise.
14020         * java/net/UnknownServiceException.java: Likewise.
14021
14022         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14023         * java/io/CharConversionException.java: Likewise.
14024         * java/io/EOFException.java: Likewise.
14025         * java/io/FileNotFoundException.java: Likewise.
14026         * java/io/IOException.java: Likewise.
14027         * java/io/InterruptedIOException.java: Likewise.
14028         * java/io/InvalidClassException.java: Likewise.
14029         * java/io/InvalidObjectException.java: Likewise.
14030         * java/io/NotActiveException.java: Likewise.
14031         * java/io/NotSerializableException.java: Likewise.
14032         * java/io/ObjectStreamException.java: Likewise.
14033         * java/io/ObjectStreamConstants.java: Likewise.
14034         * java/io/OptionalDataException.java: Likewise.
14035         * java/io/PipedInputStream.java: Likewise.
14036         * java/io/PushbackInputStream.java: Likewise.
14037         * java/io/StreamCorruptedException.java: Likewise.
14038         * java/io/SyncFailedException.java: Likewise.
14039         * java/io/UTFDataFormatException.java: Likewise.
14040         * java/io/UnsupportedEncodingException.java: Likewise.
14041         * java/io/WriteAbortedException.java: Likewise.
14042
14043 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
14044
14045         * java/text/ChoiceFormat.java: Update comments from Classpath.
14046         * java/text/ParseException.java (serialVersionUID): New
14047         field from Classpath.
14048         * java/text/ParseException.java: Update formatting & comments
14049         from Classpath.
14050
14051 2002-06-15  Tom Tromey  <tromey@redhat.com>
14052
14053         * java/util/zip/InflaterInputStream.java (read): Loop if data has
14054         been read but none output by inflater.
14055         * java/util/zip/natDeflater.cc (reset): Set is_finished.
14056         * java/util/zip/natInflater.cc (reset): Set dist_needed and
14057         is_finished.
14058         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14059         version.
14060         * java/util/zip/ZipFile.java: Replaced with Classpath version.
14061         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14062         * java/util/zip/ZipInputStream.java: Replaced with Classpath
14063         version.
14064         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14065
14066 2002-06-13  Tom Tromey  <tromey@redhat.com>
14067
14068         * java/lang/natString.cc (init): Handle case where DONT_COPY is
14069         true and OFFSET!=0.
14070         * java/lang/String.java (String(char[],int,int,boolean): New
14071         constructor.
14072         * java/lang/Long.java: Imported new version from Classpath.
14073         * java/lang/Number.java: Likewise.
14074         * java/lang/Integer.java: Likewise.
14075         * java/lang/Long.java: Likewise.
14076         * java/lang/Float.java: Likewise.
14077         * java/lang/Boolean.java: Likewise.
14078         * java/lang/Double.java: Likewise.
14079         * java/lang/Void.java: Likewise.
14080
14081 2002-06-12  Tom Tromey  <tromey@redhat.com>
14082
14083         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14084         Fixes PR libgcj/6652.
14085
14086 2002-06-10  Tom Tromey  <tromey@redhat.com>
14087
14088         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14089         (Class::getPackagePortion): Likewise.
14090         * java/lang/Class.java (desiredAssertionStatus): New method from
14091         Classpath.
14092         (getPackagePortion): Likewise.
14093         * java/lang/VMClassLoader.java (defaultAssertionStatus,
14094         packageAssertionStatus, classAssertionStatus): New methods from
14095         Classpath.
14096         * java/lang/ClassLoader.java (defaultAssertionStatus,
14097         systemPackageAssertionStatus, packageAssertionStatus,
14098         systemClassAssertionStatus, classAssertionStatus): New fields from
14099         Classpath.
14100         (setDefaultAssertionStatus, setPackageAssertionStatus,
14101         setClassAssertionStatus, clearAssertionStatus): New methods from
14102         Classpath.
14103         * Makefile.in: Rebuilt.
14104         * Makefile.am (core_java_source_files): Added AssertionError.java.
14105         * java/lang/AssertionError.java: New from Classpath.
14106
14107 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14108
14109         * configure.host: Disable hash synchronization and slow_pthread_self
14110         for cygwin.
14111
14112 2002-06-06  Adam Megacz <adam@xwt.org>
14113
14114         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14115         locking, just like the Sun JVM does.
14116
14117 2002-06-05  H.J. Lu  (hjl@gnu.org)
14118
14119         * Makefile.am (libgcj_convenience.la): Revert the last change.
14120         (libgcj.la): Likewise.
14121         * Makefile.in: Regenerated.
14122
14123 2002-06-04  H.J. Lu  (hjl@gnu.org)
14124
14125         * Makefile.am (libgcj_convenience.la): New target.
14126         (libgcj.la): Depend on libgcj_convenience.la.
14127         * Makefile.in: Regenerated.
14128
14129 2002-06-04  H.J. Lu  (hjl@gnu.org)
14130
14131         * configure.in (--with-newlib): New option:
14132         Check ${with_newlib} instead of ${with_cross_host} for newlib.
14133         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14134         Linux.
14135         * configure: Regenerated.
14136
14137 2002-06-04  Tom Tromey  <tromey@redhat.com>
14138
14139         * java/util/natTimeZone.cc: Include <stdio.h>.
14140
14141 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
14142
14143         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14144         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14145         Set SIGNAL_HANDLER=include/s390-linux.h.
14146         * configure: Regenerate.
14147         * include/s390-linux.h: New file.
14148
14149 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14150
14151         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14152         not "stackTrace".
14153
14154 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14155
14156         Merge JDK 1.4 java.security changes from classpath.
14157
14158         * java/security/AccessControlException.java: Merge from Classpath.
14159         * java/security/AccessController.java: Likewise.
14160         * java/security/AllPermission.java: Likewise.
14161         * java/security/BasicPermission.java: Likewise.
14162         * java/security/Certificate.java: Likewise.
14163         * java/security/CodeSource.java: Likewise.
14164         * java/security/DigestException.java: Likewise.
14165         * java/security/DigestOutputStream.java: Likewise.
14166         * java/security/DomainCombiner.java: Likewise.
14167         * java/security/GeneralSecurityException.java: Likewise.
14168         * java/security/Guard.java: Likewise.
14169         * java/security/GuardedObject.java: Likewise.
14170         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14171         * java/security/InvalidKeyException.java: Likewise.
14172         * java/security/InvalidParameterException.java: Likewise.
14173         * java/security/Key.java: Likewise.
14174         * java/security/KeyException.java: Likewise.
14175         * java/security/KeyManagementException.java: Likewise.
14176         * java/security/KeyStoreException.java: Likewise.
14177         * java/security/MessageDigest.java: Likewise.
14178         * java/security/NoSuchAlgorithmException.java: Likewise.
14179         * java/security/NoSuchProviderException.java: Likewise.
14180         * java/security/Permission.java: Likewise.
14181         * java/security/PermissionCollection.java: Likewise.
14182         * java/security/Permissions.java: Likewise.
14183         * java/security/Policy.java: Likewise.
14184         * java/security/Principal.java: Likewise.
14185         * java/security/PrivateKey.java: Likewise.
14186         * java/security/PrivilegedAction.java: Likewise.
14187         * java/security/PrivilegedActionException.java: Likewise.
14188         * java/security/PrivilegedExceptionAction.java: Likewise.
14189         * java/security/ProtectionDomain.java: Likewise.
14190         * java/security/ProviderException.java: Likewise.
14191         * java/security/PublicKey.java: Likewise.
14192         * java/security/SecureClassLoader.java: Likewise.
14193         * java/security/SecurityPermission.java: Likewise.
14194         * java/security/SignatureException.java: Likewise.
14195         * java/security/UnrecoverableKeyException.java: Likewise.
14196         * java/security/UnresolvedPermission.java: Likewise.
14197         * java/security/acl/AclNotFoundException.java: Likewise.
14198         * java/security/acl/LastOwnerException.java: Likewise.
14199         * java/security/acl/NotOwnerException.java: Likewise.
14200         * java/security/cert/CRLException.java: Likewise.
14201         * java/security/cert/CertificateEncodingException.java: Likewise.
14202         * java/security/cert/CertificateException.java: Likewise.
14203         * java/security/cert/CertificateExpiredException.java: Likewise.
14204         * java/security/cert/CertificateFactory.java: Likewise.
14205         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14206         * java/security/cert/CertificateParsingException.java: Likewise.
14207         * java/security/spec/InvalidKeySpecException.java: Likewise.
14208         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14209
14210         * java/security/cert/CertPath.java: New file.
14211         * java/security/cert/CertPathBuilderException.java: New file.
14212         * java/security/cert/CertPathValidatorException.java: New file.
14213         * java/security/cert/CertStoreException.java: New file.
14214
14215         * Makefile.am: Add new CertPath classes.
14216         * Makefile.in: Rebuilt.
14217
14218         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14219
14220 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14221
14222         Merge JDK 1.4 exception chaining support from classpath.
14223
14224         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14225         (stackTraceBytes): Rename from stackTrace.
14226         * java/lang/Exception.java: Merge from classpath.
14227         * java/lang/StackTraceElement: New file from classpath.
14228         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14229         * Makefile.am: Add StackTraceElement.
14230         * Makefile.in: Rebuilt.
14231
14232 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14233
14234         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14235         they build first.
14236         * Makefile.in: Rebuilt.
14237
14238 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14239
14240         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14241         * configure.in: Likewise.
14242         * aclocal.m4: Regenerate.
14243         * configure: Regenerate.
14244
14245 2002-05-13  Tom Tromey  <tromey@redhat.com>
14246
14247         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14248         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14249         Include platform.h.
14250
14251         Fixes PR libgcj/6389:
14252         * Makefile.in: Rebuilt.
14253         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14254         * java/util/natTimeZone.cc: New file.
14255         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14256         * java/lang/System.java: Merged with Classpath.
14257         * java/lang/Runtime.java: Merged with Classpath.
14258         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14259         security check.
14260         (setIn0): Renamed from setIn; don't run security check.
14261         (setOut0): Renamed from setOut; don't run security check.
14262         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14263         init_properties): Moved to natRuntime.cc.
14264         Moved many includes to natRuntime.cc.
14265         (isWordsBigEndian): New method.
14266         * java/lang/natRuntime.cc: Include Long.h, also other includes
14267         previously in natSystem.cc.
14268         (maxMemory): New function.
14269         (exitInternal): Renamed from `_exit'.
14270         (exit): Removed.
14271         (init): Don't set finalize_on_exit.
14272         (exitInternal): Use `finalizeOnExit'.
14273         (file_encoding, getpwuid_adaptor): New functions from
14274         natSystem.cc.
14275         (insertSystemProperties): New method, renamed from
14276         System::init_properties.  Don't set user.timezone.
14277         (_load): Don't call checkLink.
14278         (execInternal): New method.
14279         (availableProcessors): Likewise.
14280         (nativeGetLibname): Likewise.
14281
14282 2002-05-11  Mark Wielaard  <mark@klomp.org>
14283
14284         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14285         space characters.
14286         (previous_internal): Likewise.
14287
14288 2002-05-09  Tom Tromey  <tromey@redhat.com>
14289
14290         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14291
14292         * java/util/ResourceBundle.java: New version from Classpath.
14293         * java/util/Locale.java: Likewise.
14294
14295 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14296
14297         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14298         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14299         LD_LIBRARY_PATH.
14300
14301 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14302
14303         * libjava/Makefile.am (all_java_source_files): New variable.
14304         (all_java_class_files): Likewise.
14305         .java.class: New rule.
14306         (CLEANFILES): Remove tmp-list.
14307         * libjava/Makefile.in: Regenerated.
14308
14309 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14310
14311         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14312         Append .exe to executable names.  Fix for cygwin.
14313
14314 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14315
14316         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14317         script entry, and set LD to it when configuring multilibs.
14318         * configure: Rebuilt.
14319
14320 2002-05-07  Tom Tromey  <tromey@redhat.com>
14321
14322         * java/lang/natString.cc (unintern): Fixed typo.
14323
14324 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14325
14326         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14327         with -no-install on *-*-cygwin*.
14328
14329 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14330
14331         * testsuite/lib/libjava.exp (test_libjava_from_source):
14332         Add comment explaining last patch
14333
14334 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14335
14336         * testsuite/lib/libjava.exp (test_libjava_from_source):
14337         Append .exe to executable names.  If no suffix is present,
14338         then ".exe" is added by default on win32.  Harmless
14339         elsewhere so always do it.
14340
14341 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14342             Tom Tromey  <tromey@redhat.com>
14343
14344         * java/lang/natSystem.cc (getSystemTimeZone): Use
14345         HAVE_UNDERSCORE_TIMEZONE.
14346         * include/config.h.in: Rebuilt.
14347         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14348         * aclocal.m4, configure: Rebuilt.
14349         * acinclude.m4: Run AC_EXEEXT.
14350         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14351         Add test for `_timezone'.
14352
14353 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14354
14355         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14356         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14357         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14358         * Makefile.in: Rebuilt.
14359
14360 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14361
14362         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14363         use sigaction instead of __libc_sigaction.
14364
14365 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14366
14367         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14368         (libjava_init): Use it to find libgcj.spec.
14369         (libjava_arguments): Likewise.
14370
14371 2002-05-02  David S. Miller  <davem@redhat.com>
14372
14373         PR bootstrap/6525
14374         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14375         __libc_sigaction on Sparc.
14376
14377 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14378
14379         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14380         sys/filio.h, if present.
14381
14382 2002-04-30  Tom Tromey  <tromey@redhat.com>
14383
14384         * java/io/BufferedReader.java (fill): Handle case where markPos
14385         point to ignored \n.  Fixes PR libgcj/6301.
14386
14387 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14388
14389         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14390
14391 2002-04-29  Adam King <aking@dreammechanics.com>
14392
14393         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14394         of file in APPEND mode.
14395
14396 2002-04-25  David S. Miller  <davem@redhat.com>
14397
14398         PR target/6422
14399         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14400         program counter to next program counter minus 8.  Update
14401         comments in this macro to explain why.
14402
14403 2002-04-26  Tom Tromey  <tromey@redhat.com>
14404
14405         * verify.cc (construct_primitive_array_type) [void_type]: New
14406         case.
14407         (branch_prepass): Added dummy entries for unused instruction
14408         values.
14409         (verify_instructions_0): Likewise.
14410         * interpret.cc (continue1): Comment fix.
14411         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14412         * Makefile.in: Rebuilt.
14413         * Makefile.am: Added -Wswitch-enum.
14414
14415 2002-04-24  Tom Tromey  <tromey@redhat.com>
14416
14417         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14418         correct length of UTF-8 encoded name.  Strip leading `/'.
14419         (_Jv_RegisterResource): Use _Jv_Malloc.
14420
14421 2002-04-23  Adam Megacz <adam@xwt.org>
14422
14423         * win32.cc, include/win32.cc (backtrace): Added this function
14424         because Win32 does not supply it.
14425
14426 2002-04-21  David S. Miller  <davem@redhat.com>
14427
14428         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14429         magic instruction reading sequence.
14430
14431 2002-04-21  Mark Wielaard  <mark@klomp.org>
14432
14433         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14434
14435 2002-04-19  David S. Miller  <davem@redhat.com>
14436
14437         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14438         arg.
14439         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14440         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14441         on Sparc too.
14442         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14443         for 64-bit sparc.
14444         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14445         * sysdeps/sparc/locks.h: New file.
14446         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14447         on all sparc Solaris configurations.  Set to
14448         include/dwarf2-signal.h on sparc Linux.
14449         * configure: Regenerate
14450         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14451
14452 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14453
14454         * configure: Rebuilt.
14455         * configure.in (backtrace): Function doesn't work on IA-64.
14456
14457 2002-04-17  Adam King <aking@dreammechanics.com>
14458
14459         * java/io/File.java (normalizePath): Add Win32 support for auto
14460         conversion of a '/' path separator to Win32's '\' separator.
14461
14462 2002-04-16  Tom Tromey  <tromey@redhat.com>
14463
14464         Fix for PR libgcj/6081:
14465         * Makefile.in: Rebuilt.
14466         * Makefile.am (install-data-local): Use GNU make trick to avoid
14467         shell limit.
14468
14469 2002-04-16  Adam King <aking@dreammechanics.com>
14470             Tom Tromey  <tromey@redhat.com>
14471
14472         * java/io/natFileWin32.cc (performList): Return the correct array
14473         type.  Don't duplicate the creation of a File since it's already
14474         done earlier in the method and the existing code would cause a
14475         ArrayStoreException.  Don't use fixed-size array.
14476         (_access, _stat, attr, getCanonicalPath, performMkdir,
14477         performRenameTo): Don't use fixed-size array.
14478         (getCanonicalPath): Use throw, not _Jv_Throw.
14479
14480 2002-04-15  DJ Delorie  <dj@redhat.com>
14481
14482         * configure.in: Allow building in $srcdir.
14483         * configure: Regenerated.
14484
14485 2002-04-14  Mark Wielaard <mark@klomp.org>
14486
14487         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14488         * java/net/natSocketImpl.cc (close): Likewise.
14489
14490 2002-04-14  Mark Wielaard <mark@klomp.org>
14491
14492         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14493
14494 2002-04-13  Adam King <aking@dreammechanics.com>
14495
14496         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14497         the f/F/d/D modifiers.
14498
14499 2002-04-12  Anthony Green  <green@redhat.com>
14500
14501         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14502         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14503         * Makefile.in: Rebuilt.
14504         * configure.in: Substitute gcc_version.
14505         * configure: Rebuilt.
14506
14507 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14508
14509         * configure.host: Set can_unwind_signal on hosts which support it.
14510         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14511         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14512         exceptions and can_unwind_signal isn't set.
14513         * configure: Rebuilt.
14514
14515 2002-04-11  Tom Tromey  <tromey@redhat.com>
14516
14517         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14518
14519 2002-04-11  Adam King <aking@dreammechanics.com>
14520             Tom Tromey  <tromey@redhat.com>
14521
14522         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14523         _Jv_ThrowNullPointerException): Mark as noreturn.
14524         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14525         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14526         fixes.
14527
14528 2002-04-10  Tom Tromey  <tromey@redhat.com>
14529
14530         * Makefile.in: Rebuilt.
14531         * Makefile.am (java/lang/Thread.h): Mark
14532         _Jv_AttachCurrentThreadAsDaemon as friend.
14533         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14534         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14535         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14536         function.
14537         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14538         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14539         (_Jv_JNI_InvokeFunctions): Added
14540         _Jv_JNI_AttachCurrentThreadAsDaemon.
14541         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14542         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14543         (JNI_CreateJavaVM): Likewise.
14544         (_Jv_JNI_AttachCurrentThread): Likewise.
14545         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14546         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14547         (_Jv_JNIFunctions): Initialize new fields.
14548         (_Jv_JNI_NewDirectByteBuffer): New function.
14549         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14550         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14551         * include/jni.h (JNI_VERSION_1_4): New macro.
14552         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14553         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14554         (JNINativeInterface::NewDirectByteBuffer): New field.
14555         (JNINativeInterface::GetDirectBufferAddress): New field.
14556         (JNINativeInterface::GetDirectBufferCapacity): New field.
14557         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14558         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14559         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14560
14561 2002-04-09  Tom Tromey  <tromey@redhat.com>
14562
14563         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14564
14565 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14566
14567         Fix for PR libgcj/6187:
14568         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14569         distance.
14570
14571 2002-04-07  Mark Wielaard <mark@klomp.org>
14572
14573         * java/util/AbstractMap.java (putAll): Use entrySet size.
14574         (toString): Explicitly use getKey() and getValue().
14575
14576 2002-04-07  Mark Wielaard <mark@klomp.org>
14577
14578         * java/util/Hashtable.java (contains): Remove NullPointer check.
14579         (containsValue): Add NullPointer check.
14580         (remove): Always throw NullPointerException when key
14581         is null.
14582
14583 2002-04-07  Adam King <aking@dreammechanics.com>
14584
14585         * java/lang/natSystem.cc (init_properties): Call new function
14586         _Jv_platform_initProperties.
14587         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14588         support for the System properties os.name, os.arch, os.version,
14589         user.name, user.home, and user.dir.
14590         * include/posix.h, include/win32.h, posix.cc: New function
14591         _Jv_platform_initProperties.
14592
14593 2002-04-06  Mark Wielaard <mark@klomp.org>
14594
14595         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14596
14597 2002-04-06  Mark Wielaard <mark@klomp.org>
14598
14599         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14600         all of the remaining elements.
14601         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14602         (removeRange): If toIndex == fromIndex do
14603         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14604         (removeAll): Always throw NullPointerException when collection is
14605         null.
14606         (retrainAll): Likewise.
14607
14608 2002-04-05  Mark Wielaard <mark@klomp.org>
14609
14610         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14611         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14612
14613 2002-04-05  Adam Megacz <adam@xwt.org>
14614
14615         * exception.cc (abort): added static modifier
14616
14617 2002-04-04  Adam Megacz <adam@xwt.org>
14618
14619         * include/win32.h (_Jv_platform_close_on_exec): added inline
14620         modifier.
14621
14622 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14623
14624         * configure.host: Add case statement to support generic port
14625         properties.  Add *-*-freebsd* section.
14626
14627 2002-04-04  Mark Wielaard  <mark@klomp.org>
14628
14629         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14630         test.
14631         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14632         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14633         that depend on awt code and BufferedByteOutputStream.interrupt.
14634
14635 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14636
14637         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14638         incorrect "hi" value when count > 40.
14639
14640 2002-04-03  Mark Wielaard  <mark@klomp.org>
14641
14642         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14643         ordering.
14644
14645 2002-04-02  Tom Tromey  <tromey@redhat.com>
14646
14647         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14648         not `0'.
14649
14650 2002-04-02  Mark Wielaard  <mark@klomp.org>
14651
14652         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14653         list of testsuite crashers.
14654
14655 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14656
14657         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14658         when resizing table.
14659
14660 2002-04-01  Mark Wielaard  <mark@klomp.org>
14661
14662         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14663         NegativeArraySizeException
14664         (clear(int)): Use sign extended shift.
14665         (flip(int)): Likewise.
14666         (get(int)): Likewise.
14667         (nextClearBit(int)): Likewise.
14668         (nextSetBit(int)): Likewise.
14669         (set(int)): Likewise.
14670
14671 2002-04-01  Mark Wielaard  <mark@klomp.org>
14672
14673         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14674         that can be compiled now and add testsuite crashers to ignore list.
14675
14676 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14677
14678         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14679
14680         * libgcj.spec.in: Override libgcc, not lib.
14681         * libgcj-test.spec.in: Likewise.
14682
14683 2002-03-29  Tom Tromey  <tromey@redhat.com>
14684
14685         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14686         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14687
14688 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14689
14690         * java/net/PlainDatagramSocketImpl.java
14691         (close): Use native implementation.
14692         (finalize): New method.
14693
14694         * java/net/PlainSocketImpl.java (finalize): New method.
14695
14696         * java/net/natPlainDatagramSocketImpl.cc
14697         (java/io/FileDescriptor.h): Don't include.
14698         (close): Implement method here.
14699         (create): Don't assign fd.
14700
14701         * java/net/natPlainSocketImpl.cc
14702         (java/io/FileDescriptor.h): Don't include.
14703         (create): Don't assign fd.
14704         (accept): Likewise.
14705         (close): Synchronize.
14706
14707 2002-03-27  Richard Henderson  <rth@redhat.com>
14708
14709         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14710
14711 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14712
14713         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14714         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14715         instead of syscall on IA-64.
14716         Add FIXME comment.
14717
14718 2002-03-27  Anthony Green  <green@redhat.com>
14719
14720         * libgcj.spec.in: Add CHECKREFSPEC.
14721         * configure.in: Ditto.
14722         * configure.host: Ditto.  Check references for xscale-elf.
14723         * configure: Rebuilt.
14724
14725 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14726
14727         * include/dwarf2-signal.h: Temporarily back out last change.
14728
14729 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14730
14731         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14732
14733 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14734
14735         * configure.in, configure: enable dwarf2-exception-style
14736         exception handling on IA-64.
14737         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14738         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14739         Add FIXME comment.
14740
14741 2002-03-25  Tom Tromey  <tromey@redhat.com>
14742
14743         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14744         (jv_convert_LDFLAGS): Likewise.
14745         (gij_LDFLAGS): Likewise.
14746         (rmic_LDFLAGS): Likewise.
14747         (rmiregistry_LDFLAGS): Likewise.
14748         * configure.in (THREADLDFLAGS): New subst; set correctly for
14749         *BSD.
14750
14751 2002-03-25  Tom Tromey  <tromey@redhat.com>
14752
14753         For PR libgcj/5303:
14754         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14755         and --version.
14756         (help): New method.
14757         (version): Likewise.
14758         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14759         "GNU".
14760         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14761         "GNU".
14762
14763 2002-03-25  Tom Tromey  <tromey@redhat.com>
14764
14765         * java/awt/Component.java (processEvent): Check ComponentEvent
14766         after KeyEvent.
14767
14768 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14769
14770         * java/io/PushbackReader.java: Reformat.
14771
14772         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14773         calculate correct number of bytes skipped.
14774
14775         Based on patch from Intel's ORP team:
14776         * java/io/PushbackInputStream.java (available): Calculate correct
14777         number of bytes in buffer.
14778         (read): Remove redundant bound check. Return bytes from both the
14779         buffer and the stream.
14780
14781 2002-03-24  Tom Tromey  <tromey@redhat.com>
14782
14783         * java/awt/TextComponent.java (TextComponent): Editable by
14784         default.
14785
14786         * java/awt/MenuItem.java (eventMask): No longer private.
14787         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14788         superclass if we didn't handle event.
14789         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14790         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14791         * java/awt/Choice.java (dispatchEventImpl): New method.
14792         * java/awt/List.java (dispatchEventImpl): New method.
14793         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14794         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14795         * java/awt/TextField.java (dispatchEventImpl): New method.
14796
14797 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14798
14799         * java/beans/IntrospectionException.java: Update to 1.4.
14800         * java/beans/PropertyVetoException.java: Ditto.
14801
14802 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14803
14804         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14805         Arrays.equals instead of ArrayHelper.equalsArray.
14806
14807 2002-03-24  C. Brian Jones <cbj@gnu.org>
14808
14809         * java/beans/Introspector.java: added new static final fields
14810         introduced in 1.2, lots of other updates remain to be done
14811
14812 2002-03-24  C. Brian Jones <cbj@gnu.org>
14813
14814         * java/beans/Introspector.java: reformatting
14815
14816 2002-03-24  C. Brian Jones <cbj@gnu.org>
14817
14818         * java/beans/Introspector.java: default beanInfoSearchPath will
14819         not include sun.beans.infos given we provide no such package and
14820         the API doesn't really require it; gnu.java.beans.info is the
14821         default.
14822
14823 2002-03-24  Mark Wielaard  <mark@klomp.org>
14824
14825         Thanks to Orp developers
14826         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14827         switch TRUE and FALSE return values.
14828
14829 2002-03-23  Tom Tromey  <tromey@redhat.com>
14830
14831         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14832         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14833
14834 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14835
14836         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14837         MONTH entry.  Fixes PR libgcj/6045.
14838
14839 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14840
14841         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14842
14843 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14844
14845         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14846         not release_set.
14847         * sysdep/powerpc/locks.h (write_barrier): New function.
14848         * sysdep/i386/locks.h (write_barrier): New function.
14849
14850 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14851
14852         * include/jni.h Use correct C comments.
14853
14854 2002-03-18  Tom Tromey  <tromey@redhat.com>
14855
14856         * include/jni.h (JNIIMPORT): New macro.
14857         (JNIEXPORT): Likewise.
14858         (JNICALL): Likewise.
14859
14860 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14861
14862         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14863         systems.
14864
14865 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14866
14867         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14868         INIT_SEGV: Use old_i386_kernel_sigaction.
14869         INIT_FP: Likewise.
14870
14871 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14872
14873         * java/lang/natSystem.cc (init_properties): Update VM version
14874         properties.
14875         * configure.in: Set GCJVERSION.
14876         * acconfig.h: Add GCJVERSION.
14877         * configure: Rebuilt.
14878         * include/config.h.in: Rebuilt.
14879
14880 2002-03-17  Anthony Green  <green@redhat.com>
14881
14882         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14883
14884 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14885
14886         Build a single libgcj.so, without separate gc and zlib libraries.
14887         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14888         SYS_ZLIBS if system zlib is used.
14889         * configure: Rebuilt.
14890         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14891         * Makefile.in: Rebuilt.
14892         * libtool-version: Increment .so version number.
14893
14894         * Makefile.am: Escape quotes in echo.
14895         * Makefile.in: Rebuilt.
14896
14897 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14898
14899         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14900         * Makefile.in: Rebuilt.
14901
14902 2002-03-15  Anthony Green  <green@redhat.com>
14903
14904         * configure.host (FILE): New macro for specifing File
14905         implementation.
14906         * configure: Rebuilt.
14907         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14908
14909 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14910
14911         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14912         already implicitly brought in from libgcj.la.
14913         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14914         * Makefile.in: Rebuilt.
14915
14916 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14917
14918         * THANKS: Fix punctuation, alphabetization.
14919
14920 2002-03-15  Tom Tromey  <tromey@redhat.com>
14921             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14922
14923         Fix for PR libgcj/5944.
14924         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14925
14926 2002-03-15  Anthony Green  <green@redhat.com>
14927
14928         * configure.in (tool_include_dir): Define.
14929         * configure: Rebuilt.
14930         * gcj/Makefile.am: Install libgcj-config.h relative to
14931         tool_include_dir.
14932         * gcj/Makefile: Rebuilt.
14933         * gcj/libgcj-config.h: Add warning comment.
14934
14935 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14936
14937         * configure.host (powerpc*-darwin*): Enable interpreter.
14938
14939 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14940
14941         * include/posix.h: Add multiple include header protection.
14942         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14943
14944 2002-03-10  Adam Megacz <adam@xwt.org>
14945
14946         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14947
14948 2002-03-10  Tom Tromey  <tromey@redhat.com>
14949
14950         * java/awt/GridLayout.java (layoutContainer): Handle case where
14951         there are no items in container.
14952
14953         * java/lang/Win32Process.java: Added comment.
14954         * include/posix.h (_Jv_platform_close_on_exec): New function.
14955         Include fcntl.h.
14956         * include/win32.h (_Jv_platform_close_on_exec): New function.
14957         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14958         flag.
14959         (accept): Likewise.
14960         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14961         close-on-exec flag.
14962         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14963         flag.
14964
14965 2002-03-09  Tom Tromey  <tromey@redhat.com>
14966
14967         * verify.cc (state::NO_STACK): New constant.
14968         (state::is_unmerged_ret_state): Handle case where stacktop is
14969         NO_STACK.
14970         (state::merge): Handle NO_STACK merges.
14971         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14972         for instruction following jsr.
14973         (stacktop, stackdepth): Removed unused variables.
14974         (pop_jump): Ignore case where all remaining states are skipped.
14975
14976 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14977
14978         * java/awt/ImageMediaEntry: Removed.
14979         * java/awt/MediaEntry: Removed.
14980
14981 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14982
14983         Hashtable synchronization for PowerPC.
14984         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14985         slow_pthread_self. Set up symlink for sysdeps directory.
14986         * configure: Rebuild.
14987         * configure.host: Document more shell variables. Set sysdeps_dir
14988         for most platforms. Set slow_pthread_self for i686. Set
14989         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14990         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14991         that memory barrier is emitted where required.
14992         * prims.cc: 64-bit align static primitive class instances.
14993         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14994         read_barrier() to enforce ordering of reads.
14995         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14996         primitives for PowerPC.
14997         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14998         moved from natObject.cc.
14999         * sysdep/alpha/locks.h: Likewise.
15000         * sysdep/ia64/locks.h: Likewise.
15001         * sysdep/generic/locks.h: Likewise.
15002         * java/lang/natObject.cc: Move thread synchronization primitives to
15003         system-dependent headers.
15004
15005 2002-03-09  Adam Megacz  <adam@xwt.org>
15006
15007         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15008         bytes read and no failure code returned.
15009
15010 2002-03-09  Adam Megacz  <adam@xwt.org>
15011
15012         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15013         definitions to simulate -mthreads.
15014
15015 2002-03-09  Adam Megacz  <adam@xwt.org>
15016
15017         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15018         avoid precision loss.
15019
15020 2002-03-09  Per Bothner  <per@bothner.com>
15021
15022         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
15023         * gnu/gcj/xlib/XImage.java:  Likewise.
15024         * gnu/gcj/xlib/XColor.java:  Likewise.
15025
15026 2002-03-09  Adam Megacz  <adam@xwt.org>
15027
15028         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15029         IOException so that Throwable.printStackTrace fails correctly.
15030
15031 2002-03-08  Adam Megacz  <adam@xwt.org>
15032
15033         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15034         fixed.
15035
15036 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15037
15038         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15039         truncated to int.
15040
15041 2002-03-08  Tom Tromey  <tromey@redhat.com>
15042
15043         * include/jni.h: Include stdio.h.
15044
15045 2002-03-08  Tom Tromey  <tromey@redhat.com>
15046
15047         * posix.cc (internal_gettimeofday): New function.
15048         (_Jv_select): Use it.
15049
15050 2002-03-07  Adam Megacz  <adam@xwt.org>
15051
15052         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15053         WIN32, and added thunks for read(), write(), and close().
15054         * java/net/natPlainSocketImpl.cc (accept, read, read):
15055         Disabled timeouts on WIN32 pending discussion.
15056
15057 2002-03-07  Adam Megacz  <adam@xwt.org>
15058
15059         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15060         returns jlong. Added implementation
15061         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15062         returns jlong.
15063         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15064         returns jlong.
15065         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15066         returns jlong.
15067         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15068         _Jv_platform_gettimeofday signature.
15069
15070 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15071
15072         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15073         (read): Call recv() directly, not _Jv_recv().
15074
15075 2002-03-06  Tom Tromey  <tromey@redhat.com>
15076
15077         * java/io/natFileDescriptorEcos.cc (init): Don't use
15078         GetStdHandle.
15079         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15080         is negative.
15081         (init): Don't use GetStdHandle.
15082
15083         * include/config.h.in: Rebuilt.
15084         * configure: Rebuilt.
15085         * Makefile.in: Rebuilt.
15086
15087 2002-03-06  Adam Megacz  <adam@xwt.org>
15088
15089         * java/io/FileDescriptor.java: Initialize in/out/err in init().
15090         * java/io/natFileDescriptorWin32.cc (init()): Added function.
15091         * java/io/natFileDescriptorPosix.cc (init()): Added function.
15092         * java/io/natFileDescriptorEcos.cc (init()): Added function.
15093
15094 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
15095
15096         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15097         the code for generating include/java-chartables.h.
15098         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15099         merge with Classpath.
15100         * scripts/unicode-muncher.pl: Copy from Classpath.
15101         * scritps/MakeCharTables.java: New file.
15102         * gnu/gcj/convert/Blocks-3.txt: New file.
15103         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15104         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15105         * gnu/java/lang/CharData.java: Copy from Classpath.
15106         * Makefile.am (ordinary_java_source_files): Add
15107         gnu/java/lang/CharData.java.
15108         * configure.in: Remove --enable-fast-character option.
15109         * java/lang/Character.java: Merge algorithms and Javadoc with
15110         Classpath.
15111         * java/lang/natCharacter.cc: Implement Unicode lookup table more
15112         efficiently.
15113         * include/java-chardecomp.h: Regenerate.
15114         * include/java-chartables.h: Regenerate.
15115
15116 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15117
15118         * java/awt/MediaTracker.java: Implemented.
15119         * Makefile.am: Add MediaTracker.
15120         * Makefile.in: Rebuilt.
15121
15122 2002-03-05  Tom Tromey  <tromey@redhat.com>
15123
15124         * java/lang/natPosixProcess.cc (fail): Removed.
15125         (startProcess): Simplified error-handling.  Preserve
15126         LD_LIBRARY_PATH across exec.
15127
15128         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15129         AbstractMethodError.
15130
15131 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15132
15133         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15134         * Makefile.in: Rebuilt.
15135
15136 2002-03-03 Mark Wielaard <mark@klomp.org>
15137
15138         * java/util/Timer (TaskQueue.stop): set elements to zero.
15139
15140 2002-02-28  Anthony Green  <green@redhat.com>
15141
15142         * java/lang/reflect/natMethod.cc (result): Add void* element.
15143         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15144         constructor test.
15145
15146 2002-02-27  Adam Megacz <adam@xwt.org>
15147
15148         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15149         '#undef STRICT'.
15150
15151 2002-02-26  Tom Tromey  <tromey@redhat.com>
15152
15153         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15154         * gij.cc (version): Use __VERSION__.
15155         * include/config.h.in: Rebuilt.
15156         * acconfig.h (GCJVERSION): Removed.
15157         * configure: Rebuilt.
15158         * configure.in (GCJVERSION): Removed.
15159
15160 2002-02-26  Andreas Schwab  <schwab@suse.de>
15161
15162         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15163         glibcpp_CXX, since libjava uses even another CXX.
15164         * aclocal.m4, configure: Regenerated.
15165
15166 2002-02-26  Tom Tromey  <tromey@redhat.com>
15167
15168         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15169         `1'.
15170
15171 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15172
15173         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15174         dependency tracking for .java files.
15175         * Makefile.in: Rebuilt.
15176
15177 2002-02-24  Adam Megacz  <adam@xwt.org>
15178
15179         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15180         typo. Sorry.
15181
15182 2002-02-24  Adam Megacz  <adam@xwt.org>
15183
15184         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15185         for Win32, changed #ifdefs to check WIN32 instead of the
15186         (now-obsolete) USE_WINSOCK, and removed support for socket
15187         timeouts on Win32 pending further discussion.
15188
15189 2002-02-24  Adam Megacz  <adam@xwt.org>
15190
15191         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15192         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15193         delete
15194
15195 2002-02-24  Adam Megacz  <adam@xwt.org>
15196
15197         * java/lang/Win32Process.java: Created a dummy class to allow
15198         build process to run to completion.
15199
15200 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15201
15202         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15203         Define ffi_result union for ffi_call result.  Cast
15204         ffi_result members to jvalue.
15205
15206 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15207
15208         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15209         * testsuite/Makefile.in: Likewise.
15210
15211 2002-02-20  Per Bothner  <per@bothner.com>
15212
15213         * java/net/URL.java (getPath):  New JDK 1.3 method.
15214
15215         * java/net/URLStreamHandler.java (parseURL):
15216         It is wrong to prepend '/' to the file part of a relative url.
15217
15218         * java/net/URLStreamHandler.java (parseURL):
15219         Minor optizations - append '/' rather than "/".
15220
15221         * java/net/URLStreamHandler.java (parseURL):
15222         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15223         We probably should canonicalize for a context-relative url, though.
15224         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15225         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15226         (sameFile):  New method.  Uses canonicalizeFilename.
15227
15228 2002-02-22  Tom Tromey  <tromey@redhat.com>
15229
15230         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15231         java.vendor and java.vm.vendor.
15232         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15233         recent copyright date.
15234         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15235         * gij.cc (version): Print `Inc'.
15236
15237 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15238
15239         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15240         * aclocal.m4, configure: Rebuilt.
15241
15242 2002-02-20  Per Bothner  <per@bothner.com>
15243
15244         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15245         and/or output streams immediately here, instead of using File.exists.
15246         (inputStream, outputStream):  New fields to save open streams.
15247         (getInputStream, getOutputStream):  Use already-opened streams.
15248
15249 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15250
15251         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15252         Use it.
15253         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15254         * aclocal.m4, configure, Makefile.in: Rebuilt.
15255
15256 2002-02-19  Tom Tromey  <tromey@redhat.com>
15257
15258         Fix for PR libgcj/5696:
15259         * verify.cc (is_assignable_from_slow): Never call
15260         _Jv_IsAssignableFrom.
15261         (verify_instructions_0): Added new debug statement.
15262         (state::print): Print information about whether local has
15263         changed.
15264         (state::merge): Don't call note_variable when merging locals.
15265         (state::set_exception): Removed old FIXME comment.
15266
15267 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15268
15269         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15270         enable SO_BROADCAST.
15271
15272 2002-02-18  Jason Merrill  <jason@redhat.com>
15273
15274         * name-finder.cc (toHex): Use word mode, not long long.
15275
15276         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15277
15278 2002-02-15  Tom Tromey  <tromey@redhat.com>
15279
15280         Fix for PR libgcj/5695:
15281         * verify.cc (is_assignable_from_slow): Check to see if target is
15282         an Object before checking to see if source is an interface.
15283         (verify_instructions_0) [op_invokeinterface]: Handle case where
15284         we're making an interface call on Object.
15285
15286 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15287
15288         * Makefile.in: Rebuilt with Eric's change below.
15289
15290         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15291         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15292         Removed functions which are now implemented in Math.java.
15293
15294 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15295
15296         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15297         * Makefile.am (core_java_source_files): Add
15298         java/lang/StrictMath.java.
15299         * java/lang/Math.java: Merge with Classpath.
15300         * java/lang/StrictMath.java: New file - merge with Classpath.
15301
15302 2002-02-14  Mark Wielaard  <mark@klomp.org>
15303
15304         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15305         package as a workaround for gcj 3.0.x
15306
15307 2002-02-14  Mark Wielaard <mark@klomp.org>
15308
15309         * java/security/BasicPermission.java: extends with fully qualified
15310         classname as workaround for gcj 3.0.4.
15311
15312 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15313
15314         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15315         around gcj bug of wrong emitted qualifier for inherited method.
15316         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15317         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15318         constructor to reduce amount of emitted bytecode. While this
15319         happens to work around a jikes 1.15 bug, it is still a useful
15320         patch even for correct compilers.
15321         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15322         * gnu/java/rmi/server/UnicastRemoteCall.java
15323         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15324
15325 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15326
15327         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15328         * java/net/SocketImpl.java: Ditto.
15329         * java/rmi/server/RMIClassLoader.java: Ditto.
15330         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15331
15332 2002-02-14  Mark Wielaard <mark@klomp.org>
15333
15334         Thanks to Takashi Okamoto
15335         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15336         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15337         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15338
15339 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15340
15341         Fix for PR libgcj/5670:
15342         * verify.cc (is_assignable_from_slow): If `source' is interface,
15343         recursively look for merge with `target'.
15344
15345 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15346
15347         * include/jni.h: Fix typo.
15348
15349 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15350
15351         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15352         correctly.
15353
15354 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15355
15356         Fix for PR libgcj/5671:
15357         * verify.cc (state::merge): Handle case where we're merging
15358         against an interface.
15359
15360 2002-02-12  Tom Tromey  <tromey@redhat.com>
15361
15362         * exception.cc (std::abort): Mark as noreturn.
15363
15364 2002-02-12  Adam Megacz <adam@xwt.org>
15365
15366         * java/lang/Win32Process.java: Filled in a placeholder
15367         implementation so Win32 will build.
15368
15369 2002-02-12  Adam Megacz <adam@xwt.org>
15370
15371         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15372         * java/io/natFile.cc: Removed from repository.
15373         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15374
15375 2002-02-12  Adam Megacz <adam@xwt.org>
15376
15377         * win32.cc: Added two #includes to make win32.cc compile.
15378
15379 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15380
15381         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15382         declarations.
15383         (_Jv_InitGC): Don't bother locking, as this is always called from a
15384         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15385
15386 2002-02-11  Adam Megacz <adam@xwt.org>
15387
15388         * include/win32.h: Added _Jv_platform_gettimeofday.
15389         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15390
15391 2002-02-11  Adam Megacz <adam@xwt.org>
15392
15393         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15394         Added #undef STRICT to make windows.h and
15395         java/lang/reflect/Modifier.h cooperate.
15396
15397 2002-02-11  Adam Megacz <adam@xwt.org>
15398
15399         * java/io/natFileWin32.cc: Created a placeholder class with lots
15400         of FIXMEs.
15401
15402 2002-02-11  Adam Megacz <adam@xwt.org>
15403
15404         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15405         std::abort() to simply abort(). Also added "fake" std::abort() so
15406         we can #include unwind-pe.h without having to link against
15407         libstdc++-v3.
15408
15409 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15410
15411         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15412
15413 2002-02-08  Tom Tromey  <tromey@redhat.com>
15414
15415         * interpret.cc (convert): New function.
15416         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15417         convert.
15418         Include Long.h.
15419
15420 2002-02-08  Anthony Green  <green@redhat.com>
15421
15422         * configure.host: Add support for xscale-elf embedded target.
15423
15424 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15425
15426         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15427         dereferenced.
15428         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15429         frame.
15430
15431 2002-02-07  Tom Tromey  <tromey@redhat.com>
15432
15433         * java/io/natFile.cc (_access): Use __builtin_alloca.
15434         (_stat): Likewise.
15435         (attr): Likewise.
15436         (getCanonicalPath): Likewise.
15437         (performList): Likewise.
15438         (performMkdir): Likewise.
15439         (performSetReadOnly): Likewise.
15440         (performRenameTo): Likewise.
15441         (performSetLastModified): Likewise.
15442         (performCreate): Likewise.
15443         (performDelete): Likewise.
15444
15445 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15446
15447         * HACKING: Fix URL for the automake-gcj.
15448
15449 2002-02-07  Tom Tromey  <tromey@redhat.com>
15450
15451         * java/lang/natThrowable.cc: Updated copyright.
15452         * java/io/natFileWin32.cc: Updated copyright.
15453         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15454         * win32-threads.cc: Updated copyright.
15455         * name-finder.cc: Updated copyright.
15456         * include/name-finder.h: Updated copyright.
15457
15458         * include/name-finder.h: Conditionally include sys/wait.h.
15459         * include/config.h.in: Rebuilt.
15460
15461         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15462         Size buffer based on real size of string.
15463         (_stat): Likewise.
15464         (attr): Likewise.
15465         (getCanonicalPath): Likewise.
15466         (performList): Likewise.
15467         (performMkdir): Likewise.
15468         (performSetReadOnly): Likewise.
15469         (unixroot): Removed.
15470         (performRenameTo): Likewise.
15471         (performSetLastModified): Likewise.
15472         (performCreate): Likewise.
15473         (performDelete): Likewise.
15474         (performListRoots): Always return new array.
15475
15476         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15477         * win32.cc (win32_exception_handler): Now static.
15478         * include/win32.h (_Jv_platform_initialize): Declare.
15479         (win32_exception_handler): Don't declare.
15480         * java/lang/natSystem.cc (currentTimeMillis): Use
15481         _Jv_platform_gettimeofday.
15482         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15483         (_Jv_select): Use new name.
15484         (_Jv_platform_initialize): New function.
15485         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15486         _Jv_gettimeofday.
15487         (_Jv_platform_initialize): Declare.
15488
15489         * configure: Rebuilt.
15490         * configure.in: Removed unnecessary parens.
15491
15492 2002-02-06  Adam Megacz <adam@xwt.org>
15493
15494        * configure.in: Changed mingw) to *mingw*).
15495        * win32.cc: Created this file.
15496        * win32.h: Created this file.
15497        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15498        win32_exception_handler from prims.cc to win32.cc, added
15499        header in win32.h.
15500        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15501        longer needed now that we have platform.h
15502
15503 2002-02-06  Adam Megacz <adam@xwt.org>
15504
15505         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15506         use uint<n>_t instead of LONG and BYTE
15507
15508 2002-02-06  Adam Megacz <adam@xwt.org>
15509
15510         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15511
15512 2002-02-06  Anthony Green  <green@redhat.com>
15513
15514         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15515         Implement missing method stubs.
15516         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15517         targets.
15518         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15519         concept of timezones.
15520         (init_properties): Don't refer to _Jv_Environment_Properties
15521         when this feature is not available.
15522         * include/config.h.in: Rebuilt.
15523         * acconfig.h: Add DISABLE_MAIN_ARGS.
15524         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15525         * configure: Rebuilt.
15526         * configure.in: Add --disable-main-args option.  Test for
15527           opendir function.  Replace AC_CHECK_SIZEOF with
15528           AC_COMPILE_CHECK_SIZEOF.
15529         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15530         * aclocal.m4: Rebuilt.
15531         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15532
15533 2002-02-06  Tom Tromey  <tromey@redhat.com>
15534
15535         * verify.cc (require_array_type): If argument is a null array of
15536         references, return null as the element type.
15537
15538 2002-02-06  Mark Wielaard  <mark@klomp.org>
15539
15540         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15541         duplicate of a wide type.
15542
15543 2002-02-06  Tom Tromey  <tromey@redhat.com>
15544
15545         * verify.cc (type::isnull): New method.
15546         (require_array_type): Handle case where array is null.
15547         (verify_instructions_0) [op_arraylength]: Likewise.
15548
15549 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15550
15551         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15552         Symlink PLATFORMH to platform.h.
15553         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15554         PLATFORMOBJS.
15555         * java/lang/natSystem.cc: #include platform.h not posix.h.
15556         * Makefile.in: Rebuilt with libgcj automake.
15557         * configure: Rebuilt.
15558
15559 2002-02-05  Richard Henderson  <rth@redhat.com>
15560
15561         * Makefile.in: Undo munging last change.
15562
15563 2002-02-04  Adam Megacz <adam@xwt.org>
15564
15565         * win32.cc: Created it.
15566         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15567         which is set to posix.cc or win32.cc.
15568         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15569
15570 2002-02-04  Adam Megacz <adam@xwt.org>
15571
15572         * configure.in: Corrected mingw case branches; added * before
15573         and after.
15574
15575 2002-02-04  Adam Megacz <adam@xwt.org>
15576
15577         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15578         if compiling for win32
15579
15580 2002-02-04  Adam Megacz <adam@xwt.org>
15581
15582         * win32-threads.cc: #undef STRICT after gc.h inclusion
15583
15584 2002-02-02  Tom Tromey  <tromey@redhat.com>
15585
15586         * Makefile.in: Rebuilt.
15587
15588 2002-02-02  Jason Merrill  <jason@redhat.com>
15589
15590         * Makefile.am (clean-nat): New target.
15591
15592 2002-02-02  Tom Tromey  <tromey@redhat.com>
15593
15594         * java/io/natFile.cc: Removed old "FIXME" comments.
15595
15596 2002-02-01  Tom Tromey  <tromey@redhat.com>
15597
15598         * java/lang/natPosixProcess.cc (myclose): New function.
15599         (fail): Use it.
15600         (startProcess): Likewise.
15601
15602 2002-02-01  Adam Megacz <adam@xwt.org>
15603
15604         * prims.cc: Added #undef STRICT after #include<windows.h>.
15605
15606 2002-02-01  Adam Megacz <adam@xwt.org>
15607
15608         * prims.cc
15609         (_Jv_CreateJavaVM): We now use WIN32 instead of
15610         USE_WIN32_SIGNALLING and USE_WINSOCK.
15611         (win32_exception_handler): Now throws an exception out of
15612         the signal handler; assumes SJLJ.
15613
15614 2002-02-01  Adam Megacz <adam@xwt.org>
15615
15616         * win32-threads.cc:
15617         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15618         wait() algorithm to make it safe.
15619         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15620         Added lazy creation of Win32 Events for better performance
15621         (really_start): This now uses GC_CreateThread so boehm-gc
15622         knows about new threads even when statically linked.
15623
15624 2002-02-01  Adam Megacz <adam@xwt.org>
15625
15626         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15627         enable safer wait() algorithm.
15628         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15629         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15630         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15631         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15632         instead of mutex.
15633         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15634
15635 2002-02-01  Adam Megacz <adam@xwt.org>
15636
15637         * configure.in: Added support for mingw.
15638         * java/lang/Win32Process.java: Created as empty file.
15639         * java/lang/natWin32Process.cc: Created as empty file.
15640
15641 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15642
15643         PR java/4972
15644         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15645         for libiconv in LIBICONV variable.
15646         * configure: Regenerated.
15647
15648 2002-01-31  Tom Tromey  <tromey@redhat.com>
15649
15650         * verify.cc (state::enter_subroutine): New method.
15651         (handle_jsr_insn): Use it.
15652         (state::merge): When processing a `ret', correctly use
15653         subroutine's state to determine which local variables have
15654         changed.
15655         (push_exception_jump): Don't let stack overflow.
15656
15657 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15658
15659         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15660         --version output.
15661
15662 2002-01-30  Tom Tromey  <tromey@redhat.com>
15663
15664         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15665         parameter for `recv' return type.
15666
15667         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15668         (state::merge): ... not here.
15669         (subr_entry_info): New structure.
15670         (entry_points): New field.
15671         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15672         entry_points.
15673
15674 2002-01-29  Tom Tromey  <tromey@redhat.com>
15675
15676         * java/awt/List.java (addNotify): Correctly check to see if peer
15677         does not exist.
15678
15679         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15680         to compute height of each cell, and number of columns to compute
15681         width of each cell.
15682         * java/awt/Window.java (getOwnedWindows): Don't return null.
15683         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15684         of component.  Increment x using horizontal gap, not vertical
15685         gap.
15686
15687 2002-01-28  Tom Tromey  <tromey@redhat.com>
15688
15689         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15690         `nargs' byte is number of words, not number of arguments.
15691
15692 2002-01-27  Tom Tromey  <tromey@redhat.com>
15693
15694         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15695         (when): Likewise.
15696         * java/awt/event/InputEvent.java (modifiers, when): Now
15697         package-private.
15698
15699         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15700         and to-do list.
15701         (state::merge): Use current class' class loader.
15702         (state::print): Print subroutine.
15703         (state::merge): Don't look at subroutine of unmerged `ret'.
15704
15705 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15706
15707         * nogc.cc: Remove warnings.
15708         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15709         New functions.
15710
15711 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15712
15713         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15714         int, int):  Remove empty "if" statement to work around compiler bug.
15715         (newPixels(int[], ColorModel, int, int): Likewise.
15716
15717 2002-01-25  Per Bothner  <per@bothner.com>
15718
15719         * verify.cc (verify_fail):  Change from being a top-level function
15720         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15721         Pass the current verifier to type: and state: methods as needed,
15722         for better error messages, and for resolve.
15723         (resolve):  Pass current class's loader for Class.forName and
15724         _Jv_FindClassFromSignature, rather than using the default loader.
15725         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15726         (get_type_val_for_signature):  Make non-static.
15727         (various methods):  Pass start_PC implicitly, not explicitly.
15728
15729 2002-01-25  Tom Tromey  <tromey@redhat.com>
15730
15731         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15732         loop termination condition.
15733         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15734         width.
15735
15736 2002-01-24  Tom Tromey  <tromey@redhat.com>
15737
15738         * java/awt/Shape.java: Merged with Classpath.
15739         * java/awt/Scrollbar.java: Merged with Classpath.
15740
15741         * java/awt/Container.java (addNotify): Unconditionally call
15742         addNotifyContainerChildren and superclass addNotify.
15743
15744         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15745         getAlpha, not getBlue.
15746
15747 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15748
15749         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15750
15751         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15752         (grabPixels(long)): Wait to be notified that the ImageProducer has
15753         completed.
15754
15755 2002-01-24  Per Bothner  <per@bothner.com>
15756
15757         * verify.cc (is_assignable_from_slow): If target is an interface,
15758         we must still check the source's superclass before giving up.
15759
15760 2002-01-24  Tom Tromey  <tromey@redhat.com>
15761
15762         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15763
15764 2002-01-23  Tom Tromey  <tromey@redhat.com>
15765
15766         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15767         `else'.
15768
15769         * Makefile.in: Rebuilt.
15770         * Makefile.am (awt_java_source_files): Added new files.
15771         * java/awt/Toolkit.java: Merged with Classpath.
15772         * java/awt/PrintGraphics.java: New file from Classpath.
15773         * java/awt/PrintJob.java: New file from Classpath.
15774         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15775         * java/awt/datatransfer/ClipboardOwner.java: New file from
15776         Classpath.
15777         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15778         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15779         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15780         Classpath.
15781         * java/awt/datatransfer/StringSelection.java: New file from
15782         Classpath.
15783         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15784         Classpath.
15785         * java/awt/datatransfer/Transferable.java: New file from
15786         Classpath.
15787         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15788         from Classpath.
15789
15790         * Makefile.in: Rebuilt.
15791         * Makefile.am (awt_java_source_files): Added new files.
15792         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15793         Classpath.
15794         * java/awt/image/CropImageFilter.java: New file from Classpath.
15795         * java/awt/image/FilteredImageSource.java: New file from
15796         Classpath.
15797         * java/awt/image/ImageFilter.java: New file from Classpath.
15798         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15799         * java/awt/image/PixelGrabber.java: New file from Classpath.
15800         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15801         * java/awt/image/ReplicateScaleFilter.java: New file from
15802         Classpath.
15803         * java/awt/image/ImageProducer.java: Replaced with Classpath
15804         version.
15805         * java/awt/image/ImageObserver.java: Replaced with Classpath
15806         version.
15807         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15808         version.
15809         * java/awt/GridBagConstraints.java (clone): Catch
15810         CloneNotSupportedException.
15811
15812 2002-01-23  Per Bothner  <per@bothner.com>
15813
15814         * java/lang/reflect/natField.cc (setAddr):  New function.
15815         Calls getAddr and then checks that the field isn't final.
15816         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15817         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15818         (set):  Call setAddr before check that new value has right type,
15819         to better match specified semantics.
15820
15821 2002-01-22  Tom Tromey  <tromey@redhat.com>
15822
15823         * java/awt/TextField.java: Replaced with Classpath version.
15824         * java/awt/TextArea.java: Replaced with Classpath version.
15825         * java/awt/TextComponent.java: Replaced with Classpath version.
15826
15827         * java/awt/GridBagConstraints.java: Updated copyright.
15828
15829 2002-01-22  Mark Wielaard <mark@klomp.org>
15830
15831         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15832         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15833         java/awt/Dialog.java java/awt/FileDialog.java
15834         java/awt/Font.java java/awt/FontMetrics.java
15835         java/awt/Image.java java/awt/ImageMediaEntry.java
15836         java/awt/Insets.java java/awt/List.java
15837         java/awt/MediaEntry.java java/awt/MediaTracker.java
15838         java/awt/Menu.java java/awt/MenuBar.java
15839         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15840         java/awt/PaintContext.java java/awt/Panel.java
15841         java/awt/PopupMenu.java java/awt/SystemColor.java
15842         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15843         java/awt/peer/CheckboxMenuItemPeer.java
15844         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15845         java/awt/peer/ComponentPeer.java
15846         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15847         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15848         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15849         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15850         java/awt/peer/MenuBarPeer.java
15851         java/awt/peer/MenuComponentPeer.java
15852         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15853         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15854         java/awt/peer/ScrollPanePeer.java
15855         java/awt/peer/ScrollbarPeer.java
15856         java/awt/peer/TextAreaPeer.java
15857         java/awt/peer/TextComponentPeer.java
15858         java/awt/peer/TextFieldPeer.java
15859         java/awt/peer/WindowPeer.java: Add license clarification.
15860
15861 2002-01-22  Mark Wielaard <mark@klomp.org>
15862
15863         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15864         gnu/gcj/runtime/StringBuffer.java
15865         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15866         gnu/java/awt/ComponentDataBlitOp.java
15867         gnu/java/awt/GLightweightPeer.java
15868         gnu/java/beans/BeanInfoEmbryo.java
15869         gnu/java/beans/EmptyBeanInfo.java
15870         gnu/java/beans/ExplicitBeanInfo.java
15871         gnu/java/beans/IntrospectionIncubator.java
15872         gnu/java/beans/editors/ColorEditor.java
15873         gnu/java/beans/editors/FontEditor.java
15874         gnu/java/beans/editors/NativeBooleanEditor.java
15875         gnu/java/beans/editors/NativeByteEditor.java
15876         gnu/java/beans/editors/NativeDoubleEditor.java
15877         gnu/java/beans/editors/NativeFloatEditor.java
15878         gnu/java/beans/editors/NativeIntEditor.java
15879         gnu/java/beans/editors/NativeLongEditor.java
15880         gnu/java/beans/editors/NativeShortEditor.java
15881         gnu/java/beans/editors/StringEditor.java
15882         gnu/java/beans/info/ComponentBeanInfo.java
15883         gnu/java/io/ClassLoaderObjectInputStream.java
15884         gnu/java/io/NullOutputStream.java
15885         gnu/java/io/ObjectIdentityWrapper.java
15886         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15887         gnu/java/lang/reflect/TypeSignature.java
15888         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15889         gnu/java/locale/Calendar_en.java
15890         gnu/java/locale/Calendar_nl.java
15891         gnu/java/locale/LocaleInformation.java
15892         gnu/java/locale/LocaleInformation_de.java
15893         gnu/java/locale/LocaleInformation_en.java
15894         gnu/java/locale/LocaleInformation_nl.java
15895         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15896         gnu/java/rmi/registry/RegistryImpl.java
15897         gnu/java/rmi/rmic/Compile_gcj.java
15898         gnu/java/rmi/rmic/Compiler.java
15899         gnu/java/rmi/rmic/CompilerProcess.java
15900         gnu/java/rmi/rmic/RMIC.java
15901         gnu/java/rmi/rmic/TabbedWriter.java
15902         gnu/java/rmi/server/ProtocolConstants.java
15903         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15904         gnu/java/rmi/server/RMIHashes.java
15905         gnu/java/rmi/server/RMIObjectInputStream.java
15906         gnu/java/rmi/server/RMIObjectOutputStream.java
15907         gnu/java/rmi/server/UnicastConnection.java
15908         gnu/java/rmi/server/UnicastConnectionManager.java
15909         gnu/java/rmi/server/UnicastRef.java
15910         gnu/java/rmi/server/UnicastRemoteCall.java
15911         gnu/java/rmi/server/UnicastRemoteStub.java
15912         gnu/java/rmi/server/UnicastServer.java
15913         gnu/java/rmi/server/UnicastServerRef.java
15914         gnu/java/security/provider/DefaultPolicy.java
15915         gnu/java/security/provider/Gnu.java
15916         gnu/java/security/provider/SHA.java
15917         gnu/java/security/provider/SHA1PRNG.java
15918         gnu/java/text/BaseBreakIterator.java
15919         gnu/java/text/CharacterBreakIterator.java
15920         gnu/java/text/LineBreakIterator.java
15921         gnu/java/text/SentenceBreakIterator.java
15922         gnu/java/text/WordBreakIterator.java
15923         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15924         java/applet/AppletContext.java java/applet/AppletStub.java
15925         java/applet/AudioClip.java java/awt/AWTError.java
15926         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15927         java/awt/AWTException.java java/awt/AWTPermission.java
15928         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15929         java/awt/Button.java java/awt/Canvas.java
15930         java/awt/CardLayout.java java/awt/Checkbox.java
15931         java/awt/CheckboxGroup.java java/awt/Component.java
15932         java/awt/ComponentOrientation.java java/awt/Container.java
15933         java/awt/Dimension.java java/awt/Event.java
15934         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15935         java/awt/FlowLayout.java java/awt/Frame.java
15936         java/awt/Graphics.java java/awt/Graphics2D.java
15937         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15938         java/awt/IllegalComponentStateException.java
15939         java/awt/ItemSelectable.java java/awt/Label.java
15940         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15941         java/awt/MenuComponent.java java/awt/MenuItem.java
15942         java/awt/Paint.java java/awt/Point.java
15943         java/awt/Rectangle.java java/awt/RenderingHints.java
15944         java/awt/Transparency.java java/awt/Window.java
15945         java/awt/color/ColorSpace.java
15946         java/awt/color/ICC_ColorSpace.java
15947         java/awt/color/ICC_Profile.java
15948         java/awt/event/HierarchyBoundsAdapter.java
15949         java/awt/event/HierarchyBoundsListener.java
15950         java/awt/event/HierarchyEvent.java
15951         java/awt/event/HierarchyListener.java
15952         java/awt/geom/AffineTransform.java
15953         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15954         java/awt/geom/IllegalPathStateException.java
15955         java/awt/geom/Line2D.java
15956         java/awt/geom/NoninvertibleTransformException.java
15957         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15958         java/awt/geom/Rectangle2D.java
15959         java/awt/geom/RectangularShape.java
15960         java/awt/geom/RoundRectangle2D.java
15961         java/awt/image/BufferedImage.java
15962         java/awt/image/ColorModel.java
15963         java/awt/image/ComponentColorModel.java
15964         java/awt/image/ComponentSampleModel.java
15965         java/awt/image/DataBuffer.java
15966         java/awt/image/DataBufferByte.java
15967         java/awt/image/DataBufferInt.java
15968         java/awt/image/DataBufferUShort.java
15969         java/awt/image/DirectColorModel.java
15970         java/awt/image/PackedColorModel.java
15971         java/awt/image/Raster.java java/awt/image/RasterOp.java
15972         java/awt/image/SampleModel.java
15973         java/awt/image/SinglePixelPackedSampleModel.java
15974         java/awt/image/WritableRaster.java
15975         java/beans/AppletInitializer.java
15976         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15977         java/beans/Beans.java java/beans/Customizer.java
15978         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15979         java/beans/FeatureDescriptor.java
15980         java/beans/IndexedPropertyDescriptor.java
15981         java/beans/IntrospectionException.java
15982         java/beans/Introspector.java java/beans/MethodDescriptor.java
15983         java/beans/ParameterDescriptor.java
15984         java/beans/PropertyChangeEvent.java
15985         java/beans/PropertyChangeListener.java
15986         java/beans/PropertyChangeSupport.java
15987         java/beans/PropertyDescriptor.java
15988         java/beans/PropertyEditor.java
15989         java/beans/PropertyEditorManager.java
15990         java/beans/PropertyEditorSupport.java
15991         java/beans/PropertyVetoException.java
15992         java/beans/SimpleBeanInfo.java
15993         java/beans/VetoableChangeListener.java
15994         java/beans/VetoableChangeSupport.java
15995         java/beans/Visibility.java
15996         java/beans/beancontext/BeanContext.java
15997         java/beans/beancontext/BeanContextChild.java
15998         java/beans/beancontext/BeanContextChildComponentProxy.java
15999         java/beans/beancontext/BeanContextChildSupport.java
16000         java/beans/beancontext/BeanContextContainerProxy.java
16001         java/beans/beancontext/BeanContextEvent.java
16002         java/beans/beancontext/BeanContextMembershipEvent.java
16003         java/beans/beancontext/BeanContextMembershipListener.java
16004         java/beans/beancontext/BeanContextProxy.java
16005         java/beans/beancontext/BeanContextServiceAvailableEvent.java
16006         java/beans/beancontext/BeanContextServiceProvider.java
16007         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16008         java/beans/beancontext/BeanContextServiceRevokedEvent.java
16009         java/beans/beancontext/BeanContextServiceRevokedListener.java
16010         java/beans/beancontext/BeanContextServices.java
16011         java/beans/beancontext/BeanContextServicesListener.java
16012         java/io/BufferedInputStream.java
16013         java/io/BufferedOutputStream.java java/io/BufferedReader.java
16014         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16015         java/io/ByteArrayOutputStream.java
16016         java/io/CharArrayReader.java java/io/CharArrayWriter.java
16017         java/io/CharConversionException.java java/io/DataInput.java
16018         java/io/DataInputStream.java java/io/DataOutput.java
16019         java/io/EOFException.java java/io/Externalizable.java
16020         java/io/FileFilter.java java/io/FileNotFoundException.java
16021         java/io/FilePermission.java java/io/FileReader.java
16022         java/io/FileWriter.java java/io/FilenameFilter.java
16023         java/io/FilterInputStream.java java/io/FilterOutputStream.java
16024         java/io/FilterReader.java java/io/FilterWriter.java
16025         java/io/IOException.java java/io/InputStream.java
16026         java/io/InterruptedIOException.java
16027         java/io/InvalidClassException.java
16028         java/io/InvalidObjectException.java
16029         java/io/NotActiveException.java
16030         java/io/NotSerializableException.java java/io/ObjectInput.java
16031         java/io/ObjectInputStream.java
16032         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16033         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16034         java/io/ObjectStreamConstants.java
16035         java/io/ObjectStreamException.java
16036         java/io/ObjectStreamField.java
16037         java/io/OptionalDataException.java java/io/OutputStream.java
16038         java/io/PipedInputStream.java java/io/PipedOutputStream.java
16039         java/io/PipedReader.java java/io/PipedWriter.java
16040         java/io/PrintWriter.java java/io/PushbackInputStream.java
16041         java/io/PushbackReader.java java/io/Reader.java
16042         java/io/SequenceInputStream.java java/io/Serializable.java
16043         java/io/SerializablePermission.java
16044         java/io/StreamCorruptedException.java
16045         java/io/StreamTokenizer.java
16046         java/io/StringBufferInputStream.java java/io/StringReader.java
16047         java/io/StringWriter.java java/io/SyncFailedException.java
16048         java/io/UTFDataFormatException.java
16049         java/io/UnsupportedEncodingException.java
16050         java/io/WriteAbortedException.java java/io/Writer.java
16051         java/lang/AbstractMethodError.java
16052         java/lang/ArithmeticException.java
16053         java/lang/ArrayIndexOutOfBoundsException.java
16054         java/lang/ArrayStoreException.java java/lang/Boolean.java
16055         java/lang/Byte.java java/lang/CharSequence.java
16056         java/lang/ClassCastException.java
16057         java/lang/ClassCircularityError.java
16058         java/lang/ClassFormatError.java
16059         java/lang/ClassNotFoundException.java
16060         java/lang/CloneNotSupportedException.java
16061         java/lang/Cloneable.java java/lang/Comparable.java
16062         java/lang/Compiler.java java/lang/Double.java
16063         java/lang/Error.java java/lang/Exception.java
16064         java/lang/ExceptionInInitializerError.java
16065         java/lang/Float.java java/lang/IllegalAccessError.java
16066         java/lang/IllegalAccessException.java
16067         java/lang/IllegalArgumentException.java
16068         java/lang/IllegalMonitorStateException.java
16069         java/lang/IllegalStateException.java
16070         java/lang/IllegalThreadStateException.java
16071         java/lang/IncompatibleClassChangeError.java
16072         java/lang/IndexOutOfBoundsException.java
16073         java/lang/InheritableThreadLocal.java
16074         java/lang/InstantiationError.java
16075         java/lang/InstantiationException.java java/lang/Integer.java
16076         java/lang/InternalError.java
16077         java/lang/InterruptedException.java
16078         java/lang/LinkageError.java java/lang/Long.java
16079         java/lang/NegativeArraySizeException.java
16080         java/lang/NoClassDefFoundError.java
16081         java/lang/NoSuchFieldError.java
16082         java/lang/NoSuchFieldException.java
16083         java/lang/NoSuchMethodError.java
16084         java/lang/NoSuchMethodException.java
16085         java/lang/NullPointerException.java java/lang/Number.java
16086         java/lang/NumberFormatException.java
16087         java/lang/OutOfMemoryError.java java/lang/Package.java
16088         java/lang/Process.java java/lang/Runnable.java
16089         java/lang/RuntimeException.java
16090         java/lang/RuntimePermission.java
16091         java/lang/SecurityException.java
16092         java/lang/SecurityManager.java java/lang/Short.java
16093         java/lang/StackOverflowError.java java/lang/StringBuffer.java
16094         java/lang/StringIndexOutOfBoundsException.java
16095         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16096         java/lang/ThreadLocal.java java/lang/UnknownError.java
16097         java/lang/UnsatisfiedLinkError.java
16098         java/lang/UnsupportedClassVersionError.java
16099         java/lang/UnsupportedOperationException.java
16100         java/lang/VerifyError.java java/lang/VirtualMachineError.java
16101         java/lang/Void.java java/lang/ref/PhantomReference.java
16102         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16103         java/lang/ref/SoftReference.java
16104         java/lang/ref/WeakReference.java
16105         java/lang/reflect/AccessibleObject.java
16106         java/lang/reflect/InvocationTargetException.java
16107         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16108         java/lang/reflect/ReflectPermission.java
16109         java/math/BigDecimal.java java/math/BigInteger.java
16110         java/net/Authenticator.java java/net/BindException.java
16111         java/net/ConnectException.java java/net/ContentHandler.java
16112         java/net/ContentHandlerFactory.java
16113         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16114         java/net/FileNameMap.java java/net/MalformedURLException.java
16115         java/net/MulticastSocket.java java/net/NetPermission.java
16116         java/net/NoRouteToHostException.java
16117         java/net/PasswordAuthentication.java
16118         java/net/ProtocolException.java java/net/ServerSocket.java
16119         java/net/Socket.java java/net/SocketException.java
16120         java/net/SocketImpl.java java/net/SocketImplFactory.java
16121         java/net/SocketOptions.java java/net/SocketPermission.java
16122         java/net/URLDecoder.java java/net/URLEncoder.java
16123         java/net/URLStreamHandlerFactory.java
16124         java/net/UnknownHostException.java
16125         java/net/UnknownServiceException.java
16126         java/rmi/AccessException.java
16127         java/rmi/AlreadyBoundException.java
16128         java/rmi/ConnectException.java
16129         java/rmi/ConnectIOException.java
16130         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16131         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16132         java/rmi/NotBoundException.java
16133         java/rmi/RMISecurityException.java
16134         java/rmi/RMISecurityManager.java java/rmi/Remote.java
16135         java/rmi/RemoteException.java java/rmi/ServerError.java
16136         java/rmi/ServerException.java
16137         java/rmi/ServerRuntimeException.java
16138         java/rmi/StubNotFoundException.java
16139         java/rmi/UnexpectedException.java
16140         java/rmi/UnknownHostException.java
16141         java/rmi/UnmarshalException.java
16142         java/rmi/activation/Activatable.java
16143         java/rmi/activation/ActivateFailedException.java
16144         java/rmi/activation/ActivationDesc.java
16145         java/rmi/activation/ActivationException.java
16146         java/rmi/activation/ActivationGroup.java
16147         java/rmi/activation/ActivationGroupDesc.java
16148         java/rmi/activation/ActivationGroupID.java
16149         java/rmi/activation/ActivationID.java
16150         java/rmi/activation/ActivationInstantiator.java
16151         java/rmi/activation/ActivationMonitor.java
16152         java/rmi/activation/ActivationSystem.java
16153         java/rmi/activation/Activator.java
16154         java/rmi/activation/UnknownGroupException.java
16155         java/rmi/activation/UnknownObjectException.java
16156         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16157         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16158         java/rmi/registry/Registry.java
16159         java/rmi/registry/RegistryHandler.java
16160         java/rmi/server/ExportException.java
16161         java/rmi/server/LoaderHandler.java
16162         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16163         java/rmi/server/Operation.java
16164         java/rmi/server/RMIClassLoader.java
16165         java/rmi/server/RMIClientSocketFactory.java
16166         java/rmi/server/RMIFailureHandler.java
16167         java/rmi/server/RMIServerSocketFactory.java
16168         java/rmi/server/RMISocketFactory.java
16169         java/rmi/server/RemoteCall.java
16170         java/rmi/server/RemoteObject.java
16171         java/rmi/server/RemoteRef.java
16172         java/rmi/server/RemoteServer.java
16173         java/rmi/server/RemoteStub.java
16174         java/rmi/server/ServerCloneException.java
16175         java/rmi/server/ServerNotActiveException.java
16176         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16177         java/rmi/server/SkeletonMismatchException.java
16178         java/rmi/server/SkeletonNotFoundException.java
16179         java/rmi/server/SocketSecurityException.java
16180         java/rmi/server/UID.java
16181         java/rmi/server/UnicastRemoteObject.java
16182         java/rmi/server/Unreferenced.java
16183         java/security/AccessControlContext.java
16184         java/security/AccessControlException.java
16185         java/security/AccessController.java
16186         java/security/AlgorithmParameterGenerator.java
16187         java/security/AlgorithmParameterGeneratorSpi.java
16188         java/security/AlgorithmParameters.java
16189         java/security/AlgorithmParametersSpi.java
16190         java/security/AllPermission.java
16191         java/security/BasicPermission.java
16192         java/security/Certificate.java java/security/CodeSource.java
16193         java/security/DigestException.java
16194         java/security/DigestInputStream.java
16195         java/security/DigestOutputStream.java
16196         java/security/DomainCombiner.java
16197         java/security/DummyKeyPairGenerator.java
16198         java/security/DummyMessageDigest.java
16199         java/security/DummySignature.java
16200         java/security/GeneralSecurityException.java
16201         java/security/Guard.java java/security/GuardedObject.java
16202         java/security/Identity.java java/security/IdentityScope.java
16203         java/security/InvalidAlgorithmParameterException.java
16204         java/security/InvalidKeyException.java
16205         java/security/InvalidParameterException.java
16206         java/security/Key.java java/security/KeyException.java
16207         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16208         java/security/KeyManagementException.java
16209         java/security/KeyPair.java java/security/KeyPairGenerator.java
16210         java/security/KeyPairGeneratorSpi.java
16211         java/security/KeyStore.java
16212         java/security/KeyStoreException.java
16213         java/security/KeyStoreSpi.java
16214         java/security/MessageDigest.java
16215         java/security/MessageDigestSpi.java
16216         java/security/NoSuchAlgorithmException.java
16217         java/security/NoSuchProviderException.java
16218         java/security/Permission.java
16219         java/security/PermissionCollection.java
16220         java/security/Permissions.java java/security/Policy.java
16221         java/security/Principal.java java/security/PrivateKey.java
16222         java/security/PrivilegedAction.java
16223         java/security/PrivilegedActionException.java
16224         java/security/PrivilegedExceptionAction.java
16225         java/security/ProtectionDomain.java
16226         java/security/Provider.java
16227         java/security/ProviderException.java
16228         java/security/PublicKey.java
16229         java/security/SecureClassLoader.java
16230         java/security/SecureRandom.java
16231         java/security/SecureRandomSpi.java java/security/Security.java
16232         java/security/SecurityPermission.java
16233         java/security/Signature.java
16234         java/security/SignatureException.java
16235         java/security/SignatureSpi.java
16236         java/security/SignedObject.java java/security/Signer.java
16237         java/security/UnrecoverableKeyException.java
16238         java/security/UnresolvedPermission.java
16239         java/security/acl/Acl.java java/security/acl/AclEntry.java
16240         java/security/acl/AclNotFoundException.java
16241         java/security/acl/Group.java
16242         java/security/acl/LastOwnerException.java
16243         java/security/acl/NotOwnerException.java
16244         java/security/acl/Owner.java java/security/acl/Permission.java
16245         java/security/cert/CRL.java
16246         java/security/cert/CRLException.java
16247         java/security/cert/Certificate.java
16248         java/security/cert/CertificateEncodingException.java
16249         java/security/cert/CertificateException.java
16250         java/security/cert/CertificateExpiredException.java
16251         java/security/cert/CertificateFactory.java
16252         java/security/cert/CertificateFactorySpi.java
16253         java/security/cert/CertificateNotYetValidException.java
16254         java/security/cert/CertificateParsingException.java
16255         java/security/cert/X509CRL.java
16256         java/security/cert/X509CRLEntry.java
16257         java/security/cert/X509Certificate.java
16258         java/security/cert/X509Extension.java
16259         java/security/interfaces/DSAKey.java
16260         java/security/interfaces/DSAKeyPairGenerator.java
16261         java/security/interfaces/DSAParams.java
16262         java/security/interfaces/DSAPrivateKey.java
16263         java/security/interfaces/DSAPublicKey.java
16264         java/security/interfaces/RSAKey.java
16265         java/security/interfaces/RSAPrivateCrtKey.java
16266         java/security/interfaces/RSAPrivateKey.java
16267         java/security/interfaces/RSAPublicKey.java
16268         java/security/spec/AlgorithmParameterSpec.java
16269         java/security/spec/DSAParameterSpec.java
16270         java/security/spec/DSAPrivateKeySpec.java
16271         java/security/spec/DSAPublicKeySpec.java
16272         java/security/spec/EncodedKeySpec.java
16273         java/security/spec/InvalidKeySpecException.java
16274         java/security/spec/InvalidParameterSpecException.java
16275         java/security/spec/KeySpec.java
16276         java/security/spec/PKCS8EncodedKeySpec.java
16277         java/security/spec/RSAKeyGenParameterSpec.java
16278         java/security/spec/RSAPrivateCrtKeySpec.java
16279         java/security/spec/RSAPrivateKeySpec.java
16280         java/security/spec/RSAPublicKeySpec.java
16281         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16282         java/sql/BatchUpdateException.java java/sql/Blob.java
16283         java/sql/CallableStatement.java java/sql/Clob.java
16284         java/sql/Connection.java java/sql/DataTruncation.java
16285         java/sql/DatabaseMetaData.java java/sql/Date.java
16286         java/sql/Driver.java java/sql/DriverManager.java
16287         java/sql/DriverPropertyInfo.java
16288         java/sql/PreparedStatement.java java/sql/Ref.java
16289         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16290         java/sql/SQLData.java java/sql/SQLException.java
16291         java/sql/SQLInput.java java/sql/SQLOutput.java
16292         java/sql/SQLWarning.java java/sql/Statement.java
16293         java/sql/Struct.java java/sql/Time.java
16294         java/sql/Timestamp.java java/sql/Types.java
16295         java/text/Annotation.java
16296         java/text/AttributedCharacterIterator.java
16297         java/text/AttributedString.java
16298         java/text/AttributedStringIterator.java
16299         java/text/BreakIterator.java java/text/CharacterIterator.java
16300         java/text/ChoiceFormat.java java/text/Collator.java
16301         java/text/DateFormat.java java/text/DateFormatSymbols.java
16302         java/text/DecimalFormat.java
16303         java/text/DecimalFormatSymbols.java
16304         java/text/FieldPosition.java java/text/Format.java
16305         java/text/MessageFormat.java java/text/NumberFormat.java
16306         java/text/ParseException.java java/text/ParsePosition.java
16307         java/text/SimpleDateFormat.java
16308         java/text/StringCharacterIterator.java
16309         java/util/AbstractCollection.java java/util/AbstractList.java
16310         java/util/AbstractMap.java
16311         java/util/AbstractSequentialList.java
16312         java/util/AbstractSet.java java/util/ArrayList.java
16313         java/util/Arrays.java java/util/BasicMapEntry.java
16314         java/util/BitSet.java java/util/Calendar.java
16315         java/util/Collection.java java/util/Collections.java
16316         java/util/Comparator.java
16317         java/util/ConcurrentModificationException.java
16318         java/util/Date.java java/util/Dictionary.java
16319         java/util/EmptyStackException.java java/util/Enumeration.java
16320         java/util/EventListener.java java/util/EventObject.java
16321         java/util/GregorianCalendar.java java/util/HashMap.java
16322         java/util/HashSet.java java/util/Hashtable.java
16323         java/util/IdentityHashMap.java java/util/Iterator.java
16324         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16325         java/util/LinkedList.java java/util/List.java
16326         java/util/ListIterator.java java/util/ListResourceBundle.java
16327         java/util/Locale.java java/util/Map.java
16328         java/util/MissingResourceException.java
16329         java/util/NoSuchElementException.java
16330         java/util/Observable.java java/util/Observer.java
16331         java/util/Properties.java java/util/PropertyPermission.java
16332         java/util/PropertyResourceBundle.java java/util/Random.java
16333         java/util/RandomAccess.java java/util/ResourceBundle.java
16334         java/util/Set.java java/util/SimpleTimeZone.java
16335         java/util/SortedMap.java java/util/SortedSet.java
16336         java/util/Stack.java java/util/StringTokenizer.java
16337         java/util/TimeZone.java java/util/Timer.java
16338         java/util/TimerTask.java
16339         java/util/TooManyListenersException.java
16340         java/util/TreeMap.java java/util/TreeSet.java
16341         java/util/Vector.java java/util/WeakHashMap.java
16342         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16343         java/util/jar/JarException.java java/util/jar/JarFile.java
16344         java/util/jar/JarInputStream.java
16345         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16346         java/util/zip/Adler32.java java/util/zip/CRC32.java
16347         java/util/zip/CheckedInputStream.java
16348         java/util/zip/CheckedOutputStream.java
16349         java/util/zip/Checksum.java
16350         java/util/zip/DataFormatException.java
16351         java/util/zip/Deflater.java
16352         java/util/zip/DeflaterOutputStream.java
16353         java/util/zip/GZIPInputStream.java
16354         java/util/zip/GZIPOutputStream.java
16355         java/util/zip/Inflater.java
16356         java/util/zip/InflaterInputStream.java
16357         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16358         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16359         java/util/zip/ZipInputStream.java
16360         java/util/zip/ZipOutputStream.java
16361         javax/naming/BinaryRefAddr.java
16362         javax/naming/InvalidNameException.java javax/naming/Name.java
16363         javax/naming/NamingException.java javax/naming/RefAddr.java
16364         javax/naming/StringRefAddr.java: Add license clarification.
16365
16366 2002-01-22  Tom Tromey  <tromey@redhat.com>
16367
16368         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16369         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16370         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16371         version.
16372         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16373         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16374         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16375         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16376         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16377         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16378         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16379         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16380         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16381         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16382         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16383         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16384         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16385         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16386         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16387         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16388         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16389         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16390         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16391         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16392         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16393         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16394         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16395         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16396         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16397         (minimumSize, preferredSize, reshape): Likewise.
16398         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16399         getColorModel): New methods.
16400         * java/awt/PopupMenu.java: Merged with Classpath.
16401         * java/awt/MenuBar.java: Merged with Classpath.
16402         * java/awt/SystemColor.java: Replace with Classpath version.
16403         * java/awt/Panel.java: Merged with Classpath.
16404         * java/awt/PaintContext.java: Updated copyright.
16405         * java/awt/MenuShortcut.java: Merged with Classpath.
16406         * java/awt/MenuContainer.java: Merged with Classpath.
16407         * java/awt/Menu.java: Merged with Classpath.
16408         * java/awt/MediaEntry.java: New file from Classpath.
16409         * java/awt/MediaTracker.java: New file from Classpath.
16410         * java/awt/List.java: Merged with Classpath version.
16411         * java/awt/Insets.java: Merged with Classpath version.
16412         * java/awt/ImageMediaEntry.java: New file from Classpath.
16413         * java/awt/Image.java: Replaced with Classpath version.
16414         * java/awt/FontMetrics.java: Merged with Classpath version.
16415         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16416         constant.
16417         * java/awt/Font.java: Merged with Classpath version.
16418         * java/awt/Dialog.java: Merged with Classpath version.
16419         * java/awt/Color.java: Merged with Classpath version.
16420         * java/awt/Choice.java: Merged with Classpath version.
16421         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16422         * java/awt/Adjustable.java: Replace with Classpath version.
16423         * java/awt/MenuItem.java (paramString): Don't include class name
16424         or brackets.  Call superclass paramString.
16425         * java/awt/MenuComponent.java (toString): Call paramString.
16426         (paramString): Compute string; don't call toString.
16427         * java/awt/Label.java (paramString): Don't include class name
16428         or brackets.  Call superclass paramString.
16429         * java/awt/Checkbox.java (paramString): Don't include class name
16430         or brackets.  Call superclass paramString.
16431         * java/awt/Button.java (paramString): Don't include class name or
16432         brackets.  Call superclass paramString.
16433         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16434
16435 2002-01-20  Andreas Schwab  <schwab@suse.de>
16436
16437         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16438         function and of parameter recv_func to ssize_t, as specified by
16439         POSIX.
16440
16441 2002-01-19  Per Bothner  <per@bothner.com>
16442
16443         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16444         uncompressed_size in readiness for next entry.
16445
16446 2002-01-18  Tom Tromey  <tromey@redhat.com>
16447
16448         * java/net/natPlainSocketImpl.cc: Include
16449         IllegalArgumentException.h.
16450         (_Jv_recv): New template function.
16451         (BooleanClass): Removed.
16452         (read): Use _Jv_recv.
16453         (setOption): Use Boolean::class$.  Throw exception if object is
16454         not Boolean or Integer.
16455
16456 2002-01-17  Tom Tromey  <tromey@redhat.com>
16457
16458         * java/awt/MenuComponent.java: Merged with Classpath.
16459         * java/awt/MenuItem.java: Merged with Classpath.
16460         * java/awt/Button.java: Merged with Classpath.
16461
16462         * java/awt/ActiveEvent.java: Updated copyright.
16463
16464         * java/awt/AWTError.java: Replaced with Classpath version.
16465         * java/awt/AWTException.java: Replaced with Classpath version.
16466         * java/awt/IllegalComponentStateException.java: Replaced with
16467         Classpath version.
16468
16469 2002-01-16  Tom Tromey  <tromey@redhat.com>
16470
16471         * java/awt/Canvas.java (serialVersionUID): New constant.
16472         Updated copyright.  Added javadoc from Classpath.
16473         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16474
16475         * java/awt/CheckboxGroup.java: Merged with Classpath.
16476         * java/awt/Checkbox.java: Merged with Classpath.
16477
16478         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16479         Classpath.
16480         * java/awt/Point.java: Updated copyright.
16481
16482         * java/awt/Point.java (toString): Use getClass().getName().
16483         Added javadoc.
16484
16485         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16486         commented code.
16487         (hash): Correctly compute initial value for `h'.
16488
16489         * java/awt/Label.java: Merged with Classpath.
16490
16491 2002-01-15  Tom Tromey  <tromey@redhat.com>
16492
16493         * java/awt/AWTPermission.java: Updated copyright.
16494
16495         * java/awt/LayoutManager2.java: Merged with Classpath.
16496         * java/awt/LayoutManager.java: Merged with Classpath.
16497         * java/awt/GridLayout.java: Updated copyright and javadoc.
16498         (getSize): Use `parent.ncomponents'.  Handle insets.
16499         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16500         there are fewer children than columns.  Correctly compute size of
16501         each cell in the grid.  Handle case where there isn't enough
16502         space.
16503         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16504         all users.
16505         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16506         before calling setVisible() on it.  Last item is `num - 1', not
16507         `num'.
16508         (layoutContainer): Hoist invariants out of loop.
16509
16510         Start of AWT merge with Classpath:
16511         * Makefile.in: Rebuilt.
16512         * Makefile.am (awt_java_source_files): Reference files in
16513         gnu/java/awt, not gnu/gcj/awt.
16514         * java/awt/image/BufferedImage.java: Updated copyright.
16515         * java/awt/image/ComponentColorModel.java: Updated copyright.
16516         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16517         * java/awt/image/DataBuffer.java: Updated copyright.
16518         * java/awt/image/DataBufferByte.java: Updated copyright.
16519         * java/awt/image/DataBufferInt.java: Updated copyright.
16520         * java/awt/image/DataBufferUShort.java: Updated copyright.
16521         * java/awt/image/IndexColorModel.java: Updated copyright.
16522         * java/awt/image/PackedColorModel.java: Updated copyright.
16523         * java/awt/image/Raster.java: Updated copyright.
16524         * java/awt/image/RasterOp.java: Updated copyright.
16525         * java/awt/image/SampleModel.java: Updated copyright.
16526         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16527         * java/awt/image/WritableRaster.java: Updated copyright.
16528         * java/awt/color/ColorSpace.java: Updated copyright.
16529         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16530         * java/awt/color/ICC_Profile.java: Updated copyright.
16531         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16532         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16533         * java/awt/event/HierarchyEvent.java: Updated copyright.
16534         * java/awt/event/HierarchyListener.java: Updated copyright.
16535         * java/awt/geom/AffineTransform.java: Updated copyright.
16536         * java/awt/geom/Dimension2D.java: Updated copyright.
16537         * java/awt/geom/Ellipse2D.java: Updated copyright.
16538         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16539         * java/awt/geom/Line2D.java: Updated copyright.
16540         * java/awt/geom/NoninvertibleTransformException.java: Updated
16541         copyright.
16542         * java/awt/geom/PathIterator.java: Updated copyright.
16543         * java/awt/geom/Point2D.java: Updated copyright.
16544         * java/awt/geom/Rectangle2D.java: Updated copyright.
16545         * java/awt/geom/RectangularShape.java: Updated copyright.
16546         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16547         * java/awt/Toolkit.java: Updated import for file moves.
16548         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16549         Classpath.
16550         (hashCode): New method from Classpath.
16551         * java/awt/Graphics2D.java: Updated copyright.
16552         * java/awt/Transparency.java: Updated copyright.
16553         * java/awt/Paint.java: Updated copyright.
16554         * java/awt/Graphics.java: New version from Classpath.
16555         * java/awt/EventDispatchThread.java: Updated copyright.
16556         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16557         children.
16558         (gotoComponent): Wrap around on next/previous.
16559         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16560         * gnu/gcj/awt/Buffers.java: Removed.
16561         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16562         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16563         * gnu/java/awt/BitMaskExtent.java: Added.
16564         * gnu/java/awt/Buffers.java: Added.
16565         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16566         * gnu/java/awt/GLightweightPeer.java: Added.
16567         * java/awt/geom/Line2D.java (clone): Ignore
16568         CloneNotSupportedException.
16569         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16570         * java/awt/Frame.java: Merged with Classpath.
16571         * java/awt/RenderingHints.java: Copyright update.
16572         * java/awt/Paint.java: Copyright update.
16573         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16574         * java/awt/image/ColorModel.java: Merged with Classpath.
16575         * java/awt/Window.java (show): New Implementation from Classpath.
16576         (isShowing): Use super.isShowing().
16577         * java/awt/EventQueue.java: Merged with Classpath.
16578         * java/awt/AWTEventMulticaster.java (save): Throw
16579         RuntimeException.
16580         (saveInternal): Likewise.
16581         * java/awt/AWTEvent.java: Now implements Serializable.
16582         * java/awt/Event.java: Copyright update.
16583         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16584         * java/awt/image/BufferedImage.java: Copyright update.
16585         * java/awt/GraphicsConfiguration.java: Copyright update.
16586         * java/awt/Component.java: (addNotify): Don't call
16587         addNotifyContainerChildren().
16588         (addNotifyContainerChildren): Removed.
16589         (setPeer): New method from Classpath.
16590         (setTreeLock): Likewise.
16591         (setVisible): Rewrote.
16592         (show): Use it.
16593         (hide): Likewise.
16594         (validate): Set `valid'.
16595         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16596         (createImage(ImageProducer)): Likewise.
16597         (prepareImage): Likewise.
16598         * java/awt/Container.java (addImpl): Handle case where constraint
16599         is not a String.  Post event via system event queue.
16600         (remove): Post event via system event queue.
16601         (validateTree): Only validate child if it is invalid.
16602         (getAlignmentX): Call super method as default.
16603         (getAlignmentY): Likewise.
16604         (addContainerListener): Now synchronized.
16605         (removeContainerListener): Likewise.
16606         (addNotifyContainerChildren): Now private.
16607         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16608         @author.
16609         * java/awt/FlowLayout.java (serialVersionUID): New field.
16610         (setAlignment): Better exception message.
16611         (layoutContainer): Don't compute component's preferred size unless
16612         we're going to use it.
16613         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16614         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16615         (firstLine, lastLine, firstItem, lastItem): New fields.
16616         (addLayoutComponent): Handle case where constraints is null.
16617         Also, handle relative locations.
16618         (removeLayoutComponent): Handle relative locations.
16619         (MIN, MAX, PREF): New constants.
16620         (calcCompSize): New method.
16621         (calcSize): New method.
16622         (minimumLayoutSize): Use it.
16623         (preferredLayoutSize): Likewise.
16624         (maximumLayoutSize): Likewise.
16625         (toString): Include more information.
16626         (setBounds): New method.
16627         (layoutContainer): Use libgcj implementation; extended to handle
16628         relative locations.
16629
16630 2002-01-15  Tom Tromey  <tromey@redhat.com>
16631
16632         * java/lang/Float.java (equals): Preserve old code.
16633         * java/lang/Double.java (equals): Preserve old code.
16634
16635 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16636
16637         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16638         * java/lang/Float.java (equals, compare): Ditto.
16639
16640 2002-01-13  Mark Wielaard  <mark@klomp.org>
16641
16642         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16643         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16644         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16645         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16646
16647 2002-01-11  Mark Wielaard  <mark@klomp.org>
16648
16649         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16650         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16651         InetAddress.
16652         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16653         * java/net/Socket.java: Merge with Classpath.
16654         * java/net/ServerSocket.java: Likewise.
16655
16656 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16657
16658         * interpret.cc (NULLARRAYCHECK): New macro.
16659         (SAVE_PC): Just store `pc'.
16660         (find_exception): Subtract one from `pc' here.
16661         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16662         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16663         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16664         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16665         don't call SAVE_PC.
16666         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16667         call SAVE_PC.
16668
16669 2002-01-11  Tom Tromey  <tromey@redhat.com>
16670
16671         * java/lang/natSystem.cc (init_properties): Only look for default
16672         locale if LC_MESSAGES is defined.
16673         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16674         * configure.in: Call AM_LC_MESSAGES.
16675         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16676
16677 2002-01-10  Tom Tromey  <tromey@redhat.com>
16678
16679         For PR libgcj/5303:
16680         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16681         --version.  Recognize GNU-style long options.  Print GNU-style
16682         error messages.
16683         (usage): Print GNU-style help.  Exit with status 0.
16684         (error): New method.
16685         (run): Print error message if no class names found.
16686         (main): Don't print usage on error.
16687
16688 2002-01-09  Tom Tromey  <tromey@redhat.com>
16689
16690         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16691         property.
16692         (help, version): Use println(), not println("").
16693
16694         For PR libgcj/5303:
16695         * gnu/gcj/convert/Convert.java (error): Program is called
16696         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16697         -1.
16698         (main): Handle --help and --version.
16699         (help): New method.
16700         (version): Likewise.
16701
16702 2002-01-08  Tom Tromey  <tromey@redhat.com>
16703
16704         * Makefile.in: Rebuilt.
16705         * Makefile.am (ordinary_java_source_files): Added new files.
16706         * gnu/java/locale/LocaleInformation.java: Extend
16707         LocaleInformation_en.
16708         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16709         and time/date formats.
16710         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16711         generated.
16712         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16713         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16714         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16715         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16716         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16717         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16718         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16719         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16720         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16721         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16722         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16723         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16724         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16725         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16726         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16727         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16728         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16729         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16730         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16731         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16732         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16733         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16734         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16735         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16736         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16737         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16738         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16739         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16740         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16741         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16742         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16743         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16744         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16745         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16746         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16747         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16748         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16749         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16750         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16751         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16752         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16753         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16754         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16755         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16756         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16757         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16758         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16759         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16760         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16761         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16762         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16763         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16764         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16765         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16766         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16767         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16768         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16769         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16770         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16771         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16772         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16773         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16774         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16775         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16776         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16777         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16778         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16779         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16780         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16781         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16782         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16783         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16784         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16785         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16786         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16787         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16788         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16789         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16790         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16791         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16792         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16793         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16794         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16795         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16796         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16797         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16798         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16799         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16800         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16801         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16802         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16803         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16804         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16805         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16806         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16807         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16808         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16809         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16810         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16811         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16812         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16813         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16814         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16815         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16816         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16817         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16818         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16819         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16820         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16821         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16822         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16823         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16824         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16825         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16826         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16827         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16828         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16829         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16830         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16831         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16832         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16833         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16834         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16835         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16836         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16837         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16838         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16839         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16840         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16841         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16842
16843         For PR libgcj/5031:
16844         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16845         choose default locale.
16846
16847         * Makefile.in: Rebuilt.
16848         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16849
16850 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16851
16852         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16853         sockets.
16854         (close): New function closes the socket.
16855         (write): New functions for output to socket.
16856         (read): New functions for reading from socket.
16857         * java/net/PlainSocketImpl.java: Glue for new timeout
16858         implementation.
16859         (write): Call the native impl.
16860         (read): Likewise.
16861         (getInputStream): Get a stream to read from the socket.
16862         (getOutputStream): Get a stream to write to the socket.
16863
16864 2002-01-08  Tom Tromey  <tromey@redhat.com>
16865
16866         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16867
16868 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16869
16870         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16871         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16872
16873 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16874
16875         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16876         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16877         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16878         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16879         insn_bastore, insn_castore, insn_sastore]: Use it.
16880         (continue1) [insn_arraylength]: Check for null array.
16881
16882 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16883
16884         * configure, include/config.h.in: Rebuilt.
16885         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16886         * configure.in: Call AC_STRUCT_TIMEZONE.
16887
16888 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16889
16890         * configure.host: Disable the interpreter for Darwin.
16891
16892 2002-01-04  Tom Tromey  <tromey@redhat.com>
16893
16894         * java/lang/Thread.java (stop): No longer synchronized.
16895         (start): Likewise.
16896
16897 2002-01-02  Tom Tromey  <tromey@redhat.com>
16898
16899         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16900         patch.
16901
16902 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16903
16904         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16905         PPC Darwin, not for all of Darwin.