OSDN Git Service

* libtool.m4 (LD): Correct powerpc64 host match.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2
3         * configure: Regenerate.
4
5 2003-09-04  Tom Tromey  <tromey@redhat.com>
6
7         * configure.host: Removed erroneous comment.
8
9         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
10         lvalue cast; use correct rvalue cast.
11
12 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
13
14         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
15         and height arguments to GtkWindowPeer.create method call.
16         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
17         (create(int,int,int)): New method.
18         (create(int)): Add call to new create method.
19         (create()): Add width and height arguments to create method
20         call.
21         (GtkWindowPeer): Remove call to setBounds.
22         * java/awt/Frame.java (Frame(String)): Initialize visible field
23         to false.
24         (Frame(GraphicsConfiguration)): Likewise.
25         (Frame(String,GraphicsConfiguration)): Likewise.
26         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
27         Add width and height parameters.  Call
28         gtk_window_set_default_size.
29         (connectHooks): Remove unused name variable.
30         (static setBounds): Call gtk_window_resize not
31         gtk_widget_set_usize.
32         (setBounds): Remove unused nchildren variable.
33
34 2003-08-31  Ingo Proetel  <proetel@aicas.com>
35
36         * java/util/logging/Logger.java: provide class and method information
37         * java/util/logging/LogManager.java: create handlers
38         * java/util/logging/SimpleFormatter.java: print souceClassName and
39         sourceMethodName
40
41 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
42
43         * win32.cc: fixed tab, indentation and whitespace
44         inconsistencies
45         removed jvm.h include
46         added includes java/lang/UnsupportedOperationException.h,
47         java/io/IOException.h, java/net/SocketException.h
48         (WSAEventWrapper): class implementation
49         (_Jv_WinStrError): implemented both overloads
50         (_Jv_ThrowIOException): implemented both overloads
51         (_Jv_ThrowSocketException): implemented both overloads
52         (_Jv_select): implemented
53         * include/win32.h: fixed tab, indentation and whitespace
54         inconsistencies
55         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
56         added jvm.h include
57         (WSAEventWrapper): added class declaration
58         (_Jv_WinStrError): added both overload declarations
59         (_Jv_ThrowIOException): added both overload declarations
60         (_Jv_ThrowSocketException): added both overload declarations
61         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
62         (_Jv_select): added declaration
63         (_Jv_socket): removed
64         (_Jv_connect): removed
65         (_Jv_close): removed
66         (_Jv_bind): removed
67         (_Jv_accept): removed
68         (_Jv_listen): removed
69         (_Jv_write): removed
70         (_Jv_read): removed
71         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
72         whitespace inconsistencies
73         replaced <windows.h> #include with <platform.h>
74         removed jvm.h include
75         (testCanUseGetHandleInfo): new function which tests whether Win32
76         GetHandleInformation() call can be used with console buffer handles
77         (only supported on >=WinNT 5.0)
78         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
79         (valid): rewrote implementation using GetHandleInformation()
80         (sync):         changed exception throwing to use error string and exception
81         helper methods declared in include/win32.h
82         (open): likewise
83         (write): likewise
84         (setLength): likewise
85         (close): likewise
86         (seek): likewise
87         (getFilePointer): likewise
88         (read): likewise
89         * java/io/natFileWin32.cc: fixed tab, indentation and
90         whitespace inconsistencies
91         replaced <windows.h> #include with <platform.h>
92         removed jvm.h include
93         (_access): use JV_TEMP_UTF_STRING
94         (_stat): likewise
95         (performMkDir): use JV_TEMP_UTF_STRING
96         (performRenameTo): likewise
97         (performDelete): likewise
98         (performCreate): likewise
99         (performSetReadOnly): likewise
100         (performSetLastModified): likewise
101         * java/lang/natWin32Process.cc: fixed tab, indentation and
102         whitespace inconsistencies
103         replaced <windows.h> #include with <platform.h>
104         removed includes gcj/cni.h, jvm.h
105         (new_string): removed
106         (startProcess): use JV_TEMP_UTF_STRING,
107         changed exception throwing to use error string and exception
108         helper methods declared in include/win32.h
109         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
110         whitespace inconsistencies
111         replaced <windows.h> #include with <platform.h>
112         removed jvm.h include
113         removed DISABLE_JAVA_NET conditional code
114         removed POSIX conditional code not relevant to Win32
115         (aton): use JV_TEMP_UTF_STRING
116         removed POSIX conditional code not relevant to Win32
117         (lookup): likewise
118         (getLocalHostName): likewise
119         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
120         whitespace inconsistencies
121         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
122         removed DISABLE_JAVA_NET conditional code
123         removed POSIX conditional code not relevant to Win32
124         (winsock2GetRealNetworkInterfaces): new function to compute network
125         interfaces via Winsock2 API
126         (determineGetRealNetworkInterfacesFN): new function for returning
127         a function pointer to the function used to compute network interfaces.
128         (getRealNetworkInterfaces): implemented
129         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
130         whitespace inconsistencies
131         removed gcj/cni.h include
132         removed DISABLE_JAVA_NET conditional code
133         removed POSIX conditional code not relevant to Win32
134         changed net POSIXisms to Win32isms
135         replaced _Jv socket-related calls with their real Win32 equivalents
136         changed exception throwing to use error string and exception
137         helper methods declared in include/win32.h
138         (peekData): implemented timeout support
139         (receive): likewise
140         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
141         whitespace inconsistencies
142         removed gcj/cni.h and gcj/javaprims.h includes
143         removed DISABLE_JAVA_NET conditional code
144         removed POSIX conditional code not relevant to Win32
145         changed net POSIXisms to Win32isms
146         replaced _Jv socket-related calls with their real Win32
147         equivalents
148         changed exception throwing to use error string and exception
149         helper methods declared in include/win32.h
150         (throwConnectException): helper function for connect()
151         (connect): implemented timeout support
152         (accept): likewise
153         (doRead): new helper function common to both read() method overloads,
154         includes timeout support
155         (read): implemented both overloads in terms of doRead()
156         (available): implemented using ioctlsocket()
157
158 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
159
160         * java/net/natInetAddressWin32.cc,
161         java/net/natNetworkInterfaceWin32.cc,
162         java/net/natPlainDatagramSocketImplWin32.cc,
163         java/net/natPlainSocketImplWin32.cc:
164         Readded code enclosed in DISABLE_JAVA_NET defines
165         in preparation for MinGW cleanup / networking
166         patch
167
168 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
169
170         * Makefile.am: Fixed problems with parallel makes.
171         (all_java_class_files): Readded definition.
172         (all_java_class_files): New target which depends on
173         libgcj-@gcc_version@.jar
174         * Makefile.in: Rebuilt
175
176 2003-08-28  Tom Tromey  <tromey@redhat.com>
177
178         * Makefile.in: Rebuilt.
179         * Makefile.am (ordinary_java_source_files): Added new files.
180         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
181         friend.
182         * java/net/URLClassLoader.java (findClass): Don't use
183         findURLResource.  Use loader's getClass method.
184         (URLLoader.getClass): New method.
185         (addURL): Handle `gcjlib' URLs.
186         (SoURLLoader): New class.
187         (SoResource): Likewise.
188         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
189         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
190         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
191         (_Jv_RegisterCoreHook): Declare.
192         (_Jv_FindCore): Declare.
193         * gnu/gcj/runtime/SharedLibHelper.java: New file.
194         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
195         typedef.
196         (core_hook): New function.
197         (struct SharedLibDummy) [saved_core]: New field.
198         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
199         (register_hook): Set protection domain and class loader on new
200         class.
201         (finalize): Free core chain.
202         * gnu/gcj/Core.java (Core): New constructor.
203         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
204         SharedLibHelper.
205         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
206         (_Jv_create_core): New function.
207         (create): Use it.
208         (default_register_resource): New function.
209         (_Jv_RegisterCoreHook): New global.
210         (_Jv_RegisterResource): Use it.
211         (core_chain_struct): Removed.
212         (_Jv_FindCore): New function.
213         (_Jv_FreeCoreChain): New function.
214
215 2003-08-29  Michael Koch  <konqueror@gmx.de>
216
217         * java/net/natInetAddressWin32.cc,
218         java/net/natNetworkInterfaceWin32.cc,
219         java/net/natPlainDatagramSocketImplWin32.cc,
220         java/net/natPlainSocketImplWin32.cc:
221         Removed code enclosed in DISABLE_JAVA_NET defines.
222
223 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
224
225         * Makefile.am: (write_entries_to_file) New parameterized
226         function for writing entries to a file one line at a time.
227         (all_java_class_files): Removed definition.
228         (.java.class) Removed.target.
229         (libgcj-@gcc_version@.jar): Changed dependency to
230         $(all_java_source_files); added compilation step which compiles
231         all changed source files in one pass.
232         (libgcj.la) Refactored to use write_entries_to_file.
233         (lib-gnu-awt-xlib.la) Likewise.
234         (install-data-local) Likewise.
235         (write-entries-to-file-check) New target which tests write_entries_to_file.
236         (all-recursive): Changed dependency from $(all_java_class_files)
237         to libgcj-@gcc_version@.jar
238         * Makefile.in: Rebuilt.
239
240 2003-08-26  Tom Tromey  <tromey@redhat.com>
241
242         * java/lang/StrictMath.java: Typo fix.
243         * java/lang/Math.java: Typo fix.
244
245 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
246
247         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
248         of the removed Thread.
249
250 2003-08-26  Mark Wielaard  <mark@klomp.org>
251
252         Reported by David Holmes <dholmes@dltech.com.au>.
253         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
254         Collections.synchronizedMap.
255         * java/lang/ThreadLocal.java (valueMap): Likewise.
256
257 2003-08-26  Mark Wielaard  <mark@klomp.org>
258
259         * java/security/acl/Acl.java: Fix broken p tag.
260         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
261         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
262         * javax/swing/plaf/TreeUI.java: Likewise.
263         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
264         * java/util/Properties.java: Use the word umlaut, not &auml; in api
265         documentation.
266         * java/util/PropertyResourceBundle.java: Likewise and add closing code
267         tag.
268
269 2003-08-26  Tom Tromey  <tromey@redhat.com>
270
271         * Makefile.in: Rebuilt.
272         * Makefile.am: Removed all GNU-make-specific FIXME comments.
273
274         * java/lang/ref/Reference.java (get): Indentation fix.
275         (clear): Comment fix.
276         (enqueue): Likewise.
277         (lock): Likewise.
278         (referent): Likewise.
279
280 2003-08-26  Tom Tromey  <tromey@redhat.com>
281
282         PR java/12058:
283         * java/lang/reflect/natArray.cc (set): Allow null as argument.
284
285         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
286         (ProxyData.getPackage): New method.
287         (ProxyData.getProxyData): Use package name, not Package.
288         (ClassFactory.ClassFactory): Updated.
289
290 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
291         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
292         * Makefile.in: re-generated.
293         * gnu/awt/j2d/IntegerGraphicsState.java
294         (ScreenCoupledImage): new interface.
295         (drawImage): detect ScreenCoupledImage instances.
296         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
297         * gnu/awt/xlib/XEventLoop.java
298         (createEvent): re-formatted, and rearranged to avoid null pointer.
299         * gnu/awt/xlib/XGraphics.java
300         (drawImage): added XOffScreenImage handling.
301         * gnu/awt/xlib/XOffScreenImage.java: new file.
302         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
303         * gnu/gcj/xlib/GC.java (copyArea): new native method.
304         * gnu/gcj/xlib/XAnyEvent.java
305         (TYPE_KEY_PRESS): new constant.
306         (TYPE_KEY_RELEASE): new constant.
307         (TYPE_MOTION_NOTIFY): new constant.
308         (TYPE_ENTER_NOTIFY): new constant.
309         (TYPE_LEAVE_NOTIFY): new constant.
310         (TYPE_FOCUS_IN): new constant.
311         (TYPE_FOCUS_OUT): new constant.
312         (TYPE_KEYMAP_NOTIFY): new constant.
313         (TYPE_GRAPHICS_EXPOSE): new constant.
314         (TYPE_NO_EXPOSE): new constant.
315         (TYPE_VISIBILITY_NOTIFY): new constant.
316         (TYPE_CREATE_NOTIFY): new constant.
317         (TYPE_DESTROY_NOTIFY): new constant.
318         (TYPE_MAP_REQUEST): new constant.
319         (TYPE_CONFIGURE_REQUEST): new constant.
320         (TYPE_GRAVITY_NOTIFY): new constant.
321         (TYPE_RESIZE_REQUEST): new constant.
322         (TYPE_CIRCULATE_NOTIFY): new constant.
323         (TYPE_CIRCULATE_REQUEST): new constant.
324         (TYPE_PROPERTY_NOTIFY): new constant.
325         (TYPE_SELECTION_CLEAR): new constant.
326         (TYPE_SELECTION_REQUEST): new constant.
327         (TYPE_SELECTION_NOTIFY): new constant.
328         (TYPE_COLORMAP_NOTIFY): new constant.
329         (TYPE_MAPPING_NOTIFY): new constant.
330         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
331         * gnu/gcj/xlib/natGC.cc (copyArea): new method
332         * java/awt/Component.java (createImage): changed to use peer method.
333
334 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
335
336         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
337         name, not XLFD, to native drawString.
338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
339         Replace XLFD-based implementation with Pango-based
340         implementation.
341
342 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
343
344         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
345         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
346
347 2003-08-21  David Daney  <ddaney@avtrex.com>
348
349         Fix for PR libgcj/12013:
350         * java/lang/ref/natReference.cc (finalize_referred_to_object):
351         Check `cleared' field.
352         * java/lang/ref/Reference.java (copy): Updated comments.
353         (cleared): New field.
354         (clear): Rewrote.
355
356 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
357             Thomas Fitzsimmons  <fitzsim@redhat.com>
358
359         * Makefile.am (gtk_awt_peer_sources): Add
360         gnu/java/awt/peer/GLightweightPeer.java.  Remove
361         gnu/java/awt/GLightweightPeer.java.
362         * gnu/java/awt/GLightweightPeer.java: Remove file.
363         * gnu/java/awt/peer/GLightweightPeer.java: New file.
364         * java/awt/Component.java (getToolkit): Add comment about
365         lightweight components.
366         * java/awt/Toolkit.java (createComponent): Return
367         gnu.java.awt.peer.GLightweightPeer.
368
369 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
370
371         * configure.in: Fix detection of gcj when building with newlib.
372         * configure: Regenerated.
373
374 2003-08-20  Graydon Hoare  <graydon@redhat.com>
375
376         * jni.cc: Replace "cheating" pointer-casting code with
377         extract_from_jvalue<> template.
378
379 2003-08-20  Andrew Haley  <aph@redhat.com>
380
381         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
382         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
383         (classAt): Break out class lookup function into getClass().
384         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
385         handlers when using -fno-assume-compiled.
386
387 2003-08-20  Tom Tromey  <tromey@redhat.com>
388
389         Fix for PR libgcj/9125:
390         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
391         object outside of loop.  Respect lib_control setting.
392         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
393         field.
394         (lib_control): New field.
395         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
396         (VMClassLoader): Initialize new field.
397
398         * java/lang/ref/natReference.cc (finalize_referred_to_object):
399         Set `list->reference' to DELETED_REFERENCE when removing dead
400         object.
401         (find_slot): Added an assert.
402         (DELETED_REFERENCE): New define.
403         (add_to_hash): Check for DELETED_REFERENCE.
404         (remove_from_hash): Just return if found slot isn't ours.
405
406 2003-08-19  Andrew Haley  <aph@redhat.com>
407
408         * prims.cc (unblock_signal): New function.
409         (catch_segv): Use it.
410         (catch_fpe): Likewise.
411
412 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
413
414         PR libgcj/11575
415         * java/io/natFileDescriptorWin32.cc (open): Set create
416         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
417         Honor EXCL when openning with WRITE flag. 
418
419 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
420
421         * include/jvm.h: New class _Jv_TempUTFString (helper class for
422         getting a temporary C string from a jstring)
423         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
424         but uses a stack buffer if the string length is less than 256
425         bytes.
426
427 2003-08-18  Tom Tromey  <tromey@redhat.com>
428
429         PR libgcj/11951:
430         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
431         void.  Throw VirtualMachineError if ffi fails.  Initialize return
432         value.  Added is_jni_call argument; only wrap exception if not a
433         JNI call.  Use descriptive message if operation not supported.
434         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
435         array class.
436         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
437         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
438         _Jv_CallAnyMethodA.
439         (_Jv_JNI_CallAnyMethodA): Likewise.
440         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
441         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
442
443 2003-08-13  Tom Tromey  <tromey@redhat.com>
444
445         * gij.cc (help): Document -? and -X.
446
447 2003-08-12  Graydon Hoare  <graydon@redhat.com>
448
449         * java/awt/Font.java: 
450         Stub out more recent API. 
451
452 2003-08-12  Graydon Hoare  <graydon@redhat.com>
453
454         * java/awt/Color.java (getAlpha): 
455         Prevent sign-extended alpha values.
456
457 2003-08-12  Tom Tromey  <tromey@redhat.com>
458
459         * gij.cc (main): Handle -? and -X.
460
461 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
462
463         * java/awt/Container.java
464         (getPreferredSize): Call preferredSize.
465         (preferredSize): Moved body of getPreferredSize here.
466         (getMinimumSize): Call minimumSize.
467         (minimumSize): Moved body of getMinimumSize here.
468
469 2003-08-11  Tom Tromey  <tromey@redhat.com>
470
471         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
472         (postEvent): Removed FIXME comment.
473         (isDispatchThread): Documented.
474         (getCurrentEvent): New method.
475         (dispatchEvent): Set currentEvent and lastWhen.
476         (getMostRecentEventTime): Rewrote.
477         (invokeLater): Documented.
478
479 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
480
481         * java/io/PrintStream.java (print): Always flush if auto_flush is
482         set. Don't check for newline characters.
483         (write (int)): Implement without using a temporary array.
484         (write (byte[], int, int): Always flush if auto_flush is set. Don't
485         check for newline characters.
486         Fixes PR libgcj/11778.
487
488 2003-08-08  Andrew Haley  <aph@redhat.com>
489
490         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
491         * Makefile.in: Rebuild.
492         * java/lang/natRuntime.cc (insertSystemProperties): Add
493         "sun.boot.class.path".
494
495 2003-08-07  Andrew Haley  <aph@redhat.com>
496
497         * java/io/PrintStream.java: Don't crash on a null string.
498         
499 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
500
501         * configure.in: Don't initialize GCINCS to boehm-gc/include.
502         * configure: Regenerate.
503
504 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
505
506         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
507         SocketImpl. Update Javadoc.
508         (bind): Call close() not impl.close() in event of exception.
509         (connect): Likewise.
510         Remove superfluous null checks throughout.
511         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
512         Don't create an extra socket. Fix for PR libgcj/10868.
513         (bind): Clean up exception handling.
514         Remove superfluous null checks throughout.
515
516 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
517             Bryce McKinlay  <bryce@mckinlay.net.nz>
518
519         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
520         ready-to-write argument to _Jv_Select. Reset the socket back to 
521         non-blocking state after connecting.
522         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
523         Throw SocketTimeoutException not InterruptedIOException.
524         (read): Throw SocketTimeoutException not InterruptedIOException.
525
526 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
527
528         * java/lang/Thread.java (Thread): Check for null "name" from
529         start of private constructor, not after calling the private
530         constructor.
531
532 2003-08-06  Tom Tromey  <tromey@redhat.com>
533
534         * java/io/FilePermission.java (equals): Use correct index for
535         last character of path.
536
537 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
538
539         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
540         * configure.in: Compare with_cross_host to build_alias, not build.
541         * aclocal.m4: Regenerate.
542         * configure: Regenerate.
543
544 2003-08-05  Tom Tromey  <tromey@redhat.com>
545
546         Fix for PR libgcj/11779:
547         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
548         class.
549
550         * java/lang/reflect/Method.java: Updated status comment.
551         Imported javadoc from Classpath and re-ordered methods.
552         * java/lang/reflect/Constructor.java: Reindented.  Updated
553         status comment.  Imported javadoc from Classpath and re-ordered
554         methods.
555
556 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
557
558         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
559         Add keyLocation parameter.
560         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
561         string.
562         (paramString): Generate keyChar string according to keyChar, not
563         keyCode.
564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
565         (state_to_awt_mods): Handle ALT key.
566         (keyevent_state_to_awt_mods): New function.
567         (get_first_keyval_from_keymap): New function.
568         (keysym_to_awt_keycode): Get virtual key code from keymap.
569         Handle missing VK_ values.
570         (keysym_to_awt_keylocation): New function.
571         (keyevent_to_awt_keychar): New function.
572         (generates_key_typed_event): Handle non-text-component case.
573         Handle GDK_KP_Delete and GDK_KP_Enter.
574         (awt_event_handler): Call new functions to get postKeyEvent
575         parameters.
576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
577         Update postKeyEvent method signature.
578         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
579         VK_ defines.
580
581 2003-08-05  Matthias Klose  <doko@debian.org>
582
583         * aclocal.m4: check for libart-config binary
584           under the name libart2-config as well.
585         * configure: regenerated.
586
587 2003-08-04  David P Grove  <groved@us.ibm.com>
588
589         * java/text/DecimalFormat.java (format): avoid ArithmeticException
590         when groupingSize is 0.
591         (parse): Likewise.
592
593 2003-08-04  Matthias Klose  <doko@debian.org>
594
595         * libart.m4: check for libart-config binary
596           under the name libart2-config as well.
597         * configure, aclocal.m4: regenerated.
598
599 2003-08-02  Michael Koch  <konqueror@gmx.de>
600
601         * java/nio/ByteBufferImpl.java
602         (getChar): Check remaining bytes, fixed comment about endianess.
603         (putChar): Likewise.
604         (getShort): Likewise.
605         (putShort): Likewise.
606         (getInt): Check remaining bytes, fixed conversion, fixed comment about
607         endianess.
608         (putInt): Likewise.
609         (getLong): Likewise.
610         (putLong): Likewise.
611         (getFloat): Likewise.
612         (putFloat): Likewise.
613         (getDouble): Likewise.
614         (putDouble): Likewise.
615         * java/nio/DirectByteBufferImpl.java
616         (getChar): Wrapped code, fixed comment about endianess.
617         (putchar): Likewise.
618         (getShort): Likewise.
619         (putShort): Likewise.
620         (getInt): Fixed conversion, fixed comment about endianess.
621         (putInt): Likewise.
622         (getLong): Likewise.
623         (putLong): Likewise.
624         (getFloat): Likewise.
625         (putFloat): Likewise.
626         (getDouble): Likewise.
627         (putDouble): Likewise.
628         * java/nio/MappedByteBufferImpl.java
629         (compact): Implemented.
630         (getChar): Implemented.
631         (putChar): Implemented.
632         (getDouble): Implemented.
633         (putdouble): Implemented.
634         (getFloat): Implemented.
635         (putFloat): Implemented.
636         (getInt): Implemented.
637         (putInt): Implemented.
638         (getLong): Implemented.
639         (putLong): Implemented.
640         (getShort): Implemented.
641         (putShort): Implemented.
642         * java/nio/channels/FileChannelImpl.java
643         (read): Set position where to access file.
644         (write): Likewise.
645         (transferTo): Flip buffer after read and before write.
646         (transferFrom): Likewise.
647
648 2003-08-02  Michael Koch  <konqueror@gmx.de>
649
650         * gnu/java/lang/ArrayHelper.java
651         (equalsArray): Reformated, added method documentation.
652
653 2003-08-02  Michael Koch  <konqueror@gmx.de>
654
655         * java/net/URL.java
656         (URL): Added paragraph about the
657         gnu.java.net.nocache_protocol_handlers property.
658         (ph_cache): Renamed from handlers to match classpath's implementation.
659         Reordered it with factory and serialVersionUID member variables.
660         (cache_handlers): New member variable.
661         (static): New static initializer to initialize cache_handlers from
662         gnu.java.net.nocache_protocol_handlers property.
663         (URL): Use ph_cache instead of handlers, reformatted some code to
664         match classpath's implementation.
665
666 2003-08-01  Tom Tromey  <tromey@redhat.com>
667
668         Fix for PR libgcj/11241:
669         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
670         initialCapacity is 0, set it to 1.
671
672 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
673
674         * java/net/SocketImpl.java (toString): Display the remote address
675         of an unconnected server socket as "0.0.0.0/0.0.0.0".
676
677 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
678
679         * javax/swing/border/BevelBorder.java,
680         javax/swing/border/EtchedBorder.java,
681         javax/swing/border/LineBorder.java,
682         javax/swing/border/MatteBorder.java,
683         javax/swing/border/SoftBevelBorder.java,
684         javax/swing/plaf/BorderUIResource.java,
685         javax/swing/plaf/ComponentUI.java,
686         javax/swing/plaf/TreeUI.java,
687         javax/swing/plaf/basic/BasicBorders.java,
688         javax/swing/plaf/basic/BasicGraphicsUtils.java,
689         javax/swing/plaf/basic/BasicTreeUI.java:
690         Prepend "doc-files" to all paths to embedded Javadoc images, so
691         that the generated documentation contains the correct URL.
692
693 2003-08-01  Tom Tromey  <tromey@redhat.com>
694
695         * configure: Rebuilt.
696         * configure.in (tool_include_dir): Redefine to match gcc.
697
698 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
699             Mark Wielaard  <mark@klomp.org>
700             
701         * java/math/BigDecimal (divide): Correctly handle
702         ROUND_HALF_EVEN when amount is greater than 0.5.
703         Simplify and optimize code.
704
705 2003-07-31  Tom Tromey  <tromey@redhat.com>
706
707         More for PR libgcj/11737:
708         * java/io/ObjectInputStream.java (processResolution): Use
709         getMethod.
710         (getMethod): Make method accessible.
711         (getField): Make field accessible.
712         (setBooleanField): Don't call setAccessible here.
713         (setByteField, setCharField, setDoubleField, setFloatField,
714         setIntField, setLongField, setShortField, setObjectField):
715         Likewise.
716         (callReadMethod): Don't check whether method is null.  Catch
717         NoSuchMethodException.
718         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
719         cause on thrown exceptions.
720
721 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
722
723         Fix for PR libgcj/11728:
724         * java/util/HashMap.java (readObject): Set size.
725
726 2003-07-31  Tom Tromey  <tromey@redhat.com>
727
728         Fix for PR libgcj/11737:
729         * java/io/ObjectOutputStream.java (getMethod): Make method
730         accessible.
731         (getField): Likewise.
732         (writeObject): Use getMethod.
733         Import PrivilegedAction and AccessController.
734         (callWriteMethod): Don't check whether m is null.  Catch
735         NoSuchMethodException.
736
737         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
738         (containsAngle): Likewise.
739         (getStartPoint): Rewrote.
740         (getEndPoint): Likewise.
741         (setAngleStart(Point2D)): Likewise.
742
743 2003-07-31  Roger Sayle  <roger@eyesopen.com>
744             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
745
746         * configure.in: Add new THREADCXXFLAGS variable.
747         Handle POSIX threads on alpha*-dec-osf*.
748         * configure: Regenerate.
749         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
750         * Makefile.in: Regenerate.
751
752 2003-07-08  Andrew Haley  <aph@redhat.com>
753
754         * include/i386-signal.h (RESTORE): New.
755         (INIT_SEGV): Set restorer.
756         (INIT_FPE): Likewise.
757
758 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
759
760         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
761         than getXLFD.
762         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
763         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
765         (gtkSetFont): Scale size parameter by PANGO_SCALE.
766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
767         Likewise.
768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
769         Likewise.
770
771 2003-07-29  Tom Tromey  <tromey@redhat.com>
772
773         * defineclass.cc (handleField): Throw exception if field name is
774         duplicated.
775         (handleMethod): Throw exception for duplicate method.
776
777 2003-07-29  Tom Tromey  <tromey@redhat.com>
778
779         * gnu/gcj/convert/natIconv.cc (write): Handle case where
780         output buffer is too small.
781
782 2003-07-28  Tom Tromey  <tromey@redhat.com>
783
784         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
785         New method.
786         Include gnu/gcj/runtime/StringBuffer.h.
787         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
788         native method.
789         (String(gnu.gcj.runtime.StringBuffer)): Use it.
790
791 2003-07-27  Anthony Green  <green@redhat.com>
792
793         * configure.in: Fix newlib check.
794         * configure: Rebuilt.
795
796 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
797
798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
799         Create vbox and layout for GtkPlug.
800
801 2003-07-27  Michael Koch  <konqueror@gmx.de>
802
803         * java/awt/Window.java
804         (Window): Removed now unused constructor. It became oboslete with the
805         new embedded window patch.
806
807 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
808             Michael Koch  <konqueror@gmx.de>
809
810         * gnu/java/awt/EmbeddedWindow.java
811         (EmbeddedWindow): Extends Frame instead of Window.
812         (window_id): New member variable to store the native window handle.
813         (create): Removed.
814         (EmbeddedWindow): New constructor.
815         (addNotify): New method.
816         (getHandler): Likewise.
817         (setWindowPeer): New native method.
818         * gnu/java/awt/EmbeddedWindowSupport.java
819         (EmbeddedWindowSupport): Fixed documentation.
820         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
821         WindowPeer, give it an EmbeddedWindow instance instead of the raw
822         window data.
823         * gnu/java/awt/natEmbeddedWindow.cc
824         (create): Removed.
825         (setWindowPeer): New method.
826         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
827         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
828         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
829         New files
830         * gnu/java/awt/peer/gtk/GtkToolkit.java
831         (GtkToolkit): Implements EmbeddedWindowSupport.
832         (createEmbeddedWindow): New method.
833         * java/awt/Window.java
834         (Window): Removed.
835         * Makefile.am
836         (java_source_files): Added EmbeddedWindowPeer.java.
837         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
838         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
839         * Makefile.in: Regenerated.
840
841 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
842
843         * java/lang/Win32Process.java (ConcreteProcess): Surround
844         a command line element with quotes if it contains an
845         embedded space or tab.
846         * java/lang/natWin32Process.cc (startProcess): Do not
847         surround command line elements with quotes here.
848
849         * configure.host: Use -fcheck-references and 
850         -fuse-divide-subroutine for MinGW until we fix
851         win32_exception_handler( ) in win32.cc w.r.t. Win32 
852         Structured Exception Handling (SEH).
853
854         * win32.cc (_Jv_platform_initProperties): Use generic names
855         like "x86" for the "os.arch" property to be consistent with
856         what Sun's JDK produces. Use the wProcessorArchitecture
857         member of the Win32 SYSTEM_INFO structure, filled in a call 
858         to GetSystemInfo( ), instead of dwProcessorType.
859
860 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
861             Ranjit Mathew  <rmathew@hotmail.com>
862
863         * Makefile.am: Use cross-compiling gcjh from the path for
864         a crossed-native build.
865         * Makefile.in: Rebuilt.
866         * configure.in: Include libltdl in non-newlib builds.
867         Moved determination of gcj used to build libraries to
868         its own section. Fixed cross-compilation issues for
869         non-newlib builds.
870         * configure: Rebuilt.
871
872 2003-07-25  Tom Tromey  <tromey@redhat.com>
873
874         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
875         (write): Likewise.
876         (read): Likewise.
877         (read): Likewise.
878
879 2003-07-25  Mark Wielaard  <mark@klomp.org>
880
881         * java/lang/natRuntime.cc (_load): Add library name to
882         UnsatisfiedLinkError when thrown.
883
884 2003-07-25  Mark Wielaard  <mark@klomp.org>
885
886         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
887         added.
888         * Makefile.in: Likewise.
889
890 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
891
892         * java/awt/Component.java
893         (getPreferredSize): Call preferredSize.
894         (preferredSize): Moved body of getPreferredSize here.
895         (getMinimumSize): Call minimumSize.
896         (minimumSize): Moved body of getMinimumSize here.
897         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
898         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
899         pass -1
900         * java/awt/Container.java
901         (validate): Don't validate if there is no peer.
902         (update): Clear background before calling paint.
903         * java/awt/GridBagLayout.java
904         Completed the implementation and fixed several bugs.
905         * java/awt/MediaTracker.java
906         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
907         combine flags.
908         * java/awt/Window.java
909         (Window): Don't call setVisible(false). Windows are invisible by
910         default and calling virtual methods from constructor causes
911         compatibility problems (e.g. subclasses may assume that the peer
912         already exists).
913
914 2003-07-25  Michael Koch  <konqueror@gmx.de>
915
916         * java/awt/GridBagLayout.java:
917         Totally reworked and partly implemented.
918         * java/awt/GridBagLayoutInfo.java:
919         New file.
920
921 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
922
923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
924         Don't pack label in an event box.
925
926 2003-07-24  Tom Tromey  <tromey@redhat.com>
927
928         For PR libgcj/7482:
929         * verify.cc (ref_intersection): New class.
930         (type_val): Removed unresolved_reference_type,
931         uninitialized_unresolved_reference_type.
932         (is_assignable_from_slow): Rewrote.
933         (type::data): Removed.
934         (type::klass): New field.
935         (type::type): Added verifier argument.
936         (type::resolve): Removed.
937         (type::set_uninitialized): Updated for change to type_val.
938         (type::set_initialized): Likewise.
939         (type::isinitialized): Likewise.
940         (type::print): Likewise.
941         (construct_primitive_array_type): Likewise.
942         (type::compatible): Updated for change to type_val and to use
943         ref_intersection.
944         (type::isarray): Updated to use ref_intersection.
945         (type::isinterface): Likewise.
946         (type::element_type): Likewise.
947         (type::to_array): Likewise.
948         (type::verify_dimensions): Rewrote.
949         (type::merge): Likewise.
950         (check_class_constant): Updated for type constructor change.
951         (check_constant): Likewise.
952         (check_field_constant): Likewise.
953         (get_one_type): Likewise.
954         (initialize_stack): Likewise.
955         (verify_instructions_0): Likewise.
956         (verify_instructions_0) [op_invokeinterface]: Removed special
957         case.
958         (isect_list): New field.
959         (_Jv_BytecodeVerifier): Initialize it.
960         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
961
962 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
963
964         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
965         unless field size is 2.
966
967 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
968
969         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
970         (connectHooks): New method.
971         (handleEvent): Remove.
972         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
973         (createHooks): Remove declaration.
974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
975         (generates_key_typed_event): Change to handle only certain
976         keyvals.
977         (awt_event_handler): Add special handling for GtkTextView.
978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
979         (textcomponent_commit_cb): New function.
980         (textcomponent_changed_cb): Likewise.
981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
982         (connectHooks): Remove.
983
984 2003-07-23  Tom Tromey  <tromey@redhat.com>
985
986         * java/lang/natSystem.cc (arraycopy): Check for overflow.
987
988         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
989
990 2003-07-22  Tom Tromey  <tromey@redhat.com>
991
992         * boehm.cc (_Jv_BuildGCDescr): Wrote.
993         Include limits.h.
994
995 2003-07-22  Tom Tromey  <tromey@redhat.com>
996
997         * java/awt/Window.java (getWarningString): Just return the
998         string.
999         (Window): Set warningString; check with security manager.
1000
1001 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
1002
1003         * gnu/awt/xlib/XGraphicsConfiguration.java
1004         (FontMetricsCache): Made static.
1005  
1006 2003-07-22  Tom Tromey  <tromey@redhat.com>
1007
1008         * java/net/URLEncoder.java (encode(String)): Use platform default
1009         encoding.
1010         (encode(String,String)): Convert to 2-digit upper-case hex
1011         number.
1012         (hex): New field.
1013
1014 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1015
1016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1017         (create): Remove unused method implementation.
1018         (connectHooks): Remove debug messages.
1019
1020 2003-07-20  Anthony Green  <green@redhat.com>
1021
1022         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1023         CloneNotSupportedException.
1024         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1025         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1026         * gnu/gcj/xlib/GC.java (clone): Ditto.
1027         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1028         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1029
1030         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1031         handler.
1032         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1033
1034 2003-07-20  Steve Pribyl <steve@netfuel.com.>
1035
1036         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1037         String.  Put dlerror() message into exception.
1038         Include UnsatisfiedLinkError.
1039         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1040         String.  Now native.
1041
1042 2003-07-20  Tom Tromey  <tromey@redhat.com>
1043
1044         * java/lang/Runtime.java: Comment fix.
1045         * java/lang/ClassLoader.java (isAncestorOf): New method.
1046         (getParent): Uncommented security check.  Use isAncestorOf.
1047         * include/jvm.h (_Jv_CheckAccess): Declare.
1048         * java/lang/reflect/natConstructor.cc (newInstance): Perform
1049         access check.
1050         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1051         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1052         class loader to _Jv_GetArrayClass.
1053         Include ArrayIndexOutOfBoundsException.h.
1054         * java/lang/reflect/Field.java: Update comment to reflect status.
1055         (equals): Fixed indentation.
1056         * java/lang/Class.h (Class): Declare memberAccessCheck, not
1057         checkMemberAccess.  Make _Jv_CheckAccess a friend.
1058         * java/lang/Class.java (memberAccessCheck): New method from
1059         Classpath.
1060         (checkMemberAccess): Removed.
1061         (getDeclaredMethod): Use memberAccessCheck.
1062         (getField): Likewise.
1063         (getMethod): Likewise.
1064         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1065         (_Jv_SearchMethodInClass): Likewise.
1066         * prims.cc (_Jv_CheckAccess): New function.
1067         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1068         (_Jv_JNI_GetAnyFieldID): Likewise.
1069         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1070         (getClassLoader): Added security check.
1071         (getConstructor): Call memberAccessCheck.
1072         (getDeclaredClasses): Likewise.
1073         (getDeclaredField): Likewise.
1074         (getDeclaredFields): Likewise.
1075         (_getConstructors): Likewise.
1076         (getDeclaredConstructor): Likewise.
1077         (getDeclaredMethods): Likewise.
1078         (getFields): Likewise.
1079         (getMethods): Likewise.
1080         (newInstance): Likewise.
1081         (_Jv_MakeVTable): Put method name in exception.
1082         * java/lang/reflect/natMethod.cc (getType): Use
1083         getClassLoaderInternal.
1084         (_Jv_GetTypesFromSignature): Likewise.
1085         (invoke): Perform access check.
1086         (_Jv_CallAnyMethodA): Removed old FIXME comments.
1087         Include ArrayIndexOutOfBoundsException.h.
1088         * java/lang/reflect/natField.cc (getType): Use
1089         getClassLoaderInternal.
1090         (_Jv_CheckFieldAccessibility): Removed.
1091         (getAddr): Use _Jv_CheckAccess; find caller.
1092         Include ArrayIndexOutOfBoundsException.h.
1093
1094 2003-07-20  Michael Koch  <konqueror@gmx.de>
1095
1096         * java/net/URL.java
1097         (URL): Fixed documentation to name an argument correcty, Reformatted
1098         one method declaration.
1099         (getURLStreamHandler): Added documentation from classpath.
1100
1101 2003-07-19  Tom Tromey  <tromey@redhat.com>
1102
1103         * mauve-libgcj: Don't run CollationElementIterator tests.
1104
1105 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
1106
1107         * java/net/URLClassLoader.java (addURL): Moved implementation to
1108         private addURLImpl() to avoid calling addURL from the constructor.
1109         (addURLImpl): Contains the code that was previously in addURL.
1110         (addURLs): Call addURLImpl(), not addURL().
1111
1112 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1113
1114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
1115         Handle missing event cases, connect to "value-changed" signal.
1116
1117 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1118
1119         * java/awt/geom/CubicCurve2D.java,
1120         java/awt/geom/Line2D.java,
1121         java/awt/geom/QuadCurve2D.java,
1122         java/awt/geom/Rectangle2D.java: 
1123         Fix path some calculations, make path iterators follow
1124         a consistent style.
1125
1126 2003-07-18  Mark Wielaard  <mark@klomp.org>
1127
1128         * java/util/logging/Handler.java (isLoggable): Check record level
1129         smaller or equal.
1130
1131 2003-07-17  Michael Koch  <konqueror@gmx.de>
1132
1133         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1134         Reworked imports.
1135
1136 2003-07-14  Michael Koch  <konqueror@gmx.de>
1137
1138         * gnu/java/rmi/server/UnicastServerRef.java:
1139         New version from classpath.
1140
1141 2003-07-14  Michael Koch  <konqueror@gmx.de>
1142
1143         * java/awt/image/MemoryImageSource.java,
1144         java/beans/PropertyEditorManager.java,
1145         javax/naming/CompoundName.java,
1146         javax/naming/spi/NamingManager.java,
1147         javax/swing/AbstractButton.java,
1148         javax/swing/ButtonModel.java,
1149         javax/swing/SwingUtilities.java,
1150         javax/swing/UIManager.java,
1151         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1152         javax/swing/event/AncestorEvent.java,
1153         javax/swing/event/InternalFrameEvent.java,
1154         java/util/zip/ZipFile.java:
1155         New versions from classpath.
1156
1157 2003-07-13  Michael Koch  <konqueror@gmx.de>
1158
1159         * gnu/java/nio/FileChannelImpl.java,
1160         gnu/java/nio/natFileChannelImpl.cc: Removed.
1161         * java/io/FileInputStream.java,
1162         java/io/FileOutputStream.java,
1163         java/io/RandomAccessFile.java,
1164         java/nio/MappedByteBufferImpl.java:
1165         Import java.nio.channels.FileChannelImpl instead of
1166         gnu.java.nio.FileChannelImpl.
1167         * java/nio/channels/FileChannelImpl.java,
1168         java/nio/channels/natFileChannelImpl.cc:
1169         New files.
1170         * Makefile.am
1171         (ordinary_java_source_files):
1172         Removed gnu/java/nio/FileChannelImpl.java and added
1173         java/nio/channels/FileChannelImpl.java.
1174         (nat source_files):
1175         Removed gnu/java/nio/natFileChannelImpl.cc and added
1176         java/nio/channels/natFileChannelImpl.cc.
1177         * Makefile.in: Regenerated.
1178
1179 2003-07-13  Michael Koch  <konqueror@gmx.de>
1180
1181         * javax/swing/plaf/basic/BasicBorders.java,
1182         javax/swing/plaf/basic/BasicLabelUI.java,
1183         javax/swing/plaf/basic/BasicLookAndFeel.java,
1184         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1185         javax/swing/plaf/basic/BasicTextUI.java,
1186         javax/swing/plaf/metal/MetalLookAndFeel.java:
1187         New versions from classpath.
1188
1189 2003-07-13  Michael Koch  <konqueror@gmx.de>
1190
1191         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1192         * gnu/java/awt/peer/gtk/GdkGraphics.java
1193         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1194         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1195         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1196         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1197         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1198         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1199         * gnu/java/awt/peer/gtk/GtkClipboard.java
1200         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1201         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1202         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1203         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1204         * gnu/java/awt/peer/gtk/GtkImage.java
1205         * gnu/java/awt/peer/gtk/GtkImagePainter.java
1206         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1207         * gnu/java/awt/peer/gtk/GtkListPeer.java
1208         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1209         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1210         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1211         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1212         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1213         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1214         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1215         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1216         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1217         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1218         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1219         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1220
1221 2003-07-13  Michael Koch  <konqueror@gmx.de>
1222
1223         * gnu/java/locale/LocaleInformation_de.java
1224         * gnu/java/locale/LocaleInformation_en.java
1225         * gnu/java/locale/LocaleInformation_nl.java
1226
1227 2003-07-13  Michael Koch  <konqueror@gmx.de>
1228
1229         * gnu/java/awt/EmbeddedWindow.java,
1230         gnu/java/awt/EmbeddedWindowSupport.java,
1231         gnu/java/awt/natEmbeddedWindow.cc:
1232         New files.
1233         * java/awt/Window.java
1234         (Window): New constructor to support embedded windows.
1235         * Makefile.am
1236         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1237         gnu/java/awt/EmbeddedWindowSupport.java.
1238         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1239         * Makefile.in: Regenerated.
1240
1241 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
1242
1243         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1244         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1245         * java/awt/im/InputContext.java: Remove a redundant
1246         partial line.
1247
1248 2003-07-09  Tom Tromey  <tromey@redhat.com>
1249
1250         * Makefile.in: Rebuilt.
1251         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1252
1253 2003-07-09  Mark Wielaard  <mark@klomp.org>
1254
1255         * java/io/ObjectOutputStream.java (writeObject): break after
1256         calling writeClassDescriptor().
1257
1258 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
1259
1260         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1261
1262 2003-07-09  Michael Koch  <konqueror@gmx.de>
1263
1264         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1265         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1266         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1267         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1268         Explicitly import used classes.
1269         * java/awt/Container.java: New version from classpath.
1270
1271 2003-07-09  Michael Koch  <konqueror@gmx.de>
1272
1273         * libgcj.pc.in: New file.
1274         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1275         * Makefile.in: Regenerated.
1276         * configure: Regenrated.
1277         * configure.in: Create libgcj.pc from libgcj.pc.in.
1278
1279 2003-07-08  Mark Wielaard <mark@klomp.org>
1280
1281         * gcj/cni.h: CNI now expands to Compiled Native Interface.
1282
1283         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1284         * java/lang/fdlibm.h: Likewise.
1285
1286 2003-07-07  Adam Megacz <adam@xwt.org>
1287
1288         * posix.cc: added #include<stdio.h>
1289                 
1290 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1291
1292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1293         formatting.
1294
1295         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1296         (setCaretPosition, setEditable): Rely entirely on native
1297         implementation.
1298         (getArgs): Remove.
1299         (postTextEvent): New method.
1300         (handleEvent): New method.
1301         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1302         method.
1303         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1305         (keysym_to_awt_keycode): Fix range checks.
1306         (generates_key_typed_event): New function.
1307         (awt_event_handler): Post AWT_KEY_RELEASED events to event
1308         queue.
1309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1310         (gtkInit): Store TextComponent's postTextEvent method ID.
1311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1312         (setText): Post TEXT_VALUE_CHANGED event to event queue.
1313
1314 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1315
1316         * configure.in: Check for usleep declaration.
1317         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1318         * configure: Regenerate.
1319         * include/config.h.in: Likewise.
1320         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1321
1322 2003-07-01  Michael Koch  <konqueror@gmx.de>
1323
1324         * gnu/gcj/convert/natIconv.cc
1325         (iconv_init): Fixed possible memory leak by releasing allocated iconv
1326         handle.
1327
1328 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1329
1330         * glib-2.0.m4: New file.
1331         * gtk-2.0.m4: New file.
1332         * glib.m4: Remove.
1333         * gtk.m4: Remove.
1334         * configure.in: Update AM_PATH_GTK macro call to
1335         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
1336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1344         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1346         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1347         jni/gtk-peer/gthread-jni.c,
1348         jni/gtk-peer/gthread-jni.h:
1349         New versions from classpath.
1350         * aclocal.m4: Regenerate.
1351         * configure: Regenerate.
1352         * Makefile.in: Regenerate.
1353         * gcj/Makefile.in: Regenerate.
1354         * include/Makefile.in: Regenerate.
1355         * testsuite/Makefile.in: Regenerate.
1356
1357 2003-06-30  Gary Benson  <gbenson@redhat.com>
1358
1359         For PR libgcj/11349:
1360         * javax/naming/spi/NamingManager.java (getURLContext): Use
1361         correct name for factory class.
1362
1363 2003-06-28  Michael Koch  <konqueror@gmx.de>
1364
1365         * java/io/PrintStream.java
1366         (checkError): Call flush() instead of direct flushing of the Writer
1367         object.
1368         (print): Call print(String) instead of direct print method of the
1369         Writer Object.
1370         (println): Call println(String) instead of direct println method of the
1371         Writer Object.
1372         (write): Simplified.
1373
1374 2003-06-28  Michael Koch  <konqueror@gmx.de>
1375
1376         * java/net/ServerSocket.java
1377         (setChannel): New method.
1378         * java/net/Socket.java
1379         (setChannel): New method.
1380
1381 2003-06-27  Michael Koch  <konqueror@gmx.de>
1382
1383         * java/beans/beancontext/BeanContextSupport.java:
1384         New version from classpath.
1385
1386 2003-06-27  Michael Koch  <konqueror@gmx.de>
1387
1388         * java/awt/Window.java,
1389         java/awt/font/GraphicAttribute.java,
1390         java/awt/font/ImageGraphicAttribute.java,
1391         java/awt/image/DataBufferByte.java,
1392         java/awt/image/DataBufferInt.java,
1393         java/awt/image/DataBufferUShort.java,
1394         java/awt/image/DirectColorModel.java,
1395         java/awt/image/PixelGrabber.java:
1396         New versions from classpath.
1397
1398 2003-06-27  Michael Koch  <konqueror@gmx.de>
1399
1400         * java/security/Certificate.java
1401         (getGuarantor): Removed wrong @deprecated tag.
1402         (getPrincipal): Likewise.
1403         (getPublicKey): Likewise.
1404         (encode): Likewise.
1405         (decode): Likewise.
1406         (getFormat): Likewise.
1407         (toString): Likewise.
1408         * java/security/cert/PolicyQualifierInfo.java
1409         (PolicyQualifierInfo): Made final.
1410         * javax/security/auth/x500/X500Principal.java
1411         (serialVersionUID): New member variable.
1412
1413 2003-06-27  Michael Koch  <konqueror@gmx.de>
1414
1415         * java/text/Format.java
1416         (serialVersionUID): Fixed value.
1417
1418 2003-06-27  Michael Koch  <konqueror@gmx.de>
1419
1420         * java/net/Inet4Address.java
1421         (Inet4Address): Made package-private.
1422         * java/net/Inet6Address.java
1423         (Inet4Address): Made package-private.
1424
1425 2003-06-27  Michael Koch  <konqueror@gmx.de>
1426
1427         * java/io/RandomAccessFile.java
1428         (readLine): Removed wrong @deprecated tag.
1429         (getChannel): Made final.
1430
1431 2003-06-27  Michael Koch  <konqueror@gmx.de>
1432
1433         * gnu/java/nio/FileChannelImpl.java
1434         (write): Removed.
1435
1436 2003-06-27  Michael Koch  <konqueror@gmx.de>
1437
1438         * java/nio/ByteBufferImpl.java
1439         (ByteBufferImpl): Made it a package-private class
1440         * java/nio/CharBufferImpl.java
1441         (CharBufferImpl): Made it a package-private class
1442         * java/nio/DirectByteBufferImpl.java
1443         (DirectByteBufferImpl): Made it a package-private class
1444         * java/nio/DoubleBufferImpl.java
1445         (DoubleBufferImpl): Made it a package-private class
1446         * java/nio/FloatBufferImpl.java
1447         (FloatBufferImpl): Made it a package-private class
1448         * java/nio/IntBufferImpl.java
1449         (IntBufferImpl): Made it a package-private class
1450         * java/nio/LongBufferImpl.java
1451         (LongBufferImpl): Made it a package-private class
1452         * java/nio/ShortBufferImpl.java
1453         (ShortBufferImpl): Made it a package-private class
1454         * java/nio/channels/FileChannel.java
1455         (write): Made final.
1456         * java/nio/channels/ServerSocketChannel.java
1457         (ServerSocketChanne): Made protected.
1458
1459 2003-06-27  Michael Koch  <konqueror@gmx.de>
1460
1461         * javax/naming/CompositeName.java
1462         (serialVersionUID): New member variable.
1463         * javax/naming/CompoundName.java
1464         (serialVersionUID): New member variable.
1465         * javax/naming/InitialContext.java
1466         (InitialContext): Throws NamingException.
1467         (init): Likewise.
1468         * javax/naming/LinkRef.java
1469         (serialVersionUID): New member variable.
1470         (gteLinkName): Throws NamingException.
1471         * javax/naming/NamingException.java
1472         (serialVersionUID): New member variable.
1473         * javax/naming/NamingSecurityException.java
1474         (NamingSecurityException): Made abstract.
1475         (serialVersionUID): New member variable.
1476         * javax/naming/ReferralException.java
1477         (serialVersionUID): New member variable.
1478         * javax/naming/StringRefAddr.java
1479         (serialVersionUID): New member variable.
1480         * javax/naming/directory/BasicAttribute.java:
1481         Reworked imports.
1482         (serialVersionUID): New member variable.
1483         (get): Throws NamingException.
1484         (getAll): Throws NamingException.
1485         * javax/naming/directory/BasicAttributes.java:
1486         Reworked imports.
1487         (serialVersionUID): New member variable.
1488         * javax/naming/ldap/UnsolicitedNotificationEvent.java
1489         (serialVersionUID): New member variable.
1490
1491 2003-06-27  Michael Koch  <konqueror@gmx.de>
1492
1493         * Makefile.am
1494         (awt_java_source_files): Added new files:
1495         javax/swing/Popup.java,
1496         javax/swing/PopupFactory.java
1497         * Makefile.in: Regenerated.
1498
1499 2003-06-27  Michael Koch  <konqueror@gmx.de>
1500
1501         * javax/swing/JWindow.java,
1502         javax/swing/event/AncestorEvent.java,
1503         javax/swing/event/HyperlinkEvent.java,
1504         javax/swing/event/InternalFrameEvent.java,
1505         javax/swing/event/ListDataEvent.java,
1506         javax/swing/event/TableModelEvent.java,
1507         javax/swing/plaf/PopupMenuUI.java,
1508         javax/swing/plaf/SplitPaneUI.java,
1509         javax/swing/plaf/TabbedPaneUI.java,
1510         javax/swing/plaf/TextUI.java,
1511         javax/swing/plaf/TreeUI.java,
1512         javax/swing/plaf/basic/BasicTextUI.java,
1513         javax/swing/plaf/basic/BasicTreeUI.java:
1514         New versions from classpath.
1515         * javax/swing/Popup.java,
1516         javax/swing/PopupFactory.jav:
1517         New source files from classpath.
1518         * javax/swing/plaf/doc-files/TreeUI-1.png:
1519         New binary files from classpath.
1520
1521 2003-06-25  Michael Koch  <konqueror@gmx.de>
1522
1523         * Makefile.am
1524         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1525         * Makefile.in: Regenerated.
1526
1527 2003-06-25  Michael Koch  <konqueror@gmx.de>
1528
1529         * javax/swing/plaf/ActionMapUIResource.java,
1530         javax/swing/plaf/BorderUIResource.java,
1531         javax/swing/plaf/ButtonUI.java,
1532         javax/swing/plaf/ColorChooserUI.java,
1533         javax/swing/plaf/ColorUIResource.java,
1534         javax/swing/plaf/ComboBoxUI.java,
1535         javax/swing/plaf/ComponentInputMapUIResource.java,
1536         javax/swing/plaf/ComponentUI.java,
1537         javax/swing/plaf/DesktopIconUI.java,
1538         javax/swing/plaf/DesktopPaneUI.java,
1539         javax/swing/plaf/DimensionUIResource.java,
1540         javax/swing/plaf/FileChooserUI.java,
1541         javax/swing/plaf/FontUIResource.java,
1542         javax/swing/plaf/IconUIResource.java,
1543         javax/swing/plaf/InputMapUIResource.java,
1544         javax/swing/plaf/InsetsUIResource.java,
1545         javax/swing/plaf/InternalFrameUI.java,
1546         javax/swing/plaf/LabelUI.java,
1547         javax/swing/plaf/ListUI.java,
1548         javax/swing/plaf/MenuBarUI.java,
1549         javax/swing/plaf/MenuItemUI.java,
1550         javax/swing/plaf/OptionPaneUI.java,
1551         javax/swing/plaf/PanelUI.java,
1552         javax/swing/plaf/ProgressBarUI.java,
1553         javax/swing/plaf/RootPaneUI.java,
1554         javax/swing/plaf/ScrollBarUI.java,
1555         javax/swing/plaf/ScrollPaneUI.java,
1556         javax/swing/plaf/SeparatorUI.java,
1557         javax/swing/plaf/SliderUI.java,
1558         javax/swing/plaf/TableHeaderUI.java,
1559         javax/swing/plaf/TableUI.java,
1560         javax/swing/plaf/ToolBarUI.java,
1561         javax/swing/plaf/ToolTipUI.java,
1562         javax/swing/plaf/ViewportUI.java:
1563         New versions from classpath.
1564         * javax/swing/plaf/SpinnerUI.java: 
1565         New file from classpath
1566
1567 2003-06-25  Michael Koch  <konqueror@gmx.de>
1568
1569         * java/awt/image/ColorModel.java:
1570         New version from classpath.
1571
1572 2003-06-25  Michael Koch  <konqueror@gmx.de>
1573
1574         * java/net/PlainDatagramSocketImpl.java:
1575         Partly merged with classpath, this mainly adds documentation.
1576
1577 2003-06-25  Michael Koch  <konqueror@gmx.de>
1578
1579         * java/io/ObjectInputStream.java
1580         (readClassDescriptor): New method.
1581         (readObject): Moved functionality to readClassDescriptor().
1582         * java/io/ObjectOutputStream.java
1583         (writeClassDescriptor): New method.
1584         (writeObject): Moved functionality to writeClassDescriptor().
1585
1586 2003-06-25  Michael Koch  <konqueror@gmx.de>
1587
1588         * javax/swing/plaf/basic/BasicListUI.java,
1589         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1590         Added missing methods.
1591
1592 2003-06-25  Michael Koch  <konqueror@gmx.de>
1593
1594         * javax/swing/event/AncestorEvent.java
1595         javax/swing/event/HyperlinkEvent.java
1596         javax/swing/event/InternalFrameEvent.java
1597         javax/swing/event/ListDataEvent.java
1598         javax/swing/event/TableModelEvent.java:
1599         Compile fixes.
1600
1601 2003-06-24  Michael Koch  <konqueror@gmx.de>
1602
1603         * java/net/URL.java:
1604         Renamed "handler" to "ph" in the whole file to match classpaths
1605         version.
1606         * java/net/URLStreamHandler.java:
1607         (equals): Renamed "handler" to "ph".
1608
1609 2003-06-24  Michael Koch  <konqueror@gmx.de>
1610
1611         * javax/swing/event/AncestorEvent.java,
1612         javax/swing/event/HyperlinkEvent.java,
1613         javax/swing/event/InternalFrameEvent.java,
1614         javax/swing/event/ListDataEvent.java,
1615         javax/swing/event/TableModelEvent.java,
1616         javax/swing/event/TreeWillExpandListener.java,
1617         javax/swing/plaf/ComponentUI.java,
1618         javax/swing/plaf/DesktopIconUI.java,
1619         javax/swing/plaf/DesktopPaneUI.java,
1620         javax/swing/plaf/DimensionUIResource.java,
1621         javax/swing/plaf/FileChooserUI.java,
1622         javax/swing/plaf/FontUIResource.java,
1623         javax/swing/plaf/IconUIResource.java,
1624         javax/swing/plaf/InputMapUIResource.java,
1625         javax/swing/plaf/InsetsUIResource.java,
1626         javax/swing/plaf/InternalFrameUI.java,
1627         javax/swing/plaf/LabelUI.java,
1628         javax/swing/plaf/ListUI.java,
1629         javax/swing/plaf/MenuBarUI.java,
1630         javax/swing/plaf/MenuItemUI.java,
1631         javax/swing/plaf/OptionPaneUI.java,
1632         javax/swing/plaf/PanelUI.java,
1633         javax/swing/plaf/ProgressBarUI.java,
1634         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1635         javax/swing/plaf/doc-files/ComponentUI-1.png:
1636         New versions from classpath.
1637
1638 2003-06-24  Michael Koch  <konqueror@gmx.de>
1639
1640         * java/nio/Buffer.java
1641         (cap): Made package-private.
1642         (pos): Likewise.
1643         (limit): Likewise.
1644         (mark): Likewise.
1645
1646 2003-06-24  Michael Koch  <konqueror@gmx.de>
1647
1648         * java/net/SocketImpl.java
1649         (shutdownInput): Made it non-abstract method throwing an exception
1650         like in SUNs JRE.
1651         (shutdownOutput): Likewise.
1652         * java/net/SocketInputStream.java,
1653         java/net/SocketOutputStream.java:
1654         New files from classpath.
1655
1656 2003-06-24  Michael Koch  <konqueror@gmx.de>
1657
1658         * java/awt/Font.java,
1659         java/awt/Window.java,
1660         java/awt/color/ColorSpace.java,
1661         java/awt/datatransfer/StringSelection.java,
1662         java/awt/image/ColorModel.java:
1663         New versions from classpath.
1664
1665 2003-06-24  Michael Koch  <konqueror@gmx.de>
1666
1667         * Makefile.am
1668         (awt_java_source_files): Added new files:
1669         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1670         javax/swing/plaf/basic/BasicSplitPaneUI.java
1671         * Makefile.in: Regenerated.
1672
1673 2003-06-24  Michael Koch  <konqueror@gmx.de>
1674
1675         * javax/swing/text/JTextComponent.java:
1676         New version from classpath.
1677
1678 2003-06-24  Michael Koch  <konqueror@gmx.de>
1679
1680         * javax/swing/Timer.java,
1681         javax/swing/plaf/ActionMapUIResource.java,
1682         javax/swing/plaf/ButtonUI.java,
1683         javax/swing/plaf/ColorChooserUI.java,
1684         javax/swing/plaf/ColorUIResource.java,
1685         javax/swing/plaf/ComboBoxUI.java,
1686         javax/swing/plaf/ComponentInputMapUIResource.java,
1687         javax/swing/plaf/basic/BasicBorders.java:
1688         New versions from classpath.
1689         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1690         javax/swing/plaf/basic/BasicSplitPaneUI.java:
1691         New file from classpath.
1692         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1693         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1694         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1695         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1696         javax/swing/plaf/doc-files/ComponentUI-1.png:
1697         New binary files from classpath.
1698
1699 2003-06-24  Michael Koch  <konqueror@gmx.de>
1700
1701         * java/io/LineNumberReader.java
1702         (skip): Dont do line number accounting here as this is already done in
1703         read(), simplified.
1704
1705 2003-06-21  Michael Koch  <konqueror@gmx.de>
1706
1707         * java/io/File.java
1708         (static): Load javaio lib if existing (only in classpath).
1709         (File): Revised documentation to show the correct argument name.
1710         (createTempFile): Partly merged with classpath.
1711         (compareTo): Simplified.
1712         (lastModified): Throw exception if time < 0.
1713         (deleteOnExit): Revised documentation.
1714
1715 2003-06-21  Michael Koch  <konqueror@gmx.de>
1716
1717         * java/net/PlainSocketImpl.java:
1718         Reformatted.
1719         (PlainSocketImpl): Merged class documentaion with classpath.
1720         (in): Moved.
1721         (out): Moved.
1722         (PlainSocketImpl): New empty constructor.
1723         (finalize): Moved.
1724         (setOption): Merged documentation from classpath.
1725         (getOption): Likewise.
1726         (create): Likewise.
1727         (connect): Likewise.
1728         (bind): Likewise.
1729         (listen): Likewise.
1730         (accept): Likewise.
1731         (available): Likewise.
1732         (close): Likewise.
1733         (read): Likewise.
1734         (write): Likewise.
1735         (getInputStream): Made synchronozed to get sure that only one stream
1736         object can be created for this socket, merged documentation from
1737         classpath.
1738         (getOutputStream): Likewise.
1739
1740 2003-06-21  Michael Koch  <konqueror@gmx.de>
1741
1742         * java/net/PlainSocketImpl.java:
1743         Reformatting.
1744         (static): New implicit method.
1745         (read): Made package private.
1746         (write): Likewise.
1747
1748 2003-06-21  Michael Koch  <konqueror@gmx.de>
1749
1750         * java/util/SimpleTimeZone.java:
1751         Removed unneeded import, reformatting.
1752
1753 2003-06-21  Michael Koch  <konqueror@gmx.de>
1754
1755         * java/text/DateFormat.java,
1756         java/text/SimpleDateFormat.java,
1757         java/util/Locale.java:
1758         New versions from classpath.
1759
1760 2003-06-21  Michael Koch  <konqueror@gmx.de>
1761
1762         * javax/swing/SpinnerModel.java:
1763         New file from classpath.
1764         * javax/swing/border/LineBorder.java,
1765         javax/swing/border/SoftBevelBorder.java,
1766         javax/swing/plaf/BorderUIResource.java,
1767         javax/swing/plaf/basic/BasicBorders.java:
1768         New versions from classpath.
1769         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1770         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1771         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1772         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1773         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1774         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1775         New binary files from classpath.
1776
1777 2003-06-21  Michael Koch  <konqueror@gmx.de>
1778
1779         * java/util/logging/LogRecord.java,
1780         java/util/logging/Logger.java,
1781         java/util/logging/SocketHandler.java,
1782         java/util/logging/SimpleFormatter.java,
1783         java/util/logging/Formatter.java,
1784         java/util/logging/ErrorManager.java,
1785         java/util/logging/Handler.java,
1786         java/util/logging/FileHandler.java,
1787         java/util/logging/LogManager.java,
1788         java/util/logging/Level.java,
1789         java/util/logging/ConsoleHandler.java,
1790         java/util/logging/StreamHandler.java,
1791         java/util/logging/LoggingPermission.java,
1792         java/util/logging/Filter.java,
1793         java/util/logging/MemoryHandler.java,
1794         java/util/logging/XMLFormatter.java:
1795         New files from classpath.
1796
1797 2003-06-20  Michael Koch  <konqueror@gmx.de>
1798
1799         * java/io/ObjectStreamField.java
1800         (unshared): new member variable.
1801         (ObjectStreamField): New constructor.
1802         (isUnshared): New method.
1803
1804 2003-06-20  Michael Koch  <konqueror@gmx.de>
1805
1806         * java/net/URLStreamHandler.java
1807         (hostsEqual): Rewritten.
1808
1809 2003-06-20  Michael Koch  <konqueror@gmx.de>
1810
1811         * gnu/java/nio/MappedByteFileBuffer.java,
1812         gnu/java/nio/natMappedByteFileBuffer.cc:
1813         Removed
1814         * java/nio/MappedByteBufferImpl.java:
1815         New file.
1816         * gnu/java/nio/FileChannelImpl.java:
1817         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1818         * Makefile.am
1819         (ordinary_java_source_files): Removed
1820         gnu/java/nio/MappedByteFileBuffer.java and added
1821         java/nio/MappedByteBufferImpl.java.
1822         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1823         * Makefile.in: Regenerated.
1824
1825 2003-06-19  Michael Koch  <konqueror@gmx.de>
1826
1827         * gnu/java/nio/DatagramChannelImpl.java
1828         (fd): Removed.
1829         (blocking): New member variable.
1830         (socket): Likewise.
1831         (DatagramChannelImpl): Throws IOException, initialize socket.
1832         (socket):Implemented.
1833         (implCloseSelectableChannel): Throws IOException, implemented.
1834         (implConfigureBlocking): Likewise.
1835         (connect): Likewise.
1836         (disconnect): Likewise.
1837         (isConnected): Likewise.
1838         (write): Likewise.
1839         (read): Likewise.
1840         (receive): Throws IOException.
1841         (send): Likewise.
1842         * gnu/java/nio/SocketChannelImpl.java
1843         (read): Implemented.
1844         (write): Implemented.
1845
1846 2003-06-19  Michael Koch  <konqueror@gmx.de>
1847
1848         * javax/swing/JComponent.java,
1849         javax/swing/JInternalFrame.java,
1850         javax/swing/MenuSelectionManager.java,
1851         javax/swing/SwingUtilities.java,
1852         javax/swing/ToggleButtonModel.java:
1853         New versions from classpath.
1854
1855 2003-06-19  Michael Koch  <konqueror@gmx.de>
1856
1857         * java/text/CollationElementIterator.java
1858         (NULLORDER): Initialize with -1 as JDK documentation says.
1859
1860 2003-06-19  Michael Koch  <konqueror@gmx.de>
1861
1862         * java/net/HttpURLConnection.java,
1863         java/net/Inet4Address.java,
1864         java/net/Inet6Address.java,
1865         java/net/SocketImpl.java,
1866         java/net/URLClassLoader.java:
1867         Reworked import statements.
1868         * java/net/InetAddress.java
1869         (getByAddress): Simplified.
1870         * java/net/ServerSocket.java
1871         (ServerSocket): Moved special handling during bind operation to
1872         bind().
1873         (bind): Handle different cases when trying to bind a socket.
1874         * java/net/URLConnection.java
1875         (getHeaderFieldDate): Merged with classpath.
1876         (getHeaderFieldInt): Likewise.
1877
1878 2003-06-19  Michael Koch  <konqueror@gmx.de>
1879
1880         * java/util/zip/InflaterInputStream.java
1881         (InflaterInputStream): Throw NullPointerException if in is null (as
1882         JDK does).
1883
1884 2003-06-19  Michael Koch  <konqueror@gmx.de>
1885
1886         * java/awt/Font.java
1887         javax/swing/UIManager.java
1888         javax/swing/border/AbstractBorder.java
1889         javax/swing/border/BevelBorder.java
1890         javax/swing/border/Border.java
1891         javax/swing/border/CompoundBorder.java
1892         javax/swing/border/EmptyBorder.java
1893         javax/swing/border/EtchedBorder.java
1894         javax/swing/border/LineBorder.java
1895         javax/swing/border/MatteBorder.java
1896         javax/swing/border/TitledBorder.java
1897         javax/swing/plaf/BorderUIResource.java
1898         javax/swing/plaf/basic/BasicBorders.java
1899         javax/swing/plaf/basic/BasicButtonUI.java
1900         javax/swing/plaf/basic/BasicCheckBoxUI.java
1901         javax/swing/plaf/basic/BasicGraphicsUtils.java
1902         javax/swing/plaf/basic/BasicLabelUI.java
1903         javax/swing/plaf/basic/BasicRadioButtonUI.java
1904         javax/swing/plaf/basic/BasicToggleButtonUI.java:
1905         New versions from classpath.
1906         * javax/swing/border/SoftBevelBorder.java:
1907         New file from classpath.
1908         * javax/swing/border/doc-files/LineBorder-1.png,
1909         javax/swing/border/doc-files/BevelBorder-1.png,
1910         javax/swing/border/doc-files/BevelBorder-2.png,
1911         javax/swing/border/doc-files/BevelBorder-3.png,
1912         javax/swing/border/doc-files/EmptyBorder-1.png,
1913         javax/swing/border/doc-files/EtchedBorder-1.png,
1914         javax/swing/border/doc-files/EtchedBorder-2.png,
1915         javax/swing/border/doc-files/MatteBorder-1.png,
1916         javax/swing/border/doc-files/MatteBorder-2.png,
1917         javax/swing/border/doc-files/MatteBorder-3.png,
1918         javax/swing/border/doc-files/MatteBorder-4.png,
1919         javax/swing/border/doc-files/MatteBorder-5.png,
1920         javax/swing/border/doc-files/MatteBorder-6.png,
1921         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1922         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1923         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1924         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1925         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1926         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1927         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1928         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1929         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1930         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1931         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1932         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1933         New binary files from classpath.
1934         * Makefile.am
1935         (awt_java_source_files): Added
1936         javax/swing/border/SoftBevelBorder.java.
1937         * Makefile.in: Regenerated.
1938
1939 2003-06-19  Michael Koch  <konqueror@gmx.de>
1940
1941         * gnu/java/security/x509/X509Certificate.java
1942         (writeReplace): Merged from classpath.
1943
1944 2003-06-19  Michael Koch  <konqueror@gmx.de>
1945
1946         * gnu/java/nio/FileChannelImpl.java
1947         (map_address): Made public.
1948         (FileChannelImpl): Merged with classpath.
1949         * gnu/java/nio/natFileChannelImpl.cc
1950         (nio_mmap_file): Commented out unused arguments.
1951         (nio_unmmap_file): Likewise.
1952         (niu_msync): Likewise.
1953
1954 2003-06-19  Michael Koch  <konqueror@gmx.de>
1955
1956         * java/awt/image/IndexColorModel.java:
1957         New version from classpath.
1958
1959 2003-06-18  Tom Tromey  <tromey@redhat.com>
1960
1961         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1962         on arrays.
1963         (isLoopbackAddress): Likewise.
1964         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1965         on arrays.
1966
1967 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
1968
1969         * java/lang/natVMSecurityManager.cc (getClassContext):
1970         Use maxlen instead of len for loop bound.
1971
1972 2003-06-18  Michael Koch  <konqueror@gmx.de>
1973
1974         * gnu/java/nio/SelectorImpl.java
1975         (register): Use fd with value 0 for now, will be fixed later.
1976         * gnu/java/nio/ServerSocketChannelImpl.java
1977         (fd): Removed.
1978         (local_port): Removed.
1979         (InetSocketAddress): Removed.
1980         (ServerSocketChannelImpl): Just initialize internal socket object.
1981         (implCloseSelectableChannel): Close internal socket object.
1982         (implConfigureBlocking): Added comment.
1983         (accept): Use jaba.net stuff to accept socket.
1984         * gnu/java/nio/SocketChannelImpl.java
1985         (fd): Removed.
1986         (local_port): Removed.
1987         (InetSocketAddress): Removed.
1988         (SocketCreate): Removed.
1989         (SocketConnect): Removed.
1990         (SocketBind): Removed.
1991         (SocketListen): Removed.
1992         (SocketAvailable): Removed.
1993         (SocketClose): Removed.
1994         (SocketRead): Removed.
1995         (SocketWrite): Removed.
1996         (SocketChannelImpl): Just initialize internal socket object.
1997         (implCloseSelectableChannel): Close internal socket object.
1998         (implConfigureBlocking): Fixed implementation, added comment.
1999         (connect): Use internal socket object to connect.
2000         (socket): No need for sanity checks.
2001         (read): Comment out some stuff, this will be reimplemented in the next
2002         commit.
2003         (write): Likewise.
2004         * gnu/java/nio/natFileChannelImpl.cc
2005         (nio_mmap_file): Line wrapped.
2006         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2007         * Makefile.am
2008         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2009         * Makefile.in: Regenerated.
2010
2011 2003-06-18  Michael Koch  <konqueror@gmx.de>
2012
2013         * java/util/Locale.java
2014         (equals): Merged from classpath.
2015
2016 2003-06-18  Michael Koch  <konqueror@gmx.de>
2017
2018         * java/net/InetAddress.java:
2019         Reformatted to better match classpath's version.
2020         * java/net/URL.java
2021         (equals): Simplified.
2022         * java/net/URLConnection.java
2023         (setDoInput): Revised documentation.
2024         (getDefaultUseCaches): Likewise.
2025         (setRequestProperty): Added @since tag.
2026
2027 2003-06-17  Michael Koch  <konqueror@gmx.de>
2028
2029         * java/net/InetSocketAddress.java
2030         (InetSocketAddress): Use wildcard address if addr is null.
2031         (InetSocketAddress): Dont duplicate implementation.
2032         (InetSocketAddress): Throw exception when hostname is null.
2033         * java/net/Socket.java:
2034         Reworked imports.
2035         (Socket): Throw exception when raddr is null, handle case when laddr
2036         is null.
2037
2038 2003-06-17  Michael Koch  <konqueror@gmx.de>
2039
2040         * java/nio/DirectByteBufferImpl.java
2041         (address): Made package private.
2042         (DirectByteBufferImpl): New constructor.
2043         * java/nio/natDirectByteBufferImpl.cc
2044         (allocateImpl): Moved to java.nio namespace, implemented.
2045         (freeImpl): Likewise.
2046         (getImpl): Likewise.
2047         (putImpl): Likewise.
2048         * jni.cc
2049         (_Jv_JNI_NewDirectByteBuffer): Implemented.
2050         (_Jv_JNI_GetDirectBufferAddress): Implemented.
2051         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2052
2053 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2054
2055         * include/powerpc-signal.h: New File.
2056         * configure.in: Use it.
2057         * configure: Regenerated.
2058
2059 2003-06-17  Michael Koch  <konqueror@gmx.de>
2060
2061         * java/util/Locale.java
2062         (getDisplayLanguage): Made it final.
2063         (getDisplayCountry): Likewise.
2064         (getDisplayVariant): Likewise.
2065         (getDisplayName): Likewise.
2066
2067 2003-06-17  Michael Koch  <konqueror@gmx.de>
2068
2069         * java/util/PropertyResourceBundle.java:
2070         Removed unneeded import.
2071
2072 2003-06-17  Michael Koch  <konqueror@gmx.de>
2073
2074         * java/util/prefs/AbstractPreferences.java,
2075         java/util/prefs/PreferencesFactory.java:
2076         Reworked imports, removed unused imports.
2077         * java/util/prefs/Preferences.java
2078         (systemNodeForPackage): Method takes a Class not an Object.
2079         (userNodeForPackage): Likewise.
2080         (nodeForPackage): Likewise.
2081
2082 2003-06-17  Michael Koch  <konqueror@gmx.de>
2083
2084         * gnu/java/security/x509/X509Certificate.java:
2085         Explicitely import used classes.
2086
2087 2003-06-17  Michael Koch  <konqueror@gmx.de>
2088
2089         * java/util/zip/ZipEntry.java,
2090         java/util/zip/ZipFile.java,
2091         java/util/zip/ZipInputStream.java,
2092         java/util/zip/ZipOutputStream.java:
2093         Reworked imports, only import used classes.
2094
2095 2003-06-17  Michael Koch  <konqueror@gmx.de>
2096
2097         * gnu/java/lang/ArrayHelper.java,
2098         gnu/java/lang/ClassHelper.java:
2099         Reformatted to match classpath's versions.
2100
2101 2003-06-14  Michael Koch  <konqueror@gmx.de>
2102
2103         * gnu/java/nio/FileChannelImpl.java
2104         (map_address): Removed incorrect comment.        
2105         * gnu/java/nio/SelectorImpl.java
2106         (register): Remove code duplication and code for file channel handling.        
2107         * gnu/java/nio/ServerSocketChannelImpl.java
2108         (serverSocket): Renamed from sock_object.
2109         (ServerSocketChannel): Initialize serverSocket.
2110         (socket): Return serverSocket.
2111         * gnu/java/nio/SocketChannelImpl.java
2112         (socket): Renamed from sock_object.
2113         (isConnectionPenging): Simplified.
2114         (socket): Return socket.
2115 2003-06-14  Michael Koch  <konqueror@gmx.de>
2116
2117         * java/security/BasicPermission.java:
2118         New version from classpath.
2119
2120 2003-06-14  Michael Koch  <konqueror@gmx.de>
2121
2122         * javax/naming/directory/Attribute.java:
2123         New version from classpath.
2124
2125 2003-06-14  Michael Koch  <konqueror@gmx.de>
2126
2127         * java/io/BufferedReader.java,
2128         java/io/FileOutputStream.java:
2129         New versions from classpath.
2130
2131 2003-06-12  Andrew Haley  <aph@redhat.com>
2132
2133         * prims.cc (catch_segv): Create exception in handler.
2134         (catch_fpe): Likewise.  
2135         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2136         (_Jv_ThrowSignal): Remove.
2137
2138         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2139         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2140         to nullp and arithexception.
2141         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2142         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2143         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2144         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2145         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2146
2147 2003-06-11  Andrew Haley  <aph@redhat.com>
2148
2149         * jni.cc (_Jv_JNI_check_types): New.
2150         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2151         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2152         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2153         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2154         
2155         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2156         infinite loop.
2157
2158 2003-06-11  Tom Tromey  <tromey@redhat.com>
2159
2160         * java/lang/ClassLoader.java (loadClass): Not deprecated.
2161         * java/io/PrintStream.java: Not deprecated.
2162
2163 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
2164
2165         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2166         (fillOval): implemented
2167         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2168         (fillArc): implemented.
2169         * gnu/gcj/xlib/GC.java (drawArc): added native method.
2170         (fillArc): added native method.
2171         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2172         (fillArc): added native method.
2173
2174 2003-06-11  Michael Koch  <konqueror@gmx.de>
2175
2176         * java/awt/im/InputSubset.java:
2177         New version from classpath.
2178
2179 2003-06-11  Michael Koch  <konqueror@gmx.de>
2180
2181         * javax/swing/AbstractAction.java,
2182         javax/swing/AbstractButton.java,
2183         javax/swing/AbstractCellEditor.java,
2184         javax/swing/AbstractListModel.java,
2185         javax/swing/BorderFactory.java,
2186         javax/swing/Box.java,
2187         javax/swing/BoxLayout.java,
2188         javax/swing/ButtonGroup.java,
2189         javax/swing/DefaultButtonModel.java,
2190         javax/swing/DefaultListModel.java,
2191         javax/swing/DefaultListSelectionModel.java,
2192         javax/swing/FocusManager.java,
2193         javax/swing/ImageIcon.java,
2194         javax/swing/InputMap.java,
2195         javax/swing/JApplet.java,
2196         javax/swing/JButton.java,
2197         javax/swing/JCheckBox.java,
2198         javax/swing/JCheckBoxMenuItem.java,
2199         javax/swing/JColorChooser.java,
2200         javax/swing/JComboBox.java,
2201         javax/swing/JComponent.java,
2202         javax/swing/JDesktopPane.java,
2203         javax/swing/JDialog.java,
2204         javax/swing/JEditorPane.java,
2205         javax/swing/JFileChooser.java,
2206         javax/swing/JFormattedTextField.java,
2207         javax/swing/JFrame.java,
2208         javax/swing/JLabel.java,
2209         javax/swing/JLayeredPane.java,
2210         javax/swing/JList.java,
2211         javax/swing/JMenuBar.java,
2212         javax/swing/JMenuItem.java,
2213         javax/swing/JOptionPane.java,
2214         javax/swing/JPanel.java,
2215         javax/swing/JPasswordField.java,
2216         javax/swing/JPopupMenu.java,
2217         javax/swing/JProgressBar.java,
2218         javax/swing/JRadioButton.java,
2219         javax/swing/JRadioButtonMenuItem.java,
2220         javax/swing/JRootPane.java,
2221         javax/swing/JScrollBar.java,
2222         javax/swing/JScrollPane.java,
2223         javax/swing/JSeparator.java,
2224         javax/swing/JSlider.java,
2225         javax/swing/JTabbedPane.java,
2226         javax/swing/JTable.java,
2227         javax/swing/JTextField.java,
2228         javax/swing/JToggleButton.java,
2229         javax/swing/JToolBar.java,
2230         javax/swing/JToolTip.java,
2231         javax/swing/JTree.java,
2232         javax/swing/JViewport.java,
2233         javax/swing/JWindow.java,
2234         javax/swing/KeyStroke.java,
2235         javax/swing/ListSelectionModel.java,
2236         javax/swing/LookAndFeel.java,
2237         javax/swing/RepaintManager.java,
2238         javax/swing/ScrollPaneLayout.java,
2239         javax/swing/SizeRequirements.java,
2240         javax/swing/SwingConstants.java,
2241         javax/swing/Timer.java,
2242         javax/swing/UIDefaults.java,
2243         javax/swing/UIManager.java,
2244         javax/swing/border/AbstractBorder.java,
2245         javax/swing/border/CompoundBorder.java,
2246         javax/swing/colorchooser/AbstractColorChooserPanel.java,
2247         javax/swing/colorchooser/ColorChooserComponentFactory.java,
2248         javax/swing/colorchooser/ColorSelectionModel.java,
2249         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2250         javax/swing/event/AncestorEvent.java,
2251         javax/swing/event/HyperlinkEvent.java,
2252         javax/swing/event/InternalFrameAdapter.java,
2253         javax/swing/event/InternalFrameEvent.java,
2254         javax/swing/event/ListDataEvent.java,
2255         javax/swing/event/MouseInputAdapter.java,
2256         javax/swing/event/SwingPropertyChangeSupport.java,
2257         javax/swing/event/TableModelEvent.java,
2258         javax/swing/event/TreeWillExpandListener.java,
2259         javax/swing/event/UndoableEditEvent.java,
2260         javax/swing/filechooser/FileFilter.java,
2261         javax/swing/filechooser/FileSystemView.java,
2262         javax/swing/filechooser/FileView.java,
2263         javax/swing/plaf/BorderUIResource.java,
2264         javax/swing/plaf/basic/BasicDefaults.java,
2265         javax/swing/table/AbstractTableModel.java,
2266         javax/swing/table/DefaultTableCellRenderer.java,
2267         javax/swing/table/DefaultTableColumnModel.java,
2268         javax/swing/table/DefaultTableModel.java,
2269         javax/swing/table/TableColumn.java,
2270         javax/swing/text/JTextComponent.java,
2271         javax/swing/tree/AbstractLayoutCache.java,
2272         javax/swing/tree/DefaultMutableTreeNode.java,
2273         javax/swing/tree/DefaultTreeCellEditor.java,
2274         javax/swing/tree/DefaultTreeCellRenderer.java,
2275         javax/swing/tree/DefaultTreeModel.java,
2276         javax/swing/tree/DefaultTreeSelectionModel.java,
2277         javax/swing/tree/FixedHeightLayoutCache.java,
2278         javax/swing/tree/TreeCellEditor.java,
2279         javax/swing/tree/TreeModel.java,
2280         javax/swing/tree/TreeNode.java,
2281         javax/swing/tree/TreePath.java,
2282         javax/swing/tree/TreeSelectionModel.java,
2283         javax/swing/tree/VariableHeightLayoutCache.java,
2284         javax/swing/undo/AbstractUndoableEdit.java,
2285         javax/swing/undo/CompoundEdit.java,
2286         javax/swing/undo/StateEdit.java,
2287         javax/swing/undo/UndoManager.java,
2288         javax/swing/undo/UndoableEditSupport.java:
2289         New versions from classpath.
2290         * javax/swing/table/JTableHeader.java:
2291         New file from classpath.
2292         * Makefile.am
2293         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2294         * Makefile.in: Regenerated.
2295
2296 2003-06-11  Michael Koch  <konqueror@gmx.de>
2297
2298         * java/nio/MappedByteBuffer.java,
2299         java/nio/channels/Channels.java,
2300         java/nio/channels/ServerSocketChannel.java,
2301         java/nio/channels/spi/AbstractSelector.java:
2302         Removed unneeded imports.
2303
2304 2003-06-11  Michael Koch  <konqueror@gmx.de>
2305
2306         * java/net/DatagramSocket.java:
2307         Partly merged with classpath.
2308
2309 2003-06-11  Michael Koch  <konqueror@gmx.de>
2310
2311         * java/awt/Frame.java,
2312         java/awt/Graphics.java,
2313         java/awt/Menu.java,
2314         java/awt/Robot.java,
2315         java/awt/image/ColorModel.java:
2316         New versions from classpath.
2317
2318 2003-06-10  Michael Koch  <konqueror@gmx.de>
2319
2320         * java/io/PrintStream.java:
2321         Merged version from classpath.
2322         (close): Removed sychronized keyword. This class is not garantied to
2323         be thread-safe.
2324         (write): Likewise.
2325
2326 2003-06-09  Tom Tromey  <tromey@redhat.com>
2327
2328         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2329         field.
2330         (getDescent): Likewise, for "descent".
2331
2332 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
2333
2334         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2335         (getMaxDescent): adjusted return value.
2336         (getAscent): modified to use metrics for 'O'.
2337         (getDescent): modified to use metrics for 'y'.
2338
2339 2003-06-08  Anthony Green  <green@redhat.com>
2340
2341         * java/net/URLStreamHandler.java (sameFile): Fix port value
2342         comparison.
2343         * java/net/URL.java (handler): Make package private.
2344         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2345
2346 2003-06-07  Tom Tromey  <tromey@redhat.com>
2347
2348         For PR libgcj/11085:
2349         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2350         Limit number of characters in numeric field when required.
2351         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2352         Respect maximumIntegerDigits.
2353
2354 2003-06-08  Michael Koch  <konqueror@gmx.de>
2355
2356         * java/net/Socket.java
2357         (Socket): Dont initialize inputShutdown and outputShutdown twice,
2358         call bind() and connect() to actually do the bind and connect tasks.
2359         (bind): Connect to canonical address if bindpoint is null, create
2360         socket and bind it to bindpoint.
2361         (connect): Check for exceptions.
2362
2363 2003-06-08  Michael Koch  <konqueror@gmx.de>
2364
2365         * java/net/DatagramSocket.java
2366         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2367         into the Multicast constructors.
2368         * java/net/DatagramSocketImpl.java
2369         (getOption): Removed.
2370         (setOption): Removed.
2371         * java/net/MulticastSocket.java
2372         (MulticastSocket): Call setReuseAddress (true).
2373         * java/net/SocketImpl.java
2374         (getOption): Removed.
2375         (setOption): Removed.
2376
2377 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
2378
2379         PR libgcj/10886:
2380         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2381         Test for empty vector.
2382
2383 2003-06-06  Mark Wielaard  <mark@klomp.org>
2384
2385         * java/security/Security.java (secprops): Initialize.
2386         (loadProviders): Return boolean.
2387         (static): Check result of loadProvider calls. If necessary
2388         display WARNING and fallback to Gnu provider.
2389
2390 2002-06-06  James Clark  <jjc@jclark.com>
2391
2392         Fix for PR libgcj/8738:
2393         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2394         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2395         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2396         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2397         (write): Always decrease avail when count is increased.
2398         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2399         and whether output buffer is full before increasing size.
2400
2401 2002-06-06  Mark Wielaard  <mark@klomp dot org>
2402
2403         * java/io/PrintStream.java (writeChars(char[],int, int)):
2404         Check converter.havePendingBytes().
2405         (writeChars(String,int,int)): Likewise.
2406         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2407         Check converter.havePendingBytes() and flush buffer when stalled.
2408
2409 2003-06-07  Michael Koch  <konqueror@gmx.de>
2410
2411         * include/posix.h
2412         (O_DSYNC): Define O_DSYNC on platforms not
2413         supporting O_FSYNC (newlib).
2414
2415 2003-06-06  Mark Wielaard  <mark@klomp.org>
2416
2417         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2418         AWTError.
2419
2420 2003-06-06  Michael Koch  <konqueror@gmx.de>
2421
2422         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2423         More compile fixes from my stupid work yesterday.
2424
2425 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2426
2427         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2428         if _IEEE_LIBM is undefined.
2429
2430 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
2431
2432         * libjava/include/posix.h (O_SYNC): Define if not available
2433         and a reasonable, perhaps more conservative, replacement exists.
2434         (O_DSYNC): Likewise.
2435         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2436
2437 2003-06-05  Michael Koch  <konqueror@gmx.de>
2438
2439         * javax/swing/plaf/BorderUIResource.java,
2440         javax/swing/plaf/basic/BasicDefaults.java,
2441         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2442         More compile fixes for latest Border commit. I should not commit
2443         something in this heat here ...
2444
2445 2003-06-05  Michael Koch  <konqueror@gmx.de>
2446
2447         * javax/swing/border/BevelBorder.java
2448         (BevelBorder): Removed.
2449         * javax/swing/border/EmptyBorder.java:
2450         Reformatted.
2451         (EmptyBorder): Removed.
2452         (getBorderInsets): Dont use l, r, t and b.
2453         * javax/swing/border/EtchedBorder.java
2454         (EtchedBorder): Removed.
2455         * javax/swing/border/LineBorder.java
2456         (LineBorder): Removed.
2457         * javax/swing/border/MatteBorder.java
2458         (MatteBorder): Removed.
2459         * javax/swing/border/TitledBorder.java
2460         (defaultBorder): Use other default for now.
2461         (defaultFont): Likewise.
2462         (defaultColor): Likewise.
2463
2464 2003-06-05  Michael Koch  <konqueror@gmx.de>
2465
2466         * javax/swing/border/Border.java:
2467         New version from classpath.
2468
2469 2003-06-05  Michael Koch  <konqueror@gmx.de>
2470
2471         * javax/swing/border/AbstractBorder.java,
2472         javax/swing/border/BevelBorder.java,
2473         javax/swing/border/CompoundBorder.java,
2474         javax/swing/border/EmptyBorder.java,
2475         javax/swing/border/EtchedBorder.java,
2476         javax/swing/border/LineBorder.java,
2477         javax/swing/border/MatteBorder.java,
2478         javax/swing/border/TitledBorder.java:
2479         New versions from Classpath.
2480
2481 2003-06-05  Michael Koch  <konqueror@gmx.de>
2482
2483         * java/awt/Button.java,
2484         java/awt/Checkbox.java,
2485         java/awt/CheckboxMenuItem.java,
2486         java/awt/Choice.java,
2487         java/awt/Container.java,
2488         java/awt/Dialog.java,
2489         java/awt/EventQueue.java,
2490         java/awt/FileDialog.java,
2491         java/awt/Frame.java,
2492         java/awt/Label.java,
2493         java/awt/List.java,
2494         java/awt/Menu.java,
2495         java/awt/MenuItem.java,
2496         java/awt/Panel.java,
2497         java/awt/PopupMenu.java,
2498         java/awt/Rectangle.java,
2499         java/awt/ScrollPane.java,
2500         java/awt/Scrollbar.java,
2501         java/awt/TextArea.java,
2502         java/awt/TextField.java,
2503         java/awt/Window.java,
2504         java/awt/datatransfer/DataFlavor.java,
2505         java/awt/dnd/DragSource.java,
2506         java/awt/dnd/DragSourceContext.java,
2507         java/awt/event/HierarchyEvent.java,
2508         java/awt/event/MouseWheelEvent.java,
2509         java/awt/im/InputContext.java,
2510         java/awt/image/BufferedImage.java,
2511         java/awt/image/ComponentColorModel.java,
2512         java/awt/image/Raster.java,
2513         java/awt/image/WritableRaster.java,
2514         java/awt/peer/ComponentPeer.java,
2515         java/awt/print/PageFormat.java,
2516         java/awt/print/PrinterJob.java:
2517         New versions from Classpath.
2518
2519 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
2520
2521         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2522         numberFormat.setParseIntegerOnly(true).
2523
2524 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
2525
2526         * include/posix-threads.h: Include <machine/pal.h> on OSF.
2527
2528 2003-06-03  Andrew Haley  <aph@redhat.com>
2529
2530         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2531         stack volatile to prevent optimization from removing it.
2532
2533 2003-05-27  Michael Koch  <konqueror@gmx.de>
2534
2535         * java/util/zip/Deflater.java
2536         (FILTERED): Merged documentation from classpath.
2537         * java/util/zip/DeflaterOutputStream.java
2538         (DeflaterOutputStream): Merged documentation and argument validity
2539         check from classpath.
2540         (deflate): Merged documentation from classpath.
2541         (finish): Likewise.
2542         * java/util/zip/Inflater.java
2543         (Inflater): Merged class documentation from classpath.
2544         (zstream): Reordered.
2545         (is_finished): Reordered.
2546         (dict_needed): Reordered.
2547         (Inflater): Reordered, merged documentation from classpath.
2548         (end): Likewise.
2549         (finalize): Merged documentation from classpath.
2550         (finished): Likewise.
2551         (getAdler): Likewise.
2552         (getRemaining): Likewise.
2553         (getTotalIn): Likewise.
2554         (getTotalOut): Likewise.
2555         (inflate): Likewise.
2556         (needsDictionary): Likewise.
2557         (needsInput): Likewise.
2558         (reset): Likewise.
2559         (setDictionary): Likewise.
2560         (setInput): Likewise.
2561
2562 2003-05-27  Michael Koch  <konqueror@gmx.de>
2563
2564         * java/net/URLConnection.java
2565         (getHeaderFieldInt): Merged with classpath.
2566
2567 2003-05-27  Michael Koch  <konqueror@gmx.de>
2568
2569         * java/io/PrintStream.java
2570         (PrintStream): Reformatted.
2571         (PrintStream): New method, merged from classpath.
2572         (write): Reformatted.
2573
2574 2003-05-27  Michael Koch  <konqueror@gmx.de>
2575
2576         * java/lang/System.java:
2577         Explicitely import needed classes.
2578
2579 2003-05-26  Michael Koch  <konqueror@gmx.de>
2580
2581         * java/net/NetPermission.java,
2582         java/net/NetworkInterface.java,
2583         java/net/PasswordAuthentication.java,
2584         java/net/SocketPermission.java:
2585         New versions from classpath.
2586
2587 2003-05-25  Michael Koch  <konqueror@gmx.de>
2588
2589         * java/io/PushbackInputStream.java,
2590         java/net/Authenticator.java,
2591         java/net/ContentHandler.java,
2592         java/net/ContentHandlerFactory.java,
2593         java/net/DatagramSocket.java,
2594         java/net/DatagramSocketImpl.java,
2595         java/net/DatagramSocketImplFactory.java,
2596         java/net/FileNameMap.java,
2597         java/net/SocketImplFactory.java,
2598         java/net/SocketOptions.java,
2599         java/net/URLStreamHandlerFactory.java:
2600         Merged new versions from classpath.
2601
2602 2003-05-25  Michael Koch  <konqueror@gmx.de>
2603
2604         * java/awt/Checkbox.java,
2605         java/awt/Dialog.java,
2606         java/awt/Font.java,
2607         java/awt/Frame.java,
2608         java/awt/ScrollPaneAdjustable.java,
2609         java/awt/Scrollbar.java,
2610         java/awt/Window.java:
2611         New versions from classpath.
2612
2613 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
2614
2615         PR libgcj/10838:
2616         * java/io/ObjectInputStream (enableResolveObject):
2617         Fixed spelling of permission name.
2618
2619 2003-05-20  Michael Koch  <konqueror@gmx.de>
2620
2621         * java/io/DataInputStream.java
2622         (convertFromUTF): Merged comment from classpath.
2623         * java/io/PrintStream.java
2624         (error_occured): Renamed from error, merged comment from classpath.
2625         (PrintStream): No need to initialized error.
2626         (checkError): Replace error with error_occurred.
2627         (setError): Likewise.
2628
2629 2003-05-20  Michael Koch  <konqueror@gmx.de>
2630
2631         * java/io/DataInputStream.java:
2632         Reformatted, Replaced < and & with html entitites in documentation.
2633         * java/io/File.java:
2634         Reformatted.
2635         * java/io/PrintWriter.java:
2636         Moved class documentation.
2637
2638 2003-05-20  Michael Koch  <konqueror@gmx.de>
2639
2640         * gnu/java/nio/ByteBufferImpl.java,
2641         gnu/java/nio/CharBufferImpl.java,
2642         gnu/java/nio/CharViewBufferImpl.java,
2643         gnu/java/nio/DirectByteBufferImpl.java,
2644         gnu/java/nio/DoubleBufferImpl.java,
2645         gnu/java/nio/DoubleViewBufferImpl.java,
2646         gnu/java/nio/FloatBufferImpl.java,
2647         gnu/java/nio/FloatViewBufferImpl.java,
2648         gnu/java/nio/IntBufferImpl.java,
2649         gnu/java/nio/IntViewBufferImpl.java,
2650         gnu/java/nio/LongBufferImpl.java,
2651         gnu/java/nio/LongViewBufferImpl.java,
2652         gnu/java/nio/natDirectByteBufferImpl.cc,
2653         gnu/java/nio/ShortBufferImpl.java,
2654         gnu/java/nio/ShortViewBufferImpl.java:
2655         Moved files to java/nio.
2656         * gnu/java/nio/SocketChannelImpl.java
2657         
2658         * java/nio/ByteBuffer.java,
2659         java/nio/CharBuffer.java,
2660         java/nio/DoubleBuffer.java,
2661         java/nio/FloatBuffer.java,
2662         java/nio/IntBuffer.java,
2663         java/nio/LongBuffer.java,
2664         java/nio/ShortBuffer.java:
2665         Dont import anything.
2666         * java/nio/ByteBufferImpl.java,
2667         java/nio/CharBufferImpl.java,
2668         java/nio/CharViewBufferImpl.java,
2669         java/nio/DirectByteBufferImpl.java,
2670         java/nio/DoubleBufferImpl.java,
2671         java/nio/DoubleViewBufferImpl.java,
2672         java/nio/FloatBufferImpl.java,
2673         java/nio/FloatViewBufferImpl.java,
2674         java/nio/IntBufferImpl.java,
2675         java/nio/IntViewBufferImpl.java,
2676         java/nio/LongBufferImpl.java,
2677         java/nio/LongViewBufferImpl.java,
2678         java/nio/natDirectByteBufferImpl.cc,
2679         java/nio/ShortBufferImpl.java,
2680         java/nio/ShortViewBufferImpl.java:
2681         Moved from gnu/java/nio.
2682         * Makefile.am
2683         (ordinary_java_source_files): Moved files from gnu/java/nio to
2684         java/nio.
2685         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2686         to java/nio.
2687         * Makefile.in: Regenerated.
2688
2689 2003-05-19  Michael Koch  <konqueror@gmx.de>
2690
2691         * java/util/Calendar.java
2692         (get): Not final anymore since JDK 1.4
2693         (set): Likewise.
2694
2695 2003-05-19  Michael Koch  <konqueror@gmx.de>
2696
2697         * java/text/CollationKey.java:
2698         Merged copyright and dat from classpath.
2699         * java/text/RuleBasedCollator.java:
2700         Merged class documentation from classpath.
2701
2702 2003-05-19  Michael Koch  <konqueror@gmx.de>
2703
2704         * java/nio/CharBuffer.java
2705         (toString): Compile fix.
2706
2707 2003-05-19  Michael Koch  <konqueror@gmx.de>
2708
2709         * gnu/java/nio/ByteBufferImpl.java
2710         (putLong): Fixed conversion to bytes.
2711         (putDouble): Fixed conversion to bytes.
2712         * gnu/java/nio/DirectByteBufferImpl.java
2713         (putLong): Fixed conversion to bytes.
2714         (putDouble): Fixed conversion to bytes.
2715         * gnu/java/nio/FileLockImpl.java
2716         (isValid): Reformatted.
2717         * java/nio/Buffer.java
2718         (Buffer): Fixed off-by-one bug in handling mark.
2719         * java/nio/ByteBuffer.java:
2720         Added newline.
2721         * java/nio/CharBuffer.java
2722         (toString): Don't use relative get to get string data.
2723
2724 2003-05-16  Michael Koch  <konqueror@gmx.de>
2725
2726         * java/io/natFileDescriptorPosix.cc
2727         (open): Commented out the O_SYNC and O_DSYNC usage until its better
2728         tested.
2729
2730 2003-05-14  Michael Koch  <konqueror@gmx.de>
2731
2732         * gnu/java/nio/FileLockImpl.java
2733         (released): New member variable.
2734         (FileLockImpl): Initialize released.
2735         (releaseImpl): New native method.
2736         (release): Implemented.
2737         * gnu/java/nio/SelectorImpl.java: Reformatted.
2738         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2739         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2740         (accept): Throws IOException.
2741         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2742         (implConfigureBlocking): Throws IOException.
2743         (connect): Likewise.
2744         (read): Likewise.
2745         (write): Likewise.
2746         * gnu/java/nio/natFileLockImpl.cc: New file.
2747         * java/nio/channels/FileLock.java: Reformatted.
2748         * Makefile.am:
2749         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2750         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2751         * Makefile.in: Regenerated.
2752
2753 2003-05-13  Michael Koch  <konqueror@gmx.de>
2754
2755         * gnu/java/nio/CharViewBufferImpl.java
2756         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2757         (get): Shift bits to the right direction.
2758         (put): Likewise.
2759         * gnu/java/nio/DoubleViewBufferImpl.java
2760         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2761         (get): Shift bits to the right direction.
2762         (put): Likewise.
2763         * gnu/java/nio/FloatViewBufferImpl.java
2764         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2765         (get): Shift bits to the right direction.
2766         (put): Likewise.
2767         * gnu/java/nio/IntViewBufferImpl.java
2768         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2769         (get): Shift bits to the right direction.
2770         (put): Likewise.
2771         * gnu/java/nio/LongViewBufferImpl.java
2772         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2773         (get): Shift bits to the right direction.
2774         (put): Likewise.
2775         * gnu/java/nio/ShortViewBufferImpl.java
2776         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2777         (get): Shift bits to the right direction.
2778         (put): Likewise.
2779
2780 2003-05-13  Michael Koch  <konqueror@gmx.de>
2781
2782         * gnu/java/nio/natDirectByteBufferImpl.cc
2783         (allocateImpl): jlong -> RawData*.
2784         (freeImpl): Likewise.
2785
2786 2003-05-13  Michael Koch  <konqueror@gmx.de>
2787
2788         * java/nio/channels/FileChannel.java
2789         (MapMode.m): Made it package-private to match JDK 1.4.
2790         * java/nio/charset/Charset.java
2791         (decode): Made it final to match JDK 1.4.
2792
2793 2003-05-13  Michael Koch  <konqueror@gmx.de>
2794
2795        * java/io/FileDescriptor.java
2796        (SYNC): New constant.
2797        (DSYNC): Likewise.
2798        (getLength): Renamed from lenght() to match classpath's
2799        FileDescriptor.java.
2800        * java/io/RandomAccessFile.java
2801        (RandomAccessFile): Removed unneeded mode check, implemented mode
2802        "rws" and "rwd", merged documentation from classpath.
2803        (setLength): Reformatted.
2804        (length): Use new getLength() of FileDescriptor.
2805        * java/io/natFileDescriptorEcos.cc
2806        (getLength): Renamed from length().
2807        * java/io/natFileDescriptorPosix.cc
2808        (open): Implemented support for SYNC and DSYNC.
2809        (seek): Use getLength() instead of length().
2810        (getLength): Renamed from length().
2811        * java/io/natFileDescriptorWin32.cc
2812        (getLength): Renamed from length().
2813        (seek): Use getLength() instead of length().
2814        (available): Likewise.
2815        * gnu/java/nio/natFileChannelImpl.cc
2816        (size): Use getLength() instead of length().
2817
2818 2003-05-13  Michael Koch  <konqueror@gmx.de>
2819
2820         * gnu/java/nio/ByteBufferImpl.java
2821         (ByteBufferImpl): All constructors revised.
2822         (slice): Reimplemented.
2823         (duplicate): Reimplemented.
2824         (asReadOnlyBuffer): Reimplemented.
2825         * java/nio/ByteBuffer.java:
2826         Reformatted.
2827         (array_offset): Renamed from "offset" to match all other buffer
2828         classes.
2829         (ByteBuffer): All constructors revised.
2830         (allocateDirect): Implemented.
2831         (allocate): New implementation, documentation reworked.
2832         (wrap): Likewise.
2833         (get): Documentation reworked.
2834         (put): New implementation, documentation reworked.
2835         (hasArray): Documentation reworked.
2836         (arrayOffset): Likewise.
2837         (hashCode): Likewise.
2838         (equals): Likewise.
2839         (compareTo): Likewise.
2840         (order): Likewise.
2841         (compact): Likewise.
2842         (isDirect): Likewise.
2843         (slice): Likewise.
2844         (duplicate): Likewise.
2845         (asReadOnlyBuffer): Likewise.
2846         * Makefile.am
2847         (ordinary_java_source_files):
2848         Added gnu/java/nio/DirectByteBufferImpl.java.
2849         (nat_source_files):
2850         Added gnu/java/nio/natDirectByteBufferImpl.cc.
2851         * Makefile.in: Regenerated.
2852
2853 2003-05-12  Michael Koch  <konqueror@gmx.de>
2854
2855         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2856         (nio_get_*): Removed.
2857         (nio_put_*): Removed.
2858         (as*Buffer): Implemented.
2859         (compact): Implemented.
2860         (get): Documentation added.
2861         (put): Documentation added.
2862         (get*): Newly implemented.
2863         (put*): Newly implemented.
2864         * gnu/java/nio/CharBufferImpl.java: Reformatted.
2865         (CharBufferImpl): Revised.
2866         (slice): New implementation.
2867         (duplicate): New implementation.
2868         (compact): New implementation.
2869         (asReadOnlyBuffer): New implementation.
2870         (get): Documentation revised.
2871         (order): Return native byte order.
2872         * gnu/java/nio/DirectByteBufferImpl.java
2873         (allocateDirect): objects can be null not 0.
2874         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2875         (DoubleBufferImpl): Revised.
2876         (slice): New implementation.
2877         (duplicate): New implementation.
2878         (compact): New implementation.
2879         (asReadOnlyBuffer): New implementation.
2880         (get): Documentation revised.
2881         (order): Return native byte order.
2882         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2883         (FloatBufferImpl): Revised.
2884         (slice): New implementation.
2885         (duplicate): New implementation.
2886         (compact): New implementation.
2887         (asReadOnlyBuffer): New implementation.
2888         (get): Documentation revised.
2889         (order): Return native byte order.
2890         * gnu/java/nio/IntBufferImpl.java: Reformatted.
2891         (IntBufferImpl): Revised.
2892         (slice): New implementation.
2893         (duplicate): New implementation.
2894         (compact): New implementation.
2895         (asReadOnlyBuffer): New implementation.
2896         (get): Documentation revised.
2897         (order): Return native byte order.
2898         * gnu/java/nio/LongBufferImpl.java: Reformatted.
2899         (LongBufferImpl): Revised.
2900         (slice): New implementation.
2901         (duplicate): New implementation.
2902         (compact): New implementation.
2903         (asReadOnlyBuffer): New implementation.
2904         (get): Documentation revised.
2905         (order): Return native byte order.
2906         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2907         (ShortBufferImpl): Revised.
2908         (slice): New implementation.
2909         (duplicate): New implementation.
2910         (compact): New implementation.
2911         (asReadOnlyBuffer): New implementation.
2912         (get): Documentation revised.
2913         (order): Return native byte order.
2914         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2915         (CharBuffer): Revised.
2916         (order): Removed.
2917         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2918         (DoubleBuffer): Revised.
2919         (allocateDirect): Removed.
2920         (order): Removed.
2921         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2922         (FloatBuffer): Revised.
2923         (allocateDirect): Removed.
2924         (order): Removed.
2925         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2926         (IntBuffer): Revised.
2927         (allocateDirect): Removed.
2928         (order): Removed.
2929         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2930         (LongBuffer): Revised.
2931         (allocateDirect): Removed.
2932         (order): Removed.
2933         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2934         (ShortBuffer): Revised.
2935         (allocateDirect): Removed.
2936         (order): Removed.
2937         * gnu/java/nio/natByteBufferImpl.cc: Removed.
2938         * gnu/java/nio/natCharBufferImpl.cc: Removed.
2939         * Makefile.am
2940         (ordinary_java_source_files): Added the following files:
2941         gnu/java/nio/CharViewBufferImpl.java,
2942         gnu/java/nio/DoubleViewBufferImpl.java,
2943         gnu/java/nio/FloatViewBufferImpl.java,
2944         gnu/java/nio/IntViewBufferImpl.java,
2945         gnu/java/nio/LongViewBufferImpl.java,
2946         gnu/java/nio/ShortViewBufferImpl.java
2947         (nat_source_files): Removed the following files:
2948         gnu/java/nio/natByteBufferImpl.cc,
2949         gnu/java/nio/natCharBufferImpl.cc
2950         * Makefile.in: Regenerated.
2951
2952 2003-05-12  Michael Koch  <konqueror@gmx.de>
2953
2954         * gnu/java/nio/CharViewBufferImpl.java,
2955         gnu/java/nio/DirectByteBufferImpl.java,
2956         gnu/java/nio/DoubleViewBufferImpl.java,
2957         gnu/java/nio/FloatViewBufferImpl.java,
2958         gnu/java/nio/IntViewBufferImpl.java,
2959         gnu/java/nio/LongViewBufferImpl.java,
2960         gnu/java/nio/ShortViewBufferImpl.java,
2961         gnu/java/nio/natDirectByteBufferImpl.cc:
2962         New files, not yet to be compiled.
2963
2964 2003-05-10  Michael Koch  <konqueror@gmx.de>
2965
2966         * javax/swing/plaf/ButtonUI.java,
2967         javax/swing/plaf/ColorUIResource.java,
2968         javax/swing/plaf/ComponentUI.java,
2969         javax/swing/plaf/DimensionUIResource.java,
2970         javax/swing/plaf/FontUIResource.java,
2971         javax/swing/plaf/IconUIResource.java,
2972         javax/swing/plaf/InsetsUIResource.java,
2973         javax/swing/plaf/LabelUI.java,
2974         javax/swing/plaf/ListUI.java,
2975         javax/swing/plaf/OptionPaneUI.java,
2976         javax/swing/plaf/PanelUI.java,
2977         javax/swing/plaf/TabbedPaneUI.java,
2978         javax/swing/plaf/TextUI.java,
2979         javax/swing/plaf/TreeUI.java,
2980         javax/swing/plaf/ViewportUI.java,
2981         javax/swing/plaf/basic/BasicBorders.java,
2982         javax/swing/plaf/basic/BasicButtonUI.java,
2983         javax/swing/plaf/basic/BasicCheckBoxUI.java,
2984         javax/swing/plaf/basic/BasicDefaults.java,
2985         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2986         javax/swing/plaf/basic/BasicIconFactory.java,
2987         javax/swing/plaf/basic/BasicLabelUI.java,
2988         javax/swing/plaf/basic/BasicListUI.java,
2989         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2990         javax/swing/plaf/basic/BasicPanelUI.java,
2991         javax/swing/plaf/basic/BasicRadioButtonUI.java,
2992         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2993         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2994         javax/swing/plaf/basic/BasicTextUI.java,
2995         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2996         javax/swing/plaf/basic/BasicTreeUI.java,
2997         javax/swing/plaf/basic/BasicViewportUI.java,
2998         javax/swing/plaf/metal/MetalLookAndFeel.java:
2999         New versions from classpath. This adds copyrights to all files and
3000         some serialVersionUIDs.
3001
3002 2003-05-10  Michael Koch  <konqueror@gmx.de>
3003
3004         * java/nio/CharBuffer.java
3005         (offset): Make it package-private.
3006         (backing_buffer): Likewise.
3007         * java/nio/DoubleBuffer.java
3008         (offset): Make it package-private.
3009         (backing_buffer): Likewise.
3010         (put): Reformatted.
3011         * java/nio/FloatBuffer.java
3012         (offset): Make it package-private.
3013         (backing_buffer): Likewise.
3014         * java/nio/IntBuffer.java
3015         (offset): Make it package-private.
3016         (backing_buffer): Likewise.
3017         * java/nio/LongBuffer.java
3018         (offset): Make it package-private.
3019         (backing_buffer): Likewise.
3020         * java/nio/ShortBuffer.java
3021         (offset): Make it package-private.
3022         (backing_buffer): Likewise.
3023
3024 2003-05-10  Michael Koch  <konqueror@gmx.de>
3025
3026         * java/nio/CharBuffer.java
3027         (put): Fixed precondtion check.
3028         (toString): Make it work without backing array.
3029         (put): Skip one level of method calling.
3030
3031 2003-05-10  Michael Koch  <konqueror@gmx.de>
3032
3033         * java/security/Identity.java,
3034         java/security/IdentityScope.java,
3035         java/security/Key.java,
3036         java/security/KeyPair.java,
3037         java/security/PrivateKey.java,
3038         java/security/Provider.java,
3039         java/security/PublicKey.java,
3040         java/security/SecureRandom.java,
3041         java/security/SecureRandomSpi.java,
3042         java/security/SignedObject.java,
3043         java/security/Signer.java,
3044         java/security/cert/Certificate.java,
3045         java/security/cert/PKIXCertPathBuilderResult.java,
3046         java/security/cert/X509Certificate.java:
3047         New versions from classpath.
3048
3049 2003-05-09  Tom Tromey  <tromey@redhat.com>
3050
3051         * Makefile.in: Rebuilt.
3052         * Makefile.am (nat_source_files): Removed old files.
3053         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3054         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3055         * gnu/java/nio/natIntBufferImpl.cc: Removed.
3056         * gnu/java/nio/natLongBufferImpl.cc: Removed.
3057         * gnu/java/nio/natShortBufferImpl.cc: Removed.
3058
3059 2003-05-09  Michael Koch  <konqueror@gmx.de>
3060
3061         * gnu/java/nio/ByteBufferImpl.java
3062         (nio_cast): Removed.
3063         (ByteBufferImpl): Removed.
3064         (nio_get_Byte): Removed.
3065         (nio_put_Byte): Removed.
3066         (asByteBuffer): Removed.
3067         (asCharBuffer): Removed implementation and throw exception.
3068         (asShortBuffer): Likewise.
3069         (asIntBuffer): Likewise.
3070         (asLongBuffer): Likewise.
3071         (asFloatBuffer): Likewise.
3072         (asDoubleBuffer): Likewise.
3073         * gnu/java/nio/CharBufferImpl.java
3074         (CharBufferImpl): Removed.
3075         (nio_get_Byte): Removed.
3076         (nio_put_Byte): Removed.
3077         (asByteBuffer): Removed.
3078         * gnu/java/nio/DoubleBufferImpl.java
3079         (DoubleBufferImpl): Removed.
3080         (nio_get_Byte): Removed.
3081         (nio_put_Byte): Removed.
3082         (asByteBuffer): Removed.
3083         * gnu/java/nio/FloatBufferImpl.java
3084         (FloatBufferImpl): Removed.
3085         (nio_get_Byte): Removed.
3086         (nio_put_Byte): Removed.
3087         (asByteBuffer): Removed.
3088         * gnu/java/nio/IntBufferImpl.java
3089         (IntBufferImpl): Removed.
3090         (nio_get_Byte): Removed.
3091         (nio_put_Byte): Removed.
3092         (asByteBuffer): Removed.
3093         * gnu/java/nio/LongBufferImpl.java
3094         (LongBufferImpl): Removed.
3095         (nio_get_Byte): Removed.
3096         (nio_put_Byte): Removed.
3097         (asByteBuffer): Removed.
3098         * gnu/java/nio/ShortBufferImpl.java
3099         (ShortBufferImpl): Removed.
3100         (nio_get_Byte): Removed.
3101         (nio_put_Byte): Removed.
3102         (asByteBuffer): Removed.
3103         * gnu/java/nio/natByteBufferImpl.cc
3104         (nio_cast): Removed.
3105         (nio_get_Byte): Removed.
3106         (nio_put_Byte): Removed.
3107         * gnu/java/nio/natCharBufferImpl.cc
3108         (nio_get_Byte): Removed.
3109         (nio_put_Byte): Removed.
3110
3111 2003-05-09  Michael Koch  <konqueror@gmx.de>
3112
3113         * java/net/JarURLConnection.java
3114         (getJarEntry): Merged documentation from classpath.
3115         (getJarFile): Likewise.
3116         (getMainAttributes): Likewise.
3117         (getAttributes): Likewise.
3118         (getManifest): Likewise.
3119         (getCertificates): Reformatted.
3120         * java/net/URLConnection.java:
3121         Little classpath merge.
3122
3123 2003-05-09  Michael Koch  <konqueror@gmx.de>
3124
3125         * java/io/DataOutputStream.java
3126         (writeShort): Made it synchronized.
3127         (writeChar): Likewise.
3128         (writeInt): Likewise.
3129         (writeLong): Liekwise.
3130         (writeUTF): Made it synchronized, renamed argument to match classpath.
3131         * java/io/InputStreamReader.java
3132         (converter): Added documentation.
3133         (read): Merged documentation from classpath.
3134         * java/io/OutputStreamWriter.java
3135         (OutputStreamWriter): Merged documentation from classpath.
3136         (close): Reformatted.
3137         (getEncoding): Likewise.
3138         (flush): Likewise.
3139         (write): Merged documentation from classpath, reformatted.
3140
3141 2003-05-08  Tom Tromey  <tromey@redhat.com>
3142
3143         * configure.host <powerpc64*-*>: Set with_libffi_default and
3144         libgcj_interpreter to "yes".
3145
3146 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
3147
3148         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3149         
3150 2003-05-06  Tom Tromey  <tromey@redhat.com>
3151
3152         * verify.cc: Reverted previous patch.
3153
3154 2003-05-06  Michael Koch  <konqueror@gmx.de>
3155
3156         * java/io/DataOutputStream.java
3157         (write): Renamed argument to "value", merged documentation from
3158         classpath.
3159         (writeBoolean): Likewise.
3160         (writeByte): Likewise.
3161         (writeShort): Likewise.
3162         (writeChar): Likewise.
3163         (writeInt): Likewise.
3164         (writeLong): Likewise.
3165         (writeFloat): Likewise.
3166         (writeDouble): Likewise.
3167         (writeBytes): Likewise.
3168         (writeChars): Likewise.
3169         (writeUTF): Likewise.
3170         * java/io/File.java
3171         (performDelete): Added documentation.
3172         (performList): Likewise.
3173         (performMkdir): Likewise.
3174         (performSetReadOnly): Likewise.
3175         (performRenameTo): Likewise.
3176         (performSetLastModified): Likewise.
3177         (delete): Made it sychronized.
3178         (renameTo): Made it sychronized.
3179         (equals): Reformatted.
3180         (isHidden): Likewise.
3181         (listFiles): Likewise.
3182         (setReadOnly): Likewise.
3183         (listRoots): Likewise.
3184         (setLastModified): Likewise.
3185         (checkRead): Likewise.
3186         (checkWrite): Likewise.
3187         * java/io/FileInputStream.java
3188         (skip): Made it sychronized, merged from classpath.
3189         * java/io/FileOutputStream.java
3190         (write): Merged from classpath.
3191         * java/io/InputStreamReader.java:
3192         (InputStreamReader): Merged documentation from classpath.
3193
3194 2003-05-05  Michael Koch  <konqueror@gmx.de>
3195
3196         * java/net/NetworkInterface.java
3197         (networkInterfaces): Removed.
3198         (getByName): Use getRealNetworkInterfaces() instead of
3199         networkInterfaces.
3200         (getByInetAddress): Likewise.
3201         (getNetworkInterfaces): Likewise.
3202         (toString): Fix output of addresses of an interface.
3203
3204 2003-05-05  Michael Koch  <konqueror@gmx.de>
3205
3206         * java/io/DataInputStream.java:
3207         Merged new documentation from classpath.
3208
3209 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
3210
3211         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
3212         "version".
3213         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
3214         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
3215         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
3216         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
3217         * gnu/awt/gtk/GtkMainThread.java: Likewise.
3218         * gnu/awt/gtk/GtkToolkit.java: Likewise.
3219         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
3220         * java/security/Key.java: Likewise.
3221         * java/security/PrivateKey.java: Likewise.
3222         * java/security/Provider.java: Likewise.
3223         * java/security/PublicKey.java: Likewise.
3224
3225 2003-05-02  Michael Koch  <konqueror@gmx.de>
3226
3227         * java/net/URI.java
3228         (create): Doesnt throws any exceptions.
3229         * java/net/URLConnection.java
3230         (URLConnection): Commend added.
3231         (getExpiration): The header field is called "expires" not
3232         "expiration".
3233         (getHeaderField): Merged documentation with classpath.
3234         (getHeaderFieldInt): Likewise.
3235         (getHeaderFieldDate): Likewise.
3236         (getHeaderFieldKey): Likewise.
3237         (getPermission): Likewise.
3238         (setDefaultUseCaches): Likewise.
3239         (setRequestProperty): Likewise.
3240         (addRequestProperty): Likewise.
3241         (getRequestProperty): Likewise.
3242         (getRequestProperties): Likewise.
3243         (setDefaultRequestProperty): Likewise.
3244         (getDefaultRequestProperty): Likewise.
3245         (guessContentTypeFromStream): Likewise.
3246         (getFileNameMap): Likewise.
3247         (setFileNameMap): Likewise.
3248         (setDoInput): Merged implementation and documentation with classpath.
3249         (setDoOutput): Likewise.
3250         (setAllowUserInteraction): Likewise.
3251         (setDefaultAllowUserInteraction): Likewise.
3252         (setContentHandlerFactory): Made it synchronized, merged documentation
3253         with classpath.
3254         (guessContentTypeFromName): Renamed argument fname to filename to
3255         match classpath, merged documentation with classpath.
3256
3257 2003-05-02  Michael Koch  <konqueror@gmx.de>
3258
3259         * java/net/JarURLConnection.java
3260         (JarURLConnection): Class documentation merged with classpath.
3261         (getJarFileURL): Moved and documentation merged with classpath.
3262         (getEntryName): Likewise.
3263         (JarURLConnection): Documentation merged with classpath.
3264         (getJarEntry): Likewise.
3265         (getJarFile): Likewise.
3266         * java/net/PlainDatagramSocketImpl.java:
3267         Class documentation moved.
3268         * java/net/URLConnection.java
3269         (fileNameMap): Moved and documentation merged with classpath.
3270         (factory): Likewise.
3271         (defaultAllowUserInteraction): Likewis.
3272         (defaultUseCaches): Likewise.
3273         (allowUserInteraction): Likewise.
3274         (connected): Likewise.
3275         (url): Likewise.
3276         (connect): Documentation merged with classpath.
3277         (getURL): Likewise.
3278         (getContentLength): Likewise.
3279         (getContentType): Likewise.
3280         (getContentEncoding): Likewise.
3281         (getExpiration): Likewise.
3282         (getDate): Likewise.
3283         (getLastModified): Likewise.
3284         (getHeaderField): Likewise.
3285         (getContent): Likewise.
3286         (getPermission): Likewise.
3287         (getInputStream): Likewise.
3288         (getOutputStream): Likewise.
3289         (toString): Likewise.
3290         (getDoInput): Likewise.
3291         (getDoOutput): Likewise.
3292         (setAllowUserInteraction): Likewise.
3293         (getAllowUserInteraction): Likewise.
3294         (setDefaultAllowUserInteraction): Likewise.
3295         (getDefaultAllowUserInteraction): Likewise.
3296         (setUseCaches): Likewise.
3297         (getUseCaches): Likewise.
3298         (setIfModifiedSince): Likewise.
3299         (getIfModifiedSince): Likewise.
3300         (setDefaultRequestProperty): Likewise.
3301         (getDefaultRequestProperty): Likewise.
3302         (setContentHandlerFactory): Likewise.
3303         (setFileNameMap): Likewise.
3304
3305 2003-05-02  Michael Koch  <konqueror@gmx.de>
3306
3307         * java/net/InetAddress.java:
3308         Merged class documentation with classpath.
3309         * java/net/JarURLConnection.java:
3310         Explicitely import all used classes.
3311         * java/net/URL.java:
3312         Reformatting.
3313         * java/net/ServerSocket.java,
3314         java/net/Socket.java:
3315         New versions from classpath.
3316
3317 2003-05-02  Michael Koch  <konqueror@gmx.de>
3318
3319         * gnu/java/nio/FileChannelImpl.java
3320         (read): New implementation.
3321         (implRead): New methods.
3322         (write): New implementation, call other write insteal of read method.
3323         (implWrite): New methods.
3324         (map): Added comment.
3325         (transferFrom): Implemented.
3326         (transferTo): Implemented.
3327         (lock): Added checks to throw exceptions.
3328         (truncate): Added check to throw exception.
3329         * gnu/java/nio/natFileChannelImpl.cc
3330         (implRead): New method.
3331         (implWrite): New method.
3332         * java/nio/ByteBuffer.java
3333         (hashCode): Fixed comment.
3334         (get): Fixed exception documentation.
3335         (put): Fixed exception documentation.
3336         * java/nio/CharBuffer.java:
3337         Added comment for later optimizations.
3338
3339 2003-04-30  Tom Tromey  <tromey@redhat.com>
3340
3341         PR libgcj/10582:
3342         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
3343         Removed.
3344         (type::compatible): Use _Jv_IsAssignableFrom.
3345         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
3346         (_Jv_IsAssignableFrom): Work even when source or target class is
3347         not prepared.
3348
3349 2003-04-30  Michael Koch  <konqueror@gmx.de>
3350
3351         * java/text/BreakIterator.java
3352         (clone): New method.
3353
3354 2003-04-30  Michael Koch  <konqueror@gmx.de>
3355
3356         * java/text/CollationElementIterator.java,
3357         java/text/CollationKey.java,
3358         java/text/RuleBasedCollator.java:
3359         Merged copyright and documentation from classpath and
3360         rearranged some code. No code changes done.
3361
3362 2003-04-30  Michael Koch  <konqueror@gmx.de>
3363
3364         * java/util/regex/Matcher.java
3365         (pattern): New member variable.
3366         (appendReplacement): New method.
3367         (appendTail): New method.
3368         (end): New method.
3369         (find): New method.
3370         (group): New method.
3371         (replaceFirst): Added documentation.
3372         (replaceAll): Added documentation.
3373         (groupCount): New method.
3374         (lookingAt): New method.
3375         (matches): New method.
3376         (reset): New method.
3377         (start): New method.
3378         * java/util/regex/Pattern.java
3379         (serialVersionUID): New constant.
3380         (CANON_EQ): New constant.
3381         (CASE_INSENSITIVE): New constant.
3382         (COMMENTS): New constant.
3383         (DOTALL): New constant.
3384         (MULTILINE): New constant.
3385         (UNICODE_CASE): New constant.
3386         (UNIX_LINES): New constant.
3387         (regex): New member variable.
3388         (flags): New member variable.
3389         (Pattern): New method.
3390         (compile): Documentation added.
3391         (flags): New method.
3392         (matches): Documentation added.
3393         (matcher): Documentation added.
3394         (split): Documentation added.
3395         (pattern): New method.
3396
3397 2003-04-30  Michael Koch  <konqueror@gmx.de>
3398
3399         * gnu/java/security/Engine.java,
3400         gnu/java/security/OID.java,
3401         gnu/java/security/der/BitString.java,
3402         gnu/java/security/der/DER.java,
3403         gnu/java/security/der/DERReader.java,
3404         gnu/java/security/der/DERValue.java,
3405         gnu/java/security/der/DERWriter.java,
3406         gnu/java/security/provider/DSAKeyFactory.java,
3407         gnu/java/security/provider/X509CertificateFactory.java,
3408         gnu/java/security/x509/X500DistinguishedName.java,
3409         gnu/java/security/x509/X509CRL.java,
3410         gnu/java/security/x509/X509CRLEntry.java,
3411         gnu/java/security/x509/X509Certificate.java,
3412         java/security/cert/CRLSelector.java,
3413         java/security/cert/CertPathBuilder.java,
3414         java/security/cert/CertPathBuilderResult.java,
3415         java/security/cert/CertPathBuilderSpi.java,
3416         java/security/cert/CertPathParameters.java,
3417         java/security/cert/CertPathValidator.java,
3418         java/security/cert/CertPathValidatorResult.java,
3419         java/security/cert/CertPathValidatorSpi.java,
3420         java/security/cert/CertSelector.java,
3421         java/security/cert/CertStore.java,
3422         java/security/cert/CertStoreParameters.java,
3423         java/security/cert/CertStoreSpi.java,
3424         java/security/cert/CollectionCertStoreParameters.java,
3425         java/security/cert/LDAPCertStoreParameters.java,
3426         java/security/cert/PKIXBuilderParameters.java,
3427         java/security/cert/PKIXCertPathBuilderResult.java,
3428         java/security/cert/PKIXCertPathChecker.java,
3429         java/security/cert/PKIXCertPathValidatorResult.java,
3430         java/security/cert/PKIXParameters.java,
3431         java/security/cert/PolicyNode.java,
3432         java/security/cert/PolicyQualifierInfo.java,
3433         java/security/cert/TrustAnchor.java,
3434         javax/security/auth/x500/X500Principal.java:
3435         New files from classpath.
3436         * gnu/java/io/ASN1ParsingException.java,
3437         gnu/java/io/Base64InputStream.java,
3438         gnu/java/security/der/DEREncodingException.java,
3439         gnu/java/security/provider/DSAParameters.java,
3440         gnu/java/security/provider/DSASignature.java,
3441         gnu/java/security/provider/Gnu.java,
3442         gnu/java/security/provider/GnuDSAPrivateKey.java,
3443         gnu/java/security/provider/GnuDSAPublicKey.java,
3444         java/security/AlgorithmParameterGenerator.java,
3445         java/security/AlgorithmParameters.java,
3446         java/security/KeyFactory.java,
3447         java/security/KeyPairGenerator.java,
3448         java/security/KeyStore.java,
3449         java/security/MessageDigest.java,
3450         java/security/SecureClassLoader.java,
3451         java/security/SecureRandom.java,
3452         java/security/Security.java,
3453         java/security/Signature.java,
3454         java/security/cert/Certificate.java,
3455         java/security/cert/CertificateFactory.java,
3456         java/security/cert/CertificateFactorySpi.java,
3457         java/security/cert/X509CRL.java,
3458         java/security/cert/X509Certificate.java,
3459         java/security/spec/DSAPublicKeySpec.java:
3460         New versions from classpath.
3461         * gnu/java/security/provider/DERReader.java,
3462         gnu/java/security/provider/DERWriter.java,
3463         java/security/Engine.java: Removed.
3464         * Makefile.am
3465