OSDN Git Service

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