OSDN Git Service

2003-12-04 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-12-04  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/net/protocol/http/Connection.java
4         (sendRequest): Merged writing http headers with classpath.
5         (getInputStream): Merged documentation from classpath.
6         (getHeaderField): Likewise.
7         (getHeaderFieldKey): Likewise.
8
9 2003-12-04  Michael Koch  <konqueror@gmx.de>
10
11         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
12
13 2003-12-04  Michael Koch  <konqueror@gmx.de>
14
15         * java/net/DatagramPacket.java
16         (length): Made packge-private to make it accessible via CNI.
17         (maxlen): New field.
18         (DatagramPacket): Cleaned up.
19         (setSocketAddress): Add message to exception.
20         (setData): Call other setData().
21         (setData): Call setLength().
22         (setLength): Initialize maxlen too.
23         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
24         Get maximal length from maxlen field, set length field directly.
25         (receive): Likewise.
26         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
27         Get maximal length from maxlen field, set length field directly.
28         (receive): Likewise.
29
30 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
31
32         * gnu/java/nio/natSelectorImplPosix.cc
33         (implSelect): A timeout of 0 means an infinite
34         timeout.
35
36 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
37  
38         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
39         of ActionEvents.
40
41 2003-12-03  Michael Koch  <konqueror@gmx.de>
42
43         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
44         * java/lang/natClass.cc (getSigners): Likewise.
45         (setSigners): Likewise.
46
47 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
48
49         * configure.in: Added new MinGW-specific configure flag
50         --with-win32-nlsapi.
51         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
52         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
53         is set to unicows.
54         * configure: Rebuilt.
55         * include/config.h.in: Rebuilt.
56         * win32.cc (_Jv_Win32NewString): Implemented.
57         (nativeToUnicode): New helper function defined only for
58         non-UNICODE builds.
59         (unicodeToNative): Likewise.
60         (_Jv_Win32TempString): Implemented.
61         (lots): Refactored using tchar.h macros.
62         (WSAEventWrapper): Use _Jv_Win32NewString.
63         (_Jv_platform_initialize): Use GetModuleFileNameA instead
64         of GetModuleFileName.
65         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
66         Use temporary stack buffer instead of a heap buffer.
67         * include/win32.h
68         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
69         defined; added tchar.h include.
70         (_Jv_Win32TempString): Declared new helper class.
71         (JV_TEMP_STRING_WIN32): New helper macro.
72         (_Jv_Win32NewString): Declared new helper method.
73         * java/io/natFileDescriptorWin32.cc (open): Use
74         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
75         (write): Reformatted slightly.
76         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
77         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
78         (getCanonicalPath): Use _Jv_Win32NewString instead of
79         JvNewStringUTF.
80         (performList): Likewise.
81         * java/lang/natWin32Process.cc (ChildProcessPipe):
82         Use tchar.h macros.
83         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
84         and UNICODE environment flag for CreateProcess.
85         * java/net/natNetworkInterfaceWin32.cc
86         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
87         _Jv_Win32NewString.
88
89 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
90
91         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
92         (initState): Mark obj parameter as unused.
93         (stringWidth): Mark obj parameter as unused.  Initialize
94         font_name properly.
95
96         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
97         BufferedImageBuilder class static.
98
99 2003-12-02  Mark Wielaard  <mark@klomp.org>
100
101         * java/security/Security.java: Don't use &nbsp; in the api doc.
102
103 2003-12-02  Dalibor Topic <robilad@kaffe.org>
104
105         Reported by: Jim Pick <jim@kaffe.org>
106         * libraries/javalib/java/util/Hashtable.java
107         (internalcontainsValue): New method.
108         (contains): Delegate to internalContainsValue.
109         
110         Reported by: Mark Wielaard  <mark@klomp.org>
111         * libraries/javalib/java/util/Hashtable.java
112         (contains): Improved comment.
113         
114         Reported by: Jeroen Frijters  <jeroen@frijters.net>
115         * libraries/javalib/java/util/Hashtable.java
116         (containsValue): Delegate to contains(Object) to make sure older
117         code overwriting it continues to work.
118
119 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
120
121         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
122         method. Handle mouse and key events that must generate
123         ActionEvents.
124         * java/awt/List.java (getSelectedIndex): Return -1
125         if no list element is selected.
126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
127         Correct handling of mouse and key events so that List receives them.
128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
129         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
130         multiple list elements. 
131
132 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
133
134         * java/text/SimpleDateFormat.java (compileFormat):
135         isLowerCase() and isUpperCase() allow too many characters.
136         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
137
138 2003-12-02  Dalibor Topic <robilad@kaffe.org>
139
140         * java/text/FieldPosition.java (equals): Fixed comment.
141
142 2003-12-02  Mark Wielaard  <mark@klomp.org>
143
144         Reported by Archie Cobbs:
145         * java/security/DigestInputStream.java (read(byte[], int, int): Call
146         digest.update() with temp, not len as lenght.
147
148 2003-12-02  Michael Koch  <konqueror@gmx.de>
149
150         * java/net/DatagramSocket.java
151         (close): Close associated DatagramChannel object.
152         * java/net/ServerSocket.java
153         * java/net/Socket.java
154         (close): Reset impl and bound before calling getChannel().close() to
155         prevent from loops.
156
157 2003-12-02  Michael Koch  <konqueror@gmx.de>
158
159         * java/nio/channels/spi/AbstractInterruptibleChannel.java
160         (opened): Removed.
161         (closed): New field.
162         (close): Check of channel is closed already.
163         (isOpen): Return !closed.
164
165 2003-12-02  Michael Koch  <konqueror@gmx.de>
166
167         * gnu/java/nio/DatagramChannelImpl.java
168         (blocking): Initialize with true by default.
169         * gnu/java/nio/ServerSocketChannelImpl.java
170         (serverSocket): Made private.
171         (blocking): Likewise.
172         (connected): Likewise.
173         * gnu/java/nio/SocketChannelImpl.java
174         (connectionPending): Made private.
175         * gnu/java/nio/FileLockImpl.java
176         (static): Load native library (needed for classpath).
177         * gnu/java/nio/SelectorImpl.java
178         (static): Load native library (needed for classpath).
179
180 2003-12-02  Michael Koch  <konqueror@gmx.de>
181
182         * gnu/java/net/protocol/file/Connection.java
183         (getLastModified): Implement for file connections.
184         (getContentLength): Likewise.
185
186 2003-12-02  Michael Koch  <konqueror@gmx.de>
187
188         * gnu/java/net/protocol/file/Connection.java:
189         Some reformating.
190         (file): Renamed from fileIn.
191         (getPermission): Moved around.
192
193 2003-12-02  Michael Koch  <konqueror@gmx.de>
194
195         * gnu/java/net/protocol/jar/Connection.java
196         (Connection): Made class final, merged documentation with classpath.
197         (file_cache): Made private.
198         (jar_file): Renamed from jarfile.
199
200 2003-12-02  Michael Koch  <konqueror@gmx.de>
201
202         * gnu/java/net/protocol/http/Connection.java
203         (Connection): Initialize doOutput to false;
204         (connect): Initialize inputStream, moved "send request" code to new
205         method.
206         (sendRequest): New method.
207         (getHttpHeaders): Don't reinitialize inputStream.
208
209 2003-12-02  Michael Koch  <konqueror@gmx.de>
210
211         * gnu/java/net/protocol//http/Connection.java
212         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
213         (requestProperties): Initialize, documentation added.
214         (inputStream): Renamed from bufferedIn.
215         (Connection): Dont initialize requestProperties.
216         (setDefaultRequestProperty): Removed.
217         (getDefaultRequestProperty): Removed.
218         (usingProxy): Documentation added.
219         (getHttpHeaders): Likewise.
220
221 2003-12-02  Michael Koch  <konqueror@gmx.de>
222
223         * java/text/DateFormat.java:
224         Explicitely import used classes.
225
226 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
227
228         * verify.cc (state::clean_subrs): Clear seen_subrs.
229         (state::copy): Walk seen_subrs from copy, not `this'.
230         Don't clear seen_subrs.
231
232 2003-12-01  Kim Ho <kho@redhat.com>
233
234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
235         Disable wrapping if TextArea has horizontal scroll bars.
236
237 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
238
239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
240         (awt_event_handler): Hard-code inset values.
241
242         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
243         Pass font name, not XLFD, to initState.
244         (stringWidth(String, int, String)): New method.
245         (stringWidth(String)): Call new stringWidth.
246         (getLeading): Always return 0.
247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
248         (initState): New Pango implementation.
249         (stringWidth): Likewise.
250
251 2003-12-01  Olga Rodimina <rodimina@redhat.com>
252
253         * java/awt/TextComponent.java:
254         (getSelectionStart): Updated javadocs.
255         (getSelectionEnd): Ditto.
256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
257         (getSelectionStart): Changed to return caret position if no
258         text is selected
259         (getSelectionEnd): Ditto.
260
261 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
262
263         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
264         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
265         gnu/awt/gtk/GtkContainerPeer.java,
266         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
267         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
268         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
269         gnu/awt/gtk/natGtkComponentPeer.cc,
270         gnu/awt/gtk/natGtkContainerPeer.cc,
271         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
272         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
273         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
274
275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
276         (closed): Mark loader parameter as unused.
277
278 2003-12-01  Michael Koch  <konqueror@gmx.de>
279
280         * gnu/java/net/protocol/http/Connection.java
281         (Connection): Merged class documentation.
282         (socket): Renamed from sock.
283         (Connection): Made protected, documentation added.
284         (connect): Give URL'S host instead of InetAddress to Socket
285         constructor.
286         (disconnect): Documentation added.
287         (getOutputStream): Rewrapped.
288
289 2003-12-01  Michael Koch  <konqueror@gmx.de>
290
291         * gnu/java/net/protocol/file/Connection.java
292         (fileIn): Documentation added.
293         (inputStream): Likewise.
294         (outputStream): Likewise.
295         (Connection): Likewise.
296         (connect): Simplified.
297
298 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
299
300         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
301         setProperties): Check that io is not null before calling
302         io.imageUpdate.
303         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
304         Update javadocs.
305         * java/awt/image/PixelGrabber.java: Fix implementation and
306         update javadocs.
307
308 2003-12-01  Michael Koch  <konqueror@gmx.de>
309
310         * gnu/java/net/natPlainSocketImplPosix.cc
311         bind(): Dont set SockedImpl.address field on succesful bind.
312         * gnu/java/net/natPlainSocketImplWin32.cc
313         bind(): Likewise.
314
315 2003-11-30  Jeff Sturm <jsturm@one-point.com>
316
317         * java/net/InetAddress.java:
318         (static): Don'f force DNS request for ANY_IF address.
319
320 2003-11-30  Michael Koch  <konqueror@gmx.de>
321
322         * java/net/InetAddress.java,
323         java/net/natInetAddressNoNet.cc,
324         java/net/natInetAddressPosix.cc,
325         java/net/natInetAddressWin32.cc:
326         Reverted my last patch.
327
328 2003-11-28  Michael Koch  <konqueror@gmx.de>
329
330         * java/net/InetAddress.java
331         (lookup): New method that doesnt lookup "0.0.0.0".
332         (ImplLookup): Renamed from lookup.
333         * java/net/natInetAddressNoNet.cc
334         (ImplLookup): Renamed from lookup.
335         * java/net/natInetAddressPosix.cc
336         (ImplLookup): Renamed from lookup.
337         * java/net/natInetAddressWin32.cc
338         (ImplLookup): Renamed from lookup.
339
340 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
341
342         * configure: Rebuilt.
343         * configure.in: Require gtk and glib 2.2.0.
344
345 2003-11-27  Dalibor Topic <robilad@kaffe.org>
346
347         * java/text/FieldPosition.java (equals): Adapted to handle
348         field_attribute. Added fast-circuit check for comparison to self.
349         Replaced use of instanceof by getClass to fix symmetry for derived
350         types.
351         (toString): Adapted to handle field_attribute. Improved readability.
352         (hashCode): New method.
353
354 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
355
356         * java/text/FieldPosition.java (field_attribute): New field.
357         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
358         getFieldAttribute): New methods.
359
360 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
361
362         * java/text/DecimalFormatSymbols.java (locale): New field.
363         (DecimalFormatSymbols (Locale)): Set locale.
364         (serialVersionOnStream): Upgraded to number 2.
365         (readObject): Assign locale if it wasn't by the serializer.
366
367 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
368
369         * java/text/FormatCharacterIterator.java: Documented the class and
370
371 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
372
373         * java/text/FormatCharacterIterator.java: Fixed some typos.
374
375 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
376
377         * java/text/NumberFormat.java:
378         (getIntegerInstance) Added the java version in the comments.
379
380 2003-11-27  Mark Wielaard  <mark@klomp.org>
381
382         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
383         (readResolve): Reformat.
384
385 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
386
387         * java/text/NumberFormat.java
388         (NumberFormat.Field): New implemented class to match Java 1.4. 
389         (getIntegerInstance): Two new Java 1.4 methods.o
390
391 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
392
393         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
394         the leap day of the leap year twice.
395         (computeFields): First week of month is 1 not 0.
396
397 2003-11-27  Mark Wielaard  <mark@klomp.org>
398
399         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
400         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
401
402 2003-11-27  Michael Koch  <konqueror@gmx.de>
403
404         * javax/swing/UIDefaults.java:
405         Reformated to match classpath's version.
406
407 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
408
409         * javax/swing/UIManager.java (getDefaults, getDimension,
410         getIcon, getInsets, getInstalledLookAndFeels, getInt,
411         getLookAndFeel, getString, getSystemLookAndFeelClassName):
412         Declare as public.
413
414 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
415
416         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
417         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
418         isSignificant): Likewise.
419
420 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
421
422         * javax/swing/undo/CompoundEdit.java: Re-format, document.
423         (inProgress): Set initial value to true.
424         (undo, redo, die, canUndo, canRedo): Also call inherited
425         implementation; simplify code structure.
426         (getPresentationName, getUndoPresentationName,
427         getRedoPresentationName): Make behavior dependent on lastEdit.
428         (addEdit, isSignificant): Completely re-written.
429
430 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
431
432         * javax/swing/undo/StateEdit.java: Re-format, document.
433         (undo, redo): Also call inherited implementation.
434
435 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
436
437         * javax/swing/undo/StateEditable.java: Re-format, document.
438
439 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
440
441         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
442         (AbstractUndoableEdit): Initialize hasBeenDone to true.
443         (canUndo, canRedo): Simplify.
444         (getUndoPresentationName, getRedoPresentationName): Support
445         localized message; call getPresentationName() only once.
446
447 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
448
449         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
450         (ZipFile(File,int)): Likewise.
451
452 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
453
454         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
455         (putAllInternal): Likewise.
456         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
457         (putAllInternal): Likewise.
458
459 2003-11-26  Michael Koch  <konqueror@gmx.de>
460
461         * java/net/URLStreamHandler.java
462         (parseURL): Added comment in catch statement.
463         (canonicalizeFilename): Add documentation.
464         (sameURL): Completed documentation.
465         (equals): Likewise.
466         (hostsEqual): Likewise.
467         (getDefaulPort): Likewise.
468         (hashCode): Likewise.
469         (toExternalForm): Likewise.
470         (getHostName): Fix empty hostname check, completed documentation.
471
472 2003-11-26  Tom Tromey  <tromey@redhat.com>
473
474         * java/lang/natDouble.cc (parseDouble): Reverted patch of
475         2003-11-13.
476
477 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
478             Mark Wielaard  <mark@klomp.org>
479
480         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
481         ('@' should be checked to distinguish port from userinfo).
482         (toExternalForm): Add @ userInfo if necessary.
483
484
485 2003-11-26  Michael Koch  <konqueror@gmx.de>
486
487         * java/net/DatagramSocket.java
488         (DategramSocket, bind): Moved binding code from DatagramSocket
489         constructor to bind method.
490
491 2003-11-26  Michael Koch  <konqueror@gmx.de>
492
493         * java/net/DatagramSocket.java
494         (impl): Made private.
495         (bound): New private member variable.
496         (DatagramSocket): Fixed documentation, use getImpl().
497         (getImpl): New package-private method.
498         (isClosed): Use getImpl().
499         (getLocalAddress): Completed documentation, use getImpl().
500         (getLocalPort): Use getImpl().
501         (getSoTimeout): Likewise.
502         (setSoTimeout): Likewise.
503         (getSendBufferSize): Likewise.
504         (setSendBufferSize): Likewise.
505         (getReceiveBufferSize): Likewise.
506         (setReceiveBufferSize): Likewise.
507         (connect): Likewise.
508         (disconnect): Likewise.
509         (receive): Likewise.
510         (send): Likewise.
511         (setReuseAddress): Likewise.
512         (setTrafficClass): Likewise.
513         (bind): Added message to exception.
514         (isClosed): Completed documentation.
515         (getChannel): Likewise.
516         (connect): Added missing exception, refined exception message.
517         (isBound): Completed documentation, just return bound.
518         (isConnected): Completed documentation.
519         (getRemoteSocketAddress): Likewise.
520         (getReuseAddress): Completed documentation, use getImpl().
521         (setSoBroadcast): Likewise.
522         (getSoBroadcast): Likewise.
523         (getTrafficClass): Likewise.
524         (getLocalSocketAddress): Simplified.
525         * java/net/MulticastSocket.java
526         (MulticastSocket): Removed comment not applying anymore.
527         (getInterface): Use getImpl().
528         (getTTL): Likewise.
529         (getTimeToLive): Likewise.
530         (setInterface): Likewise.
531         (setNetworkInterface): Likewise.
532         (getNetworkInterface): Likewise.
533         (setLoopback): Likewise.
534         (getLoopback): Likewise.
535         (setTTL): Likewise.
536         (setTimeToLive): Likewise.
537         (joinGroup): Likewise.
538         (leaveGroup): Likewise.
539         (send): Likewise.
540
541 2003-11-26  Michael Koch  <konqueror@gmx.de>
542
543         * java/net/Socket.java
544         (implCreated): Dont set default value explicitely, added
545         documentation.
546         (inputShutdown): Likewise.
547         (outputShutdown): Likewise.
548         (bound): New private member variable.
549         (bind): Set bound to true.
550         (close): Set bound to false.
551         (isBound): Return bound.
552         * java/net/ServerSocket.java
553         (bound): New private member variable.
554         (bind): Set bound to true.
555         (close): Set bound to false.
556         (isBound): Return bound.
557
558 2003-11-26  Michael Koch  <konqueror@gmx.de>
559
560         * java/net/URL.java
561         (URL): Fixed documentation to be HTML compliant.
562         (getContent): Completed documentation.
563         (getFile): Likewise.
564         (getPath): Likewise.
565         (getAuthority): Likewise.
566         (getHost): Likewise.
567         (getDefaultPort): Likewise.
568         (getProtocol): Likewise.
569         (hashCode): Likewise.
570         (openConnection): Likewise.
571         (openStream): Likewise.
572         (set): Likewise.
573         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
574
575 2003-11-26  Michael Koch  <konqueror@gmx.de>
576
577         * java/net/InetSocketAddress.java
578         (hostname): Made private, added documentation.
579         (addr): Likewise.
580         (port): Likewise.
581         (equals): Completed documentation.
582         (getAddress): Likewise.
583         (getHostName): Likewise.
584         (getPort): Likewise.
585         (hashCode): Likewise.
586         (isUnresolved): Likewise.
587         (toString): Likewise.
588
589 2003-11-26  Michael Koch  <konqueror@gmx.de>
590
591         * gnu/java/net/protocol/file/Handler.java
592         (Handler): New explicit constructor.
593         (openConnection): Added documentation.
594         * gnu/java/net/protocol/jar/Handler.java
595         (Handler): New explicit constructor.
596         (openConnection): Added documentation.
597
598 2003-11-26  Michael Koch  <konqueror@gmx.de>
599
600         * java/net/DatagramPacket.java
601         (DatagramPacket): Fixed documentation to become legal HTML.
602
603 2003-11-25  Michael Koch  <konqueror@gmx.de>
604
605         * gcj/javaprims.h: Added missing java.util.Currency.
606
607 2003-11-25  Michael Koch  <konqueror@gmx.de>
608
609         * testsuite/libjava.mauve/xfails:
610         Removed these two tests, they mystically pass now:
611         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
612         test_params failed - 5getInetAddress did not return proper values
613         (number 1)
614         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
615         test_BasicServer failed - 11 exception was thrown :Illegal seek
616         (number 1)
617
618 2003-11-25  Michael Koch  <konqueror@gmx.de>
619
620         * java/net/DatagramSocket.java
621         (factory): Made private.
622         (closed): Removed.
623         (DatagramSocket): Check impl argument, use constructor with
624         SocketAddress argument.
625         (close): Set impl to null, use isClosed().
626         (isClosed): Check for impl == null.
627         (getLocalAddress): Use isClosed().
628         (getLocalPort): Check if socket is closed.
629         (getSoTimeout): Likewise.
630         (setSoTimeout): Likewise.
631         (getSendBufferSize): Likewise.
632         (setSendBufferSize): Likewise.
633         (getReceiveBufferSize): Likewise.
634         (setReceiveBufferSize): Likewise.
635         (receive): Likewise.
636         (send): Likewise.
637         (bind): Likewise.
638         (connect): Likewise.
639         (setReuseAddress): Likewise.
640         (getReuseAddress): Likewise.
641         (setBroadcast): Likewise.
642         (getBroadcast): Likewise.
643         (setTrafficClass): Likewise.
644         (getTrafficClass): Likewise.
645         * java/net/MulticastSocket.java
646         (getInterface): Check if socket is closed.
647         (getTTL): Likewise.
648         (getTimeToLive): Likewise.
649         (setInterface): Likewise.
650         (setNetworkInterface): Likewise.
651         (getNetworkInterface): Likewise.
652         (setLoopbackMode): Likewise.
653         (setTTL): Likewise.
654         (setTimeToLive): Likewise.
655         (joinGroup): Likewise.
656         (leaveGroup): Likewise.
657         (send): Likewise.
658         * java/net/ServerSocket.java
659         (closed): Removed.
660         (close): Check if socket is closed, set impl to null.
661         (isClosed): Check impl == null;
662         (ServerSocket): Check impl argument.
663         (getInetAddress): Check if socket is bound.
664         (getLocalPort): Likewise.
665         (getLocalSocketAddress): Likewise.
666         (bind): Check if socket is closed.
667         (implAccept): Likewise.
668         (setSoTimeout): Likewise.
669         (getSoTimeout): Likewise.
670         (setReuseAddress): Likewise.
671         (getReuseAddress): Likewise.
672         (setReceiveBufferSize): Likewise.
673         (getReceiveBufferSize): Likewise.
674         (toString): Make output compliant to JDK 1.4.2.
675         * java/net/Socket.java
676         (closed): Removed.
677         (Socket): Fixed documentation.
678         (connect): Check if socket is closed, changed exception text,
679         fixed documentation.
680         (getInputStream): Check of socket is closed  and connected.
681         (getOutputStream): Likewise.
682         (bind): Check if socket is closed.
683         (setTcpNoDelay): Likewise.
684         (getTcpNoDelay): Likewise.
685         (setSoLinger): Likewise.
686         (getSoLinger): Likewise.
687         (sendUrgentData): Likewise.
688         (setOOBInline): Likewise.
689         (getOOBInline): Likewise.
690         (setSoTimeout): Likewise.
691         (getSoTimeout): Likewise.
692         (setSendBufferSize): Likewise.
693         (getSendBufferSize): Likewise.
694         (setReceiveBufferSize): Likewise.
695         (getReceiveBufferSize): Likewise.
696         (setKeepAlive): Likewise.
697         (getKeepAlive): Likewise.
698         (close): Likewise.
699         (shutdownInput): Likewise.
700         (shutdownOutput): Likewise.
701         (getReuseAddress): Likewise.
702         (getTrafficClass): Likewise.
703         (setTrafficClass): Likewise.
704         (isClosed): Check impl == null.
705         (toString): Added missing ']'.
706
707 2003-11-24  Tom Tromey  <tromey@redhat.com>
708
709         * Makefile.in: Rebuilt.
710         * Makefile.am (propdir): New macro.
711         (install-data-local): Install logging.properties.
712         (core_java_source_files): Added java.util.logging.*.
713         * java/util/logging/logging.properties: New file.
714
715 2003-11-25  Michael Koch  <konqueror@gmx.de>
716
717         * java/net/DatagramSocket.java
718         (DatagramSocket): Move binding code to bind(), simplify constructors.
719         * java/net/MulticastSocket.java
720         (MulticastSocket): Call parent constructor with null argument,
721         bind socket after setReuseAddress is called, simplify constructors.
722
723 2003-11-24  Michael Koch  <konqueror@gmx.de>
724
725         * javax/swing/BoxLayout.java
726         (serialVersionUIR): New member variable.
727         (X_AXIS, Y_AXIS): Documentation added.
728         (LINE_AXIS, PAGE_AXIS): New constants.
729         (grid): Renamed from gridbag.
730         (BoxLayout): Use new constants, throw exception if invalid value for
731         way, added documentation.
732         (BoxLayout): Removed.
733         (addLayoutComponent): Use new constants, added documentation.
734         (removeLayoutComponent): Likewise.
735         (addLayoutContainer): Added documentation.
736         (preferredLayoutSize): Added documentation, check given argument.
737         (minimumLayoutSize): Likewise.
738         (layoutContainer): Likewise.
739         (getLayoutAlignmentX): Likewise.
740         (getLayoutAlignmentY): Likewise.
741         (invalidateLayout): Likewise.
742         (maximumLayoutSize): Likewise.
743
744 2003-11-22  Michael Koch  <konqueror@gmx.de>
745
746         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
747         (peekData): Use offset and maximal free space in datagram packet.
748         (receive): Likewise.
749         (send): Use offset in datagram packet.
750
751 2003-11-22  Michael Koch  <konqueror@gmx.de>
752
753         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
754         (peekData): Use offset and maximal free space in datagram packet.
755         (receive): Likewise.
756         (send): Use offset in datagram packet.
757
758 2003-11-22  Michael Koch  <konqueror@gmx.de>
759
760         * gnu/java/nio/DatagramChannelImpl.java
761         (getNativeFD): Use getPlainDatagramSocketImpl().
762         * gnu/java/nio/NIODatagramSocket.java
763         (getPlainDatagramSocketImpl): Renamed from getImpl().
764         * gnu/java/nio/NIOSocket.java
765         (getPlainSocketImpl): Renamed from getImpl().
766         (setChannel): Use getPlainSocketImpl().
767         * gnu/java/nio/SocketChannelImpl.java
768         (SocketChannelImpl): Use getPlainSocketImpl().
769         (getPlainSocketImpl): Renamed from getImpl().
770         (getNativeFD): Use getPlainSocketImpl().
771
772 2003-11-18  Graydon Hoare  <graydon@redhat.com>
773
774         * javax/swing/JLayeredPane.java: Implement.
775         * javax/swing/JFrame.java (getContentPane): Make public
776         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
777         Use JLayeredPane.FRAME_CONTENT_LAYER.
778
779 2003-11-21  Mark Wielaard  <mark@klomp.org>
780
781         * java/lang/Float.java (static): Removed.
782
783 2003-11-18  Graydon Hoare  <graydon@redhat.com>
784
785         * java/awt/font/TextLayout.java: Implement simple layouts
786         using attributed strings and glyph vectors.
787
788 2003-11-17  Graydon Hoare  <graydon@redhat.com>
789
790         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
791         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
792         (GdkFontLineMetrics): New inner class.
793         (getLineMetrics): Return new GdkFontLineMetrics.
794         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
795         (layoutGlyphVector): Create GdkGlyphVector.
796         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
797         (GdkGraphics2D): Initialize state via mathod calls.
798         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
799         (cairoTranslate, cairoScale, cairoRotate): Remove.
800         (various methods): use setTransform for special transform cases.
801         (DrawState): New inner class.
802         (stateSave): New method.
803         (stateRestore): New method.
804         (various methods): use stateSave, stateRestore.
805         (getClipInDevSpace): New method.
806         (clip, clipRect, setClip, getClip, getClipBounds): 
807         Follow spec more closely.
808         (getTransform): Return clone of transform.
809         (setStroke): Set linewidth to passed width / 2.0.
810         (setPaintMode): Set SrcOver rather than Xor.
811         (setColor): Set paint to passed color.
812         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
813         transform from image to user space.
814         (drawRenderedImage, drawRenderableImage): Implement.
815         (getFontRenderContext, getFontMetrics, drawString, getFont): 
816         Implement
817         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
818         Implement.
819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
820         Match changes to java side.
821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
822         Release resources.
823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
824         Don't use pango for metrics.
825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
826         New file.
827
828 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
829             Jim Pick  <jim@kaffe.org>
830
831         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
832         methods.
833
834 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
835
836         * java/text/DecimalFormatSymbols.java (getCurrency,
837         setCurrency): New methods.
838
839 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
840
841         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
842         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
843         Describe how the implementation works.
844
845 2003-11-19  Michael Koch  <konqueror@gmx.de>
846
847         * java/net/Socket.java
848         (implCreated): New variable that indicates created impl.
849         (getImpl): New method.
850         (toString): Return more SUN compliant string representation.
851         (various): Use getImpl() instead of impl.
852
853 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
854
855         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
856         the right libgcc. Add -multiply_defined suppress and -bind_at_load
857         flags.
858
859 2003-11-18  Tom Tromey  <tromey@redhat.com>
860
861         PR libgcj/13026:
862         * verify.cc (state::copy): Only set local_changed if we're in a
863         subroutine.  Correctly copy local variables which were modified
864         by the subroutine.
865         (push_jump_merge): Added more debugging output.
866
867         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
868         is null.
869
870 2003-11-17  Graydon Hoare  <graydon@redhat.com>
871
872         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
873         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
874
875 2003-11-16  Tom Tromey  <tromey@redhat.com>
876
877         PR libgcj/13062:
878         * java/io/StreamTokenizer.java (commentChar): Clear other
879         attributes for character.
880         (quoteChar): Likewise.
881
882 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
883
884         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
885         zero-length int arrays when layoutInfo is null.
886         (getLayoutWeights): Return array of two zero-length double arrays when
887         layoutInfo is null.
888
889 2003-11-13  Tom Tromey  <tromey@redhat.com>
890
891         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
892         JvGetStringUTFRegion.
893         * java/lang/natPosixProcess.cc (new_string): Pass length of string
894         to JvGetStringUTFRegion.
895         * java/lang/natDouble.cc (parseDouble): Pass length of string to
896         JvGetStringUTFRegion.
897         * java/lang/natWin32Process.cc (startProcess): Pass length of
898         string to JvGetStringUTFRegion.
899         * java/lang/natClass.cc (forName): Pass length of string to
900         JvGetStringUTFRegion.
901         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
902         of string to JvGetStringUTFRegion.
903         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
904         JvGetStringUTFRegion.
905         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
906         to JvGetStringUTFRegion.
907         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
908         string to JvGetStringUTFRegion.
909
910 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
911
912         * gnu/java/nio/natSelectorImplPosix.cc
913         (helper_put_filedescriptors): Change to static linkage.
914         (helper_get_filedescriptors): Likewise.
915
916 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
917
918         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
919         null check.
920         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
921         * java/awt/Component.java (prepareImage): Likewise.
922
923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
924         Rename to nativeSetAlignment.
925
926 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
927
928         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
929         (JNI_GetCreatedJavaVMs): Likewise.
930         (JNI_GetDefaultJavaVMInitArgs): Likewise.
931         * include/jni.h (JNIIMPEXP): Remove definition
932         and replace with...
933         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
934         symbols,
935         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
936
937 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
938
939         * Makefile.am: Add GdkPixbufDecoder.java and
940         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
941         * Makefile.in: Regenerate.
942         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
943         New constructor.
944         (startProduction): Create ByteArrayInputStream when url and filename are
945         null.
946         (produce): Declare stream parameter as InputStream.
947         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
948         as InputStream.
949         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
950         (GdkPixbufDecoder(byte[],int,int)): New constructor.
951         (produce): Declare stream parameter as InputStream.
952         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
953         if image is null.  Set image's observer before running PrepareImage
954         thread.  Pass image to startProduction.
955         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
956         source's member functions.
957         (observer): New field.
958         (setObserver): New method.
959         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
960         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
961         new GtkImage.
962         (prepareImage): Implement.
963         * java/awt/Component.java: Add static fields incrementalDraw and
964         redrawRate.
965         (imageUpdate): Implement.
966         (createImage): Call Toolkit's createImage if peer is null.
967         (prepareImage): Throw NPE if image is null.
968         * java/awt/MediaTracker.java: Fix return value.
969
970 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
971
972         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
973         (create(String, float)): New method.
974         (setText): Make native.
975         (nativeSetAlignment): New method.
976         (setAlignment): Call nativeSetAlignment.
977         (getArgs): Remove method.
978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
979         (find_fg_color_widget, find_bg_color_widget): New functions.
980         (gtkWidgetSetForeground): Call find_fg_color_widget.
981         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
982         prelight colors.
983         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
984         widget in event box.
985         (setText, setAlignment): Implement new native methods.
986
987 2003-11-11  Michael Koch  <konqueror@gmx.de>
988
989         * java/awt/Font.java,
990         java/awt/datatransfer/DataFlavor.java,
991         java/math/BigInteger.java,
992         java/net/Inet4Address.java,
993         java/net/Inet6Address.java,
994         java/rmi/MarshalledObject.java,
995         java/rmi/server/RMIClassLoader.java,
996         java/security/cert/CertStore.java,
997         java/sql/Timestamp.java,
998         java/text/SimpleDateFormat.java,
999         javax/naming/CompoundName.java:
1000         Removed some redundant obj == null checks.
1001
1002 2003-11-11  Michael Koch  <konqueror@gmx.de>
1003
1004         * java/nio/ByteBuffer.java
1005         (equals): Remove redundant obj == null check.
1006
1007 2003-11-11  Michael Koch  <konqueror@gmx.de>
1008
1009         * gnu/java/nio/natPipeImpl.cc,
1010         gnu/java/nio/natSelectorImpl.cc: Removed
1011         * gnu/java/nio/natPipeImplEcos.cc,
1012         gnu/java/nio/natPipeImplPosix.cc,
1013         gnu/java/nio/natPipeImplWin32.cc,
1014         gnu/java/nio/natSelectorImplEcos.cc,
1015         gnu/java/nio/natSelectorImplPosix.cc,
1016         gnu/java/nio/natSelectorImplWin32.cc: New files
1017         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1018         gnu/java/nio/natSelectorImpl.cc
1019         * configure: Regenerated.
1020
1021 2003-11-11  Micheal Koch  <konqueror@gmx.de>
1022
1023         * java/net/URLStreamHandler.java (toExternalForm): Print port only
1024         if host is printed too and port was really given to URL.
1025
1026 2003-11-10  Gary Benson  <gbenson@redhat.com>
1027
1028         * java/sql/Timestamp.java (valueOf): Correctly handle
1029         nanoseconds.
1030
1031 2003-11-09  Tom Tromey  <tromey@redhat.com>
1032
1033         * java/net/Inet4Address.java (serialVersionUID): Updated.
1034
1035 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1036
1037         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1038         New fields.
1039
1040 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
1041
1042         * java/io/ByteArrayOutputStream.java (resize):
1043         Fix off-by-one error.
1044
1045 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1046
1047         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1048         public.
1049
1050 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1051
1052         PR libgcj/12231
1053         * java/lang/Win32Process.java (hasExited) Changed from
1054         public to private.
1055         (startProcess): Likewise.
1056         (cleanup): Likewise.
1057         * java/lang/natWin32Process.cc (cleanup) Don't close
1058         input, output and error streams.
1059         (ChildProcessPipe): New helper class.
1060         (startProcess): Refactored to use ChildProcessPipe.
1061         Use CREATE_NO_WINDOW when launching child process.
1062
1063 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
1064
1065         * include/win32.h (_Jv_platform_close_on_exec): Changed
1066         signature and declared extern.
1067         * win32.cc (_Jv_platform_close_on_exec): Implemented.
1068         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1069         (create): Use new signature of _Jv_platform_close_on_exec.
1070         * gnu/java/net/natPlainSocketImplWin32.cc 
1071         (create): Eliminated a few typecasts
1072         Use new signature of _Jv_platform_close_on_exec.
1073         (accept): Eliminated a few typecasts
1074         Use new signature of _Jv_platform_close_on_exec.
1075         * java/io/natFileDescriptorWin32.cc (open): Use
1076         _Jv_platform_close_on_exec.
1077
1078 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
1079
1080         * java/lang/natClass.cc (newInstance): Throw InstantiationException
1081         if class has no null-argument constructor.
1082
1083 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1084
1085         PR libgcj/12647:
1086         * win32-threads.cc (_Jv_CondWait): Respect mutex's
1087         refcount when releasing and reacquiring it.
1088
1089 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1090
1091         * win32.cc: (dirExists) Internal helper function to
1092         test for directory existence.
1093         (getUserHome) New helper function refactored out
1094         of _Jv_platform_initProperties. Uses USERPROFILE
1095         instead of HOMEDIR and attempts to support Win9X and NT.
1096         (_Jv_platform_initProperties) Use getUserHome.
1097
1098 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1099
1100         PR libgcj/11521:
1101         * gnu/java/net/natPlainSocketImplWin32.cc
1102         (bind): Don't use SO_REUSEADDR
1103
1104 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
1105
1106         PR libgcj/6652:
1107         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1108
1109 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
1110
1111         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1112         dispatch for final methods.
1113
1114 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1115
1116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
1117         word wrapping.
1118
1119 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1120
1121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
1122         scrolled window's size request.
1123
1124 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1125
1126         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
1127         * java/awt/geom/QuadCurve2D.java: Likewise.
1128
1129 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1130
1131         * java/awt/geom/CubicCurve2D.java: Added documentation.
1132         * java/awt/geom/QuadCurve2D.java: Likewise.
1133
1134         * java/awt/geom/doc-files/QuadCurve2D-4.png,
1135         java/awt/geom/doc-files/QuadCurve2D-5.png,
1136         java/awt/geom/doc-files/CubicCurve2D-4.png,
1137         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
1138
1139 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1140
1141         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
1142         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
1143         (subdivide(double[],int,double[],int,double[],int)): Implement.
1144
1145 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
1146
1147         * java/awt/geom/doc-files/CubicCurve2D-1.png,
1148         java/awt/geom/doc-files/CubicCurve2D-2.png,
1149         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
1150
1151 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
1152
1153         * java/text/DecimalFormat.java
1154         (scanFormat) corrected so that '%' may appear in a pattern.
1155
1156 2003-10-29  Mark Wielaard  <mark@klomp.org>
1157
1158         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1159         * java/text/DateFormat.java (Field): New public static inner class.
1160         * java/text/Format.java (Field): Likewise.
1161         (formatToCharacterIterator): New method.
1162         * java/text/FormatCharacterIterator.java: New file.
1163
1164 2003-10-29  Mark Wielaard  <mark@klomp.org>
1165
1166         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
1167         * java/util/Currency.java: New file.
1168
1169 2003-10-29  Michael Koch  <konqueror@gmx.de>
1170
1171         * Makefile.am (ordinary_java_source_files): Added
1172         java/text/FormatCharacterIterator.java and java/util/Currency.java.
1173         * Makefile.in: Regenerated.
1174
1175 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
1176
1177         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
1178         static methods.
1179
1180 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
1181
1182         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
1183         getObjectInstance() with Object, Name, Context and environment
1184         Hashtable from exception. Call fillInStackTrace() on exception when
1185         rethrown.
1186         * javax/naming/InitialContext.java (lookup(Name)): When a
1187         CannotProceedException is thrown use the ContinuationContext.
1188         (lookup(String)): Likewise.
1189         (close): Clear myProps and defaultInitCtx.
1190
1191 2003-10-29  Michael Koch  <konqueror@gmx.de>
1192
1193         * java/net/InetAddress.java
1194         (equals): Remove redundant obj == null check.
1195         * java/net/SocketPermission.java
1196         (equals): Likewise.
1197         * java/net/URL.java
1198         (equals): Likewise.
1199         (getURLStreamHandler): Likewise.
1200
1201 2003-10-29  Michael Koch  <konqueror@gmx.de>
1202
1203         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1204         (setOption): Directly return if no error occured.
1205         * gnu/java/net/natPlainSocketImplPosix.cc
1206         (setOption): Likewise.
1207
1208 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1209
1210         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1211         vtable slot for final methods. Add FIXME comment.
1212
1213 2003-10-28  David S. Miller  <davem@redhat.com>
1214
1215         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1216
1217 2003-10-26  Mark Wielaard  <mark@klomp.org>
1218
1219         Reported by Helmer Kraemer <hkraemer@freenet.de>
1220         * java/util/jar/JarInputStream.java (readManifest): Don't call
1221         closeEntry().
1222
1223         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1224         (finish): Use inbufWrite().
1225         (write(int)): Likewise.
1226         (write(byte[],int,int)): Likewise.
1227
1228 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1229
1230         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1231         Don't check for AccessibleObject. Update javadocs.
1232         
1233         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1234
1235 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1236
1237         * java/lang/reflect/Constructor.java (toString): Avoid extra 
1238         whitespace on constructor with no modifiers.
1239         * java/lang/reflect/natConstructor.java (newInstance): Look up
1240         caller and perform accessibility check only if constructor is
1241         non-public and accessible flag is not set.
1242
1243 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
1244
1245         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1246         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1247         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
1248         is_virtual_call argument.
1249         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
1250         natClass.cc.
1251         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
1252         _Jv_isVirtualMethod.
1253         * java/lang/reflect/natMethod.cc (invoke): Don't use 
1254         _Jv_LookupDeclaredMethod.
1255         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1256         look up method in target object's vtable.
1257
1258 2003-10-25  Graydon Hoare  <graydon@redhat.com>
1259
1260         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1261         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1262         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1263         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1264         New concrete implementation of ClasspathFontPeer, with native part.
1265         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1266         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1267         New class, with native part.
1268         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1269         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1270         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1271
1272 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1273
1274         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1275         on method with no modifiers.
1276
1277 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1278
1279         PR libgcj/11780:
1280         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1281         accessibility check only if target is non-public and accessible flag
1282         is not set.
1283         * java/lang/reflect/natField.cc (getAddr): Likewise.
1284
1285 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1286
1287         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1288         Remove method.
1289         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1290         New method.
1291         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1292         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1293         (dispose): Post WINDOW_CLOSED event.
1294         (addWindowFocusListener, addWindowStateListener): Assign result
1295         of multicaster add back to window listener.
1296         (removeWindowFocusListener, removeWindowStateListener): Assign
1297         result of multicaster remove back to window listener.
1298         (dispatchEventImpl): Add null checks for focus and state
1299         listeners.
1300         (processWindowEvent): Handle case where windowListener is null
1301         but state or focus listeners exist.
1302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1303         glue for postWindowEvent.
1304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1305         (window_delete_cb, window_destroy_cb, window_show_cb,
1306         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1307         window_get_new_state): New functions.
1308         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1309         macros.  Declare postWindowEventID.
1310
1311 2003-10-24  Anthony Green  <green@redhat.com>
1312
1313         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1314         we have no interpreter.
1315
1316 2003-10-22  Andrew Haley  <aph@redhat.com>
1317
1318         * java/lang/natClass.cc (initializeClass): Call
1319         _Jv_linkExceptionClassTable.
1320         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
1321         _Jv_Defer_Resolution on a method whose ncode is NULL.
1322         (_Jv_linkExceptionClassTable): New function.
1323         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1324         entry, look it up.
1325         * java/lang/Class.h (struct _Jv_CatchClass): New.
1326         (_Jv_linkExceptionClassTable): New friend.
1327         (_Jv_Defer_Resolution): New friend.
1328         (class Class.catch_classes): New field.
1329         * include/java-interp.h (Jv_Defer_Resolution): New method.
1330         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1331         (_Jv_MethodBase.deferred): New field.
1332         (_Jv_Defer_Resolution): New function.
1333         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1334         * exception.cc (get_ttype_entry): Change return type to void**.
1335         (PERSONALITY_FUNCTION): Remove all code related to using a
1336         Utf8Const* for a match type.  Change match type to be a pointer to
1337         a pointer, rather than a pointer to a Class.
1338         * defineclass.cc (handleCodeAttribute): Initialize
1339         method->deferred.
1340         (handleMethodsEnd): Likewise.
1341
1342 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1343
1344         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1345         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1346
1347 2003-10-22  Tom Tromey  <tromey@redhat.com>
1348
1349         PR libgcj/12416:
1350         * java/lang/Class.h: Updated.
1351         * java/lang/natClass.cc (_getFields): Removed.
1352         (getFields): Likewise.
1353         (getDeclaredFields): Added `public_only' parameter.
1354         * java/lang/Class.java (getFields): Now implemented in java; from
1355         Classpath.
1356         (getDeclaredFields): Likewise.
1357         (getDeclaredFields(boolean)): Declare.
1358         (_getFields): Removed.
1359         (internalGetFields): New method, from Classpath.
1360
1361         PR libgcj/12656:
1362         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1363         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1364
1365 2003-10-22  David Daney  <ddaney@avtrex.com)
1366
1367         * include/mips-signal.h: New file.
1368         * sysdep/dwarf2-backtrace.cc: New file.
1369         * sysdep/mips: New directory.
1370         * sysdep/mips/locks.h: New file.
1371         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1372         added to libgcj.
1373         (extra_cc_source_files): Ditto.
1374         * configure.host(disable_dladdr):  New shell variable passed to
1375         configure.
1376         (mips*-*-linux*): sysdeps_dir=mips,
1377         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1378         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1379         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1380         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1381         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1382         (EXTRA_CC_FILES): New, to support conditional addition of
1383         sysdep/dwarf2-backtrace.cc.
1384         * configure: Regenerated.
1385         * Makefile.in: Regenerated.
1386         * gcj/Makefile.in: Regenerated.
1387         * include/config.h.in: Regenerated.
1388         * include/Makefile.in: Regenerated.
1389         * testsuite/Makefile.in: Regenerated.
1390         
1391 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1392
1393         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1394         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1395
1396 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1397
1398         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1399         * java/awt/geom/doc-files: New directory.
1400         * java/awt/geom/doc-files/QuadCurve2D-1.png,
1401         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1402         
1403 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1404
1405         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1406
1407 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
1408
1409         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1410
1411 2003-10-22  Michael Koch  <konqueror@gmx.de>
1412
1413         * java/io/File.java
1414         (equals): Removed redundant obj == null check.
1415         (createTempFile): Merged comments from classpath.
1416
1417 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1418
1419         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1420         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1421         (error): Synchronize on instance, not class.
1422
1423 2003-10-21  Mark Wielaard  <mark@klomp.org>
1424
1425         Reported by M.Negovanovic
1426         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1427         method.
1428         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1429
1430 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1431
1432         Fix for Classpath bug #6076.
1433         * java/awt/geom/GeneralPath.java (append): Re-written.
1434
1435 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1436
1437         Fix for Classpath bug #6089.
1438         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1439         (getPathIterator, GeneralPathIterator): Re-written from scratch.
1440
1441 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
1442
1443         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1444         point, not start of subpath.  Fixes Classpath bug #6075.
1445
1446 2003-10-21  Michael Koch  <konqueror@gmx.de>
1447
1448         * java/nio/ByteOrder.java,
1449         java/nio/DirectByteBufferImpl.java,
1450         java/nio/channels/FileChannelImpl.java:
1451         Add code to load library with code for native methods if needed.
1452
1453 2003-10-21  Michael Koch  <konqueror@gmx.de>
1454
1455         * gnu/java/net/PlainDatagramSocketImpl.java,
1456         gnu/java/net/PlainSocketImpl.java,
1457         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1458         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1459         gnu/java/net/natPlainSocketImplPosix.cc,
1460         gnu/java/net/natPlainSocketImplWin32.cc:
1461         Renamed fnum to native_fd to match classpath more.
1462
1463 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
1464
1465         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1466         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1467         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1468         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1469         _Jv_PthreadCheckMonitor.  Simplify code.
1470         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1471         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1472         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1473         * java/lang/Thread.java (holdsLock): New.
1474         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1475         without JV_HASH_SYNCHRONIZATION.
1476         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1477
1478 2003-10-20  Michael Koch  <konqueror@gmx.de>
1479
1480         * java/text/RuleBasedCollator.java
1481         (RuleBasedCollator): Check rules not empty, fixed search in already
1482         existing collation elements.
1483         (is_special): Removed common whitespace characters.
1484         (text_argument): Dont return on whitespaces, add characters between
1485         two ' to string buffer.
1486
1487 2003-10-18  Michael Koch  <konqueror@gmx.de>
1488
1489         * gnu/java/net/protocol/file/Connection.java,
1490         gnu/java/net/protocol/file/Handler.java,
1491         gnu/java/net/protocol/http/Connection.java,
1492         gnu/java/net/protocol/http/Handler.java,
1493         gnu/java/net/protocol/jar/Connection.java,
1494         gnu/java/net/protocol/jar/Handler.java:
1495         Merged copyright text from classpath to make
1496         it possible to merge the classes.
1497
1498 2003-10-18  Mark Wielaard  <mark@klomp.org>
1499
1500         Reported by M.Negovanovic
1501         * java/beans/IndexedPropertyDescriptor.java
1502         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1503
1504 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
1505
1506         * win32.cc (_Jv_pipe): Implemented.
1507         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1508         _Jv_pipe instead of ::pipe.
1509         * include/posix.h (_Jv_pipe): New inline.
1510         * include/win32.h (_Jv_pipe): New declaration.
1511         
1512 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1513
1514         * java/lang/StringBuffer.java (getChars): Fix array index checks.
1515         (append, substring, insert): Likewise.
1516         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1517         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1518         
1519 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1520
1521         * java/lang/natString.cc (getChars):
1522         Fix validation of array indexes.
1523         (getBytes, regionMatches, startsWith, valueOf): Likewise.
1524         * testsuite/libjava.lang/String_overflow.java: New file.
1525         * testsuite/libjava.lang/String_overflow.out: New file.
1526
1527 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
1528
1529         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1530         overflow a jint.
1531         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1532         check for overflowing size_t, since the lower level functions
1533         take a jint.
1534         * testsuite/libjava.lang/newarray_overflow.java:  New file.
1535         * testsuite/libjava.lang/newarray_overflow.out:  New file.
1536         
1537 2003-10-15  Michael Koch  <konqueror@gmx.de>
1538
1539         * java/text/RuleBasedCollator.java
1540         (RuleBasedCollator): Moved around, documentation added.
1541         (compare): Documentation added.
1542         (equals): Likewise.
1543         (getCollationElementIterator): Likewise.
1544         (getCollationKey): Likewise.
1545         (getRules): Likewise.
1546         (hashCode): Likewise.
1547
1548 2003-10-15  Michael Koch  <konqueror@gmx.de>
1549
1550         * java/text/RuleBasedCollator.java
1551         (CollationElement): Renamed from RBCElement and moved into
1552         RuledBasedCollator as inner class.
1553
1554 2003-10-15  Michael Koch  <konqueror@gmx.de>
1555
1556         * java/text/CollationElementIterator.java
1557         (CollationElementIterator): Moved, documenatation added, call setText.
1558         (next): Reformated.
1559         (reset): Reformated.
1560         (setText): New method.
1561         (getOffset): New method.
1562         * java/text/CollationKey.java
1563         (getSourceString): Reformated.
1564         (hashCode): Reformated.
1565         (toByteArray): Reformated.
1566
1567 2003-10-15  Michael Koch  <konqueror@gmx.de>
1568
1569         * java/util/zip/InflaterInputStream.java
1570         (InflaterInputStream): Renamed infl to inf and bufsize to size,
1571         added description to exception, check for inf == null and size < 0.
1572
1573 2003-10-15  Michael Koch  <konqueror@gmx.de>
1574
1575         * java/text/AttributedCharacterIterator.java,
1576         java/text/CharacterIterator.java: Reformated.
1577
1578 2003-10-15  Michael Koch  <konqueror@gmx.de>
1579
1580         * javax/swing/UIDefaults.java (putDefaults):
1581         Readded accidently removed "public" modifier.
1582
1583 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
1584
1585         * interpret.cc (_Jv_InterpMethod::run): Don't
1586         use libffi types, they were meant to be internal.
1587         * gcj/javaprims.h (_Jv_ulong): New typedef.
1588
1589 2003-10-13  Tom Tromey  <tromey@redhat.com>
1590
1591         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1592         (defineClass): Updated.
1593         (_Jv_NewClass): Likewise.
1594         * prims.cc (_Jv_InitPrimClass): Don't call
1595         _Jv_InitNewClassFields.
1596
1597 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
1598
1599         PR libgcj/12592
1600         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1601         not just \n.
1602
1603 2003-10-13  Michael Koch  <konqueror@gmx.de>
1604
1605         * java/io/File.java: Reformated.
1606         (equals): Check for obj == null.
1607
1608 2003-10-13  Michael Koch  <konqueror@gmx.de>
1609
1610         * java/net/JarURLConnection.java
1611         (jarFileURL): Added dcoumentation.
1612         (jarFileURLConnection): Reformated documentation.
1613         (entryName): Renamed from "element", documentation rewritten.
1614         (connectionCache): Renamed from "conn_cache", documentation
1615         reformated.
1616         (JarURLConnection): Check URL protocol.
1617         (getEntryName): Use entryName.
1618         (connect): Use connectionCache.
1619         (getInputStream): Use entryName, fixed comment.
1620         (getJarEntry): Use entryName.
1621         (getHeaders): Use entryName.
1622         * java/net/URLConnection.java
1623         (addRequestProperty): Fixed documentation.
1624         (setDefaultRequestProptery): Added comment that it does nothing since
1625         JDK 1.3.
1626         (getDefaultRequestProperty): Likewise.
1627
1628 2003-10-13  Michael Koch  <konqueror@gmx.de>
1629
1630         * java/net/java/net/URLStreamHandlerFactory.java
1631         (createURLStreamHandler): Removed redundant "public" modifier.
1632         * java/sql/DatabaseMetaData.java:
1633         (DatabaseMetaData):  Readded accidently removed "public" modifier.
1634         * java/sql/ParameterMetaData.java:
1635         (ParameterMetaData): Readded accidently removed "public" modifier.
1636         * java/sql/PreparedStatement.java:
1637         (PreparedStatement): Readded accidently removed "public" modifier.
1638         * java/sql/Ref.java:
1639         (Ref): Readded accidently removed "public" modifier.
1640
1641 2003-10-13  Michael Koch  <konqueror@gmx.de>
1642
1643         * java/nio/Buffer.java
1644         (hasRemaining): Made implementation more clear.
1645         * java/nio/MappedByteBuffer.java
1646         (loaded): New member variable.
1647         (force): Added comment.
1648         (isLoaded): Return value of loaded.
1649         (load): Set loaded to true, added comment.
1650
1651 2003-10-12  Michael Koch  <konqueror@gmx.de>
1652
1653         * gnu/java/nio/PipeImpl.java
1654         (SourceChannelImpl): New inner class.
1655         (SinkChannelImpl): New inner class.
1656         (sink): New member variable.
1657         (source): New member variable.
1658         (PipeImpl): Add SelectorProvider argument, implemented.
1659         (nativeInit): New method.
1660         (sink): Return sink channel.
1661         (source): Return source channel.
1662         * gnu/java/nio/SelectorProviderImpl.java
1663         (openPipe): Give provider as argument to PipeImpl constructor.
1664         * java/nio/channels/spi/SelectorProvider.java
1665         (pr): Removed.
1666         (systemDefaultProvider): New member variable.
1667         (provider): Made it synchronized, use property
1668         java.nio.channels.spi.SelectorProvider.
1669         * gnu/java/nio/natPipeImpl.cc: New file.
1670         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1671         * Makefile.in: Regenerated.
1672
1673 2003-10-12  Michael Koch  <konqueror@gmx.de>
1674
1675         * javax/swing/table/DefaultTableModel.java,
1676         javax/swing/table/TableCellEditor.java,
1677         javax/swing/table/TableCellRenderer.java,
1678         javax/swing/table/TableColumnModel.java,
1679         javax/swing/table/TableModel.java,
1680         javax/swing/text/AbstractDocument.java,
1681         javax/swing/text/Document.java,
1682         javax/swing/text/MutableAttributeSet.java,
1683         javax/swing/text/StyledDocument.java,
1684         javax/swing/text/ViewFactory.java,
1685         javax/swing/tree/DefaultMutableTreeNode.java,
1686         javax/swing/tree/MutableTreeNode.java,
1687         javax/swing/tree/RowMapper.java,
1688         javax/swing/tree/TreeCellEditor.java,
1689         javax/swing/tree/TreeCellRenderer.java,
1690         javax/swing/tree/TreeModel.java,
1691         javax/swing/tree/TreeNode.java,
1692         javax/swing/tree/TreeSelectionModel.java,
1693         javax/swing/undo/StateEditable.java,
1694         javax/swing/undo/UndoableEdit.java:
1695         Removed redundant modifiers.
1696
1697 2003-10-12  Michael Koch  <konqueror@gmx.de>
1698
1699         * javax/swing/event/AncestorListener.java,
1700         javax/swing/event/CaretListener.java,
1701         javax/swing/event/CellEditorListener.java,
1702         javax/swing/event/ChangeListener.java,
1703         javax/swing/event/DocumentEvent.java,
1704         javax/swing/event/DocumentListener.java,
1705         javax/swing/event/HyperlinkListener.java,
1706         javax/swing/event/InternalFrameListener.java,
1707         javax/swing/event/ListDataListener.java,
1708         javax/swing/event/ListSelectionListener.java,
1709         javax/swing/event/MenuDragMouseListener.java,
1710         javax/swing/event/MenuKeyListener.java,
1711         javax/swing/event/MenuListener.java,
1712         javax/swing/event/MouseInputListener.java,
1713         javax/swing/event/PopupMenuListener.java,
1714         javax/swing/event/TableColumnModelListener.java,
1715         javax/swing/event/TableModelListener.java,
1716         javax/swing/event/TreeExpansionListener.java,
1717         javax/swing/event/TreeModelListener.java,
1718         javax/swing/event/TreeSelectionListener.java,
1719         javax/swing/event/TreeWillExpandListener.java,
1720         javax/swing/event/UndoableEditListener.java,
1721         javax/swing/plaf/UIResource.java,
1722         javax/swing/plaf/metal/MetalLookAndFeel.java:
1723         Removed redundant modifiers.
1724
1725 2003-10-12  Michael Koch  <konqueror@gmx.de>
1726
1727         * javax/swing/Action.java,
1728         javax/swing/BoundedRangeModel.java,
1729         javax/swing/CellEditor.java,
1730         javax/swing/ComboBoxEditor.java,
1731         javax/swing/ComboBoxModel.java,
1732         javax/swing/DesktopManager.java,
1733         javax/swing/JComboBox.java,
1734         javax/swing/ListCellRenderer.java,
1735         javax/swing/ListSelectionModel.java,
1736         javax/swing/MenuElement.java,
1737         javax/swing/MutableComboBoxModel.java,
1738         javax/swing/Renderer.java,
1739         javax/swing/RootPaneContainer.java,
1740         javax/swing/ScrollPaneConstants.java,
1741         javax/swing/SingleSelectionModel.java,
1742         javax/swing/SpinnerModel.java,
1743         javax/swing/SwingConstants.java,
1744         javax/swing/UIDefaults.java,
1745         javax/swing/WindowConstants.java,
1746         javax/swing/border/Border.java,
1747         javax/swing/colorchooser/ColorSelectionModel.java:
1748         Removed redundant modifiers.
1749
1750 2003-10-11  Michael Koch  <konqueror@gmx.de>
1751
1752         * javax/transaction/Status.java,
1753         javax/transaction/Synchronization.java,
1754         javax/transaction/Transaction.java,
1755         javax/transaction/TransactionManager.java,
1756         javax/transaction/UserTransaction.java,
1757         javax/transaction/xa/XAResource.java,
1758         javax/transaction/xa/Xid.java:
1759         Removing redundant modifiers.
1760
1761 2003-10-11  Michael Koch  <konqueror@gmx.de>
1762
1763         * javax/print/attribute/Attribute.java,
1764         javax/print/attribute/AttributeSet.java,
1765         javax/print/attribute/PrintRequestAttributeSet.java:
1766         Removing redundant modifiers.
1767
1768 2003-10-11  Michael Koch  <konqueror@gmx.de>
1769
1770         * javax/sql/ConnectionEventListener.java,
1771         javax/sql/ConnectionPoolDataSource.java,
1772         javax/sql/DataSource.java,
1773         javax/sql/PooledConnection.java,
1774         javax/sql/RowSet.java,
1775         javax/sql/RowSetInternal.java,
1776         javax/sql/RowSetListener.java,
1777         javax/sql/RowSetMetaData.java,
1778         javax/sql/RowSetReader.java,
1779         javax/sql/RowSetWriter.java,
1780         javax/sql/XAConnection.java,
1781         javax/sql/XADataSource.java:
1782         Removing redundant modifiers.
1783
1784 2003-10-11  Michael Koch  <konqueror@gmx.de>
1785
1786         * javax/naming/Context.java,
1787         javax/naming/Name.java,
1788         javax/naming/NameParser.java,
1789         javax/naming/NamingEnumeration.java,
1790         javax/naming/Referenceable.java,
1791         javax/naming/directory/Attribute.java,
1792         javax/naming/directory/Attributes.java,
1793         javax/naming/directory/DirContext.java,
1794         javax/naming/event/EventContext.java,
1795         javax/naming/event/EventDirContext.java,
1796         javax/naming/event/NamespaceChangeListener.java,
1797         javax/naming/event/NamingListener.java,
1798         javax/naming/event/ObjectChangeListener.java,
1799         javax/naming/ldap/Control.java,
1800         javax/naming/ldap/ExtendedRequest.java,
1801         javax/naming/ldap/ExtendedResponse.java,
1802         javax/naming/ldap/HasControls.java,
1803         javax/naming/ldap/LdapContext.java,
1804         javax/naming/ldap/UnsolicitedNotification.java,
1805         javax/naming/ldap/UnsolicitedNotificationListener.java,
1806         javax/naming/spi/DirObjectFactory.java,
1807         javax/naming/spi/DirStateFactory.java,
1808         javax/naming/spi/InitialContextFactory.java,
1809         javax/naming/spi/InitialContextFactoryBuilder.java,
1810         javax/naming/spi/ObjectFactory.java,
1811         javax/naming/spi/ObjectFactoryBuilder.java,
1812         javax/naming/spi/Resolver.java,
1813         javax/naming/spi/StateFactory.java:
1814         Removing redundant modifiers.
1815
1816 2003-10-11  Michael Koch  <konqueror@gmx.de>
1817
1818         * java/security/Key.java,
1819         * java/security/PrivateKey.java,
1820         * java/security/PublicKey.java,
1821         * java/security/acl/Acl.java,
1822         * java/security/acl/AclEntry.java,
1823         * java/security/acl/Group.java,
1824         * java/security/acl/Owner.java,
1825         * java/security/acl/Permission.java,
1826         * java/security/cert/X509Extension.java,
1827         * java/security/interfaces/DSAKey.java,
1828         * java/security/interfaces/DSAKeyPairGenerator.java,
1829         * java/security/interfaces/DSAParams.java,
1830         * java/security/interfaces/DSAPrivateKey.java,
1831         * java/security/interfaces/DSAPublicKey.java,
1832         * java/security/interfaces/RSAKey.java,
1833         * java/security/interfaces/RSAPrivateCrtKey.java,
1834         * java/security/interfaces/RSAPrivateKey.java,
1835         * java/security/interfaces/RSAPublicKey.java:
1836         Removed redundant modifiers.
1837
1838 2003-10-11  Michael Koch  <konqueror@gmx.de>
1839
1840         * gnu/java/rmi/server/ProtocolConstants.java,
1841         gnu/java/security/der/DER.java:
1842         Removing redundant modifiers.
1843
1844 2003-10-11  Michael Koch  <konqueror@gmx.de>
1845
1846         * java/util/Map.java,
1847         java/util/Observer.java,
1848         java/util/zip/Checksum.java,
1849         java/util/zip/ZipConstants.java:
1850         Removed redundant modifiers.
1851
1852 2003-10-11  Michael Koch  <konqueror@gmx.de>
1853
1854         * java/text/AttributedCharacterIterator.java,
1855         java/text/CharacterIterator.java:
1856         Removed redundant modifiers.
1857
1858 2003-10-11  Michael Koch  <konqueror@gmx.de>
1859
1860         * java/sql/Array.java,
1861         java/sql/Blob.java,
1862         java/sql/CallableStatement.java,
1863         java/sql/Clob.java,
1864         java/sql/Connection.java,
1865         java/sql/DatabaseMetaData.java,
1866         java/sql/Driver.java,
1867         java/sql/ParameterMetaData.java,
1868         java/sql/PreparedStatement.java,
1869         java/sql/Ref.java,
1870         java/sql/ResultSet.java,
1871         java/sql/ResultSetMetaData.java,
1872         java/sql/SQLData.java,
1873         java/sql/SQLInput.java,
1874         java/sql/SQLOutput.java,
1875         java/sql/Savepoint.java,
1876         java/sql/Statement.java,
1877         java/sql/Struct.java:
1878         Removed redundant modifiers.
1879
1880 2003-10-11  Michael Koch  <konqueror@gmx.de>
1881
1882         * java/nio/channels/Channel.java,
1883         java/nio/channels/GatheringByteChannel.java,
1884         java/nio/channels/ReadableByteChannel.java,
1885         java/nio/channels/ScatteringByteChannel.java,
1886         java/nio/channels/WritableByteChannel.java:
1887         Removed redundant modifiers.
1888
1889 2003-10-11  Michael Koch  <konqueror@gmx.de>
1890
1891         * java/rmi/activation/ActivationInstantiator.java,
1892         java/rmi/activation/ActivationMonitor.java,
1893         java/rmi/activation/ActivationSystem.java,
1894         java/rmi/activation/Activator.java,
1895         java/rmi/dgc/DGC.java,
1896         java/rmi/registry/Registry.java,
1897         java/rmi/registry/RegistryHandler.java,
1898         java/rmi/server/LoaderHandler.java,
1899         java/rmi/server/RMIClientSocketFactory.java,
1900         java/rmi/server/RMIFailureHandler.java,
1901         java/rmi/server/RMIServerSocketFactory.java,
1902         java/rmi/server/RemoteCall.java,
1903         java/rmi/server/RemoteRef.java,
1904         java/rmi/server/ServerRef.java,
1905         java/rmi/server/Skeleton.java,
1906         java/rmi/server/Unreferenced.java:
1907         Removed redundant modifiers.
1908
1909 2003-10-11  Michael Koch  <konqueror@gmx.de>
1910
1911         * java/net/ContentHandlerFactory.java,
1912         java/net/DatagramSocketImplFactory.java,
1913         java/net/FileNameMap.java,
1914         java/net/SocketImplFactory.java,
1915         java/net/SocketOptions.java,
1916         java/net/URLStreamHandlerFactory.java:
1917         Removed redundant modifiers.
1918
1919 2003-10-11  Michael Koch  <konqueror@gmx.de>
1920
1921         * java/io/Externalizable.java,
1922         java/io/FileFilter.java,
1923         java/io/FilePermission.java,
1924         java/io/ObjectInput.java,
1925         java/io/ObjectInputValidation.java,
1926         java/io/ObjectOutput.java,
1927         java/io/ObjectStreamClass.java,
1928         java/io/ObjectStreamConstants.java,
1929         java/io/Serializable.java:
1930         Removed redundant modifiers.
1931
1932 2003-10-11  Ingo Proetel  <proetel@aicas.com>
1933
1934         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
1935         codebase and context classloader.
1936
1937 2003-10-11  Michael Koch  <konqueror@gmx.de>
1938
1939         * java/beans/beancontext/BeanContext.java,
1940         java/beans/beancontext/BeanContextChild.java,
1941         java/beans/beancontext/BeanContextChildComponentProxy.java,
1942         java/beans/beancontext/BeanContextChildSupport.java,
1943         java/beans/beancontext/BeanContextContainerProxy.java,
1944         java/beans/beancontext/BeanContextMembershipListener.java,
1945         java/beans/beancontext/BeanContextProxy.java,
1946         java/beans/beancontext/BeanContextServiceProvider.java,
1947         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1948         java/beans/beancontext/BeanContextServiceRevokedListener.java,
1949         java/beans/beancontext/BeanContextServices.java,
1950         java/beans/beancontext/BeanContextServicesListener.java:
1951         Removed redundant modifiers.
1952
1953 2003-10-11  Michael Koch  <konqueror@gmx.de>
1954
1955         * java/beans/AppletInitializer.java,
1956         java/beans/BeanInfo.java,
1957         java/beans/Customizer.java,
1958         java/beans/DesignMode.java,
1959         java/beans/PropertyEditor.java,
1960         java/beans/Visibility.java:
1961         Removed redundant modifiers.
1962
1963 2003-10-11  Michael Koch  <konqueror@gmx.de>
1964
1965         * java/awt/print/Pageable.java,
1966         * java/awt/print/Printable.java,
1967         java/awt/print/PrinterGraphics.java:
1968         Removed redundant modifiers.
1969
1970 2003-10-11  Michael Koch  <konqueror@gmx.de>
1971
1972         * java/awt/peer/ButtonPeer.java,
1973         java/awt/peer/CheckboxMenuItemPeer.java,
1974         java/awt/peer/CheckboxPeer.java,
1975         java/awt/peer/ChoicePeer.java,
1976         java/awt/peer/ComponentPeer.java,
1977         java/awt/peer/ContainerPeer.java,
1978         java/awt/peer/DialogPeer.java,
1979         java/awt/peer/FileDialogPeer.java,
1980         java/awt/peer/FramePeer.java,
1981         java/awt/peer/LabelPeer.java,
1982         java/awt/peer/ListPeer.java,
1983         java/awt/peer/MenuBarPeer.java,
1984         java/awt/peer/MenuComponentPeer.java,
1985         java/awt/peer/MenuItemPeer.java,
1986         java/awt/peer/MenuPeer.java,
1987         java/awt/peer/PopupMenuPeer.java,
1988         java/awt/peer/RobotPeer.java,
1989         java/awt/peer/ScrollPanePeer.java,
1990         java/awt/peer/ScrollbarPeer.java,
1991         java/awt/peer/TextAreaPeer.java,
1992         java/awt/peer/TextComponentPeer.java,
1993         java/awt/peer/TextFieldPeer.java,
1994         java/awt/peer/WindowPeer.java:
1995         Removed redundant modifiers.
1996
1997 2003-10-11  Michael Koch  <konqueror@gmx.de>
1998
1999         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2000         * gnu/java/nio/ServerSocketChannelImpl.java
2001         (serverSocket): Made it a NIOServerSocket.
2002         (impl): Removed.
2003         (ServerSocketChannelImpl): Initialize only serverSocket.
2004         (initServerSocket): Removed.
2005         (getNativeFD): Rewritten.
2006         (implConfigureBlocking): Set socket timeout and removed comment.
2007         (accept): Rewritten.
2008         * gnu/java/nio/SocketChannelImpl.java
2009         (impl): New variable.
2010         (connected): Removed.
2011         (SocketChannelImpl): Initialize impl too.
2012         (getImpl): New method.
2013         (isConnected): Rewritten.
2014         (read): Rewritten, set position in buffer correctly.
2015         (write): Set position in buffer correctly.
2016         * java/net/ServerSocket.java (getImpl): New method.
2017         * gnu/java/nio/NIOServerSocket.java,
2018         gnu/java/nio/natNIOServerSocket.cc: New files.
2019         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2020         * Makefile.am
2021         (ordinary_java_source_files):
2022         Added gnu/java/nio/NIOServerSocket.java.
2023         (nat_source_files):
2024         Removed gnu/java/nio/natServerSocketChannelImpl.cc
2025         and added gnu/java/nio/natNIOServerSocket.cc.
2026         * Makefile.in: Regenerated.
2027
2028 2003-10-11  Michael Koch  <konqueror@gmx.de>
2029
2030         * java/awt/ActiveEvent.java,
2031         java/awt/datatransfer/ClipboardOwner.java,
2032         java/awt/datatransfer/FlavorMap.java,
2033         java/awt/datatransfer/Transferable.java,
2034         java/awt/dnd/Autoscroll.java,
2035         java/awt/dnd/peer/DragSourceContextPeer.java,
2036         java/awt/dnd/peer/DropTargetContextPeer.java,
2037         java/awt/dnd/peer/DropTargetPeer.java,
2038         java/awt/font/MultipleMaster.java,
2039         java/awt/font/OpenType.java,
2040         java/awt/im/spi/InputMethodDescriptor.java,
2041         java/awt/image/ImageObserver.java,
2042         java/awt/image/ImageConsumer.java,
2043         java/awt/image/ImageProducer.java,
2044         java/awt/image/RGBImageFilter.java,
2045         java/awt/image/RasterOp.java,
2046         java/awt/image/renderable/RenderableImage.java:
2047         Removed redundant modifiers.
2048
2049 2003-10-11  Michael Koch  <konqueror@gmx.de>
2050
2051         * gnu/awt/j2d/DirectRasterGraphics.java,
2052         gnu/java/awt/EmbeddedWindowSupport.java:
2053         Removed redundant modifiers.
2054
2055 2003-10-09  Michael Koch  <konqueror@gmx.de>
2056
2057         * gnu/java/nio/SelectorImpl.java (register):
2058         Use ServerSocketChannelSelectionKey for server socket channels,
2059         removed unneeded comments.
2060         * gnu/java/nio/ServerSocketChannelImpl.java
2061         (ServerSocketChannelImpl): Made class public final.
2062         (impl): New member variable.
2063         (ServerSocketChannelImpl): Initialize member variables correctly.
2064         (initServerSocket): New method.
2065         (getNativeFD): Likewise.
2066         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2067         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2068         * Makefile.am (ordinary_java_source_files):
2069         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2070         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2071         * Makefile.in: Regenrated.
2072
2073 2003-10-09  Michael Koch  <konqueror@gmx.de>
2074
2075         * java/nio/channels/spi/AbstractSelectableChannel.java
2076         (registered): Made private.
2077         (blocking): Likewise.
2078         (LOCK): Likewise.
2079         (provider): Likewise.
2080         (keys): Made it a private LinkedList.
2081         (AbstractSelectableChannel): Initialize keys.
2082         (isRegistered): New implementation.
2083         (locate): Rewritten.
2084         (register): Rewritten.
2085         * java/nio/channels/spi/AbstractSelectionKey.java
2086         (ok): Removed.
2087         (cancelled): New member variable.
2088         (cancel): Rewritten.
2089         (isValid): Rewritten.
2090         * java/nio/channels/spi/AbstractSelector.java:
2091         Some methods moved.
2092         (closed): Make private.
2093         (provider): Likewise.
2094         (cancelledKeys): New member variable.
2095         (AbstractSelector): Initialize cancelledKeys.
2096         (cancelKey): New method.
2097
2098 2003-10-09  Tom Tromey  <tromey@redhat.com>
2099
2100         * java/lang/ClassLoader.java (setSigners): Implemented.
2101         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2102         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2103         Initialize new fields.
2104         * java/lang/Class.java (getSigners): Now native.
2105         (setSigners): Declare.
2106         * java/lang/natClass.cc (getSigners): New method.
2107         (getSigners): Likewise.
2108         * java/lang/Class.h (Class::signers): New field.
2109         (Class::setSigners): New method.
2110
2111 2003-10-09  Michael Koch  <konqueror@gmx.de>
2112
2113         * java/rmi/server/RMIClassLoader.java:
2114         Removed unused imports, little reformatings.
2115         (getClassLoader): New method, implementation was part of old loadCLass
2116         method.
2117         (loadClass): Simplified by moving functionality to new method and
2118         reworking the code a bit.
2119         (getClassAnnotation): Merged documentation from classpath.
2120
2121 2003-10-09  Michael Koch  <konqueror@gmx.de>
2122
2123         * java/math/BigInteger.java
2124         (add): Removed unused local variable len.
2125
2126 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2127
2128         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
2129         modality check.
2130         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2131         Initialize insets to use latest insets.
2132         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2133         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
2134         field.
2135         (postConfigureEvent): Update latestInsets field when insets
2136         change.  Remove call to setSize.  Move validate call outside of
2137         if blocks.
2138         (setVisible): Call setBounds before showing window.
2139         (nativeSetVisible): New native method.
2140         * java/awt/Window.java (show): Show visible owned windows.
2141         (hide): Hide visible owned windows.
2142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2143         (awt_event_handler): Implement modality using GTK grabs.
2144         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2145         (global_gtk_window_group): New global variable.
2146         (gtkInit): Initialize global_gtk_window_group.
2147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2148         Clamp width and height values to at least 1.  Add this window to
2149         the global GTK window group.
2150         (setVisible): Rename to nativeSetVisible.
2151         (setup_window): Remove function.
2152         (setSize): Clamp width and height values to at least 1.
2153         (nativeSetBounds): Likewise.
2154         (gdk_window_get_root_geometry): Remove function.
2155         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
2156         and setup_window declarations.  Declare global_gtk_window_group.
2157
2158         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2159         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2160         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2161         (gtkWidgetSetForeground): New method.
2162         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2163         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2164         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
2165         (setBackground, setForeground): Implement.
2166         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2167         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2168         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
2169         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2170         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2172         Position PangoLayout relative to text's baseline.
2173         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
2174
2175         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
2176         for CENTER and RIGHT alignments.
2177
2178 2003-10-08  Michael Koch  <konqueror@gmx.de>
2179
2180         * java/security/Security.java: Reformated.
2181
2182 2003-10-08  Michael Koch  <konqueror@gmx.de>
2183
2184         * java/text/SimpleDateFormat.java
2185         (compileFormat): Replace Character.isLetter() test with
2186         Character.isLowerCase() || Character.isUpperCase().
2187
2188 2003-10-08  Tom Tromey  <tromey@redhat.com>
2189
2190         * java/lang/StrictMath.java (toDegrees): Multiply before
2191         dividing.
2192         (toRadians): Likewise.
2193
2194 2003-10-08  C. Brian Jones  <cbj@gnu.org>
2195
2196         * java/lang/Math.java
2197         (toRadians): multiply before dividing to reduce decimal error
2198         (toDegrees): ditto
2199
2200 2003-10-08  Michael Koch  <konqueror@gmx.de>
2201
2202         * gnu/gcj/protocol/core/Connection.java,
2203         gnu/gcj/protocol/core/CoreInputStream.java,
2204         gnu/gcj/protocol/core/Handler.java,
2205         gnu/gcj/protocol/core/natCoreInputStream.cc,
2206         gnu/gcj/protocol/file/Connection.java,
2207         gnu/gcj/protocol/file/Handler.java,
2208         gnu/gcj/protocol/gcjlib/Connection.java,
2209         gnu/gcj/protocol/gcjlib/Handler.java,
2210         gnu/gcj/protocol/http/Connection.java,
2211         gnu/gcj/protocol/http/Handler.java,
2212         gnu/gcj/protocol/jar/Connection.java,
2213         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2214         * gnu/java/net/protocol/core/Connection.java,
2215         gnu/java/net/protocol/core/CoreInputStream.java,
2216         gnu/java/net/protocol/core/Handler.java,
2217         gnu/java/net/protocol/core/natCoreInputStream.cc,
2218         gnu/java/net/protocol/file/Connection.java,
2219         gnu/java/net/protocol/file/Handler.java,
2220         gnu/java/net/protocol/gcjlib/Connection.java,
2221         gnu/java/net/protocol/gcjlib/Handler.java,
2222         gnu/java/net/protocol/http/Connection.java,
2223         gnu/java/net/protocol/http/Handler.java,
2224         gnu/java/net/protocol/jar/Connection.java,
2225         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2226         * gnu/gcj/runtime/FirstThread.java,
2227         java/net/URL.java: Use moved protocol handlers.
2228         * Makefile.am
2229         (ordinary_java_source_files): Moved files.
2230         (nat_source_files): Likewise.
2231         * Makefile.in: Regenerated.
2232
2233 2003-10-08  Michael Koch  <konqueror@gmx.de>
2234
2235         * gnu/java/nio/SocketChannelImpl.java
2236         (read): Write only read data to buffer.
2237
2238 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2239
2240         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2241         out.
2242         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2243         (JCL_free): Attach "unused" attribute to env parameter.
2244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2245         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2246         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2247         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2248         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2249         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2250         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2251         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2252         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2253         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2254         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2255         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2256         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2257         parameters.
2258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2259         (initNativeState): Pass 0 as info argument to
2260         gtk_selection_add_target.
2261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2262         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2263         unused method implementations.
2264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2265         (awt_event_handler): Add break statement after default label.
2266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2267         (drawPixels): Remove unused variable i.
2268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2269         (setEnabled): Remove method implementation.
2270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2271         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2272         argument.
2273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2274         unused function.
2275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2276         (menu_pos): Assign TRUE to push_in.
2277         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2278         argument.
2279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2280         (create): Remove unused variable layout.
2281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2282         Pass window_widget, rather than window, to
2283         gtk_widget_set_size_request.
2284         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2285         structure initialization with NULL values.
2286         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2287
2288 2003-10-08  Michael Koch  <konqueror@gmx.de>
2289
2290         * java/util/LinkedList.java:
2291         Removed whitespace to match classpath's version again.
2292
2293 2003-10-08  Michael Koch  <konqueror@gmx.de>
2294
2295         * java/util/prefs/Preferences.java
2296         (defaultFactoryClass): Fixed class name.
2297         (getFactory): Create instance of class returned by Class.forName(),
2298         reformated code.
2299
2300 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2301
2302         * javax/swing/table/AbstractTableModel.java
2303         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2304         helped stop pulling my hair on this +1 then -1 tricky thing!
2305
2306 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2307
2308         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2309         Remove unused parameters.
2310         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2311         Likewise.
2312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2313         (keyevent_state_to_awt_mods): Export function.
2314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2315         (getCaretPosition): Fix TextArea case.
2316         (textcomponent_commit_cb): Get exact event time and modifier
2317         state.
2318         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2319
2320 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
2321
2322         * java/net/InetSocketAddress.java
2323         (InetSocketAddress): Made exception more clear.
2324         (equals): Handle case when addr is null.
2325         (toString): Likewise.
2326         * java/net/NetworkInterface.java
2327         (static): Load native library.
2328         (getNetworkInterfaces): Rewritten.
2329
2330 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2331
2332         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2333         field.
2334         (initializeInsets): New method.
2335         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
2336         setBounds unconditionally.
2337         (setBounds): Convert coordinates if parent is a Window.
2338         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2339         field to GtkComponentPeer.
2340         (GtkContainerPeer): Don't initialize insets.
2341         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2342         New method.
2343         (create): Call new GtkWindowPeer create method.
2344         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2345         New method.
2346         (create): Call new GtkWindowPeer create method.
2347         (setBounds): Remove method.
2348         (postConfigureEvent): Likewise.
2349         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2350         type constants with GDK window type constants.
2351         (create(int,boolean,int,int,GtkWindowPeer)): New method.
2352         (create(int,boolean)): Likewise.
2353         (create()): Call create(int,boolean).
2354         (nativeSetBounds): New native method declaration.
2355         (setBounds): Call native method declaration.
2356         (setSize): New native method declaration.
2357         (setBoundsCallback): Likewise.
2358         (postConfigureEvent): Handle change in insets.  Call setSize and
2359         setBoundsCallback methods.
2360         * java/awt/Window.java (Window): Set visible to false.
2361         (setBoundsCallback): New method.
2362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2363         (gtkWidgetGetLocationOnScreen): If this component is not a
2364         container, adjust the location returned based on the peer's
2365         allocation.
2366         (set(String,boolean)): Revert change from 2003-09-19.
2367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2368         (awt_event_handler): Fix inset calculation.
2369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2370         glue for Window.setBoundsCallback.
2371         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2372         Set up stacking order, window decorations and window manager
2373         hints.
2374         (setBoundsCallback): New method.
2375         (setSize): New method.
2376         (nativeSetBounds): New method.
2377         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2378
2379 2003-10-02  Tom Tromey  <tromey@redhat.com>
2380
2381         * java/lang/VMClassLoader.java (loadClass): Now native.
2382         * java/lang/natClassLoader.cc (loadClass): Implement.
2383         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2384
2385 2003-10-02  Michael Koch  <konqueror@gmx.de>
2386
2387         * java/net/InetAddress.java
2388         (zeros): Removed.
2389         (ANY_IF): Initalizie in static block.
2390         (static): Load library with native methods here and initialize ANY_IF.
2391         (isAnyLocalAddress): Check if equal to ANY_IF.
2392         (equals): Use addr directly instead of addr1. Simplify for loop.
2393         (toString): Rename "result" to "host" and add IP address allways.
2394         (getLocalHost): Merged documentation from classpath.
2395         * java/net/ServerSocket.java
2396         (ServerSocket): New package-private constructor used by java.nio.
2397         * java/net/URLConnection.java
2398         (getRequestProperties): Check if already connected.
2399
2400 2003-10-02  Michael Koch  <konqueror@gmx.de>
2401
2402         * java/nio/ByteBufferHelper.java:
2403         Rewrote all methods by suggestions from Eric Blake.
2404
2405 2003-10-02  Michael Koch  <konqueror@gmx.de>
2406
2407         * java/net/URL.java
2408         (DEFAULT_SEARCH_PATH): New static variable.
2409         (ph_cache): Made it a HashMap.
2410         (getURLStreamHandler): Rename propVal to ph_search_path and use
2411         DEFAULT_SEARCH_PATH.
2412
2413 2003-10-02  Michael Koch  <konqueror@gmx.de>
2414
2415         * javax/swing/table/AbstractTableModel.java
2416         (findColumnName): Prevent from NullPointerException if argument
2417         columnName is null.
2418
2419 2003-10-02  Michael Koch  <konqueror@gmx.de>
2420
2421         * javax/swing/table/AbstractTableModel.java:
2422         This patch is based on a patch done by Arnaud Vandyck
2423         <arnaud.vandyck@ulg.ac.be>.
2424         (getColumnName): Fixed method documentation.
2425         (findColumn): Likewise.
2426         (getColumnClass): Likewise.
2427         (isCellEditable): Likewise.
2428         (setValueAt): Likewise.
2429         (addTableModelListener): Likewise.
2430         (removeTableModelListener): Likewise.
2431         (getTableModelListeners): New method.
2432
2433 2003-10-02  Michael Koch  <konqueror@gmx.de>
2434
2435         * javax/swing/table/AbstractTableModel.java:
2436         Reformated.
2437
2438 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
2439
2440         Fix PR libgcj/12475
2441         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2442         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2443
2444 2003-10-01  Tom Tromey  <tromey@redhat.com>
2445
2446         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2447
2448 2003-10-01  Andrew Haley  <aph@redhat.com>
2449
2450         * java/lang/natClass.cc (initializeClass): Check for otable and
2451         atable.
2452         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
2453         loops using for().  Search superinterfaces.  Check for fields as
2454         well as methods.  Initialize atable as well as otable: check for
2455         static methods as well as virtual methods.
2456         * java/lang/Class.h (struct _Jv_AddressTable): New.
2457         (atable): New.
2458         (atable_syms): New.
2459         * include/jvm.h (_Jv_equalUtf8Consts): constify.
2460         * prims.cc (_Jv_equalUtf8Consts): constify.
2461
2462 2003-09-29  Tom Tromey  <tromey@redhat.com>
2463
2464         PR libgcj/10596:
2465         * include/jvm.h (_Jv_FinalizeString,
2466         _Jv_RegisterStringFinalizer): Declare.
2467         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2468         unintern.
2469         (intern): Updated.
2470         (_Jv_NewStringUtf8Const): Likewise.
2471         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2472         Add special case when finalizing a String.
2473         (in_hash): New function.
2474         (_Jv_RegisterStringFinalizer): Likewise.
2475         (maybe_add_finalize): Likewise.
2476
2477 2003-09-29  Michael Koch  <konqueror@gmx.de>
2478
2479         * java/net/InetAddress.java:
2480         (isMulticastAddress): Dont use local variable to store address length.
2481         Let the compiler optimize this.
2482         (getHostName): Merged dcoumentation from classpath.
2483         (getAddress): Likewise.
2484         (getHostAddress): Likewise.
2485         (hashCode): Likewise.
2486         (equals): Likewise.
2487         (toString): Likewise.
2488         (getByName): Likewise.
2489         (getAllByName): Likewise.
2490
2491 2003-09-29  Michael Koch  <konqueror@gmx.de>
2492
2493         * java/awt/image/IndexColorModel.java: Reformated.
2494
2495 2003-09-29  Michael Koch  <konqueror@gmx.de>
2496
2497         * java/net/InetAddress.java,
2498         java/net/URL.java: Reformated.
2499
2500 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
2501
2502         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
2503         significant bit of descriptor. Include the vtable and sync_info 
2504         fields.
2505
2506 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2507
2508         * java/text/DateFormat.java (format): Throw IllegalArgumentException
2509         if `obj' is not a Number or Date instance.
2510         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2511         instead of Vector.
2512
2513 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2514
2515         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2516         Don't call setTimeZone on calendar.
2517
2518 2003-09-27  Michael Koch  <konqueror@gmx.de>
2519
2520         * java/net/URL.java (getURLStreamHandler): Compile fixes.
2521
2522 2003-09-27  Michael Koch  <konqueror@gmx.de>
2523
2524         * java/net/URL.java (getURLStreamHandler):
2525         Check if we have to use cache before trying to retrieve handler from
2526         cache. Rename facName to clsName to match classpath more. Reformated
2527         some little pieces.
2528
2529 2003-09-27  Michael Koch  <konqueror@gmx.de>
2530
2531         * gnu/java/nio/SelectionKeyImpl.java
2532         (ch): Make package-private again. Jikes found this bug.
2533         Jeff Sturm submitted PR12426 for this to bugzilla
2534         to fix this bug in gcj.
2535
2536 2003-09-26  Michael Koch  <konqueror@gmx.de>
2537
2538         * java/rmi/server/RMIClassLoader.java:
2539         Reformatted file, no functional code changes.
2540
2541 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
2542
2543         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
2544         Save space for some pixels at the buffer end.  Added Javadoc.
2545
2546 2003-09-26  Tom Tromey  <tromey@redhat.com>
2547
2548         * java/io/ObjectOutputStream.java (writeFields): Fixed
2549         indentation.
2550         (putFields): Likewise.
2551
2552 2003-09-26  Michael Koch  <konqueror@gmx.de>
2553
2554         * java/nio/ByteBufferHelper.java:
2555         Totally reworked with help from Eric Blake.
2556
2557 2003-09-26  Tom Tromey  <tromey@redhat.com>
2558
2559         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2560         * java/awt/geom/PathIterator.java: Documentation fixes.
2561
2562 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2563
2564         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2565         (select): Likewise.
2566         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2567
2568 2003-09-25  Michael Koch  <konqueror@gmx.de>
2569
2570         * gnu/java/nio/DatagramChannelImpl.java
2571         (getNativeFD): New method.
2572         * gnu/java/nio/SelectionKeyImpl.java
2573         (SelectionKeyImpl): Class made abstract.
2574         (fd): Removed.
2575         (SelectionKeyImpl): Remove fd argument.
2576         (getNativeFD): New method.
2577         * gnu/java/nio/SocketChannelImpl.java
2578         (getNativeFD): New method.
2579         gnu/java/nio/DatagramChannelSelectionKey.java,
2580         * gnu/java/nio/SocketChannelSelectionKey.java:
2581         New files.
2582         * Makefile.am (ordinary_java_source_files):
2583         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2584         gnu/java/nio/SocketChannelSelectionKey.java.
2585         * Makefile.in: Regenerated.
2586
2587 2003-09-25  Michael Koch  <konqueror@gmx.de>
2588
2589         * java/lang/reflect/Proxy.java
2590         (getProxyClass): Remove workaround for gcj 3.0.x.
2591
2592 2003-09-25  Michael Koch  <konqueror@gmx.de>
2593
2594         * gnu/java/net/PlainDatagramSocketImpl.java
2595         (finalize): Moved to directly after constructor.
2596         (getNativeFD): New method.
2597         * gnu/java/net/PlainSocketImpl.java
2598         (getNativeFD): New method.
2599
2600 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2601
2602         * java/io/ObjectOutputStream.java:
2603         Allow putFields be called more than once.
2604
2605 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2606
2607         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2608         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2609         * java/awt/image/BufferedImage.java (toString): Implement.
2610
2611 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
2612
2613         * aclocal.m4: Rebuilt.
2614         * configure: Rebuilt.
2615
2616 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2617
2618         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2619         field.
2620
2621 2003-09-25  Michael Koch  <konqueror@gmx.de>
2622
2623         * gnu/java/nio/SelectorImpl.java
2624         (implSelect): Renamed from java_do_select.
2625         (select): Call native implSelect() and add support for Thread
2626         interruption.
2627         * gnu/java/nio/natSelectorImpl.cc
2628         (implSelect): Renamed from java_do_select.
2629
2630 2003-09-25  Michael Koch  <konqueror@gmx.de>
2631
2632         * gnu/java/nio/SelectorImpl.java
2633         (selectNow): Made final, throws IOException.
2634         (select): Likewise.
2635         (getFDsAsArray): Made final.
2636         (selectedKeys): Likewise.
2637         (wakeup): Likewise.
2638         (deregisterCancelledKeys): Likewise.
2639         (register): Likewise.
2640         (ass): Removed.
2641         (add_selected): Removed.
2642         * gnu/java/nio/natSelectorImpl.cc:
2643         No need to include bstring.h or gcj/cni.h.
2644         (helper_put_filedescriptors): Rewritten.
2645         (helper_get_filedescriptors): Rewritten.
2646
2647 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
2648
2649         * java/awt/font/FontRenderContext.java (getTransform): Return
2650         copy of internal transform object. Add Javadoc.
2651         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2652         winding rule as Sun J2SE.
2653         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2654
2655 2003-09-25  Ingo Proetel  <proetel@aicas.com>
2656
2657         * java/rmi/Naming.java:
2658         Added comments, now accepts pseudo protocol "rmi".
2659
2660 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
2661
2662         * java/text/DecimalFormat.java (format): Don't immediatly round
2663         baseNumber to long.
2664         (setMinimumIntegerDigits): Call super.
2665         (setMinimumFractionDigits): Likewise.
2666         (setMaximumIntegerDigits): Likewise.
2667         (setMaximumFractionDigits): Likewise.
2668
2669 2003-09-25  Michael Koch  <konqueror@gmx.de>
2670
2671         * gnu/java/nio/DatagramChannelImpl.java
2672         (DatagramChannelImpl): Made class final.
2673         (blocking): Made private.
2674         (socket): Made it a NIODatagramSocket and private.
2675         (DatagramChannelImpl): create NIODatagramSocket instead of
2676         DatagramSocket.
2677         (implConfigureBlocking): Set socket timeout.
2678         (connect): Check that channel is not closed.
2679         (write): Implemented.
2680         (write): Rewritten.
2681         (read): Implemented.
2682         (read): Rewritten.
2683         (receive): Implemented.
2684         (send): Implemented.
2685         * gnu/java/nio/SelectionKeyImpl.java
2686         (readyOps): Made private.
2687         (interestOps): Made private.
2688         (impl): Made private.
2689         (ch): Made private.
2690         (readyOps): Check if selection key is valid.
2691         (interestOps): Likewise.
2692         * gnu/java/nio/SelectorImpl.java
2693         (closed): Removed.
2694         (keys): Made private.
2695         (selected): Made private.
2696         (finalize): New method.
2697         (implCloseSelector): Rewritten.
2698         (keys): Return unmodifiable Set.
2699         (deregisterCancelledKeys): Fixed typo in method name.
2700         * gnu/java/nio/SocketChannelImpl.java
2701         (SocketChannelImpl): Made class final.
2702         (socket): Made it a NIOSocket and private.
2703         (blocking): Made private.
2704         (connected): Made private.
2705         (connectionPending): New member variable.
2706         (SocketChannelImpl): New implementation.
2707         (finalizer): Use isConnected().
2708         (connect): Rewritten.
2709         (finishConnect): Throws IOException, implemented.
2710         (isConnectionPending): Return connectionPending.
2711         (read): Rewritten.
2712         (write): Rewritten.
2713         * gnu/java/nio/NIOConstants.java: New file.
2714         * Makefile.am (ordinary_java_source_files):
2715         Added gnu/java/nio/NIOConstants.java.
2716         * Makefile.in: Regenerated.
2717
2718 2003-09-25  Michael Koch  <konqueror@gmx.de>
2719
2720         * java/net/InetAddress.java:
2721         Reorder imports, remove implementation comment.
2722         (isMulticastAddress): Merged documentation from classpath.
2723         * java/net/URLConnection.java
2724         (setRequestProperty): Check key for null, fix documentation.
2725         (adREquestProperty): Check key for null, remove wrong implementation
2726         and replace it with comment to overwrite this method in subclasses,
2727         fix documentation.
2728
2729 2003-09-25  Tom Tromey  <tromey@redhat.com>
2730
2731         * java/lang/reflect/Proxy.java (generate): Uncomment protection
2732         domain code.
2733         * java/lang/natClassLoader.cc (defineClass): Added `loader'
2734         argument.
2735         (linkClass0): Now in VMClassLoader.
2736         (markClassErrorState0): Likewise.
2737         (getSystemClassLoaderInternal): New method.
2738         * java/lang/natClass.cc (initializeClass): Use
2739         VMClassLoader::resolveClass.
2740         * java/lang/ClassLoader.java: New version, from Classpath.
2741         * java/lang/Class.java (getProtectionDomain):
2742         protectionDomainPermission and unknownProtectionDomain now in
2743         VMClassLoader.
2744         * java/lang/Class.h: VMClassLoader now a friend class.
2745         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2746         package-private.
2747         * gcj/javaprims.h: Regenerated class list.
2748         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2749         * java/lang/VMClassLoader.java: New version from Classpath;
2750         modified for libgcj use.
2751
2752 2003-09-25  Michael Koch  <konqueror@gmx.de>
2753
2754         * java/nio/ByteBufferHelper.java:
2755         New file.
2756         * java/nio/ByteBufferImpl.java,
2757         java/nio/DirectByteBufferImpl.java,
2758         java/nio/MappedByteBufferImpl.java
2759         (getType,putType): Use new helper class ByteBufferHelper.
2760         * Makefile.am (ordinary_java_source_files):
2761         Added java/nio/ByteBufferHelper.java.
2762         * Makefile.in: Regenerated.
2763
2764 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2765
2766         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2767         PR libgcj/12388.
2768
2769 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2770
2771         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2772         Strings, even if buffer is already shared.
2773
2774 2003-09-24  Michael Koch  <konqueror@gmx.de>
2775
2776         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2777
2778 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
2779
2780         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2781         (write): Likewise.
2782         (SocketInputStream): Declare `read' and `write' methods native.
2783         Remove implementations which called back into PlainSocketImpl.
2784         Remove unneccessary overridden methods.
2785         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
2786         to inner class PlainSocketImpl.SocketInputStream.
2787         (write): Likewise.
2788         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2789         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2790         * gnu/java/net/SocketInputStream.java: Remove unused file.
2791         * gnu/java/net/SocketOutputStream.java: Likewise.
2792         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2793         and SocketOutputStream.
2794         * Makefile.in: Rebuilt.
2795
2796 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2797
2798         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2799
2800         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2801         markers.
2802
2803 2003-09-22  Anthony Green  <green@redhat.com>
2804
2805         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2806         * configure: Rebuilt.
2807
2808 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2809
2810         PR java/12350:
2811         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2812
2813 2003-09-22  Michael Koch  <konqueror@gmx.de>
2814
2815         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2816         compiler warning but produces a different one now.
2817
2818 2003-09-22  Michael Koch  <konqueror@gmx.de>
2819
2820         * java/net/InetAddress.java:
2821         Moves around some code, reformats and adds documentation.
2822         No functional changes.
2823
2824 2003-09-22  Michael Koch  <konqueror@gmx.de>
2825
2826         * java/net/JarURLConnection.java
2827         (JarURLConnection): Modifed code to match classpath more, fixed comment.
2828         (getCertificates): Made it more error prone.
2829         (getMainAttributes): Likewise.
2830         (getAttributes): Implemented.
2831         (getManifest): Reformatted code.
2832
2833 2003-09-20  Tom Tromey  <tromey@redhat.com>
2834
2835         * java/awt/Component.java: Indentation cleanup from Classpath.
2836
2837 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
2838
2839        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2840        checking to follow 1.4.2 spec.
2841
2842 2003-08-11  Ingo Proetel  <proetel@aicas.com>
2843
2844         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
2845         is compatible in case client and server are running in the same VM
2846         (remerged from Classpath on 2003-09-20)
2847
2848 2003-09-19  David Daney <ddaney@avtrex.com>
2849
2850         * java/lang/ref/Reference.java (clear): Set referent to null and
2851         synchronize.
2852
2853 2003-09-19  Michael Koch  <konqueror@gmx.de>
2854
2855         * gnu/java/nio/NIODatagramSocket.java,
2856         gnu/java/nio/NIOSocket.java: New files.
2857         * Makefile.am (ordinary_java_source_files):
2858         Added gnu/java/nio/NIODatagramSocket.java and
2859         gnu/java/nio/NIOSocket.java.
2860         * Makefile.in: Regenerated.
2861
2862 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2863
2864         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2865         top-level GTK window.
2866         (getArgs): Add "title" property.
2867         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2868         "allow_shrink" and "allow_grow" properties.
2869         * java/awt/Dialog.java: Initialize resizable to true and change
2870         comments accordingly.  Initialize visible to false in
2871         constructors.
2872         * java/awt/Frame.java (dispose): Remove method.
2873         * java/awt/Window.java (ownedWindows): New field.
2874         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2875         owner's ownedWindows vector.
2876         (finalize): Remove method.
2877         (hide): Hide owned windows.
2878         (dispose): Dispose of owned windows.
2879         (getOwnedWindows): Implement.
2880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2881         unused GtkArg code.
2882         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2883         to TRUE or FALSE.
2884         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2885         (create): Set window's size requisition.
2886         (connectHooks): Fix indentation.
2887         (setResizable): Remove function.
2888         (static setBounds): Likewise.
2889         (setBounds): Replace call to setBounds with GTK size requisition
2890         and resize calls.
2891
2892 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
2893
2894         * win32-threads.cc: (ensure_interrupt_event_initialized) New
2895         function for lazy initialization of an auto-reset event.
2896         (_Jv_CondWait) Added thread interrupt support.
2897         (_Jv_ThreadInitData) Added initialization of interrupt support
2898         members.
2899         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2900         (_Jv_ThreadStart) Removed unused code.
2901         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2902         to an external caller.
2903         (_Jv_ThreadInterrupt) Implemented.
2904         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2905         event for interrupt support as well as a mutex which regulates
2906         access to this.
2907         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2908         event to an external caller.
2909         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2910         process.
2911         (waitFor) Added interrupt support.
2912
2913 2003-09-19  Michael Koch  <konqueror@gmx.de>
2914
2915         * java/net/DatagramSocket.java (getLocalAddress):
2916         Renamed result variable to localAddr.
2917         * java/net/MulticastSocket.java:
2918         No need to import gnu.java.net.PlainDatagramSocketImpl.
2919
2920 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2921
2922         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2923         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2924
2925 2003-09-18  Tom Tromey  <tromey@redhat.com>
2926
2927         * javax/naming/InitialContext.java: Reindented.
2928
2929 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
2930             Helmer Kraemer <hkraemer@freenet.de>
2931
2932         * javax/naming/spi/NamingManager.java (getURLContext,
2933         getObjectInstance, getStateToBind): Always use current thread's
2934         context class loader when calling Class.forName.
2935
2936 2003-09-18  Michael Koch  <konqueror@gmx.de>
2937
2938         * java/util/Timer.java (finalize): Added "throws Throwable".
2939
2940 2003-09-18  Michael Koch  <konqueror@gmx.de>
2941
2942         * java/net/DatagramSocket.java
2943         (ch): Removed.
2944         (receive): Use getChannel() instead of ch.
2945         (send): Likewise.
2946         (getChannel): Return null.
2947         * java/net/ServerSocket.java
2948         (ch): Removed.
2949         (setChannel): Removed.
2950         (implAccept): Use getChannel() instead of ch.
2951         (close): Likewise.
2952         (getChannel): Return null.
2953         * java/net/Socket.java
2954         (ch): Removed.
2955         (connect): Use getChannel() instead of ch.
2956         (setChannel): Removed.
2957         (getChannel): Return null.
2958
2959 2003-09-18  Mark Wielaard  <mark@klomp.org>
2960
2961         Reported by Guilhem Lavaux and Julian Dolby
2962         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2963         field "serialPersistentFields", not "getSerialPersistentFields".
2964
2965 2003-09-18  Ingo Proetel  <proetel@aicas.com>
2966
2967         * java/util/TimeZone.java: Initialize lazily.
2968         * java/util/Locale.java (readManifest): Fix check for country.
2969         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2970         traceable 
2971         * java/util/Calendar.java: Make use of ResourceBundle better
2972         traceable.
2973
2974 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
2975
2976         * java/sql/Timestamp.java
2977         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2978
2979 2003-09-18  David P Grove  <groved@us.ibm.com>
2980
2981         * java/io/LineNumberReader (read): Don't reset pos & limit when
2982         markPos is 0.
2983
2984 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
2985
2986         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2987         constant.
2988         (computeArguments): use computeTypicalArguments.
2989
2990         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2991         Compile_jikes.java and RMICException.java.
2992         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2993         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2994         * gnu/java/rmi/rmic/RMICException.java: Likewise.
2995  
2996         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2997  
2998         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2999         (computeTypicalArguments): New method.
3000         (compile): Print compiler output to System.out. Collect compiler
3001         error output and use it in exception message.
3002  
3003         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3004         (destination): Initialize to null.
3005         (run): Replace file separator with '.' when processing class.
3006         (processClass): Replace '.' with file separator when compiling
3007         classes.
3008         (findClass): Use SystemClassLoader to load class.
3009         (generateStub): Use full class name for generated stub, that puts
3010         it in right path.  Replace '.' with file separator when generating
3011         stub file name. Write just the stub class name without package
3012         information as class name, and constructor name. Write only
3013         interface names for interfaces extending java.rmi.Remote as
3014         implemented.
3015         (generateSkel): Use full class name for generated skel, that puts
3016         it in right path.  Replace '.' with file separator when generating
3017         stub file name. Write just the stub class name without package
3018         information as class name.
3019
3020 2003-09-18  Michael Koch  <konqueror@gmx.de>
3021
3022         * Makefile.am (rmi_java_source_files):
3023         Added gnu/java/rmi/rmic/Compile_kjc.java,
3024         gnu/java/rmi/rmic/Compile_jikes.java and
3025         gnu/java/rmi/rmic/RMICException.java
3026         * Makefile.in: Regenerated.
3027
3028 2003-09-17  Graydon Hoare  <graydon@redhat.com>
3029
3030         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3031         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3032         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3033         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
3034         New files.
3035
3036 2003-09-16  Graydon Hoare  <graydon@redhat.com>
3037
3038         * java/awt/BufferedImage.java (setData): Support non-component
3039         sample models.
3040         (getData): Same.
3041
3042 2003-09-10  Graydon Hoare  <graydon@redhat.com>
3043
3044         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3045         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3046
3047 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
3048
3049         * configure.in: Standardized help text case of
3050         --enable-hash-synchronization
3051         New configure switch --enable-libgcj-multifile and corresponding
3052         automake conditional ONESTEP.
3053         * configure: Rebuilt.
3054         * Makefile.am: Use automake conditional ONESTEP to determine
3055         whether classfiles should be compiled individually or all
3056         at once.
3057         * Makefile.in: Rebuilt.
3058
3059 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3060
3061         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3062         Remove method declaration.
3063         (create()): Call native create.
3064         (create(int)): New method.
3065         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3066         (create): Add window_id parameter.  Call gtk_plug_new with
3067         window_id parameter.
3068         (construct): Remove method implementation.
3069
3070 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
3071
3072         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3073         (mostlyclean-local): New target patterned after clean-local
3074         which recursively deletes all libtool objects using 'libtool rm'.
3075         (clean-local): Slightly modified comment to alleviate monotony.
3076         (distclean-local): New target patterned after clean-local
3077         which recursively deletes all .d files.
3078         * Makefile.in: Rebuilt.
3079
3080 2003-09-11  Tom Tromey  <tromey@redhat.com>
3081
3082         * java/net/URLStreamHandler.java (parseURL): If original file
3083         ends with "/", so must canonical result.
3084         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3085         with nul-termination and finding previous "/".
3086
3087 2003-09-11  Michael Koch  <konqueror@gmx.de>
3088
3089         * acconfig.h: Removed most items.
3090         * configure.in: Added descriptions to AC_DEFINE macros that where in
3091         acconfig.h before.
3092         * include/config.h.in: Regenerated.
3093
3094 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
3095
3096         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3097         if one is installed. Improve Javadoc.
3098         (getSystemEventQueueImpl): Improve Javadoc.
3099
3100 2003-09-11  Tom Tromey  <tromey@redhat.com>
3101
3102         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3103         file does not exist.
3104
3105 2003-09-10  Anthony Green  <green@redhat.com>
3106
3107         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3108         Specify full name when referencing ::java::net::InetAddress.
3109         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3110         Fix argument type.
3111
3112 2003-09-10  Michael Koch  <konqueror@gmx.de>
3113
3114         * acconfig.h (__NO_MATH_INLINES): Removed.
3115         * configure.in: Removed check for g++ math inlining bug from 2000.
3116         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
3117         libgcj_cxxflags.
3118         * configure: Regenerated.
3119
3120 2003-09-10  David Daney <ddaney@avtrex.com>
3121
3122         * java/util/Arrays.java (equals(all variants)): Quit using
3123         NullPointerException catching to detect null valued parameters.
3124
3125 2003-09-10  Michael Koch  <konqueror@gmx.de>
3126
3127         * java/net/DatagramSocket.java,
3128         java/net/MulticastSocket.java,
3129         java/net/ServerSocket.java,
3130         java/net/Socket.java:
3131         Use gnu.java.net.Plain*SocketImpl instead of
3132         java.net.PlainSocketImpl.
3133         * java/net/PlainDatagramSocketImpl.java,
3134         java/net/PlainSocketImpl.java,
3135         java/net/SocketInputStream.java,
3136         java/net/SocketOutputStream.java,
3137         java/net/natPlainDatagramSocketImplNoNet.cc,
3138         java/net/natPlainDatagramSocketImplPosix.cc,
3139         java/net/natPlainDatagramSocketImplWin32.cc,
3140         java/net/natPlainSocketImplNoNet.cc,
3141         java/net/natPlainSocketImplPosix.cc,
3142         java/net/natPlainSocketImplWin32.cc:
3143         Removed.
3144         * gnu/java/net/PlainDatagramSocketImpl.java,
3145         gnu/java/net/PlainSocketImpl.java,
3146         gnu/java/net/SocketInputStream.java,
3147         gnu/java/net/SocketOutputStream.java,
3148         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
3149         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3150         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3151         gnu/java/net/natPlainSocketImplNoNet.cc,
3152         gnu/java/net/natPlainSocketImplPosix.cc,
3153         gnu/java/net/natPlainSocketImplWin32.cc:
3154         New files (moved from java/net).
3155         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
3156         instead of java/net/natPlain*SocketImpl.cc.
3157         * configure: Regenerated.
3158         * Makefile.am: Moved files from java/net to gnu/java/net.
3159         * Makefile.in: Regenerated.
3160
3161 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
3162
3163         * configure: Regenerate.
3164
3165 2003-09-04  Tom Tromey  <tromey@redhat.com>
3166
3167         * configure.host: Removed erroneous comment.
3168
3169         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
3170         lvalue cast; use correct rvalue cast.
3171
3172 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3173
3174         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
3175         and height arguments to GtkWindowPeer.create method call.
3176         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3177         (create(int,int,int)): New method.
3178         (create(int)): Add call to new create method.
3179         (create()): Add width and height arguments to create method
3180         call.
3181         (GtkWindowPeer): Remove call to setBounds.
3182         * java/awt/Frame.java (Frame(String)): Initialize visible field
3183         to false.
3184         (Frame(GraphicsConfiguration)): Likewise.
3185         (Frame(String,GraphicsConfiguration)): Likewise.
3186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3187         Add width and height parameters.  Call
3188         gtk_window_set_default_size.
3189         (connectHooks): Remove unused name variable.
3190         (static setBounds): Call gtk_window_resize not
3191         gtk_widget_set_usize.
3192         (setBounds): Remove unused nchildren variable.
3193
3194 2003-08-31  Ingo Proetel  <proetel@aicas.com>
3195
3196         * java/util/logging/Logger.java: provide class and method information
3197         * java/util/logging/LogManager.java: create handlers
3198         * java/util/logging/SimpleFormatter.java: print souceClassName and
3199         sourceMethodName
3200
3201 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3202
3203         * win32.cc: fixed tab, indentation and whitespace
3204         inconsistencies
3205         removed jvm.h include
3206         added includes java/lang/UnsupportedOperationException.h,
3207         java/io/IOException.h, java/net/SocketException.h
3208         (WSAEventWrapper): class implementation
3209         (_Jv_WinStrError): implemented both overloads
3210         (_Jv_ThrowIOException): implemented both overloads
3211         (_Jv_ThrowSocketException): implemented both overloads
3212         (_Jv_select): implemented
3213         * include/win32.h: fixed tab, indentation and whitespace
3214         inconsistencies
3215         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
3216         added jvm.h include
3217         (WSAEventWrapper): added class declaration
3218         (_Jv_WinStrError): added both overload declarations
3219         (_Jv_ThrowIOException): added both overload declarations
3220         (_Jv_ThrowSocketException): added both overload declarations
3221         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3222         (_Jv_select): added declaration
3223         (_Jv_socket): removed
3224         (_Jv_connect): removed
3225         (_Jv_close): removed
3226         (_Jv_bind): removed
3227         (_Jv_accept): removed
3228         (_Jv_listen): removed
3229         (_Jv_write): removed
3230         (_Jv_read): removed
3231         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3232         whitespace inconsistencies
3233         replaced <windows.h> #include with <platform.h>
3234         removed jvm.h include
3235         (testCanUseGetHandleInfo): new function which tests whether Win32
3236         GetHandleInformation() call can be used with console buffer handles
3237         (only supported on >=WinNT 5.0)
3238         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3239         (valid): rewrote implementation using GetHandleInformation()
3240         (sync):         changed exception throwing to use error string and exception
3241         helper methods declared in include/win32.h
3242         (open): likewise
3243         (write): likewise
3244         (setLength): likewise
3245         (close): likewise
3246         (seek): likewise
3247         (getFilePointer): likewise
3248         (read): likewise
3249         * java/io/natFileWin32.cc: fixed tab, indentation and
3250         whitespace inconsistencies
3251         replaced <windows.h> #include with <platform.h>
3252         removed jvm.h include
3253         (_access): use JV_TEMP_UTF_STRING
3254         (_stat): likewise
3255         (performMkDir): use JV_TEMP_UTF_STRING
3256         (performRenameTo): likewise
3257         (performDelete): likewise
3258         (performCreate): likewise
3259         (performSetReadOnly): likewise
3260         (performSetLastModified): likewise
3261         * java/lang/natWin32Process.cc: fixed tab, indentation and
3262         whitespace inconsistencies
3263         replaced <windows.h> #include with <platform.h>
3264         removed includes gcj/cni.h, jvm.h
3265         (new_string): removed
3266         (startProcess): use JV_TEMP_UTF_STRING,
3267         changed exception throwing to use error string and exception
3268         helper methods declared in include/win32.h
3269         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3270         whitespace inconsistencies
3271         replaced <windows.h> #include with <platform.h>
3272         removed jvm.h include
3273         removed DISABLE_JAVA_NET conditional code
3274         removed POSIX conditional code not relevant to Win32
3275         (aton): use JV_TEMP_UTF_STRING
3276         removed POSIX conditional code not relevant to Win32
3277         (lookup): likewise
3278         (getLocalHostName): likewise
3279         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3280         whitespace inconsistencies
3281         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3282         removed DISABLE_JAVA_NET conditional code
3283         removed POSIX conditional code not relevant to Win32
3284         (winsock2GetRealNetworkInterfaces): new function to compute network
3285         interfaces via Winsock2 API
3286         (determineGetRealNetworkInterfacesFN): new function for returning
3287         a function pointer to the function used to compute network interfaces.
3288         (getRealNetworkInterfaces): implemented
3289         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3290         whitespace inconsistencies
3291         removed gcj/cni.h include
3292         removed DISABLE_JAVA_NET conditional code
3293         removed POSIX conditional code not relevant to Win32
3294         changed net POSIXisms to Win32isms
3295         replaced _Jv socket-related calls with their real Win32 equivalents
3296         changed exception throwing to use error string and exception
3297         helper methods declared in include/win32.h
3298         (peekData): implemented timeout support
3299         (receive): likewise
3300         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3301         whitespace inconsistencies
3302         removed gcj/cni.h and gcj/javaprims.h includes
3303         removed DISABLE_JAVA_NET conditional code
3304         removed POSIX conditional code not relevant to Win32
3305         changed net POSIXisms to Win32isms
3306         replaced _Jv socket-related calls with their real Win32
3307         equivalents
3308         changed exception throwing to use error string and exception
3309         helper methods declared in include/win32.h
3310         (throwConnectException): helper function for connect()
3311         (connect): implemented timeout support
3312         (accept): likewise
3313         (doRead): new helper function common to both read() method overloads,
3314         includes timeout support
3315         (read): implemented both overloads in terms of doRead()
3316         (available): implemented using ioctlsocket()
3317
3318 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3319
3320         * java/net/natInetAddressWin32.cc,
3321         java/net/natNetworkInterfaceWin32.cc,
3322         java/net/natPlainDatagramSocketImplWin32.cc,
3323         java/net/natPlainSocketImplWin32.cc:
3324         Readded code enclosed in DISABLE_JAVA_NET defines
3325         in preparation for MinGW cleanup / networking
3326         patch
3327
3328 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
3329
3330         * Makefile.am: Fixed problems with parallel makes.
3331         (all_java_class_files): Readded definition.
3332         (all_java_class_files): New target which depends on
3333         libgcj-@gcc_version@.jar
3334         * Makefile.in: Rebuilt
3335
3336 2003-08-28  Tom Tromey  <tromey@redhat.com>
3337
3338         * Makefile.in: Rebuilt.
3339         * Makefile.am (ordinary_java_source_files): Added new files.
3340         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3341         friend.
3342         * java/net/URLClassLoader.java (findClass): Don't use
3343         findURLResource.  Use loader's getClass method.
3344         (URLLoader.getClass): New method.
3345         (addURL): Handle `gcjlib' URLs.
3346         (SoURLLoader): New class.
3347         (SoResource): Likewise.
3348         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3349         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3350         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3351         (_Jv_RegisterCoreHook): Declare.
3352         (_Jv_FindCore): Declare.
3353         * gnu/gcj/runtime/SharedLibHelper.java: New file.
3354         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3355         typedef.
3356         (core_hook): New function.
3357         (struct SharedLibDummy) [saved_core]: New field.
3358         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
3359         (register_hook): Set protection domain and class loader on new
3360         class.
3361         (finalize): Free core chain.
3362         * gnu/gcj/Core.java (Core): New constructor.
3363         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3364         SharedLibHelper.
3365         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3366         (_Jv_create_core): New function.
3367         (create): Use it.
3368         (default_register_resource): New function.
3369         (_Jv_RegisterCoreHook): New global.
3370         (_Jv_RegisterResource): Use it.
3371         (core_chain_struct): Removed.
3372         (_Jv_FindCore): New function.
3373         (_Jv_FreeCoreChain): New function.
3374
3375 2003-08-29  Michael Koch  <konqueror@gmx.de>
3376
3377         * java/net/natInetAddressWin32.cc,
3378         java/net/natNetworkInterfaceWin32.cc,
3379         java/net/natPlainDatagramSocketImplWin32.cc,
3380         java/net/natPlainSocketImplWin32.cc:
3381         Removed code enclosed in DISABLE_JAVA_NET defines.
3382
3383 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
3384
3385         * Makefile.am: (write_entries_to_file) New parameterized
3386         function for writing entries to a file one line at a time.
3387         (all_java_class_files): Removed definition.
3388         (.java.class) Removed.target.
3389         (libgcj-@gcc_version@.jar): Changed dependency to
3390         $(all_java_source_files); added compilation step which compiles
3391         all changed source files in one pass.
3392         (libgcj.la) Refactored to use write_entries_to_file.
3393         (lib-gnu-awt-xlib.la) Likewise.
3394         (install-data-local) Likewise.
3395         (write-entries-to-file-check) New target which tests write_entries_to_file.
3396         (all-recursive): Changed dependency from $(all_java_class_files)
3397         to libgcj-@gcc_version@.jar
3398         * Makefile.in: Rebuilt.
3399
3400 2003-08-26  Tom Tromey  <tromey@redhat.com>
3401
3402         * java/lang/StrictMath.java: Typo fix.
3403         * java/lang/Math.java: Typo fix.
3404
3405 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
3406
3407         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3408         of the removed Thread.
3409
3410 2003-08-26  Mark Wielaard  <mark@klomp.org>
3411
3412         Reported by David Holmes <dholmes@dltech.com.au>.
3413         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3414         Collections.synchronizedMap.
3415         * java/lang/ThreadLocal.java (valueMap): Likewise.
3416
3417 2003-08-26  Mark Wielaard  <mark@klomp.org>
3418
3419         * java/security/acl/Acl.java: Fix broken p tag.
3420         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3421         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3422         * javax/swing/plaf/TreeUI.java: Likewise.
3423         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3424         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3425         documentation.
3426         * java/util/PropertyResourceBundle.java: Likewise and add closing code
3427         tag.
3428
3429 2003-08-26  Tom Tromey  <tromey@redhat.com>
3430
3431         * Makefile.in: Rebuilt.
3432         * Makefile.am: Removed all GNU-make-specific FIXME comments.
3433
3434         * java/lang/ref/Reference.java (get): Indentation fix.
3435         (clear): Comment fix.
3436         (enqueue): Likewise.
3437         (lock): Likewise.
3438         (referent): Likewise.
3439
3440 2003-08-26  Tom Tromey  <tromey@redhat.com>
3441
3442         PR java/12058:
3443         * java/lang/reflect/natArray.cc (set): Allow null as argument.
3444
3445         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3446         (ProxyData.getPackage): New method.
3447         (ProxyData.getProxyData): Use package name, not Package.
3448         (ClassFactory.ClassFactory): Updated.
3449
3450 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
3451         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3452         * Makefile.in: re-generated.
3453         * gnu/awt/j2d/IntegerGraphicsState.java
3454         (ScreenCoupledImage): new interface.
3455         (drawImage): detect ScreenCoupledImage instances.
3456         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3457         * gnu/awt/xlib/XEventLoop.java
3458         (createEvent): re-formatted, and rearranged to avoid null pointer.
3459         * gnu/awt/xlib/XGraphics.java
3460         (drawImage): added XOffScreenImage handling.
3461         * gnu/awt/xlib/XOffScreenImage.java: new file.
3462         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3463         * gnu/gcj/xlib/GC.java (copyArea): new native method.
3464         * gnu/gcj/xlib/XAnyEvent.java
3465         (TYPE_KEY_PRESS): new constant.
3466         (TYPE_KEY_RELEASE): new constant.
3467         (TYPE_MOTION_NOTIFY): new constant.
3468         (TYPE_ENTER_NOTIFY): new constant.
3469         (TYPE_LEAVE_NOTIFY): new constant.
3470         (TYPE_FOCUS_IN): new constant.
3471         (TYPE_FOCUS_OUT): new constant.
3472         (TYPE_KEYMAP_NOTIFY): new constant.
3473         (TYPE_GRAPHICS_EXPOSE): new constant.
3474         (TYPE_NO_EXPOSE): new constant.
3475         (TYPE_VISIBILITY_NOTIFY): new constant.
3476         (TYPE_CREATE_NOTIFY): new constant.
3477         (TYPE_DESTROY_NOTIFY): new constant.
3478         (TYPE_MAP_REQUEST): new constant.
3479         (TYPE_CONFIGURE_REQUEST): new constant.
3480         (TYPE_GRAVITY_NOTIFY): new constant.
3481         (TYPE_RESIZE_REQUEST): new constant.
3482         (TYPE_CIRCULATE_NOTIFY): new constant.
3483         (TYPE_CIRCULATE_REQUEST): new constant.
3484         (TYPE_PROPERTY_NOTIFY): new constant.
3485         (TYPE_SELECTION_CLEAR): new constant.
3486         (TYPE_SELECTION_REQUEST): new constant.
3487         (TYPE_SELECTION_NOTIFY): new constant.
3488         (TYPE_COLORMAP_NOTIFY): new constant.
3489         (TYPE_MAPPING_NOTIFY): new constant.
3490         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3491         * gnu/gcj/xlib/natGC.cc (copyArea): new method
3492         * java/awt/Component.java (createImage): changed to use peer method.
3493
3494 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3495
3496         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3497         name, not XLFD, to native drawString.
3498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3499         Replace XLFD-based implementation with Pango-based
3500         implementation.
3501
3502 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3503
3504         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3505         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
3506
3507 2003-08-21  David Daney  <ddaney@avtrex.com>
3508
3509         Fix for PR libgcj/12013:
3510         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3511         Check `cleared' field.
3512         * java/lang/ref/Reference.java (copy): Updated comments.
3513         (cleared): New field.
3514         (clear): Rewrote.
3515
3516 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
3517             Thomas Fitzsimmons  <fitzsim@redhat.com>
3518
3519         * Makefile.am (gtk_awt_peer_sources): Add
3520         gnu/java/awt/peer/GLightweightPeer.java.  Remove
3521         gnu/java/awt/GLightweightPeer.java.
3522         * gnu/java/awt/GLightweightPeer.java: Remove file.
3523         * gnu/java/awt/peer/GLightweightPeer.java: New file.
3524         * java/awt/Component.java (getToolkit): Add comment about
3525         lightweight components.
3526         * java/awt/Toolkit.java (createComponent): Return
3527         gnu.java.awt.peer.GLightweightPeer.
3528
3529 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
3530
3531         * configure.in: Fix detection of gcj when building with newlib.
3532         * configure: Regenerated.
3533
3534 2003-08-20  Graydon Hoare  <graydon@redhat.com>
3535
3536         * jni.cc: Replace "cheating" pointer-casting code with
3537         extract_from_jvalue<> template.
3538
3539 2003-08-20  Andrew Haley  <aph@redhat.com>
3540
3541         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3542         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3543         (classAt): Break out class lookup function into getClass().
3544         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3545         handlers when using -fno-assume-compiled.
3546
3547 2003-08-20  Tom Tromey  <tromey@redhat.com>
3548
3549         Fix for PR libgcj/9125:
3550         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3551         object outside of loop.  Respect lib_control setting.
3552         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3553         field.
3554         (lib_control): New field.
3555         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3556         (VMClassLoader): Initialize new field.
3557
3558         * java/lang/ref/natReference.cc (finalize_referred_to_object):
3559         Set `list->reference' to DELETED_REFERENCE when removing dead
3560         object.
3561         (find_slot): Added an assert.
3562         (DELETED_REFERENCE): New define.
3563         (add_to_hash): Check for DELETED_REFERENCE.
3564         (remove_from_hash): Just return if found slot isn't ours.
3565
3566 2003-08-19  Andrew Haley  <aph@redhat.com>
3567
3568         * prims.cc (unblock_signal): New function.
3569         (catch_segv): Use it.
3570         (catch_fpe): Likewise.
3571
3572 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
3573
3574         PR libgcj/11575
3575         * java/io/natFileDescriptorWin32.cc (open): Set create
3576         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3577         Honor EXCL when openning with WRITE flag. 
3578
3579 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
3580
3581         * include/jvm.h: New class _Jv_TempUTFString (helper class for
3582         getting a temporary C string from a jstring)
3583         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3584         but uses a stack buffer if the string length is less than 256
3585         bytes.
3586
3587 2003-08-18  Tom Tromey  <tromey@redhat.com>
3588
3589         PR libgcj/11951:
3590         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3591         void.  Throw VirtualMachineError if ffi fails.  Initialize return
3592         value.  Added is_jni_call argument; only wrap exception if not a
3593         JNI call.  Use descriptive message if operation not supported.
3594         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3595         array class.
3596         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3597         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3598         _Jv_CallAnyMethodA.
3599         (_Jv_JNI_CallAnyMethodA): Likewise.
3600         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3601         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3602
3603 2003-08-13  Tom Tromey  <tromey@redhat.com>
3604
3605         * gij.cc (help): Document -? and -X.
3606
3607 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3608
3609         * java/awt/Font.java: 
3610         Stub out more recent API. 
3611
3612 2003-08-12  Graydon Hoare  <graydon@redhat.com>
3613
3614         * java/awt/Color.java (getAlpha): 
3615         Prevent sign-extended alpha values.
3616
3617 2003-08-12  Tom Tromey  <tromey@redhat.com>
3618
3619         * gij.cc (main): Handle -? and -X.
3620
3621 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
3622
3623         * java/awt/Container.java
3624         (getPreferredSize): Call preferredSize.
3625         (preferredSize): Moved body of getPreferredSize here.
3626         (getMinimumSize): Call minimumSize.
3627         (minimumSize): Moved body of getMinimumSize here.
3628
3629 2003-08-11  Tom Tromey  <tromey@redhat.com>
3630
3631         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3632         (postEvent): Removed FIXME comment.
3633         (isDispatchThread): Documented.
3634         (getCurrentEvent): New method.
3635         (dispatchEvent): Set currentEvent and lastWhen.
3636         (getMostRecentEventTime): Rewrote.
3637         (invokeLater): Documented.
3638
3639 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
3640
3641         * java/io/PrintStream.java (print): Always flush if auto_flush is
3642         set. Don't check for newline characters.
3643         (write (int)): Implement without using a temporary array.
3644         (write (byte[], int, int): Always flush if auto_flush is set. Don't
3645         check for newline characters.
3646         Fixes PR libgcj/11778.
3647
3648 2003-08-08  Andrew Haley  <aph@redhat.com>
3649
3650         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3651         * Makefile.in: Rebuild.
3652         * java/lang/natRuntime.cc (insertSystemProperties): Add
3653         "sun.boot.class.path".
3654
3655 2003-08-07  Andrew Haley  <aph@redhat.com>
3656
3657         * java/io/PrintStream.java: Don't crash on a null string.
3658         
3659 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3660
3661         * configure.in: Don't initialize GCINCS to boehm-gc/include.
3662         * configure: Regenerate.
3663
3664 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3665
3666         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3667         SocketImpl. Update Javadoc.
3668         (bind): Call close() not impl.close() in event of exception.
3669         (connect): Likewise.
3670         Remove superfluous null checks throughout.
3671         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3672         Don't create an extra socket. Fix for PR libgcj/10868.
3673         (bind): Clean up exception handling.
3674         Remove superfluous null checks throughout.
3675
3676 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
3677             Bryce McKinlay  <bryce@mckinlay.net.nz>
3678
3679         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3680         ready-to-write argument to _Jv_Select. Reset the socket back to 
3681         non-blocking state after connecting.
3682         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3683         Throw SocketTimeoutException not InterruptedIOException.
3684         (read): Throw SocketTimeoutException not InterruptedIOException.
3685
3686 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
3687
3688         * java/lang/Thread.java (Thread): Check for null "name" from
3689         start of private constructor, not after calling the private
3690         constructor.
3691
3692 2003-08-06  Tom Tromey  <tromey@redhat.com>
3693
3694         * java/io/FilePermission.java (equals): Use correct index for
3695         last character of path.
3696
3697 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
3698
3699         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3700         * configure.in: Compare with_cross_host to build_alias, not build.
3701         * aclocal.m4: Regenerate.
3702         * configure: Regenerate.
3703
3704 2003-08-05  Tom Tromey  <tromey@redhat.com>
3705
3706         Fix for PR libgcj/11779:
3707         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3708         class.
3709
3710         * java/lang/reflect/Method.java: Updated status comment.
3711         Imported javadoc from Classpath and re-ordered methods.
3712         * java/lang/reflect/Constructor.java: Reindented.  Updated
3713         status comment.  Imported javadoc from Classpath and re-ordered
3714         methods.
3715
3716 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3717
3718         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3719         Add keyLocation parameter.
3720         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3721         string.
3722         (paramString): Generate keyChar string according to keyChar, not
3723         keyCode.
3724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3725         (state_to_awt_mods): Handle ALT key.
3726         (keyevent_state_to_awt_mods): New function.
3727         (get_first_keyval_from_keymap): New function.
3728         (keysym_to_awt_keycode): Get virtual key code from keymap.
3729         Handle missing VK_ values.
3730         (keysym_to_awt_keylocation): New function.
3731         (keyevent_to_awt_keychar): New function.
3732         (generates_key_typed_event): Handle non-text-component case.
3733         Handle GDK_KP_Delete and GDK_KP_Enter.
3734         (awt_event_handler): Call new functions to get postKeyEvent
3735         parameters.
3736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3737         Update postKeyEvent method signature.
3738         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
3739         VK_ defines.
3740
3741 2003-08-05  Matthias Klose  <doko@debian.org>
3742
3743         * aclocal.m4: check for libart-config binary
3744           under the name libart2-config as well.
3745         * configure: regenerated.
3746
3747 2003-08-04  David P Grove  <groved@us.ibm.com>
3748
3749         * java/text/DecimalFormat.java (format): avoid ArithmeticException
3750         when groupingSize is 0.
3751         (parse): Likewise.
3752
3753 2003-08-04  Matthias Klose  <doko@debian.org>
3754
3755         * libart.m4: check for libart-config binary
3756           under the name libart2-config as well.
3757         * configure, aclocal.m4: regenerated.
3758
3759 2003-08-02  Michael Koch  <konqueror@gmx.de>
3760
3761         * java/nio/ByteBufferImpl.java
3762         (getChar): Check remaining bytes, fixed comment about endianess.
3763         (putChar): Likewise.
3764         (getShort): Likewise.
3765         (putShort): Likewise.
3766         (getInt): Check remaining bytes, fixed conversion, fixed comment about
3767         endianess.
3768         (putInt): Likewise.
3769         (getLong): Likewise.
3770         (putLong): Likewise.
3771         (getFloat): Likewise.
3772         (putFloat): Likewise.
3773         (getDouble): Likewise.
3774         (putDouble): Likewise.
3775         * java/nio/DirectByteBufferImpl.java
3776         (getChar): Wrapped code, fixed comment about endianess.
3777         (putchar): Likewise.
3778         (getShort): Likewise.
3779         (putShort): Likewise.
3780         (getInt): Fixed conversion, fixed comment about endianess.
3781         (putInt): Likewise.
3782         (getLong): Likewise.
3783         (putLong): Likewise.
3784         (getFloat): Likewise.
3785         (putFloat): Likewise.
3786         (getDouble): Likewise.
3787         (putDouble): Likewise.
3788         * java/nio/MappedByteBufferImpl.java
3789         (compact): Implemented.
3790         (getChar): Implemented.
3791         (putChar): Implemented.
3792         (getDouble): Implemented.
3793         (putdouble): Implemented.
3794         (getFloat): Implemented.
3795         (putFloat): Implemented.
3796         (getInt): Implemented.
3797         (putInt): Implemented.
3798         (getLong): Implemented.
3799         (putLong): Implemented.
3800         (getShort): Implemented.
3801         (putShort): Implemented.
3802         * java/nio/channels/FileChannelImpl.java
3803         (read): Set position where to access file.
3804         (write): Likewise.
3805         (transferTo): Flip buffer after read and before write.
3806         (transferFrom): Likewise.
3807
3808 2003-08-02  Michael Koch  <konqueror@gmx.de>
3809
3810         * gnu/java/lang/ArrayHelper.java
3811         (equalsArray): Reformated, added method documentation.
3812
3813 2003-08-02  Michael Koch  <konqueror@gmx.de>
3814
3815         * java/net/URL.java
3816         (URL): Added paragraph about the
3817         gnu.java.net.nocache_protocol_handlers property.
3818         (ph_cache): Renamed from handlers to match classpath's implementation.
3819         Reordered it with factory and serialVersionUID member variables.
3820         (cache_handlers): New member variable.
3821         (static): New static initializer to initialize cache_handlers from
3822         gnu.java.net.nocache_protocol_handlers property.
3823         (URL): Use ph_cache instead of handlers, reformatted some code to
3824         match classpath's implementation.
3825
3826 2003-08-01  Tom Tromey  <tromey@redhat.com>
3827
3828         Fix for PR libgcj/11241:
3829         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3830         initialCapacity is 0, set it to 1.
3831
3832 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
3833
3834         * java/net/SocketImpl.java (toString): Display the remote address
3835         of an unconnected server socket as "0.0.0.0/0.0.0.0".
3836
3837 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
3838
3839         * javax/swing/border/BevelBorder.java,
3840         javax/swing/border/EtchedBorder.java,
3841         javax/swing/border/LineBorder.java,
3842         javax/swing/border/MatteBorder.java,
3843         javax/swing/border/SoftBevelBorder.java,
3844         javax/swing/plaf/BorderUIResource.java,
3845         javax/swing/plaf/ComponentUI.java,
3846         javax/swing/plaf/TreeUI.java,
3847         javax/swing/plaf/basic/BasicBorders.java,
3848         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3849         javax/swing/plaf/basic/BasicTreeUI.java:
3850         Prepend "doc-files" to all paths to embedded Javadoc images, so
3851         that the generated documentation contains the correct URL.
3852
3853 2003-08-01  Tom Tromey  <tromey@redhat.com>
3854
3855         * configure: Rebuilt.
3856         * configure.in (tool_include_dir): Redefine to match gcc.
3857
3858 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
3859             Mark Wielaard  <mark@klomp.org>
3860             
3861         * java/math/BigDecimal (divide): Correctly handle
3862         ROUND_HALF_EVEN when amount is greater than 0.5.
3863         Simplify and optimize code.
3864
3865 2003-07-31  Tom Tromey  <tromey@redhat.com>
3866
3867         More for PR libgcj/11737:
3868         * java/io/ObjectInputStream.java (processResolution): Use
3869         getMethod.
3870         (getMethod): Make method accessible.
3871         (getField): Make field accessible.
3872         (setBooleanField): Don't call setAccessible here.
3873         (setByteField, setCharField, setDoubleField, setFloatField,
3874         setIntField, setLongField, setShortField, setObjectField):
3875         Likewise.
3876         (callReadMethod): Don't check whether method is null.  Catch
3877         NoSuchMethodException.
3878         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3879         cause on thrown exceptions.
3880
3881 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3882
3883         Fix for PR libgcj/11728:
3884         * java/util/HashMap.java (readObject): Set size.
3885
3886 2003-07-31  Tom Tromey  <tromey@redhat.com>
3887
3888         Fix for PR libgcj/11737:
3889         * java/io/ObjectOutputStream.java (getMethod): Make method
3890         accessible.
3891         (getField): Likewise.
3892         (writeObject): Use getMethod.
3893         Import PrivilegedAction and AccessController.
3894         (callWriteMethod): Don't check whether m is null.  Catch
3895         NoSuchMethodException.
3896
3897         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3898         (containsAngle): Likewise.
3899         (getStartPoint): Rewrote.
3900         (getEndPoint): Likewise.
3901         (setAngleStart(Point2D)): Likewise.
3902
3903 2003-07-31  Roger Sayle  <roger@eyesopen.com>
3904             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3905
3906         * configure.in: Add new THREADCXXFLAGS variable.
3907         Handle POSIX threads on alpha*-dec-osf*.
3908         * configure: Regenerate.
3909         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3910         * Makefile.in: Regenerate.
3911
3912 2003-07-08  Andrew Haley  <aph@redhat.com>
3913
3914         * include/i386-signal.h (RESTORE): New.
3915         (INIT_SEGV): Set restorer.
3916         (INIT_FPE): Likewise.
3917
3918 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3919
3920         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3921         than getXLFD.
3922         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3923         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3924         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3925         (gtkSetFont): Scale size parameter by PANGO_SCALE.
3926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3927         Likewise.
3928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3929         Likewise.
3930
3931 2003-07-29  Tom Tromey  <tromey@redhat.com>
3932
3933         * defineclass.cc (handleField): Throw exception if field name is
3934         duplicated.
3935         (handleMethod): Throw exception for duplicate method.
3936
3937 2003-07-29  Tom Tromey  <tromey@redhat.com>
3938
3939         * gnu/gcj/convert/natIconv.cc (write): Handle case where
3940         output buffer is too small.
3941
3942 2003-07-28  Tom Tromey  <tromey@redhat.com>
3943
3944         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3945         New method.
3946         Include gnu/gcj/runtime/StringBuffer.h.
3947         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3948         native method.
3949         (String(gnu.gcj.runtime.StringBuffer)): Use it.
3950
3951 2003-07-27  Anthony Green  <green@redhat.com>
3952
3953         * configure.in: Fix newlib check.
3954         * configure: Rebuilt.
3955
3956 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3957
3958         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3959         Create vbox and layout for GtkPlug.
3960
3961 2003-07-27  Michael Koch  <konqueror@gmx.de>
3962
3963         * java/awt/Window.java
3964         (Window): Removed now unused constructor. It became oboslete with the
3965         new embedded window patch.
3966
3967 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
3968             Michael Koch  <konqueror@gmx.de>
3969
3970         * gnu/java/awt/EmbeddedWindow.java
3971         (EmbeddedWindow): Extends Frame instead of Window.
3972         (window_id): New member variable to store the native window handle.
3973         (create): Removed.
3974         (EmbeddedWindow): New constructor.
3975         (addNotify): New method.
3976         (getHandler): Likewise.
3977         (setWindowPeer): New native method.
3978         * gnu/java/awt/EmbeddedWindowSupport.java
3979         (EmbeddedWindowSupport): Fixed documentation.
3980         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3981         WindowPeer, give it an EmbeddedWindow instance instead of the raw
3982         window data.
3983         * gnu/java/awt/natEmbeddedWindow.cc
3984         (create): Removed.
3985         (setWindowPeer): New method.
3986         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3987         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3988         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3989         New files
3990         * gnu/java/awt/peer/gtk/GtkToolkit.java
3991         (GtkToolkit): Implements EmbeddedWindowSupport.
3992         (createEmbeddedWindow): New method.
3993         * java/awt/Window.java
3994         (Window): Removed.
3995         * Makefile.am
3996         (java_source_files): Added EmbeddedWindowPeer.java.
3997         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3998         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3999         * Makefile.in: Regenerated.
4000
4001 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
4002
4003         * java/lang/Win32Process.java (ConcreteProcess): Surround
4004         a command line element with quotes if it contains an
4005         embedded space or tab.
4006         * java/lang/natWin32Process.cc (startProcess): Do not
4007         surround command line elements with quotes here.
4008
4009         * configure.host: Use -fcheck-references and 
4010         -fuse-divide-subroutine for MinGW until we fix
4011         win32_exception_handler( ) in win32.cc w.r.t. Win32 
4012         Structured Exception Handling (SEH).
4013
4014         * win32.cc (_Jv_platform_initProperties): Use generic names
4015         like "x86" for the "os.arch" property to be consistent with
4016         what Sun's JDK produces. Use the wProcessorArchitecture
4017         member of the Win32 SYSTEM_INFO structure, filled in a call 
4018         to GetSystemInfo( ), instead of dwProcessorType.
4019
4020 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
4021             Ranjit Mathew  <rmathew@hotmail.com>
4022
4023         * Makefile.am: Use cross-compiling gcjh from the path for
4024         a crossed-native build.
4025         * Makefile.in: Rebuilt.
4026         * configure.in: Include libltdl in non-newlib builds.
4027         Moved determination of gcj used to build libraries to
4028         its own section. Fixed cross-compilation issues for
4029         non-newlib builds.
4030         * configure: Rebuilt.
4031
4032 2003-07-25  Tom Tromey  <tromey@redhat.com>
4033
4034         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4035         (write): Likewise.
4036         (read): Likewise.
4037         (read): Likewise.
4038
4039 2003-07-25  Mark Wielaard  <mark@klomp.org>
4040
4041         * java/lang/natRuntime.cc (_load): Add library name to
4042         UnsatisfiedLinkError when thrown.
4043
4044 2003-07-25  Mark Wielaard  <mark@klomp.org>
4045
4046         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4047         added.
4048         * Makefile.in: Likewise.
4049
4050 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
4051
4052         * java/awt/Component.java
4053         (getPreferredSize): Call preferredSize.
4054         (preferredSize): Moved body of getPreferredSize here.
4055         (getMinimumSize): Call minimumSize.
4056         (minimumSize): Moved body of getMinimumSize here.
4057         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4058         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4059         pass -1
4060         * java/awt/Container.java
4061         (validate): Don't validate if there is no peer.
4062         (update): Clear background before calling paint.
4063         * java/awt/GridBagLayout.java
4064         Completed the implementation and fixed several bugs.
4065         * java/awt/MediaTracker.java
4066         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4067         combine flags.
4068         * java/awt/Window.java
4069         (Window): Don't call setVisible(false). Windows are invisible by
4070         default and calling virtual methods from constructor causes
4071         compatibility problems (e.g. subclasses may assume that the peer
4072         already exists).
4073
4074 2003-07-25  Michael Koch  <konqueror@gmx.de>
4075
4076         * java/awt/GridBagLayout.java:
4077         Totally reworked and partly implemented.
4078         * java/awt/GridBagLayoutInfo.java:
4079         New file.
4080
4081 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4082
4083         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4084         Don't pack label in an event box.
4085
4086 2003-07-24  Tom Tromey  <tromey@redhat.com>
4087
4088         For PR libgcj/7482:
4089         * verify.cc (ref_intersection): New class.
4090         (type_val): Removed unresolved_reference_type,
4091         uninitialized_unresolved_reference_type.
4092         (is_assignable_from_slow): Rewrote.
4093         (type::data): Removed.
4094         (type::klass): New field.
4095         (type::type): Added verifier argument.
4096         (type::resolve): Removed.
4097         (type::set_uninitialized): Updated for change to type_val.
4098         (type::set_initialized): Likewise.
4099         (type::isinitialized): Likewise.
4100         (type::print): Likewise.
4101         (construct_primitive_array_type): Likewise.
4102         (type::compatible): Updated for change to type_val and to use
4103         ref_intersection.
4104         (type::isarray): Updated to use ref_intersection.
4105         (type::isinterface): Likewise.
4106         (type::element_type): Likewise.
4107         (type::to_array): Likewise.
4108         (type::verify_dimensions): Rewrote.
4109         (type::merge): Likewise.
4110         (check_class_constant): Updated for type constructor change.
4111         (check_constant): Likewise.
4112         (check_field_constant): Likewise.
4113         (get_one_type): Likewise.
4114         (initialize_stack): Likewise.
4115         (verify_instructions_0): Likewise.
4116         (verify_instructions_0) [op_invokeinterface]: Removed special
4117         case.
4118         (isect_list): New field.
4119         (_Jv_BytecodeVerifier): Initialize it.
4120         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
4121
4122 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
4123
4124         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
4125         unless field size is 2.
4126
4127 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4128
4129         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4130         (connectHooks): New method.
4131         (handleEvent): Remove.
4132         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4133         (createHooks): Remove declaration.
4134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4135         (generates_key_typed_event): Change to handle only certain
4136         keyvals.
4137         (awt_event_handler): Add special handling for GtkTextView.
4138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4139         (textcomponent_commit_cb): New function.
4140         (textcomponent_changed_cb): Likewise.
4141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4142         (connectHooks): Remove.
4143
4144 2003-07-23  Tom Tromey  <tromey@redhat.com>
4145
4146         * java/lang/natSystem.cc (arraycopy): Check for overflow.
4147
4148         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4149
4150 2003-07-22  Tom Tromey  <tromey@redhat.com>
4151
4152         * boehm.cc (_Jv_BuildGCDescr): Wrote.
4153         Include limits.h.
4154
4155 2003-07-22  Tom Tromey  <tromey@redhat.com>
4156
4157         * java/awt/Window.java (getWarningString): Just return the
4158         string.
4159         (Window): Set warningString; check with security manager.
4160
4161 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
4162
4163         * gnu/awt/xlib/XGraphicsConfiguration.java
4164         (FontMetricsCache): Made static.
4165  
4166 2003-07-22  Tom Tromey  <tromey@redhat.com>
4167
4168         * java/net/URLEncoder.java (encode(String)): Use platform default
4169         encoding.
4170         (encode(String,String)): Convert to 2-digit upper-case hex
4171         number.
4172         (hex): New field.
4173
4174 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4175
4176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4177         (create): Remove unused method implementation.
4178         (connectHooks): Remove debug messages.
4179
4180 2003-07-20  Anthony Green  <green@redhat.com>
4181
4182         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
4183         CloneNotSupportedException.
4184         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
4185         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
4186         * gnu/gcj/xlib/GC.java (clone): Ditto.
4187         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
4188         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
4189
4190         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
4191         handler.
4192         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
4193
4194 2003-07-20  Steve Pribyl <steve@netfuel.com.>
4195
4196         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4197         String.  Put dlerror() message into exception.
4198         Include UnsatisfiedLinkError.
4199         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
4200         String.  Now native.
4201
4202 2003-07-20  Tom Tromey  <tromey@redhat.com>
4203
4204         * java/lang/Runtime.java: Comment fix.
4205         * java/lang/ClassLoader.java (isAncestorOf): New method.
4206         (getParent): Uncommented security check.  Use isAncestorOf.
4207         * include/jvm.h (_Jv_CheckAccess): Declare.
4208         * java/lang/reflect/natConstructor.cc (newInstance): Perform
4209         access check.
4210         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4211         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4212         class loader to _Jv_GetArrayClass.
4213         Include ArrayIndexOutOfBoundsException.h.
4214         * java/lang/reflect/Field.java: Update comment to reflect status.
4215         (equals): Fixed indentation.
4216         * java/lang/Class.h (Class): Declare memberAccessCheck, not
4217         checkMemberAccess.  Make _Jv_CheckAccess a friend.
4218         * java/lang/Class.java (memberAccessCheck): New method from
4219         Classpath.
4220         (checkMemberAccess): Removed.
4221         (getDeclaredMethod): Use memberAccessCheck.
4222         (getField): Likewise.
4223         (getMethod): Likewise.
4224         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4225         (_Jv_SearchMethodInClass): Likewise.
4226         * prims.cc (_Jv_CheckAccess): New function.
4227         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4228         (_Jv_JNI_GetAnyFieldID): Likewise.
4229         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4230         (getClassLoader): Added security check.
4231         (getConstructor): Call memberAccessCheck.
4232         (getDeclaredClasses): Likewise.
4233         (getDeclaredField): Likewise.
4234         (getDeclaredFields): Likewise.
4235         (_getConstructors): Likewise.
4236         (getDeclaredConstructor): Likewise.
4237         (getDeclaredMethods): Likewise.
4238         (getFields): Likewise.
4239         (getMethods): Likewise.
4240         (newInstance): Likewise.
4241         (_Jv_MakeVTable): Put method name in exception.
4242         * java/lang/reflect/natMethod.cc (getType): Use
4243         getClassLoaderInternal.
4244         (_Jv_GetTypesFromSignature): Likewise.
4245         (invoke): Perform access check.
4246         (_Jv_CallAnyMethodA): Removed old FIXME comments.
4247         Include ArrayIndexOutOfBoundsException.h.
4248         * java/lang/reflect/natField.cc (getType): Use
4249         getClassLoaderInternal.
4250         (_Jv_CheckFieldAccessibility): Removed.
4251         (getAddr): Use _Jv_CheckAccess; find caller.
4252         Include ArrayIndexOutOfBoundsException.h.
4253
4254 2003-07-20  Michael Koch  <konqueror@gmx.de>
4255
4256         * java/net/URL.java
4257         (URL): Fixed documentation to name an argument correcty, Reformatted
4258         one method declaration.
4259         (getURLStreamHandler): Added documentation from classpath.
4260
4261 2003-07-19  Tom Tromey  <tromey@redhat.com>
4262
4263         * mauve-libgcj: Don't run CollationElementIterator tests.
4264
4265 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
4266
4267         * java/net/URLClassLoader.java (addURL): Moved implementation to
4268         private addURLImpl() to avoid calling addURL from the constructor.
4269         (addURLImpl): Contains the code that was previously in addURL.
4270         (addURLs): Call addURLImpl(), not addURL().
4271
4272 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4273
4274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
4275         Handle missing event cases, connect to "value-changed" signal.
4276
4277 2003-07-18  Graydon Hoare  <graydon@redhat.com>
4278
4279         * java/awt/geom/CubicCurve2D.java,
4280         java/awt/geom/Line2D.java,
4281         java/awt/geom/QuadCurve2D.java,
4282         java/awt/geom/Rectangle2D.java: 
4283         Fix path some calculations, make path iterators follow
4284         a consistent style.
4285
4286 2003-07-18  Mark Wielaard  <mark@klomp.org>
4287
4288         * java/util/logging/Handler.java (isLoggable): Check record level
4289         smaller or equal.
4290
4291 2003-07-17  Michael Koch  <konqueror@gmx.de>
4292
4293         * gnu/java/awt/peer/gtk/GtkToolkit.java:
4294         Reworked imports.
4295
4296 2003-07-14  Michael Koch  <konqueror@gmx.de>
4297
4298         * gnu/java/rmi/server/UnicastServerRef.java:
4299         New version from classpath.
4300
4301 2003-07-14  Michael Koch  <konqueror@gmx.de>
4302
4303         * java/awt/image/MemoryImageSource.java,
4304         java/beans/PropertyEditorManager.java,
4305         javax/naming/CompoundName.java,
4306         javax/naming/spi/NamingManager.java,
4307         javax/swing/AbstractButton.java,
4308         javax/swing/ButtonModel.java,
4309         javax/swing/SwingUtilities.java,
4310         javax/swing/UIManager.java,
4311         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4312         javax/swing/event/AncestorEvent.java,
4313         javax/swing/event/InternalFrameEvent.java,
4314         java/util/zip/ZipFile.java:
4315         New versions from classpath.
4316
4317 2003-07-13  Michael Koch  <konqueror@gmx.de>
4318
4319         * gnu/java/nio/FileChannelImpl.java,
4320         gnu/java/nio/natFileChannelImpl.cc: Removed.
4321         * java/io/FileInputStream.java,
4322         java/io/FileOutputStream.java,
4323         java/io/RandomAccessFile.java,
4324         java/nio/MappedByteBufferImpl.java:
4325         Import java.nio.channels.FileChannelImpl instead of
4326         gnu.java.nio.FileChannelImpl.
4327         * java/nio/channels/FileChannelImpl.java,
4328         java/nio/channels/natFileChannelImpl.cc:
4329         New files.
4330         * Makefile.am
4331         (ordinary_java_source_files):
4332         Removed gnu/java/nio/FileChannelImpl.java and added
4333         java/nio/channels/FileChannelImpl.java.
4334         (nat source_files):
4335         Removed gnu/java/nio/natFileChannelImpl.cc and added
4336         java/nio/channels/natFileChannelImpl.cc.
4337         * Makefile.in: Regenerated.
4338
4339 2003-07-13  Michael Koch  <konqueror@gmx.de>
4340
4341         * javax/swing/plaf/basic/BasicBorders.java,
4342         javax/swing/plaf/basic/BasicLabelUI.java,
4343         javax/swing/plaf/basic/BasicLookAndFeel.java,
4344         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4345         javax/swing/plaf/basic/BasicTextUI.java,
4346         javax/swing/plaf/metal/MetalLookAndFeel.java:
4347         New versions from classpath.
4348
4349 2003-07-13  Michael Koch  <konqueror@gmx.de>
4350
4351         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4352         * gnu/java/awt/peer/gtk/GdkGraphics.java
4353         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4354         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4355         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4356         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4357         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4358         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4359         * gnu/java/awt/peer/gtk/GtkClipboard.java
4360         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4361         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4362         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4363         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4364         * gnu/java/awt/peer/gtk/GtkImage.java
4365         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4366         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4367         * gnu/java/awt/peer/gtk/GtkListPeer.java
4368         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4369         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4370         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4371         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4372         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4373         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4374         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4375         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4376         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4377         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4378         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4379         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4380
4381 2003-07-13  Michael Koch  <konqueror@gmx.de>
4382
4383         * gnu/java/locale/LocaleInformation_de.java
4384         * gnu/java/locale/LocaleInformation_en.java
4385         * gnu/java/locale/LocaleInformation_nl.java
4386
4387 2003-07-13  Michael Koch  <konqueror@gmx.de>
4388
4389         * gnu/java/awt/EmbeddedWindow.java,
4390         gnu/java/awt/EmbeddedWindowSupport.java,
4391         gnu/java/awt/natEmbeddedWindow.cc:
4392         New files.
4393         * java/awt/Window.java
4394         (Window): New constructor to support embedded windows.
4395         * Makefile.am
4396         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4397         gnu/java/awt/EmbeddedWindowSupport.java.
4398         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4399         * Makefile.in: Regenerated.
4400
4401 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
4402
4403         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4404         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4405         * java/awt/im/InputContext.java: Remove a redundant
4406         partial line.
4407
4408 2003-07-09  Tom Tromey  <tromey@redhat.com>
4409
4410         * Makefile.in: Rebuilt.
4411         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4412
4413 2003-07-09  Mark Wielaard  <mark@klomp.org>
4414
4415         * java/io/ObjectOutputStream.java (writeObject): break after
4416         calling writeClassDescriptor().
4417
4418 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
4419
4420         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4421
4422 2003-07-09  Michael Koch  <konqueror@gmx.de>
4423
4424         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4425         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4426         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4427         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4428         Explicitly import used classes.
4429         * java/awt/Container.java: New version from classpath.
4430
4431 2003-07-09  Michael Koch  <konqueror@gmx.de>
4432
4433         * libgcj.pc.in: New file.
4434         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4435         * Makefile.in: Regenerated.
4436         * configure: Regenrated.
4437         * configure.in: Create libgcj.pc from libgcj.pc.in.
4438
4439 2003-07-08  Mark Wielaard <mark@klomp.org>
4440
4441         * gcj/cni.h: CNI now expands to Compiled Native Interface.
4442
4443         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4444         * java/lang/fdlibm.h: Likewise.
4445
4446 2003-07-07  Adam Megacz <adam@xwt.org>
4447
4448         * posix.cc: added #include<stdio.h>
4449                 
4450 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4451
4452         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4453         formatting.
4454
4455         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4456         (setCaretPosition, setEditable): Rely entirely on native
4457         implementation.
4458         (getArgs): Remove.
4459         (postTextEvent): New method.
4460         (handleEvent): New method.
4461         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4462         method.
4463         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4465         (keysym_to_awt_keycode): Fix range checks.
4466         (generates_key_typed_event): New function.
4467         (awt_event_handler): Post AWT_KEY_RELEASED events to event
4468         queue.
4469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4470         (gtkInit): Store TextComponent's postTextEvent method ID.
4471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4472         (setText): Post TEXT_VALUE_CHANGED event to event queue.
4473
4474 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4475
4476         * configure.in: Check for usleep declaration.
4477         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4478         * configure: Regenerate.
4479         * include/config.h.in: Likewise.
4480         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4481
4482 2003-07-01  Michael Koch  <konqueror@gmx.de>
4483
4484         * gnu/gcj/convert/natIconv.cc
4485         (iconv_init): Fixed possible memory leak by releasing allocated iconv
4486         handle.
4487
4488 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4489
4490         * glib-2.0.m4: New file.
4491         * gtk-2.0.m4: New file.
4492         * glib.m4: Remove.
4493         * gtk.m4: Remove.
4494         * configure.in: Update AM_PATH_GTK macro call to
4495         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
4496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4498         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4499         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4500         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4501         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4503         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4507         jni/gtk-peer/gthread-jni.c,
4508         jni/gtk-peer/gthread-jni.h:
4509         New versions from classpath.
4510         * aclocal.m4: Regenerate.
4511         * configure: Regenerate.
4512         * Makefile.in: Regenerate.
4513         * gcj/Makefile.in: Regenerate.
4514         * include/Makefile.in: Regenerate.
4515         * testsuite/Makefile.in: Regenerate.
4516
4517 2003-06-30  Gary Benson  <gbenson@redhat.com>
4518
4519         For PR libgcj/11349:
4520         * javax/naming/spi/NamingManager.java (getURLContext): Use
4521         correct name for factory class.
4522
4523 2003-06-28  Michael Koch  <konqueror@gmx.de>
4524
4525         * java/io/PrintStream.java
4526         (checkError): Call flush() instead of direct flushing of the Writer
4527         object.
4528         (print): Call print(String) instead of direct print method of the
4529         Writer Object.
4530         (println): Call println(String) instead of direct println method of the
4531         Writer Object.
4532         (write): Simplified.
4533
4534 2003-06-28  Michael Koch  <konqueror@gmx.de>
4535
4536         * java/net/ServerSocket.java
4537         (setChannel): New method.
4538         * java/net/Socket.java
4539         (setChannel): New method.
4540
4541 2003-06-27  Michael Koch  <konqueror@gmx.de>
4542
4543         * java/beans/beancontext/BeanContextSupport.java:
4544         New version from classpath.
4545
4546 2003-06-27  Michael Koch  <konqueror@gmx.de>
4547
4548         * java/awt/Window.java,
4549         java/awt/font/GraphicAttribute.java,
4550         java/awt/font/ImageGraphicAttribute.java,
4551         java/awt/image/DataBufferByte.java,
4552         java/awt/image/DataBufferInt.java,
4553         java/awt/image/DataBufferUShort.java,
4554         java/awt/image/DirectColorModel.java,
4555         java/awt/image/PixelGrabber.java:
4556         New versions from classpath.
4557
4558 2003-06-27  Michael Koch  <konqueror@gmx.de>
4559
4560         * java/security/Certificate.java
4561         (getGuarantor): Removed wrong @deprecated tag.
4562         (getPrincipal): Likewise.
4563         (getPublicKey): Likewise.
4564         (encode): Likewise.
4565         (decode): Likewise.
4566         (getFormat): Likewise.
4567         (toString): Likewise.
4568         * java/security/cert/PolicyQualifierInfo.java
4569         (PolicyQualifierInfo): Made final.
4570         * javax/security/auth/x500/X500Principal.java
4571         (serialVersionUID): New member variable.
4572
4573 2003-06-27  Michael Koch  <konqueror@gmx.de>
4574
4575         * java/text/Format.java
4576         (serialVersionUID): Fixed value.
4577
4578 2003-06-27  Michael Koch  <konqueror@gmx.de>
4579
4580         * java/net/Inet4Address.java
4581         (Inet4Address): Made package-private.
4582         * java/net/Inet6Address.java
4583         (Inet4Address): Made package-private.
4584
4585 2003-06-27  Michael Koch  <konqueror@gmx.de>
4586
4587         * java/io/RandomAccessFile.java
4588         (readLine): Removed wrong @deprecated tag.
4589         (getChannel): Made final.
4590
4591 2003-06-27  Michael Koch  <konqueror@gmx.de>
4592
4593         * gnu/java/nio/FileChannelImpl.java
4594         (write): Removed.
4595
4596 2003-06-27  Michael Koch  <konqueror@gmx.de>
4597
4598         * java/nio/ByteBufferImpl.java
4599         (ByteBufferImpl): Made it a package-private class
4600         * java/nio/CharBufferImpl.java
4601         (CharBufferImpl): Made it a package-private class
4602         * java/nio/DirectByteBufferImpl.java
4603         (DirectByteBufferImpl): Made it a package-private class
4604         * java/nio/DoubleBufferImpl.java
4605         (DoubleBufferImpl): Made it a package-private class
4606         * java/nio/FloatBufferImpl.java
4607         (FloatBufferImpl): Made it a package-private class
4608         * java/nio/IntBufferImpl.java
4609         (IntBufferImpl): Made it a package-private class
4610         * java/nio/LongBufferImpl.java
4611         (LongBufferImpl): Made it a package-private class
4612         * java/nio/ShortBufferImpl.java
4613         (ShortBufferImpl): Made it a package-private class
4614         * java/nio/channels/FileChannel.java
4615         (write): Made final.
4616         * java/nio/channels/ServerSocketChannel.java
4617         (ServerSocketChanne): Made protected.
4618
4619 2003-06-27  Michael Koch  <konqueror@gmx.de>
4620
4621         * javax/naming/CompositeName.java
4622         (serialVersionUID): New member variable.
4623         * javax/naming/CompoundName.java
4624         (serialVersionUID): New member variable.
4625         * javax/naming/InitialContext.java
4626         (InitialContext): Throws NamingException.
4627         (init): Likewise.
4628         * javax/naming/LinkRef.java
4629         (serialVersionUID): New member variable.
4630         (gteLinkName): Throws NamingException.
4631         * javax/naming/NamingException.java
4632         (serialVersionUID): New member variable.
4633         * javax/naming/NamingSecurityException.java
4634         (NamingSecurityException): Made abstract.
4635         (serialVersionUID): New member variable.
4636         * javax/naming/ReferralException.java
4637         (serialVersionUID): New member variable.
4638         * javax/naming/StringRefAddr.java
4639         (serialVersionUID): New member variable.
4640         * javax/naming/directory/BasicAttribute.java:
4641         Reworked imports.
4642         (serialVersionUID): New member variable.
4643         (get): Throws NamingException.
4644         (getAll): Throws NamingException.
4645         * javax/naming/directory/BasicAttributes.java:
4646         Reworked imports.
4647         (serialVersionUID): New member variable.
4648         * javax/naming/ldap/UnsolicitedNotificationEvent.java
4649         (serialVersionUID): New member variable.
4650
4651 2003-06-27  Michael Koch  <konqueror@gmx.de>
4652
4653         * Makefile.am
4654         (awt_java_source_files): Added new files:
4655         javax/swing/Popup.java,
4656         javax/swing/PopupFactory.java
4657         * Makefile.in: Regenerated.
4658
4659 2003-06-27  Michael Koch  <konqueror@gmx.de>
4660
4661         * javax/swing/JWindow.java,
4662         javax/swing/event/AncestorEvent.java,
4663         javax/swing/event/HyperlinkEvent.java,
4664         javax/swing/event/InternalFrameEvent.java,
4665         javax/swing/event/ListDataEvent.java,
4666         javax/swing/event/TableModelEvent.java,
4667         javax/swing/plaf/PopupMenuUI.java,
4668         javax/swing/plaf/SplitPaneUI.java,
4669         javax/swing/plaf/TabbedPaneUI.java,
4670         javax/swing/plaf/TextUI.java,
4671         javax/swing/plaf/TreeUI.java,
4672         javax/swing/plaf/basic/BasicTextUI.java,
4673         javax/swing/plaf/basic/BasicTreeUI.java:
4674         New versions from classpath.
4675         * javax/swing/Popup.java,
4676         javax/swing/PopupFactory.jav:
4677         New source files from classpath.
4678         * javax/swing/plaf/doc-files/TreeUI-1.png:
4679         New binary files from classpath.
4680
4681 2003-06-25  Michael Koch  <konqueror@gmx.de>
4682
4683         * Makefile.am
4684         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4685         * Makefile.in: Regenerated.
4686
4687 2003-06-25  Michael Koch  <konqueror@gmx.de>
4688
4689         * javax/swing/plaf/ActionMapUIResource.java,
4690         javax/swing/plaf/BorderUIResource.java,
4691         javax/swing/plaf/ButtonUI.java,
4692         javax/swing/plaf/ColorChooserUI.java,
4693         javax/swing/plaf/ColorUIResource.java,
4694         javax/swing/plaf/ComboBoxUI.java,
4695         javax/swing/plaf/ComponentInputMapUIResource.java,
4696         javax/swing/plaf/ComponentUI.java,
4697         javax/swing/plaf/DesktopIconUI.java,
4698         javax/swing/plaf/DesktopPaneUI.java,
4699         javax/swing/plaf/DimensionUIResource.java,
4700         javax/swing/plaf/FileChooserUI.java,
4701         javax/swing/plaf/FontUIResource.java,
4702         javax/swing/plaf/IconUIResource.java,
4703         javax/swing/plaf/InputMapUIResource.java,
4704         javax/swing/plaf/InsetsUIResource.java,
4705         javax/swing/plaf/InternalFrameUI.java,
4706         javax/swing/plaf/LabelUI.java,
4707         javax/swing/plaf/ListUI.java,
4708         javax/swing/plaf/MenuBarUI.java,
4709         javax/swing/plaf/MenuItemUI.java,
4710         javax/swing/plaf/OptionPaneUI.java,
4711         javax/swing/plaf/PanelUI.java,
4712         javax/swing/plaf/ProgressBarUI.java,
4713         javax/swing/plaf/RootPaneUI.java,
4714         javax/swing/plaf/ScrollBarUI.java,
4715         javax/swing/plaf/ScrollPaneUI.java,
4716         javax/swing/plaf/SeparatorUI.java,
4717         javax/swing/plaf/SliderUI.java,
4718         javax/swing/plaf/TableHeaderUI.java,
4719         javax/swing/plaf/TableUI.java,
4720         javax/swing/plaf/ToolBarUI.java,
4721         javax/swing/plaf/ToolTipUI.java,
4722         javax/swing/plaf/ViewportUI.java:
4723         New versions from classpath.
4724         * javax/swing/plaf/SpinnerUI.java: 
4725         New file from classpath
4726
4727 2003-06-25  Michael Koch  <konqueror@gmx.de>
4728
4729         * java/awt/image/ColorModel.java:
4730         New version from classpath.
4731
4732 2003-06-25  Michael Koch  <konqueror@gmx.de>
4733
4734         * java/net/PlainDatagramSocketImpl.java:
4735         Partly merged with classpath, this mainly adds documentation.
4736
4737 2003-06-25  Michael Koch  <konqueror@gmx.de>
4738
4739         * java/io/ObjectInputStream.java
4740         (readClassDescriptor): New method.
4741         (readObject): Moved functionality to readClassDescriptor().
4742         * java/io/ObjectOutputStream.java
4743         (writeClassDescriptor): New method.
4744         (writeObject): Moved functionality to writeClassDescriptor().
4745
4746 2003-06-25  Michael Koch  <konqueror@gmx.de>
4747
4748         * javax/swing/plaf/basic/BasicListUI.java,
4749         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4750         Added missing methods.
4751
4752 2003-06-25  Michael Koch  <konqueror@gmx.de>
4753
4754         * javax/swing/event/AncestorEvent.java
4755         javax/swing/event/HyperlinkEvent.java
4756         javax/swing/event/InternalFrameEvent.java
4757         javax/swing/event/ListDataEvent.java
4758         javax/swing/event/TableModelEvent.java:
4759         Compile fixes.
4760
4761 2003-06-24  Michael Koch  <konqueror@gmx.de>
4762
4763         * java/net/URL.java:
4764         Renamed "handler" to "ph" in the whole file to match classpaths
4765         version.
4766         * java/net/URLStreamHandler.java:
4767         (equals): Renamed "handler" to "ph".
4768
4769 2003-06-24  Michael Koch  <konqueror@gmx.de>
4770
4771         * javax/swing/event/AncestorEvent.java,
4772         javax/swing/event/HyperlinkEvent.java,
4773         javax/swing/event/InternalFrameEvent.java,
4774         javax/swing/event/ListDataEvent.java,
4775         javax/swing/event/TableModelEvent.java,
4776         javax/swing/event/TreeWillExpandListener.java,
4777         javax/swing/plaf/ComponentUI.java,
4778         javax/swing/plaf/DesktopIconUI.java,
4779         javax/swing/plaf/DesktopPaneUI.java,
4780         javax/swing/plaf/DimensionUIResource.java,
4781         javax/swing/plaf/FileChooserUI.java,
4782         javax/swing/plaf/FontUIResource.java,
4783         javax/swing/plaf/IconUIResource.java,
4784         javax/swing/plaf/InputMapUIResource.java,
4785         javax/swing/plaf/InsetsUIResource.java,
4786         javax/swing/plaf/InternalFrameUI.java,
4787         javax/swing/plaf/LabelUI.java,
4788         javax/swing/plaf/ListUI.java,
4789         javax/swing/plaf/MenuBarUI.java,
4790         javax/swing/plaf/MenuItemUI.java,
4791         javax/swing/plaf/OptionPaneUI.java,
4792         javax/swing/plaf/PanelUI.java,
4793         javax/swing/plaf/ProgressBarUI.java,
4794         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4795         javax/swing/plaf/doc-files/ComponentUI-1.png:
4796         New versions from classpath.
4797
4798 2003-06-24  Michael Koch  <konqueror@gmx.de>
4799
4800         * java/nio/Buffer.java
4801         (cap): Made package-private.
4802         (pos): Likewise.
4803         (limit): Likewise.
4804         (mark): Likewise.
4805
4806 2003-06-24  Michael Koch  <konqueror@gmx.de>
4807
4808         * java/net/SocketImpl.java
4809         (shutdownInput): Made it non-abstract method throwing an exception
4810         like in SUNs JRE.
4811         (shutdownOutput): Likewise.
4812         * java/net/SocketInputStream.java,
4813         java/net/SocketOutputStream.java:
4814         New files from classpath.
4815
4816 2003-06-24  Michael Koch  <konqueror@gmx.de>
4817
4818         * java/awt/Font.java,
4819         java/awt/Window.java,
4820         java/awt/color/ColorSpace.java,
4821         java/awt/datatransfer/StringSelection.java,
4822         java/awt/image/ColorModel.java:
4823         New versions from classpath.
4824
4825 2003-06-24  Michael Koch  <konqueror@gmx.de>
4826
4827         * Makefile.am
4828         (awt_java_source_files): Added new files:
4829         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4830         javax/swing/plaf/basic/BasicSplitPaneUI.java
4831         * Makefile.in: Regenerated.
4832
4833 2003-06-24  Michael Koch  <konqueror@gmx.de>
4834
4835         * javax/swing/text/JTextComponent.java:
4836         New version from classpath.
4837
4838 2003-06-24  Michael Koch  <konqueror@gmx.de>
4839
4840         * javax/swing/Timer.java,
4841         javax/swing/plaf/ActionMapUIResource.java,
4842         javax/swing/plaf/ButtonUI.java,
4843         javax/swing/plaf/ColorChooserUI.java,
4844         javax/swing/plaf/ColorUIResource.java,
4845         javax/swing/plaf/ComboBoxUI.java,
4846         javax/swing/plaf/ComponentInputMapUIResource.java,
4847         javax/swing/plaf/basic/BasicBorders.java:
4848         New versions from classpath.
4849         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4850         javax/swing/plaf/basic/BasicSplitPaneUI.java:
4851         New file from classpath.
4852         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4853         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4854         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4855         javax/swing/plaf/doc-files/ComponentUI-1.dia,
4856         javax/swing/plaf/doc-files/ComponentUI-1.png:
4857         New binary files from classpath.
4858
4859 2003-06-24  Michael Koch  <konqueror@gmx.de>
4860
4861         * java/io/LineNumberReader.java
4862         (skip): Dont do line number accounting here as this is already done in
4863         read(), simplified.
4864
4865 2003-06-21  Michael Koch  <konqueror@gmx.de>
4866
4867         * java/io/File.java
4868         (static): Load javaio lib if existing (only in classpath).
4869         (File): Revised documentation to show the correct argument name.
4870         (createTempFile): Partly merged with classpath.
4871         (compareTo): Simplified.
4872         (lastModified): Throw exception if time < 0.
4873         (deleteOnExit): Revised documentation.
4874
4875 2003-06-21  Michael Koch  <konqueror@gmx.de>
4876
4877         * java/net/PlainSocketImpl.java:
4878         Reformatted.
4879         (PlainSocketImpl): Merged class documentaion with classpath.
4880         (in): Moved.
4881         (out): Moved.
4882         (PlainSocketImpl): New empty constructor.
4883         (finalize): Moved.
4884         (setOption): Merged documentation from classpath.
4885         (getOption): Likewise.
4886         (create): Likewise.
4887         (connect): Likewise.
4888         (bind): Likewise.
4889         (listen): Likewise.
4890         (accept): Likewise.
4891         (available): Likewise.
4892         (close): Likewise.
4893         (read): Likewise.
4894         (write): Likewise.
4895         (getInputStream): Made synchronozed to get sure that only one stream
4896         object can be created for this socket, merged documentation from
4897         classpath.
4898         (getOutputStream): Likewise.
4899
4900 2003-06-21  Michael Koch  <konqueror@gmx.de>
4901
4902         * java/net/PlainSocketImpl.java:
4903         Reformatting.
4904         (static): New implicit method.
4905         (read): Made package private.
4906         (write): Likewise.
4907
4908 2003-06-21  Michael Koch  <konqueror@gmx.de>
4909
4910         * java/util/SimpleTimeZone.java:
4911         Removed unneeded import, reformatting.
4912
4913 2003-06-21  Michael Koch  <konqueror@gmx.de>
4914
4915         * java/text/DateFormat.java,
4916         java/text/SimpleDateFormat.java,
4917         java/util/Locale.java:
4918         New versions from classpath.
4919
4920 2003-06-21  Michael Koch  <konqueror@gmx.de>
4921
4922         * javax/swing/SpinnerModel.java:
4923         New file from classpath.
4924         * javax/swing/border/LineBorder.java,
4925         javax/swing/border/SoftBevelBorder.java,
4926         javax/swing/plaf/BorderUIResource.java,
4927         javax/swing/plaf/basic/BasicBorders.java:
4928         New versions from classpath.
4929         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4930         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4931         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4932         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4933         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4934         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4935         New binary files from classpath.
4936
4937 2003-06-21  Michael Koch  <konqueror@gmx.de>
4938
4939         * java/util/logging/LogRecord.java,
4940         java/util/logging/Logger.java,
4941         java/util/logging/SocketHandler.java,
4942         java/util/logging/SimpleFormatter.java,
4943         java/util/logging/Formatter.java,
4944         java/util/logging/ErrorManager.java,
4945         java/util/logging/Handler.java,
4946         java/util/logging/FileHandler.java,
4947         java/util/logging/LogManager.java,
4948         java/util/logging/Level.java,
4949         java/util/logging/ConsoleHandler.java,
4950         java/util/logging/StreamHandler.java,
4951         java/util/logging/LoggingPermission.java,
4952         java/util/logging/Filter.java,
4953         java/util/logging/MemoryHandler.java,
4954         java/util/logging/XMLFormatter.java:
4955         New files from classpath.
4956
4957 2003-06-20  Michael Koch  <konqueror@gmx.de>
4958
4959         * java/io/ObjectStreamField.java
4960         (unshared): new member variable.
4961         (ObjectStreamField): New constructor.
4962         (isUnshared): New method.
4963
4964 2003-06-20  Michael Koch  <konqueror@gmx.de>
4965
4966         * java/net/URLStreamHandler.java
4967         (hostsEqual): Rewritten.
4968
4969 2003-06-20  Michael Koch  <konqueror@gmx.de>
4970
4971         * gnu/java/nio/MappedByteFileBuffer.java,
4972         gnu/java/nio/natMappedByteFileBuffer.cc:
4973         Removed
4974         * java/nio/MappedByteBufferImpl.java:
4975         New file.
4976         * gnu/java/nio/FileChannelImpl.java:
4977         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4978         * Makefile.am
4979         (ordinary_java_source_files): Removed
4980         gnu/java/nio/MappedByteFileBuffer.java and added
4981         java/nio/MappedByteBufferImpl.java.
4982         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4983         * Makefile.in: Regenerated.
4984
4985 2003-06-19  Michael Koch  <konqueror@gmx.de>
4986
4987         * gnu/java/nio/DatagramChannelImpl.java
4988         (fd): Removed.
4989         (blocking): New member variable.
4990         (socket): Likewise.
4991         (DatagramChannelImpl): Throws IOException, initialize socket.
4992         (socket):Implemented.
4993         (implCloseSelectableChannel): Throws IOException, implemented.
4994         (implConfigureBlocking): Likewise.
4995         (connect): Likewise.
4996         (disconnect): Likewise.
4997         (isConnected): Likewise.
4998         (write): Likewise.
4999         (read): Likewise.
5000         (receive): Throws IOException.
5001         (send): Likewise.
5002         * gnu/java/nio/SocketChannelImpl.java
5003         (read): Implemented.
5004         (write): Implemented.
5005
5006 2003-06-19  Michael Koch  <konqueror@gmx.de>
5007
5008         * javax/swing/JComponent.java,
5009         javax/swing/JInternalFrame.java,
5010         javax/swing/MenuSelectionManager.java,
5011         javax/swing/SwingUtilities.java,
5012         javax/swing/ToggleButtonModel.java:
5013         New versions from classpath.
5014
5015 2003-06-19  Michael Koch  <konqueror@gmx.de>
5016
5017         * java/text/CollationElementIterator.java
5018         (NULLORDER): Initialize with -1 as JDK documentation says.
5019
5020 2003-06-19  Michael Koch  <konqueror@gmx.de>
5021
5022         * java/net/HttpURLConnection.java,
5023         java/net/Inet4Address.java,
5024         java/net/Inet6Address.java,
5025         java/net/SocketImpl.java,
5026         java/net/URLClassLoader.java:
5027         Reworked import statements.
5028         * java/net/InetAddress.java
5029         (getByAddress): Simplified.
5030         * java/net/ServerSocket.java
5031         (ServerSocket): Moved special handling during bind operation to
5032         bind().
5033         (bind): Handle different cases when trying to bind a socket.
5034         * java/net/URLConnection.java
5035         (getHeaderFieldDate): Merged with classpath.
5036         (getHeaderFieldInt): Likewise.
5037
5038 2003-06-19  Michael Koch  <konqueror@gmx.de>
5039
5040         * java/util/zip/InflaterInputStream.java
5041         (InflaterInputStream): Throw NullPointerException if in is null (as
5042         JDK does).
5043
5044 2003-06-19  Michael Koch  <konqueror@gmx.de>
5045
5046         * java/awt/Font.java
5047         javax/swing/UIManager.java
5048         javax/swing/border/AbstractBorder.java
5049         javax/swing/border/BevelBorder.java
5050         javax/swing/border/Border.java
5051         javax/swing/border/CompoundBorder.java
5052         javax/swing/border/EmptyBorder.java
5053         javax/swing/border/EtchedBorder.java
5054         javax/swing/border/LineBorder.java
5055         javax/swing/border/MatteBorder.java
5056         javax/swing/border/TitledBorder.java
5057         javax/swing/plaf/BorderUIResource.java
5058         javax/swing/plaf/basic/BasicBorders.java
5059         javax/swing/plaf/basic/BasicButtonUI.java
5060         javax/swing/plaf/basic/BasicCheckBoxUI.java
5061         javax/swing/plaf/basic/BasicGraphicsUtils.java
5062         javax/swing/plaf/basic/BasicLabelUI.java
5063         javax/swing/plaf/basic/BasicRadioButtonUI.java
5064         javax/swing/plaf/basic/BasicToggleButtonUI.java:
5065         New versions from classpath.
5066         * javax/swing/border/SoftBevelBorder.java:
5067         New file from classpath.
5068         * javax/swing/border/doc-files/LineBorder-1.png,
5069         javax/swing/border/doc-files/BevelBorder-1.png,
5070         javax/swing/border/doc-files/BevelBorder-2.png,
5071         javax/swing/border/doc-files/BevelBorder-3.png,
5072         javax/swing/border/doc-files/EmptyBorder-1.png,
5073         javax/swing/border/doc-files/EtchedBorder-1.png,
5074         javax/swing/border/doc-files/EtchedBorder-2.png,
5075         javax/swing/border/doc-files/MatteBorder-1.png,
5076         javax/swing/border/doc-files/MatteBorder-2.png,
5077         javax/swing/border/doc-files/MatteBorder-3.png,
5078         javax/swing/border/doc-files/MatteBorder-4.png,
5079         javax/swing/border/doc-files/MatteBorder-5.png,
5080         javax/swing/border/doc-files/MatteBorder-6.png,
5081         javax/swing/border/doc-files/SoftBevelBorder-1.png,
5082         javax/swing/border/doc-files/SoftBevelBorder-2.png,
5083         javax/swing/border/doc-files/SoftBevelBorder-3.png,
5084         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5085         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5086         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5087         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5088         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5089         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5090         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5091         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5092         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5093         New binary files from classpath.
5094         * Makefile.am
5095         (awt_java_source_files): Added
5096         javax/swing/border/SoftBevelBorder.java.
5097         * Makefile.in: Regenerated.
5098
5099 2003-06-19  Michael Koch  <konqueror@gmx.de>
5100
5101         * gnu/java/security/x509/X509Certificate.java
5102         (writeReplace): Merged from classpath.
5103
5104 2003-06-19  Michael Koch  <konqueror@gmx.de>
5105
5106         * gnu/java/nio/FileChannelImpl.java
5107         (map_address): Made public.
5108         (FileChannelImpl): Merged with classpath.
5109         * gnu/java/nio/natFileChannelImpl.cc
5110         (nio_mmap_file): Commented out unused arguments.
5111         (nio_unmmap_file): Likewise.
5112         (niu_msync): Likewise.
5113
5114 2003-06-19  Michael Koch  <konqueror@gmx.de>
5115
5116         * java/awt/image/IndexColorModel.java:
5117         New version from classpath.
5118
5119 2003-06-18  Tom Tromey  <tromey@redhat.com>
5120
5121         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
5122         on arrays.
5123         (isLoopbackAddress): Likewise.
5124         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
5125         on arrays.
5126
5127 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
5128
5129         * java/lang/natVMSecurityManager.cc (getClassContext):
5130         Use maxlen instead of len for loop bound.
5131
5132 2003-06-18  Michael Koch  <konqueror@gmx.de>
5133
5134         * gnu/java/nio/SelectorImpl.java
5135         (register): Use fd with value 0 for now, will be fixed later.
5136         * gnu/java/nio/ServerSocketChannelImpl.java
5137         (fd): Removed.
5138         (local_port): Removed.
5139         (InetSocketAddress): Removed.
5140         (ServerSocketChannelImpl): Just initialize internal socket object.
5141         (implCloseSelectableChannel): Close internal socket object.
5142         (implConfigureBlocking): Added comment.
5143         (accept): Use jaba.net stuff to accept socket.
5144         * gnu/java/nio/SocketChannelImpl.java
5145         (fd): Removed.
5146         (local_port): Removed.
5147         (InetSocketAddress): Removed.
5148         (SocketCreate): Removed.
5149         (SocketConnect): Removed.
5150         (SocketBind): Removed.
5151         (SocketListen): Removed.
5152         (SocketAvailable): Removed.
5153         (SocketClose): Removed.
5154         (SocketRead): Removed.
5155         (SocketWrite): Removed.
5156         (SocketChannelImpl): Just initialize internal socket object.
5157         (implCloseSelectableChannel): Close internal socket object.
5158         (implConfigureBlocking): Fixed implementation, added comment.
5159         (connect): Use internal socket object to connect.
5160         (socket): No need for sanity checks.
5161         (read): Comment out some stuff, this will be reimplemented in the next
5162         commit.
5163         (write): Likewise.
5164         * gnu/java/nio/natFileChannelImpl.cc
5165         (nio_mmap_file): Line wrapped.
5166         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
5167         * Makefile.am
5168         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
5169         * Makefile.in: Regenerated.
5170
5171 2003-06-18  Michael Koch  <konqueror@gmx.de>
5172
5173         * java/util/Locale.java
5174         (equals): Merged from classpath.
5175
5176 2003-06-18  Michael Koch  <konqueror@gmx.de>
5177
5178         * java/net/InetAddress.java:
5179         Reformatted to better match classpath's version.
5180         * java/net/URL.java
5181         (equals): Simplified.
5182         * java/net/URLConnection.java
5183         (setDoInput): Revised documentation.
5184         (getDefaultUseCaches): Likewise.
5185         (setRequestProperty): Added @since tag.
5186
5187 2003-06-17  Michael Koch  <konqueror@gmx.de>
5188
5189         * java/net/InetSocketAddress.java
5190         (InetSocketAddress): Use wildcard address if addr is null.
5191         (InetSocketAddress): Dont duplicate implementation.
5192         (InetSocketAddress): Throw exception when hostname is null.
5193         * java/net/Socket.java:
5194         Reworked imports.
5195         (Socket): Throw exception when raddr is null, handle case when laddr
5196         is null.
5197
5198 2003-06-17  Michael Koch  <konqueror@gmx.de>
5199
5200         * java/nio/DirectByteBufferImpl.java
5201         (address): Made package private.
5202         (DirectByteBufferImpl): New constructor.
5203         * java/nio/natDirectByteBufferImpl.cc
5204         (allocateImpl): Moved to java.nio namespace, implemented.
5205         (freeImpl): Likewise.
5206         (getImpl): Likewise.
5207         (putImpl): Likewise.
5208         * jni.cc
5209         (_Jv_JNI_NewDirectByteBuffer): Implemented.
5210         (_Jv_JNI_GetDirectBufferAddress): Implemented.
5211         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5212
5213 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5214
5215         * include/powerpc-signal.h: New File.
5216         * configure.in: Use it.
5217         * configure: Regenerated.
5218
5219 2003-06-17  Michael Koch  <konqueror@gmx.de>
5220
5221         * java/util/Locale.java
5222         (getDisplayLanguage): Made it final.
5223         (getDisplayCountry): Likewise.
5224         (getDisplayVariant): Likewise.
5225         (getDisplayName): Likewise.
5226
5227 2003-06-17  Michael Koch  <konqueror@gmx.de>
5228
5229         * java/util/PropertyResourceBundle.java:
5230         Removed unneeded import.
5231
5232 2003-06-17  Michael Koch  <konqueror@gmx.de>
5233
5234         * java/util/prefs/AbstractPreferences.java,
5235         java/util/prefs/PreferencesFactory.java:
5236         Reworked imports, removed unused imports.
5237         * java/util/prefs/Preferences.java
5238         (systemNodeForPackage): Method takes a Class not an Object.
5239         (userNodeForPackage): Likewise.
5240         (nodeForPackage): Likewise.
5241
5242 2003-06-17  Michael Koch  <konqueror@gmx.de>
5243
5244         * gnu/java/security/x509/X509Certificate.java:
5245         Explicitely import used classes.
5246
5247 2003-06-17  Michael Koch  <konqueror@gmx.de>
5248
5249         * java/util/zip/ZipEntry.java,
5250         java/util/zip/ZipFile.java,
5251         java/util/zip/ZipInputStream.java,
5252         java/util/zip/ZipOutputStream.java:
5253         Reworked imports, only import used classes.
5254
5255 2003-06-17  Michael Koch  <konqueror@gmx.de>
5256
5257         * gnu/java/lang/ArrayHelper.java,
5258         gnu/java/lang/ClassHelper.java:
5259         Reformatted to match classpath's versions.
5260
5261 2003-06-14  Michael Koch  <konqueror@gmx.de>
5262
5263         * gnu/java/nio/FileChannelImpl.java
5264         (map_address): Removed incorrect comment.        
5265         * gnu/java/nio/SelectorImpl.java
5266         (register): Remove code duplication and code for file channel handling.        
5267         * gnu/java/nio/ServerSocketChannelImpl.java
5268         (serverSocket): Renamed from sock_object.
5269         (ServerSocketChannel): Initialize serverSocket.
5270         (socket): Return serverSocket.
5271         * gnu/java/nio/SocketChannelImpl.java
5272         (socket): Renamed from sock_object.
5273         (isConnectionPenging): Simplified.
5274         (socket): Return socket.
5275 2003-06-14  Michael Koch  <konqueror@gmx.de>
5276
5277         * java/security/BasicPermission.java:
5278         New version from classpath.
5279
5280 2003-06-14  Michael Koch  <konqueror@gmx.de>
5281
5282         * javax/naming/directory/Attribute.java:
5283         New version from classpath.
5284
5285 2003-06-14  Michael Koch  <konqueror@gmx.de>
5286
5287         * java/io/BufferedReader.java,
5288         java/io/FileOutputStream.java:
5289         New versions from classpath.
5290
5291 2003-06-12  Andrew Haley  <aph@redhat.com>
5292
5293         * prims.cc (catch_segv): Create exception in handler.
5294         (catch_fpe): Likewise.  
5295         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5296         (_Jv_ThrowSignal): Remove.
5297
5298         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5299         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5300         to nullp and arithexception.
5301         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5302         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5303         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5304         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5305         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5306
5307 2003-06-11  Andrew Haley  <aph@redhat.com>
5308
5309         * jni.cc (_Jv_JNI_check_types): New.
5310         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5311         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5312         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5313         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5314         
5315         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5316         infinite loop.
5317
5318 2003-06-11  Tom Tromey  <tromey@redhat.com>
5319
5320         * java/lang/ClassLoader.java (loadClass): Not deprecated.
5321         * java/io/PrintStream.java: Not deprecated.
5322
5323 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
5324
5325         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5326         (fillOval): implemented
5327         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5328         (fillArc): implemented.
5329         * gnu/gcj/xlib/GC.java (drawArc): added native method.
5330         (fillArc): added native method.
5331         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5332         (fillArc): added native method.
5333
5334 2003-06-11  Michael Koch  <konqueror@gmx.de>
5335
5336         * java/awt/im/InputSubset.java:
5337         New version from classpath.
5338
5339 2003-06-11  Michael Koch  <konqueror@gmx.de>
5340
5341         * javax/swing/AbstractAction.java,
5342         javax/swing/AbstractButton.java,
5343         javax/swing/AbstractCellEditor.java,
5344         javax/swing/AbstractListModel.java,
5345         javax/swing/BorderFactory.java,
5346         javax/swing/Box.java,
5347         javax/swing/BoxLayout.java,
5348         javax/swing/ButtonGroup.java,
5349         javax/swing/DefaultButtonModel.java,
5350         javax/swing/DefaultListModel.java,
5351         javax/swing/DefaultListSelectionModel.java,
5352         javax/swing/FocusManager.java,
5353         javax/swing/ImageIcon.java,
5354         javax/swing/InputMap.java,
5355         javax/swing/JApplet.java,
5356         javax/swing/JButton.java,
5357         javax/swing/JCheckBox.java,
5358         javax/swing/JCheckBoxMenuItem.java,
5359         javax/swing/JColorChooser.java,
5360         javax/swing/JComboBox.java,
5361         javax/swing/JComponent.java,
5362         javax/swing/JDesktopPane.java,
5363         javax/swing/JDialog.java,
5364         javax/swing/JEditorPane.java,
5365         javax/swing/JFileChooser.java,
5366         javax/swing/JFormattedTextField.java,
5367         javax/swing/JFrame.java,
5368         javax/swing/JLabel.java,
5369         javax/swing/JLayeredPane.java,
5370         javax/swing/JList.java,
5371         javax/swing/JMenuBar.java,
5372         javax/swing/JMenuItem.java,
5373         javax/swing/JOptionPane.java,
5374         javax/swing/JPanel.java,
5375         javax/swing/JPasswordField.java,
5376         javax/swing/JPopupMenu.java,
5377         javax/swing/JProgressBar.java,
5378         javax/swing/JRadioButton.java,
5379         javax/swing/JRadioButtonMenuItem.java,
5380         javax/swing/JRootPane.java,
5381         javax/swing/JScrollBar.java,
5382         javax/swing/JScrollPane.java,
5383         javax/swing/JSeparator.java,
5384         javax/swing/JSlider.java,
5385         javax/swing/JTabbedPane.java,
5386         javax/swing/JTable.java,
5387         javax/swing/JTextField.java,
5388         javax/swing/JToggleButton.java,
5389         javax/swing/JToolBar.java,
5390         javax/swing/JToolTip.java,
5391         javax/swing/JTree.java,
5392         javax/swing/JViewport.java,
5393         javax/swing/JWindow.java,
5394         javax/swing/KeyStroke.java,
5395         javax/swing/ListSelectionModel.java,
5396         javax/swing/LookAndFeel.java,
5397         javax/swing/RepaintManager.java,
5398         javax/swing/ScrollPaneLayout.java,
5399         javax/swing/SizeRequirements.java,
5400         javax/swing/SwingConstants.java,
5401         javax/swing/Timer.java,
5402         javax/swing/UIDefaults.java,
5403         javax/swing/UIManager.java,
5404         javax/swing/border/AbstractBorder.java,
5405         javax/swing/border/CompoundBorder.java,
5406         javax/swing/colorchooser/AbstractColorChooserPanel.java,
5407         javax/swing/colorchooser/ColorChooserComponentFactory.java,
5408         javax/swing/colorchooser/ColorSelectionModel.java,
5409         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5410         javax/swing/event/AncestorEvent.java,
5411         javax/swing/event/HyperlinkEvent.java,
5412         javax/swing/event/InternalFrameAdapter.java,
5413         javax/swing/event/InternalFrameEvent.java,
5414         javax/swing/event/ListDataEvent.java,
5415         javax/swing/event/MouseInputAdapter.java,
5416         javax/swing/event/SwingPropertyChangeSupport.java,
5417         javax/swing/event/TableModelEvent.java,
5418         javax/swing/event/TreeWillExpandListener.java,
5419         javax/swing/event/UndoableEditEvent.java,
5420         javax/swing/filechooser/FileFilter.java,
5421         javax/swing/filechooser/FileSystemView.java,
5422         javax/swing/filechooser/FileView.java,
5423         javax/swing/plaf/BorderUIResource.java,
5424         javax/swing/plaf/basic/BasicDefaults.java,
5425         javax/swing/table/AbstractTableModel.java,
5426         javax/swing/table/DefaultTableCellRenderer.java,
5427         javax/swing/table/DefaultTableColumnModel.java,
5428         javax/swing/table/DefaultTableModel.java,
5429         javax/swing/table/TableColumn.java,
5430         javax/swing/text/JTextComponent.java,
5431         javax/swing/tree/AbstractLayoutCache.java,
5432         javax/swing/tree/DefaultMutableTreeNode.java,
5433         javax/swing/tree/DefaultTreeCellEditor.java,
5434         javax/swing/tree/DefaultTreeCellRenderer.java,
5435         javax/swing/tree/DefaultTreeModel.java,
5436         javax/swing/tree/DefaultTreeSelectionModel.java,
5437         javax/swing/tree/FixedHeightLayoutCache.java,
5438         javax/swing/tree/TreeCellEditor.java,
5439         javax/swing/tree/TreeModel.java,
5440         javax/swing/tree/TreeNode.java,
5441         javax/swing/tree/TreePath.java,
5442         javax/swing/tree/TreeSelectionModel.java,
5443         javax/swing/tree/VariableHeightLayoutCache.java,
5444         javax/swing/undo/AbstractUndoableEdit.java,
5445         javax/swing/undo/CompoundEdit.java,
5446         javax/swing/undo/StateEdit.java,
5447         javax/swing/undo/UndoManager.java,
5448         javax/swing/undo/UndoableEditSupport.java:
5449         New versions from classpath.
5450         * javax/swing/table/JTableHeader.java:
5451         New file from classpath.
5452         * Makefile.am
5453         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5454         * Makefile.in: Regenerated.
5455
5456 2003-06-11  Michael Koch  <konqueror@gmx.de>
5457
5458         * java/nio/MappedByteBuffer.java,
5459         java/nio/channels/Channels.java,
5460         java/nio/channels/ServerSocketChannel.java,
5461         java/nio/channels/spi/AbstractSelector.java:
5462         Removed unneeded imports.
5463
5464 2003-06-11  Michael Koch  <konqueror@gmx.de>
5465
5466         * java/net/DatagramSocket.java:
5467         Partly merged with classpath.
5468
5469 2003-06-11  Michael Koch  <konqueror@gmx.de>
5470
5471         * java/awt/Frame.java,
5472         java/awt/Graphics.java,
5473         java/awt/Menu.java,
5474         java/awt/Robot.java,
5475         java/awt/image/ColorModel.java:
5476         New versions from classpath.
5477
5478 2003-06-10  Michael Koch  <konqueror@gmx.de>
5479
5480         * java/io/PrintStream.java:
5481         Merged version from classpath.
5482         (close): Removed sychronized keyword. This class is not garantied to
5483         be thread-safe.
5484         (write): Likewise.
5485
5486 2003-06-09  Tom Tromey  <tromey@redhat.com>
5487
5488         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5489         field.
5490         (getDescent): Likewise, for "descent".
5491
5492 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
5493
5494         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5495         (getMaxDescent): adjusted return value.
5496         (getAscent): modified to use metrics for 'O'.
5497         (getDescent): modified to use metrics for 'y'.
5498
5499 2003-06-08  Anthony Green  <green@redhat.com>
5500
5501         * java/net/URLStreamHandler.java (sameFile): Fix port value
5502         comparison.
5503         * java/net/URL.java (handler): Make package private.
5504         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5505
5506 2003-06-07  Tom Tromey  <tromey@redhat.com>
5507
5508         For PR libgcj/11085:
5509         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5510         Limit number of characters in numeric field when required.
5511         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5512         Respect maximumIntegerDigits.
5513
5514 2003-06-08  Michael Koch  <konqueror@gmx.de>
5515
5516         * java/net/Socket.java
5517         (Socket): Dont initialize inputShutdown and outputShutdown twice,
5518         call bind() and connect() to actually do the bind and connect tasks.
5519         (bind): Connect to canonical address if bindpoint is null, create
5520         socket and bind it to bindpoint.
5521         (connect): Check for exceptions.
5522
5523 2003-06-08  Michael Koch  <konqueror@gmx.de>
5524
5525         * java/net/DatagramSocket.java
5526         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5527         into the Multicast constructors.
5528         * java/net/DatagramSocketImpl.java
5529         (getOption): Removed.
5530         (setOption): Removed.
5531         * java/net/MulticastSocket.java
5532         (MulticastSocket): Call setReuseAddress (true).
5533         * java/net/SocketImpl.java
5534         (getOption): Removed.
5535         (setOption): Removed.
5536
5537 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
5538
5539         PR libgcj/10886:
5540         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5541         Test for empty vector.
5542
5543 2003-06-06  Mark Wielaard  <mark@klomp.org>
5544
5545         * java/security/Security.java (secprops): Initialize.
5546         (loadProviders): Return boolean.
5547         (static): Check result of loadProvider calls. If necessary
5548         display WARNING and fallback to Gnu provider.
5549
5550 2002-06-06  James Clark  <jjc@jclark.com>
5551
5552         Fix for PR libgcj/8738:
5553         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5554         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5555         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5556         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5557         (write): Always decrease avail when count is increased.
5558         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5559         and whether output buffer is full before increasing size.
5560
5561 2002-06-06  Mark Wielaard  <mark@klomp dot org>
5562
5563         * java/io/PrintStream.java (writeChars(char[],int, int)):
5564         Check converter.havePendingBytes().
5565         (writeChars(String,int,int)): Likewise.
5566         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5567         Check converter.havePendingBytes() and flush buffer when stalled.
5568
5569 2003-06-07  Michael Koch  <konqueror@gmx.de>
5570
5571         * include/posix.h
5572         (O_DSYNC): Define O_DSYNC on platforms not
5573         supporting O_FSYNC (newlib).
5574
5575 2003-06-06  Mark Wielaard  <mark@klomp.org>
5576
5577         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5578         AWTError.
5579
5580 2003-06-06  Michael Koch  <konqueror@gmx.de>
5581
5582         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5583         More compile fixes from my stupid work yesterday.
5584
5585 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
5586
5587         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5588         if _IEEE_LIBM is undefined.
5589
5590 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
5591
5592         * libjava/include/posix.h (O_SYNC): Define if not available
5593         and a reasonable, perhaps more conservative, replacement exists.
5594         (O_DSYNC): Likewise.
5595         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5596
5597 2003-06-05  Michael Koch  <konqueror@gmx.de>
5598
5599         * javax/swing/plaf/BorderUIResource.java,
5600         javax/swing/plaf/basic/BasicDefaults.java,
5601         javax/swing/plaf/basic/BasicOptionPaneUI.java:
5602         More compile fixes for latest Border commit. I should not commit
5603         something in this heat here ...
5604
5605 2003-06-05  Michael Koch  <konqueror@gmx.de>
5606
5607         * javax/swing/border/BevelBorder.java
5608         (BevelBorder): Removed.
5609         * javax/swing/border/EmptyBorder.java:
5610         Reformatted.
5611         (EmptyBorder): Removed.
5612         (getBorderInsets): Dont use l, r, t and b.
5613         * javax/swing/border/EtchedBorder.java
5614         (EtchedBorder): Removed.
5615         * javax/swing/border/LineBorder.java
5616         (LineBorder): Removed.
5617         * javax/swing/border/MatteBorder.java
5618         (MatteBorder): Removed.
5619         * javax/swing/border/TitledBorder.java
5620         (defaultBorder): Use other default for now.
5621         (defaultFont): Likewise.
5622         (defaultColor): Likewise.
5623
5624 2003-06-05  Michael Koch  <konqueror@gmx.de>
5625
5626         * javax/swing/border/Border.java:
5627         New version from classpath.
5628
5629 2003-06-05  Michael Koch  <konqueror@gmx.de>
5630
5631         * javax/swing/border/AbstractBorder.java,
5632         javax/swing/border/BevelBorder.java,
5633         javax/swing/border/CompoundBorder.java,
5634         javax/swing/border/EmptyBorder.java,
5635         javax/swing/border/EtchedBorder.java,
5636         javax/swing/border/LineBorder.java,
5637         javax/swing/border/MatteBorder.java,
5638         javax/swing/border/TitledBorder.java:
5639         New versions from Classpath.
5640
5641 2003-06-05  Michael Koch  <konqueror@gmx.de>
5642
5643         * java/awt/Button.java,
5644         java/awt/Checkbox.java,
5645         java/awt/CheckboxMenuItem.java,
5646         java/awt/Choice.java,
5647         java/awt/Container.java,
5648         java/awt/Dialog.java,
5649         java/awt/EventQueue.java,
5650         java/awt/FileDialog.java,
5651         java/awt/Frame.java,
5652         java/awt/Label.java,
5653         java/awt/List.java,
5654         java/awt/Menu.java,
5655         java/awt/MenuItem.java,
5656         java/awt/Panel.java,
5657         java/awt/PopupMenu.java,
5658         java/awt/Rectangle.java,
5659         java/awt/ScrollPane.java,
5660         java/awt/Scrollbar.java,
5661         java/awt/TextArea.java,
5662         java/awt/TextField.java,
5663         java/awt/Window.java,
5664         java/awt/datatransfer/DataFlavor.java,
5665         java/awt/dnd/DragSource.java,
5666         java/awt/dnd/DragSourceContext.java,
5667         java/awt/event/HierarchyEvent.java,
5668         java/awt/event/MouseWheelEvent.java,
5669         java/awt/im/InputContext.java,
5670         java/awt/image/BufferedImage.java,
5671         java/awt/image/ComponentColorModel.java,
5672         java/awt/image/Raster.java,
5673         java/awt/image/WritableRaster.java,
5674         java/awt/peer/ComponentPeer.java,
5675         java/awt/print/PageFormat.java,
5676         java/awt/print/PrinterJob.java:
5677         New versions from Classpath.
5678
5679 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
5680
5681         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5682         numberFormat.setParseIntegerOnly(true).
5683
5684 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
5685
5686         * include/posix-threads.h: Include <machine/pal.h> on OSF.
5687
5688 2003-06-03  Andrew Haley  <aph@redhat.com>
5689
5690         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5691         stack volatile to prevent optimization from removing it.
5692
5693 2003-05-27  Michael Koch  <konqueror@gmx.de>
5694
5695         * java/util/zip/Deflater.java
5696         (FILTERED): Merged documentation from classpath.
5697         * java/util/zip/DeflaterOutputStream.java
5698         (DeflaterOutputStream): Merged documentation and argument validity
5699         check from classpath.
5700         (deflate): Merged documentation from classpath.
5701         (finish): Likewise.
5702         * java/util/zip/Inflater.java
5703         (Inflater): Merged class documentation from classpath.
5704         (zstream): Reordered.
5705         (is_finished): Reordered.
5706         (dict_needed): Reordered.
5707         (Inflater): Reordered, merged documentation from classpath.
5708         (end): Likewise.
5709         (finalize): Merged documentation from classpath.
5710         (finished): Likewise.
5711         (getAdler): Likewise.
5712         (getRemaining): Likewise.
5713         (getTotalIn): Likewise.
5714         (getTotalOut): Likewise.
5715         (inflate): Likewise.
5716         (needsDictionary): Likewise.
5717         (needsInput): Likewise.
5718         (reset): Likewise.
5719         (setDictionary): Likewise.
5720         (setInput): Likewise.
5721
5722 2003-05-27  Michael Koch  <konqueror@gmx.de>
5723
5724         * java/net/URLConnection.java
5725         (getHeaderFieldInt): Merged with classpath.
5726
5727 2003-05-27  Michael Koch  <konqueror@gmx.de>
5728
5729         * java/io/PrintStream.java
5730         (PrintStream): Reformatted.
5731         (PrintStream): New method, merged from classpath.
5732         (write): Reformatted.
5733
5734 2003-05-27  Michael Koch  <konqueror@gmx.de>
5735
5736         * java/lang/System.java:
5737         Explicitely import needed classes.
5738
5739 2003-05-26  Michael Koch  <konqueror@gmx.de>
5740
5741         * java/net/NetPermission.java,
5742         java/net/NetworkInterface.java,
5743         java/net/PasswordAuthentication.java,
5744         java/net/SocketPermission.java:
5745         New versions from classpath.
5746
5747 2003-05-25  Michael Koch  <konqueror@gmx.de>
5748
5749         * java/io/PushbackInputStream.java,
5750         java/net/Authenticator.java,
5751         java/net/ContentHandler.java,
5752         java/net/ContentHandlerFactory.java,
5753         java/net/DatagramSocket.java,
5754         java/net/DatagramSocketImpl.java,
5755         java/net/DatagramSocketImplFactory.java,
5756         java/net/FileNameMap.java,
5757         java/net/SocketImplFactory.java,
5758         java/net/SocketOptions.java,
5759         java/net/URLStreamHandlerFactory.java:
5760         Merged new versions from classpath.
5761
5762 2003-05-25  Michael Koch  <konqueror@gmx.de>
5763
5764         * java/awt/Checkbox.java,
5765         java/awt/Dialog.java,
5766         java/awt/Font.java,
5767         java/awt/Frame.java,
5768         java/awt/ScrollPaneAdjustable.java,
5769         java/awt/Scrollbar.java,
5770         java/awt/Window.java:
5771         New versions from classpath.
5772
5773 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
5774
5775         PR libgcj/10838:
5776         * java/io/ObjectInputStream (enableResolveObject):
5777         Fixed spelling of permission name.
5778
5779 2003-05-20  Michael Koch  <konqueror@gmx.de>
5780
5781         * java/io/DataInputStream.java
5782         (convertFromUTF): Merged comment from classpath.
5783         * java/io/PrintStream.java
5784         (error_occured): Renamed from error, merged comment from classpath.
5785         (PrintStream): No need to initialized error.
5786         (checkError): Replace error with error_occurred.
5787         (setError): Likewise.
5788
5789 2003-05-20  Michael Koch  <konqueror@gmx.de>
5790
5791         * java/io/DataInputStream.java:
5792         Reformatted, Replaced < and & with html entitites in documentation.
5793         * java/io/File.java:
5794         Reformatted.
5795         * java/io/PrintWriter.java:
5796         Moved class documentation.
5797
5798 2003-05-20  Michael Koch  <konqueror@gmx.de>
5799
5800         * gnu/java/nio/ByteBufferImpl.java,
5801         gnu/java/nio/CharBufferImpl.java,
5802         gnu/java/nio/CharViewBufferImpl.java,
5803         gnu/java/nio/DirectByteBufferImpl.java,
5804         gnu/java/nio/DoubleBufferImpl.java,
5805         gnu/java/nio/DoubleViewBufferImpl.java,
5806         gnu/java/nio/FloatBufferImpl.java,
5807         gnu/java/nio/FloatViewBufferImpl.java,
5808         gnu/java/nio/IntBufferImpl.java,
5809         gnu/java/nio/IntViewBufferImpl.java,
5810         gnu/java/nio/LongBufferImpl.java,
5811         gnu/java/nio/LongViewBufferImpl.java,
5812         gnu/java/nio/natDirectByteBufferImpl.cc,
5813         gnu/java/nio/ShortBufferImpl.java,
5814         gnu/java/nio/ShortViewBufferImpl.java:
5815         Moved files to java/nio.
5816         * gnu/java/nio/SocketChannelImpl.java
5817         
5818         * java/nio/ByteBuffer.java,
5819         java/nio/CharBuffer.java,
5820         java/nio/DoubleBuffer.java,
5821         java/nio/FloatBuffer.java,
5822         java/nio/IntBuffer.java,
5823         java/nio/LongBuffer.java,
5824         java/nio/ShortBuffer.java:
5825         Dont import anything.
5826         * java/nio/ByteBufferImpl.java,
5827         java/nio/CharBufferImpl.java,
5828         java/nio/CharViewBufferImpl.java,
5829         java/nio/DirectByteBufferImpl.java,
5830         java/nio/DoubleBufferImpl.java,
5831         java/nio/DoubleViewBufferImpl.java,
5832         java/nio/FloatBufferImpl.java,
5833         java/nio/FloatViewBufferImpl.java,
5834         java/nio/IntBufferImpl.java,
5835         java/nio/IntViewBufferImpl.java,
5836         java/nio/LongBufferImpl.java,
5837         java/nio/LongViewBufferImpl.java,
5838         java/nio/natDirectByteBufferImpl.cc,
5839         java/nio/ShortBufferImpl.java,
5840         java/nio/ShortViewBufferImpl.java:
5841         Moved from gnu/java/nio.
5842         * Makefile.am
5843         (ordinary_java_source_files): Moved files from gnu/java/nio to
5844         java/nio.
5845         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5846         to java/nio.
5847         * Makefile.in: Regenerated.
5848
5849 2003-05-19  Michael Koch  <konqueror@gmx.de>
5850
5851         * java/util/Calendar.java
5852         (get): Not final anymore since JDK 1.4
5853         (set): Likewise.
5854
5855 2003-05-19  Michael Koch  <konqueror@gmx.de>
5856
5857         * java/text/CollationKey.java:
5858         Merged copyright and dat from classpath.
5859         * java/text/RuleBasedCollator.java:
5860         Merged class documentation from classpath.
5861
5862 2003-05-19  Michael Koch  <konqueror@gmx.de>
5863
5864         * java/nio/CharBuffer.java
5865         (toString): Compile fix.
5866
5867 2003-05-19  Michael Koch  <konqueror@gmx.de>
5868
5869         * gnu/java/nio/ByteBufferImpl.java
5870         (putLong): Fixed conversion to bytes.
5871         (putDouble): Fixed conversion to bytes.
5872         * gnu/java/nio/DirectByteBufferImpl.java
5873         (putLong): Fixed conversion to bytes.
5874         (putDouble): Fixed conversion to bytes.
5875         * gnu/java/nio/FileLockImpl.java
5876         (isValid): Reformatted.
5877         * java/nio/Buffer.java
5878         (Buffer): Fixed off-by-one bug in handling mark.
5879         * java/nio/ByteBuffer.java:
5880         Added newline.
5881         * java/nio/CharBuffer.java
5882         (toString): Don't use relative get to get string data.
5883
5884 2003-05-16  Michael Koch  <konqueror@gmx.de>
5885
5886         * java/io/natFileDescriptorPosix.cc
5887         (open): Commented out the O_SYNC and O_DSYNC usage until its better
5888         tested.
5889
5890 2003-05-14  Michael Koch  <konqueror@gmx.de>
5891
5892         * gnu/java/nio/FileLockImpl.java
5893         (released): New member variable.
5894         (FileLockImpl): Initialize released.
5895         (releaseImpl): New native method.
5896         (release): Implemented.
5897         * gnu/java/nio/SelectorImpl.java: Reformatted.
5898         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5899         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5900         (accept): Throws IOException.
5901         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5902         (implConfigureBlocking): Throws IOException.
5903         (connect): Likewise.
5904         (read): Likewise.
5905         (write): Likewise.
5906         * gnu/java/nio/natFileLockImpl.cc: New file.
5907         * java/nio/channels/FileLock.java: Reformatted.
5908         * Makefile.am:
5909         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5910         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5911         * Makefile.in: Regenerated.
5912
5913 2003-05-13  Michael Koch  <konqueror@gmx.de>
5914
5915         * gnu/java/nio/CharViewBufferImpl.java
5916         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5917         (get): Shift bits to the right direction.
5918         (put): Likewise.
5919         * gnu/java/nio/DoubleViewBufferImpl.java
5920         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5921         (get): Shift bits to the right direction.
5922         (put): Likewise.
5923         * gnu/java/nio/FloatViewBufferImpl.java
5924         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5925         (get): Shift bits to the right direction.
5926         (put): Likewise.
5927         * gnu/java/nio/IntViewBufferImpl.java
5928         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5929         (get): Shift bits to the right direction.
5930         (put): Likewise.
5931         * gnu/java/nio/LongViewBufferImpl.java
5932         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5933         (get): Shift bits to the right direction.
5934         (put): Likewise.
5935         * gnu/java/nio/ShortViewBufferImpl.java
5936         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5937         (get): Shift bits to the right direction.
5938         (put): Likewise.
5939
5940 2003-05-13  Michael Koch  <konqueror@gmx.de>
5941
5942         * gnu/java/nio/natDirectByteBufferImpl.cc
5943         (allocateImpl): jlong -> RawData*.
5944         (freeImpl): Likewise.
5945
5946 2003-05-13  Michael Koch  <konqueror@gmx.de>
5947
5948         * java/nio/channels/FileChannel.java
5949         (MapMode.m): Made it package-private to match JDK 1.4.
5950         * java/nio/charset/Charset.java
5951         (decode): Made it final to match JDK 1.4.
5952
5953 2003-05-13  Michael Koch  <konqueror@gmx.de>
5954
5955        * java/io/FileDescriptor.java
5956        (SYNC): New constant.
5957        (DSYNC): Likewise.
5958        (getLength): Renamed from lenght() to match classpath's
5959        FileDescriptor.java.
5960        * java/io/RandomAccessFile.java
5961        (RandomAccessFile): Removed unneeded mode check, implemented mode
5962        "rws" and "rwd", merged documentation from classpath.
5963        (setLength): Reformatted.
5964        (length): Use new getLength() of FileDescriptor.
5965        * java/io/natFileDescriptorEcos.cc
5966        (getLength): Renamed from length().
5967        * java/io/natFileDescriptorPosix.cc
5968        (open): Implemented support for SYNC and DSYNC.
5969        (seek): Use getLength() instead of length().
5970        (getLength): Renamed from length().
5971        * java/io/natFileDescriptorWin32.cc
5972        (getLength): Renamed from length().
5973        (seek): Use getLength() instead of length().
5974        (available): Likewise.
5975        * gnu/java/nio/natFileChannelImpl.cc
5976        (size): Use getLength() instead of length().
5977
5978 2003-05-13  Michael Koch  <konqueror@gmx.de>
5979
5980         * gnu/java/nio/ByteBufferImpl.java
5981         (ByteBufferImpl): All constructors revised.
5982         (slice): Reimplemented.
5983         (duplicate): Reimplemented.
5984         (asReadOnlyBuffer): Reimplemented.
5985         * java/nio/ByteBuffer.java:
5986         Reformatted.
5987         (array_offset): Renamed from "offset" to match all other buffer
5988         classes.
5989         (ByteBuffer): All constructors revised.
5990         (allocateDirect): Implemented.
5991         (allocate): New implementation, documentation reworked.
5992         (wrap): Likewise.
5993         (get): Documentation reworked.
5994         (put): New implementation, documentation reworked.
5995         (hasArray): Documentation reworked.
5996         (arrayOffset): Likewise.
5997         (hashCode): Likewise.
5998         (equals): Likewise.
5999         (compareTo): Likewise.
6000         (order): Likewise.
6001         (compact): Likewise.
6002         (isDirect): Likewise.
6003         (slice): Likewise.
6004         (duplicate): Likewise.
6005         (asReadOnlyBuffer): Likewise.
6006         * Makefile.am
6007         (ordinary_java_source_files):
6008         Added gnu/java/nio/DirectByteBufferImpl.java.
6009         (nat_source_files):
6010         Added gnu/java/nio/natDirectByteBufferImpl.cc.
6011         * Makefile.in: Regenerated.
6012
6013 2003-05-12  Michael Koch  <konqueror@gmx.de>
6014
6015         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6016         (nio_get_*): Removed.
6017         (nio_put_*): Removed.
6018         (as*Buffer): Implemented.
6019         (compact): Implemented.
6020         (get): Documentation added.
6021         (put): Documentation added.
6022         (get*): Newly implemented.
6023         (put*): Newly implemented.
6024         * gnu/java/nio/CharBufferImpl.java: Reformatted.
6025         (CharBufferImpl): Revised.
6026         (slice): New implementation.
6027         (duplicate): New implementation.
6028         (compact): New implementation.
6029         (asReadOnlyBuffer): New implementation.
6030         (get): Documentation revised.
6031         (order): Return native byte order.
6032         * gnu/java/nio/DirectByteBufferImpl.java
6033         (allocateDirect): objects can be null not 0.
6034         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6035         (DoubleBufferImpl): Revised.
6036         (slice): New implementation.
6037         (duplicate): New implementation.
6038         (compact): New implementation.
6039         (asReadOnlyBuffer): New implementation.
6040         (get): Documentation revised.
6041         (order): Return native byte order.
6042         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6043         (FloatBufferImpl): Revised.
6044         (slice): New implementation.
6045         (duplicate): New implementation.
6046         (compact): New implementation.
6047         (asReadOnlyBuffer): New implementation.
6048         (get): Documentation revised.
6049         (order): Return native byte order.
6050         * gnu/java/nio/IntBufferImpl.java: Reformatted.
6051         (IntBufferImpl): Revised.
6052         (slice): New implementation.
6053         (duplicate): New implementation.
6054         (compact): New implementation.
6055         (asReadOnlyBuffer): New implementation.
6056         (get): Documentation revised.
6057         (order): Return native byte order.
6058         * gnu/java/nio/LongBufferImpl.java: Reformatted.
6059         (LongBufferImpl): Revised.
6060         (slice): New implementation.
6061         (duplicate): New implementation.
6062         (compact): New implementation.
6063         (asReadOnlyBuffer): New implementation.
6064         (get): Documentation revised.
6065         (order): Return native byte order.
6066         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6067         (ShortBufferImpl): Revised.
6068         (slice): New implementation.
6069         (duplicate): New implementation.
6070         (compact): New implementation.
6071         (asReadOnlyBuffer): New implementation.
6072         (get): Documentation revised.
6073         (order): Return native byte order.
6074         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6075         (CharBuffer): Revised.
6076         (order): Removed.
6077         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6078         (DoubleBuffer): Revised.
6079         (allocateDirect): Removed.
6080         (order): Removed.
6081         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6082         (FloatBuffer): Revised.
6083         (allocateDirect): Removed.
6084         (order): Removed.
6085         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6086         (IntBuffer): Revised.
6087         (allocateDirect): Removed.
6088         (order): Removed.
6089         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6090         (LongBuffer): Revised.
6091         (allocateDirect): Removed.
6092         (order): Removed.
6093         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6094         (ShortBuffer): Revised.
6095         (allocateDirect): Removed.
6096         (order): Removed.
6097         * gnu/java/nio/natByteBufferImpl.cc: Removed.
6098         * gnu/java/nio/natCharBufferImpl.cc: Removed.
6099         * Makefile.am
6100         (ordinary_java_source_files): Added the following files:
6101         gnu/java/nio/CharViewBufferImpl.java,
6102         gnu/java/nio/DoubleViewBufferImpl.java,
6103         gnu/java/nio/FloatViewBufferImpl.java,
6104         gnu/java/nio/IntViewBufferImpl.java,
6105         gnu/java/nio/LongViewBufferImpl.java,
6106         gnu/java/nio/ShortViewBufferImpl.java
6107         (nat_source_files): Removed the following files:
6108         gnu/java/nio/natByteBufferImpl.cc,
6109         gnu/java/nio/natCharBufferImpl.cc
6110         * Makefile.in: Regenerated.
6111
6112 2003-05-12  Michael Koch  <konqueror@gmx.de>
6113
6114         * gnu/java/nio/CharViewBufferImpl.java,
6115         gnu/java/nio/DirectByteBufferImpl.java,
6116         gnu/java/nio/DoubleViewBufferImpl.java,
6117         gnu/java/nio/FloatViewBufferImpl.java,
6118         gnu/java/nio/IntViewBufferImpl.java,
6119         gnu/java/nio/LongViewBufferImpl.java,
6120         gnu/java/nio/ShortViewBufferImpl.java,
6121         gnu/java/nio/natDirectByteBufferImpl.cc:
6122         New files, not yet to be compiled.
6123
6124 2003-05-10  Michael Koch  <konqueror@gmx.de>
6125
6126         * javax/swing/plaf/ButtonUI.java,
6127         javax/swing/plaf/ColorUIResource.java,
6128         javax/swing/plaf/ComponentUI.java,
6129         javax/swing/plaf/DimensionUIResource.java,
6130         javax/swing/plaf/FontUIResource.java,
6131         javax/swing/plaf/IconUIResource.java,
6132         javax/swing/plaf/InsetsUIResource.java,
6133         javax/swing/plaf/LabelUI.java,
6134         javax/swing/plaf/ListUI.java,
6135         javax/swing/plaf/OptionPaneUI.java,
6136         javax/swing/plaf/PanelUI.java,
6137         javax/swing/plaf/TabbedPaneUI.java,
6138         javax/swing/plaf/TextUI.java,
6139         javax/swing/plaf/TreeUI.java,
6140         javax/swing/plaf/ViewportUI.java,
6141         javax/swing/plaf/basic/BasicBorders.java,
6142         javax/swing/plaf/basic/BasicButtonUI.java,
6143         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6144         javax/swing/plaf/basic/BasicDefaults.java,
6145         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6146         javax/swing/plaf/basic/BasicIconFactory.java,
6147         javax/swing/plaf/basic/BasicLabelUI.java,
6148         javax/swing/plaf/basic/BasicListUI.java,
6149         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6150         javax/swing/plaf/basic/BasicPanelUI.java,
6151         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6152         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6153         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6154         javax/swing/plaf/basic/BasicTextUI.java,
6155         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6156         javax/swing/plaf/basic/BasicTreeUI.java,
6157         javax/swing/plaf/basic/BasicViewportUI.java,
6158         javax/swing/plaf/metal/MetalLookAndFeel.java:
6159         New versions from classpath. This adds copyrights to all files and
6160         some serialVersionUIDs.
6161
6162 2003-05-10  Michael Koch  <konqueror@gmx.de>
6163
6164         * java/nio/CharBuffer.java
6165         (offset): Make it package-private.
6166         (backing_buffer): Likewise.
6167         * java/nio/DoubleBuffer.java
6168         (offset): Make it package-private.
6169         (backing_buffer): Likewise.
6170         (put): Reformatted.
6171         * java/nio/FloatBuffer.java
6172         (offset): Make it package-private.
6173         (backing_buffer): Likewise.
6174         * java/nio/IntBuffer.java
6175         (offset): Make it package-private.
6176         (backing_buffer): Likewise.
6177         * java/nio/LongBuffer.java
6178         (offset): Make it package-private.
6179         (backing_buffer): Likewise.
6180         * java/nio/ShortBuffer.java
6181         (offset): Make it package-private.
6182         (backing_buffer): Likewise.
6183
6184 2003-05-10  Michael Koch  <konqueror@gmx.de>
6185
6186         * java/nio/CharBuffer.java
6187         (put): Fixed precondtion check.
6188         (toString): Make it work without backing array.
6189         (put): Skip one level of method calling.
6190
6191 2003-05-10  Michael Koch  <konqueror@gmx.de>
6192
6193         * java/security/Identity.java,
6194         java/security/IdentityScope.java,
6195         java/security/Key.java,
6196         java/security/KeyPair.java,
6197         java/security/PrivateKey.java,
6198         java/security/Provider.java,
6199         java/security/PublicKey.java,
6200         java/security/SecureRandom.java,
6201         java/security/SecureRandomSpi.java,
6202         java/security/SignedObject.java,
6203         java/security/Signer.java,
6204         java/security/cert/Certificate.java,
6205         java/security/cert/PKIXCertPathBuilderResult.java,
6206         java/security/cert/X509Certificate.java:
6207         New versions from classpath.
6208
6209 2003-05-09  Tom Tromey  <tromey@redhat.com>
6210
6211         * Makefile.in: Rebuilt.
6212         * Makefile.am (nat_source_files): Removed old files.
6213         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6214         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6215         * gnu/java/nio/natIntBufferImpl.cc: Removed.
6216         * gnu/java/nio/natLongBufferImpl.cc: Removed.
6217         * gnu/java/nio/natShortBufferImpl.cc: Removed.
6218
6219 2003-05-09  Michael Koch  <konqueror@gmx.de>
6220
6221         * gnu/java/nio/ByteBufferImpl.java
6222         (nio_cast): Removed.
6223         (ByteBufferImpl): Removed.
6224         (nio_get_Byte): Removed.
6225         (nio_put_Byte): Removed.
6226         (asByteBuffer): Removed.
6227         (asCharBuffer): Removed implementation and throw exception.
6228         (asShortBuffer): Likewise.
6229         (asIntBuffer): Likewise.
6230         (asLongBuffer): Likewise.
6231         (asFloatBuffer): Likewise.
6232         (asDoubleBuffer): Likewise.
6233         * gnu/java/nio/CharBufferImpl.java
6234         (CharBufferImpl): Removed.
6235         (nio_get_Byte): Removed.
6236         (nio_put_Byte): Removed.
6237         (asByteBuffer): Removed.
6238         * gnu/java/nio/DoubleBufferImpl.java
6239         (DoubleBufferImpl): Removed.
6240         (nio_get_Byte): Removed.
6241         (nio_put_Byte): Removed.
6242         (asByteBuffer): Removed.
6243         * gnu/java/nio/FloatBufferImpl.java
6244         (FloatBufferImpl): Removed.
6245         (nio_get_Byte): Removed.
6246         (nio_put_Byte): Removed.
6247         (asByteBuffer): Removed.
6248         * gnu/java/nio/IntBufferImpl.java
6249         (IntBufferImpl): Removed.
6250         (nio_get_Byte): Removed.
6251         (nio_put_Byte): Removed.
6252         (asByteBuffer): Removed.
6253         * gnu/java/nio/LongBufferImpl.java
6254         (LongBufferImpl): Removed.
6255         (nio_get_Byte): Removed.
6256         (nio_put_Byte): Removed.
6257         (asByteBuffer): Removed.
6258         * gnu/java/nio/ShortBufferImpl.java
6259         (ShortBufferImpl): Removed.
6260         (nio_get_Byte): Removed.
6261         (nio_put_Byte): Removed.
6262         (asByteBuffer): Removed.
6263         * gnu/java/nio/natByteBufferImpl.cc
6264         (nio_cast): Removed.
6265         (nio_get_Byte): Removed.
6266         (nio_put_Byte): Removed.
6267         * gnu/java/nio/natCharBufferImpl.cc
6268         (nio_get_Byte): Removed.
6269         (nio_put_Byte): Removed.
6270
6271 2003-05-09  Michael Koch  <konqueror@gmx.de>
6272
6273         * java/net/JarURLConnection.java
6274         (getJarEntry): Merged documentation from classpath.
6275         (getJarFile): Likewise.
6276         (getMainAttributes): Likewise.
6277         (getAttributes): Likewise.
6278         (getManifest): Likewise.
6279         (getCertificates): Reformatted.
6280         * java/net/URLConnection.java:
6281         Little classpath merge.
6282
6283 2003-05-09  Michael Koch  <konqueror@gmx.de>
6284
6285         * java/io/DataOutputStream.java
6286         (writeShort): Made it synchronized.
6287         (writeChar): Likewise.
6288         (writeInt): Likewise.
6289         (writeLong): Liekwise.
6290         (writeUTF): Made it synchronized, renamed argument to match classpath.
6291         * java/io/InputStreamReader.java
6292         (converter): Added documentation.
6293         (read): Merged documentation from classpath.
6294         * java/io/OutputStreamWriter.java
6295         (OutputStreamWriter): Merged documentation from classpath.
6296         (close): Reformatted.
6297         (getEncoding): Likewise.
6298         (flush): Likewise.
6299         (write): Merged documentation from classpath, reformatted.
6300
6301 2003-05-08  Tom Tromey  <tromey@redhat.com>
6302
6303         * configure.host <powerpc64*-*>: Set with_libffi_default and
6304         libgcj_interpreter to "yes".
6305
6306 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
6307
6308         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6309         
6310 2003-05-06  Tom Tromey  <tromey@redhat.com>
6311
6312         * verify.cc: Reverted previous patch.
6313
6314 2003-05-06  Michael Koch  <konqueror@gmx.de>
6315
6316         * java/io/DataOutputStream.java
6317         (write): Renamed argument to "value", merged documentation from
6318         classpath.
6319         (writeBoolean): Likewise.
6320         (writeByte): Likewise.
6321         (writeShort): Likewise.
6322         (writeChar): Likewise.
6323         (writeInt): Likewise.
6324         (writeLong): Likewise.
6325         (writeFloat): Likewise.
6326         (writeDouble): Likewise.
6327         (writeBytes): Likewise.
6328         (writeChars): Likewise.
6329         (writeUTF): Likewise.
6330         * java/io/File.java
6331         (performDelete): Added documentation.
6332         (performList): Likewise.
6333         (performMkdir): Likewise.
6334         (performSetReadOnly): Likewise.
6335         (performRenameTo): Likewise.
6336         (performSetLastModified): Likewise.
6337         (delete): Made it sychronized.
6338         (renameTo): Made it sychronized.
6339         (equals): Reformatted.
6340         (isHidden): Likewise.
6341         (listFiles): Likewise.
6342         (setReadOnly): Likewise.
6343         (listRoots): Likewise.
6344         (setLastModified): Likewise.
6345         (checkRead): Likewise.
6346         (checkWrite): Likewise.
6347         * java/io/FileInputStream.java
6348         (skip): Made it sychronized, merged from classpath.
6349         * java/io/FileOutputStream.java
6350         (write): Merged from classpath.
6351         * java/io/InputStreamReader.java:
6352         (InputStreamReader): Merged documentation from classpath.
6353
6354 2003-05-05  Michael Koch  <konqueror@gmx.de>
6355
6356         * java/net/NetworkInterface.java
6357         (networkInterfaces): Removed.
6358         (getByName): Use getRealNetworkInterfaces() instead of
6359         networkInterfaces.
6360         (getByInetAddress): Likewise.
6361         (getNetworkInterfaces): Likewise.
6362         (toString): Fix output of addresses of an interface.
6363
6364 2003-05-05  Michael Koch  <konqueror@gmx.de>
6365
6366         * java/io/DataInputStream.java:
6367         Merged new documentation from classpath.
6368
6369 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
6370
6371         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6372         "version".
6373         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6374         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6375         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6376         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6377         * gnu/awt/gtk/GtkMainThread.java: Likewise.
6378         * gnu/awt/gtk/GtkToolkit.java: Likewise.
6379         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6380         * java/security/Key.java: Likewise.
6381         * java/security/PrivateKey.java: Likewise.
6382         * java/security/Provider.java: Likewise.
6383         * java/security/PublicKey.java: Likewise.
6384
6385 2003-05-02  Michael Koch  <konqueror@gmx.de>
6386
6387         * java/net/URI.java
6388         (create): Doesnt throws any exceptions.
6389         * java/net/URLConnection.java
6390         (URLConnection): Commend added.
6391         (getExpiration): The header field is called "expires" not
6392         "expiration".
6393         (getHeaderField): Merged documentation with classpath.
6394         (getHeaderFieldInt): Likewise.
6395         (getHeaderFieldDate): Likewise.
6396         (getHeaderFieldKey): Likewise.
6397         (getPermission): Likewise.
6398         (setDefaultUseCaches): Likewise.
6399         (setRequestProperty): Likewise.
6400         (addRequestProperty): Likewise.
6401         (getRequestProperty): Likewise.
6402         (getRequestProperties): Likewise.
6403         (setDefaultRequestProperty): Likewise.
6404         (getDefaultRequestProperty): Likewise.
6405         (guessContentTypeFromStream): Likewise.
6406         (getFileNameMap): Likewise.
6407         (setFileNameMap): Likewise.
6408         (setDoInput): Merged implementation and documentation with classpath.
6409         (setDoOutput): Likewise.
6410         (setAllowUserInteraction): Likewise.
6411         (setDefaultAllowUserInteraction): Likewise.
6412         (setContentHandlerFactory): Made it synchronized, merged documentation
6413         with classpath.
6414         (guessContentTypeFromName): Renamed argument fname to filename to
6415         match classpath, merged documentation with classpath.
6416
6417 2003-05-02  Michael Koch  <konqueror@gmx.de>
6418
6419         * java/net/JarURLConnection.java
6420         (JarURLConnection): Class documentation merged with classpath.
6421         (getJarFileURL): Moved and documentation merged with classpath.
6422         (getEntryName): Likewise.
6423         (JarURLConnection): Documentation merged with classpath.
6424         (getJarEntry): Likewise.
6425         (getJarFile): Likewise.
6426         * java/net/PlainDatagramSocketImpl.java:
6427         Class documentation moved.
6428         * java/net/URLConnection.java
6429         (fileNameMap): Moved and documentation merged with classpath.
6430         (factory): Likewise.
6431         (defaultAllowUserInteraction): Likewis.
6432         (defaultUseCaches): Likewise.
6433         (allowUserInteraction): Likewise.
6434         (connected): Likewise.
6435         (url): Likewise.
6436         (connect): Documentation merged with classpath.
6437         (getURL): Likewise.
6438         (getContentLength): Likewise.
6439         (getContentType): Likewise.
6440         (getContentEncoding): Likewise.
6441         (getExpiration): Likewise.
6442         (getDate): Likewise.
6443         (getLastModified): Likewise.
6444         (getHeaderField): Likewise.
6445         (getContent): Likewise.
6446         (getPermission): Likewise.
6447         (getInputStream): Likewise.
6448         (getOutputStream): Likewise.
6449         (toString): Likewise.
6450         (getDoInput): Likewise.
6451         (getDoOutput): Likewise.
6452         (setAllowUserInteraction): Likewise.
6453         (getAllowUserInteraction): Likewise.
6454         (setDefaultAllowUserInteraction): Likewise.
6455         (getDefaultAllowUserInteraction): Likewise.
6456         (setUseCaches): Likewise.
6457         (getUseCaches): Likewise.
6458         (setIfModifiedSince): Likewise.
6459         (getIfModifiedSince): Likewise.
6460         (setDefaultRequestProperty): Likewise.
6461         (getDefaultRequestProperty): Likewise.
6462         (setContentHandlerFactory): Likewise.
6463         (setFileNameMap): Likewise.
6464
6465 2003-05-02  Michael Koch  <konqueror@gmx.de>
6466
6467         * java/net/InetAddress.java:
6468         Merged class documentation with classpath.
6469         * java/net/JarURLConnection.java:
6470         Explicitely import all used classes.
6471         * java/net/URL.java:
6472         Reformatting.
6473         * java/net/ServerSocket.java,
6474         java/net/Socket.java:
6475         New versions from classpath.
6476
6477 2003-05-02  Michael Koch  <konqueror@gmx.de>
6478
6479         * gnu/java/nio/FileChannelImpl.java
6480         (read): New implementation.
6481         (implRead): New methods.
6482         (write): New implementation, call other write insteal of read method.
6483         (implWrite): New methods.
6484         (map): Added comment.
6485         (transferFrom): Implemented.
6486         (transferTo): Implemented.
6487         (lock): Added checks to throw exceptions.
6488         (truncate): Added check to throw exception.
6489         * gnu/java/nio/natFileChannelImpl.cc
6490         (implRead): New method.
6491         (implWrite): New method.
6492         * java/nio/ByteBuffer.java
6493         (hashCode): Fixed comment.
6494         (get): Fixed exception documentation.
6495         (put): Fixed exception documentation.
6496         * java/nio/CharBuffer.java:
6497         Added comment for later optimizations.
6498
6499 2003-04-30  Tom Tromey  <tromey@redhat.com>
6500
6501         PR libgcj/10582:
6502         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6503         Removed.
6504         (type::compatible): Use _Jv_IsAssignableFrom.
6505         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6506         (_Jv_IsAssignableFrom): Work even when source or target class is
6507         not prepared.
6508
6509 2003-04-30  Michael Koch  <konqueror@gmx.de>
6510
6511         * java/text/BreakIterator.java
6512         (clone): New method.
6513
6514 2003-04-30  Michael Koch  <konqueror@gmx.de>
6515
6516         * java/text/CollationElementIterator.java,
6517         java/text/CollationKey.java,
6518         java/text/RuleBasedCollator.java:
6519         Merged copyright and documentation from classpath and
6520         rearranged some code. No code changes done.
6521
6522 2003-04-30  Michael Koch  <konqueror@gmx.de>
6523
6524         * java/util/regex/Matcher.java
6525         (pattern): New member variable.
6526         (appendReplacement): New method.
6527         (appendTail): New method.
6528         (end): New method.
6529         (find): New method.
6530         (group): New method.
6531         (replaceFirst): Added documentation.
6532         (replaceAll): Added documentation.
6533         (groupCount): New method.
6534         (lookingAt): New method.
6535         (matches): New method.
6536         (reset): New method.
6537         (start): New method.
6538         * java/util/regex/Pattern.java
6539         (serialVersionUID): New constant.
6540         (CANON_EQ): New constant.
6541         (CASE_INSENSITIVE): New constant.
6542         (COMMENTS): New constant.
6543         (DOTALL): New constant.
6544         (MULTILINE): New constant.
6545         (UNICODE_CASE): New constant.
6546         (UNIX_LINES): New constant.
6547         (regex): New member variable.
6548         (flags): New member variable.
6549         (Pattern): New method.
6550         (compile): Documentation added.
6551         (flags): New method.
6552         (matches): Documentation added.
6553         (matcher): Documentation added.
6554         (split): Documentation added.
6555         (pattern): New method.
6556
6557 2003-04-30  Michael Koch  <konqueror@gmx.de>
6558
6559         * gnu/java/security/Engine.java,
6560         gnu/java/security/OID.java,
6561         gnu/java/security/der/BitString.java,
6562         gnu/java/security/der/DER.java,
6563         gnu/java/security/der/DERReader.java,
6564         gnu/java/security/der/DERValue.java,
6565         gnu/java/security/der/DERWriter.java,
6566         gnu/java/security/provider/DSAKeyFactory.java,
6567         gnu/java/security/provider/X509CertificateFactory.java,
6568         gnu/java/security/x509/X500DistinguishedName.java,
6569         gnu/java/security/x509/X509CRL.java,
6570         gnu/java/security/x509/X509CRLEntry.java,
6571         gnu/java/security/x509/X509Certificate.java,
6572         java/security/cert/CRLSelector.java,
6573         java/security/cert/CertPathBuilder.java,
6574         java/security/cert/CertPathBuilderResult.java,
6575         java/security/cert/CertPathBuilderSpi.java,
6576         java/security/cert/CertPathParameters.java,
6577         java/security/cert/CertPathValidator.java,
6578         java/security/cert/CertPathValidatorResult.java,
6579         java/security/cert/CertPathValidatorSpi.java,
6580         java/security/cert/CertSelector.java,
6581         java/security/cert/CertStore.java,
6582         java/security/cert/CertStoreParameters.java,
6583         java/security/cert/CertStoreSpi.java,
6584         java/security/cert/CollectionCertStoreParameters.java,
6585         java/security/cert/LDAPCertStoreParameters.java,
6586         java/security/cert/PKIXBuilderParameters.java,
6587         java/security/cert/PKIXCertPathBuilderResult.java,
6588         java/security/cert/PKIXCertPathChecker.java,
6589         java/security/cert/PKIXCertPathValidatorResult.java,
6590         java/security/cert/PKIXParameters.java,
6591         java/security/cert/PolicyNode.java,
6592         java/security/cert/PolicyQualifierInfo.java,
6593         java/security/cert/TrustAnchor.java,
6594         javax/security/auth/x500/X500Principal.java:
6595         New files from classpath.
6596         * gnu/java/io/ASN1ParsingException.java,
6597         gnu/java/io/Base64InputStream.java,
6598         gnu/java/security/der/DEREncodingException.java,
6599         gnu/java/security/provider/DSAParameters.java,
6600         gnu/java/security/provider/DSASignature.java,
6601         gnu/java/security/provider/Gnu.java,
6602         gnu/java/security/provider/GnuDSAPrivateKey.java,
6603         gnu/java/security/provider/GnuDSAPublicKey.java,
6604         java/security/AlgorithmParameterGenerator.java,
6605         java/security/AlgorithmParameters.java,
6606         java/security/KeyFactory.java,
6607         java/security/KeyPairGenerator.java,
6608         java/security/KeyStore.java,
6609         java/security/MessageDigest.java,
6610         java/security/SecureClassLoader.java,
6611         java/security/SecureRandom.java,
6612         java/security/Security.java,
6613         java/security/Signature.java,
6614         java/security/cert/Certificate.java,
6615         java/security/cert/CertificateFactory.java,
6616         java/security/cert/CertificateFactorySpi.java,
6617         java/security/cert/X509CRL.java,
6618         java/security/cert/X509Certificate.java,
6619         java/security/spec/DSAPublicKeySpec.java:
6620         New versions from classpath.
6621         * gnu/java/security/provider/DERReader.java,
6622         gnu/java/security/provider/DERWriter.java,
6623         java/security/Engine.java: Removed.
6624         * Makefile.am
6625         (java_source_files, javax_source_files): Added new files.
6626         * Makefile.in: Regenerated.
6627
6628 2003-04-29  Michael Koch  <konqueror@gmx.de>
6629
6630         * javax/swing/JTable.java
6631         (AUTO_RESIZE_ALL_COLUMNS): New constant.
6632         (AUTO_RESIZE_LAST_COLUMN): New constant.
6633         (AUTO_RESIZE_NEXT_COLUMN): New constant.
6634         (AUTO_RESIZE_OFF): New constant.
6635         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6636         (JTable): New method.
6637         (columnAdded): New method.
6638         (columnMarginChanged): New method.
6639         (columnMoved): New method.
6640         (columnRemoved): New method.
6641         (columnSelectionChanged): New method.
6642         (editingCanceled): New method.
6643         (editingStopped): New method.
6644         (getColumnModel): New method.
6645         (getPreferredScrollableViewportSize): New method.
6646         (getScrollableBlockIncrement): New method.
6647         (getScrollableTracksViewportHeight): New method.
6648         (getScrollableTracksViewportWidth): New method.
6649         (getScrollableUnitIncrement): New method.
6650         (getSelectedRow): New method.
6651         (getSelectionModel): New method.
6652         (tableChanged): New method.
6653         (setModel): New method.
6654         (setSelectionMode): New method.
6655         (setSelectionModel): New method.
6656         (setShowGrid): New method.
6657         (valueChanged): New method.
6658         * javax/swing/text/DefaultEditorKit.java
6659         (backwardAction): New constant.
6660         (beepAction): New constant.
6661         (beginAction): New constant.
6662         (beginLineAction): New constant.
6663         (beginParagraphAction): New constant.
6664         (beginWordAction): New constant.
6665         (copyAction): New constant.
6666         (cutAction): New constant.
6667         (defaultKeyTypedAction): New constant.
6668         (deleteNextCharAction): New constant.
6669         (deletePrevCharAction): New constant.
6670         (downAction): New constant.
6671         (endAction): New constant.
6672         (endLineAction): New constant.
6673         (endOfLineStringProperty): New constant.
6674         (endParagraphAction): New constant.
6675         (endWordAction): New constant.
6676         (forwardAction): New constant.
6677         (insertBreakAction): New constant.
6678         (insertContentAction): New constant.
6679         (insertTabAction): New constant.
6680         (nextWordAction): New constant.
6681         (pageDownAction): New constant.
6682         (pageUpAction): New constant.
6683         (pasteAction): New constant.
6684         (previousWordAction): New constant.
6685         (readOnlyAction): New constant.
6686         (selectAllAction): New constant.
6687         (selectionBackwardAction): New constant.
6688         (selectionBeginAction): New constant.
6689         (selectionBeginLineAction): New constant.
6690         (selectionBeginParagraphAction): New constant.
6691         (selectionBeginWordAction): New constant.
6692         (selectionDownAction): New constant.
6693         (selectionEndAction): New constant.
6694         (selectionEndLineAction): New constant.
6695         (selectionEndParagraphAction): New constant.
6696         (selectionEndWordAction): New constant.
6697         (selectionForwardAction): New constant.
6698         (selectionNextWordAction): New constant.
6699         (selectionPreviousWordAction): New constant.
6700         (selectionUpAction): New constant.
6701         (selectLineAction): New constant.
6702         (selectParagraphAction): New constant.
6703         (selectWordAction): New constant.
6704         (upAction): New constant.
6705         (writableAction): New constant.
6706
6707 2003-04-29  Michael Koch  <konqueror@gmx.de>
6708
6709         * java/util/PropertyPermission.java:
6710         New version from classpath
6711         * java/util/ResourceBundle.java:
6712         Partly merged from classpath
6713         (getObject): Reformated.
6714         (tryBundle): Set foundBundle = null if no bundle found.
6715
6716 2003-04-29  Michael Koch  <konqueror@gmx.de>
6717
6718         * javax/swing/AbstractListModel.java,
6719         javax/swing/DefaultBoundedRangeModel.java,
6720         javax/swing/DefaultSingleSelectionModel.java:
6721         New Versions from classpath.
6722
6723 2003-04-29  Michael Koch  <konqueror@gmx.de>
6724
6725         * java/awt/Window.java
6726         (show): Call super.show() instead of setVisible() to avoid endless
6727         loop.
6728         (hide): Call super.hide() instead of setVisible() to avoid endless
6729         loop.
6730
6731 2003-04-29  Michael Koch  <konqueror@gmx.de>
6732
6733         * java/util/zip/Deflater.java,
6734         java/util/zip/DeflaterOutputStream.java:
6735         Partly merged with classpath.
6736
6737 2003-04-27  Tom Tromey  <tromey@redhat.com>
6738
6739         * java/lang/natString.cc (_Jv_AllocString): Initialize
6740         cachedHashCode.
6741         (init): Likewise.
6742         (_Jv_NewStringUtf8Const): Likewise.
6743
6744 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
6745
6746         * include/jvm.h: (_Jv_GetNbArgs) added
6747         (_Jv_GetSafeArg) added
6748         (_Jv_SetArgs) added
6749         * prims.cc: (_Jv_GetNbArgs) implemented
6750         (_Jv_GetSafeArg) implemented
6751         (_Jv_SetArgs) implemented
6752         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6753         setting _Jv_argc and _Jv_argv
6754         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6755         instead of _Jv_argv
6756         * java/lang/natRuntime.cc: (insertSystemProperties) use
6757         _Jv_GetSafeArg() instead of _Jv_argv
6758
6759 2003-04-23  Tom Tromey  <tromey@redhat.com>
6760
6761         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6762         required by this object.  Search superclasses to find required
6763         alignment.
6764         (get_alignment_from_class): Use alignment of type as it appears
6765         in a struct.
6766         (ALIGNOF): New macro.
6767         (struct aligner): New helper structure.
6768
6769 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
6770
6771         * java/awt/Container.java (addImpl): Enable paint events if adding
6772         a lightweight to a heavyweight.
6773         (addNotify): Ensure that peer is created before
6774         addNotifyContainerChildren.
6775         (addNotifyContainerChildren): Enable paint events if a heavyweight
6776         container contains a lightweight.
6777
6778 2003-04-20  Tom Tromey  <tromey@redhat.com>
6779
6780         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6781         java/io/DataInput.java, java/io/DataOutput.java: Imports from
6782         Classpath.
6783
6784 2003-04-19  Tom Tromey  <tromey@redhat.com>
6785
6786         * java/sql/Date.java, java/sql/DriverManager.java,
6787         java/sql/Time.java, java/sql/Timestamp.java: New versions from
6788         Classpath.
6789
6790         * Makefile.in: Rebuilt.
6791         * Makefile.am (ordinary_java_source_files): Added new files.
6792         * java/security/AlgorithmParameterGenerator.java,
6793         java/security/AlgorithmParameters.java, java/security/Engine.java,
6794         java/security/Identity.java, java/security/IdentityScope.java,
6795         java/security/KeyFactory.java,
6796         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6797         java/security/MessageDigest.java, java/security/Policy.java,
6798         java/security/ProtectionDomain.java,
6799         java/security/SecureRandom.java, java/security/Security.java,
6800         java/security/Signature.java, java/security/SignatureSpi.java,
6801         java/security/SignedObject.java, java/security/Signer.java,
6802         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6803         java/security/spec/PSSParameterSpec.java,
6804         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6805         java/security/spec/RSAOtherPrimeInfo.java: New versions from
6806         Classpath.
6807
6808 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6809
6810         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6811         (dispose): Null metrics.
6812         * gnu/awt/xlib/XToolkit.java (sync): Implement.
6813         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6814         finalize.
6815         (finalize): Call dispose.
6816         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6817         (gcCachedCount): New field.
6818         (finalize): New method.
6819         (putGCInCache): New method.
6820         (getGCFromCache): New method.
6821         * gnu/gcj/xlib/GC.java (GC): Make protected.
6822         (clone): Get new GC from cache if possible.
6823         (create): New static method.
6824         (dispose): Save old GC in cache.
6825         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6826         deleting.
6827         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6828         is null.
6829         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6830         * java/awt/Container.java (visitChild): Dispose gfx2 when
6831         finished.
6832
6833 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
6834
6835         * java/math/BigInteger.java (probablePrime): New.
6836         * java/math/BigDecimal.java (unscaledValue): New.
6837
6838 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
6839
6840         * java/io/File.java (getAbsolutePath): On Windows, take care
6841         of paths like "C:", "G:foo\bar", etc.
6842         (getName): Make it work correctly on Windows.
6843         (getParent): Make it work correctly on Windows. For UNIX,
6844         fix bug that causes "/" to be returned as the parent of "/",
6845         instead of null as returned by Sun's JRE.
6846
6847         * java/io/natFileWin32.cc: Change copyright owner to FSF.
6848
6849 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6850
6851         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6852         inner class.
6853         (CACHE_SIZE_PER_DISPLAY): New field
6854         (fontMetricsCache): New field
6855         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6856         loading ISO10646-1 fonts.
6857
6858 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
6859
6860         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6861         characters.
6862         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6863         characters.
6864
6865 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
6866
6867         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6868         floating point.
6869
6870 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
6871
6872         * configure.host (*-linux*): Don't set slow_pthread_self if primary
6873         installed libpthread is either linuxthreads with floating stacks or
6874         NPTL.
6875
6876 2003-04-14  Tom Tromey  <tromey@redhat.com>
6877
6878         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6879         of alignment.
6880
6881 2003-04-10  Tom Tromey  <tromey@redhat.com>
6882
6883         * verify.cc (pop64): Removed.
6884         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
6885         exception if top-of-stack is narrow.
6886         (initialize_stack): Check to ensure that <init> is not static and
6887         <clinit> is.
6888
6889 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
6890
6891         * java/io/ObjectStreamException
6892         * java/io/FileFilter
6893         * java/io/FilenameFilter
6894         * java/io/ObjectInput
6895         * java/io/ObjectOutput
6896         * java/io/ObjectStreamConstants
6897         Minor doc fixes, format fixes, spelling corrections, etc.
6898         * java/io/DataInput
6899         Corrected code samples in Javadocs to match reality
6900         * java/io/DataOutput
6901         * java/io/ObjectInputValidation
6902         Major documentation fixes - all Javadocs re-written or updated
6903
6904 2003-04-06  Michael Koch  <konqueror@gmx.de>
6905
6906         * java/net/URLConnection.java:
6907         Import classes directly.
6908         (URLConnection): Merged class documentation with classpath.
6909         (url): Moved, documentation from classpath added.
6910         (doInput): Moved, documentation from classpath added.
6911         (doOutput): Moved, documentation from classpath added.
6912         (allowUserInteraction): Moved.
6913         (useCaches): Moved, documentation from classpath added.
6914         (ifModifiedSince): Moved, documentation from classpath added.
6915         (connected): Moved, documentation from classpath added.
6916
6917 2003-04-06  Michael Koch  <konqueror@gmx.de>
6918
6919         * java/io/FileInputStream.java
6920         (skip): Renamed some variables to match classpath, added
6921         checks from classpath.
6922
6923 2003-03-31  Michael Koch  <konqueror@gmx.de>
6924
6925         * javax/swing/AbstractAction.java
6926         (AbstractAction): Reformatted.
6927         (serialVersionUID): New private member variable.
6928         * javax/swing/plaf/BorderUIResource.java
6929         (serialVersionUID): New private member variable.
6930         * javax/swing/plaf/basic/BasicLookAndFeel.java
6931         (serialVersionUID): New private member variable.
6932
6933 2003-03-31  Michael Koch  <konqueror@gmx.de>
6934
6935         * java/sql/Date.java
6936         (valueOf): Deprecated, reformatted.
6937         (toString): Deprecated, reformatted.
6938         * java/sql/Time.java
6939         (valueOf): Deprecated, reformatted.
6940         (toString): Deprecated, reformatted.
6941
6942 2003-03-31  Michael Koch  <konqueror@gmx.de>
6943
6944         * java/rmi/dgc/VMID.java
6945         (isUnique): Deprecated.
6946
6947 2003-03-31  Michael Koch  <konqueror@gmx.de>
6948
6949         * java/io/File.java
6950         (separator): Merged documentation from classpath.
6951         (separatorChar): Merged documentation from classpath.
6952         (pathSeparator): Merged documentation from classpath.
6953         (pathSeparatorChar): Merged documentation from classpath.
6954         (path): Merged documentation from classpath.
6955         (canRead): Merged documentation from classpath.
6956         (canWrite): Merged documentation from classpath.
6957         (createNewFile): Merged documentation from classpath.
6958         (delete): Merged documentation from classpath.
6959         (equals): Merged documentation from classpath.
6960         (exists): Merged documentation from classpath.
6961         (File): Renamed p to name to match classpath, merged documentation
6962         from classpath.
6963         (getAbsolutePath): Merged documentation from classpath.
6964         (getCanonicalPath): Merged documentation from classpath.
6965         (getCanonicalFile): Merged documentation from classpath.
6966         (getName): Merged documentation from classpath.
6967         (getParent): Merged documentation from classpath.
6968         (getParentFile): Merged documentation from classpath.
6969         (getPath): Merged documentation from classpath.
6970         (hashCode): Merged documentation from classpath.
6971         (isAbsolute): Merged documentation from classpath.
6972         (isDirectory): Merged documentation from classpath.
6973         (isFile): Merged documentation from classpath.
6974         (isHidden): Merged documentation from classpath.
6975         (lastModified): Merged documentation from classpath.
6976         (length): Merged documentation from classpath.
6977         (list): Merged documentation from classpath.
6978         (listFiles): Merged documentation from classpath.
6979         (toString): Merged documentation from classpath.
6980         (toURL): Merged documentation from classpath.
6981         (mkdir): Merged documentation from classpath.
6982         (mkdirs): Merged documentation from classpath.
6983         (createTempFile): Merged documentation from classpath.
6984         (setReadOnly): Merged documentation from classpath.
6985         (listRoots): Merged documentation from classpath.
6986         (compareTo): Merged documentation from classpath.
6987         (renameTo): Merged documentation from classpath.
6988         (setLastModified): Merged documentation from classpath.
6989         * java/io/PrintStream.java
6990         (auto_flush): Merged documentation from classpath.
6991         (PrintStream): Merged documentation from classpath.
6992         (checkError): Merged documentation from classpath.
6993         (setError): Merged documentation from classpath.
6994         (close): Merged documentation from classpath.
6995         (flush): Merged documentation from classpath.
6996         (print): Merged documentation from classpath.
6997         (println):  Merged documentation from classpath.
6998         (write): Renamed count to len to match classpath,
6999         merged documentation from classpath.
7000         * java/io/RandomAccessFile.java
7001         (readShort): Merged documentation from classpath.
7002         (readUnsignedByte): Merged documentation from classpath.
7003         (readUnsignedShort): Merged documentation from classpath.
7004         (readUTF): Merged documentation from classpath.
7005         (seek): Reformatted, merged documentation from classpath.
7006         (skipBytes): Renamed some variables to match classpath, reformatted,
7007         merged documentation from classpath.
7008         (write): Merged documentation from classpath.
7009         (writeBoolean): Merged documentation from classpath.
7010         (writeByte): Merged documentation from classpath.
7011         (writeShort): Merged documentation from classpath.
7012         (writeChar): Merged documentation from classpath.
7013         (writeInt): Merged documentation from classpath.
7014         (writeLong): Merged documentation from classpath.
7015         (writeFloat): Merged documentation from classpath.
7016         (writeDouble): Merged documentation from classpath.
7017         (writeBytes): Merged documentation from classpath.
7018         (writeChars): Merged documentation from classpath.
7019         (writeUTF): Reformatted.
7020         (getChannel): Reformatted.
7021
7022 2003-03-31  Michael Koch  <konqueror@gmx.de>
7023
7024         * java/awt/font/TextAttribute.java
7025         (readResolve): Throws java.io.InvalidObjectException.
7026
7027 2003-03-31  Michael Koch  <konqueror@gmx.de>
7028
7029         * java/rmi/server/LoaderHandler.java
7030         (loadClass): Deprecated.
7031         (getSecurityContext): Deprecated.
7032         * java/rmi/server/LogStream.java
7033         (getDefaultStream): Deprecated.
7034         (setDefaultStream): Deprecated.
7035         (getOutputStream): Deprecated.
7036         (setOutputStream): Deprecated.
7037         (write): Deprecated.
7038         (toString): Deprecated.
7039         (parseLevel): Deprecated.
7040         * java/rmi/server/Operation.java
7041         (Operation): Deprecated.
7042         (getOperation): Deprecated.
7043         (toString): Deprecated.
7044         * java/rmi/server/RemoteCall.java
7045         (getOutputStream): Deprecated.
7046         (releaseOutputStream): Deprecated.
7047         (getInputStream): Deprecated.
7048         (releaseInputStream): Deprecated.
7049         (getResultStream): Deprecated.
7050         (executeCall): Deprecated.
7051         (done): Deprecated.
7052         * java/rmi/server/RemoteRef.java
7053         (invoke): Deprecated.
7054         (newCall): Deprecated.
7055         (done): Deprecated.
7056         * java/rmi/server/RemoteStub.java
7057         (setRef): Deprecated.
7058         * java/rmi/server/Skeleton.java:
7059         No need to import java.lang.Exception explicitly.
7060         (dispatch): Deprecated.
7061         (getOperations): Deprecated.
7062
7063 2003-03-31  Michael Koch  <konqueror@gmx.de>
7064
7065         * java/rmi/dgc/VMID.java,
7066         java/rmi/registry/RegistryHandler.java,
7067         java/rmi/server/LogStream.java,
7068         java/rmi/server/Operation.java,
7069         java/rmi/server/RemoteCall.java,
7070         java/rmi/server/RemoteRef.java,
7071         java/rmi/server/RemoteStub.java:
7072         Reformatted.
7073
7074 2003-03-31  Michael Koch  <konqueror@gmx.de>
7075
7076         * javax/swing/AbstractCellEditor.java,
7077         javax/swing/AbstractListModel.java,
7078         javax/swing/ActionMap.java,
7079         javax/swing/BorderFactory.java,
7080         javax/swing/ButtonGroup.java,
7081         javax/swing/DefaultBoundedRangeModel.java,
7082         javax/swing/DefaultButtonModel.java,
7083         javax/swing/DefaultCellEditor.java,
7084         javax/swing/DefaultComboBoxModel.java,
7085         javax/swing/DefaultDesktopManager.java,
7086         javax/swing/DefaultListCellRenderer.java,
7087         javax/swing/DefaultSingleSelectionModel.java,
7088         javax/swing/InputMap.java,
7089         javax/swing/JComponent.java,
7090         javax/swing/JMenu.java,
7091         javax/swing/JSlider.java,
7092         javax/swing/KeyStroke.java,
7093         javax/swing/OverlayLayout.java,
7094         javax/swing/ScrollPaneLayout.java,
7095         javax/swing/SizeRequirements.java,
7096         javax/swing/UIManager.java,
7097         javax/swing/ViewportLayout.java,
7098         javax/swing/border/AbstractBorder.java,
7099         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7100         javax/swing/event/EventListenerList.java,
7101         javax/swing/table/AbstractTableModel.java,
7102         javax/swing/table/DefaultTableCellRenderer.java,
7103         javax/swing/table/DefaultTableColumnModel.java,
7104         javax/swing/table/DefaultTableModel.java,
7105         javax/swing/table/TableColumn.java,
7106         javax/swing/text/StyledEditorKit.java,
7107         javax/swing/tree/DefaultMutableTreeNode.java,
7108         javax/swing/tree/DefaultTreeModel.java,
7109         javax/swing/tree/DefaultTreeSelectionModel.java,
7110         javax/swing/tree/TreePath.java,
7111         javax/swing/undo/AbstractUndoableEdit.java,
7112         javax/swing/undo/StateEdit.java,
7113         javax/swing/undo/StateEditable.java,
7114         javax/swing/undo/UndoableEditSupport.java:
7115         Merges from classpath.
7116
7117 2003-03-30  Tom Tromey  <tromey@redhat.com>
7118
7119         * java/lang/String.java (data, boffset, count): Documented.
7120         (String(byte[],String)): Reformatted.
7121         (String(byte[])): Likewise.
7122         (lastIndexOf(int)): Likewise.
7123         (lastIndexOf(String)): Likewise.
7124         (substring(int)): Renamed argument to match Classpath.
7125         (String(StringBuffer)): Don't share buffer if it is nearly empty.
7126
7127         * java/lang/String.java: Miscellaneous minor formatting changes
7128         to match Classpath more closely.
7129
7130 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
7131             Tom Tromey  <tromey@redhat.com>
7132
7133         * java/lang/natString.cc (hashCode): Use cachedHashCode.
7134         (init()): Removed.
7135         (charAt): Put index in exception.
7136         (contentEquals): New method.
7137         Include StringBuffer.h.
7138         * java/lang/String.java (cachedHashCode): New field.
7139         (String()): Follow classpath implementation.
7140         (init()): Removed.
7141         (contentEquals): Declare.
7142         (subSequence): Don't declare IndexOutIfBoundsException in throws
7143         clause.
7144         (matches, replaceFirst, replaceAll, split): New methods from
7145         Classpath.
7146
7147 2003-03-29  Tom Tromey  <tromey@redhat.com>
7148
7149         * java/lang/String.java: Reordered to follow Classpath; merged in
7150         javadoc.
7151
7152         * java/text/MessageFormat.java: Removed some whitespace.
7153
7154         * Makefile.in: Rebuilt.
7155         * Makefile.am (awt_java_source_files): Added new files.
7156         * gnu/javax/rmi/PortableServer.java,
7157         gnu/javax/rmi/CORBA/DelegateFactory.java,
7158         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7159         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7160         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7161         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7162         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7163         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
7164         javax/rmi/PortableRemoteObject.java,
7165         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
7166         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7167         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
7168         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
7169         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
7170         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
7171
7172         * java/lang/natClass.cc (newInstance): Put method name in
7173         exception.
7174         (getConstructor): Likewise.
7175         (getDeclaredConstructor): Likewise.
7176         (getPrivateMethod): Likewise.
7177
7178 2003-03-28  Tom Tromey  <tromey@redhat.com>
7179
7180         * java/lang/reflect/Proxy.java: New version from Classpath.
7181         * java/lang/Package.java: New version from Classpath.
7182
7183 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
7184
7185         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
7186         * configure: Regenerate.
7187
7188 2003-03-28  Michael Koch  <konqueror@gmx.de>
7189
7190         * java/io/File.java:
7191         Import needed classes instead of whole packages, merged class
7192         documentation with classpath, moved constants and variables to top of
7193         class.
7194         * java/io/PrintStream.java:
7195         Merged class documentation with classpath, moved constants and
7196         variables to top of class.
7197         * java/io/RandomAccessFile.java
7198         (RandomAccessFile): Merged with classpath.
7199         (read): Merged with classpath).
7200         (read*): Reformatted.
7201
7202 2003-03-28  Michael Koch  <konqueror@gmx.de>
7203
7204         * java/io/FileDescriptor.java
7205         (finalize): Throws Throwable, not IOException.
7206         * java/io/ObjectOutputStream.java
7207         (PutField.put): Doesnt throws anything.
7208
7209 2003­03-28  Michael Koch  <konqueror@gmx.de>
7210
7211         * java/io/FileOutputStream.java:
7212         Merged class documentation and authors with classpath.
7213         (FileOutputStream): Partly merged with classpath.
7214         (write): Merged with classpath.
7215         (getChannel): Make it synchronized instead of explicit block in this
7216         method.
7217         * java/io/RandomAccessFile.java:
7218         Merged class documentation and authors with classpath.
7219
7220 2003-03-26  Tom Tromey  <tromey@redhat.com>
7221
7222         * java/lang/natRuntime.cc (insertSystemProperties): Set
7223         gnu.classpath.home.url.
7224         * Makefile.in: Rebuilt.
7225         * Makefile.am: Define LIBDIR.
7226
7227 2003-03-25  Michael Koch  <konqueror@gmx.de>
7228
7229         * java/io/FileInputStream.java
7230         (read): Renamed b to buf and off to offset.
7231         * java/io/FileOutputStream.java
7232         (ch): Documentation added.
7233         (FileOutputStream): Documentation added.
7234         (getFD): Documentation added.
7235         (write): Documentation added.
7236         (close): Documentation added.
7237         (getChannel): Documentation added.
7238
7239 2003-03-24  Michael Koch  <konqueror@gmx.de>
7240
7241         * java/io/DataOutputStream.java
7242         (write): Merged from classpath.
7243         * java/io/File.java:
7244         Merged copyrigth with classpath.
7245         * java/io/FileInputStream.java
7246         (getChannel): Made it synchronized instead of using a synchronized
7247         block.
7248         * java/io/FileOutputStream.java: Reformatted.
7249         * java/io/InputStreamReader.java
7250         (InputStreamReader): Renamed enc to encoding_name.
7251         (close): Merged documentation from classpath.
7252         (getEncoding): Merged documentation from classpath.
7253         (ready): Merged documentation from classpath.
7254         (read): Merged documentation from classpath.
7255         * java/io/LineNumberReader.java
7256         (lineNumber): Made it private.
7257         (LineNumberReader): Use Constant instead of a direct value.
7258         * java/io/OutputStreamWriter.java
7259         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7260         documentation from classpath.
7261         (close): Merged documentation from classpath.
7262         (flush): Merged documentation from classpath.
7263         (write): Merged documentation from classpath.
7264         * java/io/PrintStream.java: Reformatted.
7265
7266 2003-03-24  Michael Koch  <konqueror@gmx.de>
7267
7268         * javax/swing/text/ComponentView.java
7269         (getComponent): Must be final.
7270         * javax/swing/tree/DefaultTreeCellRenderer.java:
7271         Reformatted.
7272         * javax/swing/undo/StateEditable.java:
7273         Reformatted.
7274
7275 2003-03-24  Michael Koch  <konqueror@gmx.de>
7276
7277         * java/rmi/activation/ActivationInstantiator.java:
7278         Reformatted.
7279         * java/rmi/activation/Activator.java:
7280         Reformatted.
7281         * java/rmi/registry/RegistryHandler.java:
7282         Remerged from classpath.
7283
7284 2003-03-24  Michael Koch  <konqueror@gmx.de>
7285
7286         * java/util/Date.java:
7287         Fixed documentation starting tag to make javadoc happy.
7288         * java/util/regex/Pattern.java
7289         (Pattern): Implements Serializable.
7290         * java/util/PatternSyntaxException.java
7291         (serialVersionUID): New member variable.
7292
7293 2003-03-24  Michael Koch  <koqnueror@gmx.de>
7294
7295         * java/awt/ContainerOrderFocusTraversalPolicy.java
7296         (getFirstComponent): Implemented.
7297         (getLastComponent): Implemented.
7298         (getDefaultComponent): Implemented.
7299         (setImplicitDownCycleTraversal): Fixed implementation.
7300         * java/awt/Robot.java
7301         (Robot): Added documentation.
7302         * java/awt/Toolkit.java
7303         (getFontList): Deprecated.
7304         (getFontMetrics): Deprecated.
7305         (getPrintJob): Added documentation.
7306         (getSystemSelection): Added documentation.
7307         (getLockingKeyState): Added documentation.
7308         (setLockingKeyState): Added documentation.
7309         (createCustomCursor): Added documentation.
7310         (getBestCursorSize): Added documentation.
7311         (getMaximumCursorColors): Added documentation.
7312         (isFrameStateSupported): Added documentation.
7313
7314 2003-03-24  Michael Koch  <konqueror@gmx.de>
7315
7316         * java/io/RandomAccessFile.java:
7317         More little merges with classpath. No code changes.
7318
7319 2003-03-24  Michael Koch  <konqueror@gmx.de>
7320
7321         * java/net/natInetAddressNoNet.cc:
7322         Include stddef.h.
7323         * java/net/natPlainDatagramSocketImplNoNet.cc:
7324         Fixed inlcude of java/net/DatagramPacket.h.
7325         * java/net/natPlainSocketImplNoNet.cc:
7326         Include some missing classes.
7327
7328 2003-03-24  Michael Koch  <konqueror@gmx.de>
7329
7330         * java/awt/dnd/DropTarget.java
7331         (DropTargetAutoScroller): According to the online documentation, this
7332         is protected, but in reality it is public.
7333         * java/awt/dnd/DropTargetContext.java
7334         (TransferableProxy): According to the online documentation, this
7335         is protected, but in reality it is public.
7336
7337 2003-03-24  Michael Koch  <konqueror@gmx.de>
7338
7339         * java/io/DataInputStream.java
7340         (): Wrapped documentation line.
7341         (): Fixed @return tag.
7342         * java/io/DataOutputStream.java
7343         (written): Moved to top of class.
7344         (all methods): Merged documentation from classpath.
7345         * java/io/File.java:
7346         Merged copyright year with classpath.
7347         * java/io/FileInputStream.java
7348         (all methods): Merged documentation from classpath.
7349         * java/io/LineNumberReader.java
7350         (getLineNumber): Fixed @return tag.
7351         * java/io/ObjectInputStream.java.
7352         Reformatted.
7353         * java/io/ObjectOutputStream.java:
7354         Reformatted, fixed some @see tags.
7355         * java/io/OutputStreamWriter.java:
7356         Deleted empty line.
7357         * java/io/Writer.java:
7358         Reformatted.
7359
7360 2003-03-24  Michael Koch  <konqueror@gmx.de>
7361
7362         * java/awt/Frame.java
7363         (DEFAULT_CURSOR): Fixed @deprecated tag.
7364         (setCursor): Fixed @deprecated tag.
7365
7366 2003-03-24  Michael Koch  <konqueror@gmx.de>
7367
7368         * java/beans/beancontext/BeanContextEvent.java:
7369         Reformated.
7370
7371 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
7372
7373         * java/lang/natStringBuffer.cc (regionMatches): New function.
7374         * java/lang/String.java (count): Now package-private.
7375         * java/lang/StringBuffer.java: Merged with Classpath.
7376
7377 2003-03-23  Michael Koch  <konqueror@gmx.de>
7378
7379         * java/io/BufferedOutputStream.java:
7380         Reformated.
7381         * java/io/BufferedReader.java:
7382         Reformated.
7383         * java/io/ByteArrayOutputStream.java
7384         (size): Fixed @see tag.
7385         * java/io/CharArrayWriter.java
7386         (size): Fixed @see tag.
7387         * java/io/DataInput.java:
7388         Reformated.
7389         * java/io/DataOutput.java:
7390         Reformated.
7391         * java/io/DataOutputStream.java:
7392         Merged copyright years with classpath.
7393         * java/io/Externalizable.java:
7394         Reformated.
7395         * java/io/FileFilter.java:
7396         Reformated.
7397         * java/io/FileInputStream.java:
7398         Merged copyright years with classpath.
7399         * java/io/FileOutputStream.java:
7400         Merged copyright years with classpath.
7401         * java/io/FilePermission.java
7402         (FilePermission): Replaced @XXX with FIXME:.
7403         * java/io/FileWriter.java:
7404         Reformated.
7405         * java/io/FilenameFilter.java:
7406         Reformated.
7407         * java/io/FilterInputStream.java:
7408         Reformated.
7409         * java/io/FilterOutputStream.java:
7410         Reformated.
7411         * java/io/FilterReader.java:
7412         Reformated.
7413         * java/io/FilterWriter.java:
7414         Reformated.
7415         * java/io/LineNumberInputStream.java
7416         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7417         happy.
7418         (getLineNumber): Fixed @return tag.
7419         * java/io/ObjectInput.java:
7420         Reformated.
7421         * java/io/ObjectOutput.java:
7422         Reformated.
7423         * java/io/ObjectStreamClass.java:
7424         Reformated.
7425         * java/io/PrintStream.java:
7426         Merged copyright years with classpath.
7427         * java/io/PushbackReader.java
7428         (PushbackReader): Replaced @code with @param.
7429         * java/io/SerializablePermission.java:
7430         Reformated.
7431         * java/io/StreamTokenizer.java
7432         (resetSyntax): Fixed @see tag.
7433
7434 2003-03-22  Richard Henderson  <rth@redhat.com>
7435
7436         * sysdep/ia64/locks.h: Include ia64intrin.h.
7437         (compare_and_swap): Use __sync_bool_compare_and_swap.
7438         (compare_and_swap_release): Expose ar.ccv assignment.
7439
7440 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
7441
7442         * include/posix.h: Add suffix for darwin dynamic libraries.
7443
7444 2003-03-21  Michael Koch  <konqueror@gmx.de>
7445
7446         * javax/swing/Action.java
7447         (ACCELERATOR_KEY): New constant.
7448         (ACTION_COMMAND_KEY): Likewise.
7449         (MNEMONIC_KEY): Likewise.
7450         * javax/swing/UnsupportedLookAndFeelException.java
7451         (UnsupportedLookAndFeelException): Must be public.
7452         * javax/swing/WindowConstants.java
7453         (EXIT_ON_CLOSE): New constant.
7454         * javax/swing/text/BadLocationException.java
7455         (offset): New member variable.
7456         (BadLocationException): New implementation, documentation added.
7457         (offsetRequested): New method.
7458         * javax/swing/text/Caret.java:
7459         Reformated.
7460         * javax/swing/text/Document.java:
7461         Reformated.
7462
7463 2003-03-21  Michael Koch  <konqueror@gmx.de>
7464
7465         * java/rmi/activation/Activatable.java
7466         (serialVersionUID): New member variable.
7467         * java/rmi/activation/ActivationGroup.java
7468         (serialVersionUID): New member variable.
7469         * java/rmi/activation/ActivationGroupDesc.java
7470         (serialVersionUID): New member variable.
7471         * java/rmi/registry/Registry.java:
7472         Reformated.
7473         (Registry): Deprecated.
7474         * java/rmi/server/LoaderHandler.java
7475         Reformated.
7476         (LoaderHandler): Deprecated.
7477         * java/rmi/server/LogStream.java
7478         Reformated.
7479         (LogStream): Deprecated.
7480         * java/rmi/server/Operation.java
7481         (Operation): Deprecated.
7482         * java/rmi/server/RMIFailureHandler.java:
7483         Reformated.
7484         * java/rmi/server/RMISocketFactory.java:
7485         Reformated.
7486         * java/rmi/server/RemoteCall.java
7487         (RemoteCall): Deprecated.
7488         * java/rmi/server/RemoteStub.java:
7489         Reformated.
7490         * java/rmi/server/Skeleton.java
7491         Reformated.
7492         (Skeleton): Deprecated.
7493
7494 2003-03-21  Michael Koch  <konqueror@gmx.de>
7495
7496         * java/io/LineNumberReader.java
7497         (LineNumberReader): Merged documentation with classpath.
7498         (getLineNumber): Likewise.
7499         (setLineNumber): Likewise.
7500         (mark): Likewise.
7501         (reset): Likewise.
7502         (read): Likewise.
7503         (readLine): Likewise.
7504         (skip): Likewise.
7505
7506 2003-03-21  Michael Koch  <konqueror@gmx.de>
7507
7508         * java/rmi/RMISecurityManager.java
7509         (checkAccept): Removed.
7510         (checkAccess): Likewise.
7511         (checkAccess): Likewise.
7512         (checkAwtEventQueueAccess): Likewise.
7513         (checkConnect): Likewise.
7514         (checkCreateClassLoader): Likewise.
7515         (checkDelete): Likewise.
7516         (checkExec): Likewise.
7517         (checkExit): Likewise.
7518         (checkLink): Likewise.
7519         (checkListen): Likewise.
7520         (checkMemberAccess): Likewise.
7521         (checkMulticast): Likewise.
7522         (checkPackageAccess): Likewise.
7523         (checkPackageDefinition): Likewise.
7524         (checkPermission): Likewise.
7525         (checkPrintJobAccess): Likewise.
7526         (checkPropertiesAccess): Likewise.
7527         (checkPropertyAccess): Likewise.
7528         (checkRead): Likewise.
7529         (checkSecurityAccess): Likewise.
7530         (checkSetFactory): Likewise.
7531         (checkSystemClipboardAccess): Likewise.
7532         (checkTopLevelWindow): Likewise.
7533         (checkWrite): Likewise.
7534
7535 2003-03-20  Michael Koch  <konqueror@gmx.de>
7536
7537         * gnu/java/nio/FileChannelImpl.java
7538         (address): Removed.
7539         (map_address): New member variable.
7540         (length): Make it package private.
7541         (fd): Make it package private.
7542         (buf): Make it package private.
7543         (file_obj): Make it package private.
7544         (FileChannelImpl): New constructor.
7545         (nio_mmap_file): Use RawData instead of long.
7546         (nio_munmap_file): Use RawData instead of long.
7547         (nio_msync): Use RawData instead of long.
7548         (implCloseChannel): New implementation using map_address.
7549         (read): Reformated.
7550         (map): Implemented.
7551         (create_direct_mapped_buffer): Implemented, use RawData, throws
7552         IOException.
7553         (force): Use map_address instead of address.
7554         * gnu/java/nio/MappedByteFileBuffer.java
7555         (address): Removed.
7556         (map_address): New member variable.
7557         (MappedByteFileBuffer): Use map_address instead of address, reformated.
7558         (several methods): Use map_address instead of address, replaced long
7559         with RawData where appropriate.
7560         * gnu/java/nio/natFileChannelImpl.cc
7561         (nio_mmap_file): Replaced long with RawData.
7562         (nio_munmap_file): Replaced long with RawData.
7563         (nio_msync): Replaced long with RawData.
7564         * gnu/java/nio/natMappedByteFileBuffer.cc
7565         (several methods): Replaced long with RawData where appropriate.
7566
7567 2003-03-20  Michael Koch  <konqueror@gmx.de>
7568
7569         * java/net/InetAddress.java,
7570         java/net/JarURLConnection.java,
7571         java/net/PlainDatagramSocketImpl.java,
7572         java/net/PlainSocketImpl.java,
7573         java/net/URLConnection.java:
7574         Merged copyright statements with classpath for easier merging.
7575
7576 2003-03-20  Michael Koch  <konqueror@gmx.de>
7577
7578         * java/io/FileInputStream.java
7579         (getChannel): New implementation.
7580         * java/io/FileOutputStream.java
7581         (ch): New member variable.
7582         (getChannel): Implemented.
7583         * java/io/RandomAccessFile.java
7584         (RandomAccessFile): Throws FileNotFoundException instead of
7585         IOException.
7586         (getChannel): New method.
7587         (ch): New member variable.
7588
7589 2003-03-20  Michael Koch  <konqueror@gmx.de>
7590
7591         * java/io/DataOutputStream.java,
7592         java/io/File.java,
7593         java/io/FileInputStream.java,
7594         java/io/FileOutputStream.java,
7595         java/io/InputStreamReader.java,
7596         java/io/LineNumberReader.java,
7597         java/io/OutputStreamWriter.java,
7598         java/io/PrintStream.java,
7599         java/io/RandomAccessFile.java:
7600         Merged copyright statements with classpath for easier merging.
7601
7602 2003-03-19  Michael Koch  <konqueror@gmx.de>
7603
7604         * java/lang/Process.java:
7605         Merged from classpath.
7606
7607 2003-03-19  Michael Koch  <konqueror@gmx.de>
7608
7609         * java/io/FileOutputStream.java
7610         (FileOutputStream): New constructor, merged from classpath.
7611         * java/io/FileWriter.java
7612         (FileWriter): New constructor, merged from classpath.
7613
7614 2003-03-18  Michael Koch  <konqueror@gmx.de>
7615
7616         * java/awt/ScrollPane.java
7617         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7618         (getViewportSize): Likewise.
7619         (addNotify): Likewise.
7620         (removeNotify): Likewise.
7621         * java/awt/ScrollPaneAdjustable.java
7622         (ScrollPaneAdjustable): No longer extends Scrollbar.
7623         * java/beans/beancontext/BeanContextServices.java:
7624         Reformated.
7625         (getService): Added throws TooManyListenersException;
7626         * java/beans/beancontext/BeanContextServicesSupport.java:
7627         Reformated.
7628
7629 2003-03-18  Michael Koch  <konqueror@gmx.de>
7630
7631         * java/io/BufferedOutputStream.java,
7632         java/io/DataInput.java,
7633         java/io/DataInputStream.java,
7634         java/io/DataOutput.java,
7635         java/io/Externalizable.java:
7636         More merges from classpath.
7637
7638 2003-03-18  Michael Koch  <konqueror@gmx.de>
7639
7640         * configure.in: Fixed links to platform dependant java.net files.
7641         * configure: Regenerated.
7642         * java/net/natInetAddress.cc,
7643         java/net/natNetworkInterface.cc,
7644         java/net/natPlainDatagramSocketImpl.cc,
7645         java/net/natPlainSocketImpl.cc:
7646         Removed.
7647
7648 2003-03-18  Michael Koch  <konqueror@gmx.de>
7649
7650         * configure.in: Create links to architecture dependent files,
7651         introduced PLATFORMNET variable (set to NoNet for newlib usage).
7652         * configure: Regenerated.
7653         * java/net/natInetAddressNoNet.cc,
7654         java/net/natInetAddressPosix.cc,
7655         java/net/natInetAddressWin32.cc,
7656         java/net/natNetworkInterfaceNoNet.cc,
7657         java/net/natNetworkInterfacePosix.cc,
7658         java/net/natNetworkInterfaceWin32.cc,
7659         java/net/natPlainDatagramSocketImplNoNet.cc,
7660         java/net/natPlainDatagramSocketImplPosix.cc,
7661         java/net/natPlainDatagramSocketImplWin32.cc,
7662         java/net/natPlainSocketImplNoNet.cc,
7663         java/net/natPlainSocketImplPosix.cc,
7664         java/net/natPlainSocketImplWin32.cc: New files.
7665
7666 2003-03-18  Michael Koch  <konqueror@gmx.de>
7667
7668         * java/io/BufferedReader.java,
7669         java/io/BufferedWriter.java,
7670         java/io/ByteArrayOutputStream.java,
7671         java/io/FileFilter.java,
7672         java/io/FilePermission.java,
7673         java/io/FileReader.java,
7674         java/io/FileWriter.java,
7675         java/io/FilenameFilter.java,
7676         java/io/FilterInputStream.java,
7677         java/io/FilterOutputStream.java,
7678         java/io/FilterReader.java,
7679         java/io/FilterWriter.java,
7680         java/io/ObjectInput.java,
7681         java/io/ObjectInputValidation.java,
7682         java/io/ObjectOutput.java,
7683         java/io/ObjectStreamField.java,
7684         java/io/PipedInputStream.java,
7685         java/io/PipedReader.java,
7686         java/io/PrintWriter.java,
7687         java/io/PushbackReader.java,
7688         java/io/Reader.java,
7689         java/io/SerializablePermission.java,
7690         java/io/StringReader.java,
7691         java/io/Writer.java:
7692         Merged from classpath.
7693
7694 2003-03-17  Michael Koch  <konqueror@gmx.de>
7695
7696         * java/awt/ScrollPaneAdjustable.java:
7697         Compile fixes.
7698         
7699 2003-03-17  Michael Koch  <konqueror@gmx.de>
7700
7701         * java/net/DatagramSocket.java
7702         (connect): Fixed comment.
7703         * java/nio/ByteBuffer.java
7704         (hasArray): Fixed comment.
7705
7706 2003-03-17  Michael Koch  <konqueror@gmx.de>
7707
7708         * java/beans/Beans.java:
7709         Explicitely import classes not packages.
7710         * java/beans/FeatureDescriptor.java
7711         (preferred): New member variable.
7712         (isPreferred): New method.
7713         (setPreferred): New method.
7714         * java/beans/PropertyEditorManager.java:
7715         Explicitely import used classes.
7716         * java/beans/beancontext/BeanContextChild.java:
7717         Added line wrapping.
7718         * java/beans/beancontext/BeanContextChildSupport.java:
7719         Reindented.
7720         * java/beans/beancontext/BeanContextEvent.java:
7721         Reindented.
7722
7723 2003-03-17  Michael Koch  <konqueror@gmx.de>
7724
7725         * java/awt/Dialog.java
7726         (Dialog): New constructor, changed implementations, added
7727         documentation.
7728         * java/awt/ScrollPaneAdjustable.java
7729         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7730         Serializable.
7731         (serialVersionUID): New member variable.
7732         (sp): New member variable.
7733         (orientation): New member variable.
7734         (value): New member variable.
7735         (minimum): New member variable.
7736         (maximum): New member variable.
7737         (visibleAmount): New member variable.
7738         (unitIncrement): New member variable.
7739         (blockIncrement): New member variable.
7740         (AdjustmentListener): New member variable.
7741         (ScrollPaneAdjustable): New implementation.
7742         (addAdjustmentListener): New method.
7743         (removeAdjustmentListener): New method.
7744         (getAdjustmentListeners): New method.
7745         (getBlockIncrement): New method.
7746         (getMaximum): New method.
7747         (getMinimum): New method.
7748         (getOrientation): New method.
7749         (getUnitIncrement): New method.
7750         (getValue): New method.
7751         (getVisibleAmount): New method.
7752         (setBlockIncrement): New method.
7753         (setMaximum): Implemented.
7754         (setMinimum): Implemented.
7755         (setUnitIncrement): New method.
7756         (setValue): New method.
7757         (setVisibleAmount): Implemented. 
7758         (paramString): New stubbed method.
7759         * java/awt/Window.java
7760         (show): Call setVisible().
7761         (hide): Call setVisible().
7762         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7763         and WINDOW_STATE_CHANGED.
7764         (processWindowFocusEvent): New method.
7765         (processWindowStateEvent): New method.
7766         (postEvent): Deprecated.
7767         (applyResourceBundle): Deprecated.
7768         * java/awt/datatransfer/DataFlavor.java
7769         (DataFlavor): Doesn't thow ClassNotFoundException.
7770
7771 2003-03-17  Michael Koch
7772
7773         * javax/print/attribute/Attribute.java,
7774         javax/print/attribute/AttributeSet.java,
7775         javax/print/attribute/PrintRequestAttributeSet.java:
7776         New files.
7777         * Makefile.am
7778         (javax_source_files): Added new files:
7779         javax/print/attribute/Attribute.java
7780         javax/print/attribute/AttributeSet.java
7781         javax/print/attribute/PrintRequestAttributeSet.java
7782         * Makefile.in: Regenerated.
7783
7784 2003-03-17  Michael Koch
7785
7786         * javax/print/attribute/Attribute.java,
7787         javax/print/attribute/AttributeSet.java,
7788         javax/print/attribute/PrintRequestAttributeSet.java:
7789         New files.
7790         * Makefile.am
7791         (awt_java_source_files): Added new files:
7792         javax/print/attribute/Attribute.java
7793         javax/print/attribute/AttributeSet.java
7794         javax/print/attribute/PrintRequestAttributeSet.java
7795         * Makefile.in: Regenerated.
7796
7797 2003-03-16  Tom Tromey  <tromey@redhat.com>
7798
7799         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7800         Include platform.h.
7801         * java/lang/natRuntime.cc (insertSystemProperties): Use
7802         _Jv_platform_path_separator.
7803         (nativeGetLibname): Use _Jv_platform_file_separator.
7804         (_load): Use _Jv_platform_onload_names.
7805         (onload_names): New global.
7806         * include/win32.h (_Jv_platform_file_separator): New define.
7807         (_Jv_platform_path_separator): Likewise.
7808         (_Jv_platform_onload_names): Likewise.
7809         (_Jv_platform_ffi_abi): Likewise.
7810         * include/posix.h (_Jv_platform_file_separator): New define.
7811         (_Jv_platform_path_separator): Likewise.
7812         (_Jv_platform_onload_names): Likewise.
7813         (_Jv_platform_ffi_abi): Likewise.
7814
7815 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
7816
7817         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7818
7819 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
7820
7821         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7822         hierarchy loop.
7823         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7824         list to Object,ObjectStreamClass, moved callReadMethod code up into
7825         readObject and added Class argument to all setXxxField calls.
7826         (callReadMethod): Changed Class argument to ObjectStreamClass to be
7827         consistent with ObjectOutputStream and to facilitate caching the
7828         Method in the future.
7829         (setBooleanField): Added Class argument.
7830         (setByteField): Likewise.
7831         (setCharField): Likewise.
7832         (setDoubleField): Likewise.
7833         (setFloatField): Likewise.
7834         (setIntField): Likewise.
7835         (setLongField): Likewise.
7836         (setShortField): Likewise.
7837         (setObjectField): Likewise.
7838         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7839         class hierarchy loop.
7840         (defaultWriteObject): Call writeFields with new argument list.
7841         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7842         list to Object,ObjectStreamClass, moved callWriteMethod up into
7843         writeObject and added Class argument to all getXxxField calls.
7844         (callWriteMethod): Added ObjectStreamClass argument to be able to
7845         get the proper class to call getMethod on (each class can have (or
7846         not have) its own writeObject method).
7847         (getBooleanField): Added Class argument.
7848         (getByteField): Likewise.
7849         (getCharField): Likewise.
7850         (getDoubleField): Likewise.
7851         (getFloatField): Likewise.
7852         (getIntField): Likewise.
7853         (getLongField): Likewise.
7854         (getShortField): Likewise.
7855         (getObjectField): Likewise.
7856         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7857         facilitate caching the Method object in the future.
7858
7859 2003-03-12  Andreas Schwab  <schwab@suse.de>
7860
7861         * configure.in: Avoid trailing /. in toolexeclibdir.
7862         * configure: Rebuilt.
7863
7864 2003-03-11  Michael Koch  <konqueror@gmx.de>
7865
7866         * gnu/java/nio/ByteBufferImpl.java
7867         (putInt): Use limit() instead of limit.
7868         * gnu/java/nio/CharBufferImpl.java
7869         (slice): Fixed implementation.
7870         (subSequence): Better bounds checking.
7871         * gnu/java/nio/MappedByteFileBuffer.java:
7872         Import all needed classes directly.
7873         * java/nio/ByteBuffer.java
7874         (hashCode): New dummy method.
7875         * java/nio/CharBuffer.java
7876         (array_offset): New member variable.
7877         (hasArray): Fixed documentation.
7878         (arrayOffset): Return array_offset.
7879
7880 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
7881
7882         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7883         setter; made return value of getter const char* instead of char*
7884         * prims.cc: removed all references to _Jv_ThisExecutable().
7885         These are in the platform-specific sections now.
7886         * posix.cc: define platform-specific _Jv_ThisExecutable().
7887         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7888         * win32.cc: define platform-specific _Jv_ThisExecutable()
7889         using GetModuleFilename()
7890         * java/lang/natRuntime.cc: set gnu.gcj.progname property
7891         to argv[0] instead of _Jv_ThisExecutable()
7892
7893 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
7894
7895         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7896         that is set if we are using addr2name.awk instead of addr2line.
7897         (NameFinder): Set usingAddr2name if using addr2name.awk.
7898         (getExternalLabel): New native method to convert a method 
7899         name to an external label.
7900         (lookup): Convert name given by addr2line to an external label
7901         before demangling.
7902
7903         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7904         constant representing the prefix attached to method names to
7905         convert them to an external label.
7906         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
7907         using LABEL_PREFIX.
7908
7909 2003-03-10  Tom Tromey  <tromey@redhat.com>
7910
7911         * Makefile.in: Rebuilt.
7912         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7913         (JC1FLAGS): Removed -Wno-deprecated.
7914
7915 2003-03-10  Michael Koch  <konqueror@gmx.de>
7916
7917         * java/nio/ByteOrder.java
7918         (nativeOrder): Working implementation, added documentation.
7919         (toString): Added documentation.
7920
7921 2003-03-10  Michael Koch  <konqueror@gmx.de>
7922
7923         * java/net/DatagramSocket.java,
7924         java/net/MulticastSocket.java,
7925         java/net/Socket.java,
7926         java/net/URL.java,
7927         java/net/URLConnection.java:
7928         Fixed some documentation tags to make javadoc and friends happy.
7929
7930 2003-03-10  Michael Koch  <koqnueror@gmx.de>
7931
7932         * java/beans/beancontext/BeanContextServicesSupport.java,
7933         java/beans/beancontext/BeanContextSupport.java: New files.
7934         * Makefile.am
7935         (awt_source_files): Added new files.
7936         * Makefile.in: Regenerated.
7937
7938 2003-03-10  Michael Koch  <konqueror@gmx.de>
7939
7940         * java/awt/FocusTraversalPolicy.java
7941         (FocusTraversalPolicy): Documentation added.
7942         (getComponentAfter): Documentation added.
7943         (getComponentBefore): Documentation added.
7944         (getFirstComponent): Documentation added.
7945         (getLastComponent): Documentation added.
7946         (getDefaultComponent): Documentation added.
7947         (getInitialComponent): Documentation added.
7948         * java/awt/ScrollPaneAdjustable.java
7949         (sp): New member variable.
7950         (orientation): New member variable.
7951         (value): New member variable.
7952         (minimum): New member variable.
7953         (maximum): New member variable.
7954         (visibleAmount): New member variable.
7955         (unitIncrement): New member variable.
7956         (blockIncrement): New member variable.
7957         (adjustmentListener): New member variable.
7958         (ScrollPaneAdjustable): Rewrote.
7959         (addAdjustmentListener): New method.
7960         (removeAdjustmentListener): New method.
7961         (getAdjustmentListeners): New method.
7962         (getBlockIncrement): New method.
7963         (getMaximum): New method.
7964         (getMinimum): New method.
7965         (getOrientation): New method.
7966         (getUnitIncrement): New method.
7967         (getValue): New method.
7968         (getVisibleAmount): New method.
7969         (setBlockIncrement): New method.
7970         (setUnitIncrement): New method.
7971         (setMaximum): Implemented.
7972         (setMinimum): Implemented.
7973         (setValue): New method.
7974         (setVisibleAmount): Implemented.
7975         (paramString): New method.
7976         * java/awt/Window.java
7977         (show): Use setVisible(true) instead of super.show().
7978         (hide): Use sevVisible(false) instead of super.hide().
7979         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7980         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7981         (postEvent): Deprecated.
7982         (applyResourceBundle): Deprecated.
7983         (processWindowFocusEvent): New method.
7984         (processWindowStateEvent): New method.
7985         * java/awt/datatransfer/DataFlavor.java: Reindented.
7986         * java/awt/font/TextHitInfo.java
7987         (charIndex): New member variable.
7988         (leadingEdge): New member variable.
7989         (TextHitInfo): New constructor.
7990         (getCharIndex): Implemented.
7991         (isLeadingEdge): Implemented.
7992         (getInsertionIndex): Implemented.
7993         (hashCode): Access charIndex directly.
7994         (equals): Reformated.
7995         (leading): Implemented.
7996         (trailing): Implemented.
7997         (beforeOffset): Implemented.
7998         (afterOffset): Implemented.
7999         (getOtherHit): Implemented.
8000         (getOffsetHit): Implemented.
8001         (toString): Implemented.
8002         * java/awt/image/BufferedImage.java
8003         (BufferedImage): Implements WritableRenderedImage.
8004         (observers): New member variable.
8005         (addTileObserver): New method.
8006         (removeTileObserver): New method.
8007
8008 2003-03-09  Tom Tromey  <tromey@redhat.com>
8009
8010         PR libgcj/9934:
8011         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8012         to lseek.  Return 0 if we can't compute the value.
8013
8014 2003-03-03  Michael Koch  <konqueror@gmx.de>
8015
8016         * java/net/NetworkInterface.java: Merged with classpath.
8017
8018 2003-03-03  Tom Tromey  <tromey@redhat.com>
8019
8020         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8021         of bytecode.
8022         (handle_ret_insn): Fail if returning to jsr that appears at end of
8023         bytecode.
8024
8025 2003-03-03  Michael Koch  <konqueror@gmx.de>
8026
8027         * Makefile.am
8028         (ordinary_java_source_files):
8029         Added gnu/java/nio/MappedByteFileBuffer.java.
8030         (nat_source_files):
8031         Added gnu/java/nio/natMappedByteFileBuffer.cc.
8032         * Makefile.in: Regenerated.
8033
8034 2003-03-03  Michael Koch  <konqueror@gmx.de>
8035
8036         * java/net/DatagramSocket.java
8037         (connect): Merged comment from classpath.
8038         (receive): Merged documentation from classpath.
8039         * java/net/Socket.java
8040         (setSoTimeout): Clarified documentation.
8041         * java/net/URL.java
8042         (getPath): Merged from classpath.
8043         (getUserInfo): Merged from classpath.
8044         (getQuery): Merged from classpath.
8045         * java/net/URLStreamHandler.java
8046         (toExternalForm): Merged from classpath.
8047
8048 2003-03-02  Mark Wielaard  <mark@klomp.org>
8049
8050         * java/util/Properties.java (load): Only skip line if the first
8051         character is a comment, whitespaces don't count.
8052
8053 2003-03-02  Michael Koch  <konqueror@gmx.de>
8054
8055         * java/net/NetPermission.java:
8056         Merged copyright with classpath.
8057
8058 2003-03-02  Michael Koch  <konqueror@gmx.de>
8059
8060         * java/lang/Package.java:
8061         Remerged from classpath.
8062
8063 2003-03-02  Michael Koch  <konqueror@gmx.de>
8064
8065         * java/net/HttpURLConnection.java
8066         (HTTP_SERVER_ERROR): Deprecated.
8067         * java/net/MulticastSocket.java
8068         (send): Replaced checkMulticast with appropriate checkPermission call,
8069         deprecated.
8070         * java/net/URLDecoder.java
8071         (decode): Deprecated.
8072         * java/net/URLEncoder.java
8073         (encode): Deprecated.
8074
8075 2003-03-02  Michael Koch  <konqueror@gmx.de>
8076
8077         * javax/swing/text/Caret.java
8078         (getMagicCaretPosition): Fixed typo in method name.
8079         * javax/swing/text/DefaultCaret.java
8080         (getMagicCaretPosition): Fixed typo in method name.
8081
8082 2003-03-02  Michael Koch  <konqueror@gmx.de>
8083
8084         * java/awt/List.java
8085         (setMultipleSelections): Deprecated.
8086         (delItem): Deprecated.
8087         * java/awt/MenuComponent.java
8088         (getPeer): Deprecated.
8089         * java/awt/ScrollPane.java
8090         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8091         * java/awt/dnd/MouseDragGestureRecognizer.java
8092         (mouseClicked): Added comment.
8093         (mousePressed): Added comment.
8094         (mouseReleased): Added comment.
8095         (mouseEntered): Added comment.
8096         (mouseExited): Added comment.
8097         (mouseDragged): Added comment.
8098         (mouseMoved): Added comment.
8099         * java/awt/event/KeyEvent.java
8100         (KeyEvent): Deprecated.
8101         (setModifiers): Deprecated.
8102         
8103 2003-03-02  Michael Koch  <konqueror@gmx.de>
8104
8105         * gnu/java/nio/FileChannelImpl.java
8106         (fd): Type FileDescriptor instead of int.
8107         (lengthInternal): Removed.
8108         (FileChannelImpl): Fixed arguments, check type of file object.
8109         (size): Made it native.
8110         (implPosition): New native method.
8111         (implTruncate): New native method.
8112         (position): Implemented.
8113         (truncate): Implemented.
8114         (nio_mmap_file): Changed arguments.
8115         (nio_munmap_file): Changed arguments.
8116         (nio_msync): Changed arguments.
8117         * gnu/java/nio/natFileChannelImpl.cc
8118         (lengthInternal): Removed.
8119         (size): New method.
8120         (implPosition): New method.
8121         (implTruncate): New method.
8122         (nio_mmap_file): Changed arguments.
8123         (nio_munmap_file): Changed arguments.
8124         (nio_msync): Changed arguments.
8125
8126 2003-03-02  Michael Koch  <konqueror@gmx.de>
8127
8128         * java/awt/dnd/DropTargetContext.java:
8129         Compile fix: Forgot to commit import.
8130         
8131 2003-03-02  Michael Koch  <konqueror@gmx.de>
8132
8133         * java/awt/Component.java,
8134         java/awt/ScrollPane.java:
8135         Fixed typos.
8136
8137 2003-03-02  Michael Koch  <konqueror@gmx.de>
8138
8139         * java/awt/dnd/DnDEventMulticaster.java: New file.
8140         * java/awt/dnd/DragSource.java
8141         (flavorMap): New member variable.
8142         (dragSourceListener): New member variable.
8143         (dragSourceMotionListener): New member variable.
8144         (getFlavorMap): Implemented.
8145         (createDragGestureRecognizer): Implemented.
8146         (addDragSourceListener): Implemented.
8147         (removeDragSourceListener): Implemented.
8148         (getDragSourceListeners): Implemented.
8149         (addDragSourceMotionListener): Implemented.
8150         (removeDragSourceMotionListener): Implemented.
8151         (getDragSourceMotionListeners): Implemented.
8152         (getListeners): Implemented.
8153         * java/awt/dnd/DragSourceContext.java
8154         (peer): New member variable.
8155         (cursor): New member variable.
8156         (transferable): New member variable.
8157         (trigger): New member variable.
8158         (dragSourceListener): New member variable.
8159         (image): New member variable.
8160         (offset): New member variable.
8161         (DragSourceContext): Implemented.
8162         (getDragSource): Implemented.
8163         (getComponent): Implemented.
8164         (getTrigger): Implemented.
8165         (getSourceActions): Implemented.
8166         (setCursor): Implemented.
8167         (getCursor): Implemented.
8168         (addDragSourceListener): Implemented.
8169         (removeDragSourceListener): Implemented.
8170         (getTransferable): Implemented.
8171         * java/awt/dnd/DropTarget.java
8172         (DropTargetAutoScroller.component): New member variable.
8173         (DropTargetAutoScroller.point): New member variable.
8174         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
8175         (DropTargetAutoScroller.updateLocation): Implemented.
8176         (active): Renamed from isActive, defaults to true now.
8177         (component): New member variable.
8178         (flavorMap): New member variable.
8179         (actions): New member variable.
8180         (dropTargetContext): New member variable.
8181         (dropTargetListener): New member variable.
8182         (DropTarget): Implemented.
8183         (getComponent): Implemented.
8184         (setComponent): Implemented.
8185         (setDefaultActions): Implemented.
8186         (getDefaultActions): Implemented.
8187         (setActive): Use active instead of isActive.
8188         (isActive): Use active instead of isActive.
8189         (addDropTargetListener): Implemented.
8190         (removeDropTargetListener): Implemented.
8191         (getFlavorMap): Implemented.
8192         (setFlavorMap): Implemented.
8193         (getDropTargetContext): Implemented.
8194         (createDropTargetContext): Implemented.
8195         (createDropTargetAutoScroller): Implemented.
8196         * java/awt/dnd/DropTargetContext.java
8197         (TransferableProxy.getTransferDataFlavors): Implemented.
8198         (TransferableProxy.isDataFlavorSupported): Implemented.
8199         (TransferableProxy.getTransferData): Implemented.
8200         (dropTarget):  New member variable.
8201         (dtcp): New member variable.
8202         (DropTargetContext): New package private constructor.
8203         (getDropTarget): Implemented.
8204         (getComponent): Implemented.
8205         (addNotify): Implemented.
8206         (removeNotify): Implemented.
8207         (getCurrentDataFlavorsAsList): Implemented.
8208         (isDataFlavorSupported): Implemented.
8209         * java/awt/dnd/MouseDragGestureRecognizer.java
8210         (registerListeners): Implemented.
8211         (unregisterListeners): Implemented.
8212         * Makefile.am
8213         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8214         * Makefile.in: Regenerated.
8215
8216 2003-03-02  Michael Koch  <konqueror@gmx.de>
8217
8218         * java/awt/Component.java
8219         (eventTypeEnabled): New method.
8220         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8221         * java/awt/Container.java
8222         (changeSupport): New member variable.
8223         (addPropertyChangeListener): New methods.
8224         * java/awt/ContainerOrderFocusTraversalPolicy.java
8225         (ContainerOrderFocusTraversalPolicy): Added comment.
8226         (getComponentAfter): Throw exception, documentation added.
8227         (getComponentBefore): Throw exception, documentation added.
8228         (getFirstComponent): Throw exception, documentation added.
8229         (getLastComponent): Throw exception, documentation added.
8230         (getDefaultComponent): Throw exception, documentation added.
8231         * java/awt/EventQueue.java: Reindented.
8232         * java/awt/FocusTraversalPolicy.java:
8233         (FocusTraversalPolicy): Added comment.
8234         (getComponentAfter): Documentation added.
8235         (getComponentBefore): Documentation added.
8236         (getFirstComponent): Documentation added.
8237         (getLastComponent): Documentation added.
8238         (getDefaultComponent): Documentation added.
8239         (getInitialComponent): Documentation added.
8240         * java/awt/ScrollPane.java
8241         (wheelScrollingEnabled): New member variable.
8242         (ScrollPane): Initialize wheelScollingEnabled.
8243         (eventTypeEnabled): New method.
8244         (isWheelScrollingEnabled): New method.
8245         (setWheelScrollingEnabled): New method.
8246
8247 2003-03-02  Michael Koch  <konqueror@gmx.de>
8248
8249         * java/net/DatagramSocket.java
8250         (closed): New member variable.
8251         (close): Use closed variable.
8252         (getInetAddress): No need to call isConnected().
8253         (getPort): No need to call isConnected().
8254         (disconnect): Reset remoteAddress and remotePort, fixed typo.
8255         (isClosed): Reimplemented.
8256         
8257 2003-03-02  Michael Koch  <konqueror@gmx.de>
8258
8259         * configure.in: Added check for memory mapping of files.
8260         * configure: Regenerated.
8261         * config.h.in: Regenerated.
8262
8263 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
8264
8265         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8266         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8267
8268 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8269
8270         * java/io/File.java (normalizePath): Remove trailing separator
8271         on Windows only if path is not of the form "x:\".
8272
8273         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8274         (java::io::File::attr): Change formatting a bit and use
8275         WIN32_EPOCH_MILLIS instead of magic numbers.
8276         (java::io::File::isAbsolute): Path must have at least 3 
8277         characters for a UNC network path.
8278         (java::io::File::init_native): Define.
8279         (java::io::File::performCreate): Likewise.
8280         (java::io::File::performSetReadOnly): Likewise.
8281         (java::io::File::performSetLastModified): Likewise.
8282         (java::io::File::performListRoots): Likewise.
8283
8284 2003-03-01  Tom Tromey  <tromey@redhat.com>
8285
8286         * java/lang/natObject.cc: Don't include assert.h.
8287         (heavy_lock_obj_finalization_proc): Use JvAssert.
8288         (remove_all_heavy): Likewise.
8289         (_Jv_MonitorEnter): Likewise.
8290         (_Jv_MonitorExit): Likewise.
8291         (wait): Likewise.
8292
8293 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
8294
8295         * java/io/File (getAbsolutePath): Prefix drive specifier on
8296         Windows for paths starting with a '\'.
8297         (toURL): Make URL more consistent with what Sun's JDK returns.
8298
8299         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8300         true only if the path is a UNC network path or it starts with a
8301         drive specifier.
8302
8303         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8304         Be prepared to handle either '/' or '\\' in the file path for
8305         Windows if using the "file" protocol.
8306         Canonicalise the file path if using a relative path in the given
8307         context and the "file" protocol.
8308
8309 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
8310
8311         * java/lang/natWin32Process.cc (startProcess): Double-quote each
8312         program array element passed to CreateProcess.
8313
8314 2003-03-01  Tom Tromey  <tromey@redhat.com>
8315
8316         * java/rmi/registry/RegistryHandler.java: Deprecate.
8317
8318 2003-03-01  Tom Tromey  <tromey@redhat.com>
8319
8320         * javax/accessibility/AccessibleEditableText.java,
8321         javax/accessibility/AccessibleHyperlink.java: New versions from
8322         Classpath.
8323
8324         * gnu/java/locale/LocaleInformation_af_ZA.java,
8325         gnu/java/locale/LocaleInformation_ar_AE.java,
8326         gnu/java/locale/LocaleInformation_ar_BH.java,
8327         gnu/java/locale/LocaleInformation_ar_DZ.java,
8328         gnu/java/locale/LocaleInformation_ar_EG.java,
8329         gnu/java/locale/LocaleInformation_ar_IN.java,
8330         gnu/java/locale/LocaleInformation_ar_IQ.java,
8331         gnu/java/locale/LocaleInformation_ar_JO.java,
8332         gnu/java/locale/LocaleInformation_ar_KW.java,
8333         gnu/java/locale/LocaleInformation_ar_LB.java,
8334         gnu/java/locale/LocaleInformation_ar_LY.java,
8335         gnu/java/locale/LocaleInformation_ar_MA.java,
8336         gnu/java/locale/LocaleInformation_ar_OM.java,
8337         gnu/java/locale/LocaleInformation_ar_QA.java,
8338         gnu/java/locale/LocaleInformation_ar_SD.java,
8339         gnu/java/locale/LocaleInformation_ar_SY.java,
8340         gnu/java/locale/LocaleInformation_ar_TN.java,
8341         gnu/java/locale/LocaleInformation_ar_YE.java,
8342         gnu/java/locale/LocaleInformation_be_BY.java,
8343         gnu/java/locale/LocaleInformation_bn_IN.java,
8344         gnu/java/locale/LocaleInformation_br_FR.java,
8345         gnu/java/locale/LocaleInformation_bs_BA.java,
8346         gnu/java/locale/LocaleInformation_ca_ES.java,
8347         gnu/java/locale/LocaleInformation_cs_CZ.java,
8348         gnu/java/locale/LocaleInformation_cy_GB.java,
8349         gnu/java/locale/LocaleInformation_da_DK.java,
8350         gnu/java/locale/LocaleInformation_de_AT.java,
8351         gnu/java/locale/LocaleInformation_de_BE.java,
8352         gnu/java/locale/LocaleInformation_de_CH.java,
8353         gnu/java/locale/LocaleInformation_de_DE.java,
8354         gnu/java/locale/LocaleInformation_de_LU.java,
8355         gnu/java/locale/LocaleInformation_el_GR.java,
8356         gnu/java/locale/LocaleInformation_en_AU.java,
8357         gnu/java/locale/LocaleInformation_en_BW.java,
8358         gnu/java/locale/LocaleInformation_en_CA.java,
8359         gnu/java/locale/LocaleInformation_en_DK.java,
8360         gnu/java/locale/LocaleInformation_en_GB.java,
8361         gnu/java/locale/LocaleInformation_en_HK.java,
8362         gnu/java/locale/LocaleInformation_en_IE.java,
8363         gnu/java/locale/LocaleInformation_en_IN.java,
8364         gnu/java/locale/LocaleInformation_en_NZ.java,
8365         gnu/java/locale/LocaleInformation_en_PH.java,
8366         gnu/java/locale/LocaleInformation_en_SG.java,
8367         gnu/java/locale/LocaleInformation_en_US.java,
8368         gnu/java/locale/LocaleInformation_en_ZA.java,
8369         gnu/java/locale/LocaleInformation_en_ZW.java,
8370         gnu/java/locale/LocaleInformation_es_AR.java,
8371         gnu/java/locale/LocaleInformation_es_BO.java,
8372         gnu/java/locale/LocaleInformation_es_CL.java,
8373         gnu/java/locale/LocaleInformation_es_CO.java,
8374         gnu/java/locale/LocaleInformation_es_CR.java,
8375         gnu/java/locale/LocaleInformation_es_DO.java,
8376         gnu/java/locale/LocaleInformation_es_EC.java,
8377         gnu/java/locale/LocaleInformation_es_ES.java,
8378         gnu/java/locale/LocaleInformation_es_GT.java,
8379         gnu/java/locale/LocaleInformation_es_HN.java,
8380         gnu/java/locale/LocaleInformation_es_MX.java,
8381         gnu/java/locale/LocaleInformation_es_NI.java,
8382         gnu/java/locale/LocaleInformation_es_PA.java,
8383         gnu/java/locale/LocaleInformation_es_PE.java,
8384         gnu/java/locale/LocaleInformation_es_PR.java,
8385         gnu/java/locale/LocaleInformation_es_PY.java,
8386         gnu/java/locale/LocaleInformation_es_SV.java,
8387         gnu/java/locale/LocaleInformation_es_US.java,
8388         gnu/java/locale/LocaleInformation_es_UY.java,
8389         gnu/java/locale/LocaleInformation_es_VE.java,
8390         gnu/java/locale/LocaleInformation_et_EE.java,
8391         gnu/java/locale/LocaleInformation_eu_ES.java,
8392         gnu/java/locale/LocaleInformation_fa_IR.java,
8393         gnu/java/locale/LocaleInformation_fi_FI.java,
8394         gnu/java/locale/LocaleInformation_fo_FO.java,
8395         gnu/java/locale/LocaleInformation_fr_BE.java,
8396         gnu/java/locale/LocaleInformation_fr_CA.java,
8397         gnu/java/locale/LocaleInformation_fr_CH.java,
8398         gnu/java/locale/LocaleInformation_fr_FR.java,
8399         gnu/java/locale/LocaleInformation_fr_LU.java,
8400         gnu/java/locale/LocaleInformation_ga_IE.java,
8401         gnu/java/locale/LocaleInformation_gd_GB.java,
8402         gnu/java/locale/LocaleInformation_gl_ES.java,
8403         gnu/java/locale/LocaleInformation_gv_GB.java,
8404         gnu/java/locale/LocaleInformation_he_IL.java,
8405         gnu/java/locale/LocaleInformation_hi_IN.java,
8406         gnu/java/locale/LocaleInformation_hr_HR.java,
8407         gnu/java/locale/LocaleInformation_hu_HU.java,
8408         gnu/java/locale/LocaleInformation_id_ID.java,
8409         gnu/java/locale/LocaleInformation_it_CH.java,
8410         gnu/java/locale/LocaleInformation_it_IT.java,
8411         gnu/java/locale/LocaleInformation_iw_IL.java,
8412         gnu/java/locale/LocaleInformation_ja_JP.java,
8413         gnu/java/locale/LocaleInformation_ka_GE.java,
8414         gnu/java/locale/LocaleInformation_kl_GL.java,
8415         gnu/java/locale/LocaleInformation_ko_KR.java,
8416         gnu/java/locale/LocaleInformation_kw_GB.java,
8417         gnu/java/locale/LocaleInformation_lt_LT.java,
8418         gnu/java/locale/LocaleInformation_lv_LV.java,
8419         gnu/java/locale/LocaleInformation_mi_NZ.java,
8420         gnu/java/locale/LocaleInformation_mk_MK.java,
8421         gnu/java/locale/LocaleInformation_mr_IN.java,
8422         gnu/java/locale/LocaleInformation_mt_MT.java,
8423         gnu/java/locale/LocaleInformation_nl_BE.java,
8424         gnu/java/locale/LocaleInformation_nl_NL.java,
8425         gnu/java/locale/LocaleInformation_nn_NO.java,
8426         gnu/java/locale/LocaleInformation_no_NO.java,
8427         gnu/java/locale/LocaleInformation_oc_FR.java,
8428         gnu/java/locale/LocaleInformation_pl_PL.java,
8429         gnu/java/locale/LocaleInformation_pt_BR.java,
8430         gnu/java/locale/LocaleInformation_pt_PT.java,
8431         gnu/java/locale/LocaleInformation_ro_RO.java,
8432         gnu/java/locale/LocaleInformation_ru_RU.java,
8433         gnu/java/locale/LocaleInformation_ru_UA.java,
8434         gnu/java/locale/LocaleInformation_se_NO.java,
8435         gnu/java/locale/LocaleInformation_sk_SK.java,
8436         gnu/java/locale/LocaleInformation_sl_SI.java,
8437         gnu/java/locale/LocaleInformation_sq_AL.java,
8438         gnu/java/locale/LocaleInformation_sr_YU.java,
8439         gnu/java/locale/LocaleInformation_sv_FI.java,
8440         gnu/java/locale/LocaleInformation_sv_SE.java,
8441         gnu/java/locale/LocaleInformation_ta_IN.java,
8442         gnu/java/locale/LocaleInformation_te_IN.java,
8443         gnu/java/locale/LocaleInformation_tg_TJ.java,
8444         gnu/java/locale/LocaleInformation_tl_PH.java,
8445         gnu/java/locale/LocaleInformation_tr_TR.java,
8446         gnu/java/locale/LocaleInformation_uk_UA.java,
8447         gnu/java/locale/LocaleInformation_ur_PK.java,
8448         gnu/java/locale/LocaleInformation_uz_UZ.java,
8449         gnu/java/locale/LocaleInformation_vi_VN.java,
8450         gnu/java/locale/LocaleInformation_yi_US.java,
8451         gnu/java/locale/LocaleInformation_zh_CN.java,
8452         gnu/java/locale/LocaleInformation_zh_HK.java,
8453         gnu/java/locale/LocaleInformation_zh_SG.java,
8454         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8455         info; from Classpath.
8456
8457         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8458         isPaintPending): New methods.
8459         * gnu/awt/xlib/XFramePeer.java (getState, setState,
8460         setMaximizedBounds): New methods.
8461         (beginLayout, endLayout, isPaintPending): Likewise.
8462         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8463         (requestFocus): Likewise.
8464         (isObscured): Likewise.
8465         (canDetermineObscurity): Likewise.
8466         (coalescePaintEvent): Likewise.
8467         (updateCursorImmediately): Likewise.
8468         (createVolatileImage): Likewise.
8469         (handlesWheelScrolling): Likewise.
8470         (createBuffers): Likewise.
8471         (getBackBuffer): Likewise.
8472         (flip): Likewise.
8473         (destroyBuffers): Likewise.
8474
8475         * Makefile.in: Rebuilt.
8476         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8477         RobotPeer.java.
8478         * gnu/java/awt/GLightweightPeer.java,
8479         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8480         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8481         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8482         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8483         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8484         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8485         java/awt/dnd/peer/DragSourceContextPeer.java,
8486         java/awt/dnd/peer/DropTargetContextPeer.java,
8487         java/awt/peer/ButtonPeer.java,
8488         java/awt/peer/CheckboxMenuItemPeer.java,
8489         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8490         java/awt/peer/ComponentPeer.java,
8491         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8492         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8493         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8494         java/awt/peer/MenuBarPeer.java,
8495         java/awt/peer/MenuComponentPeer.java,
8496         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8497         java/awt/peer/PopupMenuPeer.java,
8498         java/awt/peer/ScrollPanePeer.java,
8499         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8500         java/awt/peer/TextComponentPeer.java,
8501         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8502         New versions from Classpath.
8503         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8504         * java/awt/peer/RobotPeer.java: Likewise.
8505
8506 2003-03-01  Mark Wielaard  <mark@klomp.org>
8507
8508         * java/io/ObjectInputStream.java: Reindent.
8509         * java/io/ObjectOutputStream.java: Likewise.
8510
8511 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
8512
8513         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8514         jvalue for each argument. Simplify.
8515         * testsuite/libjava.jni/calls.c (docall),
8516         testsuite/libjava.jni/calls.java (longpb_f): check for argument
8517         misalignment.
8518
8519 2003-02-28  Mark Wielaard  <mark@klomp.org>
8520
8521         * Makefile.am (nat_source_files): Remove
8522         java/io/natObjectOutputStream.cc.
8523         * Makefile.in: Regenerated.
8524         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8525         * java/io/ObjectStreamField.java (typename): New field.
8526         (ObjectStreamField(String, Class)): Initialize new field.
8527         (ObjectStreamField(String, String)): New Constructor.
8528         (getTypeCode): Use new field.
8529         (getTypeString): Use new field.
8530         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8531         ObjectStreamExceptions. Remember and reset old BlockDataMode.
8532         Handle reading of Proxy classes. Never drain(), just write
8533         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8534         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8535         (flush): Call flush(), not just drain().
8536         (writeBoolean): Always use blockDataOutput.
8537         (writeByte): Likewise.
8538         (writeShort): Likewise.
8539         (writeChar): Likewise.
8540         (writeInt): Likewise.
8541         (writeLong): Likewise.
8542         (writeFloat): Likewise.
8543         (writeDouble): Likewise.
8544         (writeBytes): Likewise.
8545         (putfield (put(String,Object))): Throw IllegalArgumentException if
8546         field cannot be found.
8547         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8548         (writeArraySizeAndElements): Write byte[] in one go.
8549         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8550         set BlockDataMode to false.
8551         (annotateProxyClass): New method.
8552         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8553         (getField): No longer native.
8554         (getMethod): Likewise.
8555         (setBlockDataMode): Always drain() on switch, return old mode.
8556         (static): New static code block.
8557         * java/io/natObjectOutputStream.cc: Removed.
8558         * java/io/ObjectInputStream.java (getField): No longer native.
8559         (getMethod): Likewise.
8560         (readObject): Remember and reset old BlockDataMode. Track whether
8561         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8562         TC_LONGSTRING.
8563         (defaultReadObject): Set BlockDataMode to false during readFields.
8564         (resolveClass): Create new SecurityManager if necessary.
8565         Use Class.forName() if null ClassLoader found.
8566         (read(byte[],int,int): Copy remaining bytes to data before calling
8567         readNextBlock().
8568         (readFields): Set and reset BlockDataMode on call_read_method.
8569         Catch NoSuchFieldErrors.
8570         (setBlockDataMode): Return old mode.
8571         (static): New static code block.
8572         * java/io/natObjectInputStream.cc (getField): Removed.
8573         (getMethod): Likewise.
8574
8575 2003-02-27  Michael Koch  <konqueror@gmx.de>
8576
8577         * java/beans/Beans.java,
8578         java/beans/FeatureDescriptor.java
8579         java/beans/PropertyEditorManager.java:
8580         Reformated to GNU style.
8581
8582 2003-02-25  Michael Koch  <konqueror@gmx.de>
8583
8584         * gnu/java/nio/MappedByteFileBuffer.java,
8585         gnu/java/nio/natMappedByteFileBuffer.cc:
8586         New files, both are not compiled yet to get not noncompiling CVS.
8587
8588 2003-02-24  Tom Tromey  <tromey@redhat.com>
8589
8590         * java/util/prefs/AbstractPreferences.java (isUserNode):
8591         Implemented.
8592
8593 2003-02-24  Tom Tromey  <tromey@redhat.com>
8594
8595         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8596         Deprecate.
8597         * java/lang/Thread.java (resume): Deprecate.
8598         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8599         in @deprecated.
8600
8601 2003-02-23  Tom Tromey  <tromey@redhat.com>
8602
8603         * Makefile.in: Rebuilt.
8604         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8605
8606 2003-02-23  Tom Tromey  <tromey@redhat.com>
8607
8608         * java/lang/natRuntime.cc (libraries_size, libraries_count,
8609         libraries): Removed.
8610         (add_library): Removed.
8611         (_load): Don't call add_library.
8612         (loadLibraryInternal): Likewise.
8613         (init): Likewise.
8614         (lookup_data): New struct.
8615         (find_symbol): New function.
8616         (_Jv_FindSymbolInExecutable): Use it.
8617
8618 2002-02-21  Anthony Green  <green@redhat.com>
8619
8620         * java/lang/Thread.java (Thread): New constructor taking stack
8621         size parameter (ignored for now).
8622         * Many methods: Merged GNU Classpath documentation.
8623
8624         * java/lang/Class.java (finalize): throws a Throwable.
8625
8626 2003-02-21  Mark Wielaard  <mark@klomp.org>
8627
8628         * java/util/zip/ZipEntry.java (setComment): Don't check length when
8629         argument is null.
8630
8631 2003-02-21  Mark Wielaard  <mark@klomp.org>
8632
8633         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8634         then 65535 chars throw IllegalArgumentException.
8635
8636 2003-02-21  Mark Wielaard  <mark@klomp.org>
8637
8638         * java/util/zip/ZipFile.java (finalize): New method.
8639
8640 2003-02-21  Michael Koch  <konqueror@gmx.de>
8641
8642         * gnu/java/nio/natSocketChannelImpl.cc:
8643         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8644         <cato@df.lth.se> for pointing to it.
8645
8646 2003-02-20  Raif S. Naffah <raif@fl.net.au>
8647
8648         * java/math/BigInteger.java (euclidInv): Take result array as an
8649         argument.  Updated all callers.
8650         (modInverse): Removed unused variables.
8651
8652 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
8653
8654         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8655         config.status.
8656         * configure: Rebuilt.
8657
8658 2003-02-19  Michael Koch  <konqueror@gmx.de>
8659
8660         * gnu/java/nio/natSocketChannelImpl.cc:
8661         Added support for platforms without network support.
8662
8663 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8664
8665         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8666         after config.h.  Use <> for consistency.
8667         * java/lang/natObject.cc: Likewise.
8668         * java/lang/natRuntime.cc: Likewise.
8669         * java/lang/natSystem.cc: Likewise.
8670         * java/util/natTimeZone.cc: Likewise.
8671         * win32.cc: Likewise.
8672         * include/posix.h (fcntl, socket, connect, close, bind, accept,
8673         listen, write, read): Undef to avoid interference from OS macros.
8674
8675 2003-02-19  Michael Koch  <konqueror@gmx.de>
8676
8677         * gnu/java/nio/ByteBufferImpl.java
8678         (ByteBufferImpl): Renamed two variables.
8679         * gnu/java/nio/CharBufferImpl.java
8680         (CharBufferImpl): Renamed two variables.
8681         * gnu/java/nio/DoubleBufferImpl.java
8682         (DoubleBufferImpl): Renamed two variables.
8683         * gnu/java/nio/FloatBufferImpl.java
8684         (FloatBufferImpl): Renamed two variables.
8685         * gnu/java/nio/IntBufferImpl.java
8686         (IntBufferImpl): Renamed two variables.
8687         * gnu/java/nio/LongBufferImpl.java
8688         (LongBufferImpl): Renamed two variables.
8689         * gnu/java/nio/ShortBufferImpl.java
8690         (ShortBufferImpl): Renamed two variables.
8691         * java/nio/CharBuffer.java
8692         (wrap): Fixed arguments to CharBufferImpl constructor.
8693         (hasArray): Only not read-only buffers have backing arrays.
8694         (length): Documentation added.
8695         (subSequence): Documentation added.
8696         * java/nio/DoubleBuffer.java
8697         (hasArray): Only not read-only buffers have backing arrays.
8698         * java/nio/FloatBuffer.java
8699         (hasArray): Only not read-only buffers have backing arrays.
8700         * java/nio/IntBuffer.java
8701         (hasArray): Only not read-only buffers have backing arrays.
8702         * java/nio/LongBuffer.java
8703         (hasArray): Only not read-only buffers have backing arrays.
8704         * java/nio/ShortBuffer.java
8705         (hasArray): Only not read-only buffers have backing arrays.
8706         
8707 2003-02-19  Michael Koch  <konqueror@gmx.de>
8708
8709         * javax/accessibility/AccessibleContext.java
8710         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8711
8712 2003-02-19  Michael Koch  <konqueror@gmx.de>
8713
8714         * java/awt/ScrollPaneAdjustable.java: Reformated.
8715
8716 2003-02-19  Michael Koch <konqueror@gmx.de>
8717
8718         * gnu/awt/j2d/Graphics2DImpl.java
8719         (getFontRenderContext): New method.
8720         (drawGlyphVector): New method.
8721         * java/awt/Graphics2D.java
8722         (getFontRenderContext): New abstract method.
8723         (drawGlyphVector): New abstract method.
8724         
8725 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
8726
8727         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8728         if necessary.
8729         
8730         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8731         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8732         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8733         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8734         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8735         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8736         (setFont, gtkSetFont): add.
8737         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8738         Propagate font to peer.  (setFont): add FIXME comment.
8739
8740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8741         (gtkTextGetSize): fix height, width computation.
8742
8743         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8744         Make X font name a bit less bogus.
8745
8746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8747         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8748
8749         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8750         (processAdjustmentEvent): Adjust value.
8751
8752         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8753         logic errors.
8754
8755         * java/awt/Component.java (setVisible, show, hide): Call show and
8756         hide methods in subclasses.
8757         (getPreferredSize): don't set prefSize before we have peer.
8758
8759         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8760         Guess (0,0) if we don't have peer.
8761
8762
8763 2003-02-18  Michael Koch  <konqueror@gmx.de>
8764
8765         * java/nio/channels/FileChannel.java
8766         (toString): New implementation, added documentation.
8767         (map): Added exception documentation.
8768         (size): Added exception documentation.
8769         (write): New methods, documentation work.
8770         (read): New methods, documentation work.
8771         (implCloseChannel): Rewrote exception documentation.
8772         (force): Throws IOException, added documentation.
8773         (lock): New methods.
8774         (tryLock): New methods.
8775         (position): New methods.
8776         (transferTo): New method.
8777         (transferFrom): New method.
8778         (truncate): New method.
8779         * java/nio/channels/spi/SelectorProvider.java
8780         (provider): Implemented.
8781         * Makefile.am
8782         (ordinary_java_source_files): Added the following files:
8783         gnu/java/nio/DatagramChannelImpl.java
8784         gnu/java/nio/FileChannelImpl.java
8785         gnu/java/nio/PipeImpl.java
8786         gnu/java/nio/SelectionKeyImpl.java
8787         gnu/java/nio/SelectorImpl.java
8788         gnu/java/nio/SelectorProviderImpl.java
8789         gnu/java/nio/ServerSocketChannelImpl.java
8790         gnu/java/nio/SocketChannelImpl.java
8791         java/nio/channels/FileLock.java
8792         (nat_java_source_files): Added the following files:
8793         gnu/java/nio/natFileChannelImpl.cc
8794         gnu/java/nio/natSelectorImpl.cc
8795         gnu/java/nio/natSocketChannelImpl.cc
8796         * Makefile.in: Regenerated.
8797
8798 2003-02-17  Tom Tromey  <tromey@redhat.com>
8799
8800         * java/awt/image/ColorModel.java: Re-merged with Classpath.
8801         * java/awt/image/ImageFilter.java: Likewise.
8802
8803 2003-02-17  Raif S. Naffah <raif@fl.net.au>
8804
8805         * java/math/BigInteger.java (euclidInv): Return array of
8806         `BigInteger's.  Changed all callers.
8807
8808 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
8809
8810         * java/util/Properties.java (store): Move the code formerly in
8811         list(), into this method.
8812         (list (PrintStream)): Just call list (PrintWriter) with a 
8813         PrintWriter object constructed from the given PrintStream object.
8814         (list (PrintWriter)): Emulate the output of Properties.list()
8815         as found in JDK 1.3/1.4.
8816
8817 2003-02-17  Michael Koch  <konqueror@gmx.de>
8818
8819         * java/net/DatagramSocket.java
8820         (connect): Merged with classpath.
8821         (disconnect): Merged documentation with classpath.
8822         (receice): Merged documentation with classpath.
8823         (send): Merged documentation with classpath.
8824         
8825 2003-02-17  Michael Koch  <konqueror@gmx.de>
8826
8827         * java/awt/dnd/DragSourceContext.java
8828         (addDragSourceListener): Added documentation.
8829         * java/awt/dnd/DragSourceDragEvent.java
8830         (serialVersionUID): New member variable.
8831         (getDropAction): Reformated.
8832         * java/awt/dnd/DragSourceDropEvent.java
8833         (serialVersionUID): New member variable.
8834         (dropSuccess): Renamed from success for serialization issues.
8835         * java/awt/dnd/DragSourceEvent.java
8836         (serialVersionUID): New member variable.
8837         * java/awt/dnd/DropTarget.java
8838         (serialVersionUID): New member variable.
8839         (DropTarget): Implemented, documentation reworked.
8840         (setComponent): Documentation added.
8841         (getComponent): Documentation added.
8842         (setDefaultActions): Documentation added.
8843         (getDefaultActions): Documentation added.
8844         (addDropTargetListener): Documentation added.
8845         * java/awt/dnd/DropTargetContext.java
8846         (DropTargetContext): Documentation added.
8847         (TransferableProxy.TransferableProxy): New method.
8848         (dropComplete): Fixed documentation.
8849         (getTransferable): Fixed documentation.
8850         (createTransferableProxy): Implemented.
8851         * java/awt/dnd/DropTargetDragEvent.java
8852         (DropTargetDragEvent): Documentation added.
8853         (serialVersionUID): New member variable.
8854         (DropTargetDragEvent): Throw exceptions, documentation added.
8855         (acceptDrag): Implemented.
8856         (getCurrentDataFlavors): Implemented.3yy
8857         (getCurrentDataFlavorsAsList): Implemented.
8858         (isDataFlavorSupported): Implemented.
8859         (rejectDrag): Implemented.
8860         * java/awt/dnd/DropTargetDropEvent.java
8861         (DropTargetDropEvent): Documentation added.
8862         (serialVersionUID): New member variable.
8863         (actions): Renamed from srcActions for serialization issues.
8864         (isLocalTx): Renamed from isLocalTx for serialization issues.
8865         (DropTargetDropEvent): New implementation, throw exceptions,
8866         documentation added.
8867         (getCurrentDataFlavors): Implemented.
8868         (getCurrentDataFlavorsAsList): Implemented.
8869         (isDataFlavorSupported): Implemented.
8870         (getSourceActions): Implemented.
8871         (getDropAction): Implemented.
8872         (getTransferable): Implemented.
8873         (acceptDrop): Implemented.
8874         (rejectDrop): Implemented.
8875         * java/awt/dnd/DropTargetListener.java
8876         (drop): Fixed documentation.
8877         * java/awt/dnd/MouseDragGestureRecognizer.java
8878         (MouseDragGestureRecognizer): Documentation added.
8879
8880 2003-02-17  Michael Koch  <konqueror@gmx.de>
8881
8882         * java/awt/font/FontRenderContext.java,
8883         java/awt/font/ShapeGraphicAttribute.java,
8884         java/awt/font/MultipleMaster.java,
8885         java/awt/font/TransformAttribute.java,
8886         java/awt/font/GlyphJustificationInfo.java,
8887         java/awt/font/LineBreakMeasurer.java,
8888         java/awt/font/TextMeasurer.java,
8889         java/awt/font/TextLayout.java,
8890         java/awt/font/LineMetrics.java,
8891         java/awt/font/TextAttribute.java,
8892         java/awt/font/GlyphMetrics.java,
8893         java/awt/font/OpenType.java,
8894         java/awt/font/GlyphVector.java,
8895         java/awt/font/GraphicAttribute.java,
8896         java/awt/font/ImageGraphicAttribute.java,
8897         java/awt/font/NumericShaper.java: New files.
8898         * Makefile.am
8899         (awt_java_source_files): Added the following files:
8900         java/awt/font/FontRenderContext.java
8901         java/awt/font/ShapeGraphicAttribute.java
8902         java/awt/font/MultipleMaster.java
8903         java/awt/font/TransformAttribute.java
8904         java/awt/font/GlyphJustificationInfo.java
8905         java/awt/font/LineBreakMeasurer.java
8906         java/awt/font/TextMeasurer.java
8907         java/awt/font/TextLayout.java
8908         java/awt/font/LineMetrics.java
8909         java/awt/font/TextAttribute.java
8910         java/awt/font/GlyphMetrics.java
8911         java/awt/font/OpenType.java
8912         java/awt/font/GlyphVector.java
8913         java/awt/font/GraphicAttribute.java
8914         java/awt/font/ImageGraphicAttribute.java
8915         java/awt/font/NumericShaper.java
8916         * Makefile.in: Regenerated.
8917
8918 2003-02-17  Michael Koch  <konqueror@gmx.de>
8919
8920         * java/awt/print/Paper.java
8921         (Paper): Implements Cloneable.
8922         * java/awt/print/PrinterJob.java
8923         (setJobName): Return value must be void.
8924         (print): Throws PrinterException.
8925         
8926 2003-02-16  Tom Tromey  <tromey@redhat.com>
8927
8928         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8929         variable.
8930
8931 2003-02-15  Michael Koch  <konqueror@gmx.de>
8932
8933         * java/awt/datatransfer/DataFlavor.java
8934         (isRepresentationClassByteBuffer): Removed try-catch block.
8935         (isRepresentationClassCharBuffer): Removed try-catch block.
8936         (isRepresentationClassReader): Removed try-catch block.
8937
8938 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8939
8940         * java/nio/charset/Charset.java
8941         (isRegistered): Fixed method args and implementation.
8942         * java/nio/charset/CharsetEncoder.java
8943         (unmappableCharacterAction): New method.
8944
8945 2003-02-15  Michael Koch  <konqueror@gmx.de>
8946
8947         * java/awt/CheckboxMenuItem.java
8948         (CheckBoxMenuItem): Dont implement Serializable.
8949         (getListeners): New method,
8950         (getItemListeners): New method.
8951         * java/awt/Choice.java
8952         (getListeners): New method,
8953         (getItemListeners): New method.
8954         * java/awt/Container.java
8955         (getListeners): Added exception documentation.
8956         (setFocusTraversalKeys): Throw exceptions, added documentattion.
8957         (getFocusTraversalKeys): Added documentation.
8958         (areFocusTraversalKeysSet): Added documentation.
8959         (applyComponentOrientation): Added documentation.
8960         * java/awt/ContainerOrderFocusTraversalPolicy.java
8961         (implicitDownCycleTraversal): Renamed from downCycle for
8962         serialization.
8963         (ContainerOrderFocusTraversalPolicy): Added documentation.
8964         (accept): Reformated.
8965         * java/awt/Dialog.java
8966         (Dialog): Dont implement Serializable.
8967         (Dialog): Added documentation.
8968         * java/awt/Font.java
8969         (Font): Dont use absolute class name.
8970         * java/awt/Frame.java
8971         (Frame): Font implement Serializable.
8972         * java/awt/List.java
8973         (getListeners): New method,
8974         (getActionListeners): New method.       
8975         (getItemListeners): New method.
8976         * java/awt/Menu.java
8977         (countItems): New deprecated method.
8978         * java/awt/Scrollbar.java
8979         (getListeners): New method,
8980         (getAdjustmentListeners): New method,
8981         * java/awt/TextComponent.java
8982         (getListeners): New method,
8983         (getTextListeners): New method,
8984         * java/awt/TextField.java
8985         (getListeners): New method,
8986         (getActionListeners): New method.       
8987         * java/awt/Window.java
8988         (windowFocusListener): New member variable.
8989         (windowStateListener): New member variable.
8990         (getWindowFocusListeners): New method.
8991         (getWindowStateListeners): New method.
8992         (addWindowFocusListener): New method.
8993         (addWindowStateListener): New method.
8994         (removeWindowFocusListener): New method.
8995         (removeWindowStateListener): New method.
8996         * java/awt/datatransfer/DataFlavor.java
8997         (isRepresentationClassByteBuffer): New method.
8998         (isRepresentationClassCharBuffer): New method.
8999         (isRepresentationClassReader): New method.
9000
9001 2003-02-14  Mark Wielaard  <mark@klomp.org>
9002
9003         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9004         zero when there is an exponent and the significant is zero.
9005         (divide): Always set scale to newScale even in special ZERO case.
9006
9007 2003-02-14  Tom Tromey  <tromey@redhat.com>
9008
9009         * java/lang/System.java (properties): Use Properties.clone.
9010         (setProperties): Likewise.
9011
9012 2003-02-14  Michael Koch  <konqueror@gmx.de>
9013
9014         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9015         * gnu/java/nio/ServerSocketChannelImpl.java
9016         (SocketAccept): Removed.
9017         (accept): Commented out use of SocketAccept.
9018
9019 2003-02-13  Tom Tromey  <tromey@redhat.com>
9020
9021         * verify.cc (state::seen_subrs): New field.
9022         (state::state): Initialize it.
9023         (state::clean_subrs): New method.
9024         (state::~state): Call it.
9025         (state::copy): Copy subroutine list.
9026         (state::add_subr): New method.
9027         (state::merge): Only register a change if the current subroutine
9028         hasn't yet been noted.
9029
9030 2003-02-13  Mark Wielaard  <mark@klomp.org>
9031
9032         * java/io/InputStreamReader.java (getEncoding): Return null when
9033         closed.
9034         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9035
9036 2003-02-13  Mark Wielaard  <mark@klomp.org>
9037  
9038         * java/util/zip/InflaterInputStream.java (read): Return zero when len
9039         is zero.
9040
9041 2003-02-13  Mark Wielaard  <mark@klomp.org>
9042
9043         * java/io/BufferedOutputStream.java (write(int)): Only flush when
9044         next byte cannot be buffered.
9045
9046 2003-02-13  Michael Koch  <konqueror@gmx.de>
9047  
9048         * java/awt/Label.java
9049         (Label): Don't implement Serializable directly.
9050         (addNotify): Fixed typo in documentation.
9051         * java/awt/List.java
9052         (List): Don't implement Serializable directly.
9053         * java/awt/PopupMenu.java
9054         (PopupMenu): Don't implement Serializable directly.
9055         * java/awt/ScrollPane.java
9056         (ScrollPane): Don't implement Serializable directly.
9057         * java/awt/Scrollbar.java
9058         (Scrollbar): Don't implement Serializable directly.
9059         * java/awt/TextArea.java
9060         (preferredSize): Fixed method arguments.
9061         * java/awt/TextField.java
9062         (TextField): Don't implement Serializable directly.
9063         * java/awt/color/ICC_ColorSpace.java
9064         (fromCIOXYZ): Documentation added.
9065         (getMinValue): Documentation added.
9066         (getMaxValue): Documentation added.
9067         * java/awt/datatransfer/DataFlavor.java
9068         (isMimeTypeEqual): May not be final.
9069         (clone): Throws CloneNotSupportedException.
9070         (getReaderForText): Don't throws UnsupportedEncodingException.
9071
9072 2003-02-13  Michael Koch  <konqueror@gmx.de>
9073  
9074         * gnu/java/awt/peer/gtk/GdkGraphics.java
9075         (drawString): New stubbed method.
9076         * java/awt/Graphics.java
9077         (drawString): New method.
9078
9079 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
9080
9081         PR libgcj/9271:
9082         * java/security/SecureRandom.java (next): Avoid bias in results.
9083
9084 2003-02-13  Michael  <konqueror@gmx.de>
9085
9086         * gnu/java/nio/FileChannelImpl.java
9087         (lengthInternal): Must be native.
9088         (size): Check if channel is already closed.
9089         (implCloseChannel): Reformated.
9090         (read): w was unused, removed it.
9091         (read): Removed.
9092         (read): New method.
9093         (write): New method.
9094         (map): Check arguments.
9095         (force): Throws IOException, check if channel is closed.
9096         (transferTo): New method.
9097         (transferFrom): New method.
9098         (lock): New method.
9099         (tryLock): New method.
9100         (position): New method.
9101         (truncate): New method.
9102         (nio_mmap_file): Uncommented.
9103         (nio_munmap_file): Uncommented.
9104         (nio_msync): Uncommented.
9105         * gnu/java/nio/natFileChannelImpl.cc: New file.
9106         
9107 2003-02-13  Michael Koch  <konqueror@gmx.de>
9108
9109         * java/nio/ByteBuffer.java
9110         (endian): New member variable.
9111         (get): New methods.
9112         (equals): New method.
9113         (compareTo): New method.
9114         (order): New methods.
9115         (compact): New method.
9116         (isDirect): New method.
9117         (slice): New method.
9118         (duplicate): New method.
9119         (asReadOnlyBuffer): New method.
9120         (asCharBuffer): New method.
9121         (asDoubleBuffer): New method.
9122         (asFloatBuffer): New method.
9123         (asIntBuffer): New method.
9124         (asLongBuffer): New method.
9125         (asShortBuffer): New method.
9126         (get*): New methods.
9127         (put*): New methods.
9128         (toString): New method.
9129         * java/nio/CharBuffer.java
9130         (CharBuffer): Implement Comparable instead of Cloneable.
9131         (get): May not be final.
9132         (put): May not be final.
9133         
9134 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
9135
9136         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
9137         lastIndexOf( ) instead of indexOf( ) to find the colon before
9138         the line number, because Win32 file names might contain a 
9139         drive letter and a colon at the start of an absolute path.
9140
9141 2003-02-13  Michael Koch  <konqueror@gmx.de>
9142
9143         * gnu/java/nio/natSocketChannelImpl.cc
9144         (SocketConnect): This is not implemented yet.
9145         (SocketBind): This is not implemented yet.
9146
9147 2003-02-13  Michael Koch  <konqueror@gmx.de>
9148
9149         * gnu/java/nio/natByteBufferImpl.cc,
9150         gnu/java/nio/natCharBufferImpl.cc,
9151         gnu/java/nio/natDoubleBufferImpl.cc,
9152         gnu/java/nio/natFloatBufferImpl.cc,
9153         gnu/java/nio/natIntBufferImpl.cc,
9154         gnu/java/nio/natLongBufferImpl.cc,
9155         gnu/java/nio/natShortBufferImpl.cc:
9156         Added copyright and license.
9157         * java/nio/DoubleBuffer.java,
9158         java/nio/FloatBuffer.java,
9159         java/nio/IntBuffer.java,
9160         java/nio/LongBuffer.java,
9161         java/nio/ShortBuffer.java
9162         (array): Throw exceptions.
9163         (arrayOffset): Throw exceptions.
9164
9165 2003-02-13  Michael Koch  <konqueror@gmx.de>
9166  
9167         * gnu/java/util/prefs/FileBasedFactory.java,
9168         gnu/java/util/prefs/MemmoryBasedFactory.java,
9169         gnu/java/util/prefs/MemoryBasedPreferences.java,
9170         gnu/java/util/prefs/NodeReader.java,
9171         gnu/java/util/prefs/NodeWriter.java,
9172         java/util/prefs/AbstractPreferences.java,
9173         java/util/prefs/BackingStoreException.java,
9174         java/util/prefs/InvalidPreferencesFormatException.java,
9175         java/util/prefs/NodeChangeEvent.java,
9176         java/util/prefs/NodeChangeListener.java,
9177         java/util/prefs/PreferenceChangeEvent.java,
9178         java/util/prefs/PreferenceChangeListener.java,
9179         java/util/prefs/Preferences.java,
9180         java/util/prefs/PreferencesFactory.java:
9181         New files, all merged from classpath.
9182         * Makefile.am
9183         (ordinary_java_source_files): Added the following files:
9184         gnu/java/util/prefs/FileBasedFactory.java,
9185         gnu/java/util/prefs/MemmoryBasedFactory.java,
9186         gnu/java/util/prefs/MemoryBasedPreferences.java,
9187         gnu/java/util/prefs/NodeReader.java,
9188         gnu/java/util/prefs/NodeWriter.java,
9189         (core_java_source_files): Added the following files:
9190         java/util/prefs/AbstractPreferences.java,
9191         java/util/prefs/BackingStoreException.java,
9192         java/util/prefs/InvalidPreferencesFormatException.java,
9193         java/util/prefs/NodeChangeEvent.java,
9194         java/util/prefs/NodeChangeListener.java,
9195         java/util/prefs/PreferenceChangeEvent.java,
9196         java/util/prefs/PreferenceChangeListener.java,
9197         java/util/prefs/Preferences.java,
9198         java/util/prefs/PreferencesFactory.java
9199         * Makefile.in: Regenerated.
9200  
9201 2003-02-13  Michael Koch  <konqueror@gmx.de>
9202
9203         * java/net/NetPermission.java
9204         (NetPermission): Make doucmentation match the method declaration.
9205         * java/net/NetworkInterface.java
9206         (equals): Reformated for GNU coding style.
9207         * java/net/ServerSocket.java: Merged with classpath.
9208         * java/net/Socket.java: Partly merged with classpath (Added some @since).
9209         * java/net/SocketImpl.java
9210         (localPort): Merged with classpath (initialize with -1).
9211         * java/net/SocketPermission.java: Merged with classpath (reindented).
9212         * java/net/URLDecoder.java: Merged with classpath (reindented).
9213
9214 2003-02-13  Michael Koch  <konqueror@gmx.de>
9215
9216         * java/awt/GridBagConstraints.java
9217         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9218         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9219         * java/awt/KeyboardFocusManager.java
9220         (setGlobalCurrentFocusCycleRoot): Must be public.
9221         * java/awt/MenuComponent.java
9222         (MenuComponent): Must be public.
9223         * java/awt/Toolkit.java:
9224         Added some empty lines to make documentation more readable.
9225         (getFontPeer): Added @deprecated.
9226         (getColorModel): Added exception documentation.
9227         (getProperty): Fixed documentation.
9228  
9229 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
9230
9231         * configure.host (alpha*-*): Default to -mieee.
9232         * configure.in (IEEESPEC): New.
9233         * libgcj.spec.in (jc1): Add IEEESPEC.
9234         * configure: Rebuild.
9235
9236 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9237
9238         * include/win32.h: Include ws2tcpip.h instead of
9239         winsock.h to obtain definition of the socklen_t type.
9240         Remove IP_TOS definition - not needed with ws2tcpip.h
9241         (_Jv_connect): Correct slight formatting error.
9242
9243 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
9244
9245         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9246         size of the arguments for a JNI function. For Win32,
9247         modify to search for all forms of possible exported
9248         names of an stdcall JNI function.
9249         (_Jv_JNIMethod::call): Modify to calculate the size
9250         of the arguments passed to a JNI function and pass
9251         it to _Jv_LookupJNIMethod.
9252
9253 2003-02-12  Michael Koch  <konqueror@gmx.de>
9254
9255         * java/nio/channels/Channels.java: New file.
9256         * Makefile.am
9257         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9258         * Makefile.in: Regenerated.
9259
9260 2003-02-12  Michael Koch  <konqueror@gmx.de>
9261
9262         * java/nio/ByteBuffer.java
9263         (allocate): Implemented.
9264         (wrap): Implemented.
9265         * java/nio/CharBuffer.java:
9266         Some documentation added and reworked.
9267         (endian): Removed.
9268         (allocate): Implemented.
9269         (wrap): Implemented.
9270         (array): Throw exceptions.
9271         (arrayOffset): Throw exceptions.
9272         (toString): Implemented.
9273         (length): Implemented.
9274         (put): Implemented.
9275         (charAt): Implemented.
9276
9277 2003-02-11  John Leuner  <jewel@debian.org>
9278
9279         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
9280         reads from end of file.
9281
9282 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
9283
9284         * java/io/natFileDescriptorWin32.cc 
9285         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9286         returns with Win32 error code ERROR_BROKEN_PIPE.
9287
9288 2003-02-11  Michael Koch  <konqueror@gmx.de>
9289
9290         * Makefile.in
9291         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9292
9293 2003-02-11  Michael Koch  <konqueror@gmx.de>
9294
9295         * gnu/java/nio/ByteBufferImpl.java:
9296         Reformated and removed some code.
9297         (backing_buffer): Removed.      
9298         (array_offset): Removed.
9299         (ro): Renamed to readOnly.
9300         (ByteBufferImpl): Use parent constructor, initialize readOnly.
9301         * gnu/java/nio/CharBufferImpl.java:
9302         Reformated and removed some code.
9303         (array_offset): Removed.
9304         (ro): Renamed to readOnly.
9305         (CharBufferImpl): Use parent constructor, initialize readOnly.
9306         (inc_pos): Removed.
9307         (order): New method.
9308         * gnu/java/nio/DoubleBufferImpl.java:
9309         Reformated and removed some code.
9310         (array_offset): Removed.
9311         (ro): Renamed to readOnly.
9312         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9313         (inc_pos): Removed.
9314         (order): New method.
9315         * gnu/java/nio/FloatBufferImpl.java:
9316         Reformated and removed some code.
9317         (array_offset): Removed.
9318         (ro): Renamed to readOnly.
9319         (FloatBufferImpl): Use parent constructor, initialize readOnly.
9320         (inc_pos): Removed.
9321         (order): New method.
9322         * gnu/java/nio/IntBufferImpl.java:
9323         Reformated and removed some code.
9324         (array_offset): Removed.
9325         (ro): Renamed to readOnly.
9326         (IntBufferImpl): Use parent constructor, initialize readOnly.
9327         (inc_pos): Removed.
9328         (order): New method.
9329         * gnu/java/nio/LongBufferImpl.java:
9330         Reformated and removed some code.
9331         (array_offset): Removed.
9332         (ro): Renamed to readOnly.
9333         (LongBufferImpl): Use parent constructor, initialize readOnly.
9334         (inc_pos): Removed.
9335         (order): New method.
9336         * gnu/java/nio/ShortBufferImpl.java:
9337         Reformated and removed some code.
9338         (array_offset): Removed.
9339         (ro): Renamed to readOnly.
9340         (ShortBufferImpl): Use parent constructor, initialize readOnly.
9341         (inc_pos): Removed.
9342         (order): New method.
9343         * Makefile.am
9344         (ordinary_java_source_files): Added the following files:
9345         gnu/java/nio/ByteBufferImpl.java
9346         gnu/java/nio/CharBufferImpl.java
9347         gnu/java/nio/DoubleBufferImpl.java
9348         gnu/java/nio/FloatBufferImpl.java
9349         gnu/java/nio/IntBufferImpl.java
9350         gnu/java/nio/LongBufferImpl.java
9351         gnu/java/nio/ShortBufferImpl.java
9352         java/nio/DoubleBuffer.java
9353         java/nio/FloatBuffer.java
9354         java/nio/IntBuffer.java
9355         java/nio/LongBuffer.java
9356         java/nio/ShortBuffer.java
9357         (nat_source_files): Added the following files:
9358         gnu/java/nio/natByteBufferImpl.cc
9359         gnu/java/nio/natCharBufferImpl.cc
9360         gnu/java/nio/natDoubleBufferImpl.cc
9361         gnu/java/nio/natFloatBufferImpl.cc
9362         gnu/java/nio/natIntBufferImpl.cc
9363         gnu/java/nio/natLongBufferImpl.cc
9364         gnu/java/nio/natShortBufferImpl.cc
9365         * Makefile.in: Regenerated.
9366
9367 2003-02-11  Michael Koch  <konqueror@gmx.de>
9368
9369         * gnu/java/nio/natCharBufferImpl.cc
9370         (nio_cast): Removed.
9371         (nio_put_*): Removed.
9372         (nio_get_*): Removed.
9373         * gnu/java/nio/natDoubleBufferImpl.cc
9374         (nio_cast): Removed.
9375         (nio_put_*): Removed.
9376         (nio_get_*): Removed.
9377         * gnu/java/nio/natFloatBufferImpl.cc
9378         (nio_cast): Removed.
9379         (nio_put_*): Removed.
9380         (nio_get_*): Removed.
9381         * gnu/java/nio/natIntBufferImpl.cc
9382         (nio_cast): Removed.
9383         (nio_put_*): Removed.
9384         (nio_get_*): Removed.
9385         * gnu/java/nio/natLongBufferImpl.cc
9386         (nio_cast): Removed.
9387         (nio_put_*): Removed.
9388         (nio_get_*): Removed.
9389         * gnu/java/nio/natShortBufferImpl.cc
9390         (nio_cast): Removed.
9391         (nio_put_*): Removed.
9392         (nio_get_*): Removed.
9393         * gnu/java/nio/SelectorProviderImpl.java
9394         (openDatagramChannel): Throws IOException.
9395         (openPipe): Throws IOException.
9396         (openSelector): Throws IOException.
9397         (openServerSocketChannel): Throws IOException.
9398         (openSocketChannel): Throws IOException.
9399         * gnu/java/nio/ServerSocketChannelImpl.java
9400         (ServerSocketChannelImpl): Throws IOException.
9401         (implCloseSelectableChannel): Throws IOException.
9402         (implConfigureBlocking): Throws IOException.
9403         * java/nio/ByteBuffer.java
9404         (readOnly): Removed.
9405         (hasArray): Use isReadOnly() instead of readOnly.
9406         (array): Use isReadOnly() instead of readOnly.
9407         (arrayOffset): Use isReadOnly() instead of readOnly.
9408         * java/nio/CharBuffer.java
9409         (CharBuffer): Implements Cloneable and CharSequence.
9410
9411 2003-02-11  Michael Koch  <konqueror@gmx.de>
9412
9413         * java/nio/DoubleBuffer.java
9414         (DoubleBuffer): Implements Comparable.
9415         (endian): Removed.
9416         (array_offset): New member variable.
9417         (DoubleBuffer): New constuctor.
9418         (get): May not be final.
9419         (put): May not be final.
9420         (arrayOffset): Implemented.
9421         (order): Made abstract.
9422         (order): Removed.
9423         (as*Buffer): Removed.
9424         (get*): Removed.
9425         (put*): Removed.
9426         * java/nio/FloatBuffer.java
9427         (FloatBuffer): Implements Comparable.
9428         (endian): Removed.
9429         (array_offset): New member variable.
9430         (FloatBuffer): New constuctor.
9431         (get): May not be final.
9432         (put): May not be final.
9433         (arrayOffset): Implemented.
9434         (order): Made abstract.
9435         (order): Removed.
9436         (as*Buffer): Removed.
9437         (get*): Removed.
9438         (put*): Removed.
9439         * java/nio/IntBuffer.java
9440         (IntBuffer): Implements Comparable.
9441         (endian): Removed.
9442         (array_offset): New member variable.
9443         (IntBuffer): New constuctor.
9444         (get): May not be final.
9445         (put): May not be final.
9446         (arrayOffset): Implemented.
9447         (order): Made abstract.
9448         (order): Removed.
9449         (as*Buffer): Removed.
9450         (get*): Removed.
9451         (put*): Removed.
9452         * java/nio/LongBuffer.java
9453         (LongBuffer): Implements Comparable.
9454         (endian): Removed.
9455         (array_offset): New member variable.
9456         (LongBuffer): New constuctor.
9457         (get): May not be final.
9458         (put): May not be final.
9459         (arrayOffset): Implemented.
9460         (order): Made abstract.
9461         (order): Removed.
9462         (as*Buffer): Removed.
9463         (get*): Removed.
9464         (put*): Removed.
9465         * java/nio/ShortBuffer.java
9466         (ShortBuffer): Implements Comparable.
9467         (endian): Removed.
9468         (array_offset): New member variable.
9469         (ShortBuffer): New constuctor.
9470         (get): May not be final.
9471         (put): May not be final.
9472         (arrayOffset): Implemented.
9473         (order): Made abstract.
9474         (order): Removed.
9475         (as*Buffer): Removed.
9476         (get*): Removed.
9477         (put*): Removed.
9478
9479 2003-02-11   Michael Koch  <konqueror@gmx.de>
9480
9481         * java/nio/channels/SelectionKey.java
9482         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9483         values.
9484
9485 2003-02-11  Michael Koch  <konqueror@gmx.de>
9486
9487         * java/nio/channels/DatagramChannel.java
9488         (write): Throws IOException.
9489         (connect): Throws IOException.
9490         (disconnect): Throws IOException.
9491         (read): Throws IOException.
9492         (receive): Throws IOException.
9493         (send): Throws IOException.
9494         * java/nio/channels/Pipe.java
9495         (open): Throws IOException.
9496         * java/nio/channels/SelectableChannel.java
9497         (configureBlocking): Throws IOException.
9498         * java/nio/channels/ServerSocketChannel.java
9499         (accept): Throws IOException.
9500         * java/nio/channels/SocketChannel.java
9501         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9502         GatheringByteChannel.
9503         (read): Throws IOException.
9504         (write): Throws IOException.
9505         (finishConnect): Throws IOException.
9506         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9507         (end): Throws AsynchronousCloseException.
9508         * java/nio/channels/spi/AbstractSelectableChannel.java
9509         (configureBlocking): Throws IOException.
9510         (implCloseChannel): Throws IOException.
9511         (implCloseSelectableChannel): Throws IOException.
9512         (implConfigureBlocking): Throws IOException.
9513         * java/nio/channels/spi/SelectorProvider.java
9514         (openDatagramChannel): Throws IOException.
9515         (openPipe): Throws IOException.
9516         (openSelector): Throws IOException.
9517         (openServerSocketChannel): Throws IOException.
9518         (openSocketChannel): Throws IOException.
9519
9520 2003-02-11  Michael Koch  <konqueror@gmx.de>
9521
9522         * gnu/java/nio/FileLockImpl.java,
9523         java/nio/channels/FileLock.java: New files.
9524
9525 2003-02-11  Michael Koch  <konqueror@gmx.de>
9526
9527         * java/nio/charset/IllegalCharsetNameException.java
9528         (serialVersionUID): New member variable.
9529         (charsetName): New member variable.
9530         (IllegalCharsetException): New implementation.
9531         (getCharsetName): New implementation.
9532         * java/nio/charset/UnsupportedCharsetException.java
9533         (serialVersionUID): New member variable.
9534         (charsetName): New member variable.
9535         (UnsupportedCharsetException): New implementation.
9536         (getCharsetName): New implementation.
9537
9538 2003-02-10  Tom Tromey  <tromey@redhat.com>
9539
9540         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9541         (ex): Renamed from sqlException.
9542
9543 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
9544
9545         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
9546         method used to ensure seeding has occurred and that a specific 
9547         seed can be set and used.
9548
9549 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
9550
9551         * java/lang/Win32Process.java (destroy): Declare as native.
9552         (hasExited): New native method.
9553         (exitValue): Define.
9554         (getErrorStream): Likewise.
9555         (getInputStream): Likewise.
9556         (getOutputStream): Likewise.
9557         (waitFor): Declare as native.
9558         (startProcess): New native method.
9559         (cleanup): Likewise.
9560         (ConcreteProcess): Define.
9561         (outputStream, inputStream, errorStream): New members.
9562         (procHandle, exitCode): Likewise.
9563
9564         * java/lang/natWin32Process.cc
9565         (java::lang::ConcreteProcess::cleanup): Define.
9566         (java::lang::ConcreteProcess::destroy): Likewise.
9567         (java::lang::ConcreteProcess::hasExited): Likewise.
9568         (java::lang::ConcreteProcess::waitFor): Likewise.
9569         (new_string): Likewise.
9570         (java::lang::ConcreteProcess::startProcess): Likewise.
9571
9572 2003-02-10  Raif S. Naffah <raif@fl.net.au>
9573
9574         * java/math/BigInteger.java:
9575         Updated notice to include years 2002 and 3.
9576         Added 2 private (int) arrays with values from the HAC (Handbook of
9577         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9578         and t[] that contains nbr. of tests --used in isProbablePrime().
9579
9580         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9581
9582         * java/math/BigInteger.java (make(int[],int), add(int,int),
9583         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9584         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9585         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9586         make(long).
9587
9588         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9589         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9590         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9591         BIs and returns void.
9592         (modInverse(BI)): Use new signatures of euclidInv().
9593
9594         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9595         static small primes instead of remainder().
9596         Use pre-computed max nbr of trials based on bitlength of BI to test.
9597         Use pre-computed small primes for the trial tests instead of random
9598         numbers.
9599
9600         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9601         not used.
9602
9603         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9604         invoacation of MPN.chars_per_word().  not used.
9605
9606         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9607         local var and used where needed.
9608
9609         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9610         Combined declaration with initialisation of locals.
9611         Removed unused var.
9612
9613         * java/math/BigInteger.java: Style changes
9614         (pow(int)): Removed 'else' keyword.
9615         (toString(int)): idem.
9616         (doubleValue()): idem.
9617         (bitLength()): idem.
9618         (equals(Object)): Use static methods name in same class w/o prepending
9619         class name.
9620         (doubleValue()): idem.
9621         (setNegative(BI)): idem.
9622         (negate()): idem.
9623         (and(BI,int)): idem.
9624         (and(BI)): idem.
9625         (gcd(BI)): idem.
9626         (byteArrayToIntArray()): Removed casting to (int). this is
9627         std. behaviour.
9628         (canonicalize()): idem.
9629         (alloc(int)): Always instantiate a new BI.
9630
9631 2003-02-10  Tom Tromey  <tromey@redhat.com>
9632
9633         * java/sql/Timestamp.java (compareTo(Object)): New method.
9634         (compareTo(Timestamp)): Likewise.
9635         (serialVersionUID): Updated.
9636
9637 2003-02-07  Mark Wielaard  <mark@klomp.org>
9638
9639         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9640         when verify is true.
9641         (JarFile(File, boolean)): Likewise.
9642         (manifestRead): Set manifestRead field correctly.
9643
9644 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9645
9646         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9647         tests; see patch #1016 on Savannah.
9648
9649 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9650
9651         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9652         (toString): do not return Strings starting with . and - erroneously.
9653         Improves Mauve results to 12 of 600 instead of 16 of 338 on
9654         DiagBigDecimal.
9655
9656 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9657
9658         * java/beans/PropertyDescriptor.java
9659         (PropertyDescriptor(String, Class)): Sanity check getter and setter
9660         methods.
9661         (PropertyDescriptor(String, Class, String, String)): Likewise.
9662         (PropertyDescriptor(String, Method, Method): Factor out getter and
9663         setter method sanity checks into new method.
9664         (findMethods): Don't do parameter sanity checking of get method here.
9665         (checkMethods): New method.
9666
9667 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
9668
9669         * java/beans/PropertyDescriptor.java: Reformat.
9670
9671 2003-02-04  Tom Tromey  <tromey@redhat.com>
9672
9673         * java/io/PipedOutputStream.java (flush): Declare as throwing
9674         IOException.
9675         (close): Likewise.
9676         * java/io/PipedWriter.java (close): Declare as throwing
9677         IOException.
9678         * java/io/StringWriter.java (close): Declare as throwing
9679         IOException.
9680
9681 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9682
9683         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9684         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9685         could also have been exported as "JNI_OnLoad@8" (MinGW) or
9686         "_JNI_OnLoad@8" (MSVC).
9687
9688 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
9689
9690         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9691         convention on Win32 to invoke native JNI methods.
9692
9693 2003-02-03  Andrew Haley  <aph@redhat.com>
9694
9695         * configure.host (x86_64): Enable interpreter.
9696
9697 2003-02-03  Andrew Haley  <aph@redhat.com>
9698
9699         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9700         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9701         * configure.in (BACKTRACESPEC): New.
9702         * configure: Regenerate.
9703
9704 2003-02-02  Tom Tromey  <tromey@redhat.com>
9705
9706         * configure: Rebuilt.
9707         * configure.in (TOOLKIT) [xlib]: Set correctly.
9708
9709         * Makefile.in: Rebuilt.
9710         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9711         libstdc++.
9712
9713 2003-01-31  Mark WIelaard  <mark@klomp.org>
9714
9715         * Makefile.in: Rebuilt.
9716         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9717
9718 2003-01-31  Tom Tromey  <tromey@redhat.com>
9719
9720         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9721         cast to element type.
9722         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9723         (_Jv_JNI_GetObjectArrayElement): Likewise.
9724
9725         * Makefile.in: Rebuilt.
9726         * Makefile.am (cond_x_ltlibrary): Renamed library to
9727         lib-gnu-awt-xlib.la.
9728         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9729         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9730         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9731         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9732         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9733         (lib_gnu_awt_xlib_la_LINK): Likewise.
9734         (install-exec-hook): Removed.
9735         (lib-gnu-awt-xlib.la): Renamed.
9736
9737 2003-01-31  Tom Tromey  <tromey@redhat.com>
9738
9739         * aclocal.m4, configure, include/config.h.in: Rebuilt.
9740         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9741         aclocal.m4 and lost in some merge.
9742
9743         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9744         Don't try to find graphics configuration.
9745         * java/awt/Toolkit.java (default_toolkit_name): Use new
9746         Configuration entry.
9747         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9748         New global.
9749         * configure: Rebuilt.
9750         * configure.in (TOOLKIT): New subst.
9751         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9752         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
9753         directory.  Make output directories for .c files.
9754         * Makefile.in: Rebuilt.
9755         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9756         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9757         (all_java_source_files): Added new sources.
9758         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9759         (gtk_c_files): New macro.
9760         (gtk_c_source_files): New macro.
9761         (cond_gtk_ltlibrary): New macro.
9762         ($(gtk_c_files)): New target.
9763         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9764         (gtk_awt_peer_sources): New macro.
9765         (gtk_c_headers): New macro.
9766         ($(gtk_c_headers)): New target.
9767         (ACLOCAL_AMFLAGS): New macro.
9768         * gtk.m4, glib.m4, libart.m4: New files.
9769         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9770         gnu/java/awt/peer/gtk/GdkGraphics.java,
9771         gnu/java/awt/peer/gtk/GtkArg.java,
9772         gnu/java/awt/peer/gtk/GtkArgList.java,
9773         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9774         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9775         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9776         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9777         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9778         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9779         gnu/java/awt/peer/gtk/GtkClipboard.java,
9780         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9781         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9782         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9783         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9784         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9785         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9786         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9787         gnu/java/awt/peer/gtk/GtkImage.java,
9788         gnu/java/awt/peer/gtk/GtkImagePainter.java,
9789         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9790         gnu/java/awt/peer/gtk/GtkListPeer.java,
9791         gnu/java/awt/peer/gtk/GtkMainThread.java,
9792         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9793         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9794         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9795         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9796         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9797         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9798         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9799         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9800         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9801         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9802         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9803         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9804         gnu/java/awt/peer/gtk/GtkToolkit.java,
9805         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9806         gnu/java/awt/peer/gtk/TestAWT.java,
9807         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9809         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9811         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9812         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9817         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9819         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9820         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9821         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9822         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9823         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9825         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9826         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9827         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9828         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9829         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9830         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9831         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9832         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9833         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9834         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9835         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9836         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9837         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9838         jni/classpath/native_state.c, jni/classpath/native_state.h,
9839         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9840
9841 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
9842
9843         * java/util/Properties.java (load): Ignore backslash before EOF.
9844
9845 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
9846
9847         * java/lang/natClass.cc (initializeClass): Check tables when
9848         (state == JV_STATE_IN_PROGRESS).
9849         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9850         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9851         interpreted classes.
9852         (linkClass0): Use _Jv_WaitForState.
9853
9854 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
9855
9856         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9857         object when finished.
9858
9859 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
9860
9861         * libjava/configure.host: Disable can_unwind_signal on darwin.
9862
9863 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
9864
9865         Fixes PR java/9254:
9866         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9867         additionally containing id of the owner thread as well as
9868         the number of nested times the thread has acquired the mutex.
9869         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9870         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9871         (_Jv_MutexUnlock): Check if really the owner thread, reset
9872         owner thread id to 0 before leaving, if leaving for the last
9873         time.
9874         (_Jv_MutexLock): Set owner thread id in the mutex and increment
9875         refcount.
9876         (_Jv_ThreadYield): Yield using a call to Sleep(0).
9877         * win32-threads.cc (_Jv_CondWait): Check if really owner of
9878         the passed mutex.
9879         Pass handle of the broadcast event, instead of a pointer to it
9880         in Win32 ResetEvent( ) call.
9881         Remove incorrect return values.
9882         (_Jv_CondDestroy): Close both event handles and delete
9883         critical section.
9884         (_Jv_CondNotify): Check if really the owner thread.
9885         (_Jv_CondNotifyAll): Check if really the owner thread.
9886         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9887         (really_start): Use SetEvent( ) to signal daemon_cond.
9888         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9889         WaitForSingleObject( ) instead to wait for daemon_cond to be
9890         signalled.
9891
9892 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
9893
9894         * configure.in: Specifically define HAVE_BACKTRACE if building
9895         for MinGW.
9896         * include/win32.h: Remove HAVE_BACKTRACE definition.
9897         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9898         * configure: Rebuilt.
9899
9900 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
9901
9902         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9903         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
9904         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9905         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9906         * Makefile.in, configure: Rebuilt.
9907
9908 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
9909
9910         Fixes PR java/9253:
9911         * java/io/natFileWin32.cc (performList): Append only "*.*"
9912         if the canonical file path already has a "\" at the end.
9913
9914 2003-01-24  Tom Tromey  <tromey@redhat.com>
9915
9916         * defineclass.cc (handleMethodsEnd): Precompute code for static
9917         method.
9918         (handleCodeAttribute): Likewise.
9919         * resolve.cc (ncode): Use run_class for unsynchronized static
9920         methods.
9921         * include/java-interp.h (class _Jv_InterpMethod): Declare
9922         run_class.
9923         * interpret.cc (run_synch_class): Initialize class.
9924         (run) [insn_invokestatic]: Don't initialize class.
9925         [insn_anewarray]: Likewise.
9926         [insn_multianewarray]: Likewise.
9927         (run_class): New function.
9928
9929 2003-01-24  Tom Tromey  <tromey@redhat.com>
9930
9931         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9932         comment.
9933
9934 2003-01-22  Andrew Haley  <aph@redhat.com>
9935
9936         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9937         * configure.host (CHECKREFSPEC): Define for x86_64.
9938
9939 2003-01-21  Tom Tromey  <tromey@redhat.com>
9940
9941         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9942         search at 2, not 3.
9943
9944 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
9945
9946         * java/io/natFileWin32.cc (isAbsolute): Check path length before
9947         looking at any characters.
9948         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9949         be used.
9950         (isAbsolute): Check path's length as well.
9951
9952 2003-01-17  Mark Wielaard  <mark@klomp.org>
9953
9954         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9955         (nat_source_files): Add natVMObjectStreamClass.cc.
9956         * Makefile.in: Regenerated.
9957         * gcj/javaprims.h (namespace java): Regenerated.
9958         * java/io/ObjectStreamClass.java (getClassUID): Call
9959         VMObjectStreamClass.hasClassInitializer().
9960         (hasClassInitializer): Removed.
9961         * java/io/VMObjectStreamClass.java: New class.
9962         * java/io/natVMObjectStreamClass.cc: New file.
9963         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9964
9965 2003-01-16  Mark Wielaard  <mark@klomp.org>
9966
9967         * java/net/SocketImpl.java (toString): Don't explicitly call
9968         toString() on possible null address.
9969
9970 2003-01-16  Michael Koch  <konqueror@gmx.de>
9971
9972         * java/net/MulticastSocket.java
9973         (setInterface): Reindented.
9974
9975 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9976
9977         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9978         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9979         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9980         translateY arguments.  Implement.
9981         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9982         down translation arguments.
9983         (drawPolyline, drawPolygon): Fix incorrect tests.
9984         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9985         translateX and translateY arguments.
9986
9987 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9988
9989         * Makefile.in: Rebuilt.
9990         * Makefile.am (xlib_includes): New macro.
9991         (INCLUDES): Use it.
9992
9993 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
9994
9995         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9996         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9997         16-bit display mode.
9998
9999 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
10000
10001         * java/awt/CardLayout.java (show): Rewrote.
10002         (gotoComponent): Removed `target' argument.  Simplified code.
10003         Don't pre-compute `choice' unless `what' is FIRST or LAST.
10004         Changed all callers.
10005         (NONE): Removed.
10006         
10007 2003-01-14  Michael Koch  <konqueror@gmx.de>
10008
10009         * java/net/InetSocketAddress.java
10010         (serialVersionUID): New member variable.
10011         * java/net/NetPermission.java
10012         (NetPermission): Dont implement java.io.Serialization directly.
10013         * java/net/SocketAddress.java:
10014         (serialVersionUID): Documentation added.
10015         
10016 2003-01-14  Michael Koch  <konqueror@gmx.de>
10017
10018         * java/awt/Label.java
10019         (Label): Implements javax.accessibility.Accessible;
10020         * java/awt/List.java
10021         (List): Implements javax.accessibility.Accessible;
10022         * java/awt/ScrollPane.java
10023         (ScrollPane): Implements javax.accessibility.Accessible;
10024         * java/awt/Scrollbar.java
10025         (Scrollbar): Implements javax.accessibility.Accessible;
10026         * java/awt/TextComponent.java
10027         (setCaretPosition): Throw exception, documentation added.
10028         * java/awt/Toolkit.java:
10029         Added some newlines in method documentations.
10030         (createButton): Exception documentation added.
10031         (createTextField): Exception documentation added.
10032         (createLabel): Exception documentation added.
10033         (createList): Exception documentation added.
10034         (createCheckbox): Exception documentation added.
10035         (createScrollbar): Exception documentation added.
10036         (createScrollPane): Exception documentation added.
10037         (createTextArea): Exception documentation added.
10038         (createChoice): Exception documentation added.
10039         (createFrame): Exception documentation added.
10040         (createWindow): Exception documentation added.
10041         (createDialog): Exception documentation added.
10042         (createMenuBar): Exception documentation added.
10043         (createMenu): Exception documentation added.
10044         (createMenuItem): Exception documentation added.
10045         (createFileDialog): Exception documentation added.
10046         (createCheckboxMenuItem): Exception documentation added.
10047         (loadSystemColors): Exception documentation added.
10048         (setDynamicLayout): Exception documentation added.
10049         (isDynamicLayoutSet): Exception documentation added.
10050         (isDynamicLayoutActive): Exception documentation added.
10051         (getScreenSize): Exception documentation added.
10052         (getScreenResolution): Exception documentation added.
10053         (getScreenInsets): Exception documentation added.
10054         (getColorModel): Exception documentation added.
10055         (getSystemClipboard): Exception documentation added.
10056         (getSystemSelection): Exception documentation added.
10057         (getMenuShortcutKeyMask): Exception documentation added.
10058         (getSystemEventQueue): Exception documentation added.
10059         * java/awt/Window.java:
10060         Reindented some code.
10061         (Window): Centralized implementation, documentation added.
10062         (finalize): Documentation added.
10063         (hide): Fixed typo in comment.
10064         (getWindowListeners): Documentation added.
10065         * java/awt/color/ColorSpace.java
10066         (toRGB): Documentation added.
10067         * java/awt/color/ICC_ColorSpace.java
10068         (ICC_ColorSpace): Documentation added.
10069         (toRGB): Throw exception, documentation added.
10070         (fromRGB): Throw exception, documentation added.
10071         (toCIEXYZ): Documentation added.
10072         (fromCIEXYZ): Documentation added.
10073         (getMinValue): Documentation added.
10074         (getMaxValue): Documentation added.
10075         * java/awt/geom/Dimension2D.java
10076         (clone): Documentation added.
10077         * java/awt/geom/GeneralPath.java
10078         (clone): Documentation added.
10079         * java/awt/geom/Line2D.java
10080         (clone): Documentation added.
10081         * java/awt/geom/QuadCurve2D.java
10082         (clone): Documentation added.
10083         * java/awt/image/ColorModel.java
10084         (ColorModel): Throw exception, documentation added.
10085         * java/awt/image/ImageFilter.java
10086         (clone): Doesnt throw CloneNotSupportedException.
10087
10088 2003-01-14  Andrew Haley  <aph@redhat.com>
10089
10090         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10091         in a try block.
10092
10093 2003-01-10  Andrew Haley  <aph@redhat.com>
10094
10095         * include/dwarf2-signal.h: Remove x86_64.
10096         * configure.host (x86_64 DIVIDESPEC): Remove.
10097         * include/x86_64-signal.h: New file.
10098         * configure.in: Regenerate.
10099
10100 2003-01-10  Michael Koch  <konqueror@gmx.de>
10101
10102         * java/net/DatagramSocket.java
10103         (ch): Description added.
10104         (remotePort): Initialize with -1.
10105         (connect): Doesnt throws SocketException.
10106         * java/net/MulticastSocket.java
10107         (setInterface): Merge with Classpath.
10108         * java/net/ServerSocket.java
10109         (closed): New member variable.
10110         (bind): Check if socket is closed.
10111         (close): Close an associated channel too, set new value to closed.
10112         (isBound): Reindented.
10113         (isClosed): Implemented.
10114         * java/net/Socket.java
10115         (closed): New member variable.
10116         (bind): Check if socket is closed.
10117         (connect): Check if socket is closed.
10118         (close): Close an associated channel too, set new value to closed.
10119         (isClosed): Implemented.
10120
10121 2003-01-10  Michael Koch  <konqueror@gmx.de>
10122
10123         * java/awt/DisplayMode.java
10124         (equals): Fixed argument type and implementation.
10125
10126 2003-01-07  Tom Tromey  <tromey@redhat.com>
10127
10128         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
10129         JV_HASH_SYNCHRONIZATION.
10130         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
10131         JV_HASH_SYNCHRONIZATION.
10132
10133 2003-01-07  Michael Koch  <konqueror@gmx.de>
10134  
10135         * java/net/DatagramSocket.java:
10136         Added classpath license info.
10137         (DatagramSocket): Merged description with classpath.
10138         (close): Merged description with classpath.
10139         (getChannel): Merged description with classpath.
10140         (getInetAddress): Merged description with classpath.
10141         (getPort): Merged description with classpath.
10142         (getLocalAddress): Merged description with classpath.
10143         (getLocalPort): Merged description with classpath.
10144         (getSoTimeout): Merged description with classpath.
10145         (setSoTimeout): Merged description with classpath.
10146         (getSendBufferSize): Merged description with classpath.
10147         (setSendBufferSize): Merged description with classpath.
10148         (getReceiveBufferSize): Merged description with classpath.
10149         (setReceiveBufferSize): Merged description with classpath.
10150         
10151 2003-01-04  Tom Tromey  <tromey@redhat.com>
10152
10153         * java/awt/List.java: Merged with Classpath.
10154
10155 2003-01-03  Mark Wielaard  <mark@klomp.org>
10156
10157         * java/io/FileDescriptor.java (position): New private field.
10158         * java/io/natFileDescriptorPosix.cc (write): Up position.
10159         (setLength): Use and set position.
10160         (seek): Set position.
10161         (getFilePointer): Return position.
10162         (read): Up position.
10163
10164 2003-01-03  Mark Wielaard  <mark@klomp.org>
10165
10166         Merge with Classpath:
10167         * java/io/ObjectStreamClass.java (lookup): Split method and call
10168         lookupForClassObject().
10169         (lookupForClassObject): New method.
10170         (isProxyClass): New field.
10171         (setClass): Set isProxyClass, add object to classLookupTable, set
10172         superClass and calculateOffsets.
10173         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
10174         and not a proxy class.
10175         (setFields): Set accessible true for serialPersistentFields.
10176         (getClassUID): Same for suid. And check if suid is of type long.
10177         (hasClassInitializer): Don't throw NoSuchMethodError.
10178
10179 2003-01-03  Mark Wielaard  <mark@klomp.org>
10180
10181         * java/io/FileInputStream.java (finalize): Don't explicitly
10182         finalize FileDescriptor.
10183
10184 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
10185
10186         * configure.host (sparc*-*): Enable bytecode interpreter.
10187
10188 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
10189
10190         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
10191         Don't throw RemoteException.
10192         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
10193         throw RemoteException.
10194
10195 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
10196
10197         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
10198         proxyHost): New static fields.
10199         (<clinit>): Initialize new fields.
10200         (connect): Use proxy if necessary.
10201         (usingProxy): Implement.
10202
10203 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
10204
10205         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
10206         (TreeIterator.remove): Prefer IllegalStateException over
10207         ConcurrentModificationException, to match Sun.
10208
10209 2002-12-22  Anthony Green  <green@redhat.com>
10210
10211         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10212
10213 2003-01-02  Mark Wielaard  <mark@klomp.org>
10214
10215         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10216         public.
10217         (HTTP_USE_PROXY): Add field.
10218         (getResponseVals): Only set responseCode when not yet explicitly
10219         set by subclass.
10220
10221 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
10222             Mark Wielaard  <mark@klomp.org>
10223
10224         * java/util/zip/ZipFile.java (entries): Now HashMap.
10225         (readLeShort(DataInput, byte[])): Read from given byte array.
10226         (readLeInt(DataInput, byte[]): Likewise.
10227         (readLeShort(byte[] b, int off)): New method.
10228         (readLeInt(byte[] b, int off)): Likewise.
10229         (readEntries): Use byte arrays to read info in bigger chunks.
10230         (getEntries): Return HashMap.
10231         (getEntry): Use HashMap.
10232         (locBuf): New private field.
10233         (checkLocalHeader): Use locBuf to read info in one chunk.
10234         (getInputStream): Use entries HashMap, wrap PartialInputStream
10235         in BufferedInputStream.
10236         (ZipEntryEnumeration): Use HashMap and Interator.
10237
10238 2003-01-02  Mark Wielaard  <mark@klomp.org>
10239             Jeroen Frijters  <jeroen@sumatra.nl>
10240
10241         * java/net/URLClassLoader.java (Resource.getCodeSource):
10242         Fix check certs == null.
10243         (getCanonicalFileURL): Removed method.
10244         (JarURLLoader): Don't call removed method.
10245         (FileURLLoader): Likewise.
10246         (FileURLLoader.getResource): Don't canonicalize file name.
10247
10248 2003-01-01  Tom Tromey  <tromey@redhat.com>
10249
10250         * Makefile.in: Rebuilt.
10251         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10252         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10253         java/awt/BufferCapabilities.java, java/awt/Button.java,
10254         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10255         java/awt/Container.java, java/awt/Cursor.java,
10256         java/awt/EventQueue.java, java/awt/FileDialog.java,
10257         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10258         java/awt/MenuBar.java, java/awt/MenuComponent.java,
10259         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10260         java/awt/Scrollbar.java, java/awt/TextArea.java,
10261         java/awt/TextField.java, java/awt/color/CMMException.java,
10262         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10263         java/awt/color/ProfileDataException.java,
10264         java/awt/datatransfer/Clipboard.java,
10265         java/awt/datatransfer/DataFlavor.java,
10266         java/awt/datatransfer/FlavorMap.java,
10267         java/awt/datatransfer/SystemFlavorMap.java,
10268         java/awt/dnd/DragGestureEvent.java,
10269         java/awt/dnd/DragGestureRecognizer.java,
10270         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10271         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10272         java/awt/im/InputMethodHighlight.java,
10273         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10274         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10275
10276         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10277         `op' to BufferedImageOp.
10278
10279 2002-12-31  Tom Tromey  <tromey@redhat.com>
10280
10281         Fix for PR libgcj/7416:
10282         * javax/naming/InitialContext.java (init): Use
10283         gnu.classpath.home.url.
10284         * java/security/Security.java: Use new properties.
10285         (loadProviders): Accept base url; use it.
10286         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10287         gnu.classpath.home.url.
10288         (gnu.classpath.home.url): Define.
10289         (gnu.classpath.vm.shortname): Likewise.
10290
10291 2002-12-31  Tom Tromey  <tromey@redhat.com>
10292             Ranjit Mathew  <rmathew@hotmail.com>
10293
10294         Fix for PR libgcj/8997:
10295         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10296         Include platform.h.
10297         * include/posix.h (_Jv_platform_usleep): New function.
10298         * include/win32.h (_Jv_platform_usleep): New function.
10299
10300 2002-12-29  Tom Tromey  <tromey@redhat.com>
10301
10302         * gcj/javaprims.h: Updated.
10303         * scripts/classes.pl (scan): Removed stray semicolon.
10304
10305 2002-12-30  Mark Wielaard  <mark@klomp.org>
10306
10307         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10308         if zero or smaller.
10309
10310 2002-12-30  Mark Wielaard  <mark@klomp.org>
10311
10312         * java/util/Properties (formatForOutput): Don't fall through to
10313         default case after escaping character.
10314
10315 2002-12-30  Mark Wielaard  <mark@klomp.org>
10316
10317         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10318         against count.
10319
10320 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
10321
10322         * boehm.cc: Remove stray semicolon.
10323         * interpret.cc: Likewise.
10324         * prims.cc: Likewise.
10325         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10326         earlier to ensure default arguments are processed.
10327         * gcj/array.h (JArray): Add forward declaration.
10328         (elements): Likewise.
10329         * gcj/javaprim.h: Remove stray semicolons.
10330         * include/bohm-gc.h: Likewise.
10331         * include/jni.h: Likewise.
10332         * include/jvm.h: Likewise.
10333         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10334         
10335 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
10336
10337         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10338         of catch_type.
10339         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10340         idt tables after initializing superclass.
10341         * java/lang/natClassLoader.cc (uaddr): New typedef.
10342         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10343         if they are constant pool indicies.  Don't link vtable, otable yet.
10344
10345 2002-12-21  Anthony Green  <green@redhat.com>
10346
10347         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10348         libraries.
10349         * Makefile.in: Rebuilt.
10350
10351 2002-12-19  Anthony Green  <green@redhat.com>
10352
10353         * Makefile.am (ordinary_java_source_files): Add
10354         org/xml/sax/helpers/NewInstance.java.
10355         * Makefile.in: Rebuilt.
10356         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10357         org/xml/sax/helpers/package.html: New files.
10358         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10359         http://www.saxproject.org.
10360
10361 2002-12-19  Andrew Haley  <aph@redhat.com>
10362
10363         * java/util/natResourceBundle.cc: Include
10364         ArrayIndexOutOfBoundsException.h.
10365         (getCallingClassLoader): Don't put upper bound on stack search.
10366         Catch ArrayIndexOutOfBoundsException.
10367
10368 2002-12-19  Tom Tromey  <tromey@redhat.com>
10369
10370         * libtool-version: Increased `current'.
10371
10372 2002-12-19  Tom Tromey  <tromey@redhat.com>
10373
10374         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10375         comment.
10376         * java/lang/ClassLoader.java (defineClass): Use chained
10377         exception when rethrowing.
10378         * defineclass.cc (handleClassBegin): Mark class as interpreted.
10379         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10380         constants.
10381         * resolve.cc (_Jv_PrepareMissingMethods): New function.
10382         (_Jv_PrepareClass): Use it.
10383         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10384         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10385         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10386         (Class): _Jv_PrepareMissingMethods now friend.
10387         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10388         Record `NULL' for system class loader.
10389         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
10390         system class loader.
10391         (_Jv_FindClassInCache): Likewise.
10392         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
10393         (_Jv_FindClass): Special case system class loader.
10394         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10395         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10396         vtable slots.
10397         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10398         in a final class.
10399         (_getDeclaredMethod): Don't return synthetic methods.
10400         (getDeclaredMethods): Likewise.
10401         (_getMethod): Likewise.
10402         (_getMethods): Likewise.
10403
10404 2002-12-18  Raif Naffah  <raif@fl.net.au>
10405
10406         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10407         canonical form after divide().
10408         (modInverse): Likewise.
10409
10410 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10411             Mark Wielaard  <mark@klomp.org>
10412
10413         * java/security/SecurityRandom (digest): Removed field.
10414         (SecureRandom): Check all providers for case-insensitive SecureRandom
10415         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10416         if necessary.
10417         (getInstance(String,Provider,boolean): New method.
10418         (getInstance(String)): Use new method.
10419         (getInstance(String,String)): Likewise.
10420         (getInstance(String,Provider)): Likewise.
10421
10422 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
10423
10424         * java/security/Security.java (loadProviders): Increment i only once.
10425
10426 2002-12-12  Mark Wielaard  <mark@klomp.org>
10427
10428         * java/lang/ClassLoader.java (resolveClass0): Transform
10429         ClassNotFoundException to NoClassDefFoundError. Transform all other
10430         throwables to LinkageError.
10431
10432 2002-12-11  Tom Tromey  <tromey@redhat.com>
10433
10434         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10435
10436         * java/lang/ClassLoader.java (loadedClasses): New field.
10437         (defineClass): Fixed indentation.  Put new class in
10438         loadedClasses.
10439         (findLoadedClass): Implement here.
10440         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10441
10442 2002-12-10  Tom Tromey  <tromey@redhat.com>
10443
10444         * Makefile.in: Rebuilt.
10445         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10446         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10447         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10448         * java/lang/natClassLoader.cc
10449         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10450
10451 2002-12-10  Mark Wielaard  <mark@klomp.org>
10452             Tom Tromey  <tromey@redhat.com>
10453
10454         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10455         (JarURLLoader): Use it.
10456         (FileURLLoader): Likewise.
10457         (JarURLResource.getURL): Use chained exception.
10458         (FileResource.getURL): Likewise.
10459         (FileURLLoader.getResource): Use canonical file name.
10460         (addURL): Indentation fix.
10461
10462 2002-12-10  Tom Tromey  <tromey@redhat.com>
10463
10464         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10465         From Laurent Bardet <l.bardet@magic.fr>.
10466
10467 2002-12-09  Tom Tromey  <tromey@redhat.com>
10468
10469         * include/win32.h (_Jv_platform_solib_prefix): New define.
10470         (_Jv_platform_solib_suffix): Likewise.
10471         * include/posix.h (_Jv_platform_solib_prefix): New define.
10472         (_Jv_platform_solib_suffix): Likewise.
10473         * java/lang/natRuntime.cc: Include StackTrace.h.
10474         (_load): Use findLibrary and new platform defines.
10475         (nativeGetLibname): Use new platform defines.
10476
10477         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10478         `t' won't be null.
10479
10480 2002-12-08  Mark Wielaard  <mark@klomp.org>
10481
10482         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10483         cache remote jar files.
10484         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10485         add File.separator to URL when it is a directory.
10486         * java/lang/ClassLoader.java: Add Classpath javadoc.
10487         (parent): final.
10488         (getParent): Add (disabled) security check.
10489         (findLibrary): New default method.
10490         * java/net/JarURLConnection.java (getManifest): Implement.
10491         (getInputStream): Only create InputStream when entry exists.
10492         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10493         when they exist.
10494         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10495
10496 2002-12-08  Mark Wielaard  <mark@klomp.org>
10497
10498         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10499         (lastDefaultLocale): New field.
10500         (getBundle): When Locale.getDefault != lastDefaultLocale reset
10501         resourceBundleCache.
10502
10503 2002-12-06  Mark Wielaard  <mark@klomp.org>
10504
10505         * java/net/InetAddress.java (toString): Use hostname when not null,
10506         don't do an explicit reverse getHostName() lookup.
10507         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10508         NullPointerException.
10509
10510 2002-12-06  Tom Tromey  <tromey@redhat.com>
10511
10512         * include/java-interp.h (class _Jv_InterpMethod): Added
10513         JV_MARKOBJ_DECL.
10514         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
10515         mark `prepared' field of interpreted method.
10516         * interpret.cc (compile): Use _Jv_AllocBytes.
10517
10518 2002-12-05  Andrew Haley  <aph@redhat.com>
10519
10520         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10521         #ifdef (HAVE_BACKTRACE) around the whole function body.
10522
10523 2002-12-05  Tom Tromey  <tromey@redhat.com>
10524
10525         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10526         * resolve.cc: Don't include AbstractMethodError.h.
10527         (_Jv_abstractMethodError): Removed.
10528         * defineclass.cc (handleMethodsBegin): Initialize method index to
10529         -1.
10530         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10531         method index for "new" final method.
10532         (_Jv_SetVTableEntries): Compare index against -1 instead of using
10533         isVirtualMethod.  Added `flags' argument.
10534         (_Jv_MakeVTable): Throw exception for abstract method in concrete
10535         class.
10536
10537 2002-12-04  Tom Tromey  <tromey@redhat.com>
10538
10539         * java/net/SocketPermission.java (hashCode): Rewrote.
10540
10541 2002-12-04  Tom Tromey  <tromey@redhat.com>
10542
10543         * Makefile.in: Rebuilt.
10544         * Makefile.am (nat_source_files): Added natVMSecurityManager,
10545         natResourceBundle.
10546         * java/util/ResourceBundle.java (Security): Removed.
10547         (getCallingClassLoader): Now native.
10548         * java/util/natResourceBundle.cc: New file.
10549         * java/lang/natVMSecurityManager.cc: New file.
10550         * java/lang/VMSecurityManager.java (getClassContext): Now native.
10551
10552 2002-12-03  Mark Wielaard  <mark@klomp.org>
10553
10554         * java/util/jar/JarFile.java (manifest): Not final.
10555         (manifestRead): New field.
10556         (JarFile): Don't read Manifest in constructor.
10557         (getManifest): New method.
10558         (JarEnumeration.nextElement): Use new method.
10559         (getEntry): Likewise.
10560         * java/util/zip/ZipFile.java (name): Final.
10561         (raf): Likewsie.
10562         (entries): Change type to Hashtable.
10563         (closed): New field.
10564         (ZipFile): Don't read enties in constructor.
10565         (readEntries): Use Hashtable.
10566         (close): Set new close flag and set entries to null inside
10567         synchronized block.
10568         (entries): Contruct enumeration using new getEntries() method and
10569         entries Hashtable.
10570         (getEntryIndex): Removed.
10571         (getEntries): New method.
10572         (getEntry): Use new getEntries() method and entries Hastable.
10573         (getInputStream): Likewise.
10574         (size): Return getEntries().size().
10575         (ZipEntryEnumeration): Wrap entries Hashtable elements.
10576         * java/util/zip/ZipEntry.java (cal): Don't initialize.
10577         (time): Removed
10578         (dostime): New field.
10579         (zipFileIndex): Removed.
10580         (ZipEntry(ZipEntry)): Copy dostime.
10581         (setDOSTime): Now final and doesn't convert dos time.
10582         (getDOSTime): Likewise.
10583         (setTime): Convert dos time.
10584         (getTime): Likewise.
10585         (getCalendar): New method.
10586         (setExtra): Use setTime().
10587         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10588
10589 2002-12-03  Tom Tromey  <tromey@redhat.com>
10590
10591         * java/lang/Character.java (forDigit): Formatting fix.
10592
10593 2002-12-03  Raif Naffah  <raif@fl.net.au>
10594
10595         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10596         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10597         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10598
10599 2002-12-03  Andrew Haley  <aph@redhat.com>
10600
10601         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10602         _Jv_PushClass.
10603         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10604         (_Jv_PopClass): New.
10605         (_Jv_PushClass): New.
10606         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10607         discover the ClassLoader of our caller.
10608         (_Jv_CheckArrayStore): Don't check that a class is assignment
10609         compatible with Object.
10610         * java/lang/natVMTHrowable.cc: Delete.
10611         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10612         java.lang.VMThrowable.
10613         (StackTrace(), StackTrace(int)): New constructors.
10614         (classAt, methodAt, update, methodAtAddress): New methods.
10615         (map): New field.
10616         * java/lang/VMThrowable.java: Use StackTrace instead of
10617         natVMTHrowable.
10618         * java/lang/Class.h (getClassLoaderInternal): New.
10619         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10620         Be friendly with gnu::gcj::runtime::StackTrace.
10621         (Object.chain): New field.
10622         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10623         gnu::gcj::runtime::StackTrace.
10624         * gnu/gcj/runtime/natStackTrace.cc: New file.
10625         * gnu/gcj/runtime/MethodRef.java: New file.
10626         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10627         instead of getClassLoader().
10628         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10629         java::lang::VMThrowable.
10630         * Makefile.am (core_java_source_files): Add MethodRef.java,
10631         StackTrace.java.
10632         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10633         * Makefile.in: Rebuild.
10634
10635 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
10636
10637         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10638         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10639         yes also for sh-linux* and sh[34]*-linux*.
10640         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10641         set SIGNAL_HANDLER to use DWARF2 exception for them.
10642         * configure: Regenerate.
10643
10644 2002-12-02  Tom Tromey  <tromey@redhat.com>
10645
10646         * jni.cc: Added `name' argument.
10647         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10648         `const char *' argument.
10649         (class _Jv_JNIEnv) [DefineClass]: Likewise.
10650
10651 2002-12-01  Tom Tromey  <tromey@redhat.com>
10652
10653         Bug compatibility, for PR libgcj/8738:
10654         * java/io/CharArrayWriter.java (close): Do nothing.
10655         (flush): Likewise.
10656         (reset): Don't touch `closed'.
10657         (write(int)): Don't throw IOException.
10658         (write(char[],int,int)): Likewise.
10659         (write(String,int,int)): Likewise.
10660         (closed): Removed.
10661
10662 2002-12-01  Mark Wielaard  <mark@klomp.org>
10663
10664         * java/lang/SecurityManager.java: Remerge comments, indenting and
10665         checkXXX methods with Classpath.
10666
10667 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
10668
10669         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10670         getNormalizedComponents): Fix calculation which was using one too
10671         many bits in the unnormalized format.
10672
10673 2002-11-29  Gary Benson  <gbenson@redhat.com>
10674
10675         For PR libgcj/8759:
10676         * java/beans/Introspector.java (flushCaches): New method.
10677         (flushFromCaches): Likewise.
10678
10679 2002-11-29  Michael Koch <konqueror@gmx.de>
10680
10681         * java/nio/channels/DatagramChannel.java
10682         (open): Added exception documentation.
10683         (write): Added exception documentation.
10684         (connect): Added exception documentation.
10685         (disconnect): Added exception documentation.
10686         (isConnected): Added exception documentation.
10687         (read): Added exception documentation.
10688         (receive): Added exception documentation.
10689         (send): Added exception documentation.
10690         (validOps): Added exception documentation.
10691         * java/nio/channels/SocketChannel.java
10692         (open): Added exception documentation.
10693         (read): Added exception documentation.
10694         (write): Added exception documentation.
10695         (connect): Added exception documentation.
10696         (finishConnect): Added exception documentation.
10697
10698 2002-11-29  Michael Koch <konqueror@gmx.de>
10699
10700         * gnu/java/nio/DatagramChannelImpl:
10701         (fd): New member variable to store file descriptor of socket.
10702         * gnu/java/nio/SelectionKeyImpl.java:
10703         (ops): Removed.
10704         (readyOps): New member variable.
10705         (interestOps): New member variable.
10706         (readyOps): Implemented.
10707         (readyOps): New method to set member variable readyOps.
10708         (interestOps): Replaced ops by interestOps.
10709         * gnu/java/nio/SelectorImpl.java:
10710         (SelectorImpl): Initialize key sets.
10711         (select): Call select with -1 instead of Long.MAX_VALUE).
10712         (java_do_select): Make it a native method.
10713         (getFDsAsArray): New helper method.
10714         (select): Remove canceled keys, give only interested file discriptors
10715         to java_do_select, set ready ops.
10716         (add): No need to initialize keys set here.
10717         (add_selected): No need to initialize selected set here.
10718         (deregisterCanceledKeys): New helper method.
10719         (register): Set interest ops, set attachments, added handling of datagram
10720         channels.
10721         * gnu/java/nio/ServerSocketChannelImpl:
10722         (SocketAccept): Renamed from NioSocketAccept.
10723         (implConfigureBlocking): Implemented.
10724         (accept): Use SocketAccept instead of NioSocketAccept.
10725         * gnu/java/nio/SocketChannelImpl:
10726         Reactivate native methods.
10727
10728 2002-11-29  Michael Koch <konqueror@gmx.de>
10729
10730         * gnu/java/nio/natByteBufferImpl.cc,
10731         gnu/java/nio/natCharBufferImpl.cc,
10732         gnu/java/nio/natDoubleBufferImpl.cc,
10733         gnu/java/nio/natFloatBufferImpl.cc,
10734         gnu/java/nio/natIntBufferImpl.cc,
10735         gnu/java/nio/natLongBufferImpl.cc,
10736         gnu/java/nio/natSelectorImpl.cc,
10737         gnu/java/nio/natServerSocketChannelImpl.cc,
10738         gnu/java/nio/natShortBufferImpl.cc,
10739         gnu/java/nio/natSocketChannelImpl.cc:
10740         New files that implement native functionalities.
10741
10742 2002-11-29  Michael Koch <konqueror@gmx.de>
10743
10744         * gnu/java/nio/ByteBufferImpl.java
10745         (ByteBufferImpl): Moved position() after limit.
10746         (nio_*): Use native implementation.
10747         * gnu/java/nio/CharBufferImpl.java:
10748         Reformated.
10749         (endian): New member variable string endianess of buffer.
10750         (CharBufferImpl): Moved position() after limit.
10751         (nio_*): Use native implementation.
10752         (subSequence): Implemented.
10753         * gnu/java/nio/DoubleBufferImpl.java
10754         (DoubleBufferImpl): Moved position() after limit.
10755         (nio_*): Use native implementation.
10756         * gnu/java/nio/FloatBufferImpl.java
10757         Reformated.
10758         (FloatBufferImpl): Moved position() after limit.
10759         (nio_*): Use native implementation.
10760         * gnu/java/nio/IntBufferImpl.java
10761         Added needed imports, Reformated.
10762         (IntBufferImpl): Moved position() after limit.
10763         (nio_*): Use native implementation.
10764         * gnu/java/nio/LongBufferImpl.java
10765         Reformated.
10766         (LongBufferImpl): Moved position() after limit.
10767         (nio_*): Use native implementation.
10768         * gnu/java/nio/ShortBufferImpl.java
10769         Reformated.
10770         (ShortBufferImpl): Moved position() after limit.
10771         (nio_*): Use native implementation.
10772
10773 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
10774
10775         * java/util/Locale.java (toString): Improve efficiency if country
10776         and variant are both empty.
10777
10778 2002-11-26  Tom Tromey  <tromey@redhat.com>
10779
10780         * verify.cc (pop_init_ref): New method.
10781         (verify_instructions_0) [op_iaload, op_laload, op_faload,
10782         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10783         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10784         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10785         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10786         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10787         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
10788         let `this' argument be uninitialized.  Don't let `null' be passed
10789         as `this' to construtor.
10790
10791 2002-11-26  Mark Wielaard  <mark@klomp.org>
10792
10793         * javax/transaction/HeuristicCommitException.java: Classpath merge.
10794         * javax/transaction/HeuristicMixedException.java: Likewise.
10795         * javax/transaction/HeuristicRollbackException.java: Likewise.
10796         * javax/transaction/InvalidTransactionException.java: Likewise.
10797         * javax/transaction/NotSupportedException.java: Likewise.
10798         * javax/transaction/RollbackException.java: Likewise.
10799         * javax/transaction/Status.java: Likewise.
10800         * javax/transaction/Synchronization.java: Likewise.
10801         * javax/transaction/SystemException.java: Likewise.
10802         * javax/transaction/Transaction.java: Likewise.
10803         * javax/transaction/TransactionManager.java: Likewise.
10804         * javax/transaction/TransactionRequiredException.java: Likewise.
10805         * javax/transaction/TransactionRolledbackException.java: Likewise.
10806         * javax/transaction/UserTransaction.java: Likewise.
10807         * javax/transaction/xa/XAException.java: Likewise.
10808         * javax/transaction/xa/XAResource.java: Likewise.
10809         * javax/transaction/xa/Xid.java: Likewise.
10810
10811 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
10812
10813         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10814         define.
10815         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10816         * include/posix.h (socklen_t): Define if not already defined.
10817
10818 2002-11-25  Tom Tromey  <tromey@redhat.com>
10819
10820         * verify.cc (type::compatible): Backed out broken change.
10821
10822         * verify.cc (type::compatible): Check initialization status
10823         first.
10824         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10825         Don't use NULLCHECK.
10826
10827 2002-11-23  H.J. Lu <hjl@gnu.org>
10828
10829         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10830         Include ../config/accross.m4.
10831         * aclocal.m4; Rebuild.
10832         * configure: Likewise.
10833
10834 2002-11-23  Mark Wielaard  <mark@klomp.org>
10835
10836         * javax/naming/AuthenticationException.java: Update copyright header.
10837         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10838         * javax/naming/Binding.java: Likewise.
10839         * javax/naming/CannotProceedException.java: Likewise.
10840         * javax/naming/CommunicationException.java: Likewise.
10841         * javax/naming/CompositeName.java: Likewise.
10842         * javax/naming/CompoundName.java: Likewise.
10843         * javax/naming/ConfigurationException.java: Likewise.
10844         * javax/naming/Context.java: Likewise.
10845         * javax/naming/ContextNotEmptyException.java: Likewise.
10846         * javax/naming/InitialContext.java: Likewise.
10847         * javax/naming/InsufficientResourcesException.java: Likewise.
10848         * javax/naming/InterruptedNamingException.java: Likewise.
10849         * javax/naming/LimitExceededException.java: Likewise.
10850         * javax/naming/LinkException.java: Likewise.
10851         * javax/naming/LinkLoopException.java: Likewise.
10852         * javax/naming/LinkRef.java: Likewise.
10853         * javax/naming/MalformedLinkException.java: Likewise.
10854         * javax/naming/NameAlreadyBoundException.java: Likewise.
10855         * javax/naming/NameClassPair.java: Likewise.
10856         * javax/naming/NameNotFoundException.java: Likewise.
10857         * javax/naming/NameParser.java: Likewise.
10858         * javax/naming/NamingEnumeration.java: Likewise.
10859         * javax/naming/NamingSecurityException.java: Likewise.
10860         * javax/naming/NoInitialContextException.java: Likewise.
10861         * javax/naming/NoPermissionException.java: Likewise.
10862         * javax/naming/NotContextException.java: Likewise.
10863         * javax/naming/OperationNotSupportedException.java: Likewise.
10864         * javax/naming/PartialResultException.java: Likewise.
10865         * javax/naming/Reference.java: Likewise.
10866         * javax/naming/Referenceable.java: Likewise.
10867         * javax/naming/ReferralException.java: Likewise.
10868         * javax/naming/ServiceUnavailableException.java: Likewise.
10869         * javax/naming/SizeLimitExceededException.java: Likewise.
10870         * javax/naming/TimeLimitExceededException.java: Likewise.
10871         * javax/naming/directory/Attribute.java: Likewise.
10872         * javax/naming/directory/AttributeInUseException.java: Likewise.
10873         * javax/naming/directory/AttributeModificationException.java: Likewise.
10874         * javax/naming/directory/Attributes.java: Likewise.
10875         * javax/naming/directory/BasicAttribute.java: Likewise.
10876         * javax/naming/directory/BasicAttributes.java: Likewise.
10877         * javax/naming/directory/DirContext.java: Likewise.
10878         * javax/naming/directory/InitialDirContext.java: Likewise.
10879         * javax/naming/directory/InvalidAttributeIdentifierException.java:
10880         Likewise.
10881         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10882         * javax/naming/directory/InvalidAttributesException.java: Likewise.
10883         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10884         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10885         * javax/naming/directory/ModificationItem.java: Likewise.
10886         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10887         * javax/naming/directory/SchemaViolationException.java: Likewise.
10888         * javax/naming/directory/SearchControls.java: Likewise.
10889         * javax/naming/directory/SearchResult.java: Likewise.
10890         * javax/naming/event/EventContext.java: Likewise.
10891         * javax/naming/event/EventDirContext.java: Likewise.
10892         * javax/naming/event/NamespaceChangeListener.java: Likewise.
10893         * javax/naming/event/NamingEvent.java: Likewise.
10894         * javax/naming/event/NamingExceptionEvent.java: Likewise.
10895         * javax/naming/event/NamingListener.java: Likewise.
10896         * javax/naming/event/ObjectChangeListener.java: Likewise.
10897         * javax/naming/ldap/Control.java: Likewise.
10898         * javax/naming/ldap/ControlFactory.java: Likewise.
10899         * javax/naming/ldap/ExtendedRequest.java: Likewise.
10900         * javax/naming/ldap/ExtendedResponse.java: Likewise.
10901         * javax/naming/ldap/HasControls.java: Likewise.
10902         * javax/naming/ldap/InitialLdapContext.java: Likewise.
10903         * javax/naming/ldap/LdapContext.java: Likewise.
10904         * javax/naming/ldap/LdapReferralException.java: Likewise.
10905         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10906         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10907         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10908         * javax/naming/spi/DirObjectFactory.java: Likewise.
10909         * javax/naming/spi/DirStateFactory.java: Likewise.
10910         * javax/naming/spi/DirectoryManager.java: Likewise.
10911         * javax/naming/spi/InitialContextFactory.java: Likewise.
10912         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10913         * javax/naming/spi/NamingManager.java: Likewise.
10914         * javax/naming/spi/ObjectFactory.java: Likewise.
10915         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10916         * javax/naming/spi/ResolveResult.java: Likewise.
10917         * javax/naming/spi/Resolver.java: Likewise.
10918         * javax/naming/spi/StateFactory.java: Likewise.
10919
10920         * javax/naming/spi/NamingManager.java (ofb): Package private.
10921
10922 2002-11-21  Mark Wielaard  <mark@klomp.org>
10923
10924         * java/net/URL.java: Merge with Classpath (partly).
10925         * java/net/URLStreamHandler: Merge with Classpath.
10926
10927 2002-11-22  Michael Koch <konqueror@gmx.de>
10928
10929         * include/posix.h:
10930         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10931         * include/win32.h:
10932         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10933         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10934
10935 2002-11-21  Michael Koch <konqueror@gmx.de>
10936
10937         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10938         Only the new network functions should be in it.
10939
10940 2002-11-21  Michael Koch <konqueror@gmx.de>
10941
10942         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10943         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10944
10945 2002-11-21  Michael Koch <konqueror@gmx.de>
10946
10947         * java/nio/channels/AsynchronousCloseException.java,
10948         java/nio/channels/CancelledKeyException.java,
10949         java/nio/channels/ClosedByInterruptException.java,
10950         java/nio/channels/ConnectionPendingException.java,
10951         java/nio/channels/FileLockInterruptionException.java,
10952         java/nio/channels/IllegalSelectorException.java,
10953         java/nio/channels/NoConnectionPendingException.java,
10954         java/nio/channels/NonReadableChannelException.java,
10955         java/nio/channels/NonWritableChannelException.java,
10956         java/nio/channels/NotYetBoundException.java,
10957         java/nio/channels/NotYetConnectedException.java,
10958         java/nio/channels/OverlappingFileLockException.java,
10959         java/nio/channels/UnresolvedAddressException.java,
10960         java/nio/channels/UnsupportedAddressTypeException.java:
10961         New files.
10962         * Makefile.am (ordinary_java_source_files): Added new files.
10963         * Makefile.in: Regenerated.
10964
10965 2002-11-21  Michael Koch <konqueror@gmx.de>
10966
10967         * include/posix.h
10968         (_Jv_socket): New method.
10969         (_Jv_connect): New method.
10970         (_Jv_close): New method.
10971         (_Jv_platform_close_on_exec): Prefixed system function with "::".
10972         (_Jv_bind): New method.
10973         (_Jv_listen): New method.
10974         (_Jv_write): New method.
10975         (_Jv_read): New method.
10976         * include/win32.h
10977         (_Jv_socket): New method.
10978         (_Jv_connect): New method.
10979         (_Jv_close): New method.
10980         (_Jv_bind): New method.
10981         (_Jv_listen): New method.
10982         (_Jv_write): New method.
10983         (_Jv_read): New method.
10984         * java/net/natNetworkInterface.cc:
10985         Include platform.h, removed inclusion of socket.h
10986         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10987         ::close() by _Jv_close().
10988         * java/net/natPlainDatagramSocketImpl.cc:
10989         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10990         added some new lines to make code more readable.
10991         (create): Replaced ::socket() by _Jv_socket().
10992         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10993         * java/net/natPlainSocketImpl.cc:
10994         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10995         removed include of socket.h, removed some windows defines
10996         (now in include/win32.h).
10997         (create): Replaced ::socket() by _Jv_socket().
10998         (close): Replaced NATIVE_CLOSE() by _Jv_close().
10999         (write): Replaced ::read by _Jv_write().
11000         (read): Replaced ::read by _Jv_read().
11001
11002 2002-11-20  Michael Koch <konqueror@gmx.de>
11003
11004         * Makefile.am (ordinary_java_source_files):
11005         Added java/nio/channels/FileChannel.java.
11006         * Makefile.in: Regenerated.
11007
11008 2002-11-20  Michael Koch <konqueror@gmx.de>
11009
11010         * java/io/FileInputStream.java
11011         (getChannel): New method.
11012         * java/io/FileOutputStream.java
11013         (getChannel): New method.
11014         * java/net/ServerSocket.java
11015         (bind): Removed duplicate code and called another bind method instead.
11016         * java/nio/channels/SelectionKey.java
11017         (isValid): Removed wrong exception documentation.
11018         * java/nio/channels/ServerSocketChannel.java
11019         (accept): Added exception documentation.
11020         (open): Fixed typo, added exception documentation.
11021         * java/nio/channels/spi/AbstractSelectableChannel.java
11022         (implCloseChannel): Added exception documentation.
11023         (add): Reformated.
11024         (register): Added exception documentation.
11025
11026 2002-11-20  Andreas Jaeger  <aj@suse.de>
11027
11028         * configure: Regenerated with new libtool.m4.
11029
11030 2002-11-19  Tom Tromey  <tromey@redhat.com>
11031
11032         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11033         `referent'.
11034         (finalize_referred_to_object): Don't modify `referent' or `copy'
11035         fields.
11036         (add_to_hash): Correctly set `n->next' when updating list.
11037         * java/lang/ref/Reference.java (enqueue): Return false if already
11038         enqueued.
11039
11040 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
11041
11042         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11043         to function and function pointer declarations in accordance with
11044         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11045         based on whether __GCJ_JNI_IMPL__ has been defined or not.
11046         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11047         JNI function definitions.
11048
11049 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11050
11051         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11052         that was causing CoderResults to be cached, not WeakReferences
11053         to CoderResults.
11054
11055 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11056
11057         * java/security/KeyStore.java (getInstance): Fix
11058         comment and throw IllegalArgumentException if
11059         given provider is null.
11060         (getInstance): New method for jdk1.4 compatibility.
11061
11062 2002-11-18  Michael Koch <konqueror@gmx.de>
11063
11064         * java/net/PlainSocketImpl.java: Fix imports.
11065
11066 2002-11-18  Michael Koch <konqueror@gmx.de>
11067
11068         * java/nio/channels/SelectionKey.java
11069         (isValid): Added exception documentation.
11070         * java/nio/channels/Selector.java
11071         (open): Declare "throws IOException".
11072
11073 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
11074
11075         * java/nio/charset/Charset.java
11076         (<clinit>): New method.
11077         (encode): Synchronize use of cached encoder object.
11078         (decode): Synchronize use of cached encoder object.
11079
11080 2002-11-18  Michael Koch <konqueror@gmx.de>
11081
11082         * gnu/java/nio/ByteBufferImpl.java,
11083         gnu/java/nio/CharBufferImpl.java,
11084         gnu/java/nio/DatagramChannelImpl.java,
11085         gnu/java/nio/DoubleBufferImpl.java,
11086         gnu/java/nio/FileChannelImpl.java,
11087         gnu/java/nio/FloatBufferImpl.java,
11088         gnu/java/nio/IntBufferImpl.java,
11089         gnu/java/nio/LongBufferImpl.java,
11090         gnu/java/nio/PipeImpl.java,
11091         gnu/java/nio/SelectionKeyImpl.java,
11092         gnu/java/nio/SelectorImpl.java,
11093         gnu/java/nio/SelectorProviderImpl.java,
11094         gnu/java/nio/ServerSocketChannelImpl.java,
11095         gnu/java/nio/ShortBufferImpl.java,
11096         gnu/java/nio/SocketChannelImpl.java,
11097         java/nio/DoubleBuffer.java,
11098         java/nio/FloatBuffer.java,
11099         java/nio/IntBuffer.java,
11100         java/nio/LongBuffer.java,
11101         java/nio/ShortBuffer.java,
11102         java/nio/channels/FileChannel.java: New files.
11103
11104 2002-11-18  Michael Koch <konqueror@gmx.de>
11105
11106         * Makefile.am (ordinary_java_source_files):
11107         Added java/nio/ReadOnlyBufferException.java and
11108         java/nio/channels/ClosedSelectorException.java.
11109         * Makefile.in: Regenerated.
11110
11111 2002-11-18  Michael Koch <konqueror@gmx.de>
11112
11113         * java/net/PlainSocketImpl.java: Reworked imports.
11114         * java/net/ServerSocket.java
11115         (ServerSocket): Create socket.
11116         * java/net/SocketAddress.java: Documentation added.
11117         * java/net/natPlainSocketImpl.cc: Reindented.
11118         * java/nio/ReadOnlyBufferException.java: New file
11119         * java/nio/channels/ClosedChannelException.java: Documentation added.
11120         * java/nio/channels/ClosedSelectorException.java: New file.
11121
11122 2002-11-17  Mark Wielaard  <mark@klomp.org>
11123
11124         * java/net/HttpURLConnection.java ((getPermission): Take port
11125         into consideration.
11126         (getErrorStream): Implement.
11127
11128 2002-11-17  Mark Wielaard  <mark@klomp.org>
11129
11130         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
11131
11132 2002-11-16  Mark Wielaard  <mark@klomp.org>
11133
11134         Integrate work by Raif S. Naffah (raif@fl.net.au)
11135         * java/security/DummyKeyPairGenerator.java (clone): New method.
11136         * java/security/DummyMessageDigest.java (clone): New method.
11137         (engineUpdate): Now public.
11138         (engineReset): Likewise.
11139         (engineDigest): Likewise.
11140         (engineGetDigestLength): New method.
11141         * java/security/DummySignature.java (clone): New method.
11142         * java/security/KeyPairGenerator.java (provider): Now package private.
11143         (getInstance(String)): Use getInstance(String,Provider).
11144         (getInstance(String,String): Use getInstance(String,Provider)
11145         (getInstance(String,Provider): New method.
11146         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
11147         * java/security/KeyPairGeneratorSpi.java (clone): New method.
11148         * java/security/MessageDigest.java (provider): Now package private.
11149         (getInstance(String): Use getInstance(String,Provider).
11150         (getInstance(String,String): Use getInstance(String,Provider)
11151         (getInstance(String,Provider): New method.
11152         * java/security/Provider.java (toCanonicalKey): New method.
11153         (get): New method that uses toCanonicalKey().
11154         (put): Use toCanonicalKey().
11155         (remove): Likewise.
11156         * java/security/Security.java (insertProviderAt): Provider index is one
11157         based, not zero based.
11158         (addProvider): Likewise.
11159         (removeProvider): Likewise.
11160         * java/security/Signature.java (provider): Now package private.
11161         (getInstance(String)): Use getInstance(String,Provider).
11162         (getInstance(String,String): Use getInstance(String,Provider)
11163         (getInstance(String,Provider): New method.
11164         (getInstance(String,String,Provider): Don't cast DummySignature.
11165
11166 2002-11-15  Tom Tromey  <tromey@redhat.com>
11167
11168         For PR libgcj/8593:
11169         * java/util/zip/GZIPInputStream.java (read): Check file size.
11170         Look in inflater for remaining input bytes.
11171         (read4): Added buf and offset arguments.
11172
11173 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
11174
11175         * java/applet/AppletContext.java: Fix typo and remove redundant
11176         modifiers.
11177
11178 2002-11-14  Tom Tromey  <tromey@redhat.com>
11179
11180         * java/lang/natRuntime.cc (insertSystemProperties): Set
11181         gnu.classpath.home.
11182
11183 2002-11-13  Michael Koch <konqueror@gmx.de>
11184
11185         * java/nio/ByteBuffer.java
11186         (allocate): New method.
11187         (wrap): New method.
11188         (put): New method.
11189         (get): New method.
11190
11191 2002-11-13  Michael Koch <konqueror@gmx.de>
11192
11193         * java/nio/channels/AlreadyConnectedException.java:
11194         Removed unneeded import.
11195         (AlreadyConnectedException): Documentation added.
11196         * java/nio/channels/Pipe.java
11197         (SinkChannel.SinkChannel): Documentation added.
11198         (SinkChannel.validOps): New method.
11199         (SourceChannel.SourceChannel): Documentation added.
11200         (SourceChannel.validOps): New method.
11201         (Pipe): Documentation added.
11202         (open): Documentation added.
11203         (SinkChannel.channel): Documentation added.
11204         (SourceChannel.channel): Documentation added.
11205         * java/nio/channel/SelectableChannel.java
11206         (SelectableChannel): Documentation added.
11207         (blockingLock): Documentation added.
11208         (configureBlocking):Documentation added.
11209         (isBlocking):Documentation added.
11210         (isRegistered):Documentation added.
11211         (keyFor):Documentation added.
11212         (provider):Documentation added.
11213         (register): Documentation added.
11214         (validOps): Documentation added.
11215         * jaba/nio/channels/SelectionKey.java
11216         (SelectionKey): Documentation added.
11217         (attach): Documentation added.
11218         (attachment): Documentation added.
11219         (isAcceptable): Documentation added.
11220         (isConnetable): Documentation added.
11221         (isReadable): Documentation added.
11222         (isWritable): Documentation added.
11223         (cancel): Documentation added.
11224         (channel): Documentation added.
11225         (interestOps): Documentation added.
11226         (isValid): Documentation added.
11227         (readyOps): Documentation added.
11228         (selector): Documentation added.
11229         * jaba/nio/channels/Selector.java
11230         (Selector): Documentation added.
11231         (open): Documentation added.
11232         (close): Documentation added.
11233         (isOpen): Documentation added.
11234         (keys): Documentation added.
11235         (provider): Documentation added.
11236         (select): Documentation added.
11237         (selectedKeys): Documentation added.
11238         (selectNow): Documentation added.
11239         (wakeup): Documentation added.
11240         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11241         (AbstractInterruptibleChannel): Documentation added.
11242         (opened): Default to true;
11243         (begin): Documentation added.
11244         (close): Set opened to false, documentation added.
11245         (isOpen): Documentation added.
11246         * java/nio/channels/spi/AbstractSelectionKey.java
11247         (AbstractSelectionKey): Documentation added.
11248         (cancel): Documentation added.
11249         (isValid): Documentation added.
11250         * java/nio/channels/spi/AbstractSelector.java
11251         (AbstractSelector): Documentation added.
11252         (begin): Documentation added.
11253         (close): Documentation added.
11254         (isOpen): Documentation added.
11255         (deregister): Documentation added.
11256         (end): Documentation added.
11257         (provider): Documentation added.
11258         (implCloseSelector): Documentation added.
11259         (register): Documentation added.
11260         * java/nio/channels/spi/SelectorProvider.java
11261         (SelectorProvider): Documentation added.
11262         (openDatagramChannel): Documentation added.
11263         (openPipe): Documentation added.
11264         (openSelector): Documentation added.
11265         (openServerSocketChannel): Documentation added.
11266         (openSocketChannel): Documentation added.
11267         (provider): Documentation added.
11268
11269 2002-11-12  Michael Koch <konqueror@gmx.de>
11270
11271         * java/nio/Buffer.java: Implemented.
11272         * java/nio/CharBuffer.java: New file.
11273         * java/nio/InvalidMarkException.java: New file.
11274         * java/nio/channels/DatagramChannel.java: Implemented.
11275         * java/nio/channels/ServerSocketChannel.java: Implemented.
11276         * java/nio/channels/SocketChannel.java: Implemented.
11277         * java/nio/channels/spi/AbstractChannel.java: Removed.
11278         * java/nio/channels/spi/AbstractSelectableChannel.java:
11279         Implemented.
11280         * java/nio/charset/Charset.java:
11281         Merge from Classpath.
11282         * java/nio/charset/CharsetDecoder.java: New file.
11283         * java/nio/charset/CharsetEncoder.java: New file.
11284         * java/nio/charset/CoderResult.java: New file.
11285         * Makefile.am (ordinary_java_source_files): Added new files.
11286         * Makefile.in: Regenerated.
11287
11288 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11289
11290         * gnu/java/nio/charset/ISO_8859_1.java,
11291         gnu/java/nio/charset/Provider.java,
11292         gnu/java/nio/charset/US_ASCII.java,
11293         gnu/java/nio/charset/UTF_16.java,
11294         gnu/java/nio/charset/UTF_16BE.java,
11295         gnu/java/nio/charset/UTF_16Decoder.java,
11296         gnu/java/nio/charset/UTF_16Encoder.java,
11297         gnu/java/nio/charset/UTF_16LE.java,
11298         gnu/java/nio/charset/UTF_8.java: New files.
11299
11300 2002-11-11  Michael Koch <konqueror@gmx.de>
11301
11302         * java/nio/charset/CharacterCodingException.java:
11303         This class must be public.
11304         * java/nio/charset/CoderMalfunctionError.java:
11305         This class must be public.
11306         * java/nio/charset/CodingErrorAction.java:
11307         This class must be public.
11308         * java/nio/charset/IllegalCharsetNameException.java:
11309         This class must be public, better implementation.
11310         * java/nio/charset/MalformedInputException.java:
11311         This class must be public, better implementation.
11312         * java/nio/charset/UnmappableCharacterException.java:
11313         This class must be public, better implementation.
11314         * java/nio/charset/UnsupportedCharsetException.java:
11315         This class must be public, better implementation.
11316
11317 2002-11-11  Michael Koch <konqueror@gmx.de>
11318
11319         * java/nio/BufferOverflowException.java,
11320         java/nio/BufferUnderflowException.java: New file.
11321         * Makefile.am (ordinary_java_source_files):
11322         Added new files.
11323         * Makefile.in: Regenerated.
11324
11325 2002-11-10  Tom Tromey  <tromey@redhat.com>
11326
11327         * java/awt/Container.java (validate): Use tree lock.
11328         (getComponent): Likewise.
11329         (getComponents): Likewise.
11330         (addImpl): Likewise.
11331         (remove): Likewise.
11332         (removeAll): Likewise.
11333         (processEvent): Fixed indentation.
11334         (getComponentAt): Use tree lock.
11335         (findComponentAt): Likewise.
11336         (removeNotify): Likewise.
11337         (isAncestorOf): Likewise.
11338         (list): Likewise.
11339         (visitChildren): Likewise.
11340         (findNextFocusComponent): Likewise.
11341         (addNotifyContainerChildren): Likewise.
11342         (getAccessibleChildrenCount): Likewise.
11343         (getAccessibleChild): Likewise.
11344
11345         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11346         (getSize): Likewise.
11347         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11348         (getSize): Likewise.
11349         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11350         (calcSize): Likewise.
11351         * java/awt/CardLayout.java (getSize): Use tree lock.
11352         (gotoComponent): Likewise.
11353         (layoutContainer): Likewise.
11354
11355         * java/io/natFileDescriptorWin32.cc (read): Handle case where
11356         count is 0.
11357         * java/io/natFileDescriptorPosix.cc (read): Handle case where
11358         count is 0.
11359
11360         * java/io/Externalizable.java, java/io/FilePermission.java,
11361         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11362         java/io/SerializablePermission.java, java/text/Format.java,
11363         java/util/AbstractMap.java, java/util/HashMap.java,
11364         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11365         versions from Classpath.
11366
11367 2002-11-10  Anthony Green  <green@redhat.com>
11368
11369         * java/util/jar/Attributes.java (Name): Fix name check.
11370
11371 2002-11-10  Mark Wielaard  <mark@klomp.org>
11372
11373         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11374         with getName() as message.
11375         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11376         type as message.
11377
11378         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11379         unused.
11380
11381 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
11382
11383         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11384         for Win32. JNICALL has been defined to __stdcall to be compatible
11385         with Sun's JDKs.
11386
11387 2002-11-10  Tom Tromey  <tromey@redhat.com>
11388
11389         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11390         (setRows): Check newRows, not rows.
11391
11392         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11393
11394 2002-11-09  Tom Tromey  <tromey@redhat.com>
11395
11396         * java/applet/Applet.java, java/applet/AppletContext.java,
11397         java/applet/AppletStub.java, java/applet/AudioClip.java,
11398         java/awt/CardLayout.java,
11399         java/awt/ContainerOrderFocusTraversalPolicy.java,
11400         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11401         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11402         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11403         java/awt/color/ICC_ColorSpace.java,
11404         java/awt/color/ICC_Profile.java,
11405         java/awt/color/ICC_ProfileGray.java,
11406         java/awt/color/ICC_ProfileRGB.java,
11407         java/awt/datatransfer/DataFlavor.java,
11408         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11409         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11410         New versions from Classpath.
11411         * Makefile.in: Rebuilt.
11412         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11413         ICC_ProfileRGB.
11414
11415         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11416         display policy.
11417
11418         * java/awt/List.java (processEvent): Added missing `else's.
11419
11420         * java/awt/Window.java (show): validate() before showing.  Make
11421         parent displayable.
11422         (isDisplayable): New method.
11423
11424 2002-11-07  Mark Wielaard  <mark@klomp.org>
11425
11426         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11427         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11428
11429         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11430         annotation.
11431         (loadClass): Take String as codebases.
11432         (getClassAnnotation): Use MyClassLoader annotations.
11433         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11434         call exportObject(this).
11435
11436         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11437         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11438         (setAnnotation): Don't set locBytesStream and locStream.
11439         (replaceObject): Removed.
11440         (flush): Don't test locStream.
11441         (getLocBytes): LikeWise.
11442         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11443         (leaseCache): New field.
11444         (dirty): Use leaseCache.
11445         (LeaseRecord): New inner class.
11446         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11447         explicitly call exportObject().
11448         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11449         false to communicate with Sun JDK130.
11450         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11451         * gnu/java/rmi/server/RMIObjectInputStream.java
11452         (UnicastConnectionManager): Removed field.
11453         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11454         Use UnicastServer.getExportedRef().
11455         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11456         (expireTime): Likewise.
11457         (CONNECTION_TIMEOUT): Likewise.
11458         (disconnect): Call sock.close().
11459         (isExpired): New method.
11460         (resetTime): Likewise.
11461         (run): Use do while loop and catch Exception for discardConnection().
11462         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11463         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11464         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11465         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11466         (exportObject): Use refcache.
11467         (unexportObject): Likewise.
11468         (getExportedRef): New method.
11469         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11470         constructor.
11471         (exportObject): Save manager.serverobj.
11472         (getStub): New method.
11473
11474 2002-11-07  Mark Wielaard  <mark@klomp.org>
11475
11476         * java/lang/reflect/natField.cc (getBoolean): Use getType().
11477         (getByte): Likewise.
11478         (getShort): Likewise.
11479         (getInt): Likewise.
11480         (getLong): Likewise.
11481         (getFloat): Likewise.
11482         (getDouble): Likewise.
11483         (get): Likewise.
11484         (setChar): Likewise.
11485         (setByte): Likewise.
11486         (setShort): Likewise.
11487         (setInt): Likewise.
11488         (setLong): Likewise.
11489         (setFloat): Likewise.
11490         (setDouble): Likewise.
11491
11492 2002-11-07  Michael Koch <konqueror@gmx.de>
11493
11494         * java/awt/Choice.java,
11495         java/awt/Container.java,
11496         java/awt/GridBagLayout.java:
11497         Fixed documentation.
11498         * java/awt/peer/ContainerPeer.java:
11499         Reindented.
11500
11501 2002-11-07  Michael Koch <konqueror@gmx.de>
11502
11503         * java/awt/color/ICC_Profile.java:
11504         Added missing constants.
11505         * java/awt/color/ICC_ColorSpace.java
11506         (getMinValue): Added dummy implementation.
11507         (getMaxValue): Added dummy implementation.
11508         * java/awt/datatransfer/DataFlavor.java
11509         (imageFlavor): Added.
11510         (isMimeTypeEqual): Must be final.
11511         (getDefaultRepresentationClass): Must be non-static.
11512         (getDefaultRepresentationClassAsString): Must be non-static.
11513         * java/awt/dnd/DragSourceContext.java
11514         (dragExit): Corrected argument.
11515         (dragDropEnd): Corrected argument.
11516         * java/awt/dnd/DragSourceListener.java.java
11517         (dragExit): Corrected argument.
11518         (dragDropEnd): Corrected argument.
11519         * java/awt/font/TextHitInfo.java
11520         (toString): Added stubbed implementation.
11521         * java/awt/geom/PathIterator.java:
11522         The constants must be static.
11523         * java/awt/image/VolatileImage.java
11524         (IMAGE_INCOMPATIBLE): Fixed typo.
11525         * java/awt/image/renderable/RenderableImage.java
11526         (HINTS_OBSERVED): Must be static.
11527         * java/beans/BeanInfo.java:
11528         Constants must be final.
11529
11530 2002-11-06  Tom Tromey  <tromey@redhat.com>
11531
11532         From svens@it.uu.se.  For PR libgcj/8481.
11533         * java/util/Random.java (nextInt(int)): Only use 31 bits.
11534
11535 2002-11-06  Tom Tromey  <tromey@redhat.com>
11536
11537         * jni.cc (array_from_valist): Assume that jlong won't be
11538         promoted.
11539
11540 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
11541
11542         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11543         Return 20.
11544         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11545         Return 16.
11546
11547 2002-11-03  Tom Tromey  <tromey@redhat.com>
11548
11549         * java/lang/ClassLoader.java (loadClass): Call loadClass on
11550         VMClassLoader, not findClass.
11551
11552 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
11553
11554         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11555         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11556         _Jv_DetermineVTableIndex, to determine vtable offset.
11557         (_Jv_DetermineVTableIndex): Remove.
11558         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
11559
11560         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11561
11562 2002-11-03  Tom Tromey  <tromey@redhat.com>
11563
11564         * java/nio/channels/AlreadyConnectedException.java: Extend
11565         IllegalStateException, per spec.
11566
11567 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
11568
11569         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11570
11571 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11572
11573         * java/util/ArrayList.java (readObject, writeObject): Only read/write
11574         size items.
11575
11576 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11577
11578         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11579         initial estimated size to avoid enlarge buffer frequently.
11580
11581 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
11582
11583         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11584         ClassLoader when null.
11585         (ProxyType.hashCode): Loader null check no longer needed.
11586         (ProxyType.sameTypes): New method.
11587         (ProxyType.equals): Use new method.
11588
11589 2002-10-31  Mark Wielaard  <mark@klomp.org>
11590
11591         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11592         length of String.
11593         * java/net/URLEncoder.java (encode): Likewise.
11594
11595 2002-10-31  Mark Wielaard  <mark@klomp.org>
11596
11597         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11598         when stream is closed.
11599         (closeEntry): Likewise.
11600         (read): Likewise.
11601         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11602         ZipException when no entry active.
11603         (closeEntry): Likewise.
11604         (write): Likewise.
11605
11606 2002-11-02  Tom Tromey  <tromey@redhat.com>
11607
11608         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11609         * java/lang/natClass.cc (initializeClass): Don't return just
11610         because self==thread.
11611
11612         For PR java/8415:
11613         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11614         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11615
11616 2002-11-02  Andreas Schwab  <schwab@suse.de>
11617
11618         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11619         pass GCJFLAGS.
11620         (FLAGS_TO_PASS): Define.
11621         * Makefile.in: Regenerated.
11622
11623 2002-11-01  Michael Koch  <konqueror@gmx.de>
11624
11625         * java/nio/ByteOrder.java: New file.
11626         * java/nio/channels/DatagramChannel.java:
11627         (DatagramChannel): New constructor.
11628         * java/nio/channels/Pipe.java: New file.
11629         * java/nio/channels/SelectableChannel.java: New file.
11630         * java/nio/channels/SelectionKey.java: New file.
11631         * java/nio/channels/Selector.java: New file.
11632         * java/nio/channels/ServerSocketChannel.java
11633         (ServerSocketChannel): New constructor.
11634         * java/nio/channels/SocketChannel.java
11635         (SocketChannel): New constructor.
11636         * java/nio/channels/Pipe.java: New file.
11637         * java/nio/channels/spi/AbstractChannel.java: New file.
11638         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11639         * java/nio/channels/spi/AbstractSelectableChannel.java:
11640         License added
11641         (AbstractSelectableChannel): New stubbed method.
11642         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11643         * java/nio/channels/spi/AbstractSelector.java: New file.
11644         * java/nio/channels/spi/SelectorProvider.java: New file.
11645         * java/nio/charset/Charset.java: New file.
11646         * java/nio/charset/CoderMalfunctionError.java: New file.
11647         * java/nio/charset/CodingErrorAction.java: New file.
11648         * java/nio/charset/spi/CharsetProvider.java
11649         (charsetForName): Uncommented.
11650         * Makefile.am (java_native_source_files): Added new files.
11651         * Makefile.in: Regenerated.
11652
11653 2002-11-01  Michael Koch  <konqueror@gmx.de>
11654
11655         * java/net/InetAddress.java:
11656         (isAnyLocalAddress): Implemented.
11657         (isLoopbackAddress): Implemented, comment added.
11658         (isLinkLocalAddress): Implemented, documentation added.
11659         (isSiteLocalAddress): Implemented, documentation added.
11660         (isMCGlobal): Implemented, documentation added.
11661         (isMCNodeLocal): Implemented, documentation added.
11662         (isMCLinkLocal): Implemented, documentation added.
11663         (isMCSiteLocal): Implemented, documentation added.
11664         (isMCOrgLocal): Implemented, documentation added.
11665         (getHostName): Documentation added.
11666         (getCanonicalHostName): Implemented, documentation added.
11667         (getAddress): Documentation added.
11668         (hashCode): Documentation added.
11669         (equals): Documentation added.
11670         (toString): Fixed implementation.
11671         (getByAddress): Use Inet4Address and Inet6Address.
11672         (lookup): New linewrap.
11673         (getByName): SecurityManager check added, support Inet4Address and
11674         Inet6address, comments added.
11675         (getAllByName): SecurityManager check added, comments added.
11676         * java/net/Inet6Address.java:
11677         (Inet6Address): Initialize parent class with addr instead of null.
11678         * java/net/URL.java
11679         (equals): Documentation added.
11680         (getFile): Documentation added.
11681         (hashCode): Documentation added.
11682         * java/net/natInetAddress.cc:
11683         (aton): Fix IPv6 support.
11684         * java/net/natPlainDatagramSocketImpl.cc:
11685         (peek): Throw PortUnreachableException when suitable.
11686         (peekData): Throw PortUnreachableException when suitable.
11687         (send): Throw PortUnreachableException when suitable.
11688         (receive): Throw PortUnreachableException when suitable.
11689
11690 2002-10-27  Mark Wielaard  <mark@klomp.org>
11691
11692         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11693         argument.
11694         (readLeShort): Likewise and use byte[].
11695         (readLeInt): Likewise.
11696         (readEntries): Use new versions of methods and use byte[] for reading
11697         a complete zip entry. Add ZipFile name to exceptions.
11698         (entries): Add ZipFile name to exceptions.
11699         (getEntry): Likewise.
11700         (checkLocalHeader): Use new versions of methods and add ZipFile name
11701         to exceptions.
11702
11703 2002-10-31  Mark Anderson  <mark@panonet.net>
11704
11705         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11706         added
11707
11708 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
11709
11710         * configure.in: Disable hash sync when not using threads.
11711         * configure: Regenerated.
11712
11713 2002-10-24  Tom Tromey  <tromey@redhat.com>
11714
11715         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11716         (_Jv_FindSymbolInExecutable): Removed argument name.
11717         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11718         java.library.path is set.
11719
11720         * gij.cc (help): Document --showversion.
11721         (version): Don't exit.
11722         (main): Handle --showversion.  Exit if --version given.
11723
11724 2002-10-23  Tom Tromey  <tromey@redhat.com>
11725
11726         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11727         (array_from_valist): Correctly handle promotion for jint, jlong,
11728         jfloat, and jdouble.
11729
11730 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
11731
11732         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11733         GetFileAttributesEx( ) to find file length and modification times,
11734         as the latter is not present on Windows 95.
11735
11736 2002-10-21  Michael Koch  <konqueror@gmx.de>
11737
11738         * java/net/URL.java
11739         (URL): Activate SecurityManager checks.
11740         (equals): Use URLStreamHandler implementation instead of doing it
11741         alone. This allows special protocol stream handlers to change default
11742         behaviour.
11743         (hashCode): Use URLStreamHandler implementation instead of doing it
11744         alone. This allows special protocol stream handlers to change default
11745         behaviour.
11746         * java/net/URLStreamHandler.java
11747         (equals): Implemented default URL equality check.
11748         (hostsEqual): Implemented default URL equality check.
11749         (hashCode): Implemented default URL hashCode algorithm.
11750         * java/net/natPlainDatagramSocketImpl.cc:
11751         No lines longer then 80 characters.
11752
11753 2002-10-20  Adam Megacz <adam@xwt.org>
11754
11755         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11756         * configure.in: enabled hash sync on Win32
11757         * include/win32-threads.h (_Jv_ThreadId_t): added.
11758         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11759         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11760         removed some posix-isms, use Thread::sleep() instead of usleep,
11761         added code to clear bottom three bits if platform has a broken
11762         linker.
11763         * include/win32-threads.h (_Jv_ThreadId_t): added.
11764
11765 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
11766
11767         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11768         runtime property "gnu.gcj.progname" containing the name used to
11769         invoke the current Java program (similar to argv[0] for C
11770         programs).
11771
11772 2002-10-15  Tom Tromey  <tromey@redhat.com>
11773
11774         Fix for PR libgcj/8234:
11775         * java/util/zip/natInflater.cc (reset): Reset avail_in.
11776         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11777
11778 2002-10-13  Mark Wielaard  <mark@klomp.org>
11779
11780         * mauve-libgcj: Enable Mauve tests that compile now.
11781
11782 2002-10-11  Mark Wielaard  <mark@klomp.org>
11783
11784         Fix for PR libgcj/8142
11785         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11786         loading native modules.
11787
11788 2002-10-10  Michael Koch  <konqueror@gmx.de>
11789
11790         * javax/swing/AbstractListModel.java
11791         (getListDataListeners): New stubbed method.
11792         javax/swing/DefaultBoundedRangeModel.java
11793         (getChangeListeners): New stubbed method.
11794         javax/swing/DefaultSingleSelectionModel.java
11795         (getChangeListeners): New stubbed method.
11796
11797 2002-10-10  Michael Koch  <konqueror@gmx.de>
11798
11799         * gcj/.cvsignore: New file to ignore files generated during build.
11800         * include/.cvsignore: New file to ignore files generated during build.
11801
11802 2002-10-10  Michael Koch  <konqueror@gmx.de>
11803
11804         * java/net/HttpURLConnection.java
11805         (getPermission): New method.
11806         (getErrorStream): New stub method.
11807         (getHeaderFieldDate): New stub method.
11808         * java/net/Inet4Address.java:
11809         (isLinkLocalAddress): Typo fixed.
11810         * java/net/InetAddress.java:
11811         (readResolve): New stubbed method (for serialization).
11812         (isAnyLocalAddress): New stubbed method.
11813         (isLoopbackAddress): New stubbed method.
11814         (isLinkLocalAddress): New stubbed method.
11815         (isSiteLocalAddress): New stubbed method.
11816         (isMCGlobal): New stubbed method.
11817         (isMCNodeGlobal): New stubbed method.
11818         (isMCLinkLocal): New stubbed method.
11819         (isMCSiteLocal): New stubbed method.
11820         (isMCOrgLocal): New stubbed method.
11821         (getCanonicalHostName): New stubbed method.
11822         (getByAddress): Create instances of Inet4Address/Inet6Address,
11823         instead of InetAddress, documentation added.
11824         * java/net/MulticastSocket.java
11825         (getInterface): Removed FIXME.
11826         (getNetworkInterface): New method.
11827         (setNetworkInterface): New method.
11828         * java/net/NetworkInterface.java:
11829         (toString): Use property "line.separator" instead of "\n".
11830         * java/net/URLConnection.java
11831         (getContent): New stubbed method.
11832         * java/net/URLStreamHandler.java:
11833         (equals): New stubbed method.
11834         (hostsEqual): New stubbed method.
11835         (hashCode): New stubbed method.
11836         * java/net/natNetworkInterface.cc:
11837         (getRealNetworkInterfaces): Create Inet4Address object
11838         instead of InetAddress.
11839
11840 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11841
11842         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11843         unsigned long temporary to implement insn_iushr shifts.
11844
11845 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
11846
11847         * configure.host [s390*-*]: Enable Java interpreter.
11848         Enable hash synchronization.  Add sysdeps dir.
11849         * sysdep/s390/locks.h: New file.
11850
11851 2002-10-06  Mark Wielaard  <mark@klomp.org>
11852
11853         * java/lang/Thread.java (setDaemon): Check startable_flag,
11854         not isAlive().
11855
11856 2002-10-07  Michael Koch  <konqueror@gmx.de>
11857
11858         * java/nio/Buffer.java: New stub file.
11859         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11860         of class Charset.
11861         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11862         * Makefile.in: Regenerated.
11863
11864 2002-10-07  Michael Koch  <konqueror@gmx.de>
11865
11866         * java/nio/ByteBuffer.java:
11867         removed import of not commited class.
11868
11869 2002-10-07  Michael Koch  <konqueror@gmx.de>
11870
11871         * java/nio/ByteBuffer.java,
11872         java/nio/MappedByteBuffer.java:
11873         New files, forgot to add these dummies.
11874         * Makefile.am (java_native_source_files): Added new files.
11875         * Makefile.in: Regenerated.
11876
11877 2002-10-07  Michael Koch  <konqueror@gmx.de>
11878
11879         * java/nio/channels/AlreadyConnectedException.java,
11880         java/nio/channels/ClosedChannelException.java,
11881         java/nio/channels/ReadableByteChannel.java,
11882         java/nio/channels/InterruptibleChannel.java,
11883         java/nio/channels/Channel.java,
11884         java/nio/channels/ByteChannel.java,
11885         java/nio/channels/GatheringByteChannel.java,
11886         java/nio/channels/ScatteringByteChannel.java,
11887         java/nio/channels/WritableByteChannel.java,
11888         java/nio/charset/CharacterCodingException.java,
11889         java/nio/charset/IllegalCharsetNameException.java,
11890         java/nio/charset/MalformedInputException.java,
11891         java/nio/charset/UnmappableCharacterException.java,
11892         java/nio/charset/UnsupportedCharsetException.java,
11893         java/nio/charset/spi/CharsetProvider.java: New file.
11894         These files are exceptions or interfaces,
11895         no real or abstract classes.
11896         * Makefile.am (java_native_source_files): Added new files.
11897         * Makefile.in: Regenerated.
11898
11899 2002-10-05  Michael Koch  <konqueror@gmx.de>
11900
11901         * java/net/InetAddress.java
11902         (getByAddress): Fixed documentation.
11903         (getByAddress): New method.
11904         * java/net/Inet4Address.java: New file.
11905         * java/net/URL.java
11906         (URL): Documentation added.
11907         (getContent): Documentation added.
11908         (getContent): New stubbed method.
11909         (getQuery): New method.
11910         (openConnection): Documentation added.
11911         (openStream): Documentation added.
11912         (setURLStreamHandlerFactory): Documentation added.
11913         * java/net/URI.java: New stub file.
11914         * Makefile.am
11915         (java_native_source_files): Added java/net/Inet4Address.java,
11916         java/net/Inet6Address.java and java/net/URI.java.
11917         * Makefile.in: Regenerated.
11918
11919 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11920
11921         * java/lang/ProtectionDomain.java (linesep): Remove field.
11922         (toString): Use System.getProperty("line.separator").
11923
11924 2002-10-04  Michael Koch  <konqueror@gmx.de>
11925
11926         * java/security/Identity.java: Added serialVersionUID.
11927         * java/security/KeyPair.java: Added serialVersionUID.
11928         * java/security/Provider.java: Added serialVersionUID.
11929         * java/security/SecureRandom.java: Added serialVersionUID.
11930         * java/security/SecureRandomSpi.java: Added serialVersionUID.
11931         * java/security/SignedObject.java: Added serialVersionUID.
11932         * java/security/cert/Certificate.java: Added serialVersionUID.
11933
11934 2002-10-04  Mark Wielaard <mark@klomp.org>
11935
11936         * java/security/Security.java: Use java.home or gnu.classpath.home
11937         to load providers.
11938         (loadProviders): Extra dir argument.
11939         (getProvider): Return null when not found.
11940
11941 2002-10-04  Mark Wielaard  <mark@klomp.org>
11942
11943         * java/lang/Throwable.java: Remerge with Classpath.
11944
11945 2002-10-04  Michael Koch  <konqueror@gmx.de>
11946
11947         * java/net/InetAddress.java:
11948         (isMulticastAddress): Added documentation.
11949         (getHostAddress): Added documentation.
11950         (toString): Added documentation.
11951         (getByAddress): Fixed documentation.
11952         (getByName): Added documentation.
11953         (getAllByName): Added documentation.
11954         (getLocalHost): Added documentation.
11955
11956 2002-10-04  Michael Koch  <konqueror@gmx.de>
11957
11958         * java/beans/beancontext/BeanContextChildSupport.java:
11959         Added serialVersionUID.
11960         * java/text/Collator.java: (compare): Made documentation HTML-aware.
11961         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11962         * javax/naming/Name.java: Added serialVersionUID.
11963
11964 2002-10-03  Adam Megacz <adam@xwt.org>
11965
11966         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11967         some functionality that isn't supported yet on WIN32.
11968
11969 2002-10-03  Tom Tromey  <tromey@redhat.com>
11970
11971         * Makefile.in: Rebuilt.
11972         * Makefile.am (awt_java_source_files): Added new files.
11973
11974 2002-10-03  Michael Koch  <konqueror@gmx.de>
11975
11976         * java/net/InetAddress.java
11977         (class InetAddress): Removed final keyword.
11978         (equals): Fixed typo.
11979         (getByAddress): New method.
11980
11981 2002-10-03  Michael Koch  <konqueror@gmx.de>
11982
11983         * java/awt/dnd/Autoscroll.java:
11984         New file, merge from Classpath.
11985         * java/awt/dnd/DragSourceAdapter.java:
11986         (dragExit): Fixed typos in argument type.
11987         (dragDropEnd): Fixed typos in argument type.
11988         * java/awt/dnd/DragSourceDropEvent.java:
11989         New file, merge from Classpath.
11990         * java/awt/dnd/DropTarget.java:
11991         Added stubs, merge from Classpath.
11992         * java/awt/dnd/DropTargetAdapter.java:
11993         New file, merge from Classpath.
11994         * java/awt/dnd/DropTargetContext.java:
11995         New file, merge from Classpath.
11996         * java/awt/dnd/DropTargetDragEvent.java:
11997         New file, merge from Classpath.
11998         * java/awt/dnd/DropTargetDropEvent.java:
11999         New file, merge from Classpath.
12000         * java/awt/dnd/DropTargetEvent.java:
12001         New file, merge from Classpath.
12002         * java/awt/dnd/DropTargetListener.java:
12003         New file, merge from Classpath.
12004         * java/awt/dnd/MouseDragGestureRecognizer.java:
12005         New file, merge from Classpath.
12006         * java/awt/dnd/peer/DropTargetContextPeer.java:
12007         New file, merge from Classpath.
12008
12009 2002-10-03  Michael Koch  <konqueror@gmx.de>
12010
12011         * java/net/DatagramPacket.java
12012         (setLength): Fixed typo and be HTML-aware.
12013         * java/net/InetSocketAddress.java
12014         (InetSocketAddress): Correct initialization of hostname, fixed typo.
12015         (equals): Added comment about equality of InetSocketAddress objects.
12016         * java/net/ServerSocket.java
12017         (accept): Added checks.
12018         (isClosed): New stubbed method.
12019         * java/net/SocketOptions.java: Reindention.
12020         * java/net/SocketPermission
12021         (SocketPermission): Documentation fixed.
12022
12023 2002-10-03  Michael Koch  <konqueror@gmx.de>
12024
12025         * java/net/DatagramSocket.java
12026         (receive): Check with SecurityManager AFTER the packet is received,
12027         check if connected to multicast address, documentation added.
12028         (send): Only check SecurityManager if connected, check address of
12029         packet to send.
12030         (connect): Implemented, documentation added.
12031         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12032         * java/net/InetSocketAddress.java
12033         (whole file): Reindented.
12034         (hostname): New attribute.
12035         (InetSocketAddress): Initialize new attribute.
12036         (getAddress): Documentation added.
12037         (getHostName): Documentation added.
12038         (getPort): Documentation added.
12039         (hashCode): Documentation added.
12040         (isUnresolved): Documentation added.
12041         (toString): Conform to output of JDK 1.4.1, documentation added.
12042         * java/net/MulticastSocket.java
12043         (joinGroup): Removed FIXME, documentation added.
12044         (leaveGroup): Removed FIXME, documentation added.
12045         (send): Documentation added.
12046         * java/net/Socket.java
12047         (inputShutdown): New variable.
12048         (outputShutdown): New variable.
12049         (Socket): Initialize new variables.
12050         (getRemoteSocketAddress): Check if connected.
12051         (shutdownInput): Set new variable.
12052         (shutdownOutput): Set new variable.
12053         (isConnected): New method.
12054         (isClosed): New method.
12055         (isInputShutdown): New method.
12056         (isOutputShutdown): New method.
12057         * java/net/URLStreamHandler.java
12058         (URLStreamHandler): New method.
12059         (openConnection): Added documentation.
12060         (parseURL): Added documentation.
12061         (getHostAddress): New method.
12062         (getDefaultPort): New method.
12063
12064 2002-10-02  Tom Tromey  <tromey@redhat.com>
12065
12066         * java/rmi/activation/ActivationDesc.java,
12067         java/rmi/activation/ActivationGroupDesc.java,
12068         java/rmi/activation/ActivationGroupID.java,
12069         java/rmi/activation/ActivationID.java: New versions from
12070         Classpath.
12071
12072 2002-09-30  Bo Thorsen  <bo@suse.de>
12073
12074         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12075
12076 2002-09-30  Tom Tromey  <tromey@redhat.com>
12077
12078         * java/io/ObjectInputStream.java (resolveProxyClass): New method
12079         from Classpath.
12080         * Makefile.in: Rebuilt.
12081         * Makefile.am (rmi_java_source_files): Added new files.
12082         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12083         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12084         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12085         Classpath.
12086         * gnu/java/rmi/dgc/DGCImpl.java,
12087         gnu/java/rmi/dgc/DGCImpl_Skel.java,
12088         gnu/java/rmi/dgc/DGCImpl_Stub.java,
12089         gnu/java/rmi/registry/RegistryImpl_Skel.java,
12090         gnu/java/rmi/registry/RegistryImpl_Stub.java,
12091         gnu/java/rmi/server/RMIHashes.java,
12092         gnu/java/rmi/server/RMIObjectInputStream.java,
12093         gnu/java/rmi/server/RMIObjectOutputStream.java,
12094         gnu/java/rmi/server/UnicastConnection.java,
12095         gnu/java/rmi/server/UnicastConnectionManager.java,
12096         gnu/java/rmi/server/UnicastRef.java,
12097         gnu/java/rmi/server/UnicastServer.java,
12098         gnu/java/rmi/server/UnicastServerRef.java,
12099         java/rmi/MarshalledObject.java,
12100         java/rmi/server/RMIClassLoader.java,
12101         java/rmi/server/RemoteObject.java,
12102         java/rmi/server/UnicastRemoteObject.java,
12103         java/security/SecureClassLoader.java: Merged from Classpath.
12104
12105 2002-09-29  Anthony Green  <green@redhat.com>
12106
12107         * java/lang/reflect/UndeclaredThrowableException.java: New file.
12108         Imported from GNU Classpath.
12109         * java/lang/reflect/natProxy.cc: New file.
12110         * java/lang/reflect/InvocationHandler.java: New file.  Imported
12111         from GNU Classpath.
12112         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
12113         Classpath.
12114         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
12115         Classpath.
12116         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
12117         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
12118         New statics.
12119         * gcj/javaprims.h ("Java"): Add new classes.
12120         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
12121         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
12122         java/lang/reflect/Proxy$$ProxyType.h): And this.
12123         (inner_nat_headers): Add these new headers.
12124         (ordinary_java_source_files): Add new files.
12125         (nat_source_files): Add new file.
12126         * Makefile.in: Rebuilt.
12127
12128 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
12129
12130         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
12131         a single configuration.
12132
12133 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12134
12135         * java/util/TimeZone.java (getDSTSavings): New method.
12136         Fixes PR libgcj/7786.
12137
12138 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12139
12140         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
12141         to see if `the_method == 0' before looking up vtable index.
12142         Fixes PR libgcj/7709.
12143
12144 2002-09-25  Tom Tromey  <tromey@redhat.com>
12145
12146         * java/lang/natClassLoader.cc:
12147         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
12148         * resolve.cc: Include NoClassDefFoundError.h, not
12149         ClassNotFoundException.h.
12150         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
12151
12152         * defineclass.cc: Don't include ClassNotFoundException.h.
12153
12154         * resolve.cc: Include StringBuffer.
12155         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
12156
12157         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
12158         allocated but not initialized.
12159
12160 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12161
12162         Fix for PR libgcj/7766:
12163         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
12164         (getNextEntry): Set it.
12165         (closeEntry): Likewise.
12166         (read): Likewise.
12167         (close): Likewise.
12168         (available): Use it.
12169
12170 2002-09-25  Michael Koch  <konqueror@gmx.de>
12171
12172         * java/net/DatagramSocket.java
12173         (DatagramSocket): Initialize new instance variables.
12174         (close): Reset new instance variables.
12175         (getLocalAddress): Remove unneeded SecurityManager usage.
12176         (getLocalPort): Check if socket is already bound.
12177         (isConnected): New method.
12178         (getInetAddress): Implemented.
12179         (getPort): Better Implementation, documentation fixed.
12180         (getRemoteSocketAddress): New method.
12181         * java/net/JarURLConnection.java
12182         (element): Typo fixed.
12183         (getMainAttributes): New method.
12184         (getAttributes): New method (stub only).
12185         (getManifest): New method (stub only).
12186         * java/net/NetPermission.java: Added serialVersionsUID.
12187         * java/net/Socket.java
12188         (connect): Check blocking mode of associated channel,
12189         documentation added.
12190         (getLocalSocketAddress): Better implementation.
12191         (getRemoteSocketAddress): Implemented.
12192         (isBound): New method.
12193         (setSendBufferSize): Documentation added.
12194         * java/net/SocketAddress.java: Added serialVersionsUID.
12195         * java/net/SocketPermission.java: Added serialVersionsUID.
12196         * java/net/URL.java
12197         (URL): Wrap for shorter lines, initialize new instance variables,
12198         documentation added.
12199         (equals): Check new instance variables too.
12200         (getContent): Documentation added.
12201         (getPath): Documentation added.
12202         (getAuthority): New method.
12203         (getHost): Documentation added.
12204         (getPort): Documentation added.
12205         (getDefaultPort): New method.
12206         (getProtocol): Documentation added.
12207         (getUserInfo): Documentation added.
12208         (set): Initialize new instance variables, documentation added.
12209         * java/net/URLStreamHandler.java
12210         (setURL): New method.
12211         * java/net/natPlainDatagramSocketImpl.cc
12212         (connect): Fix exception name.
12213         (disconnect): Fix exception name.
12214
12215 2002-09-25  Michael Koch  <konqueror@gmx.de>
12216
12217         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12218         * java/nio/channels/DatagramChannel.java:
12219         extends AbstractSelectableChannel
12220         * java/nio/channels/ServerSocketChannel.java:
12221         extends AbstractSelectableChannel
12222         * java/nio/channels/SocketChannel.java:
12223         extends AbstractSelectableChannel
12224         * Makefile.am (ordinary_java_source_files):
12225         java/nio/channels/spi/AbstractSelectableChannel.java added.
12226         * Makefile.in: Regenerated.
12227
12228 2002-09-25  Michael Koch  <konqueror@gmx.de>
12229
12230         * java/net/DatagramSocket.java
12231         (DatagramSocket): Exception documentation added.
12232         (bind): Exception documentation added, addded SecurityManager check,
12233         added SocketAddress type check.
12234         (getSoTimeout): Check impl.
12235         (receive): Fix SecurityManager check, check impl, documentation added.
12236         (send): Check channel mode, documentation added.
12237         (connect): New method.
12238         (disconnect): Implemented.
12239         (getLocalSocketAddress): New method.
12240         (getReceiveBufferSize): Check impl.
12241         (setReuseAddress): Check impl.
12242         (getReuseAddress): Check impl.
12243         (setBroadcast): Check impl.
12244         (getBroadcast): Check impl.
12245         (setTrafficClass): Check impl, Documentation cleared.
12246         (getTrafficClass): Check impl.
12247         (getSendBufferSize): Check impl.
12248         (setReceiveBufferSize): Check impl, documentation added.
12249         (setSendBufferSize): Documentation added.
12250         (setDatagramSocketImplFactory): New method.
12251         * java/net/HttpURLConnection.java
12252         (HTTP_INTERNAL_ERROR): The correct code is 500.
12253         (HTTP_NOT_IMPLEMENTED): Added new constant.
12254         (setFollowRedirects): Documentation added.
12255         (getInstanceFollowRedirects): New method.
12256         (setInstanceFollowRedirects): New method.
12257         (setRequestMethod): Documentation added.
12258         (getResponseCode): Documentation added.
12259         (getResponseMessage): Documentation added.
12260         * java/net/JarURLConnection.java
12261         (JarURLConnection): protected since JDK 1.4.
12262         (getJarEntry): java.io.IOException to IOException, documentation added.
12263         (getJarFile): Documentation added.
12264         * java/net/ServerSocket.java
12265         (ServerSocket): Private to public, exception added.
12266         (ServerSocket): java.io.IOException to IOException, documentation added.
12267         (bind): Check socket address type, documentation added.
12268         (bind): java.io.IOException to IOException, documentation added.
12269         (accept): Documentation added.
12270         (implAccept): Check ch is not non-blocking, documentation added.
12271         (setSoTimeout): Documentation fixed.
12272         (setReceiveBufferSize): Documentation added.
12273         * java/net/Socket.java
12274         (Socket): Documentation added.
12275         (bind): Documentation added.
12276         (connect): Check socket address type, documentation added.
12277         (getRemoteSocketAddress): New method.
12278         (getLocalSocketAddress): New method.
12279         (setSoLinger): Documentation added.
12280         (getReuseAddress): New method.
12281         (setReuseAddress): New method.
12282         (getTrafficClass): New method.
12283         (setTrafficClass): New method.
12284         * java/net/URLStreamHandler.java
12285         (openConnection): java.io.IOException to IOException.
12286         (parseURL): Documentation added.
12287         (sameFile): public to protected, documentation added.
12288         (setURL): Documentation added.
12289         * java/nio/IllegalBlockingModeException.java: New file.
12290         * Makefile.am (ordinary_java_source_files):
12291         added java/nio/IllegalBlockingModeException.java
12292         * Makefile.in: Regenerated.
12293
12294 2002-09-25  Michael Koch  <konqueror@gmx.de>
12295
12296         * java/net/DatagramPacket
12297         (DatagramPacket): Exception documentation added.
12298         (setData): Likewise.
12299         (setSocketAddress): Likewise.
12300         * java/net/DatagramSocketImpl.java
12301         (peek): Documentation addded.
12302         (peekData): Documentation addded.
12303         (send): Documentation addded.
12304         (receive): Documentation addded.
12305         (connect): New method.
12306         (disconnect): New method.
12307         (joinGroup): New abstract method.
12308         (leaveGroup): New abstract method.
12309         * java/net/InetSocketAddress.java
12310         (InetSocketAddress): Documentation added.
12311         (equals): final keyword added.
12312         (getAddress): final keyword added.
12313         (getHostName): final keyword added.
12314         (getPort): final keyword added.
12315         (hashCode): final keyword added.
12316         (isUnresolved): final keyword added.
12317         * java/net/MulticastSocket.java
12318         (MulticastSocket): Documentation added.
12319         (MulticastSocket): New method.
12320         (joinGroup): Documentation added.
12321         (joinGroup): New method.
12322         (leaveGroup): Documentation added.
12323         (leaveGroup): New method.
12324         (send): Documentation added.
12325         * java/net/NetworkInterface.java
12326         (getByName): Documentation added.
12327         (getByInetAddress): Documentation added.
12328         (getNetworkInterfaces): Documentation added.
12329         * java/net/PlainDatagramSocketImpl.java
12330         (connect): New method.
12331         (disconnect): New method.
12332         * java/net/SocketImpl.java
12333         (create): Documentation added.
12334         (shutdownInput): Convert public to protected, as it always was.
12335         (shutdownOutput): Convert public to protected, as it always was.
12336         * java/net/SocketOptions.java
12337         (whole file): Reintented.
12338         * java/net/URLClassLoader.java
12339         (URLClassLoader): SecurityManager check added, documentation added.
12340         (findResources): Documentation added.
12341         (findClass): Documentation added.
12342         (newInstance): More correct method arguments.
12343         * java/net/URLConnection.java
12344         (connect): Documentation added.
12345         (getContent): Documentation added.
12346         (getPermission): Documentation added.
12347         (getInputStream): Documentation added.
12348         (getOutputStream): Documentation added.
12349         (setDoInput): Throw correct exception, documentation added.
12350         (setDoOutput): Throw correct exception, documentation added.
12351         (setAllowUserInteraction): Throw correct exception, documentation added.
12352         (setUseCaches): Throw correct exception, documentation added.
12353         (setIfModifiedSince): Throw correct exception, documentation added.
12354         (setRequestProperty): Throw exception, documentation added.
12355         (addRequestProperty): Throw exception, documentation added.
12356         (getRequestProperty): Throw exception, documentation added.
12357         (getRequestProperties): Documentation added.
12358         (setContentHandlerFactory): Documentation added.
12359         (guessContentTypeFromName): protected to public.
12360         (setFileNameMap): Documentation added.
12361         * java/net/URLDecoder.java
12362         (URLDecoder): New method.
12363         (decode): Documentation added.
12364         (whole file): Reindented.
12365         * java/net/URLEncoder.java
12366         (encode): Documentation added.
12367         * java/net/natPlainDatagramSocketImpl.cc
12368         (connect): New method.
12369         (disconnect): New method.
12370         * javax/naming/RefAddr:
12371         (addrType): addrType was never final.
12372         (equals): Fix typo in method name.
12373         * javax/naming/BinaryRefAddr:
12374         (equals): Fix typo in method name.
12375
12376 2002-09-22  Tom Tromey  <tromey@redhat.com>
12377
12378         Fix for PR libgcj/6576:
12379         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12380         didn't find a given bundle.
12381         (getBundle): Don't require base bundle.
12382         (setParent): Removed old comment.
12383         (tryLocalBundle): Try components even if preceding components were
12384         empty.
12385
12386 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12387
12388         * Makefile.am (all-multi): Fix multilib parallel build.
12389
12390 2002-09-21  Michael Koch  <konqueror@gmx.de>
12391
12392         * java/net/Socket.java
12393         (sendUrgentData): New method.
12394         (getChannel): New method.
12395         * java/net/ServerSocket.java
12396         (getChannel): New method.
12397         (isBound): New method.
12398         * java/net/DatagramSocket.java
12399         (DatagramSocket): Two new methods.
12400         (bind): New method.
12401         (getChannel): New method.
12402         (isBound): New method.
12403         (send): Added newline to to make shorter lines.
12404         * java/net/PlainDatagramSocketImpl.java
12405         (mcastGrp): Added argument.
12406         (join): Use new mcastGrp.
12407         (leave): Use new mcastGrp.
12408         (joinGroup): New method.
12409         (leaveGroup): New method.
12410         * java/net/natPlainDatagramSocketImpl.cc
12411         (mcastGrp): Added argument, no yet really implemented.
12412         (getOption): Added newline for shorter lines.
12413         * java/net/natPlainSocketImpl.cc
12414         (read, setOption, getOption): Added newline for shorter lines.
12415
12416 2002-09-19  Tom Tromey  <tromey@redhat.com>
12417
12418        * java/lang/ClassLoader.java (resolveClass0): Set cause for
12419        newly-created exception.
12420
12421 2002-09-18  Michael Koch  <konqueror@gmx.de>
12422
12423         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12424         java/util/regex/PatternSyntaxException.java:
12425         Merge with classpath, new files.
12426         * Makefile.am (core_java_source_files):
12427         Added java/util/regex/Matcher.java,
12428         java/util/regex/Pattern.java,
12429         java/util/regex/PatternSyntaxException.java
12430         * Makefile.in: Regenerated.
12431         * include/config.h.in: Added HAVE_NET_IF_H.
12432         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12433         Removed #if 0 ... #endif.
12434
12435 2002-09-17  Michael Koch  <konqueror@gmx.de>
12436
12437         * java/net/natNetworkInterface.cc:
12438         Removed unneed and yet wrong includes.
12439
12440 2002-09-17  Michael Koch  <konqueror@gmx.de>
12441
12442         * java/net/NetworkInterface.java: New file.
12443         * java/net/natNetworkInterface.java: New file.
12444         * configure.in: Added check for net/if.h.
12445         * configure: Regenerated.
12446         * Makefile.am
12447         (ordinary_java_source_files): Added NetworkInterface.java.
12448         (nat_source_files): Added natNetworkInterface.cc.
12449         * Makefile.in: Regenerated.
12450
12451 2002-09-16  Tom Tromey  <tromey@redhat.com>
12452
12453         * java/net/URLClassLoader.java (findClass): Code source for a
12454         class from a jar is not necessarily a jar: URL.
12455
12456 2002-09-16  Michael Koch  <konqueror@gmx.de>
12457
12458         * java/lang/AssertionError.java:
12459         Merge with classpath, fixes HTML.
12460         * java/rmi/server/LogStream.java:
12461         Merge with classpath, fixes some constants.
12462         * java/net/server/RemoteServer.java:
12463         Merge with classpath, adds serialVersionUID.
12464         * javax/naming/BinaryRefAddr.java:
12465         Merge with classpath, s/equal/equals/.
12466         * javax/naming/NamingException.java:
12467         Merge with classpath, fixed typo.
12468         * javax/naming/RefAddr.java:
12469         Merge with classpath, s/equal/equals/.
12470         * java/awt/Toolkit.java:
12471         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12472         and typo fixed.
12473
12474 2002-09-15  Adam Megacz <adam@xwt.org>
12475
12476         * java/net/natPlainSocketImpl.cc: fixed typo.
12477
12478 2002-09-15  Adam Megacz <adam@xwt.org>
12479
12480         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12481         which don't work on Win32 (yet).
12482
12483 2002-09-14  Adam Megacz <adam@xwt.org>
12484
12485         * java/net/natPlainDatagramSocket.cc: removed #include
12486         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12487         * include/win32.h: included definition for IP_TOS to satisfy
12488         natPlainDatagramSocket.cc
12489
12490 2002-09-13  Michael Koch  <konqueror@gmx.de>
12491
12492         * java/net/DatagramPacket.java (DatagramPacket):
12493         Added linebreak for 80 chars per line.
12494         * java/net/JarURLConection.java
12495         (getInputStreami, getJarEntry): Likewise.
12496         * java/net/SocketPErmission.java
12497         (SocketPermission class docu, implies): Likewise.
12498         * java/net/URLClassLoader.java (findResources): Likewise.
12499         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12500
12501 2002-09-13  Michael Koch  <konqueror@gmx.de>
12502
12503         * java/nio/channels/DatagramChannel.java,
12504         java/nio/channels/ServerSocketChannel.java
12505         java/nio/channels/SocketChannel.java:
12506         New dummy files to make java.net fully JDK 1.4 compatible
12507         * Makefile.am (ordinary_java_source_files): Added
12508         java/net/DatagramSocketImplFactory.java (long forgotten),
12509         java/nio/SocketChannel.java,
12510         java/nio/ServerSocketChannel.java,
12511         java/nio/DatagramChannel.java
12512         * Makefile.in: Regenrated.
12513
12514 2002-09-12  Michael Koch  <konqueror@gmx.de>
12515
12516         * java/net/DatagramSocketImpl.java
12517         (peekData): New method.
12518         * java/net/PlainDatagramSocketImpl.java
12519         (peekData): New method.
12520         * java/net/natPlainDatagramSocketImpl.cc
12521         (peekData): New method.
12522         * java/net/URLConnection
12523         (getPermission): New method.
12524         (addRequestProperty): New method.
12525         (getRequestProperties): New method.
12526         (guessContentTypeFromStream): New method, not really implemented.
12527         (URLConnection): Added/updated documentation.
12528         (connect): Added/updated documentation.
12529         (getURL): Added/updated documentation.
12530         (getContentLength): Added/updated documentation.
12531         (getContentType: Added/updated documentation.
12532         (getContentEncoding): Added/updated documentation.
12533         (getExpiration): Added/updated documentation.
12534         (getDate): Added/updated documentation.
12535         (getLastModified): Added/updated documentation.
12536         (getHeaderField): Added/updated documentation.
12537         (getHeaderFields): Added/updated documentation.
12538         (getHeaderFieldInt): Added/updated documentation.
12539         (getHeaderFieldDate): Added/updated documentation.
12540         (getHeaderFieldKey): Added/updated documentation.
12541         (getContent): Added/updated documentation.
12542         (getInputStream): Added/updated documentation.
12543         (getOutputStream): Added/updated documentation.
12544         (toString): Added/updated documentation.
12545         (setDoInput): Added/updated documentation.
12546         (getDoInput): Added/updated documentation.
12547         (setDoOutput): Added/updated documentation.
12548         (getDoOutput): Added/updated documentation.
12549         (setAllowUserInteraction): Added/updated documentation.
12550         (getAllowUserInteraction): Added/updated documentation.
12551         (setDefaultAllowUserInteraction): Added/updated documentation.
12552         (getDefaultAllowUserInteraction): Added/updated documentation.
12553         (setUseCaches): Added/updated documentation.
12554         (getUseCaches): Added/updated documentation.
12555         (setIfModifiedSince): Added/updated documentation.
12556         (getIfModifiedSince): Added/updated documentation.
12557         (getDefaultUseCaches): Added/updated documentation.
12558         (setDefaultUseCaches): Added/updated documentation.
12559         (setRequestProperty): Added/updated documentation.
12560         (getRequestProperty): Added/updated documentation.
12561         (setDefaultRequestProperty): Added/updated documentation.
12562         (getDefaultRequestProperty): Added/updated documentation.
12563         (setContentHandlerFactory): Added/updated documentation.
12564         (guessContentTypeFromName): Added/updated documentation.
12565         (getFileNameMap): Added/updated documentation.
12566         (setFileNameMap): Added/updated documentation.
12567
12568 2002-09-11  Michael Koch  <konqueror@gmx.de>
12569
12570         * java/net/Socket.java
12571         (Socket): protected to public (since JDK 1.4). Added @specnote.
12572         (bind): New method.
12573         (connect): Two new methods.
12574         (getKeepalive): Get correct socket option.
12575         (setKeepalive): Set correct socket option.
12576         (getOOBInline): New method.
12577         (setOOBInline): New method.
12578         * java/net/ServerSocket.java
12579         (bind): Two new methods.
12580         (getInetAddress): Reimplemented, catch exception.
12581         (getLocalSocketAddress): New method.
12582         (setReuseAddress): New method.
12583         (getReuseAdress): New method.
12584         (setReceiveBufferSize): New method.
12585         (getReceiveBufferSize): New method.
12586         (toString): Made string JDK 1.4 compliant.
12587
12588 2002-09-10  Michael Koch  <konqueror@gmx.de>
12589
12590         * java/net/SocketImpl.java
12591         (connect): New method.
12592         (supportsUrgentData): New method.
12593         (sendUrgentData): New method.
12594         * java/net/PlainSocketImpl.java
12595         (connect): One new method and two new implementation.
12596         (sendUrgentData): New method.
12597         * java/natPlainSocketImpl.cc
12598         (connect): Arguments changed, added support for timeouts.
12599         (getOption): Another __java_boolean to jboolean.
12600
12601 2002-09-07  Adam Megacz <adam@xwt.org>
12602
12603         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12604         definition of IP_TOS.
12605
12606 2002-09-04  Michael Koch  <konqueror@gmx.de>
12607
12608         * java/net/DatagramSocket.java
12609         (DatagramSocket): Added documentation.
12610         (close): Likewise.
12611         (getLocalAddress): Likewise.
12612         (getLocalPort): Likewise.
12613         (receive): Likewise.
12614         (send): Likewise.
12615         (setSoTimeout): Likewise.
12616         (connect): New method.
12617         (disconnect): New method.
12618         (getInetAddress): New method (FIXME)
12619         (getPort): New method.
12620         (setReuseAddress): New method.
12621         (getReuseAddress): New method.
12622         (setBroadcast): New method.
12623         (getBroadcast): New method.
12624         (setTrafficClass): New method.
12625         (getTrafficClass): New method.
12626         * java/net/MulticastSocket.java):
12627         (getTTL): Added @see in documentation.
12628         (setTTL): Added @see in documentation.
12629         (setLoopbackMode): New method.
12630         (getLoopbackMode): New method.
12631         * java/net/PlainSocketImpl.java:
12632         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12633         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12634         * java/net/PlainDatagramSocketImpl.java
12635         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12636         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12637         * java/net/natPlainSocketImpl.cc
12638         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12639         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12640         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12641         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12642         This should also fix SO_KEEPALIVE
12643         * java/net/natPlainDatagramSocketImpl.cc
12644         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12645         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12646         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12647         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12648
12649 2002-09-04  Michael Koch  <konqueror@gmx.de>
12650
12651         * java/net/SocketOptions.java: added static variables to be JDK 1.4
12652         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12653         IP_MULTICAST_LOOP, IP_TOS
12654
12655 2002-09-03  Tom Tromey  <tromey@redhat.com>
12656
12657         * java/lang/Class.h (_getDeclaredMethod): Declare.
12658         (_getMethod): Now private.
12659         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12660         getDeclaredMethod.  Now returns NULL on failure.
12661         * java/lang/Class.java (_getDeclaredMethod): Declare.
12662         (getDeclaredMethod): No longer native; implements access checks.
12663
12664 2002-09-01  Mark Wielaard  <mark@klomp.org>
12665
12666         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12667         (sanitizeStack): Correctly reset unknown and interpreter counters,
12668         detect interpreter runtime frames.
12669         (demangleInterpreterMethod): New method.
12670         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12671         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12672         filling in addrs[].
12673
12674 2002-09-02  Michael Koch  <konqueror@gmx.de>
12675
12676         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12677         re-indented documentation.
12678
12679 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12680
12681         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12682         public, per 1.4 spec.  Fixes PR libgcj/7785.
12683
12684 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
12685
12686         * Makefile.in: Rebuilt.
12687         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12688
12689 2002-08-29  Tom Tromey  <tromey@redhat.com>
12690
12691         * java/net/JarURLConnection.java (getCertificates): New method
12692         from Classpath.
12693         * java/net/URLClassLoader.java (URLClassLoader): Extends
12694         SecureClassLoader.
12695         (definePackage): New method from Classpath.
12696         (getPermissions): Likewise.
12697         (newInstance): Likewise.
12698         (findClass): Construct CodeSource for new class (from Classpath).
12699         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12700         methods.
12701         * java/net/URL.java (getUserInfo): New method.
12702         (set(String,String,int,String,String,String,String,String)): New
12703         method.
12704         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12705         (shutdownInput, shutdownOutput): Declare.
12706         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12707         Define.
12708         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12709         (getOption): Likewise.
12710         (shutdownInput): New method.
12711         (shutdownOutput): Likewise.
12712         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12713         keepalive.
12714         (getOption): Likewise.
12715         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12716         * java/net/Socket.java (setKeepAlive): New method.
12717         (getKeepAlive): Likewise.
12718         (shutdownInput, shutdownOutput): New methods.
12719
12720 2002-08-29  Michael Koch  <konqueror@gmx.de>
12721
12722         * java/net/DatagramPacket.java: updated to JDK 1.4 API
12723         new methods are:
12724         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12725           address),
12726         DatagramPacket(byte[] buf, int length, SocketAddress address),
12727         void setSocketAddress(SocketAddress address)
12728         public SocketAddress getSocketAddress()
12729
12730 2002-08-29  Tom Tromey  <tromey@redhat.com>
12731
12732         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12733         ftruncate is missing.
12734         * configure, include/config.h.in: Rebuilt.
12735         * acconfig.h (HAVE_FTRUNCATE): Mention.
12736         * configure.in: Check for ftruncate.
12737
12738 2002-08-29  Tom Tromey  <tromey@redhat.com>
12739
12740         * include/jvm.h (struct _Jv_frame_info): New structure.
12741         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12742         java-interp.h.
12743         (lookupInterp): New method.
12744         (getAddrAsString): Use _Jv_frame_info.
12745         (dladdrLookup): Likewise.
12746         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12747         interpreted frame.
12748         (lookupInterp): Declare.
12749         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12750         (fillInStackTrace): Collect information on interpreted frames.
12751         Use _Jv_frame_info.
12752         * interpret.cc: Include Thread.h.
12753         (run): Create and push _Jv_MethodChain object.
12754         (_Jv_EndOfInterpreter): New global.
12755         * java/lang/Thread.java (interp_frame): New field.
12756         * include/java-interp.h (struct _Jv_MethodChain): New structure.
12757         Include NameFinder.h.
12758
12759 2002-08-28  Tom Tromey  <tromey@redhat.com>
12760
12761         * java/lang/Class.h: Include Package.h.
12762         (Class::getProtectionDomain): Declare.
12763         (Class::getPackage): Declare.
12764
12765 2002-08-28  Michael Koch <konqueror@gmx.de>
12766
12767         * java/net/InetSocketAddress.java: Added some documentation and argument
12768         checks for the port numbers.
12769         * java/net/DatagramSocketImplFactory.java: New file.
12770
12771 2002-08-28  Michael Koch <konqueror@gmx.de>
12772
12773         * java/net/Authenticator.java: added some documentation.
12774
12775 2002-08-27  Tom Tromey  <tromey@redhat.com>
12776
12777         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12778         class.
12779         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12780
12781 2002-08-27  Michael Koch <konqueror@gmx.de>
12782
12783         * java/net/BindException.java,
12784         java/net/JarURLConnection.java,
12785         java/net/FileNameMap.java,
12786         java/net/HttpURLConnection.java,
12787         java/net/InetSocketAddress.java,
12788         java/net/DatagramPacket.java,
12789         java/net/DatagramSocket.java,
12790         java/net/DatagramSocketImpl.java,
12791         java/net/MulticastSocket.java,
12792         java/net/PasswordAuthentication.java,
12793         java/net/ServerSocket.java,
12794         java/net/Socket.java,
12795         java/net/URLClassLoader.java,
12796         java/net/URLConnection.java: add/update of some @since/@deprecated
12797
12798 2002-08-27  Tony Kimball <alk@pobox.com>
12799             Tom Tromey  <tromey@redhat.com>
12800
12801         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12802         define.
12803         (::close): Removed.
12804         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12805         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12806         (::close): Removed.
12807         (PlainSocketImpl::close): Use NATIVE_CLOSE.
12808         * include/win32.h (getcwd): Removed declaration.  Include io.h.
12809
12810 2002-08-25  Adam Megacz <adam@xwt.org>
12811
12812         * include/win32.h (getcwd): copied function declaration as
12813         temporary fix for header confusion.
12814
12815 2002-08-24  Mark Wielaard <mark@klomp.org>
12816
12817         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12818         (core_java_source_files): Add VMThrowable.java and NameFinder.java
12819         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12820         and natNameFinder.cc.
12821         * Makefile.in: Regenerate.
12822         * prims.cc: Use trace_enabled from VMThrowable.
12823         * name-finder.cc: Removed.
12824         * gcj/javaprims.h: Add class VMThrowable.
12825         * gnu/gcj/runtime/NameFinder.java: New file.
12826         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12827         * include/name-finder.h: Removed.
12828         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12829         method stackTraceString().
12830         (printStackTrace (PrintWriter)): Likewise.
12831         (stackTraceString): Complete rewrite of old printStackTrace using
12832         StringBuffer.
12833         (stackTraceStringBuffer): New helper method for stackTraceString().
12834         (fillInStackTrace): Delegate to VMTrowable.
12835         (getStackTrace): Likewise.
12836         (getStackTrace0): Removed.
12837         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12838         (setStackTrace): Copy given array.
12839         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12840         * java/lang/VMThrowable.java: New class.
12841         * java/lang/natVMThrowable.cc: New file.
12842
12843 2003-08-23  Michael Koch  <konqueror@gmx.de>
12844
12845         * java/net/URLConnection.java,
12846         java/netJarURLConnection.java,
12847         gnu/gcj/protocol/core/Connection.java,
12848         gnu/gcj/protocol/file/Connection.java,
12849         gnu/gcj/protocol/http/Connection.java: Added implementation of
12850         getHeaderFields().
12851
12852 2002-08-22  Tom Tromey  <tromey@redhat.com>
12853
12854         * gij.cc (help): Document -cp and -classpath.
12855         (main): Handle -classpath.
12856
12857 2002-08-21  Tom Tromey  <tromey@redhat.com>
12858
12859         * Makefile.in: Rebuilt.
12860         * Makefile.am (ordinary_java_source_files): Added
12861         SocketAddress.java, InetSocketAddress.java.
12862         * java/net/PortUnreachableException.java: Merged with Classpath.
12863         * java/net/SocketTimeoutException.java: Likewise.
12864         * java/net/URISyntaxException.java: Likewise.
12865         * java/net/SocketAddress.java: New class from Classpath.
12866         * java/net/InetSocketAddress.java: Likewise.
12867
12868 2003-08-21  Michael Koch  <konqueror@gmx.de>
12869
12870         * java/net/Authenticator.java: updated JDK 1.4
12871         * java/net/ContentHandler.java: updated JDK 1.4
12872
12873 2002-08-20  Michael Koch  <konqueror@gmx.de>
12874
12875         * java/net/URISyntaxException.java: New file.
12876         * java/net/SocketTimeoutException.java: New file.
12877         * java/net/PortUnreachableException.java: New file.
12878         * Makefile.am: Updated.
12879         * Makefile.in: Rebuilt.
12880
12881 2002-08-18  Mark Wielaard  <mark@klomp.org>
12882
12883         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12884         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12885         MessageDigestSpi (fixes Classpath bug #783).
12886
12887 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12888
12889         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12890         (startProcess): Allocate path for chdir in async-signal-safe way.
12891
12892 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12893
12894         Fix for PR libgcj/7570 and PR libgcj/7578:
12895         * java/lang/natPosixProcess.cc: Include java/io/File.h.
12896         (startProcess): Handle new `dir' argument.
12897         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12898         argument.
12899         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12900         argument.
12901         (startProcess): Likewise.
12902         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12903         argument.
12904         * java/lang/Runtime.java (execInternal): Added `dir' argument.
12905         (exec): Don't create new environment if ENV==null.  Pass DIR to
12906         execInternal.
12907         * java/lang/natRuntime.cc: Include java/io/File.h.
12908         (execInternal): Added `dir' argument.
12909
12910 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
12911
12912         * java/io/RandomAccessFile.java (skipBytes): Return number of
12913         bytes skipped.
12914
12915 2002-08-01  Mark Wielaard  <mark@klomp.org>
12916
12917         Reenable patch since shared library troubles on powerpc are solved:
12918         * gnu/java/security/provider/Gnu.java: Reference all implementation
12919         classes by using Class.getName().
12920         * gnu/java/security/der/DEREncodingException.java,
12921         gnu/java/security/provider/DERReader.java,
12922         gnu/java/security/provider/DERWriter.java,
12923         gnu/java/security/provider/DSAKeyPairGenerator.java,
12924         gnu/java/security/provider/DSAParameterGenerator.java,
12925         gnu/java/security/provider/DSAParameters.java,
12926         gnu/java/security/provider/DSASignature.java,
12927         gnu/java/security/provider/GnuDSAPrivateKey.java,
12928         gnu/java/security/provider/GnuDSAPublicKey.java,
12929         gnu/java/security/provider/MD5.java,
12930         gnu/java/security/util/Prime.java: New classes
12931         * Makefile.am (ordinary_java_source_files): Add above files.
12932         * Makefile.in: Regenerate.
12933         * gnu/java/security/provider/DefaultPolicy.java
12934         (getPermissions): Don't maintain static class variable of Permissions.
12935         * gnu/java/security/provider/SHA.java
12936         (engineUpdate): algorithm change.
12937         (engineDigest): algorithm change.
12938
12939 2002-08-09  Mark Wielaard  <mark@klomp.org>
12940
12941         * java/awt/image/MemoryImageSource.java: Change constructor to take
12942         int[] not byte[].
12943         * java/awt/Graphics2D.java: Uncomment methods that can now be
12944         compiled.
12945         * java/awt/GridBagLayout.java: New stub implementation.
12946         * javax/swing/text/html/HTML.java: Stub implementation.
12947         * javax/swing/text/html/parser/ParserDelegator.java: New stub
12948         implementation.
12949
12950         * Makefile.am: Add new files.
12951         * Makefile.in: Rebuilt.
12952
12953 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12954
12955         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12956         methods in Graphics2D.
12957
12958 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12959
12960         AWT/Swing merge from GNU Classpath.
12961
12962         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12963         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12964         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12965         java/awt/color/ProfileDataException.java,
12966         java/awt/CompositeContext.java, java/awt/Composite.java,
12967         java/awt/ContainerOrderFocusTraversalPolicy.java,
12968         java/awt/datatransfer/FlavorTable.java,
12969         java/awt/DefaultFocusTraversalPolicy.java,
12970         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12971         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12972         java/awt/dnd/DragGestureListener.java,
12973         java/awt/dnd/DragGestureRecognizer.java,
12974         java/awt/dnd/DragSourceAdapter.java,
12975         java/awt/dnd/DragSourceContext.java,
12976         java/awt/dnd/DragSourceDragEvent.java,
12977         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12978         java/awt/dnd/DragSourceListener.java,
12979         java/awt/dnd/DragSourceMotionListener.java,
12980         java/awt/dnd/DropTarget.java,
12981         java/awt/dnd/InvalidDnDOperationException.java,
12982         java/awt/dnd/peer/DragSourceContextPeer.java,
12983         java/awt/event/AWTEventListenerProxy.java,
12984         java/awt/event/MouseWheelEvent.java,
12985         java/awt/event/MouseWheelListener.java,
12986         java/awt/event/WindowFocusListener.java,
12987         java/awt/event/WindowStateListener.java,
12988         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12989         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12990         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12991         java/awt/geom/FlatteningPathIterator.java,
12992         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12993         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12994         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12995         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12996         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12997         java/awt/image/ImagingOpException.java,
12998         java/awt/image/RasterFormatException.java,
12999         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13000         java/awt/image/VolatileImage.java,
13001         java/awt/image/WritableRenderedImage.java,
13002         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13003         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13004         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13005         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13006         java/awt/PageAttributes.java, java/awt/print/Book.java,
13007         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13008         java/awt/print/Paper.java, java/awt/print/Printable.java,
13009         java/awt/print/PrinterAbortException.java,
13010         java/awt/print/PrinterException.java,
13011         java/awt/print/PrinterGraphics.java,
13012         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13013         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13014         java/awt/Stroke.java, java/awt/TexturePaint.java,
13015         javax/accessibility/AccessibleAction.java,
13016         javax/accessibility/AccessibleBundle.java,
13017         javax/accessibility/AccessibleComponent.java,
13018         javax/accessibility/AccessibleContext.java,
13019         javax/accessibility/AccessibleEditableText.java,
13020         javax/accessibility/AccessibleExtendedComponent.java,
13021         javax/accessibility/AccessibleExtendedTable.java,
13022         javax/accessibility/AccessibleHyperlink.java,
13023         javax/accessibility/AccessibleHypertext.java,
13024         javax/accessibility/AccessibleIcon.java,
13025         javax/accessibility/Accessible.java,
13026         javax/accessibility/AccessibleKeyBinding.java,
13027         javax/accessibility/AccessibleRelation.java,
13028         javax/accessibility/AccessibleRelationSet.java,
13029         javax/accessibility/AccessibleResourceBundle.java,
13030         javax/accessibility/AccessibleRole.java,
13031         javax/accessibility/AccessibleSelection.java,
13032         javax/accessibility/AccessibleState.java,
13033         javax/accessibility/AccessibleStateSet.java,
13034         javax/accessibility/AccessibleTable.java,
13035         javax/accessibility/AccessibleTableModelChange.java,
13036         javax/accessibility/AccessibleText.java,
13037         javax/accessibility/AccessibleValue.java,
13038         javax/swing/AbstractAction.java,
13039         javax/swing/AbstractButton.java,
13040         javax/swing/AbstractCellEditor.java,
13041         javax/swing/AbstractListModel.java,
13042         javax/swing/AbstractSet.java, javax/swing/Action.java,
13043         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13044         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13045         javax/swing/border/CompoundBorder.java,
13046         javax/swing/border/EmptyBorder.java,
13047         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13048         javax/swing/border/LineBorder.java,
13049         javax/swing/border/MatteBorder.java,
13050         javax/swing/border/TitledBorder.java,
13051         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13052         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13053         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13054         javax/swing/CellRendererPane.java,
13055         javax/swing/colorchooser/AbstractColorChooserPanel.java,
13056         javax/swing/colorchooser/ColorChooserComponentFactory.java,
13057         javax/swing/colorchooser/ColorSelectionModel.java,
13058         javax/swing/colorchooser/DefaultColorSelectionModel.java,
13059         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13060         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13061         javax/swing/DefaultBoundedRangeModel.java,
13062         javax/swing/DefaultButtonModel.java,
13063         javax/swing/DefaultCellEditor.java,
13064         javax/swing/DefaultCellRenderer.java,
13065         javax/swing/DefaultComboBoxModel.java,
13066         javax/swing/DefaultDesktopManager.java,
13067         javax/swing/DefaultFocusManager.java,
13068         javax/swing/DefaultListCellRenderer.java,
13069         javax/swing/DefaultListModel.java,
13070         javax/swing/DefaultListSelectionModel.java,
13071         javax/swing/DefaultSingleSelectionModel.java,
13072         javax/swing/DesktopManager.java,
13073         javax/swing/event/AncestorEvent.java,
13074         javax/swing/event/AncestorListener.java,
13075         javax/swing/event/CaretEvent.java,
13076         javax/swing/event/CaretListener.java,
13077         javax/swing/event/CellEditorListener.java,
13078         javax/swing/event/ChangeEvent.java,
13079         javax/swing/event/ChangeListener.java,
13080         javax/swing/event/DocumentEvent.java,
13081         javax/swing/event/DocumentListener.java,
13082         javax/swing/event/EventListenerList.java,
13083         javax/swing/event/HyperlinkEvent.java,
13084         javax/swing/event/HyperlinkListener.java,
13085         javax/swing/event/InternalFrameAdapter.java,
13086         javax/swing/event/InternalFrameEvent.java,
13087         javax/swing/event/InternalFrameListener.java,
13088         javax/swing/event/ListDataEvent.java,
13089         javax/swing/event/ListDataListener.java,
13090         javax/swing/event/ListSelectionEvent.java,
13091         javax/swing/event/ListSelectionListener.java,
13092         javax/swing/event/MenuDragMouseEvent.java,
13093         javax/swing/event/MenuDragMouseListener.java,
13094         javax/swing/event/MenuEvent.java,
13095         javax/swing/event/MenuKeyEvent.java,
13096         javax/swing/event/MenuKeyListener.java,
13097         javax/swing/event/MenuListener.java,
13098         javax/swing/event/MouseInputAdapter.java,
13099         javax/swing/event/MouseInputListener.java,
13100         javax/swing/event/PopupMenuEvent.java,
13101         javax/swing/event/PopupMenuListener.java,
13102         javax/swing/event/SwingPropertyChangeSupport.java,
13103         javax/swing/event/TableColumnModelEvent.java,
13104         javax/swing/event/TableColumnModelListener.java,
13105         javax/swing/event/TableModelEvent.java,
13106         javax/swing/event/TableModelListener.java,
13107         javax/swing/event/TreeExpansionEvent.java,
13108         javax/swing/event/TreeExpansionListener.java,
13109         javax/swing/event/TreeModelEvent.java,
13110         javax/swing/event/TreeModelListener.java,
13111         javax/swing/event/TreeSelectionEvent.java,
13112         javax/swing/event/TreeSelectionListener.java,
13113         javax/swing/event/TreeWillExpandListener.java,
13114         javax/swing/event/UndoableEditEvent.java,
13115         javax/swing/event/UndoableEditListener.java,
13116         javax/swing/filechooser/FileFilter.java,
13117         javax/swing/filechooser/FileSystemView.java,
13118         javax/swing/filechooser/FileView.java,
13119         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
13120         javax/swing/Icon.java, javax/swing/ImageIcon.java,
13121         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
13122         javax/swing/JApplet.java, javax/swing/JButton.java,
13123         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
13124         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
13125         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
13126         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
13127         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
13128         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
13129         javax/swing/JLayeredPane.java, javax/swing/JList.java,
13130         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
13131         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
13132         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
13133         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
13134         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
13135         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
13136         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
13137         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
13138         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
13139         javax/swing/JTextField.java, javax/swing/JTextPane.java,
13140         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
13141         javax/swing/JToolTip.java, javax/swing/JTree.java,
13142         javax/swing/JViewport.java, javax/swing/JWindow.java,
13143         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
13144         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
13145         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
13146         javax/swing/MenuSelectionManager.java,
13147         javax/swing/MutableComboBoxModel.java,
13148         javax/swing/OverlayLayout.java,
13149         javax/swing/plaf/ActionMapUIResource.java,
13150         javax/swing/plaf/basic/BasicBorders.java,
13151         javax/swing/plaf/basic/BasicButtonUI.java,
13152         javax/swing/plaf/basic/BasicCheckBoxUI.java,
13153         javax/swing/plaf/basic/BasicDefaults.java,
13154         javax/swing/plaf/basic/BasicGraphicsUtils.java,
13155         javax/swing/plaf/basic/BasicIconFactory.java,
13156         javax/swing/plaf/basic/BasicLabelUI.java,
13157         javax/swing/plaf/basic/BasicListUI.java,
13158         javax/swing/plaf/basic/BasicLookAndFeel.java,
13159         javax/swing/plaf/basic/BasicOptionPaneUI.java,
13160         javax/swing/plaf/basic/BasicPanelUI.java,
13161         javax/swing/plaf/basic/BasicRadioButtonUI.java,
13162         javax/swing/plaf/basic/BasicScrollPaneUI.java,
13163         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
13164         javax/swing/plaf/basic/BasicTextUI.java,
13165         javax/swing/plaf/basic/BasicToggleButtonUI.java,
13166         javax/swing/plaf/basic/BasicTreeUI.java,
13167         javax/swing/plaf/basic/BasicViewportUI.java,
13168         javax/swing/plaf/BorderUIResource.java,
13169         javax/swing/plaf/ButtonUI.java,
13170         javax/swing/plaf/ColorChooserUI.java,
13171         javax/swing/plaf/ColorUIResource.java,
13172         javax/swing/plaf/ComboBoxUI.java,
13173         javax/swing/plaf/ComponentInputMapUIResource.java,
13174         javax/swing/plaf/ComponentUI.java,
13175         javax/swing/plaf/DesktopIconUI.java,
13176         javax/swing/plaf/DesktopPaneUI.java,
13177         javax/swing/plaf/DimensionUIResource.java,
13178         javax/swing/plaf/FileChooserUI.java,
13179         javax/swing/plaf/FontUIResource.java,
13180         javax/swing/plaf/IconUIResource.java,
13181         javax/swing/plaf/InputMapUIResource.java,
13182         javax/swing/plaf/InsetsUIResource.java,
13183         javax/swing/plaf/InternalFrameUI.java,
13184         javax/swing/plaf/LabelUI.java,
13185         javax/swing/plaf/ListUI.java,
13186         javax/swing/plaf/MenuBarUI.java,
13187         javax/swing/plaf/MenuItemUI.java,
13188         javax/swing/plaf/OptionPaneUI.java,
13189         javax/swing/plaf/PanelUI.java,
13190         javax/swing/plaf/PopupMenuUI.java,
13191         javax/swing/plaf/ProgressBarUI.java,
13192         javax/swing/plaf/RootPaneUI.java,
13193         javax/swing/plaf/ScrollBarUI.java,
13194         javax/swing/plaf/ScrollPaneUI.java,
13195         javax/swing/plaf/SeparatorUI.java,
13196         javax/swing/plaf/SliderUI.java,
13197         javax/swing/plaf/SplitPaneUI.java,
13198         javax/swing/plaf/TabbedPaneUI.java,
13199         javax/swing/plaf/TableHeaderUI.java,
13200         javax/swing/plaf/TableUI.java,
13201         javax/swing/plaf/TextUI.java,
13202         javax/swing/plaf/ToolBarUI.java,
13203         javax/swing/plaf/ToolTipUI.java,
13204         javax/swing/plaf/TreeUI.java,
13205         javax/swing/plaf/UIResource.java,
13206         javax/swing/plaf/ViewportUI.java,
13207         javax/swing/ProgressMonitorInputStream.java,
13208         javax/swing/ProgressMonitor.java,
13209         javax/swing/Renderer.java,
13210         javax/swing/RepaintManager.java,
13211         javax/swing/RootPaneContainer.java,
13212         javax/swing/Scrollable.java,
13213         javax/swing/ScrollPaneConstants.java,
13214         javax/swing/ScrollPaneLayout.java,
13215         javax/swing/SingleSelectionModel.java,
13216         javax/swing/SizeRequirements.java,
13217         javax/swing/SizeSequence.java,
13218         javax/swing/SwingConstants.java,
13219         javax/swing/SwingUtilities.java,
13220         javax/swing/table/AbstractTableModel.java,
13221         javax/swing/table/DefaultTableCellRenderer.java,
13222         javax/swing/table/DefaultTableColumnModel.java,
13223         javax/swing/table/DefaultTableModel.java,
13224         javax/swing/table/TableCellEditor.java,
13225         javax/swing/table/TableCellRenderer.java,
13226         javax/swing/table/TableColumn.java,
13227         javax/swing/table/TableColumnModel.java,
13228         javax/swing/table/TableModel.java,
13229         javax/swing/text/AbstractDocument.java,
13230         javax/swing/text/AttributeSet.java,
13231         javax/swing/text/BadLocationException.java,
13232         javax/swing/text/Caret.java,
13233         javax/swing/text/CharacterIterator.java,
13234         javax/swing/text/ComponentView.java,
13235         javax/swing/text/DefaultCaret.java,
13236         javax/swing/text/DefaultEditorKit.java,
13237         javax/swing/text/Document.java,
13238         javax/swing/text/EditorKit.java,
13239         javax/swing/text/Element.java,
13240         javax/swing/text/GapContent.java,
13241         javax/swing/text/JTextComponent.java,
13242         javax/swing/text/Keymap.java,
13243         javax/swing/text/MutableAttributeSet.java,
13244         javax/swing/text/PlainDocument.java,
13245         javax/swing/text/PlainEditorKit.java,
13246         javax/swing/text/Position.java,
13247         javax/swing/text/Segment.java,
13248         javax/swing/text/StyledDocument.java,
13249         javax/swing/text/StyledEditorKit.java,
13250         javax/swing/text/Style.java,
13251         javax/swing/text/TextAction.java,
13252         javax/swing/text/ViewFactory.java,
13253         javax/swing/text/View.java,
13254         javax/swing/Timer.java,
13255         javax/swing/ToggleButtonModel.java,
13256         javax/swing/ToolTipManager.java,
13257         javax/swing/tree/AbstractLayoutCache.java,
13258         javax/swing/tree/DefaultMutableTreeNode.java,
13259         javax/swing/tree/DefaultTreeCellEditor.java,
13260         javax/swing/tree/DefaultTreeCellRenderer.java,
13261         javax/swing/tree/DefaultTreeModel.java,
13262         javax/swing/tree/DefaultTreeSelectionModel.java,
13263         javax/swing/tree/ExpandVetoException.java,
13264         javax/swing/tree/FixedHeightLayoutCache.java,
13265         javax/swing/tree/MutableTreeNode.java,
13266         javax/swing/tree/RowMapper.java,
13267         javax/swing/tree/TreeCellEditor.java,
13268         javax/swing/tree/TreeCellRenderer.java,
13269         javax/swing/tree/TreeModel.java,
13270         javax/swing/tree/TreeNode.java,
13271         javax/swing/tree/TreePath.java,
13272         javax/swing/tree/TreeSelectionModel.java,
13273         javax/swing/tree/VariableHeightLayoutCache.java,
13274         javax/swing/UIDefaults.java,
13275         javax/swing/UIManager.java,
13276         javax/swing/undo/AbstractUndoableEdit.java,
13277         javax/swing/undo/CannotRedoException.java,
13278         javax/swing/undo/CannotUndoException.java,
13279         javax/swing/undo/CompoundEdit.java,
13280         javax/swing/undo/StateEditable.java,
13281         javax/swing/undo/StateEdit.java,
13282         javax/swing/undo/UndoableEdit.java,
13283         javax/swing/undo/UndoableEditSupport.java,
13284         javax/swing/undo/UndoManager.java,
13285         javax/swing/UnsupportedLookAndFeelException.java,
13286         javax/swing/ViewportLayout.java,
13287         javax/swing/WindowConstants.java: New files, from GNU Classpath.
13288
13289         * java/awt/ActiveEvent.java,
13290         java/awt/Adjustable.java, java/awt/AWTError.java,
13291         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13292         java/awt/AWTException.java, java/awt/AWTPermission.java,
13293         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13294         java/awt/Color.java, java/awt/Component.java,
13295         java/awt/ComponentOrientation.java, java/awt/Container.java,
13296         java/awt/datatransfer/MimeTypeParseException.java,
13297         java/awt/datatransfer/Transferable.java,
13298         java/awt/datatransfer/UnsupportedFlavorException.java,
13299         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13300         java/awt/event/ActionListener.java,
13301         java/awt/event/AdjustmentEvent.java,
13302         java/awt/event/AdjustmentListener.java,
13303         java/awt/event/AWTEventListener.java,
13304         java/awt/event/ComponentAdapter.java,
13305         java/awt/event/ComponentEvent.java,
13306         java/awt/event/ComponentListener.java,
13307         java/awt/event/ContainerAdapter.java,
13308         java/awt/event/ContainerEvent.java,
13309         java/awt/event/ContainerListener.java,
13310         java/awt/event/FocusAdapter.java,
13311         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13312         java/awt/event/HierarchyBoundsAdapter.java,
13313         java/awt/event/HierarchyBoundsListener.java,
13314         java/awt/event/HierarchyEvent.java,
13315         java/awt/event/HierarchyListener.java,
13316         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13317         java/awt/event/InputMethodListener.java,
13318         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13319         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13320         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13321         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13322         java/awt/event/MouseListener.java,
13323         java/awt/event/MouseMotionAdapter.java,
13324         java/awt/event/MouseMotionListener.java,
13325         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13326         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13327         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13328         java/awt/event/WindowListener.java, java/awt/Font.java,
13329         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13330         java/awt/geom/Ellipse2D.java,
13331         java/awt/geom/IllegalPathStateException.java,
13332         java/awt/geom/Line2D.java,
13333         java/awt/geom/NoninvertibleTransformException.java,
13334         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13335         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13336         java/awt/geom/RoundRectangle2D.java,
13337         java/awt/GraphicsConfiguration.java,
13338         java/awt/IllegalComponentStateException.java,
13339         java/awt/image/IndexColorModel.java,
13340         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13341         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13342         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13343         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13344         java/awt/MenuItem.java, java/awt/PaintContext.java,
13345         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13346         java/awt/Polygon.java, java/awt/PrintGraphics.java,
13347         java/awt/PrintJob.java, java/awt/Rectangle.java,
13348         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13349         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13350         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13351
13352         * java/awt/im/spi/InputMethod.java,
13353         java/awt/im/spi/InputMethodContext.java,
13354         java/awt/im/spi/InputMethodDescriptor.java,
13355         java/awt/image/renderable/ContextualRenderedImageFactory.java,
13356         java/awt/image/renderable/ParameterBlock.java,
13357         java/awt/image/renderable/RenderContext.java,
13358         java/awt/image/renderable/RenderableImage.java,
13359         java/awt/image/renderable/RenderableImageOp.java,
13360         java/awt/image/renderable/RenderableImageProducer.java,
13361         java/awt/image/renderable/RenderedImageFactory.java: New files from
13362         classpath.
13363
13364         * gnu/java/awt/EventModifier.java,
13365         gnu/java/awt/image/ImageDecoder.java,
13366         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13367
13368         * gnu/awt/xlib/XGraphicsConfiguration.java,
13369         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13370         API.
13371
13372         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13373         GNU Classpath.
13374
13375         * Makefile.am: Add new files.
13376         * Makefile.in: Rebuilt.
13377
13378 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13379
13380         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13381         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13382         findResource, getResources, findResources): Add javadoc from classpath.
13383         (getSystemResources): Implemented.
13384
13385 2002-08-01  Mark Wielaard  <mark@klomp.org>
13386
13387         Revert patch that breaks libgcj shared library on powerpc:
13388         * gnu/java/security/provider/Gnu.java: Reverse referencing all
13389         implementation classes by using Class.getName(). Uses Strings again.
13390         * gnu/java/security/der/DEREncodingException.java,
13391         gnu/java/security/provider/DERReader.java,
13392         gnu/java/security/provider/DERWriter.java,
13393         gnu/java/security/provider/DSAKeyPairGenerator.java,
13394         gnu/java/security/provider/DSAParameterGenerator.java,
13395         gnu/java/security/provider/DSAParameters.java,
13396         gnu/java/security/provider/DSASignature.java,
13397         gnu/java/security/provider/GnuDSAPrivateKey.java,
13398         gnu/java/security/provider/GnuDSAPublicKey.java,
13399         gnu/java/security/provider/MD5.java,
13400         gnu/java/security/util/Prime.java: Removed.
13401         * Makefile.am (ordinary_java_source_files): Remove above files.
13402         * Makefile.in: Regenerate.
13403         * gnu/java/security/provider/DefaultPolicy.java
13404         (getPermissions): Revert to maintaining static class variable of
13405         Permissions.
13406         * gnu/java/security/provider/SHA.java
13407         (engineUpdate): Revert algorithm change.
13408         (engineDigest): Revert algorithm change.
13409
13410 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
13411
13412         * configure.host: Add SH support.
13413         * sysdep/sh/locks.h: New file.
13414
13415 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13416
13417         * java/awt/Frame.java (Frame): Remove println calls.
13418
13419 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
13420
13421         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13422         * configure: Rebuilt.
13423
13424 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13425
13426         * sysdep/powerpc/locks.h: Formatting.
13427         (_LARX): Define.
13428         (_STCX): Define.
13429         (compare_and_swap): Use _LARX and _STCX.
13430         (compare_and_swap_release): Likewise.
13431
13432 2002-07-26  Tom Tromey  <tromey@redhat.com>
13433
13434         * java/net/Authenticator.java: New version from Classpath.
13435         * java/net/DatagramSocketImpl.java: New version from Classpath.
13436
13437 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
13438
13439         * configure.host: Add powerpc64*-* entry.
13440
13441 2002-07-26  Tom Tromey  <tromey@redhat.com>
13442
13443         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13444         fcntl.h.
13445
13446 2002-07-24  Tom Tromey  <tromey@redhat.com>
13447
13448         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13449         argument to _load.
13450
13451 2002-07-24  Tom Tromey  <tromey@redhat.com>
13452             Tony Kimball <alk@pobox.com>
13453
13454         * java/io/natFileDescriptorWin32.cc (setLength): New method.
13455         * java/io/natFileDescriptorPosix.cc (setLength): New method.
13456         * java/io/RandomAccessFile.java (setLength): New method.
13457         * java/io/natFileDescriptorEcos.cc (setLength): New method.
13458         * java/io/FileDescriptor.java (setLength): New method.
13459
13460 2002-07-24  Mark Wielaard  <mark@klomp.org>
13461
13462         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13463         * java/io/ObjectInputStream.java (setBooleanField): Before setting
13464         field call setAccessible(true).
13465         (setByteField): Likewise.
13466         (setCharField): Likewise.
13467         (setDoubleField): Likewise.
13468         (setFloatField): Likewise.
13469         (setIntField): Likewise.
13470         (setLongField): Likewise.
13471         (setShortField): Likewise.
13472         (setObjectField): Likewise.
13473
13474 2002-07-24  Tom Tromey  <tromey@redhat.com>
13475
13476         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13477         use toString() to format array element.
13478
13479 2002-07-23  Mark Wielaard  <mark@klomp.org>
13480
13481         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13482         MessageDigestSpi (fixes Classpath bug #783).
13483
13484 2002-07-21  Mark Wielaard  <mark@klomp.org>
13485
13486         * gnu/java/security/provider/Gnu.java: Reference all implementation
13487         classes by using Class.getName().
13488
13489 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
13490
13491         * java/lang/ieeefp.h: Add x86-64 support.
13492         * configure.in: Likewise.
13493         * configure.host: Likewise.
13494         * configure: Regenerated.
13495         * sysdep/x86-64/locks.h: New file with x86-64 locks.
13496
13497 2002-07-16  Mark Wielaard  <mark@klomp.org>
13498
13499         * java/io/StreamTokenizer.java (pushBack): Update documentation.
13500         (whitespaceChars): call resetChar().
13501
13502 2002-07-15  Tom Tromey  <tromey@redhat.com>
13503
13504         * Makefile.in: Rebuilt.
13505         * Makefile.am (awt_java_source_files): Added new files.
13506         * java/beans/ExceptionListener.java: Merged with Classpath.
13507         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13508         * java/beans/PropertyChangeListener.java: Merged with Classpath.
13509         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13510         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13511         * java/beans/VetoableChangeListener.java: Merged with Classpath.
13512         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13513         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13514
13515 2002-07-14  Mark Wielaard  <mark@klomp.org>
13516
13517         * gnu/java/security/der/DEREncodingException.java,
13518         gnu/java/security/provider/DERReader.java,
13519         gnu/java/security/provider/DERWriter.java,
13520         gnu/java/security/provider/DSAKeyPairGenerator.java,
13521         gnu/java/security/provider/DSAParameterGenerator.java,
13522         gnu/java/security/provider/DSAParameters.java,
13523         gnu/java/security/provider/DSASignature.java,
13524         gnu/java/security/provider/GnuDSAPrivateKey.java,
13525         gnu/java/security/provider/GnuDSAPublicKey.java,
13526         gnu/java/security/provider/MD5.java,
13527         gnu/java/security/util/Prime.java: New files from Classpath.
13528         * Makefile.am (ordinary_java_source_files): Add new files.
13529         * Makefile.in: Regenerate.
13530
13531 2002-07-14  C. Brian Jones <cbj@gnu.org>
13532
13533         * gnu/java/security/provider/DefaultPolicy.java
13534         (getPermissions): do not maintain static class variable of
13535         Permissions
13536         * gnu/java/security/provider/SHA.java
13537         (engineUpdate): algorithm change
13538         (engineDigest): algorithm change
13539
13540 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
13541
13542         For PR libgcj/7292:
13543         * java/lang/Character.java (toString(char)): Now static.
13544
13545 2002-07-12  Mark Wielaard  <mark@klomp.org>
13546
13547         * java/lang/natThrowable.cc (printRawStackTrace): removed.
13548         (getStackTrace0): new method.
13549         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13550         (printStackTrace(PrintWriter)): replace with pure java implementation.
13551         (printRawStackTrace): removed.
13552         (getStackTrace0): new method.
13553         * java/lang/StackTraceElement.java (toString): add extra whitespace.
13554         * gcj/javaprims.h: regenerate class list.
13555         * include/name-finder.h (lookup): new returns StackTraceElement*.
13556         (method_name, file_name): fields removed.
13557         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13558         (~_Jv_name_finder): close new descriptors.
13559         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13560         (createStackTraceElement): new method.
13561         (lookup): returns StackTraceElement*, uses createStackTraceElement().
13562
13563 2002-07-10  Tom Tromey  <tromey@redhat.com>
13564
13565         * configure: Rebuilt.
13566         * configure.in: Use `test' after `&&'.  From Chris Faylor.
13567
13568 2002-07-08  Mark Wielaard  <mark@klomp.org>
13569
13570         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13571         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13572         java.sql.DatabaseMetaData.TestJdbc20
13573
13574 2002-07-05  Tony Kimball  <alk@pobox.com>
13575
13576         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13577
13578 2002-07-04  Tom Tromey  <tromey@redhat.com>
13579             Jeff Sturm  <jsturm@one-point.com>
13580
13581         Fix for PR libgcj/7060:
13582         * java/lang/Class.h (_getMethod): Renamed from getMethod.
13583         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13584         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
13585         * java/lang/Class.java (getMethod): New Java implementation;
13586         complies with spec.
13587         (_getMethod): New native method.
13588
13589 2002-07-02  Tom Tromey  <tromey@redhat.com>
13590             David Hovemeyer  <daveho@cs.umd.edu>
13591
13592         * java/text/ChoiceFormat.java
13593         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13594         in check loop.
13595         * java/text/MessageFormat.java
13596         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13597         to MessageFormat.
13598
13599 2002-07-01  Tom Tromey  <tromey@redhat.com>
13600
13601         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13602         StringTokenizer on null string.  For PR libgcj/7180.
13603         From daveho@cs.umd.edu.
13604
13605 2002-06-24  Tom Tromey  <tromey@redhat.com>
13606
13607         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13608         (IntegerClass): Likewise.
13609         * java/lang/natClass.cc (CloneableClass): Removed.
13610         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13611         ConstructorClass): Likewise.
13612         * java/lang/natClassLoader.cc (CloneableClass): Removed.
13613         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13614         SerializableClass): Likewise.
13615         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13616         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13617         LongClass, FloatClass, DoubleClass): Likewise.
13618
13619         * verify.cc (branch_prepass): Updated for change to exception
13620         handler type.
13621         (verify_instructions_0): Likewise.
13622         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13623         (handleExceptionTableEntry): Updated for change to exception
13624         handler type.
13625         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13626         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13627         (union _Jv_InterpPC): New.
13628         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13629         (class _Jv_InterpMethod): Added new `prepared' field.
13630         (class _Jv_InterpMethod): Added `compile' method.  Removed
13631         `continue1' and `find_exception'.  Changed arguments to `run'.
13632         * interpret.cc (union insn_slot): New.
13633         (find_exception): Removed.
13634         (run_normal): Removed most logic.
13635         (run_synch_object): Likewise; also, use JvSynchronize.
13636         (run_synch_class): Likewise.
13637         (run): Removed.
13638         (continue1): Renamed as `run'.  Compile bytecode if required.
13639         Add new code to allow refinement of direct-threaded code at
13640         runtime.  Handle exceptions.
13641         (SAVE_PC): Removed.
13642         (compile): New method.
13643         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13644         (NULLARRAYCHECK): Don't use SAVE_PC.
13645         (pc_t): New typedef.
13646         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13647         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13648
13649 2002-06-23  Tom Tromey  <tromey@redhat.com>
13650
13651         * configure: Rebuilt.
13652         * configure.in (INTERPRETER): New subst.
13653         (AM_RUNTESTFLAGS): Don't subst.
13654
13655         * Makefile.in: Rebuilt.
13656         * Makefile.am ($(srcdir)/java/lang/Object.h,
13657         $(srcdir)/java/lang/Class.h): Added dummy targets.
13658
13659 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13660
13661         Reformat JDBC classes and add new JDK 1.4 classes and methods.
13662
13663         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13664         java/sql/Savepoint.java: New files.
13665         * java/sql/Array.java, java/sql/BatchUpdateException.java,
13666         java/sql/Blob.java, java/sql/CallableStatement.java,
13667         java/sql/Clob.java, java/sql/Connection.java,
13668         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13669         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13670         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13671         java/sql/Ref.java, java/sql/ResultSet.java,
13672         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13673         java/sql/SQLException.java, java/sql/SQLInput.java,
13674         java/sql/SQLOutput.java, java/sql/SQLWarning.java
13675         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13676         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13677         (JDK 1.4) specification.
13678         * javax/sql/ConnectionEvent.java,
13679         javax/sql/ConnectionEventListener.java,
13680         javax/sql/ConnectionPoolDataSource.java,
13681         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13682         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13683         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13684         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13685         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13686         javax/sql/XADataSource.java: New files.
13687         * Makefile.am: Add new files.
13688         * Makefile.in: Rebuilt.
13689
13690 2002-06-20  Tom Tromey  <tromey@redhat.com>
13691
13692         For PR libgcj/7073:
13693         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13694         exists.
13695         * defineclass.cc (handleClassBegin): Superclass for interface is
13696         `null'.
13697
13698 2002-06-18  Tom Tromey  <tromey@redhat.com>
13699
13700         * gcj/javaprims.h: Updated class declaration list.
13701         * Makefile.in: Rebuilt.
13702         * Makefile.am (core_java_source_files): Removed
13703         BasicMapEntry.java.
13704         * java/util/BasicMapEntry.java: Removed.
13705
13706 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
13707
13708         * java/net/natPlainDatagramSocketImpl.cc (receive):
13709         Check bounds of argument to FD_SET.
13710         (setOption): Throw exception if socket is closed.
13711
13712         * java/net/natPlainSocketImpl.cc (accept, read):
13713         Check bounds of argument to FD_SET.
13714         (setOption): Throw exception if socket is closed.
13715
13716 2002-06-18  Tom Tromey  <tromey@redhat.com>
13717
13718         * gcj/javaprims.h: Updated class declaration list.
13719         * Makefile.in: Rebuilt.
13720         * Makefile.am (core_java_source_files): Added
13721         PropertyPermissionCollection.java.
13722         * java/lang/Thread.java (group, name): Now package-private.
13723         * java/lang/ThreadGroup.java: Re-merge with Classpath.
13724         * java/util/AbstractList.java: Likewise.
13725         * java/util/AbstractMap.java: Likewise.
13726         * java/util/Calendar.java: Likewise.
13727         * java/util/Collections.java: Likewise.
13728         * java/util/HashMap.java: Likewise.
13729         * java/util/Hashtable.java: Likewise.
13730         * java/util/LinkedHashMap.java: Likewise.
13731         * java/util/LinkedList.java: Likewise.
13732         * java/util/List.java: Likewise.
13733         * java/util/ListResourceBundle.java: Likewise.
13734         * java/util/Map.java: Likewise.
13735         * java/util/Observable.java: Likewise.
13736         * java/util/Properties.java: Likewise.
13737         * java/util/PropertyPermission.java: Likewise.
13738         * java/util/PropertyPermissionCollection.java: Likewise.
13739         * java/util/PropertyResourceBundle.java: Likewise.
13740         * java/util/Random.java: Likewise.
13741         * java/util/SimpleTimeZone.java: Likewise.
13742         * java/util/StringTokenizer.java: Likewise.
13743         * java/util/TimerTask.java: Likewise.
13744         * java/util/TreeMap.java: Likewise.
13745         * java/util/WeakHashMap.java: Likewise.
13746         * java/util/jar/Attributes.java: Likewise.
13747         * java/util/jar/JarException.java: Likewise.
13748         * java/util/jar/Manifest.java: Likewise.
13749
13750 2002-06-17  Tom Tromey  <tromey@redhat.com>
13751
13752         * gcj/javaprims.h: Updated class declaration list.
13753         * Makefile.in: Rebuilt.
13754         * Makefile.am (core_java_source_files): Added new file.
13755         * java/util/EventListenerProxy.java: New file.
13756         * java/util/EventListener.java: Re-merge with Classpath.
13757         * java/util/EventObject.java: Re-merge with Classpath.
13758
13759 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13760
13761         * java/lang/ClassNotFoundException.java: New Classpath version.
13762
13763 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
13764
13765         * java/rmi/activation/ActivateFailedException.java: Remerge from
13766         Classpath version.
13767         * java/rmi/activation/ActivationException.java: Ditto.
13768         * java/rmi/activation/UnknownGroupException.java: Ditto.
13769         * java/rmi/activation/UnknownObjectException.java: Ditto.
13770         * java/rmi/server/ExportException: Ditto.
13771         * java/rmi/server/ServerCloneException: Ditto.
13772         * java/rmi/server/ServerNotActiveException: Ditto.
13773         * java/rmi/server/SkeletonMismatchException: Ditto.
13774         * java/rmi/server/SkeletonNotFoundException: Ditto.
13775         * java/rmi/server/SocketSecurityException: Ditto.
13776
13777 2002-06-16  Tom Tromey  <tromey@redhat.com>
13778
13779         * gcj/javaprims.h: Updated class declaration list.
13780
13781         * java/io/LineNumberInputStream.java: Merged with Classpath.
13782
13783         * java/lang/RuntimeException.java: Re-merge with Classpath.
13784         * java/util/ArrayList.java: Likewise.
13785         * java/util/Arrays.java: Likewise.
13786         * java/util/BitSet.java: Likewise.
13787         * java/util/Dictionary.java: Likewise.
13788         * java/util/IdentityHashMap.java: Likewise.
13789         * java/util/MissingResourceException.java: Likewise.
13790         * java/util/Observer.java: Likewise.
13791         * java/util/TooManyListenersException.java: Likewise.
13792         * java/util/zip/DataFormatException.java: Likewise.
13793         * java/util/zip/ZipException.java: Likewise.
13794
13795 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
13796
13797         * java/rmi/AccessException.java: Remerge from Classpath.
13798         * java/rmi/AlreadyBoundException.java: Ditto.
13799         * java/rmi/ConnectException.java: Ditto.
13800         * java/rmi/ConnectIOException.java: Ditto.
13801         * java/rmi/MarshalException.java: Ditto.
13802         * java/rmi/NoSuchObjectException.java: Ditto.
13803         * java/rmi/NotBoundException.java: Ditto.
13804         * java/rmi/RemoteException.java: Ditto.
13805         * java/rmi/RMISecurityException.java: Ditto.
13806         * java/rmi/ServerError.java: Ditto.
13807         * java/rmi/ServerException.java: Ditto.
13808         * java/rmi/ServerRuntimeException.java: Ditto.
13809         * java/rmi/StubNotFoundException.java: Ditto.
13810         * java/rmi/UnexpectedExcpetion.java: Ditto.
13811         * java/rmi/UnknownHostException.java: Ditto.
13812         * java/rmi/UnmarshalException.java: Ditto.
13813
13814 2002-06-15  Tom Tromey  <tromey@redhat.com>
13815
13816         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13817         * java/lang/ArithmeticException.java: Likewise.
13818         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13819         * java/lang/ArrayStoreException.java: Likewise.
13820         * java/lang/Byte.java: Likewise.
13821         * java/lang/CharSequence.java: Likewise.
13822         * java/lang/ClassCastException.java: Likewise.
13823         * java/lang/ClassCircularityError.java: Likewise.
13824         * java/lang/ClassFormatError.java: Likewise.
13825         * java/lang/CloneNotSupportedException.java: Likewise.
13826         * java/lang/Cloneable.java: Likewise.
13827         * java/lang/Comparable.java: Likewise.
13828         * java/lang/Compiler.java: Likewise.
13829         * java/lang/Error.java: Likewise.
13830         * java/lang/ExceptionInInitializerError.java: Likewise.
13831         * java/lang/IllegalAccessError.java: Likewise.
13832         * java/lang/IllegalAccessException.java: Likewise.
13833         * java/lang/IllegalArgumentException.java: Likewise.
13834         * java/lang/IllegalMonitorStateException.java: Likewise.
13835         * java/lang/IllegalStateException.java: Likewise.
13836         * java/lang/IllegalThreadStateException.java: Likewise.
13837         * java/lang/IncompatibleClassChangeError.java: Likewise.
13838         * java/lang/IndexOutOfBoundsException.java: Likewise.
13839         * java/lang/InheritableThreadLocal.java: Likewise.
13840         * java/lang/InstantiationError.java: Likewise.
13841         * java/lang/InstantiationException.java: Likewise.
13842         * java/lang/InternalError.java: Likewise.
13843         * java/lang/InterruptedException.java: Likewise.
13844         * java/lang/LinkageError.java: Likewise.
13845         * java/lang/NegativeArraySizeException.java: Likewise.
13846         * java/lang/NoClassDefFoundError.java: Likewise.
13847         * java/lang/NoSuchFieldError.java: Likewise.
13848         * java/lang/NoSuchFieldException.java: Likewise.
13849         * java/lang/NoSuchMethodError.java: Likewise.
13850         * java/lang/NoSuchMethodException.java: Likewise.
13851         * java/lang/NullPointerException.java: Likewise.
13852         * java/lang/NumberFormatException.java: Likewise.
13853         * java/lang/OutOfMemoryError.java: Likewise.
13854         * java/lang/Process.java: Likewise.
13855         * java/lang/Runnable.java: Likewise.
13856         * java/lang/RuntimePermission.java: Likewise.
13857         * java/lang/SecurityException.java: Likewise.
13858         * java/lang/Short.java: Likewise.
13859         * java/lang/StackOverflowError.java: Likewise.
13860         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13861         * java/lang/ThreadDeath.java: Likewise.
13862         * java/lang/ThreadLocal.java: Likewise.
13863         * java/lang/UnknownError.java: Likewise.
13864         * java/lang/UnsatisfiedLinkError.java: Likewise.
13865         * java/lang/UnsupportedClassVersionError.java: Likewise.
13866         * java/lang/UnsupportedOperationException.java: Likewise.
13867         * java/lang/VerifyError.java: Likewise.
13868         * java/lang/VirtualMachineError.java: Likewise.
13869         * java/lang/reflect/InvocationTargetException.java: Likewise.
13870         * java/net/BindException.java: Likewise.
13871         * java/net/ConnectException.java: Likewise.
13872         * java/net/MalformedURLException.java: Likewise.
13873         * java/net/NoRouteToHostException.java: Likewise.
13874         * java/net/ProtocolException.java: Likewise.
13875         * java/net/SocketException.java: Likewise.
13876         * java/net/UnknownHostException.java: Likewise.
13877         * java/net/UnknownServiceException.java: Likewise.
13878
13879         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13880         * java/io/CharConversionException.java: Likewise.
13881         * java/io/EOFException.java: Likewise.
13882         * java/io/FileNotFoundException.java: Likewise.
13883         * java/io/IOException.java: Likewise.
13884         * java/io/InterruptedIOException.java: Likewise.
13885         * java/io/InvalidClassException.java: Likewise.
13886         * java/io/InvalidObjectException.java: Likewise.
13887         * java/io/NotActiveException.java: Likewise.
13888         * java/io/NotSerializableException.java: Likewise.
13889         * java/io/ObjectStreamException.java: Likewise.
13890         * java/io/ObjectStreamConstants.java: Likewise.
13891         * java/io/OptionalDataException.java: Likewise.
13892         * java/io/PipedInputStream.java: Likewise.
13893         * java/io/PushbackInputStream.java: Likewise.
13894         * java/io/StreamCorruptedException.java: Likewise.
13895         * java/io/SyncFailedException.java: Likewise.
13896         * java/io/UTFDataFormatException.java: Likewise.
13897         * java/io/UnsupportedEncodingException.java: Likewise.
13898         * java/io/WriteAbortedException.java: Likewise.
13899
13900 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
13901
13902         * java/text/ChoiceFormat.java: Update comments from Classpath.
13903         * java/text/ParseException.java (serialVersionUID): New
13904         field from Classpath.
13905         * java/text/ParseException.java: Update formatting & comments
13906         from Classpath.
13907
13908 2002-06-15  Tom Tromey  <tromey@redhat.com>
13909
13910         * java/util/zip/InflaterInputStream.java (read): Loop if data has
13911         been read but none output by inflater.
13912         * java/util/zip/natDeflater.cc (reset): Set is_finished.
13913         * java/util/zip/natInflater.cc (reset): Set dist_needed and
13914         is_finished.
13915         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13916         version.
13917         * java/util/zip/ZipFile.java: Replaced with Classpath version.
13918         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13919         * java/util/zip/ZipInputStream.java: Replaced with Classpath
13920         version.
13921         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13922
13923 2002-06-13  Tom Tromey  <tromey@redhat.com>
13924
13925         * java/lang/natString.cc (init): Handle case where DONT_COPY is
13926         true and OFFSET!=0.
13927         * java/lang/String.java (String(char[],int,int,boolean): New
13928         constructor.
13929         * java/lang/Long.java: Imported new version from Classpath.
13930         * java/lang/Number.java: Likewise.
13931         * java/lang/Integer.java: Likewise.
13932         * java/lang/Long.java: Likewise.
13933         * java/lang/Float.java: Likewise.
13934         * java/lang/Boolean.java: Likewise.
13935         * java/lang/Double.java: Likewise.
13936         * java/lang/Void.java: Likewise.
13937
13938 2002-06-12  Tom Tromey  <tromey@redhat.com>
13939
13940         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13941         Fixes PR libgcj/6652.
13942
13943 2002-06-10  Tom Tromey  <tromey@redhat.com>
13944
13945         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13946         (Class::getPackagePortion): Likewise.
13947         * java/lang/Class.java (desiredAssertionStatus): New method from
13948         Classpath.
13949         (getPackagePortion): Likewise.
13950         * java/lang/VMClassLoader.java (defaultAssertionStatus,
13951         packageAssertionStatus, classAssertionStatus): New methods from
13952         Classpath.
13953         * java/lang/ClassLoader.java (defaultAssertionStatus,
13954         systemPackageAssertionStatus, packageAssertionStatus,
13955         systemClassAssertionStatus, classAssertionStatus): New fields from
13956         Classpath.
13957         (setDefaultAssertionStatus, setPackageAssertionStatus,
13958         setClassAssertionStatus, clearAssertionStatus): New methods from
13959         Classpath.
13960         * Makefile.in: Rebuilt.
13961         * Makefile.am (core_java_source_files): Added AssertionError.java.
13962         * java/lang/AssertionError.java: New from Classpath.
13963
13964 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13965
13966         * configure.host: Disable hash synchronization and slow_pthread_self
13967         for cygwin.
13968
13969 2002-06-06  Adam Megacz <adam@xwt.org>
13970
13971         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13972         locking, just like the Sun JVM does.
13973
13974 2002-06-05  H.J. Lu  (hjl@gnu.org)
13975
13976         * Makefile.am (libgcj_convenience.la): Revert the last change.
13977         (libgcj.la): Likewise.
13978         * Makefile.in: Regenerated.
13979
13980 2002-06-04  H.J. Lu  (hjl@gnu.org)
13981
13982         * Makefile.am (libgcj_convenience.la): New target.
13983         (libgcj.la): Depend on libgcj_convenience.la.
13984         * Makefile.in: Regenerated.
13985
13986 2002-06-04  H.J. Lu  (hjl@gnu.org)
13987
13988         * configure.in (--with-newlib): New option:
13989         Check ${with_newlib} instead of ${with_cross_host} for newlib.
13990         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13991         Linux.
13992         * configure: Regenerated.
13993
13994 2002-06-04  Tom Tromey  <tromey@redhat.com>
13995
13996         * java/util/natTimeZone.cc: Include <stdio.h>.
13997
13998 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
13999
14000         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14001         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14002         Set SIGNAL_HANDLER=include/s390-linux.h.
14003         * configure: Regenerate.
14004         * include/s390-linux.h: New file.
14005
14006 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14007
14008         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14009         not "stackTrace".
14010
14011 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14012
14013         Merge JDK 1.4 java.security changes from classpath.
14014
14015         * java/security/AccessControlException.java: Merge from Classpath.
14016         * java/security/AccessController.java: Likewise.
14017         * java/security/AllPermission.java: Likewise.
14018         * java/security/BasicPermission.java: Likewise.
14019         * java/security/Certificate.java: Likewise.
14020         * java/security/CodeSource.java: Likewise.
14021         * java/security/DigestException.java: Likewise.
14022         * java/security/DigestOutputStream.java: Likewise.
14023         * java/security/DomainCombiner.java: Likewise.
14024         * java/security/GeneralSecurityException.java: Likewise.
14025         * java/security/Guard.java: Likewise.
14026         * java/security/GuardedObject.java: Likewise.
14027         * java/security/InvalidAlgorithmParameterException.java: Likewise.
14028         * java/security/InvalidKeyException.java: Likewise.
14029         * java/security/InvalidParameterException.java: Likewise.
14030         * java/security/Key.java: Likewise.
14031         * java/security/KeyException.java: Likewise.
14032         * java/security/KeyManagementException.java: Likewise.
14033         * java/security/KeyStoreException.java: Likewise.
14034         * java/security/MessageDigest.java: Likewise.
14035         * java/security/NoSuchAlgorithmException.java: Likewise.
14036         * java/security/NoSuchProviderException.java: Likewise.
14037         * java/security/Permission.java: Likewise.
14038         * java/security/PermissionCollection.java: Likewise.
14039         * java/security/Permissions.java: Likewise.
14040         * java/security/Policy.java: Likewise.
14041         * java/security/Principal.java: Likewise.
14042         * java/security/PrivateKey.java: Likewise.
14043         * java/security/PrivilegedAction.java: Likewise.
14044         * java/security/PrivilegedActionException.java: Likewise.
14045         * java/security/PrivilegedExceptionAction.java: Likewise.
14046         * java/security/ProtectionDomain.java: Likewise.
14047         * java/security/ProviderException.java: Likewise.
14048         * java/security/PublicKey.java: Likewise.
14049         * java/security/SecureClassLoader.java: Likewise.
14050         * java/security/SecurityPermission.java: Likewise.
14051         * java/security/SignatureException.java: Likewise.
14052         * java/security/UnrecoverableKeyException.java: Likewise.
14053         * java/security/UnresolvedPermission.java: Likewise.
14054         * java/security/acl/AclNotFoundException.java: Likewise.
14055         * java/security/acl/LastOwnerException.java: Likewise.
14056         * java/security/acl/NotOwnerException.java: Likewise.
14057         * java/security/cert/CRLException.java: Likewise.
14058         * java/security/cert/CertificateEncodingException.java: Likewise.
14059         * java/security/cert/CertificateException.java: Likewise.
14060         * java/security/cert/CertificateExpiredException.java: Likewise.
14061         * java/security/cert/CertificateFactory.java: Likewise.
14062         * java/security/cert/CertificateNotYetValidException.java: Likewise.
14063         * java/security/cert/CertificateParsingException.java: Likewise.
14064         * java/security/spec/InvalidKeySpecException.java: Likewise.
14065         * java/security/spec/InvalidParameterSpecException.java: Likewise.
14066
14067         * java/security/cert/CertPath.java: New file.
14068         * java/security/cert/CertPathBuilderException.java: New file.
14069         * java/security/cert/CertPathValidatorException.java: New file.
14070         * java/security/cert/CertStoreException.java: New file.
14071
14072         * Makefile.am: Add new CertPath classes.
14073         * Makefile.in: Rebuilt.
14074
14075         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14076
14077 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14078
14079         Merge JDK 1.4 exception chaining support from classpath.
14080
14081         * java/lang/Throwable.java: Merge 1.4 support from classpath.
14082         (stackTraceBytes): Rename from stackTrace.
14083         * java/lang/Exception.java: Merge from classpath.
14084         * java/lang/StackTraceElement: New file from classpath.
14085         * gcj/javaprims.h: Rebuild CNI namespace declarations.
14086         * Makefile.am: Add StackTraceElement.
14087         * Makefile.in: Rebuilt.
14088
14089 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14090
14091         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14092         they build first.
14093         * Makefile.in: Rebuilt.
14094
14095 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14096
14097         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14098         * configure.in: Likewise.
14099         * aclocal.m4: Regenerate.
14100         * configure: Regenerate.
14101
14102 2002-05-13  Tom Tromey  <tromey@redhat.com>
14103
14104         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14105         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14106         Include platform.h.
14107
14108         Fixes PR libgcj/6389:
14109         * Makefile.in: Rebuilt.
14110         * Makefile.am (nat_source_files): Added natTimeZone.cc.
14111         * java/util/natTimeZone.cc: New file.
14112         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14113         * java/lang/System.java: Merged with Classpath.
14114         * java/lang/Runtime.java: Merged with Classpath.
14115         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
14116         security check.
14117         (setIn0): Renamed from setIn; don't run security check.
14118         (setOut0): Renamed from setOut; don't run security check.
14119         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
14120         init_properties): Moved to natRuntime.cc.
14121         Moved many includes to natRuntime.cc.
14122         (isWordsBigEndian): New method.
14123         * java/lang/natRuntime.cc: Include Long.h, also other includes
14124         previously in natSystem.cc.
14125         (maxMemory): New function.
14126         (exitInternal): Renamed from `_exit'.
14127         (exit): Removed.
14128         (init): Don't set finalize_on_exit.
14129         (exitInternal): Use `finalizeOnExit'.
14130         (file_encoding, getpwuid_adaptor): New functions from
14131         natSystem.cc.
14132         (insertSystemProperties): New method, renamed from
14133         System::init_properties.  Don't set user.timezone.
14134         (_load): Don't call checkLink.
14135         (execInternal): New method.
14136         (availableProcessors): Likewise.
14137         (nativeGetLibname): Likewise.
14138
14139 2002-05-11  Mark Wielaard  <mark@klomp.org>
14140
14141         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
14142         space characters.
14143         (previous_internal): Likewise.
14144
14145 2002-05-09  Tom Tromey  <tromey@redhat.com>
14146
14147         * jni.cc (_Jv_JNIFunctions): Fixed typo.
14148
14149         * java/util/ResourceBundle.java: New version from Classpath.
14150         * java/util/Locale.java: Likewise.
14151
14152 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
14153
14154         * testsuite/lib/libjava.exp (libjava_arguments): Append all
14155         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
14156         LD_LIBRARY_PATH.
14157
14158 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
14159
14160         * libjava/Makefile.am (all_java_source_files): New variable.
14161         (all_java_class_files): Likewise.
14162         .java.class: New rule.
14163         (CLEANFILES): Remove tmp-list.
14164         * libjava/Makefile.in: Regenerated.
14165
14166 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
14167
14168         * testsuite/lib/libjava.exp (test_libjava_from_javac):
14169         Append .exe to executable names.  Fix for cygwin.
14170
14171 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
14172
14173         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
14174         script entry, and set LD to it when configuring multilibs.
14175         * configure: Rebuilt.
14176
14177 2002-05-07  Tom Tromey  <tromey@redhat.com>
14178
14179         * java/lang/natString.cc (unintern): Fixed typo.
14180
14181 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14182
14183         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
14184         with -no-install on *-*-cygwin*.
14185
14186 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
14187
14188         * testsuite/lib/libjava.exp (test_libjava_from_source):
14189         Add comment explaining last patch
14190
14191 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
14192
14193         * testsuite/lib/libjava.exp (test_libjava_from_source):
14194         Append .exe to executable names.  If no suffix is present,
14195         then ".exe" is added by default on win32.  Harmless
14196         elsewhere so always do it.
14197
14198 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
14199             Tom Tromey  <tromey@redhat.com>
14200
14201         * java/lang/natSystem.cc (getSystemTimeZone): Use
14202         HAVE_UNDERSCORE_TIMEZONE.
14203         * include/config.h.in: Rebuilt.
14204         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
14205         * aclocal.m4, configure: Rebuilt.
14206         * acinclude.m4: Run AC_EXEEXT.
14207         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14208         Add test for `_timezone'.
14209
14210 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
14211
14212         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14213         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14214         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14215         * Makefile.in: Rebuilt.
14216
14217 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
14218
14219         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14220         use sigaction instead of __libc_sigaction.
14221
14222 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14223
14224         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14225         (libjava_init): Use it to find libgcj.spec.
14226         (libjava_arguments): Likewise.
14227
14228 2002-05-02  David S. Miller  <davem@redhat.com>
14229
14230         PR bootstrap/6525
14231         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14232         __libc_sigaction on Sparc.
14233
14234 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
14235
14236         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14237         sys/filio.h, if present.
14238
14239 2002-04-30  Tom Tromey  <tromey@redhat.com>
14240
14241         * java/io/BufferedReader.java (fill): Handle case where markPos
14242         point to ignored \n.  Fixes PR libgcj/6301.
14243
14244 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
14245
14246         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14247
14248 2002-04-29  Adam King <aking@dreammechanics.com>
14249
14250         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14251         of file in APPEND mode.
14252
14253 2002-04-25  David S. Miller  <davem@redhat.com>
14254
14255         PR target/6422
14256         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14257         program counter to next program counter minus 8.  Update
14258         comments in this macro to explain why.
14259
14260 2002-04-26  Tom Tromey  <tromey@redhat.com>
14261
14262         * verify.cc (construct_primitive_array_type) [void_type]: New
14263         case.
14264         (branch_prepass): Added dummy entries for unused instruction
14265         values.
14266         (verify_instructions_0): Likewise.
14267         * interpret.cc (continue1): Comment fix.
14268         * include/java-insns.h (op_xxxunusedxxx1): Removed.
14269         * Makefile.in: Rebuilt.
14270         * Makefile.am: Added -Wswitch-enum.
14271
14272 2002-04-24  Tom Tromey  <tromey@redhat.com>
14273
14274         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14275         correct length of UTF-8 encoded name.  Strip leading `/'.
14276         (_Jv_RegisterResource): Use _Jv_Malloc.
14277
14278 2002-04-23  Adam Megacz <adam@xwt.org>
14279
14280         * win32.cc, include/win32.cc (backtrace): Added this function
14281         because Win32 does not supply it.
14282
14283 2002-04-21  David S. Miller  <davem@redhat.com>
14284
14285         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14286         magic instruction reading sequence.
14287
14288 2002-04-21  Mark Wielaard  <mark@klomp.org>
14289
14290         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14291
14292 2002-04-19  David S. Miller  <davem@redhat.com>
14293
14294         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14295         arg.
14296         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14297         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14298         on Sparc too.
14299         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14300         for 64-bit sparc.
14301         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14302         * sysdeps/sparc/locks.h: New file.
14303         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14304         on all sparc Solaris configurations.  Set to
14305         include/dwarf2-signal.h on sparc Linux.
14306         * configure: Regenerate
14307         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14308
14309 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
14310
14311         * configure: Rebuilt.
14312         * configure.in (backtrace): Function doesn't work on IA-64.
14313
14314 2002-04-17  Adam King <aking@dreammechanics.com>
14315
14316         * java/io/File.java (normalizePath): Add Win32 support for auto
14317         conversion of a '/' path separator to Win32's '\' separator.
14318
14319 2002-04-16  Tom Tromey  <tromey@redhat.com>
14320
14321         Fix for PR libgcj/6081:
14322         * Makefile.in: Rebuilt.
14323         * Makefile.am (install-data-local): Use GNU make trick to avoid
14324         shell limit.
14325
14326 2002-04-16  Adam King <aking@dreammechanics.com>
14327             Tom Tromey  <tromey@redhat.com>
14328
14329         * java/io/natFileWin32.cc (performList): Return the correct array
14330         type.  Don't duplicate the creation of a File since it's already
14331         done earlier in the method and the existing code would cause a
14332         ArrayStoreException.  Don't use fixed-size array.
14333         (_access, _stat, attr, getCanonicalPath, performMkdir,
14334         performRenameTo): Don't use fixed-size array.
14335         (getCanonicalPath): Use throw, not _Jv_Throw.
14336
14337 2002-04-15  DJ Delorie  <dj@redhat.com>
14338
14339         * configure.in: Allow building in $srcdir.
14340         * configure: Regenerated.
14341
14342 2002-04-14  Mark Wielaard <mark@klomp.org>
14343
14344         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14345         * java/net/natSocketImpl.cc (close): Likewise.
14346
14347 2002-04-14  Mark Wielaard <mark@klomp.org>
14348
14349         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14350
14351 2002-04-13  Adam King <aking@dreammechanics.com>
14352
14353         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14354         the f/F/d/D modifiers.
14355
14356 2002-04-12  Anthony Green  <green@redhat.com>
14357
14358         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14359         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14360         * Makefile.in: Rebuilt.
14361         * configure.in: Substitute gcc_version.
14362         * configure: Rebuilt.
14363
14364 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14365
14366         * configure.host: Set can_unwind_signal on hosts which support it.
14367         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14368         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14369         exceptions and can_unwind_signal isn't set.
14370         * configure: Rebuilt.
14371
14372 2002-04-11  Tom Tromey  <tromey@redhat.com>
14373
14374         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14375
14376 2002-04-11  Adam King <aking@dreammechanics.com>
14377             Tom Tromey  <tromey@redhat.com>
14378
14379         * include/jvm.h (_Jv_ThrowBadArrayIndex,
14380         _Jv_ThrowNullPointerException): Mark as noreturn.
14381         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14382         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
14383         fixes.
14384
14385 2002-04-10  Tom Tromey  <tromey@redhat.com>
14386
14387         * Makefile.in: Rebuilt.
14388         * Makefile.am (java/lang/Thread.h): Mark
14389         _Jv_AttachCurrentThreadAsDaemon as friend.
14390         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14391         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14392         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14393         function.
14394         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14395         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14396         (_Jv_JNI_InvokeFunctions): Added
14397         _Jv_JNI_AttachCurrentThreadAsDaemon.
14398         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14399         (JNI_GetDefaultJavaVMInitArgs): Likewise.
14400         (JNI_CreateJavaVM): Likewise.
14401         (_Jv_JNI_AttachCurrentThread): Likewise.
14402         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14403         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14404         (_Jv_JNIFunctions): Initialize new fields.
14405         (_Jv_JNI_NewDirectByteBuffer): New function.
14406         (_Jv_JNI_GetDirectBufferAddress): Likewise.
14407         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14408         * include/jni.h (JNI_VERSION_1_4): New macro.
14409         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14410         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14411         (JNINativeInterface::NewDirectByteBuffer): New field.
14412         (JNINativeInterface::GetDirectBufferAddress): New field.
14413         (JNINativeInterface::GetDirectBufferCapacity): New field.
14414         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14415         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14416         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14417
14418 2002-04-09  Tom Tromey  <tromey@redhat.com>
14419
14420         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14421
14422 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
14423
14424         Fix for PR libgcj/6187:
14425         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14426         distance.
14427
14428 2002-04-07  Mark Wielaard <mark@klomp.org>
14429
14430         * java/util/AbstractMap.java (putAll): Use entrySet size.
14431         (toString): Explicitly use getKey() and getValue().
14432
14433 2002-04-07  Mark Wielaard <mark@klomp.org>
14434
14435         * java/util/Hashtable.java (contains): Remove NullPointer check.
14436         (containsValue): Add NullPointer check.
14437         (remove): Always throw NullPointerException when key
14438         is null.
14439
14440 2002-04-07  Adam King <aking@dreammechanics.com>
14441
14442         * java/lang/natSystem.cc (init_properties): Call new function
14443         _Jv_platform_initProperties.
14444         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14445         support for the System properties os.name, os.arch, os.version,
14446         user.name, user.home, and user.dir.
14447         * include/posix.h, include/win32.h, posix.cc: New function
14448         _Jv_platform_initProperties.
14449
14450 2002-04-06  Mark Wielaard <mark@klomp.org>
14451
14452         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14453
14454 2002-04-06  Mark Wielaard <mark@klomp.org>
14455
14456         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14457         all of the remaining elements.
14458         * java/util/Vector.java (addAll(int,Collection)): Likewise.
14459         (removeRange): If toIndex == fromIndex do
14460         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14461         (removeAll): Always throw NullPointerException when collection is
14462         null.
14463         (retrainAll): Likewise.
14464
14465 2002-04-05  Mark Wielaard <mark@klomp.org>
14466
14467         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14468         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14469
14470 2002-04-05  Adam Megacz <adam@xwt.org>
14471
14472         * exception.cc (abort): added static modifier
14473
14474 2002-04-04  Adam Megacz <adam@xwt.org>
14475
14476         * include/win32.h (_Jv_platform_close_on_exec): added inline
14477         modifier.
14478
14479 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
14480
14481         * configure.host: Add case statement to support generic port
14482         properties.  Add *-*-freebsd* section.
14483
14484 2002-04-04  Mark Wielaard  <mark@klomp.org>
14485
14486         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14487         test.
14488         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14489         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14490         that depend on awt code and BufferedByteOutputStream.interrupt.
14491
14492 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14493
14494         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14495         incorrect "hi" value when count > 40.
14496
14497 2002-04-03  Mark Wielaard  <mark@klomp.org>
14498
14499         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14500         ordering.
14501
14502 2002-04-02  Tom Tromey  <tromey@redhat.com>
14503
14504         * java/lang/natClassLoader.cc (findClass): Compare against `3',
14505         not `0'.
14506
14507 2002-04-02  Mark Wielaard  <mark@klomp.org>
14508
14509         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14510         list of testsuite crashers.
14511
14512 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14513
14514         * java/util/IdentityHashMap.java (put): Set new threshold correctly
14515         when resizing table.
14516
14517 2002-04-01  Mark Wielaard  <mark@klomp.org>
14518
14519         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14520         NegativeArraySizeException
14521         (clear(int)): Use sign extended shift.
14522         (flip(int)): Likewise.
14523         (get(int)): Likewise.
14524         (nextClearBit(int)): Likewise.
14525         (nextSetBit(int)): Likewise.
14526         (set(int)): Likewise.
14527
14528 2002-04-01  Mark Wielaard  <mark@klomp.org>
14529
14530         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14531         that can be compiled now and add testsuite crashers to ignore list.
14532
14533 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
14534
14535         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14536
14537         * libgcj.spec.in: Override libgcc, not lib.
14538         * libgcj-test.spec.in: Likewise.
14539
14540 2002-03-29  Tom Tromey  <tromey@redhat.com>
14541
14542         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14543         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14544
14545 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
14546
14547         * java/net/PlainDatagramSocketImpl.java
14548         (close): Use native implementation.
14549         (finalize): New method.
14550
14551         * java/net/PlainSocketImpl.java (finalize): New method.
14552
14553         * java/net/natPlainDatagramSocketImpl.cc
14554         (java/io/FileDescriptor.h): Don't include.
14555         (close): Implement method here.
14556         (create): Don't assign fd.
14557
14558         * java/net/natPlainSocketImpl.cc
14559         (java/io/FileDescriptor.h): Don't include.
14560         (create): Don't assign fd.
14561         (accept): Likewise.
14562         (close): Synchronize.
14563
14564 2002-03-27  Richard Henderson  <rth@redhat.com>
14565
14566         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14567
14568 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14569
14570         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14571         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14572         instead of syscall on IA-64.
14573         Add FIXME comment.
14574
14575 2002-03-27  Anthony Green  <green@redhat.com>
14576
14577         * libgcj.spec.in: Add CHECKREFSPEC.
14578         * configure.in: Ditto.
14579         * configure.host: Ditto.  Check references for xscale-elf.
14580         * configure: Rebuilt.
14581
14582 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
14583
14584         * include/dwarf2-signal.h: Temporarily back out last change.
14585
14586 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
14587
14588         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14589
14590 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14591
14592         * configure.in, configure: enable dwarf2-exception-style
14593         exception handling on IA-64.
14594         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14595         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14596         Add FIXME comment.
14597
14598 2002-03-25  Tom Tromey  <tromey@redhat.com>
14599
14600         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14601         (jv_convert_LDFLAGS): Likewise.
14602         (gij_LDFLAGS): Likewise.
14603         (rmic_LDFLAGS): Likewise.
14604         (rmiregistry_LDFLAGS): Likewise.
14605         * configure.in (THREADLDFLAGS): New subst; set correctly for
14606         *BSD.
14607
14608 2002-03-25  Tom Tromey  <tromey@redhat.com>
14609
14610         For PR libgcj/5303:
14611         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14612         and --version.
14613         (help): New method.
14614         (version): Likewise.
14615         * gnu/gcj/convert/Convert.java (version): Removed extraneous
14616         "GNU".
14617         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14618         "GNU".
14619
14620 2002-03-25  Tom Tromey  <tromey@redhat.com>
14621
14622         * java/awt/Component.java (processEvent): Check ComponentEvent
14623         after KeyEvent.
14624
14625 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14626
14627         * java/io/PushbackReader.java: Reformat.
14628
14629         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14630         calculate correct number of bytes skipped.
14631
14632         Based on patch from Intel's ORP team:
14633         * java/io/PushbackInputStream.java (available): Calculate correct
14634         number of bytes in buffer.
14635         (read): Remove redundant bound check. Return bytes from both the
14636         buffer and the stream.
14637
14638 2002-03-24  Tom Tromey  <tromey@redhat.com>
14639
14640         * java/awt/TextComponent.java (TextComponent): Editable by
14641         default.
14642
14643         * java/awt/MenuItem.java (eventMask): No longer private.
14644         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14645         superclass if we didn't handle event.
14646         * java/awt/Checkbox.java (dispatchEventImpl): New method.
14647         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14648         * java/awt/Choice.java (dispatchEventImpl): New method.
14649         * java/awt/List.java (dispatchEventImpl): New method.
14650         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14651         * java/awt/TextComponent.java (dispatchEventImpl): New method.
14652         * java/awt/TextField.java (dispatchEventImpl): New method.
14653
14654 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14655
14656         * java/beans/IntrospectionException.java: Update to 1.4.
14657         * java/beans/PropertyVetoException.java: Ditto.
14658
14659 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
14660
14661         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14662         Arrays.equals instead of ArrayHelper.equalsArray.
14663
14664 2002-03-24  C. Brian Jones <cbj@gnu.org>
14665
14666         * java/beans/Introspector.java: added new static final fields
14667         introduced in 1.2, lots of other updates remain to be done
14668
14669 2002-03-24  C. Brian Jones <cbj@gnu.org>
14670
14671         * java/beans/Introspector.java: reformatting
14672
14673 2002-03-24  C. Brian Jones <cbj@gnu.org>
14674
14675         * java/beans/Introspector.java: default beanInfoSearchPath will
14676         not include sun.beans.infos given we provide no such package and
14677         the API doesn't really require it; gnu.java.beans.info is the
14678         default.
14679
14680 2002-03-24  Mark Wielaard  <mark@klomp.org>
14681
14682         Thanks to Orp developers
14683         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14684         switch TRUE and FALSE return values.
14685
14686 2002-03-23  Tom Tromey  <tromey@redhat.com>
14687
14688         * include/name-finder.h (_Jv_name_finder::myclose): New method.
14689         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14690
14691 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
14692
14693         * java/util/GregorianCalendar.java (minimums, maximums): Correct
14694         MONTH entry.  Fixes PR libgcj/6045.
14695
14696 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
14697
14698         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14699
14700 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14701
14702         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14703         not release_set.
14704         * sysdep/powerpc/locks.h (write_barrier): New function.
14705         * sysdep/i386/locks.h (write_barrier): New function.
14706
14707 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
14708
14709         * include/jni.h Use correct C comments.
14710
14711 2002-03-18  Tom Tromey  <tromey@redhat.com>
14712
14713         * include/jni.h (JNIIMPORT): New macro.
14714         (JNIEXPORT): Likewise.
14715         (JNICALL): Likewise.
14716
14717 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14718
14719         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14720         systems.
14721
14722 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
14723
14724         * include/i386-signal.h (old_i386_kernel_sigaction): New.
14725         INIT_SEGV: Use old_i386_kernel_sigaction.
14726         INIT_FP: Likewise.
14727
14728 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14729
14730         * java/lang/natSystem.cc (init_properties): Update VM version
14731         properties.
14732         * configure.in: Set GCJVERSION.
14733         * acconfig.h: Add GCJVERSION.
14734         * configure: Rebuilt.
14735         * include/config.h.in: Rebuilt.
14736
14737 2002-03-17  Anthony Green  <green@redhat.com>
14738
14739         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14740
14741 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14742
14743         Build a single libgcj.so, without separate gc and zlib libraries.
14744         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14745         SYS_ZLIBS if system zlib is used.
14746         * configure: Rebuilt.
14747         * Makefile.am: Use boehm-gc and zlib convenience libraries.
14748         * Makefile.in: Rebuilt.
14749         * libtool-version: Increment .so version number.
14750
14751         * Makefile.am: Escape quotes in echo.
14752         * Makefile.in: Rebuilt.
14753
14754 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14755
14756         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14757         * Makefile.in: Rebuilt.
14758
14759 2002-03-15  Anthony Green  <green@redhat.com>
14760
14761         * configure.host (FILE): New macro for specifing File
14762         implementation.
14763         * configure: Rebuilt.
14764         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
14765
14766 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
14767
14768         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14769         already implicitly brought in from libgcj.la.
14770         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14771         * Makefile.in: Rebuilt.
14772
14773 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
14774
14775         * THANKS: Fix punctuation, alphabetization.
14776
14777 2002-03-15  Tom Tromey  <tromey@redhat.com>
14778             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14779
14780         Fix for PR libgcj/5944.
14781         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14782
14783 2002-03-15  Anthony Green  <green@redhat.com>
14784
14785         * configure.in (tool_include_dir): Define.
14786         * configure: Rebuilt.
14787         * gcj/Makefile.am: Install libgcj-config.h relative to
14788         tool_include_dir.
14789         * gcj/Makefile: Rebuilt.
14790         * gcj/libgcj-config.h: Add warning comment.
14791
14792 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
14793
14794         * configure.host (powerpc*-darwin*): Enable interpreter.
14795
14796 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14797
14798         * include/posix.h: Add multiple include header protection.
14799         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14800
14801 2002-03-10  Adam Megacz <adam@xwt.org>
14802
14803         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14804
14805 2002-03-10  Tom Tromey  <tromey@redhat.com>
14806
14807         * java/awt/GridLayout.java (layoutContainer): Handle case where
14808         there are no items in container.
14809
14810         * java/lang/Win32Process.java: Added comment.
14811         * include/posix.h (_Jv_platform_close_on_exec): New function.
14812         Include fcntl.h.
14813         * include/win32.h (_Jv_platform_close_on_exec): New function.
14814         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14815         flag.
14816         (accept): Likewise.
14817         * java/net/natPlainDatagramSocketImpl.cc (create): Set
14818         close-on-exec flag.
14819         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14820         flag.
14821
14822 2002-03-09  Tom Tromey  <tromey@redhat.com>
14823
14824         * verify.cc (state::NO_STACK): New constant.
14825         (state::is_unmerged_ret_state): Handle case where stacktop is
14826         NO_STACK.
14827         (state::merge): Handle NO_STACK merges.
14828         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14829         for instruction following jsr.
14830         (stacktop, stackdepth): Removed unused variables.
14831         (pop_jump): Ignore case where all remaining states are skipped.
14832
14833 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14834
14835         * java/awt/ImageMediaEntry: Removed.
14836         * java/awt/MediaEntry: Removed.
14837
14838 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14839
14840         Hashtable synchronization for PowerPC.
14841         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14842         slow_pthread_self. Set up symlink for sysdeps directory.
14843         * configure: Rebuild.
14844         * configure.host: Document more shell variables. Set sysdeps_dir
14845         for most platforms. Set slow_pthread_self for i686. Set
14846         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14847         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14848         that memory barrier is emitted where required.
14849         * prims.cc: 64-bit align static primitive class instances.
14850         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14851         read_barrier() to enforce ordering of reads.
14852         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14853         primitives for PowerPC.
14854         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14855         moved from natObject.cc.
14856         * sysdep/alpha/locks.h: Likewise.
14857         * sysdep/ia64/locks.h: Likewise.
14858         * sysdep/generic/locks.h: Likewise.
14859         * java/lang/natObject.cc: Move thread synchronization primitives to
14860         system-dependent headers.
14861
14862 2002-03-09  Adam Megacz  <adam@xwt.org>
14863
14864         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14865         bytes read and no failure code returned.
14866
14867 2002-03-09  Adam Megacz  <adam@xwt.org>
14868
14869         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14870         definitions to simulate -mthreads.
14871
14872 2002-03-09  Adam Megacz  <adam@xwt.org>
14873
14874         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14875         avoid precision loss.
14876
14877 2002-03-09  Per Bothner  <per@bothner.com>
14878
14879         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
14880         * gnu/gcj/xlib/XImage.java:  Likewise.
14881         * gnu/gcj/xlib/XColor.java:  Likewise.
14882
14883 2002-03-09  Adam Megacz  <adam@xwt.org>
14884
14885         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14886         IOException so that Throwable.printStackTrace fails correctly.
14887
14888 2002-03-08  Adam Megacz  <adam@xwt.org>
14889
14890         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14891         fixed.
14892
14893 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14894
14895         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14896         truncated to int.
14897
14898 2002-03-08  Tom Tromey  <tromey@redhat.com>
14899
14900         * include/jni.h: Include stdio.h.
14901
14902 2002-03-08  Tom Tromey  <tromey@redhat.com>
14903
14904         * posix.cc (internal_gettimeofday): New function.
14905         (_Jv_select): Use it.
14906
14907 2002-03-07  Adam Megacz  <adam@xwt.org>
14908
14909         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14910         WIN32, and added thunks for read(), write(), and close().
14911         * java/net/natPlainSocketImpl.cc (accept, read, read):
14912         Disabled timeouts on WIN32 pending discussion.
14913
14914 2002-03-07  Adam Megacz  <adam@xwt.org>
14915
14916         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14917         returns jlong. Added implementation
14918         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14919         returns jlong.
14920         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14921         returns jlong.
14922         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14923         returns jlong.
14924         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14925         _Jv_platform_gettimeofday signature.
14926
14927 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14928
14929         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14930         (read): Call recv() directly, not _Jv_recv().
14931
14932 2002-03-06  Tom Tromey  <tromey@redhat.com>
14933
14934         * java/io/natFileDescriptorEcos.cc (init): Don't use
14935         GetStdHandle.
14936         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14937         is negative.
14938         (init): Don't use GetStdHandle.
14939
14940         * include/config.h.in: Rebuilt.
14941         * configure: Rebuilt.
14942         * Makefile.in: Rebuilt.
14943
14944 2002-03-06  Adam Megacz  <adam@xwt.org>
14945
14946         * java/io/FileDescriptor.java: Initialize in/out/err in init().
14947         * java/io/natFileDescriptorWin32.cc (init()): Added function.
14948         * java/io/natFileDescriptorPosix.cc (init()): Added function.
14949         * java/io/natFileDescriptorEcos.cc (init()): Added function.
14950
14951 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
14952
14953         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14954         the code for generating include/java-chartables.h.
14955         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14956         merge with Classpath.
14957         * scripts/unicode-muncher.pl: Copy from Classpath.
14958         * scritps/MakeCharTables.java: New file.
14959         * gnu/gcj/convert/Blocks-3.txt: New file.
14960         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14961         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14962         * gnu/java/lang/CharData.java: Copy from Classpath.
14963         * Makefile.am (ordinary_java_source_files): Add
14964         gnu/java/lang/CharData.java.
14965         * configure.in: Remove --enable-fast-character option.
14966         * java/lang/Character.java: Merge algorithms and Javadoc with
14967         Classpath.
14968         * java/lang/natCharacter.cc: Implement Unicode lookup table more
14969         efficiently.
14970         * include/java-chardecomp.h: Regenerate.
14971         * include/java-chartables.h: Regenerate.
14972
14973 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14974
14975         * java/awt/MediaTracker.java: Implemented.
14976         * Makefile.am: Add MediaTracker.
14977         * Makefile.in: Rebuilt.
14978
14979 2002-03-05  Tom Tromey  <tromey@redhat.com>
14980
14981         * java/lang/natPosixProcess.cc (fail): Removed.
14982         (startProcess): Simplified error-handling.  Preserve
14983         LD_LIBRARY_PATH across exec.
14984
14985         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14986         AbstractMethodError.
14987
14988 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14989
14990         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14991         * Makefile.in: Rebuilt.
14992
14993 2002-03-03 Mark Wielaard <mark@klomp.org>
14994
14995         * java/util/Timer (TaskQueue.stop): set elements to zero.
14996
14997 2002-02-28  Anthony Green  <green@redhat.com>
14998
14999         * java/lang/reflect/natMethod.cc (result): Add void* element.
15000         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
15001         constructor test.
15002
15003 2002-02-27  Adam Megacz <adam@xwt.org>
15004
15005         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15006         '#undef STRICT'.
15007
15008 2002-02-26  Tom Tromey  <tromey@redhat.com>
15009
15010         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15011         * gij.cc (version): Use __VERSION__.
15012         * include/config.h.in: Rebuilt.
15013         * acconfig.h (GCJVERSION): Removed.
15014         * configure: Rebuilt.
15015         * configure.in (GCJVERSION): Removed.
15016
15017 2002-02-26  Andreas Schwab  <schwab@suse.de>
15018
15019         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15020         glibcpp_CXX, since libjava uses even another CXX.
15021         * aclocal.m4, configure: Regenerated.
15022
15023 2002-02-26  Tom Tromey  <tromey@redhat.com>
15024
15025         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15026         `1'.
15027
15028 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15029
15030         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15031         dependency tracking for .java files.
15032         * Makefile.in: Rebuilt.
15033
15034 2002-02-24  Adam Megacz  <adam@xwt.org>
15035
15036         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15037         typo. Sorry.
15038
15039 2002-02-24  Adam Megacz  <adam@xwt.org>
15040
15041         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15042         for Win32, changed #ifdefs to check WIN32 instead of the
15043         (now-obsolete) USE_WINSOCK, and removed support for socket
15044         timeouts on Win32 pending further discussion.
15045
15046 2002-02-24  Adam Megacz  <adam@xwt.org>
15047
15048         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15049         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15050         delete
15051
15052 2002-02-24  Adam Megacz  <adam@xwt.org>
15053
15054         * java/lang/Win32Process.java: Created a dummy class to allow
15055         build process to run to completion.
15056
15057 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
15058
15059         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15060         Define ffi_result union for ffi_call result.  Cast
15061         ffi_result members to jvalue.
15062
15063 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
15064
15065         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15066         * testsuite/Makefile.in: Likewise.
15067
15068 2002-02-20  Per Bothner  <per@bothner.com>
15069
15070         * java/net/URL.java (getPath):  New JDK 1.3 method.
15071
15072         * java/net/URLStreamHandler.java (parseURL):
15073         It is wrong to prepend '/' to the file part of a relative url.
15074
15075         * java/net/URLStreamHandler.java (parseURL):
15076         Minor optizations - append '/' rather than "/".
15077
15078         * java/net/URLStreamHandler.java (parseURL):
15079         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15080         We probably should canonicalize for a context-relative url, though.
15081         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
15082         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
15083         (sameFile):  New method.  Uses canonicalizeFilename.
15084
15085 2002-02-22  Tom Tromey  <tromey@redhat.com>
15086
15087         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15088         java.vendor and java.vm.vendor.
15089         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15090         recent copyright date.
15091         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15092         * gij.cc (version): Print `Inc'.
15093
15094 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15095
15096         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15097         * aclocal.m4, configure: Rebuilt.
15098
15099 2002-02-20  Per Bothner  <per@bothner.com>
15100
15101         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
15102         and/or output streams immediately here, instead of using File.exists.
15103         (inputStream, outputStream):  New fields to save open streams.
15104         (getInputStream, getOutputStream):  Use already-opened streams.
15105
15106 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
15107
15108         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15109         Use it.
15110         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15111         * aclocal.m4, configure, Makefile.in: Rebuilt.
15112
15113 2002-02-19  Tom Tromey  <tromey@redhat.com>
15114
15115         Fix for PR libgcj/5696:
15116         * verify.cc (is_assignable_from_slow): Never call
15117         _Jv_IsAssignableFrom.
15118         (verify_instructions_0): Added new debug statement.
15119         (state::print): Print information about whether local has
15120         changed.
15121         (state::merge): Don't call note_variable when merging locals.
15122         (state::set_exception): Removed old FIXME comment.
15123
15124 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15125
15126         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
15127         enable SO_BROADCAST.
15128
15129 2002-02-18  Jason Merrill  <jason@redhat.com>
15130
15131         * name-finder.cc (toHex): Use word mode, not long long.
15132
15133         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
15134
15135 2002-02-15  Tom Tromey  <tromey@redhat.com>
15136
15137         Fix for PR libgcj/5695:
15138         * verify.cc (is_assignable_from_slow): Check to see if target is
15139         an Object before checking to see if source is an interface.
15140         (verify_instructions_0) [op_invokeinterface]: Handle case where
15141         we're making an interface call on Object.
15142
15143 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15144
15145         * Makefile.in: Rebuilt with Eric's change below.
15146
15147         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
15148         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
15149         Removed functions which are now implemented in Math.java.
15150
15151 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15152
15153         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
15154         * Makefile.am (core_java_source_files): Add
15155         java/lang/StrictMath.java.
15156         * java/lang/Math.java: Merge with Classpath.
15157         * java/lang/StrictMath.java: New file - merge with Classpath.
15158
15159 2002-02-14  Mark Wielaard  <mark@klomp.org>
15160
15161         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
15162         package as a workaround for gcj 3.0.x
15163
15164 2002-02-14  Mark Wielaard <mark@klomp.org>
15165
15166         * java/security/BasicPermission.java: extends with fully qualified
15167         classname as workaround for gcj 3.0.4.
15168
15169 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15170
15171         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
15172         around gcj bug of wrong emitted qualifier for inherited method.
15173         * java/net/SocketImpl.java (setOption, getOption): Ditto.
15174         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
15175         constructor to reduce amount of emitted bytecode. While this
15176         happens to work around a jikes 1.15 bug, it is still a useful
15177         patch even for correct compilers.
15178         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
15179         * gnu/java/rmi/server/UnicastRemoteCall.java
15180         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
15181
15182 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
15183
15184         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
15185         * java/net/SocketImpl.java: Ditto.
15186         * java/rmi/server/RMIClassLoader.java: Ditto.
15187         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
15188
15189 2002-02-14  Mark Wielaard <mark@klomp.org>
15190
15191         Thanks to Takashi Okamoto
15192         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
15193         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
15194         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
15195
15196 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15197
15198         Fix for PR libgcj/5670:
15199         * verify.cc (is_assignable_from_slow): If `source' is interface,
15200         recursively look for merge with `target'.
15201
15202 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
15203
15204         * include/jni.h: Fix typo.
15205
15206 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
15207
15208         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15209         correctly.
15210
15211 2002-02-13  Todd Stock  <toddastock@yahoo.com>
15212
15213         Fix for PR libgcj/5671:
15214         * verify.cc (state::merge): Handle case where we're merging
15215         against an interface.
15216
15217 2002-02-12  Tom Tromey  <tromey@redhat.com>
15218
15219         * exception.cc (std::abort): Mark as noreturn.
15220
15221 2002-02-12  Adam Megacz <adam@xwt.org>
15222
15223         * java/lang/Win32Process.java: Filled in a placeholder
15224         implementation so Win32 will build.
15225
15226 2002-02-12  Adam Megacz <adam@xwt.org>
15227
15228         * java/io/natFilePosix.cc: Copied this from natFile.cc.
15229         * java/io/natFile.cc: Removed from repository.
15230         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15231
15232 2002-02-12  Adam Megacz <adam@xwt.org>
15233
15234         * win32.cc: Added two #includes to make win32.cc compile.
15235
15236 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15237
15238         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15239         declarations.
15240         (_Jv_InitGC): Don't bother locking, as this is always called from a
15241         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15242
15243 2002-02-11  Adam Megacz <adam@xwt.org>
15244
15245         * include/win32.h: Added _Jv_platform_gettimeofday.
15246         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15247
15248 2002-02-11  Adam Megacz <adam@xwt.org>
15249
15250         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15251         Added #undef STRICT to make windows.h and
15252         java/lang/reflect/Modifier.h cooperate.
15253
15254 2002-02-11  Adam Megacz <adam@xwt.org>
15255
15256         * java/io/natFileWin32.cc: Created a placeholder class with lots
15257         of FIXMEs.
15258
15259 2002-02-11  Adam Megacz <adam@xwt.org>
15260
15261         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15262         std::abort() to simply abort(). Also added "fake" std::abort() so
15263         we can #include unwind-pe.h without having to link against
15264         libstdc++-v3.
15265
15266 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
15267
15268         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15269
15270 2002-02-08  Tom Tromey  <tromey@redhat.com>
15271
15272         * interpret.cc (convert): New function.
15273         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15274         convert.
15275         Include Long.h.
15276
15277 2002-02-08  Anthony Green  <green@redhat.com>
15278
15279         * configure.host: Add support for xscale-elf embedded target.
15280
15281 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
15282
15283         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15284         dereferenced.
15285         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15286         frame.
15287
15288 2002-02-07  Tom Tromey  <tromey@redhat.com>
15289
15290         * java/io/natFile.cc (_access): Use __builtin_alloca.
15291         (_stat): Likewise.
15292         (attr): Likewise.
15293         (getCanonicalPath): Likewise.
15294         (performList): Likewise.
15295         (performMkdir): Likewise.
15296         (performSetReadOnly): Likewise.
15297         (performRenameTo): Likewise.
15298         (performSetLastModified): Likewise.
15299         (performCreate): Likewise.
15300         (performDelete): Likewise.
15301
15302 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15303
15304         * HACKING: Fix URL for the automake-gcj.
15305
15306 2002-02-07  Tom Tromey  <tromey@redhat.com>
15307
15308         * java/lang/natThrowable.cc: Updated copyright.
15309         * java/io/natFileWin32.cc: Updated copyright.
15310         * java/io/natFileDescriptorWin32.cc: Updated copyright.
15311         * win32-threads.cc: Updated copyright.
15312         * name-finder.cc: Updated copyright.
15313         * include/name-finder.h: Updated copyright.
15314
15315         * include/name-finder.h: Conditionally include sys/wait.h.
15316         * include/config.h.in: Rebuilt.
15317
15318         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15319         Size buffer based on real size of string.
15320         (_stat): Likewise.
15321         (attr): Likewise.
15322         (getCanonicalPath): Likewise.
15323         (performList): Likewise.
15324         (performMkdir): Likewise.
15325         (performSetReadOnly): Likewise.
15326         (unixroot): Removed.
15327         (performRenameTo): Likewise.
15328         (performSetLastModified): Likewise.
15329         (performCreate): Likewise.
15330         (performDelete): Likewise.
15331         (performListRoots): Always return new array.
15332
15333         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15334         * win32.cc (win32_exception_handler): Now static.
15335         * include/win32.h (_Jv_platform_initialize): Declare.
15336         (win32_exception_handler): Don't declare.
15337         * java/lang/natSystem.cc (currentTimeMillis): Use
15338         _Jv_platform_gettimeofday.
15339         * posix.cc (_Jv_platform_gettimeofday): Renamed.
15340         (_Jv_select): Use new name.
15341         (_Jv_platform_initialize): New function.
15342         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15343         _Jv_gettimeofday.
15344         (_Jv_platform_initialize): Declare.
15345
15346         * configure: Rebuilt.
15347         * configure.in: Removed unnecessary parens.
15348
15349 2002-02-06  Adam Megacz <adam@xwt.org>
15350
15351        * configure.in: Changed mingw) to *mingw*).
15352        * win32.cc: Created this file.
15353        * win32.h: Created this file.
15354        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15355        win32_exception_handler from prims.cc to win32.cc, added
15356        header in win32.h.
15357        * prims.cc: removed some #ifdef-WIN32'd headers which are no
15358        longer needed now that we have platform.h
15359
15360 2002-02-06  Adam Megacz <adam@xwt.org>
15361
15362         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15363         use uint<n>_t instead of LONG and BYTE
15364
15365 2002-02-06  Adam Megacz <adam@xwt.org>
15366
15367         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15368
15369 2002-02-06  Anthony Green  <green@redhat.com>
15370
15371         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15372         Implement missing method stubs.
15373         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15374         targets.
15375         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15376         concept of timezones.
15377         (init_properties): Don't refer to _Jv_Environment_Properties
15378         when this feature is not available.
15379         * include/config.h.in: Rebuilt.
15380         * acconfig.h: Add DISABLE_MAIN_ARGS.
15381         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15382         * configure: Rebuilt.
15383         * configure.in: Add --disable-main-args option.  Test for
15384           opendir function.  Replace AC_CHECK_SIZEOF with
15385           AC_COMPILE_CHECK_SIZEOF.
15386         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15387         * aclocal.m4: Rebuilt.
15388         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15389
15390 2002-02-06  Tom Tromey  <tromey@redhat.com>
15391
15392         * verify.cc (require_array_type): If argument is a null array of
15393         references, return null as the element type.
15394
15395 2002-02-06  Mark Wielaard  <mark@klomp.org>
15396
15397         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15398         duplicate of a wide type.
15399
15400 2002-02-06  Tom Tromey  <tromey@redhat.com>
15401
15402         * verify.cc (type::isnull): New method.
15403         (require_array_type): Handle case where array is null.
15404         (verify_instructions_0) [op_arraylength]: Likewise.
15405
15406 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15407
15408         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15409         Symlink PLATFORMH to platform.h.
15410         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15411         PLATFORMOBJS.
15412         * java/lang/natSystem.cc: #include platform.h not posix.h.
15413         * Makefile.in: Rebuilt with libgcj automake.
15414         * configure: Rebuilt.
15415
15416 2002-02-05  Richard Henderson  <rth@redhat.com>
15417
15418         * Makefile.in: Undo munging last change.
15419
15420 2002-02-04  Adam Megacz <adam@xwt.org>
15421
15422         * win32.cc: Created it.
15423         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15424         which is set to posix.cc or win32.cc.
15425         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15426
15427 2002-02-04  Adam Megacz <adam@xwt.org>
15428
15429         * configure.in: Corrected mingw case branches; added * before
15430         and after.
15431
15432 2002-02-04  Adam Megacz <adam@xwt.org>
15433
15434         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15435         if compiling for win32
15436
15437 2002-02-04  Adam Megacz <adam@xwt.org>
15438
15439         * win32-threads.cc: #undef STRICT after gc.h inclusion
15440
15441 2002-02-02  Tom Tromey  <tromey@redhat.com>
15442
15443         * Makefile.in: Rebuilt.
15444
15445 2002-02-02  Jason Merrill  <jason@redhat.com>
15446
15447         * Makefile.am (clean-nat): New target.
15448
15449 2002-02-02  Tom Tromey  <tromey@redhat.com>
15450
15451         * java/io/natFile.cc: Removed old "FIXME" comments.
15452
15453 2002-02-01  Tom Tromey  <tromey@redhat.com>
15454
15455         * java/lang/natPosixProcess.cc (myclose): New function.
15456         (fail): Use it.
15457         (startProcess): Likewise.
15458
15459 2002-02-01  Adam Megacz <adam@xwt.org>
15460
15461         * prims.cc: Added #undef STRICT after #include<windows.h>.
15462
15463 2002-02-01  Adam Megacz <adam@xwt.org>
15464
15465         * prims.cc
15466         (_Jv_CreateJavaVM): We now use WIN32 instead of
15467         USE_WIN32_SIGNALLING and USE_WINSOCK.
15468         (win32_exception_handler): Now throws an exception out of
15469         the signal handler; assumes SJLJ.
15470
15471 2002-02-01  Adam Megacz <adam@xwt.org>
15472
15473         * win32-threads.cc:
15474         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15475         wait() algorithm to make it safe.
15476         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15477         Added lazy creation of Win32 Events for better performance
15478         (really_start): This now uses GC_CreateThread so boehm-gc
15479         knows about new threads even when statically linked.
15480
15481 2002-02-01  Adam Megacz <adam@xwt.org>
15482
15483         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15484         enable safer wait() algorithm.
15485         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15486         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15487         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15488         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15489         instead of mutex.
15490         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15491
15492 2002-02-01  Adam Megacz <adam@xwt.org>
15493
15494         * configure.in: Added support for mingw.
15495         * java/lang/Win32Process.java: Created as empty file.
15496         * java/lang/natWin32Process.cc: Created as empty file.
15497
15498 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15499
15500         PR java/4972
15501         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15502         for libiconv in LIBICONV variable.
15503         * configure: Regenerated.
15504
15505 2002-01-31  Tom Tromey  <tromey@redhat.com>
15506
15507         * verify.cc (state::enter_subroutine): New method.
15508         (handle_jsr_insn): Use it.
15509         (state::merge): When processing a `ret', correctly use
15510         subroutine's state to determine which local variables have
15511         changed.
15512         (push_exception_jump): Don't let stack overflow.
15513
15514 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
15515
15516         * gnu/gcj/convert/Convert.java: Only include one copyright year in
15517         --version output.
15518
15519 2002-01-30  Tom Tromey  <tromey@redhat.com>
15520
15521         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15522         parameter for `recv' return type.
15523
15524         * verify.cc (handle_ret_insn): Check for subroutine merge here...
15525         (state::merge): ... not here.
15526         (subr_entry_info): New structure.
15527         (entry_points): New field.
15528         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
15529         entry_points.
15530
15531 2002-01-29  Tom Tromey  <tromey@redhat.com>
15532
15533         * java/awt/List.java (addNotify): Correctly check to see if peer
15534         does not exist.
15535
15536         * java/awt/GridLayout.java (layoutContainer): Use number of rows
15537         to compute height of each cell, and number of columns to compute
15538         width of each cell.
15539         * java/awt/Window.java (getOwnedWindows): Don't return null.
15540         * java/awt/FlowLayout.java (layoutContainer): Set width and height
15541         of component.  Increment x using horizontal gap, not vertical
15542         gap.
15543
15544 2002-01-28  Tom Tromey  <tromey@redhat.com>
15545
15546         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15547         `nargs' byte is number of words, not number of arguments.
15548
15549 2002-01-27  Tom Tromey  <tromey@redhat.com>
15550
15551         * java/awt/event/MouseEvent.java (modifiers): Removed field.
15552         (when): Likewise.
15553         * java/awt/event/InputEvent.java (modifiers, when): Now
15554         package-private.
15555
15556         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15557         and to-do list.
15558         (state::merge): Use current class' class loader.
15559         (state::print): Print subroutine.
15560         (state::merge): Don't look at subroutine of unmerged `ret'.
15561
15562 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15563
15564         * nogc.cc: Remove warnings.
15565         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15566         New functions.
15567
15568 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15569
15570         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15571         int, int):  Remove empty "if" statement to work around compiler bug.
15572         (newPixels(int[], ColorModel, int, int): Likewise.
15573
15574 2002-01-25  Per Bothner  <per@bothner.com>
15575
15576         * verify.cc (verify_fail):  Change from being a top-level function
15577         to e method of _Jv_BytecodeVerifier.  Emit current method name.
15578         Pass the current verifier to type: and state: methods as needed,
15579         for better error messages, and for resolve.
15580         (resolve):  Pass current class's loader for Class.forName and
15581         _Jv_FindClassFromSignature, rather than using the default loader.
15582         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
15583         (get_type_val_for_signature):  Make non-static.
15584         (various methods):  Pass start_PC implicitly, not explicitly.
15585
15586 2002-01-25  Tom Tromey  <tromey@redhat.com>
15587
15588         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15589         loop termination condition.
15590         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15591         width.
15592
15593 2002-01-24  Tom Tromey  <tromey@redhat.com>
15594
15595         * java/awt/Shape.java: Merged with Classpath.
15596         * java/awt/Scrollbar.java: Merged with Classpath.
15597
15598         * java/awt/Container.java (addNotify): Unconditionally call
15599         addNotifyContainerChildren and superclass addNotify.
15600
15601         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15602         getAlpha, not getBlue.
15603
15604 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15605
15606         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15607
15608         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15609         (grabPixels(long)): Wait to be notified that the ImageProducer has
15610         completed.
15611
15612 2002-01-24  Per Bothner  <per@bothner.com>
15613
15614         * verify.cc (is_assignable_from_slow): If target is an interface,
15615         we must still check the source's superclass before giving up.
15616
15617 2002-01-24  Tom Tromey  <tromey@redhat.com>
15618
15619         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15620
15621 2002-01-23  Tom Tromey  <tromey@redhat.com>
15622
15623         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15624         `else'.
15625
15626         * Makefile.in: Rebuilt.
15627         * Makefile.am (awt_java_source_files): Added new files.
15628         * java/awt/Toolkit.java: Merged with Classpath.
15629         * java/awt/PrintGraphics.java: New file from Classpath.
15630         * java/awt/PrintJob.java: New file from Classpath.
15631         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15632         * java/awt/datatransfer/ClipboardOwner.java: New file from
15633         Classpath.
15634         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15635         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15636         * java/awt/datatransfer/MimeTypeParseException.java: New file from
15637         Classpath.
15638         * java/awt/datatransfer/StringSelection.java: New file from
15639         Classpath.
15640         * java/awt/datatransfer/SystemFlavorMap.java: New file from
15641         Classpath.
15642         * java/awt/datatransfer/Transferable.java: New file from
15643         Classpath.
15644         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15645         from Classpath.
15646
15647         * Makefile.in: Rebuilt.
15648         * Makefile.am (awt_java_source_files): Added new files.
15649         * java/awt/image/AreaAveragingScaleFilter.java: New file from
15650         Classpath.
15651         * java/awt/image/CropImageFilter.java: New file from Classpath.
15652         * java/awt/image/FilteredImageSource.java: New file from
15653         Classpath.
15654         * java/awt/image/ImageFilter.java: New file from Classpath.
15655         * java/awt/image/MemoryImageSource.java: New file from Classpath.
15656         * java/awt/image/PixelGrabber.java: New file from Classpath.
15657         * java/awt/image/RGBImageFilter.java: New file from Classpath.
15658         * java/awt/image/ReplicateScaleFilter.java: New file from
15659         Classpath.
15660         * java/awt/image/ImageProducer.java: Replaced with Classpath
15661         version.
15662         * java/awt/image/ImageObserver.java: Replaced with Classpath
15663         version.
15664         * java/awt/image/ImageConsumer.java: Replaced with Classpath
15665         version.
15666         * java/awt/GridBagConstraints.java (clone): Catch
15667         CloneNotSupportedException.
15668
15669 2002-01-23  Per Bothner  <per@bothner.com>
15670
15671         * java/lang/reflect/natField.cc (setAddr):  New function.
15672         Calls getAddr and then checks that the field isn't final.
15673         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15674         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
15675         (set):  Call setAddr before check that new value has right type,
15676         to better match specified semantics.
15677
15678 2002-01-22  Tom Tromey  <tromey@redhat.com>
15679
15680         * java/awt/TextField.java: Replaced with Classpath version.
15681         * java/awt/TextArea.java: Replaced with Classpath version.
15682         * java/awt/TextComponent.java: Replaced with Classpath version.
15683
15684         * java/awt/GridBagConstraints.java: Updated copyright.
15685
15686 2002-01-22  Mark Wielaard <mark@klomp.org>
15687
15688         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15689         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15690         java/awt/Dialog.java java/awt/FileDialog.java
15691         java/awt/Font.java java/awt/FontMetrics.java
15692         java/awt/Image.java java/awt/ImageMediaEntry.java
15693         java/awt/Insets.java java/awt/List.java
15694         java/awt/MediaEntry.java java/awt/MediaTracker.java
15695         java/awt/Menu.java java/awt/MenuBar.java
15696         java/awt/MenuContainer.java java/awt/MenuShortcut.java
15697         java/awt/PaintContext.java java/awt/Panel.java
15698         java/awt/PopupMenu.java java/awt/SystemColor.java
15699         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15700         java/awt/peer/CheckboxMenuItemPeer.java
15701         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15702         java/awt/peer/ComponentPeer.java
15703         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15704         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15705         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15706         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15707         java/awt/peer/MenuBarPeer.java
15708         java/awt/peer/MenuComponentPeer.java
15709         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15710         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15711         java/awt/peer/ScrollPanePeer.java
15712         java/awt/peer/ScrollbarPeer.java
15713         java/awt/peer/TextAreaPeer.java
15714         java/awt/peer/TextComponentPeer.java
15715         java/awt/peer/TextFieldPeer.java
15716         java/awt/peer/WindowPeer.java: Add license clarification.
15717
15718 2002-01-22  Mark Wielaard <mark@klomp.org>
15719
15720         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15721         gnu/gcj/runtime/StringBuffer.java
15722         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15723         gnu/java/awt/ComponentDataBlitOp.java
15724         gnu/java/awt/GLightweightPeer.java
15725         gnu/java/beans/BeanInfoEmbryo.java
15726         gnu/java/beans/EmptyBeanInfo.java
15727         gnu/java/beans/ExplicitBeanInfo.java
15728         gnu/java/beans/IntrospectionIncubator.java
15729         gnu/java/beans/editors/ColorEditor.java
15730         gnu/java/beans/editors/FontEditor.java
15731         gnu/java/beans/editors/NativeBooleanEditor.java
15732         gnu/java/beans/editors/NativeByteEditor.java
15733         gnu/java/beans/editors/NativeDoubleEditor.java
15734         gnu/java/beans/editors/NativeFloatEditor.java
15735         gnu/java/beans/editors/NativeIntEditor.java
15736         gnu/java/beans/editors/NativeLongEditor.java
15737         gnu/java/beans/editors/NativeShortEditor.java
15738         gnu/java/beans/editors/StringEditor.java
15739         gnu/java/beans/info/ComponentBeanInfo.java
15740         gnu/java/io/ClassLoaderObjectInputStream.java
15741         gnu/java/io/NullOutputStream.java
15742         gnu/java/io/ObjectIdentityWrapper.java
15743         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15744         gnu/java/lang/reflect/TypeSignature.java
15745         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15746         gnu/java/locale/Calendar_en.java
15747         gnu/java/locale/Calendar_nl.java
15748         gnu/java/locale/LocaleInformation.java
15749         gnu/java/locale/LocaleInformation_de.java
15750         gnu/java/locale/LocaleInformation_en.java
15751         gnu/java/locale/LocaleInformation_nl.java
15752         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15753         gnu/java/rmi/registry/RegistryImpl.java
15754         gnu/java/rmi/rmic/Compile_gcj.java
15755         gnu/java/rmi/rmic/Compiler.java
15756         gnu/java/rmi/rmic/CompilerProcess.java
15757         gnu/java/rmi/rmic/RMIC.java
15758         gnu/java/rmi/rmic/TabbedWriter.java
15759         gnu/java/rmi/server/ProtocolConstants.java
15760         gnu/java/rmi/server/RMIDefaultSocketFactory.java
15761         gnu/java/rmi/server/RMIHashes.java
15762         gnu/java/rmi/server/RMIObjectInputStream.java
15763         gnu/java/rmi/server/RMIObjectOutputStream.java
15764         gnu/java/rmi/server/UnicastConnection.java
15765         gnu/java/rmi/server/UnicastConnectionManager.java
15766         gnu/java/rmi/server/UnicastRef.java
15767         gnu/java/rmi/server/UnicastRemoteCall.java
15768         gnu/java/rmi/server/UnicastRemoteStub.java
15769         gnu/java/rmi/server/UnicastServer.java
15770         gnu/java/rmi/server/UnicastServerRef.java
15771         gnu/java/security/provider/DefaultPolicy.java
15772         gnu/java/security/provider/Gnu.java
15773         gnu/java/security/provider/SHA.java
15774         gnu/java/security/provider/SHA1PRNG.java
15775         gnu/java/text/BaseBreakIterator.java
15776         gnu/java/text/CharacterBreakIterator.java
15777         gnu/java/text/LineBreakIterator.java
15778         gnu/java/text/SentenceBreakIterator.java
15779         gnu/java/text/WordBreakIterator.java
15780         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15781         java/applet/AppletContext.java java/applet/AppletStub.java
15782         java/applet/AudioClip.java java/awt/AWTError.java
15783         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15784         java/awt/AWTException.java java/awt/AWTPermission.java
15785         java/awt/ActiveEvent.java java/awt/BorderLayout.java
15786         java/awt/Button.java java/awt/Canvas.java
15787         java/awt/CardLayout.java java/awt/Checkbox.java
15788         java/awt/CheckboxGroup.java java/awt/Component.java
15789         java/awt/ComponentOrientation.java java/awt/Container.java
15790         java/awt/Dimension.java java/awt/Event.java
15791         java/awt/EventDispatchThread.java java/awt/EventQueue.java
15792         java/awt/FlowLayout.java java/awt/Frame.java
15793         java/awt/Graphics.java java/awt/Graphics2D.java
15794         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15795         java/awt/IllegalComponentStateException.java
15796         java/awt/ItemSelectable.java java/awt/Label.java
15797         java/awt/LayoutManager.java java/awt/LayoutManager2.java
15798         java/awt/MenuComponent.java java/awt/MenuItem.java
15799         java/awt/Paint.java java/awt/Point.java
15800         java/awt/Rectangle.java java/awt/RenderingHints.java
15801         java/awt/Transparency.java java/awt/Window.java
15802         java/awt/color/ColorSpace.java
15803         java/awt/color/ICC_ColorSpace.java
15804         java/awt/color/ICC_Profile.java
15805         java/awt/event/HierarchyBoundsAdapter.java
15806         java/awt/event/HierarchyBoundsListener.java
15807         java/awt/event/HierarchyEvent.java
15808         java/awt/event/HierarchyListener.java
15809         java/awt/geom/AffineTransform.java
15810         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15811         java/awt/geom/IllegalPathStateException.java
15812         java/awt/geom/Line2D.java
15813         java/awt/geom/NoninvertibleTransformException.java
15814         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15815         java/awt/geom/Rectangle2D.java
15816         java/awt/geom/RectangularShape.java
15817         java/awt/geom/RoundRectangle2D.java
15818         java/awt/image/BufferedImage.java
15819         java/awt/image/ColorModel.java
15820         java/awt/image/ComponentColorModel.java
15821         java/awt/image/ComponentSampleModel.java
15822         java/awt/image/DataBuffer.java
15823         java/awt/image/DataBufferByte.java
15824         java/awt/image/DataBufferInt.java
15825         java/awt/image/DataBufferUShort.java
15826         java/awt/image/DirectColorModel.java
15827         java/awt/image/PackedColorModel.java
15828         java/awt/image/Raster.java java/awt/image/RasterOp.java
15829         java/awt/image/SampleModel.java
15830         java/awt/image/SinglePixelPackedSampleModel.java
15831         java/awt/image/WritableRaster.java
15832         java/beans/AppletInitializer.java
15833         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15834         java/beans/Beans.java java/beans/Customizer.java
15835         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15836         java/beans/FeatureDescriptor.java
15837         java/beans/IndexedPropertyDescriptor.java
15838         java/beans/IntrospectionException.java
15839         java/beans/Introspector.java java/beans/MethodDescriptor.java
15840         java/beans/ParameterDescriptor.java
15841         java/beans/PropertyChangeEvent.java
15842         java/beans/PropertyChangeListener.java
15843         java/beans/PropertyChangeSupport.java
15844         java/beans/PropertyDescriptor.java
15845         java/beans/PropertyEditor.java
15846         java/beans/PropertyEditorManager.java
15847         java/beans/PropertyEditorSupport.java
15848         java/beans/PropertyVetoException.java
15849         java/beans/SimpleBeanInfo.java
15850         java/beans/VetoableChangeListener.java
15851         java/beans/VetoableChangeSupport.java
15852         java/beans/Visibility.java
15853         java/beans/beancontext/BeanContext.java
15854         java/beans/beancontext/BeanContextChild.java
15855         java/beans/beancontext/BeanContextChildComponentProxy.java
15856         java/beans/beancontext/BeanContextChildSupport.java
15857         java/beans/beancontext/BeanContextContainerProxy.java
15858         java/beans/beancontext/BeanContextEvent.java
15859         java/beans/beancontext/BeanContextMembershipEvent.java
15860         java/beans/beancontext/BeanContextMembershipListener.java
15861         java/beans/beancontext/BeanContextProxy.java
15862         java/beans/beancontext/BeanContextServiceAvailableEvent.java
15863         java/beans/beancontext/BeanContextServiceProvider.java
15864         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15865         java/beans/beancontext/BeanContextServiceRevokedEvent.java
15866         java/beans/beancontext/BeanContextServiceRevokedListener.java
15867         java/beans/beancontext/BeanContextServices.java
15868         java/beans/beancontext/BeanContextServicesListener.java
15869         java/io/BufferedInputStream.java
15870         java/io/BufferedOutputStream.java java/io/BufferedReader.java
15871         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15872         java/io/ByteArrayOutputStream.java
15873         java/io/CharArrayReader.java java/io/CharArrayWriter.java
15874         java/io/CharConversionException.java java/io/DataInput.java
15875         java/io/DataInputStream.java java/io/DataOutput.java
15876         java/io/EOFException.java java/io/Externalizable.java
15877         java/io/FileFilter.java java/io/FileNotFoundException.java
15878         java/io/FilePermission.java java/io/FileReader.java
15879         java/io/FileWriter.java java/io/FilenameFilter.java
15880         java/io/FilterInputStream.java java/io/FilterOutputStream.java
15881         java/io/FilterReader.java java/io/FilterWriter.java
15882         java/io/IOException.java java/io/InputStream.java
15883         java/io/InterruptedIOException.java
15884         java/io/InvalidClassException.java
15885         java/io/InvalidObjectException.java
15886         java/io/NotActiveException.java
15887         java/io/NotSerializableException.java java/io/ObjectInput.java
15888         java/io/ObjectInputStream.java
15889         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15890         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15891         java/io/ObjectStreamConstants.java
15892         java/io/ObjectStreamException.java
15893         java/io/ObjectStreamField.java
15894         java/io/OptionalDataException.java java/io/OutputStream.java
15895         java/io/PipedInputStream.java java/io/PipedOutputStream.java
15896         java/io/PipedReader.java java/io/PipedWriter.java
15897         java/io/PrintWriter.java java/io/PushbackInputStream.java
15898         java/io/PushbackReader.java java/io/Reader.java
15899         java/io/SequenceInputStream.java java/io/Serializable.java
15900         java/io/SerializablePermission.java
15901         java/io/StreamCorruptedException.java
15902         java/io/StreamTokenizer.java
15903         java/io/StringBufferInputStream.java java/io/StringReader.java
15904         java/io/StringWriter.java java/io/SyncFailedException.java
15905         java/io/UTFDataFormatException.java
15906         java/io/UnsupportedEncodingException.java
15907         java/io/WriteAbortedException.java java/io/Writer.java
15908         java/lang/AbstractMethodError.java
15909         java/lang/ArithmeticException.java
15910         java/lang/ArrayIndexOutOfBoundsException.java
15911         java/lang/ArrayStoreException.java java/lang/Boolean.java
15912         java/lang/Byte.java java/lang/CharSequence.java
15913         java/lang/ClassCastException.java
15914         java/lang/ClassCircularityError.java
15915         java/lang/ClassFormatError.java
15916         java/lang/ClassNotFoundException.java
15917         java/lang/CloneNotSupportedException.java
15918         java/lang/Cloneable.java java/lang/Comparable.java
15919         java/lang/Compiler.java java/lang/Double.java
15920         java/lang/Error.java java/lang/Exception.java
15921         java/lang/ExceptionInInitializerError.java
15922         java/lang/Float.java java/lang/IllegalAccessError.java
15923         java/lang/IllegalAccessException.java
15924         java/lang/IllegalArgumentException.java
15925         java/lang/IllegalMonitorStateException.java
15926         java/lang/IllegalStateException.java
15927         java/lang/IllegalThreadStateException.java
15928         java/lang/IncompatibleClassChangeError.java
15929         java/lang/IndexOutOfBoundsException.java
15930         java/lang/InheritableThreadLocal.java
15931         java/lang/InstantiationError.java
15932         java/lang/InstantiationException.java java/lang/Integer.java
15933         java/lang/InternalError.java
15934         java/lang/InterruptedException.java
15935         java/lang/LinkageError.java java/lang/Long.java
15936         java/lang/NegativeArraySizeException.java
15937         java/lang/NoClassDefFoundError.java
15938         java/lang/NoSuchFieldError.java
15939         java/lang/NoSuchFieldException.java
15940         java/lang/NoSuchMethodError.java
15941         java/lang/NoSuchMethodException.java
15942         java/lang/NullPointerException.java java/lang/Number.java
15943         java/lang/NumberFormatException.java
15944         java/lang/OutOfMemoryError.java java/lang/Package.java
15945         java/lang/Process.java java/lang/Runnable.java
15946         java/lang/RuntimeException.java
15947         java/lang/RuntimePermission.java
15948         java/lang/SecurityException.java
15949         java/lang/SecurityManager.java java/lang/Short.java
15950         java/lang/StackOverflowError.java java/lang/StringBuffer.java
15951         java/lang/StringIndexOutOfBoundsException.java
15952         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15953         java/lang/ThreadLocal.java java/lang/UnknownError.java
15954         java/lang/UnsatisfiedLinkError.java
15955         java/lang/UnsupportedClassVersionError.java
15956         java/lang/UnsupportedOperationException.java
15957         java/lang/VerifyError.java java/lang/VirtualMachineError.java
15958         java/lang/Void.java java/lang/ref/PhantomReference.java
15959         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15960         java/lang/ref/SoftReference.java
15961         java/lang/ref/WeakReference.java
15962         java/lang/reflect/AccessibleObject.java
15963         java/lang/reflect/InvocationTargetException.java
15964         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15965         java/lang/reflect/ReflectPermission.java
15966         java/math/BigDecimal.java java/math/BigInteger.java
15967         java/net/Authenticator.java java/net/BindException.java
15968         java/net/ConnectException.java java/net/ContentHandler.java
15969         java/net/ContentHandlerFactory.java
15970         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15971         java/net/FileNameMap.java java/net/MalformedURLException.java
15972         java/net/MulticastSocket.java java/net/NetPermission.java
15973         java/net/NoRouteToHostException.java
15974         java/net/PasswordAuthentication.java
15975         java/net/ProtocolException.java java/net/ServerSocket.java
15976         java/net/Socket.java java/net/SocketException.java
15977         java/net/SocketImpl.java java/net/SocketImplFactory.java
15978         java/net/SocketOptions.java java/net/SocketPermission.java
15979         java/net/URLDecoder.java java/net/URLEncoder.java
15980         java/net/URLStreamHandlerFactory.java
15981         java/net/UnknownHostException.java
15982         java/net/UnknownServiceException.java
15983         java/rmi/AccessException.java
15984         java/rmi/AlreadyBoundException.java
15985         java/rmi/ConnectException.java
15986         java/rmi/ConnectIOException.java
15987         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15988         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15989         java/rmi/NotBoundException.java
15990         java/rmi/RMISecurityException.java
15991         java/rmi/RMISecurityManager.java java/rmi/Remote.java
15992         java/rmi/RemoteException.java java/rmi/ServerError.java
15993         java/rmi/ServerException.java
15994         java/rmi/ServerRuntimeException.java
15995         java/rmi/StubNotFoundException.java
15996         java/rmi/UnexpectedException.java
15997         java/rmi/UnknownHostException.java
15998         java/rmi/UnmarshalException.java
15999         java/rmi/activation/Activatable.java
16000         java/rmi/activation/ActivateFailedException.java
16001         java/rmi/activation/ActivationDesc.java
16002         java/rmi/activation/ActivationException.java
16003         java/rmi/activation/ActivationGroup.java
16004         java/rmi/activation/ActivationGroupDesc.java
16005         java/rmi/activation/ActivationGroupID.java
16006         java/rmi/activation/ActivationID.java
16007         java/rmi/activation/ActivationInstantiator.java
16008         java/rmi/activation/ActivationMonitor.java
16009         java/rmi/activation/ActivationSystem.java
16010         java/rmi/activation/Activator.java
16011         java/rmi/activation/UnknownGroupException.java
16012         java/rmi/activation/UnknownObjectException.java
16013         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16014         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16015         java/rmi/registry/Registry.java
16016         java/rmi/registry/RegistryHandler.java
16017         java/rmi/server/ExportException.java
16018         java/rmi/server/LoaderHandler.java
16019         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16020         java/rmi/server/Operation.java
16021         java/rmi/server/RMIClassLoader.java
16022         java/rmi/server/RMIClientSocketFactory.java
16023         java/rmi/server/RMIFailureHandler.java
16024         java/rmi/server/RMIServerSocketFactory.java
16025         java/rmi/server/RMISocketFactory.java
16026         java/rmi/server/RemoteCall.java
16027         java/rmi/server/RemoteObject.java
16028         java/rmi/server/RemoteRef.java
16029         java/rmi/server/RemoteServer.java
16030         java/rmi/server/RemoteStub.java
16031         java/rmi/server/ServerCloneException.java
16032         java/rmi/server/ServerNotActiveException.java
16033         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16034         java/rmi/server/SkeletonMismatchException.java
16035         java/rmi/server/SkeletonNotFoundException.java
16036         java/rmi/server/SocketSecurityException.java
16037         java/rmi/server/UID.java
16038         java/rmi/server/UnicastRemoteObject.java
16039         java/rmi/server/Unreferenced.java
16040         java/security/AccessControlContext.java
16041         java/security/AccessControlException.java
16042         java/security/AccessController.java
16043         java/security/AlgorithmParameterGenerator.java
16044         java/security/AlgorithmParameterGeneratorSpi.java
16045         java/security/AlgorithmParameters.java
16046         java/security/AlgorithmParametersSpi.java
16047         java/security/AllPermission.java
16048         java/security/BasicPermission.java
16049         java/security/Certificate.java java/security/CodeSource.java
16050         java/security/DigestException.java
16051         java/security/DigestInputStream.java
16052         java/security/DigestOutputStream.java
16053         java/security/DomainCombiner.java
16054         java/security/DummyKeyPairGenerator.java
16055         java/security/DummyMessageDigest.java
16056         java/security/DummySignature.java
16057         java/security/GeneralSecurityException.java
16058         java/security/Guard.java java/security/GuardedObject.java
16059         java/security/Identity.java java/security/IdentityScope.java
16060         java/security/InvalidAlgorithmParameterException.java
16061         java/security/InvalidKeyException.java
16062         java/security/InvalidParameterException.java
16063         java/security/Key.java java/security/KeyException.java
16064         java/security/KeyFactory.java java/security/KeyFactorySpi.java
16065         java/security/KeyManagementException.java
16066         java/security/KeyPair.java java/security/KeyPairGenerator.java
16067         java/security/KeyPairGeneratorSpi.java
16068         java/security/KeyStore.java
16069         java/security/KeyStoreException.java
16070         java/security/KeyStoreSpi.java
16071         java/security/MessageDigest.java
16072         java/security/MessageDigestSpi.java
16073         java/security/NoSuchAlgorithmException.java
16074         java/security/NoSuchProviderException.java
16075         java/security/Permission.java
16076         java/security/PermissionCollection.java
16077         java/security/Permissions.java java/security/Policy.java
16078         java/security/Principal.java java/security/PrivateKey.java
16079         java/security/PrivilegedAction.java
16080         java/security/PrivilegedActionException.java
16081         java/security/PrivilegedExceptionAction.java
16082         java/security/ProtectionDomain.java
16083         java/security/Provider.java
16084         java/security/ProviderException.java
16085         java/security/PublicKey.java
16086         java/security/SecureClassLoader.java
16087         java/security/SecureRandom.java
16088         java/security/SecureRandomSpi.java java/security/Security.java
16089         java/security/SecurityPermission.java
16090         java/security/Signature.java
16091         java/security/SignatureException.java
16092         java/security/SignatureSpi.java
16093         java/security/SignedObject.java java/security/Signer.java
16094         java/security/UnrecoverableKeyException.java
16095         java/security/UnresolvedPermission.java
16096         java/security/acl/Acl.java java/security/acl/AclEntry.java
16097         java/security/acl/AclNotFoundException.java
16098         java/security/acl/Group.java
16099         java/security/acl/LastOwnerException.java
16100         java/security/acl/NotOwnerException.java
16101         java/security/acl/Owner.java java/security/acl/Permission.java
16102         java/security/cert/CRL.java
16103         java/security/cert/CRLException.java
16104         java/security/cert/Certificate.java
16105         java/security/cert/CertificateEncodingException.java
16106         java/security/cert/CertificateException.java
16107         java/security/cert/CertificateExpiredException.java
16108         java/security/cert/CertificateFactory.java
16109         java/security/cert/CertificateFactorySpi.java
16110         java/security/cert/CertificateNotYetValidException.java
16111         java/security/cert/CertificateParsingException.java
16112         java/security/cert/X509CRL.java
16113         java/security/cert/X509CRLEntry.java
16114         java/security/cert/X509Certificate.java
16115         java/security/cert/X509Extension.java
16116         java/security/interfaces/DSAKey.java
16117         java/security/interfaces/DSAKeyPairGenerator.java
16118         java/security/interfaces/DSAParams.java
16119         java/security/interfaces/DSAPrivateKey.java
16120         java/security/interfaces/DSAPublicKey.java
16121         java/security/interfaces/RSAKey.java
16122         java/security/interfaces/RSAPrivateCrtKey.java
16123         java/security/interfaces/RSAPrivateKey.java
16124         java/security/interfaces/RSAPublicKey.java
16125         java/security/spec/AlgorithmParameterSpec.java
16126         java/security/spec/DSAParameterSpec.java
16127         java/security/spec/DSAPrivateKeySpec.java
16128         java/security/spec/DSAPublicKeySpec.java
16129         java/security/spec/EncodedKeySpec.java
16130         java/security/spec/InvalidKeySpecException.java
16131         java/security/spec/InvalidParameterSpecException.java
16132         java/security/spec/KeySpec.java
16133         java/security/spec/PKCS8EncodedKeySpec.java
16134         java/security/spec/RSAKeyGenParameterSpec.java
16135         java/security/spec/RSAPrivateCrtKeySpec.java
16136         java/security/spec/RSAPrivateKeySpec.java
16137         java/security/spec/RSAPublicKeySpec.java
16138         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
16139         java/sql/BatchUpdateException.java java/sql/Blob.java
16140         java/sql/CallableStatement.java java/sql/Clob.java
16141         java/sql/Connection.java java/sql/DataTruncation.java
16142         java/sql/DatabaseMetaData.java java/sql/Date.java
16143         java/sql/Driver.java java/sql/DriverManager.java
16144         java/sql/DriverPropertyInfo.java
16145         java/sql/PreparedStatement.java java/sql/Ref.java
16146         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
16147         java/sql/SQLData.java java/sql/SQLException.java
16148         java/sql/SQLInput.java java/sql/SQLOutput.java
16149         java/sql/SQLWarning.java java/sql/Statement.java
16150         java/sql/Struct.java java/sql/Time.java
16151         java/sql/Timestamp.java java/sql/Types.java
16152         java/text/Annotation.java
16153         java/text/AttributedCharacterIterator.java
16154         java/text/AttributedString.java
16155         java/text/AttributedStringIterator.java
16156         java/text/BreakIterator.java java/text/CharacterIterator.java
16157         java/text/ChoiceFormat.java java/text/Collator.java
16158         java/text/DateFormat.java java/text/DateFormatSymbols.java
16159         java/text/DecimalFormat.java
16160         java/text/DecimalFormatSymbols.java
16161         java/text/FieldPosition.java java/text/Format.java
16162         java/text/MessageFormat.java java/text/NumberFormat.java
16163         java/text/ParseException.java java/text/ParsePosition.java
16164         java/text/SimpleDateFormat.java
16165         java/text/StringCharacterIterator.java
16166         java/util/AbstractCollection.java java/util/AbstractList.java
16167         java/util/AbstractMap.java
16168         java/util/AbstractSequentialList.java
16169         java/util/AbstractSet.java java/util/ArrayList.java
16170         java/util/Arrays.java java/util/BasicMapEntry.java
16171         java/util/BitSet.java java/util/Calendar.java
16172         java/util/Collection.java java/util/Collections.java
16173         java/util/Comparator.java
16174         java/util/ConcurrentModificationException.java
16175         java/util/Date.java java/util/Dictionary.java
16176         java/util/EmptyStackException.java java/util/Enumeration.java
16177         java/util/EventListener.java java/util/EventObject.java
16178         java/util/GregorianCalendar.java java/util/HashMap.java
16179         java/util/HashSet.java java/util/Hashtable.java
16180         java/util/IdentityHashMap.java java/util/Iterator.java
16181         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
16182         java/util/LinkedList.java java/util/List.java
16183         java/util/ListIterator.java java/util/ListResourceBundle.java
16184         java/util/Locale.java java/util/Map.java
16185         java/util/MissingResourceException.java
16186         java/util/NoSuchElementException.java
16187         java/util/Observable.java java/util/Observer.java
16188         java/util/Properties.java java/util/PropertyPermission.java
16189         java/util/PropertyResourceBundle.java java/util/Random.java
16190         java/util/RandomAccess.java java/util/ResourceBundle.java
16191         java/util/Set.java java/util/SimpleTimeZone.java
16192         java/util/SortedMap.java java/util/SortedSet.java
16193         java/util/Stack.java java/util/StringTokenizer.java
16194         java/util/TimeZone.java java/util/Timer.java
16195         java/util/TimerTask.java
16196         java/util/TooManyListenersException.java
16197         java/util/TreeMap.java java/util/TreeSet.java
16198         java/util/Vector.java java/util/WeakHashMap.java
16199         java/util/jar/Attributes.java java/util/jar/JarEntry.java
16200         java/util/jar/JarException.java java/util/jar/JarFile.java
16201         java/util/jar/JarInputStream.java
16202         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
16203         java/util/zip/Adler32.java java/util/zip/CRC32.java
16204         java/util/zip/CheckedInputStream.java
16205         java/util/zip/CheckedOutputStream.java
16206         java/util/zip/Checksum.java
16207         java/util/zip/DataFormatException.java
16208         java/util/zip/Deflater.java
16209         java/util/zip/DeflaterOutputStream.java
16210         java/util/zip/GZIPInputStream.java
16211         java/util/zip/GZIPOutputStream.java
16212         java/util/zip/Inflater.java
16213         java/util/zip/InflaterInputStream.java
16214         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16215         java/util/zip/ZipException.java java/util/zip/ZipFile.java
16216         java/util/zip/ZipInputStream.java
16217         java/util/zip/ZipOutputStream.java
16218         javax/naming/BinaryRefAddr.java
16219         javax/naming/InvalidNameException.java javax/naming/Name.java
16220         javax/naming/NamingException.java javax/naming/RefAddr.java
16221         javax/naming/StringRefAddr.java: Add license clarification.
16222
16223 2002-01-22  Tom Tromey  <tromey@redhat.com>
16224
16225         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16226         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16227         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16228         version.
16229         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16230         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16231         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16232         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16233         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16234         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16235         * java/awt/peer/FontPeer.java: Replace with Classpath version.
16236         * java/awt/peer/FramePeer.java: Replace with Classpath version.
16237         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16238         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16239         * java/awt/peer/ListPeer.java: Replace with Classpath version.
16240         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16241         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16242         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16243         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16244         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16245         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16246         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16247         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16248         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16249         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16250         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16251         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16252         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16253         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16254         (minimumSize, preferredSize, reshape): Likewise.
16255         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16256         getColorModel): New methods.
16257         * java/awt/PopupMenu.java: Merged with Classpath.
16258         * java/awt/MenuBar.java: Merged with Classpath.
16259         * java/awt/SystemColor.java: Replace with Classpath version.
16260         * java/awt/Panel.java: Merged with Classpath.
16261         * java/awt/PaintContext.java: Updated copyright.
16262         * java/awt/MenuShortcut.java: Merged with Classpath.
16263         * java/awt/MenuContainer.java: Merged with Classpath.
16264         * java/awt/Menu.java: Merged with Classpath.
16265         * java/awt/MediaEntry.java: New file from Classpath.
16266         * java/awt/MediaTracker.java: New file from Classpath.
16267         * java/awt/List.java: Merged with Classpath version.
16268         * java/awt/Insets.java: Merged with Classpath version.
16269         * java/awt/ImageMediaEntry.java: New file from Classpath.
16270         * java/awt/Image.java: Replaced with Classpath version.
16271         * java/awt/FontMetrics.java: Merged with Classpath version.
16272         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16273         constant.
16274         * java/awt/Font.java: Merged with Classpath version.
16275         * java/awt/Dialog.java: Merged with Classpath version.
16276         * java/awt/Color.java: Merged with Classpath version.
16277         * java/awt/Choice.java: Merged with Classpath version.
16278         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16279         * java/awt/Adjustable.java: Replace with Classpath version.
16280         * java/awt/MenuItem.java (paramString): Don't include class name
16281         or brackets.  Call superclass paramString.
16282         * java/awt/MenuComponent.java (toString): Call paramString.
16283         (paramString): Compute string; don't call toString.
16284         * java/awt/Label.java (paramString): Don't include class name
16285         or brackets.  Call superclass paramString.
16286         * java/awt/Checkbox.java (paramString): Don't include class name
16287         or brackets.  Call superclass paramString.
16288         * java/awt/Button.java (paramString): Don't include class name or
16289         brackets.  Call superclass paramString.
16290         * java/awt/MenuComponent.java (getTreeLock): Now protected.
16291
16292 2002-01-20  Andreas Schwab  <schwab@suse.de>
16293
16294         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16295         function and of parameter recv_func to ssize_t, as specified by
16296         POSIX.
16297
16298 2002-01-19  Per Bothner  <per@bothner.com>
16299
16300         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
16301         uncompressed_size in readiness for next entry.
16302
16303 2002-01-18  Tom Tromey  <tromey@redhat.com>
16304
16305         * java/net/natPlainSocketImpl.cc: Include
16306         IllegalArgumentException.h.
16307         (_Jv_recv): New template function.
16308         (BooleanClass): Removed.
16309         (read): Use _Jv_recv.
16310         (setOption): Use Boolean::class$.  Throw exception if object is
16311         not Boolean or Integer.
16312
16313 2002-01-17  Tom Tromey  <tromey@redhat.com>
16314
16315         * java/awt/MenuComponent.java: Merged with Classpath.
16316         * java/awt/MenuItem.java: Merged with Classpath.
16317         * java/awt/Button.java: Merged with Classpath.
16318
16319         * java/awt/ActiveEvent.java: Updated copyright.
16320
16321         * java/awt/AWTError.java: Replaced with Classpath version.
16322         * java/awt/AWTException.java: Replaced with Classpath version.
16323         * java/awt/IllegalComponentStateException.java: Replaced with
16324         Classpath version.
16325
16326 2002-01-16  Tom Tromey  <tromey@redhat.com>
16327
16328         * java/awt/Canvas.java (serialVersionUID): New constant.
16329         Updated copyright.  Added javadoc from Classpath.
16330         * java/awt/ItemSelectable.java: Replaced with Classpath version.
16331
16332         * java/awt/CheckboxGroup.java: Merged with Classpath.
16333         * java/awt/Checkbox.java: Merged with Classpath.
16334
16335         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
16336         Classpath.
16337         * java/awt/Point.java: Updated copyright.
16338
16339         * java/awt/Point.java (toString): Use getClass().getName().
16340         Added javadoc.
16341
16342         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16343         commented code.
16344         (hash): Correctly compute initial value for `h'.
16345
16346         * java/awt/Label.java: Merged with Classpath.
16347
16348 2002-01-15  Tom Tromey  <tromey@redhat.com>
16349
16350         * java/awt/AWTPermission.java: Updated copyright.
16351
16352         * java/awt/LayoutManager2.java: Merged with Classpath.
16353         * java/awt/LayoutManager.java: Merged with Classpath.
16354         * java/awt/GridLayout.java: Updated copyright and javadoc.
16355         (getSize): Use `parent.ncomponents'.  Handle insets.
16356         (layoutContainer): Use `parent.ncomponents'.  Handle case where
16357         there are fewer children than columns.  Correctly compute size of
16358         each cell in the grid.  Handle case where there isn't enough
16359         space.
16360         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
16361         all users.
16362         (gotoComponent): Use parent.ncomponents.  Ensure child exists
16363         before calling setVisible() on it.  Last item is `num - 1', not
16364         `num'.
16365         (layoutContainer): Hoist invariants out of loop.
16366
16367         Start of AWT merge with Classpath:
16368         * Makefile.in: Rebuilt.
16369         * Makefile.am (awt_java_source_files): Reference files in
16370         gnu/java/awt, not gnu/gcj/awt.
16371         * java/awt/image/BufferedImage.java: Updated copyright.
16372         * java/awt/image/ComponentColorModel.java: Updated copyright.
16373         * java/awt/image/ComponentSampleModel.java: Updated copyright.
16374         * java/awt/image/DataBuffer.java: Updated copyright.
16375         * java/awt/image/DataBufferByte.java: Updated copyright.
16376         * java/awt/image/DataBufferInt.java: Updated copyright.
16377         * java/awt/image/DataBufferUShort.java: Updated copyright.
16378         * java/awt/image/IndexColorModel.java: Updated copyright.
16379         * java/awt/image/PackedColorModel.java: Updated copyright.
16380         * java/awt/image/Raster.java: Updated copyright.
16381         * java/awt/image/RasterOp.java: Updated copyright.
16382         * java/awt/image/SampleModel.java: Updated copyright.
16383         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16384         * java/awt/image/WritableRaster.java: Updated copyright.
16385         * java/awt/color/ColorSpace.java: Updated copyright.
16386         * java/awt/color/ICC_ColorSpace.java: Updated copyright
16387         * java/awt/color/ICC_Profile.java: Updated copyright.
16388         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16389         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16390         * java/awt/event/HierarchyEvent.java: Updated copyright.
16391         * java/awt/event/HierarchyListener.java: Updated copyright.
16392         * java/awt/geom/AffineTransform.java: Updated copyright.
16393         * java/awt/geom/Dimension2D.java: Updated copyright.
16394         * java/awt/geom/Ellipse2D.java: Updated copyright.
16395         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16396         * java/awt/geom/Line2D.java: Updated copyright.
16397         * java/awt/geom/NoninvertibleTransformException.java: Updated
16398         copyright.
16399         * java/awt/geom/PathIterator.java: Updated copyright.
16400         * java/awt/geom/Point2D.java: Updated copyright.
16401         * java/awt/geom/Rectangle2D.java: Updated copyright.
16402         * java/awt/geom/RectangularShape.java: Updated copyright.
16403         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16404         * java/awt/Toolkit.java: Updated import for file moves.
16405         * java/awt/Rectangle.java: Updated copyright; added javadoc from
16406         Classpath.
16407         (hashCode): New method from Classpath.
16408         * java/awt/Graphics2D.java: Updated copyright.
16409         * java/awt/Transparency.java: Updated copyright.
16410         * java/awt/Paint.java: Updated copyright.
16411         * java/awt/Graphics.java: New version from Classpath.
16412         * java/awt/EventDispatchThread.java: Updated copyright.
16413         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16414         children.
16415         (gotoComponent): Wrap around on next/previous.
16416         * gnu/gcj/awt/BitMaskExtent.java: Removed.
16417         * gnu/gcj/awt/Buffers.java: Removed.
16418         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16419         * gnu/gcj/awt/GLightweightPeer.java: Removed.
16420         * gnu/java/awt/BitMaskExtent.java: Added.
16421         * gnu/java/awt/Buffers.java: Added.
16422         * gnu/java/awt/ComponentDataBlitOp.java: Added.
16423         * gnu/java/awt/GLightweightPeer.java: Added.
16424         * java/awt/geom/Line2D.java (clone): Ignore
16425         CloneNotSupportedException.
16426         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16427         * java/awt/Frame.java: Merged with Classpath.
16428         * java/awt/RenderingHints.java: Copyright update.
16429         * java/awt/Paint.java: Copyright update.
16430         * java/awt/image/DirectColorModel.java: Merged with Classpath.
16431         * java/awt/image/ColorModel.java: Merged with Classpath.
16432         * java/awt/Window.java (show): New Implementation from Classpath.
16433         (isShowing): Use super.isShowing().
16434         * java/awt/EventQueue.java: Merged with Classpath.
16435         * java/awt/AWTEventMulticaster.java (save): Throw
16436         RuntimeException.
16437         (saveInternal): Likewise.
16438         * java/awt/AWTEvent.java: Now implements Serializable.
16439         * java/awt/Event.java: Copyright update.
16440         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16441         * java/awt/image/BufferedImage.java: Copyright update.
16442         * java/awt/GraphicsConfiguration.java: Copyright update.
16443         * java/awt/Component.java: (addNotify): Don't call
16444         addNotifyContainerChildren().
16445         (addNotifyContainerChildren): Removed.
16446         (setPeer): New method from Classpath.
16447         (setTreeLock): Likewise.
16448         (setVisible): Rewrote.
16449         (show): Use it.
16450         (hide): Likewise.
16451         (validate): Set `valid'.
16452         (checkImage(Image,ImageObserver)): Implementation from Classpath.
16453         (createImage(ImageProducer)): Likewise.
16454         (prepareImage): Likewise.
16455         * java/awt/Container.java (addImpl): Handle case where constraint
16456         is not a String.  Post event via system event queue.
16457         (remove): Post event via system event queue.
16458         (validateTree): Only validate child if it is invalid.
16459         (getAlignmentX): Call super method as default.
16460         (getAlignmentY): Likewise.
16461         (addContainerListener): Now synchronized.
16462         (removeContainerListener): Likewise.
16463         (addNotifyContainerChildren): Now private.
16464         * java/awt/ComponentOrientation.java: Updated copyright.  Added
16465         @author.
16466         * java/awt/FlowLayout.java (serialVersionUID): New field.
16467         (setAlignment): Better exception message.
16468         (layoutContainer): Don't compute component's preferred size unless
16469         we're going to use it.
16470         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16471         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16472         (firstLine, lastLine, firstItem, lastItem): New fields.
16473         (addLayoutComponent): Handle case where constraints is null.
16474         Also, handle relative locations.
16475         (removeLayoutComponent): Handle relative locations.
16476         (MIN, MAX, PREF): New constants.
16477         (calcCompSize): New method.
16478         (calcSize): New method.
16479         (minimumLayoutSize): Use it.
16480         (preferredLayoutSize): Likewise.
16481         (maximumLayoutSize): Likewise.
16482         (toString): Include more information.
16483         (setBounds): New method.
16484         (layoutContainer): Use libgcj implementation; extended to handle
16485         relative locations.
16486
16487 2002-01-15  Tom Tromey  <tromey@redhat.com>
16488
16489         * java/lang/Float.java (equals): Preserve old code.
16490         * java/lang/Double.java (equals): Preserve old code.
16491
16492 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
16493
16494         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16495         * java/lang/Float.java (equals, compare): Ditto.
16496
16497 2002-01-13  Mark Wielaard  <mark@klomp.org>
16498
16499         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16500         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16501         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16502         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16503
16504 2002-01-11  Mark Wielaard  <mark@klomp.org>
16505
16506         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16507         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16508         InetAddress.
16509         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16510         * java/net/Socket.java: Merge with Classpath.
16511         * java/net/ServerSocket.java: Likewise.
16512
16513 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
16514
16515         * interpret.cc (NULLARRAYCHECK): New macro.
16516         (SAVE_PC): Just store `pc'.
16517         (find_exception): Subtract one from `pc' here.
16518         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16519         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16520         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16521         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16522         don't call SAVE_PC.
16523         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16524         call SAVE_PC.
16525
16526 2002-01-11  Tom Tromey  <tromey@redhat.com>
16527
16528         * java/lang/natSystem.cc (init_properties): Only look for default
16529         locale if LC_MESSAGES is defined.
16530         * aclocal.m4, configure, include/config.h.in: Rebuilt.
16531         * configure.in: Call AM_LC_MESSAGES.
16532         * acinclude.m4 (AM_LC_MESSAGES): New macro.
16533
16534 2002-01-10  Tom Tromey  <tromey@redhat.com>
16535
16536         For PR libgcj/5303:
16537         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16538         --version.  Recognize GNU-style long options.  Print GNU-style
16539         error messages.
16540         (usage): Print GNU-style help.  Exit with status 0.
16541         (error): New method.
16542         (run): Print error message if no class names found.
16543         (main): Don't print usage on error.
16544
16545 2002-01-09  Tom Tromey  <tromey@redhat.com>
16546
16547         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16548         property.
16549         (help, version): Use println(), not println("").
16550
16551         For PR libgcj/5303:
16552         * gnu/gcj/convert/Convert.java (error): Program is called
16553         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
16554         -1.
16555         (main): Handle --help and --version.
16556         (help): New method.
16557         (version): Likewise.
16558
16559 2002-01-08  Tom Tromey  <tromey@redhat.com>
16560
16561         * Makefile.in: Rebuilt.
16562         * Makefile.am (ordinary_java_source_files): Added new files.
16563         * gnu/java/locale/LocaleInformation.java: Extend
16564         LocaleInformation_en.
16565         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16566         and time/date formats.
16567         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16568         generated.
16569         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16570         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16571         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16572         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16573         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16574         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16575         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16576         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16577         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16578         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16579         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16580         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16581         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16582         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16583         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16584         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16585         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16586         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16587         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16588         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16589         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16590         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16591         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16592         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16593         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16594         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16595         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16596         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16597         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16598         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16599         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16600         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16601         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16602         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16603         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16604         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16605         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16606         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16607         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16608         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16609         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16610         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16611         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16612         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16613         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16614         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16615         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16616         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16617         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16618         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16619         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16620         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16621         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16622         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16623         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16624         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16625         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16626         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16627         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16628         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16629         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16630         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16631         * gnu/java/locale/LocaleInformation_es_US.java: New file.
16632         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16633         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16634         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16635         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16636         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16637         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16638         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16639         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16640         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16641         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16642         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16643         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16644         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16645         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16646         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16647         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16648         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16649         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16650         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16651         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16652         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16653         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16654         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16655         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16656         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16657         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16658         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16659         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16660         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16661         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16662         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16663         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16664         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16665         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16666         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16667         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16668         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16669         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16670         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16671         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16672         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16673         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16674         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16675         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16676         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16677         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16678         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16679         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16680         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16681         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16682         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16683         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16684         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16685         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16686         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16687         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16688         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16689         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16690         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16691         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16692         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16693         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16694         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16695         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16696         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16697         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16698         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16699
16700         For PR libgcj/5031:
16701         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16702         choose default locale.
16703
16704         * Makefile.in: Rebuilt.
16705         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16706
16707 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
16708
16709         * java/net/natPlainSocketImpl.cc: Added timeout handling for
16710         sockets.
16711         (close): New function closes the socket.
16712         (write): New functions for output to socket.
16713         (read): New functions for reading from socket.
16714         * java/net/PlainSocketImpl.java: Glue for new timeout
16715         implementation.
16716         (write): Call the native impl.
16717         (read): Likewise.
16718         (getInputStream): Get a stream to read from the socket.
16719         (getOutputStream): Get a stream to write to the socket.
16720
16721 2002-01-08  Tom Tromey  <tromey@redhat.com>
16722
16723         * resolve.cc (_Jv_PrepareClass): Enable verifier.
16724
16725 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
16726
16727         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16728         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16729
16730 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
16731
16732         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16733         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16734         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16735         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16736         insn_bastore, insn_castore, insn_sastore]: Use it.
16737         (continue1) [insn_arraylength]: Check for null array.
16738
16739 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16740
16741         * configure, include/config.h.in: Rebuilt.
16742         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16743         * configure.in: Call AC_STRUCT_TIMEZONE.
16744
16745 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16746
16747         * configure.host: Disable the interpreter for Darwin.
16748
16749 2002-01-04  Tom Tromey  <tromey@redhat.com>
16750
16751         * java/lang/Thread.java (stop): No longer synchronized.
16752         (start): Likewise.
16753
16754 2002-01-02  Tom Tromey  <tromey@redhat.com>
16755
16756         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16757         patch.
16758
16759 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
16760
16761         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16762         PPC Darwin, not for all of Darwin.