OSDN Git Service

2003-09-10 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-09-10  Michael Koch  <konqueror@gmx.de>
2
3         * acconfig.h (__NO_MATH_INLINES): Removed.
4         * configure.in: Removed check for g++ math inlining bug from 2000.
5         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
6         libgcj_cxxflags.
7         * configure: Regenerated.
8
9 2003-09-10  David Daney <ddaney@avtrex.com>
10
11         * java/util/Arrays.java (equals(all variants)): Quit using
12         NullPointerException catching to detect null valued parameters.
13
14 2003-09-10  Michael Koch  <konqueror@gmx.de>
15
16         * java/net/DatagramSocket.java,
17         java/net/MulticastSocket.java,
18         java/net/ServerSocket.java,
19         java/net/Socket.java:
20         Use gnu.java.net.Plain*SocketImpl instead of
21         java.net.PlainSocketImpl.
22         * java/net/PlainDatagramSocketImpl.java,
23         java/net/PlainSocketImpl.java,
24         java/net/SocketInputStream.java,
25         java/net/SocketOutputStream.java,
26         java/net/natPlainDatagramSocketImplNoNet.cc,
27         java/net/natPlainDatagramSocketImplPosix.cc,
28         java/net/natPlainDatagramSocketImplWin32.cc,
29         java/net/natPlainSocketImplNoNet.cc,
30         java/net/natPlainSocketImplPosix.cc,
31         java/net/natPlainSocketImplWin32.cc:
32         Removed.
33         * gnu/java/net/PlainDatagramSocketImpl.java,
34         gnu/java/net/PlainSocketImpl.java,
35         gnu/java/net/SocketInputStream.java,
36         gnu/java/net/SocketOutputStream.java,
37         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
38         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
39         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
40         gnu/java/net/natPlainSocketImplNoNet.cc,
41         gnu/java/net/natPlainSocketImplPosix.cc,
42         gnu/java/net/natPlainSocketImplWin32.cc:
43         New files (moved from java/net).
44         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
45         instead of java/net/natPlain*SocketImpl.cc.
46         * configure: Regenerated.
47         * Makefile.am: Moved files from java/net to gnu/java/net.
48         * Makefile.in: Regenerated.
49
50 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
51
52         * configure: Regenerate.
53
54 2003-09-04  Tom Tromey  <tromey@redhat.com>
55
56         * configure.host: Removed erroneous comment.
57
58         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
59         lvalue cast; use correct rvalue cast.
60
61 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
62
63         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
64         and height arguments to GtkWindowPeer.create method call.
65         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
66         (create(int,int,int)): New method.
67         (create(int)): Add call to new create method.
68         (create()): Add width and height arguments to create method
69         call.
70         (GtkWindowPeer): Remove call to setBounds.
71         * java/awt/Frame.java (Frame(String)): Initialize visible field
72         to false.
73         (Frame(GraphicsConfiguration)): Likewise.
74         (Frame(String,GraphicsConfiguration)): Likewise.
75         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
76         Add width and height parameters.  Call
77         gtk_window_set_default_size.
78         (connectHooks): Remove unused name variable.
79         (static setBounds): Call gtk_window_resize not
80         gtk_widget_set_usize.
81         (setBounds): Remove unused nchildren variable.
82
83 2003-08-31  Ingo Proetel  <proetel@aicas.com>
84
85         * java/util/logging/Logger.java: provide class and method information
86         * java/util/logging/LogManager.java: create handlers
87         * java/util/logging/SimpleFormatter.java: print souceClassName and
88         sourceMethodName
89
90 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
91
92         * win32.cc: fixed tab, indentation and whitespace
93         inconsistencies
94         removed jvm.h include
95         added includes java/lang/UnsupportedOperationException.h,
96         java/io/IOException.h, java/net/SocketException.h
97         (WSAEventWrapper): class implementation
98         (_Jv_WinStrError): implemented both overloads
99         (_Jv_ThrowIOException): implemented both overloads
100         (_Jv_ThrowSocketException): implemented both overloads
101         (_Jv_select): implemented
102         * include/win32.h: fixed tab, indentation and whitespace
103         inconsistencies
104         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
105         added jvm.h include
106         (WSAEventWrapper): added class declaration
107         (_Jv_WinStrError): added both overload declarations
108         (_Jv_ThrowIOException): added both overload declarations
109         (_Jv_ThrowSocketException): added both overload declarations
110         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
111         (_Jv_select): added declaration
112         (_Jv_socket): removed
113         (_Jv_connect): removed
114         (_Jv_close): removed
115         (_Jv_bind): removed
116         (_Jv_accept): removed
117         (_Jv_listen): removed
118         (_Jv_write): removed
119         (_Jv_read): removed
120         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
121         whitespace inconsistencies
122         replaced <windows.h> #include with <platform.h>
123         removed jvm.h include
124         (testCanUseGetHandleInfo): new function which tests whether Win32
125         GetHandleInformation() call can be used with console buffer handles
126         (only supported on >=WinNT 5.0)
127         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
128         (valid): rewrote implementation using GetHandleInformation()
129         (sync):         changed exception throwing to use error string and exception
130         helper methods declared in include/win32.h
131         (open): likewise
132         (write): likewise
133         (setLength): likewise
134         (close): likewise
135         (seek): likewise
136         (getFilePointer): likewise
137         (read): likewise
138         * java/io/natFileWin32.cc: fixed tab, indentation and
139         whitespace inconsistencies
140         replaced <windows.h> #include with <platform.h>
141         removed jvm.h include
142         (_access): use JV_TEMP_UTF_STRING
143         (_stat): likewise
144         (performMkDir): use JV_TEMP_UTF_STRING
145         (performRenameTo): likewise
146         (performDelete): likewise
147         (performCreate): likewise
148         (performSetReadOnly): likewise
149         (performSetLastModified): likewise
150         * java/lang/natWin32Process.cc: fixed tab, indentation and
151         whitespace inconsistencies
152         replaced <windows.h> #include with <platform.h>
153         removed includes gcj/cni.h, jvm.h
154         (new_string): removed
155         (startProcess): use JV_TEMP_UTF_STRING,
156         changed exception throwing to use error string and exception
157         helper methods declared in include/win32.h
158         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
159         whitespace inconsistencies
160         replaced <windows.h> #include with <platform.h>
161         removed jvm.h include
162         removed DISABLE_JAVA_NET conditional code
163         removed POSIX conditional code not relevant to Win32
164         (aton): use JV_TEMP_UTF_STRING
165         removed POSIX conditional code not relevant to Win32
166         (lookup): likewise
167         (getLocalHostName): likewise
168         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
169         whitespace inconsistencies
170         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
171         removed DISABLE_JAVA_NET conditional code
172         removed POSIX conditional code not relevant to Win32
173         (winsock2GetRealNetworkInterfaces): new function to compute network
174         interfaces via Winsock2 API
175         (determineGetRealNetworkInterfacesFN): new function for returning
176         a function pointer to the function used to compute network interfaces.
177         (getRealNetworkInterfaces): implemented
178         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
179         whitespace inconsistencies
180         removed gcj/cni.h include
181         removed DISABLE_JAVA_NET conditional code
182         removed POSIX conditional code not relevant to Win32
183         changed net POSIXisms to Win32isms
184         replaced _Jv socket-related calls with their real Win32 equivalents
185         changed exception throwing to use error string and exception
186         helper methods declared in include/win32.h
187         (peekData): implemented timeout support
188         (receive): likewise
189         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
190         whitespace inconsistencies
191         removed gcj/cni.h and gcj/javaprims.h includes
192         removed DISABLE_JAVA_NET conditional code
193         removed POSIX conditional code not relevant to Win32
194         changed net POSIXisms to Win32isms
195         replaced _Jv socket-related calls with their real Win32
196         equivalents
197         changed exception throwing to use error string and exception
198         helper methods declared in include/win32.h
199         (throwConnectException): helper function for connect()
200         (connect): implemented timeout support
201         (accept): likewise
202         (doRead): new helper function common to both read() method overloads,
203         includes timeout support
204         (read): implemented both overloads in terms of doRead()
205         (available): implemented using ioctlsocket()
206
207 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
208
209         * java/net/natInetAddressWin32.cc,
210         java/net/natNetworkInterfaceWin32.cc,
211         java/net/natPlainDatagramSocketImplWin32.cc,
212         java/net/natPlainSocketImplWin32.cc:
213         Readded code enclosed in DISABLE_JAVA_NET defines
214         in preparation for MinGW cleanup / networking
215         patch
216
217 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
218
219         * Makefile.am: Fixed problems with parallel makes.
220         (all_java_class_files): Readded definition.
221         (all_java_class_files): New target which depends on
222         libgcj-@gcc_version@.jar
223         * Makefile.in: Rebuilt
224
225 2003-08-28  Tom Tromey  <tromey@redhat.com>
226
227         * Makefile.in: Rebuilt.
228         * Makefile.am (ordinary_java_source_files): Added new files.
229         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
230         friend.
231         * java/net/URLClassLoader.java (findClass): Don't use
232         findURLResource.  Use loader's getClass method.
233         (URLLoader.getClass): New method.
234         (addURL): Handle `gcjlib' URLs.
235         (SoURLLoader): New class.
236         (SoResource): Likewise.
237         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
238         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
239         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
240         (_Jv_RegisterCoreHook): Declare.
241         (_Jv_FindCore): Declare.
242         * gnu/gcj/runtime/SharedLibHelper.java: New file.
243         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
244         typedef.
245         (core_hook): New function.
246         (struct SharedLibDummy) [saved_core]: New field.
247         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
248         (register_hook): Set protection domain and class loader on new
249         class.
250         (finalize): Free core chain.
251         * gnu/gcj/Core.java (Core): New constructor.
252         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
253         SharedLibHelper.
254         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
255         (_Jv_create_core): New function.
256         (create): Use it.
257         (default_register_resource): New function.
258         (_Jv_RegisterCoreHook): New global.
259         (_Jv_RegisterResource): Use it.
260         (core_chain_struct): Removed.
261         (_Jv_FindCore): New function.
262         (_Jv_FreeCoreChain): New function.
263
264 2003-08-29  Michael Koch  <konqueror@gmx.de>
265
266         * java/net/natInetAddressWin32.cc,
267         java/net/natNetworkInterfaceWin32.cc,
268         java/net/natPlainDatagramSocketImplWin32.cc,
269         java/net/natPlainSocketImplWin32.cc:
270         Removed code enclosed in DISABLE_JAVA_NET defines.
271
272 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
273
274         * Makefile.am: (write_entries_to_file) New parameterized
275         function for writing entries to a file one line at a time.
276         (all_java_class_files): Removed definition.
277         (.java.class) Removed.target.
278         (libgcj-@gcc_version@.jar): Changed dependency to
279         $(all_java_source_files); added compilation step which compiles
280         all changed source files in one pass.
281         (libgcj.la) Refactored to use write_entries_to_file.
282         (lib-gnu-awt-xlib.la) Likewise.
283         (install-data-local) Likewise.
284         (write-entries-to-file-check) New target which tests write_entries_to_file.
285         (all-recursive): Changed dependency from $(all_java_class_files)
286         to libgcj-@gcc_version@.jar
287         * Makefile.in: Rebuilt.
288
289 2003-08-26  Tom Tromey  <tromey@redhat.com>
290
291         * java/lang/StrictMath.java: Typo fix.
292         * java/lang/Math.java: Typo fix.
293
294 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
295
296         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
297         of the removed Thread.
298
299 2003-08-26  Mark Wielaard  <mark@klomp.org>
300
301         Reported by David Holmes <dholmes@dltech.com.au>.
302         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
303         Collections.synchronizedMap.
304         * java/lang/ThreadLocal.java (valueMap): Likewise.
305
306 2003-08-26  Mark Wielaard  <mark@klomp.org>
307
308         * java/security/acl/Acl.java: Fix broken p tag.
309         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
310         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
311         * javax/swing/plaf/TreeUI.java: Likewise.
312         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
313         * java/util/Properties.java: Use the word umlaut, not &auml; in api
314         documentation.
315         * java/util/PropertyResourceBundle.java: Likewise and add closing code
316         tag.
317
318 2003-08-26  Tom Tromey  <tromey@redhat.com>
319
320         * Makefile.in: Rebuilt.
321         * Makefile.am: Removed all GNU-make-specific FIXME comments.
322
323         * java/lang/ref/Reference.java (get): Indentation fix.
324         (clear): Comment fix.
325         (enqueue): Likewise.
326         (lock): Likewise.
327         (referent): Likewise.
328
329 2003-08-26  Tom Tromey  <tromey@redhat.com>
330
331         PR java/12058:
332         * java/lang/reflect/natArray.cc (set): Allow null as argument.
333
334         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
335         (ProxyData.getPackage): New method.
336         (ProxyData.getProxyData): Use package name, not Package.
337         (ClassFactory.ClassFactory): Updated.
338
339 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
340         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
341         * Makefile.in: re-generated.
342         * gnu/awt/j2d/IntegerGraphicsState.java
343         (ScreenCoupledImage): new interface.
344         (drawImage): detect ScreenCoupledImage instances.
345         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
346         * gnu/awt/xlib/XEventLoop.java
347         (createEvent): re-formatted, and rearranged to avoid null pointer.
348         * gnu/awt/xlib/XGraphics.java
349         (drawImage): added XOffScreenImage handling.
350         * gnu/awt/xlib/XOffScreenImage.java: new file.
351         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
352         * gnu/gcj/xlib/GC.java (copyArea): new native method.
353         * gnu/gcj/xlib/XAnyEvent.java
354         (TYPE_KEY_PRESS): new constant.
355         (TYPE_KEY_RELEASE): new constant.
356         (TYPE_MOTION_NOTIFY): new constant.
357         (TYPE_ENTER_NOTIFY): new constant.
358         (TYPE_LEAVE_NOTIFY): new constant.
359         (TYPE_FOCUS_IN): new constant.
360         (TYPE_FOCUS_OUT): new constant.
361         (TYPE_KEYMAP_NOTIFY): new constant.
362         (TYPE_GRAPHICS_EXPOSE): new constant.
363         (TYPE_NO_EXPOSE): new constant.
364         (TYPE_VISIBILITY_NOTIFY): new constant.
365         (TYPE_CREATE_NOTIFY): new constant.
366         (TYPE_DESTROY_NOTIFY): new constant.
367         (TYPE_MAP_REQUEST): new constant.
368         (TYPE_CONFIGURE_REQUEST): new constant.
369         (TYPE_GRAVITY_NOTIFY): new constant.
370         (TYPE_RESIZE_REQUEST): new constant.
371         (TYPE_CIRCULATE_NOTIFY): new constant.
372         (TYPE_CIRCULATE_REQUEST): new constant.
373         (TYPE_PROPERTY_NOTIFY): new constant.
374         (TYPE_SELECTION_CLEAR): new constant.
375         (TYPE_SELECTION_REQUEST): new constant.
376         (TYPE_SELECTION_NOTIFY): new constant.
377         (TYPE_COLORMAP_NOTIFY): new constant.
378         (TYPE_MAPPING_NOTIFY): new constant.
379         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
380         * gnu/gcj/xlib/natGC.cc (copyArea): new method
381         * java/awt/Component.java (createImage): changed to use peer method.
382
383 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
384
385         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
386         name, not XLFD, to native drawString.
387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
388         Replace XLFD-based implementation with Pango-based
389         implementation.
390
391 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
392
393         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
394         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
395
396 2003-08-21  David Daney  <ddaney@avtrex.com>
397
398         Fix for PR libgcj/12013:
399         * java/lang/ref/natReference.cc (finalize_referred_to_object):
400         Check `cleared' field.
401         * java/lang/ref/Reference.java (copy): Updated comments.
402         (cleared): New field.
403         (clear): Rewrote.
404
405 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
406             Thomas Fitzsimmons  <fitzsim@redhat.com>
407
408         * Makefile.am (gtk_awt_peer_sources): Add
409         gnu/java/awt/peer/GLightweightPeer.java.  Remove
410         gnu/java/awt/GLightweightPeer.java.
411         * gnu/java/awt/GLightweightPeer.java: Remove file.
412         * gnu/java/awt/peer/GLightweightPeer.java: New file.
413         * java/awt/Component.java (getToolkit): Add comment about
414         lightweight components.
415         * java/awt/Toolkit.java (createComponent): Return
416         gnu.java.awt.peer.GLightweightPeer.
417
418 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
419
420         * configure.in: Fix detection of gcj when building with newlib.
421         * configure: Regenerated.
422
423 2003-08-20  Graydon Hoare  <graydon@redhat.com>
424
425         * jni.cc: Replace "cheating" pointer-casting code with
426         extract_from_jvalue<> template.
427
428 2003-08-20  Andrew Haley  <aph@redhat.com>
429
430         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
431         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
432         (classAt): Break out class lookup function into getClass().
433         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
434         handlers when using -fno-assume-compiled.
435
436 2003-08-20  Tom Tromey  <tromey@redhat.com>
437
438         Fix for PR libgcj/9125:
439         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
440         object outside of loop.  Respect lib_control setting.
441         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
442         field.
443         (lib_control): New field.
444         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
445         (VMClassLoader): Initialize new field.
446
447         * java/lang/ref/natReference.cc (finalize_referred_to_object):
448         Set `list->reference' to DELETED_REFERENCE when removing dead
449         object.
450         (find_slot): Added an assert.
451         (DELETED_REFERENCE): New define.
452         (add_to_hash): Check for DELETED_REFERENCE.
453         (remove_from_hash): Just return if found slot isn't ours.
454
455 2003-08-19  Andrew Haley  <aph@redhat.com>
456
457         * prims.cc (unblock_signal): New function.
458         (catch_segv): Use it.
459         (catch_fpe): Likewise.
460
461 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
462
463         PR libgcj/11575
464         * java/io/natFileDescriptorWin32.cc (open): Set create
465         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
466         Honor EXCL when openning with WRITE flag. 
467
468 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
469
470         * include/jvm.h: New class _Jv_TempUTFString (helper class for
471         getting a temporary C string from a jstring)
472         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
473         but uses a stack buffer if the string length is less than 256
474         bytes.
475
476 2003-08-18  Tom Tromey  <tromey@redhat.com>
477
478         PR libgcj/11951:
479         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
480         void.  Throw VirtualMachineError if ffi fails.  Initialize return
481         value.  Added is_jni_call argument; only wrap exception if not a
482         JNI call.  Use descriptive message if operation not supported.
483         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
484         array class.
485         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
486         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
487         _Jv_CallAnyMethodA.
488         (_Jv_JNI_CallAnyMethodA): Likewise.
489         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
490         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
491
492 2003-08-13  Tom Tromey  <tromey@redhat.com>
493
494         * gij.cc (help): Document -? and -X.
495
496 2003-08-12  Graydon Hoare  <graydon@redhat.com>
497
498         * java/awt/Font.java: 
499         Stub out more recent API. 
500
501 2003-08-12  Graydon Hoare  <graydon@redhat.com>
502
503         * java/awt/Color.java (getAlpha): 
504         Prevent sign-extended alpha values.
505
506 2003-08-12  Tom Tromey  <tromey@redhat.com>
507
508         * gij.cc (main): Handle -? and -X.
509
510 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
511
512         * java/awt/Container.java
513         (getPreferredSize): Call preferredSize.
514         (preferredSize): Moved body of getPreferredSize here.
515         (getMinimumSize): Call minimumSize.
516         (minimumSize): Moved body of getMinimumSize here.
517
518 2003-08-11  Tom Tromey  <tromey@redhat.com>
519
520         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
521         (postEvent): Removed FIXME comment.
522         (isDispatchThread): Documented.
523         (getCurrentEvent): New method.
524         (dispatchEvent): Set currentEvent and lastWhen.
525         (getMostRecentEventTime): Rewrote.
526         (invokeLater): Documented.
527
528 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
529
530         * java/io/PrintStream.java (print): Always flush if auto_flush is
531         set. Don't check for newline characters.
532         (write (int)): Implement without using a temporary array.
533         (write (byte[], int, int): Always flush if auto_flush is set. Don't
534         check for newline characters.
535         Fixes PR libgcj/11778.
536
537 2003-08-08  Andrew Haley  <aph@redhat.com>
538
539         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
540         * Makefile.in: Rebuild.
541         * java/lang/natRuntime.cc (insertSystemProperties): Add
542         "sun.boot.class.path".
543
544 2003-08-07  Andrew Haley  <aph@redhat.com>
545
546         * java/io/PrintStream.java: Don't crash on a null string.
547         
548 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
549
550         * configure.in: Don't initialize GCINCS to boehm-gc/include.
551         * configure: Regenerate.
552
553 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
554
555         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
556         SocketImpl. Update Javadoc.
557         (bind): Call close() not impl.close() in event of exception.
558         (connect): Likewise.
559         Remove superfluous null checks throughout.
560         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
561         Don't create an extra socket. Fix for PR libgcj/10868.
562         (bind): Clean up exception handling.
563         Remove superfluous null checks throughout.
564
565 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
566             Bryce McKinlay  <bryce@mckinlay.net.nz>
567
568         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
569         ready-to-write argument to _Jv_Select. Reset the socket back to 
570         non-blocking state after connecting.
571         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
572         Throw SocketTimeoutException not InterruptedIOException.
573         (read): Throw SocketTimeoutException not InterruptedIOException.
574
575 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
576
577         * java/lang/Thread.java (Thread): Check for null "name" from
578         start of private constructor, not after calling the private
579         constructor.
580
581 2003-08-06  Tom Tromey  <tromey@redhat.com>
582
583         * java/io/FilePermission.java (equals): Use correct index for
584         last character of path.
585
586 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
587
588         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
589         * configure.in: Compare with_cross_host to build_alias, not build.
590         * aclocal.m4: Regenerate.
591         * configure: Regenerate.
592
593 2003-08-05  Tom Tromey  <tromey@redhat.com>
594
595         Fix for PR libgcj/11779:
596         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
597         class.
598
599         * java/lang/reflect/Method.java: Updated status comment.
600         Imported javadoc from Classpath and re-ordered methods.
601         * java/lang/reflect/Constructor.java: Reindented.  Updated
602         status comment.  Imported javadoc from Classpath and re-ordered
603         methods.
604
605 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
606
607         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
608         Add keyLocation parameter.
609         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
610         string.
611         (paramString): Generate keyChar string according to keyChar, not
612         keyCode.
613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
614         (state_to_awt_mods): Handle ALT key.
615         (keyevent_state_to_awt_mods): New function.
616         (get_first_keyval_from_keymap): New function.
617         (keysym_to_awt_keycode): Get virtual key code from keymap.
618         Handle missing VK_ values.
619         (keysym_to_awt_keylocation): New function.
620         (keyevent_to_awt_keychar): New function.
621         (generates_key_typed_event): Handle non-text-component case.
622         Handle GDK_KP_Delete and GDK_KP_Enter.
623         (awt_event_handler): Call new functions to get postKeyEvent
624         parameters.
625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
626         Update postKeyEvent method signature.
627         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
628         VK_ defines.
629
630 2003-08-05  Matthias Klose  <doko@debian.org>
631
632         * aclocal.m4: check for libart-config binary
633           under the name libart2-config as well.
634         * configure: regenerated.
635
636 2003-08-04  David P Grove  <groved@us.ibm.com>
637
638         * java/text/DecimalFormat.java (format): avoid ArithmeticException
639         when groupingSize is 0.
640         (parse): Likewise.
641
642 2003-08-04  Matthias Klose  <doko@debian.org>
643
644         * libart.m4: check for libart-config binary
645           under the name libart2-config as well.
646         * configure, aclocal.m4: regenerated.
647
648 2003-08-02  Michael Koch  <konqueror@gmx.de>
649
650         * java/nio/ByteBufferImpl.java
651         (getChar): Check remaining bytes, fixed comment about endianess.
652         (putChar): Likewise.
653         (getShort): Likewise.
654         (putShort): Likewise.
655         (getInt): Check remaining bytes, fixed conversion, fixed comment about
656         endianess.
657         (putInt): Likewise.
658         (getLong): Likewise.
659         (putLong): Likewise.
660         (getFloat): Likewise.
661         (putFloat): Likewise.
662         (getDouble): Likewise.
663         (putDouble): Likewise.
664         * java/nio/DirectByteBufferImpl.java
665         (getChar): Wrapped code, fixed comment about endianess.
666         (putchar): Likewise.
667         (getShort): Likewise.
668         (putShort): Likewise.
669         (getInt): Fixed conversion, fixed comment about endianess.
670         (putInt): Likewise.
671         (getLong): Likewise.
672         (putLong): Likewise.
673         (getFloat): Likewise.
674         (putFloat): Likewise.
675         (getDouble): Likewise.
676         (putDouble): Likewise.
677         * java/nio/MappedByteBufferImpl.java
678         (compact): Implemented.
679         (getChar): Implemented.
680         (putChar): Implemented.
681         (getDouble): Implemented.
682         (putdouble): Implemented.
683         (getFloat): Implemented.
684         (putFloat): Implemented.
685         (getInt): Implemented.
686         (putInt): Implemented.
687         (getLong): Implemented.
688         (putLong): Implemented.
689         (getShort): Implemented.
690         (putShort): Implemented.
691         * java/nio/channels/FileChannelImpl.java
692         (read): Set position where to access file.
693         (write): Likewise.
694         (transferTo): Flip buffer after read and before write.
695         (transferFrom): Likewise.
696
697 2003-08-02  Michael Koch  <konqueror@gmx.de>
698
699         * gnu/java/lang/ArrayHelper.java
700         (equalsArray): Reformated, added method documentation.
701
702 2003-08-02  Michael Koch  <konqueror@gmx.de>
703
704         * java/net/URL.java
705         (URL): Added paragraph about the
706         gnu.java.net.nocache_protocol_handlers property.
707         (ph_cache): Renamed from handlers to match classpath's implementation.
708         Reordered it with factory and serialVersionUID member variables.
709         (cache_handlers): New member variable.
710         (static): New static initializer to initialize cache_handlers from
711         gnu.java.net.nocache_protocol_handlers property.
712         (URL): Use ph_cache instead of handlers, reformatted some code to
713         match classpath's implementation.
714
715 2003-08-01  Tom Tromey  <tromey@redhat.com>
716
717         Fix for PR libgcj/11241:
718         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
719         initialCapacity is 0, set it to 1.
720
721 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
722
723         * java/net/SocketImpl.java (toString): Display the remote address
724         of an unconnected server socket as "0.0.0.0/0.0.0.0".
725
726 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
727
728         * javax/swing/border/BevelBorder.java,
729         javax/swing/border/EtchedBorder.java,
730         javax/swing/border/LineBorder.java,
731         javax/swing/border/MatteBorder.java,
732         javax/swing/border/SoftBevelBorder.java,
733         javax/swing/plaf/BorderUIResource.java,
734         javax/swing/plaf/ComponentUI.java,
735         javax/swing/plaf/TreeUI.java,
736         javax/swing/plaf/basic/BasicBorders.java,
737         javax/swing/plaf/basic/BasicGraphicsUtils.java,
738         javax/swing/plaf/basic/BasicTreeUI.java:
739         Prepend "doc-files" to all paths to embedded Javadoc images, so
740         that the generated documentation contains the correct URL.
741
742 2003-08-01  Tom Tromey  <tromey@redhat.com>
743
744         * configure: Rebuilt.
745         * configure.in (tool_include_dir): Redefine to match gcc.
746
747 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
748             Mark Wielaard  <mark@klomp.org>
749             
750         * java/math/BigDecimal (divide): Correctly handle
751         ROUND_HALF_EVEN when amount is greater than 0.5.
752         Simplify and optimize code.
753
754 2003-07-31  Tom Tromey  <tromey@redhat.com>
755
756         More for PR libgcj/11737:
757         * java/io/ObjectInputStream.java (processResolution): Use
758         getMethod.
759         (getMethod): Make method accessible.
760         (getField): Make field accessible.
761         (setBooleanField): Don't call setAccessible here.
762         (setByteField, setCharField, setDoubleField, setFloatField,
763         setIntField, setLongField, setShortField, setObjectField):
764         Likewise.
765         (callReadMethod): Don't check whether method is null.  Catch
766         NoSuchMethodException.
767         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
768         cause on thrown exceptions.
769
770 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
771
772         Fix for PR libgcj/11728:
773         * java/util/HashMap.java (readObject): Set size.
774
775 2003-07-31  Tom Tromey  <tromey@redhat.com>
776
777         Fix for PR libgcj/11737:
778         * java/io/ObjectOutputStream.java (getMethod): Make method
779         accessible.
780         (getField): Likewise.
781         (writeObject): Use getMethod.
782         Import PrivilegedAction and AccessController.
783         (callWriteMethod): Don't check whether m is null.  Catch
784         NoSuchMethodException.
785
786         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
787         (containsAngle): Likewise.
788         (getStartPoint): Rewrote.
789         (getEndPoint): Likewise.
790         (setAngleStart(Point2D)): Likewise.
791
792 2003-07-31  Roger Sayle  <roger@eyesopen.com>
793             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
794
795         * configure.in: Add new THREADCXXFLAGS variable.
796         Handle POSIX threads on alpha*-dec-osf*.
797         * configure: Regenerate.
798         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
799         * Makefile.in: Regenerate.
800
801 2003-07-08  Andrew Haley  <aph@redhat.com>
802
803         * include/i386-signal.h (RESTORE): New.
804         (INIT_SEGV): Set restorer.
805         (INIT_FPE): Likewise.
806
807 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
808
809         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
810         than getXLFD.
811         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
812         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
814         (gtkSetFont): Scale size parameter by PANGO_SCALE.
815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
816         Likewise.
817         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
818         Likewise.
819
820 2003-07-29  Tom Tromey  <tromey@redhat.com>
821
822         * defineclass.cc (handleField): Throw exception if field name is
823         duplicated.
824         (handleMethod): Throw exception for duplicate method.
825
826 2003-07-29  Tom Tromey  <tromey@redhat.com>
827
828         * gnu/gcj/convert/natIconv.cc (write): Handle case where
829         output buffer is too small.
830
831 2003-07-28  Tom Tromey  <tromey@redhat.com>
832
833         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
834         New method.
835         Include gnu/gcj/runtime/StringBuffer.h.
836         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
837         native method.
838         (String(gnu.gcj.runtime.StringBuffer)): Use it.
839
840 2003-07-27  Anthony Green  <green@redhat.com>
841
842         * configure.in: Fix newlib check.
843         * configure: Rebuilt.
844
845 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
846
847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
848         Create vbox and layout for GtkPlug.
849
850 2003-07-27  Michael Koch  <konqueror@gmx.de>
851
852         * java/awt/Window.java
853         (Window): Removed now unused constructor. It became oboslete with the
854         new embedded window patch.
855
856 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
857             Michael Koch  <konqueror@gmx.de>
858
859         * gnu/java/awt/EmbeddedWindow.java
860         (EmbeddedWindow): Extends Frame instead of Window.
861         (window_id): New member variable to store the native window handle.
862         (create): Removed.
863         (EmbeddedWindow): New constructor.
864         (addNotify): New method.
865         (getHandler): Likewise.
866         (setWindowPeer): New native method.
867         * gnu/java/awt/EmbeddedWindowSupport.java
868         (EmbeddedWindowSupport): Fixed documentation.
869         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
870         WindowPeer, give it an EmbeddedWindow instance instead of the raw
871         window data.
872         * gnu/java/awt/natEmbeddedWindow.cc
873         (create): Removed.
874         (setWindowPeer): New method.
875         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
876         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
877         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
878         New files
879         * gnu/java/awt/peer/gtk/GtkToolkit.java
880         (GtkToolkit): Implements EmbeddedWindowSupport.
881         (createEmbeddedWindow): New method.
882         * java/awt/Window.java
883         (Window): Removed.
884         * Makefile.am
885         (java_source_files): Added EmbeddedWindowPeer.java.
886         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
887         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
888         * Makefile.in: Regenerated.
889
890 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
891
892         * java/lang/Win32Process.java (ConcreteProcess): Surround
893         a command line element with quotes if it contains an
894         embedded space or tab.
895         * java/lang/natWin32Process.cc (startProcess): Do not
896         surround command line elements with quotes here.
897
898         * configure.host: Use -fcheck-references and 
899         -fuse-divide-subroutine for MinGW until we fix
900         win32_exception_handler( ) in win32.cc w.r.t. Win32 
901         Structured Exception Handling (SEH).
902
903         * win32.cc (_Jv_platform_initProperties): Use generic names
904         like "x86" for the "os.arch" property to be consistent with
905         what Sun's JDK produces. Use the wProcessorArchitecture
906         member of the Win32 SYSTEM_INFO structure, filled in a call 
907         to GetSystemInfo( ), instead of dwProcessorType.
908
909 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
910             Ranjit Mathew  <rmathew@hotmail.com>
911
912         * Makefile.am: Use cross-compiling gcjh from the path for
913         a crossed-native build.
914         * Makefile.in: Rebuilt.
915         * configure.in: Include libltdl in non-newlib builds.
916         Moved determination of gcj used to build libraries to
917         its own section. Fixed cross-compilation issues for
918         non-newlib builds.
919         * configure: Rebuilt.
920
921 2003-07-25  Tom Tromey  <tromey@redhat.com>
922
923         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
924         (write): Likewise.
925         (read): Likewise.
926         (read): Likewise.
927
928 2003-07-25  Mark Wielaard  <mark@klomp.org>
929
930         * java/lang/natRuntime.cc (_load): Add library name to
931         UnsatisfiedLinkError when thrown.
932
933 2003-07-25  Mark Wielaard  <mark@klomp.org>
934
935         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
936         added.
937         * Makefile.in: Likewise.
938
939 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
940
941         * java/awt/Component.java
942         (getPreferredSize): Call preferredSize.
943         (preferredSize): Moved body of getPreferredSize here.
944         (getMinimumSize): Call minimumSize.
945         (minimumSize): Moved body of getMinimumSize here.
946         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
947         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
948         pass -1
949         * java/awt/Container.java
950         (validate): Don't validate if there is no peer.
951         (update): Clear background before calling paint.
952         * java/awt/GridBagLayout.java
953         Completed the implementation and fixed several bugs.
954         * java/awt/MediaTracker.java
955         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
956         combine flags.
957         * java/awt/Window.java
958         (Window): Don't call setVisible(false). Windows are invisible by
959         default and calling virtual methods from constructor causes
960         compatibility problems (e.g. subclasses may assume that the peer
961         already exists).
962
963 2003-07-25  Michael Koch  <konqueror@gmx.de>
964
965         * java/awt/GridBagLayout.java:
966         Totally reworked and partly implemented.
967         * java/awt/GridBagLayoutInfo.java:
968         New file.
969
970 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
971
972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
973         Don't pack label in an event box.
974
975 2003-07-24  Tom Tromey  <tromey@redhat.com>
976
977         For PR libgcj/7482:
978         * verify.cc (ref_intersection): New class.
979         (type_val): Removed unresolved_reference_type,
980         uninitialized_unresolved_reference_type.
981         (is_assignable_from_slow): Rewrote.
982         (type::data): Removed.
983         (type::klass): New field.
984         (type::type): Added verifier argument.
985         (type::resolve): Removed.
986         (type::set_uninitialized): Updated for change to type_val.
987         (type::set_initialized): Likewise.
988         (type::isinitialized): Likewise.
989         (type::print): Likewise.
990         (construct_primitive_array_type): Likewise.
991         (type::compatible): Updated for change to type_val and to use
992         ref_intersection.
993         (type::isarray): Updated to use ref_intersection.
994         (type::isinterface): Likewise.
995         (type::element_type): Likewise.
996         (type::to_array): Likewise.
997         (type::verify_dimensions): Rewrote.
998         (type::merge): Likewise.
999         (check_class_constant): Updated for type constructor change.
1000         (check_constant): Likewise.
1001         (check_field_constant): Likewise.
1002         (get_one_type): Likewise.
1003         (initialize_stack): Likewise.
1004         (verify_instructions_0): Likewise.
1005         (verify_instructions_0) [op_invokeinterface]: Removed special
1006         case.
1007         (isect_list): New field.
1008         (_Jv_BytecodeVerifier): Initialize it.
1009         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
1010
1011 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
1012
1013         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
1014         unless field size is 2.
1015
1016 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1017
1018         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1019         (connectHooks): New method.
1020         (handleEvent): Remove.
1021         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1022         (createHooks): Remove declaration.
1023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1024         (generates_key_typed_event): Change to handle only certain
1025         keyvals.
1026         (awt_event_handler): Add special handling for GtkTextView.
1027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1028         (textcomponent_commit_cb): New function.
1029         (textcomponent_changed_cb): Likewise.
1030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1031         (connectHooks): Remove.
1032
1033 2003-07-23  Tom Tromey  <tromey@redhat.com>
1034
1035         * java/lang/natSystem.cc (arraycopy): Check for overflow.
1036
1037         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
1038
1039 2003-07-22  Tom Tromey  <tromey@redhat.com>
1040
1041         * boehm.cc (_Jv_BuildGCDescr): Wrote.
1042         Include limits.h.
1043
1044 2003-07-22  Tom Tromey  <tromey@redhat.com>
1045
1046         * java/awt/Window.java (getWarningString): Just return the
1047         string.
1048         (Window): Set warningString; check with security manager.
1049
1050 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
1051
1052         * gnu/awt/xlib/XGraphicsConfiguration.java
1053         (FontMetricsCache): Made static.
1054  
1055 2003-07-22  Tom Tromey  <tromey@redhat.com>
1056
1057         * java/net/URLEncoder.java (encode(String)): Use platform default
1058         encoding.
1059         (encode(String,String)): Convert to 2-digit upper-case hex
1060         number.
1061         (hex): New field.
1062
1063 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1064
1065         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1066         (create): Remove unused method implementation.
1067         (connectHooks): Remove debug messages.
1068
1069 2003-07-20  Anthony Green  <green@redhat.com>
1070
1071         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1072         CloneNotSupportedException.
1073         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1074         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1075         * gnu/gcj/xlib/GC.java (clone): Ditto.
1076         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1077         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1078
1079         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1080         handler.
1081         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1082
1083 2003-07-20  Steve Pribyl <steve@netfuel.com.>
1084
1085         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1086         String.  Put dlerror() message into exception.
1087         Include UnsatisfiedLinkError.
1088         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1089         String.  Now native.
1090
1091 2003-07-20  Tom Tromey  <tromey@redhat.com>
1092
1093         * java/lang/Runtime.java: Comment fix.
1094         * java/lang/ClassLoader.java (isAncestorOf): New method.
1095         (getParent): Uncommented security check.  Use isAncestorOf.
1096         * include/jvm.h (_Jv_CheckAccess): Declare.
1097         * java/lang/reflect/natConstructor.cc (newInstance): Perform
1098         access check.
1099         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1100         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1101         class loader to _Jv_GetArrayClass.
1102         Include ArrayIndexOutOfBoundsException.h.
1103         * java/lang/reflect/Field.java: Update comment to reflect status.
1104         (equals): Fixed indentation.
1105         * java/lang/Class.h (Class): Declare memberAccessCheck, not
1106         checkMemberAccess.  Make _Jv_CheckAccess a friend.
1107         * java/lang/Class.java (memberAccessCheck): New method from
1108         Classpath.
1109         (checkMemberAccess): Removed.
1110         (getDeclaredMethod): Use memberAccessCheck.
1111         (getField): Likewise.
1112         (getMethod): Likewise.
1113         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1114         (_Jv_SearchMethodInClass): Likewise.
1115         * prims.cc (_Jv_CheckAccess): New function.
1116         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1117         (_Jv_JNI_GetAnyFieldID): Likewise.
1118         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1119         (getClassLoader): Added security check.
1120         (getConstructor): Call memberAccessCheck.
1121         (getDeclaredClasses): Likewise.
1122         (getDeclaredField): Likewise.
1123         (getDeclaredFields): Likewise.
1124         (_getConstructors): Likewise.
1125         (getDeclaredConstructor): Likewise.
1126         (getDeclaredMethods): Likewise.
1127         (getFields): Likewise.
1128         (getMethods): Likewise.
1129         (newInstance): Likewise.
1130         (_Jv_MakeVTable): Put method name in exception.
1131         * java/lang/reflect/natMethod.cc (getType): Use
1132         getClassLoaderInternal.
1133         (_Jv_GetTypesFromSignature): Likewise.
1134         (invoke): Perform access check.
1135         (_Jv_CallAnyMethodA): Removed old FIXME comments.
1136         Include ArrayIndexOutOfBoundsException.h.
1137         * java/lang/reflect/natField.cc (getType): Use
1138         getClassLoaderInternal.
1139         (_Jv_CheckFieldAccessibility): Removed.
1140         (getAddr): Use _Jv_CheckAccess; find caller.
1141         Include ArrayIndexOutOfBoundsException.h.
1142
1143 2003-07-20  Michael Koch  <konqueror@gmx.de>
1144
1145         * java/net/URL.java
1146         (URL): Fixed documentation to name an argument correcty, Reformatted
1147         one method declaration.
1148         (getURLStreamHandler): Added documentation from classpath.
1149
1150 2003-07-19  Tom Tromey  <tromey@redhat.com>
1151
1152         * mauve-libgcj: Don't run CollationElementIterator tests.
1153
1154 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
1155
1156         * java/net/URLClassLoader.java (addURL): Moved implementation to
1157         private addURLImpl() to avoid calling addURL from the constructor.
1158         (addURLImpl): Contains the code that was previously in addURL.
1159         (addURLs): Call addURLImpl(), not addURL().
1160
1161 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1162
1163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
1164         Handle missing event cases, connect to "value-changed" signal.
1165
1166 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1167
1168         * java/awt/geom/CubicCurve2D.java,
1169         java/awt/geom/Line2D.java,
1170         java/awt/geom/QuadCurve2D.java,
1171         java/awt/geom/Rectangle2D.java: 
1172         Fix path some calculations, make path iterators follow
1173         a consistent style.
1174
1175 2003-07-18  Mark Wielaard  <mark@klomp.org>
1176
1177         * java/util/logging/Handler.java (isLoggable): Check record level
1178         smaller or equal.
1179
1180 2003-07-17  Michael Koch  <konqueror@gmx.de>
1181
1182         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1183         Reworked imports.
1184
1185 2003-07-14  Michael Koch  <konqueror@gmx.de>
1186
1187         * gnu/java/rmi/server/UnicastServerRef.java:
1188         New version from classpath.
1189
1190 2003-07-14  Michael Koch  <konqueror@gmx.de>
1191
1192         * java/awt/image/MemoryImageSource.java,
1193         java/beans/PropertyEditorManager.java,
1194         javax/naming/CompoundName.java,
1195         javax/naming/spi/NamingManager.java,
1196         javax/swing/AbstractButton.java,
1197         javax/swing/ButtonModel.java,
1198         javax/swing/SwingUtilities.java,
1199         javax/swing/UIManager.java,
1200         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1201         javax/swing/event/AncestorEvent.java,
1202         javax/swing/event/InternalFrameEvent.java,
1203         java/util/zip/ZipFile.java:
1204         New versions from classpath.
1205
1206 2003-07-13  Michael Koch  <konqueror@gmx.de>
1207
1208         * gnu/java/nio/FileChannelImpl.java,
1209         gnu/java/nio/natFileChannelImpl.cc: Removed.
1210         * java/io/FileInputStream.java,
1211         java/io/FileOutputStream.java,
1212         java/io/RandomAccessFile.java,
1213         java/nio/MappedByteBufferImpl.java:
1214         Import java.nio.channels.FileChannelImpl instead of
1215         gnu.java.nio.FileChannelImpl.
1216         * java/nio/channels/FileChannelImpl.java,
1217         java/nio/channels/natFileChannelImpl.cc:
1218         New files.
1219         * Makefile.am
1220         (ordinary_java_source_files):
1221         Removed gnu/java/nio/FileChannelImpl.java and added
1222         java/nio/channels/FileChannelImpl.java.
1223         (nat source_files):
1224         Removed gnu/java/nio/natFileChannelImpl.cc and added
1225         java/nio/channels/natFileChannelImpl.cc.
1226         * Makefile.in: Regenerated.
1227
1228 2003-07-13  Michael Koch  <konqueror@gmx.de>
1229
1230         * javax/swing/plaf/basic/BasicBorders.java,
1231         javax/swing/plaf/basic/BasicLabelUI.java,
1232         javax/swing/plaf/basic/BasicLookAndFeel.java,
1233         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1234         javax/swing/plaf/basic/BasicTextUI.java,
1235         javax/swing/plaf/metal/MetalLookAndFeel.java:
1236         New versions from classpath.
1237
1238 2003-07-13  Michael Koch  <konqueror@gmx.de>
1239
1240         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1241         * gnu/java/awt/peer/gtk/GdkGraphics.java
1242         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1243         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1244         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1245         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1246         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1247         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1248         * gnu/java/awt/peer/gtk/GtkClipboard.java
1249         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1250         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1251         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1252         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1253         * gnu/java/awt/peer/gtk/GtkImage.java
1254         * gnu/java/awt/peer/gtk/GtkImagePainter.java
1255         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1256         * gnu/java/awt/peer/gtk/GtkListPeer.java
1257         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1258         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1259         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1260         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1261         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1262         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1263         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1264         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1265         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1266         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1267         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1268         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1269
1270 2003-07-13  Michael Koch  <konqueror@gmx.de>
1271
1272         * gnu/java/locale/LocaleInformation_de.java
1273         * gnu/java/locale/LocaleInformation_en.java
1274         * gnu/java/locale/LocaleInformation_nl.java
1275
1276 2003-07-13  Michael Koch  <konqueror@gmx.de>
1277
1278         * gnu/java/awt/EmbeddedWindow.java,
1279         gnu/java/awt/EmbeddedWindowSupport.java,
1280         gnu/java/awt/natEmbeddedWindow.cc:
1281         New files.
1282         * java/awt/Window.java
1283         (Window): New constructor to support embedded windows.
1284         * Makefile.am
1285         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1286         gnu/java/awt/EmbeddedWindowSupport.java.
1287         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1288         * Makefile.in: Regenerated.
1289
1290 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
1291
1292         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1293         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1294         * java/awt/im/InputContext.java: Remove a redundant
1295         partial line.
1296
1297 2003-07-09  Tom Tromey  <tromey@redhat.com>
1298
1299         * Makefile.in: Rebuilt.
1300         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1301
1302 2003-07-09  Mark Wielaard  <mark@klomp.org>
1303
1304         * java/io/ObjectOutputStream.java (writeObject): break after
1305         calling writeClassDescriptor().
1306
1307 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
1308
1309         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1310
1311 2003-07-09  Michael Koch  <konqueror@gmx.de>
1312
1313         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1314         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1315         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1316         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1317         Explicitly import used classes.
1318         * java/awt/Container.java: New version from classpath.
1319
1320 2003-07-09  Michael Koch  <konqueror@gmx.de>
1321
1322         * libgcj.pc.in: New file.
1323         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1324         * Makefile.in: Regenerated.
1325         * configure: Regenrated.
1326         * configure.in: Create libgcj.pc from libgcj.pc.in.
1327
1328 2003-07-08  Mark Wielaard <mark@klomp.org>
1329
1330         * gcj/cni.h: CNI now expands to Compiled Native Interface.
1331
1332         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1333         * java/lang/fdlibm.h: Likewise.
1334
1335 2003-07-07  Adam Megacz <adam@xwt.org>
1336
1337         * posix.cc: added #include<stdio.h>
1338                 
1339 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1340
1341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1342         formatting.
1343
1344         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1345         (setCaretPosition, setEditable): Rely entirely on native
1346         implementation.
1347         (getArgs): Remove.
1348         (postTextEvent): New method.
1349         (handleEvent): New method.
1350         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1351         method.
1352         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1354         (keysym_to_awt_keycode): Fix range checks.
1355         (generates_key_typed_event): New function.
1356         (awt_event_handler): Post AWT_KEY_RELEASED events to event
1357         queue.
1358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1359         (gtkInit): Store TextComponent's postTextEvent method ID.
1360         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1361         (setText): Post TEXT_VALUE_CHANGED event to event queue.
1362
1363 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1364
1365         * configure.in: Check for usleep declaration.
1366         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1367         * configure: Regenerate.
1368         * include/config.h.in: Likewise.
1369         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1370
1371 2003-07-01  Michael Koch  <konqueror@gmx.de>
1372
1373         * gnu/gcj/convert/natIconv.cc
1374         (iconv_init): Fixed possible memory leak by releasing allocated iconv
1375         handle.
1376
1377 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1378
1379         * glib-2.0.m4: New file.
1380         * gtk-2.0.m4: New file.
1381         * glib.m4: Remove.
1382         * gtk.m4: Remove.
1383         * configure.in: Update AM_PATH_GTK macro call to
1384         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
1385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1386         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1387         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1388         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1396         jni/gtk-peer/gthread-jni.c,
1397         jni/gtk-peer/gthread-jni.h:
1398         New versions from classpath.
1399         * aclocal.m4: Regenerate.
1400         * configure: Regenerate.
1401         * Makefile.in: Regenerate.
1402         * gcj/Makefile.in: Regenerate.
1403         * include/Makefile.in: Regenerate.
1404         * testsuite/Makefile.in: Regenerate.
1405
1406 2003-06-30  Gary Benson  <gbenson@redhat.com>
1407
1408         For PR libgcj/11349:
1409         * javax/naming/spi/NamingManager.java (getURLContext): Use
1410         correct name for factory class.
1411
1412 2003-06-28  Michael Koch  <konqueror@gmx.de>
1413
1414         * java/io/PrintStream.java
1415         (checkError): Call flush() instead of direct flushing of the Writer
1416         object.
1417         (print): Call print(String) instead of direct print method of the
1418         Writer Object.
1419         (println): Call println(String) instead of direct println method of the
1420         Writer Object.
1421         (write): Simplified.
1422
1423 2003-06-28  Michael Koch  <konqueror@gmx.de>
1424
1425         * java/net/ServerSocket.java
1426         (setChannel): New method.
1427         * java/net/Socket.java
1428         (setChannel): New method.
1429
1430 2003-06-27  Michael Koch  <konqueror@gmx.de>
1431
1432         * java/beans/beancontext/BeanContextSupport.java:
1433         New version from classpath.
1434
1435 2003-06-27  Michael Koch  <konqueror@gmx.de>
1436
1437         * java/awt/Window.java,
1438         java/awt/font/GraphicAttribute.java,
1439         java/awt/font/ImageGraphicAttribute.java,
1440         java/awt/image/DataBufferByte.java,
1441         java/awt/image/DataBufferInt.java,
1442         java/awt/image/DataBufferUShort.java,
1443         java/awt/image/DirectColorModel.java,
1444         java/awt/image/PixelGrabber.java:
1445         New versions from classpath.
1446
1447 2003-06-27  Michael Koch  <konqueror@gmx.de>
1448
1449         * java/security/Certificate.java
1450         (getGuarantor): Removed wrong @deprecated tag.
1451         (getPrincipal): Likewise.
1452         (getPublicKey): Likewise.
1453         (encode): Likewise.
1454         (decode): Likewise.
1455         (getFormat): Likewise.
1456         (toString): Likewise.
1457         * java/security/cert/PolicyQualifierInfo.java
1458         (PolicyQualifierInfo): Made final.
1459         * javax/security/auth/x500/X500Principal.java
1460         (serialVersionUID): New member variable.
1461
1462 2003-06-27  Michael Koch  <konqueror@gmx.de>
1463
1464         * java/text/Format.java
1465         (serialVersionUID): Fixed value.
1466
1467 2003-06-27  Michael Koch  <konqueror@gmx.de>
1468
1469         * java/net/Inet4Address.java
1470         (Inet4Address): Made package-private.
1471         * java/net/Inet6Address.java
1472         (Inet4Address): Made package-private.
1473
1474 2003-06-27  Michael Koch  <konqueror@gmx.de>
1475
1476         * java/io/RandomAccessFile.java
1477         (readLine): Removed wrong @deprecated tag.
1478         (getChannel): Made final.
1479
1480 2003-06-27  Michael Koch  <konqueror@gmx.de>
1481
1482         * gnu/java/nio/FileChannelImpl.java
1483         (write): Removed.
1484
1485 2003-06-27  Michael Koch  <konqueror@gmx.de>
1486
1487         * java/nio/ByteBufferImpl.java
1488         (ByteBufferImpl): Made it a package-private class
1489         * java/nio/CharBufferImpl.java
1490         (CharBufferImpl): Made it a package-private class
1491         * java/nio/DirectByteBufferImpl.java
1492         (DirectByteBufferImpl): Made it a package-private class
1493         * java/nio/DoubleBufferImpl.java
1494         (DoubleBufferImpl): Made it a package-private class
1495         * java/nio/FloatBufferImpl.java
1496         (FloatBufferImpl): Made it a package-private class
1497         * java/nio/IntBufferImpl.java
1498         (IntBufferImpl): Made it a package-private class
1499         * java/nio/LongBufferImpl.java
1500         (LongBufferImpl): Made it a package-private class
1501         * java/nio/ShortBufferImpl.java
1502         (ShortBufferImpl): Made it a package-private class
1503         * java/nio/channels/FileChannel.java
1504         (write): Made final.
1505         * java/nio/channels/ServerSocketChannel.java
1506         (ServerSocketChanne): Made protected.
1507
1508 2003-06-27  Michael Koch  <konqueror@gmx.de>
1509
1510         * javax/naming/CompositeName.java
1511         (serialVersionUID): New member variable.
1512         * javax/naming/CompoundName.java
1513         (serialVersionUID): New member variable.
1514         * javax/naming/InitialContext.java
1515         (InitialContext): Throws NamingException.
1516         (init): Likewise.
1517         * javax/naming/LinkRef.java
1518         (serialVersionUID): New member variable.
1519         (gteLinkName): Throws NamingException.
1520         * javax/naming/NamingException.java
1521         (serialVersionUID): New member variable.
1522         * javax/naming/NamingSecurityException.java
1523         (NamingSecurityException): Made abstract.
1524         (serialVersionUID): New member variable.
1525         * javax/naming/ReferralException.java
1526         (serialVersionUID): New member variable.
1527         * javax/naming/StringRefAddr.java
1528         (serialVersionUID): New member variable.
1529         * javax/naming/directory/BasicAttribute.java:
1530         Reworked imports.
1531         (serialVersionUID): New member variable.
1532         (get): Throws NamingException.
1533         (getAll): Throws NamingException.
1534         * javax/naming/directory/BasicAttributes.java:
1535         Reworked imports.
1536         (serialVersionUID): New member variable.
1537         * javax/naming/ldap/UnsolicitedNotificationEvent.java
1538         (serialVersionUID): New member variable.
1539
1540 2003-06-27  Michael Koch  <konqueror@gmx.de>
1541
1542         * Makefile.am
1543         (awt_java_source_files): Added new files:
1544         javax/swing/Popup.java,
1545         javax/swing/PopupFactory.java
1546         * Makefile.in: Regenerated.
1547
1548 2003-06-27  Michael Koch  <konqueror@gmx.de>
1549
1550         * javax/swing/JWindow.java,
1551         javax/swing/event/AncestorEvent.java,
1552         javax/swing/event/HyperlinkEvent.java,
1553         javax/swing/event/InternalFrameEvent.java,
1554         javax/swing/event/ListDataEvent.java,
1555         javax/swing/event/TableModelEvent.java,
1556         javax/swing/plaf/PopupMenuUI.java,
1557         javax/swing/plaf/SplitPaneUI.java,
1558         javax/swing/plaf/TabbedPaneUI.java,
1559         javax/swing/plaf/TextUI.java,
1560         javax/swing/plaf/TreeUI.java,
1561         javax/swing/plaf/basic/BasicTextUI.java,
1562         javax/swing/plaf/basic/BasicTreeUI.java:
1563         New versions from classpath.
1564         * javax/swing/Popup.java,
1565         javax/swing/PopupFactory.jav:
1566         New source files from classpath.
1567         * javax/swing/plaf/doc-files/TreeUI-1.png:
1568         New binary files from classpath.
1569
1570 2003-06-25  Michael Koch  <konqueror@gmx.de>
1571
1572         * Makefile.am
1573         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1574         * Makefile.in: Regenerated.
1575
1576 2003-06-25  Michael Koch  <konqueror@gmx.de>
1577
1578         * javax/swing/plaf/ActionMapUIResource.java,
1579         javax/swing/plaf/BorderUIResource.java,
1580         javax/swing/plaf/ButtonUI.java,
1581         javax/swing/plaf/ColorChooserUI.java,
1582         javax/swing/plaf/ColorUIResource.java,
1583         javax/swing/plaf/ComboBoxUI.java,
1584         javax/swing/plaf/ComponentInputMapUIResource.java,
1585         javax/swing/plaf/ComponentUI.java,
1586         javax/swing/plaf/DesktopIconUI.java,
1587         javax/swing/plaf/DesktopPaneUI.java,
1588         javax/swing/plaf/DimensionUIResource.java,
1589         javax/swing/plaf/FileChooserUI.java,
1590         javax/swing/plaf/FontUIResource.java,
1591         javax/swing/plaf/IconUIResource.java,
1592         javax/swing/plaf/InputMapUIResource.java,
1593         javax/swing/plaf/InsetsUIResource.java,
1594         javax/swing/plaf/InternalFrameUI.java,
1595         javax/swing/plaf/LabelUI.java,
1596         javax/swing/plaf/ListUI.java,
1597         javax/swing/plaf/MenuBarUI.java,
1598         javax/swing/plaf/MenuItemUI.java,
1599         javax/swing/plaf/OptionPaneUI.java,
1600         javax/swing/plaf/PanelUI.java,
1601         javax/swing/plaf/ProgressBarUI.java,
1602         javax/swing/plaf/RootPaneUI.java,
1603         javax/swing/plaf/ScrollBarUI.java,
1604         javax/swing/plaf/ScrollPaneUI.java,
1605         javax/swing/plaf/SeparatorUI.java,
1606         javax/swing/plaf/SliderUI.java,
1607         javax/swing/plaf/TableHeaderUI.java,
1608         javax/swing/plaf/TableUI.java,
1609         javax/swing/plaf/ToolBarUI.java,
1610         javax/swing/plaf/ToolTipUI.java,
1611         javax/swing/plaf/ViewportUI.java:
1612         New versions from classpath.
1613         * javax/swing/plaf/SpinnerUI.java: 
1614         New file from classpath
1615
1616 2003-06-25  Michael Koch  <konqueror@gmx.de>
1617
1618         * java/awt/image/ColorModel.java:
1619         New version from classpath.
1620
1621 2003-06-25  Michael Koch  <konqueror@gmx.de>
1622
1623         * java/net/PlainDatagramSocketImpl.java:
1624         Partly merged with classpath, this mainly adds documentation.
1625
1626 2003-06-25  Michael Koch  <konqueror@gmx.de>
1627
1628         * java/io/ObjectInputStream.java
1629         (readClassDescriptor): New method.
1630         (readObject): Moved functionality to readClassDescriptor().
1631         * java/io/ObjectOutputStream.java
1632         (writeClassDescriptor): New method.
1633         (writeObject): Moved functionality to writeClassDescriptor().
1634
1635 2003-06-25  Michael Koch  <konqueror@gmx.de>
1636
1637         * javax/swing/plaf/basic/BasicListUI.java,
1638         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1639         Added missing methods.
1640
1641 2003-06-25  Michael Koch  <konqueror@gmx.de>
1642
1643         * javax/swing/event/AncestorEvent.java
1644         javax/swing/event/HyperlinkEvent.java
1645         javax/swing/event/InternalFrameEvent.java
1646         javax/swing/event/ListDataEvent.java
1647         javax/swing/event/TableModelEvent.java:
1648         Compile fixes.
1649
1650 2003-06-24  Michael Koch  <konqueror@gmx.de>
1651
1652         * java/net/URL.java:
1653         Renamed "handler" to "ph" in the whole file to match classpaths
1654         version.
1655         * java/net/URLStreamHandler.java:
1656         (equals): Renamed "handler" to "ph".
1657
1658 2003-06-24  Michael Koch  <konqueror@gmx.de>
1659
1660         * javax/swing/event/AncestorEvent.java,
1661         javax/swing/event/HyperlinkEvent.java,
1662         javax/swing/event/InternalFrameEvent.java,
1663         javax/swing/event/ListDataEvent.java,
1664         javax/swing/event/TableModelEvent.java,
1665         javax/swing/event/TreeWillExpandListener.java,
1666         javax/swing/plaf/ComponentUI.java,
1667         javax/swing/plaf/DesktopIconUI.java,
1668         javax/swing/plaf/DesktopPaneUI.java,
1669         javax/swing/plaf/DimensionUIResource.java,
1670         javax/swing/plaf/FileChooserUI.java,
1671         javax/swing/plaf/FontUIResource.java,
1672         javax/swing/plaf/IconUIResource.java,
1673         javax/swing/plaf/InputMapUIResource.java,
1674         javax/swing/plaf/InsetsUIResource.java,
1675         javax/swing/plaf/InternalFrameUI.java,
1676         javax/swing/plaf/LabelUI.java,
1677         javax/swing/plaf/ListUI.java,
1678         javax/swing/plaf/MenuBarUI.java,
1679         javax/swing/plaf/MenuItemUI.java,
1680         javax/swing/plaf/OptionPaneUI.java,
1681         javax/swing/plaf/PanelUI.java,
1682         javax/swing/plaf/ProgressBarUI.java,
1683         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1684         javax/swing/plaf/doc-files/ComponentUI-1.png:
1685         New versions from classpath.
1686
1687 2003-06-24  Michael Koch  <konqueror@gmx.de>
1688
1689         * java/nio/Buffer.java
1690         (cap): Made package-private.
1691         (pos): Likewise.
1692         (limit): Likewise.
1693         (mark): Likewise.
1694
1695 2003-06-24  Michael Koch  <konqueror@gmx.de>
1696
1697         * java/net/SocketImpl.java
1698         (shutdownInput): Made it non-abstract method throwing an exception
1699         like in SUNs JRE.
1700         (shutdownOutput): Likewise.
1701         * java/net/SocketInputStream.java,
1702         java/net/SocketOutputStream.java:
1703         New files from classpath.
1704
1705 2003-06-24  Michael Koch  <konqueror@gmx.de>
1706
1707         * java/awt/Font.java,
1708         java/awt/Window.java,
1709         java/awt/color/ColorSpace.java,
1710         java/awt/datatransfer/StringSelection.java,
1711         java/awt/image/ColorModel.java:
1712         New versions from classpath.
1713
1714 2003-06-24  Michael Koch  <konqueror@gmx.de>
1715
1716         * Makefile.am
1717         (awt_java_source_files): Added new files:
1718         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1719         javax/swing/plaf/basic/BasicSplitPaneUI.java
1720         * Makefile.in: Regenerated.
1721
1722 2003-06-24  Michael Koch  <konqueror@gmx.de>
1723
1724         * javax/swing/text/JTextComponent.java:
1725         New version from classpath.
1726
1727 2003-06-24  Michael Koch  <konqueror@gmx.de>
1728
1729         * javax/swing/Timer.java,
1730         javax/swing/plaf/ActionMapUIResource.java,
1731         javax/swing/plaf/ButtonUI.java,
1732         javax/swing/plaf/ColorChooserUI.java,
1733         javax/swing/plaf/ColorUIResource.java,
1734         javax/swing/plaf/ComboBoxUI.java,
1735         javax/swing/plaf/ComponentInputMapUIResource.java,
1736         javax/swing/plaf/basic/BasicBorders.java:
1737         New versions from classpath.
1738         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1739         javax/swing/plaf/basic/BasicSplitPaneUI.java:
1740         New file from classpath.
1741         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1742         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1743         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1744         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1745         javax/swing/plaf/doc-files/ComponentUI-1.png:
1746         New binary files from classpath.
1747
1748 2003-06-24  Michael Koch  <konqueror@gmx.de>
1749
1750         * java/io/LineNumberReader.java
1751         (skip): Dont do line number accounting here as this is already done in
1752         read(), simplified.
1753
1754 2003-06-21  Michael Koch  <konqueror@gmx.de>
1755
1756         * java/io/File.java
1757         (static): Load javaio lib if existing (only in classpath).
1758         (File): Revised documentation to show the correct argument name.
1759         (createTempFile): Partly merged with classpath.
1760         (compareTo): Simplified.
1761         (lastModified): Throw exception if time < 0.
1762         (deleteOnExit): Revised documentation.
1763
1764 2003-06-21  Michael Koch  <konqueror@gmx.de>
1765
1766         * java/net/PlainSocketImpl.java:
1767         Reformatted.
1768         (PlainSocketImpl): Merged class documentaion with classpath.
1769         (in): Moved.
1770         (out): Moved.
1771         (PlainSocketImpl): New empty constructor.
1772         (finalize): Moved.
1773         (setOption): Merged documentation from classpath.
1774         (getOption): Likewise.
1775         (create): Likewise.
1776         (connect): Likewise.
1777         (bind): Likewise.
1778         (listen): Likewise.
1779         (accept): Likewise.
1780         (available): Likewise.
1781         (close): Likewise.
1782         (read): Likewise.
1783         (write): Likewise.
1784         (getInputStream): Made synchronozed to get sure that only one stream
1785         object can be created for this socket, merged documentation from
1786         classpath.
1787         (getOutputStream): Likewise.
1788
1789 2003-06-21  Michael Koch  <konqueror@gmx.de>
1790
1791         * java/net/PlainSocketImpl.java:
1792         Reformatting.
1793         (static): New implicit method.
1794         (read): Made package private.
1795         (write): Likewise.
1796
1797 2003-06-21  Michael Koch  <konqueror@gmx.de>
1798
1799         * java/util/SimpleTimeZone.java:
1800         Removed unneeded import, reformatting.
1801
1802 2003-06-21  Michael Koch  <konqueror@gmx.de>
1803
1804         * java/text/DateFormat.java,
1805         java/text/SimpleDateFormat.java,
1806         java/util/Locale.java:
1807         New versions from classpath.
1808
1809 2003-06-21  Michael Koch  <konqueror@gmx.de>
1810
1811         * javax/swing/SpinnerModel.java:
1812         New file from classpath.
1813         * javax/swing/border/LineBorder.java,
1814         javax/swing/border/SoftBevelBorder.java,
1815         javax/swing/plaf/BorderUIResource.java,
1816         javax/swing/plaf/basic/BasicBorders.java:
1817         New versions from classpath.
1818         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1819         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1820         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1821         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1822         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1823         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1824         New binary files from classpath.
1825
1826 2003-06-21  Michael Koch  <konqueror@gmx.de>
1827
1828         * java/util/logging/LogRecord.java,
1829         java/util/logging/Logger.java,
1830         java/util/logging/SocketHandler.java,
1831         java/util/logging/SimpleFormatter.java,
1832         java/util/logging/Formatter.java,
1833         java/util/logging/ErrorManager.java,
1834         java/util/logging/Handler.java,
1835         java/util/logging/FileHandler.java,
1836         java/util/logging/LogManager.java,
1837         java/util/logging/Level.java,
1838         java/util/logging/ConsoleHandler.java,
1839         java/util/logging/StreamHandler.java,
1840         java/util/logging/LoggingPermission.java,
1841         java/util/logging/Filter.java,
1842         java/util/logging/MemoryHandler.java,
1843         java/util/logging/XMLFormatter.java:
1844         New files from classpath.
1845
1846 2003-06-20  Michael Koch  <konqueror@gmx.de>
1847
1848         * java/io/ObjectStreamField.java
1849         (unshared): new member variable.
1850         (ObjectStreamField): New constructor.
1851         (isUnshared): New method.
1852
1853 2003-06-20  Michael Koch  <konqueror@gmx.de>
1854
1855         * java/net/URLStreamHandler.java
1856         (hostsEqual): Rewritten.
1857
1858 2003-06-20  Michael Koch  <konqueror@gmx.de>
1859
1860         * gnu/java/nio/MappedByteFileBuffer.java,
1861         gnu/java/nio/natMappedByteFileBuffer.cc:
1862         Removed
1863         * java/nio/MappedByteBufferImpl.java:
1864         New file.
1865         * gnu/java/nio/FileChannelImpl.java:
1866         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1867         * Makefile.am
1868         (ordinary_java_source_files): Removed
1869         gnu/java/nio/MappedByteFileBuffer.java and added
1870         java/nio/MappedByteBufferImpl.java.
1871         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1872         * Makefile.in: Regenerated.
1873
1874 2003-06-19  Michael Koch  <konqueror@gmx.de>
1875
1876         * gnu/java/nio/DatagramChannelImpl.java
1877         (fd): Removed.
1878         (blocking): New member variable.
1879         (socket): Likewise.
1880         (DatagramChannelImpl): Throws IOException, initialize socket.
1881         (socket):Implemented.
1882         (implCloseSelectableChannel): Throws IOException, implemented.
1883         (implConfigureBlocking): Likewise.
1884         (connect): Likewise.
1885         (disconnect): Likewise.
1886         (isConnected): Likewise.
1887         (write): Likewise.
1888         (read): Likewise.
1889         (receive): Throws IOException.
1890         (send): Likewise.
1891         * gnu/java/nio/SocketChannelImpl.java
1892         (read): Implemented.
1893         (write): Implemented.
1894
1895 2003-06-19  Michael Koch  <konqueror@gmx.de>
1896
1897         * javax/swing/JComponent.java,
1898         javax/swing/JInternalFrame.java,
1899         javax/swing/MenuSelectionManager.java,
1900         javax/swing/SwingUtilities.java,
1901         javax/swing/ToggleButtonModel.java:
1902         New versions from classpath.
1903
1904 2003-06-19  Michael Koch  <konqueror@gmx.de>
1905
1906         * java/text/CollationElementIterator.java
1907         (NULLORDER): Initialize with -1 as JDK documentation says.
1908
1909 2003-06-19  Michael Koch  <konqueror@gmx.de>
1910
1911         * java/net/HttpURLConnection.java,
1912         java/net/Inet4Address.java,
1913         java/net/Inet6Address.java,
1914         java/net/SocketImpl.java,
1915         java/net/URLClassLoader.java:
1916         Reworked import statements.
1917         * java/net/InetAddress.java
1918         (getByAddress): Simplified.
1919         * java/net/ServerSocket.java
1920         (ServerSocket): Moved special handling during bind operation to
1921         bind().
1922         (bind): Handle different cases when trying to bind a socket.
1923         * java/net/URLConnection.java
1924         (getHeaderFieldDate): Merged with classpath.
1925         (getHeaderFieldInt): Likewise.
1926
1927 2003-06-19  Michael Koch  <konqueror@gmx.de>
1928
1929         * java/util/zip/InflaterInputStream.java
1930         (InflaterInputStream): Throw NullPointerException if in is null (as
1931         JDK does).
1932
1933 2003-06-19  Michael Koch  <konqueror@gmx.de>
1934
1935         * java/awt/Font.java
1936         javax/swing/UIManager.java
1937         javax/swing/border/AbstractBorder.java
1938         javax/swing/border/BevelBorder.java
1939         javax/swing/border/Border.java
1940         javax/swing/border/CompoundBorder.java
1941         javax/swing/border/EmptyBorder.java
1942         javax/swing/border/EtchedBorder.java
1943         javax/swing/border/LineBorder.java
1944         javax/swing/border/MatteBorder.java
1945         javax/swing/border/TitledBorder.java
1946         javax/swing/plaf/BorderUIResource.java
1947         javax/swing/plaf/basic/BasicBorders.java
1948         javax/swing/plaf/basic/BasicButtonUI.java
1949         javax/swing/plaf/basic/BasicCheckBoxUI.java
1950         javax/swing/plaf/basic/BasicGraphicsUtils.java
1951         javax/swing/plaf/basic/BasicLabelUI.java
1952         javax/swing/plaf/basic/BasicRadioButtonUI.java
1953         javax/swing/plaf/basic/BasicToggleButtonUI.java:
1954         New versions from classpath.
1955         * javax/swing/border/SoftBevelBorder.java:
1956         New file from classpath.
1957         * javax/swing/border/doc-files/LineBorder-1.png,
1958         javax/swing/border/doc-files/BevelBorder-1.png,
1959         javax/swing/border/doc-files/BevelBorder-2.png,
1960         javax/swing/border/doc-files/BevelBorder-3.png,
1961         javax/swing/border/doc-files/EmptyBorder-1.png,
1962         javax/swing/border/doc-files/EtchedBorder-1.png,
1963         javax/swing/border/doc-files/EtchedBorder-2.png,
1964         javax/swing/border/doc-files/MatteBorder-1.png,
1965         javax/swing/border/doc-files/MatteBorder-2.png,
1966         javax/swing/border/doc-files/MatteBorder-3.png,
1967         javax/swing/border/doc-files/MatteBorder-4.png,
1968         javax/swing/border/doc-files/MatteBorder-5.png,
1969         javax/swing/border/doc-files/MatteBorder-6.png,
1970         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1971         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1972         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1973         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1974         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1975         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1976         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1977         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1978         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1979         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1980         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1981         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1982         New binary files from classpath.
1983         * Makefile.am
1984         (awt_java_source_files): Added
1985         javax/swing/border/SoftBevelBorder.java.
1986         * Makefile.in: Regenerated.
1987
1988 2003-06-19  Michael Koch  <konqueror@gmx.de>
1989
1990         * gnu/java/security/x509/X509Certificate.java
1991         (writeReplace): Merged from classpath.
1992
1993 2003-06-19  Michael Koch  <konqueror@gmx.de>
1994
1995         * gnu/java/nio/FileChannelImpl.java
1996         (map_address): Made public.
1997         (FileChannelImpl): Merged with classpath.
1998         * gnu/java/nio/natFileChannelImpl.cc
1999         (nio_mmap_file): Commented out unused arguments.
2000         (nio_unmmap_file): Likewise.
2001         (niu_msync): Likewise.
2002
2003 2003-06-19  Michael Koch  <konqueror@gmx.de>
2004
2005         * java/awt/image/IndexColorModel.java:
2006         New version from classpath.
2007
2008 2003-06-18  Tom Tromey  <tromey@redhat.com>
2009
2010         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
2011         on arrays.
2012         (isLoopbackAddress): Likewise.
2013         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
2014         on arrays.
2015
2016 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
2017
2018         * java/lang/natVMSecurityManager.cc (getClassContext):
2019         Use maxlen instead of len for loop bound.
2020
2021 2003-06-18  Michael Koch  <konqueror@gmx.de>
2022
2023         * gnu/java/nio/SelectorImpl.java
2024         (register): Use fd with value 0 for now, will be fixed later.
2025         * gnu/java/nio/ServerSocketChannelImpl.java
2026         (fd): Removed.
2027         (local_port): Removed.
2028         (InetSocketAddress): Removed.
2029         (ServerSocketChannelImpl): Just initialize internal socket object.
2030         (implCloseSelectableChannel): Close internal socket object.
2031         (implConfigureBlocking): Added comment.
2032         (accept): Use jaba.net stuff to accept socket.
2033         * gnu/java/nio/SocketChannelImpl.java
2034         (fd): Removed.
2035         (local_port): Removed.
2036         (InetSocketAddress): Removed.
2037         (SocketCreate): Removed.
2038         (SocketConnect): Removed.
2039         (SocketBind): Removed.
2040         (SocketListen): Removed.
2041         (SocketAvailable): Removed.
2042         (SocketClose): Removed.
2043         (SocketRead): Removed.
2044         (SocketWrite): Removed.
2045         (SocketChannelImpl): Just initialize internal socket object.
2046         (implCloseSelectableChannel): Close internal socket object.
2047         (implConfigureBlocking): Fixed implementation, added comment.
2048         (connect): Use internal socket object to connect.
2049         (socket): No need for sanity checks.
2050         (read): Comment out some stuff, this will be reimplemented in the next
2051         commit.
2052         (write): Likewise.
2053         * gnu/java/nio/natFileChannelImpl.cc
2054         (nio_mmap_file): Line wrapped.
2055         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2056         * Makefile.am
2057         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2058         * Makefile.in: Regenerated.
2059
2060 2003-06-18  Michael Koch  <konqueror@gmx.de>
2061
2062         * java/util/Locale.java
2063         (equals): Merged from classpath.
2064
2065 2003-06-18  Michael Koch  <konqueror@gmx.de>
2066
2067         * java/net/InetAddress.java:
2068         Reformatted to better match classpath's version.
2069         * java/net/URL.java
2070         (equals): Simplified.
2071         * java/net/URLConnection.java
2072         (setDoInput): Revised documentation.
2073         (getDefaultUseCaches): Likewise.
2074         (setRequestProperty): Added @since tag.
2075
2076 2003-06-17  Michael Koch  <konqueror@gmx.de>
2077
2078         * java/net/InetSocketAddress.java
2079         (InetSocketAddress): Use wildcard address if addr is null.
2080         (InetSocketAddress): Dont duplicate implementation.
2081         (InetSocketAddress): Throw exception when hostname is null.
2082         * java/net/Socket.java:
2083         Reworked imports.
2084         (Socket): Throw exception when raddr is null, handle case when laddr
2085         is null.
2086
2087 2003-06-17  Michael Koch  <konqueror@gmx.de>
2088
2089         * java/nio/DirectByteBufferImpl.java
2090         (address): Made package private.
2091         (DirectByteBufferImpl): New constructor.
2092         * java/nio/natDirectByteBufferImpl.cc
2093         (allocateImpl): Moved to java.nio namespace, implemented.
2094         (freeImpl): Likewise.
2095         (getImpl): Likewise.
2096         (putImpl): Likewise.
2097         * jni.cc
2098         (_Jv_JNI_NewDirectByteBuffer): Implemented.
2099         (_Jv_JNI_GetDirectBufferAddress): Implemented.
2100         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2101
2102 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2103
2104         * include/powerpc-signal.h: New File.
2105         * configure.in: Use it.
2106         * configure: Regenerated.
2107
2108 2003-06-17  Michael Koch  <konqueror@gmx.de>
2109
2110         * java/util/Locale.java
2111         (getDisplayLanguage): Made it final.
2112         (getDisplayCountry): Likewise.
2113         (getDisplayVariant): Likewise.
2114         (getDisplayName): Likewise.
2115
2116 2003-06-17  Michael Koch  <konqueror@gmx.de>
2117
2118         * java/util/PropertyResourceBundle.java:
2119         Removed unneeded import.
2120
2121 2003-06-17  Michael Koch  <konqueror@gmx.de>
2122
2123         * java/util/prefs/AbstractPreferences.java,
2124         java/util/prefs/PreferencesFactory.java:
2125         Reworked imports, removed unused imports.
2126         * java/util/prefs/Preferences.java
2127         (systemNodeForPackage): Method takes a Class not an Object.
2128         (userNodeForPackage): Likewise.
2129         (nodeForPackage): Likewise.
2130
2131 2003-06-17  Michael Koch  <konqueror@gmx.de>
2132
2133         * gnu/java/security/x509/X509Certificate.java:
2134         Explicitely import used classes.
2135
2136 2003-06-17  Michael Koch  <konqueror@gmx.de>
2137
2138         * java/util/zip/ZipEntry.java,
2139         java/util/zip/ZipFile.java,
2140         java/util/zip/ZipInputStream.java,
2141         java/util/zip/ZipOutputStream.java:
2142         Reworked imports, only import used classes.
2143
2144 2003-06-17  Michael Koch  <konqueror@gmx.de>
2145
2146         * gnu/java/lang/ArrayHelper.java,
2147         gnu/java/lang/ClassHelper.java:
2148         Reformatted to match classpath's versions.
2149
2150 2003-06-14  Michael Koch  <konqueror@gmx.de>
2151
2152         * gnu/java/nio/FileChannelImpl.java
2153         (map_address): Removed incorrect comment.        
2154         * gnu/java/nio/SelectorImpl.java
2155         (register): Remove code duplication and code for file channel handling.        
2156         * gnu/java/nio/ServerSocketChannelImpl.java
2157         (serverSocket): Renamed from sock_object.
2158         (ServerSocketChannel): Initialize serverSocket.
2159         (socket): Return serverSocket.
2160         * gnu/java/nio/SocketChannelImpl.java
2161         (socket): Renamed from sock_object.
2162         (isConnectionPenging): Simplified.
2163         (socket): Return socket.
2164 2003-06-14  Michael Koch  <konqueror@gmx.de>
2165
2166         * java/security/BasicPermission.java:
2167         New version from classpath.
2168
2169 2003-06-14  Michael Koch  <konqueror@gmx.de>
2170
2171         * javax/naming/directory/Attribute.java:
2172         New version from classpath.
2173
2174 2003-06-14  Michael Koch  <konqueror@gmx.de>
2175
2176         * java/io/BufferedReader.java,
2177         java/io/FileOutputStream.java:
2178         New versions from classpath.
2179
2180 2003-06-12  Andrew Haley  <aph@redhat.com>
2181
2182         * prims.cc (catch_segv): Create exception in handler.
2183         (catch_fpe): Likewise.  
2184         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2185         (_Jv_ThrowSignal): Remove.
2186
2187         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2188         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2189         to nullp and arithexception.
2190         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2191         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2192         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2193         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2194         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2195
2196 2003-06-11  Andrew Haley  <aph@redhat.com>
2197
2198         * jni.cc (_Jv_JNI_check_types): New.
2199         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2200         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2201         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2202         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2203         
2204         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2205         infinite loop.
2206
2207 2003-06-11  Tom Tromey  <tromey@redhat.com>
2208
2209         * java/lang/ClassLoader.java (loadClass): Not deprecated.
2210         * java/io/PrintStream.java: Not deprecated.
2211
2212 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
2213
2214         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2215         (fillOval): implemented
2216         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2217         (fillArc): implemented.
2218         * gnu/gcj/xlib/GC.java (drawArc): added native method.
2219         (fillArc): added native method.
2220         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2221         (fillArc): added native method.
2222
2223 2003-06-11  Michael Koch  <konqueror@gmx.de>
2224
2225         * java/awt/im/InputSubset.java:
2226         New version from classpath.
2227
2228 2003-06-11  Michael Koch  <konqueror@gmx.de>
2229
2230         * javax/swing/AbstractAction.java,
2231         javax/swing/AbstractButton.java,
2232         javax/swing/AbstractCellEditor.java,
2233         javax/swing/AbstractListModel.java,
2234         javax/swing/BorderFactory.java,
2235         javax/swing/Box.java,
2236         javax/swing/BoxLayout.java,
2237         javax/swing/ButtonGroup.java,
2238         javax/swing/DefaultButtonModel.java,
2239         javax/swing/DefaultListModel.java,
2240         javax/swing/DefaultListSelectionModel.java,
2241         javax/swing/FocusManager.java,
2242         javax/swing/ImageIcon.java,
2243         javax/swing/InputMap.java,
2244         javax/swing/JApplet.java,
2245         javax/swing/JButton.java,
2246         javax/swing/JCheckBox.java,
2247         javax/swing/JCheckBoxMenuItem.java,
2248         javax/swing/JColorChooser.java,
2249         javax/swing/JComboBox.java,
2250         javax/swing/JComponent.java,
2251         javax/swing/JDesktopPane.java,
2252         javax/swing/JDialog.java,
2253         javax/swing/JEditorPane.java,
2254         javax/swing/JFileChooser.java,
2255         javax/swing/JFormattedTextField.java,
2256         javax/swing/JFrame.java,
2257         javax/swing/JLabel.java,
2258         javax/swing/JLayeredPane.java,
2259         javax/swing/JList.java,
2260         javax/swing/JMenuBar.java,
2261         javax/swing/JMenuItem.java,
2262         javax/swing/JOptionPane.java,
2263         javax/swing/JPanel.java,
2264         javax/swing/JPasswordField.java,
2265         javax/swing/JPopupMenu.java,
2266         javax/swing/JProgressBar.java,
2267         javax/swing/JRadioButton.java,
2268         javax/swing/JRadioButtonMenuItem.java,
2269         javax/swing/JRootPane.java,
2270         javax/swing/JScrollBar.java,
2271         javax/swing/JScrollPane.java,
2272         javax/swing/JSeparator.java,
2273         javax/swing/JSlider.java,
2274         javax/swing/JTabbedPane.java,
2275         javax/swing/JTable.java,
2276         javax/swing/JTextField.java,
2277         javax/swing/JToggleButton.java,
2278         javax/swing/JToolBar.java,
2279         javax/swing/JToolTip.java,
2280         javax/swing/JTree.java,
2281         javax/swing/JViewport.java,
2282         javax/swing/JWindow.java,
2283         javax/swing/KeyStroke.java,
2284         javax/swing/ListSelectionModel.java,
2285         javax/swing/LookAndFeel.java,
2286         javax/swing/RepaintManager.java,
2287         javax/swing/ScrollPaneLayout.java,
2288         javax/swing/SizeRequirements.java,
2289         javax/swing/SwingConstants.java,
2290         javax/swing/Timer.java,
2291         javax/swing/UIDefaults.java,
2292         javax/swing/UIManager.java,
2293         javax/swing/border/AbstractBorder.java,
2294         javax/swing/border/CompoundBorder.java,
2295         javax/swing/colorchooser/AbstractColorChooserPanel.java,
2296         javax/swing/colorchooser/ColorChooserComponentFactory.java,
2297         javax/swing/colorchooser/ColorSelectionModel.java,
2298         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2299         javax/swing/event/AncestorEvent.java,
2300         javax/swing/event/HyperlinkEvent.java,
2301         javax/swing/event/InternalFrameAdapter.java,
2302         javax/swing/event/InternalFrameEvent.java,
2303         javax/swing/event/ListDataEvent.java,
2304         javax/swing/event/MouseInputAdapter.java,
2305         javax/swing/event/SwingPropertyChangeSupport.java,
2306         javax/swing/event/TableModelEvent.java,
2307         javax/swing/event/TreeWillExpandListener.java,
2308         javax/swing/event/UndoableEditEvent.java,
2309         javax/swing/filechooser/FileFilter.java,
2310         javax/swing/filechooser/FileSystemView.java,
2311         javax/swing/filechooser/FileView.java,
2312         javax/swing/plaf/BorderUIResource.java,
2313         javax/swing/plaf/basic/BasicDefaults.java,
2314         javax/swing/table/AbstractTableModel.java,
2315         javax/swing/table/DefaultTableCellRenderer.java,
2316         javax/swing/table/DefaultTableColumnModel.java,
2317         javax/swing/table/DefaultTableModel.java,
2318         javax/swing/table/TableColumn.java,
2319         javax/swing/text/JTextComponent.java,
2320         javax/swing/tree/AbstractLayoutCache.java,
2321         javax/swing/tree/DefaultMutableTreeNode.java,
2322         javax/swing/tree/DefaultTreeCellEditor.java,
2323         javax/swing/tree/DefaultTreeCellRenderer.java,
2324         javax/swing/tree/DefaultTreeModel.java,
2325         javax/swing/tree/DefaultTreeSelectionModel.java,
2326         javax/swing/tree/FixedHeightLayoutCache.java,
2327         javax/swing/tree/TreeCellEditor.java,
2328         javax/swing/tree/TreeModel.java,
2329         javax/swing/tree/TreeNode.java,
2330         javax/swing/tree/TreePath.java,
2331         javax/swing/tree/TreeSelectionModel.java,
2332         javax/swing/tree/VariableHeightLayoutCache.java,
2333         javax/swing/undo/AbstractUndoableEdit.java,
2334         javax/swing/undo/CompoundEdit.java,
2335         javax/swing/undo/StateEdit.java,
2336         javax/swing/undo/UndoManager.java,
2337         javax/swing/undo/UndoableEditSupport.java:
2338         New versions from classpath.
2339         * javax/swing/table/JTableHeader.java:
2340         New file from classpath.
2341         * Makefile.am
2342         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2343         * Makefile.in: Regenerated.
2344
2345 2003-06-11  Michael Koch  <konqueror@gmx.de>
2346
2347         * java/nio/MappedByteBuffer.java,
2348         java/nio/channels/Channels.java,
2349         java/nio/channels/ServerSocketChannel.java,
2350         java/nio/channels/spi/AbstractSelector.java:
2351         Removed unneeded imports.
2352
2353 2003-06-11  Michael Koch  <konqueror@gmx.de>
2354
2355         * java/net/DatagramSocket.java:
2356         Partly merged with classpath.
2357
2358 2003-06-11  Michael Koch  <konqueror@gmx.de>
2359
2360         * java/awt/Frame.java,
2361         java/awt/Graphics.java,
2362         java/awt/Menu.java,
2363         java/awt/Robot.java,
2364         java/awt/image/ColorModel.java:
2365         New versions from classpath.
2366
2367 2003-06-10  Michael Koch  <konqueror@gmx.de>
2368
2369         * java/io/PrintStream.java:
2370         Merged version from classpath.
2371         (close): Removed sychronized keyword. This class is not garantied to
2372         be thread-safe.
2373         (write): Likewise.
2374
2375 2003-06-09  Tom Tromey  <tromey@redhat.com>
2376
2377         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2378         field.
2379         (getDescent): Likewise, for "descent".
2380
2381 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
2382
2383         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2384         (getMaxDescent): adjusted return value.
2385         (getAscent): modified to use metrics for 'O'.
2386         (getDescent): modified to use metrics for 'y'.
2387
2388 2003-06-08  Anthony Green  <green@redhat.com>
2389
2390         * java/net/URLStreamHandler.java (sameFile): Fix port value
2391         comparison.
2392         * java/net/URL.java (handler): Make package private.
2393         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2394
2395 2003-06-07  Tom Tromey  <tromey@redhat.com>
2396
2397         For PR libgcj/11085:
2398         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2399         Limit number of characters in numeric field when required.
2400         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2401         Respect maximumIntegerDigits.
2402
2403 2003-06-08  Michael Koch  <konqueror@gmx.de>
2404
2405         * java/net/Socket.java
2406         (Socket): Dont initialize inputShutdown and outputShutdown twice,
2407         call bind() and connect() to actually do the bind and connect tasks.
2408         (bind): Connect to canonical address if bindpoint is null, create
2409         socket and bind it to bindpoint.
2410         (connect): Check for exceptions.
2411
2412 2003-06-08  Michael Koch  <konqueror@gmx.de>
2413
2414         * java/net/DatagramSocket.java
2415         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2416         into the Multicast constructors.
2417         * java/net/DatagramSocketImpl.java
2418         (getOption): Removed.
2419         (setOption): Removed.
2420         * java/net/MulticastSocket.java
2421         (MulticastSocket): Call setReuseAddress (true).
2422         * java/net/SocketImpl.java
2423         (getOption): Removed.
2424         (setOption): Removed.
2425
2426 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
2427
2428         PR libgcj/10886:
2429         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2430         Test for empty vector.
2431
2432 2003-06-06  Mark Wielaard  <mark@klomp.org>
2433
2434         * java/security/Security.java (secprops): Initialize.
2435         (loadProviders): Return boolean.
2436         (static): Check result of loadProvider calls. If necessary
2437         display WARNING and fallback to Gnu provider.
2438
2439 2002-06-06  James Clark  <jjc@jclark.com>
2440
2441         Fix for PR libgcj/8738:
2442         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2443         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2444         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2445         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2446         (write): Always decrease avail when count is increased.
2447         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2448         and whether output buffer is full before increasing size.
2449
2450 2002-06-06  Mark Wielaard  <mark@klomp dot org>
2451
2452         * java/io/PrintStream.java (writeChars(char[],int, int)):
2453         Check converter.havePendingBytes().
2454         (writeChars(String,int,int)): Likewise.
2455         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2456         Check converter.havePendingBytes() and flush buffer when stalled.
2457
2458 2003-06-07  Michael Koch  <konqueror@gmx.de>
2459
2460         * include/posix.h
2461         (O_DSYNC): Define O_DSYNC on platforms not
2462         supporting O_FSYNC (newlib).
2463
2464 2003-06-06  Mark Wielaard  <mark@klomp.org>
2465
2466         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2467         AWTError.
2468
2469 2003-06-06  Michael Koch  <konqueror@gmx.de>
2470
2471         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2472         More compile fixes from my stupid work yesterday.
2473
2474 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2475
2476         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2477         if _IEEE_LIBM is undefined.
2478
2479 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
2480
2481         * libjava/include/posix.h (O_SYNC): Define if not available
2482         and a reasonable, perhaps more conservative, replacement exists.
2483         (O_DSYNC): Likewise.
2484         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2485
2486 2003-06-05  Michael Koch  <konqueror@gmx.de>
2487
2488         * javax/swing/plaf/BorderUIResource.java,
2489         javax/swing/plaf/basic/BasicDefaults.java,
2490         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2491         More compile fixes for latest Border commit. I should not commit
2492         something in this heat here ...
2493
2494 2003-06-05  Michael Koch  <konqueror@gmx.de>
2495
2496         * javax/swing/border/BevelBorder.java
2497         (BevelBorder): Removed.
2498         * javax/swing/border/EmptyBorder.java:
2499         Reformatted.
2500         (EmptyBorder): Removed.
2501         (getBorderInsets): Dont use l, r, t and b.
2502         * javax/swing/border/EtchedBorder.java
2503         (EtchedBorder): Removed.
2504         * javax/swing/border/LineBorder.java
2505         (LineBorder): Removed.
2506         * javax/swing/border/MatteBorder.java
2507         (MatteBorder): Removed.
2508         * javax/swing/border/TitledBorder.java
2509         (defaultBorder): Use other default for now.
2510         (defaultFont): Likewise.
2511         (defaultColor): Likewise.
2512
2513 2003-06-05  Michael Koch  <konqueror@gmx.de>
2514
2515         * javax/swing/border/Border.java:
2516         New version from classpath.
2517
2518 2003-06-05  Michael Koch  <konqueror@gmx.de>
2519
2520         * javax/swing/border/AbstractBorder.java,
2521         javax/swing/border/BevelBorder.java,
2522         javax/swing/border/CompoundBorder.java,
2523         javax/swing/border/EmptyBorder.java,
2524         javax/swing/border/EtchedBorder.java,
2525         javax/swing/border/LineBorder.java,
2526         javax/swing/border/MatteBorder.java,
2527         javax/swing/border/TitledBorder.java:
2528         New versions from Classpath.
2529
2530 2003-06-05  Michael Koch  <konqueror@gmx.de>
2531
2532         * java/awt/Button.java,
2533         java/awt/Checkbox.java,
2534         java/awt/CheckboxMenuItem.java,
2535         java/awt/Choice.java,
2536         java/awt/Container.java,
2537         java/awt/Dialog.java,
2538         java/awt/EventQueue.java,
2539         java/awt/FileDialog.java,
2540         java/awt/Frame.java,
2541         java/awt/Label.java,
2542         java/awt/List.java,
2543         java/awt/Menu.java,
2544         java/awt/MenuItem.java,
2545         java/awt/Panel.java,
2546         java/awt/PopupMenu.java,
2547         java/awt/Rectangle.java,
2548         java/awt/ScrollPane.java,
2549         java/awt/Scrollbar.java,
2550         java/awt/TextArea.java,
2551         java/awt/TextField.java,
2552         java/awt/Window.java,
2553         java/awt/datatransfer/DataFlavor.java,
2554         java/awt/dnd/DragSource.java,
2555         java/awt/dnd/DragSourceContext.java,
2556         java/awt/event/HierarchyEvent.java,
2557         java/awt/event/MouseWheelEvent.java,
2558         java/awt/im/InputContext.java,
2559         java/awt/image/BufferedImage.java,
2560         java/awt/image/ComponentColorModel.java,
2561         java/awt/image/Raster.java,
2562         java/awt/image/WritableRaster.java,
2563         java/awt/peer/ComponentPeer.java,
2564         java/awt/print/PageFormat.java,
2565         java/awt/print/PrinterJob.java:
2566         New versions from Classpath.
2567
2568 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
2569
2570         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2571         numberFormat.setParseIntegerOnly(true).
2572
2573 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
2574
2575         * include/posix-threads.h: Include <machine/pal.h> on OSF.
2576
2577 2003-06-03  Andrew Haley  <aph@redhat.com>
2578
2579         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2580         stack volatile to prevent optimization from removing it.
2581
2582 2003-05-27  Michael Koch  <konqueror@gmx.de>
2583
2584         * java/util/zip/Deflater.java
2585         (FILTERED): Merged documentation from classpath.
2586         * java/util/zip/DeflaterOutputStream.java
2587         (DeflaterOutputStream): Merged documentation and argument validity
2588         check from classpath.
2589         (deflate): Merged documentation from classpath.
2590         (finish): Likewise.
2591         * java/util/zip/Inflater.java
2592         (Inflater): Merged class documentation from classpath.
2593         (zstream): Reordered.
2594         (is_finished): Reordered.
2595         (dict_needed): Reordered.
2596         (Inflater): Reordered, merged documentation from classpath.
2597         (end): Likewise.
2598         (finalize): Merged documentation from classpath.
2599         (finished): Likewise.
2600         (getAdler): Likewise.
2601         (getRemaining): Likewise.
2602         (getTotalIn): Likewise.
2603         (getTotalOut): Likewise.
2604         (inflate): Likewise.
2605         (needsDictionary): Likewise.
2606         (needsInput): Likewise.
2607         (reset): Likewise.
2608         (setDictionary): Likewise.
2609         (setInput): Likewise.
2610
2611 2003-05-27  Michael Koch  <konqueror@gmx.de>
2612
2613         * java/net/URLConnection.java
2614         (getHeaderFieldInt): Merged with classpath.
2615
2616 2003-05-27  Michael Koch  <konqueror@gmx.de>
2617
2618         * java/io/PrintStream.java
2619         (PrintStream): Reformatted.
2620         (PrintStream): New method, merged from classpath.
2621         (write): Reformatted.
2622
2623 2003-05-27  Michael Koch  <konqueror@gmx.de>
2624
2625         * java/lang/System.java:
2626         Explicitely import needed classes.
2627
2628 2003-05-26  Michael Koch  <konqueror@gmx.de>
2629
2630         * java/net/NetPermission.java,
2631         java/net/NetworkInterface.java,
2632         java/net/PasswordAuthentication.java,
2633         java/net/SocketPermission.java:
2634         New versions from classpath.
2635
2636 2003-05-25  Michael Koch  <konqueror@gmx.de>
2637
2638         * java/io/PushbackInputStream.java,
2639         java/net/Authenticator.java,
2640         java/net/ContentHandler.java,
2641         java/net/ContentHandlerFactory.java,
2642         java/net/DatagramSocket.java,
2643         java/net/DatagramSocketImpl.java,
2644         java/net/DatagramSocketImplFactory.java,
2645         java/net/FileNameMap.java,
2646         java/net/SocketImplFactory.java,
2647         java/net/SocketOptions.java,
2648         java/net/URLStreamHandlerFactory.java:
2649         Merged new versions from classpath.
2650
2651 2003-05-25  Michael Koch  <konqueror@gmx.de>
2652
2653         * java/awt/Checkbox.java,
2654         java/awt/Dialog.java,
2655         java/awt/Font.java,
2656         java/awt/Frame.java,
2657         java/awt/ScrollPaneAdjustable.java,
2658         java/awt/Scrollbar.java,
2659         java/awt/Window.java:
2660         New versions from classpath.
2661
2662 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
2663
2664         PR libgcj/10838:
2665         * java/io/ObjectInputStream (enableResolveObject):
2666         Fixed spelling of permission name.
2667
2668 2003-05-20  Michael Koch  <konqueror@gmx.de>
2669
2670         * java/io/DataInputStream.java
2671         (convertFromUTF): Merged comment from classpath.
2672         * java/io/PrintStream.java
2673         (error_occured): Renamed from error, merged comment from classpath.
2674         (PrintStream): No need to initialized error.
2675         (checkError): Replace error with error_occurred.
2676         (setError): Likewise.
2677
2678 2003-05-20  Michael Koch  <konqueror@gmx.de>
2679
2680         * java/io/DataInputStream.java:
2681         Reformatted, Replaced < and & with html entitites in documentation.
2682         * java/io/File.java:
2683         Reformatted.
2684         * java/io/PrintWriter.java:
2685         Moved class documentation.
2686
2687 2003-05-20  Michael Koch  <konqueror@gmx.de>
2688
2689         * gnu/java/nio/ByteBufferImpl.java,
2690         gnu/java/nio/CharBufferImpl.java,
2691         gnu/java/nio/CharViewBufferImpl.java,
2692         gnu/java/nio/DirectByteBufferImpl.java,
2693         gnu/java/nio/DoubleBufferImpl.java,
2694         gnu/java/nio/DoubleViewBufferImpl.java,
2695         gnu/java/nio/FloatBufferImpl.java,
2696         gnu/java/nio/FloatViewBufferImpl.java,
2697         gnu/java/nio/IntBufferImpl.java,
2698         gnu/java/nio/IntViewBufferImpl.java,
2699         gnu/java/nio/LongBufferImpl.java,
2700         gnu/java/nio/LongViewBufferImpl.java,
2701         gnu/java/nio/natDirectByteBufferImpl.cc,
2702         gnu/java/nio/ShortBufferImpl.java,
2703         gnu/java/nio/ShortViewBufferImpl.java:
2704         Moved files to java/nio.
2705         * gnu/java/nio/SocketChannelImpl.java
2706         
2707         * java/nio/ByteBuffer.java,
2708         java/nio/CharBuffer.java,
2709         java/nio/DoubleBuffer.java,
2710         java/nio/FloatBuffer.java,
2711         java/nio/IntBuffer.java,
2712         java/nio/LongBuffer.java,
2713         java/nio/ShortBuffer.java:
2714         Dont import anything.
2715         * java/nio/ByteBufferImpl.java,
2716         java/nio/CharBufferImpl.java,
2717         java/nio/CharViewBufferImpl.java,
2718         java/nio/DirectByteBufferImpl.java,
2719         java/nio/DoubleBufferImpl.java,
2720         java/nio/DoubleViewBufferImpl.java,
2721         java/nio/FloatBufferImpl.java,
2722         java/nio/FloatViewBufferImpl.java,
2723         java/nio/IntBufferImpl.java,
2724         java/nio/IntViewBufferImpl.java,
2725         java/nio/LongBufferImpl.java,
2726         java/nio/LongViewBufferImpl.java,
2727         java/nio/natDirectByteBufferImpl.cc,
2728         java/nio/ShortBufferImpl.java,
2729         java/nio/ShortViewBufferImpl.java:
2730         Moved from gnu/java/nio.
2731         * Makefile.am
2732         (ordinary_java_source_files): Moved files from gnu/java/nio to
2733         java/nio.
2734         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2735         to java/nio.
2736         * Makefile.in: Regenerated.
2737
2738 2003-05-19  Michael Koch  <konqueror@gmx.de>
2739
2740         * java/util/Calendar.java
2741         (get): Not final anymore since JDK 1.4
2742         (set): Likewise.
2743
2744 2003-05-19  Michael Koch  <konqueror@gmx.de>
2745
2746         * java/text/CollationKey.java:
2747         Merged copyright and dat from classpath.
2748         * java/text/RuleBasedCollator.java:
2749         Merged class documentation from classpath.
2750
2751 2003-05-19  Michael Koch  <konqueror@gmx.de>
2752
2753         * java/nio/CharBuffer.java
2754         (toString): Compile fix.
2755
2756 2003-05-19  Michael Koch  <konqueror@gmx.de>
2757
2758         * gnu/java/nio/ByteBufferImpl.java
2759         (putLong): Fixed conversion to bytes.
2760         (putDouble): Fixed conversion to bytes.
2761         * gnu/java/nio/DirectByteBufferImpl.java
2762         (putLong): Fixed conversion to bytes.
2763         (putDouble): Fixed conversion to bytes.
2764         * gnu/java/nio/FileLockImpl.java
2765         (isValid): Reformatted.
2766         * java/nio/Buffer.java
2767         (Buffer): Fixed off-by-one bug in handling mark.
2768         * java/nio/ByteBuffer.java:
2769         Added newline.
2770         * java/nio/CharBuffer.java
2771         (toString): Don't use relative get to get string data.
2772
2773 2003-05-16  Michael Koch  <konqueror@gmx.de>
2774
2775         * java/io/natFileDescriptorPosix.cc
2776         (open): Commented out the O_SYNC and O_DSYNC usage until its better
2777         tested.
2778
2779 2003-05-14  Michael Koch  <konqueror@gmx.de>
2780
2781         * gnu/java/nio/FileLockImpl.java
2782         (released): New member variable.
2783         (FileLockImpl): Initialize released.
2784         (releaseImpl): New native method.
2785         (release): Implemented.
2786         * gnu/java/nio/SelectorImpl.java: Reformatted.
2787         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2788         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2789         (accept): Throws IOException.
2790         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2791         (implConfigureBlocking): Throws IOException.
2792         (connect): Likewise.
2793         (read): Likewise.
2794         (write): Likewise.
2795         * gnu/java/nio/natFileLockImpl.cc: New file.
2796         * java/nio/channels/FileLock.java: Reformatted.
2797         * Makefile.am:
2798         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2799         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2800         * Makefile.in: Regenerated.
2801
2802 2003-05-13  Michael Koch  <konqueror@gmx.de>
2803
2804         * gnu/java/nio/CharViewBufferImpl.java
2805         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2806         (get): Shift bits to the right direction.
2807         (put): Likewise.
2808         * gnu/java/nio/DoubleViewBufferImpl.java
2809         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2810         (get): Shift bits to the right direction.
2811         (put): Likewise.
2812         * gnu/java/nio/FloatViewBufferImpl.java
2813         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2814         (get): Shift bits to the right direction.
2815         (put): Likewise.
2816         * gnu/java/nio/IntViewBufferImpl.java
2817         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2818         (get): Shift bits to the right direction.
2819         (put): Likewise.
2820         * gnu/java/nio/LongViewBufferImpl.java
2821         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2822         (get): Shift bits to the right direction.
2823         (put): Likewise.
2824         * gnu/java/nio/ShortViewBufferImpl.java
2825         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2826         (get): Shift bits to the right direction.
2827         (put): Likewise.
2828
2829 2003-05-13  Michael Koch  <konqueror@gmx.de>
2830
2831         * gnu/java/nio/natDirectByteBufferImpl.cc
2832         (allocateImpl): jlong -> RawData*.
2833         (freeImpl): Likewise.
2834
2835 2003-05-13  Michael Koch  <konqueror@gmx.de>
2836
2837         * java/nio/channels/FileChannel.java
2838         (MapMode.m): Made it package-private to match JDK 1.4.
2839         * java/nio/charset/Charset.java
2840         (decode): Made it final to match JDK 1.4.
2841
2842 2003-05-13  Michael Koch  <konqueror@gmx.de>
2843
2844        * java/io/FileDescriptor.java
2845        (SYNC): New constant.
2846        (DSYNC): Likewise.
2847        (getLength): Renamed from lenght() to match classpath's
2848        FileDescriptor.java.
2849        * java/io/RandomAccessFile.java
2850        (RandomAccessFile): Removed unneeded mode check, implemented mode
2851        "rws" and "rwd", merged documentation from classpath.
2852        (setLength): Reformatted.
2853        (length): Use new getLength() of FileDescriptor.
2854        * java/io/natFileDescriptorEcos.cc
2855        (getLength): Renamed from length().
2856        * java/io/natFileDescriptorPosix.cc
2857        (open): Implemented support for SYNC and DSYNC.
2858        (seek): Use getLength() instead of length().
2859        (getLength): Renamed from length().
2860        * java/io/natFileDescriptorWin32.cc
2861        (getLength): Renamed from length().
2862        (seek): Use getLength() instead of length().
2863        (available): Likewise.
2864        * gnu/java/nio/natFileChannelImpl.cc
2865        (size): Use getLength() instead of length().
2866
2867 2003-05-13  Michael Koch  <konqueror@gmx.de>
2868
2869         * gnu/java/nio/ByteBufferImpl.java
2870         (ByteBufferImpl): All constructors revised.
2871         (slice): Reimplemented.
2872         (duplicate): Reimplemented.
2873         (asReadOnlyBuffer): Reimplemented.
2874         * java/nio/ByteBuffer.java:
2875         Reformatted.
2876         (array_offset): Renamed from "offset" to match all other buffer
2877         classes.
2878         (ByteBuffer): All constructors revised.
2879         (allocateDirect): Implemented.
2880         (allocate): New implementation, documentation reworked.
2881         (wrap): Likewise.
2882         (get): Documentation reworked.
2883         (put): New implementation, documentation reworked.
2884         (hasArray): Documentation reworked.
2885         (arrayOffset): Likewise.
2886         (hashCode): Likewise.
2887         (equals): Likewise.
2888         (compareTo): Likewise.
2889         (order): Likewise.
2890         (compact): Likewise.
2891         (isDirect): Likewise.
2892         (slice): Likewise.
2893         (duplicate): Likewise.
2894         (asReadOnlyBuffer): Likewise.
2895         * Makefile.am
2896         (ordinary_java_source_files):
2897         Added gnu/java/nio/DirectByteBufferImpl.java.
2898         (nat_source_files):
2899         Added gnu/java/nio/natDirectByteBufferImpl.cc.
2900         * Makefile.in: Regenerated.
2901
2902 2003-05-12  Michael Koch  <konqueror@gmx.de>
2903
2904         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2905         (nio_get_*): Removed.
2906         (nio_put_*): Removed.
2907         (as*Buffer): Implemented.
2908         (compact): Implemented.
2909         (get): Documentation added.
2910         (put): Documentation added.
2911         (get*): Newly implemented.
2912         (put*): Newly implemented.
2913         * gnu/java/nio/CharBufferImpl.java: Reformatted.
2914         (CharBufferImpl): Revised.
2915         (slice): New implementation.
2916         (duplicate): New implementation.
2917         (compact): New implementation.
2918         (asReadOnlyBuffer): New implementation.
2919         (get): Documentation revised.
2920         (order): Return native byte order.
2921         * gnu/java/nio/DirectByteBufferImpl.java
2922         (allocateDirect): objects can be null not 0.
2923         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2924         (DoubleBufferImpl): Revised.
2925         (slice): New implementation.
2926         (duplicate): New implementation.
2927         (compact): New implementation.
2928         (asReadOnlyBuffer): New implementation.
2929         (get): Documentation revised.
2930         (order): Return native byte order.
2931         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2932         (FloatBufferImpl): Revised.
2933         (slice): New implementation.
2934         (duplicate): New implementation.
2935         (compact): New implementation.
2936         (asReadOnlyBuffer): New implementation.
2937         (get): Documentation revised.
2938         (order): Return native byte order.
2939         * gnu/java/nio/IntBufferImpl.java: Reformatted.
2940         (IntBufferImpl): Revised.
2941         (slice): New implementation.
2942         (duplicate): New implementation.
2943         (compact): New implementation.
2944         (asReadOnlyBuffer): New implementation.
2945         (get): Documentation revised.
2946         (order): Return native byte order.
2947         * gnu/java/nio/LongBufferImpl.java: Reformatted.
2948         (LongBufferImpl): Revised.
2949         (slice): New implementation.
2950         (duplicate): New implementation.
2951         (compact): New implementation.
2952         (asReadOnlyBuffer): New implementation.
2953         (get): Documentation revised.
2954         (order): Return native byte order.
2955         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2956         (ShortBufferImpl): Revised.
2957         (slice): New implementation.
2958         (duplicate): New implementation.
2959         (compact): New implementation.
2960         (asReadOnlyBuffer): New implementation.
2961         (get): Documentation revised.
2962         (order): Return native byte order.
2963         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2964         (CharBuffer): Revised.
2965         (order): Removed.
2966         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2967         (DoubleBuffer): Revised.
2968         (allocateDirect): Removed.
2969         (order): Removed.
2970         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2971         (FloatBuffer): Revised.
2972         (allocateDirect): Removed.
2973         (order): Removed.
2974         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2975         (IntBuffer): Revised.
2976         (allocateDirect): Removed.
2977         (order): Removed.
2978         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2979         (LongBuffer): Revised.
2980         (allocateDirect): Removed.
2981         (order): Removed.
2982         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2983         (ShortBuffer): Revised.
2984         (allocateDirect): Removed.
2985         (order): Removed.
2986         * gnu/java/nio/natByteBufferImpl.cc: Removed.
2987         * gnu/java/nio/natCharBufferImpl.cc: Removed.
2988         * Makefile.am
2989         (ordinary_java_source_files): Added the following files:
2990         gnu/java/nio/CharViewBufferImpl.java,
2991         gnu/java/nio/DoubleViewBufferImpl.java,
2992         gnu/java/nio/FloatViewBufferImpl.java,
2993         gnu/java/nio/IntViewBufferImpl.java,
2994         gnu/java/nio/LongViewBufferImpl.java,
2995         gnu/java/nio/ShortViewBufferImpl.java
2996         (nat_source_files): Removed the following files:
2997         gnu/java/nio/natByteBufferImpl.cc,
2998         gnu/java/nio/natCharBufferImpl.cc
2999         * Makefile.in: Regenerated.
3000
3001 2003-05-12  Michael Koch  <konqueror@gmx.de>
3002
3003         * gnu/java/nio/CharViewBufferImpl.java,
3004         gnu/java/nio/DirectByteBufferImpl.java,
3005         gnu/java/nio/DoubleViewBufferImpl.java,
3006         gnu/java/nio/FloatViewBufferImpl.java,
3007         gnu/java/nio/IntViewBufferImpl.java,
3008         gnu/java/nio/LongViewBufferImpl.java,
3009         gnu/java/nio/ShortViewBufferImpl.java,
3010         gnu/java/nio/natDirectByteBufferImpl.cc:
3011         New files, not yet to be compiled.
3012
3013 2003-05-10  Michael Koch  <konqueror@gmx.de>
3014
3015         * javax/swing/plaf/ButtonUI.java,
3016         javax/swing/plaf/ColorUIResource.java,
3017         javax/swing/plaf/ComponentUI.java,
3018         javax/swing/plaf/DimensionUIResource.java,
3019         javax/swing/plaf/FontUIResource.java,
3020         javax/swing/plaf/IconUIResource.java,
3021         javax/swing/plaf/InsetsUIResource.java,
3022         javax/swing/plaf/LabelUI.java,
3023         javax/swing/plaf/ListUI.java,
3024         javax/swing/plaf/OptionPaneUI.java,
3025         javax/swing/plaf/PanelUI.java,
3026         javax/swing/plaf/TabbedPaneUI.java,
3027         javax/swing/plaf/TextUI.java,
3028         javax/swing/plaf/TreeUI.java,
3029         javax/swing/plaf/ViewportUI.java,
3030         javax/swing/plaf/basic/BasicBorders.java,
3031         javax/swing/plaf/basic/BasicButtonUI.java,
3032         javax/swing/plaf/basic/BasicCheckBoxUI.java,
3033         javax/swing/plaf/basic/BasicDefaults.java,
3034         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3035         javax/swing/plaf/basic/BasicIconFactory.java,
3036         javax/swing/plaf/basic/BasicLabelUI.java,
3037         javax/swing/plaf/basic/BasicListUI.java,
3038         javax/swing/plaf/basic/BasicOptionPaneUI.java,
3039         javax/swing/plaf/basic/BasicPanelUI.java,
3040         javax/swing/plaf/basic/BasicRadioButtonUI.java,
3041         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3042         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3043         javax/swing/plaf/basic/BasicTextUI.java,
3044         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3045         javax/swing/plaf/basic/BasicTreeUI.java,
3046         javax/swing/plaf/basic/BasicViewportUI.java,
3047         javax/swing/plaf/metal/MetalLookAndFeel.java:
3048         New versions from classpath. This adds copyrights to all files and
3049         some serialVersionUIDs.
3050
3051 2003-05-10  Michael Koch  <konqueror@gmx.de>
3052
3053         * java/nio/CharBuffer.java
3054         (offset): Make it package-private.
3055         (backing_buffer): Likewise.
3056         * java/nio/DoubleBuffer.java
3057         (offset): Make it package-private.
3058         (backing_buffer): Likewise.
3059         (put): Reformatted.
3060         * java/nio/FloatBuffer.java
3061         (offset): Make it package-private.
3062         (backing_buffer): Likewise.
3063         * java/nio/IntBuffer.java
3064         (offset): Make it package-private.
3065         (backing_buffer): Likewise.
3066         * java/nio/LongBuffer.java
3067         (offset): Make it package-private.
3068         (backing_buffer): Likewise.
3069         * java/nio/ShortBuffer.java
3070         (offset): Make it package-private.
3071         (backing_buffer): Likewise.
3072
3073 2003-05-10  Michael Koch  <konqueror@gmx.de>
3074
3075         * java/nio/CharBuffer.java
3076         (put): Fixed precondtion check.
3077         (toString): Make it work without backing array.
3078         (put): Skip one level of method calling.
3079
3080 2003-05-10  Michael Koch  <konqueror@gmx.de>
3081
3082         * java/security/Identity.java,
3083         java/security/IdentityScope.java,
3084         java/security/Key.java,
3085         java/security/KeyPair.java,
3086         java/security/PrivateKey.java,
3087         java/security/Provider.java,
3088         java/security/PublicKey.java,
3089         java/security/SecureRandom.java,
3090         java/security/SecureRandomSpi.java,
3091         java/security/SignedObject.java,
3092         java/security/Signer.java,
3093         java/security/cert/Certificate.java,
3094         java/security/cert/PKIXCertPathBuilderResult.java,
3095         java/security/cert/X509Certificate.java:
3096         New versions from classpath.
3097
3098 2003-05-09  Tom Tromey  <tromey@redhat.com>
3099
3100         * Makefile.in: Rebuilt.
3101         * Makefile.am (nat_source_files): Removed old files.
3102         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3103         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3104         * gnu/java/nio/natIntBufferImpl.cc: Removed.
3105         * gnu/java/nio/natLongBufferImpl.cc: Removed.
3106         * gnu/java/nio/natShortBufferImpl.cc: Removed.
3107
3108 2003-05-09  Michael Koch  <konqueror@gmx.de>
3109
3110         * gnu/java/nio/ByteBufferImpl.java
3111         (nio_cast): Removed.
3112         (ByteBufferImpl): Removed.
3113         (nio_get_Byte): Removed.
3114         (nio_put_Byte): Removed.
3115         (asByteBuffer): Removed.
3116         (asCharBuffer): Removed implementation and throw exception.
3117         (asShortBuffer): Likewise.
3118         (asIntBuffer): Likewise.
3119         (asLongBuffer): Likewise.
3120         (asFloatBuffer): Likewise.
3121         (asDoubleBuffer): Likewise.
3122         * gnu/java/nio/CharBufferImpl.java
3123         (CharBufferImpl): Removed.
3124         (nio_get_Byte): Removed.
3125         (nio_put_Byte): Removed.
3126         (asByteBuffer): Removed.
3127         * gnu/java/nio/DoubleBufferImpl.java
3128         (DoubleBufferImpl): Removed.
3129         (nio_get_Byte): Removed.
3130         (nio_put_Byte): Removed.
3131         (asByteBuffer): Removed.
3132         * gnu/java/nio/FloatBufferImpl.java
3133         (FloatBufferImpl): Removed.
3134         (nio_get_Byte): Removed.
3135         (nio_put_Byte): Removed.
3136         (asByteBuffer): Removed.
3137         * gnu/java/nio/IntBufferImpl.java
3138         (IntBufferImpl): Removed.
3139         (nio_get_Byte): Removed.
3140         (nio_put_Byte): Removed.
3141         (asByteBuffer): Removed.
3142         * gnu/java/nio/LongBufferImpl.java
3143         (LongBufferImpl): Removed.
3144         (nio_get_Byte): Removed.
3145         (nio_put_Byte): Removed.
3146         (asByteBuffer): Removed.
3147         * gnu/java/nio/ShortBufferImpl.java
3148         (ShortBufferImpl): Removed.
3149         (nio_get_Byte): Removed.
3150         (nio_put_Byte): Removed.
3151         (asByteBuffer): Removed.
3152         * gnu/java/nio/natByteBufferImpl.cc
3153         (nio_cast): Removed.
3154         (nio_get_Byte): Removed.
3155         (nio_put_Byte): Removed.
3156         * gnu/java/nio/natCharBufferImpl.cc
3157         (nio_get_Byte): Removed.
3158         (nio_put_Byte): Removed.
3159
3160 2003-05-09  Michael Koch  <konqueror@gmx.de>
3161
3162         * java/net/JarURLConnection.java
3163         (getJarEntry): Merged documentation from classpath.
3164         (getJarFile): Likewise.
3165         (getMainAttributes): Likewise.
3166         (getAttributes): Likewise.
3167         (getManifest): Likewise.
3168         (getCertificates): Reformatted.
3169         * java/net/URLConnection.java:
3170         Little classpath merge.
3171
3172 2003-05-09  Michael Koch  <konqueror@gmx.de>
3173
3174         * java/io/DataOutputStream.java
3175         (writeShort): Made it synchronized.
3176         (writeChar): Likewise.
3177         (writeInt): Likewise.
3178         (writeLong): Liekwise.
3179         (writeUTF): Made it synchronized, renamed argument to match classpath.
3180         * java/io/InputStreamReader.java
3181         (converter): Added documentation.
3182         (read): Merged documentation from classpath.
3183         * java/io/OutputStreamWriter.java
3184         (OutputStreamWriter): Merged documentation from classpath.
3185         (close): Reformatted.
3186         (getEncoding): Likewise.
3187         (flush): Likewise.
3188         (write): Merged documentation from classpath, reformatted.
3189
3190 2003-05-08  Tom Tromey  <tromey@redhat.com>
3191
3192         * configure.host <powerpc64*-*>: Set with_libffi_default and
3193         libgcj_interpreter to "yes".
3194
3195 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
3196
3197         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3198         
3199 2003-05-06  Tom Tromey  <tromey@redhat.com>
3200
3201         * verify.cc: Reverted previous patch.
3202
3203 2003-05-06  Michael Koch  <konqueror@gmx.de>
3204
3205         * java/io/DataOutputStream.java
3206         (write): Renamed argument to "value", merged documentation from
3207         classpath.
3208         (writeBoolean): Likewise.
3209         (writeByte): Likewise.
3210         (writeShort): Likewise.
3211         (writeChar): Likewise.
3212         (writeInt): Likewise.
3213         (writeLong): Likewise.
3214         (writeFloat): Likewise.
3215         (writeDouble): Likewise.
3216         (writeBytes): Likewise.
3217         (writeChars): Likewise.
3218         (writeUTF): Likewise.
3219         * java/io/File.java
3220         (performDelete): Added documentation.
3221         (performList): Likewise.
3222         (performMkdir): Likewise.
3223         (performSetReadOnly): Likewise.
3224         (performRenameTo): Likewise.
3225         (performSetLastModified): Likewise.
3226         (delete): Made it sychronized.
3227         (renameTo): Made it sychronized.
3228         (equals): Reformatted.
3229         (isHidden): Likewise.
3230         (listFiles): Likewise.
3231         (setReadOnly): Likewise.
3232         (listRoots): Likewise.
3233         (setLastModified): Likewise.
3234         (checkRead): Likewise.
3235         (checkWrite): Likewise.
3236         * java/io/FileInputStream.java
3237         (skip): Made it sychronized, merged from classpath.
3238         * java/io/FileOutputStream.java
3239         (write): Merged from classpath.
3240         * java/io/InputStreamReader.java:
3241         (InputStreamReader): Merged documentation from classpath.
3242
3243 2003-05-05  Michael Koch  <konqueror@gmx.de>
3244
3245         * java/net/NetworkInterface.java
3246         (networkInterfaces): Removed.
3247         (getByName): Use getRealNetworkInterfaces() instead of
3248         networkInterfaces.
3249         (getByInetAddress): Likewise.
3250         (getNetworkInterfaces): Likewise.
3251         (toString): Fix output of addresses of an interface.
3252
3253 2003-05-05  Michael Koch  <konqueror@gmx.de>
3254
3255         * java/io/DataInputStream.java:
3256         Merged new documentation from classpath.
3257
3258 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
3259
3260         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
3261         "version".
3262         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
3263         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
3264         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
3265         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
3266         * gnu/awt/gtk/GtkMainThread.java: Likewise.
3267         * gnu/awt/gtk/GtkToolkit.java: Likewise.
3268         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
3269         * java/security/Key.java: Likewise.
3270         * java/security/PrivateKey.java: Likewise.
3271         * java/security/Provider.java: Likewise.
3272         * java/security/PublicKey.java: Likewise.
3273
3274 2003-05-02  Michael Koch  <konqueror@gmx.de>
3275
3276         * java/net/URI.java
3277         (create): Doesnt throws any exceptions.
3278         * java/net/URLConnection.java
3279         (URLConnection): Commend added.
3280         (getExpiration): The header field is called "expires" not
3281         "expiration".
3282         (getHeaderField): Merged documentation with classpath.
3283         (getHeaderFieldInt): Likewise.
3284         (getHeaderFieldDate): Likewise.
3285         (getHeaderFieldKey): Likewise.
3286         (getPermission): Likewise.
3287         (setDefaultUseCaches): Likewise.
3288         (setRequestProperty): Likewise.
3289         (addRequestProperty): Likewise.
3290         (getRequestProperty): Likewise.
3291         (getRequestProperties): Likewise.
3292         (setDefaultRequestProperty): Likewise.
3293         (getDefaultRequestProperty): Likewise.
3294         (guessContentTypeFromStream): Likewise.
3295         (getFileNameMap): Likewise.
3296         (setFileNameMap): Likewise.
3297         (setDoInput): Merged implementation and documentation with classpath.
3298         (setDoOutput): Likewise.
3299         (setAllowUserInteraction): Likewise.
3300         (setDefaultAllowUserInteraction): Likewise.
3301         (setContentHandlerFactory): Made it synchronized, merged documentation
3302         with classpath.
3303         (guessContentTypeFromName): Renamed argument fname to filename to
3304         match classpath, merged documentation with classpath.
3305
3306 2003-05-02  Michael Koch  <konqueror@gmx.de>
3307
3308         * java/net/JarURLConnection.java
3309         (JarURLConnection): Class documentation merged with classpath.
3310         (getJarFileURL): Moved and documentation merged with classpath.
3311         (getEntryName): Likewise.
3312         (JarURLConnection): Documentation merged with classpath.
3313         (getJarEntry): Likewise.
3314         (getJarFile): Likewise.
3315         * java/net/PlainDatagramSocketImpl.java:
3316         Class documentation moved.
3317         * java/net/URLConnection.java
3318         (fileNameMap): Moved and documentation merged with classpath.
3319         (factory): Likewise.
3320         (defaultAllowUserInteraction): Likewis.
3321         (defaultUseCaches): Likewise.
3322         (allowUserInteraction): Likewise.
3323         (connected): Likewise.
3324         (url): Likewise.
3325         (connect): Documentation merged with classpath.
3326         (getURL): Likewise.
3327         (getContentLength): Likewise.
3328         (getContentType): Likewise.
3329         (getContentEncoding): Likewise.
3330         (getExpiration): Likewise.
3331         (getDate): Likewise.
3332         (getLastModified): Likewise.
3333         (getHeaderField): Likewise.
3334         (getContent): Likewise.
3335         (getPermission): Likewise.
3336         (getInputStream): Likewise.
3337         (getOutputStream): Likewise.
3338         (toString): Likewise.
3339         (getDoInput): Likewise.
3340         (getDoOutput): Likewise.
3341         (setAllowUserInteraction): Likewise.
3342         (getAllowUserInteraction): Likewise.
3343         (setDefaultAllowUserInteraction): Likewise.
3344         (getDefaultAllowUserInteraction): Likewise.
3345         (setUseCaches): Likewise.
3346         (getUseCaches): Likewise.
3347         (setIfModifiedSince): Likewise.
3348         (getIfModifiedSince): Likewise.
3349         (setDefaultRequestProperty): Likewise.
3350         (getDefaultRequestProperty): Likewise.
3351         (setContentHandlerFactory): Likewise.
3352         (setFileNameMap): Likewise.
3353
3354 2003-05-02  Michael Koch  <konqueror@gmx.de>
3355
3356         * java/net/InetAddress.java:
3357         Merged class documentation with classpath.
3358         * java/net/JarURLConnection.java:
3359         Explicitely import all used classes.
3360         * java/net/URL.java:
3361         Reformatting.
3362         * java/net/ServerSocket.java,
3363         java/net/Socket.java:
3364         New versions from classpath.
3365
3366 2003-05-02  Michael Koch  <konqueror@gmx.de>
3367
3368         * gnu/java/nio/FileChannelImpl.java
3369         (read): New implementation.
3370         (implRead): New methods.
3371         (write): New implementation, call other write insteal of read method.
3372         (implWrite): New methods.
3373         (map): Added comment.
3374         (transferFrom): Implemented.
3375         (transferTo): Implemented.
3376         (lock): Added checks to throw exceptions.
3377         (truncate): Added check to throw exception.
3378         * gnu/java/nio/natFileChannelImpl.cc
3379         (implRead): New method.
3380         (implWrite): New method.
3381         * java/nio/ByteBuffer.java
3382         (hashCode): Fixed comment.
3383         (get): Fixed exception documentation.
3384         (put): Fixed exception documentation.
3385         * java/nio/CharBuffer.java:
3386         Added comment for later optimizations.
3387
3388 2003-04-30  Tom Tromey  <tromey@redhat.com>
3389
3390         PR libgcj/10582:
3391         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
3392         Removed.
3393         (type::compatible): Use _Jv_IsAssignableFrom.
3394         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
3395         (_Jv_IsAssignableFrom): Work even when source or target class is
3396         not prepared.
3397
3398 2003-04-30  Michael Koch  <konqueror@gmx.de>
3399
3400         * java/text/BreakIterator.java
3401         (clone): New method.
3402
3403 2003-04-30  Michael Koch  <konqueror@gmx.de>
3404
3405         * java/text/CollationElementIterator.java,
3406         java/text/CollationKey.java,
3407         java/text/RuleBasedCollator.java:
3408         Merged copyright and documentation from classpath and
3409         rearranged some code. No code changes done.
3410
3411 2003-04-30  Michael Koch  <konqueror@gmx.de>
3412
3413         * java/util/regex/Matcher.java
3414         (pattern): New member variable.
3415         (appendReplacement): New method.
3416         (appendTail): New method.
3417         (end): New method.
3418         (find): New method.
3419         (group): New method.
3420         (replaceFirst): Added documentation.
3421         (replaceAll): Added documentation.
3422         (groupCount): New method.
3423         (lookingAt): New method.
3424         (matches): New method.
3425         (reset): New method.
3426         (start): New method.
3427         * java/util/regex/Pattern.java
3428         (serialVersionUID): New constant.
3429         (CANON_EQ): New constant.
3430         (CASE_INSENSITIVE): New constant.
3431         (COMMENTS): New constant.
3432         (DOTALL): New constant.
3433         (MULTILINE): New constant.
3434         (UNICODE_CASE): New constant.
3435         (UNIX_LINES): New constant.
3436         (regex): New member variable.
3437         (flags): New member variable.
3438         (Pattern): New method.
3439         (compile): Documentation added.
3440         (flags): New method.
3441         (matches): Documentation added.
3442         (matcher): Documentation added.
3443         (split): Documentation added.
3444         (pattern): New method.
3445
3446 2003-04-30  Michael Koch  <konqueror@gmx.de>
3447
3448         * gnu/java/security/Engine.java,
3449         gnu/java/security/OID.java,
3450         gnu/java/security/der/BitString.java,
3451         gnu/java/security/der/DER.java,
3452         gnu/java/security/der/DERReader.java,
3453         gnu/java/security/der/DERValue.java,
3454         gnu/java/security/der/DERWriter.java,
3455         gnu/java/security/provider/DSAKeyFactory.java,
3456         gnu/java/security/provider/X509CertificateFactory.java,
3457         gnu/java/security/x509/X500DistinguishedName.java,
3458         gnu/java/security/x509/X509CRL.java,
3459         gnu/java/security/x509/X509CRLEntry.java,
3460         gnu/java/security/x509/X509Certificate.java,
3461         java/security/cert/CRLSelector.java,
3462         java/security/cert/CertPathBuilder.java,
3463         java/security/cert/CertPathBuilderResult.java,
3464         java/security/cert/CertPathBuilderSpi.java,
3465         java/security/cert/CertPathParameters.java,
3466         java/security/cert/CertPathValidator.java,
3467         java/security/cert/CertPathValidatorResult.java,
3468         java/security/cert/CertPathValidatorSpi.java,
3469         java/security/cert/CertSelector.java,
3470         java/security/cert/CertStore.java,
3471         java/security/cert/CertStoreParameters.java,
3472         java/security/cert/CertStoreSpi.java,
3473         java/security/cert/CollectionCertStoreParameters.java,
3474         java/security/cert/LDAPCertStoreParameters.java,
3475         java/security/cert/PKIXBuilderParameters.java,
3476         java/security/cert/PKIXCertPathBuilderResult.java,
3477         java/security/cert/PKIXCertPathChecker.java,
3478         java/security/cert/PKIXCertPathValidatorResult.java,
3479         java/security/cert/PKIXParameters.java,
3480         java/security/cert/PolicyNode.java,
3481         java/security/cert/PolicyQualifierInfo.java,
3482         java/security/cert/TrustAnchor.java,
3483         javax/security/auth/x500/X500Principal.java:
3484         New files from classpath.
3485         * gnu/java/io/ASN1ParsingException.java,
3486         gnu/java/io/Base64InputStream.java,
3487         gnu/java/security/der/DEREncodingException.java,
3488         gnu/java/security/provider/DSAParameters.java,
3489         gnu/java/security/provider/DSASignature.java,
3490         gnu/java/security/provider/Gnu.java,
3491         gnu/java/security/provider/GnuDSAPrivateKey.java,
3492         gnu/java/security/provider/GnuDSAPublicKey.java,
3493         java/security/AlgorithmParameterGenerator.java,
3494         java/security/AlgorithmParameters.java,
3495         java/security/KeyFactory.java,
3496         java/security/KeyPairGenerator.java,
3497         java/security/KeyStore.java,
3498         java/security/MessageDigest.java,
3499         java/security/SecureClassLoader.java,
3500         java/security/SecureRandom.java,
3501         java/security/Security.java,
3502         java/security/Signature.java,
3503         java/security/cert/Certificate.java,
3504         java/security/cert/CertificateFactory.java,
3505         java/security/cert/CertificateFactorySpi.java,
3506         java/security/cert/X509CRL.java,
3507         java/security/cert/X509Certificate.java,
3508         java/security/spec/DSAPublicKeySpec.java:
3509         New versions from classpath.
3510         * gnu/java/security/provider/DERReader.java,
3511         gnu/java/security/provider/DERWriter.java,
3512         java/security/Engine.java: Removed.
3513         * Makefile.am
3514         (java_source_files, javax_source_files): Added new files.
3515         * Makefile.in: Regenerated.
3516
3517 2003-04-29  Michael Koch  <konqueror@gmx.de>
3518
3519         * javax/swing/JTable.java
3520         (AUTO_RESIZE_ALL_COLUMNS): New constant.
3521         (AUTO_RESIZE_LAST_COLUMN): New constant.
3522         (AUTO_RESIZE_NEXT_COLUMN): New constant.
3523         (AUTO_RESIZE_OFF): New constant.
3524         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3525         (JTable): New method.
3526         (columnAdded): New method.
3527         (columnMarginChanged): New method.
3528         (columnMoved): New method.
3529         (columnRemoved): New method.
3530         (columnSelectionChanged): New method.
3531         (editingCanceled): New method.
3532         (editingStopped): New method.
3533         (getColumnModel): New method.
3534         (getPreferredScrollableViewportSize): New method.
3535         (getScrollableBlockIncrement): New method.
3536         (getScrollableTracksViewportHeight): New method.
3537         (getScrollableTracksViewportWidth): New method.
3538         (getScrollableUnitIncrement): New method.
3539         (getSelectedRow): New method.
3540         (getSelectionModel): New method.
3541         (tableChanged): New method.
3542         (setModel): New method.
3543         (setSelectionMode): New method.
3544         (setSelectionModel): New method.
3545         (setShowGrid): New method.
3546         (valueChanged): New method.
3547         * javax/swing/text/DefaultEditorKit.java
3548         (backwardAction): New constant.
3549         (beepAction): New constant.
3550         (beginAction): New constant.
3551         (beginLineAction): New constant.
3552         (beginParagraphAction): New constant.
3553         (beginWordAction): New constant.
3554         (copyAction): New constant.
3555         (cutAction): New constant.
3556         (defaultKeyTypedAction): New constant.
3557         (deleteNextCharAction): New constant.
3558         (deletePrevCharAction): New constant.
3559         (downAction): New constant.
3560         (endAction): New constant.
3561         (endLineAction): New constant.
3562         (endOfLineStringProperty): New constant.
3563         (endParagraphAction): New constant.
3564         (endWordAction): New constant.
3565         (forwardAction): New constant.
3566         (insertBreakAction): New constant.
3567         (insertContentAction): New constant.
3568         (insertTabAction): New constant.
3569         (nextWordAction): New constant.
3570         (pageDownAction): New constant.
3571         (pageUpAction): New constant.
3572         (pasteAction): New constant.
3573         (previousWordAction): New constant.
3574         (readOnlyAction): New constant.
3575         (selectAllAction): New constant.
3576         (selectionBackwardAction): New constant.
3577         (selectionBeginAction): New constant.
3578         (selectionBeginLineAction): New constant.
3579         (selectionBeginParagraphAction): New constant.
3580         (selectionBeginWordAction): New constant.
3581         (selectionDownAction): New constant.
3582         (selectionEndAction): New constant.
3583         (selectionEndLineAction): New constant.
3584         (selectionEndParagraphAction): New constant.
3585         (selectionEndWordAction): New constant.
3586         (selectionForwardAction): New constant.
3587         (selectionNextWordAction): New constant.
3588         (selectionPreviousWordAction): New constant.
3589         (selectionUpAction): New constant.
3590         (selectLineAction): New constant.
3591         (selectParagraphAction): New constant.
3592         (selectWordAction): New constant.
3593         (upAction): New constant.
3594         (writableAction): New constant.
3595
3596 2003-04-29  Michael Koch  <konqueror@gmx.de>
3597
3598         * java/util/PropertyPermission.java:
3599         New version from classpath
3600         * java/util/ResourceBundle.java:
3601         Partly merged from classpath
3602         (getObject): Reformated.
3603         (tryBundle): Set foundBundle = null if no bundle found.
3604
3605 2003-04-29  Michael Koch  <konqueror@gmx.de>
3606
3607         * javax/swing/AbstractListModel.java,
3608         javax/swing/DefaultBoundedRangeModel.java,
3609         javax/swing/DefaultSingleSelectionModel.java:
3610         New Versions from classpath.
3611
3612 2003-04-29  Michael Koch  <konqueror@gmx.de>
3613
3614         * java/awt/Window.java
3615         (show): Call super.show() instead of setVisible() to avoid endless
3616         loop.
3617         (hide): Call super.hide() instead of setVisible() to avoid endless
3618         loop.
3619
3620 2003-04-29  Michael Koch  <konqueror@gmx.de>
3621
3622         * java/util/zip/Deflater.java,
3623         java/util/zip/DeflaterOutputStream.java:
3624         Partly merged with classpath.
3625
3626 2003-04-27  Tom Tromey  <tromey@redhat.com>
3627
3628         * java/lang/natString.cc (_Jv_AllocString): Initialize
3629         cachedHashCode.
3630         (init): Likewise.
3631         (_Jv_NewStringUtf8Const): Likewise.
3632
3633 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
3634
3635         * include/jvm.h: (_Jv_GetNbArgs) added
3636         (_Jv_GetSafeArg) added
3637         (_Jv_SetArgs) added
3638         * prims.cc: (_Jv_GetNbArgs) implemented
3639         (_Jv_GetSafeArg) implemented
3640         (_Jv_SetArgs) implemented
3641         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3642         setting _Jv_argc and _Jv_argv
3643         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3644         instead of _Jv_argv
3645         * java/lang/natRuntime.cc: (insertSystemProperties) use
3646         _Jv_GetSafeArg() instead of _Jv_argv
3647
3648 2003-04-23  Tom Tromey  <tromey@redhat.com>
3649
3650         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3651         required by this object.  Search superclasses to find required
3652         alignment.
3653         (get_alignment_from_class): Use alignment of type as it appears
3654         in a struct.
3655         (ALIGNOF): New macro.
3656         (struct aligner): New helper structure.
3657
3658 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
3659
3660         * java/awt/Container.java (addImpl): Enable paint events if adding
3661         a lightweight to a heavyweight.
3662         (addNotify): Ensure that peer is created before
3663         addNotifyContainerChildren.
3664         (addNotifyContainerChildren): Enable paint events if a heavyweight
3665         container contains a lightweight.
3666
3667 2003-04-20  Tom Tromey  <tromey@redhat.com>
3668
3669         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3670         java/io/DataInput.java, java/io/DataOutput.java: Imports from
3671         Classpath.
3672
3673 2003-04-19  Tom Tromey  <tromey@redhat.com>
3674
3675         * java/sql/Date.java, java/sql/DriverManager.java,
3676         java/sql/Time.java, java/sql/Timestamp.java: New versions from
3677         Classpath.
3678
3679         * Makefile.in: Rebuilt.
3680         * Makefile.am (ordinary_java_source_files): Added new files.
3681         * java/security/AlgorithmParameterGenerator.java,
3682         java/security/AlgorithmParameters.java, java/security/Engine.java,
3683         java/security/Identity.java, java/security/IdentityScope.java,
3684         java/security/KeyFactory.java,
3685         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3686         java/security/MessageDigest.java, java/security/Policy.java,
3687         java/security/ProtectionDomain.java,
3688         java/security/SecureRandom.java, java/security/Security.java,
3689         java/security/Signature.java, java/security/SignatureSpi.java,
3690         java/security/SignedObject.java, java/security/Signer.java,
3691         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3692         java/security/spec/PSSParameterSpec.java,
3693         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3694         java/security/spec/RSAOtherPrimeInfo.java: New versions from
3695         Classpath.
3696
3697 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3698
3699         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3700         (dispose): Null metrics.
3701         * gnu/awt/xlib/XToolkit.java (sync): Implement.
3702         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3703         finalize.
3704         (finalize): Call dispose.
3705         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3706         (gcCachedCount): New field.
3707         (finalize): New method.
3708         (putGCInCache): New method.
3709         (getGCFromCache): New method.
3710         * gnu/gcj/xlib/GC.java (GC): Make protected.
3711         (clone): Get new GC from cache if possible.
3712         (create): New static method.
3713         (dispose): Save old GC in cache.
3714         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3715         deleting.
3716         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3717         is null.
3718         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3719         * java/awt/Container.java (visitChild): Dispose gfx2 when
3720         finished.
3721
3722 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
3723
3724         * java/math/BigInteger.java (probablePrime): New.
3725         * java/math/BigDecimal.java (unscaledValue): New.
3726
3727 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
3728
3729         * java/io/File.java (getAbsolutePath): On Windows, take care
3730         of paths like "C:", "G:foo\bar", etc.
3731         (getName): Make it work correctly on Windows.
3732         (getParent): Make it work correctly on Windows. For UNIX,
3733         fix bug that causes "/" to be returned as the parent of "/",
3734         instead of null as returned by Sun's JRE.
3735
3736         * java/io/natFileWin32.cc: Change copyright owner to FSF.
3737
3738 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3739
3740         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3741         inner class.
3742         (CACHE_SIZE_PER_DISPLAY): New field
3743         (fontMetricsCache): New field
3744         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3745         loading ISO10646-1 fonts.
3746
3747 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3748
3749         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3750         characters.
3751         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3752         characters.
3753
3754 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
3755
3756         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3757         floating point.
3758
3759 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
3760
3761         * configure.host (*-linux*): Don't set slow_pthread_self if primary
3762         installed libpthread is either linuxthreads with floating stacks or
3763         NPTL.
3764
3765 2003-04-14  Tom Tromey  <tromey@redhat.com>
3766
3767         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3768         of alignment.
3769
3770 2003-04-10  Tom Tromey  <tromey@redhat.com>
3771
3772         * verify.cc (pop64): Removed.
3773         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
3774         exception if top-of-stack is narrow.
3775         (initialize_stack): Check to ensure that <init> is not static and
3776         <clinit> is.
3777
3778 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
3779
3780         * java/io/ObjectStreamException
3781         * java/io/FileFilter
3782         * java/io/FilenameFilter
3783         * java/io/ObjectInput
3784         * java/io/ObjectOutput
3785         * java/io/ObjectStreamConstants
3786         Minor doc fixes, format fixes, spelling corrections, etc.
3787         * java/io/DataInput
3788         Corrected code samples in Javadocs to match reality
3789         * java/io/DataOutput
3790         * java/io/ObjectInputValidation
3791         Major documentation fixes - all Javadocs re-written or updated
3792
3793 2003-04-06  Michael Koch  <konqueror@gmx.de>
3794
3795         * java/net/URLConnection.java:
3796         Import classes directly.
3797         (URLConnection): Merged class documentation with classpath.
3798         (url): Moved, documentation from classpath added.
3799         (doInput): Moved, documentation from classpath added.
3800         (doOutput): Moved, documentation from classpath added.
3801         (allowUserInteraction): Moved.
3802         (useCaches): Moved, documentation from classpath added.
3803         (ifModifiedSince): Moved, documentation from classpath added.
3804         (connected): Moved, documentation from classpath added.
3805
3806 2003-04-06  Michael Koch  <konqueror@gmx.de>
3807
3808         * java/io/FileInputStream.java
3809         (skip): Renamed some variables to match classpath, added
3810         checks from classpath.
3811
3812 2003-03-31  Michael Koch  <konqueror@gmx.de>
3813
3814         * javax/swing/AbstractAction.java
3815         (AbstractAction): Reformatted.
3816         (serialVersionUID): New private member variable.
3817         * javax/swing/plaf/BorderUIResource.java
3818         (serialVersionUID): New private member variable.
3819         * javax/swing/plaf/basic/BasicLookAndFeel.java
3820         (serialVersionUID): New private member variable.
3821
3822 2003-03-31  Michael Koch  <konqueror@gmx.de>
3823
3824         * java/sql/Date.java
3825         (valueOf): Deprecated, reformatted.
3826         (toString): Deprecated, reformatted.
3827         * java/sql/Time.java
3828         (valueOf): Deprecated, reformatted.
3829         (toString): Deprecated, reformatted.
3830
3831 2003-03-31  Michael Koch  <konqueror@gmx.de>
3832
3833         * java/rmi/dgc/VMID.java
3834         (isUnique): Deprecated.
3835
3836 2003-03-31  Michael Koch  <konqueror@gmx.de>
3837
3838         * java/io/File.java
3839         (separator): Merged documentation from classpath.
3840         (separatorChar): Merged documentation from classpath.
3841         (pathSeparator): Merged documentation from classpath.
3842         (pathSeparatorChar): Merged documentation from classpath.
3843         (path): Merged documentation from classpath.
3844         (canRead): Merged documentation from classpath.
3845         (canWrite): Merged documentation from classpath.
3846         (createNewFile): Merged documentation from classpath.
3847         (delete): Merged documentation from classpath.
3848         (equals): Merged documentation from classpath.
3849         (exists): Merged documentation from classpath.
3850         (File): Renamed p to name to match classpath, merged documentation
3851         from classpath.
3852         (getAbsolutePath): Merged documentation from classpath.
3853         (getCanonicalPath): Merged documentation from classpath.
3854         (getCanonicalFile): Merged documentation from classpath.
3855         (getName): Merged documentation from classpath.
3856         (getParent): Merged documentation from classpath.
3857         (getParentFile): Merged documentation from classpath.
3858         (getPath): Merged documentation from classpath.
3859         (hashCode): Merged documentation from classpath.
3860         (isAbsolute): Merged documentation from classpath.
3861         (isDirectory): Merged documentation from classpath.
3862         (isFile): Merged documentation from classpath.
3863         (isHidden): Merged documentation from classpath.
3864         (lastModified): Merged documentation from classpath.
3865         (length): Merged documentation from classpath.
3866         (list): Merged documentation from classpath.
3867         (listFiles): Merged documentation from classpath.
3868         (toString): Merged documentation from classpath.
3869         (toURL): Merged documentation from classpath.
3870         (mkdir): Merged documentation from classpath.
3871         (mkdirs): Merged documentation from classpath.
3872         (createTempFile): Merged documentation from classpath.
3873         (setReadOnly): Merged documentation from classpath.
3874         (listRoots): Merged documentation from classpath.
3875         (compareTo): Merged documentation from classpath.
3876         (renameTo): Merged documentation from classpath.
3877         (setLastModified): Merged documentation from classpath.
3878         * java/io/PrintStream.java
3879         (auto_flush): Merged documentation from classpath.
3880         (PrintStream): Merged documentation from classpath.
3881         (checkError): Merged documentation from classpath.
3882         (setError): Merged documentation from classpath.
3883         (close): Merged documentation from classpath.
3884         (flush): Merged documentation from classpath.
3885         (print): Merged documentation from classpath.
3886         (println):  Merged documentation from classpath.
3887         (write): Renamed count to len to match classpath,
3888         merged documentation from classpath.
3889         * java/io/RandomAccessFile.java
3890         (readShort): Merged documentation from classpath.
3891         (readUnsignedByte): Merged documentation from classpath.
3892         (readUnsignedShort): Merged documentation from classpath.
3893         (readUTF): Merged documentation from classpath.
3894         (seek): Reformatted, merged documentation from classpath.
3895         (skipBytes): Renamed some variables to match classpath, reformatted,
3896         merged documentation from classpath.
3897         (write): Merged documentation from classpath.
3898         (writeBoolean): Merged documentation from classpath.
3899         (writeByte): Merged documentation from classpath.
3900         (writeShort): Merged documentation from classpath.
3901         (writeChar): Merged documentation from classpath.
3902         (writeInt): Merged documentation from classpath.
3903         (writeLong): Merged documentation from classpath.
3904         (writeFloat): Merged documentation from classpath.
3905         (writeDouble): Merged documentation from classpath.
3906         (writeBytes): Merged documentation from classpath.
3907         (writeChars): Merged documentation from classpath.
3908         (writeUTF): Reformatted.
3909         (getChannel): Reformatted.
3910
3911 2003-03-31  Michael Koch  <konqueror@gmx.de>
3912
3913         * java/awt/font/TextAttribute.java
3914         (readResolve): Throws java.io.InvalidObjectException.
3915
3916 2003-03-31  Michael Koch  <konqueror@gmx.de>
3917
3918         * java/rmi/server/LoaderHandler.java
3919         (loadClass): Deprecated.
3920         (getSecurityContext): Deprecated.
3921         * java/rmi/server/LogStream.java
3922         (getDefaultStream): Deprecated.
3923         (setDefaultStream): Deprecated.
3924         (getOutputStream): Deprecated.
3925         (setOutputStream): Deprecated.
3926         (write): Deprecated.
3927         (toString): Deprecated.
3928         (parseLevel): Deprecated.
3929         * java/rmi/server/Operation.java
3930         (Operation): Deprecated.
3931         (getOperation): Deprecated.
3932         (toString): Deprecated.
3933         * java/rmi/server/RemoteCall.java
3934         (getOutputStream): Deprecated.
3935         (releaseOutputStream): Deprecated.
3936         (getInputStream): Deprecated.
3937         (releaseInputStream): Deprecated.
3938         (getResultStream): Deprecated.
3939         (executeCall): Deprecated.
3940         (done): Deprecated.
3941         * java/rmi/server/RemoteRef.java
3942         (invoke): Deprecated.
3943         (newCall): Deprecated.
3944         (done): Deprecated.
3945         * java/rmi/server/RemoteStub.java
3946         (setRef): Deprecated.
3947         * java/rmi/server/Skeleton.java:
3948         No need to import java.lang.Exception explicitly.
3949         (dispatch): Deprecated.
3950         (getOperations): Deprecated.
3951
3952 2003-03-31  Michael Koch  <konqueror@gmx.de>
3953
3954         * java/rmi/dgc/VMID.java,
3955         java/rmi/registry/RegistryHandler.java,
3956         java/rmi/server/LogStream.java,
3957         java/rmi/server/Operation.java,
3958         java/rmi/server/RemoteCall.java,
3959         java/rmi/server/RemoteRef.java,
3960         java/rmi/server/RemoteStub.java:
3961         Reformatted.
3962
3963 2003-03-31  Michael Koch  <konqueror@gmx.de>
3964
3965         * javax/swing/AbstractCellEditor.java,
3966         javax/swing/AbstractListModel.java,
3967         javax/swing/ActionMap.java,
3968         javax/swing/BorderFactory.java,
3969         javax/swing/ButtonGroup.java,
3970         javax/swing/DefaultBoundedRangeModel.java,
3971         javax/swing/DefaultButtonModel.java,
3972         javax/swing/DefaultCellEditor.java,
3973         javax/swing/DefaultComboBoxModel.java,
3974         javax/swing/DefaultDesktopManager.java,
3975         javax/swing/DefaultListCellRenderer.java,
3976         javax/swing/DefaultSingleSelectionModel.java,
3977         javax/swing/InputMap.java,
3978         javax/swing/JComponent.java,
3979         javax/swing/JMenu.java,
3980         javax/swing/JSlider.java,
3981         javax/swing/KeyStroke.java,
3982         javax/swing/OverlayLayout.java,
3983         javax/swing/ScrollPaneLayout.java,
3984         javax/swing/SizeRequirements.java,
3985         javax/swing/UIManager.java,
3986         javax/swing/ViewportLayout.java,
3987         javax/swing/border/AbstractBorder.java,
3988         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3989         javax/swing/event/EventListenerList.java,
3990         javax/swing/table/AbstractTableModel.java,
3991         javax/swing/table/DefaultTableCellRenderer.java,
3992         javax/swing/table/DefaultTableColumnModel.java,
3993         javax/swing/table/DefaultTableModel.java,
3994         javax/swing/table/TableColumn.java,
3995         javax/swing/text/StyledEditorKit.java,
3996         javax/swing/tree/DefaultMutableTreeNode.java,
3997         javax/swing/tree/DefaultTreeModel.java,
3998         javax/swing/tree/DefaultTreeSelectionModel.java,
3999         javax/swing/tree/TreePath.java,
4000         javax/swing/undo/AbstractUndoableEdit.java,
4001         javax/swing/undo/StateEdit.java,
4002         javax/swing/undo/StateEditable.java,
4003         javax/swing/undo/UndoableEditSupport.java:
4004         Merges from classpath.
4005
4006 2003-03-30  Tom Tromey  <tromey@redhat.com>
4007
4008         * java/lang/String.java (data, boffset, count): Documented.
4009         (String(byte[],String)): Reformatted.
4010         (String(byte[])): Likewise.
4011         (lastIndexOf(int)): Likewise.
4012         (lastIndexOf(String)): Likewise.
4013         (substring(int)): Renamed argument to match Classpath.
4014         (String(StringBuffer)): Don't share buffer if it is nearly empty.
4015
4016         * java/lang/String.java: Miscellaneous minor formatting changes
4017         to match Classpath more closely.
4018
4019 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
4020             Tom Tromey  <tromey@redhat.com>
4021
4022         * java/lang/natString.cc (hashCode): Use cachedHashCode.
4023         (init()): Removed.
4024         (charAt): Put index in exception.
4025         (contentEquals): New method.
4026         Include StringBuffer.h.
4027         * java/lang/String.java (cachedHashCode): New field.
4028         (String()): Follow classpath implementation.
4029         (init()): Removed.
4030         (contentEquals): Declare.
4031         (subSequence): Don't declare IndexOutIfBoundsException in throws
4032         clause.
4033         (matches, replaceFirst, replaceAll, split): New methods from
4034         Classpath.
4035
4036 2003-03-29  Tom Tromey  <tromey@redhat.com>
4037
4038         * java/lang/String.java: Reordered to follow Classpath; merged in
4039         javadoc.
4040
4041         * java/text/MessageFormat.java: Removed some whitespace.
4042
4043         * Makefile.in: Rebuilt.
4044         * Makefile.am (awt_java_source_files): Added new files.
4045         * gnu/javax/rmi/PortableServer.java,
4046         gnu/javax/rmi/CORBA/DelegateFactory.java,
4047         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4048         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4049         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4050         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4051         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4052         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
4053         javax/rmi/PortableRemoteObject.java,
4054         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
4055         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4056         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
4057         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
4058         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
4059         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
4060
4061         * java/lang/natClass.cc (newInstance): Put method name in
4062         exception.
4063         (getConstructor): Likewise.
4064         (getDeclaredConstructor): Likewise.
4065         (getPrivateMethod): Likewise.
4066
4067 2003-03-28  Tom Tromey  <tromey@redhat.com>
4068
4069         * java/lang/reflect/Proxy.java: New version from Classpath.
4070         * java/lang/Package.java: New version from Classpath.
4071
4072 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
4073
4074         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
4075         * configure: Regenerate.
4076
4077 2003-03-28  Michael Koch  <konqueror@gmx.de>
4078
4079         * java/io/File.java:
4080         Import needed classes instead of whole packages, merged class
4081         documentation with classpath, moved constants and variables to top of
4082         class.
4083         * java/io/PrintStream.java:
4084         Merged class documentation with classpath, moved constants and
4085         variables to top of class.
4086         * java/io/RandomAccessFile.java
4087         (RandomAccessFile): Merged with classpath.
4088         (read): Merged with classpath).
4089         (read*): Reformatted.
4090
4091 2003-03-28  Michael Koch  <konqueror@gmx.de>
4092
4093         * java/io/FileDescriptor.java
4094         (finalize): Throws Throwable, not IOException.
4095         * java/io/ObjectOutputStream.java
4096         (PutField.put): Doesnt throws anything.
4097
4098 2003­03-28  Michael Koch  <konqueror@gmx.de>
4099
4100         * java/io/FileOutputStream.java:
4101         Merged class documentation and authors with classpath.
4102         (FileOutputStream): Partly merged with classpath.
4103         (write): Merged with classpath.
4104         (getChannel): Make it synchronized instead of explicit block in this
4105         method.
4106         * java/io/RandomAccessFile.java:
4107         Merged class documentation and authors with classpath.
4108
4109 2003-03-26  Tom Tromey  <tromey@redhat.com>
4110
4111         * java/lang/natRuntime.cc (insertSystemProperties): Set
4112         gnu.classpath.home.url.
4113         * Makefile.in: Rebuilt.
4114         * Makefile.am: Define LIBDIR.
4115
4116 2003-03-25  Michael Koch  <konqueror@gmx.de>
4117
4118         * java/io/FileInputStream.java
4119         (read): Renamed b to buf and off to offset.
4120         * java/io/FileOutputStream.java
4121         (ch): Documentation added.
4122         (FileOutputStream): Documentation added.
4123         (getFD): Documentation added.
4124         (write): Documentation added.
4125         (close): Documentation added.
4126         (getChannel): Documentation added.
4127
4128 2003-03-24  Michael Koch  <konqueror@gmx.de>
4129
4130         * java/io/DataOutputStream.java
4131         (write): Merged from classpath.
4132         * java/io/File.java:
4133         Merged copyrigth with classpath.
4134         * java/io/FileInputStream.java
4135         (getChannel): Made it synchronized instead of using a synchronized
4136         block.
4137         * java/io/FileOutputStream.java: Reformatted.
4138         * java/io/InputStreamReader.java
4139         (InputStreamReader): Renamed enc to encoding_name.
4140         (close): Merged documentation from classpath.
4141         (getEncoding): Merged documentation from classpath.
4142         (ready): Merged documentation from classpath.
4143         (read): Merged documentation from classpath.
4144         * java/io/LineNumberReader.java
4145         (lineNumber): Made it private.
4146         (LineNumberReader): Use Constant instead of a direct value.
4147         * java/io/OutputStreamWriter.java
4148         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
4149         documentation from classpath.
4150         (close): Merged documentation from classpath.
4151         (flush): Merged documentation from classpath.
4152         (write): Merged documentation from classpath.
4153         * java/io/PrintStream.java: Reformatted.
4154
4155 2003-03-24  Michael Koch  <konqueror@gmx.de>
4156
4157         * javax/swing/text/ComponentView.java
4158         (getComponent): Must be final.
4159         * javax/swing/tree/DefaultTreeCellRenderer.java:
4160         Reformatted.
4161         * javax/swing/undo/StateEditable.java:
4162         Reformatted.
4163
4164 2003-03-24  Michael Koch  <konqueror@gmx.de>
4165
4166         * java/rmi/activation/ActivationInstantiator.java:
4167         Reformatted.
4168         * java/rmi/activation/Activator.java:
4169         Reformatted.
4170         * java/rmi/registry/RegistryHandler.java:
4171         Remerged from classpath.
4172
4173 2003-03-24  Michael Koch  <konqueror@gmx.de>
4174
4175         * java/util/Date.java:
4176         Fixed documentation starting tag to make javadoc happy.
4177         * java/util/regex/Pattern.java
4178         (Pattern): Implements Serializable.
4179         * java/util/PatternSyntaxException.java
4180         (serialVersionUID): New member variable.
4181
4182 2003-03-24  Michael Koch  <koqnueror@gmx.de>
4183
4184         * java/awt/ContainerOrderFocusTraversalPolicy.java
4185         (getFirstComponent): Implemented.
4186         (getLastComponent): Implemented.
4187         (getDefaultComponent): Implemented.
4188         (setImplicitDownCycleTraversal): Fixed implementation.
4189         * java/awt/Robot.java
4190         (Robot): Added documentation.
4191         * java/awt/Toolkit.java
4192         (getFontList): Deprecated.
4193         (getFontMetrics): Deprecated.
4194         (getPrintJob): Added documentation.
4195         (getSystemSelection): Added documentation.
4196         (getLockingKeyState): Added documentation.
4197         (setLockingKeyState): Added documentation.
4198         (createCustomCursor): Added documentation.
4199         (getBestCursorSize): Added documentation.
4200         (getMaximumCursorColors): Added documentation.
4201         (isFrameStateSupported): Added documentation.
4202
4203 2003-03-24  Michael Koch  <konqueror@gmx.de>
4204
4205         * java/io/RandomAccessFile.java:
4206         More little merges with classpath. No code changes.
4207
4208 2003-03-24  Michael Koch  <konqueror@gmx.de>
4209
4210         * java/net/natInetAddressNoNet.cc:
4211         Include stddef.h.
4212         * java/net/natPlainDatagramSocketImplNoNet.cc:
4213         Fixed inlcude of java/net/DatagramPacket.h.
4214         * java/net/natPlainSocketImplNoNet.cc:
4215         Include some missing classes.
4216
4217 2003-03-24  Michael Koch  <konqueror@gmx.de>
4218
4219         * java/awt/dnd/DropTarget.java
4220         (DropTargetAutoScroller): According to the online documentation, this
4221         is protected, but in reality it is public.
4222         * java/awt/dnd/DropTargetContext.java
4223         (TransferableProxy): According to the online documentation, this
4224         is protected, but in reality it is public.
4225
4226 2003-03-24  Michael Koch  <konqueror@gmx.de>
4227
4228         * java/io/DataInputStream.java
4229         (): Wrapped documentation line.
4230         (): Fixed @return tag.
4231         * java/io/DataOutputStream.java
4232         (written): Moved to top of class.
4233         (all methods): Merged documentation from classpath.
4234         * java/io/File.java:
4235         Merged copyright year with classpath.
4236         * java/io/FileInputStream.java
4237         (all methods): Merged documentation from classpath.
4238         * java/io/LineNumberReader.java
4239         (getLineNumber): Fixed @return tag.
4240         * java/io/ObjectInputStream.java.
4241         Reformatted.
4242         * java/io/ObjectOutputStream.java:
4243         Reformatted, fixed some @see tags.
4244         * java/io/OutputStreamWriter.java:
4245         Deleted empty line.
4246         * java/io/Writer.java:
4247         Reformatted.
4248
4249 2003-03-24  Michael Koch  <konqueror@gmx.de>
4250
4251         * java/awt/Frame.java
4252         (DEFAULT_CURSOR): Fixed @deprecated tag.
4253         (setCursor): Fixed @deprecated tag.
4254
4255 2003-03-24  Michael Koch  <konqueror@gmx.de>
4256
4257         * java/beans/beancontext/BeanContextEvent.java:
4258         Reformated.
4259
4260 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
4261
4262         * java/lang/natStringBuffer.cc (regionMatches): New function.
4263         * java/lang/String.java (count): Now package-private.
4264         * java/lang/StringBuffer.java: Merged with Classpath.
4265
4266 2003-03-23  Michael Koch  <konqueror@gmx.de>
4267
4268         * java/io/BufferedOutputStream.java:
4269         Reformated.
4270         * java/io/BufferedReader.java:
4271         Reformated.
4272         * java/io/ByteArrayOutputStream.java
4273         (size): Fixed @see tag.
4274         * java/io/CharArrayWriter.java
4275         (size): Fixed @see tag.
4276         * java/io/DataInput.java:
4277         Reformated.
4278         * java/io/DataOutput.java:
4279         Reformated.
4280         * java/io/DataOutputStream.java:
4281         Merged copyright years with classpath.
4282         * java/io/Externalizable.java:
4283         Reformated.
4284         * java/io/FileFilter.java:
4285         Reformated.
4286         * java/io/FileInputStream.java:
4287         Merged copyright years with classpath.
4288         * java/io/FileOutputStream.java:
4289         Merged copyright years with classpath.
4290         * java/io/FilePermission.java
4291         (FilePermission): Replaced @XXX with FIXME:.
4292         * java/io/FileWriter.java:
4293         Reformated.
4294         * java/io/FilenameFilter.java:
4295         Reformated.
4296         * java/io/FilterInputStream.java:
4297         Reformated.
4298         * java/io/FilterOutputStream.java:
4299         Reformated.
4300         * java/io/FilterReader.java:
4301         Reformated.
4302         * java/io/FilterWriter.java:
4303         Reformated.
4304         * java/io/LineNumberInputStream.java
4305         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
4306         happy.
4307         (getLineNumber): Fixed @return tag.
4308         * java/io/ObjectInput.java:
4309         Reformated.
4310         * java/io/ObjectOutput.java:
4311         Reformated.
4312         * java/io/ObjectStreamClass.java:
4313         Reformated.
4314         * java/io/PrintStream.java:
4315         Merged copyright years with classpath.
4316         * java/io/PushbackReader.java
4317         (PushbackReader): Replaced @code with @param.
4318         * java/io/SerializablePermission.java:
4319         Reformated.
4320         * java/io/StreamTokenizer.java
4321         (resetSyntax): Fixed @see tag.
4322
4323 2003-03-22  Richard Henderson  <rth@redhat.com>
4324
4325         * sysdep/ia64/locks.h: Include ia64intrin.h.
4326         (compare_and_swap): Use __sync_bool_compare_and_swap.
4327         (compare_and_swap_release): Expose ar.ccv assignment.
4328
4329 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
4330
4331         * include/posix.h: Add suffix for darwin dynamic libraries.
4332
4333 2003-03-21  Michael Koch  <konqueror@gmx.de>
4334
4335         * javax/swing/Action.java
4336         (ACCELERATOR_KEY): New constant.
4337         (ACTION_COMMAND_KEY): Likewise.
4338         (MNEMONIC_KEY): Likewise.
4339         * javax/swing/UnsupportedLookAndFeelException.java
4340         (UnsupportedLookAndFeelException): Must be public.
4341         * javax/swing/WindowConstants.java
4342         (EXIT_ON_CLOSE): New constant.
4343         * javax/swing/text/BadLocationException.java
4344         (offset): New member variable.
4345         (BadLocationException): New implementation, documentation added.
4346         (offsetRequested): New method.
4347         * javax/swing/text/Caret.java:
4348         Reformated.
4349         * javax/swing/text/Document.java:
4350         Reformated.
4351
4352 2003-03-21  Michael Koch  <konqueror@gmx.de>
4353
4354         * java/rmi/activation/Activatable.java
4355         (serialVersionUID): New member variable.
4356         * java/rmi/activation/ActivationGroup.java
4357         (serialVersionUID): New member variable.
4358         * java/rmi/activation/ActivationGroupDesc.java
4359         (serialVersionUID): New member variable.
4360         * java/rmi/registry/Registry.java:
4361         Reformated.
4362         (Registry): Deprecated.
4363         * java/rmi/server/LoaderHandler.java
4364         Reformated.
4365         (LoaderHandler): Deprecated.
4366         * java/rmi/server/LogStream.java
4367         Reformated.
4368         (LogStream): Deprecated.
4369         * java/rmi/server/Operation.java
4370         (Operation): Deprecated.
4371         * java/rmi/server/RMIFailureHandler.java:
4372         Reformated.
4373         * java/rmi/server/RMISocketFactory.java:
4374         Reformated.
4375         * java/rmi/server/RemoteCall.java
4376         (RemoteCall): Deprecated.
4377         * java/rmi/server/RemoteStub.java:
4378         Reformated.
4379         * java/rmi/server/Skeleton.java
4380         Reformated.
4381         (Skeleton): Deprecated.
4382
4383 2003-03-21  Michael Koch  <konqueror@gmx.de>
4384
4385         * java/io/LineNumberReader.java
4386         (LineNumberReader): Merged documentation with classpath.
4387         (getLineNumber): Likewise.
4388         (setLineNumber): Likewise.
4389         (mark): Likewise.
4390         (reset): Likewise.
4391         (read): Likewise.
4392         (readLine): Likewise.
4393         (skip): Likewise.
4394
4395 2003-03-21  Michael Koch  <konqueror@gmx.de>
4396
4397         * java/rmi/RMISecurityManager.java
4398         (checkAccept): Removed.
4399         (checkAccess): Likewise.
4400         (checkAccess): Likewise.
4401         (checkAwtEventQueueAccess): Likewise.
4402         (checkConnect): Likewise.
4403         (checkCreateClassLoader): Likewise.
4404         (checkDelete): Likewise.
4405         (checkExec): Likewise.
4406         (checkExit): Likewise.
4407         (checkLink): Likewise.
4408         (checkListen): Likewise.
4409         (checkMemberAccess): Likewise.
4410         (checkMulticast): Likewise.
4411         (checkPackageAccess): Likewise.
4412         (checkPackageDefinition): Likewise.
4413         (checkPermission): Likewise.
4414         (checkPrintJobAccess): Likewise.
4415         (checkPropertiesAccess): Likewise.
4416         (checkPropertyAccess): Likewise.
4417         (checkRead): Likewise.
4418         (checkSecurityAccess): Likewise.
4419         (checkSetFactory): Likewise.
4420         (checkSystemClipboardAccess): Likewise.
4421         (checkTopLevelWindow): Likewise.
4422         (checkWrite): Likewise.
4423
4424 2003-03-20  Michael Koch  <konqueror@gmx.de>
4425
4426         * gnu/java/nio/FileChannelImpl.java
4427         (address): Removed.
4428         (map_address): New member variable.
4429         (length): Make it package private.
4430         (fd): Make it package private.
4431         (buf): Make it package private.
4432         (file_obj): Make it package private.
4433         (FileChannelImpl): New constructor.
4434         (nio_mmap_file): Use RawData instead of long.
4435         (nio_munmap_file): Use RawData instead of long.
4436         (nio_msync): Use RawData instead of long.
4437         (implCloseChannel): New implementation using map_address.
4438         (read): Reformated.
4439         (map): Implemented.
4440         (create_direct_mapped_buffer): Implemented, use RawData, throws
4441         IOException.
4442         (force): Use map_address instead of address.
4443         * gnu/java/nio/MappedByteFileBuffer.java
4444         (address): Removed.
4445         (map_address): New member variable.
4446         (MappedByteFileBuffer): Use map_address instead of address, reformated.
4447         (several methods): Use map_address instead of address, replaced long
4448         with RawData where appropriate.
4449         * gnu/java/nio/natFileChannelImpl.cc
4450         (nio_mmap_file): Replaced long with RawData.
4451         (nio_munmap_file): Replaced long with RawData.
4452         (nio_msync): Replaced long with RawData.
4453         * gnu/java/nio/natMappedByteFileBuffer.cc
4454         (several methods): Replaced long with RawData where appropriate.
4455
4456 2003-03-20  Michael Koch  <konqueror@gmx.de>
4457
4458         * java/net/InetAddress.java,
4459         java/net/JarURLConnection.java,
4460         java/net/PlainDatagramSocketImpl.java,
4461         java/net/PlainSocketImpl.java,
4462         java/net/URLConnection.java:
4463         Merged copyright statements with classpath for easier merging.
4464
4465 2003-03-20  Michael Koch  <konqueror@gmx.de>
4466
4467         * java/io/FileInputStream.java
4468         (getChannel): New implementation.
4469         * java/io/FileOutputStream.java
4470         (ch): New member variable.
4471         (getChannel): Implemented.
4472         * java/io/RandomAccessFile.java
4473         (RandomAccessFile): Throws FileNotFoundException instead of
4474         IOException.
4475         (getChannel): New method.
4476         (ch): New member variable.
4477
4478 2003-03-20  Michael Koch  <konqueror@gmx.de>
4479
4480         * java/io/DataOutputStream.java,
4481         java/io/File.java,
4482         java/io/FileInputStream.java,
4483         java/io/FileOutputStream.java,
4484         java/io/InputStreamReader.java,
4485         java/io/LineNumberReader.java,
4486         java/io/OutputStreamWriter.java,
4487         java/io/PrintStream.java,
4488         java/io/RandomAccessFile.java:
4489         Merged copyright statements with classpath for easier merging.
4490
4491 2003-03-19  Michael Koch  <konqueror@gmx.de>
4492
4493         * java/lang/Process.java:
4494         Merged from classpath.
4495
4496 2003-03-19  Michael Koch  <konqueror@gmx.de>
4497
4498         * java/io/FileOutputStream.java
4499         (FileOutputStream): New constructor, merged from classpath.
4500         * java/io/FileWriter.java
4501         (FileWriter): New constructor, merged from classpath.
4502
4503 2003-03-18  Michael Koch  <konqueror@gmx.de>
4504
4505         * java/awt/ScrollPane.java
4506         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4507         (getViewportSize): Likewise.
4508         (addNotify): Likewise.
4509         (removeNotify): Likewise.
4510         * java/awt/ScrollPaneAdjustable.java
4511         (ScrollPaneAdjustable): No longer extends Scrollbar.
4512         * java/beans/beancontext/BeanContextServices.java:
4513         Reformated.
4514         (getService): Added throws TooManyListenersException;
4515         * java/beans/beancontext/BeanContextServicesSupport.java:
4516         Reformated.
4517
4518 2003-03-18  Michael Koch  <konqueror@gmx.de>
4519
4520         * java/io/BufferedOutputStream.java,
4521         java/io/DataInput.java,
4522         java/io/DataInputStream.java,
4523         java/io/DataOutput.java,
4524         java/io/Externalizable.java:
4525         More merges from classpath.
4526
4527 2003-03-18  Michael Koch  <konqueror@gmx.de>
4528
4529         * configure.in: Fixed links to platform dependant java.net files.
4530         * configure: Regenerated.
4531         * java/net/natInetAddress.cc,
4532         java/net/natNetworkInterface.cc,
4533         java/net/natPlainDatagramSocketImpl.cc,
4534         java/net/natPlainSocketImpl.cc:
4535         Removed.
4536
4537 2003-03-18  Michael Koch  <konqueror@gmx.de>
4538
4539         * configure.in: Create links to architecture dependent files,
4540         introduced PLATFORMNET variable (set to NoNet for newlib usage).
4541         * configure: Regenerated.
4542         * java/net/natInetAddressNoNet.cc,
4543         java/net/natInetAddressPosix.cc,
4544         java/net/natInetAddressWin32.cc,
4545         java/net/natNetworkInterfaceNoNet.cc,
4546         java/net/natNetworkInterfacePosix.cc,
4547         java/net/natNetworkInterfaceWin32.cc,
4548         java/net/natPlainDatagramSocketImplNoNet.cc,
4549         java/net/natPlainDatagramSocketImplPosix.cc,
4550         java/net/natPlainDatagramSocketImplWin32.cc,
4551         java/net/natPlainSocketImplNoNet.cc,
4552         java/net/natPlainSocketImplPosix.cc,
4553         java/net/natPlainSocketImplWin32.cc: New files.
4554
4555 2003-03-18  Michael Koch  <konqueror@gmx.de>
4556
4557         * java/io/BufferedReader.java,
4558         java/io/BufferedWriter.java,
4559         java/io/ByteArrayOutputStream.java,
4560         java/io/FileFilter.java,
4561         java/io/FilePermission.java,
4562         java/io/FileReader.java,
4563         java/io/FileWriter.java,
4564         java/io/FilenameFilter.java,
4565         java/io/FilterInputStream.java,
4566         java/io/FilterOutputStream.java,
4567         java/io/FilterReader.java,
4568         java/io/FilterWriter.java,
4569         java/io/ObjectInput.java,
4570         java/io/ObjectInputValidation.java,
4571         java/io/ObjectOutput.java,
4572         java/io/ObjectStreamField.java,
4573         java/io/PipedInputStream.java,
4574         java/io/PipedReader.java,
4575         java/io/PrintWriter.java,
4576         java/io/PushbackReader.java,
4577         java/io/Reader.java,
4578         java/io/SerializablePermission.java,
4579         java/io/StringReader.java,
4580         java/io/Writer.java:
4581         Merged from classpath.
4582
4583 2003-03-17  Michael Koch  <konqueror@gmx.de>
4584
4585         * java/awt/ScrollPaneAdjustable.java:
4586         Compile fixes.
4587         
4588 2003-03-17  Michael Koch  <konqueror@gmx.de>
4589
4590         * java/net/DatagramSocket.java
4591         (connect): Fixed comment.
4592         * java/nio/ByteBuffer.java
4593         (hasArray): Fixed comment.
4594
4595 2003-03-17  Michael Koch  <konqueror@gmx.de>
4596
4597         * java/beans/Beans.java:
4598         Explicitely import classes not packages.
4599         * java/beans/FeatureDescriptor.java
4600         (preferred): New member variable.
4601         (isPreferred): New method.
4602         (setPreferred): New method.
4603         * java/beans/PropertyEditorManager.java:
4604         Explicitely import used classes.
4605         * java/beans/beancontext/BeanContextChild.java:
4606         Added line wrapping.
4607         * java/beans/beancontext/BeanContextChildSupport.java:
4608         Reindented.
4609         * java/beans/beancontext/BeanContextEvent.java:
4610         Reindented.
4611
4612 2003-03-17  Michael Koch  <konqueror@gmx.de>
4613
4614         * java/awt/Dialog.java
4615         (Dialog): New constructor, changed implementations, added
4616         documentation.
4617         * java/awt/ScrollPaneAdjustable.java
4618         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4619         Serializable.
4620         (serialVersionUID): New member variable.
4621         (sp): New member variable.
4622         (orientation): New member variable.
4623         (value): New member variable.
4624         (minimum): New member variable.
4625         (maximum): New member variable.
4626         (visibleAmount): New member variable.
4627         (unitIncrement): New member variable.
4628         (blockIncrement): New member variable.
4629         (AdjustmentListener): New member variable.
4630         (ScrollPaneAdjustable): New implementation.
4631         (addAdjustmentListener): New method.
4632         (removeAdjustmentListener): New method.
4633         (getAdjustmentListeners): New method.
4634         (getBlockIncrement): New method.
4635         (getMaximum): New method.
4636         (getMinimum): New method.
4637         (getOrientation): New method.
4638         (getUnitIncrement): New method.
4639         (getValue): New method.
4640         (getVisibleAmount): New method.
4641         (setBlockIncrement): New method.
4642         (setMaximum): Implemented.
4643         (setMinimum): Implemented.
4644         (setUnitIncrement): New method.
4645         (setValue): New method.
4646         (setVisibleAmount): Implemented. 
4647         (paramString): New stubbed method.
4648         * java/awt/Window.java
4649         (show): Call setVisible().
4650         (hide): Call setVisible().
4651         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4652         and WINDOW_STATE_CHANGED.
4653         (processWindowFocusEvent): New method.
4654         (processWindowStateEvent): New method.
4655         (postEvent): Deprecated.
4656         (applyResourceBundle): Deprecated.
4657         * java/awt/datatransfer/DataFlavor.java
4658         (DataFlavor): Doesn't thow ClassNotFoundException.
4659
4660 2003-03-17  Michael Koch
4661
4662         * javax/print/attribute/Attribute.java,
4663         javax/print/attribute/AttributeSet.java,
4664         javax/print/attribute/PrintRequestAttributeSet.java:
4665         New files.
4666         * Makefile.am
4667         (javax_source_files): Added new files:
4668         javax/print/attribute/Attribute.java
4669         javax/print/attribute/AttributeSet.java
4670         javax/print/attribute/PrintRequestAttributeSet.java
4671         * Makefile.in: Regenerated.
4672
4673 2003-03-17  Michael Koch
4674
4675         * javax/print/attribute/Attribute.java,
4676         javax/print/attribute/AttributeSet.java,
4677         javax/print/attribute/PrintRequestAttributeSet.java:
4678         New files.
4679         * Makefile.am
4680         (awt_java_source_files): Added new files:
4681         javax/print/attribute/Attribute.java
4682         javax/print/attribute/AttributeSet.java
4683         javax/print/attribute/PrintRequestAttributeSet.java
4684         * Makefile.in: Regenerated.
4685
4686 2003-03-16  Tom Tromey  <tromey@redhat.com>
4687
4688         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4689         Include platform.h.
4690         * java/lang/natRuntime.cc (insertSystemProperties): Use
4691         _Jv_platform_path_separator.
4692         (nativeGetLibname): Use _Jv_platform_file_separator.
4693         (_load): Use _Jv_platform_onload_names.
4694         (onload_names): New global.
4695         * include/win32.h (_Jv_platform_file_separator): New define.
4696         (_Jv_platform_path_separator): Likewise.
4697         (_Jv_platform_onload_names): Likewise.
4698         (_Jv_platform_ffi_abi): Likewise.
4699         * include/posix.h (_Jv_platform_file_separator): New define.
4700         (_Jv_platform_path_separator): Likewise.
4701         (_Jv_platform_onload_names): Likewise.
4702         (_Jv_platform_ffi_abi): Likewise.
4703
4704 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
4705
4706         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4707
4708 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
4709
4710         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4711         hierarchy loop.
4712         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4713         list to Object,ObjectStreamClass, moved callReadMethod code up into
4714         readObject and added Class argument to all setXxxField calls.
4715         (callReadMethod): Changed Class argument to ObjectStreamClass to be
4716         consistent with ObjectOutputStream and to facilitate caching the
4717         Method in the future.
4718         (setBooleanField): Added Class argument.
4719         (setByteField): Likewise.
4720         (setCharField): Likewise.
4721         (setDoubleField): Likewise.
4722         (setFloatField): Likewise.
4723         (setIntField): Likewise.
4724         (setLongField): Likewise.
4725         (setShortField): Likewise.
4726         (setObjectField): Likewise.
4727         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4728         class hierarchy loop.
4729         (defaultWriteObject): Call writeFields with new argument list.
4730         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4731         list to Object,ObjectStreamClass, moved callWriteMethod up into
4732         writeObject and added Class argument to all getXxxField calls.
4733         (callWriteMethod): Added ObjectStreamClass argument to be able to
4734         get the proper class to call getMethod on (each class can have (or
4735         not have) its own writeObject method).
4736         (getBooleanField): Added Class argument.
4737         (getByteField): Likewise.
4738         (getCharField): Likewise.
4739         (getDoubleField): Likewise.
4740         (getFloatField): Likewise.
4741         (getIntField): Likewise.
4742         (getLongField): Likewise.
4743         (getShortField): Likewise.
4744         (getObjectField): Likewise.
4745         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4746         facilitate caching the Method object in the future.
4747
4748 2003-03-12  Andreas Schwab  <schwab@suse.de>
4749
4750         * configure.in: Avoid trailing /. in toolexeclibdir.
4751         * configure: Rebuilt.
4752
4753 2003-03-11  Michael Koch  <konqueror@gmx.de>
4754
4755         * gnu/java/nio/ByteBufferImpl.java
4756         (putInt): Use limit() instead of limit.
4757         * gnu/java/nio/CharBufferImpl.java
4758         (slice): Fixed implementation.
4759         (subSequence): Better bounds checking.
4760         * gnu/java/nio/MappedByteFileBuffer.java:
4761         Import all needed classes directly.
4762         * java/nio/ByteBuffer.java
4763         (hashCode): New dummy method.
4764         * java/nio/CharBuffer.java
4765         (array_offset): New member variable.
4766         (hasArray): Fixed documentation.
4767         (arrayOffset): Return array_offset.
4768
4769 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
4770
4771         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4772         setter; made return value of getter const char* instead of char*
4773         * prims.cc: removed all references to _Jv_ThisExecutable().
4774         These are in the platform-specific sections now.
4775         * posix.cc: define platform-specific _Jv_ThisExecutable().
4776         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4777         * win32.cc: define platform-specific _Jv_ThisExecutable()
4778         using GetModuleFilename()
4779         * java/lang/natRuntime.cc: set gnu.gcj.progname property
4780         to argv[0] instead of _Jv_ThisExecutable()
4781
4782 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4783
4784         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4785         that is set if we are using addr2name.awk instead of addr2line.
4786         (NameFinder): Set usingAddr2name if using addr2name.awk.
4787         (getExternalLabel): New native method to convert a method 
4788         name to an external label.
4789         (lookup): Convert name given by addr2line to an external label
4790         before demangling.
4791
4792         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4793         constant representing the prefix attached to method names to
4794         convert them to an external label.
4795         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
4796         using LABEL_PREFIX.
4797
4798 2003-03-10  Tom Tromey  <tromey@redhat.com>
4799
4800         * Makefile.in: Rebuilt.
4801         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4802         (JC1FLAGS): Removed -Wno-deprecated.
4803
4804 2003-03-10  Michael Koch  <konqueror@gmx.de>
4805
4806         * java/nio/ByteOrder.java
4807         (nativeOrder): Working implementation, added documentation.
4808         (toString): Added documentation.
4809
4810 2003-03-10  Michael Koch  <konqueror@gmx.de>
4811
4812         * java/net/DatagramSocket.java,
4813         java/net/MulticastSocket.java,
4814         java/net/Socket.java,
4815         java/net/URL.java,
4816         java/net/URLConnection.java:
4817         Fixed some documentation tags to make javadoc and friends happy.
4818
4819 2003-03-10  Michael Koch  <koqnueror@gmx.de>
4820
4821         * java/beans/beancontext/BeanContextServicesSupport.java,
4822         java/beans/beancontext/BeanContextSupport.java: New files.
4823         * Makefile.am
4824         (awt_source_files): Added new files.
4825         * Makefile.in: Regenerated.
4826
4827 2003-03-10  Michael Koch  <konqueror@gmx.de>
4828
4829         * java/awt/FocusTraversalPolicy.java
4830         (FocusTraversalPolicy): Documentation added.
4831         (getComponentAfter): Documentation added.
4832         (getComponentBefore): Documentation added.
4833         (getFirstComponent): Documentation added.
4834         (getLastComponent): Documentation added.
4835         (getDefaultComponent): Documentation added.
4836         (getInitialComponent): Documentation added.
4837         * java/awt/ScrollPaneAdjustable.java
4838         (sp): New member variable.
4839         (orientation): New member variable.
4840         (value): New member variable.
4841         (minimum): New member variable.
4842         (maximum): New member variable.
4843         (visibleAmount): New member variable.
4844         (unitIncrement): New member variable.
4845         (blockIncrement): New member variable.
4846         (adjustmentListener): New member variable.
4847         (ScrollPaneAdjustable): Rewrote.
4848         (addAdjustmentListener): New method.
4849         (removeAdjustmentListener): New method.
4850         (getAdjustmentListeners): New method.
4851         (getBlockIncrement): New method.
4852         (getMaximum): New method.
4853         (getMinimum): New method.
4854         (getOrientation): New method.
4855         (getUnitIncrement): New method.
4856         (getValue): New method.
4857         (getVisibleAmount): New method.
4858         (setBlockIncrement): New method.
4859         (setUnitIncrement): New method.
4860         (setMaximum): Implemented.
4861         (setMinimum): Implemented.
4862         (setValue): New method.
4863         (setVisibleAmount): Implemented.
4864         (paramString): New method.
4865         * java/awt/Window.java
4866         (show): Use setVisible(true) instead of super.show().
4867         (hide): Use sevVisible(false) instead of super.hide().
4868         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4869         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4870         (postEvent): Deprecated.
4871         (applyResourceBundle): Deprecated.
4872         (processWindowFocusEvent): New method.
4873         (processWindowStateEvent): New method.
4874         * java/awt/datatransfer/DataFlavor.java: Reindented.
4875         * java/awt/font/TextHitInfo.java
4876         (charIndex): New member variable.
4877         (leadingEdge): New member variable.
4878         (TextHitInfo): New constructor.
4879         (getCharIndex): Implemented.
4880         (isLeadingEdge): Implemented.
4881         (getInsertionIndex): Implemented.
4882         (hashCode): Access charIndex directly.
4883         (equals): Reformated.
4884         (leading): Implemented.
4885         (trailing): Implemented.
4886         (beforeOffset): Implemented.
4887         (afterOffset): Implemented.
4888         (getOtherHit): Implemented.
4889         (getOffsetHit): Implemented.
4890         (toString): Implemented.
4891         * java/awt/image/BufferedImage.java
4892         (BufferedImage): Implements WritableRenderedImage.
4893         (observers): New member variable.
4894         (addTileObserver): New method.
4895         (removeTileObserver): New method.
4896
4897 2003-03-09  Tom Tromey  <tromey@redhat.com>
4898
4899         PR libgcj/9934:
4900         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4901         to lseek.  Return 0 if we can't compute the value.
4902
4903 2003-03-03  Michael Koch  <konqueror@gmx.de>
4904
4905         * java/net/NetworkInterface.java: Merged with classpath.
4906
4907 2003-03-03  Tom Tromey  <tromey@redhat.com>
4908
4909         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4910         of bytecode.
4911         (handle_ret_insn): Fail if returning to jsr that appears at end of
4912         bytecode.
4913
4914 2003-03-03  Michael Koch  <konqueror@gmx.de>
4915
4916         * Makefile.am
4917         (ordinary_java_source_files):
4918         Added gnu/java/nio/MappedByteFileBuffer.java.
4919         (nat_source_files):
4920         Added gnu/java/nio/natMappedByteFileBuffer.cc.
4921         * Makefile.in: Regenerated.
4922
4923 2003-03-03  Michael Koch  <konqueror@gmx.de>
4924
4925         * java/net/DatagramSocket.java
4926         (connect): Merged comment from classpath.
4927         (receive): Merged documentation from classpath.
4928         * java/net/Socket.java
4929         (setSoTimeout): Clarified documentation.
4930         * java/net/URL.java
4931         (getPath): Merged from classpath.
4932         (getUserInfo): Merged from classpath.
4933         (getQuery): Merged from classpath.
4934         * java/net/URLStreamHandler.java
4935         (toExternalForm): Merged from classpath.
4936
4937 2003-03-02  Mark Wielaard  <mark@klomp.org>
4938
4939         * java/util/Properties.java (load): Only skip line if the first
4940         character is a comment, whitespaces don't count.
4941
4942 2003-03-02  Michael Koch  <konqueror@gmx.de>
4943
4944         * java/net/NetPermission.java:
4945         Merged copyright with classpath.
4946
4947 2003-03-02  Michael Koch  <konqueror@gmx.de>
4948
4949         * java/lang/Package.java:
4950         Remerged from classpath.
4951
4952 2003-03-02  Michael Koch  <konqueror@gmx.de>
4953
4954         * java/net/HttpURLConnection.java
4955         (HTTP_SERVER_ERROR): Deprecated.
4956         * java/net/MulticastSocket.java
4957         (send): Replaced checkMulticast with appropriate checkPermission call,
4958         deprecated.
4959         * java/net/URLDecoder.java
4960         (decode): Deprecated.
4961         * java/net/URLEncoder.java
4962         (encode): Deprecated.
4963
4964 2003-03-02  Michael Koch  <konqueror@gmx.de>
4965
4966         * javax/swing/text/Caret.java
4967         (getMagicCaretPosition): Fixed typo in method name.
4968         * javax/swing/text/DefaultCaret.java
4969         (getMagicCaretPosition): Fixed typo in method name.
4970
4971 2003-03-02  Michael Koch  <konqueror@gmx.de>
4972
4973         * java/awt/List.java
4974         (setMultipleSelections): Deprecated.
4975         (delItem): Deprecated.
4976         * java/awt/MenuComponent.java
4977         (getPeer): Deprecated.
4978         * java/awt/ScrollPane.java
4979         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4980         * java/awt/dnd/MouseDragGestureRecognizer.java
4981         (mouseClicked): Added comment.
4982         (mousePressed): Added comment.
4983         (mouseReleased): Added comment.
4984         (mouseEntered): Added comment.
4985         (mouseExited): Added comment.
4986         (mouseDragged): Added comment.
4987         (mouseMoved): Added comment.
4988         * java/awt/event/KeyEvent.java
4989         (KeyEvent): Deprecated.
4990         (setModifiers): Deprecated.
4991         
4992 2003-03-02  Michael Koch  <konqueror@gmx.de>
4993
4994         * gnu/java/nio/FileChannelImpl.java
4995         (fd): Type FileDescriptor instead of int.
4996         (lengthInternal): Removed.
4997         (FileChannelImpl): Fixed arguments, check type of file object.
4998         (size): Made it native.
4999         (implPosition): New native method.
5000         (implTruncate): New native method.
5001         (position): Implemented.
5002         (truncate): Implemented.
5003         (nio_mmap_file): Changed arguments.
5004         (nio_munmap_file): Changed arguments.
5005         (nio_msync): Changed arguments.
5006         * gnu/java/nio/natFileChannelImpl.cc
5007         (lengthInternal): Removed.
5008         (size): New method.
5009         (implPosition): New method.
5010         (implTruncate): New method.
5011         (nio_mmap_file): Changed arguments.
5012         (nio_munmap_file): Changed arguments.
5013         (nio_msync): Changed arguments.
5014
5015 2003-03-02  Michael Koch  <konqueror@gmx.de>
5016
5017         * java/awt/dnd/DropTargetContext.java:
5018         Compile fix: Forgot to commit import.
5019         
5020 2003-03-02  Michael Koch  <konqueror@gmx.de>
5021
5022         * java/awt/Component.java,
5023         java/awt/ScrollPane.java:
5024         Fixed typos.
5025
5026 2003-03-02  Michael Koch  <konqueror@gmx.de>
5027
5028         * java/awt/dnd/DnDEventMulticaster.java: New file.
5029         * java/awt/dnd/DragSource.java
5030         (flavorMap): New member variable.
5031         (dragSourceListener): New member variable.
5032         (dragSourceMotionListener): New member variable.
5033         (getFlavorMap): Implemented.
5034         (createDragGestureRecognizer): Implemented.
5035         (addDragSourceListener): Implemented.
5036         (removeDragSourceListener): Implemented.
5037         (getDragSourceListeners): Implemented.
5038         (addDragSourceMotionListener): Implemented.
5039         (removeDragSourceMotionListener): Implemented.
5040         (getDragSourceMotionListeners): Implemented.
5041         (getListeners): Implemented.
5042         * java/awt/dnd/DragSourceContext.java
5043         (peer): New member variable.
5044         (cursor): New member variable.
5045         (transferable): New member variable.
5046         (trigger): New member variable.
5047         (dragSourceListener): New member variable.
5048         (image): New member variable.
5049         (offset): New member variable.
5050         (DragSourceContext): Implemented.
5051         (getDragSource): Implemented.
5052         (getComponent): Implemented.
5053         (getTrigger): Implemented.
5054         (getSourceActions): Implemented.
5055         (setCursor): Implemented.
5056         (getCursor): Implemented.
5057         (addDragSourceListener): Implemented.
5058         (removeDragSourceListener): Implemented.
5059         (getTransferable): Implemented.
5060         * java/awt/dnd/DropTarget.java
5061         (DropTargetAutoScroller.component): New member variable.
5062         (DropTargetAutoScroller.point): New member variable.
5063         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
5064         (DropTargetAutoScroller.updateLocation): Implemented.
5065         (active): Renamed from isActive, defaults to true now.
5066         (component): New member variable.
5067         (flavorMap): New member variable.
5068         (actions): New member variable.
5069         (dropTargetContext): New member variable.
5070         (dropTargetListener): New member variable.
5071         (DropTarget): Implemented.
5072         (getComponent): Implemented.
5073         (setComponent): Implemented.
5074         (setDefaultActions): Implemented.
5075         (getDefaultActions): Implemented.
5076         (setActive): Use active instead of isActive.
5077         (isActive): Use active instead of isActive.
5078         (addDropTargetListener): Implemented.
5079         (removeDropTargetListener): Implemented.
5080         (getFlavorMap): Implemented.
5081         (setFlavorMap): Implemented.
5082         (getDropTargetContext): Implemented.
5083         (createDropTargetContext): Implemented.
5084         (createDropTargetAutoScroller): Implemented.
5085         * java/awt/dnd/DropTargetContext.java
5086         (TransferableProxy.getTransferDataFlavors): Implemented.
5087         (TransferableProxy.isDataFlavorSupported): Implemented.
5088         (TransferableProxy.getTransferData): Implemented.
5089         (dropTarget):  New member variable.
5090         (dtcp): New member variable.
5091         (DropTargetContext): New package private constructor.
5092         (getDropTarget): Implemented.
5093         (getComponent): Implemented.
5094         (addNotify): Implemented.
5095         (removeNotify): Implemented.
5096         (getCurrentDataFlavorsAsList): Implemented.
5097         (isDataFlavorSupported): Implemented.
5098         * java/awt/dnd/MouseDragGestureRecognizer.java
5099         (registerListeners): Implemented.
5100         (unregisterListeners): Implemented.
5101         * Makefile.am
5102         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
5103         * Makefile.in: Regenerated.
5104
5105 2003-03-02  Michael Koch  <konqueror@gmx.de>
5106
5107         * java/awt/Component.java
5108         (eventTypeEnabled): New method.
5109         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
5110         * java/awt/Container.java
5111         (changeSupport): New member variable.
5112         (addPropertyChangeListener): New methods.
5113         * java/awt/ContainerOrderFocusTraversalPolicy.java
5114         (ContainerOrderFocusTraversalPolicy): Added comment.
5115         (getComponentAfter): Throw exception, documentation added.
5116         (getComponentBefore): Throw exception, documentation added.
5117         (getFirstComponent): Throw exception, documentation added.
5118         (getLastComponent): Throw exception, documentation added.
5119         (getDefaultComponent): Throw exception, documentation added.
5120         * java/awt/EventQueue.java: Reindented.
5121         * java/awt/FocusTraversalPolicy.java:
5122         (FocusTraversalPolicy): Added comment.
5123         (getComponentAfter): Documentation added.
5124         (getComponentBefore): Documentation added.
5125         (getFirstComponent): Documentation added.
5126         (getLastComponent): Documentation added.
5127         (getDefaultComponent): Documentation added.
5128         (getInitialComponent): Documentation added.
5129         * java/awt/ScrollPane.java
5130         (wheelScrollingEnabled): New member variable.
5131         (ScrollPane): Initialize wheelScollingEnabled.
5132         (eventTypeEnabled): New method.
5133         (isWheelScrollingEnabled): New method.
5134         (setWheelScrollingEnabled): New method.
5135
5136 2003-03-02  Michael Koch  <konqueror@gmx.de>
5137
5138         * java/net/DatagramSocket.java
5139         (closed): New member variable.
5140         (close): Use closed variable.
5141         (getInetAddress): No need to call isConnected().
5142         (getPort): No need to call isConnected().
5143         (disconnect): Reset remoteAddress and remotePort, fixed typo.
5144         (isClosed): Reimplemented.
5145         
5146 2003-03-02  Michael Koch  <konqueror@gmx.de>
5147
5148         * configure.in: Added check for memory mapping of files.
5149         * configure: Regenerated.
5150         * config.h.in: Regenerated.
5151
5152 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
5153
5154         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
5155         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
5156
5157 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
5158
5159         * java/io/File.java (normalizePath): Remove trailing separator
5160         on Windows only if path is not of the form "x:\".
5161
5162         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
5163         (java::io::File::attr): Change formatting a bit and use
5164         WIN32_EPOCH_MILLIS instead of magic numbers.
5165         (java::io::File::isAbsolute): Path must have at least 3 
5166         characters for a UNC network path.
5167         (java::io::File::init_native): Define.
5168         (java::io::File::performCreate): Likewise.
5169         (java::io::File::performSetReadOnly): Likewise.
5170         (java::io::File::performSetLastModified): Likewise.
5171         (java::io::File::performListRoots): Likewise.
5172
5173 2003-03-01  Tom Tromey  <tromey@redhat.com>
5174
5175         * java/lang/natObject.cc: Don't include assert.h.
5176         (heavy_lock_obj_finalization_proc): Use JvAssert.
5177         (remove_all_heavy): Likewise.
5178         (_Jv_MonitorEnter): Likewise.
5179         (_Jv_MonitorExit): Likewise.
5180         (wait): Likewise.
5181
5182 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
5183
5184         * java/io/File (getAbsolutePath): Prefix drive specifier on
5185         Windows for paths starting with a '\'.
5186         (toURL): Make URL more consistent with what Sun's JDK returns.
5187
5188         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
5189         true only if the path is a UNC network path or it starts with a
5190         drive specifier.
5191
5192         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
5193         Be prepared to handle either '/' or '\\' in the file path for
5194         Windows if using the "file" protocol.
5195         Canonicalise the file path if using a relative path in the given
5196         context and the "file" protocol.
5197
5198 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
5199
5200         * java/lang/natWin32Process.cc (startProcess): Double-quote each
5201         program array element passed to CreateProcess.
5202
5203 2003-03-01  Tom Tromey  <tromey@redhat.com>
5204
5205         * java/rmi/registry/RegistryHandler.java: Deprecate.
5206
5207 2003-03-01  Tom Tromey  <tromey@redhat.com>
5208
5209         * javax/accessibility/AccessibleEditableText.java,
5210         javax/accessibility/AccessibleHyperlink.java: New versions from
5211         Classpath.
5212
5213         * gnu/java/locale/LocaleInformation_af_ZA.java,
5214         gnu/java/locale/LocaleInformation_ar_AE.java,
5215         gnu/java/locale/LocaleInformation_ar_BH.java,
5216         gnu/java/locale/LocaleInformation_ar_DZ.java,
5217         gnu/java/locale/LocaleInformation_ar_EG.java,
5218         gnu/java/locale/LocaleInformation_ar_IN.java,
5219         gnu/java/locale/LocaleInformation_ar_IQ.java,
5220         gnu/java/locale/LocaleInformation_ar_JO.java,
5221         gnu/java/locale/LocaleInformation_ar_KW.java,
5222         gnu/java/locale/LocaleInformation_ar_LB.java,
5223         gnu/java/locale/LocaleInformation_ar_LY.java,
5224         gnu/java/locale/LocaleInformation_ar_MA.java,
5225         gnu/java/locale/LocaleInformation_ar_OM.java,
5226         gnu/java/locale/LocaleInformation_ar_QA.java,
5227         gnu/java/locale/LocaleInformation_ar_SD.java,
5228         gnu/java/locale/LocaleInformation_ar_SY.java,
5229         gnu/java/locale/LocaleInformation_ar_TN.java,
5230         gnu/java/locale/LocaleInformation_ar_YE.java,
5231         gnu/java/locale/LocaleInformation_be_BY.java,
5232         gnu/java/locale/LocaleInformation_bn_IN.java,
5233         gnu/java/locale/LocaleInformation_br_FR.java,
5234         gnu/java/locale/LocaleInformation_bs_BA.java,
5235         gnu/java/locale/LocaleInformation_ca_ES.java,
5236         gnu/java/locale/LocaleInformation_cs_CZ.java,
5237         gnu/java/locale/LocaleInformation_cy_GB.java,
5238         gnu/java/locale/LocaleInformation_da_DK.java,
5239         gnu/java/locale/LocaleInformation_de_AT.java,
5240         gnu/java/locale/LocaleInformation_de_BE.java,
5241         gnu/java/locale/LocaleInformation_de_CH.java,
5242         gnu/java/locale/LocaleInformation_de_DE.java,
5243         gnu/java/locale/LocaleInformation_de_LU.java,
5244         gnu/java/locale/LocaleInformation_el_GR.java,
5245         gnu/java/locale/LocaleInformation_en_AU.java,
5246         gnu/java/locale/LocaleInformation_en_BW.java,
5247         gnu/java/locale/LocaleInformation_en_CA.java,
5248         gnu/java/locale/LocaleInformation_en_DK.java,
5249         gnu/java/locale/LocaleInformation_en_GB.java,
5250         gnu/java/locale/LocaleInformation_en_HK.java,
5251         gnu/java/locale/LocaleInformation_en_IE.java,
5252         gnu/java/locale/LocaleInformation_en_IN.java,
5253         gnu/java/locale/LocaleInformation_en_NZ.java,
5254         gnu/java/locale/LocaleInformation_en_PH.java,
5255         gnu/java/locale/LocaleInformation_en_SG.java,
5256         gnu/java/locale/LocaleInformation_en_US.java,
5257         gnu/java/locale/LocaleInformation_en_ZA.java,
5258         gnu/java/locale/LocaleInformation_en_ZW.java,
5259         gnu/java/locale/LocaleInformation_es_AR.java,
5260         gnu/java/locale/LocaleInformation_es_BO.java,
5261         gnu/java/locale/LocaleInformation_es_CL.java,
5262         gnu/java/locale/LocaleInformation_es_CO.java,
5263         gnu/java/locale/LocaleInformation_es_CR.java,
5264         gnu/java/locale/LocaleInformation_es_DO.java,
5265         gnu/java/locale/LocaleInformation_es_EC.java,
5266         gnu/java/locale/LocaleInformation_es_ES.java,
5267         gnu/java/locale/LocaleInformation_es_GT.java,
5268         gnu/java/locale/LocaleInformation_es_HN.java,
5269         gnu/java/locale/LocaleInformation_es_MX.java,
5270         gnu/java/locale/LocaleInformation_es_NI.java,
5271         gnu/java/locale/LocaleInformation_es_PA.java,
5272         gnu/java/locale/LocaleInformation_es_PE.java,
5273         gnu/java/locale/LocaleInformation_es_PR.java,
5274         gnu/java/locale/LocaleInformation_es_PY.java,
5275         gnu/java/locale/LocaleInformation_es_SV.java,
5276         gnu/java/locale/LocaleInformation_es_US.java,
5277         gnu/java/locale/LocaleInformation_es_UY.java,
5278         gnu/java/locale/LocaleInformation_es_VE.java,
5279         gnu/java/locale/LocaleInformation_et_EE.java,
5280         gnu/java/locale/LocaleInformation_eu_ES.java,
5281         gnu/java/locale/LocaleInformation_fa_IR.java,
5282         gnu/java/locale/LocaleInformation_fi_FI.java,
5283         gnu/java/locale/LocaleInformation_fo_FO.java,
5284         gnu/java/locale/LocaleInformation_fr_BE.java,
5285         gnu/java/locale/LocaleInformation_fr_CA.java,
5286         gnu/java/locale/LocaleInformation_fr_CH.java,
5287         gnu/java/locale/LocaleInformation_fr_FR.java,
5288         gnu/java/locale/LocaleInformation_fr_LU.java,
5289         gnu/java/locale/LocaleInformation_ga_IE.java,
5290         gnu/java/locale/LocaleInformation_gd_GB.java,
5291         gnu/java/locale/LocaleInformation_gl_ES.java,
5292         gnu/java/locale/LocaleInformation_gv_GB.java,
5293         gnu/java/locale/LocaleInformation_he_IL.java,
5294         gnu/java/locale/LocaleInformation_hi_IN.java,
5295         gnu/java/locale/LocaleInformation_hr_HR.java,
5296         gnu/java/locale/LocaleInformation_hu_HU.java,
5297         gnu/java/locale/LocaleInformation_id_ID.java,
5298         gnu/java/locale/LocaleInformation_it_CH.java,
5299         gnu/java/locale/LocaleInformation_it_IT.java,
5300         gnu/java/locale/LocaleInformation_iw_IL.java,
5301         gnu/java/locale/LocaleInformation_ja_JP.java,
5302         gnu/java/locale/LocaleInformation_ka_GE.java,
5303         gnu/java/locale/LocaleInformation_kl_GL.java,
5304         gnu/java/locale/LocaleInformation_ko_KR.java,
5305         gnu/java/locale/LocaleInformation_kw_GB.java,
5306         gnu/java/locale/LocaleInformation_lt_LT.java,
5307         gnu/java/locale/LocaleInformation_lv_LV.java,
5308         gnu/java/locale/LocaleInformation_mi_NZ.java,
5309         gnu/java/locale/LocaleInformation_mk_MK.java,
5310         gnu/java/locale/LocaleInformation_mr_IN.java,
5311         gnu/java/locale/LocaleInformation_mt_MT.java,
5312         gnu/java/locale/LocaleInformation_nl_BE.java,
5313         gnu/java/locale/LocaleInformation_nl_NL.java,
5314         gnu/java/locale/LocaleInformation_nn_NO.java,
5315         gnu/java/locale/LocaleInformation_no_NO.java,
5316         gnu/java/locale/LocaleInformation_oc_FR.java,
5317         gnu/java/locale/LocaleInformation_pl_PL.java,
5318         gnu/java/locale/LocaleInformation_pt_BR.java,
5319         gnu/java/locale/LocaleInformation_pt_PT.java,
5320         gnu/java/locale/LocaleInformation_ro_RO.java,
5321         gnu/java/locale/LocaleInformation_ru_RU.java,
5322         gnu/java/locale/LocaleInformation_ru_UA.java,
5323         gnu/java/locale/LocaleInformation_se_NO.java,
5324         gnu/java/locale/LocaleInformation_sk_SK.java,
5325         gnu/java/locale/LocaleInformation_sl_SI.java,
5326         gnu/java/locale/LocaleInformation_sq_AL.java,
5327         gnu/java/locale/LocaleInformation_sr_YU.java,
5328         gnu/java/locale/LocaleInformation_sv_FI.java,
5329         gnu/java/locale/LocaleInformation_sv_SE.java,
5330         gnu/java/locale/LocaleInformation_ta_IN.java,
5331         gnu/java/locale/LocaleInformation_te_IN.java,
5332         gnu/java/locale/LocaleInformation_tg_TJ.java,
5333         gnu/java/locale/LocaleInformation_tl_PH.java,
5334         gnu/java/locale/LocaleInformation_tr_TR.java,
5335         gnu/java/locale/LocaleInformation_uk_UA.java,
5336         gnu/java/locale/LocaleInformation_ur_PK.java,
5337         gnu/java/locale/LocaleInformation_uz_UZ.java,
5338         gnu/java/locale/LocaleInformation_vi_VN.java,
5339         gnu/java/locale/LocaleInformation_yi_US.java,
5340         gnu/java/locale/LocaleInformation_zh_CN.java,
5341         gnu/java/locale/LocaleInformation_zh_HK.java,
5342         gnu/java/locale/LocaleInformation_zh_SG.java,
5343         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
5344         info; from Classpath.
5345
5346         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
5347         isPaintPending): New methods.
5348         * gnu/awt/xlib/XFramePeer.java (getState, setState,
5349         setMaximizedBounds): New methods.
5350         (beginLayout, endLayout, isPaintPending): Likewise.
5351         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
5352         (requestFocus): Likewise.
5353         (isObscured): Likewise.
5354         (canDetermineObscurity): Likewise.
5355         (coalescePaintEvent): Likewise.
5356         (updateCursorImmediately): Likewise.
5357         (createVolatileImage): Likewise.
5358         (handlesWheelScrolling): Likewise.
5359         (createBuffers): Likewise.
5360         (getBackBuffer): Likewise.
5361         (flip): Likewise.
5362         (destroyBuffers): Likewise.
5363
5364         * Makefile.in: Rebuilt.
5365         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
5366         RobotPeer.java.
5367         * gnu/java/awt/GLightweightPeer.java,
5368         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5369         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5370         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5371         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5372         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5373         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5374         java/awt/dnd/peer/DragSourceContextPeer.java,
5375         java/awt/dnd/peer/DropTargetContextPeer.java,
5376         java/awt/peer/ButtonPeer.java,
5377         java/awt/peer/CheckboxMenuItemPeer.java,
5378         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
5379         java/awt/peer/ComponentPeer.java,
5380         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
5381         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
5382         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
5383         java/awt/peer/MenuBarPeer.java,
5384         java/awt/peer/MenuComponentPeer.java,
5385         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
5386         java/awt/peer/PopupMenuPeer.java,
5387         java/awt/peer/ScrollPanePeer.java,
5388         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
5389         java/awt/peer/TextComponentPeer.java,
5390         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
5391         New versions from Classpath.
5392         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
5393         * java/awt/peer/RobotPeer.java: Likewise.
5394
5395 2003-03-01  Mark Wielaard  <mark@klomp.org>
5396
5397         * java/io/ObjectInputStream.java: Reindent.
5398         * java/io/ObjectOutputStream.java: Likewise.
5399
5400 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
5401
5402         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
5403         jvalue for each argument. Simplify.
5404         * testsuite/libjava.jni/calls.c (docall),
5405         testsuite/libjava.jni/calls.java (longpb_f): check for argument
5406         misalignment.
5407
5408 2003-02-28  Mark Wielaard  <mark@klomp.org>
5409
5410         * Makefile.am (nat_source_files): Remove
5411         java/io/natObjectOutputStream.cc.
5412         * Makefile.in: Regenerated.
5413         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
5414         * java/io/ObjectStreamField.java (typename): New field.
5415         (ObjectStreamField(String, Class)): Initialize new field.
5416         (ObjectStreamField(String, String)): New Constructor.
5417         (getTypeCode): Use new field.
5418         (getTypeString): Use new field.
5419         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
5420         ObjectStreamExceptions. Remember and reset old BlockDataMode.
5421         Handle reading of Proxy classes. Never drain(), just write
5422         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
5423         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
5424         (flush): Call flush(), not just drain().
5425         (writeBoolean): Always use blockDataOutput.
5426         (writeByte): Likewise.
5427         (writeShort): Likewise.
5428         (writeChar): Likewise.
5429         (writeInt): Likewise.
5430         (writeLong): Likewise.
5431         (writeFloat): Likewise.
5432         (writeDouble): Likewise.
5433         (writeBytes): Likewise.
5434         (putfield (put(String,Object))): Throw IllegalArgumentException if
5435         field cannot be found.
5436         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5437         (writeArraySizeAndElements): Write byte[] in one go.
5438         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5439         set BlockDataMode to false.
5440         (annotateProxyClass): New method.
5441         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5442         (getField): No longer native.
5443         (getMethod): Likewise.
5444         (setBlockDataMode): Always drain() on switch, return old mode.
5445         (static): New static code block.
5446         * java/io/natObjectOutputStream.cc: Removed.
5447         * java/io/ObjectInputStream.java (getField): No longer native.
5448         (getMethod): Likewise.
5449         (readObject): Remember and reset old BlockDataMode. Track whether
5450         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5451         TC_LONGSTRING.
5452         (defaultReadObject): Set BlockDataMode to false during readFields.
5453         (resolveClass): Create new SecurityManager if necessary.
5454         Use Class.forName() if null ClassLoader found.
5455         (read(byte[],int,int): Copy remaining bytes to data before calling
5456         readNextBlock().
5457         (readFields): Set and reset BlockDataMode on call_read_method.
5458         Catch NoSuchFieldErrors.
5459         (setBlockDataMode): Return old mode.
5460         (static): New static code block.
5461         * java/io/natObjectInputStream.cc (getField): Removed.
5462         (getMethod): Likewise.
5463
5464 2003-02-27  Michael Koch  <konqueror@gmx.de>
5465
5466         * java/beans/Beans.java,
5467         java/beans/FeatureDescriptor.java
5468         java/beans/PropertyEditorManager.java:
5469         Reformated to GNU style.
5470
5471 2003-02-25  Michael Koch  <konqueror@gmx.de>
5472
5473         * gnu/java/nio/MappedByteFileBuffer.java,
5474         gnu/java/nio/natMappedByteFileBuffer.cc:
5475         New files, both are not compiled yet to get not noncompiling CVS.
5476
5477 2003-02-24  Tom Tromey  <tromey@redhat.com>
5478
5479         * java/util/prefs/AbstractPreferences.java (isUserNode):
5480         Implemented.
5481
5482 2003-02-24  Tom Tromey  <tromey@redhat.com>
5483
5484         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5485         Deprecate.
5486         * java/lang/Thread.java (resume): Deprecate.
5487         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5488         in @deprecated.
5489
5490 2003-02-23  Tom Tromey  <tromey@redhat.com>
5491
5492         * Makefile.in: Rebuilt.
5493         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5494
5495 2003-02-23  Tom Tromey  <tromey@redhat.com>
5496
5497         * java/lang/natRuntime.cc (libraries_size, libraries_count,
5498         libraries): Removed.
5499         (add_library): Removed.
5500         (_load): Don't call add_library.
5501         (loadLibraryInternal): Likewise.
5502         (init): Likewise.
5503         (lookup_data): New struct.
5504         (find_symbol): New function.
5505         (_Jv_FindSymbolInExecutable): Use it.
5506
5507 2002-02-21  Anthony Green  <green@redhat.com>
5508
5509         * java/lang/Thread.java (Thread): New constructor taking stack
5510         size parameter (ignored for now).
5511         * Many methods: Merged GNU Classpath documentation.
5512
5513         * java/lang/Class.java (finalize): throws a Throwable.
5514
5515 2003-02-21  Mark Wielaard  <mark@klomp.org>
5516
5517         * java/util/zip/ZipEntry.java (setComment): Don't check length when
5518         argument is null.
5519
5520 2003-02-21  Mark Wielaard  <mark@klomp.org>
5521
5522         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5523         then 65535 chars throw IllegalArgumentException.
5524
5525 2003-02-21  Mark Wielaard  <mark@klomp.org>
5526
5527         * java/util/zip/ZipFile.java (finalize): New method.
5528
5529 2003-02-21  Michael Koch  <konqueror@gmx.de>
5530
5531         * gnu/java/nio/natSocketChannelImpl.cc:
5532         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5533         <cato@df.lth.se> for pointing to it.
5534
5535 2003-02-20  Raif S. Naffah <raif@fl.net.au>
5536
5537         * java/math/BigInteger.java (euclidInv): Take result array as an
5538         argument.  Updated all callers.
5539         (modInverse): Removed unused variables.
5540
5541 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
5542
5543         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5544         config.status.
5545         * configure: Rebuilt.
5546
5547 2003-02-19  Michael Koch  <konqueror@gmx.de>
5548
5549         * gnu/java/nio/natSocketChannelImpl.cc:
5550         Added support for platforms without network support.
5551
5552 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5553
5554         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5555         after config.h.  Use <> for consistency.
5556         * java/lang/natObject.cc: Likewise.
5557         * java/lang/natRuntime.cc: Likewise.
5558         * java/lang/natSystem.cc: Likewise.
5559         * java/util/natTimeZone.cc: Likewise.
5560         * win32.cc: Likewise.
5561         * include/posix.h (fcntl, socket, connect, close, bind, accept,
5562         listen, write, read): Undef to avoid interference from OS macros.
5563
5564 2003-02-19  Michael Koch  <konqueror@gmx.de>
5565
5566         * gnu/java/nio/ByteBufferImpl.java
5567         (ByteBufferImpl): Renamed two variables.
5568         * gnu/java/nio/CharBufferImpl.java
5569         (CharBufferImpl): Renamed two variables.
5570         * gnu/java/nio/DoubleBufferImpl.java
5571         (DoubleBufferImpl): Renamed two variables.
5572         * gnu/java/nio/FloatBufferImpl.java
5573         (FloatBufferImpl): Renamed two variables.
5574         * gnu/java/nio/IntBufferImpl.java
5575         (IntBufferImpl): Renamed two variables.
5576         * gnu/java/nio/LongBufferImpl.java
5577         (LongBufferImpl): Renamed two variables.
5578         * gnu/java/nio/ShortBufferImpl.java
5579         (ShortBufferImpl): Renamed two variables.
5580         * java/nio/CharBuffer.java
5581         (wrap): Fixed arguments to CharBufferImpl constructor.
5582         (hasArray): Only not read-only buffers have backing arrays.
5583         (length): Documentation added.
5584         (subSequence): Documentation added.
5585         * java/nio/DoubleBuffer.java
5586         (hasArray): Only not read-only buffers have backing arrays.
5587         * java/nio/FloatBuffer.java
5588         (hasArray): Only not read-only buffers have backing arrays.
5589         * java/nio/IntBuffer.java
5590         (hasArray): Only not read-only buffers have backing arrays.
5591         * java/nio/LongBuffer.java
5592         (hasArray): Only not read-only buffers have backing arrays.
5593         * java/nio/ShortBuffer.java
5594         (hasArray): Only not read-only buffers have backing arrays.
5595         
5596 2003-02-19  Michael Koch  <konqueror@gmx.de>
5597
5598         * javax/accessibility/AccessibleContext.java
5599         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5600
5601 2003-02-19  Michael Koch  <konqueror@gmx.de>
5602
5603         * java/awt/ScrollPaneAdjustable.java: Reformated.
5604
5605 2003-02-19  Michael Koch <konqueror@gmx.de>
5606
5607         * gnu/awt/j2d/Graphics2DImpl.java
5608         (getFontRenderContext): New method.
5609         (drawGlyphVector): New method.
5610         * java/awt/Graphics2D.java
5611         (getFontRenderContext): New abstract method.
5612         (drawGlyphVector): New abstract method.
5613         
5614 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
5615
5616         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5617         if necessary.
5618         
5619         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5620         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5621         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5622         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5623         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5624         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5625         (setFont, gtkSetFont): add.
5626         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5627         Propagate font to peer.  (setFont): add FIXME comment.
5628
5629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5630         (gtkTextGetSize): fix height, width computation.
5631
5632         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5633         Make X font name a bit less bogus.
5634
5635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5636         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5637
5638         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5639         (processAdjustmentEvent): Adjust value.
5640
5641         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5642         logic errors.
5643
5644         * java/awt/Component.java (setVisible, show, hide): Call show and
5645         hide methods in subclasses.
5646         (getPreferredSize): don't set prefSize before we have peer.
5647
5648         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5649         Guess (0,0) if we don't have peer.
5650
5651
5652 2003-02-18  Michael Koch  <konqueror@gmx.de>
5653
5654         * java/nio/channels/FileChannel.java
5655         (toString): New implementation, added documentation.
5656         (map): Added exception documentation.
5657         (size): Added exception documentation.
5658         (write): New methods, documentation work.
5659         (read): New methods, documentation work.
5660         (implCloseChannel): Rewrote exception documentation.
5661         (force): Throws IOException, added documentation.
5662         (lock): New methods.
5663         (tryLock): New methods.
5664         (position): New methods.
5665         (transferTo): New method.
5666         (transferFrom): New method.
5667         (truncate): New method.
5668         * java/nio/channels/spi/SelectorProvider.java
5669         (provider): Implemented.
5670         * Makefile.am
5671         (ordinary_java_source_files): Added the following files:
5672         gnu/java/nio/DatagramChannelImpl.java
5673         gnu/java/nio/FileChannelImpl.java
5674         gnu/java/nio/PipeImpl.java
5675         gnu/java/nio/SelectionKeyImpl.java
5676         gnu/java/nio/SelectorImpl.java
5677         gnu/java/nio/SelectorProviderImpl.java
5678         gnu/java/nio/ServerSocketChannelImpl.java
5679         gnu/java/nio/SocketChannelImpl.java
5680         java/nio/channels/FileLock.java
5681         (nat_java_source_files): Added the following files:
5682         gnu/java/nio/natFileChannelImpl.cc
5683         gnu/java/nio/natSelectorImpl.cc
5684         gnu/java/nio/natSocketChannelImpl.cc
5685         * Makefile.in: Regenerated.
5686
5687 2003-02-17  Tom Tromey  <tromey@redhat.com>
5688
5689         * java/awt/image/ColorModel.java: Re-merged with Classpath.
5690         * java/awt/image/ImageFilter.java: Likewise.
5691
5692 2003-02-17  Raif S. Naffah <raif@fl.net.au>
5693
5694         * java/math/BigInteger.java (euclidInv): Return array of
5695         `BigInteger's.  Changed all callers.
5696
5697 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
5698
5699         * java/util/Properties.java (store): Move the code formerly in
5700         list(), into this method.
5701         (list (PrintStream)): Just call list (PrintWriter) with a 
5702         PrintWriter object constructed from the given PrintStream object.
5703         (list (PrintWriter)): Emulate the output of Properties.list()
5704         as found in JDK 1.3/1.4.
5705
5706 2003-02-17  Michael Koch  <konqueror@gmx.de>
5707
5708         * java/net/DatagramSocket.java
5709         (connect): Merged with classpath.
5710         (disconnect): Merged documentation with classpath.
5711         (receice): Merged documentation with classpath.
5712         (send): Merged documentation with classpath.
5713         
5714 2003-02-17  Michael Koch  <konqueror@gmx.de>
5715
5716         * java/awt/dnd/DragSourceContext.java
5717         (addDragSourceListener): Added documentation.
5718         * java/awt/dnd/DragSourceDragEvent.java
5719         (serialVersionUID): New member variable.
5720         (getDropAction): Reformated.
5721         * java/awt/dnd/DragSourceDropEvent.java
5722         (serialVersionUID): New member variable.
5723         (dropSuccess): Renamed from success for serialization issues.
5724         * java/awt/dnd/DragSourceEvent.java
5725         (serialVersionUID): New member variable.
5726         * java/awt/dnd/DropTarget.java
5727         (serialVersionUID): New member variable.
5728         (DropTarget): Implemented, documentation reworked.
5729         (setComponent): Documentation added.
5730         (getComponent): Documentation added.
5731         (setDefaultActions): Documentation added.
5732         (getDefaultActions): Documentation added.
5733         (addDropTargetListener): Documentation added.
5734         * java/awt/dnd/DropTargetContext.java
5735         (DropTargetContext): Documentation added.
5736         (TransferableProxy.TransferableProxy): New method.
5737         (dropComplete): Fixed documentation.
5738         (getTransferable): Fixed documentation.
5739         (createTransferableProxy): Implemented.
5740         * java/awt/dnd/DropTargetDragEvent.java
5741         (DropTargetDragEvent): Documentation added.
5742         (serialVersionUID): New member variable.
5743         (DropTargetDragEvent): Throw exceptions, documentation added.
5744         (acceptDrag): Implemented.
5745         (getCurrentDataFlavors): Implemented.3yy
5746         (getCurrentDataFlavorsAsList): Implemented.
5747         (isDataFlavorSupported): Implemented.
5748         (rejectDrag): Implemented.
5749         * java/awt/dnd/DropTargetDropEvent.java
5750         (DropTargetDropEvent): Documentation added.
5751         (serialVersionUID): New member variable.
5752         (actions): Renamed from srcActions for serialization issues.
5753         (isLocalTx): Renamed from isLocalTx for serialization issues.
5754         (DropTargetDropEvent): New implementation, throw exceptions,
5755         documentation added.
5756         (getCurrentDataFlavors): Implemented.
5757         (getCurrentDataFlavorsAsList): Implemented.
5758         (isDataFlavorSupported): Implemented.
5759         (getSourceActions): Implemented.
5760         (getDropAction): Implemented.
5761         (getTransferable): Implemented.
5762         (acceptDrop): Implemented.
5763         (rejectDrop): Implemented.
5764         * java/awt/dnd/DropTargetListener.java
5765         (drop): Fixed documentation.
5766         * java/awt/dnd/MouseDragGestureRecognizer.java
5767         (MouseDragGestureRecognizer): Documentation added.
5768
5769 2003-02-17  Michael Koch  <konqueror@gmx.de>
5770
5771         * java/awt/font/FontRenderContext.java,
5772         java/awt/font/ShapeGraphicAttribute.java,
5773         java/awt/font/MultipleMaster.java,
5774         java/awt/font/TransformAttribute.java,
5775         java/awt/font/GlyphJustificationInfo.java,
5776         java/awt/font/LineBreakMeasurer.java,
5777         java/awt/font/TextMeasurer.java,
5778         java/awt/font/TextLayout.java,
5779         java/awt/font/LineMetrics.java,
5780         java/awt/font/TextAttribute.java,
5781         java/awt/font/GlyphMetrics.java,
5782         java/awt/font/OpenType.java,
5783         java/awt/font/GlyphVector.java,
5784         java/awt/font/GraphicAttribute.java,
5785         java/awt/font/ImageGraphicAttribute.java,
5786         java/awt/font/NumericShaper.java: New files.
5787         * Makefile.am
5788         (awt_java_source_files): Added the following files:
5789         java/awt/font/FontRenderContext.java
5790         java/awt/font/ShapeGraphicAttribute.java
5791         java/awt/font/MultipleMaster.java
5792         java/awt/font/TransformAttribute.java
5793         java/awt/font/GlyphJustificationInfo.java
5794         java/awt/font/LineBreakMeasurer.java
5795         java/awt/font/TextMeasurer.java
5796         java/awt/font/TextLayout.java
5797         java/awt/font/LineMetrics.java
5798         java/awt/font/TextAttribute.java
5799         java/awt/font/GlyphMetrics.java
5800         java/awt/font/OpenType.java
5801         java/awt/font/GlyphVector.java
5802         java/awt/font/GraphicAttribute.java
5803         java/awt/font/ImageGraphicAttribute.java
5804         java/awt/font/NumericShaper.java
5805         * Makefile.in: Regenerated.
5806
5807 2003-02-17  Michael Koch  <konqueror@gmx.de>
5808
5809         * java/awt/print/Paper.java
5810         (Paper): Implements Cloneable.
5811         * java/awt/print/PrinterJob.java
5812         (setJobName): Return value must be void.
5813         (print): Throws PrinterException.
5814         
5815 2003-02-16  Tom Tromey  <tromey@redhat.com>
5816
5817         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5818         variable.
5819
5820 2003-02-15  Michael Koch  <konqueror@gmx.de>
5821
5822         * java/awt/datatransfer/DataFlavor.java
5823         (isRepresentationClassByteBuffer): Removed try-catch block.
5824         (isRepresentationClassCharBuffer): Removed try-catch block.
5825         (isRepresentationClassReader): Removed try-catch block.
5826
5827 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
5828
5829         * java/nio/charset/Charset.java
5830         (isRegistered): Fixed method args and implementation.
5831         * java/nio/charset/CharsetEncoder.java
5832         (unmappableCharacterAction): New method.
5833
5834 2003-02-15  Michael Koch  <konqueror@gmx.de>
5835
5836         * java/awt/CheckboxMenuItem.java
5837         (CheckBoxMenuItem): Dont implement Serializable.
5838         (getListeners): New method,
5839         (getItemListeners): New method.
5840         * java/awt/Choice.java
5841         (getListeners): New method,
5842         (getItemListeners): New method.
5843         * java/awt/Container.java
5844         (getListeners): Added exception documentation.
5845         (setFocusTraversalKeys): Throw exceptions, added documentattion.
5846         (getFocusTraversalKeys): Added documentation.
5847         (areFocusTraversalKeysSet): Added documentation.
5848         (applyComponentOrientation): Added documentation.
5849         * java/awt/ContainerOrderFocusTraversalPolicy.java
5850         (implicitDownCycleTraversal): Renamed from downCycle for
5851         serialization.
5852         (ContainerOrderFocusTraversalPolicy): Added documentation.
5853         (accept): Reformated.
5854         * java/awt/Dialog.java
5855         (Dialog): Dont implement Serializable.
5856         (Dialog): Added documentation.
5857         * java/awt/Font.java
5858         (Font): Dont use absolute class name.
5859         * java/awt/Frame.java
5860         (Frame): Font implement Serializable.
5861         * java/awt/List.java
5862         (getListeners): New method,
5863         (getActionListeners): New method.       
5864         (getItemListeners): New method.
5865         * java/awt/Menu.java
5866         (countItems): New deprecated method.
5867         * java/awt/Scrollbar.java
5868         (getListeners): New method,
5869         (getAdjustmentListeners): New method,
5870         * java/awt/TextComponent.java
5871         (getListeners): New method,
5872         (getTextListeners): New method,
5873         * java/awt/TextField.java
5874         (getListeners): New method,
5875         (getActionListeners): New method.       
5876         * java/awt/Window.java
5877         (windowFocusListener): New member variable.
5878         (windowStateListener): New member variable.
5879         (getWindowFocusListeners): New method.
5880         (getWindowStateListeners): New method.
5881         (addWindowFocusListener): New method.
5882         (addWindowStateListener): New method.
5883         (removeWindowFocusListener): New method.
5884         (removeWindowStateListener): New method.
5885         * java/awt/datatransfer/DataFlavor.java
5886         (isRepresentationClassByteBuffer): New method.
5887         (isRepresentationClassCharBuffer): New method.
5888         (isRepresentationClassReader): New method.
5889
5890 2003-02-14  Mark Wielaard  <mark@klomp.org>
5891
5892         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5893         zero when there is an exponent and the significant is zero.
5894         (divide): Always set scale to newScale even in special ZERO case.
5895
5896 2003-02-14  Tom Tromey  <tromey@redhat.com>
5897
5898         * java/lang/System.java (properties): Use Properties.clone.
5899         (setProperties): Likewise.
5900
5901 2003-02-14  Michael Koch  <konqueror@gmx.de>
5902
5903         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5904         * gnu/java/nio/ServerSocketChannelImpl.java
5905         (SocketAccept): Removed.
5906         (accept): Commented out use of SocketAccept.
5907
5908 2003-02-13  Tom Tromey  <tromey@redhat.com>
5909
5910         * verify.cc (state::seen_subrs): New field.
5911         (state::state): Initialize it.
5912         (state::clean_subrs): New method.
5913         (state::~state): Call it.
5914         (state::copy): Copy subroutine list.
5915         (state::add_subr): New method.
5916         (state::merge): Only register a change if the current subroutine
5917         hasn't yet been noted.
5918
5919 2003-02-13  Mark Wielaard  <mark@klomp.org>
5920
5921         * java/io/InputStreamReader.java (getEncoding): Return null when
5922         closed.
5923         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5924
5925 2003-02-13  Mark Wielaard  <mark@klomp.org>
5926  
5927         * java/util/zip/InflaterInputStream.java (read): Return zero when len
5928         is zero.
5929
5930 2003-02-13  Mark Wielaard  <mark@klomp.org>
5931
5932         * java/io/BufferedOutputStream.java (write(int)): Only flush when
5933         next byte cannot be buffered.
5934
5935 2003-02-13  Michael Koch  <konqueror@gmx.de>
5936  
5937         * java/awt/Label.java
5938         (Label): Don't implement Serializable directly.
5939         (addNotify): Fixed typo in documentation.
5940         * java/awt/List.java
5941         (List): Don't implement Serializable directly.
5942         * java/awt/PopupMenu.java
5943         (PopupMenu): Don't implement Serializable directly.
5944         * java/awt/ScrollPane.java
5945         (ScrollPane): Don't implement Serializable directly.
5946         * java/awt/Scrollbar.java
5947         (Scrollbar): Don't implement Serializable directly.
5948         * java/awt/TextArea.java
5949         (preferredSize): Fixed method arguments.
5950         * java/awt/TextField.java
5951         (TextField): Don't implement Serializable directly.
5952         * java/awt/color/ICC_ColorSpace.java
5953         (fromCIOXYZ): Documentation added.
5954         (getMinValue): Documentation added.
5955         (getMaxValue): Documentation added.
5956         * java/awt/datatransfer/DataFlavor.java
5957         (isMimeTypeEqual): May not be final.
5958         (clone): Throws CloneNotSupportedException.
5959         (getReaderForText): Don't throws UnsupportedEncodingException.
5960
5961 2003-02-13  Michael Koch  <konqueror@gmx.de>
5962  
5963         * gnu/java/awt/peer/gtk/GdkGraphics.java
5964         (drawString): New stubbed method.
5965         * java/awt/Graphics.java
5966         (drawString): New method.
5967
5968 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
5969
5970         PR libgcj/9271:
5971         * java/security/SecureRandom.java (next): Avoid bias in results.
5972
5973 2003-02-13  Michael  <konqueror@gmx.de>
5974
5975         * gnu/java/nio/FileChannelImpl.java
5976         (lengthInternal): Must be native.
5977         (size): Check if channel is already closed.
5978         (implCloseChannel): Reformated.
5979         (read): w was unused, removed it.
5980         (read): Removed.
5981         (read): New method.
5982         (write): New method.
5983         (map): Check arguments.
5984         (force): Throws IOException, check if channel is closed.
5985         (transferTo): New method.
5986         (transferFrom): New method.
5987         (lock): New method.
5988         (tryLock): New method.
5989         (position): New method.
5990         (truncate): New method.
5991         (nio_mmap_file): Uncommented.
5992         (nio_munmap_file): Uncommented.
5993         (nio_msync): Uncommented.
5994         * gnu/java/nio/natFileChannelImpl.cc: New file.
5995         
5996 2003-02-13  Michael Koch  <konqueror@gmx.de>
5997
5998         * java/nio/ByteBuffer.java
5999         (endian): New member variable.
6000         (get): New methods.
6001         (equals): New method.
6002         (compareTo): New method.
6003         (order): New methods.
6004         (compact): New method.
6005         (isDirect): New method.
6006         (slice): New method.
6007         (duplicate): New method.
6008         (asReadOnlyBuffer): New method.
6009         (asCharBuffer): New method.
6010         (asDoubleBuffer): New method.
6011         (asFloatBuffer): New method.
6012         (asIntBuffer): New method.
6013         (asLongBuffer): New method.
6014         (asShortBuffer): New method.
6015         (get*): New methods.
6016         (put*): New methods.
6017         (toString): New method.
6018         * java/nio/CharBuffer.java
6019         (CharBuffer): Implement Comparable instead of Cloneable.
6020         (get): May not be final.
6021         (put): May not be final.
6022         
6023 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
6024
6025         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
6026         lastIndexOf( ) instead of indexOf( ) to find the colon before
6027         the line number, because Win32 file names might contain a 
6028         drive letter and a colon at the start of an absolute path.
6029
6030 2003-02-13  Michael Koch  <konqueror@gmx.de>
6031
6032         * gnu/java/nio/natSocketChannelImpl.cc
6033         (SocketConnect): This is not implemented yet.
6034         (SocketBind): This is not implemented yet.
6035
6036 2003-02-13  Michael Koch  <konqueror@gmx.de>
6037
6038         * gnu/java/nio/natByteBufferImpl.cc,
6039         gnu/java/nio/natCharBufferImpl.cc,
6040         gnu/java/nio/natDoubleBufferImpl.cc,
6041         gnu/java/nio/natFloatBufferImpl.cc,
6042         gnu/java/nio/natIntBufferImpl.cc,
6043         gnu/java/nio/natLongBufferImpl.cc,
6044         gnu/java/nio/natShortBufferImpl.cc:
6045         Added copyright and license.
6046         * java/nio/DoubleBuffer.java,
6047         java/nio/FloatBuffer.java,
6048         java/nio/IntBuffer.java,
6049         java/nio/LongBuffer.java,
6050         java/nio/ShortBuffer.java
6051         (array): Throw exceptions.
6052         (arrayOffset): Throw exceptions.
6053
6054 2003-02-13  Michael Koch  <konqueror@gmx.de>
6055  
6056         * gnu/java/util/prefs/FileBasedFactory.java,
6057         gnu/java/util/prefs/MemmoryBasedFactory.java,
6058         gnu/java/util/prefs/MemoryBasedPreferences.java,
6059         gnu/java/util/prefs/NodeReader.java,
6060         gnu/java/util/prefs/NodeWriter.java,
6061         java/util/prefs/AbstractPreferences.java,
6062         java/util/prefs/BackingStoreException.java,
6063         java/util/prefs/InvalidPreferencesFormatException.java,
6064         java/util/prefs/NodeChangeEvent.java,
6065         java/util/prefs/NodeChangeListener.java,
6066         java/util/prefs/PreferenceChangeEvent.java,
6067         java/util/prefs/PreferenceChangeListener.java,
6068         java/util/prefs/Preferences.java,
6069         java/util/prefs/PreferencesFactory.java:
6070         New files, all merged from classpath.
6071         * Makefile.am
6072         (ordinary_java_source_files): Added the following files:
6073         gnu/java/util/prefs/FileBasedFactory.java,
6074         gnu/java/util/prefs/MemmoryBasedFactory.java,
6075         gnu/java/util/prefs/MemoryBasedPreferences.java,
6076         gnu/java/util/prefs/NodeReader.java,
6077         gnu/java/util/prefs/NodeWriter.java,
6078         (core_java_source_files): Added the following files:
6079         java/util/prefs/AbstractPreferences.java,
6080         java/util/prefs/BackingStoreException.java,
6081         java/util/prefs/InvalidPreferencesFormatException.java,
6082         java/util/prefs/NodeChangeEvent.java,
6083         java/util/prefs/NodeChangeListener.java,
6084         java/util/prefs/PreferenceChangeEvent.java,
6085         java/util/prefs/PreferenceChangeListener.java,
6086         java/util/prefs/Preferences.java,
6087         java/util/prefs/PreferencesFactory.java
6088         * Makefile.in: Regenerated.
6089  
6090 2003-02-13  Michael Koch  <konqueror@gmx.de>
6091
6092         * java/net/NetPermission.java
6093         (NetPermission): Make doucmentation match the method declaration.
6094         * java/net/NetworkInterface.java
6095         (equals): Reformated for GNU coding style.
6096         * java/net/ServerSocket.java: Merged with classpath.
6097         * java/net/Socket.java: Partly merged with classpath (Added some @since).
6098         * java/net/SocketImpl.java
6099         (localPort): Merged with classpath (initialize with -1).
6100         * java/net/SocketPermission.java: Merged with classpath (reindented).
6101         * java/net/URLDecoder.java: Merged with classpath (reindented).
6102
6103 2003-02-13  Michael Koch  <konqueror@gmx.de>
6104
6105         * java/awt/GridBagConstraints.java
6106         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
6107         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
6108         * java/awt/KeyboardFocusManager.java
6109         (setGlobalCurrentFocusCycleRoot): Must be public.
6110         * java/awt/MenuComponent.java
6111         (MenuComponent): Must be public.
6112         * java/awt/Toolkit.java:
6113         Added some empty lines to make documentation more readable.
6114         (getFontPeer): Added @deprecated.
6115         (getColorModel): Added exception documentation.
6116         (getProperty): Fixed documentation.
6117  
6118 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
6119
6120         * configure.host (alpha*-*): Default to -mieee.
6121         * configure.in (IEEESPEC): New.
6122         * libgcj.spec.in (jc1): Add IEEESPEC.
6123         * configure: Rebuild.
6124
6125 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
6126
6127         * include/win32.h: Include ws2tcpip.h instead of
6128         winsock.h to obtain definition of the socklen_t type.
6129         Remove IP_TOS definition - not needed with ws2tcpip.h
6130         (_Jv_connect): Correct slight formatting error.
6131
6132 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
6133
6134         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
6135         size of the arguments for a JNI function. For Win32,
6136         modify to search for all forms of possible exported
6137         names of an stdcall JNI function.
6138         (_Jv_JNIMethod::call): Modify to calculate the size
6139         of the arguments passed to a JNI function and pass
6140         it to _Jv_LookupJNIMethod.
6141
6142 2003-02-12  Michael Koch  <konqueror@gmx.de>
6143
6144         * java/nio/channels/Channels.java: New file.
6145         * Makefile.am
6146         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
6147         * Makefile.in: Regenerated.
6148
6149 2003-02-12  Michael Koch  <konqueror@gmx.de>
6150
6151         * java/nio/ByteBuffer.java
6152         (allocate): Implemented.
6153         (wrap): Implemented.
6154         * java/nio/CharBuffer.java:
6155         Some documentation added and reworked.
6156         (endian): Removed.
6157         (allocate): Implemented.
6158         (wrap): Implemented.
6159         (array): Throw exceptions.
6160         (arrayOffset): Throw exceptions.
6161         (toString): Implemented.
6162         (length): Implemented.
6163         (put): Implemented.
6164         (charAt): Implemented.
6165
6166 2003-02-11  John Leuner  <jewel@debian.org>
6167
6168         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
6169         reads from end of file.
6170
6171 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
6172
6173         * java/io/natFileDescriptorWin32.cc 
6174         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
6175         returns with Win32 error code ERROR_BROKEN_PIPE.
6176
6177 2003-02-11  Michael Koch  <konqueror@gmx.de>
6178
6179         * Makefile.in
6180         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
6181
6182 2003-02-11  Michael Koch  <konqueror@gmx.de>
6183
6184         * gnu/java/nio/ByteBufferImpl.java:
6185         Reformated and removed some code.
6186         (backing_buffer): Removed.      
6187         (array_offset): Removed.
6188         (ro): Renamed to readOnly.
6189         (ByteBufferImpl): Use parent constructor, initialize readOnly.
6190         * gnu/java/nio/CharBufferImpl.java:
6191         Reformated and removed some code.
6192         (array_offset): Removed.
6193         (ro): Renamed to readOnly.
6194         (CharBufferImpl): Use parent constructor, initialize readOnly.
6195         (inc_pos): Removed.
6196         (order): New method.
6197         * gnu/java/nio/DoubleBufferImpl.java:
6198         Reformated and removed some code.
6199         (array_offset): Removed.
6200         (ro): Renamed to readOnly.
6201         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
6202         (inc_pos): Removed.
6203         (order): New method.
6204         * gnu/java/nio/FloatBufferImpl.java:
6205         Reformated and removed some code.
6206         (array_offset): Removed.
6207         (ro): Renamed to readOnly.
6208         (FloatBufferImpl): Use parent constructor, initialize readOnly.
6209         (inc_pos): Removed.
6210         (order): New method.
6211         * gnu/java/nio/IntBufferImpl.java:
6212         Reformated and removed some code.
6213         (array_offset): Removed.
6214         (ro): Renamed to readOnly.
6215         (IntBufferImpl): Use parent constructor, initialize readOnly.
6216         (inc_pos): Removed.
6217         (order): New method.
6218         * gnu/java/nio/LongBufferImpl.java:
6219         Reformated and removed some code.
6220         (array_offset): Removed.
6221         (ro): Renamed to readOnly.
6222         (LongBufferImpl): Use parent constructor, initialize readOnly.
6223         (inc_pos): Removed.
6224         (order): New method.
6225         * gnu/java/nio/ShortBufferImpl.java:
6226         Reformated and removed some code.
6227         (array_offset): Removed.
6228         (ro): Renamed to readOnly.
6229         (ShortBufferImpl): Use parent constructor, initialize readOnly.
6230         (inc_pos): Removed.
6231         (order): New method.
6232         * Makefile.am
6233         (ordinary_java_source_files): Added the following files:
6234         gnu/java/nio/ByteBufferImpl.java
6235         gnu/java/nio/CharBufferImpl.java
6236         gnu/java/nio/DoubleBufferImpl.java
6237         gnu/java/nio/FloatBufferImpl.java
6238         gnu/java/nio/IntBufferImpl.java
6239         gnu/java/nio/LongBufferImpl.java
6240         gnu/java/nio/ShortBufferImpl.java
6241         java/nio/DoubleBuffer.java
6242         java/nio/FloatBuffer.java
6243         java/nio/IntBuffer.java
6244         java/nio/LongBuffer.java
6245         java/nio/ShortBuffer.java
6246         (nat_source_files): Added the following files:
6247         gnu/java/nio/natByteBufferImpl.cc
6248         gnu/java/nio/natCharBufferImpl.cc
6249         gnu/java/nio/natDoubleBufferImpl.cc
6250         gnu/java/nio/natFloatBufferImpl.cc
6251         gnu/java/nio/natIntBufferImpl.cc
6252         gnu/java/nio/natLongBufferImpl.cc
6253         gnu/java/nio/natShortBufferImpl.cc
6254         * Makefile.in: Regenerated.
6255
6256 2003-02-11  Michael Koch  <konqueror@gmx.de>
6257
6258         * gnu/java/nio/natCharBufferImpl.cc
6259         (nio_cast): Removed.
6260         (nio_put_*): Removed.
6261         (nio_get_*): Removed.
6262         * gnu/java/nio/natDoubleBufferImpl.cc
6263         (nio_cast): Removed.
6264         (nio_put_*): Removed.
6265         (nio_get_*): Removed.
6266         * gnu/java/nio/natFloatBufferImpl.cc
6267         (nio_cast): Removed.
6268         (nio_put_*): Removed.
6269         (nio_get_*): Removed.
6270         * gnu/java/nio/natIntBufferImpl.cc
6271         (nio_cast): Removed.
6272         (nio_put_*): Removed.
6273         (nio_get_*): Removed.
6274         * gnu/java/nio/natLongBufferImpl.cc
6275         (nio_cast): Removed.
6276         (nio_put_*): Removed.
6277         (nio_get_*): Removed.
6278         * gnu/java/nio/natShortBufferImpl.cc
6279         (nio_cast): Removed.
6280         (nio_put_*): Removed.
6281         (nio_get_*): Removed.
6282         * gnu/java/nio/SelectorProviderImpl.java
6283         (openDatagramChannel): Throws IOException.
6284         (openPipe): Throws IOException.
6285         (openSelector): Throws IOException.
6286         (openServerSocketChannel): Throws IOException.
6287         (openSocketChannel): Throws IOException.
6288         * gnu/java/nio/ServerSocketChannelImpl.java
6289         (ServerSocketChannelImpl): Throws IOException.
6290         (implCloseSelectableChannel): Throws IOException.
6291         (implConfigureBlocking): Throws IOException.
6292         * java/nio/ByteBuffer.java
6293         (readOnly): Removed.
6294         (hasArray): Use isReadOnly() instead of readOnly.
6295         (array): Use isReadOnly() instead of readOnly.
6296         (arrayOffset): Use isReadOnly() instead of readOnly.
6297         * java/nio/CharBuffer.java
6298         (CharBuffer): Implements Cloneable and CharSequence.
6299
6300 2003-02-11  Michael Koch  <konqueror@gmx.de>
6301
6302         * java/nio/DoubleBuffer.java
6303         (DoubleBuffer): Implements Comparable.
6304         (endian): Removed.
6305         (array_offset): New member variable.
6306         (DoubleBuffer): New constuctor.
6307         (get): May not be final.
6308         (put): May not be final.
6309         (arrayOffset): Implemented.
6310         (order): Made abstract.
6311         (order): Removed.
6312         (as*Buffer): Removed.
6313         (get*): Removed.
6314         (put*): Removed.
6315         * java/nio/FloatBuffer.java
6316         (FloatBuffer): Implements Comparable.
6317         (endian): Removed.
6318         (array_offset): New member variable.
6319         (FloatBuffer): New constuctor.
6320         (get): May not be final.
6321         (put): May not be final.
6322         (arrayOffset): Implemented.
6323         (order): Made abstract.
6324         (order): Removed.
6325         (as*Buffer): Removed.
6326         (get*): Removed.
6327         (put*): Removed.
6328         * java/nio/IntBuffer.java
6329         (IntBuffer): Implements Comparable.
6330         (endian): Removed.
6331         (array_offset): New member variable.
6332         (IntBuffer): New constuctor.
6333         (get): May not be final.
6334         (put): May not be final.
6335         (arrayOffset): Implemented.
6336         (order): Made abstract.
6337         (order): Removed.
6338         (as*Buffer): Removed.
6339         (get*): Removed.
6340         (put*): Removed.
6341         * java/nio/LongBuffer.java
6342         (LongBuffer): Implements Comparable.
6343         (endian): Removed.
6344         (array_offset): New member variable.
6345         (LongBuffer): New constuctor.
6346         (get): May not be final.
6347         (put): May not be final.
6348         (arrayOffset): Implemented.
6349         (order): Made abstract.
6350         (order): Removed.
6351         (as*Buffer): Removed.
6352         (get*): Removed.
6353         (put*): Removed.
6354         * java/nio/ShortBuffer.java
6355         (ShortBuffer): Implements Comparable.
6356         (endian): Removed.
6357         (array_offset): New member variable.
6358         (ShortBuffer): New constuctor.
6359         (get): May not be final.
6360         (put): May not be final.
6361         (arrayOffset): Implemented.
6362         (order): Made abstract.
6363         (order): Removed.
6364         (as*Buffer): Removed.
6365         (get*): Removed.
6366         (put*): Removed.
6367
6368 2003-02-11   Michael Koch  <konqueror@gmx.de>
6369
6370         * java/nio/channels/SelectionKey.java
6371         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
6372         values.
6373
6374 2003-02-11  Michael Koch  <konqueror@gmx.de>
6375
6376         * java/nio/channels/DatagramChannel.java
6377         (write): Throws IOException.
6378         (connect): Throws IOException.
6379         (disconnect): Throws IOException.
6380         (read): Throws IOException.
6381         (receive): Throws IOException.
6382         (send): Throws IOException.
6383         * java/nio/channels/Pipe.java
6384         (open): Throws IOException.
6385         * java/nio/channels/SelectableChannel.java
6386         (configureBlocking): Throws IOException.
6387         * java/nio/channels/ServerSocketChannel.java
6388         (accept): Throws IOException.
6389         * java/nio/channels/SocketChannel.java
6390         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
6391         GatheringByteChannel.
6392         (read): Throws IOException.
6393         (write): Throws IOException.
6394         (finishConnect): Throws IOException.
6395         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6396         (end): Throws AsynchronousCloseException.
6397         * java/nio/channels/spi/AbstractSelectableChannel.java
6398         (configureBlocking): Throws IOException.
6399         (implCloseChannel): Throws IOException.
6400         (implCloseSelectableChannel): Throws IOException.
6401         (implConfigureBlocking): Throws IOException.
6402         * java/nio/channels/spi/SelectorProvider.java
6403         (openDatagramChannel): Throws IOException.
6404         (openPipe): Throws IOException.
6405         (openSelector): Throws IOException.
6406         (openServerSocketChannel): Throws IOException.
6407         (openSocketChannel): Throws IOException.
6408
6409 2003-02-11  Michael Koch  <konqueror@gmx.de>
6410
6411         * gnu/java/nio/FileLockImpl.java,
6412         java/nio/channels/FileLock.java: New files.
6413
6414 2003-02-11  Michael Koch  <konqueror@gmx.de>
6415
6416         * java/nio/charset/IllegalCharsetNameException.java
6417         (serialVersionUID): New member variable.
6418         (charsetName): New member variable.
6419         (IllegalCharsetException): New implementation.
6420         (getCharsetName): New implementation.
6421         * java/nio/charset/UnsupportedCharsetException.java
6422         (serialVersionUID): New member variable.
6423         (charsetName): New member variable.
6424         (UnsupportedCharsetException): New implementation.
6425         (getCharsetName): New implementation.
6426
6427 2003-02-10  Tom Tromey  <tromey@redhat.com>
6428
6429         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
6430         (ex): Renamed from sqlException.
6431
6432 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
6433
6434         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
6435         method used to ensure seeding has occurred and that a specific 
6436         seed can be set and used.
6437
6438 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
6439
6440         * java/lang/Win32Process.java (destroy): Declare as native.
6441         (hasExited): New native method.
6442         (exitValue): Define.
6443         (getErrorStream): Likewise.
6444         (getInputStream): Likewise.
6445         (getOutputStream): Likewise.
6446         (waitFor): Declare as native.
6447         (startProcess): New native method.
6448         (cleanup): Likewise.
6449         (ConcreteProcess): Define.
6450         (outputStream, inputStream, errorStream): New members.
6451         (procHandle, exitCode): Likewise.
6452
6453         * java/lang/natWin32Process.cc
6454         (java::lang::ConcreteProcess::cleanup): Define.
6455         (java::lang::ConcreteProcess::destroy): Likewise.
6456         (java::lang::ConcreteProcess::hasExited): Likewise.
6457         (java::lang::ConcreteProcess::waitFor): Likewise.
6458         (new_string): Likewise.
6459         (java::lang::ConcreteProcess::startProcess): Likewise.
6460
6461 2003-02-10  Raif S. Naffah <raif@fl.net.au>
6462
6463         * java/math/BigInteger.java:
6464         Updated notice to include years 2002 and 3.
6465         Added 2 private (int) arrays with values from the HAC (Handbook of
6466         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6467         and t[] that contains nbr. of tests --used in isProbablePrime().
6468
6469         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6470
6471         * java/math/BigInteger.java (make(int[],int), add(int,int),
6472         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6473         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6474         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6475         make(long).
6476
6477         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6478         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6479         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6480         BIs and returns void.
6481         (modInverse(BI)): Use new signatures of euclidInv().
6482
6483         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6484         static small primes instead of remainder().
6485         Use pre-computed max nbr of trials based on bitlength of BI to test.
6486         Use pre-computed small primes for the trial tests instead of random
6487         numbers.
6488
6489         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6490         not used.
6491
6492         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6493         invoacation of MPN.chars_per_word().  not used.
6494
6495         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6496         local var and used where needed.
6497
6498         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6499         Combined declaration with initialisation of locals.
6500         Removed unused var.
6501
6502         * java/math/BigInteger.java: Style changes
6503         (pow(int)): Removed 'else' keyword.
6504         (toString(int)): idem.
6505         (doubleValue()): idem.
6506         (bitLength()): idem.
6507         (equals(Object)): Use static methods name in same class w/o prepending
6508         class name.
6509         (doubleValue()): idem.
6510         (setNegative(BI)): idem.
6511         (negate()): idem.
6512         (and(BI,int)): idem.
6513         (and(BI)): idem.
6514         (gcd(BI)): idem.
6515         (byteArrayToIntArray()): Removed casting to (int). this is
6516         std. behaviour.
6517         (canonicalize()): idem.
6518         (alloc(int)): Always instantiate a new BI.
6519
6520 2003-02-10  Tom Tromey  <tromey@redhat.com>
6521
6522         * java/sql/Timestamp.java (compareTo(Object)): New method.
6523         (compareTo(Timestamp)): Likewise.
6524         (serialVersionUID): Updated.
6525
6526 2003-02-07  Mark Wielaard  <mark@klomp.org>
6527
6528         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6529         when verify is true.
6530         (JarFile(File, boolean)): Likewise.
6531         (manifestRead): Set manifestRead field correctly.
6532
6533 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6534
6535         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6536         tests; see patch #1016 on Savannah.
6537
6538 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6539
6540         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6541         (toString): do not return Strings starting with . and - erroneously.
6542         Improves Mauve results to 12 of 600 instead of 16 of 338 on
6543         DiagBigDecimal.
6544
6545 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6546
6547         * java/beans/PropertyDescriptor.java
6548         (PropertyDescriptor(String, Class)): Sanity check getter and setter
6549         methods.
6550         (PropertyDescriptor(String, Class, String, String)): Likewise.
6551         (PropertyDescriptor(String, Method, Method): Factor out getter and
6552         setter method sanity checks into new method.
6553         (findMethods): Don't do parameter sanity checking of get method here.
6554         (checkMethods): New method.
6555
6556 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6557
6558         * java/beans/PropertyDescriptor.java: Reformat.
6559
6560 2003-02-04  Tom Tromey  <tromey@redhat.com>
6561
6562         * java/io/PipedOutputStream.java (flush): Declare as throwing
6563         IOException.
6564         (close): Likewise.
6565         * java/io/PipedWriter.java (close): Declare as throwing
6566         IOException.
6567         * java/io/StringWriter.java (close): Declare as throwing
6568         IOException.
6569
6570 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6571
6572         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6573         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6574         could also have been exported as "JNI_OnLoad@8" (MinGW) or
6575         "_JNI_OnLoad@8" (MSVC).
6576
6577 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6578
6579         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6580         convention on Win32 to invoke native JNI methods.
6581
6582 2003-02-03  Andrew Haley  <aph@redhat.com>
6583
6584         * configure.host (x86_64): Enable interpreter.
6585
6586 2003-02-03  Andrew Haley  <aph@redhat.com>
6587
6588         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6589         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6590         * configure.in (BACKTRACESPEC): New.
6591         * configure: Regenerate.
6592
6593 2003-02-02  Tom Tromey  <tromey@redhat.com>
6594
6595         * configure: Rebuilt.
6596         * configure.in (TOOLKIT) [xlib]: Set correctly.
6597
6598         * Makefile.in: Rebuilt.
6599         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6600         libstdc++.
6601
6602 2003-01-31  Mark WIelaard  <mark@klomp.org>
6603
6604         * Makefile.in: Rebuilt.
6605         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6606
6607 2003-01-31  Tom Tromey  <tromey@redhat.com>
6608
6609         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6610         cast to element type.
6611         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6612         (_Jv_JNI_GetObjectArrayElement): Likewise.
6613
6614         * Makefile.in: Rebuilt.
6615         * Makefile.am (cond_x_ltlibrary): Renamed library to
6616         lib-gnu-awt-xlib.la.
6617         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6618         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6619         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6620         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6621         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6622         (lib_gnu_awt_xlib_la_LINK): Likewise.
6623         (install-exec-hook): Removed.
6624         (lib-gnu-awt-xlib.la): Renamed.
6625
6626 2003-01-31  Tom Tromey  <tromey@redhat.com>
6627
6628         * aclocal.m4, configure, include/config.h.in: Rebuilt.
6629         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6630         aclocal.m4 and lost in some merge.
6631
6632         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6633         Don't try to find graphics configuration.
6634         * java/awt/Toolkit.java (default_toolkit_name): Use new
6635         Configuration entry.
6636         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6637         New global.
6638         * configure: Rebuilt.
6639         * configure.in (TOOLKIT): New subst.
6640         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6641         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
6642         directory.  Make output directories for .c files.
6643         * Makefile.in: Rebuilt.
6644         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6645         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6646         (all_java_source_files): Added new sources.
6647         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6648         (gtk_c_files): New macro.
6649         (gtk_c_source_files): New macro.
6650         (cond_gtk_ltlibrary): New macro.
6651         ($(gtk_c_files)): New target.
6652         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6653         (gtk_awt_peer_sources): New macro.
6654         (gtk_c_headers): New macro.
6655         ($(gtk_c_headers)): New target.
6656         (ACLOCAL_AMFLAGS): New macro.
6657         * gtk.m4, glib.m4, libart.m4: New files.
6658         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6659         gnu/java/awt/peer/gtk/GdkGraphics.java,
6660         gnu/java/awt/peer/gtk/GtkArg.java,
6661         gnu/java/awt/peer/gtk/GtkArgList.java,
6662         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6663         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6664         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6665         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6666         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6667         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6668         gnu/java/awt/peer/gtk/GtkClipboard.java,
6669         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6670         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6671         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6672         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6673         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6674         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6675         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6676         gnu/java/awt/peer/gtk/GtkImage.java,
6677         gnu/java/awt/peer/gtk/GtkImagePainter.java,
6678         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6679         gnu/java/awt/peer/gtk/GtkListPeer.java,
6680         gnu/java/awt/peer/gtk/GtkMainThread.java,
6681         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6682         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6683         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6684         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6685         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6686         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6687         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6688         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6689         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6690         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6691         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6692         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6693         gnu/java/awt/peer/gtk/GtkToolkit.java,
6694         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6695         gnu/java/awt/peer/gtk/TestAWT.java,
6696         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6698         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6699         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6700         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6702         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6703         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6704         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6705         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6706         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6707         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6708         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6709         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6710         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6711         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6712         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6713         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6714         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6715         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6716         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6717         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6718         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6719         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6720         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6721         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6722         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6723         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6724         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6725         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6726         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6727         jni/classpath/native_state.c, jni/classpath/native_state.h,
6728         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6729
6730 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
6731
6732         * java/util/Properties.java (load): Ignore backslash before EOF.
6733
6734 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
6735
6736         * java/lang/natClass.cc (initializeClass): Check tables when
6737         (state == JV_STATE_IN_PROGRESS).
6738         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6739         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6740         interpreted classes.
6741         (linkClass0): Use _Jv_WaitForState.
6742
6743 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
6744
6745         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6746         object when finished.
6747
6748 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
6749
6750         * libjava/configure.host: Disable can_unwind_signal on darwin.
6751
6752 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
6753
6754         Fixes PR java/9254:
6755         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6756         additionally containing id of the owner thread as well as
6757         the number of nested times the thread has acquired the mutex.
6758         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6759         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6760         (_Jv_MutexUnlock): Check if really the owner thread, reset
6761         owner thread id to 0 before leaving, if leaving for the last
6762         time.
6763         (_Jv_MutexLock): Set owner thread id in the mutex and increment
6764         refcount.
6765         (_Jv_ThreadYield): Yield using a call to Sleep(0).
6766         * win32-threads.cc (_Jv_CondWait): Check if really owner of
6767         the passed mutex.
6768         Pass handle of the broadcast event, instead of a pointer to it
6769         in Win32 ResetEvent( ) call.
6770         Remove incorrect return values.
6771         (_Jv_CondDestroy): Close both event handles and delete
6772         critical section.
6773         (_Jv_CondNotify): Check if really the owner thread.
6774         (_Jv_CondNotifyAll): Check if really the owner thread.
6775         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6776         (really_start): Use SetEvent( ) to signal daemon_cond.
6777         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6778         WaitForSingleObject( ) instead to wait for daemon_cond to be
6779         signalled.
6780
6781 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
6782
6783         * configure.in: Specifically define HAVE_BACKTRACE if building
6784         for MinGW.
6785         * include/win32.h: Remove HAVE_BACKTRACE definition.
6786         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6787         * configure: Rebuilt.
6788
6789 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
6790
6791         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6792         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
6793         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6794         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6795         * Makefile.in, configure: Rebuilt.
6796
6797 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
6798
6799         Fixes PR java/9253:
6800         * java/io/natFileWin32.cc (performList): Append only "*.*"
6801         if the canonical file path already has a "\" at the end.
6802
6803 2003-01-24  Tom Tromey  <tromey@redhat.com>
6804
6805         * defineclass.cc (handleMethodsEnd): Precompute code for static
6806         method.
6807         (handleCodeAttribute): Likewise.
6808         * resolve.cc (ncode): Use run_class for unsynchronized static
6809         methods.
6810         * include/java-interp.h (class _Jv_InterpMethod): Declare
6811         run_class.
6812         * interpret.cc (run_synch_class): Initialize class.
6813         (run) [insn_invokestatic]: Don't initialize class.
6814         [insn_anewarray]: Likewise.
6815         [insn_multianewarray]: Likewise.
6816         (run_class): New function.
6817
6818 2003-01-24  Tom Tromey  <tromey@redhat.com>
6819
6820         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6821         comment.
6822
6823 2003-01-22  Andrew Haley  <aph@redhat.com>
6824
6825         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6826         * configure.host (CHECKREFSPEC): Define for x86_64.
6827
6828 2003-01-21  Tom Tromey  <tromey@redhat.com>
6829
6830         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6831         search at 2, not 3.
6832
6833 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
6834
6835         * java/io/natFileWin32.cc (isAbsolute): Check path length before
6836         looking at any characters.
6837         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6838         be used.
6839         (isAbsolute): Check path's length as well.
6840
6841 2003-01-17  Mark Wielaard  <mark@klomp.org>
6842
6843         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6844         (nat_source_files): Add natVMObjectStreamClass.cc.
6845         * Makefile.in: Regenerated.
6846         * gcj/javaprims.h (namespace java): Regenerated.
6847         * java/io/ObjectStreamClass.java (getClassUID): Call
6848         VMObjectStreamClass.hasClassInitializer().
6849         (hasClassInitializer): Removed.
6850         * java/io/VMObjectStreamClass.java: New class.
6851         * java/io/natVMObjectStreamClass.cc: New file.
6852         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6853
6854 2003-01-16  Mark Wielaard  <mark@klomp.org>
6855
6856         * java/net/SocketImpl.java (toString): Don't explicitly call
6857         toString() on possible null address.
6858
6859 2003-01-16  Michael Koch  <konqueror@gmx.de>
6860
6861         * java/net/MulticastSocket.java
6862         (setInterface): Reindented.
6863
6864 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6865
6866         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6867         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6868         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6869         translateY arguments.  Implement.
6870         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6871         down translation arguments.
6872         (drawPolyline, drawPolygon): Fix incorrect tests.
6873         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6874         translateX and translateY arguments.
6875
6876 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6877
6878         * Makefile.in: Rebuilt.
6879         * Makefile.am (xlib_includes): New macro.
6880         (INCLUDES): Use it.
6881
6882 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6883
6884         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6885         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6886         16-bit display mode.
6887
6888 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6889
6890         * java/awt/CardLayout.java (show): Rewrote.
6891         (gotoComponent): Removed `target' argument.  Simplified code.
6892         Don't pre-compute `choice' unless `what' is FIRST or LAST.
6893         Changed all callers.
6894         (NONE): Removed.
6895         
6896 2003-01-14  Michael Koch  <konqueror@gmx.de>
6897
6898         * java/net/InetSocketAddress.java
6899         (serialVersionUID): New member variable.
6900         * java/net/NetPermission.java
6901         (NetPermission): Dont implement java.io.Serialization directly.
6902         * java/net/SocketAddress.java:
6903         (serialVersionUID): Documentation added.
6904         
6905 2003-01-14  Michael Koch  <konqueror@gmx.de>
6906
6907         * java/awt/Label.java
6908         (Label): Implements javax.accessibility.Accessible;
6909         * java/awt/List.java
6910         (List): Implements javax.accessibility.Accessible;
6911         * java/awt/ScrollPane.java
6912         (ScrollPane): Implements javax.accessibility.Accessible;
6913         * java/awt/Scrollbar.java
6914         (Scrollbar): Implements javax.accessibility.Accessible;
6915         * java/awt/TextComponent.java
6916         (setCaretPosition): Throw exception, documentation added.
6917         * java/awt/Toolkit.java:
6918         Added some newlines in method documentations.
6919         (createButton): Exception documentation added.
6920         (createTextField): Exception documentation added.
6921         (createLabel): Exception documentation added.
6922         (createList): Exception documentation added.
6923         (createCheckbox): Exception documentation added.
6924         (createScrollbar): Exception documentation added.
6925         (createScrollPane): Exception documentation added.
6926         (createTextArea): Exception documentation added.
6927         (createChoice): Exception documentation added.
6928         (createFrame): Exception documentation added.
6929         (createWindow): Exception documentation added.
6930         (createDialog): Exception documentation added.
6931         (createMenuBar): Exception documentation added.
6932         (createMenu): Exception documentation added.
6933         (createMenuItem): Exception documentation added.
6934         (createFileDialog): Exception documentation added.
6935         (createCheckboxMenuItem): Exception documentation added.
6936         (loadSystemColors): Exception documentation added.
6937         (setDynamicLayout): Exception documentation added.
6938         (isDynamicLayoutSet): Exception documentation added.
6939         (isDynamicLayoutActive): Exception documentation added.
6940         (getScreenSize): Exception documentation added.
6941         (getScreenResolution): Exception documentation added.
6942         (getScreenInsets): Exception documentation added.
6943         (getColorModel): Exception documentation added.
6944         (getSystemClipboard): Exception documentation added.
6945         (getSystemSelection): Exception documentation added.
6946         (getMenuShortcutKeyMask): Exception documentation added.
6947         (getSystemEventQueue): Exception documentation added.
6948         * java/awt/Window.java:
6949         Reindented some code.
6950         (Window): Centralized implementation, documentation added.
6951         (finalize): Documentation added.
6952         (hide): Fixed typo in comment.
6953         (getWindowListeners): Documentation added.
6954         * java/awt/color/ColorSpace.java
6955         (toRGB): Documentation added.
6956         * java/awt/color/ICC_ColorSpace.java
6957         (ICC_ColorSpace): Documentation added.
6958         (toRGB): Throw exception, documentation added.
6959         (fromRGB): Throw exception, documentation added.
6960         (toCIEXYZ): Documentation added.
6961         (fromCIEXYZ): Documentation added.
6962         (getMinValue): Documentation added.
6963         (getMaxValue): Documentation added.
6964         * java/awt/geom/Dimension2D.java
6965         (clone): Documentation added.
6966         * java/awt/geom/GeneralPath.java
6967         (clone): Documentation added.
6968         * java/awt/geom/Line2D.java
6969         (clone): Documentation added.
6970         * java/awt/geom/QuadCurve2D.java
6971         (clone): Documentation added.
6972         * java/awt/image/ColorModel.java
6973         (ColorModel): Throw exception, documentation added.
6974         * java/awt/image/ImageFilter.java
6975         (clone): Doesnt throw CloneNotSupportedException.
6976
6977 2003-01-14  Andrew Haley  <aph@redhat.com>
6978
6979         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6980         in a try block.
6981
6982 2003-01-10  Andrew Haley  <aph@redhat.com>
6983
6984         * include/dwarf2-signal.h: Remove x86_64.
6985         * configure.host (x86_64 DIVIDESPEC): Remove.
6986         * include/x86_64-signal.h: New file.
6987         * configure.in: Regenerate.
6988
6989 2003-01-10  Michael Koch  <konqueror@gmx.de>
6990
6991         * java/net/DatagramSocket.java
6992         (ch): Description added.
6993         (remotePort): Initialize with -1.
6994         (connect): Doesnt throws SocketException.
6995         * java/net/MulticastSocket.java
6996         (setInterface): Merge with Classpath.
6997         * java/net/ServerSocket.java
6998         (closed): New member variable.
6999         (bind): Check if socket is closed.
7000         (close): Close an associated channel too, set new value to closed.
7001         (isBound): Reindented.
7002         (isClosed): Implemented.
7003         * java/net/Socket.java
7004         (closed): New member variable.
7005         (bind): Check if socket is closed.
7006         (connect): Check if socket is closed.
7007         (close): Close an associated channel too, set new value to closed.
7008         (isClosed): Implemented.
7009
7010 2003-01-10  Michael Koch  <konqueror@gmx.de>
7011
7012         * java/awt/DisplayMode.java
7013         (equals): Fixed argument type and implementation.
7014
7015 2003-01-07  Tom Tromey  <tromey@redhat.com>
7016
7017         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
7018         JV_HASH_SYNCHRONIZATION.
7019         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
7020         JV_HASH_SYNCHRONIZATION.
7021
7022 2003-01-07  Michael Koch  <konqueror@gmx.de>
7023  
7024         * java/net/DatagramSocket.java:
7025         Added classpath license info.
7026         (DatagramSocket): Merged description with classpath.
7027         (close): Merged description with classpath.
7028         (getChannel): Merged description with classpath.
7029         (getInetAddress): Merged description with classpath.
7030         (getPort): Merged description with classpath.
7031         (getLocalAddress): Merged description with classpath.
7032         (getLocalPort): Merged description with classpath.
7033         (getSoTimeout): Merged description with classpath.
7034         (setSoTimeout): Merged description with classpath.
7035         (getSendBufferSize): Merged description with classpath.
7036         (setSendBufferSize): Merged description with classpath.
7037         (getReceiveBufferSize): Merged description with classpath.
7038         (setReceiveBufferSize): Merged description with classpath.
7039         
7040 2003-01-04  Tom Tromey  <tromey@redhat.com>
7041
7042         * java/awt/List.java: Merged with Classpath.
7043
7044 2003-01-03  Mark Wielaard  <mark@klomp.org>
7045
7046         * java/io/FileDescriptor.java (position): New private field.
7047         * java/io/natFileDescriptorPosix.cc (write): Up position.
7048         (setLength): Use and set position.
7049         (seek): Set position.
7050         (getFilePointer): Return position.
7051         (read): Up position.
7052
7053 2003-01-03  Mark Wielaard  <mark@klomp.org>
7054
7055         Merge with Classpath:
7056         * java/io/ObjectStreamClass.java (lookup): Split method and call
7057         lookupForClassObject().
7058         (lookupForClassObject): New method.
7059         (isProxyClass): New field.
7060         (setClass): Set isProxyClass, add object to classLookupTable, set
7061         superClass and calculateOffsets.
7062         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
7063         and not a proxy class.
7064         (setFields): Set accessible true for serialPersistentFields.
7065         (getClassUID): Same for suid. And check if suid is of type long.
7066         (hasClassInitializer): Don't throw NoSuchMethodError.
7067
7068 2003-01-03  Mark Wielaard  <mark@klomp.org>
7069
7070         * java/io/FileInputStream.java (finalize): Don't explicitly
7071         finalize FileDescriptor.
7072
7073 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
7074
7075         * configure.host (sparc*-*): Enable bytecode interpreter.
7076
7077 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
7078
7079         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
7080         Don't throw RemoteException.
7081         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
7082         throw RemoteException.
7083
7084 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7085
7086         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
7087         proxyHost): New static fields.
7088         (<clinit>): Initialize new fields.
7089         (connect): Use proxy if necessary.
7090         (usingProxy): Implement.
7091
7092 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
7093
7094         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
7095         (TreeIterator.remove): Prefer IllegalStateException over
7096         ConcurrentModificationException, to match Sun.
7097
7098 2002-12-22  Anthony Green  <green@redhat.com>
7099
7100         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
7101
7102 2003-01-02  Mark Wielaard  <mark@klomp.org>
7103
7104         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
7105         public.
7106         (HTTP_USE_PROXY): Add field.
7107         (getResponseVals): Only set responseCode when not yet explicitly
7108         set by subclass.
7109
7110 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
7111             Mark Wielaard  <mark@klomp.org>
7112
7113         * java/util/zip/ZipFile.java (entries): Now HashMap.
7114         (readLeShort(DataInput, byte[])): Read from given byte array.
7115         (readLeInt(DataInput, byte[]): Likewise.
7116         (readLeShort(byte[] b, int off)): New method.
7117         (readLeInt(byte[] b, int off)): Likewise.
7118         (readEntries): Use byte arrays to read info in bigger chunks.
7119         (getEntries): Return HashMap.
7120         (getEntry): Use HashMap.
7121         (locBuf): New private field.
7122         (checkLocalHeader): Use locBuf to read info in one chunk.
7123         (getInputStream): Use entries HashMap, wrap PartialInputStream
7124         in BufferedInputStream.
7125         (ZipEntryEnumeration): Use HashMap and Interator.
7126
7127 2003-01-02  Mark Wielaard  <mark@klomp.org>
7128             Jeroen Frijters  <jeroen@sumatra.nl>
7129
7130         * java/net/URLClassLoader.java (Resource.getCodeSource):
7131         Fix check certs == null.
7132         (getCanonicalFileURL): Removed method.
7133         (JarURLLoader): Don't call removed method.
7134         (FileURLLoader): Likewise.
7135         (FileURLLoader.getResource): Don't canonicalize file name.
7136
7137 2003-01-01  Tom Tromey  <tromey@redhat.com>
7138
7139         * Makefile.in: Rebuilt.
7140         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
7141         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
7142         java/awt/BufferCapabilities.java, java/awt/Button.java,
7143         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
7144         java/awt/Container.java, java/awt/Cursor.java,
7145         java/awt/EventQueue.java, java/awt/FileDialog.java,
7146         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
7147         java/awt/MenuBar.java, java/awt/MenuComponent.java,
7148         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
7149         java/awt/Scrollbar.java, java/awt/TextArea.java,
7150         java/awt/TextField.java, java/awt/color/CMMException.java,
7151         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
7152         java/awt/color/ProfileDataException.java,
7153         java/awt/datatransfer/Clipboard.java,
7154         java/awt/datatransfer/DataFlavor.java,
7155         java/awt/datatransfer/FlavorMap.java,
7156         java/awt/datatransfer/SystemFlavorMap.java,
7157         java/awt/dnd/DragGestureEvent.java,
7158         java/awt/dnd/DragGestureRecognizer.java,
7159         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
7160         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
7161         java/awt/im/InputMethodHighlight.java,
7162         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
7163         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
7164
7165         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
7166         `op' to BufferedImageOp.
7167
7168 2002-12-31  Tom Tromey  <tromey@redhat.com>
7169
7170         Fix for PR libgcj/7416:
7171         * javax/naming/InitialContext.java (init): Use
7172         gnu.classpath.home.url.
7173         * java/security/Security.java: Use new properties.
7174         (loadProviders): Accept base url; use it.
7175         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
7176         gnu.classpath.home.url.
7177         (gnu.classpath.home.url): Define.
7178         (gnu.classpath.vm.shortname): Likewise.
7179
7180 2002-12-31  Tom Tromey  <tromey@redhat.com>
7181             Ranjit Mathew  <rmathew@hotmail.com>
7182
7183         Fix for PR libgcj/8997:
7184         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
7185         Include platform.h.
7186         * include/posix.h (_Jv_platform_usleep): New function.
7187         * include/win32.h (_Jv_platform_usleep): New function.
7188
7189 2002-12-29  Tom Tromey  <tromey@redhat.com>
7190
7191         * gcj/javaprims.h: Updated.
7192         * scripts/classes.pl (scan): Removed stray semicolon.
7193
7194 2002-12-30  Mark Wielaard  <mark@klomp.org>
7195
7196         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
7197         if zero or smaller.
7198
7199 2002-12-30  Mark Wielaard  <mark@klomp.org>
7200
7201         * java/util/Properties (formatForOutput): Don't fall through to
7202         default case after escaping character.
7203
7204 2002-12-30  Mark Wielaard  <mark@klomp.org>
7205
7206         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
7207         against count.
7208
7209 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
7210
7211         * boehm.cc: Remove stray semicolon.
7212         * interpret.cc: Likewise.
7213         * prims.cc: Likewise.
7214         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
7215         earlier to ensure default arguments are processed.
7216         * gcj/array.h (JArray): Add forward declaration.
7217         (elements): Likewise.
7218         * gcj/javaprim.h: Remove stray semicolons.
7219         * include/bohm-gc.h: Likewise.
7220         * include/jni.h: Likewise.
7221         * include/jvm.h: Likewise.
7222         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
7223         
7224 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
7225
7226         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
7227         of catch_type.
7228         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
7229         idt tables after initializing superclass.
7230         * java/lang/natClassLoader.cc (uaddr): New typedef.
7231         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
7232         if they are constant pool indicies.  Don't link vtable, otable yet.
7233
7234 2002-12-21  Anthony Green  <green@redhat.com>
7235
7236         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
7237         libraries.
7238         * Makefile.in: Rebuilt.
7239
7240 2002-12-19  Anthony Green  <green@redhat.com>
7241
7242         * Makefile.am (ordinary_java_source_files): Add
7243         org/xml/sax/helpers/NewInstance.java.
7244         * Makefile.in: Rebuilt.
7245         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
7246         org/xml/sax/helpers/package.html: New files.
7247         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
7248         http://www.saxproject.org.
7249
7250 2002-12-19  Andrew Haley  <aph@redhat.com>
7251
7252         * java/util/natResourceBundle.cc: Include
7253         ArrayIndexOutOfBoundsException.h.
7254         (getCallingClassLoader): Don't put upper bound on stack search.
7255         Catch ArrayIndexOutOfBoundsException.
7256
7257 2002-12-19  Tom Tromey  <tromey@redhat.com>
7258
7259         * libtool-version: Increased `current'.
7260
7261 2002-12-19  Tom Tromey  <tromey@redhat.com>
7262
7263         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
7264         comment.
7265         * java/lang/ClassLoader.java (defineClass): Use chained
7266         exception when rethrowing.
7267         * defineclass.cc (handleClassBegin): Mark class as interpreted.
7268         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
7269         constants.
7270         * resolve.cc (_Jv_PrepareMissingMethods): New function.
7271         (_Jv_PrepareClass): Use it.
7272         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
7273         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
7274         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
7275         (Class): _Jv_PrepareMissingMethods now friend.
7276         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
7277         Record `NULL' for system class loader.
7278         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
7279         system class loader.
7280         (_Jv_FindClassInCache): Likewise.
7281         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
7282         (_Jv_FindClass): Special case system class loader.
7283         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
7284         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
7285         vtable slots.
7286         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
7287         in a final class.
7288         (_getDeclaredMethod): Don't return synthetic methods.
7289         (getDeclaredMethods): Likewise.
7290         (_getMethod): Likewise.
7291         (_getMethods): Likewise.
7292
7293 2002-12-18  Raif Naffah  <raif@fl.net.au>
7294
7295         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
7296         canonical form after divide().
7297         (modInverse): Likewise.
7298
7299 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
7300             Mark Wielaard  <mark@klomp.org>
7301
7302         * java/security/SecurityRandom (digest): Removed field.
7303         (SecureRandom): Check all providers for case-insensitive SecureRandom
7304         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
7305         if necessary.
7306         (getInstance(String,Provider,boolean): New method.
7307         (getInstance(String)): Use new method.
7308         (getInstance(String,String)): Likewise.
7309         (getInstance(String,Provider)): Likewise.
7310
7311 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
7312
7313         * java/security/Security.java (loadProviders): Increment i only once.
7314
7315 2002-12-12  Mark Wielaard  <mark@klomp.org>
7316
7317         * java/lang/ClassLoader.java (resolveClass0): Transform
7318         ClassNotFoundException to NoClassDefFoundError. Transform all other
7319         throwables to LinkageError.
7320
7321 2002-12-11  Tom Tromey  <tromey@redhat.com>
7322
7323         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
7324
7325         * java/lang/ClassLoader.java (loadedClasses): New field.
7326         (defineClass): Fixed indentation.  Put new class in
7327         loadedClasses.
7328         (findLoadedClass): Implement here.
7329         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
7330
7331 2002-12-10  Tom Tromey  <tromey@redhat.com>
7332
7333         * Makefile.in: Rebuilt.
7334         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
7335         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
7336         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
7337         * java/lang/natClassLoader.cc
7338         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
7339
7340 2002-12-10  Mark Wielaard  <mark@klomp.org>
7341             Tom Tromey  <tromey@redhat.com>
7342
7343         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
7344         (JarURLLoader): Use it.
7345         (FileURLLoader): Likewise.
7346         (JarURLResource.getURL): Use chained exception.
7347         (FileResource.getURL): Likewise.
7348         (FileURLLoader.getResource): Use canonical file name.
7349         (addURL): Indentation fix.
7350
7351 2002-12-10  Tom Tromey  <tromey@redhat.com>
7352
7353         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
7354         From Laurent Bardet <l.bardet@magic.fr>.
7355
7356 2002-12-09  Tom Tromey  <tromey@redhat.com>
7357
7358         * include/win32.h (_Jv_platform_solib_prefix): New define.
7359         (_Jv_platform_solib_suffix): Likewise.
7360         * include/posix.h (_Jv_platform_solib_prefix): New define.
7361         (_Jv_platform_solib_suffix): Likewise.
7362         * java/lang/natRuntime.cc: Include StackTrace.h.
7363         (_load): Use findLibrary and new platform defines.
7364         (nativeGetLibname): Use new platform defines.
7365
7366         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
7367         `t' won't be null.
7368
7369 2002-12-08  Mark Wielaard  <mark@klomp.org>
7370
7371         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
7372         cache remote jar files.
7373         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
7374         add File.separator to URL when it is a directory.
7375         * java/lang/ClassLoader.java: Add Classpath javadoc.
7376         (parent): final.
7377         (getParent): Add (disabled) security check.
7378         (findLibrary): New default method.
7379         * java/net/JarURLConnection.java (getManifest): Implement.
7380         (getInputStream): Only create InputStream when entry exists.
7381         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
7382         when they exist.
7383         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
7384
7385 2002-12-08  Mark Wielaard  <mark@klomp.org>
7386
7387         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
7388         (lastDefaultLocale): New field.
7389         (getBundle): When Locale.getDefault != lastDefaultLocale reset
7390         resourceBundleCache.
7391
7392 2002-12-06  Mark Wielaard  <mark@klomp.org>
7393
7394         * java/net/InetAddress.java (toString): Use hostname when not null,
7395         don't do an explicit reverse getHostName() lookup.
7396         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
7397         NullPointerException.
7398
7399 2002-12-06  Tom Tromey  <tromey@redhat.com>
7400
7401         * include/java-interp.h (class _Jv_InterpMethod): Added
7402         JV_MARKOBJ_DECL.
7403         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
7404         mark `prepared' field of interpreted method.
7405         * interpret.cc (compile): Use _Jv_AllocBytes.
7406
7407 2002-12-05  Andrew Haley  <aph@redhat.com>
7408
7409         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
7410         #ifdef (HAVE_BACKTRACE) around the whole function body.
7411
7412 2002-12-05  Tom Tromey  <tromey@redhat.com>
7413
7414         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
7415         * resolve.cc: Don't include AbstractMethodError.h.
7416         (_Jv_abstractMethodError): Removed.
7417         * defineclass.cc (handleMethodsBegin): Initialize method index to
7418         -1.
7419         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
7420         method index for "new" final method.
7421         (_Jv_SetVTableEntries): Compare index against -1 instead of using
7422         isVirtualMethod.  Added `flags' argument.
7423         (_Jv_MakeVTable): Throw exception for abstract method in concrete
7424         class.
7425
7426 2002-12-04  Tom Tromey  <tromey@redhat.com>
7427
7428         * java/net/SocketPermission.java (hashCode): Rewrote.
7429
7430 2002-12-04  Tom Tromey  <tromey@redhat.com>
7431
7432         * Makefile.in: Rebuilt.
7433         * Makefile.am (nat_source_files): Added natVMSecurityManager,
7434         natResourceBundle.
7435         * java/util/ResourceBundle.java (Security): Removed.
7436         (getCallingClassLoader): Now native.
7437         * java/util/natResourceBundle.cc: New file.
7438         * java/lang/natVMSecurityManager.cc: New file.
7439         * java/lang/VMSecurityManager.java (getClassContext): Now native.
7440
7441 2002-12-03  Mark Wielaard  <mark@klomp.org>
7442
7443         * java/util/jar/JarFile.java (manifest): Not final.
7444         (manifestRead): New field.
7445         (JarFile): Don't read Manifest in constructor.
7446         (getManifest): New method.
7447         (JarEnumeration.nextElement): Use new method.
7448         (getEntry): Likewise.
7449         * java/util/zip/ZipFile.java (name): Final.
7450         (raf): Likewsie.
7451         (entries): Change type to Hashtable.
7452         (closed): New field.
7453         (ZipFile): Don't read enties in constructor.
7454         (readEntries): Use Hashtable.
7455         (close): Set new close flag and set entries to null inside
7456         synchronized block.
7457         (entries): Contruct enumeration using new getEntries() method and
7458         entries Hashtable.
7459         (getEntryIndex): Removed.
7460         (getEntries): New method.
7461         (getEntry): Use new getEntries() method and entries Hastable.
7462         (getInputStream): Likewise.
7463         (size): Return getEntries().size().
7464         (ZipEntryEnumeration): Wrap entries Hashtable elements.
7465         * java/util/zip/ZipEntry.java (cal): Don't initialize.
7466         (time): Removed
7467         (dostime): New field.
7468         (zipFileIndex): Removed.
7469         (ZipEntry(ZipEntry)): Copy dostime.
7470         (setDOSTime): Now final and doesn't convert dos time.
7471         (getDOSTime): Likewise.
7472         (setTime): Convert dos time.
7473         (getTime): Likewise.
7474         (getCalendar): New method.
7475         (setExtra): Use setTime().
7476         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7477
7478 2002-12-03  Tom Tromey  <tromey@redhat.com>
7479
7480         * java/lang/Character.java (forDigit): Formatting fix.
7481
7482 2002-12-03  Raif Naffah  <raif@fl.net.au>
7483
7484         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7485         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7486         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7487
7488 2002-12-03  Andrew Haley  <aph@redhat.com>
7489
7490         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7491         _Jv_PushClass.
7492         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7493         (_Jv_PopClass): New.
7494         (_Jv_PushClass): New.
7495         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7496         discover the ClassLoader of our caller.
7497         (_Jv_CheckArrayStore): Don't check that a class is assignment
7498         compatible with Object.
7499         * java/lang/natVMTHrowable.cc: Delete.
7500         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7501         java.lang.VMThrowable.
7502         (StackTrace(), StackTrace(int)): New constructors.
7503         (classAt, methodAt, update, methodAtAddress): New methods.
7504         (map): New field.
7505         * java/lang/VMThrowable.java: Use StackTrace instead of
7506         natVMTHrowable.
7507         * java/lang/Class.h (getClassLoaderInternal): New.
7508         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7509         Be friendly with gnu::gcj::runtime::StackTrace.
7510         (Object.chain): New field.
7511         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7512         gnu::gcj::runtime::StackTrace.
7513         * gnu/gcj/runtime/natStackTrace.cc: New file.
7514         * gnu/gcj/runtime/MethodRef.java: New file.
7515         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7516         instead of getClassLoader().
7517         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7518         java::lang::VMThrowable.
7519         * Makefile.am (core_java_source_files): Add MethodRef.java,
7520         StackTrace.java.
7521         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7522         * Makefile.in: Rebuild.
7523
7524 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
7525
7526         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7527         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7528         yes also for sh-linux* and sh[34]*-linux*.
7529         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7530         set SIGNAL_HANDLER to use DWARF2 exception for them.
7531         * configure: Regenerate.
7532
7533 2002-12-02  Tom Tromey  <tromey@redhat.com>
7534
7535         * jni.cc: Added `name' argument.
7536         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7537         `const char *' argument.
7538         (class _Jv_JNIEnv) [DefineClass]: Likewise.
7539
7540 2002-12-01  Tom Tromey  <tromey@redhat.com>
7541
7542         Bug compatibility, for PR libgcj/8738:
7543         * java/io/CharArrayWriter.java (close): Do nothing.
7544         (flush): Likewise.
7545         (reset): Don't touch `closed'.
7546         (write(int)): Don't throw IOException.
7547         (write(char[],int,int)): Likewise.
7548         (write(String,int,int)): Likewise.
7549         (closed): Removed.
7550
7551 2002-12-01  Mark Wielaard  <mark@klomp.org>
7552
7553         * java/lang/SecurityManager.java: Remerge comments, indenting and
7554         checkXXX methods with Classpath.
7555
7556 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
7557
7558         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7559         getNormalizedComponents): Fix calculation which was using one too
7560         many bits in the unnormalized format.
7561
7562 2002-11-29  Gary Benson  <gbenson@redhat.com>
7563
7564         For PR libgcj/8759:
7565         * java/beans/Introspector.java (flushCaches): New method.
7566         (flushFromCaches): Likewise.
7567
7568 2002-11-29  Michael Koch <konqueror@gmx.de>
7569
7570         * java/nio/channels/DatagramChannel.java
7571         (open): Added exception documentation.
7572         (write): Added exception documentation.
7573         (connect): Added exception documentation.
7574         (disconnect): Added exception documentation.
7575         (isConnected): Added exception documentation.
7576         (read): Added exception documentation.
7577         (receive): Added exception documentation.
7578         (send): Added exception documentation.
7579         (validOps): Added exception documentation.
7580         * java/nio/channels/SocketChannel.java
7581         (open): Added exception documentation.
7582         (read): Added exception documentation.
7583         (write): Added exception documentation.
7584         (connect): Added exception documentation.
7585         (finishConnect): Added exception documentation.
7586
7587 2002-11-29  Michael Koch <konqueror@gmx.de>
7588
7589         * gnu/java/nio/DatagramChannelImpl:
7590         (fd): New member variable to store file descriptor of socket.
7591         * gnu/java/nio/SelectionKeyImpl.java:
7592         (ops): Removed.
7593         (readyOps): New member variable.
7594         (interestOps): New member variable.
7595         (readyOps): Implemented.
7596         (readyOps): New method to set member variable readyOps.
7597         (interestOps): Replaced ops by interestOps.
7598         * gnu/java/nio/SelectorImpl.java:
7599         (SelectorImpl): Initialize key sets.
7600         (select): Call select with -1 instead of Long.MAX_VALUE).
7601         (java_do_select): Make it a native method.
7602         (getFDsAsArray): New helper method.
7603         (select): Remove canceled keys, give only interested file discriptors
7604         to java_do_select, set ready ops.
7605         (add): No need to initialize keys set here.
7606         (add_selected): No need to initialize selected set here.
7607         (deregisterCanceledKeys): New helper method.
7608         (register): Set interest ops, set attachments, added handling of datagram
7609         channels.
7610         * gnu/java/nio/ServerSocketChannelImpl:
7611         (SocketAccept): Renamed from NioSocketAccept.
7612         (implConfigureBlocking): Implemented.
7613         (accept): Use SocketAccept instead of NioSocketAccept.
7614         * gnu/java/nio/SocketChannelImpl:
7615         Reactivate native methods.
7616
7617 2002-11-29  Michael Koch <konqueror@gmx.de>
7618
7619         * gnu/java/nio/natByteBufferImpl.cc,
7620         gnu/java/nio/natCharBufferImpl.cc,
7621         gnu/java/nio/natDoubleBufferImpl.cc,
7622         gnu/java/nio/natFloatBufferImpl.cc,
7623         gnu/java/nio/natIntBufferImpl.cc,
7624         gnu/java/nio/natLongBufferImpl.cc,
7625         gnu/java/nio/natSelectorImpl.cc,
7626         gnu/java/nio/natServerSocketChannelImpl.cc,
7627         gnu/java/nio/natShortBufferImpl.cc,
7628         gnu/java/nio/natSocketChannelImpl.cc:
7629         New files that implement native functionalities.
7630
7631 2002-11-29  Michael Koch <konqueror@gmx.de>
7632
7633         * gnu/java/nio/ByteBufferImpl.java
7634         (ByteBufferImpl): Moved position() after limit.
7635         (nio_*): Use native implementation.
7636         * gnu/java/nio/CharBufferImpl.java:
7637         Reformated.
7638         (endian): New member variable string endianess of buffer.
7639         (CharBufferImpl): Moved position() after limit.
7640         (nio_*): Use native implementation.
7641         (subSequence): Implemented.
7642         * gnu/java/nio/DoubleBufferImpl.java
7643         (DoubleBufferImpl): Moved position() after limit.
7644         (nio_*): Use native implementation.
7645         * gnu/java/nio/FloatBufferImpl.java
7646         Reformated.
7647         (FloatBufferImpl): Moved position() after limit.
7648         (nio_*): Use native implementation.
7649         * gnu/java/nio/IntBufferImpl.java
7650         Added needed imports, Reformated.
7651         (IntBufferImpl): Moved position() after limit.
7652         (nio_*): Use native implementation.
7653         * gnu/java/nio/LongBufferImpl.java
7654         Reformated.
7655         (LongBufferImpl): Moved position() after limit.
7656         (nio_*): Use native implementation.
7657         * gnu/java/nio/ShortBufferImpl.java
7658         Reformated.
7659         (ShortBufferImpl): Moved position() after limit.
7660         (nio_*): Use native implementation.
7661
7662 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
7663
7664         * java/util/Locale.java (toString): Improve efficiency if country
7665         and variant are both empty.
7666
7667 2002-11-26  Tom Tromey  <tromey@redhat.com>
7668
7669         * verify.cc (pop_init_ref): New method.
7670         (verify_instructions_0) [op_iaload, op_laload, op_faload,
7671         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7672         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7673         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7674         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7675         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7676         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
7677         let `this' argument be uninitialized.  Don't let `null' be passed
7678         as `this' to construtor.
7679
7680 2002-11-26  Mark Wielaard  <mark@klomp.org>
7681
7682         * javax/transaction/HeuristicCommitException.java: Classpath merge.
7683         * javax/transaction/HeuristicMixedException.java: Likewise.
7684         * javax/transaction/HeuristicRollbackException.java: Likewise.
7685         * javax/transaction/InvalidTransactionException.java: Likewise.
7686         * javax/transaction/NotSupportedException.java: Likewise.
7687         * javax/transaction/RollbackException.java: Likewise.
7688         * javax/transaction/Status.java: Likewise.
7689         * javax/transaction/Synchronization.java: Likewise.
7690         * javax/transaction/SystemException.java: Likewise.
7691         * javax/transaction/Transaction.java: Likewise.
7692         * javax/transaction/TransactionManager.java: Likewise.
7693         * javax/transaction/TransactionRequiredException.java: Likewise.
7694         * javax/transaction/TransactionRolledbackException.java: Likewise.
7695         * javax/transaction/UserTransaction.java: Likewise.
7696         * javax/transaction/xa/XAException.java: Likewise.
7697         * javax/transaction/xa/XAResource.java: Likewise.
7698         * javax/transaction/xa/Xid.java: Likewise.
7699
7700 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
7701
7702         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7703         define.
7704         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7705         * include/posix.h (socklen_t): Define if not already defined.
7706
7707 2002-11-25  Tom Tromey  <tromey@redhat.com>
7708
7709         * verify.cc (type::compatible): Backed out broken change.
7710
7711         * verify.cc (type::compatible): Check initialization status
7712         first.
7713         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7714         Don't use NULLCHECK.
7715
7716 2002-11-23  H.J. Lu <hjl@gnu.org>
7717
7718         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7719         Include ../config/accross.m4.
7720         * aclocal.m4; Rebuild.
7721         * configure: Likewise.
7722
7723 2002-11-23  Mark Wielaard  <mark@klomp.org>
7724
7725         * javax/naming/AuthenticationException.java: Update copyright header.
7726         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7727         * javax/naming/Binding.java: Likewise.
7728         * javax/naming/CannotProceedException.java: Likewise.
7729         * javax/naming/CommunicationException.java: Likewise.
7730         * javax/naming/CompositeName.java: Likewise.
7731         * javax/naming/CompoundName.java: Likewise.
7732         * javax/naming/ConfigurationException.java: Likewise.
7733         * javax/naming/Context.java: Likewise.
7734         * javax/naming/ContextNotEmptyException.java: Likewise.
7735         * javax/naming/InitialContext.java: Likewise.
7736         * javax/naming/InsufficientResourcesException.java: Likewise.
7737         * javax/naming/InterruptedNamingException.java: Likewise.
7738         * javax/naming/LimitExceededException.java: Likewise.
7739         * javax/naming/LinkException.java: Likewise.
7740         * javax/naming/LinkLoopException.java: Likewise.
7741         * javax/naming/LinkRef.java: Likewise.
7742         * javax/naming/MalformedLinkException.java: Likewise.
7743         * javax/naming/NameAlreadyBoundException.java: Likewise.
7744         * javax/naming/NameClassPair.java: Likewise.
7745         * javax/naming/NameNotFoundException.java: Likewise.
7746         * javax/naming/NameParser.java: Likewise.
7747         * javax/naming/NamingEnumeration.java: Likewise.
7748         * javax/naming/NamingSecurityException.java: Likewise.
7749         * javax/naming/NoInitialContextException.java: Likewise.
7750         * javax/naming/NoPermissionException.java: Likewise.
7751         * javax/naming/NotContextException.java: Likewise.
7752         * javax/naming/OperationNotSupportedException.java: Likewise.
7753         * javax/naming/PartialResultException.java: Likewise.
7754         * javax/naming/Reference.java: Likewise.
7755         * javax/naming/Referenceable.java: Likewise.
7756         * javax/naming/ReferralException.java: Likewise.
7757         * javax/naming/ServiceUnavailableException.java: Likewise.
7758         * javax/naming/SizeLimitExceededException.java: Likewise.
7759         * javax/naming/TimeLimitExceededException.java: Likewise.
7760         * javax/naming/directory/Attribute.java: Likewise.
7761         * javax/naming/directory/AttributeInUseException.java: Likewise.
7762         * javax/naming/directory/AttributeModificationException.java: Likewise.
7763         * javax/naming/directory/Attributes.java: Likewise.
7764         * javax/naming/directory/BasicAttribute.java: Likewise.
7765         * javax/naming/directory/BasicAttributes.java: Likewise.
7766         * javax/naming/directory/DirContext.java: Likewise.
7767         * javax/naming/directory/InitialDirContext.java: Likewise.
7768         * javax/naming/directory/InvalidAttributeIdentifierException.java:
7769         Likewise.
7770         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7771         * javax/naming/directory/InvalidAttributesException.java: Likewise.
7772         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7773         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7774         * javax/naming/directory/ModificationItem.java: Likewise.
7775         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7776         * javax/naming/directory/SchemaViolationException.java: Likewise.
7777         * javax/naming/directory/SearchControls.java: Likewise.
7778         * javax/naming/directory/SearchResult.java: Likewise.
7779         * javax/naming/event/EventContext.java: Likewise.
7780         * javax/naming/event/EventDirContext.java: Likewise.
7781         * javax/naming/event/NamespaceChangeListener.java: Likewise.
7782         * javax/naming/event/NamingEvent.java: Likewise.
7783         * javax/naming/event/NamingExceptionEvent.java: Likewise.
7784         * javax/naming/event/NamingListener.java: Likewise.
7785         * javax/naming/event/ObjectChangeListener.java: Likewise.
7786         * javax/naming/ldap/Control.java: Likewise.
7787         * javax/naming/ldap/ControlFactory.java: Likewise.
7788         * javax/naming/ldap/ExtendedRequest.java: Likewise.
7789         * javax/naming/ldap/ExtendedResponse.java: Likewise.
7790         * javax/naming/ldap/HasControls.java: Likewise.
7791         * javax/naming/ldap/InitialLdapContext.java: Likewise.
7792         * javax/naming/ldap/LdapContext.java: Likewise.
7793         * javax/naming/ldap/LdapReferralException.java: Likewise.
7794         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7795         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7796         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7797         * javax/naming/spi/DirObjectFactory.java: Likewise.
7798         * javax/naming/spi/DirStateFactory.java: Likewise.
7799         * javax/naming/spi/DirectoryManager.java: Likewise.
7800         * javax/naming/spi/InitialContextFactory.java: Likewise.
7801         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7802         * javax/naming/spi/NamingManager.java: Likewise.
7803         * javax/naming/spi/ObjectFactory.java: Likewise.
7804         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7805         * javax/naming/spi/ResolveResult.java: Likewise.
7806         * javax/naming/spi/Resolver.java: Likewise.
7807         * javax/naming/spi/StateFactory.java: Likewise.
7808
7809         * javax/naming/spi/NamingManager.java (ofb): Package private.
7810
7811 2002-11-21  Mark Wielaard  <mark@klomp.org>
7812
7813         * java/net/URL.java: Merge with Classpath (partly).
7814         * java/net/URLStreamHandler: Merge with Classpath.
7815
7816 2002-11-22  Michael Koch <konqueror@gmx.de>
7817
7818         * include/posix.h:
7819         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7820         * include/win32.h:
7821         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7822         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7823
7824 2002-11-21  Michael Koch <konqueror@gmx.de>
7825
7826         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7827         Only the new network functions should be in it.
7828
7829 2002-11-21  Michael Koch <konqueror@gmx.de>
7830
7831         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7832         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7833
7834 2002-11-21  Michael Koch <konqueror@gmx.de>
7835
7836         * java/nio/channels/AsynchronousCloseException.java,
7837         java/nio/channels/CancelledKeyException.java,
7838         java/nio/channels/ClosedByInterruptException.java,
7839         java/nio/channels/ConnectionPendingException.java,
7840         java/nio/channels/FileLockInterruptionException.java,
7841         java/nio/channels/IllegalSelectorException.java,
7842         java/nio/channels/NoConnectionPendingException.java,
7843         java/nio/channels/NonReadableChannelException.java,
7844         java/nio/channels/NonWritableChannelException.java,
7845         java/nio/channels/NotYetBoundException.java,
7846         java/nio/channels/NotYetConnectedException.java,
7847         java/nio/channels/OverlappingFileLockException.java,
7848         java/nio/channels/UnresolvedAddressException.java,
7849         java/nio/channels/UnsupportedAddressTypeException.java:
7850         New files.
7851         * Makefile.am (ordinary_java_source_files): Added new files.
7852         * Makefile.in: Regenerated.
7853
7854 2002-11-21  Michael Koch <konqueror@gmx.de>
7855
7856         * include/posix.h
7857         (_Jv_socket): New method.
7858         (_Jv_connect): New method.
7859         (_Jv_close): New method.
7860         (_Jv_platform_close_on_exec): Prefixed system function with "::".
7861         (_Jv_bind): New method.
7862         (_Jv_listen): New method.
7863         (_Jv_write): New method.
7864         (_Jv_read): New method.
7865         * include/win32.h
7866         (_Jv_socket): New method.
7867         (_Jv_connect): New method.
7868         (_Jv_close): New method.
7869         (_Jv_bind): New method.
7870         (_Jv_listen): New method.
7871         (_Jv_write): New method.
7872         (_Jv_read): New method.
7873         * java/net/natNetworkInterface.cc:
7874         Include platform.h, removed inclusion of socket.h
7875         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7876         ::close() by _Jv_close().
7877         * java/net/natPlainDatagramSocketImpl.cc:
7878         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7879         added some new lines to make code more readable.
7880         (create): Replaced ::socket() by _Jv_socket().
7881         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7882         * java/net/natPlainSocketImpl.cc:
7883         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7884         removed include of socket.h, removed some windows defines
7885         (now in include/win32.h).
7886         (create): Replaced ::socket() by _Jv_socket().
7887         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7888         (write): Replaced ::read by _Jv_write().
7889         (read): Replaced ::read by _Jv_read().
7890
7891 2002-11-20  Michael Koch <konqueror@gmx.de>
7892
7893         * Makefile.am (ordinary_java_source_files):
7894         Added java/nio/channels/FileChannel.java.
7895         * Makefile.in: Regenerated.
7896
7897 2002-11-20  Michael Koch <konqueror@gmx.de>
7898
7899         * java/io/FileInputStream.java
7900         (getChannel): New method.
7901         * java/io/FileOutputStream.java
7902         (getChannel): New method.
7903         * java/net/ServerSocket.java
7904         (bind): Removed duplicate code and called another bind method instead.
7905         * java/nio/channels/SelectionKey.java
7906         (isValid): Removed wrong exception documentation.
7907         * java/nio/channels/ServerSocketChannel.java
7908         (accept): Added exception documentation.
7909         (open): Fixed typo, added exception documentation.
7910         * java/nio/channels/spi/AbstractSelectableChannel.java
7911         (implCloseChannel): Added exception documentation.
7912         (add): Reformated.
7913         (register): Added exception documentation.
7914
7915 2002-11-20  Andreas Jaeger  <aj@suse.de>
7916
7917         * configure: Regenerated with new libtool.m4.
7918
7919 2002-11-19  Tom Tromey  <tromey@redhat.com>
7920
7921         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7922         `referent'.
7923         (finalize_referred_to_object): Don't modify `referent' or `copy'
7924         fields.
7925         (add_to_hash): Correctly set `n->next' when updating list.
7926         * java/lang/ref/Reference.java (enqueue): Return false if already
7927         enqueued.
7928
7929 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
7930
7931         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7932         to function and function pointer declarations in accordance with
7933         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7934         based on whether __GCJ_JNI_IMPL__ has been defined or not.
7935         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7936         JNI function definitions.
7937
7938 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7939
7940         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7941         that was causing CoderResults to be cached, not WeakReferences
7942         to CoderResults.
7943
7944 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7945
7946         * java/security/KeyStore.java (getInstance): Fix
7947         comment and throw IllegalArgumentException if
7948         given provider is null.
7949         (getInstance): New method for jdk1.4 compatibility.
7950
7951 2002-11-18  Michael Koch <konqueror@gmx.de>
7952
7953         * java/net/PlainSocketImpl.java: Fix imports.
7954
7955 2002-11-18  Michael Koch <konqueror@gmx.de>
7956
7957         * java/nio/channels/SelectionKey.java
7958         (isValid): Added exception documentation.
7959         * java/nio/channels/Selector.java
7960         (open): Declare "throws IOException".
7961
7962 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7963
7964         * java/nio/charset/Charset.java
7965         (<clinit>): New method.
7966         (encode): Synchronize use of cached encoder object.
7967         (decode): Synchronize use of cached encoder object.
7968
7969 2002-11-18  Michael Koch <konqueror@gmx.de>
7970
7971         * gnu/java/nio/ByteBufferImpl.java,
7972         gnu/java/nio/CharBufferImpl.java,
7973         gnu/java/nio/DatagramChannelImpl.java,
7974         gnu/java/nio/DoubleBufferImpl.java,
7975         gnu/java/nio/FileChannelImpl.java,
7976         gnu/java/nio/FloatBufferImpl.java,
7977         gnu/java/nio/IntBufferImpl.java,
7978         gnu/java/nio/LongBufferImpl.java,
7979         gnu/java/nio/PipeImpl.java,
7980         gnu/java/nio/SelectionKeyImpl.java,
7981         gnu/java/nio/SelectorImpl.java,
7982         gnu/java/nio/SelectorProviderImpl.java,
7983         gnu/java/nio/ServerSocketChannelImpl.java,
7984         gnu/java/nio/ShortBufferImpl.java,
7985         gnu/java/nio/SocketChannelImpl.java,
7986         java/nio/DoubleBuffer.java,
7987         java/nio/FloatBuffer.java,
7988         java/nio/IntBuffer.java,
7989         java/nio/LongBuffer.java,
7990         java/nio/ShortBuffer.java,
7991         java/nio/channels/FileChannel.java: New files.
7992
7993 2002-11-18  Michael Koch <konqueror@gmx.de>
7994
7995         * Makefile.am (ordinary_java_source_files):
7996         Added java/nio/ReadOnlyBufferException.java and
7997         java/nio/channels/ClosedSelectorException.java.
7998         * Makefile.in: Regenerated.
7999
8000 2002-11-18  Michael Koch <konqueror@gmx.de>
8001
8002         * java/net/PlainSocketImpl.java: Reworked imports.
8003         * java/net/ServerSocket.java
8004         (ServerSocket): Create socket.
8005         * java/net/SocketAddress.java: Documentation added.
8006         * java/net/natPlainSocketImpl.cc: Reindented.
8007         * java/nio/ReadOnlyBufferException.java: New file
8008         * java/nio/channels/ClosedChannelException.java: Documentation added.
8009         * java/nio/channels/ClosedSelectorException.java: New file.
8010
8011 2002-11-17  Mark Wielaard  <mark@klomp.org>
8012
8013         * java/net/HttpURLConnection.java ((getPermission): Take port
8014         into consideration.
8015         (getErrorStream): Implement.
8016
8017 2002-11-17  Mark Wielaard  <mark@klomp.org>
8018
8019         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
8020
8021 2002-11-16  Mark Wielaard  <mark@klomp.org>
8022
8023         Integrate work by Raif S. Naffah (raif@fl.net.au)
8024         * java/security/DummyKeyPairGenerator.java (clone): New method.
8025         * java/security/DummyMessageDigest.java (clone): New method.
8026         (engineUpdate): Now public.
8027         (engineReset): Likewise.
8028         (engineDigest): Likewise.
8029         (engineGetDigestLength): New method.
8030         * java/security/DummySignature.java (clone): New method.
8031         * java/security/KeyPairGenerator.java (provider): Now package private.
8032         (getInstance(String)): Use getInstance(String,Provider).
8033         (getInstance(String,String): Use getInstance(String,Provider)
8034         (getInstance(String,Provider): New method.
8035         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
8036         * java/security/KeyPairGeneratorSpi.java (clone): New method.
8037         * java/security/MessageDigest.java (provider): Now package private.
8038         (getInstance(String): Use getInstance(String,Provider).
8039         (getInstance(String,String): Use getInstance(String,Provider)
8040         (getInstance(String,Provider): New method.
8041         * java/security/Provider.java (toCanonicalKey): New method.
8042         (get): New method that uses toCanonicalKey().
8043         (put): Use toCanonicalKey().
8044         (remove): Likewise.
8045         * java/security/Security.java (insertProviderAt): Provider index is one
8046         based, not zero based.
8047         (addProvider): Likewise.
8048         (removeProvider): Likewise.
8049         * java/security/Signature.java (provider): Now package private.
8050         (getInstance(String)): Use getInstance(String,Provider).
8051         (getInstance(String,String): Use getInstance(String,Provider)
8052         (getInstance(String,Provider): New method.
8053         (getInstance(String,String,Provider): Don't cast DummySignature.
8054
8055 2002-11-15  Tom Tromey  <tromey@redhat.com>
8056
8057         For PR libgcj/8593:
8058         * java/util/zip/GZIPInputStream.java (read): Check file size.
8059         Look in inflater for remaining input bytes.
8060         (read4): Added buf and offset arguments.
8061
8062 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
8063
8064         * java/applet/AppletContext.java: Fix typo and remove redundant
8065         modifiers.
8066
8067 2002-11-14  Tom Tromey  <tromey@redhat.com>
8068
8069         * java/lang/natRuntime.cc (insertSystemProperties): Set
8070         gnu.classpath.home.
8071
8072 2002-11-13  Michael Koch <konqueror@gmx.de>
8073
8074         * java/nio/ByteBuffer.java
8075         (allocate): New method.
8076         (wrap): New method.
8077         (put): New method.
8078         (get): New method.
8079
8080 2002-11-13  Michael Koch <konqueror@gmx.de>
8081
8082         * java/nio/channels/AlreadyConnectedException.java:
8083         Removed unneeded import.
8084         (AlreadyConnectedException): Documentation added.
8085         * java/nio/channels/Pipe.java
8086         (SinkChannel.SinkChannel): Documentation added.
8087         (SinkChannel.validOps): New method.
8088         (SourceChannel.SourceChannel): Documentation added.
8089         (SourceChannel.validOps): New method.
8090         (Pipe): Documentation added.
8091         (open): Documentation added.
8092         (SinkChannel.channel): Documentation added.
8093         (SourceChannel.channel): Documentation added.
8094         * java/nio/channel/SelectableChannel.java
8095         (SelectableChannel): Documentation added.
8096         (blockingLock): Documentation added.
8097         (configureBlocking):Documentation added.
8098         (isBlocking):Documentation added.
8099         (isRegistered):Documentation added.
8100         (keyFor):Documentation added.
8101         (provider):Documentation added.
8102         (register): Documentation added.
8103         (validOps): Documentation added.
8104         * jaba/nio/channels/SelectionKey.java
8105         (SelectionKey): Documentation added.
8106         (attach): Documentation added.
8107         (attachment): Documentation added.
8108         (isAcceptable): Documentation added.
8109         (isConnetable): Documentation added.
8110         (isReadable): Documentation added.
8111         (isWritable): Documentation added.
8112         (cancel): Documentation added.
8113         (channel): Documentation added.
8114         (interestOps): Documentation added.
8115         (isValid): Documentation added.
8116         (readyOps): Documentation added.
8117         (selector): Documentation added.
8118         * jaba/nio/channels/Selector.java
8119         (Selector): Documentation added.
8120         (open): Documentation added.
8121         (close): Documentation added.
8122         (isOpen): Documentation added.
8123         (keys): Documentation added.
8124         (provider): Documentation added.
8125         (select): Documentation added.
8126         (selectedKeys): Documentation added.
8127         (selectNow): Documentation added.
8128         (wakeup): Documentation added.
8129         * java/nio/channels/spi/AbstractInterruptibleChannel.java
8130         (AbstractInterruptibleChannel): Documentation added.
8131         (opened): Default to true;
8132         (begin): Documentation added.
8133         (close): Set opened to false, documentation added.
8134         (isOpen): Documentation added.
8135         * java/nio/channels/spi/AbstractSelectionKey.java
8136         (AbstractSelectionKey): Documentation added.
8137         (cancel): Documentation added.
8138         (isValid): Documentation added.
8139         * java/nio/channels/spi/AbstractSelector.java
8140         (AbstractSelector): Documentation added.
8141         (begin): Documentation added.
8142         (close): Documentation added.
8143         (isOpen): Documentation added.
8144         (deregister): Documentation added.
8145         (end): Documentation added.
8146         (provider): Documentation added.
8147         (implCloseSelector): Documentation added.
8148         (register): Documentation added.
8149         * java/nio/channels/spi/SelectorProvider.java
8150         (SelectorProvider): Documentation added.
8151         (openDatagramChannel): Documentation added.
8152         (openPipe): Documentation added.
8153         (openSelector): Documentation added.
8154         (openServerSocketChannel): Documentation added.
8155         (openSocketChannel): Documentation added.
8156         (provider): Documentation added.
8157
8158 2002-11-12  Michael Koch <konqueror@gmx.de>
8159
8160         * java/nio/Buffer.java: Implemented.
8161         * java/nio/CharBuffer.java: New file.
8162         * java/nio/InvalidMarkException.java: New file.
8163         * java/nio/channels/DatagramChannel.java: Implemented.
8164         * java/nio/channels/ServerSocketChannel.java: Implemented.
8165         * java/nio/channels/SocketChannel.java: Implemented.
8166         * java/nio/channels/spi/AbstractChannel.java: Removed.
8167         * java/nio/channels/spi/AbstractSelectableChannel.java:
8168         Implemented.
8169         * java/nio/charset/Charset.java:
8170         Merge from Classpath.
8171         * java/nio/charset/CharsetDecoder.java: New file.
8172         * java/nio/charset/CharsetEncoder.java: New file.
8173         * java/nio/charset/CoderResult.java: New file.
8174         * Makefile.am (ordinary_java_source_files): Added new files.
8175         * Makefile.in: Regenerated.
8176
8177 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8178
8179         * gnu/java/nio/charset/ISO_8859_1.java,
8180         gnu/java/nio/charset/Provider.java,
8181         gnu/java/nio/charset/US_ASCII.java,
8182         gnu/java/nio/charset/UTF_16.java,
8183         gnu/java/nio/charset/UTF_16BE.java,
8184         gnu/java/nio/charset/UTF_16Decoder.java,
8185         gnu/java/nio/charset/UTF_16Encoder.java,
8186         gnu/java/nio/charset/UTF_16LE.java,
8187         gnu/java/nio/charset/UTF_8.java: New files.
8188
8189 2002-11-11  Michael Koch <konqueror@gmx.de>
8190
8191         * java/nio/charset/CharacterCodingException.java:
8192         This class must be public.
8193         * java/nio/charset/CoderMalfunctionError.java:
8194         This class must be public.
8195         * java/nio/charset/CodingErrorAction.java:
8196         This class must be public.
8197         * java/nio/charset/IllegalCharsetNameException.java:
8198         This class must be public, better implementation.
8199         * java/nio/charset/MalformedInputException.java:
8200         This class must be public, better implementation.
8201         * java/nio/charset/UnmappableCharacterException.java:
8202         This class must be public, better implementation.
8203         * java/nio/charset/UnsupportedCharsetException.java:
8204         This class must be public, better implementation.
8205
8206 2002-11-11  Michael Koch <konqueror@gmx.de>
8207
8208         * java/nio/BufferOverflowException.java,
8209         java/nio/BufferUnderflowException.java: New file.
8210         * Makefile.am (ordinary_java_source_files):
8211         Added new files.
8212         * Makefile.in: Regenerated.
8213
8214 2002-11-10  Tom Tromey  <tromey@redhat.com>
8215
8216         * java/awt/Container.java (validate): Use tree lock.
8217         (getComponent): Likewise.
8218         (getComponents): Likewise.
8219         (addImpl): Likewise.
8220         (remove): Likewise.
8221         (removeAll): Likewise.
8222         (processEvent): Fixed indentation.
8223         (getComponentAt): Use tree lock.
8224         (findComponentAt): Likewise.
8225         (removeNotify): Likewise.
8226         (isAncestorOf): Likewise.
8227         (list): Likewise.
8228         (visitChildren): Likewise.
8229         (findNextFocusComponent): Likewise.
8230         (addNotifyContainerChildren): Likewise.
8231         (getAccessibleChildrenCount): Likewise.
8232         (getAccessibleChild): Likewise.
8233
8234         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
8235         (getSize): Likewise.
8236         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
8237         (getSize): Likewise.
8238         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
8239         (calcSize): Likewise.
8240         * java/awt/CardLayout.java (getSize): Use tree lock.
8241         (gotoComponent): Likewise.
8242         (layoutContainer): Likewise.
8243
8244         * java/io/natFileDescriptorWin32.cc (read): Handle case where
8245         count is 0.
8246         * java/io/natFileDescriptorPosix.cc (read): Handle case where
8247         count is 0.
8248
8249         * java/io/Externalizable.java, java/io/FilePermission.java,
8250         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
8251         java/io/SerializablePermission.java, java/text/Format.java,
8252         java/util/AbstractMap.java, java/util/HashMap.java,
8253         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
8254         versions from Classpath.
8255
8256 2002-11-10  Anthony Green  <green@redhat.com>
8257
8258         * java/util/jar/Attributes.java (Name): Fix name check.
8259
8260 2002-11-10  Mark Wielaard  <mark@klomp.org>
8261
8262         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
8263         with getName() as message.
8264         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
8265         type as message.
8266
8267         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
8268         unused.
8269
8270 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
8271
8272         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
8273         for Win32. JNICALL has been defined to __stdcall to be compatible
8274         with Sun's JDKs.
8275
8276 2002-11-10  Tom Tromey  <tromey@redhat.com>
8277
8278         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
8279         (setRows): Check newRows, not rows.
8280
8281         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
8282
8283 2002-11-09  Tom Tromey  <tromey@redhat.com>
8284
8285         * java/applet/Applet.java, java/applet/AppletContext.java,
8286         java/applet/AppletStub.java, java/applet/AudioClip.java,
8287         java/awt/CardLayout.java,
8288         java/awt/ContainerOrderFocusTraversalPolicy.java,
8289         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
8290         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
8291         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
8292         java/awt/color/ICC_ColorSpace.java,
8293         java/awt/color/ICC_Profile.java,
8294         java/awt/color/ICC_ProfileGray.java,
8295         java/awt/color/ICC_ProfileRGB.java,
8296         java/awt/datatransfer/DataFlavor.java,
8297         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
8298         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
8299         New versions from Classpath.
8300         * Makefile.in: Rebuilt.
8301         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
8302         ICC_ProfileRGB.
8303
8304         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
8305         display policy.
8306
8307         * java/awt/List.java (processEvent): Added missing `else's.
8308
8309         * java/awt/Window.java (show): validate() before showing.  Make
8310         parent displayable.
8311         (isDisplayable): New method.
8312
8313 2002-11-07  Mark Wielaard  <mark@klomp.org>
8314
8315         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
8316         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
8317
8318         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
8319         annotation.
8320         (loadClass): Take String as codebases.
8321         (getClassAnnotation): Use MyClassLoader annotations.
8322         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
8323         call exportObject(this).
8324
8325         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
8326         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
8327         (setAnnotation): Don't set locBytesStream and locStream.
8328         (replaceObject): Removed.
8329         (flush): Don't test locStream.
8330         (getLocBytes): LikeWise.
8331         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
8332         (leaseCache): New field.
8333         (dirty): Use leaseCache.
8334         (LeaseRecord): New inner class.
8335         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
8336         explicitly call exportObject().
8337         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
8338         false to communicate with Sun JDK130.
8339         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
8340         * gnu/java/rmi/server/RMIObjectInputStream.java
8341         (UnicastConnectionManager): Removed field.
8342         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
8343         Use UnicastServer.getExportedRef().
8344         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
8345         (expireTime): Likewise.
8346         (CONNECTION_TIMEOUT): Likewise.
8347         (disconnect): Call sock.close().
8348         (isExpired): New method.
8349         (resetTime): Likewise.
8350         (run): Use do while loop and catch Exception for discardConnection().
8351         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
8352         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
8353         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
8354         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
8355         (exportObject): Use refcache.
8356         (unexportObject): Likewise.
8357         (getExportedRef): New method.
8358         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
8359         constructor.
8360         (exportObject): Save manager.serverobj.
8361         (getStub): New method.
8362
8363 2002-11-07  Mark Wielaard  <mark@klomp.org>
8364
8365         * java/lang/reflect/natField.cc (getBoolean): Use getType().
8366         (getByte): Likewise.
8367         (getShort): Likewise.
8368         (getInt): Likewise.
8369         (getLong): Likewise.
8370         (getFloat): Likewise.
8371         (getDouble): Likewise.
8372         (get): Likewise.
8373         (setChar): Likewise.
8374         (setByte): Likewise.
8375         (setShort): Likewise.
8376         (setInt): Likewise.
8377         (setLong): Likewise.
8378         (setFloat): Likewise.
8379         (setDouble): Likewise.
8380
8381 2002-11-07  Michael Koch <konqueror@gmx.de>
8382
8383         * java/awt/Choice.java,
8384         java/awt/Container.java,
8385         java/awt/GridBagLayout.java:
8386         Fixed documentation.
8387         * java/awt/peer/ContainerPeer.java:
8388         Reindented.
8389
8390 2002-11-07  Michael Koch <konqueror@gmx.de>
8391
8392         * java/awt/color/ICC_Profile.java:
8393         Added missing constants.
8394         * java/awt/color/ICC_ColorSpace.java
8395         (getMinValue): Added dummy implementation.
8396         (getMaxValue): Added dummy implementation.
8397         * java/awt/datatransfer/DataFlavor.java
8398         (imageFlavor): Added.
8399         (isMimeTypeEqual): Must be final.
8400         (getDefaultRepresentationClass): Must be non-static.
8401         (getDefaultRepresentationClassAsString): Must be non-static.
8402         * java/awt/dnd/DragSourceContext.java
8403         (dragExit): Corrected argument.
8404         (dragDropEnd): Corrected argument.
8405         * java/awt/dnd/DragSourceListener.java.java
8406         (dragExit): Corrected argument.
8407         (dragDropEnd): Corrected argument.
8408         * java/awt/font/TextHitInfo.java
8409         (toString): Added stubbed implementation.
8410         * java/awt/geom/PathIterator.java:
8411         The constants must be static.
8412         * java/awt/image/VolatileImage.java
8413         (IMAGE_INCOMPATIBLE): Fixed typo.
8414         * java/awt/image/renderable/RenderableImage.java
8415         (HINTS_OBSERVED): Must be static.
8416         * java/beans/BeanInfo.java:
8417         Constants must be final.
8418
8419 2002-11-06  Tom Tromey  <tromey@redhat.com>
8420
8421         From svens@it.uu.se.  For PR libgcj/8481.
8422         * java/util/Random.java (nextInt(int)): Only use 31 bits.
8423
8424 2002-11-06  Tom Tromey  <tromey@redhat.com>
8425
8426         * jni.cc (array_from_valist): Assume that jlong won't be
8427         promoted.
8428
8429 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
8430
8431         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
8432         Return 20.
8433         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
8434         Return 16.
8435
8436 2002-11-03  Tom Tromey  <tromey@redhat.com>
8437
8438         * java/lang/ClassLoader.java (loadClass): Call loadClass on
8439         VMClassLoader, not findClass.
8440
8441 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
8442
8443         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8444         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8445         _Jv_DetermineVTableIndex, to determine vtable offset.
8446         (_Jv_DetermineVTableIndex): Remove.
8447         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
8448
8449         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8450
8451 2002-11-03  Tom Tromey  <tromey@redhat.com>
8452
8453         * java/nio/channels/AlreadyConnectedException.java: Extend
8454         IllegalStateException, per spec.
8455
8456 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
8457
8458         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8459
8460 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8461
8462         * java/util/ArrayList.java (readObject, writeObject): Only read/write
8463         size items.
8464
8465 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8466
8467         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8468         initial estimated size to avoid enlarge buffer frequently.
8469
8470 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8471
8472         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8473         ClassLoader when null.
8474         (ProxyType.hashCode): Loader null check no longer needed.
8475         (ProxyType.sameTypes): New method.
8476         (ProxyType.equals): Use new method.
8477
8478 2002-10-31  Mark Wielaard  <mark@klomp.org>
8479
8480         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8481         length of String.
8482         * java/net/URLEncoder.java (encode): Likewise.
8483
8484 2002-10-31  Mark Wielaard  <mark@klomp.org>
8485
8486         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8487         when stream is closed.
8488         (closeEntry): Likewise.
8489         (read): Likewise.
8490         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8491         ZipException when no entry active.
8492         (closeEntry): Likewise.
8493         (write): Likewise.
8494
8495 2002-11-02  Tom Tromey  <tromey@redhat.com>
8496
8497         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8498         * java/lang/natClass.cc (initializeClass): Don't return just
8499         because self==thread.
8500
8501         For PR java/8415:
8502         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8503         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8504
8505 2002-11-02  Andreas Schwab  <schwab@suse.de>
8506
8507         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8508         pass GCJFLAGS.
8509         (FLAGS_TO_PASS): Define.
8510         * Makefile.in: Regenerated.
8511
8512 2002-11-01  Michael Koch  <konqueror@gmx.de>
8513
8514         * java/nio/ByteOrder.java: New file.
8515         * java/nio/channels/DatagramChannel.java:
8516         (DatagramChannel): New constructor.
8517         * java/nio/channels/Pipe.java: New file.
8518         * java/nio/channels/SelectableChannel.java: New file.
8519         * java/nio/channels/SelectionKey.java: New file.
8520         * java/nio/channels/Selector.java: New file.
8521         * java/nio/channels/ServerSocketChannel.java
8522         (ServerSocketChannel): New constructor.
8523         * java/nio/channels/SocketChannel.java
8524         (SocketChannel): New constructor.
8525         * java/nio/channels/Pipe.java: New file.
8526         * java/nio/channels/spi/AbstractChannel.java: New file.
8527         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8528         * java/nio/channels/spi/AbstractSelectableChannel.java:
8529         License added
8530         (AbstractSelectableChannel): New stubbed method.
8531         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8532         * java/nio/channels/spi/AbstractSelector.java: New file.
8533         * java/nio/channels/spi/SelectorProvider.java: New file.
8534         * java/nio/charset/Charset.java: New file.
8535         * java/nio/charset/CoderMalfunctionError.java: New file.
8536         * java/nio/charset/CodingErrorAction.java: New file.
8537         * java/nio/charset/spi/CharsetProvider.java
8538         (charsetForName): Uncommented.
8539         * Makefile.am (java_native_source_files): Added new files.
8540         * Makefile.in: Regenerated.
8541
8542 2002-11-01  Michael Koch  <konqueror@gmx.de>
8543
8544         * java/net/InetAddress.java:
8545         (isAnyLocalAddress): Implemented.
8546         (isLoopbackAddress): Implemented, comment added.
8547         (isLinkLocalAddress): Implemented, documentation added.
8548         (isSiteLocalAddress): Implemented, documentation added.
8549         (isMCGlobal): Implemented, documentation added.
8550         (isMCNodeLocal): Implemented, documentation added.
8551         (isMCLinkLocal): Implemented, documentation added.
8552         (isMCSiteLocal): Implemented, documentation added.
8553         (isMCOrgLocal): Implemented, documentation added.
8554         (getHostName): Documentation added.
8555         (getCanonicalHostName): Implemented, documentation added.
8556         (getAddress): Documentation added.
8557         (hashCode): Documentation added.
8558         (equals): Documentation added.
8559         (toString): Fixed implementation.
8560         (getByAddress): Use Inet4Address and Inet6Address.
8561         (lookup): New linewrap.
8562         (getByName): SecurityManager check added, support Inet4Address and
8563         Inet6address, comments added.
8564         (getAllByName): SecurityManager check added, comments added.
8565         * java/net/Inet6Address.java:
8566         (Inet6Address): Initialize parent class with addr instead of null.
8567         * java/net/URL.java
8568         (equals): Documentation added.
8569         (getFile): Documentation added.
8570         (hashCode): Documentation added.
8571         * java/net/natInetAddress.cc:
8572         (aton): Fix IPv6 support.
8573         * java/net/natPlainDatagramSocketImpl.cc:
8574         (peek): Throw PortUnreachableException when suitable.
8575         (peekData): Throw PortUnreachableException when suitable.
8576         (send): Throw PortUnreachableException when suitable.
8577         (receive): Throw PortUnreachableException when suitable.
8578
8579 2002-10-27  Mark Wielaard  <mark@klomp.org>
8580
8581         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8582         argument.
8583         (readLeShort): Likewise and use byte[].
8584         (readLeInt): Likewise.
8585         (readEntries): Use new versions of methods and use byte[] for reading
8586         a complete zip entry. Add ZipFile name to exceptions.
8587         (entries): Add ZipFile name to exceptions.
8588         (getEntry): Likewise.
8589         (checkLocalHeader): Use new versions of methods and add ZipFile name
8590         to exceptions.
8591
8592 2002-10-31  Mark Anderson  <mark@panonet.net>
8593
8594         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8595         added
8596
8597 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
8598
8599         * configure.in: Disable hash sync when not using threads.
8600         * configure: Regenerated.
8601
8602 2002-10-24  Tom Tromey  <tromey@redhat.com>
8603
8604         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8605         (_Jv_FindSymbolInExecutable): Removed argument name.
8606         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8607         java.library.path is set.
8608
8609         * gij.cc (help): Document --showversion.
8610         (version): Don't exit.
8611         (main): Handle --showversion.  Exit if --version given.
8612
8613 2002-10-23  Tom Tromey  <tromey@redhat.com>
8614
8615         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8616         (array_from_valist): Correctly handle promotion for jint, jlong,
8617         jfloat, and jdouble.
8618
8619 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
8620
8621         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8622         GetFileAttributesEx( ) to find file length and modification times,
8623         as the latter is not present on Windows 95.
8624
8625 2002-10-21  Michael Koch  <konqueror@gmx.de>
8626
8627         * java/net/URL.java
8628         (URL): Activate SecurityManager checks.
8629         (equals): Use URLStreamHandler implementation instead of doing it
8630         alone. This allows special protocol stream handlers to change default
8631         behaviour.
8632         (hashCode): Use URLStreamHandler implementation instead of doing it
8633         alone. This allows special protocol stream handlers to change default
8634         behaviour.
8635         * java/net/URLStreamHandler.java
8636         (equals): Implemented default URL equality check.
8637         (hostsEqual): Implemented default URL equality check.
8638         (hashCode): Implemented default URL hashCode algorithm.
8639         * java/net/natPlainDatagramSocketImpl.cc:
8640         No lines longer then 80 characters.
8641
8642 2002-10-20  Adam Megacz <adam@xwt.org>
8643
8644         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8645         * configure.in: enabled hash sync on Win32
8646         * include/win32-threads.h (_Jv_ThreadId_t): added.
8647         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8648         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8649         removed some posix-isms, use Thread::sleep() instead of usleep,
8650         added code to clear bottom three bits if platform has a broken
8651         linker.
8652         * include/win32-threads.h (_Jv_ThreadId_t): added.
8653
8654 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
8655
8656         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8657         runtime property "gnu.gcj.progname" containing the name used to
8658         invoke the current Java program (similar to argv[0] for C
8659         programs).
8660
8661 2002-10-15  Tom Tromey  <tromey@redhat.com>
8662
8663         Fix for PR libgcj/8234:
8664         * java/util/zip/natInflater.cc (reset): Reset avail_in.
8665         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8666
8667 2002-10-13  Mark Wielaard  <mark@klomp.org>
8668
8669         * mauve-libgcj: Enable Mauve tests that compile now.
8670
8671 2002-10-11  Mark Wielaard  <mark@klomp.org>
8672
8673         Fix for PR libgcj/8142
8674         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8675         loading native modules.
8676
8677 2002-10-10  Michael Koch  <konqueror@gmx.de>
8678
8679         * javax/swing/AbstractListModel.java
8680         (getListDataListeners): New stubbed method.
8681         javax/swing/DefaultBoundedRangeModel.java
8682         (getChangeListeners): New stubbed method.
8683         javax/swing/DefaultSingleSelectionModel.java
8684         (getChangeListeners): New stubbed method.
8685
8686 2002-10-10  Michael Koch  <konqueror@gmx.de>
8687
8688         * gcj/.cvsignore: New file to ignore files generated during build.
8689         * include/.cvsignore: New file to ignore files generated during build.
8690
8691 2002-10-10  Michael Koch  <konqueror@gmx.de>
8692
8693         * java/net/HttpURLConnection.java
8694         (getPermission): New method.
8695         (getErrorStream): New stub method.
8696         (getHeaderFieldDate): New stub method.
8697         * java/net/Inet4Address.java:
8698         (isLinkLocalAddress): Typo fixed.
8699         * java/net/InetAddress.java:
8700         (readResolve): New stubbed method (for serialization).
8701         (isAnyLocalAddress): New stubbed method.
8702         (isLoopbackAddress): New stubbed method.
8703         (isLinkLocalAddress): New stubbed method.
8704         (isSiteLocalAddress): New stubbed method.
8705         (isMCGlobal): New stubbed method.
8706         (isMCNodeGlobal): New stubbed method.
8707         (isMCLinkLocal): New stubbed method.
8708         (isMCSiteLocal): New stubbed method.
8709         (isMCOrgLocal): New stubbed method.
8710         (getCanonicalHostName): New stubbed method.
8711         (getByAddress): Create instances of Inet4Address/Inet6Address,
8712         instead of InetAddress, documentation added.
8713         * java/net/MulticastSocket.java
8714         (getInterface): Removed FIXME.
8715         (getNetworkInterface): New method.
8716         (setNetworkInterface): New method.
8717         * java/net/NetworkInterface.java:
8718         (toString): Use property "line.separator" instead of "\n".
8719         * java/net/URLConnection.java
8720         (getContent): New stubbed method.
8721         * java/net/URLStreamHandler.java:
8722         (equals): New stubbed method.
8723         (hostsEqual): New stubbed method.
8724         (hashCode): New stubbed method.
8725         * java/net/natNetworkInterface.cc:
8726         (getRealNetworkInterfaces): Create Inet4Address object
8727         instead of InetAddress.
8728
8729 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8730
8731         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8732         unsigned long temporary to implement insn_iushr shifts.
8733
8734 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8735
8736         * configure.host [s390*-*]: Enable Java interpreter.
8737         Enable hash synchronization.  Add sysdeps dir.
8738         * sysdep/s390/locks.h: New file.
8739
8740 2002-10-06  Mark Wielaard  <mark@klomp.org>
8741
8742         * java/lang/Thread.java (setDaemon): Check startable_flag,
8743         not isAlive().
8744
8745 2002-10-07  Michael Koch  <konqueror@gmx.de>
8746
8747         * java/nio/Buffer.java: New stub file.
8748         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8749         of class Charset.
8750         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8751         * Makefile.in: Regenerated.
8752
8753 2002-10-07  Michael Koch  <konqueror@gmx.de>
8754
8755         * java/nio/ByteBuffer.java:
8756         removed import of not commited class.
8757
8758 2002-10-07  Michael Koch  <konqueror@gmx.de>
8759
8760         * java/nio/ByteBuffer.java,
8761         java/nio/MappedByteBuffer.java:
8762         New files, forgot to add these dummies.
8763         * Makefile.am (java_native_source_files): Added new files.
8764         * Makefile.in: Regenerated.
8765
8766 2002-10-07  Michael Koch  <konqueror@gmx.de>
8767
8768         * java/nio/channels/AlreadyConnectedException.java,
8769         java/nio/channels/ClosedChannelException.java,
8770         java/nio/channels/ReadableByteChannel.java,
8771         java/nio/channels/InterruptibleChannel.java,
8772         java/nio/channels/Channel.java,
8773         java/nio/channels/ByteChannel.java,
8774         java/nio/channels/GatheringByteChannel.java,
8775         java/nio/channels/ScatteringByteChannel.java,
8776         java/nio/channels/WritableByteChannel.java,
8777         java/nio/charset/CharacterCodingException.java,
8778         java/nio/charset/IllegalCharsetNameException.java,
8779         java/nio/charset/MalformedInputException.java,
8780         java/nio/charset/UnmappableCharacterException.java,
8781         java/nio/charset/UnsupportedCharsetException.java,
8782         java/nio/charset/spi/CharsetProvider.java: New file.
8783         These files are exceptions or interfaces,
8784         no real or abstract classes.
8785         * Makefile.am (java_native_source_files): Added new files.
8786         * Makefile.in: Regenerated.
8787
8788 2002-10-05  Michael Koch  <konqueror@gmx.de>
8789
8790         * java/net/InetAddress.java
8791         (getByAddress): Fixed documentation.
8792         (getByAddress): New method.
8793         * java/net/Inet4Address.java: New file.
8794         * java/net/URL.java
8795         (URL): Documentation added.
8796         (getContent): Documentation added.
8797         (getContent): New stubbed method.
8798         (getQuery): New method.
8799         (openConnection): Documentation added.
8800         (openStream): Documentation added.
8801         (setURLStreamHandlerFactory): Documentation added.
8802         * java/net/URI.java: New stub file.
8803         * Makefile.am
8804         (java_native_source_files): Added java/net/Inet4Address.java,
8805         java/net/Inet6Address.java and java/net/URI.java.
8806         * Makefile.in: Regenerated.
8807
8808 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8809
8810         * java/lang/ProtectionDomain.java (linesep): Remove field.
8811         (toString): Use System.getProperty("line.separator").
8812
8813 2002-10-04  Michael Koch  <konqueror@gmx.de>
8814
8815         * java/security/Identity.java: Added serialVersionUID.
8816         * java/security/KeyPair.java: Added serialVersionUID.
8817         * java/security/Provider.java: Added serialVersionUID.
8818         * java/security/SecureRandom.java: Added serialVersionUID.
8819         * java/security/SecureRandomSpi.java: Added serialVersionUID.
8820         * java/security/SignedObject.java: Added serialVersionUID.
8821         * java/security/cert/Certificate.java: Added serialVersionUID.
8822
8823 2002-10-04  Mark Wielaard <mark@klomp.org>
8824
8825         * java/security/Security.java: Use java.home or gnu.classpath.home
8826         to load providers.
8827         (loadProviders): Extra dir argument.
8828         (getProvider): Return null when not found.
8829
8830 2002-10-04  Mark Wielaard  <mark@klomp.org>
8831
8832         * java/lang/Throwable.java: Remerge with Classpath.
8833
8834 2002-10-04  Michael Koch  <konqueror@gmx.de>
8835
8836         * java/net/InetAddress.java:
8837         (isMulticastAddress): Added documentation.
8838         (getHostAddress): Added documentation.
8839         (toString): Added documentation.
8840         (getByAddress): Fixed documentation.
8841         (getByName): Added documentation.
8842         (getAllByName): Added documentation.
8843         (getLocalHost): Added documentation.
8844
8845 2002-10-04  Michael Koch  <konqueror@gmx.de>
8846
8847         * java/beans/beancontext/BeanContextChildSupport.java:
8848         Added serialVersionUID.
8849         * java/text/Collator.java: (compare): Made documentation HTML-aware.
8850         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8851         * javax/naming/Name.java: Added serialVersionUID.
8852
8853 2002-10-03  Adam Megacz <adam@xwt.org>
8854
8855         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8856         some functionality that isn't supported yet on WIN32.
8857
8858 2002-10-03  Tom Tromey  <tromey@redhat.com>
8859
8860         * Makefile.in: Rebuilt.
8861         * Makefile.am (awt_java_source_files): Added new files.
8862
8863 2002-10-03  Michael Koch  <konqueror@gmx.de>
8864
8865         * java/net/InetAddress.java
8866         (class InetAddress): Removed final keyword.
8867         (equals): Fixed typo.
8868         (getByAddress): New method.
8869
8870 2002-10-03  Michael Koch  <konqueror@gmx.de>
8871
8872         * java/awt/dnd/Autoscroll.java:
8873         New file, merge from Classpath.
8874         * java/awt/dnd/DragSourceAdapter.java:
8875         (dragExit): Fixed typos in argument type.
8876         (dragDropEnd): Fixed typos in argument type.
8877         * java/awt/dnd/DragSourceDropEvent.java:
8878         New file, merge from Classpath.
8879         * java/awt/dnd/DropTarget.java:
8880         Added stubs, merge from Classpath.
8881         * java/awt/dnd/DropTargetAdapter.java:
8882         New file, merge from Classpath.
8883         * java/awt/dnd/DropTargetContext.java:
8884         New file, merge from Classpath.
8885         * java/awt/dnd/DropTargetDragEvent.java:
8886         New file, merge from Classpath.
8887         * java/awt/dnd/DropTargetDropEvent.java:
8888         New file, merge from Classpath.
8889         * java/awt/dnd/DropTargetEvent.java:
8890         New file, merge from Classpath.
8891         * java/awt/dnd/DropTargetListener.java:
8892         New file, merge from Classpath.
8893         * java/awt/dnd/MouseDragGestureRecognizer.java:
8894         New file, merge from Classpath.
8895         * java/awt/dnd/peer/DropTargetContextPeer.java:
8896         New file, merge from Classpath.
8897
8898 2002-10-03  Michael Koch  <konqueror@gmx.de>
8899
8900         * java/net/DatagramPacket.java
8901         (setLength): Fixed typo and be HTML-aware.
8902         * java/net/InetSocketAddress.java
8903         (InetSocketAddress): Correct initialization of hostname, fixed typo.
8904         (equals): Added comment about equality of InetSocketAddress objects.
8905         * java/net/ServerSocket.java
8906         (accept): Added checks.
8907         (isClosed): New stubbed method.
8908         * java/net/SocketOptions.java: Reindention.
8909         * java/net/SocketPermission
8910         (SocketPermission): Documentation fixed.
8911
8912 2002-10-03  Michael Koch  <konqueror@gmx.de>
8913
8914         * java/net/DatagramSocket.java
8915         (receive): Check with SecurityManager AFTER the packet is received,
8916         check if connected to multicast address, documentation added.
8917         (send): Only check SecurityManager if connected, check address of
8918         packet to send.
8919         (connect): Implemented, documentation added.
8920         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8921         * java/net/InetSocketAddress.java
8922         (whole file): Reindented.
8923         (hostname): New attribute.
8924         (InetSocketAddress): Initialize new attribute.
8925         (getAddress): Documentation added.
8926         (getHostName): Documentation added.
8927         (getPort): Documentation added.
8928         (hashCode): Documentation added.
8929         (isUnresolved): Documentation added.
8930         (toString): Conform to output of JDK 1.4.1, documentation added.
8931         * java/net/MulticastSocket.java
8932         (joinGroup): Removed FIXME, documentation added.
8933         (leaveGroup): Removed FIXME, documentation added.
8934         (send): Documentation added.
8935         * java/net/Socket.java
8936         (inputShutdown): New variable.
8937         (outputShutdown): New variable.
8938         (Socket): Initialize new variables.
8939         (getRemoteSocketAddress): Check if connected.
8940         (shutdownInput): Set new variable.
8941         (shutdownOutput): Set new variable.
8942         (isConnected): New method.
8943         (isClosed): New method.
8944         (isInputShutdown): New method.
8945         (isOutputShutdown): New method.
8946         * java/net/URLStreamHandler.java
8947         (URLStreamHandler): New method.
8948         (openConnection): Added documentation.
8949         (parseURL): Added documentation.
8950         (getHostAddress): New method.
8951         (getDefaultPort): New method.
8952
8953 2002-10-02  Tom Tromey  <tromey@redhat.com>
8954
8955         * java/rmi/activation/ActivationDesc.java,
8956         java/rmi/activation/ActivationGroupDesc.java,
8957         java/rmi/activation/ActivationGroupID.java,
8958         java/rmi/activation/ActivationID.java: New versions from
8959         Classpath.
8960
8961 2002-09-30  Bo Thorsen  <bo@suse.de>
8962
8963         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8964
8965 2002-09-30  Tom Tromey  <tromey@redhat.com>
8966
8967         * java/io/ObjectInputStream.java (resolveProxyClass): New method
8968         from Classpath.
8969         * Makefile.in: Rebuilt.
8970         * Makefile.am (rmi_java_source_files): Added new files.
8971         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8972         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8973         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8974         Classpath.
8975         * gnu/java/rmi/dgc/DGCImpl.java,
8976         gnu/java/rmi/dgc/DGCImpl_Skel.java,
8977         gnu/java/rmi/dgc/DGCImpl_Stub.java,
8978         gnu/java/rmi/registry/RegistryImpl_Skel.java,
8979         gnu/java/rmi/registry/RegistryImpl_Stub.java,
8980         gnu/java/rmi/server/RMIHashes.java,
8981         gnu/java/rmi/server/RMIObjectInputStream.java,
8982         gnu/java/rmi/server/RMIObjectOutputStream.java,
8983         gnu/java/rmi/server/UnicastConnection.java,
8984         gnu/java/rmi/server/UnicastConnectionManager.java,
8985         gnu/java/rmi/server/UnicastRef.java,
8986         gnu/java/rmi/server/UnicastServer.java,
8987         gnu/java/rmi/server/UnicastServerRef.java,
8988         java/rmi/MarshalledObject.java,
8989         java/rmi/server/RMIClassLoader.java,
8990         java/rmi/server/RemoteObject.java,
8991         java/rmi/server/UnicastRemoteObject.java,
8992         java/security/SecureClassLoader.java: Merged from Classpath.
8993
8994 2002-09-29  Anthony Green  <green@redhat.com>
8995
8996         * java/lang/reflect/UndeclaredThrowableException.java: New file.
8997         Imported from GNU Classpath.
8998         * java/lang/reflect/natProxy.cc: New file.
8999         * java/lang/reflect/InvocationHandler.java: New file.  Imported
9000         from GNU Classpath.
9001         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
9002         Classpath.
9003         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
9004         Classpath.
9005         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
9006         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
9007         New statics.
9008         * gcj/javaprims.h ("Java"): Add new classes.
9009         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
9010         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
9011         java/lang/reflect/Proxy$$ProxyType.h): And this.
9012         (inner_nat_headers): Add these new headers.
9013         (ordinary_java_source_files): Add new files.
9014         (nat_source_files): Add new file.
9015         * Makefile.in: Rebuilt.
9016
9017 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
9018
9019         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
9020         a single configuration.
9021
9022 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9023
9024         * java/util/TimeZone.java (getDSTSavings): New method.
9025         Fixes PR libgcj/7786.
9026
9027 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9028
9029         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
9030         to see if `the_method == 0' before looking up vtable index.
9031         Fixes PR libgcj/7709.
9032
9033 2002-09-25  Tom Tromey  <tromey@redhat.com>
9034
9035         * java/lang/natClassLoader.cc:
9036         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
9037         * resolve.cc: Include NoClassDefFoundError.h, not
9038         ClassNotFoundException.h.
9039         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
9040
9041         * defineclass.cc: Don't include ClassNotFoundException.h.
9042
9043         * resolve.cc: Include StringBuffer.
9044         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
9045
9046         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
9047         allocated but not initialized.
9048
9049 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9050
9051         Fix for PR libgcj/7766:
9052         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
9053         (getNextEntry): Set it.
9054         (closeEntry): Likewise.
9055         (read): Likewise.
9056         (close): Likewise.
9057         (available): Use it.
9058
9059 2002-09-25  Michael Koch  <konqueror@gmx.de>
9060
9061         * java/net/DatagramSocket.java
9062         (DatagramSocket): Initialize new instance variables.
9063         (close): Reset new instance variables.
9064         (getLocalAddress): Remove unneeded SecurityManager usage.
9065         (getLocalPort): Check if socket is already bound.
9066         (isConnected): New method.
9067         (getInetAddress): Implemented.
9068         (getPort): Better Implementation, documentation fixed.
9069         (getRemoteSocketAddress): New method.
9070         * java/net/JarURLConnection.java
9071         (element): Typo fixed.
9072         (getMainAttributes): New method.
9073         (getAttributes): New method (stub only).
9074         (getManifest): New method (stub only).
9075         * java/net/NetPermission.java: Added serialVersionsUID.
9076         * java/net/Socket.java
9077         (connect): Check blocking mode of associated channel,
9078         documentation added.
9079         (getLocalSocketAddress): Better implementation.
9080         (getRemoteSocketAddress): Implemented.
9081         (isBound): New method.
9082         (setSendBufferSize): Documentation added.
9083         * java/net/SocketAddress.java: Added serialVersionsUID.
9084         * java/net/SocketPermission.java: Added serialVersionsUID.
9085         * java/net/URL.java
9086         (URL): Wrap for shorter lines, initialize new instance variables,
9087         documentation added.
9088         (equals): Check new instance variables too.
9089         (getContent): Documentation added.
9090         (getPath): Documentation added.
9091         (getAuthority): New method.
9092         (getHost): Documentation added.
9093         (getPort): Documentation added.
9094         (getDefaultPort): New method.
9095         (getProtocol): Documentation added.
9096         (getUserInfo): Documentation added.
9097         (set): Initialize new instance variables, documentation added.
9098         * java/net/URLStreamHandler.java
9099         (setURL): New method.
9100         * java/net/natPlainDatagramSocketImpl.cc
9101         (connect): Fix exception name.
9102         (disconnect): Fix exception name.
9103
9104 2002-09-25  Michael Koch  <konqueror@gmx.de>
9105
9106         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
9107         * java/nio/channels/DatagramChannel.java:
9108         extends AbstractSelectableChannel
9109         * java/nio/channels/ServerSocketChannel.java:
9110         extends AbstractSelectableChannel
9111         * java/nio/channels/SocketChannel.java:
9112         extends AbstractSelectableChannel
9113         * Makefile.am (ordinary_java_source_files):
9114         java/nio/channels/spi/AbstractSelectableChannel.java added.
9115         * Makefile.in: Regenerated.
9116
9117 2002-09-25  Michael Koch  <konqueror@gmx.de>
9118
9119         * java/net/DatagramSocket.java
9120         (DatagramSocket): Exception documentation added.
9121         (bind): Exception documentation added, addded SecurityManager check,
9122         added SocketAddress type check.
9123         (getSoTimeout): Check impl.
9124         (receive): Fix SecurityManager check, check impl, documentation added.
9125         (send): Check channel mode, documentation added.
9126         (connect): New method.
9127         (disconnect): Implemented.
9128         (getLocalSocketAddress): New method.
9129         (getReceiveBufferSize): Check impl.
9130         (setReuseAddress): Check impl.
9131         (getReuseAddress): Check impl.
9132         (setBroadcast): Check impl.
9133         (getBroadcast): Check impl.
9134         (setTrafficClass): Check impl, Documentation cleared.
9135         (getTrafficClass): Check impl.
9136         (getSendBufferSize): Check impl.
9137         (setReceiveBufferSize): Check impl, documentation added.
9138         (setSendBufferSize): Documentation added.
9139         (setDatagramSocketImplFactory): New method.
9140         * java/net/HttpURLConnection.java
9141         (HTTP_INTERNAL_ERROR): The correct code is 500.
9142         (HTTP_NOT_IMPLEMENTED): Added new constant.
9143         (setFollowRedirects): Documentation added.
9144         (getInstanceFollowRedirects): New method.
9145         (setInstanceFollowRedirects): New method.
9146         (setRequestMethod): Documentation added.
9147         (getResponseCode): Documentation added.
9148         (getResponseMessage): Documentation added.
9149         * java/net/JarURLConnection.java
9150         (JarURLConnection): protected since JDK 1.4.
9151         (getJarEntry): java.io.IOException to IOException, documentation added.
9152         (getJarFile): Documentation added.
9153         * java/net/ServerSocket.java
9154         (ServerSocket): Private to public, exception added.
9155         (ServerSocket): java.io.IOException to IOException, documentation added.
9156         (bind): Check socket address type, documentation added.
9157         (bind): java.io.IOException to IOException, documentation added.
9158         (accept): Documentation added.
9159         (implAccept): Check ch is not non-blocking, documentation added.
9160         (setSoTimeout): Documentation fixed.
9161         (setReceiveBufferSize): Documentation added.
9162         * java/net/Socket.java
9163         (Socket): Documentation added.
9164         (bind): Documentation added.
9165         (connect): Check socket address type, documentation added.
9166         (getRemoteSocketAddress): New method.
9167         (getLocalSocketAddress): New method.
9168         (setSoLinger): Documentation added.
9169         (getReuseAddress): New method.
9170         (setReuseAddress): New method.
9171         (getTrafficClass): New method.
9172         (setTrafficClass): New method.
9173         * java/net/URLStreamHandler.java
9174         (openConnection): java.io.IOException to IOException.
9175         (parseURL): Documentation added.
9176         (sameFile): public to protected, documentation added.
9177         (setURL): Documentation added.
9178         * java/nio/IllegalBlockingModeException.java: New file.
9179         * Makefile.am (ordinary_java_source_files):
9180         added java/nio/IllegalBlockingModeException.java
9181         * Makefile.in: Regenerated.
9182
9183 2002-09-25  Michael Koch  <konqueror@gmx.de>
9184
9185         * java/net/DatagramPacket
9186         (DatagramPacket): Exception documentation added.
9187         (setData): Likewise.
9188         (setSocketAddress): Likewise.
9189         * java/net/DatagramSocketImpl.java
9190         (peek): Documentation addded.
9191         (peekData): Documentation addded.
9192         (send): Documentation addded.
9193         (receive): Documentation addded.
9194         (connect): New method.
9195         (disconnect): New method.
9196         (joinGroup): New abstract method.
9197         (leaveGroup): New abstract method.
9198         * java/net/InetSocketAddress.java
9199         (InetSocketAddress): Documentation added.
9200         (equals): final keyword added.
9201         (getAddress): final keyword added.
9202         (getHostName): final keyword added.
9203         (getPort): final keyword added.
9204         (hashCode): final keyword added.
9205         (isUnresolved): final keyword added.
9206         * java/net/MulticastSocket.java
9207         (MulticastSocket): Documentation added.
9208         (MulticastSocket): New method.
9209         (joinGroup): Documentation added.
9210         (joinGroup): New method.
9211         (leaveGroup): Documentation added.
9212         (leaveGroup): New method.
9213         (send): Documentation added.
9214         * java/net/NetworkInterface.java
9215         (getByName): Documentation added.
9216         (getByInetAddress): Documentation added.
9217         (getNetworkInterfaces): Documentation added.
9218         * java/net/PlainDatagramSocketImpl.java
9219         (connect): New method.
9220         (disconnect): New method.
9221         * java/net/SocketImpl.java
9222         (create): Documentation added.
9223         (shutdownInput): Convert public to protected, as it always was.
9224         (shutdownOutput): Convert public to protected, as it always was.
9225         * java/net/SocketOptions.java
9226         (whole file): Reintented.
9227         * java/net/URLClassLoader.java
9228         (URLClassLoader): SecurityManager check added, documentation added.
9229         (findResources): Documentation added.
9230         (findClass): Documentation added.
9231         (newInstance): More correct method arguments.
9232         * java/net/URLConnection.java
9233         (connect): Documentation added.
9234         (getContent): Documentation added.
9235         (getPermission): Documentation added.
9236         (getInputStream): Documentation added.
9237         (getOutputStream): Documentation added.
9238         (setDoInput): Throw correct exception, documentation added.
9239         (setDoOutput): Throw correct exception, documentation added.
9240         (setAllowUserInteraction): Throw correct exception, documentation added.
9241         (setUseCaches): Throw correct exception, documentation added.
9242         (setIfModifiedSince): Throw correct exception, documentation added.
9243         (setRequestProperty): Throw exception, documentation added.
9244         (addRequestProperty): Throw exception, documentation added.
9245         (getRequestProperty): Throw exception, documentation added.
9246         (getRequestProperties): Documentation added.
9247         (setContentHandlerFactory): Documentation added.
9248         (guessContentTypeFromName): protected to public.
9249         (setFileNameMap): Documentation added.
9250         * java/net/URLDecoder.java
9251         (URLDecoder): New method.
9252         (decode): Documentation added.
9253         (whole file): Reindented.
9254         * java/net/URLEncoder.java
9255         (encode): Documentation added.
9256         * java/net/natPlainDatagramSocketImpl.cc
9257         (connect): New method.
9258         (disconnect): New method.
9259         * javax/naming/RefAddr:
9260         (addrType): addrType was never final.
9261         (equals): Fix typo in method name.
9262         * javax/naming/BinaryRefAddr:
9263         (equals): Fix typo in method name.
9264
9265 2002-09-22  Tom Tromey  <tromey@redhat.com>
9266
9267         Fix for PR libgcj/6576:
9268         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
9269         didn't find a given bundle.
9270         (getBundle): Don't require base bundle.
9271         (setParent): Removed old comment.
9272         (tryLocalBundle): Try components even if preceding components were
9273         empty.
9274
9275 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9276
9277         * Makefile.am (all-multi): Fix multilib parallel build.
9278
9279 2002-09-21  Michael Koch  <konqueror@gmx.de>
9280
9281         * java/net/Socket.java
9282         (sendUrgentData): New method.
9283         (getChannel): New method.
9284         * java/net/ServerSocket.java
9285         (getChannel): New method.
9286         (isBound): New method.
9287         * java/net/DatagramSocket.java
9288         (DatagramSocket): Two new methods.
9289         (bind): New method.
9290         (getChannel): New method.
9291         (isBound): New method.
9292         (send): Added newline to to make shorter lines.
9293         * java/net/PlainDatagramSocketImpl.java
9294         (mcastGrp): Added argument.
9295         (join): Use new mcastGrp.
9296         (leave): Use new mcastGrp.
9297         (joinGroup): New method.
9298         (leaveGroup): New method.
9299         * java/net/natPlainDatagramSocketImpl.cc
9300         (mcastGrp): Added argument, no yet really implemented.
9301         (getOption): Added newline for shorter lines.
9302         * java/net/natPlainSocketImpl.cc
9303         (read, setOption, getOption): Added newline for shorter lines.
9304
9305 2002-09-19  Tom Tromey  <tromey@redhat.com>
9306
9307        * java/lang/ClassLoader.java (resolveClass0): Set cause for
9308        newly-created exception.
9309
9310 2002-09-18  Michael Koch  <konqueror@gmx.de>
9311
9312         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9313         java/util/regex/PatternSyntaxException.java:
9314         Merge with classpath, new files.
9315         * Makefile.am (core_java_source_files):
9316         Added java/util/regex/Matcher.java,
9317         java/util/regex/Pattern.java,
9318         java/util/regex/PatternSyntaxException.java
9319         * Makefile.in: Regenerated.
9320         * include/config.h.in: Added HAVE_NET_IF_H.
9321         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
9322         Removed #if 0 ... #endif.
9323
9324 2002-09-17  Michael Koch  <konqueror@gmx.de>
9325
9326         * java/net/natNetworkInterface.cc:
9327         Removed unneed and yet wrong includes.
9328
9329 2002-09-17  Michael Koch  <konqueror@gmx.de>
9330
9331         * java/net/NetworkInterface.java: New file.
9332         * java/net/natNetworkInterface.java: New file.
9333         * configure.in: Added check for net/if.h.
9334         * configure: Regenerated.
9335         * Makefile.am
9336         (ordinary_java_source_files): Added NetworkInterface.java.
9337         (nat_source_files): Added natNetworkInterface.cc.
9338         * Makefile.in: Regenerated.
9339
9340 2002-09-16  Tom Tromey  <tromey@redhat.com>
9341
9342         * java/net/URLClassLoader.java (findClass): Code source for a
9343         class from a jar is not necessarily a jar: URL.
9344
9345 2002-09-16  Michael Koch  <konqueror@gmx.de>
9346
9347         * java/lang/AssertionError.java:
9348         Merge with classpath, fixes HTML.
9349         * java/rmi/server/LogStream.java:
9350         Merge with classpath, fixes some constants.
9351         * java/net/server/RemoteServer.java:
9352         Merge with classpath, adds serialVersionUID.
9353         * javax/naming/BinaryRefAddr.java:
9354         Merge with classpath, s/equal/equals/.
9355         * javax/naming/NamingException.java:
9356         Merge with classpath, fixed typo.
9357         * javax/naming/RefAddr.java:
9358         Merge with classpath, s/equal/equals/.
9359         * java/awt/Toolkit.java:
9360         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
9361         and typo fixed.
9362
9363 2002-09-15  Adam Megacz <adam@xwt.org>
9364
9365         * java/net/natPlainSocketImpl.cc: fixed typo.
9366
9367 2002-09-15  Adam Megacz <adam@xwt.org>
9368
9369         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
9370         which don't work on Win32 (yet).
9371
9372 2002-09-14  Adam Megacz <adam@xwt.org>
9373
9374         * java/net/natPlainDatagramSocket.cc: removed #include
9375         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
9376         * include/win32.h: included definition for IP_TOS to satisfy
9377         natPlainDatagramSocket.cc
9378
9379 2002-09-13  Michael Koch  <konqueror@gmx.de>
9380
9381         * java/net/DatagramPacket.java (DatagramPacket):
9382         Added linebreak for 80 chars per line.
9383         * java/net/JarURLConection.java
9384         (getInputStreami, getJarEntry): Likewise.
9385         * java/net/SocketPErmission.java
9386         (SocketPermission class docu, implies): Likewise.
9387         * java/net/URLClassLoader.java (findResources): Likewise.
9388         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
9389
9390 2002-09-13  Michael Koch  <konqueror@gmx.de>
9391
9392         * java/nio/channels/DatagramChannel.java,
9393         java/nio/channels/ServerSocketChannel.java
9394         java/nio/channels/SocketChannel.java:
9395         New dummy files to make java.net fully JDK 1.4 compatible
9396         * Makefile.am (ordinary_java_source_files): Added
9397         java/net/DatagramSocketImplFactory.java (long forgotten),
9398         java/nio/SocketChannel.java,
9399         java/nio/ServerSocketChannel.java,
9400         java/nio/DatagramChannel.java
9401         * Makefile.in: Regenrated.
9402
9403 2002-09-12  Michael Koch  <konqueror@gmx.de>
9404
9405         * java/net/DatagramSocketImpl.java
9406         (peekData): New method.
9407         * java/net/PlainDatagramSocketImpl.java
9408         (peekData): New method.
9409         * java/net/natPlainDatagramSocketImpl.cc
9410         (peekData): New method.
9411         * java/net/URLConnection
9412         (getPermission): New method.
9413         (addRequestProperty): New method.
9414         (getRequestProperties): New method.
9415         (guessContentTypeFromStream): New method, not really implemented.
9416         (URLConnection): Added/updated documentation.
9417         (connect): Added/updated documentation.
9418         (getURL): Added/updated documentation.
9419         (getContentLength): Added/updated documentation.
9420         (getContentType: Added/updated documentation.
9421         (getContentEncoding): Added/updated documentation.
9422         (getExpiration): Added/updated documentation.
9423         (getDate): Added/updated documentation.
9424         (getLastModified): Added/updated documentation.
9425         (getHeaderField): Added/updated documentation.
9426         (getHeaderFields): Added/updated documentation.
9427         (getHeaderFieldInt): Added/updated documentation.
9428         (getHeaderFieldDate): Added/updated documentation.
9429         (getHeaderFieldKey): Added/updated documentation.
9430         (getContent): Added/updated documentation.
9431         (getInputStream): Added/updated documentation.
9432         (getOutputStream): Added/updated documentation.
9433         (toString): Added/updated documentation.
9434         (setDoInput): Added/updated documentation.
9435         (getDoInput): Added/updated documentation.
9436         (setDoOutput): Added/updated documentation.
9437         (getDoOutput): Added/updated documentation.
9438         (setAllowUserInteraction): Added/updated documentation.
9439         (getAllowUserInteraction): Added/updated documentation.
9440         (setDefaultAllowUserInteraction): Added/updated documentation.
9441         (getDefaultAllowUserInteraction): Added/updated documentation.
9442         (setUseCaches): Added/updated documentation.
9443         (getUseCaches): Added/updated documentation.
9444         (setIfModifiedSince): Added/updated documentation.
9445         (getIfModifiedSince): Added/updated documentation.
9446         (getDefaultUseCaches): Added/updated documentation.
9447         (setDefaultUseCaches): Added/updated documentation.
9448         (setRequestProperty): Added/updated documentation.
9449         (getRequestProperty): Added/updated documentation.
9450         (setDefaultRequestProperty): Added/updated documentation.
9451         (getDefaultRequestProperty): Added/updated documentation.
9452         (setContentHandlerFactory): Added/updated documentation.
9453         (guessContentTypeFromName): Added/updated documentation.
9454         (getFileNameMap): Added/updated documentation.
9455         (setFileNameMap): Added/updated documentation.
9456
9457 2002-09-11  Michael Koch  <konqueror@gmx.de>
9458
9459         * java/net/Socket.java
9460         (Socket): protected to public (since JDK 1.4). Added @specnote.
9461         (bind): New method.
9462         (connect): Two new methods.
9463         (getKeepalive): Get correct socket option.
9464         (setKeepalive): Set correct socket option.
9465         (getOOBInline): New method.
9466         (setOOBInline): New method.
9467         * java/net/ServerSocket.java
9468         (bind): Two new methods.
9469         (getInetAddress): Reimplemented, catch exception.
9470         (getLocalSocketAddress): New method.
9471         (setReuseAddress): New method.
9472         (getReuseAdress): New method.
9473         (setReceiveBufferSize): New method.
9474         (getReceiveBufferSize): New method.
9475         (toString): Made string JDK 1.4 compliant.
9476
9477 2002-09-10  Michael Koch  <konqueror@gmx.de>
9478
9479         * java/net/SocketImpl.java
9480         (connect): New method.
9481         (supportsUrgentData): New method.
9482         (sendUrgentData): New method.
9483         * java/net/PlainSocketImpl.java
9484         (connect): One new method and two new implementation.
9485         (sendUrgentData): New method.
9486         * java/natPlainSocketImpl.cc
9487         (connect): Arguments changed, added support for timeouts.
9488         (getOption): Another __java_boolean to jboolean.
9489
9490 2002-09-07  Adam Megacz <adam@xwt.org>
9491
9492         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9493         definition of IP_TOS.
9494
9495 2002-09-04  Michael Koch  <konqueror@gmx.de>
9496
9497         * java/net/DatagramSocket.java
9498         (DatagramSocket): Added documentation.
9499         (close): Likewise.
9500         (getLocalAddress): Likewise.
9501         (getLocalPort): Likewise.
9502         (receive): Likewise.
9503         (send): Likewise.
9504         (setSoTimeout): Likewise.
9505         (connect): New method.
9506         (disconnect): New method.
9507         (getInetAddress): New method (FIXME)
9508         (getPort): New method.
9509         (setReuseAddress): New method.
9510         (getReuseAddress): New method.
9511         (setBroadcast): New method.
9512         (getBroadcast): New method.
9513         (setTrafficClass): New method.
9514         (getTrafficClass): New method.
9515         * java/net/MulticastSocket.java):
9516         (getTTL): Added @see in documentation.
9517         (setTTL): Added @see in documentation.
9518         (setLoopbackMode): New method.
9519         (getLoopbackMode): New method.
9520         * java/net/PlainSocketImpl.java:
9521         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9522         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9523         * java/net/PlainDatagramSocketImpl.java
9524         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9525         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9526         * java/net/natPlainSocketImpl.cc
9527         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9528         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9529         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9530         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9531         This should also fix SO_KEEPALIVE
9532         * java/net/natPlainDatagramSocketImpl.cc
9533         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9534         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9535         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9536         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9537
9538 2002-09-04  Michael Koch  <konqueror@gmx.de>
9539
9540         * java/net/SocketOptions.java: added static variables to be JDK 1.4
9541         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9542         IP_MULTICAST_LOOP, IP_TOS
9543
9544 2002-09-03  Tom Tromey  <tromey@redhat.com>
9545
9546         * java/lang/Class.h (_getDeclaredMethod): Declare.
9547         (_getMethod): Now private.
9548         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9549         getDeclaredMethod.  Now returns NULL on failure.
9550         * java/lang/Class.java (_getDeclaredMethod): Declare.
9551         (getDeclaredMethod): No longer native; implements access checks.
9552
9553 2002-09-01  Mark Wielaard  <mark@klomp.org>
9554
9555         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9556         (sanitizeStack): Correctly reset unknown and interpreter counters,
9557         detect interpreter runtime frames.
9558         (demangleInterpreterMethod): New method.
9559         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9560         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9561         filling in addrs[].
9562
9563 2002-09-02  Michael Koch  <konqueror@gmx.de>
9564
9565         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9566         re-indented documentation.
9567
9568 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9569
9570         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9571         public, per 1.4 spec.  Fixes PR libgcj/7785.
9572
9573 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
9574
9575         * Makefile.in: Rebuilt.
9576         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9577
9578 2002-08-29  Tom Tromey  <tromey@redhat.com>
9579
9580         * java/net/JarURLConnection.java (getCertificates): New method
9581         from Classpath.
9582         * java/net/URLClassLoader.java (URLClassLoader): Extends
9583         SecureClassLoader.
9584         (definePackage): New method from Classpath.
9585         (getPermissions): Likewise.
9586         (newInstance): Likewise.
9587         (findClass): Construct CodeSource for new class (from Classpath).
9588         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9589         methods.
9590         * java/net/URL.java (getUserInfo): New method.
9591         (set(String,String,int,String,String,String,String,String)): New
9592         method.
9593         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9594         (shutdownInput, shutdownOutput): Declare.
9595         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9596         Define.
9597         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9598         (getOption): Likewise.
9599         (shutdownInput): New method.
9600         (shutdownOutput): Likewise.
9601         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9602         keepalive.
9603         (getOption): Likewise.
9604         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9605         * java/net/Socket.java (setKeepAlive): New method.
9606         (getKeepAlive): Likewise.
9607         (shutdownInput, shutdownOutput): New methods.
9608
9609 2002-08-29  Michael Koch  <konqueror@gmx.de>
9610
9611         * java/net/DatagramPacket.java: updated to JDK 1.4 API
9612         new methods are:
9613         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9614           address),
9615         DatagramPacket(byte[] buf, int length, SocketAddress address),
9616         void setSocketAddress(SocketAddress address)
9617         public SocketAddress getSocketAddress()
9618
9619 2002-08-29  Tom Tromey  <tromey@redhat.com>
9620
9621         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9622         ftruncate is missing.
9623         * configure, include/config.h.in: Rebuilt.
9624         * acconfig.h (HAVE_FTRUNCATE): Mention.
9625         * configure.in: Check for ftruncate.
9626
9627 2002-08-29  Tom Tromey  <tromey@redhat.com>
9628
9629         * include/jvm.h (struct _Jv_frame_info): New structure.
9630         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9631         java-interp.h.
9632         (lookupInterp): New method.
9633         (getAddrAsString): Use _Jv_frame_info.
9634         (dladdrLookup): Likewise.
9635         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9636         interpreted frame.
9637         (lookupInterp): Declare.
9638         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9639         (fillInStackTrace): Collect information on interpreted frames.
9640         Use _Jv_frame_info.
9641         * interpret.cc: Include Thread.h.
9642         (run): Create and push _Jv_MethodChain object.
9643         (_Jv_EndOfInterpreter): New global.
9644         * java/lang/Thread.java (interp_frame): New field.
9645         * include/java-interp.h (struct _Jv_MethodChain): New structure.
9646         Include NameFinder.h.
9647
9648 2002-08-28  Tom Tromey  <tromey@redhat.com>
9649
9650         * java/lang/Class.h: Include Package.h.
9651         (Class::getProtectionDomain): Declare.
9652         (Class::getPackage): Declare.
9653
9654 2002-08-28  Michael Koch <konqueror@gmx.de>
9655
9656         * java/net/InetSocketAddress.java: Added some documentation and argument
9657         checks for the port numbers.
9658         * java/net/DatagramSocketImplFactory.java: New file.
9659
9660 2002-08-28  Michael Koch <konqueror@gmx.de>
9661
9662         * java/net/Authenticator.java: added some documentation.
9663
9664 2002-08-27  Tom Tromey  <tromey@redhat.com>
9665
9666         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9667         class.
9668         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9669
9670 2002-08-27  Michael Koch <konqueror@gmx.de>
9671
9672         * java/net/BindException.java,
9673         java/net/JarURLConnection.java,
9674         java/net/FileNameMap.java,
9675         java/net/HttpURLConnection.java,
9676         java/net/InetSocketAddress.java,
9677         java/net/DatagramPacket.java,
9678         java/net/DatagramSocket.java,
9679         java/net/DatagramSocketImpl.java,
9680         java/net/MulticastSocket.java,
9681         java/net/PasswordAuthentication.java,
9682         java/net/ServerSocket.java,
9683         java/net/Socket.java,
9684         java/net/URLClassLoader.java,
9685         java/net/URLConnection.java: add/update of some @since/@deprecated
9686
9687 2002-08-27  Tony Kimball <alk@pobox.com>
9688             Tom Tromey  <tromey@redhat.com>
9689
9690         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9691         define.
9692         (::close): Removed.
9693         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9694         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9695         (::close): Removed.
9696         (PlainSocketImpl::close): Use NATIVE_CLOSE.
9697         * include/win32.h (getcwd): Removed declaration.  Include io.h.
9698
9699 2002-08-25  Adam Megacz <adam@xwt.org>
9700
9701         * include/win32.h (getcwd): copied function declaration as
9702         temporary fix for header confusion.
9703
9704 2002-08-24  Mark Wielaard <mark@klomp.org>
9705
9706         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9707         (core_java_source_files): Add VMThrowable.java and NameFinder.java
9708         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9709         and natNameFinder.cc.
9710         * Makefile.in: Regenerate.
9711         * prims.cc: Use trace_enabled from VMThrowable.
9712         * name-finder.cc: Removed.
9713         * gcj/javaprims.h: Add class VMThrowable.
9714         * gnu/gcj/runtime/NameFinder.java: New file.
9715         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9716         * include/name-finder.h: Removed.
9717         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9718         method stackTraceString().
9719         (printStackTrace (PrintWriter)): Likewise.
9720         (stackTraceString): Complete rewrite of old printStackTrace using
9721         StringBuffer.
9722         (stackTraceStringBuffer): New helper method for stackTraceString().
9723         (fillInStackTrace): Delegate to VMTrowable.
9724         (getStackTrace): Likewise.
9725         (getStackTrace0): Removed.
9726         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9727         (setStackTrace): Copy given array.
9728         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9729         * java/lang/VMThrowable.java: New class.
9730         * java/lang/natVMThrowable.cc: New file.
9731
9732 2003-08-23  Michael Koch  <konqueror@gmx.de>
9733
9734         * java/net/URLConnection.java,
9735         java/netJarURLConnection.java,
9736         gnu/gcj/protocol/core/Connection.java,
9737         gnu/gcj/protocol/file/Connection.java,
9738         gnu/gcj/protocol/http/Connection.java: Added implementation of
9739         getHeaderFields().
9740
9741 2002-08-22  Tom Tromey  <tromey@redhat.com>
9742
9743         * gij.cc (help): Document -cp and -classpath.
9744         (main): Handle -classpath.
9745
9746 2002-08-21  Tom Tromey  <tromey@redhat.com>
9747
9748         * Makefile.in: Rebuilt.
9749         * Makefile.am (ordinary_java_source_files): Added
9750         SocketAddress.java, InetSocketAddress.java.
9751         * java/net/PortUnreachableException.java: Merged with Classpath.
9752         * java/net/SocketTimeoutException.java: Likewise.
9753         * java/net/URISyntaxException.java: Likewise.
9754         * java/net/SocketAddress.java: New class from Classpath.
9755         * java/net/InetSocketAddress.java: Likewise.
9756
9757 2003-08-21  Michael Koch  <konqueror@gmx.de>
9758
9759         * java/net/Authenticator.java: updated JDK 1.4
9760         * java/net/ContentHandler.java: updated JDK 1.4
9761
9762 2002-08-20  Michael Koch  <konqueror@gmx.de>
9763
9764         * java/net/URISyntaxException.java: New file.
9765         * java/net/SocketTimeoutException.java: New file.
9766         * java/net/PortUnreachableException.java: New file.
9767         * Makefile.am: Updated.
9768         * Makefile.in: Rebuilt.
9769
9770 2002-08-18  Mark Wielaard  <mark@klomp.org>
9771
9772         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9773         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9774         MessageDigestSpi (fixes Classpath bug #783).
9775
9776 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9777
9778         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9779         (startProcess): Allocate path for chdir in async-signal-safe way.
9780
9781 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9782
9783         Fix for PR libgcj/7570 and PR libgcj/7578:
9784         * java/lang/natPosixProcess.cc: Include java/io/File.h.
9785         (startProcess): Handle new `dir' argument.
9786         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9787         argument.
9788         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9789         argument.
9790         (startProcess): Likewise.
9791         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9792         argument.
9793         * java/lang/Runtime.java (execInternal): Added `dir' argument.
9794         (exec): Don't create new environment if ENV==null.  Pass DIR to
9795         execInternal.
9796         * java/lang/natRuntime.cc: Include java/io/File.h.
9797         (execInternal): Added `dir' argument.
9798
9799 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
9800
9801         * java/io/RandomAccessFile.java (skipBytes): Return number of
9802         bytes skipped.
9803
9804 2002-08-01  Mark Wielaard  <mark@klomp.org>
9805
9806         Reenable patch since shared library troubles on powerpc are solved:
9807         * gnu/java/security/provider/Gnu.java: Reference all implementation
9808         classes by using Class.getName().
9809         * gnu/java/security/der/DEREncodingException.java,
9810         gnu/java/security/provider/DERReader.java,
9811         gnu/java/security/provider/DERWriter.java,
9812         gnu/java/security/provider/DSAKeyPairGenerator.java,
9813         gnu/java/security/provider/DSAParameterGenerator.java,
9814         gnu/java/security/provider/DSAParameters.java,
9815         gnu/java/security/provider/DSASignature.java,
9816         gnu/java/security/provider/GnuDSAPrivateKey.java,
9817         gnu/java/security/provider/GnuDSAPublicKey.java,
9818         gnu/java/security/provider/MD5.java,
9819         gnu/java/security/util/Prime.java: New classes
9820         * Makefile.am (ordinary_java_source_files): Add above files.
9821         * Makefile.in: Regenerate.
9822         * gnu/java/security/provider/DefaultPolicy.java
9823         (getPermissions): Don't maintain static class variable of Permissions.
9824         * gnu/java/security/provider/SHA.java
9825         (engineUpdate): algorithm change.
9826         (engineDigest): algorithm change.
9827
9828 2002-08-09  Mark Wielaard  <mark@klomp.org>
9829
9830         * java/awt/image/MemoryImageSource.java: Change constructor to take
9831         int[] not byte[].
9832         * java/awt/Graphics2D.java: Uncomment methods that can now be
9833         compiled.
9834         * java/awt/GridBagLayout.java: New stub implementation.
9835         * javax/swing/text/html/HTML.java: Stub implementation.
9836         * javax/swing/text/html/parser/ParserDelegator.java: New stub
9837         implementation.
9838
9839         * Makefile.am: Add new files.
9840         * Makefile.in: Rebuilt.
9841
9842 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9843
9844         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9845         methods in Graphics2D.
9846
9847 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9848
9849         AWT/Swing merge from GNU Classpath.
9850
9851         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9852         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9853         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9854         java/awt/color/ProfileDataException.java,
9855         java/awt/CompositeContext.java, java/awt/Composite.java,
9856         java/awt/ContainerOrderFocusTraversalPolicy.java,
9857         java/awt/datatransfer/FlavorTable.java,
9858         java/awt/DefaultFocusTraversalPolicy.java,
9859         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9860         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9861         java/awt/dnd/DragGestureListener.java,
9862         java/awt/dnd/DragGestureRecognizer.java,
9863         java/awt/dnd/DragSourceAdapter.java,
9864         java/awt/dnd/DragSourceContext.java,
9865         java/awt/dnd/DragSourceDragEvent.java,
9866         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9867         java/awt/dnd/DragSourceListener.java,
9868         java/awt/dnd/DragSourceMotionListener.java,
9869         java/awt/dnd/DropTarget.java,
9870         java/awt/dnd/InvalidDnDOperationException.java,
9871         java/awt/dnd/peer/DragSourceContextPeer.java,
9872         java/awt/event/AWTEventListenerProxy.java,
9873         java/awt/event/MouseWheelEvent.java,
9874         java/awt/event/MouseWheelListener.java,
9875         java/awt/event/WindowFocusListener.java,
9876         java/awt/event/WindowStateListener.java,
9877         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9878         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9879         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9880         java/awt/geom/FlatteningPathIterator.java,
9881         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9882         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9883         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9884         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9885         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9886         java/awt/image/ImagingOpException.java,
9887         java/awt/image/RasterFormatException.java,
9888         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9889         java/awt/image/VolatileImage.java,
9890         java/awt/image/WritableRenderedImage.java,
9891         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9892         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9893         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9894         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9895         java/awt/PageAttributes.java, java/awt/print/Book.java,
9896         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9897         java/awt/print/Paper.java, java/awt/print/Printable.java,
9898         java/awt/print/PrinterAbortException.java,
9899         java/awt/print/PrinterException.java,
9900         java/awt/print/PrinterGraphics.java,
9901         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9902         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9903         java/awt/Stroke.java, java/awt/TexturePaint.java,
9904         javax/accessibility/AccessibleAction.java,
9905         javax/accessibility/AccessibleBundle.java,
9906         javax/accessibility/AccessibleComponent.java,
9907         javax/accessibility/AccessibleContext.java,
9908         javax/accessibility/AccessibleEditableText.java,
9909         javax/accessibility/AccessibleExtendedComponent.java,
9910         javax/accessibility/AccessibleExtendedTable.java,
9911         javax/accessibility/AccessibleHyperlink.java,
9912         javax/accessibility/AccessibleHypertext.java,
9913         javax/accessibility/AccessibleIcon.java,
9914         javax/accessibility/Accessible.java,
9915         javax/accessibility/AccessibleKeyBinding.java,
9916         javax/accessibility/AccessibleRelation.java,
9917         javax/accessibility/AccessibleRelationSet.java,
9918         javax/accessibility/AccessibleResourceBundle.java,
9919         javax/accessibility/AccessibleRole.java,
9920         javax/accessibility/AccessibleSelection.java,
9921         javax/accessibility/AccessibleState.java,
9922         javax/accessibility/AccessibleStateSet.java,
9923         javax/accessibility/AccessibleTable.java,
9924         javax/accessibility/AccessibleTableModelChange.java,
9925         javax/accessibility/AccessibleText.java,
9926         javax/accessibility/AccessibleValue.java,
9927         javax/swing/AbstractAction.java,
9928         javax/swing/AbstractButton.java,
9929         javax/swing/AbstractCellEditor.java,
9930         javax/swing/AbstractListModel.java,
9931         javax/swing/AbstractSet.java, javax/swing/Action.java,
9932         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9933         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9934         javax/swing/border/CompoundBorder.java,
9935         javax/swing/border/EmptyBorder.java,
9936         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9937         javax/swing/border/LineBorder.java,
9938         javax/swing/border/MatteBorder.java,
9939         javax/swing/border/TitledBorder.java,
9940         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9941         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9942         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9943         javax/swing/CellRendererPane.java,
9944         javax/swing/colorchooser/AbstractColorChooserPanel.java,
9945         javax/swing/colorchooser/ColorChooserComponentFactory.java,
9946         javax/swing/colorchooser/ColorSelectionModel.java,
9947         javax/swing/colorchooser/DefaultColorSelectionModel.java,
9948         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9949         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9950         javax/swing/DefaultBoundedRangeModel.java,
9951         javax/swing/DefaultButtonModel.java,
9952         javax/swing/DefaultCellEditor.java,
9953         javax/swing/DefaultCellRenderer.java,
9954         javax/swing/DefaultComboBoxModel.java,
9955         javax/swing/DefaultDesktopManager.java,
9956         javax/swing/DefaultFocusManager.java,
9957         javax/swing/DefaultListCellRenderer.java,
9958         javax/swing/DefaultListModel.java,
9959         javax/swing/DefaultListSelectionModel.java,
9960         javax/swing/DefaultSingleSelectionModel.java,
9961         javax/swing/DesktopManager.java,
9962         javax/swing/event/AncestorEvent.java,
9963         javax/swing/event/AncestorListener.java,
9964         javax/swing/event/CaretEvent.java,
9965         javax/swing/event/CaretListener.java,
9966         javax/swing/event/CellEditorListener.java,
9967         javax/swing/event/ChangeEvent.java,
9968         javax/swing/event/ChangeListener.java,
9969         javax/swing/event/DocumentEvent.java,
9970         javax/swing/event/DocumentListener.java,
9971         javax/swing/event/EventListenerList.java,
9972         javax/swing/event/HyperlinkEvent.java,
9973         javax/swing/event/HyperlinkListener.java,
9974         javax/swing/event/InternalFrameAdapter.java,
9975         javax/swing/event/InternalFrameEvent.java,
9976         javax/swing/event/InternalFrameListener.java,
9977         javax/swing/event/ListDataEvent.java,
9978         javax/swing/event/ListDataListener.java,
9979         javax/swing/event/ListSelectionEvent.java,
9980         javax/swing/event/ListSelectionListener.java,
9981         javax/swing/event/MenuDragMouseEvent.java,
9982         javax/swing/event/MenuDragMouseListener.java,
9983         javax/swing/event/MenuEvent.java,
9984         javax/swing/event/MenuKeyEvent.java,
9985         javax/swing/event/MenuKeyListener.java,
9986         javax/swing/event/MenuListener.java,
9987         javax/swing/event/MouseInputAdapter.java,
9988         javax/swing/event/MouseInputListener.java,
9989         javax/swing/event/PopupMenuEvent.java,
9990         javax/swing/event/PopupMenuListener.java,
9991         javax/swing/event/SwingPropertyChangeSupport.java,
9992         javax/swing/event/TableColumnModelEvent.java,
9993         javax/swing/event/TableColumnModelListener.java,
9994         javax/swing/event/TableModelEvent.java,
9995         javax/swing/event/TableModelListener.java,
9996         javax/swing/event/TreeExpansionEvent.java,
9997         javax/swing/event/TreeExpansionListener.java,
9998         javax/swing/event/TreeModelEvent.java,
9999         javax/swing/event/TreeModelListener.java,
10000         javax/swing/event/TreeSelectionEvent.java,
10001         javax/swing/event/TreeSelectionListener.java,
10002         javax/swing/event/TreeWillExpandListener.java,
10003         javax/swing/event/UndoableEditEvent.java,
10004         javax/swing/event/UndoableEditListener.java,
10005         javax/swing/filechooser/FileFilter.java,
10006         javax/swing/filechooser/FileSystemView.java,
10007         javax/swing/filechooser/FileView.java,
10008         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
10009         javax/swing/Icon.java, javax/swing/ImageIcon.java,
10010         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
10011         javax/swing/JApplet.java, javax/swing/JButton.java,
10012         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
10013         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
10014         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
10015         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
10016         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
10017         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
10018         javax/swing/JLayeredPane.java, javax/swing/JList.java,
10019         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
10020         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
10021         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
10022         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
10023         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
10024         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
10025         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
10026         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
10027         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
10028         javax/swing/JTextField.java, javax/swing/JTextPane.java,
10029         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
10030         javax/swing/JToolTip.java, javax/swing/JTree.java,
10031         javax/swing/JViewport.java, javax/swing/JWindow.java,
10032         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
10033         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
10034         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
10035         javax/swing/MenuSelectionManager.java,
10036         javax/swing/MutableComboBoxModel.java,
10037         javax/swing/OverlayLayout.java,
10038         javax/swing/plaf/ActionMapUIResource.java,
10039         javax/swing/plaf/basic/BasicBorders.java,
10040         javax/swing/plaf/basic/BasicButtonUI.java,
10041         javax/swing/plaf/basic/BasicCheckBoxUI.java,
10042         javax/swing/plaf/basic/BasicDefaults.java,
10043         javax/swing/plaf/basic/BasicGraphicsUtils.java,
10044         javax/swing/plaf/basic/BasicIconFactory.java,
10045         javax/swing/plaf/basic/BasicLabelUI.java,
10046         javax/swing/plaf/basic/BasicListUI.java,
10047         javax/swing/plaf/basic/BasicLookAndFeel.java,
10048         javax/swing/plaf/basic/BasicOptionPaneUI.java,
10049         javax/swing/plaf/basic/BasicPanelUI.java,
10050         javax/swing/plaf/basic/BasicRadioButtonUI.java,
10051         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10052         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10053         javax/swing/plaf/basic/BasicTextUI.java,
10054         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10055         javax/swing/plaf/basic/BasicTreeUI.java,
10056         javax/swing/plaf/basic/BasicViewportUI.java,
10057         javax/swing/plaf/BorderUIResource.java,
10058         javax/swing/plaf/ButtonUI.java,
10059         javax/swing/plaf/ColorChooserUI.java,
10060         javax/swing/plaf/ColorUIResource.java,
10061         javax/swing/plaf/ComboBoxUI.java,
10062         javax/swing/plaf/ComponentInputMapUIResource.java,
10063         javax/swing/plaf/ComponentUI.java,
10064         javax/swing/plaf/DesktopIconUI.java,
10065         javax/swing/plaf/DesktopPaneUI.java,
10066         javax/swing/plaf/DimensionUIResource.java,
10067         javax/swing/plaf/FileChooserUI.java,
10068         javax/swing/plaf/FontUIResource.java,
10069         javax/swing/plaf/IconUIResource.java,
10070         javax/swing/plaf/InputMapUIResource.java,
10071         javax/swing/plaf/InsetsUIResource.java,
10072         javax/swing/plaf/InternalFrameUI.java,
10073         javax/swing/plaf/LabelUI.java,
10074         javax/swing/plaf/ListUI.java,
10075         javax/swing/plaf/MenuBarUI.java,
10076         javax/swing/plaf/MenuItemUI.java,
10077         javax/swing/plaf/OptionPaneUI.java,
10078         javax/swing/plaf/PanelUI.java,
10079         javax/swing/plaf/PopupMenuUI.java,
10080         javax/swing/plaf/ProgressBarUI.java,
10081         javax/swing/plaf/RootPaneUI.java,
10082         javax/swing/plaf/ScrollBarUI.java,
10083         javax/swing/plaf/ScrollPaneUI.java,
10084         javax/swing/plaf/SeparatorUI.java,
10085         javax/swing/plaf/SliderUI.java,
10086         javax/swing/plaf/SplitPaneUI.java,
10087         javax/swing/plaf/TabbedPaneUI.java,
10088         javax/swing/plaf/TableHeaderUI.java,
10089         javax/swing/plaf/TableUI.java,
10090         javax/swing/plaf/TextUI.java,
10091         javax/swing/plaf/ToolBarUI.java,
10092         javax/swing/plaf/ToolTipUI.java,
10093         javax/swing/plaf/TreeUI.java,
10094         javax/swing/plaf/UIResource.java,
10095         javax/swing/plaf/ViewportUI.java,
10096         javax/swing/ProgressMonitorInputStream.java,
10097         javax/swing/ProgressMonitor.java,
10098         javax/swing/Renderer.java,
10099         javax/swing/RepaintManager.java,
10100         javax/swing/RootPaneContainer.java,
10101         javax/swing/Scrollable.java,
10102         javax/swing/ScrollPaneConstants.java,
10103         javax/swing/ScrollPaneLayout.java,
10104         javax/swing/SingleSelectionModel.java,
10105         javax/swing/SizeRequirements.java,
10106         javax/swing/SizeSequence.java,
10107         javax/swing/SwingConstants.java,
10108         javax/swing/SwingUtilities.java,
10109         javax/swing/table/AbstractTableModel.java,
10110         javax/swing/table/DefaultTableCellRenderer.java,
10111         javax/swing/table/DefaultTableColumnModel.java,
10112         javax/swing/table/DefaultTableModel.java,
10113         javax/swing/table/TableCellEditor.java,
10114         javax/swing/table/TableCellRenderer.java,
10115         javax/swing/table/TableColumn.java,
10116         javax/swing/table/TableColumnModel.java,
10117         javax/swing/table/TableModel.java,
10118         javax/swing/text/AbstractDocument.java,
10119         javax/swing/text/AttributeSet.java,
10120         javax/swing/text/BadLocationException.java,
10121         javax/swing/text/Caret.java,
10122         javax/swing/text/CharacterIterator.java,
10123         javax/swing/text/ComponentView.java,
10124         javax/swing/text/DefaultCaret.java,
10125         javax/swing/text/DefaultEditorKit.java,
10126         javax/swing/text/Document.java,
10127         javax/swing/text/EditorKit.java,
10128         javax/swing/text/Element.java,
10129         javax/swing/text/GapContent.java,
10130         javax/swing/text/JTextComponent.java,
10131         javax/swing/text/Keymap.java,
10132         javax/swing/text/MutableAttributeSet.java,
10133         javax/swing/text/PlainDocument.java,
10134         javax/swing/text/PlainEditorKit.java,
10135         javax/swing/text/Position.java,
10136         javax/swing/text/Segment.java,
10137         javax/swing/text/StyledDocument.java,
10138         javax/swing/text/StyledEditorKit.java,
10139         javax/swing/text/Style.java,
10140         javax/swing/text/TextAction.java,
10141         javax/swing/text/ViewFactory.java,
10142         javax/swing/text/View.java,
10143         javax/swing/Timer.java,
10144         javax/swing/ToggleButtonModel.java,
10145         javax/swing/ToolTipManager.java,
10146         javax/swing/tree/AbstractLayoutCache.java,
10147         javax/swing/tree/DefaultMutableTreeNode.java,
10148         javax/swing/tree/DefaultTreeCellEditor.java,
10149         javax/swing/tree/DefaultTreeCellRenderer.java,
10150         javax/swing/tree/DefaultTreeModel.java,
10151         javax/swing/tree/DefaultTreeSelectionModel.java,
10152         javax/swing/tree/ExpandVetoException.java,
10153         javax/swing/tree/FixedHeightLayoutCache.java,
10154         javax/swing/tree/MutableTreeNode.java,
10155         javax/swing/tree/RowMapper.java,
10156         javax/swing/tree/TreeCellEditor.java,
10157         javax/swing/tree/TreeCellRenderer.java,
10158         javax/swing/tree/TreeModel.java,
10159         javax/swing/tree/TreeNode.java,
10160         javax/swing/tree/TreePath.java,
10161         javax/swing/tree/TreeSelectionModel.java,
10162         javax/swing/tree/VariableHeightLayoutCache.java,
10163         javax/swing/UIDefaults.java,
10164         javax/swing/UIManager.java,
10165         javax/swing/undo/AbstractUndoableEdit.java,
10166         javax/swing/undo/CannotRedoException.java,
10167         javax/swing/undo/CannotUndoException.java,
10168         javax/swing/undo/CompoundEdit.java,
10169         javax/swing/undo/StateEditable.java,
10170         javax/swing/undo/StateEdit.java,
10171         javax/swing/undo/UndoableEdit.java,
10172         javax/swing/undo/UndoableEditSupport.java,
10173         javax/swing/undo/UndoManager.java,
10174         javax/swing/UnsupportedLookAndFeelException.java,
10175         javax/swing/ViewportLayout.java,
10176         javax/swing/WindowConstants.java: New files, from GNU Classpath.
10177
10178         * java/awt/ActiveEvent.java,
10179         java/awt/Adjustable.java, java/awt/AWTError.java,
10180         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
10181         java/awt/AWTException.java, java/awt/AWTPermission.java,
10182         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
10183         java/awt/Color.java, java/awt/Component.java,
10184         java/awt/ComponentOrientation.java, java/awt/Container.java,
10185         java/awt/datatransfer/MimeTypeParseException.java,
10186         java/awt/datatransfer/Transferable.java,
10187         java/awt/datatransfer/UnsupportedFlavorException.java,
10188         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
10189         java/awt/event/ActionListener.java,
10190         java/awt/event/AdjustmentEvent.java,
10191         java/awt/event/AdjustmentListener.java,
10192         java/awt/event/AWTEventListener.java,
10193         java/awt/event/ComponentAdapter.java,
10194         java/awt/event/ComponentEvent.java,
10195         java/awt/event/ComponentListener.java,
10196         java/awt/event/ContainerAdapter.java,
10197         java/awt/event/ContainerEvent.java,
10198         java/awt/event/ContainerListener.java,
10199         java/awt/event/FocusAdapter.java,
10200         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
10201         java/awt/event/HierarchyBoundsAdapter.java,
10202         java/awt/event/HierarchyBoundsListener.java,
10203         java/awt/event/HierarchyEvent.java,
10204         java/awt/event/HierarchyListener.java,
10205         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
10206         java/awt/event/InputMethodListener.java,
10207         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
10208         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
10209         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
10210         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
10211         java/awt/event/MouseListener.java,
10212         java/awt/event/MouseMotionAdapter.java,
10213         java/awt/event/MouseMotionListener.java,
10214         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
10215         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
10216         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
10217         java/awt/event/WindowListener.java, java/awt/Font.java,
10218         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
10219         java/awt/geom/Ellipse2D.java,
10220         java/awt/geom/IllegalPathStateException.java,
10221         java/awt/geom/Line2D.java,
10222         java/awt/geom/NoninvertibleTransformException.java,
10223         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
10224         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
10225         java/awt/geom/RoundRectangle2D.java,
10226         java/awt/GraphicsConfiguration.java,
10227         java/awt/IllegalComponentStateException.java,
10228         java/awt/image/IndexColorModel.java,
10229         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
10230         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
10231         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
10232         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
10233         java/awt/MenuItem.java, java/awt/PaintContext.java,
10234         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
10235         java/awt/Polygon.java, java/awt/PrintGraphics.java,
10236         java/awt/PrintJob.java, java/awt/Rectangle.java,
10237         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
10238         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
10239         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
10240
10241         * java/awt/im/spi/InputMethod.java,
10242         java/awt/im/spi/InputMethodContext.java,
10243         java/awt/im/spi/InputMethodDescriptor.java,
10244         java/awt/image/renderable/ContextualRenderedImageFactory.java,
10245         java/awt/image/renderable/ParameterBlock.java,
10246         java/awt/image/renderable/RenderContext.java,
10247         java/awt/image/renderable/RenderableImage.java,
10248         java/awt/image/renderable/RenderableImageOp.java,
10249         java/awt/image/renderable/RenderableImageProducer.java,
10250         java/awt/image/renderable/RenderedImageFactory.java: New files from
10251         classpath.
10252
10253         * gnu/java/awt/EventModifier.java,
10254         gnu/java/awt/image/ImageDecoder.java,
10255         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
10256
10257         * gnu/awt/xlib/XGraphicsConfiguration.java,
10258         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
10259         API.
10260
10261         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
10262         GNU Classpath.
10263
10264         * Makefile.am: Add new files.
10265         * Makefile.in: Rebuilt.
10266
10267 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10268
10269         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
10270         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
10271         findResource, getResources, findResources): Add javadoc from classpath.
10272         (getSystemResources): Implemented.
10273
10274 2002-08-01  Mark Wielaard  <mark@klomp.org>
10275
10276         Revert patch that breaks libgcj shared library on powerpc:
10277         * gnu/java/security/provider/Gnu.java: Reverse referencing all
10278         implementation classes by using Class.getName(). Uses Strings again.
10279         * gnu/java/security/der/DEREncodingException.java,
10280         gnu/java/security/provider/DERReader.java,
10281         gnu/java/security/provider/DERWriter.java,
10282         gnu/java/security/provider/DSAKeyPairGenerator.java,
10283         gnu/java/security/provider/DSAParameterGenerator.java,
10284         gnu/java/security/provider/DSAParameters.java,
10285         gnu/java/security/provider/DSASignature.java,
10286         gnu/java/security/provider/GnuDSAPrivateKey.java,
10287         gnu/java/security/provider/GnuDSAPublicKey.java,
10288         gnu/java/security/provider/MD5.java,
10289         gnu/java/security/util/Prime.java: Removed.
10290         * Makefile.am (ordinary_java_source_files): Remove above files.
10291         * Makefile.in: Regenerate.
10292         * gnu/java/security/provider/DefaultPolicy.java
10293         (getPermissions): Revert to maintaining static class variable of
10294         Permissions.
10295         * gnu/java/security/provider/SHA.java
10296         (engineUpdate): Revert algorithm change.
10297         (engineDigest): Revert algorithm change.
10298
10299 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
10300
10301         * configure.host: Add SH support.
10302         * sysdep/sh/locks.h: New file.
10303
10304 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10305
10306         * java/awt/Frame.java (Frame): Remove println calls.
10307
10308 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
10309
10310         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
10311         * configure: Rebuilt.
10312
10313 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
10314
10315         * sysdep/powerpc/locks.h: Formatting.
10316         (_LARX): Define.
10317         (_STCX): Define.
10318         (compare_and_swap): Use _LARX and _STCX.
10319         (compare_and_swap_release): Likewise.
10320
10321 2002-07-26  Tom Tromey  <tromey@redhat.com>
10322
10323         * java/net/Authenticator.java: New version from Classpath.
10324         * java/net/DatagramSocketImpl.java: New version from Classpath.
10325
10326 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
10327
10328         * configure.host: Add powerpc64*-* entry.
10329
10330 2002-07-26  Tom Tromey  <tromey@redhat.com>
10331
10332         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
10333         fcntl.h.
10334
10335 2002-07-24  Tom Tromey  <tromey@redhat.com>
10336
10337         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
10338         argument to _load.
10339
10340 2002-07-24  Tom Tromey  <tromey@redhat.com>
10341             Tony Kimball <alk@pobox.com>
10342
10343         * java/io/natFileDescriptorWin32.cc (setLength): New method.
10344         * java/io/natFileDescriptorPosix.cc (setLength): New method.
10345         * java/io/RandomAccessFile.java (setLength): New method.
10346         * java/io/natFileDescriptorEcos.cc (setLength): New method.
10347         * java/io/FileDescriptor.java (setLength): New method.
10348
10349 2002-07-24  Mark Wielaard  <mark@klomp.org>
10350
10351         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
10352         * java/io/ObjectInputStream.java (setBooleanField): Before setting
10353         field call setAccessible(true).
10354         (setByteField): Likewise.
10355         (setCharField): Likewise.
10356         (setDoubleField): Likewise.
10357         (setFloatField): Likewise.
10358         (setIntField): Likewise.
10359         (setLongField): Likewise.
10360         (setShortField): Likewise.
10361         (setObjectField): Likewise.
10362
10363 2002-07-24  Tom Tromey  <tromey@redhat.com>
10364
10365         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
10366         use toString() to format array element.
10367
10368 2002-07-23  Mark Wielaard  <mark@klomp.org>
10369
10370         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10371         MessageDigestSpi (fixes Classpath bug #783).
10372
10373 2002-07-21  Mark Wielaard  <mark@klomp.org>
10374
10375         * gnu/java/security/provider/Gnu.java: Reference all implementation
10376         classes by using Class.getName().
10377
10378 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
10379
10380         * java/lang/ieeefp.h: Add x86-64 support.
10381         * configure.in: Likewise.
10382         * configure.host: Likewise.
10383         * configure: Regenerated.
10384         * sysdep/x86-64/locks.h: New file with x86-64 locks.
10385
10386 2002-07-16  Mark Wielaard  <mark@klomp.org>
10387
10388         * java/io/StreamTokenizer.java (pushBack): Update documentation.
10389         (whitespaceChars): call resetChar().
10390
10391 2002-07-15  Tom Tromey  <tromey@redhat.com>
10392
10393         * Makefile.in: Rebuilt.
10394         * Makefile.am (awt_java_source_files): Added new files.
10395         * java/beans/ExceptionListener.java: Merged with Classpath.
10396         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
10397         * java/beans/PropertyChangeListener.java: Merged with Classpath.
10398         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
10399         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
10400         * java/beans/VetoableChangeListener.java: Merged with Classpath.
10401         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
10402         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
10403
10404 2002-07-14  Mark Wielaard  <mark@klomp.org>
10405
10406         * gnu/java/security/der/DEREncodingException.java,
10407         gnu/java/security/provider/DERReader.java,
10408         gnu/java/security/provider/DERWriter.java,
10409         gnu/java/security/provider/DSAKeyPairGenerator.java,
10410         gnu/java/security/provider/DSAParameterGenerator.java,
10411         gnu/java/security/provider/DSAParameters.java,
10412         gnu/java/security/provider/DSASignature.java,
10413         gnu/java/security/provider/GnuDSAPrivateKey.java,
10414         gnu/java/security/provider/GnuDSAPublicKey.java,
10415         gnu/java/security/provider/MD5.java,
10416         gnu/java/security/util/Prime.java: New files from Classpath.
10417         * Makefile.am (ordinary_java_source_files): Add new files.
10418         * Makefile.in: Regenerate.
10419
10420 2002-07-14  C. Brian Jones <cbj@gnu.org>
10421
10422         * gnu/java/security/provider/DefaultPolicy.java
10423         (getPermissions): do not maintain static class variable of
10424         Permissions
10425         * gnu/java/security/provider/SHA.java
10426         (engineUpdate): algorithm change
10427         (engineDigest): algorithm change
10428
10429 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
10430
10431         For PR libgcj/7292:
10432         * java/lang/Character.java (toString(char)): Now static.
10433
10434 2002-07-12  Mark Wielaard  <mark@klomp.org>
10435
10436         * java/lang/natThrowable.cc (printRawStackTrace): removed.
10437         (getStackTrace0): new method.
10438         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10439         (printStackTrace(PrintWriter)): replace with pure java implementation.
10440         (printRawStackTrace): removed.
10441         (getStackTrace0): new method.
10442         * java/lang/StackTraceElement.java (toString): add extra whitespace.
10443         * gcj/javaprims.h: regenerate class list.
10444         * include/name-finder.h (lookup): new returns StackTraceElement*.
10445         (method_name, file_name): fields removed.
10446         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10447         (~_Jv_name_finder): close new descriptors.
10448         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10449         (createStackTraceElement): new method.
10450         (lookup): returns StackTraceElement*, uses createStackTraceElement().
10451
10452 2002-07-10  Tom Tromey  <tromey@redhat.com>
10453
10454         * configure: Rebuilt.
10455         * configure.in: Use `test' after `&&'.  From Chris Faylor.
10456
10457 2002-07-08  Mark Wielaard  <mark@klomp.org>
10458
10459         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10460         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10461         java.sql.DatabaseMetaData.TestJdbc20
10462
10463 2002-07-05  Tony Kimball  <alk@pobox.com>
10464
10465         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10466
10467 2002-07-04  Tom Tromey  <tromey@redhat.com>
10468             Jeff Sturm  <jsturm@one-point.com>
10469
10470         Fix for PR libgcj/7060:
10471         * java/lang/Class.h (_getMethod): Renamed from getMethod.
10472         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10473         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
10474         * java/lang/Class.java (getMethod): New Java implementation;
10475         complies with spec.
10476         (_getMethod): New native method.
10477
10478 2002-07-02  Tom Tromey  <tromey@redhat.com>
10479             David Hovemeyer  <daveho@cs.umd.edu>
10480
10481         * java/text/ChoiceFormat.java
10482         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10483         in check loop.
10484         * java/text/MessageFormat.java
10485         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10486         to MessageFormat.
10487
10488 2002-07-01  Tom Tromey  <tromey@redhat.com>
10489
10490         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10491         StringTokenizer on null string.  For PR libgcj/7180.
10492         From daveho@cs.umd.edu.
10493
10494 2002-06-24  Tom Tromey  <tromey@redhat.com>
10495
10496         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10497         (IntegerClass): Likewise.
10498         * java/lang/natClass.cc (CloneableClass): Removed.
10499         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10500         ConstructorClass): Likewise.
10501         * java/lang/natClassLoader.cc (CloneableClass): Removed.
10502         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10503         SerializableClass): Likewise.
10504         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10505         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10506         LongClass, FloatClass, DoubleClass): Likewise.
10507
10508         * verify.cc (branch_prepass): Updated for change to exception
10509         handler type.
10510         (verify_instructions_0): Likewise.
10511         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10512         (handleExceptionTableEntry): Updated for change to exception
10513         handler type.
10514         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10515         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10516         (union _Jv_InterpPC): New.
10517         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10518         (class _Jv_InterpMethod): Added new `prepared' field.
10519         (class _Jv_InterpMethod): Added `compile' method.  Removed
10520         `continue1' and `find_exception'.  Changed arguments to `run'.
10521         * interpret.cc (union insn_slot): New.
10522         (find_exception): Removed.
10523         (run_normal): Removed most logic.
10524         (run_synch_object): Likewise; also, use JvSynchronize.
10525         (run_synch_class): Likewise.
10526         (run): Removed.
10527         (continue1): Renamed as `run'.  Compile bytecode if required.
10528         Add new code to allow refinement of direct-threaded code at
10529         runtime.  Handle exceptions.
10530         (SAVE_PC): Removed.
10531         (compile): New method.
10532         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10533         (NULLARRAYCHECK): Don't use SAVE_PC.
10534         (pc_t): New typedef.
10535         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10536         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10537
10538 2002-06-23  Tom Tromey  <tromey@redhat.com>
10539
10540         * configure: Rebuilt.
10541         * configure.in (INTERPRETER): New subst.
10542         (AM_RUNTESTFLAGS): Don't subst.
10543
10544         * Makefile.in: Rebuilt.
10545         * Makefile.am ($(srcdir)/java/lang/Object.h,
10546         $(srcdir)/java/lang/Class.h): Added dummy targets.
10547
10548 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10549
10550         Reformat JDBC classes and add new JDK 1.4 classes and methods.
10551
10552         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10553         java/sql/Savepoint.java: New files.
10554         * java/sql/Array.java, java/sql/BatchUpdateException.java,
10555         java/sql/Blob.java, java/sql/CallableStatement.java,
10556         java/sql/Clob.java, java/sql/Connection.java,
10557         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10558         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10559         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10560         java/sql/Ref.java, java/sql/ResultSet.java,
10561         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10562         java/sql/SQLException.java, java/sql/SQLInput.java,
10563         java/sql/SQLOutput.java, java/sql/SQLWarning.java
10564         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10565         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10566         (JDK 1.4) specification.
10567         * javax/sql/ConnectionEvent.java,
10568         javax/sql/ConnectionEventListener.java,
10569         javax/sql/ConnectionPoolDataSource.java,
10570         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10571         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10572         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10573         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10574         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10575         javax/sql/XADataSource.java: New files.
10576         * Makefile.am: Add new files.
10577         * Makefile.in: Rebuilt.
10578
10579 2002-06-20  Tom Tromey  <tromey@redhat.com>
10580
10581         For PR libgcj/7073:
10582         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10583         exists.
10584         * defineclass.cc (handleClassBegin): Superclass for interface is
10585         `null'.
10586
10587 2002-06-18  Tom Tromey  <tromey@redhat.com>
10588
10589         * gcj/javaprims.h: Updated class declaration list.
10590         * Makefile.in: Rebuilt.
10591         * Makefile.am (core_java_source_files): Removed
10592         BasicMapEntry.java.
10593         * java/util/BasicMapEntry.java: Removed.
10594
10595 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
10596
10597         * java/net/natPlainDatagramSocketImpl.cc (receive):
10598         Check bounds of argument to FD_SET.
10599         (setOption): Throw exception if socket is closed.
10600
10601         * java/net/natPlainSocketImpl.cc (accept, read):
10602         Check bounds of argument to FD_SET.
10603         (setOption): Throw exception if socket is closed.
10604
10605 2002-06-18  Tom Tromey  <tromey@redhat.com>
10606
10607         * gcj/javaprims.h: Updated class declaration list.
10608         * Makefile.in: Rebuilt.
10609         * Makefile.am (core_java_source_files): Added
10610         PropertyPermissionCollection.java.
10611         * java/lang/Thread.java (group, name): Now package-private.
10612         * java/lang/ThreadGroup.java: Re-merge with Classpath.
10613         * java/util/AbstractList.java: Likewise.
10614         * java/util/AbstractMap.java: Likewise.
10615         * java/util/Calendar.java: Likewise.
10616         * java/util/Collections.java: Likewise.
10617         * java/util/HashMap.java: Likewise.
10618         * java/util/Hashtable.java: Likewise.
10619         * java/util/LinkedHashMap.java: Likewise.
10620         * java/util/LinkedList.java: Likewise.
10621         * java/util/List.java: Likewise.
10622         * java/util/ListResourceBundle.java: Likewise.
10623         * java/util/Map.java: Likewise.
10624         * java/util/Observable.java: Likewise.
10625         * java/util/Properties.java: Likewise.
10626         * java/util/PropertyPermission.java: Likewise.
10627         * java/util/PropertyPermissionCollection.java: Likewise.
10628         * java/util/PropertyResourceBundle.java: Likewise.
10629         * java/util/Random.java: Likewise.
10630         * java/util/SimpleTimeZone.java: Likewise.
10631         * java/util/StringTokenizer.java: Likewise.
10632         * java/util/TimerTask.java: Likewise.
10633         * java/util/TreeMap.java: Likewise.
10634         * java/util/WeakHashMap.java: Likewise.
10635         * java/util/jar/Attributes.java: Likewise.
10636         * java/util/jar/JarException.java: Likewise.
10637         * java/util/jar/Manifest.java: Likewise.
10638
10639 2002-06-17  Tom Tromey  <tromey@redhat.com>
10640
10641         * gcj/javaprims.h: Updated class declaration list.
10642         * Makefile.in: Rebuilt.
10643         * Makefile.am (core_java_source_files): Added new file.
10644         * java/util/EventListenerProxy.java: New file.
10645         * java/util/EventListener.java: Re-merge with Classpath.
10646         * java/util/EventObject.java: Re-merge with Classpath.
10647
10648 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10649
10650         * java/lang/ClassNotFoundException.java: New Classpath version.
10651
10652 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10653
10654         * java/rmi/activation/ActivateFailedException.java: Remerge from
10655         Classpath version.
10656         * java/rmi/activation/ActivationException.java: Ditto.
10657         * java/rmi/activation/UnknownGroupException.java: Ditto.
10658         * java/rmi/activation/UnknownObjectException.java: Ditto.
10659         * java/rmi/server/ExportException: Ditto.
10660         * java/rmi/server/ServerCloneException: Ditto.
10661         * java/rmi/server/ServerNotActiveException: Ditto.
10662         * java/rmi/server/SkeletonMismatchException: Ditto.
10663         * java/rmi/server/SkeletonNotFoundException: Ditto.
10664         * java/rmi/server/SocketSecurityException: Ditto.
10665
10666 2002-06-16  Tom Tromey  <tromey@redhat.com>
10667
10668         * gcj/javaprims.h: Updated class declaration list.
10669
10670         * java/io/LineNumberInputStream.java: Merged with Classpath.
10671
10672         * java/lang/RuntimeException.java: Re-merge with Classpath.
10673         * java/util/ArrayList.java: Likewise.
10674         * java/util/Arrays.java: Likewise.
10675         * java/util/BitSet.java: Likewise.
10676         * java/util/Dictionary.java: Likewise.
10677         * java/util/IdentityHashMap.java: Likewise.
10678         * java/util/MissingResourceException.java: Likewise.
10679         * java/util/Observer.java: Likewise.
10680         * java/util/TooManyListenersException.java: Likewise.
10681         * java/util/zip/DataFormatException.java: Likewise.
10682         * java/util/zip/ZipException.java: Likewise.
10683
10684 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
10685
10686         * java/rmi/AccessException.java: Remerge from Classpath.
10687         * java/rmi/AlreadyBoundException.java: Ditto.
10688         * java/rmi/ConnectException.java: Ditto.
10689         * java/rmi/ConnectIOException.java: Ditto.
10690         * java/rmi/MarshalException.java: Ditto.
10691         * java/rmi/NoSuchObjectException.java: Ditto.
10692         * java/rmi/NotBoundException.java: Ditto.
10693         * java/rmi/RemoteException.java: Ditto.
10694         * java/rmi/RMISecurityException.java: Ditto.
10695         * java/rmi/ServerError.java: Ditto.
10696         * java/rmi/ServerException.java: Ditto.
10697         * java/rmi/ServerRuntimeException.java: Ditto.
10698         * java/rmi/StubNotFoundException.java: Ditto.
10699         * java/rmi/UnexpectedExcpetion.java: Ditto.
10700         * java/rmi/UnknownHostException.java: Ditto.
10701         * java/rmi/UnmarshalException.java: Ditto.
10702
10703 2002-06-15  Tom Tromey  <tromey@redhat.com>
10704
10705         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10706         * java/lang/ArithmeticException.java: Likewise.
10707         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10708         * java/lang/ArrayStoreException.java: Likewise.
10709         * java/lang/Byte.java: Likewise.
10710         * java/lang/CharSequence.java: Likewise.
10711         * java/lang/ClassCastException.java: Likewise.
10712         * java/lang/ClassCircularityError.java: Likewise.
10713         * java/lang/ClassFormatError.java: Likewise.
10714         * java/lang/CloneNotSupportedException.java: Likewise.
10715         * java/lang/Cloneable.java: Likewise.
10716         * java/lang/Comparable.java: Likewise.
10717         * java/lang/Compiler.java: Likewise.
10718         * java/lang/Error.java: Likewise.
10719         * java/lang/ExceptionInInitializerError.java: Likewise.
10720         * java/lang/IllegalAccessError.java: Likewise.
10721         * java/lang/IllegalAccessException.java: Likewise.
10722         * java/lang/IllegalArgumentException.java: Likewise.
10723         * java/lang/IllegalMonitorStateException.java: Likewise.
10724         * java/lang/IllegalStateException.java: Likewise.
10725         * java/lang/IllegalThreadStateException.java: Likewise.
10726         * java/lang/IncompatibleClassChangeError.java: Likewise.
10727         * java/lang/IndexOutOfBoundsException.java: Likewise.
10728         * java/lang/InheritableThreadLocal.java: Likewise.
10729         * java/lang/InstantiationError.java: Likewise.
10730         * java/lang/InstantiationException.java: Likewise.
10731         * java/lang/InternalError.java: Likewise.
10732         * java/lang/InterruptedException.java: Likewise.
10733         * java/lang/LinkageError.java: Likewise.
10734         * java/lang/NegativeArraySizeException.java: Likewise.
10735         * java/lang/NoClassDefFoundError.java: Likewise.
10736         * java/lang/NoSuchFieldError.java: Likewise.
10737         * java/lang/NoSuchFieldException.java: Likewise.
10738         * java/lang/NoSuchMethodError.java: Likewise.
10739         * java/lang/NoSuchMethodException.java: Likewise.
10740         * java/lang/NullPointerException.java: Likewise.
10741         * java/lang/NumberFormatException.java: Likewise.
10742         * java/lang/OutOfMemoryError.java: Likewise.
10743         * java/lang/Process.java: Likewise.
10744         * java/lang/Runnable.java: Likewise.
10745         * java/lang/RuntimePermission.java: Likewise.
10746         * java/lang/SecurityException.java: Likewise.
10747         * java/lang/Short.java: Likewise.
10748         * java/lang/StackOverflowError.java: Likewise.
10749         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10750         * java/lang/ThreadDeath.java: Likewise.
10751         * java/lang/ThreadLocal.java: Likewise.
10752         * java/lang/UnknownError.java: Likewise.
10753         * java/lang/UnsatisfiedLinkError.java: Likewise.
10754         * java/lang/UnsupportedClassVersionError.java: Likewise.
10755         * java/lang/UnsupportedOperationException.java: Likewise.
10756         * java/lang/VerifyError.java: Likewise.
10757         * java/lang/VirtualMachineError.java: Likewise.
10758         * java/lang/reflect/InvocationTargetException.java: Likewise.
10759         * java/net/BindException.java: Likewise.
10760         * java/net/ConnectException.java: Likewise.
10761         * java/net/MalformedURLException.java: Likewise.
10762         * java/net/NoRouteToHostException.java: Likewise.
10763         * java/net/ProtocolException.java: Likewise.
10764         * java/net/SocketException.java: Likewise.
10765         * java/net/UnknownHostException.java: Likewise.
10766         * java/net/UnknownServiceException.java: Likewise.
10767
10768         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10769         * java/io/CharConversionException.java: Likewise.
10770         * java/io/EOFException.java: Likewise.
10771         * java/io/FileNotFoundException.java: Likewise.
10772         * java/io/IOException.java: Likewise.
10773         * java/io/InterruptedIOException.java: Likewise.
10774         * java/io/InvalidClassException.java: Likewise.
10775         * java/io/InvalidObjectException.java: Likewise.
10776         * java/io/NotActiveException.java: Likewise.
10777         * java/io/NotSerializableException.java: Likewise.
10778         * java/io/ObjectStreamException.java: Likewise.
10779         * java/io/ObjectStreamConstants.java: Likewise.
10780         * java/io/OptionalDataException.java: Likewise.
10781         * java/io/PipedInputStream.java: Likewise.
10782         * java/io/PushbackInputStream.java: Likewise.
10783         * java/io/StreamCorruptedException.java: Likewise.
10784         * java/io/SyncFailedException.java: Likewise.
10785         * java/io/UTFDataFormatException.java: Likewise.
10786         * java/io/UnsupportedEncodingException.java: Likewise.
10787         * java/io/WriteAbortedException.java: Likewise.
10788
10789 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
10790
10791         * java/text/ChoiceFormat.java: Update comments from Classpath.
10792         * java/text/ParseException.java (serialVersionUID): New
10793         field from Classpath.
10794         * java/text/ParseException.java: Update formatting & comments
10795         from Classpath.
10796
10797 2002-06-15  Tom Tromey  <tromey@redhat.com>
10798
10799         * java/util/zip/InflaterInputStream.java (read): Loop if data has
10800         been read but none output by inflater.
10801         * java/util/zip/natDeflater.cc (reset): Set is_finished.
10802         * java/util/zip/natInflater.cc (reset): Set dist_needed and
10803         is_finished.
10804         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10805         version.
10806         * java/util/zip/ZipFile.java: Replaced with Classpath version.
10807         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10808         * java/util/zip/ZipInputStream.java: Replaced with Classpath
10809         version.
10810         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10811
10812 2002-06-13  Tom Tromey  <tromey@redhat.com>
10813
10814         * java/lang/natString.cc (init): Handle case where DONT_COPY is
10815         true and OFFSET!=0.
10816         * java/lang/String.java (String(char[],int,int,boolean): New
10817         constructor.
10818         * java/lang/Long.java: Imported new version from Classpath.
10819         * java/lang/Number.java: Likewise.
10820         * java/lang/Integer.java: Likewise.
10821         * java/lang/Long.java: Likewise.
10822         * java/lang/Float.java: Likewise.
10823         * java/lang/Boolean.java: Likewise.
10824         * java/lang/Double.java: Likewise.
10825         * java/lang/Void.java: Likewise.
10826
10827 2002-06-12  Tom Tromey  <tromey@redhat.com>
10828
10829         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10830         Fixes PR libgcj/6652.
10831
10832 2002-06-10  Tom Tromey  <tromey@redhat.com>
10833
10834         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10835         (Class::getPackagePortion): Likewise.
10836         * java/lang/Class.java (desiredAssertionStatus): New method from
10837         Classpath.
10838         (getPackagePortion): Likewise.
10839         * java/lang/VMClassLoader.java (defaultAssertionStatus,
10840         packageAssertionStatus, classAssertionStatus): New methods from
10841         Classpath.
10842         * java/lang/ClassLoader.java (defaultAssertionStatus,
10843         systemPackageAssertionStatus, packageAssertionStatus,
10844         systemClassAssertionStatus, classAssertionStatus): New fields from
10845         Classpath.
10846         (setDefaultAssertionStatus, setPackageAssertionStatus,
10847         setClassAssertionStatus, clearAssertionStatus): New methods from
10848         Classpath.
10849         * Makefile.in: Rebuilt.
10850         * Makefile.am (core_java_source_files): Added AssertionError.java.
10851         * java/lang/AssertionError.java: New from Classpath.
10852
10853 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10854
10855         * configure.host: Disable hash synchronization and slow_pthread_self
10856         for cygwin.
10857
10858 2002-06-06  Adam Megacz <adam@xwt.org>
10859
10860         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10861         locking, just like the Sun JVM does.
10862
10863 2002-06-05  H.J. Lu  (hjl@gnu.org)
10864
10865         * Makefile.am (libgcj_convenience.la): Revert the last change.
10866         (libgcj.la): Likewise.
10867         * Makefile.in: Regenerated.
10868
10869 2002-06-04  H.J. Lu  (hjl@gnu.org)
10870
10871         * Makefile.am (libgcj_convenience.la): New target.
10872         (libgcj.la): Depend on libgcj_convenience.la.
10873         * Makefile.in: Regenerated.
10874
10875 2002-06-04  H.J. Lu  (hjl@gnu.org)
10876
10877         * configure.in (--with-newlib): New option:
10878         Check ${with_newlib} instead of ${with_cross_host} for newlib.
10879         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10880         Linux.
10881         * configure: Regenerated.
10882
10883 2002-06-04  Tom Tromey  <tromey@redhat.com>
10884
10885         * java/util/natTimeZone.cc: Include <stdio.h>.
10886
10887 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
10888
10889         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10890         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10891         Set SIGNAL_HANDLER=include/s390-linux.h.
10892         * configure: Regenerate.
10893         * include/s390-linux.h: New file.
10894
10895 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10896
10897         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10898         not "stackTrace".
10899
10900 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10901
10902         Merge JDK 1.4 java.security changes from classpath.
10903
10904         * java/security/AccessControlException.java: Merge from Classpath.
10905         * java/security/AccessController.java: Likewise.
10906         * java/security/AllPermission.java: Likewise.
10907         * java/security/BasicPermission.java: Likewise.
10908         * java/security/Certificate.java: Likewise.
10909         * java/security/CodeSource.java: Likewise.
10910         * java/security/DigestException.java: Likewise.
10911         * java/security/DigestOutputStream.java: Likewise.
10912         * java/security/DomainCombiner.java: Likewise.
10913         * java/security/GeneralSecurityException.java: Likewise.
10914         * java/security/Guard.java: Likewise.
10915         * java/security/GuardedObject.java: Likewise.
10916         * java/security/InvalidAlgorithmParameterException.java: Likewise.
10917         * java/security/InvalidKeyException.java: Likewise.
10918         * java/security/InvalidParameterException.java: Likewise.
10919         * java/security/Key.java: Likewise.
10920         * java/security/KeyException.java: Likewise.
10921         * java/security/KeyManagementException.java: Likewise.
10922         * java/security/KeyStoreException.java: Likewise.
10923         * java/security/MessageDigest.java: Likewise.
10924         * java/security/NoSuchAlgorithmException.java: Likewise.
10925         * java/security/NoSuchProviderException.java: Likewise.
10926         * java/security/Permission.java: Likewise.
10927         * java/security/PermissionCollection.java: Likewise.
10928         * java/security/Permissions.java: Likewise.
10929         * java/security/Policy.java: Likewise.
10930         * java/security/Principal.java: Likewise.
10931         * java/security/PrivateKey.java: Likewise.
10932         * java/security/PrivilegedAction.java: Likewise.
10933         * java/security/PrivilegedActionException.java: Likewise.
10934         * java/security/PrivilegedExceptionAction.java: Likewise.
10935         * java/security/ProtectionDomain.java: Likewise.
10936         * java/security/ProviderException.java: Likewise.
10937         * java/security/PublicKey.java: Likewise.
10938         * java/security/SecureClassLoader.java: Likewise.
10939         * java/security/SecurityPermission.java: Likewise.
10940         * java/security/SignatureException.java: Likewise.
10941         * java/security/UnrecoverableKeyException.java: Likewise.
10942         * java/security/UnresolvedPermission.java: Likewise.
10943         * java/security/acl/AclNotFoundException.java: Likewise.
10944         * java/security/acl/LastOwnerException.java: Likewise.
10945         * java/security/acl/NotOwnerException.java: Likewise.
10946         * java/security/cert/CRLException.java: Likewise.
10947         * java/security/cert/CertificateEncodingException.java: Likewise.
10948         * java/security/cert/CertificateException.java: Likewise.
10949         * java/security/cert/CertificateExpiredException.java: Likewise.
10950         * java/security/cert/CertificateFactory.java: Likewise.
10951         * java/security/cert/CertificateNotYetValidException.java: Likewise.
10952         * java/security/cert/CertificateParsingException.java: Likewise.
10953         * java/security/spec/InvalidKeySpecException.java: Likewise.
10954         * java/security/spec/InvalidParameterSpecException.java: Likewise.
10955
10956         * java/security/cert/CertPath.java: New file.
10957         * java/security/cert/CertPathBuilderException.java: New file.
10958         * java/security/cert/CertPathValidatorException.java: New file.
10959         * java/security/cert/CertStoreException.java: New file.
10960
10961         * Makefile.am: Add new CertPath classes.
10962         * Makefile.in: Rebuilt.
10963
10964         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10965
10966 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10967
10968         Merge JDK 1.4 exception chaining support from classpath.
10969
10970         * java/lang/Throwable.java: Merge 1.4 support from classpath.
10971         (stackTraceBytes): Rename from stackTrace.
10972         * java/lang/Exception.java: Merge from classpath.
10973         * java/lang/StackTraceElement: New file from classpath.
10974         * gcj/javaprims.h: Rebuild CNI namespace declarations.
10975         * Makefile.am: Add StackTraceElement.
10976         * Makefile.in: Rebuilt.
10977
10978 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10979
10980         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10981         they build first.
10982         * Makefile.in: Rebuilt.
10983
10984 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10985
10986         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10987         * configure.in: Likewise.
10988         * aclocal.m4: Regenerate.
10989         * configure: Regenerate.
10990
10991 2002-05-13  Tom Tromey  <tromey@redhat.com>
10992
10993         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10994         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10995         Include platform.h.
10996
10997         Fixes PR libgcj/6389:
10998         * Makefile.in: Rebuilt.
10999         * Makefile.am (nat_source_files): Added natTimeZone.cc.
11000         * java/util/natTimeZone.cc: New file.
11001         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
11002         * java/lang/System.java: Merged with Classpath.
11003         * java/lang/Runtime.java: Merged with Classpath.
11004         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
11005         security check.
11006         (setIn0): Renamed from setIn; don't run security check.
11007         (setOut0): Renamed from setOut; don't run security check.
11008         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
11009         init_properties): Moved to natRuntime.cc.
11010         Moved many includes to natRuntime.cc.
11011         (isWordsBigEndian): New method.
11012         * java/lang/natRuntime.cc: Include Long.h, also other includes
11013         previously in natSystem.cc.
11014         (maxMemory): New function.
11015         (exitInternal): Renamed from `_exit'.
11016         (exit): Removed.
11017         (init): Don't set finalize_on_exit.
11018         (exitInternal): Use `finalizeOnExit'.
11019         (file_encoding, getpwuid_adaptor): New functions from
11020         natSystem.cc.
11021         (insertSystemProperties): New method, renamed from
11022         System::init_properties.  Don't set user.timezone.
11023         (_load): Don't call checkLink.
11024         (execInternal): New method.
11025         (availableProcessors): Likewise.
11026         (nativeGetLibname): Likewise.
11027
11028 2002-05-11  Mark Wielaard  <mark@klomp.org>
11029
11030         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
11031         space characters.
11032         (previous_internal): Likewise.
11033
11034 2002-05-09  Tom Tromey  <tromey@redhat.com>
11035
11036         * jni.cc (_Jv_JNIFunctions): Fixed typo.
11037
11038         * java/util/ResourceBundle.java: New version from Classpath.
11039         * java/util/Locale.java: Likewise.
11040
11041 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
11042
11043         * testsuite/lib/libjava.exp (libjava_arguments): Append all
11044         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
11045         LD_LIBRARY_PATH.
11046
11047 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
11048
11049         * libjava/Makefile.am (all_java_source_files): New variable.
11050         (all_java_class_files): Likewise.
11051         .java.class: New rule.
11052         (CLEANFILES): Remove tmp-list.
11053         * libjava/Makefile.in: Regenerated.
11054
11055 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
11056
11057         * testsuite/lib/libjava.exp (test_libjava_from_javac):
11058         Append .exe to executable names.  Fix for cygwin.
11059
11060 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
11061
11062         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
11063         script entry, and set LD to it when configuring multilibs.
11064         * configure: Rebuilt.
11065
11066 2002-05-07  Tom Tromey  <tromey@redhat.com>
11067
11068         * java/lang/natString.cc (unintern): Fixed typo.
11069
11070 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
11071
11072         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
11073         with -no-install on *-*-cygwin*.
11074
11075 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
11076
11077         * testsuite/lib/libjava.exp (test_libjava_from_source):
11078         Add comment explaining last patch
11079
11080 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
11081
11082         * testsuite/lib/libjava.exp (test_libjava_from_source):
11083         Append .exe to executable names.  If no suffix is present,
11084         then ".exe" is added by default on win32.  Harmless
11085         elsewhere so always do it.
11086
11087 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
11088             Tom Tromey  <tromey@redhat.com>
11089
11090         * java/lang/natSystem.cc (getSystemTimeZone): Use
11091         HAVE_UNDERSCORE_TIMEZONE.
11092         * include/config.h.in: Rebuilt.
11093         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
11094         * aclocal.m4, configure: Rebuilt.
11095         * acinclude.m4: Run AC_EXEEXT.
11096         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
11097         Add test for `_timezone'.
11098
11099 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
11100
11101         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11102         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
11103         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11104         * Makefile.in: Rebuilt.
11105
11106 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
11107
11108         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
11109         use sigaction instead of __libc_sigaction.
11110
11111 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11112
11113         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
11114         (libjava_init): Use it to find libgcj.spec.
11115         (libjava_arguments): Likewise.
11116
11117 2002-05-02  David S. Miller  <davem@redhat.com>
11118
11119         PR bootstrap/6525
11120         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
11121         __libc_sigaction on Sparc.
11122
11123 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
11124
11125         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
11126         sys/filio.h, if present.
11127
11128 2002-04-30  Tom Tromey  <tromey@redhat.com>
11129
11130         * java/io/BufferedReader.java (fill): Handle case where markPos
11131         point to ignored \n.  Fixes PR libgcj/6301.
11132
11133 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
11134
11135         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
11136
11137 2002-04-29  Adam King <aking@dreammechanics.com>
11138
11139         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
11140         of file in APPEND mode.
11141
11142 2002-04-25  David S. Miller  <davem@redhat.com>
11143
11144         PR target/6422
11145         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
11146         program counter to next program counter minus 8.  Update
11147         comments in this macro to explain why.
11148
11149 2002-04-26  Tom Tromey  <tromey@redhat.com>
11150
11151         * verify.cc (construct_primitive_array_type) [void_type]: New
11152         case.
11153         (branch_prepass): Added dummy entries for unused instruction
11154         values.
11155         (verify_instructions_0): Likewise.
11156         * interpret.cc (continue1): Comment fix.
11157         * include/java-insns.h (op_xxxunusedxxx1): Removed.
11158         * Makefile.in: Rebuilt.
11159         * Makefile.am: Added -Wswitch-enum.
11160
11161 2002-04-24  Tom Tromey  <tromey@redhat.com>
11162
11163         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
11164         correct length of UTF-8 encoded name.  Strip leading `/'.
11165         (_Jv_RegisterResource): Use _Jv_Malloc.
11166
11167 2002-04-23  Adam Megacz <adam@xwt.org>
11168
11169         * win32.cc, include/win32.cc (backtrace): Added this function
11170         because Win32 does not supply it.
11171
11172 2002-04-21  David S. Miller  <davem@redhat.com>
11173
11174         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
11175         magic instruction reading sequence.
11176
11177 2002-04-21  Mark Wielaard  <mark@klomp.org>
11178
11179         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
11180
11181 2002-04-19  David S. Miller  <davem@redhat.com>
11182
11183         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
11184         arg.
11185         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
11186         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
11187         on Sparc too.
11188         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
11189         for 64-bit sparc.
11190         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
11191         * sysdeps/sparc/locks.h: New file.
11192         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
11193         on all sparc Solaris configurations.  Set to
11194         include/dwarf2-signal.h on sparc Linux.
11195         * configure: Regenerate
11196         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
11197
11198 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
11199
11200         * configure: Rebuilt.
11201         * configure.in (backtrace): Function doesn't work on IA-64.
11202
11203 2002-04-17  Adam King <aking@dreammechanics.com>
11204
11205         * java/io/File.java (normalizePath): Add Win32 support for auto
11206         conversion of a '/' path separator to Win32's '\' separator.
11207
11208 2002-04-16  Tom Tromey  <tromey@redhat.com>
11209
11210         Fix for PR libgcj/6081:
11211         * Makefile.in: Rebuilt.
11212         * Makefile.am (install-data-local): Use GNU make trick to avoid
11213         shell limit.
11214
11215 2002-04-16  Adam King <aking@dreammechanics.com>
11216             Tom Tromey  <tromey@redhat.com>
11217
11218         * java/io/natFileWin32.cc (performList): Return the correct array
11219         type.  Don't duplicate the creation of a File since it's already
11220         done earlier in the method and the existing code would cause a
11221         ArrayStoreException.  Don't use fixed-size array.
11222         (_access, _stat, attr, getCanonicalPath, performMkdir,
11223         performRenameTo): Don't use fixed-size array.
11224         (getCanonicalPath): Use throw, not _Jv_Throw.
11225
11226 2002-04-15  DJ Delorie  <dj@redhat.com>
11227
11228         * configure.in: Allow building in $srcdir.
11229         * configure: Regenerated.
11230
11231 2002-04-14  Mark Wielaard <mark@klomp.org>
11232
11233         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
11234         * java/net/natSocketImpl.cc (close): Likewise.
11235
11236 2002-04-14  Mark Wielaard <mark@klomp.org>
11237
11238         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
11239
11240 2002-04-13  Adam King <aking@dreammechanics.com>
11241
11242         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
11243         the f/F/d/D modifiers.
11244
11245 2002-04-12  Anthony Green  <green@redhat.com>
11246
11247         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
11248         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
11249         * Makefile.in: Rebuilt.
11250         * configure.in: Substitute gcc_version.
11251         * configure: Rebuilt.
11252
11253 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11254
11255         * configure.host: Set can_unwind_signal on hosts which support it.
11256         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
11257         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
11258         exceptions and can_unwind_signal isn't set.
11259         * configure: Rebuilt.
11260
11261 2002-04-11  Tom Tromey  <tromey@redhat.com>
11262
11263         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
11264
11265 2002-04-11  Adam King <aking@dreammechanics.com>
11266             Tom Tromey  <tromey@redhat.com>
11267
11268         * include/jvm.h (_Jv_ThrowBadArrayIndex,
11269         _Jv_ThrowNullPointerException): Mark as noreturn.
11270         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
11271         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
11272         fixes.
11273
11274 2002-04-10  Tom Tromey  <tromey@redhat.com>
11275
11276         * Makefile.in: Rebuilt.
11277         * Makefile.am (java/lang/Thread.h): Mark
11278         _Jv_AttachCurrentThreadAsDaemon as friend.
11279         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
11280         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
11281         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
11282         function.
11283         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
11284         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
11285         (_Jv_JNI_InvokeFunctions): Added
11286         _Jv_JNI_AttachCurrentThreadAsDaemon.
11287         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
11288         (JNI_GetDefaultJavaVMInitArgs): Likewise.
11289         (JNI_CreateJavaVM): Likewise.
11290         (_Jv_JNI_AttachCurrentThread): Likewise.
11291         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
11292         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
11293         (_Jv_JNIFunctions): Initialize new fields.
11294         (_Jv_JNI_NewDirectByteBuffer): New function.
11295         (_Jv_JNI_GetDirectBufferAddress): Likewise.
11296         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11297         * include/jni.h (JNI_VERSION_1_4): New macro.
11298         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
11299         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
11300         (JNINativeInterface::NewDirectByteBuffer): New field.
11301         (JNINativeInterface::GetDirectBufferAddress): New field.
11302         (JNINativeInterface::GetDirectBufferCapacity): New field.
11303         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
11304         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
11305         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
11306
11307 2002-04-09  Tom Tromey  <tromey@redhat.com>
11308
11309         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
11310
11311 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
11312
11313         Fix for PR libgcj/6187:
11314         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
11315         distance.
11316
11317 2002-04-07  Mark Wielaard <mark@klomp.org>
11318
11319         * java/util/AbstractMap.java (putAll): Use entrySet size.
11320         (toString): Explicitly use getKey() and getValue().
11321
11322 2002-04-07  Mark Wielaard <mark@klomp.org>
11323
11324         * java/util/Hashtable.java (contains): Remove NullPointer check.
11325         (containsValue): Add NullPointer check.
11326         (remove): Always throw NullPointerException when key
11327         is null.
11328
11329 2002-04-07  Adam King <aking@dreammechanics.com>
11330
11331         * java/lang/natSystem.cc (init_properties): Call new function
11332         _Jv_platform_initProperties.
11333         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
11334         support for the System properties os.name, os.arch, os.version,
11335         user.name, user.home, and user.dir.
11336         * include/posix.h, include/win32.h, posix.cc: New function
11337         _Jv_platform_initProperties.
11338
11339 2002-04-06  Mark Wielaard <mark@klomp.org>
11340
11341         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
11342
11343 2002-04-06  Mark Wielaard <mark@klomp.org>
11344
11345         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
11346         all of the remaining elements.
11347         * java/util/Vector.java (addAll(int,Collection)): Likewise.
11348         (removeRange): If toIndex == fromIndex do
11349         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11350         (removeAll): Always throw NullPointerException when collection is
11351         null.
11352         (retrainAll): Likewise.
11353
11354 2002-04-05  Mark Wielaard <mark@klomp.org>
11355
11356         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
11357         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11358
11359 2002-04-05  Adam Megacz <adam@xwt.org>
11360
11361         * exception.cc (abort): added static modifier
11362
11363 2002-04-04  Adam Megacz <adam@xwt.org>
11364
11365         * include/win32.h (_Jv_platform_close_on_exec): added inline
11366         modifier.
11367
11368 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
11369
11370         * configure.host: Add case statement to support generic port
11371         properties.  Add *-*-freebsd* section.
11372
11373 2002-04-04  Mark Wielaard  <mark@klomp.org>
11374
11375         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
11376         test.
11377         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
11378         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
11379         that depend on awt code and BufferedByteOutputStream.interrupt.
11380
11381 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11382
11383         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
11384         incorrect "hi" value when count > 40.
11385
11386 2002-04-03  Mark Wielaard  <mark@klomp.org>
11387
11388         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
11389         ordering.
11390
11391 2002-04-02  Tom Tromey  <tromey@redhat.com>
11392
11393         * java/lang/natClassLoader.cc (findClass): Compare against `3',
11394         not `0'.
11395
11396 2002-04-02  Mark Wielaard  <mark@klomp.org>
11397
11398         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
11399         list of testsuite crashers.
11400
11401 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11402
11403         * java/util/IdentityHashMap.java (put): Set new threshold correctly
11404         when resizing table.
11405
11406 2002-04-01  Mark Wielaard  <mark@klomp.org>
11407
11408         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
11409         NegativeArraySizeException
11410         (clear(int)): Use sign extended shift.
11411         (flip(int)): Likewise.
11412         (get(int)): Likewise.
11413         (nextClearBit(int)): Likewise.
11414         (nextSetBit(int)): Likewise.
11415         (set(int)): Likewise.
11416
11417 2002-04-01  Mark Wielaard  <mark@klomp.org>
11418
11419         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
11420         that can be compiled now and add testsuite crashers to ignore list.
11421
11422 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
11423
11424         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
11425
11426         * libgcj.spec.in: Override libgcc, not lib.
11427         * libgcj-test.spec.in: Likewise.
11428
11429 2002-03-29  Tom Tromey  <tromey@redhat.com>
11430
11431         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
11432         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
11433
11434 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
11435
11436         * java/net/PlainDatagramSocketImpl.java
11437         (close): Use native implementation.
11438         (finalize): New method.
11439
11440         * java/net/PlainSocketImpl.java (finalize): New method.
11441
11442         * java/net/natPlainDatagramSocketImpl.cc
11443         (java/io/FileDescriptor.h): Don't include.
11444         (close): Implement method here.
11445         (create): Don't assign fd.
11446
11447         * java/net/natPlainSocketImpl.cc
11448         (java/io/FileDescriptor.h): Don't include.
11449         (create): Don't assign fd.
11450         (accept): Likewise.
11451         (close): Synchronize.
11452
11453 2002-03-27  Richard Henderson  <rth@redhat.com>
11454
11455         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11456
11457 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11458
11459         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11460         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11461         instead of syscall on IA-64.
11462         Add FIXME comment.
11463
11464 2002-03-27  Anthony Green  <green@redhat.com>
11465
11466         * libgcj.spec.in: Add CHECKREFSPEC.
11467         * configure.in: Ditto.
11468         * configure.host: Ditto.  Check references for xscale-elf.
11469         * configure: Rebuilt.
11470
11471 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
11472
11473         * include/dwarf2-signal.h: Temporarily back out last change.
11474
11475 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
11476
11477         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11478
11479 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11480
11481         * configure.in, configure: enable dwarf2-exception-style
11482         exception handling on IA-64.
11483         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11484         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11485         Add FIXME comment.
11486
11487 2002-03-25  Tom Tromey  <tromey@redhat.com>
11488
11489         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11490         (jv_convert_LDFLAGS): Likewise.
11491         (gij_LDFLAGS): Likewise.
11492         (rmic_LDFLAGS): Likewise.
11493         (rmiregistry_LDFLAGS): Likewise.
11494         * configure.in (THREADLDFLAGS): New subst; set correctly for
11495         *BSD.
11496
11497 2002-03-25  Tom Tromey  <tromey@redhat.com>
11498
11499         For PR libgcj/5303:
11500         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11501         and --version.
11502         (help): New method.
11503         (version): Likewise.
11504         * gnu/gcj/convert/Convert.java (version): Removed extraneous
11505         "GNU".
11506         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11507         "GNU".
11508
11509 2002-03-25  Tom Tromey  <tromey@redhat.com>
11510
11511         * java/awt/Component.java (processEvent): Check ComponentEvent
11512         after KeyEvent.
11513
11514 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11515
11516         * java/io/PushbackReader.java: Reformat.
11517
11518         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11519         calculate correct number of bytes skipped.
11520
11521         Based on patch from Intel's ORP team:
11522         * java/io/PushbackInputStream.java (available): Calculate correct
11523         number of bytes in buffer.
11524         (read): Remove redundant bound check. Return bytes from both the
11525         buffer and the stream.
11526
11527 2002-03-24  Tom Tromey  <tromey@redhat.com>
11528
11529         * java/awt/TextComponent.java (TextComponent): Editable by
11530         default.
11531
11532         * java/awt/MenuItem.java (eventMask): No longer private.
11533         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11534         superclass if we didn't handle event.
11535         * java/awt/Checkbox.java (dispatchEventImpl): New method.
11536         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11537         * java/awt/Choice.java (dispatchEventImpl): New method.
11538         * java/awt/List.java (dispatchEventImpl): New method.
11539         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11540         * java/awt/TextComponent.java (dispatchEventImpl): New method.
11541         * java/awt/TextField.java (dispatchEventImpl): New method.
11542
11543 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11544
11545         * java/beans/IntrospectionException.java: Update to 1.4.
11546         * java/beans/PropertyVetoException.java: Ditto.
11547
11548 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11549
11550         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11551         Arrays.equals instead of ArrayHelper.equalsArray.
11552
11553 2002-03-24  C. Brian Jones <cbj@gnu.org>
11554
11555         * java/beans/Introspector.java: added new static final fields
11556         introduced in 1.2, lots of other updates remain to be done
11557
11558 2002-03-24  C. Brian Jones <cbj@gnu.org>
11559
11560         * java/beans/Introspector.java: reformatting
11561
11562 2002-03-24  C. Brian Jones <cbj@gnu.org>
11563
11564         * java/beans/Introspector.java: default beanInfoSearchPath will
11565         not include sun.beans.infos given we provide no such package and
11566         the API doesn't really require it; gnu.java.beans.info is the
11567         default.
11568
11569 2002-03-24  Mark Wielaard  <mark@klomp.org>
11570
11571         Thanks to Orp developers
11572         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11573         switch TRUE and FALSE return values.
11574
11575 2002-03-23  Tom Tromey  <tromey@redhat.com>
11576
11577         * include/name-finder.h (_Jv_name_finder::myclose): New method.
11578         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11579
11580 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
11581
11582         * java/util/GregorianCalendar.java (minimums, maximums): Correct
11583         MONTH entry.  Fixes PR libgcj/6045.
11584
11585 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
11586
11587         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11588
11589 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11590
11591         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11592         not release_set.
11593         * sysdep/powerpc/locks.h (write_barrier): New function.
11594         * sysdep/i386/locks.h (write_barrier): New function.
11595
11596 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
11597
11598         * include/jni.h Use correct C comments.
11599
11600 2002-03-18  Tom Tromey  <tromey@redhat.com>
11601
11602         * include/jni.h (JNIIMPORT): New macro.
11603         (JNIEXPORT): Likewise.
11604         (JNICALL): Likewise.
11605
11606 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11607
11608         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11609         systems.
11610
11611 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
11612
11613         * include/i386-signal.h (old_i386_kernel_sigaction): New.
11614         INIT_SEGV: Use old_i386_kernel_sigaction.
11615         INIT_FP: Likewise.
11616
11617 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11618
11619         * java/lang/natSystem.cc (init_properties): Update VM version
11620         properties.
11621         * configure.in: Set GCJVERSION.
11622         * acconfig.h: Add GCJVERSION.
11623         * configure: Rebuilt.
11624         * include/config.h.in: Rebuilt.
11625
11626 2002-03-17  Anthony Green  <green@redhat.com>
11627
11628         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11629
11630 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11631
11632         Build a single libgcj.so, without separate gc and zlib libraries.
11633         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11634         SYS_ZLIBS if system zlib is used.
11635         * configure: Rebuilt.
11636         * Makefile.am: Use boehm-gc and zlib convenience libraries.
11637         * Makefile.in: Rebuilt.
11638         * libtool-version: Increment .so version number.
11639
11640         * Makefile.am: Escape quotes in echo.
11641         * Makefile.in: Rebuilt.
11642
11643 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11644
11645         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11646         * Makefile.in: Rebuilt.
11647
11648 2002-03-15  Anthony Green  <green@redhat.com>
11649
11650         * configure.host (FILE): New macro for specifing File
11651         implementation.
11652         * configure: Rebuilt.
11653         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
11654
11655 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
11656
11657         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11658         already implicitly brought in from libgcj.la.
11659         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11660         * Makefile.in: Rebuilt.
11661
11662 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
11663
11664         * THANKS: Fix punctuation, alphabetization.
11665
11666 2002-03-15  Tom Tromey  <tromey@redhat.com>
11667             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11668
11669         Fix for PR libgcj/5944.
11670         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11671
11672 2002-03-15  Anthony Green  <green@redhat.com>
11673
11674         * configure.in (tool_include_dir): Define.
11675         * configure: Rebuilt.
11676         * gcj/Makefile.am: Install libgcj-config.h relative to
11677         tool_include_dir.
11678         * gcj/Makefile: Rebuilt.
11679         * gcj/libgcj-config.h: Add warning comment.
11680
11681 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
11682
11683         * configure.host (powerpc*-darwin*): Enable interpreter.
11684
11685 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11686
11687         * include/posix.h: Add multiple include header protection.
11688         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11689
11690 2002-03-10  Adam Megacz <adam@xwt.org>
11691
11692         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11693
11694 2002-03-10  Tom Tromey  <tromey@redhat.com>
11695
11696         * java/awt/GridLayout.java (layoutContainer): Handle case where
11697         there are no items in container.
11698
11699         * java/lang/Win32Process.java: Added comment.
11700         * include/posix.h (_Jv_platform_close_on_exec): New function.
11701         Include fcntl.h.
11702         * include/win32.h (_Jv_platform_close_on_exec): New function.
11703         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11704         flag.
11705         (accept): Likewise.
11706         * java/net/natPlainDatagramSocketImpl.cc (create): Set
11707         close-on-exec flag.
11708         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11709         flag.
11710
11711 2002-03-09  Tom Tromey  <tromey@redhat.com>
11712
11713         * verify.cc (state::NO_STACK): New constant.
11714         (state::is_unmerged_ret_state): Handle case where stacktop is
11715         NO_STACK.
11716         (state::merge): Handle NO_STACK merges.
11717         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11718         for instruction following jsr.
11719         (stacktop, stackdepth): Removed unused variables.
11720         (pop_jump): Ignore case where all remaining states are skipped.
11721
11722 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11723
11724         * java/awt/ImageMediaEntry: Removed.
11725         * java/awt/MediaEntry: Removed.
11726
11727 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11728
11729         Hashtable synchronization for PowerPC.
11730         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11731         slow_pthread_self. Set up symlink for sysdeps directory.
11732         * configure: Rebuild.
11733         * configure.host: Document more shell variables. Set sysdeps_dir
11734         for most platforms. Set slow_pthread_self for i686. Set
11735         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11736         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11737         that memory barrier is emitted where required.
11738         * prims.cc: 64-bit align static primitive class instances.
11739         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11740         read_barrier() to enforce ordering of reads.
11741         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11742         primitives for PowerPC.
11743         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11744         moved from natObject.cc.
11745         * sysdep/alpha/locks.h: Likewise.
11746         * sysdep/ia64/locks.h: Likewise.
11747         * sysdep/generic/locks.h: Likewise.
11748         * java/lang/natObject.cc: Move thread synchronization primitives to
11749         system-dependent headers.
11750
11751 2002-03-09  Adam Megacz  <adam@xwt.org>
11752
11753         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11754         bytes read and no failure code returned.
11755
11756 2002-03-09  Adam Megacz  <adam@xwt.org>
11757
11758         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11759         definitions to simulate -mthreads.
11760
11761 2002-03-09  Adam Megacz  <adam@xwt.org>
11762
11763         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11764         avoid precision loss.
11765
11766 2002-03-09  Per Bothner  <per@bothner.com>
11767
11768         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
11769         * gnu/gcj/xlib/XImage.java:  Likewise.
11770         * gnu/gcj/xlib/XColor.java:  Likewise.
11771
11772 2002-03-09  Adam Megacz  <adam@xwt.org>
11773
11774         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11775         IOException so that Throwable.printStackTrace fails correctly.
11776
11777 2002-03-08  Adam Megacz  <adam@xwt.org>
11778
11779         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11780         fixed.
11781
11782 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11783
11784         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11785         truncated to int.
11786
11787 2002-03-08  Tom Tromey  <tromey@redhat.com>
11788
11789         * include/jni.h: Include stdio.h.
11790
11791 2002-03-08  Tom Tromey  <tromey@redhat.com>
11792
11793         * posix.cc (internal_gettimeofday): New function.
11794         (_Jv_select): Use it.
11795
11796 2002-03-07  Adam Megacz  <adam@xwt.org>
11797
11798         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11799         WIN32, and added thunks for read(), write(), and close().
11800         * java/net/natPlainSocketImpl.cc (accept, read, read):
11801         Disabled timeouts on WIN32 pending discussion.
11802
11803 2002-03-07  Adam Megacz  <adam@xwt.org>
11804
11805         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11806         returns jlong. Added implementation
11807         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11808         returns jlong.
11809         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11810         returns jlong.
11811         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11812         returns jlong.
11813         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11814         _Jv_platform_gettimeofday signature.
11815
11816 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11817
11818         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11819         (read): Call recv() directly, not _Jv_recv().
11820
11821 2002-03-06  Tom Tromey  <tromey@redhat.com>
11822
11823         * java/io/natFileDescriptorEcos.cc (init): Don't use
11824         GetStdHandle.
11825         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11826         is negative.
11827         (init): Don't use GetStdHandle.
11828
11829         * include/config.h.in: Rebuilt.
11830         * configure: Rebuilt.
11831         * Makefile.in: Rebuilt.
11832
11833 2002-03-06  Adam Megacz  <adam@xwt.org>
11834
11835         * java/io/FileDescriptor.java: Initialize in/out/err in init().
11836         * java/io/natFileDescriptorWin32.cc (init()): Added function.
11837         * java/io/natFileDescriptorPosix.cc (init()): Added function.
11838         * java/io/natFileDescriptorEcos.cc (init()): Added function.
11839
11840 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
11841
11842         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11843         the code for generating include/java-chartables.h.
11844         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11845         merge with Classpath.
11846         * scripts/unicode-muncher.pl: Copy from Classpath.
11847         * scritps/MakeCharTables.java: New file.
11848         * gnu/gcj/convert/Blocks-3.txt: New file.
11849         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11850         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11851         * gnu/java/lang/CharData.java: Copy from Classpath.
11852         * Makefile.am (ordinary_java_source_files): Add
11853         gnu/java/lang/CharData.java.
11854         * configure.in: Remove --enable-fast-character option.
11855         * java/lang/Character.java: Merge algorithms and Javadoc with
11856         Classpath.
11857         * java/lang/natCharacter.cc: Implement Unicode lookup table more
11858         efficiently.
11859         * include/java-chardecomp.h: Regenerate.
11860         * include/java-chartables.h: Regenerate.
11861
11862 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11863
11864         * java/awt/MediaTracker.java: Implemented.
11865         * Makefile.am: Add MediaTracker.
11866         * Makefile.in: Rebuilt.
11867
11868 2002-03-05  Tom Tromey  <tromey@redhat.com>
11869
11870         * java/lang/natPosixProcess.cc (fail): Removed.
11871         (startProcess): Simplified error-handling.  Preserve
11872         LD_LIBRARY_PATH across exec.
11873
11874         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11875         AbstractMethodError.
11876
11877 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11878
11879         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11880         * Makefile.in: Rebuilt.
11881
11882 2002-03-03 Mark Wielaard <mark@klomp.org>
11883
11884         * java/util/Timer (TaskQueue.stop): set elements to zero.
11885
11886 2002-02-28  Anthony Green  <green@redhat.com>
11887
11888         * java/lang/reflect/natMethod.cc (result): Add void* element.
11889         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
11890         constructor test.
11891
11892 2002-02-27  Adam Megacz <adam@xwt.org>
11893
11894         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11895         '#undef STRICT'.
11896
11897 2002-02-26  Tom Tromey  <tromey@redhat.com>
11898
11899         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11900         * gij.cc (version): Use __VERSION__.
11901         * include/config.h.in: Rebuilt.
11902         * acconfig.h (GCJVERSION): Removed.
11903         * configure: Rebuilt.
11904         * configure.in (GCJVERSION): Removed.
11905
11906 2002-02-26  Andreas Schwab  <schwab@suse.de>
11907
11908         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11909         glibcpp_CXX, since libjava uses even another CXX.
11910         * aclocal.m4, configure: Regenerated.
11911
11912 2002-02-26  Tom Tromey  <tromey@redhat.com>
11913
11914         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11915         `1'.
11916
11917 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11918
11919         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11920         dependency tracking for .java files.
11921         * Makefile.in: Rebuilt.
11922
11923 2002-02-24  Adam Megacz  <adam@xwt.org>
11924
11925         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11926         typo. Sorry.
11927
11928 2002-02-24  Adam Megacz  <adam@xwt.org>
11929
11930         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11931         for Win32, changed #ifdefs to check WIN32 instead of the
11932         (now-obsolete) USE_WINSOCK, and removed support for socket
11933         timeouts on Win32 pending further discussion.
11934
11935 2002-02-24  Adam Megacz  <adam@xwt.org>
11936
11937         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11938         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11939         delete
11940
11941 2002-02-24  Adam Megacz  <adam@xwt.org>
11942
11943         * java/lang/Win32Process.java: Created a dummy class to allow
11944         build process to run to completion.
11945
11946 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
11947
11948         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11949         Define ffi_result union for ffi_call result.  Cast
11950         ffi_result members to jvalue.
11951
11952 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
11953
11954         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11955         * testsuite/Makefile.in: Likewise.
11956
11957 2002-02-20  Per Bothner  <per@bothner.com>
11958
11959         * java/net/URL.java (getPath):  New JDK 1.3 method.
11960
11961         * java/net/URLStreamHandler.java (parseURL):
11962         It is wrong to prepend '/' to the file part of a relative url.
11963
11964         * java/net/URLStreamHandler.java (parseURL):
11965         Minor optizations - append '/' rather than "/".
11966
11967         * java/net/URLStreamHandler.java (parseURL):
11968         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11969         We probably should canonicalize for a context-relative url, though.
11970         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
11971         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
11972         (sameFile):  New method.  Uses canonicalizeFilename.
11973
11974 2002-02-22  Tom Tromey  <tromey@redhat.com>
11975
11976         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11977         java.vendor and java.vm.vendor.
11978         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11979         recent copyright date.
11980         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11981         * gij.cc (version): Print `Inc'.
11982
11983 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11984
11985         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11986         * aclocal.m4, configure: Rebuilt.
11987
11988 2002-02-20  Per Bothner  <per@bothner.com>
11989
11990         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
11991         and/or output streams immediately here, instead of using File.exists.
11992         (inputStream, outputStream):  New fields to save open streams.
11993         (getInputStream, getOutputStream):  Use already-opened streams.
11994
11995 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11996
11997         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11998         Use it.
11999         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
12000         * aclocal.m4, configure, Makefile.in: Rebuilt.
12001
12002 2002-02-19  Tom Tromey  <tromey@redhat.com>
12003
12004         Fix for PR libgcj/5696:
12005         * verify.cc (is_assignable_from_slow): Never call
12006         _Jv_IsAssignableFrom.
12007         (verify_instructions_0): Added new debug statement.
12008         (state::print): Print information about whether local has
12009         changed.
12010         (state::merge): Don't call note_variable when merging locals.
12011         (state::set_exception): Removed old FIXME comment.
12012
12013 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12014
12015         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
12016         enable SO_BROADCAST.
12017
12018 2002-02-18  Jason Merrill  <jason@redhat.com>
12019
12020         * name-finder.cc (toHex): Use word mode, not long long.
12021
12022         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
12023
12024 2002-02-15  Tom Tromey  <tromey@redhat.com>
12025
12026         Fix for PR libgcj/5695:
12027         * verify.cc (is_assignable_from_slow): Check to see if target is
12028         an Object before checking to see if source is an interface.
12029         (verify_instructions_0) [op_invokeinterface]: Handle case where
12030         we're making an interface call on Object.
12031
12032 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12033
12034         * Makefile.in: Rebuilt with Eric's change below.
12035
12036         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
12037         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
12038         Removed functions which are now implemented in Math.java.
12039
12040 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12041
12042         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
12043         * Makefile.am (core_java_source_files): Add
12044         java/lang/StrictMath.java.
12045         * java/lang/Math.java: Merge with Classpath.
12046         * java/lang/StrictMath.java: New file - merge with Classpath.
12047
12048 2002-02-14  Mark Wielaard  <mark@klomp.org>
12049
12050         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
12051         package as a workaround for gcj 3.0.x
12052
12053 2002-02-14  Mark Wielaard <mark@klomp.org>
12054
12055         * java/security/BasicPermission.java: extends with fully qualified
12056         classname as workaround for gcj 3.0.4.
12057
12058 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12059
12060         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
12061         around gcj bug of wrong emitted qualifier for inherited method.
12062         * java/net/SocketImpl.java (setOption, getOption): Ditto.
12063         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
12064         constructor to reduce amount of emitted bytecode. While this
12065         happens to work around a jikes 1.15 bug, it is still a useful
12066         patch even for correct compilers.
12067         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
12068         * gnu/java/rmi/server/UnicastRemoteCall.java
12069         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
12070
12071 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12072
12073         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
12074         * java/net/SocketImpl.java: Ditto.
12075         * java/rmi/server/RMIClassLoader.java: Ditto.
12076         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
12077
12078 2002-02-14  Mark Wielaard <mark@klomp.org>
12079
12080         Thanks to Takashi Okamoto
12081         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
12082         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
12083         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
12084
12085 2002-02-13  Todd Stock  <toddastock@yahoo.com>
12086
12087         Fix for PR libgcj/5670:
12088         * verify.cc (is_assignable_from_slow): If `source' is interface,
12089         recursively look for merge with `target'.
12090
12091 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
12092
12093         * include/jni.h: Fix typo.
12094
12095 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
12096
12097         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
12098         correctly.
12099
12100 2002-02-13  Todd Stock  <toddastock@yahoo.com>
12101
12102         Fix for PR libgcj/5671:
12103         * verify.cc (state::merge): Handle case where we're merging
12104         against an interface.
12105
12106 2002-02-12  Tom Tromey  <tromey@redhat.com>
12107
12108         * exception.cc (std::abort): Mark as noreturn.
12109
12110 2002-02-12  Adam Megacz <adam@xwt.org>
12111
12112         * java/lang/Win32Process.java: Filled in a placeholder
12113         implementation so Win32 will build.
12114
12115 2002-02-12  Adam Megacz <adam@xwt.org>
12116
12117         * java/io/natFilePosix.cc: Copied this from natFile.cc.
12118         * java/io/natFile.cc: Removed from repository.
12119         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
12120
12121 2002-02-12  Adam Megacz <adam@xwt.org>
12122
12123         * win32.cc: Added two #includes to make win32.cc compile.
12124
12125 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12126
12127         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
12128         declarations.
12129         (_Jv_InitGC): Don't bother locking, as this is always called from a
12130         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
12131
12132 2002-02-11  Adam Megacz <adam@xwt.org>
12133
12134         * include/win32.h: Added _Jv_platform_gettimeofday.
12135         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
12136
12137 2002-02-11  Adam Megacz <adam@xwt.org>
12138
12139         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
12140         Added #undef STRICT to make windows.h and
12141         java/lang/reflect/Modifier.h cooperate.
12142
12143 2002-02-11  Adam Megacz <adam@xwt.org>
12144
12145         * java/io/natFileWin32.cc: Created a placeholder class with lots
12146         of FIXMEs.
12147
12148 2002-02-11  Adam Megacz <adam@xwt.org>
12149
12150         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
12151         std::abort() to simply abort(). Also added "fake" std::abort() so
12152         we can #include unwind-pe.h without having to link against
12153         libstdc++-v3.
12154
12155 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
12156
12157         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
12158
12159 2002-02-08  Tom Tromey  <tromey@redhat.com>
12160
12161         * interpret.cc (convert): New function.
12162         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
12163         convert.
12164         Include Long.h.
12165
12166 2002-02-08  Anthony Green  <green@redhat.com>
12167
12168         * configure.host: Add support for xscale-elf embedded target.
12169
12170 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
12171
12172         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
12173         dereferenced.
12174         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
12175         frame.
12176
12177 2002-02-07  Tom Tromey  <tromey@redhat.com>
12178
12179         * java/io/natFile.cc (_access): Use __builtin_alloca.
12180         (_stat): Likewise.
12181         (attr): Likewise.
12182         (getCanonicalPath): Likewise.
12183         (performList): Likewise.
12184         (performMkdir): Likewise.
12185         (performSetReadOnly): Likewise.
12186         (performRenameTo): Likewise.
12187         (performSetLastModified): Likewise.
12188         (performCreate): Likewise.
12189         (performDelete): Likewise.
12190
12191 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12192
12193         * HACKING: Fix URL for the automake-gcj.
12194
12195 2002-02-07  Tom Tromey  <tromey@redhat.com>
12196
12197         * java/lang/natThrowable.cc: Updated copyright.
12198         * java/io/natFileWin32.cc: Updated copyright.
12199         * java/io/natFileDescriptorWin32.cc: Updated copyright.
12200         * win32-threads.cc: Updated copyright.
12201         * name-finder.cc: Updated copyright.
12202         * include/name-finder.h: Updated copyright.
12203
12204         * include/name-finder.h: Conditionally include sys/wait.h.
12205         * include/config.h.in: Rebuilt.
12206
12207         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
12208         Size buffer based on real size of string.
12209         (_stat): Likewise.
12210         (attr): Likewise.
12211         (getCanonicalPath): Likewise.
12212         (performList): Likewise.
12213         (performMkdir): Likewise.
12214         (performSetReadOnly): Likewise.
12215         (unixroot): Removed.
12216         (performRenameTo): Likewise.
12217         (performSetLastModified): Likewise.
12218         (performCreate): Likewise.
12219         (performDelete): Likewise.
12220         (performListRoots): Always return new array.
12221
12222         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
12223         * win32.cc (win32_exception_handler): Now static.
12224         * include/win32.h (_Jv_platform_initialize): Declare.
12225         (win32_exception_handler): Don't declare.
12226         * java/lang/natSystem.cc (currentTimeMillis): Use
12227         _Jv_platform_gettimeofday.
12228         * posix.cc (_Jv_platform_gettimeofday): Renamed.
12229         (_Jv_select): Use new name.
12230         (_Jv_platform_initialize): New function.
12231         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
12232         _Jv_gettimeofday.
12233         (_Jv_platform_initialize): Declare.
12234
12235         * configure: Rebuilt.
12236         * configure.in: Removed unnecessary parens.
12237
12238 2002-02-06  Adam Megacz <adam@xwt.org>
12239
12240        * configure.in: Changed mingw) to *mingw*).
12241        * win32.cc: Created this file.
12242        * win32.h: Created this file.
12243        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
12244        win32_exception_handler from prims.cc to win32.cc, added
12245        header in win32.h.
12246        * prims.cc: removed some #ifdef-WIN32'd headers which are no
12247        longer needed now that we have platform.h
12248
12249 2002-02-06  Adam Megacz <adam@xwt.org>
12250
12251         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
12252         use uint<n>_t instead of LONG and BYTE
12253
12254 2002-02-06  Adam Megacz <adam@xwt.org>
12255
12256         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
12257
12258 2002-02-06  Anthony Green  <green@redhat.com>
12259
12260         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
12261         Implement missing method stubs.
12262         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
12263         targets.
12264         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
12265         concept of timezones.
12266         (init_properties): Don't refer to _Jv_Environment_Properties
12267         when this feature is not available.
12268         * include/config.h.in: Rebuilt.
12269         * acconfig.h: Add DISABLE_MAIN_ARGS.
12270         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
12271         * configure: Rebuilt.
12272         * configure.in: Add --disable-main-args option.  Test for
12273           opendir function.  Replace AC_CHECK_SIZEOF with
12274           AC_COMPILE_CHECK_SIZEOF.
12275         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
12276         * aclocal.m4: Rebuilt.
12277         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
12278
12279 2002-02-06  Tom Tromey  <tromey@redhat.com>
12280
12281         * verify.cc (require_array_type): If argument is a null array of
12282         references, return null as the element type.
12283
12284 2002-02-06  Mark Wielaard  <mark@klomp.org>
12285
12286         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
12287         duplicate of a wide type.
12288
12289 2002-02-06  Tom Tromey  <tromey@redhat.com>
12290
12291         * verify.cc (type::isnull): New method.
12292         (require_array_type): Handle case where array is null.
12293         (verify_instructions_0) [op_arraylength]: Likewise.
12294
12295 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12296
12297         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
12298         Symlink PLATFORMH to platform.h.
12299         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
12300         PLATFORMOBJS.
12301         * java/lang/natSystem.cc: #include platform.h not posix.h.
12302         * Makefile.in: Rebuilt with libgcj automake.
12303         * configure: Rebuilt.
12304
12305 2002-02-05  Richard Henderson  <rth@redhat.com>
12306
12307         * Makefile.in: Undo munging last change.
12308
12309 2002-02-04  Adam Megacz <adam@xwt.org>
12310
12311         * win32.cc: Created it.
12312         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
12313         which is set to posix.cc or win32.cc.
12314         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
12315
12316 2002-02-04  Adam Megacz <adam@xwt.org>
12317
12318         * configure.in: Corrected mingw case branches; added * before
12319         and after.
12320
12321 2002-02-04  Adam Megacz <adam@xwt.org>
12322
12323         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
12324         if compiling for win32
12325
12326 2002-02-04  Adam Megacz <adam@xwt.org>
12327
12328         * win32-threads.cc: #undef STRICT after gc.h inclusion
12329
12330 2002-02-02  Tom Tromey  <tromey@redhat.com>
12331
12332         * Makefile.in: Rebuilt.
12333
12334 2002-02-02  Jason Merrill  <jason@redhat.com>
12335
12336         * Makefile.am (clean-nat): New target.
12337
12338 2002-02-02  Tom Tromey  <tromey@redhat.com>
12339
12340         * java/io/natFile.cc: Removed old "FIXME" comments.
12341
12342 2002-02-01  Tom Tromey  <tromey@redhat.com>
12343
12344         * java/lang/natPosixProcess.cc (myclose): New function.
12345         (fail): Use it.
12346         (startProcess): Likewise.
12347
12348 2002-02-01  Adam Megacz <adam@xwt.org>
12349
12350         * prims.cc: Added #undef STRICT after #include<windows.h>.
12351
12352 2002-02-01  Adam Megacz <adam@xwt.org>
12353
12354         * prims.cc
12355         (_Jv_CreateJavaVM): We now use WIN32 instead of
12356         USE_WIN32_SIGNALLING and USE_WINSOCK.
12357         (win32_exception_handler): Now throws an exception out of
12358         the signal handler; assumes SJLJ.
12359
12360 2002-02-01  Adam Megacz <adam@xwt.org>
12361
12362         * win32-threads.cc:
12363         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
12364         wait() algorithm to make it safe.
12365         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
12366         Added lazy creation of Win32 Events for better performance
12367         (really_start): This now uses GC_CreateThread so boehm-gc
12368         knows about new threads even when statically linked.
12369
12370 2002-02-01  Adam Megacz <adam@xwt.org>
12371
12372         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
12373         enable safer wait() algorithm.
12374         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
12375         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
12376         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
12377         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
12378         instead of mutex.
12379         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
12380
12381 2002-02-01  Adam Megacz <adam@xwt.org>
12382
12383         * configure.in: Added support for mingw.
12384         * java/lang/Win32Process.java: Created as empty file.
12385         * java/lang/natWin32Process.cc: Created as empty file.
12386
12387 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
12388
12389         PR java/4972
12390         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
12391         for libiconv in LIBICONV variable.
12392         * configure: Regenerated.
12393
12394 2002-01-31  Tom Tromey  <tromey@redhat.com>
12395
12396         * verify.cc (state::enter_subroutine): New method.
12397         (handle_jsr_insn): Use it.
12398         (state::merge): When processing a `ret', correctly use
12399         subroutine's state to determine which local variables have
12400         changed.
12401         (push_exception_jump): Don't let stack overflow.
12402
12403 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
12404
12405         * gnu/gcj/convert/Convert.java: Only include one copyright year in
12406         --version output.
12407
12408 2002-01-30  Tom Tromey  <tromey@redhat.com>
12409
12410         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
12411         parameter for `recv' return type.
12412
12413         * verify.cc (handle_ret_insn): Check for subroutine merge here...
12414         (state::merge): ... not here.
12415         (subr_entry_info): New structure.
12416         (entry_points): New field.
12417         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
12418         entry_points.
12419
12420 2002-01-29  Tom Tromey  <tromey@redhat.com>
12421
12422         * java/awt/List.java (addNotify): Correctly check to see if peer
12423         does not exist.
12424
12425         * java/awt/GridLayout.java (layoutContainer): Use number of rows
12426         to compute height of each cell, and number of columns to compute
12427         width of each cell.
12428         * java/awt/Window.java (getOwnedWindows): Don't return null.
12429         * java/awt/FlowLayout.java (layoutContainer): Set width and height
12430         of component.  Increment x using horizontal gap, not vertical
12431         gap.
12432
12433 2002-01-28  Tom Tromey  <tromey@redhat.com>
12434
12435         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12436         `nargs' byte is number of words, not number of arguments.
12437
12438 2002-01-27  Tom Tromey  <tromey@redhat.com>
12439
12440         * java/awt/event/MouseEvent.java (modifiers): Removed field.
12441         (when): Likewise.
12442         * java/awt/event/InputEvent.java (modifiers, when): Now
12443         package-private.
12444
12445         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12446         and to-do list.
12447         (state::merge): Use current class' class loader.
12448         (state::print): Print subroutine.
12449         (state::merge): Don't look at subroutine of unmerged `ret'.
12450
12451 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12452
12453         * nogc.cc: Remove warnings.
12454         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12455         New functions.
12456
12457 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12458
12459         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12460         int, int):  Remove empty "if" statement to work around compiler bug.
12461         (newPixels(int[], ColorModel, int, int): Likewise.
12462
12463 2002-01-25  Per Bothner  <per@bothner.com>
12464
12465         * verify.cc (verify_fail):  Change from being a top-level function
12466         to e method of _Jv_BytecodeVerifier.  Emit current method name.
12467         Pass the current verifier to type: and state: methods as needed,
12468         for better error messages, and for resolve.
12469         (resolve):  Pass current class's loader for Class.forName and
12470         _Jv_FindClassFromSignature, rather than using the default loader.
12471         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
12472         (get_type_val_for_signature):  Make non-static.
12473         (various methods):  Pass start_PC implicitly, not explicitly.
12474
12475 2002-01-25  Tom Tromey  <tromey@redhat.com>
12476
12477         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12478         loop termination condition.
12479         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12480         width.
12481
12482 2002-01-24  Tom Tromey  <tromey@redhat.com>
12483
12484         * java/awt/Shape.java: Merged with Classpath.
12485         * java/awt/Scrollbar.java: Merged with Classpath.
12486
12487         * java/awt/Container.java (addNotify): Unconditionally call
12488         addNotifyContainerChildren and superclass addNotify.
12489
12490         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12491         getAlpha, not getBlue.
12492
12493 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12494
12495         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12496
12497         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12498         (grabPixels(long)): Wait to be notified that the ImageProducer has
12499         completed.
12500
12501 2002-01-24  Per Bothner  <per@bothner.com>
12502
12503         * verify.cc (is_assignable_from_slow): If target is an interface,
12504         we must still check the source's superclass before giving up.
12505
12506 2002-01-24  Tom Tromey  <tromey@redhat.com>
12507
12508         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12509
12510 2002-01-23  Tom Tromey  <tromey@redhat.com>
12511
12512         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12513         `else'.
12514
12515         * Makefile.in: Rebuilt.
12516         * Makefile.am (awt_java_source_files): Added new files.
12517         * java/awt/Toolkit.java: Merged with Classpath.
12518         * java/awt/PrintGraphics.java: New file from Classpath.
12519         * java/awt/PrintJob.java: New file from Classpath.
12520         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12521         * java/awt/datatransfer/ClipboardOwner.java: New file from
12522         Classpath.
12523         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12524         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12525         * java/awt/datatransfer/MimeTypeParseException.java: New file from
12526         Classpath.
12527         * java/awt/datatransfer/StringSelection.java: New file from
12528         Classpath.
12529         * java/awt/datatransfer/SystemFlavorMap.java: New file from
12530         Classpath.
12531         * java/awt/datatransfer/Transferable.java: New file from
12532         Classpath.
12533         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12534         from Classpath.
12535
12536         * Makefile.in: Rebuilt.
12537         * Makefile.am (awt_java_source_files): Added new files.
12538         * java/awt/image/AreaAveragingScaleFilter.java: New file from
12539         Classpath.
12540         * java/awt/image/CropImageFilter.java: New file from Classpath.
12541         * java/awt/image/FilteredImageSource.java: New file from
12542         Classpath.
12543         * java/awt/image/ImageFilter.java: New file from Classpath.
12544         * java/awt/image/MemoryImageSource.java: New file from Classpath.
12545         * java/awt/image/PixelGrabber.java: New file from Classpath.
12546         * java/awt/image/RGBImageFilter.java: New file from Classpath.
12547         * java/awt/image/ReplicateScaleFilter.java: New file from
12548         Classpath.
12549         * java/awt/image/ImageProducer.java: Replaced with Classpath
12550         version.
12551         * java/awt/image/ImageObserver.java: Replaced with Classpath
12552         version.
12553         * java/awt/image/ImageConsumer.java: Replaced with Classpath
12554         version.
12555         * java/awt/GridBagConstraints.java (clone): Catch
12556         CloneNotSupportedException.
12557
12558 2002-01-23  Per Bothner  <per@bothner.com>
12559
12560         * java/lang/reflect/natField.cc (setAddr):  New function.
12561         Calls getAddr and then checks that the field isn't final.
12562         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12563         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
12564         (set):  Call setAddr before check that new value has right type,
12565         to better match specified semantics.
12566
12567 2002-01-22  Tom Tromey  <tromey@redhat.com>
12568
12569         * java/awt/TextField.java: Replaced with Classpath version.
12570         * java/awt/TextArea.java: Replaced with Classpath version.
12571         * java/awt/TextComponent.java: Replaced with Classpath version.
12572
12573         * java/awt/GridBagConstraints.java: Updated copyright.
12574
12575 2002-01-22  Mark Wielaard <mark@klomp.org>
12576
12577         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12578         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12579         java/awt/Dialog.java java/awt/FileDialog.java
12580         java/awt/Font.java java/awt/FontMetrics.java
12581         java/awt/Image.java java/awt/ImageMediaEntry.java
12582         java/awt/Insets.java java/awt/List.java
12583         java/awt/MediaEntry.java java/awt/MediaTracker.java
12584         java/awt/Menu.java java/awt/MenuBar.java
12585         java/awt/MenuContainer.java java/awt/MenuShortcut.java
12586         java/awt/PaintContext.java java/awt/Panel.java
12587         java/awt/PopupMenu.java java/awt/SystemColor.java
12588         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12589         java/awt/peer/CheckboxMenuItemPeer.java
12590         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12591         java/awt/peer/ComponentPeer.java
12592         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12593         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12594         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12595         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12596         java/awt/peer/MenuBarPeer.java
12597         java/awt/peer/MenuComponentPeer.java
12598         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12599         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12600         java/awt/peer/ScrollPanePeer.java
12601         java/awt/peer/ScrollbarPeer.java
12602         java/awt/peer/TextAreaPeer.java
12603         java/awt/peer/TextComponentPeer.java
12604         java/awt/peer/TextFieldPeer.java
12605         java/awt/peer/WindowPeer.java: Add license clarification.
12606
12607 2002-01-22  Mark Wielaard <mark@klomp.org>
12608
12609         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12610         gnu/gcj/runtime/StringBuffer.java
12611         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12612         gnu/java/awt/ComponentDataBlitOp.java
12613         gnu/java/awt/GLightweightPeer.java
12614         gnu/java/beans/BeanInfoEmbryo.java
12615         gnu/java/beans/EmptyBeanInfo.java
12616         gnu/java/beans/ExplicitBeanInfo.java
12617         gnu/java/beans/IntrospectionIncubator.java
12618         gnu/java/beans/editors/ColorEditor.java
12619         gnu/java/beans/editors/FontEditor.java
12620         gnu/java/beans/editors/NativeBooleanEditor.java
12621         gnu/java/beans/editors/NativeByteEditor.java
12622         gnu/java/beans/editors/NativeDoubleEditor.java
12623         gnu/java/beans/editors/NativeFloatEditor.java
12624         gnu/java/beans/editors/NativeIntEditor.java
12625         gnu/java/beans/editors/NativeLongEditor.java
12626         gnu/java/beans/editors/NativeShortEditor.java
12627         gnu/java/beans/editors/StringEditor.java
12628         gnu/java/beans/info/ComponentBeanInfo.java
12629         gnu/java/io/ClassLoaderObjectInputStream.java
12630         gnu/java/io/NullOutputStream.java
12631         gnu/java/io/ObjectIdentityWrapper.java
12632         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12633         gnu/java/lang/reflect/TypeSignature.java
12634         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12635         gnu/java/locale/Calendar_en.java
12636         gnu/java/locale/Calendar_nl.java
12637         gnu/java/locale/LocaleInformation.java
12638         gnu/java/locale/LocaleInformation_de.java
12639         gnu/java/locale/LocaleInformation_en.java
12640         gnu/java/locale/LocaleInformation_nl.java
12641         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12642         gnu/java/rmi/registry/RegistryImpl.java
12643         gnu/java/rmi/rmic/Compile_gcj.java
12644         gnu/java/rmi/rmic/Compiler.java
12645         gnu/java/rmi/rmic/CompilerProcess.java
12646         gnu/java/rmi/rmic/RMIC.java
12647         gnu/java/rmi/rmic/TabbedWriter.java
12648         gnu/java/rmi/server/ProtocolConstants.java
12649         gnu/java/rmi/server/RMIDefaultSocketFactory.java
12650         gnu/java/rmi/server/RMIHashes.java
12651         gnu/java/rmi/server/RMIObjectInputStream.java
12652         gnu/java/rmi/server/RMIObjectOutputStream.java
12653         gnu/java/rmi/server/UnicastConnection.java
12654         gnu/java/rmi/server/UnicastConnectionManager.java
12655         gnu/java/rmi/server/UnicastRef.java
12656         gnu/java/rmi/server/UnicastRemoteCall.java
12657         gnu/java/rmi/server/UnicastRemoteStub.java
12658         gnu/java/rmi/server/UnicastServer.java
12659         gnu/java/rmi/server/UnicastServerRef.java
12660         gnu/java/security/provider/DefaultPolicy.java
12661         gnu/java/security/provider/Gnu.java
12662         gnu/java/security/provider/SHA.java
12663         gnu/java/security/provider/SHA1PRNG.java
12664         gnu/java/text/BaseBreakIterator.java
12665         gnu/java/text/CharacterBreakIterator.java
12666         gnu/java/text/LineBreakIterator.java
12667         gnu/java/text/SentenceBreakIterator.java
12668         gnu/java/text/WordBreakIterator.java
12669         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12670         java/applet/AppletContext.java java/applet/AppletStub.java
12671         java/applet/AudioClip.java java/awt/AWTError.java
12672         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12673         java/awt/AWTException.java java/awt/AWTPermission.java
12674         java/awt/ActiveEvent.java java/awt/BorderLayout.java
12675         java/awt/Button.java java/awt/Canvas.java
12676         java/awt/CardLayout.java java/awt/Checkbox.java
12677         java/awt/CheckboxGroup.java java/awt/Component.java
12678         java/awt/ComponentOrientation.java java/awt/Container.java
12679         java/awt/Dimension.java java/awt/Event.java
12680         java/awt/EventDispatchThread.java java/awt/EventQueue.java
12681         java/awt/FlowLayout.java java/awt/Frame.java
12682         java/awt/Graphics.java java/awt/Graphics2D.java
12683         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12684         java/awt/IllegalComponentStateException.java
12685         java/awt/ItemSelectable.java java/awt/Label.java
12686         java/awt/LayoutManager.java java/awt/LayoutManager2.java
12687         java/awt/MenuComponent.java java/awt/MenuItem.java
12688         java/awt/Paint.java java/awt/Point.java
12689         java/awt/Rectangle.java java/awt/RenderingHints.java
12690         java/awt/Transparency.java java/awt/Window.java
12691         java/awt/color/ColorSpace.java
12692         java/awt/color/ICC_ColorSpace.java
12693         java/awt/color/ICC_Profile.java
12694         java/awt/event/HierarchyBoundsAdapter.java
12695         java/awt/event/HierarchyBoundsListener.java
12696         java/awt/event/HierarchyEvent.java
12697         java/awt/event/HierarchyListener.java
12698         java/awt/geom/AffineTransform.java
12699         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12700         java/awt/geom/IllegalPathStateException.java
12701         java/awt/geom/Line2D.java
12702         java/awt/geom/NoninvertibleTransformException.java
12703         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12704         java/awt/geom/Rectangle2D.java
12705         java/awt/geom/RectangularShape.java
12706         java/awt/geom/RoundRectangle2D.java
12707         java/awt/image/BufferedImage.java
12708         java/awt/image/ColorModel.java
12709         java/awt/image/ComponentColorModel.java
12710         java/awt/image/ComponentSampleModel.java
12711         java/awt/image/DataBuffer.java
12712         java/awt/image/DataBufferByte.java
12713         java/awt/image/DataBufferInt.java
12714         java/awt/image/DataBufferUShort.java
12715         java/awt/image/DirectColorModel.java
12716         java/awt/image/PackedColorModel.java
12717         java/awt/image/Raster.java java/awt/image/RasterOp.java
12718         java/awt/image/SampleModel.java
12719         java/awt/image/SinglePixelPackedSampleModel.java
12720         java/awt/image/WritableRaster.java
12721         java/beans/AppletInitializer.java
12722         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12723         java/beans/Beans.java java/beans/Customizer.java
12724         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12725         java/beans/FeatureDescriptor.java
12726         java/beans/IndexedPropertyDescriptor.java
12727         java/beans/IntrospectionException.java
12728         java/beans/Introspector.java java/beans/MethodDescriptor.java
12729         java/beans/ParameterDescriptor.java
12730         java/beans/PropertyChangeEvent.java
12731         java/beans/PropertyChangeListener.java
12732         java/beans/PropertyChangeSupport.java
12733         java/beans/PropertyDescriptor.java
12734         java/beans/PropertyEditor.java
12735         java/beans/PropertyEditorManager.java
12736         java/beans/PropertyEditorSupport.java
12737         java/beans/PropertyVetoException.java
12738         java/beans/SimpleBeanInfo.java
12739         java/beans/VetoableChangeListener.java
12740         java/beans/VetoableChangeSupport.java
12741         java/beans/Visibility.java
12742         java/beans/beancontext/BeanContext.java
12743         java/beans/beancontext/BeanContextChild.java
12744         java/beans/beancontext/BeanContextChildComponentProxy.java
12745         java/beans/beancontext/BeanContextChildSupport.java
12746         java/beans/beancontext/BeanContextContainerProxy.java
12747         java/beans/beancontext/BeanContextEvent.java
12748         java/beans/beancontext/BeanContextMembershipEvent.java
12749         java/beans/beancontext/BeanContextMembershipListener.java
12750         java/beans/beancontext/BeanContextProxy.java
12751         java/beans/beancontext/BeanContextServiceAvailableEvent.java
12752         java/beans/beancontext/BeanContextServiceProvider.java
12753         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12754         java/beans/beancontext/BeanContextServiceRevokedEvent.java
12755         java/beans/beancontext/BeanContextServiceRevokedListener.java
12756         java/beans/beancontext/BeanContextServices.java
12757         java/beans/beancontext/BeanContextServicesListener.java
12758         java/io/BufferedInputStream.java
12759         java/io/BufferedOutputStream.java java/io/BufferedReader.java
12760         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12761         java/io/ByteArrayOutputStream.java
12762         java/io/CharArrayReader.java java/io/CharArrayWriter.java
12763         java/io/CharConversionException.java java/io/DataInput.java
12764         java/io/DataInputStream.java java/io/DataOutput.java
12765         java/io/EOFException.java java/io/Externalizable.java
12766         java/io/FileFilter.java java/io/FileNotFoundException.java
12767         java/io/FilePermission.java java/io/FileReader.java
12768         java/io/FileWriter.java java/io/FilenameFilter.java
12769         java/io/FilterInputStream.java java/io/FilterOutputStream.java
12770         java/io/FilterReader.java java/io/FilterWriter.java
12771         java/io/IOException.java java/io/InputStream.java
12772         java/io/InterruptedIOException.java
12773         java/io/InvalidClassException.java
12774         java/io/InvalidObjectException.java
12775         java/io/NotActiveException.java
12776         java/io/NotSerializableException.java java/io/ObjectInput.java
12777         java/io/ObjectInputStream.java
12778         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12779         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12780         java/io/ObjectStreamConstants.java
12781         java/io/ObjectStreamException.java
12782         java/io/ObjectStreamField.java
12783         java/io/OptionalDataException.java java/io/OutputStream.java
12784         java/io/PipedInputStream.java java/io/PipedOutputStream.java
12785         java/io/PipedReader.java java/io/PipedWriter.java
12786         java/io/PrintWriter.java java/io/PushbackInputStream.java
12787         java/io/PushbackReader.java java/io/Reader.java
12788         java/io/SequenceInputStream.java java/io/Serializable.java
12789         java/io/SerializablePermission.java
12790         java/io/StreamCorruptedException.java
12791         java/io/StreamTokenizer.java
12792         java/io/StringBufferInputStream.java java/io/StringReader.java
12793         java/io/StringWriter.java java/io/SyncFailedException.java
12794         java/io/UTFDataFormatException.java
12795         java/io/UnsupportedEncodingException.java
12796         java/io/WriteAbortedException.java java/io/Writer.java
12797         java/lang/AbstractMethodError.java
12798         java/lang/ArithmeticException.java
12799         java/lang/ArrayIndexOutOfBoundsException.java
12800         java/lang/ArrayStoreException.java java/lang/Boolean.java
12801         java/lang/Byte.java java/lang/CharSequence.java
12802         java/lang/ClassCastException.java
12803         java/lang/ClassCircularityError.java
12804         java/lang/ClassFormatError.java
12805         java/lang/ClassNotFoundException.java
12806         java/lang/CloneNotSupportedException.java
12807         java/lang/Cloneable.java java/lang/Comparable.java
12808         java/lang/Compiler.java java/lang/Double.java
12809         java/lang/Error.java java/lang/Exception.java
12810         java/lang/ExceptionInInitializerError.java
12811         java/lang/Float.java java/lang/IllegalAccessError.java
12812         java/lang/IllegalAccessException.java
12813         java/lang/IllegalArgumentException.java
12814         java/lang/IllegalMonitorStateException.java
12815         java/lang/IllegalStateException.java
12816         java/lang/IllegalThreadStateException.java
12817         java/lang/IncompatibleClassChangeError.java
12818         java/lang/IndexOutOfBoundsException.java
12819         java/lang/InheritableThreadLocal.java
12820         java/lang/InstantiationError.java
12821         java/lang/InstantiationException.java java/lang/Integer.java
12822         java/lang/InternalError.java
12823         java/lang/InterruptedException.java
12824         java/lang/LinkageError.java java/lang/Long.java
12825         java/lang/NegativeArraySizeException.java
12826         java/lang/NoClassDefFoundError.java
12827         java/lang/NoSuchFieldError.java
12828         java/lang/NoSuchFieldException.java
12829         java/lang/NoSuchMethodError.java
12830         java/lang/NoSuchMethodException.java
12831         java/lang/NullPointerException.java java/lang/Number.java
12832         java/lang/NumberFormatException.java
12833         java/lang/OutOfMemoryError.java java/lang/Package.java
12834         java/lang/Process.java java/lang/Runnable.java
12835         java/lang/RuntimeException.java
12836         java/lang/RuntimePermission.java
12837         java/lang/SecurityException.java
12838         java/lang/SecurityManager.java java/lang/Short.java
12839         java/lang/StackOverflowError.java java/lang/StringBuffer.java
12840         java/lang/StringIndexOutOfBoundsException.java
12841         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12842         java/lang/ThreadLocal.java java/lang/UnknownError.java
12843         java/lang/UnsatisfiedLinkError.java
12844         java/lang/UnsupportedClassVersionError.java
12845         java/lang/UnsupportedOperationException.java
12846         java/lang/VerifyError.java java/lang/VirtualMachineError.java
12847         java/lang/Void.java java/lang/ref/PhantomReference.java
12848         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12849         java/lang/ref/SoftReference.java
12850         java/lang/ref/WeakReference.java
12851         java/lang/reflect/AccessibleObject.java
12852         java/lang/reflect/InvocationTargetException.java
12853         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12854         java/lang/reflect/ReflectPermission.java
12855         java/math/BigDecimal.java java/math/BigInteger.java
12856         java/net/Authenticator.java java/net/BindException.java
12857         java/net/ConnectException.java java/net/ContentHandler.java
12858         java/net/ContentHandlerFactory.java
12859         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12860         java/net/FileNameMap.java java/net/MalformedURLException.java
12861         java/net/MulticastSocket.java java/net/NetPermission.java
12862         java/net/NoRouteToHostException.java
12863         java/net/PasswordAuthentication.java
12864         java/net/ProtocolException.java java/net/ServerSocket.java
12865         java/net/Socket.java java/net/SocketException.java
12866         java/net/SocketImpl.java java/net/SocketImplFactory.java
12867         java/net/SocketOptions.java java/net/SocketPermission.java
12868         java/net/URLDecoder.java java/net/URLEncoder.java
12869         java/net/URLStreamHandlerFactory.java
12870         java/net/UnknownHostException.java
12871         java/net/UnknownServiceException.java
12872         java/rmi/AccessException.java
12873         java/rmi/AlreadyBoundException.java
12874         java/rmi/ConnectException.java
12875         java/rmi/ConnectIOException.java
12876         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12877         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12878         java/rmi/NotBoundException.java
12879         java/rmi/RMISecurityException.java
12880         java/rmi/RMISecurityManager.java java/rmi/Remote.java
12881         java/rmi/RemoteException.java java/rmi/ServerError.java
12882         java/rmi/ServerException.java
12883         java/rmi/ServerRuntimeException.java
12884         java/rmi/StubNotFoundException.java
12885         java/rmi/UnexpectedException.java
12886         java/rmi/UnknownHostException.java
12887         java/rmi/UnmarshalException.java
12888         java/rmi/activation/Activatable.java
12889         java/rmi/activation/ActivateFailedException.java
12890         java/rmi/activation/ActivationDesc.java
12891         java/rmi/activation/ActivationException.java
12892         java/rmi/activation/ActivationGroup.java
12893         java/rmi/activation/ActivationGroupDesc.java
12894         java/rmi/activation/ActivationGroupID.java
12895         java/rmi/activation/ActivationID.java
12896         java/rmi/activation/ActivationInstantiator.java
12897         java/rmi/activation/ActivationMonitor.java
12898         java/rmi/activation/ActivationSystem.java
12899         java/rmi/activation/Activator.java
12900         java/rmi/activation/UnknownGroupException.java
12901         java/rmi/activation/UnknownObjectException.java
12902         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12903         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12904         java/rmi/registry/Registry.java
12905         java/rmi/registry/RegistryHandler.java
12906         java/rmi/server/ExportException.java
12907         java/rmi/server/LoaderHandler.java
12908         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12909         java/rmi/server/Operation.java
12910         java/rmi/server/RMIClassLoader.java
12911         java/rmi/server/RMIClientSocketFactory.java
12912         java/rmi/server/RMIFailureHandler.java
12913         java/rmi/server/RMIServerSocketFactory.java
12914         java/rmi/server/RMISocketFactory.java
12915         java/rmi/server/RemoteCall.java
12916         java/rmi/server/RemoteObject.java
12917         java/rmi/server/RemoteRef.java
12918         java/rmi/server/RemoteServer.java
12919         java/rmi/server/RemoteStub.java
12920         java/rmi/server/ServerCloneException.java
12921         java/rmi/server/ServerNotActiveException.java
12922         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12923         java/rmi/server/SkeletonMismatchException.java
12924         java/rmi/server/SkeletonNotFoundException.java
12925         java/rmi/server/SocketSecurityException.java
12926         java/rmi/server/UID.java
12927         java/rmi/server/UnicastRemoteObject.java
12928         java/rmi/server/Unreferenced.java
12929         java/security/AccessControlContext.java
12930         java/security/AccessControlException.java
12931         java/security/AccessController.java
12932         java/security/AlgorithmParameterGenerator.java
12933         java/security/AlgorithmParameterGeneratorSpi.java
12934         java/security/AlgorithmParameters.java
12935         java/security/AlgorithmParametersSpi.java
12936         java/security/AllPermission.java
12937         java/security/BasicPermission.java
12938         java/security/Certificate.java java/security/CodeSource.java
12939         java/security/DigestException.java
12940         java/security/DigestInputStream.java
12941         java/security/DigestOutputStream.java
12942         java/security/DomainCombiner.java
12943         java/security/DummyKeyPairGenerator.java
12944         java/security/DummyMessageDigest.java
12945         java/security/DummySignature.java
12946         java/security/GeneralSecurityException.java
12947         java/security/Guard.java java/security/GuardedObject.java
12948         java/security/Identity.java java/security/IdentityScope.java
12949         java/security/InvalidAlgorithmParameterException.java
12950         java/security/InvalidKeyException.java
12951         java/security/InvalidParameterException.java
12952         java/security/Key.java java/security/KeyException.java
12953         java/security/KeyFactory.java java/security/KeyFactorySpi.java
12954         java/security/KeyManagementException.java
12955         java/security/KeyPair.java java/security/KeyPairGenerator.java
12956         java/security/KeyPairGeneratorSpi.java
12957         java/security/KeyStore.java
12958         java/security/KeyStoreException.java
12959         java/security/KeyStoreSpi.java
12960         java/security/MessageDigest.java
12961         java/security/MessageDigestSpi.java
12962         java/security/NoSuchAlgorithmException.java
12963         java/security/NoSuchProviderException.java
12964         java/security/Permission.java
12965         java/security/PermissionCollection.java
12966         java/security/Permissions.java java/security/Policy.java
12967         java/security/Principal.java java/security/PrivateKey.java
12968         java/security/PrivilegedAction.java
12969         java/security/PrivilegedActionException.java
12970         java/security/PrivilegedExceptionAction.java
12971         java/security/ProtectionDomain.java
12972         java/security/Provider.java
12973         java/security/ProviderException.java
12974         java/security/PublicKey.java
12975         java/security/SecureClassLoader.java
12976         java/security/SecureRandom.java
12977         java/security/SecureRandomSpi.java java/security/Security.java
12978         java/security/SecurityPermission.java
12979         java/security/Signature.java
12980         java/security/SignatureException.java
12981         java/security/SignatureSpi.java
12982         java/security/SignedObject.java java/security/Signer.java
12983         java/security/UnrecoverableKeyException.java
12984         java/security/UnresolvedPermission.java
12985         java/security/acl/Acl.java java/security/acl/AclEntry.java
12986         java/security/acl/AclNotFoundException.java
12987         java/security/acl/Group.java
12988         java/security/acl/LastOwnerException.java
12989         java/security/acl/NotOwnerException.java
12990         java/security/acl/Owner.java java/security/acl/Permission.java
12991         java/security/cert/CRL.java
12992         java/security/cert/CRLException.java
12993         java/security/cert/Certificate.java
12994         java/security/cert/CertificateEncodingException.java
12995         java/security/cert/CertificateException.java
12996         java/security/cert/CertificateExpiredException.java
12997         java/security/cert/CertificateFactory.java
12998         java/security/cert/CertificateFactorySpi.java
12999         java/security/cert/CertificateNotYetValidException.java
13000         java/security/cert/CertificateParsingException.java
13001         java/security/cert/X509CRL.java
13002         java/security/cert/X509CRLEntry.java
13003         java/security/cert/X509Certificate.java
13004         java/security/cert/X509Extension.java
13005         java/security/interfaces/DSAKey.java
13006         java/security/interfaces/DSAKeyPairGenerator.java
13007         java/security/interfaces/DSAParams.java
13008         java/security/interfaces/DSAPrivateKey.java
13009         java/security/interfaces/DSAPublicKey.java
13010         java/security/interfaces/RSAKey.java
13011         java/security/interfaces/RSAPrivateCrtKey.java
13012         java/security/interfaces/RSAPrivateKey.java
13013         java/security/interfaces/RSAPublicKey.java
13014         java/security/spec/AlgorithmParameterSpec.java
13015         java/security/spec/DSAParameterSpec.java
13016         java/security/spec/DSAPrivateKeySpec.java
13017         java/security/spec/DSAPublicKeySpec.java
13018         java/security/spec/EncodedKeySpec.java
13019         java/security/spec/InvalidKeySpecException.java
13020         java/security/spec/InvalidParameterSpecException.java
13021         java/security/spec/KeySpec.java
13022         java/security/spec/PKCS8EncodedKeySpec.java
13023         java/security/spec/RSAKeyGenParameterSpec.java
13024         java/security/spec/RSAPrivateCrtKeySpec.java
13025         java/security/spec/RSAPrivateKeySpec.java
13026         java/security/spec/RSAPublicKeySpec.java
13027         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
13028         java/sql/BatchUpdateException.java java/sql/Blob.java
13029         java/sql/CallableStatement.java java/sql/Clob.java
13030         java/sql/Connection.java java/sql/DataTruncation.java
13031         java/sql/DatabaseMetaData.java java/sql/Date.java
13032         java/sql/Driver.java java/sql/DriverManager.java
13033         java/sql/DriverPropertyInfo.java
13034         java/sql/PreparedStatement.java java/sql/Ref.java
13035         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
13036         java/sql/SQLData.java java/sql/SQLException.java
13037         java/sql/SQLInput.java java/sql/SQLOutput.java
13038         java/sql/SQLWarning.java java/sql/Statement.java
13039         java/sql/Struct.java java/sql/Time.java
13040         java/sql/Timestamp.java java/sql/Types.java
13041         java/text/Annotation.java
13042         java/text/AttributedCharacterIterator.java
13043         java/text/AttributedString.java
13044         java/text/AttributedStringIterator.java
13045         java/text/BreakIterator.java java/text/CharacterIterator.java
13046         java/text/ChoiceFormat.java java/text/Collator.java
13047         java/text/DateFormat.java java/text/DateFormatSymbols.java
13048         java/text/DecimalFormat.java
13049         java/text/DecimalFormatSymbols.java
13050         java/text/FieldPosition.java java/text/Format.java
13051         java/text/MessageFormat.java java/text/NumberFormat.java
13052         java/text/ParseException.java java/text/ParsePosition.java
13053         java/text/SimpleDateFormat.java
13054         java/text/StringCharacterIterator.java
13055         java/util/AbstractCollection.java java/util/AbstractList.java
13056         java/util/AbstractMap.java
13057         java/util/AbstractSequentialList.java
13058         java/util/AbstractSet.java java/util/ArrayList.java
13059         java/util/Arrays.java java/util/BasicMapEntry.java
13060         java/util/BitSet.java java/util/Calendar.java
13061         java/util/Collection.java java/util/Collections.java
13062         java/util/Comparator.java
13063         java/util/ConcurrentModificationException.java
13064         java/util/Date.java java/util/Dictionary.java
13065         java/util/EmptyStackException.java java/util/Enumeration.java
13066         java/util/EventListener.java java/util/EventObject.java
13067         java/util/GregorianCalendar.java java/util/HashMap.java
13068         java/util/HashSet.java java/util/Hashtable.java
13069         java/util/IdentityHashMap.java java/util/Iterator.java
13070         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
13071         java/util/LinkedList.java java/util/List.java
13072         java/util/ListIterator.java java/util/ListResourceBundle.java
13073         java/util/Locale.java java/util/Map.java
13074         java/util/MissingResourceException.java
13075         java/util/NoSuchElementException.java
13076         java/util/Observable.java java/util/Observer.java
13077         java/util/Properties.java java/util/PropertyPermission.java
13078         java/util/PropertyResourceBundle.java java/util/Random.java
13079         java/util/RandomAccess.java java/util/ResourceBundle.java
13080         java/util/Set.java java/util/SimpleTimeZone.java
13081         java/util/SortedMap.java java/util/SortedSet.java
13082         java/util/Stack.java java/util/StringTokenizer.java
13083         java/util/TimeZone.java java/util/Timer.java
13084         java/util/TimerTask.java
13085         java/util/TooManyListenersException.java
13086         java/util/TreeMap.java java/util/TreeSet.java
13087         java/util/Vector.java java/util/WeakHashMap.java
13088         java/util/jar/Attributes.java java/util/jar/JarEntry.java
13089         java/util/jar/JarException.java java/util/jar/JarFile.java
13090         java/util/jar/JarInputStream.java
13091         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
13092         java/util/zip/Adler32.java java/util/zip/CRC32.java
13093         java/util/zip/CheckedInputStream.java
13094         java/util/zip/CheckedOutputStream.java
13095         java/util/zip/Checksum.java
13096         java/util/zip/DataFormatException.java
13097         java/util/zip/Deflater.java
13098         java/util/zip/DeflaterOutputStream.java
13099         java/util/zip/GZIPInputStream.java
13100         java/util/zip/GZIPOutputStream.java
13101         java/util/zip/Inflater.java
13102         java/util/zip/InflaterInputStream.java
13103         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
13104         java/util/zip/ZipException.java java/util/zip/ZipFile.java
13105         java/util/zip/ZipInputStream.java
13106         java/util/zip/ZipOutputStream.java
13107         javax/naming/BinaryRefAddr.java
13108         javax/naming/InvalidNameException.java javax/naming/Name.java
13109         javax/naming/NamingException.java javax/naming/RefAddr.java
13110         javax/naming/StringRefAddr.java: Add license clarification.
13111
13112 2002-01-22  Tom Tromey  <tromey@redhat.com>
13113
13114         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
13115         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
13116         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
13117         version.
13118         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
13119         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
13120         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
13121         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
13122         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
13123         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
13124         * java/awt/peer/FontPeer.java: Replace with Classpath version.
13125         * java/awt/peer/FramePeer.java: Replace with Classpath version.
13126         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
13127         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
13128         * java/awt/peer/ListPeer.java: Replace with Classpath version.
13129         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
13130         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
13131         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
13132         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
13133         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
13134         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
13135         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
13136         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
13137         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
13138         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
13139         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
13140         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
13141         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
13142         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
13143         (minimumSize, preferredSize, reshape): Likewise.
13144         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
13145         getColorModel): New methods.
13146         * java/awt/PopupMenu.java: Merged with Classpath.
13147         * java/awt/MenuBar.java: Merged with Classpath.
13148         * java/awt/SystemColor.java: Replace with Classpath version.
13149         * java/awt/Panel.java: Merged with Classpath.
13150         * java/awt/PaintContext.java: Updated copyright.
13151         * java/awt/MenuShortcut.java: Merged with Classpath.
13152         * java/awt/MenuContainer.java: Merged with Classpath.
13153         * java/awt/Menu.java: Merged with Classpath.
13154         * java/awt/MediaEntry.java: New file from Classpath.
13155         * java/awt/MediaTracker.java: New file from Classpath.
13156         * java/awt/List.java: Merged with Classpath version.
13157         * java/awt/Insets.java: Merged with Classpath version.
13158         * java/awt/ImageMediaEntry.java: New file from Classpath.
13159         * java/awt/Image.java: Replaced with Classpath version.
13160         * java/awt/FontMetrics.java: Merged with Classpath version.
13161         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
13162         constant.
13163         * java/awt/Font.java: Merged with Classpath version.
13164         * java/awt/Dialog.java: Merged with Classpath version.
13165         * java/awt/Color.java: Merged with Classpath version.
13166         * java/awt/Choice.java: Merged with Classpath version.
13167         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
13168         * java/awt/Adjustable.java: Replace with Classpath version.
13169         * java/awt/MenuItem.java (paramString): Don't include class name
13170         or brackets.  Call superclass paramString.
13171         * java/awt/MenuComponent.java (toString): Call paramString.
13172         (paramString): Compute string; don't call toString.
13173         * java/awt/Label.java (paramString): Don't include class name
13174         or brackets.  Call superclass paramString.
13175         * java/awt/Checkbox.java (paramString): Don't include class name
13176         or brackets.  Call superclass paramString.
13177         * java/awt/Button.java (paramString): Don't include class name or
13178         brackets.  Call superclass paramString.
13179         * java/awt/MenuComponent.java (getTreeLock): Now protected.
13180
13181 2002-01-20  Andreas Schwab  <schwab@suse.de>
13182
13183         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
13184         function and of parameter recv_func to ssize_t, as specified by
13185         POSIX.
13186
13187 2002-01-19  Per Bothner  <per@bothner.com>
13188
13189         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
13190         uncompressed_size in readiness for next entry.
13191
13192 2002-01-18  Tom Tromey  <tromey@redhat.com>
13193
13194         * java/net/natPlainSocketImpl.cc: Include
13195         IllegalArgumentException.h.
13196         (_Jv_recv): New template function.
13197         (BooleanClass): Removed.
13198         (read): Use _Jv_recv.
13199         (setOption): Use Boolean::class$.  Throw exception if object is
13200         not Boolean or Integer.
13201
13202 2002-01-17  Tom Tromey  <tromey@redhat.com>
13203
13204         * java/awt/MenuComponent.java: Merged with Classpath.
13205         * java/awt/MenuItem.java: Merged with Classpath.
13206         * java/awt/Button.java: Merged with Classpath.
13207
13208         * java/awt/ActiveEvent.java: Updated copyright.
13209
13210         * java/awt/AWTError.java: Replaced with Classpath version.
13211         * java/awt/AWTException.java: Replaced with Classpath version.
13212         * java/awt/IllegalComponentStateException.java: Replaced with
13213         Classpath version.
13214
13215 2002-01-16  Tom Tromey  <tromey@redhat.com>
13216
13217         * java/awt/Canvas.java (serialVersionUID): New constant.
13218         Updated copyright.  Added javadoc from Classpath.
13219         * java/awt/ItemSelectable.java: Replaced with Classpath version.
13220
13221         * java/awt/CheckboxGroup.java: Merged with Classpath.
13222         * java/awt/Checkbox.java: Merged with Classpath.
13223
13224         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
13225         Classpath.
13226         * java/awt/Point.java: Updated copyright.
13227
13228         * java/awt/Point.java (toString): Use getClass().getName().
13229         Added javadoc.
13230
13231         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
13232         commented code.
13233         (hash): Correctly compute initial value for `h'.
13234
13235         * java/awt/Label.java: Merged with Classpath.
13236
13237 2002-01-15  Tom Tromey  <tromey@redhat.com>
13238
13239         * java/awt/AWTPermission.java: Updated copyright.
13240
13241         * java/awt/LayoutManager2.java: Merged with Classpath.
13242         * java/awt/LayoutManager.java: Merged with Classpath.
13243         * java/awt/GridLayout.java: Updated copyright and javadoc.
13244         (getSize): Use `parent.ncomponents'.  Handle insets.
13245         (layoutContainer): Use `parent.ncomponents'.  Handle case where
13246         there are fewer children than columns.  Correctly compute size of
13247         each cell in the grid.  Handle case where there isn't enough
13248         space.
13249         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
13250         all users.
13251         (gotoComponent): Use parent.ncomponents.  Ensure child exists
13252         before calling setVisible() on it.  Last item is `num - 1', not
13253         `num'.
13254         (layoutContainer): Hoist invariants out of loop.
13255
13256         Start of AWT merge with Classpath:
13257         * Makefile.in: Rebuilt.
13258         * Makefile.am (awt_java_source_files): Reference files in
13259         gnu/java/awt, not gnu/gcj/awt.
13260         * java/awt/image/BufferedImage.java: Updated copyright.
13261         * java/awt/image/ComponentColorModel.java: Updated copyright.
13262         * java/awt/image/ComponentSampleModel.java: Updated copyright.
13263         * java/awt/image/DataBuffer.java: Updated copyright.
13264         * java/awt/image/DataBufferByte.java: Updated copyright.
13265         * java/awt/image/DataBufferInt.java: Updated copyright.
13266         * java/awt/image/DataBufferUShort.java: Updated copyright.
13267         * java/awt/image/IndexColorModel.java: Updated copyright.
13268         * java/awt/image/PackedColorModel.java: Updated copyright.
13269         * java/awt/image/Raster.java: Updated copyright.
13270         * java/awt/image/RasterOp.java: Updated copyright.
13271         * java/awt/image/SampleModel.java: Updated copyright.
13272         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
13273         * java/awt/image/WritableRaster.java: Updated copyright.
13274         * java/awt/color/ColorSpace.java: Updated copyright.
13275         * java/awt/color/ICC_ColorSpace.java: Updated copyright
13276         * java/awt/color/ICC_Profile.java: Updated copyright.
13277         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
13278         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
13279         * java/awt/event/HierarchyEvent.java: Updated copyright.
13280         * java/awt/event/HierarchyListener.java: Updated copyright.
13281         * java/awt/geom/AffineTransform.java: Updated copyright.
13282         * java/awt/geom/Dimension2D.java: Updated copyright.
13283         * java/awt/geom/Ellipse2D.java: Updated copyright.
13284         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
13285         * java/awt/geom/Line2D.java: Updated copyright.
13286         * java/awt/geom/NoninvertibleTransformException.java: Updated
13287         copyright.
13288         * java/awt/geom/PathIterator.java: Updated copyright.
13289         * java/awt/geom/Point2D.java: Updated copyright.
13290         * java/awt/geom/Rectangle2D.java: Updated copyright.
13291         * java/awt/geom/RectangularShape.java: Updated copyright.
13292         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
13293         * java/awt/Toolkit.java: Updated import for file moves.
13294         * java/awt/Rectangle.java: Updated copyright; added javadoc from
13295         Classpath.
13296         (hashCode): New method from Classpath.
13297         * java/awt/Graphics2D.java: Updated copyright.
13298         * java/awt/Transparency.java: Updated copyright.
13299         * java/awt/Paint.java: Updated copyright.
13300         * java/awt/Graphics.java: New version from Classpath.
13301         * java/awt/EventDispatchThread.java: Updated copyright.
13302         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
13303         children.
13304         (gotoComponent): Wrap around on next/previous.
13305         * gnu/gcj/awt/BitMaskExtent.java: Removed.
13306         * gnu/gcj/awt/Buffers.java: Removed.
13307         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
13308         * gnu/gcj/awt/GLightweightPeer.java: Removed.
13309         * gnu/java/awt/BitMaskExtent.java: Added.
13310         * gnu/java/awt/Buffers.java: Added.
13311         * gnu/java/awt/ComponentDataBlitOp.java: Added.
13312         * gnu/java/awt/GLightweightPeer.java: Added.
13313         * java/awt/geom/Line2D.java (clone): Ignore
13314         CloneNotSupportedException.
13315         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
13316         * java/awt/Frame.java: Merged with Classpath.
13317         * java/awt/RenderingHints.java: Copyright update.
13318         * java/awt/Paint.java: Copyright update.
13319         * java/awt/image/DirectColorModel.java: Merged with Classpath.
13320         * java/awt/image/ColorModel.java: Merged with Classpath.
13321         * java/awt/Window.java (show): New Implementation from Classpath.
13322         (isShowing): Use super.isShowing().
13323         * java/awt/EventQueue.java: Merged with Classpath.
13324         * java/awt/AWTEventMulticaster.java (save): Throw
13325         RuntimeException.
13326         (saveInternal): Likewise.
13327         * java/awt/AWTEvent.java: Now implements Serializable.
13328         * java/awt/Event.java: Copyright update.
13329         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
13330         * java/awt/image/BufferedImage.java: Copyright update.
13331         * java/awt/GraphicsConfiguration.java: Copyright update.
13332         * java/awt/Component.java: (addNotify): Don't call
13333         addNotifyContainerChildren().
13334         (addNotifyContainerChildren): Removed.
13335         (setPeer): New method from Classpath.
13336         (setTreeLock): Likewise.
13337         (setVisible): Rewrote.
13338         (show): Use it.
13339         (hide): Likewise.
13340         (validate): Set `valid'.
13341         (checkImage(Image,ImageObserver)): Implementation from Classpath.
13342         (createImage(ImageProducer)): Likewise.
13343         (prepareImage): Likewise.
13344         * java/awt/Container.java (addImpl): Handle case where constraint
13345         is not a String.  Post event via system event queue.
13346         (remove): Post event via system event queue.
13347         (validateTree): Only validate child if it is invalid.
13348         (getAlignmentX): Call super method as default.
13349         (getAlignmentY): Likewise.
13350         (addContainerListener): Now synchronized.
13351         (removeContainerListener): Likewise.
13352         (addNotifyContainerChildren): Now private.
13353         * java/awt/ComponentOrientation.java: Updated copyright.  Added
13354         @author.
13355         * java/awt/FlowLayout.java (serialVersionUID): New field.
13356         (setAlignment): Better exception message.
13357         (layoutContainer): Don't compute component's preferred size unless
13358         we're going to use it.
13359         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
13360         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
13361         (firstLine, lastLine, firstItem, lastItem): New fields.
13362         (addLayoutComponent): Handle case where constraints is null.
13363         Also, handle relative locations.
13364         (removeLayoutComponent): Handle relative locations.
13365         (MIN, MAX, PREF): New constants.
13366         (calcCompSize): New method.
13367         (calcSize): New method.
13368         (minimumLayoutSize): Use it.
13369         (preferredLayoutSize): Likewise.
13370         (maximumLayoutSize): Likewise.
13371         (toString): Include more information.
13372         (setBounds): New method.
13373         (layoutContainer): Use libgcj implementation; extended to handle
13374         relative locations.
13375
13376 2002-01-15  Tom Tromey  <tromey@redhat.com>
13377
13378         * java/lang/Float.java (equals): Preserve old code.
13379         * java/lang/Double.java (equals): Preserve old code.
13380
13381 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
13382
13383         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
13384         * java/lang/Float.java (equals, compare): Ditto.
13385
13386 2002-01-13  Mark Wielaard  <mark@klomp.org>
13387
13388         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
13389         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
13390         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
13391         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
13392
13393 2002-01-11  Mark Wielaard  <mark@klomp.org>
13394
13395         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
13396         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
13397         InetAddress.
13398         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
13399         * java/net/Socket.java: Merge with Classpath.
13400         * java/net/ServerSocket.java: Likewise.
13401
13402 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
13403
13404         * interpret.cc (NULLARRAYCHECK): New macro.
13405         (SAVE_PC): Just store `pc'.
13406         (find_exception): Subtract one from `pc' here.
13407         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13408         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13409         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13410         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
13411         don't call SAVE_PC.
13412         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
13413         call SAVE_PC.
13414
13415 2002-01-11  Tom Tromey  <tromey@redhat.com>
13416
13417         * java/lang/natSystem.cc (init_properties): Only look for default
13418         locale if LC_MESSAGES is defined.
13419         * aclocal.m4, configure, include/config.h.in: Rebuilt.
13420         * configure.in: Call AM_LC_MESSAGES.
13421         * acinclude.m4 (AM_LC_MESSAGES): New macro.
13422
13423 2002-01-10  Tom Tromey  <tromey@redhat.com>
13424
13425         For PR libgcj/5303:
13426         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
13427         --version.  Recognize GNU-style long options.  Print GNU-style
13428         error messages.
13429         (usage): Print GNU-style help.  Exit with status 0.
13430         (error): New method.
13431         (run): Print error message if no class names found.
13432         (main): Don't print usage on error.
13433
13434 2002-01-09  Tom Tromey  <tromey@redhat.com>
13435
13436         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13437         property.
13438         (help, version): Use println(), not println("").
13439
13440         For PR libgcj/5303:
13441         * gnu/gcj/convert/Convert.java (error): Program is called
13442         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
13443         -1.
13444         (main): Handle --help and --version.
13445         (help): New method.
13446         (version): Likewise.
13447
13448 2002-01-08  Tom Tromey  <tromey@redhat.com>
13449
13450         * Makefile.in: Rebuilt.
13451         * Makefile.am (ordinary_java_source_files): Added new files.
13452         * gnu/java/locale/LocaleInformation.java: Extend
13453         LocaleInformation_en.
13454         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13455         and time/date formats.
13456         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13457         generated.
13458         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13459         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13460         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13461         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13462         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13463         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13464         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13465         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13466         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13467         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13468         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13469         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13470         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13471         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13472         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13473         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13474         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13475         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13476         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13477         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13478         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13479         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13480         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13481         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13482         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13483         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13484         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13485         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13486         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13487         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13488         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13489         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13490         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13491         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13492         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13493         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13494         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13495         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13496         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13497         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13498         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13499         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13500         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13501         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13502         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13503         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13504         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13505         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13506         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13507         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13508         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13509         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13510         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13511         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13512         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13513         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13514         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13515         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13516         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13517         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13518         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13519         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13520         * gnu/java/locale/LocaleInformation_es_US.java: New file.
13521         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13522         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13523         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13524         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13525         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13526         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13527         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13528         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13529         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13530         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13531         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13532         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13533         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13534         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13535         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13536         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13537         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13538         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13539         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13540         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13541         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13542         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13543         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13544         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13545         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13546         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13547         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13548         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13549         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13550         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13551         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13552         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13553         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13554         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13555         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13556         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13557         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13558         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13559         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13560         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13561         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13562         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13563         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13564         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13565         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13566         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13567         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13568         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13569         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13570         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13571         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13572         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13573         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13574         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13575         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13576         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13577         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13578         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13579         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13580         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13581         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13582         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13583         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13584         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13585         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13586         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13587         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13588
13589         For PR libgcj/5031:
13590         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13591         choose default locale.
13592
13593         * Makefile.in: Rebuilt.
13594         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13595
13596 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
13597
13598         * java/net/natPlainSocketImpl.cc: Added timeout handling for
13599         sockets.
13600         (close): New function closes the socket.
13601         (write): New functions for output to socket.
13602         (read): New functions for reading from socket.
13603         * java/net/PlainSocketImpl.java: Glue for new timeout
13604         implementation.
13605         (write): Call the native impl.
13606         (read): Likewise.
13607         (getInputStream): Get a stream to read from the socket.
13608         (getOutputStream): Get a stream to write to the socket.
13609
13610 2002-01-08  Tom Tromey  <tromey@redhat.com>
13611
13612         * resolve.cc (_Jv_PrepareClass): Enable verifier.
13613
13614 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
13615
13616         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13617         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13618
13619 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
13620
13621         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13622         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13623         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13624         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13625         insn_bastore, insn_castore, insn_sastore]: Use it.
13626         (continue1) [insn_arraylength]: Check for null array.
13627
13628 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13629
13630         * configure, include/config.h.in: Rebuilt.
13631         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13632         * configure.in: Call AC_STRUCT_TIMEZONE.
13633
13634 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13635
13636         * configure.host: Disable the interpreter for Darwin.
13637
13638 2002-01-04  Tom Tromey  <tromey@redhat.com>
13639
13640         * java/lang/Thread.java (stop): No longer synchronized.
13641         (start): Likewise.
13642
13643 2002-01-02  Tom Tromey  <tromey@redhat.com>
13644
13645         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13646         patch.
13647
13648 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
13649
13650         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13651         PPC Darwin, not for all of Darwin.