OSDN Git Service

2003-09-18 Sascha Brawer <brawer@dandelis.ch>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2
3         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
5
6 2003-09-18  Tom Tromey  <tromey@redhat.com>
7
8         * javax/naming/InitialContext.java: Reindented.
9
10 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
11             Helmer Kraemer <hkraemer@freenet.de>
12
13         * javax/naming/spi/NamingManager.java (getURLContext,
14         getObjectInstance, getStateToBind): Always use current thread's
15         context class loader when calling Class.forName.
16
17 2003-09-18  Michael Koch  <konqueror@gmx.de>
18
19         * java/util/Timer.java (finalize): Added "throws Throwable".
20
21 2003-09-18  Michael Koch  <konqueror@gmx.de>
22
23         * java/net/DatagramSocket.java
24         (ch): Removed.
25         (receive): Use getChannel() instead of ch.
26         (send): Likewise.
27         (getChannel): Return null.
28         * java/net/ServerSocket.java
29         (ch): Removed.
30         (setChannel): Removed.
31         (implAccept): Use getChannel() instead of ch.
32         (close): Likewise.
33         (getChannel): Return null.
34         * java/net/Socket.java
35         (ch): Removed.
36         (connect): Use getChannel() instead of ch.
37         (setChannel): Removed.
38         (getChannel): Return null.
39
40 2003-09-18  Mark Wielaard  <mark@klomp.org>
41
42         Reported by Guilhem Lavaux and Julian Dolby
43         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
44         field "serialPersistentFields", not "getSerialPersistentFields".
45
46 2003-09-18  Ingo Proetel  <proetel@aicas.com>
47
48         * java/util/TimeZone.java: Initialize lazily.
49         * java/util/Locale.java (readManifest): Fix check for country.
50         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
51         traceable 
52         * java/util/Calendar.java: Make use of ResourceBundle better
53         traceable.
54
55 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
56
57         * java/sql/Timestamp.java
58         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
59
60 2003-09-18  David P Grove  <groved@us.ibm.com>
61
62         * java/io/LineNumberReader (read): Don't reset pos & limit when
63         markPos is 0.
64
65 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
66
67         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
68         constant.
69         (computeArguments): use computeTypicalArguments.
70
71         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
72         Compile_jikes.java and RMICException.java.
73         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
74         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
75         * gnu/java/rmi/rmic/RMICException.java: Likewise.
76  
77         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
78  
79         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
80         (computeTypicalArguments): New method.
81         (compile): Print compiler output to System.out. Collect compiler
82         error output and use it in exception message.
83  
84         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
85         (destination): Initialize to null.
86         (run): Replace file separator with '.' when processing class.
87         (processClass): Replace '.' with file separator when compiling
88         classes.
89         (findClass): Use SystemClassLoader to load class.
90         (generateStub): Use full class name for generated stub, that puts
91         it in right path.  Replace '.' with file separator when generating
92         stub file name. Write just the stub class name without package
93         information as class name, and constructor name. Write only
94         interface names for interfaces extending java.rmi.Remote as
95         implemented.
96         (generateSkel): Use full class name for generated skel, that puts
97         it in right path.  Replace '.' with file separator when generating
98         stub file name. Write just the stub class name without package
99         information as class name.
100
101 2003-09-18  Michael Koch  <konqueror@gmx.de>
102
103         * Makefile.am (rmi_java_source_files):
104         Added gnu/java/rmi/rmic/Compile_kjc.java,
105         gnu/java/rmi/rmic/Compile_jikes.java and
106         gnu/java/rmi/rmic/RMICException.java
107         * Makefile.in: Regenerated.
108
109 2003-09-17  Graydon Hoare  <graydon@redhat.com>
110
111         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
112         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
113         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
114         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
115         New files.
116
117 2003-09-16  Graydon Hoare  <graydon@redhat.com>
118
119         * java/awt/BufferedImage.java (setData): Support non-component
120         sample models.
121         (getData): Same.
122
123 2003-09-10  Graydon Hoare  <graydon@redhat.com>
124
125         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
126         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
127
128 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
129
130         * configure.in: Standardized help text case of
131         --enable-hash-synchronization
132         New configure switch --enable-libgcj-multifile and corresponding
133         automake conditional ONESTEP.
134         * configure: Rebuilt.
135         * Makefile.am: Use automake conditional ONESTEP to determine
136         whether classfiles should be compiled individually or all
137         at once.
138         * Makefile.in: Rebuilt.
139
140 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
141
142         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
143         Remove method declaration.
144         (create()): Call native create.
145         (create(int)): New method.
146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
147         (create): Add window_id parameter.  Call gtk_plug_new with
148         window_id parameter.
149         (construct): Remove method implementation.
150
151 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
152
153         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
154         (mostlyclean-local): New target patterned after clean-local
155         which recursively deletes all libtool objects using 'libtool rm'.
156         (clean-local): Slightly modified comment to alleviate monotony.
157         (distclean-local): New target patterned after clean-local
158         which recursively deletes all .d files.
159         * Makefile.in: Rebuilt.
160
161 2003-09-11  Tom Tromey  <tromey@redhat.com>
162
163         * java/net/URLStreamHandler.java (parseURL): If original file
164         ends with "/", so must canonical result.
165         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
166         with nul-termination and finding previous "/".
167
168 2003-09-11  Michael Koch  <konqueror@gmx.de>
169
170         * acconfig.h: Removed most items.
171         * configure.in: Added descriptions to AC_DEFINE macros that where in
172         acconfig.h before.
173         * include/config.h.in: Regenerated.
174
175 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
176
177         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
178         if one is installed. Improve Javadoc.
179         (getSystemEventQueueImpl): Improve Javadoc.
180
181 2003-09-11  Tom Tromey  <tromey@redhat.com>
182
183         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
184         file does not exist.
185
186 2003-09-10  Anthony Green  <green@redhat.com>
187
188         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
189         Specify full name when referencing ::java::net::InetAddress.
190         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
191         Fix argument type.
192
193 2003-09-10  Michael Koch  <konqueror@gmx.de>
194
195         * acconfig.h (__NO_MATH_INLINES): Removed.
196         * configure.in: Removed check for g++ math inlining bug from 2000.
197         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
198         libgcj_cxxflags.
199         * configure: Regenerated.
200
201 2003-09-10  David Daney <ddaney@avtrex.com>
202
203         * java/util/Arrays.java (equals(all variants)): Quit using
204         NullPointerException catching to detect null valued parameters.
205
206 2003-09-10  Michael Koch  <konqueror@gmx.de>
207
208         * java/net/DatagramSocket.java,
209         java/net/MulticastSocket.java,
210         java/net/ServerSocket.java,
211         java/net/Socket.java:
212         Use gnu.java.net.Plain*SocketImpl instead of
213         java.net.PlainSocketImpl.
214         * java/net/PlainDatagramSocketImpl.java,
215         java/net/PlainSocketImpl.java,
216         java/net/SocketInputStream.java,
217         java/net/SocketOutputStream.java,
218         java/net/natPlainDatagramSocketImplNoNet.cc,
219         java/net/natPlainDatagramSocketImplPosix.cc,
220         java/net/natPlainDatagramSocketImplWin32.cc,
221         java/net/natPlainSocketImplNoNet.cc,
222         java/net/natPlainSocketImplPosix.cc,
223         java/net/natPlainSocketImplWin32.cc:
224         Removed.
225         * gnu/java/net/PlainDatagramSocketImpl.java,
226         gnu/java/net/PlainSocketImpl.java,
227         gnu/java/net/SocketInputStream.java,
228         gnu/java/net/SocketOutputStream.java,
229         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
230         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
231         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
232         gnu/java/net/natPlainSocketImplNoNet.cc,
233         gnu/java/net/natPlainSocketImplPosix.cc,
234         gnu/java/net/natPlainSocketImplWin32.cc:
235         New files (moved from java/net).
236         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
237         instead of java/net/natPlain*SocketImpl.cc.
238         * configure: Regenerated.
239         * Makefile.am: Moved files from java/net to gnu/java/net.
240         * Makefile.in: Regenerated.
241
242 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
243
244         * configure: Regenerate.
245
246 2003-09-04  Tom Tromey  <tromey@redhat.com>
247
248         * configure.host: Removed erroneous comment.
249
250         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
251         lvalue cast; use correct rvalue cast.
252
253 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
254
255         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
256         and height arguments to GtkWindowPeer.create method call.
257         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
258         (create(int,int,int)): New method.
259         (create(int)): Add call to new create method.
260         (create()): Add width and height arguments to create method
261         call.
262         (GtkWindowPeer): Remove call to setBounds.
263         * java/awt/Frame.java (Frame(String)): Initialize visible field
264         to false.
265         (Frame(GraphicsConfiguration)): Likewise.
266         (Frame(String,GraphicsConfiguration)): Likewise.
267         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
268         Add width and height parameters.  Call
269         gtk_window_set_default_size.
270         (connectHooks): Remove unused name variable.
271         (static setBounds): Call gtk_window_resize not
272         gtk_widget_set_usize.
273         (setBounds): Remove unused nchildren variable.
274
275 2003-08-31  Ingo Proetel  <proetel@aicas.com>
276
277         * java/util/logging/Logger.java: provide class and method information
278         * java/util/logging/LogManager.java: create handlers
279         * java/util/logging/SimpleFormatter.java: print souceClassName and
280         sourceMethodName
281
282 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
283
284         * win32.cc: fixed tab, indentation and whitespace
285         inconsistencies
286         removed jvm.h include
287         added includes java/lang/UnsupportedOperationException.h,
288         java/io/IOException.h, java/net/SocketException.h
289         (WSAEventWrapper): class implementation
290         (_Jv_WinStrError): implemented both overloads
291         (_Jv_ThrowIOException): implemented both overloads
292         (_Jv_ThrowSocketException): implemented both overloads
293         (_Jv_select): implemented
294         * include/win32.h: fixed tab, indentation and whitespace
295         inconsistencies
296         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
297         added jvm.h include
298         (WSAEventWrapper): added class declaration
299         (_Jv_WinStrError): added both overload declarations
300         (_Jv_ThrowIOException): added both overload declarations
301         (_Jv_ThrowSocketException): added both overload declarations
302         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
303         (_Jv_select): added declaration
304         (_Jv_socket): removed
305         (_Jv_connect): removed
306         (_Jv_close): removed
307         (_Jv_bind): removed
308         (_Jv_accept): removed
309         (_Jv_listen): removed
310         (_Jv_write): removed
311         (_Jv_read): removed
312         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
313         whitespace inconsistencies
314         replaced <windows.h> #include with <platform.h>
315         removed jvm.h include
316         (testCanUseGetHandleInfo): new function which tests whether Win32
317         GetHandleInformation() call can be used with console buffer handles
318         (only supported on >=WinNT 5.0)
319         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
320         (valid): rewrote implementation using GetHandleInformation()
321         (sync):         changed exception throwing to use error string and exception
322         helper methods declared in include/win32.h
323         (open): likewise
324         (write): likewise
325         (setLength): likewise
326         (close): likewise
327         (seek): likewise
328         (getFilePointer): likewise
329         (read): likewise
330         * java/io/natFileWin32.cc: fixed tab, indentation and
331         whitespace inconsistencies
332         replaced <windows.h> #include with <platform.h>
333         removed jvm.h include
334         (_access): use JV_TEMP_UTF_STRING
335         (_stat): likewise
336         (performMkDir): use JV_TEMP_UTF_STRING
337         (performRenameTo): likewise
338         (performDelete): likewise
339         (performCreate): likewise
340         (performSetReadOnly): likewise
341         (performSetLastModified): likewise
342         * java/lang/natWin32Process.cc: fixed tab, indentation and
343         whitespace inconsistencies
344         replaced <windows.h> #include with <platform.h>
345         removed includes gcj/cni.h, jvm.h
346         (new_string): removed
347         (startProcess): use JV_TEMP_UTF_STRING,
348         changed exception throwing to use error string and exception
349         helper methods declared in include/win32.h
350         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
351         whitespace inconsistencies
352         replaced <windows.h> #include with <platform.h>
353         removed jvm.h include
354         removed DISABLE_JAVA_NET conditional code
355         removed POSIX conditional code not relevant to Win32
356         (aton): use JV_TEMP_UTF_STRING
357         removed POSIX conditional code not relevant to Win32
358         (lookup): likewise
359         (getLocalHostName): likewise
360         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
361         whitespace inconsistencies
362         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
363         removed DISABLE_JAVA_NET conditional code
364         removed POSIX conditional code not relevant to Win32
365         (winsock2GetRealNetworkInterfaces): new function to compute network
366         interfaces via Winsock2 API
367         (determineGetRealNetworkInterfacesFN): new function for returning
368         a function pointer to the function used to compute network interfaces.
369         (getRealNetworkInterfaces): implemented
370         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
371         whitespace inconsistencies
372         removed gcj/cni.h include
373         removed DISABLE_JAVA_NET conditional code
374         removed POSIX conditional code not relevant to Win32
375         changed net POSIXisms to Win32isms
376         replaced _Jv socket-related calls with their real Win32 equivalents
377         changed exception throwing to use error string and exception
378         helper methods declared in include/win32.h
379         (peekData): implemented timeout support
380         (receive): likewise
381         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
382         whitespace inconsistencies
383         removed gcj/cni.h and gcj/javaprims.h includes
384         removed DISABLE_JAVA_NET conditional code
385         removed POSIX conditional code not relevant to Win32
386         changed net POSIXisms to Win32isms
387         replaced _Jv socket-related calls with their real Win32
388         equivalents
389         changed exception throwing to use error string and exception
390         helper methods declared in include/win32.h
391         (throwConnectException): helper function for connect()
392         (connect): implemented timeout support
393         (accept): likewise
394         (doRead): new helper function common to both read() method overloads,
395         includes timeout support
396         (read): implemented both overloads in terms of doRead()
397         (available): implemented using ioctlsocket()
398
399 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
400
401         * java/net/natInetAddressWin32.cc,
402         java/net/natNetworkInterfaceWin32.cc,
403         java/net/natPlainDatagramSocketImplWin32.cc,
404         java/net/natPlainSocketImplWin32.cc:
405         Readded code enclosed in DISABLE_JAVA_NET defines
406         in preparation for MinGW cleanup / networking
407         patch
408
409 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
410
411         * Makefile.am: Fixed problems with parallel makes.
412         (all_java_class_files): Readded definition.
413         (all_java_class_files): New target which depends on
414         libgcj-@gcc_version@.jar
415         * Makefile.in: Rebuilt
416
417 2003-08-28  Tom Tromey  <tromey@redhat.com>
418
419         * Makefile.in: Rebuilt.
420         * Makefile.am (ordinary_java_source_files): Added new files.
421         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
422         friend.
423         * java/net/URLClassLoader.java (findClass): Don't use
424         findURLResource.  Use loader's getClass method.
425         (URLLoader.getClass): New method.
426         (addURL): Handle `gcjlib' URLs.
427         (SoURLLoader): New class.
428         (SoResource): Likewise.
429         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
430         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
431         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
432         (_Jv_RegisterCoreHook): Declare.
433         (_Jv_FindCore): Declare.
434         * gnu/gcj/runtime/SharedLibHelper.java: New file.
435         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
436         typedef.
437         (core_hook): New function.
438         (struct SharedLibDummy) [saved_core]: New field.
439         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
440         (register_hook): Set protection domain and class loader on new
441         class.
442         (finalize): Free core chain.
443         * gnu/gcj/Core.java (Core): New constructor.
444         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
445         SharedLibHelper.
446         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
447         (_Jv_create_core): New function.
448         (create): Use it.
449         (default_register_resource): New function.
450         (_Jv_RegisterCoreHook): New global.
451         (_Jv_RegisterResource): Use it.
452         (core_chain_struct): Removed.
453         (_Jv_FindCore): New function.
454         (_Jv_FreeCoreChain): New function.
455
456 2003-08-29  Michael Koch  <konqueror@gmx.de>
457
458         * java/net/natInetAddressWin32.cc,
459         java/net/natNetworkInterfaceWin32.cc,
460         java/net/natPlainDatagramSocketImplWin32.cc,
461         java/net/natPlainSocketImplWin32.cc:
462         Removed code enclosed in DISABLE_JAVA_NET defines.
463
464 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
465
466         * Makefile.am: (write_entries_to_file) New parameterized
467         function for writing entries to a file one line at a time.
468         (all_java_class_files): Removed definition.
469         (.java.class) Removed.target.
470         (libgcj-@gcc_version@.jar): Changed dependency to
471         $(all_java_source_files); added compilation step which compiles
472         all changed source files in one pass.
473         (libgcj.la) Refactored to use write_entries_to_file.
474         (lib-gnu-awt-xlib.la) Likewise.
475         (install-data-local) Likewise.
476         (write-entries-to-file-check) New target which tests write_entries_to_file.
477         (all-recursive): Changed dependency from $(all_java_class_files)
478         to libgcj-@gcc_version@.jar
479         * Makefile.in: Rebuilt.
480
481 2003-08-26  Tom Tromey  <tromey@redhat.com>
482
483         * java/lang/StrictMath.java: Typo fix.
484         * java/lang/Math.java: Typo fix.
485
486 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
487
488         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
489         of the removed Thread.
490
491 2003-08-26  Mark Wielaard  <mark@klomp.org>
492
493         Reported by David Holmes <dholmes@dltech.com.au>.
494         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
495         Collections.synchronizedMap.
496         * java/lang/ThreadLocal.java (valueMap): Likewise.
497
498 2003-08-26  Mark Wielaard  <mark@klomp.org>
499
500         * java/security/acl/Acl.java: Fix broken p tag.
501         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
502         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
503         * javax/swing/plaf/TreeUI.java: Likewise.
504         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
505         * java/util/Properties.java: Use the word umlaut, not &auml; in api
506         documentation.
507         * java/util/PropertyResourceBundle.java: Likewise and add closing code
508         tag.
509
510 2003-08-26  Tom Tromey  <tromey@redhat.com>
511
512         * Makefile.in: Rebuilt.
513         * Makefile.am: Removed all GNU-make-specific FIXME comments.
514
515         * java/lang/ref/Reference.java (get): Indentation fix.
516         (clear): Comment fix.
517         (enqueue): Likewise.
518         (lock): Likewise.
519         (referent): Likewise.
520
521 2003-08-26  Tom Tromey  <tromey@redhat.com>
522
523         PR java/12058:
524         * java/lang/reflect/natArray.cc (set): Allow null as argument.
525
526         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
527         (ProxyData.getPackage): New method.
528         (ProxyData.getProxyData): Use package name, not Package.
529         (ClassFactory.ClassFactory): Updated.
530
531 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
532         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
533         * Makefile.in: re-generated.
534         * gnu/awt/j2d/IntegerGraphicsState.java
535         (ScreenCoupledImage): new interface.
536         (drawImage): detect ScreenCoupledImage instances.
537         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
538         * gnu/awt/xlib/XEventLoop.java
539         (createEvent): re-formatted, and rearranged to avoid null pointer.
540         * gnu/awt/xlib/XGraphics.java
541         (drawImage): added XOffScreenImage handling.
542         * gnu/awt/xlib/XOffScreenImage.java: new file.
543         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
544         * gnu/gcj/xlib/GC.java (copyArea): new native method.
545         * gnu/gcj/xlib/XAnyEvent.java
546         (TYPE_KEY_PRESS): new constant.
547         (TYPE_KEY_RELEASE): new constant.
548         (TYPE_MOTION_NOTIFY): new constant.
549         (TYPE_ENTER_NOTIFY): new constant.
550         (TYPE_LEAVE_NOTIFY): new constant.
551         (TYPE_FOCUS_IN): new constant.
552         (TYPE_FOCUS_OUT): new constant.
553         (TYPE_KEYMAP_NOTIFY): new constant.
554         (TYPE_GRAPHICS_EXPOSE): new constant.
555         (TYPE_NO_EXPOSE): new constant.
556         (TYPE_VISIBILITY_NOTIFY): new constant.
557         (TYPE_CREATE_NOTIFY): new constant.
558         (TYPE_DESTROY_NOTIFY): new constant.
559         (TYPE_MAP_REQUEST): new constant.
560         (TYPE_CONFIGURE_REQUEST): new constant.
561         (TYPE_GRAVITY_NOTIFY): new constant.
562         (TYPE_RESIZE_REQUEST): new constant.
563         (TYPE_CIRCULATE_NOTIFY): new constant.
564         (TYPE_CIRCULATE_REQUEST): new constant.
565         (TYPE_PROPERTY_NOTIFY): new constant.
566         (TYPE_SELECTION_CLEAR): new constant.
567         (TYPE_SELECTION_REQUEST): new constant.
568         (TYPE_SELECTION_NOTIFY): new constant.
569         (TYPE_COLORMAP_NOTIFY): new constant.
570         (TYPE_MAPPING_NOTIFY): new constant.
571         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
572         * gnu/gcj/xlib/natGC.cc (copyArea): new method
573         * java/awt/Component.java (createImage): changed to use peer method.
574
575 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
576
577         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
578         name, not XLFD, to native drawString.
579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
580         Replace XLFD-based implementation with Pango-based
581         implementation.
582
583 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
584
585         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
586         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
587
588 2003-08-21  David Daney  <ddaney@avtrex.com>
589
590         Fix for PR libgcj/12013:
591         * java/lang/ref/natReference.cc (finalize_referred_to_object):
592         Check `cleared' field.
593         * java/lang/ref/Reference.java (copy): Updated comments.
594         (cleared): New field.
595         (clear): Rewrote.
596
597 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
598             Thomas Fitzsimmons  <fitzsim@redhat.com>
599
600         * Makefile.am (gtk_awt_peer_sources): Add
601         gnu/java/awt/peer/GLightweightPeer.java.  Remove
602         gnu/java/awt/GLightweightPeer.java.
603         * gnu/java/awt/GLightweightPeer.java: Remove file.
604         * gnu/java/awt/peer/GLightweightPeer.java: New file.
605         * java/awt/Component.java (getToolkit): Add comment about
606         lightweight components.
607         * java/awt/Toolkit.java (createComponent): Return
608         gnu.java.awt.peer.GLightweightPeer.
609
610 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
611
612         * configure.in: Fix detection of gcj when building with newlib.
613         * configure: Regenerated.
614
615 2003-08-20  Graydon Hoare  <graydon@redhat.com>
616
617         * jni.cc: Replace "cheating" pointer-casting code with
618         extract_from_jvalue<> template.
619
620 2003-08-20  Andrew Haley  <aph@redhat.com>
621
622         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
623         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
624         (classAt): Break out class lookup function into getClass().
625         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
626         handlers when using -fno-assume-compiled.
627
628 2003-08-20  Tom Tromey  <tromey@redhat.com>
629
630         Fix for PR libgcj/9125:
631         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
632         object outside of loop.  Respect lib_control setting.
633         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
634         field.
635         (lib_control): New field.
636         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
637         (VMClassLoader): Initialize new field.
638
639         * java/lang/ref/natReference.cc (finalize_referred_to_object):
640         Set `list->reference' to DELETED_REFERENCE when removing dead
641         object.
642         (find_slot): Added an assert.
643         (DELETED_REFERENCE): New define.
644         (add_to_hash): Check for DELETED_REFERENCE.
645         (remove_from_hash): Just return if found slot isn't ours.
646
647 2003-08-19  Andrew Haley  <aph@redhat.com>
648
649         * prims.cc (unblock_signal): New function.
650         (catch_segv): Use it.
651         (catch_fpe): Likewise.
652
653 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
654
655         PR libgcj/11575
656         * java/io/natFileDescriptorWin32.cc (open): Set create
657         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
658         Honor EXCL when openning with WRITE flag. 
659
660 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
661
662         * include/jvm.h: New class _Jv_TempUTFString (helper class for
663         getting a temporary C string from a jstring)
664         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
665         but uses a stack buffer if the string length is less than 256
666         bytes.
667
668 2003-08-18  Tom Tromey  <tromey@redhat.com>
669
670         PR libgcj/11951:
671         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
672         void.  Throw VirtualMachineError if ffi fails.  Initialize return
673         value.  Added is_jni_call argument; only wrap exception if not a
674         JNI call.  Use descriptive message if operation not supported.
675         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
676         array class.
677         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
678         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
679         _Jv_CallAnyMethodA.
680         (_Jv_JNI_CallAnyMethodA): Likewise.
681         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
682         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
683
684 2003-08-13  Tom Tromey  <tromey@redhat.com>
685
686         * gij.cc (help): Document -? and -X.
687
688 2003-08-12  Graydon Hoare  <graydon@redhat.com>
689
690         * java/awt/Font.java: 
691         Stub out more recent API. 
692
693 2003-08-12  Graydon Hoare  <graydon@redhat.com>
694
695         * java/awt/Color.java (getAlpha): 
696         Prevent sign-extended alpha values.
697
698 2003-08-12  Tom Tromey  <tromey@redhat.com>
699
700         * gij.cc (main): Handle -? and -X.
701
702 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
703
704         * java/awt/Container.java
705         (getPreferredSize): Call preferredSize.
706         (preferredSize): Moved body of getPreferredSize here.
707         (getMinimumSize): Call minimumSize.
708         (minimumSize): Moved body of getMinimumSize here.
709
710 2003-08-11  Tom Tromey  <tromey@redhat.com>
711
712         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
713         (postEvent): Removed FIXME comment.
714         (isDispatchThread): Documented.
715         (getCurrentEvent): New method.
716         (dispatchEvent): Set currentEvent and lastWhen.
717         (getMostRecentEventTime): Rewrote.
718         (invokeLater): Documented.
719
720 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
721
722         * java/io/PrintStream.java (print): Always flush if auto_flush is
723         set. Don't check for newline characters.
724         (write (int)): Implement without using a temporary array.
725         (write (byte[], int, int): Always flush if auto_flush is set. Don't
726         check for newline characters.
727         Fixes PR libgcj/11778.
728
729 2003-08-08  Andrew Haley  <aph@redhat.com>
730
731         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
732         * Makefile.in: Rebuild.
733         * java/lang/natRuntime.cc (insertSystemProperties): Add
734         "sun.boot.class.path".
735
736 2003-08-07  Andrew Haley  <aph@redhat.com>
737
738         * java/io/PrintStream.java: Don't crash on a null string.
739         
740 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
741
742         * configure.in: Don't initialize GCINCS to boehm-gc/include.
743         * configure: Regenerate.
744
745 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
746
747         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
748         SocketImpl. Update Javadoc.
749         (bind): Call close() not impl.close() in event of exception.
750         (connect): Likewise.
751         Remove superfluous null checks throughout.
752         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
753         Don't create an extra socket. Fix for PR libgcj/10868.
754         (bind): Clean up exception handling.
755         Remove superfluous null checks throughout.
756
757 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
758             Bryce McKinlay  <bryce@mckinlay.net.nz>
759
760         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
761         ready-to-write argument to _Jv_Select. Reset the socket back to 
762         non-blocking state after connecting.
763         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
764         Throw SocketTimeoutException not InterruptedIOException.
765         (read): Throw SocketTimeoutException not InterruptedIOException.
766
767 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
768
769         * java/lang/Thread.java (Thread): Check for null "name" from
770         start of private constructor, not after calling the private
771         constructor.
772
773 2003-08-06  Tom Tromey  <tromey@redhat.com>
774
775         * java/io/FilePermission.java (equals): Use correct index for
776         last character of path.
777
778 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
779
780         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
781         * configure.in: Compare with_cross_host to build_alias, not build.
782         * aclocal.m4: Regenerate.
783         * configure: Regenerate.
784
785 2003-08-05  Tom Tromey  <tromey@redhat.com>
786
787         Fix for PR libgcj/11779:
788         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
789         class.
790
791         * java/lang/reflect/Method.java: Updated status comment.
792         Imported javadoc from Classpath and re-ordered methods.
793         * java/lang/reflect/Constructor.java: Reindented.  Updated
794         status comment.  Imported javadoc from Classpath and re-ordered
795         methods.
796
797 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
798
799         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
800         Add keyLocation parameter.
801         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
802         string.
803         (paramString): Generate keyChar string according to keyChar, not
804         keyCode.
805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
806         (state_to_awt_mods): Handle ALT key.
807         (keyevent_state_to_awt_mods): New function.
808         (get_first_keyval_from_keymap): New function.
809         (keysym_to_awt_keycode): Get virtual key code from keymap.
810         Handle missing VK_ values.
811         (keysym_to_awt_keylocation): New function.
812         (keyevent_to_awt_keychar): New function.
813         (generates_key_typed_event): Handle non-text-component case.
814         Handle GDK_KP_Delete and GDK_KP_Enter.
815         (awt_event_handler): Call new functions to get postKeyEvent
816         parameters.
817         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
818         Update postKeyEvent method signature.
819         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
820         VK_ defines.
821
822 2003-08-05  Matthias Klose  <doko@debian.org>
823
824         * aclocal.m4: check for libart-config binary
825           under the name libart2-config as well.
826         * configure: regenerated.
827
828 2003-08-04  David P Grove  <groved@us.ibm.com>
829
830         * java/text/DecimalFormat.java (format): avoid ArithmeticException
831         when groupingSize is 0.
832         (parse): Likewise.
833
834 2003-08-04  Matthias Klose  <doko@debian.org>
835
836         * libart.m4: check for libart-config binary
837           under the name libart2-config as well.
838         * configure, aclocal.m4: regenerated.
839
840 2003-08-02  Michael Koch  <konqueror@gmx.de>
841
842         * java/nio/ByteBufferImpl.java
843         (getChar): Check remaining bytes, fixed comment about endianess.
844         (putChar): Likewise.
845         (getShort): Likewise.
846         (putShort): Likewise.
847         (getInt): Check remaining bytes, fixed conversion, fixed comment about
848         endianess.
849         (putInt): Likewise.
850         (getLong): Likewise.
851         (putLong): Likewise.
852         (getFloat): Likewise.
853         (putFloat): Likewise.
854         (getDouble): Likewise.
855         (putDouble): Likewise.
856         * java/nio/DirectByteBufferImpl.java
857         (getChar): Wrapped code, fixed comment about endianess.
858         (putchar): Likewise.
859         (getShort): Likewise.
860         (putShort): Likewise.
861         (getInt): Fixed conversion, fixed comment about endianess.
862         (putInt): Likewise.
863         (getLong): Likewise.
864         (putLong): Likewise.
865         (getFloat): Likewise.
866         (putFloat): Likewise.
867         (getDouble): Likewise.
868         (putDouble): Likewise.
869         * java/nio/MappedByteBufferImpl.java
870         (compact): Implemented.
871         (getChar): Implemented.
872         (putChar): Implemented.
873         (getDouble): Implemented.
874         (putdouble): Implemented.
875         (getFloat): Implemented.
876         (putFloat): Implemented.
877         (getInt): Implemented.
878         (putInt): Implemented.
879         (getLong): Implemented.
880         (putLong): Implemented.
881         (getShort): Implemented.
882         (putShort): Implemented.
883         * java/nio/channels/FileChannelImpl.java
884         (read): Set position where to access file.
885         (write): Likewise.
886         (transferTo): Flip buffer after read and before write.
887         (transferFrom): Likewise.
888
889 2003-08-02  Michael Koch  <konqueror@gmx.de>
890
891         * gnu/java/lang/ArrayHelper.java
892         (equalsArray): Reformated, added method documentation.
893
894 2003-08-02  Michael Koch  <konqueror@gmx.de>
895
896         * java/net/URL.java
897         (URL): Added paragraph about the
898         gnu.java.net.nocache_protocol_handlers property.
899         (ph_cache): Renamed from handlers to match classpath's implementation.
900         Reordered it with factory and serialVersionUID member variables.
901         (cache_handlers): New member variable.
902         (static): New static initializer to initialize cache_handlers from
903         gnu.java.net.nocache_protocol_handlers property.
904         (URL): Use ph_cache instead of handlers, reformatted some code to
905         match classpath's implementation.
906
907 2003-08-01  Tom Tromey  <tromey@redhat.com>
908
909         Fix for PR libgcj/11241:
910         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
911         initialCapacity is 0, set it to 1.
912
913 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
914
915         * java/net/SocketImpl.java (toString): Display the remote address
916         of an unconnected server socket as "0.0.0.0/0.0.0.0".
917
918 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
919
920         * javax/swing/border/BevelBorder.java,
921         javax/swing/border/EtchedBorder.java,
922         javax/swing/border/LineBorder.java,
923         javax/swing/border/MatteBorder.java,
924         javax/swing/border/SoftBevelBorder.java,
925         javax/swing/plaf/BorderUIResource.java,
926         javax/swing/plaf/ComponentUI.java,
927         javax/swing/plaf/TreeUI.java,
928         javax/swing/plaf/basic/BasicBorders.java,
929         javax/swing/plaf/basic/BasicGraphicsUtils.java,
930         javax/swing/plaf/basic/BasicTreeUI.java:
931         Prepend "doc-files" to all paths to embedded Javadoc images, so
932         that the generated documentation contains the correct URL.
933
934 2003-08-01  Tom Tromey  <tromey@redhat.com>
935
936         * configure: Rebuilt.
937         * configure.in (tool_include_dir): Redefine to match gcc.
938
939 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
940             Mark Wielaard  <mark@klomp.org>
941             
942         * java/math/BigDecimal (divide): Correctly handle
943         ROUND_HALF_EVEN when amount is greater than 0.5.
944         Simplify and optimize code.
945
946 2003-07-31  Tom Tromey  <tromey@redhat.com>
947
948         More for PR libgcj/11737:
949         * java/io/ObjectInputStream.java (processResolution): Use
950         getMethod.
951         (getMethod): Make method accessible.
952         (getField): Make field accessible.
953         (setBooleanField): Don't call setAccessible here.
954         (setByteField, setCharField, setDoubleField, setFloatField,
955         setIntField, setLongField, setShortField, setObjectField):
956         Likewise.
957         (callReadMethod): Don't check whether method is null.  Catch
958         NoSuchMethodException.
959         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
960         cause on thrown exceptions.
961
962 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
963
964         Fix for PR libgcj/11728:
965         * java/util/HashMap.java (readObject): Set size.
966
967 2003-07-31  Tom Tromey  <tromey@redhat.com>
968
969         Fix for PR libgcj/11737:
970         * java/io/ObjectOutputStream.java (getMethod): Make method
971         accessible.
972         (getField): Likewise.
973         (writeObject): Use getMethod.
974         Import PrivilegedAction and AccessController.
975         (callWriteMethod): Don't check whether m is null.  Catch
976         NoSuchMethodException.
977
978         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
979         (containsAngle): Likewise.
980         (getStartPoint): Rewrote.
981         (getEndPoint): Likewise.
982         (setAngleStart(Point2D)): Likewise.
983
984 2003-07-31  Roger Sayle  <roger@eyesopen.com>
985             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
986
987         * configure.in: Add new THREADCXXFLAGS variable.
988         Handle POSIX threads on alpha*-dec-osf*.
989         * configure: Regenerate.
990         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
991         * Makefile.in: Regenerate.
992
993 2003-07-08  Andrew Haley  <aph@redhat.com>
994
995         * include/i386-signal.h (RESTORE): New.
996         (INIT_SEGV): Set restorer.
997         (INIT_FPE): Likewise.
998
999 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1000
1001         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1002         than getXLFD.
1003         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1004         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1006         (gtkSetFont): Scale size parameter by PANGO_SCALE.
1007         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1008         Likewise.
1009         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1010         Likewise.
1011
1012 2003-07-29  Tom Tromey  <tromey@redhat.com>
1013
1014         * defineclass.cc (handleField): Throw exception if field name is
1015         duplicated.
1016         (handleMethod): Throw exception for duplicate method.
1017
1018 2003-07-29  Tom Tromey  <tromey@redhat.com>
1019
1020         * gnu/gcj/convert/natIconv.cc (write): Handle case where
1021         output buffer is too small.
1022
1023 2003-07-28  Tom Tromey  <tromey@redhat.com>
1024
1025         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1026         New method.
1027         Include gnu/gcj/runtime/StringBuffer.h.
1028         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1029         native method.
1030         (String(gnu.gcj.runtime.StringBuffer)): Use it.
1031
1032 2003-07-27  Anthony Green  <green@redhat.com>
1033
1034         * configure.in: Fix newlib check.
1035         * configure: Rebuilt.
1036
1037 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1038
1039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1040         Create vbox and layout for GtkPlug.
1041
1042 2003-07-27  Michael Koch  <konqueror@gmx.de>
1043
1044         * java/awt/Window.java
1045         (Window): Removed now unused constructor. It became oboslete with the
1046         new embedded window patch.
1047
1048 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
1049             Michael Koch  <konqueror@gmx.de>
1050
1051         * gnu/java/awt/EmbeddedWindow.java
1052         (EmbeddedWindow): Extends Frame instead of Window.
1053         (window_id): New member variable to store the native window handle.
1054         (create): Removed.
1055         (EmbeddedWindow): New constructor.
1056         (addNotify): New method.
1057         (getHandler): Likewise.
1058         (setWindowPeer): New native method.
1059         * gnu/java/awt/EmbeddedWindowSupport.java
1060         (EmbeddedWindowSupport): Fixed documentation.
1061         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
1062         WindowPeer, give it an EmbeddedWindow instance instead of the raw
1063         window data.
1064         * gnu/java/awt/natEmbeddedWindow.cc
1065         (create): Removed.
1066         (setWindowPeer): New method.
1067         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
1068         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
1069         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1070         New files
1071         * gnu/java/awt/peer/gtk/GtkToolkit.java
1072         (GtkToolkit): Implements EmbeddedWindowSupport.
1073         (createEmbeddedWindow): New method.
1074         * java/awt/Window.java
1075         (Window): Removed.
1076         * Makefile.am
1077         (java_source_files): Added EmbeddedWindowPeer.java.
1078         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
1079         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
1080         * Makefile.in: Regenerated.
1081
1082 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
1083
1084         * java/lang/Win32Process.java (ConcreteProcess): Surround
1085         a command line element with quotes if it contains an
1086         embedded space or tab.
1087         * java/lang/natWin32Process.cc (startProcess): Do not
1088         surround command line elements with quotes here.
1089
1090         * configure.host: Use -fcheck-references and 
1091         -fuse-divide-subroutine for MinGW until we fix
1092         win32_exception_handler( ) in win32.cc w.r.t. Win32 
1093         Structured Exception Handling (SEH).
1094
1095         * win32.cc (_Jv_platform_initProperties): Use generic names
1096         like "x86" for the "os.arch" property to be consistent with
1097         what Sun's JDK produces. Use the wProcessorArchitecture
1098         member of the Win32 SYSTEM_INFO structure, filled in a call 
1099         to GetSystemInfo( ), instead of dwProcessorType.
1100
1101 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
1102             Ranjit Mathew  <rmathew@hotmail.com>
1103
1104         * Makefile.am: Use cross-compiling gcjh from the path for
1105         a crossed-native build.
1106         * Makefile.in: Rebuilt.
1107         * configure.in: Include libltdl in non-newlib builds.
1108         Moved determination of gcj used to build libraries to
1109         its own section. Fixed cross-compilation issues for
1110         non-newlib builds.
1111         * configure: Rebuilt.
1112
1113 2003-07-25  Tom Tromey  <tromey@redhat.com>
1114
1115         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
1116         (write): Likewise.
1117         (read): Likewise.
1118         (read): Likewise.
1119
1120 2003-07-25  Mark Wielaard  <mark@klomp.org>
1121
1122         * java/lang/natRuntime.cc (_load): Add library name to
1123         UnsatisfiedLinkError when thrown.
1124
1125 2003-07-25  Mark Wielaard  <mark@klomp.org>
1126
1127         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
1128         added.
1129         * Makefile.in: Likewise.
1130
1131 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
1132
1133         * java/awt/Component.java
1134         (getPreferredSize): Call preferredSize.
1135         (preferredSize): Moved body of getPreferredSize here.
1136         (getMinimumSize): Call minimumSize.
1137         (minimumSize): Moved body of getMinimumSize here.
1138         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
1139         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
1140         pass -1
1141         * java/awt/Container.java
1142         (validate): Don't validate if there is no peer.
1143         (update): Clear background before calling paint.
1144         * java/awt/GridBagLayout.java
1145         Completed the implementation and fixed several bugs.
1146         * java/awt/MediaTracker.java
1147         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
1148         combine flags.
1149         * java/awt/Window.java
1150         (Window): Don't call setVisible(false). Windows are invisible by
1151         default and calling virtual methods from constructor causes
1152         compatibility problems (e.g. subclasses may assume that the peer
1153         already exists).
1154
1155 2003-07-25  Michael Koch  <konqueror@gmx.de>
1156
1157         * java/awt/GridBagLayout.java:
1158         Totally reworked and partly implemented.
1159         * java/awt/GridBagLayoutInfo.java:
1160         New file.
1161
1162 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1163
1164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
1165         Don't pack label in an event box.
1166
1167 2003-07-24  Tom Tromey  <tromey@redhat.com>
1168
1169         For PR libgcj/7482:
1170         * verify.cc (ref_intersection): New class.
1171         (type_val): Removed unresolved_reference_type,
1172         uninitialized_unresolved_reference_type.
1173         (is_assignable_from_slow): Rewrote.
1174         (type::data): Removed.
1175         (type::klass): New field.
1176         (type::type): Added verifier argument.
1177         (type::resolve): Removed.
1178         (type::set_uninitialized): Updated for change to type_val.
1179         (type::set_initialized): Likewise.
1180         (type::isinitialized): Likewise.
1181         (type::print): Likewise.
1182         (construct_primitive_array_type): Likewise.
1183         (type::compatible): Updated for change to type_val and to use
1184         ref_intersection.
1185         (type::isarray): Updated to use ref_intersection.
1186         (type::isinterface): Likewise.
1187         (type::element_type): Likewise.
1188         (type::to_array): Likewise.
1189         (type::verify_dimensions): Rewrote.
1190         (type::merge): Likewise.
1191         (check_class_constant): Updated for type constructor change.
1192         (check_constant): Likewise.
1193         (check_field_constant): Likewise.
1194         (get_one_type): Likewise.
1195         (initialize_stack): Likewise.
1196         (verify_instructions_0): Likewise.
1197         (verify_instructions_0) [op_invokeinterface]: Removed special
1198         case.
1199         (isect_list): New field.
1200         (_Jv_BytecodeVerifier): Initialize it.
1201         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
1202
1203 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
1204
1205         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
1206         unless field size is 2.
1207
1208 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1209
1210         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1211         (connectHooks): New method.
1212         (handleEvent): Remove.
1213         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1214         (createHooks): Remove declaration.
1215         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1216         (generates_key_typed_event): Change to handle only certain
1217         keyvals.
1218         (awt_event_handler): Add special handling for GtkTextView.
1219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1220         (textcomponent_commit_cb): New function.
1221         (textcomponent_changed_cb): Likewise.
1222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1223         (connectHooks): Remove.
1224
1225 2003-07-23  Tom Tromey  <tromey@redhat.com>
1226
1227         * java/lang/natSystem.cc (arraycopy): Check for overflow.
1228
1229         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
1230
1231 2003-07-22  Tom Tromey  <tromey@redhat.com>
1232
1233         * boehm.cc (_Jv_BuildGCDescr): Wrote.
1234         Include limits.h.
1235
1236 2003-07-22  Tom Tromey  <tromey@redhat.com>
1237
1238         * java/awt/Window.java (getWarningString): Just return the
1239         string.
1240         (Window): Set warningString; check with security manager.
1241
1242 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
1243
1244         * gnu/awt/xlib/XGraphicsConfiguration.java
1245         (FontMetricsCache): Made static.
1246  
1247 2003-07-22  Tom Tromey  <tromey@redhat.com>
1248
1249         * java/net/URLEncoder.java (encode(String)): Use platform default
1250         encoding.
1251         (encode(String,String)): Convert to 2-digit upper-case hex
1252         number.
1253         (hex): New field.
1254
1255 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1256
1257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1258         (create): Remove unused method implementation.
1259         (connectHooks): Remove debug messages.
1260
1261 2003-07-20  Anthony Green  <green@redhat.com>
1262
1263         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1264         CloneNotSupportedException.
1265         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1266         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1267         * gnu/gcj/xlib/GC.java (clone): Ditto.
1268         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1269         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1270
1271         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1272         handler.
1273         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1274
1275 2003-07-20  Steve Pribyl <steve@netfuel.com.>
1276
1277         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1278         String.  Put dlerror() message into exception.
1279         Include UnsatisfiedLinkError.
1280         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1281         String.  Now native.
1282
1283 2003-07-20  Tom Tromey  <tromey@redhat.com>
1284
1285         * java/lang/Runtime.java: Comment fix.
1286         * java/lang/ClassLoader.java (isAncestorOf): New method.
1287         (getParent): Uncommented security check.  Use isAncestorOf.
1288         * include/jvm.h (_Jv_CheckAccess): Declare.
1289         * java/lang/reflect/natConstructor.cc (newInstance): Perform
1290         access check.
1291         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1292         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1293         class loader to _Jv_GetArrayClass.
1294         Include ArrayIndexOutOfBoundsException.h.
1295         * java/lang/reflect/Field.java: Update comment to reflect status.
1296         (equals): Fixed indentation.
1297         * java/lang/Class.h (Class): Declare memberAccessCheck, not
1298         checkMemberAccess.  Make _Jv_CheckAccess a friend.
1299         * java/lang/Class.java (memberAccessCheck): New method from
1300         Classpath.
1301         (checkMemberAccess): Removed.
1302         (getDeclaredMethod): Use memberAccessCheck.
1303         (getField): Likewise.
1304         (getMethod): Likewise.
1305         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1306         (_Jv_SearchMethodInClass): Likewise.
1307         * prims.cc (_Jv_CheckAccess): New function.
1308         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1309         (_Jv_JNI_GetAnyFieldID): Likewise.
1310         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1311         (getClassLoader): Added security check.
1312         (getConstructor): Call memberAccessCheck.
1313         (getDeclaredClasses): Likewise.
1314         (getDeclaredField): Likewise.
1315         (getDeclaredFields): Likewise.
1316         (_getConstructors): Likewise.
1317         (getDeclaredConstructor): Likewise.
1318         (getDeclaredMethods): Likewise.
1319         (getFields): Likewise.
1320         (getMethods): Likewise.
1321         (newInstance): Likewise.
1322         (_Jv_MakeVTable): Put method name in exception.
1323         * java/lang/reflect/natMethod.cc (getType): Use
1324         getClassLoaderInternal.
1325         (_Jv_GetTypesFromSignature): Likewise.
1326         (invoke): Perform access check.
1327         (_Jv_CallAnyMethodA): Removed old FIXME comments.
1328         Include ArrayIndexOutOfBoundsException.h.
1329         * java/lang/reflect/natField.cc (getType): Use
1330         getClassLoaderInternal.
1331         (_Jv_CheckFieldAccessibility): Removed.
1332         (getAddr): Use _Jv_CheckAccess; find caller.
1333         Include ArrayIndexOutOfBoundsException.h.
1334
1335 2003-07-20  Michael Koch  <konqueror@gmx.de>
1336
1337         * java/net/URL.java
1338         (URL): Fixed documentation to name an argument correcty, Reformatted
1339         one method declaration.
1340         (getURLStreamHandler): Added documentation from classpath.
1341
1342 2003-07-19  Tom Tromey  <tromey@redhat.com>
1343
1344         * mauve-libgcj: Don't run CollationElementIterator tests.
1345
1346 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
1347
1348         * java/net/URLClassLoader.java (addURL): Moved implementation to
1349         private addURLImpl() to avoid calling addURL from the constructor.
1350         (addURLImpl): Contains the code that was previously in addURL.
1351         (addURLs): Call addURLImpl(), not addURL().
1352
1353 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1354
1355         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
1356         Handle missing event cases, connect to "value-changed" signal.
1357
1358 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1359
1360         * java/awt/geom/CubicCurve2D.java,
1361         java/awt/geom/Line2D.java,
1362         java/awt/geom/QuadCurve2D.java,
1363         java/awt/geom/Rectangle2D.java: 
1364         Fix path some calculations, make path iterators follow
1365         a consistent style.
1366
1367 2003-07-18  Mark Wielaard  <mark@klomp.org>
1368
1369         * java/util/logging/Handler.java (isLoggable): Check record level
1370         smaller or equal.
1371
1372 2003-07-17  Michael Koch  <konqueror@gmx.de>
1373
1374         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1375         Reworked imports.
1376
1377 2003-07-14  Michael Koch  <konqueror@gmx.de>
1378
1379         * gnu/java/rmi/server/UnicastServerRef.java:
1380         New version from classpath.
1381
1382 2003-07-14  Michael Koch  <konqueror@gmx.de>
1383
1384         * java/awt/image/MemoryImageSource.java,
1385         java/beans/PropertyEditorManager.java,
1386         javax/naming/CompoundName.java,
1387         javax/naming/spi/NamingManager.java,
1388         javax/swing/AbstractButton.java,
1389         javax/swing/ButtonModel.java,
1390         javax/swing/SwingUtilities.java,
1391         javax/swing/UIManager.java,
1392         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1393         javax/swing/event/AncestorEvent.java,
1394         javax/swing/event/InternalFrameEvent.java,
1395         java/util/zip/ZipFile.java:
1396         New versions from classpath.
1397
1398 2003-07-13  Michael Koch  <konqueror@gmx.de>
1399
1400         * gnu/java/nio/FileChannelImpl.java,
1401         gnu/java/nio/natFileChannelImpl.cc: Removed.
1402         * java/io/FileInputStream.java,
1403         java/io/FileOutputStream.java,
1404         java/io/RandomAccessFile.java,
1405         java/nio/MappedByteBufferImpl.java:
1406         Import java.nio.channels.FileChannelImpl instead of
1407         gnu.java.nio.FileChannelImpl.
1408         * java/nio/channels/FileChannelImpl.java,
1409         java/nio/channels/natFileChannelImpl.cc:
1410         New files.
1411         * Makefile.am
1412         (ordinary_java_source_files):
1413         Removed gnu/java/nio/FileChannelImpl.java and added
1414         java/nio/channels/FileChannelImpl.java.
1415         (nat source_files):
1416         Removed gnu/java/nio/natFileChannelImpl.cc and added
1417         java/nio/channels/natFileChannelImpl.cc.
1418         * Makefile.in: Regenerated.
1419
1420 2003-07-13  Michael Koch  <konqueror@gmx.de>
1421
1422         * javax/swing/plaf/basic/BasicBorders.java,
1423         javax/swing/plaf/basic/BasicLabelUI.java,
1424         javax/swing/plaf/basic/BasicLookAndFeel.java,
1425         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1426         javax/swing/plaf/basic/BasicTextUI.java,
1427         javax/swing/plaf/metal/MetalLookAndFeel.java:
1428         New versions from classpath.
1429
1430 2003-07-13  Michael Koch  <konqueror@gmx.de>
1431
1432         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1433         * gnu/java/awt/peer/gtk/GdkGraphics.java
1434         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1435         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1436         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1437         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1438         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1439         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1440         * gnu/java/awt/peer/gtk/GtkClipboard.java
1441         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1442         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1443         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1444         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1445         * gnu/java/awt/peer/gtk/GtkImage.java
1446         * gnu/java/awt/peer/gtk/GtkImagePainter.java
1447         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1448         * gnu/java/awt/peer/gtk/GtkListPeer.java
1449         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1450         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1451         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1452         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1453         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1454         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1455         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1456         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1457         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1458         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1459         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1460         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1461
1462 2003-07-13  Michael Koch  <konqueror@gmx.de>
1463
1464         * gnu/java/locale/LocaleInformation_de.java
1465         * gnu/java/locale/LocaleInformation_en.java
1466         * gnu/java/locale/LocaleInformation_nl.java
1467
1468 2003-07-13  Michael Koch  <konqueror@gmx.de>
1469
1470         * gnu/java/awt/EmbeddedWindow.java,
1471         gnu/java/awt/EmbeddedWindowSupport.java,
1472         gnu/java/awt/natEmbeddedWindow.cc:
1473         New files.
1474         * java/awt/Window.java
1475         (Window): New constructor to support embedded windows.
1476         * Makefile.am
1477         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1478         gnu/java/awt/EmbeddedWindowSupport.java.
1479         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1480         * Makefile.in: Regenerated.
1481
1482 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
1483
1484         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1485         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1486         * java/awt/im/InputContext.java: Remove a redundant
1487         partial line.
1488
1489 2003-07-09  Tom Tromey  <tromey@redhat.com>
1490
1491         * Makefile.in: Rebuilt.
1492         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1493
1494 2003-07-09  Mark Wielaard  <mark@klomp.org>
1495
1496         * java/io/ObjectOutputStream.java (writeObject): break after
1497         calling writeClassDescriptor().
1498
1499 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
1500
1501         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1502
1503 2003-07-09  Michael Koch  <konqueror@gmx.de>
1504
1505         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1506         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1507         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1508         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1509         Explicitly import used classes.
1510         * java/awt/Container.java: New version from classpath.
1511
1512 2003-07-09  Michael Koch  <konqueror@gmx.de>
1513
1514         * libgcj.pc.in: New file.
1515         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1516         * Makefile.in: Regenerated.
1517         * configure: Regenrated.
1518         * configure.in: Create libgcj.pc from libgcj.pc.in.
1519
1520 2003-07-08  Mark Wielaard <mark@klomp.org>
1521
1522         * gcj/cni.h: CNI now expands to Compiled Native Interface.
1523
1524         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1525         * java/lang/fdlibm.h: Likewise.
1526
1527 2003-07-07  Adam Megacz <adam@xwt.org>
1528
1529         * posix.cc: added #include<stdio.h>
1530                 
1531 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1532
1533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1534         formatting.
1535
1536         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1537         (setCaretPosition, setEditable): Rely entirely on native
1538         implementation.
1539         (getArgs): Remove.
1540         (postTextEvent): New method.
1541         (handleEvent): New method.
1542         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1543         method.
1544         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1546         (keysym_to_awt_keycode): Fix range checks.
1547         (generates_key_typed_event): New function.
1548         (awt_event_handler): Post AWT_KEY_RELEASED events to event
1549         queue.
1550         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1551         (gtkInit): Store TextComponent's postTextEvent method ID.
1552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1553         (setText): Post TEXT_VALUE_CHANGED event to event queue.
1554
1555 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1556
1557         * configure.in: Check for usleep declaration.
1558         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1559         * configure: Regenerate.
1560         * include/config.h.in: Likewise.
1561         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1562
1563 2003-07-01  Michael Koch  <konqueror@gmx.de>
1564
1565         * gnu/gcj/convert/natIconv.cc
1566         (iconv_init): Fixed possible memory leak by releasing allocated iconv
1567         handle.
1568
1569 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1570
1571         * glib-2.0.m4: New file.
1572         * gtk-2.0.m4: New file.
1573         * glib.m4: Remove.
1574         * gtk.m4: Remove.
1575         * configure.in: Update AM_PATH_GTK macro call to
1576         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
1577         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1578         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1579         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1580         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1581         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1582         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1583         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1584         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1585         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1586         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1587         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1588         jni/gtk-peer/gthread-jni.c,
1589         jni/gtk-peer/gthread-jni.h:
1590         New versions from classpath.
1591         * aclocal.m4: Regenerate.
1592         * configure: Regenerate.
1593         * Makefile.in: Regenerate.
1594         * gcj/Makefile.in: Regenerate.
1595         * include/Makefile.in: Regenerate.
1596         * testsuite/Makefile.in: Regenerate.
1597
1598 2003-06-30  Gary Benson  <gbenson@redhat.com>
1599
1600         For PR libgcj/11349:
1601         * javax/naming/spi/NamingManager.java (getURLContext): Use
1602         correct name for factory class.
1603
1604 2003-06-28  Michael Koch  <konqueror@gmx.de>
1605
1606         * java/io/PrintStream.java
1607         (checkError): Call flush() instead of direct flushing of the Writer
1608         object.
1609         (print): Call print(String) instead of direct print method of the
1610         Writer Object.
1611         (println): Call println(String) instead of direct println method of the
1612         Writer Object.
1613         (write): Simplified.
1614
1615 2003-06-28  Michael Koch  <konqueror@gmx.de>
1616
1617         * java/net/ServerSocket.java
1618         (setChannel): New method.
1619         * java/net/Socket.java
1620         (setChannel): New method.
1621
1622 2003-06-27  Michael Koch  <konqueror@gmx.de>
1623
1624         * java/beans/beancontext/BeanContextSupport.java:
1625         New version from classpath.
1626
1627 2003-06-27  Michael Koch  <konqueror@gmx.de>
1628
1629         * java/awt/Window.java,
1630         java/awt/font/GraphicAttribute.java,
1631         java/awt/font/ImageGraphicAttribute.java,
1632         java/awt/image/DataBufferByte.java,
1633         java/awt/image/DataBufferInt.java,
1634         java/awt/image/DataBufferUShort.java,
1635         java/awt/image/DirectColorModel.java,
1636         java/awt/image/PixelGrabber.java:
1637         New versions from classpath.
1638
1639 2003-06-27  Michael Koch  <konqueror@gmx.de>
1640
1641         * java/security/Certificate.java
1642         (getGuarantor): Removed wrong @deprecated tag.
1643         (getPrincipal): Likewise.
1644         (getPublicKey): Likewise.
1645         (encode): Likewise.
1646         (decode): Likewise.
1647         (getFormat): Likewise.
1648         (toString): Likewise.
1649         * java/security/cert/PolicyQualifierInfo.java
1650         (PolicyQualifierInfo): Made final.
1651         * javax/security/auth/x500/X500Principal.java
1652         (serialVersionUID): New member variable.
1653
1654 2003-06-27  Michael Koch  <konqueror@gmx.de>
1655
1656         * java/text/Format.java
1657         (serialVersionUID): Fixed value.
1658
1659 2003-06-27  Michael Koch  <konqueror@gmx.de>
1660
1661         * java/net/Inet4Address.java
1662         (Inet4Address): Made package-private.
1663         * java/net/Inet6Address.java
1664         (Inet4Address): Made package-private.
1665
1666 2003-06-27  Michael Koch  <konqueror@gmx.de>
1667
1668         * java/io/RandomAccessFile.java
1669         (readLine): Removed wrong @deprecated tag.
1670         (getChannel): Made final.
1671
1672 2003-06-27  Michael Koch  <konqueror@gmx.de>
1673
1674         * gnu/java/nio/FileChannelImpl.java
1675         (write): Removed.
1676
1677 2003-06-27  Michael Koch  <konqueror@gmx.de>
1678
1679         * java/nio/ByteBufferImpl.java
1680         (ByteBufferImpl): Made it a package-private class
1681         * java/nio/CharBufferImpl.java
1682         (CharBufferImpl): Made it a package-private class
1683         * java/nio/DirectByteBufferImpl.java
1684         (DirectByteBufferImpl): Made it a package-private class
1685         * java/nio/DoubleBufferImpl.java
1686         (DoubleBufferImpl): Made it a package-private class
1687         * java/nio/FloatBufferImpl.java
1688         (FloatBufferImpl): Made it a package-private class
1689         * java/nio/IntBufferImpl.java
1690         (IntBufferImpl): Made it a package-private class
1691         * java/nio/LongBufferImpl.java
1692         (LongBufferImpl): Made it a package-private class
1693         * java/nio/ShortBufferImpl.java
1694         (ShortBufferImpl): Made it a package-private class
1695         * java/nio/channels/FileChannel.java
1696         (write): Made final.
1697         * java/nio/channels/ServerSocketChannel.java
1698         (ServerSocketChanne): Made protected.
1699
1700 2003-06-27  Michael Koch  <konqueror@gmx.de>
1701
1702         * javax/naming/CompositeName.java
1703         (serialVersionUID): New member variable.
1704         * javax/naming/CompoundName.java
1705         (serialVersionUID): New member variable.
1706         * javax/naming/InitialContext.java
1707         (InitialContext): Throws NamingException.
1708         (init): Likewise.
1709         * javax/naming/LinkRef.java
1710         (serialVersionUID): New member variable.
1711         (gteLinkName): Throws NamingException.
1712         * javax/naming/NamingException.java
1713         (serialVersionUID): New member variable.
1714         * javax/naming/NamingSecurityException.java
1715         (NamingSecurityException): Made abstract.
1716         (serialVersionUID): New member variable.
1717         * javax/naming/ReferralException.java
1718         (serialVersionUID): New member variable.
1719         * javax/naming/StringRefAddr.java
1720         (serialVersionUID): New member variable.
1721         * javax/naming/directory/BasicAttribute.java:
1722         Reworked imports.
1723         (serialVersionUID): New member variable.
1724         (get): Throws NamingException.
1725         (getAll): Throws NamingException.
1726         * javax/naming/directory/BasicAttributes.java:
1727         Reworked imports.
1728         (serialVersionUID): New member variable.
1729         * javax/naming/ldap/UnsolicitedNotificationEvent.java
1730         (serialVersionUID): New member variable.
1731
1732 2003-06-27  Michael Koch  <konqueror@gmx.de>
1733
1734         * Makefile.am
1735         (awt_java_source_files): Added new files:
1736         javax/swing/Popup.java,
1737         javax/swing/PopupFactory.java
1738         * Makefile.in: Regenerated.
1739
1740 2003-06-27  Michael Koch  <konqueror@gmx.de>
1741
1742         * javax/swing/JWindow.java,
1743         javax/swing/event/AncestorEvent.java,
1744         javax/swing/event/HyperlinkEvent.java,
1745         javax/swing/event/InternalFrameEvent.java,
1746         javax/swing/event/ListDataEvent.java,
1747         javax/swing/event/TableModelEvent.java,
1748         javax/swing/plaf/PopupMenuUI.java,
1749         javax/swing/plaf/SplitPaneUI.java,
1750         javax/swing/plaf/TabbedPaneUI.java,
1751         javax/swing/plaf/TextUI.java,
1752         javax/swing/plaf/TreeUI.java,
1753         javax/swing/plaf/basic/BasicTextUI.java,
1754         javax/swing/plaf/basic/BasicTreeUI.java:
1755         New versions from classpath.
1756         * javax/swing/Popup.java,
1757         javax/swing/PopupFactory.jav:
1758         New source files from classpath.
1759         * javax/swing/plaf/doc-files/TreeUI-1.png:
1760         New binary files from classpath.
1761
1762 2003-06-25  Michael Koch  <konqueror@gmx.de>
1763
1764         * Makefile.am
1765         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1766         * Makefile.in: Regenerated.
1767
1768 2003-06-25  Michael Koch  <konqueror@gmx.de>
1769
1770         * javax/swing/plaf/ActionMapUIResource.java,
1771         javax/swing/plaf/BorderUIResource.java,
1772         javax/swing/plaf/ButtonUI.java,
1773         javax/swing/plaf/ColorChooserUI.java,
1774         javax/swing/plaf/ColorUIResource.java,
1775         javax/swing/plaf/ComboBoxUI.java,
1776         javax/swing/plaf/ComponentInputMapUIResource.java,
1777         javax/swing/plaf/ComponentUI.java,
1778         javax/swing/plaf/DesktopIconUI.java,
1779         javax/swing/plaf/DesktopPaneUI.java,
1780         javax/swing/plaf/DimensionUIResource.java,
1781         javax/swing/plaf/FileChooserUI.java,
1782         javax/swing/plaf/FontUIResource.java,
1783         javax/swing/plaf/IconUIResource.java,
1784         javax/swing/plaf/InputMapUIResource.java,
1785         javax/swing/plaf/InsetsUIResource.java,
1786         javax/swing/plaf/InternalFrameUI.java,
1787         javax/swing/plaf/LabelUI.java,
1788         javax/swing/plaf/ListUI.java,
1789         javax/swing/plaf/MenuBarUI.java,
1790         javax/swing/plaf/MenuItemUI.java,
1791         javax/swing/plaf/OptionPaneUI.java,
1792         javax/swing/plaf/PanelUI.java,
1793         javax/swing/plaf/ProgressBarUI.java,
1794         javax/swing/plaf/RootPaneUI.java,
1795         javax/swing/plaf/ScrollBarUI.java,
1796         javax/swing/plaf/ScrollPaneUI.java,
1797         javax/swing/plaf/SeparatorUI.java,
1798         javax/swing/plaf/SliderUI.java,
1799         javax/swing/plaf/TableHeaderUI.java,
1800         javax/swing/plaf/TableUI.java,
1801         javax/swing/plaf/ToolBarUI.java,
1802         javax/swing/plaf/ToolTipUI.java,
1803         javax/swing/plaf/ViewportUI.java:
1804         New versions from classpath.
1805         * javax/swing/plaf/SpinnerUI.java: 
1806         New file from classpath
1807
1808 2003-06-25  Michael Koch  <konqueror@gmx.de>
1809
1810         * java/awt/image/ColorModel.java:
1811         New version from classpath.
1812
1813 2003-06-25  Michael Koch  <konqueror@gmx.de>
1814
1815         * java/net/PlainDatagramSocketImpl.java:
1816         Partly merged with classpath, this mainly adds documentation.
1817
1818 2003-06-25  Michael Koch  <konqueror@gmx.de>
1819
1820         * java/io/ObjectInputStream.java
1821         (readClassDescriptor): New method.
1822         (readObject): Moved functionality to readClassDescriptor().
1823         * java/io/ObjectOutputStream.java
1824         (writeClassDescriptor): New method.
1825         (writeObject): Moved functionality to writeClassDescriptor().
1826
1827 2003-06-25  Michael Koch  <konqueror@gmx.de>
1828
1829         * javax/swing/plaf/basic/BasicListUI.java,
1830         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1831         Added missing methods.
1832
1833 2003-06-25  Michael Koch  <konqueror@gmx.de>
1834
1835         * javax/swing/event/AncestorEvent.java
1836         javax/swing/event/HyperlinkEvent.java
1837         javax/swing/event/InternalFrameEvent.java
1838         javax/swing/event/ListDataEvent.java
1839         javax/swing/event/TableModelEvent.java:
1840         Compile fixes.
1841
1842 2003-06-24  Michael Koch  <konqueror@gmx.de>
1843
1844         * java/net/URL.java:
1845         Renamed "handler" to "ph" in the whole file to match classpaths
1846         version.
1847         * java/net/URLStreamHandler.java:
1848         (equals): Renamed "handler" to "ph".
1849
1850 2003-06-24  Michael Koch  <konqueror@gmx.de>
1851
1852         * javax/swing/event/AncestorEvent.java,
1853         javax/swing/event/HyperlinkEvent.java,
1854         javax/swing/event/InternalFrameEvent.java,
1855         javax/swing/event/ListDataEvent.java,
1856         javax/swing/event/TableModelEvent.java,
1857         javax/swing/event/TreeWillExpandListener.java,
1858         javax/swing/plaf/ComponentUI.java,
1859         javax/swing/plaf/DesktopIconUI.java,
1860         javax/swing/plaf/DesktopPaneUI.java,
1861         javax/swing/plaf/DimensionUIResource.java,
1862         javax/swing/plaf/FileChooserUI.java,
1863         javax/swing/plaf/FontUIResource.java,
1864         javax/swing/plaf/IconUIResource.java,
1865         javax/swing/plaf/InputMapUIResource.java,
1866         javax/swing/plaf/InsetsUIResource.java,
1867         javax/swing/plaf/InternalFrameUI.java,
1868         javax/swing/plaf/LabelUI.java,
1869         javax/swing/plaf/ListUI.java,
1870         javax/swing/plaf/MenuBarUI.java,
1871         javax/swing/plaf/MenuItemUI.java,
1872         javax/swing/plaf/OptionPaneUI.java,
1873         javax/swing/plaf/PanelUI.java,
1874         javax/swing/plaf/ProgressBarUI.java,
1875         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1876         javax/swing/plaf/doc-files/ComponentUI-1.png:
1877         New versions from classpath.
1878
1879 2003-06-24  Michael Koch  <konqueror@gmx.de>
1880
1881         * java/nio/Buffer.java
1882         (cap): Made package-private.
1883         (pos): Likewise.
1884         (limit): Likewise.
1885         (mark): Likewise.
1886
1887 2003-06-24  Michael Koch  <konqueror@gmx.de>
1888
1889         * java/net/SocketImpl.java
1890         (shutdownInput): Made it non-abstract method throwing an exception
1891         like in SUNs JRE.
1892         (shutdownOutput): Likewise.
1893         * java/net/SocketInputStream.java,
1894         java/net/SocketOutputStream.java:
1895         New files from classpath.
1896
1897 2003-06-24  Michael Koch  <konqueror@gmx.de>
1898
1899         * java/awt/Font.java,
1900         java/awt/Window.java,
1901         java/awt/color/ColorSpace.java,
1902         java/awt/datatransfer/StringSelection.java,
1903         java/awt/image/ColorModel.java:
1904         New versions from classpath.
1905
1906 2003-06-24  Michael Koch  <konqueror@gmx.de>
1907
1908         * Makefile.am
1909         (awt_java_source_files): Added new files:
1910         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1911         javax/swing/plaf/basic/BasicSplitPaneUI.java
1912         * Makefile.in: Regenerated.
1913
1914 2003-06-24  Michael Koch  <konqueror@gmx.de>
1915
1916         * javax/swing/text/JTextComponent.java:
1917         New version from classpath.
1918
1919 2003-06-24  Michael Koch  <konqueror@gmx.de>
1920
1921         * javax/swing/Timer.java,
1922         javax/swing/plaf/ActionMapUIResource.java,
1923         javax/swing/plaf/ButtonUI.java,
1924         javax/swing/plaf/ColorChooserUI.java,
1925         javax/swing/plaf/ColorUIResource.java,
1926         javax/swing/plaf/ComboBoxUI.java,
1927         javax/swing/plaf/ComponentInputMapUIResource.java,
1928         javax/swing/plaf/basic/BasicBorders.java:
1929         New versions from classpath.
1930         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1931         javax/swing/plaf/basic/BasicSplitPaneUI.java:
1932         New file from classpath.
1933         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1934         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1935         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1936         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1937         javax/swing/plaf/doc-files/ComponentUI-1.png:
1938         New binary files from classpath.
1939
1940 2003-06-24  Michael Koch  <konqueror@gmx.de>
1941
1942         * java/io/LineNumberReader.java
1943         (skip): Dont do line number accounting here as this is already done in
1944         read(), simplified.
1945
1946 2003-06-21  Michael Koch  <konqueror@gmx.de>
1947
1948         * java/io/File.java
1949         (static): Load javaio lib if existing (only in classpath).
1950         (File): Revised documentation to show the correct argument name.
1951         (createTempFile): Partly merged with classpath.
1952         (compareTo): Simplified.
1953         (lastModified): Throw exception if time < 0.
1954         (deleteOnExit): Revised documentation.
1955
1956 2003-06-21  Michael Koch  <konqueror@gmx.de>
1957
1958         * java/net/PlainSocketImpl.java:
1959         Reformatted.
1960         (PlainSocketImpl): Merged class documentaion with classpath.
1961         (in): Moved.
1962         (out): Moved.
1963         (PlainSocketImpl): New empty constructor.
1964         (finalize): Moved.
1965         (setOption): Merged documentation from classpath.
1966         (getOption): Likewise.
1967         (create): Likewise.
1968         (connect): Likewise.
1969         (bind): Likewise.
1970         (listen): Likewise.
1971         (accept): Likewise.
1972         (available): Likewise.
1973         (close): Likewise.
1974         (read): Likewise.
1975         (write): Likewise.
1976         (getInputStream): Made synchronozed to get sure that only one stream
1977         object can be created for this socket, merged documentation from
1978         classpath.
1979         (getOutputStream): Likewise.
1980
1981 2003-06-21  Michael Koch  <konqueror@gmx.de>
1982
1983         * java/net/PlainSocketImpl.java:
1984         Reformatting.
1985         (static): New implicit method.
1986         (read): Made package private.
1987         (write): Likewise.
1988
1989 2003-06-21  Michael Koch  <konqueror@gmx.de>
1990
1991         * java/util/SimpleTimeZone.java:
1992         Removed unneeded import, reformatting.
1993
1994 2003-06-21  Michael Koch  <konqueror@gmx.de>
1995
1996         * java/text/DateFormat.java,
1997         java/text/SimpleDateFormat.java,
1998         java/util/Locale.java:
1999         New versions from classpath.
2000
2001 2003-06-21  Michael Koch  <konqueror@gmx.de>
2002
2003         * javax/swing/SpinnerModel.java:
2004         New file from classpath.
2005         * javax/swing/border/LineBorder.java,
2006         javax/swing/border/SoftBevelBorder.java,
2007         javax/swing/plaf/BorderUIResource.java,
2008         javax/swing/plaf/basic/BasicBorders.java:
2009         New versions from classpath.
2010         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2011         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2012         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2013         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2014         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2015         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2016         New binary files from classpath.
2017
2018 2003-06-21  Michael Koch  <konqueror@gmx.de>
2019
2020         * java/util/logging/LogRecord.java,
2021         java/util/logging/Logger.java,
2022         java/util/logging/SocketHandler.java,
2023         java/util/logging/SimpleFormatter.java,
2024         java/util/logging/Formatter.java,
2025         java/util/logging/ErrorManager.java,
2026         java/util/logging/Handler.java,
2027         java/util/logging/FileHandler.java,
2028         java/util/logging/LogManager.java,
2029         java/util/logging/Level.java,
2030         java/util/logging/ConsoleHandler.java,
2031         java/util/logging/StreamHandler.java,
2032         java/util/logging/LoggingPermission.java,
2033         java/util/logging/Filter.java,
2034         java/util/logging/MemoryHandler.java,
2035         java/util/logging/XMLFormatter.java:
2036         New files from classpath.
2037
2038 2003-06-20  Michael Koch  <konqueror@gmx.de>
2039
2040         * java/io/ObjectStreamField.java
2041         (unshared): new member variable.
2042         (ObjectStreamField): New constructor.
2043         (isUnshared): New method.
2044
2045 2003-06-20  Michael Koch  <konqueror@gmx.de>
2046
2047         * java/net/URLStreamHandler.java
2048         (hostsEqual): Rewritten.
2049
2050 2003-06-20  Michael Koch  <konqueror@gmx.de>
2051
2052         * gnu/java/nio/MappedByteFileBuffer.java,
2053         gnu/java/nio/natMappedByteFileBuffer.cc:
2054         Removed
2055         * java/nio/MappedByteBufferImpl.java:
2056         New file.
2057         * gnu/java/nio/FileChannelImpl.java:
2058         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
2059         * Makefile.am
2060         (ordinary_java_source_files): Removed
2061         gnu/java/nio/MappedByteFileBuffer.java and added
2062         java/nio/MappedByteBufferImpl.java.
2063         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
2064         * Makefile.in: Regenerated.
2065
2066 2003-06-19  Michael Koch  <konqueror@gmx.de>
2067
2068         * gnu/java/nio/DatagramChannelImpl.java
2069         (fd): Removed.
2070         (blocking): New member variable.
2071         (socket): Likewise.
2072         (DatagramChannelImpl): Throws IOException, initialize socket.
2073         (socket):Implemented.
2074         (implCloseSelectableChannel): Throws IOException, implemented.
2075         (implConfigureBlocking): Likewise.
2076         (connect): Likewise.
2077         (disconnect): Likewise.
2078         (isConnected): Likewise.
2079         (write): Likewise.
2080         (read): Likewise.
2081         (receive): Throws IOException.
2082         (send): Likewise.
2083         * gnu/java/nio/SocketChannelImpl.java
2084         (read): Implemented.
2085         (write): Implemented.
2086
2087 2003-06-19  Michael Koch  <konqueror@gmx.de>
2088
2089         * javax/swing/JComponent.java,
2090         javax/swing/JInternalFrame.java,
2091         javax/swing/MenuSelectionManager.java,
2092         javax/swing/SwingUtilities.java,
2093         javax/swing/ToggleButtonModel.java:
2094         New versions from classpath.
2095
2096 2003-06-19  Michael Koch  <konqueror@gmx.de>
2097
2098         * java/text/CollationElementIterator.java
2099         (NULLORDER): Initialize with -1 as JDK documentation says.
2100
2101 2003-06-19  Michael Koch  <konqueror@gmx.de>
2102
2103         * java/net/HttpURLConnection.java,
2104         java/net/Inet4Address.java,
2105         java/net/Inet6Address.java,
2106         java/net/SocketImpl.java,
2107         java/net/URLClassLoader.java:
2108         Reworked import statements.
2109         * java/net/InetAddress.java
2110         (getByAddress): Simplified.
2111         * java/net/ServerSocket.java
2112         (ServerSocket): Moved special handling during bind operation to
2113         bind().
2114         (bind): Handle different cases when trying to bind a socket.
2115         * java/net/URLConnection.java
2116         (getHeaderFieldDate): Merged with classpath.
2117         (getHeaderFieldInt): Likewise.
2118
2119 2003-06-19  Michael Koch  <konqueror@gmx.de>
2120
2121         * java/util/zip/InflaterInputStream.java
2122         (InflaterInputStream): Throw NullPointerException if in is null (as
2123         JDK does).
2124
2125 2003-06-19  Michael Koch  <konqueror@gmx.de>
2126
2127         * java/awt/Font.java
2128         javax/swing/UIManager.java
2129         javax/swing/border/AbstractBorder.java
2130         javax/swing/border/BevelBorder.java
2131         javax/swing/border/Border.java
2132         javax/swing/border/CompoundBorder.java
2133         javax/swing/border/EmptyBorder.java
2134         javax/swing/border/EtchedBorder.java
2135         javax/swing/border/LineBorder.java
2136         javax/swing/border/MatteBorder.java
2137         javax/swing/border/TitledBorder.java
2138         javax/swing/plaf/BorderUIResource.java
2139         javax/swing/plaf/basic/BasicBorders.java
2140         javax/swing/plaf/basic/BasicButtonUI.java
2141         javax/swing/plaf/basic/BasicCheckBoxUI.java
2142         javax/swing/plaf/basic/BasicGraphicsUtils.java
2143         javax/swing/plaf/basic/BasicLabelUI.java
2144         javax/swing/plaf/basic/BasicRadioButtonUI.java
2145         javax/swing/plaf/basic/BasicToggleButtonUI.java:
2146         New versions from classpath.
2147         * javax/swing/border/SoftBevelBorder.java:
2148         New file from classpath.
2149         * javax/swing/border/doc-files/LineBorder-1.png,
2150         javax/swing/border/doc-files/BevelBorder-1.png,
2151         javax/swing/border/doc-files/BevelBorder-2.png,
2152         javax/swing/border/doc-files/BevelBorder-3.png,
2153         javax/swing/border/doc-files/EmptyBorder-1.png,
2154         javax/swing/border/doc-files/EtchedBorder-1.png,
2155         javax/swing/border/doc-files/EtchedBorder-2.png,
2156         javax/swing/border/doc-files/MatteBorder-1.png,
2157         javax/swing/border/doc-files/MatteBorder-2.png,
2158         javax/swing/border/doc-files/MatteBorder-3.png,
2159         javax/swing/border/doc-files/MatteBorder-4.png,
2160         javax/swing/border/doc-files/MatteBorder-5.png,
2161         javax/swing/border/doc-files/MatteBorder-6.png,
2162         javax/swing/border/doc-files/SoftBevelBorder-1.png,
2163         javax/swing/border/doc-files/SoftBevelBorder-2.png,
2164         javax/swing/border/doc-files/SoftBevelBorder-3.png,
2165         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2166         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2167         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2168         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2169         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2170         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2171         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2172         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2173         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
2174         New binary files from classpath.
2175         * Makefile.am
2176         (awt_java_source_files): Added
2177         javax/swing/border/SoftBevelBorder.java.
2178         * Makefile.in: Regenerated.
2179
2180 2003-06-19  Michael Koch  <konqueror@gmx.de>
2181
2182         * gnu/java/security/x509/X509Certificate.java
2183         (writeReplace): Merged from classpath.
2184
2185 2003-06-19  Michael Koch  <konqueror@gmx.de>
2186
2187         * gnu/java/nio/FileChannelImpl.java
2188         (map_address): Made public.
2189         (FileChannelImpl): Merged with classpath.
2190         * gnu/java/nio/natFileChannelImpl.cc
2191         (nio_mmap_file): Commented out unused arguments.
2192         (nio_unmmap_file): Likewise.
2193         (niu_msync): Likewise.
2194
2195 2003-06-19  Michael Koch  <konqueror@gmx.de>
2196
2197         * java/awt/image/IndexColorModel.java:
2198         New version from classpath.
2199
2200 2003-06-18  Tom Tromey  <tromey@redhat.com>
2201
2202         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
2203         on arrays.
2204         (isLoopbackAddress): Likewise.
2205         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
2206         on arrays.
2207
2208 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
2209
2210         * java/lang/natVMSecurityManager.cc (getClassContext):
2211         Use maxlen instead of len for loop bound.
2212
2213 2003-06-18  Michael Koch  <konqueror@gmx.de>
2214
2215         * gnu/java/nio/SelectorImpl.java
2216         (register): Use fd with value 0 for now, will be fixed later.
2217         * gnu/java/nio/ServerSocketChannelImpl.java
2218         (fd): Removed.
2219         (local_port): Removed.
2220         (InetSocketAddress): Removed.
2221         (ServerSocketChannelImpl): Just initialize internal socket object.
2222         (implCloseSelectableChannel): Close internal socket object.
2223         (implConfigureBlocking): Added comment.
2224         (accept): Use jaba.net stuff to accept socket.
2225         * gnu/java/nio/SocketChannelImpl.java
2226         (fd): Removed.
2227         (local_port): Removed.
2228         (InetSocketAddress): Removed.
2229         (SocketCreate): Removed.
2230         (SocketConnect): Removed.
2231         (SocketBind): Removed.
2232         (SocketListen): Removed.
2233         (SocketAvailable): Removed.
2234         (SocketClose): Removed.
2235         (SocketRead): Removed.
2236         (SocketWrite): Removed.
2237         (SocketChannelImpl): Just initialize internal socket object.
2238         (implCloseSelectableChannel): Close internal socket object.
2239         (implConfigureBlocking): Fixed implementation, added comment.
2240         (connect): Use internal socket object to connect.
2241         (socket): No need for sanity checks.
2242         (read): Comment out some stuff, this will be reimplemented in the next
2243         commit.
2244         (write): Likewise.
2245         * gnu/java/nio/natFileChannelImpl.cc
2246         (nio_mmap_file): Line wrapped.
2247         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2248         * Makefile.am
2249         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2250         * Makefile.in: Regenerated.
2251
2252 2003-06-18  Michael Koch  <konqueror@gmx.de>
2253
2254         * java/util/Locale.java
2255         (equals): Merged from classpath.
2256
2257 2003-06-18  Michael Koch  <konqueror@gmx.de>
2258
2259         * java/net/InetAddress.java:
2260         Reformatted to better match classpath's version.
2261         * java/net/URL.java
2262         (equals): Simplified.
2263         * java/net/URLConnection.java
2264         (setDoInput): Revised documentation.
2265         (getDefaultUseCaches): Likewise.
2266         (setRequestProperty): Added @since tag.
2267
2268 2003-06-17  Michael Koch  <konqueror@gmx.de>
2269
2270         * java/net/InetSocketAddress.java
2271         (InetSocketAddress): Use wildcard address if addr is null.
2272         (InetSocketAddress): Dont duplicate implementation.
2273         (InetSocketAddress): Throw exception when hostname is null.
2274         * java/net/Socket.java:
2275         Reworked imports.
2276         (Socket): Throw exception when raddr is null, handle case when laddr
2277         is null.
2278
2279 2003-06-17  Michael Koch  <konqueror@gmx.de>
2280
2281         * java/nio/DirectByteBufferImpl.java
2282         (address): Made package private.
2283         (DirectByteBufferImpl): New constructor.
2284         * java/nio/natDirectByteBufferImpl.cc
2285         (allocateImpl): Moved to java.nio namespace, implemented.
2286         (freeImpl): Likewise.
2287         (getImpl): Likewise.
2288         (putImpl): Likewise.
2289         * jni.cc
2290         (_Jv_JNI_NewDirectByteBuffer): Implemented.
2291         (_Jv_JNI_GetDirectBufferAddress): Implemented.
2292         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2293
2294 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2295
2296         * include/powerpc-signal.h: New File.
2297         * configure.in: Use it.
2298         * configure: Regenerated.
2299
2300 2003-06-17  Michael Koch  <konqueror@gmx.de>
2301
2302         * java/util/Locale.java
2303         (getDisplayLanguage): Made it final.
2304         (getDisplayCountry): Likewise.
2305         (getDisplayVariant): Likewise.
2306         (getDisplayName): Likewise.
2307
2308 2003-06-17  Michael Koch  <konqueror@gmx.de>
2309
2310         * java/util/PropertyResourceBundle.java:
2311         Removed unneeded import.
2312
2313 2003-06-17  Michael Koch  <konqueror@gmx.de>
2314
2315         * java/util/prefs/AbstractPreferences.java,
2316         java/util/prefs/PreferencesFactory.java:
2317         Reworked imports, removed unused imports.
2318         * java/util/prefs/Preferences.java
2319         (systemNodeForPackage): Method takes a Class not an Object.
2320         (userNodeForPackage): Likewise.
2321         (nodeForPackage): Likewise.
2322
2323 2003-06-17  Michael Koch  <konqueror@gmx.de>
2324
2325         * gnu/java/security/x509/X509Certificate.java:
2326         Explicitely import used classes.
2327
2328 2003-06-17  Michael Koch  <konqueror@gmx.de>
2329
2330         * java/util/zip/ZipEntry.java,
2331         java/util/zip/ZipFile.java,
2332         java/util/zip/ZipInputStream.java,
2333         java/util/zip/ZipOutputStream.java:
2334         Reworked imports, only import used classes.
2335
2336 2003-06-17  Michael Koch  <konqueror@gmx.de>
2337
2338         * gnu/java/lang/ArrayHelper.java,
2339         gnu/java/lang/ClassHelper.java:
2340         Reformatted to match classpath's versions.
2341
2342 2003-06-14  Michael Koch  <konqueror@gmx.de>
2343
2344         * gnu/java/nio/FileChannelImpl.java
2345         (map_address): Removed incorrect comment.        
2346         * gnu/java/nio/SelectorImpl.java
2347         (register): Remove code duplication and code for file channel handling.        
2348         * gnu/java/nio/ServerSocketChannelImpl.java
2349         (serverSocket): Renamed from sock_object.
2350         (ServerSocketChannel): Initialize serverSocket.
2351         (socket): Return serverSocket.
2352         * gnu/java/nio/SocketChannelImpl.java
2353         (socket): Renamed from sock_object.
2354         (isConnectionPenging): Simplified.
2355         (socket): Return socket.
2356 2003-06-14  Michael Koch  <konqueror@gmx.de>
2357
2358         * java/security/BasicPermission.java:
2359         New version from classpath.
2360
2361 2003-06-14  Michael Koch  <konqueror@gmx.de>
2362
2363         * javax/naming/directory/Attribute.java:
2364         New version from classpath.
2365
2366 2003-06-14  Michael Koch  <konqueror@gmx.de>
2367
2368         * java/io/BufferedReader.java,
2369         java/io/FileOutputStream.java:
2370         New versions from classpath.
2371
2372 2003-06-12  Andrew Haley  <aph@redhat.com>
2373
2374         * prims.cc (catch_segv): Create exception in handler.
2375         (catch_fpe): Likewise.  
2376         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2377         (_Jv_ThrowSignal): Remove.
2378
2379         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2380         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2381         to nullp and arithexception.
2382         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2383         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2384         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2385         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2386         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2387
2388 2003-06-11  Andrew Haley  <aph@redhat.com>
2389
2390         * jni.cc (_Jv_JNI_check_types): New.
2391         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2392         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2393         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2394         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2395         
2396         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2397         infinite loop.
2398
2399 2003-06-11  Tom Tromey  <tromey@redhat.com>
2400
2401         * java/lang/ClassLoader.java (loadClass): Not deprecated.
2402         * java/io/PrintStream.java: Not deprecated.
2403
2404 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
2405
2406         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2407         (fillOval): implemented
2408         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2409         (fillArc): implemented.
2410         * gnu/gcj/xlib/GC.java (drawArc): added native method.
2411         (fillArc): added native method.
2412         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2413         (fillArc): added native method.
2414
2415 2003-06-11  Michael Koch  <konqueror@gmx.de>
2416
2417         * java/awt/im/InputSubset.java:
2418         New version from classpath.
2419
2420 2003-06-11  Michael Koch  <konqueror@gmx.de>
2421
2422         * javax/swing/AbstractAction.java,
2423         javax/swing/AbstractButton.java,
2424         javax/swing/AbstractCellEditor.java,
2425         javax/swing/AbstractListModel.java,
2426         javax/swing/BorderFactory.java,
2427         javax/swing/Box.java,
2428         javax/swing/BoxLayout.java,
2429         javax/swing/ButtonGroup.java,
2430         javax/swing/DefaultButtonModel.java,
2431         javax/swing/DefaultListModel.java,
2432         javax/swing/DefaultListSelectionModel.java,
2433         javax/swing/FocusManager.java,
2434         javax/swing/ImageIcon.java,
2435         javax/swing/InputMap.java,
2436         javax/swing/JApplet.java,
2437         javax/swing/JButton.java,
2438         javax/swing/JCheckBox.java,
2439         javax/swing/JCheckBoxMenuItem.java,
2440         javax/swing/JColorChooser.java,
2441         javax/swing/JComboBox.java,
2442         javax/swing/JComponent.java,
2443         javax/swing/JDesktopPane.java,
2444         javax/swing/JDialog.java,
2445         javax/swing/JEditorPane.java,
2446         javax/swing/JFileChooser.java,
2447         javax/swing/JFormattedTextField.java,
2448         javax/swing/JFrame.java,
2449         javax/swing/JLabel.java,
2450         javax/swing/JLayeredPane.java,
2451         javax/swing/JList.java,
2452         javax/swing/JMenuBar.java,
2453         javax/swing/JMenuItem.java,
2454         javax/swing/JOptionPane.java,
2455         javax/swing/JPanel.java,
2456         javax/swing/JPasswordField.java,
2457         javax/swing/JPopupMenu.java,
2458         javax/swing/JProgressBar.java,
2459         javax/swing/JRadioButton.java,
2460         javax/swing/JRadioButtonMenuItem.java,
2461         javax/swing/JRootPane.java,
2462         javax/swing/JScrollBar.java,
2463         javax/swing/JScrollPane.java,
2464         javax/swing/JSeparator.java,
2465         javax/swing/JSlider.java,
2466         javax/swing/JTabbedPane.java,
2467         javax/swing/JTable.java,
2468         javax/swing/JTextField.java,
2469         javax/swing/JToggleButton.java,
2470         javax/swing/JToolBar.java,
2471         javax/swing/JToolTip.java,
2472         javax/swing/JTree.java,
2473         javax/swing/JViewport.java,
2474         javax/swing/JWindow.java,
2475         javax/swing/KeyStroke.java,
2476         javax/swing/ListSelectionModel.java,
2477         javax/swing/LookAndFeel.java,
2478         javax/swing/RepaintManager.java,
2479         javax/swing/ScrollPaneLayout.java,
2480         javax/swing/SizeRequirements.java,
2481         javax/swing/SwingConstants.java,
2482         javax/swing/Timer.java,
2483         javax/swing/UIDefaults.java,
2484         javax/swing/UIManager.java,
2485         javax/swing/border/AbstractBorder.java,
2486         javax/swing/border/CompoundBorder.java,
2487         javax/swing/colorchooser/AbstractColorChooserPanel.java,
2488         javax/swing/colorchooser/ColorChooserComponentFactory.java,
2489         javax/swing/colorchooser/ColorSelectionModel.java,
2490         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2491         javax/swing/event/AncestorEvent.java,
2492         javax/swing/event/HyperlinkEvent.java,
2493         javax/swing/event/InternalFrameAdapter.java,
2494         javax/swing/event/InternalFrameEvent.java,
2495         javax/swing/event/ListDataEvent.java,
2496         javax/swing/event/MouseInputAdapter.java,
2497         javax/swing/event/SwingPropertyChangeSupport.java,
2498         javax/swing/event/TableModelEvent.java,
2499         javax/swing/event/TreeWillExpandListener.java,
2500         javax/swing/event/UndoableEditEvent.java,
2501         javax/swing/filechooser/FileFilter.java,
2502         javax/swing/filechooser/FileSystemView.java,
2503         javax/swing/filechooser/FileView.java,
2504         javax/swing/plaf/BorderUIResource.java,
2505         javax/swing/plaf/basic/BasicDefaults.java,
2506         javax/swing/table/AbstractTableModel.java,
2507         javax/swing/table/DefaultTableCellRenderer.java,
2508         javax/swing/table/DefaultTableColumnModel.java,
2509         javax/swing/table/DefaultTableModel.java,
2510         javax/swing/table/TableColumn.java,
2511         javax/swing/text/JTextComponent.java,
2512         javax/swing/tree/AbstractLayoutCache.java,
2513         javax/swing/tree/DefaultMutableTreeNode.java,
2514         javax/swing/tree/DefaultTreeCellEditor.java,
2515         javax/swing/tree/DefaultTreeCellRenderer.java,
2516         javax/swing/tree/DefaultTreeModel.java,
2517         javax/swing/tree/DefaultTreeSelectionModel.java,
2518         javax/swing/tree/FixedHeightLayoutCache.java,
2519         javax/swing/tree/TreeCellEditor.java,
2520         javax/swing/tree/TreeModel.java,
2521         javax/swing/tree/TreeNode.java,
2522         javax/swing/tree/TreePath.java,
2523         javax/swing/tree/TreeSelectionModel.java,
2524         javax/swing/tree/VariableHeightLayoutCache.java,
2525         javax/swing/undo/AbstractUndoableEdit.java,
2526         javax/swing/undo/CompoundEdit.java,
2527         javax/swing/undo/StateEdit.java,
2528         javax/swing/undo/UndoManager.java,
2529         javax/swing/undo/UndoableEditSupport.java:
2530         New versions from classpath.
2531         * javax/swing/table/JTableHeader.java:
2532         New file from classpath.
2533         * Makefile.am
2534         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2535         * Makefile.in: Regenerated.
2536
2537 2003-06-11  Michael Koch  <konqueror@gmx.de>
2538
2539         * java/nio/MappedByteBuffer.java,
2540         java/nio/channels/Channels.java,
2541         java/nio/channels/ServerSocketChannel.java,
2542         java/nio/channels/spi/AbstractSelector.java:
2543         Removed unneeded imports.
2544
2545 2003-06-11  Michael Koch  <konqueror@gmx.de>
2546
2547         * java/net/DatagramSocket.java:
2548         Partly merged with classpath.
2549
2550 2003-06-11  Michael Koch  <konqueror@gmx.de>
2551
2552         * java/awt/Frame.java,
2553         java/awt/Graphics.java,
2554         java/awt/Menu.java,
2555         java/awt/Robot.java,
2556         java/awt/image/ColorModel.java:
2557         New versions from classpath.
2558
2559 2003-06-10  Michael Koch  <konqueror@gmx.de>
2560
2561         * java/io/PrintStream.java:
2562         Merged version from classpath.
2563         (close): Removed sychronized keyword. This class is not garantied to
2564         be thread-safe.
2565         (write): Likewise.
2566
2567 2003-06-09  Tom Tromey  <tromey@redhat.com>
2568
2569         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2570         field.
2571         (getDescent): Likewise, for "descent".
2572
2573 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
2574
2575         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2576         (getMaxDescent): adjusted return value.
2577         (getAscent): modified to use metrics for 'O'.
2578         (getDescent): modified to use metrics for 'y'.
2579
2580 2003-06-08  Anthony Green  <green@redhat.com>
2581
2582         * java/net/URLStreamHandler.java (sameFile): Fix port value
2583         comparison.
2584         * java/net/URL.java (handler): Make package private.
2585         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2586
2587 2003-06-07  Tom Tromey  <tromey@redhat.com>
2588
2589         For PR libgcj/11085:
2590         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2591         Limit number of characters in numeric field when required.
2592         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2593         Respect maximumIntegerDigits.
2594
2595 2003-06-08  Michael Koch  <konqueror@gmx.de>
2596
2597         * java/net/Socket.java
2598         (Socket): Dont initialize inputShutdown and outputShutdown twice,
2599         call bind() and connect() to actually do the bind and connect tasks.
2600         (bind): Connect to canonical address if bindpoint is null, create
2601         socket and bind it to bindpoint.
2602         (connect): Check for exceptions.
2603
2604 2003-06-08  Michael Koch  <konqueror@gmx.de>
2605
2606         * java/net/DatagramSocket.java
2607         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2608         into the Multicast constructors.
2609         * java/net/DatagramSocketImpl.java
2610         (getOption): Removed.
2611         (setOption): Removed.
2612         * java/net/MulticastSocket.java
2613         (MulticastSocket): Call setReuseAddress (true).
2614         * java/net/SocketImpl.java
2615         (getOption): Removed.
2616         (setOption): Removed.
2617
2618 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
2619
2620         PR libgcj/10886:
2621         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2622         Test for empty vector.
2623
2624 2003-06-06  Mark Wielaard  <mark@klomp.org>
2625
2626         * java/security/Security.java (secprops): Initialize.
2627         (loadProviders): Return boolean.
2628         (static): Check result of loadProvider calls. If necessary
2629         display WARNING and fallback to Gnu provider.
2630
2631 2002-06-06  James Clark  <jjc@jclark.com>
2632
2633         Fix for PR libgcj/8738:
2634         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2635         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2636         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2637         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2638         (write): Always decrease avail when count is increased.
2639         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2640         and whether output buffer is full before increasing size.
2641
2642 2002-06-06  Mark Wielaard  <mark@klomp dot org>
2643
2644         * java/io/PrintStream.java (writeChars(char[],int, int)):
2645         Check converter.havePendingBytes().
2646         (writeChars(String,int,int)): Likewise.
2647         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2648         Check converter.havePendingBytes() and flush buffer when stalled.
2649
2650 2003-06-07  Michael Koch  <konqueror@gmx.de>
2651
2652         * include/posix.h
2653         (O_DSYNC): Define O_DSYNC on platforms not
2654         supporting O_FSYNC (newlib).
2655
2656 2003-06-06  Mark Wielaard  <mark@klomp.org>
2657
2658         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2659         AWTError.
2660
2661 2003-06-06  Michael Koch  <konqueror@gmx.de>
2662
2663         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2664         More compile fixes from my stupid work yesterday.
2665
2666 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2667
2668         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2669         if _IEEE_LIBM is undefined.
2670
2671 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
2672
2673         * libjava/include/posix.h (O_SYNC): Define if not available
2674         and a reasonable, perhaps more conservative, replacement exists.
2675         (O_DSYNC): Likewise.
2676         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2677
2678 2003-06-05  Michael Koch  <konqueror@gmx.de>
2679
2680         * javax/swing/plaf/BorderUIResource.java,
2681         javax/swing/plaf/basic/BasicDefaults.java,
2682         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2683         More compile fixes for latest Border commit. I should not commit
2684         something in this heat here ...
2685
2686 2003-06-05  Michael Koch  <konqueror@gmx.de>
2687
2688         * javax/swing/border/BevelBorder.java
2689         (BevelBorder): Removed.
2690         * javax/swing/border/EmptyBorder.java:
2691         Reformatted.
2692         (EmptyBorder): Removed.
2693         (getBorderInsets): Dont use l, r, t and b.
2694         * javax/swing/border/EtchedBorder.java
2695         (EtchedBorder): Removed.
2696         * javax/swing/border/LineBorder.java
2697         (LineBorder): Removed.
2698         * javax/swing/border/MatteBorder.java
2699         (MatteBorder): Removed.
2700         * javax/swing/border/TitledBorder.java
2701         (defaultBorder): Use other default for now.
2702         (defaultFont): Likewise.
2703         (defaultColor): Likewise.
2704
2705 2003-06-05  Michael Koch  <konqueror@gmx.de>
2706
2707         * javax/swing/border/Border.java:
2708         New version from classpath.
2709
2710 2003-06-05  Michael Koch  <konqueror@gmx.de>
2711
2712         * javax/swing/border/AbstractBorder.java,
2713         javax/swing/border/BevelBorder.java,
2714         javax/swing/border/CompoundBorder.java,
2715         javax/swing/border/EmptyBorder.java,
2716         javax/swing/border/EtchedBorder.java,
2717         javax/swing/border/LineBorder.java,
2718         javax/swing/border/MatteBorder.java,
2719         javax/swing/border/TitledBorder.java:
2720         New versions from Classpath.
2721
2722 2003-06-05  Michael Koch  <konqueror@gmx.de>
2723
2724         * java/awt/Button.java,
2725         java/awt/Checkbox.java,
2726         java/awt/CheckboxMenuItem.java,
2727         java/awt/Choice.java,
2728         java/awt/Container.java,
2729         java/awt/Dialog.java,
2730         java/awt/EventQueue.java,
2731         java/awt/FileDialog.java,
2732         java/awt/Frame.java,
2733         java/awt/Label.java,
2734         java/awt/List.java,
2735         java/awt/Menu.java,
2736         java/awt/MenuItem.java,
2737         java/awt/Panel.java,
2738         java/awt/PopupMenu.java,
2739         java/awt/Rectangle.java,
2740         java/awt/ScrollPane.java,
2741         java/awt/Scrollbar.java,
2742         java/awt/TextArea.java,
2743         java/awt/TextField.java,
2744         java/awt/Window.java,
2745         java/awt/datatransfer/DataFlavor.java,
2746         java/awt/dnd/DragSource.java,
2747         java/awt/dnd/DragSourceContext.java,
2748         java/awt/event/HierarchyEvent.java,
2749         java/awt/event/MouseWheelEvent.java,
2750         java/awt/im/InputContext.java,
2751         java/awt/image/BufferedImage.java,
2752         java/awt/image/ComponentColorModel.java,
2753         java/awt/image/Raster.java,
2754         java/awt/image/WritableRaster.java,
2755         java/awt/peer/ComponentPeer.java,
2756         java/awt/print/PageFormat.java,
2757         java/awt/print/PrinterJob.java:
2758         New versions from Classpath.
2759
2760 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
2761
2762         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2763         numberFormat.setParseIntegerOnly(true).
2764
2765 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
2766
2767         * include/posix-threads.h: Include <machine/pal.h> on OSF.
2768
2769 2003-06-03  Andrew Haley  <aph@redhat.com>
2770
2771         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2772         stack volatile to prevent optimization from removing it.
2773
2774 2003-05-27  Michael Koch  <konqueror@gmx.de>
2775
2776         * java/util/zip/Deflater.java
2777         (FILTERED): Merged documentation from classpath.
2778         * java/util/zip/DeflaterOutputStream.java
2779         (DeflaterOutputStream): Merged documentation and argument validity
2780         check from classpath.
2781         (deflate): Merged documentation from classpath.
2782         (finish): Likewise.
2783         * java/util/zip/Inflater.java
2784         (Inflater): Merged class documentation from classpath.
2785         (zstream): Reordered.
2786         (is_finished): Reordered.
2787         (dict_needed): Reordered.
2788         (Inflater): Reordered, merged documentation from classpath.
2789         (end): Likewise.
2790         (finalize): Merged documentation from classpath.
2791         (finished): Likewise.
2792         (getAdler): Likewise.
2793         (getRemaining): Likewise.
2794         (getTotalIn): Likewise.
2795         (getTotalOut): Likewise.
2796         (inflate): Likewise.
2797         (needsDictionary): Likewise.
2798         (needsInput): Likewise.
2799         (reset): Likewise.
2800         (setDictionary): Likewise.
2801         (setInput): Likewise.
2802
2803 2003-05-27  Michael Koch  <konqueror@gmx.de>
2804
2805         * java/net/URLConnection.java
2806         (getHeaderFieldInt): Merged with classpath.
2807
2808 2003-05-27  Michael Koch  <konqueror@gmx.de>
2809
2810         * java/io/PrintStream.java
2811         (PrintStream): Reformatted.
2812         (PrintStream): New method, merged from classpath.
2813         (write): Reformatted.
2814
2815 2003-05-27  Michael Koch  <konqueror@gmx.de>
2816
2817         * java/lang/System.java:
2818         Explicitely import needed classes.
2819
2820 2003-05-26  Michael Koch  <konqueror@gmx.de>
2821
2822         * java/net/NetPermission.java,
2823         java/net/NetworkInterface.java,
2824         java/net/PasswordAuthentication.java,
2825         java/net/SocketPermission.java:
2826         New versions from classpath.
2827
2828 2003-05-25  Michael Koch  <konqueror@gmx.de>
2829
2830         * java/io/PushbackInputStream.java,
2831         java/net/Authenticator.java,
2832         java/net/ContentHandler.java,
2833         java/net/ContentHandlerFactory.java,
2834         java/net/DatagramSocket.java,
2835         java/net/DatagramSocketImpl.java,
2836         java/net/DatagramSocketImplFactory.java,
2837         java/net/FileNameMap.java,
2838         java/net/SocketImplFactory.java,
2839         java/net/SocketOptions.java,
2840         java/net/URLStreamHandlerFactory.java:
2841         Merged new versions from classpath.
2842
2843 2003-05-25  Michael Koch  <konqueror@gmx.de>
2844
2845         * java/awt/Checkbox.java,
2846         java/awt/Dialog.java,
2847         java/awt/Font.java,
2848         java/awt/Frame.java,
2849         java/awt/ScrollPaneAdjustable.java,
2850         java/awt/Scrollbar.java,
2851         java/awt/Window.java:
2852         New versions from classpath.
2853
2854 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
2855
2856         PR libgcj/10838:
2857         * java/io/ObjectInputStream (enableResolveObject):
2858         Fixed spelling of permission name.
2859
2860 2003-05-20  Michael Koch  <konqueror@gmx.de>
2861
2862         * java/io/DataInputStream.java
2863         (convertFromUTF): Merged comment from classpath.
2864         * java/io/PrintStream.java
2865         (error_occured): Renamed from error, merged comment from classpath.
2866         (PrintStream): No need to initialized error.
2867         (checkError): Replace error with error_occurred.
2868         (setError): Likewise.
2869
2870 2003-05-20  Michael Koch  <konqueror@gmx.de>
2871
2872         * java/io/DataInputStream.java:
2873         Reformatted, Replaced < and & with html entitites in documentation.
2874         * java/io/File.java:
2875         Reformatted.
2876         * java/io/PrintWriter.java:
2877         Moved class documentation.
2878
2879 2003-05-20  Michael Koch  <konqueror@gmx.de>
2880
2881         * gnu/java/nio/ByteBufferImpl.java,
2882         gnu/java/nio/CharBufferImpl.java,
2883         gnu/java/nio/CharViewBufferImpl.java,
2884         gnu/java/nio/DirectByteBufferImpl.java,
2885         gnu/java/nio/DoubleBufferImpl.java,
2886         gnu/java/nio/DoubleViewBufferImpl.java,
2887         gnu/java/nio/FloatBufferImpl.java,
2888         gnu/java/nio/FloatViewBufferImpl.java,
2889         gnu/java/nio/IntBufferImpl.java,
2890         gnu/java/nio/IntViewBufferImpl.java,
2891         gnu/java/nio/LongBufferImpl.java,
2892         gnu/java/nio/LongViewBufferImpl.java,
2893         gnu/java/nio/natDirectByteBufferImpl.cc,
2894         gnu/java/nio/ShortBufferImpl.java,
2895         gnu/java/nio/ShortViewBufferImpl.java:
2896         Moved files to java/nio.
2897         * gnu/java/nio/SocketChannelImpl.java
2898         
2899         * java/nio/ByteBuffer.java,
2900         java/nio/CharBuffer.java,
2901         java/nio/DoubleBuffer.java,
2902         java/nio/FloatBuffer.java,
2903         java/nio/IntBuffer.java,
2904         java/nio/LongBuffer.java,
2905         java/nio/ShortBuffer.java:
2906         Dont import anything.
2907         * java/nio/ByteBufferImpl.java,
2908         java/nio/CharBufferImpl.java,
2909         java/nio/CharViewBufferImpl.java,
2910         java/nio/DirectByteBufferImpl.java,
2911         java/nio/DoubleBufferImpl.java,
2912         java/nio/DoubleViewBufferImpl.java,
2913         java/nio/FloatBufferImpl.java,
2914         java/nio/FloatViewBufferImpl.java,
2915         java/nio/IntBufferImpl.java,
2916         java/nio/IntViewBufferImpl.java,
2917         java/nio/LongBufferImpl.java,
2918         java/nio/LongViewBufferImpl.java,
2919         java/nio/natDirectByteBufferImpl.cc,
2920         java/nio/ShortBufferImpl.java,
2921         java/nio/ShortViewBufferImpl.java:
2922         Moved from gnu/java/nio.
2923         * Makefile.am
2924         (ordinary_java_source_files): Moved files from gnu/java/nio to
2925         java/nio.
2926         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2927         to java/nio.
2928         * Makefile.in: Regenerated.
2929
2930 2003-05-19  Michael Koch  <konqueror@gmx.de>
2931
2932         * java/util/Calendar.java
2933         (get): Not final anymore since JDK 1.4
2934         (set): Likewise.
2935
2936 2003-05-19  Michael Koch  <konqueror@gmx.de>
2937
2938         * java/text/CollationKey.java:
2939         Merged copyright and dat from classpath.
2940         * java/text/RuleBasedCollator.java:
2941         Merged class documentation from classpath.
2942
2943 2003-05-19  Michael Koch  <konqueror@gmx.de>
2944
2945         * java/nio/CharBuffer.java
2946         (toString): Compile fix.
2947
2948 2003-05-19  Michael Koch  <konqueror@gmx.de>
2949
2950         * gnu/java/nio/ByteBufferImpl.java
2951         (putLong): Fixed conversion to bytes.
2952         (putDouble): Fixed conversion to bytes.
2953         * gnu/java/nio/DirectByteBufferImpl.java
2954         (putLong): Fixed conversion to bytes.
2955         (putDouble): Fixed conversion to bytes.
2956         * gnu/java/nio/FileLockImpl.java
2957         (isValid): Reformatted.
2958         * java/nio/Buffer.java
2959         (Buffer): Fixed off-by-one bug in handling mark.
2960         * java/nio/ByteBuffer.java:
2961         Added newline.
2962         * java/nio/CharBuffer.java
2963         (toString): Don't use relative get to get string data.
2964
2965 2003-05-16  Michael Koch  <konqueror@gmx.de>
2966
2967         * java/io/natFileDescriptorPosix.cc
2968         (open): Commented out the O_SYNC and O_DSYNC usage until its better
2969         tested.
2970
2971 2003-05-14  Michael Koch  <konqueror@gmx.de>
2972
2973         * gnu/java/nio/FileLockImpl.java
2974         (released): New member variable.
2975         (FileLockImpl): Initialize released.
2976         (releaseImpl): New native method.
2977         (release): Implemented.
2978         * gnu/java/nio/SelectorImpl.java: Reformatted.
2979         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2980         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2981         (accept): Throws IOException.
2982         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2983         (implConfigureBlocking): Throws IOException.
2984         (connect): Likewise.
2985         (read): Likewise.
2986         (write): Likewise.
2987         * gnu/java/nio/natFileLockImpl.cc: New file.
2988         * java/nio/channels/FileLock.java: Reformatted.
2989         * Makefile.am:
2990         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2991         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2992         * Makefile.in: Regenerated.
2993
2994 2003-05-13  Michael Koch  <konqueror@gmx.de>
2995
2996         * gnu/java/nio/CharViewBufferImpl.java
2997         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2998         (get): Shift bits to the right direction.
2999         (put): Likewise.
3000         * gnu/java/nio/DoubleViewBufferImpl.java
3001         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3002         (get): Shift bits to the right direction.
3003         (put): Likewise.
3004         * gnu/java/nio/FloatViewBufferImpl.java
3005         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3006         (get): Shift bits to the right direction.
3007         (put): Likewise.
3008         * gnu/java/nio/IntViewBufferImpl.java
3009         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3010         (get): Shift bits to the right direction.
3011         (put): Likewise.
3012         * gnu/java/nio/LongViewBufferImpl.java
3013         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3014         (get): Shift bits to the right direction.
3015         (put): Likewise.
3016         * gnu/java/nio/ShortViewBufferImpl.java
3017         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3018         (get): Shift bits to the right direction.
3019         (put): Likewise.
3020
3021 2003-05-13  Michael Koch  <konqueror@gmx.de>
3022
3023         * gnu/java/nio/natDirectByteBufferImpl.cc
3024         (allocateImpl): jlong -> RawData*.
3025         (freeImpl): Likewise.
3026
3027 2003-05-13  Michael Koch  <konqueror@gmx.de>
3028
3029         * java/nio/channels/FileChannel.java
3030         (MapMode.m): Made it package-private to match JDK 1.4.
3031         * java/nio/charset/Charset.java
3032         (decode): Made it final to match JDK 1.4.
3033
3034 2003-05-13  Michael Koch  <konqueror@gmx.de>
3035
3036        * java/io/FileDescriptor.java
3037        (SYNC): New constant.
3038        (DSYNC): Likewise.
3039        (getLength): Renamed from lenght() to match classpath's
3040        FileDescriptor.java.
3041        * java/io/RandomAccessFile.java
3042        (RandomAccessFile): Removed unneeded mode check, implemented mode
3043        "rws" and "rwd", merged documentation from classpath.
3044        (setLength): Reformatted.
3045        (length): Use new getLength() of FileDescriptor.
3046        * java/io/natFileDescriptorEcos.cc
3047        (getLength): Renamed from length().
3048        * java/io/natFileDescriptorPosix.cc
3049        (open): Implemented support for SYNC and DSYNC.
3050        (seek): Use getLength() instead of length().
3051        (getLength): Renamed from length().
3052        * java/io/natFileDescriptorWin32.cc
3053        (getLength): Renamed from length().
3054        (seek): Use getLength() instead of length().
3055        (available): Likewise.
3056        * gnu/java/nio/natFileChannelImpl.cc
3057        (size): Use getLength() instead of length().
3058
3059 2003-05-13  Michael Koch  <konqueror@gmx.de>
3060
3061         * gnu/java/nio/ByteBufferImpl.java
3062         (ByteBufferImpl): All constructors revised.
3063         (slice): Reimplemented.
3064         (duplicate): Reimplemented.
3065         (asReadOnlyBuffer): Reimplemented.
3066         * java/nio/ByteBuffer.java:
3067         Reformatted.
3068         (array_offset): Renamed from "offset" to match all other buffer
3069         classes.
3070         (ByteBuffer): All constructors revised.
3071         (allocateDirect): Implemented.
3072         (allocate): New implementation, documentation reworked.
3073         (wrap): Likewise.
3074         (get): Documentation reworked.
3075         (put): New implementation, documentation reworked.
3076         (hasArray): Documentation reworked.
3077         (arrayOffset): Likewise.
3078         (hashCode): Likewise.
3079         (equals): Likewise.
3080         (compareTo): Likewise.
3081         (order): Likewise.
3082         (compact): Likewise.
3083         (isDirect): Likewise.
3084         (slice): Likewise.
3085         (duplicate): Likewise.
3086         (asReadOnlyBuffer): Likewise.
3087         * Makefile.am
3088         (ordinary_java_source_files):
3089         Added gnu/java/nio/DirectByteBufferImpl.java.
3090         (nat_source_files):
3091         Added gnu/java/nio/natDirectByteBufferImpl.cc.
3092         * Makefile.in: Regenerated.
3093
3094 2003-05-12  Michael Koch  <konqueror@gmx.de>
3095
3096         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
3097         (nio_get_*): Removed.
3098         (nio_put_*): Removed.
3099         (as*Buffer): Implemented.
3100         (compact): Implemented.
3101         (get): Documentation added.
3102         (put): Documentation added.
3103         (get*): Newly implemented.
3104         (put*): Newly implemented.
3105         * gnu/java/nio/CharBufferImpl.java: Reformatted.
3106         (CharBufferImpl): Revised.
3107         (slice): New implementation.
3108         (duplicate): New implementation.
3109         (compact): New implementation.
3110         (asReadOnlyBuffer): New implementation.
3111         (get): Documentation revised.
3112         (order): Return native byte order.
3113         * gnu/java/nio/DirectByteBufferImpl.java
3114         (allocateDirect): objects can be null not 0.
3115         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
3116         (DoubleBufferImpl): Revised.
3117         (slice): New implementation.
3118         (duplicate): New implementation.
3119         (compact): New implementation.
3120         (asReadOnlyBuffer): New implementation.
3121         (get): Documentation revised.
3122         (order): Return native byte order.
3123         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
3124         (FloatBufferImpl): Revised.
3125         (slice): New implementation.
3126         (duplicate): New implementation.
3127         (compact): New implementation.
3128         (asReadOnlyBuffer): New implementation.
3129         (get): Documentation revised.
3130         (order): Return native byte order.
3131         * gnu/java/nio/IntBufferImpl.java: Reformatted.
3132         (IntBufferImpl): Revised.
3133         (slice): New implementation.
3134         (duplicate): New implementation.
3135         (compact): New implementation.
3136         (asReadOnlyBuffer): New implementation.
3137         (get): Documentation revised.
3138         (order): Return native byte order.
3139         * gnu/java/nio/LongBufferImpl.java: Reformatted.
3140         (LongBufferImpl): Revised.
3141         (slice): New implementation.
3142         (duplicate): New implementation.
3143         (compact): New implementation.
3144         (asReadOnlyBuffer): New implementation.
3145         (get): Documentation revised.
3146         (order): Return native byte order.
3147         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
3148         (ShortBufferImpl): Revised.
3149         (slice): New implementation.
3150         (duplicate): New implementation.
3151         (compact): New implementation.
3152         (asReadOnlyBuffer): New implementation.
3153         (get): Documentation revised.
3154         (order): Return native byte order.
3155         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
3156         (CharBuffer): Revised.
3157         (order): Removed.
3158         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
3159         (DoubleBuffer): Revised.
3160         (allocateDirect): Removed.
3161         (order): Removed.
3162         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
3163         (FloatBuffer): Revised.
3164         (allocateDirect): Removed.
3165         (order): Removed.
3166         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
3167         (IntBuffer): Revised.
3168         (allocateDirect): Removed.
3169         (order): Removed.
3170         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
3171         (LongBuffer): Revised.
3172         (allocateDirect): Removed.
3173         (order): Removed.
3174         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
3175         (ShortBuffer): Revised.
3176         (allocateDirect): Removed.
3177         (order): Removed.
3178         * gnu/java/nio/natByteBufferImpl.cc: Removed.
3179         * gnu/java/nio/natCharBufferImpl.cc: Removed.
3180         * Makefile.am
3181         (ordinary_java_source_files): Added the following files:
3182         gnu/java/nio/CharViewBufferImpl.java,
3183         gnu/java/nio/DoubleViewBufferImpl.java,
3184         gnu/java/nio/FloatViewBufferImpl.java,
3185         gnu/java/nio/IntViewBufferImpl.java,
3186         gnu/java/nio/LongViewBufferImpl.java,
3187         gnu/java/nio/ShortViewBufferImpl.java
3188         (nat_source_files): Removed the following files:
3189         gnu/java/nio/natByteBufferImpl.cc,
3190         gnu/java/nio/natCharBufferImpl.cc
3191         * Makefile.in: Regenerated.
3192
3193 2003-05-12  Michael Koch  <konqueror@gmx.de>
3194
3195         * gnu/java/nio/CharViewBufferImpl.java,
3196         gnu/java/nio/DirectByteBufferImpl.java,
3197         gnu/java/nio/DoubleViewBufferImpl.java,
3198         gnu/java/nio/FloatViewBufferImpl.java,
3199         gnu/java/nio/IntViewBufferImpl.java,
3200         gnu/java/nio/LongViewBufferImpl.java,
3201         gnu/java/nio/ShortViewBufferImpl.java,
3202         gnu/java/nio/natDirectByteBufferImpl.cc:
3203         New files, not yet to be compiled.
3204
3205 2003-05-10  Michael Koch  <konqueror@gmx.de>
3206
3207         * javax/swing/plaf/ButtonUI.java,
3208         javax/swing/plaf/ColorUIResource.java,
3209         javax/swing/plaf/ComponentUI.java,
3210         javax/swing/plaf/DimensionUIResource.java,
3211         javax/swing/plaf/FontUIResource.java,
3212         javax/swing/plaf/IconUIResource.java,
3213         javax/swing/plaf/InsetsUIResource.java,
3214         javax/swing/plaf/LabelUI.java,
3215         javax/swing/plaf/ListUI.java,
3216         javax/swing/plaf/OptionPaneUI.java,
3217         javax/swing/plaf/PanelUI.java,
3218         javax/swing/plaf/TabbedPaneUI.java,
3219         javax/swing/plaf/TextUI.java,
3220         javax/swing/plaf/TreeUI.java,
3221         javax/swing/plaf/ViewportUI.java,
3222         javax/swing/plaf/basic/BasicBorders.java,
3223         javax/swing/plaf/basic/BasicButtonUI.java,
3224         javax/swing/plaf/basic/BasicCheckBoxUI.java,
3225         javax/swing/plaf/basic/BasicDefaults.java,
3226         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3227         javax/swing/plaf/basic/BasicIconFactory.java,
3228         javax/swing/plaf/basic/BasicLabelUI.java,
3229         javax/swing/plaf/basic/BasicListUI.java,
3230         javax/swing/plaf/basic/BasicOptionPaneUI.java,
3231         javax/swing/plaf/basic/BasicPanelUI.java,
3232         javax/swing/plaf/basic/BasicRadioButtonUI.java,
3233         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3234         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3235         javax/swing/plaf/basic/BasicTextUI.java,
3236         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3237         javax/swing/plaf/basic/BasicTreeUI.java,
3238         javax/swing/plaf/basic/BasicViewportUI.java,
3239         javax/swing/plaf/metal/MetalLookAndFeel.java:
3240         New versions from classpath. This adds copyrights to all files and
3241         some serialVersionUIDs.
3242
3243 2003-05-10  Michael Koch  <konqueror@gmx.de>
3244
3245         * java/nio/CharBuffer.java
3246         (offset): Make it package-private.
3247         (backing_buffer): Likewise.
3248         * java/nio/DoubleBuffer.java
3249         (offset): Make it package-private.
3250         (backing_buffer): Likewise.
3251         (put): Reformatted.
3252         * java/nio/FloatBuffer.java
3253         (offset): Make it package-private.
3254         (backing_buffer): Likewise.
3255         * java/nio/IntBuffer.java
3256         (offset): Make it package-private.
3257         (backing_buffer): Likewise.
3258         * java/nio/LongBuffer.java
3259         (offset): Make it package-private.
3260         (backing_buffer): Likewise.
3261         * java/nio/ShortBuffer.java
3262         (offset): Make it package-private.
3263         (backing_buffer): Likewise.
3264
3265 2003-05-10  Michael Koch  <konqueror@gmx.de>
3266
3267         * java/nio/CharBuffer.java
3268         (put): Fixed precondtion check.
3269         (toString): Make it work without backing array.
3270         (put): Skip one level of method calling.
3271
3272 2003-05-10  Michael Koch  <konqueror@gmx.de>
3273
3274         * java/security/Identity.java,
3275         java/security/IdentityScope.java,
3276         java/security/Key.java,
3277         java/security/KeyPair.java,
3278         java/security/PrivateKey.java,
3279         java/security/Provider.java,
3280         java/security/PublicKey.java,
3281         java/security/SecureRandom.java,
3282         java/security/SecureRandomSpi.java,
3283         java/security/SignedObject.java,
3284         java/security/Signer.java,
3285         java/security/cert/Certificate.java,
3286         java/security/cert/PKIXCertPathBuilderResult.java,
3287         java/security/cert/X509Certificate.java:
3288         New versions from classpath.
3289
3290 2003-05-09  Tom Tromey  <tromey@redhat.com>
3291
3292         * Makefile.in: Rebuilt.
3293         * Makefile.am (nat_source_files): Removed old files.
3294         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3295         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3296         * gnu/java/nio/natIntBufferImpl.cc: Removed.
3297         * gnu/java/nio/natLongBufferImpl.cc: Removed.
3298         * gnu/java/nio/natShortBufferImpl.cc: Removed.
3299
3300 2003-05-09  Michael Koch  <konqueror@gmx.de>
3301
3302         * gnu/java/nio/ByteBufferImpl.java
3303         (nio_cast): Removed.
3304         (ByteBufferImpl): Removed.
3305         (nio_get_Byte): Removed.
3306         (nio_put_Byte): Removed.
3307         (asByteBuffer): Removed.
3308         (asCharBuffer): Removed implementation and throw exception.
3309         (asShortBuffer): Likewise.
3310         (asIntBuffer): Likewise.
3311         (asLongBuffer): Likewise.
3312         (asFloatBuffer): Likewise.
3313         (asDoubleBuffer): Likewise.
3314         * gnu/java/nio/CharBufferImpl.java
3315         (CharBufferImpl): Removed.
3316         (nio_get_Byte): Removed.
3317         (nio_put_Byte): Removed.
3318         (asByteBuffer): Removed.
3319         * gnu/java/nio/DoubleBufferImpl.java
3320         (DoubleBufferImpl): Removed.
3321         (nio_get_Byte): Removed.
3322         (nio_put_Byte): Removed.
3323         (asByteBuffer): Removed.
3324         * gnu/java/nio/FloatBufferImpl.java
3325         (FloatBufferImpl): Removed.
3326         (nio_get_Byte): Removed.
3327         (nio_put_Byte): Removed.
3328         (asByteBuffer): Removed.
3329         * gnu/java/nio/IntBufferImpl.java
3330         (IntBufferImpl): Removed.
3331         (nio_get_Byte): Removed.
3332         (nio_put_Byte): Removed.
3333         (asByteBuffer): Removed.
3334         * gnu/java/nio/LongBufferImpl.java
3335         (LongBufferImpl): Removed.
3336         (nio_get_Byte): Removed.
3337         (nio_put_Byte): Removed.
3338         (asByteBuffer): Removed.
3339         * gnu/java/nio/ShortBufferImpl.java
3340         (ShortBufferImpl): Removed.
3341         (nio_get_Byte): Removed.
3342         (nio_put_Byte): Removed.
3343         (asByteBuffer): Removed.
3344         * gnu/java/nio/natByteBufferImpl.cc
3345         (nio_cast): Removed.
3346         (nio_get_Byte): Removed.
3347         (nio_put_Byte): Removed.
3348         * gnu/java/nio/natCharBufferImpl.cc
3349         (nio_get_Byte): Removed.
3350         (nio_put_Byte): Removed.
3351
3352 2003-05-09  Michael Koch  <konqueror@gmx.de>
3353
3354         * java/net/JarURLConnection.java
3355         (getJarEntry): Merged documentation from classpath.
3356         (getJarFile): Likewise.
3357         (getMainAttributes): Likewise.
3358         (getAttributes): Likewise.
3359         (getManifest): Likewise.
3360         (getCertificates): Reformatted.
3361         * java/net/URLConnection.java:
3362         Little classpath merge.
3363
3364 2003-05-09  Michael Koch  <konqueror@gmx.de>
3365
3366         * java/io/DataOutputStream.java
3367         (writeShort): Made it synchronized.
3368         (writeChar): Likewise.
3369         (writeInt): Likewise.
3370         (writeLong): Liekwise.
3371         (writeUTF): Made it synchronized, renamed argument to match classpath.
3372         * java/io/InputStreamReader.java
3373         (converter): Added documentation.
3374         (read): Merged documentation from classpath.
3375         * java/io/OutputStreamWriter.java
3376         (OutputStreamWriter): Merged documentation from classpath.
3377         (close): Reformatted.
3378         (getEncoding): Likewise.
3379         (flush): Likewise.
3380         (write): Merged documentation from classpath, reformatted.
3381
3382 2003-05-08  Tom Tromey  <tromey@redhat.com>
3383
3384         * configure.host <powerpc64*-*>: Set with_libffi_default and
3385         libgcj_interpreter to "yes".
3386
3387 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
3388
3389         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3390         
3391 2003-05-06  Tom Tromey  <tromey@redhat.com>
3392
3393         * verify.cc: Reverted previous patch.
3394
3395 2003-05-06  Michael Koch  <konqueror@gmx.de>
3396
3397         * java/io/DataOutputStream.java
3398         (write): Renamed argument to "value", merged documentation from
3399         classpath.
3400         (writeBoolean): Likewise.
3401         (writeByte): Likewise.
3402         (writeShort): Likewise.
3403         (writeChar): Likewise.
3404         (writeInt): Likewise.
3405         (writeLong): Likewise.
3406         (writeFloat): Likewise.
3407         (writeDouble): Likewise.
3408         (writeBytes): Likewise.
3409         (writeChars): Likewise.
3410         (writeUTF): Likewise.
3411         * java/io/File.java
3412         (performDelete): Added documentation.
3413         (performList): Likewise.
3414         (performMkdir): Likewise.
3415         (performSetReadOnly): Likewise.
3416         (performRenameTo): Likewise.
3417         (performSetLastModified): Likewise.
3418         (delete): Made it sychronized.
3419         (renameTo): Made it sychronized.
3420         (equals): Reformatted.
3421         (isHidden): Likewise.
3422         (listFiles): Likewise.
3423         (setReadOnly): Likewise.
3424         (listRoots): Likewise.
3425         (setLastModified): Likewise.
3426         (checkRead): Likewise.
3427         (checkWrite): Likewise.
3428         * java/io/FileInputStream.java
3429         (skip): Made it sychronized, merged from classpath.
3430         * java/io/FileOutputStream.java
3431         (write): Merged from classpath.
3432         * java/io/InputStreamReader.java:
3433         (InputStreamReader): Merged documentation from classpath.
3434
3435 2003-05-05  Michael Koch  <konqueror@gmx.de>
3436
3437         * java/net/NetworkInterface.java
3438         (networkInterfaces): Removed.
3439         (getByName): Use getRealNetworkInterfaces() instead of
3440         networkInterfaces.
3441         (getByInetAddress): Likewise.
3442         (getNetworkInterfaces): Likewise.
3443         (toString): Fix output of addresses of an interface.
3444
3445 2003-05-05  Michael Koch  <konqueror@gmx.de>
3446
3447         * java/io/DataInputStream.java:
3448         Merged new documentation from classpath.
3449
3450 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
3451
3452         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
3453         "version".
3454         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
3455         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
3456         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
3457         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
3458         * gnu/awt/gtk/GtkMainThread.java: Likewise.
3459         * gnu/awt/gtk/GtkToolkit.java: Likewise.
3460         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
3461         * java/security/Key.java: Likewise.
3462         * java/security/PrivateKey.java: Likewise.
3463         * java/security/Provider.java: Likewise.
3464         * java/security/PublicKey.java: Likewise.
3465
3466 2003-05-02  Michael Koch  <konqueror@gmx.de>
3467
3468         * java/net/URI.java
3469         (create): Doesnt throws any exceptions.
3470         * java/net/URLConnection.java
3471         (URLConnection): Commend added.
3472         (getExpiration): The header field is called "expires" not
3473         "expiration".
3474         (getHeaderField): Merged documentation with classpath.
3475         (getHeaderFieldInt): Likewise.
3476         (getHeaderFieldDate): Likewise.
3477         (getHeaderFieldKey): Likewise.
3478         (getPermission): Likewise.
3479         (setDefaultUseCaches): Likewise.
3480         (setRequestProperty): Likewise.
3481         (addRequestProperty): Likewise.
3482         (getRequestProperty): Likewise.
3483         (getRequestProperties): Likewise.
3484         (setDefaultRequestProperty): Likewise.
3485         (getDefaultRequestProperty): Likewise.
3486         (guessContentTypeFromStream): Likewise.
3487         (getFileNameMap): Likewise.
3488         (setFileNameMap): Likewise.
3489         (setDoInput): Merged implementation and documentation with classpath.
3490         (setDoOutput): Likewise.
3491         (setAllowUserInteraction): Likewise.
3492         (setDefaultAllowUserInteraction): Likewise.
3493         (setContentHandlerFactory): Made it synchronized, merged documentation
3494         with classpath.
3495         (guessContentTypeFromName): Renamed argument fname to filename to
3496         match classpath, merged documentation with classpath.
3497
3498 2003-05-02  Michael Koch  <konqueror@gmx.de>
3499
3500         * java/net/JarURLConnection.java
3501         (JarURLConnection): Class documentation merged with classpath.
3502         (getJarFileURL): Moved and documentation merged with classpath.
3503         (getEntryName): Likewise.
3504         (JarURLConnection): Documentation merged with classpath.
3505         (getJarEntry): Likewise.
3506         (getJarFile): Likewise.
3507         * java/net/PlainDatagramSocketImpl.java:
3508         Class documentation moved.
3509         * java/net/URLConnection.java
3510         (fileNameMap): Moved and documentation merged with classpath.
3511         (factory): Likewise.
3512         (defaultAllowUserInteraction): Likewis.
3513         (defaultUseCaches): Likewise.
3514         (allowUserInteraction): Likewise.
3515         (connected): Likewise.
3516         (url): Likewise.
3517         (connect): Documentation merged with classpath.
3518         (getURL): Likewise.
3519         (getContentLength): Likewise.
3520         (getContentType): Likewise.
3521         (getContentEncoding): Likewise.
3522         (getExpiration): Likewise.
3523         (getDate): Likewise.
3524         (getLastModified): Likewise.
3525         (getHeaderField): Likewise.
3526         (getContent): Likewise.
3527         (getPermission): Likewise.
3528         (getInputStream): Likewise.
3529         (getOutputStream): Likewise.
3530         (toString): Likewise.
3531         (getDoInput): Likewise.
3532         (getDoOutput): Likewise.
3533         (setAllowUserInteraction): Likewise.
3534         (getAllowUserInteraction): Likewise.
3535         (setDefaultAllowUserInteraction): Likewise.
3536         (getDefaultAllowUserInteraction): Likewise.
3537         (setUseCaches): Likewise.
3538         (getUseCaches): Likewise.
3539         (setIfModifiedSince): Likewise.
3540         (getIfModifiedSince): Likewise.
3541         (setDefaultRequestProperty): Likewise.
3542         (getDefaultRequestProperty): Likewise.
3543         (setContentHandlerFactory): Likewise.
3544         (setFileNameMap): Likewise.
3545
3546 2003-05-02  Michael Koch  <konqueror@gmx.de>
3547
3548         * java/net/InetAddress.java:
3549         Merged class documentation with classpath.
3550         * java/net/JarURLConnection.java:
3551         Explicitely import all used classes.
3552         * java/net/URL.java:
3553         Reformatting.
3554         * java/net/ServerSocket.java,
3555         java/net/Socket.java:
3556         New versions from classpath.
3557
3558 2003-05-02  Michael Koch  <konqueror@gmx.de>
3559
3560         * gnu/java/nio/FileChannelImpl.java
3561         (read): New implementation.
3562         (implRead): New methods.
3563         (write): New implementation, call other write insteal of read method.
3564         (implWrite): New methods.
3565         (map): Added comment.
3566         (transferFrom): Implemented.
3567         (transferTo): Implemented.
3568         (lock): Added checks to throw exceptions.
3569         (truncate): Added check to throw exception.
3570         * gnu/java/nio/natFileChannelImpl.cc
3571         (implRead): New method.
3572         (implWrite): New method.
3573         * java/nio/ByteBuffer.java
3574         (hashCode): Fixed comment.
3575         (get): Fixed exception documentation.
3576         (put): Fixed exception documentation.
3577         * java/nio/CharBuffer.java:
3578         Added comment for later optimizations.
3579
3580 2003-04-30  Tom Tromey  <tromey@redhat.com>
3581
3582         PR libgcj/10582:
3583         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
3584         Removed.
3585         (type::compatible): Use _Jv_IsAssignableFrom.
3586         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
3587         (_Jv_IsAssignableFrom): Work even when source or target class is
3588         not prepared.
3589
3590 2003-04-30  Michael Koch  <konqueror@gmx.de>
3591
3592         * java/text/BreakIterator.java
3593         (clone): New method.
3594
3595 2003-04-30  Michael Koch  <konqueror@gmx.de>
3596
3597         * java/text/CollationElementIterator.java,
3598         java/text/CollationKey.java,
3599         java/text/RuleBasedCollator.java:
3600         Merged copyright and documentation from classpath and
3601         rearranged some code. No code changes done.
3602
3603 2003-04-30  Michael Koch  <konqueror@gmx.de>
3604
3605         * java/util/regex/Matcher.java
3606         (pattern): New member variable.
3607         (appendReplacement): New method.
3608         (appendTail): New method.
3609         (end): New method.
3610         (find): New method.
3611         (group): New method.
3612         (replaceFirst): Added documentation.
3613         (replaceAll): Added documentation.
3614         (groupCount): New method.
3615         (lookingAt): New method.
3616         (matches): New method.
3617         (reset): New method.
3618         (start): New method.
3619         * java/util/regex/Pattern.java
3620         (serialVersionUID): New constant.
3621         (CANON_EQ): New constant.
3622         (CASE_INSENSITIVE): New constant.
3623         (COMMENTS): New constant.
3624         (DOTALL): New constant.
3625         (MULTILINE): New constant.
3626         (UNICODE_CASE): New constant.
3627         (UNIX_LINES): New constant.
3628         (regex): New member variable.
3629         (flags): New member variable.
3630         (Pattern): New method.
3631         (compile): Documentation added.
3632         (flags): New method.
3633         (matches): Documentation added.
3634         (matcher): Documentation added.
3635         (split): Documentation added.
3636         (pattern): New method.
3637
3638 2003-04-30  Michael Koch  <konqueror@gmx.de>
3639
3640         * gnu/java/security/Engine.java,
3641         gnu/java/security/OID.java,
3642         gnu/java/security/der/BitString.java,
3643         gnu/java/security/der/DER.java,
3644         gnu/java/security/der/DERReader.java,
3645         gnu/java/security/der/DERValue.java,
3646         gnu/java/security/der/DERWriter.java,
3647         gnu/java/security/provider/DSAKeyFactory.java,
3648         gnu/java/security/provider/X509CertificateFactory.java,
3649         gnu/java/security/x509/X500DistinguishedName.java,
3650         gnu/java/security/x509/X509CRL.java,
3651         gnu/java/security/x509/X509CRLEntry.java,
3652         gnu/java/security/x509/X509Certificate.java,
3653         java/security/cert/CRLSelector.java,
3654         java/security/cert/CertPathBuilder.java,
3655         java/security/cert/CertPathBuilderResult.java,
3656         java/security/cert/CertPathBuilderSpi.java,
3657         java/security/cert/CertPathParameters.java,
3658         java/security/cert/CertPathValidator.java,
3659         java/security/cert/CertPathValidatorResult.java,
3660         java/security/cert/CertPathValidatorSpi.java,
3661         java/security/cert/CertSelector.java,
3662         java/security/cert/CertStore.java,
3663         java/security/cert/CertStoreParameters.java,
3664         java/security/cert/CertStoreSpi.java,
3665         java/security/cert/CollectionCertStoreParameters.java,
3666         java/security/cert/LDAPCertStoreParameters.java,
3667         java/security/cert/PKIXBuilderParameters.java,
3668         java/security/cert/PKIXCertPathBuilderResult.java,
3669         java/security/cert/PKIXCertPathChecker.java,
3670         java/security/cert/PKIXCertPathValidatorResult.java,
3671         java/security/cert/PKIXParameters.java,
3672         java/security/cert/PolicyNode.java,
3673         java/security/cert/PolicyQualifierInfo.java,
3674         java/security/cert/TrustAnchor.java,
3675         javax/security/auth/x500/X500Principal.java:
3676         New files from classpath.
3677         * gnu/java/io/ASN1ParsingException.java,
3678         gnu/java/io/Base64InputStream.java,
3679         gnu/java/security/der/DEREncodingException.java,
3680         gnu/java/security/provider/DSAParameters.java,
3681         gnu/java/security/provider/DSASignature.java,
3682         gnu/java/security/provider/Gnu.java,
3683         gnu/java/security/provider/GnuDSAPrivateKey.java,
3684         gnu/java/security/provider/GnuDSAPublicKey.java,
3685         java/security/AlgorithmParameterGenerator.java,
3686         java/security/AlgorithmParameters.java,
3687         java/security/KeyFactory.java,
3688         java/security/KeyPairGenerator.java,
3689         java/security/KeyStore.java,
3690         java/security/MessageDigest.java,
3691         java/security/SecureClassLoader.java,
3692         java/security/SecureRandom.java,
3693         java/security/Security.java,
3694         java/security/Signature.java,
3695         java/security/cert/Certificate.java,
3696         java/security/cert/CertificateFactory.java,
3697         java/security/cert/CertificateFactorySpi.java,
3698         java/security/cert/X509CRL.java,
3699         java/security/cert/X509Certificate.java,
3700         java/security/spec/DSAPublicKeySpec.java:
3701         New versions from classpath.
3702         * gnu/java/security/provider/DERReader.java,
3703         gnu/java/security/provider/DERWriter.java,
3704         java/security/Engine.java: Removed.
3705         * Makefile.am
3706         (java_source_files, javax_source_files): Added new files.
3707         * Makefile.in: Regenerated.
3708
3709 2003-04-29  Michael Koch  <konqueror@gmx.de>
3710
3711         * javax/swing/JTable.java
3712         (AUTO_RESIZE_ALL_COLUMNS): New constant.
3713         (AUTO_RESIZE_LAST_COLUMN): New constant.
3714         (AUTO_RESIZE_NEXT_COLUMN): New constant.
3715         (AUTO_RESIZE_OFF): New constant.
3716         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3717         (JTable): New method.
3718         (columnAdded): New method.
3719         (columnMarginChanged): New method.
3720         (columnMoved): New method.
3721         (columnRemoved): New method.
3722         (columnSelectionChanged): New method.
3723         (editingCanceled): New method.
3724         (editingStopped): New method.
3725         (getColumnModel): New method.
3726         (getPreferredScrollableViewportSize): New method.
3727         (getScrollableBlockIncrement): New method.
3728         (getScrollableTracksViewportHeight): New method.
3729         (getScrollableTracksViewportWidth): New method.
3730         (getScrollableUnitIncrement): New method.
3731         (getSelectedRow): New method.
3732         (getSelectionModel): New method.
3733         (tableChanged): New method.
3734         (setModel): New method.
3735         (setSelectionMode): New method.
3736         (setSelectionModel): New method.
3737         (setShowGrid): New method.
3738         (valueChanged): New method.
3739         * javax/swing/text/DefaultEditorKit.java
3740         (backwardAction): New constant.
3741         (beepAction): New constant.
3742         (beginAction): New constant.
3743         (beginLineAction): New constant.
3744         (beginParagraphAction): New constant.
3745         (beginWordAction): New constant.
3746         (copyAction): New constant.
3747         (cutAction): New constant.
3748         (defaultKeyTypedAction): New constant.
3749         (deleteNextCharAction): New constant.
3750         (deletePrevCharAction): New constant.
3751         (downAction): New constant.
3752         (endAction): New constant.
3753         (endLineAction): New constant.
3754         (endOfLineStringProperty): New constant.
3755         (endParagraphAction): New constant.
3756         (endWordAction): New constant.
3757         (forwardAction): New constant.
3758         (insertBreakAction): New constant.
3759         (insertContentAction): New constant.
3760         (insertTabAction): New constant.
3761         (nextWordAction): New constant.
3762         (pageDownAction): New constant.
3763         (pageUpAction): New constant.
3764         (pasteAction): New constant.
3765         (previousWordAction): New constant.
3766         (readOnlyAction): New constant.
3767         (selectAllAction): New constant.
3768         (selectionBackwardAction): New constant.
3769         (selectionBeginAction): New constant.
3770         (selectionBeginLineAction): New constant.
3771         (selectionBeginParagraphAction): New constant.
3772         (selectionBeginWordAction): New constant.
3773         (selectionDownAction): New constant.
3774         (selectionEndAction): New constant.
3775         (selectionEndLineAction): New constant.
3776         (selectionEndParagraphAction): New constant.
3777         (selectionEndWordAction): New constant.
3778         (selectionForwardAction): New constant.
3779         (selectionNextWordAction): New constant.
3780         (selectionPreviousWordAction): New constant.
3781         (selectionUpAction): New constant.
3782         (selectLineAction): New constant.
3783         (selectParagraphAction): New constant.
3784         (selectWordAction): New constant.
3785         (upAction): New constant.
3786         (writableAction): New constant.
3787
3788 2003-04-29  Michael Koch  <konqueror@gmx.de>
3789
3790         * java/util/PropertyPermission.java:
3791         New version from classpath
3792         * java/util/ResourceBundle.java:
3793         Partly merged from classpath
3794         (getObject): Reformated.
3795         (tryBundle): Set foundBundle = null if no bundle found.
3796
3797 2003-04-29  Michael Koch  <konqueror@gmx.de>
3798
3799         * javax/swing/AbstractListModel.java,
3800         javax/swing/DefaultBoundedRangeModel.java,
3801         javax/swing/DefaultSingleSelectionModel.java:
3802         New Versions from classpath.
3803
3804 2003-04-29  Michael Koch  <konqueror@gmx.de>
3805
3806         * java/awt/Window.java
3807         (show): Call super.show() instead of setVisible() to avoid endless
3808         loop.
3809         (hide): Call super.hide() instead of setVisible() to avoid endless
3810         loop.
3811
3812 2003-04-29  Michael Koch  <konqueror@gmx.de>
3813
3814         * java/util/zip/Deflater.java,
3815         java/util/zip/DeflaterOutputStream.java:
3816         Partly merged with classpath.
3817
3818 2003-04-27  Tom Tromey  <tromey@redhat.com>
3819
3820         * java/lang/natString.cc (_Jv_AllocString): Initialize
3821         cachedHashCode.
3822         (init): Likewise.
3823         (_Jv_NewStringUtf8Const): Likewise.
3824
3825 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
3826
3827         * include/jvm.h: (_Jv_GetNbArgs) added
3828         (_Jv_GetSafeArg) added
3829         (_Jv_SetArgs) added
3830         * prims.cc: (_Jv_GetNbArgs) implemented
3831         (_Jv_GetSafeArg) implemented
3832         (_Jv_SetArgs) implemented
3833         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3834         setting _Jv_argc and _Jv_argv
3835         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3836         instead of _Jv_argv
3837         * java/lang/natRuntime.cc: (insertSystemProperties) use
3838         _Jv_GetSafeArg() instead of _Jv_argv
3839
3840 2003-04-23  Tom Tromey  <tromey@redhat.com>
3841
3842         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3843         required by this object.  Search superclasses to find required
3844         alignment.
3845         (get_alignment_from_class): Use alignment of type as it appears
3846         in a struct.
3847         (ALIGNOF): New macro.
3848         (struct aligner): New helper structure.
3849
3850 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
3851
3852         * java/awt/Container.java (addImpl): Enable paint events if adding
3853         a lightweight to a heavyweight.
3854         (addNotify): Ensure that peer is created before
3855         addNotifyContainerChildren.
3856         (addNotifyContainerChildren): Enable paint events if a heavyweight
3857         container contains a lightweight.
3858
3859 2003-04-20  Tom Tromey  <tromey@redhat.com>
3860
3861         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3862         java/io/DataInput.java, java/io/DataOutput.java: Imports from
3863         Classpath.
3864
3865 2003-04-19  Tom Tromey  <tromey@redhat.com>
3866
3867         * java/sql/Date.java, java/sql/DriverManager.java,
3868         java/sql/Time.java, java/sql/Timestamp.java: New versions from
3869         Classpath.
3870
3871         * Makefile.in: Rebuilt.
3872         * Makefile.am (ordinary_java_source_files): Added new files.
3873         * java/security/AlgorithmParameterGenerator.java,
3874         java/security/AlgorithmParameters.java, java/security/Engine.java,
3875         java/security/Identity.java, java/security/IdentityScope.java,
3876         java/security/KeyFactory.java,
3877         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3878         java/security/MessageDigest.java, java/security/Policy.java,
3879         java/security/ProtectionDomain.java,
3880         java/security/SecureRandom.java, java/security/Security.java,
3881         java/security/Signature.java, java/security/SignatureSpi.java,
3882         java/security/SignedObject.java, java/security/Signer.java,
3883         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3884         java/security/spec/PSSParameterSpec.java,
3885         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3886         java/security/spec/RSAOtherPrimeInfo.java: New versions from
3887         Classpath.
3888
3889 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3890
3891         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3892         (dispose): Null metrics.
3893         * gnu/awt/xlib/XToolkit.java (sync): Implement.
3894         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3895         finalize.
3896         (finalize): Call dispose.
3897         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3898         (gcCachedCount): New field.
3899         (finalize): New method.
3900         (putGCInCache): New method.
3901         (getGCFromCache): New method.
3902         * gnu/gcj/xlib/GC.java (GC): Make protected.
3903         (clone): Get new GC from cache if possible.
3904         (create): New static method.
3905         (dispose): Save old GC in cache.
3906         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3907         deleting.
3908         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3909         is null.
3910         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3911         * java/awt/Container.java (visitChild): Dispose gfx2 when
3912         finished.
3913
3914 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
3915
3916         * java/math/BigInteger.java (probablePrime): New.
3917         * java/math/BigDecimal.java (unscaledValue): New.
3918
3919 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
3920
3921         * java/io/File.java (getAbsolutePath): On Windows, take care
3922         of paths like "C:", "G:foo\bar", etc.
3923         (getName): Make it work correctly on Windows.
3924         (getParent): Make it work correctly on Windows. For UNIX,
3925         fix bug that causes "/" to be returned as the parent of "/",
3926         instead of null as returned by Sun's JRE.
3927
3928         * java/io/natFileWin32.cc: Change copyright owner to FSF.
3929
3930 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3931
3932         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3933         inner class.
3934         (CACHE_SIZE_PER_DISPLAY): New field
3935         (fontMetricsCache): New field
3936         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3937         loading ISO10646-1 fonts.
3938
3939 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3940
3941         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3942         characters.
3943         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3944         characters.
3945
3946 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
3947
3948         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3949         floating point.
3950
3951 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
3952
3953         * configure.host (*-linux*): Don't set slow_pthread_self if primary
3954         installed libpthread is either linuxthreads with floating stacks or
3955         NPTL.
3956
3957 2003-04-14  Tom Tromey  <tromey@redhat.com>
3958
3959         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3960         of alignment.
3961
3962 2003-04-10  Tom Tromey  <tromey@redhat.com>
3963
3964         * verify.cc (pop64): Removed.
3965         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
3966         exception if top-of-stack is narrow.
3967         (initialize_stack): Check to ensure that <init> is not static and
3968         <clinit> is.
3969
3970 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
3971
3972         * java/io/ObjectStreamException
3973         * java/io/FileFilter
3974         * java/io/FilenameFilter
3975         * java/io/ObjectInput
3976         * java/io/ObjectOutput
3977         * java/io/ObjectStreamConstants
3978         Minor doc fixes, format fixes, spelling corrections, etc.
3979         * java/io/DataInput
3980         Corrected code samples in Javadocs to match reality
3981         * java/io/DataOutput
3982         * java/io/ObjectInputValidation
3983         Major documentation fixes - all Javadocs re-written or updated
3984
3985 2003-04-06  Michael Koch  <konqueror@gmx.de>
3986
3987         * java/net/URLConnection.java:
3988         Import classes directly.
3989         (URLConnection): Merged class documentation with classpath.
3990         (url): Moved, documentation from classpath added.
3991         (doInput): Moved, documentation from classpath added.
3992         (doOutput): Moved, documentation from classpath added.
3993         (allowUserInteraction): Moved.
3994         (useCaches): Moved, documentation from classpath added.
3995         (ifModifiedSince): Moved, documentation from classpath added.
3996         (connected): Moved, documentation from classpath added.
3997
3998 2003-04-06  Michael Koch  <konqueror@gmx.de>
3999
4000         * java/io/FileInputStream.java
4001         (skip): Renamed some variables to match classpath, added
4002         checks from classpath.
4003
4004 2003-03-31  Michael Koch  <konqueror@gmx.de>
4005
4006         * javax/swing/AbstractAction.java
4007         (AbstractAction): Reformatted.
4008         (serialVersionUID): New private member variable.
4009         * javax/swing/plaf/BorderUIResource.java
4010         (serialVersionUID): New private member variable.
4011         * javax/swing/plaf/basic/BasicLookAndFeel.java
4012         (serialVersionUID): New private member variable.
4013
4014 2003-03-31  Michael Koch  <konqueror@gmx.de>
4015
4016         * java/sql/Date.java
4017         (valueOf): Deprecated, reformatted.
4018         (toString): Deprecated, reformatted.
4019         * java/sql/Time.java
4020         (valueOf): Deprecated, reformatted.
4021         (toString): Deprecated, reformatted.
4022
4023 2003-03-31  Michael Koch  <konqueror@gmx.de>
4024
4025         * java/rmi/dgc/VMID.java
4026         (isUnique): Deprecated.
4027
4028 2003-03-31  Michael Koch  <konqueror@gmx.de>
4029
4030         * java/io/File.java
4031         (separator): Merged documentation from classpath.
4032         (separatorChar): Merged documentation from classpath.
4033         (pathSeparator): Merged documentation from classpath.
4034         (pathSeparatorChar): Merged documentation from classpath.
4035         (path): Merged documentation from classpath.
4036         (canRead): Merged documentation from classpath.
4037         (canWrite): Merged documentation from classpath.
4038         (createNewFile): Merged documentation from classpath.
4039         (delete): Merged documentation from classpath.
4040         (equals): Merged documentation from classpath.
4041         (exists): Merged documentation from classpath.
4042         (File): Renamed p to name to match classpath, merged documentation
4043         from classpath.
4044         (getAbsolutePath): Merged documentation from classpath.
4045         (getCanonicalPath): Merged documentation from classpath.
4046         (getCanonicalFile): Merged documentation from classpath.
4047         (getName): Merged documentation from classpath.
4048         (getParent): Merged documentation from classpath.
4049         (getParentFile): Merged documentation from classpath.
4050         (getPath): Merged documentation from classpath.
4051         (hashCode): Merged documentation from classpath.
4052         (isAbsolute): Merged documentation from classpath.
4053         (isDirectory): Merged documentation from classpath.
4054         (isFile): Merged documentation from classpath.
4055         (isHidden): Merged documentation from classpath.
4056         (lastModified): Merged documentation from classpath.
4057         (length): Merged documentation from classpath.
4058         (list): Merged documentation from classpath.
4059         (listFiles): Merged documentation from classpath.
4060         (toString): Merged documentation from classpath.
4061         (toURL): Merged documentation from classpath.
4062         (mkdir): Merged documentation from classpath.
4063         (mkdirs): Merged documentation from classpath.
4064         (createTempFile): Merged documentation from classpath.
4065         (setReadOnly): Merged documentation from classpath.
4066         (listRoots): Merged documentation from classpath.
4067         (compareTo): Merged documentation from classpath.
4068         (renameTo): Merged documentation from classpath.
4069         (setLastModified): Merged documentation from classpath.
4070         * java/io/PrintStream.java
4071         (auto_flush): Merged documentation from classpath.
4072         (PrintStream): Merged documentation from classpath.
4073         (checkError): Merged documentation from classpath.
4074         (setError): Merged documentation from classpath.
4075         (close): Merged documentation from classpath.
4076         (flush): Merged documentation from classpath.
4077         (print): Merged documentation from classpath.
4078         (println):  Merged documentation from classpath.
4079         (write): Renamed count to len to match classpath,
4080         merged documentation from classpath.
4081         * java/io/RandomAccessFile.java
4082         (readShort): Merged documentation from classpath.
4083         (readUnsignedByte): Merged documentation from classpath.
4084         (readUnsignedShort): Merged documentation from classpath.
4085         (readUTF): Merged documentation from classpath.
4086         (seek): Reformatted, merged documentation from classpath.
4087         (skipBytes): Renamed some variables to match classpath, reformatted,
4088         merged documentation from classpath.
4089         (write): Merged documentation from classpath.
4090         (writeBoolean): Merged documentation from classpath.
4091         (writeByte): Merged documentation from classpath.
4092         (writeShort): Merged documentation from classpath.
4093         (writeChar): Merged documentation from classpath.
4094         (writeInt): Merged documentation from classpath.
4095         (writeLong): Merged documentation from classpath.
4096         (writeFloat): Merged documentation from classpath.
4097         (writeDouble): Merged documentation from classpath.
4098         (writeBytes): Merged documentation from classpath.
4099         (writeChars): Merged documentation from classpath.
4100         (writeUTF): Reformatted.
4101         (getChannel): Reformatted.
4102
4103 2003-03-31  Michael Koch  <konqueror@gmx.de>
4104
4105         * java/awt/font/TextAttribute.java
4106         (readResolve): Throws java.io.InvalidObjectException.
4107
4108 2003-03-31  Michael Koch  <konqueror@gmx.de>
4109
4110         * java/rmi/server/LoaderHandler.java
4111         (loadClass): Deprecated.
4112         (getSecurityContext): Deprecated.
4113         * java/rmi/server/LogStream.java
4114         (getDefaultStream): Deprecated.
4115         (setDefaultStream): Deprecated.
4116         (getOutputStream): Deprecated.
4117         (setOutputStream): Deprecated.
4118         (write): Deprecated.
4119         (toString): Deprecated.
4120         (parseLevel): Deprecated.
4121         * java/rmi/server/Operation.java
4122         (Operation): Deprecated.
4123         (getOperation): Deprecated.
4124         (toString): Deprecated.
4125         * java/rmi/server/RemoteCall.java
4126         (getOutputStream): Deprecated.
4127         (releaseOutputStream): Deprecated.
4128         (getInputStream): Deprecated.
4129         (releaseInputStream): Deprecated.
4130         (getResultStream): Deprecated.
4131         (executeCall): Deprecated.
4132         (done): Deprecated.
4133         * java/rmi/server/RemoteRef.java
4134         (invoke): Deprecated.
4135         (newCall): Deprecated.
4136         (done): Deprecated.
4137         * java/rmi/server/RemoteStub.java
4138         (setRef): Deprecated.
4139         * java/rmi/server/Skeleton.java:
4140         No need to import java.lang.Exception explicitly.
4141         (dispatch): Deprecated.
4142         (getOperations): Deprecated.
4143
4144 2003-03-31  Michael Koch  <konqueror@gmx.de>
4145
4146         * java/rmi/dgc/VMID.java,
4147         java/rmi/registry/RegistryHandler.java,
4148         java/rmi/server/LogStream.java,
4149         java/rmi/server/Operation.java,
4150         java/rmi/server/RemoteCall.java,
4151         java/rmi/server/RemoteRef.java,
4152         java/rmi/server/RemoteStub.java:
4153         Reformatted.
4154
4155 2003-03-31  Michael Koch  <konqueror@gmx.de>
4156
4157         * javax/swing/AbstractCellEditor.java,
4158         javax/swing/AbstractListModel.java,
4159         javax/swing/ActionMap.java,
4160         javax/swing/BorderFactory.java,
4161         javax/swing/ButtonGroup.java,
4162         javax/swing/DefaultBoundedRangeModel.java,
4163         javax/swing/DefaultButtonModel.java,
4164         javax/swing/DefaultCellEditor.java,
4165         javax/swing/DefaultComboBoxModel.java,
4166         javax/swing/DefaultDesktopManager.java,
4167         javax/swing/DefaultListCellRenderer.java,
4168         javax/swing/DefaultSingleSelectionModel.java,
4169         javax/swing/InputMap.java,
4170         javax/swing/JComponent.java,
4171         javax/swing/JMenu.java,
4172         javax/swing/JSlider.java,
4173         javax/swing/KeyStroke.java,
4174         javax/swing/OverlayLayout.java,
4175         javax/swing/ScrollPaneLayout.java,
4176         javax/swing/SizeRequirements.java,
4177         javax/swing/UIManager.java,
4178         javax/swing/ViewportLayout.java,
4179         javax/swing/border/AbstractBorder.java,
4180         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4181         javax/swing/event/EventListenerList.java,
4182         javax/swing/table/AbstractTableModel.java,
4183         javax/swing/table/DefaultTableCellRenderer.java,
4184         javax/swing/table/DefaultTableColumnModel.java,
4185         javax/swing/table/DefaultTableModel.java,
4186         javax/swing/table/TableColumn.java,
4187         javax/swing/text/StyledEditorKit.java,
4188         javax/swing/tree/DefaultMutableTreeNode.java,
4189         javax/swing/tree/DefaultTreeModel.java,
4190         javax/swing/tree/DefaultTreeSelectionModel.java,
4191         javax/swing/tree/TreePath.java,
4192         javax/swing/undo/AbstractUndoableEdit.java,
4193         javax/swing/undo/StateEdit.java,
4194         javax/swing/undo/StateEditable.java,
4195         javax/swing/undo/UndoableEditSupport.java:
4196         Merges from classpath.
4197
4198 2003-03-30  Tom Tromey  <tromey@redhat.com>
4199
4200         * java/lang/String.java (data, boffset, count): Documented.
4201         (String(byte[],String)): Reformatted.
4202         (String(byte[])): Likewise.
4203         (lastIndexOf(int)): Likewise.
4204         (lastIndexOf(String)): Likewise.
4205         (substring(int)): Renamed argument to match Classpath.
4206         (String(StringBuffer)): Don't share buffer if it is nearly empty.
4207
4208         * java/lang/String.java: Miscellaneous minor formatting changes
4209         to match Classpath more closely.
4210
4211 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
4212             Tom Tromey  <tromey@redhat.com>
4213
4214         * java/lang/natString.cc (hashCode): Use cachedHashCode.
4215         (init()): Removed.
4216         (charAt): Put index in exception.
4217         (contentEquals): New method.
4218         Include StringBuffer.h.
4219         * java/lang/String.java (cachedHashCode): New field.
4220         (String()): Follow classpath implementation.
4221         (init()): Removed.
4222         (contentEquals): Declare.
4223         (subSequence): Don't declare IndexOutIfBoundsException in throws
4224         clause.
4225         (matches, replaceFirst, replaceAll, split): New methods from
4226         Classpath.
4227
4228 2003-03-29  Tom Tromey  <tromey@redhat.com>
4229
4230         * java/lang/String.java: Reordered to follow Classpath; merged in
4231         javadoc.
4232
4233         * java/text/MessageFormat.java: Removed some whitespace.
4234
4235         * Makefile.in: Rebuilt.
4236         * Makefile.am (awt_java_source_files): Added new files.
4237         * gnu/javax/rmi/PortableServer.java,
4238         gnu/javax/rmi/CORBA/DelegateFactory.java,
4239         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4240         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4241         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4242         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4243         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4244         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
4245         javax/rmi/PortableRemoteObject.java,
4246         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
4247         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4248         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
4249         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
4250         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
4251         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
4252
4253         * java/lang/natClass.cc (newInstance): Put method name in
4254         exception.
4255         (getConstructor): Likewise.
4256         (getDeclaredConstructor): Likewise.
4257         (getPrivateMethod): Likewise.
4258
4259 2003-03-28  Tom Tromey  <tromey@redhat.com>
4260
4261         * java/lang/reflect/Proxy.java: New version from Classpath.
4262         * java/lang/Package.java: New version from Classpath.
4263
4264 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
4265
4266         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
4267         * configure: Regenerate.
4268
4269 2003-03-28  Michael Koch  <konqueror@gmx.de>
4270
4271         * java/io/File.java:
4272         Import needed classes instead of whole packages, merged class
4273         documentation with classpath, moved constants and variables to top of
4274         class.
4275         * java/io/PrintStream.java:
4276         Merged class documentation with classpath, moved constants and
4277         variables to top of class.
4278         * java/io/RandomAccessFile.java
4279         (RandomAccessFile): Merged with classpath.
4280         (read): Merged with classpath).
4281         (read*): Reformatted.
4282
4283 2003-03-28  Michael Koch  <konqueror@gmx.de>
4284
4285         * java/io/FileDescriptor.java
4286         (finalize): Throws Throwable, not IOException.
4287         * java/io/ObjectOutputStream.java
4288         (PutField.put): Doesnt throws anything.
4289
4290 2003­03-28  Michael Koch  <konqueror@gmx.de>
4291
4292         * java/io/FileOutputStream.java:
4293         Merged class documentation and authors with classpath.
4294         (FileOutputStream): Partly merged with classpath.
4295         (write): Merged with classpath.
4296         (getChannel): Make it synchronized instead of explicit block in this
4297         method.
4298         * java/io/RandomAccessFile.java:
4299         Merged class documentation and authors with classpath.
4300
4301 2003-03-26  Tom Tromey  <tromey@redhat.com>
4302
4303         * java/lang/natRuntime.cc (insertSystemProperties): Set
4304         gnu.classpath.home.url.
4305         * Makefile.in: Rebuilt.
4306         * Makefile.am: Define LIBDIR.
4307
4308 2003-03-25  Michael Koch  <konqueror@gmx.de>
4309
4310         * java/io/FileInputStream.java
4311         (read): Renamed b to buf and off to offset.
4312         * java/io/FileOutputStream.java
4313         (ch): Documentation added.
4314         (FileOutputStream): Documentation added.
4315         (getFD): Documentation added.
4316         (write): Documentation added.
4317         (close): Documentation added.
4318         (getChannel): Documentation added.
4319
4320 2003-03-24  Michael Koch  <konqueror@gmx.de>
4321
4322         * java/io/DataOutputStream.java
4323         (write): Merged from classpath.
4324         * java/io/File.java:
4325         Merged copyrigth with classpath.
4326         * java/io/FileInputStream.java
4327         (getChannel): Made it synchronized instead of using a synchronized
4328         block.
4329         * java/io/FileOutputStream.java: Reformatted.
4330         * java/io/InputStreamReader.java
4331         (InputStreamReader): Renamed enc to encoding_name.
4332         (close): Merged documentation from classpath.
4333         (getEncoding): Merged documentation from classpath.
4334         (ready): Merged documentation from classpath.
4335         (read): Merged documentation from classpath.
4336         * java/io/LineNumberReader.java
4337         (lineNumber): Made it private.
4338         (LineNumberReader): Use Constant instead of a direct value.
4339         * java/io/OutputStreamWriter.java
4340         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
4341         documentation from classpath.
4342         (close): Merged documentation from classpath.
4343         (flush): Merged documentation from classpath.
4344         (write): Merged documentation from classpath.
4345         * java/io/PrintStream.java: Reformatted.
4346
4347 2003-03-24  Michael Koch  <konqueror@gmx.de>
4348
4349         * javax/swing/text/ComponentView.java
4350         (getComponent): Must be final.
4351         * javax/swing/tree/DefaultTreeCellRenderer.java:
4352         Reformatted.
4353         * javax/swing/undo/StateEditable.java:
4354         Reformatted.
4355
4356 2003-03-24  Michael Koch  <konqueror@gmx.de>
4357
4358         * java/rmi/activation/ActivationInstantiator.java:
4359         Reformatted.
4360         * java/rmi/activation/Activator.java:
4361         Reformatted.
4362         * java/rmi/registry/RegistryHandler.java:
4363         Remerged from classpath.
4364
4365 2003-03-24  Michael Koch  <konqueror@gmx.de>
4366
4367         * java/util/Date.java:
4368         Fixed documentation starting tag to make javadoc happy.
4369         * java/util/regex/Pattern.java
4370         (Pattern): Implements Serializable.
4371         * java/util/PatternSyntaxException.java
4372         (serialVersionUID): New member variable.
4373
4374 2003-03-24  Michael Koch  <koqnueror@gmx.de>
4375
4376         * java/awt/ContainerOrderFocusTraversalPolicy.java
4377         (getFirstComponent): Implemented.
4378         (getLastComponent): Implemented.
4379         (getDefaultComponent): Implemented.
4380         (setImplicitDownCycleTraversal): Fixed implementation.
4381         * java/awt/Robot.java
4382         (Robot): Added documentation.
4383         * java/awt/Toolkit.java
4384         (getFontList): Deprecated.
4385         (getFontMetrics): Deprecated.
4386         (getPrintJob): Added documentation.
4387         (getSystemSelection): Added documentation.
4388         (getLockingKeyState): Added documentation.
4389         (setLockingKeyState): Added documentation.
4390         (createCustomCursor): Added documentation.
4391         (getBestCursorSize): Added documentation.
4392         (getMaximumCursorColors): Added documentation.
4393         (isFrameStateSupported): Added documentation.
4394
4395 2003-03-24  Michael Koch  <konqueror@gmx.de>
4396
4397         * java/io/RandomAccessFile.java:
4398         More little merges with classpath. No code changes.
4399
4400 2003-03-24  Michael Koch  <konqueror@gmx.de>
4401
4402         * java/net/natInetAddressNoNet.cc:
4403         Include stddef.h.
4404         * java/net/natPlainDatagramSocketImplNoNet.cc:
4405         Fixed inlcude of java/net/DatagramPacket.h.
4406         * java/net/natPlainSocketImplNoNet.cc:
4407         Include some missing classes.
4408
4409 2003-03-24  Michael Koch  <konqueror@gmx.de>
4410
4411         * java/awt/dnd/DropTarget.java
4412         (DropTargetAutoScroller): According to the online documentation, this
4413         is protected, but in reality it is public.
4414         * java/awt/dnd/DropTargetContext.java
4415         (TransferableProxy): According to the online documentation, this
4416         is protected, but in reality it is public.
4417
4418 2003-03-24  Michael Koch  <konqueror@gmx.de>
4419
4420         * java/io/DataInputStream.java
4421         (): Wrapped documentation line.
4422         (): Fixed @return tag.
4423         * java/io/DataOutputStream.java
4424         (written): Moved to top of class.
4425         (all methods): Merged documentation from classpath.
4426         * java/io/File.java:
4427         Merged copyright year with classpath.
4428         * java/io/FileInputStream.java
4429         (all methods): Merged documentation from classpath.
4430         * java/io/LineNumberReader.java
4431         (getLineNumber): Fixed @return tag.
4432         * java/io/ObjectInputStream.java.
4433         Reformatted.
4434         * java/io/ObjectOutputStream.java:
4435         Reformatted, fixed some @see tags.
4436         * java/io/OutputStreamWriter.java:
4437         Deleted empty line.
4438         * java/io/Writer.java:
4439         Reformatted.
4440
4441 2003-03-24  Michael Koch  <konqueror@gmx.de>
4442
4443         * java/awt/Frame.java
4444         (DEFAULT_CURSOR): Fixed @deprecated tag.
4445         (setCursor): Fixed @deprecated tag.
4446
4447 2003-03-24  Michael Koch  <konqueror@gmx.de>
4448
4449         * java/beans/beancontext/BeanContextEvent.java:
4450         Reformated.
4451
4452 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
4453
4454         * java/lang/natStringBuffer.cc (regionMatches): New function.
4455         * java/lang/String.java (count): Now package-private.
4456         * java/lang/StringBuffer.java: Merged with Classpath.
4457
4458 2003-03-23  Michael Koch  <konqueror@gmx.de>
4459
4460         * java/io/BufferedOutputStream.java:
4461         Reformated.
4462         * java/io/BufferedReader.java:
4463         Reformated.
4464         * java/io/ByteArrayOutputStream.java
4465         (size): Fixed @see tag.
4466         * java/io/CharArrayWriter.java
4467         (size): Fixed @see tag.
4468         * java/io/DataInput.java:
4469         Reformated.
4470         * java/io/DataOutput.java:
4471         Reformated.
4472         * java/io/DataOutputStream.java:
4473         Merged copyright years with classpath.
4474         * java/io/Externalizable.java:
4475         Reformated.
4476         * java/io/FileFilter.java:
4477         Reformated.
4478         * java/io/FileInputStream.java:
4479         Merged copyright years with classpath.
4480         * java/io/FileOutputStream.java:
4481         Merged copyright years with classpath.
4482         * java/io/FilePermission.java
4483         (FilePermission): Replaced @XXX with FIXME:.
4484         * java/io/FileWriter.java:
4485         Reformated.
4486         * java/io/FilenameFilter.java:
4487         Reformated.
4488         * java/io/FilterInputStream.java:
4489         Reformated.
4490         * java/io/FilterOutputStream.java:
4491         Reformated.
4492         * java/io/FilterReader.java:
4493         Reformated.
4494         * java/io/FilterWriter.java:
4495         Reformated.
4496         * java/io/LineNumberInputStream.java
4497         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
4498         happy.
4499         (getLineNumber): Fixed @return tag.
4500         * java/io/ObjectInput.java:
4501         Reformated.
4502         * java/io/ObjectOutput.java:
4503         Reformated.
4504         * java/io/ObjectStreamClass.java:
4505         Reformated.
4506         * java/io/PrintStream.java:
4507         Merged copyright years with classpath.
4508         * java/io/PushbackReader.java
4509         (PushbackReader): Replaced @code with @param.
4510         * java/io/SerializablePermission.java:
4511         Reformated.
4512         * java/io/StreamTokenizer.java
4513         (resetSyntax): Fixed @see tag.
4514
4515 2003-03-22  Richard Henderson  <rth@redhat.com>
4516
4517         * sysdep/ia64/locks.h: Include ia64intrin.h.
4518         (compare_and_swap): Use __sync_bool_compare_and_swap.
4519         (compare_and_swap_release): Expose ar.ccv assignment.
4520
4521 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
4522
4523         * include/posix.h: Add suffix for darwin dynamic libraries.
4524
4525 2003-03-21  Michael Koch  <konqueror@gmx.de>
4526
4527         * javax/swing/Action.java
4528         (ACCELERATOR_KEY): New constant.
4529         (ACTION_COMMAND_KEY): Likewise.
4530         (MNEMONIC_KEY): Likewise.
4531         * javax/swing/UnsupportedLookAndFeelException.java
4532         (UnsupportedLookAndFeelException): Must be public.
4533         * javax/swing/WindowConstants.java
4534         (EXIT_ON_CLOSE): New constant.
4535         * javax/swing/text/BadLocationException.java
4536         (offset): New member variable.
4537         (BadLocationException): New implementation, documentation added.
4538         (offsetRequested): New method.
4539         * javax/swing/text/Caret.java:
4540         Reformated.
4541         * javax/swing/text/Document.java:
4542         Reformated.
4543
4544 2003-03-21  Michael Koch  <konqueror@gmx.de>
4545
4546         * java/rmi/activation/Activatable.java
4547         (serialVersionUID): New member variable.
4548         * java/rmi/activation/ActivationGroup.java
4549         (serialVersionUID): New member variable.
4550         * java/rmi/activation/ActivationGroupDesc.java
4551         (serialVersionUID): New member variable.
4552         * java/rmi/registry/Registry.java:
4553         Reformated.
4554         (Registry): Deprecated.
4555         * java/rmi/server/LoaderHandler.java
4556         Reformated.
4557         (LoaderHandler): Deprecated.
4558         * java/rmi/server/LogStream.java
4559         Reformated.
4560         (LogStream): Deprecated.
4561         * java/rmi/server/Operation.java
4562         (Operation): Deprecated.
4563         * java/rmi/server/RMIFailureHandler.java:
4564         Reformated.
4565         * java/rmi/server/RMISocketFactory.java:
4566         Reformated.
4567         * java/rmi/server/RemoteCall.java
4568         (RemoteCall): Deprecated.
4569         * java/rmi/server/RemoteStub.java:
4570         Reformated.
4571         * java/rmi/server/Skeleton.java
4572         Reformated.
4573         (Skeleton): Deprecated.
4574
4575 2003-03-21  Michael Koch  <konqueror@gmx.de>
4576
4577         * java/io/LineNumberReader.java
4578         (LineNumberReader): Merged documentation with classpath.
4579         (getLineNumber): Likewise.
4580         (setLineNumber): Likewise.
4581         (mark): Likewise.
4582         (reset): Likewise.
4583         (read): Likewise.
4584         (readLine): Likewise.
4585         (skip): Likewise.
4586
4587 2003-03-21  Michael Koch  <konqueror@gmx.de>
4588
4589         * java/rmi/RMISecurityManager.java
4590         (checkAccept): Removed.
4591         (checkAccess): Likewise.
4592         (checkAccess): Likewise.
4593         (checkAwtEventQueueAccess): Likewise.
4594         (checkConnect): Likewise.
4595         (checkCreateClassLoader): Likewise.
4596         (checkDelete): Likewise.
4597         (checkExec): Likewise.
4598         (checkExit): Likewise.
4599         (checkLink): Likewise.
4600         (checkListen): Likewise.
4601         (checkMemberAccess): Likewise.
4602         (checkMulticast): Likewise.
4603         (checkPackageAccess): Likewise.
4604         (checkPackageDefinition): Likewise.
4605         (checkPermission): Likewise.
4606         (checkPrintJobAccess): Likewise.
4607         (checkPropertiesAccess): Likewise.
4608         (checkPropertyAccess): Likewise.
4609         (checkRead): Likewise.
4610         (checkSecurityAccess): Likewise.
4611         (checkSetFactory): Likewise.
4612         (checkSystemClipboardAccess): Likewise.
4613         (checkTopLevelWindow): Likewise.
4614         (checkWrite): Likewise.
4615
4616 2003-03-20  Michael Koch  <konqueror@gmx.de>
4617
4618         * gnu/java/nio/FileChannelImpl.java
4619         (address): Removed.
4620         (map_address): New member variable.
4621         (length): Make it package private.
4622         (fd): Make it package private.
4623         (buf): Make it package private.
4624         (file_obj): Make it package private.
4625         (FileChannelImpl): New constructor.
4626         (nio_mmap_file): Use RawData instead of long.
4627         (nio_munmap_file): Use RawData instead of long.
4628         (nio_msync): Use RawData instead of long.
4629         (implCloseChannel): New implementation using map_address.
4630         (read): Reformated.
4631         (map): Implemented.
4632         (create_direct_mapped_buffer): Implemented, use RawData, throws
4633         IOException.
4634         (force): Use map_address instead of address.
4635         * gnu/java/nio/MappedByteFileBuffer.java
4636         (address): Removed.
4637         (map_address): New member variable.
4638         (MappedByteFileBuffer): Use map_address instead of address, reformated.
4639         (several methods): Use map_address instead of address, replaced long
4640         with RawData where appropriate.
4641         * gnu/java/nio/natFileChannelImpl.cc
4642         (nio_mmap_file): Replaced long with RawData.
4643         (nio_munmap_file): Replaced long with RawData.
4644         (nio_msync): Replaced long with RawData.
4645         * gnu/java/nio/natMappedByteFileBuffer.cc
4646         (several methods): Replaced long with RawData where appropriate.
4647
4648 2003-03-20  Michael Koch  <konqueror@gmx.de>
4649
4650         * java/net/InetAddress.java,
4651         java/net/JarURLConnection.java,
4652         java/net/PlainDatagramSocketImpl.java,
4653         java/net/PlainSocketImpl.java,
4654         java/net/URLConnection.java:
4655         Merged copyright statements with classpath for easier merging.
4656
4657 2003-03-20  Michael Koch  <konqueror@gmx.de>
4658
4659         * java/io/FileInputStream.java
4660         (getChannel): New implementation.
4661         * java/io/FileOutputStream.java
4662         (ch): New member variable.
4663         (getChannel): Implemented.
4664         * java/io/RandomAccessFile.java
4665         (RandomAccessFile): Throws FileNotFoundException instead of
4666         IOException.
4667         (getChannel): New method.
4668         (ch): New member variable.
4669
4670 2003-03-20  Michael Koch  <konqueror@gmx.de>
4671
4672         * java/io/DataOutputStream.java,
4673         java/io/File.java,
4674         java/io/FileInputStream.java,
4675         java/io/FileOutputStream.java,
4676         java/io/InputStreamReader.java,
4677         java/io/LineNumberReader.java,
4678         java/io/OutputStreamWriter.java,
4679         java/io/PrintStream.java,
4680         java/io/RandomAccessFile.java:
4681         Merged copyright statements with classpath for easier merging.
4682
4683 2003-03-19  Michael Koch  <konqueror@gmx.de>
4684
4685         * java/lang/Process.java:
4686         Merged from classpath.
4687
4688 2003-03-19  Michael Koch  <konqueror@gmx.de>
4689
4690         * java/io/FileOutputStream.java
4691         (FileOutputStream): New constructor, merged from classpath.
4692         * java/io/FileWriter.java
4693         (FileWriter): New constructor, merged from classpath.
4694
4695 2003-03-18  Michael Koch  <konqueror@gmx.de>
4696
4697         * java/awt/ScrollPane.java
4698         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4699         (getViewportSize): Likewise.
4700         (addNotify): Likewise.
4701         (removeNotify): Likewise.
4702         * java/awt/ScrollPaneAdjustable.java
4703         (ScrollPaneAdjustable): No longer extends Scrollbar.
4704         * java/beans/beancontext/BeanContextServices.java:
4705         Reformated.
4706         (getService): Added throws TooManyListenersException;
4707         * java/beans/beancontext/BeanContextServicesSupport.java:
4708         Reformated.
4709
4710 2003-03-18  Michael Koch  <konqueror@gmx.de>
4711
4712         * java/io/BufferedOutputStream.java,
4713         java/io/DataInput.java,
4714         java/io/DataInputStream.java,
4715         java/io/DataOutput.java,
4716         java/io/Externalizable.java:
4717         More merges from classpath.
4718
4719 2003-03-18  Michael Koch  <konqueror@gmx.de>
4720
4721         * configure.in: Fixed links to platform dependant java.net files.
4722         * configure: Regenerated.
4723         * java/net/natInetAddress.cc,
4724         java/net/natNetworkInterface.cc,
4725         java/net/natPlainDatagramSocketImpl.cc,
4726         java/net/natPlainSocketImpl.cc:
4727         Removed.
4728
4729 2003-03-18  Michael Koch  <konqueror@gmx.de>
4730
4731         * configure.in: Create links to architecture dependent files,
4732         introduced PLATFORMNET variable (set to NoNet for newlib usage).
4733         * configure: Regenerated.
4734         * java/net/natInetAddressNoNet.cc,
4735         java/net/natInetAddressPosix.cc,
4736         java/net/natInetAddressWin32.cc,
4737         java/net/natNetworkInterfaceNoNet.cc,
4738         java/net/natNetworkInterfacePosix.cc,
4739         java/net/natNetworkInterfaceWin32.cc,
4740         java/net/natPlainDatagramSocketImplNoNet.cc,
4741         java/net/natPlainDatagramSocketImplPosix.cc,
4742         java/net/natPlainDatagramSocketImplWin32.cc,
4743         java/net/natPlainSocketImplNoNet.cc,
4744         java/net/natPlainSocketImplPosix.cc,
4745         java/net/natPlainSocketImplWin32.cc: New files.
4746
4747 2003-03-18  Michael Koch  <konqueror@gmx.de>
4748
4749         * java/io/BufferedReader.java,
4750         java/io/BufferedWriter.java,
4751         java/io/ByteArrayOutputStream.java,
4752         java/io/FileFilter.java,
4753         java/io/FilePermission.java,
4754         java/io/FileReader.java,
4755         java/io/FileWriter.java,
4756         java/io/FilenameFilter.java,
4757         java/io/FilterInputStream.java,
4758         java/io/FilterOutputStream.java,
4759         java/io/FilterReader.java,
4760         java/io/FilterWriter.java,
4761         java/io/ObjectInput.java,
4762         java/io/ObjectInputValidation.java,
4763         java/io/ObjectOutput.java,
4764         java/io/ObjectStreamField.java,
4765         java/io/PipedInputStream.java,
4766         java/io/PipedReader.java,
4767         java/io/PrintWriter.java,
4768         java/io/PushbackReader.java,
4769         java/io/Reader.java,
4770         java/io/SerializablePermission.java,
4771         java/io/StringReader.java,
4772         java/io/Writer.java:
4773         Merged from classpath.
4774
4775 2003-03-17  Michael Koch  <konqueror@gmx.de>
4776
4777         * java/awt/ScrollPaneAdjustable.java:
4778         Compile fixes.
4779         
4780 2003-03-17  Michael Koch  <konqueror@gmx.de>
4781
4782         * java/net/DatagramSocket.java
4783         (connect): Fixed comment.
4784         * java/nio/ByteBuffer.java
4785         (hasArray): Fixed comment.
4786
4787 2003-03-17  Michael Koch  <konqueror@gmx.de>
4788
4789         * java/beans/Beans.java:
4790         Explicitely import classes not packages.
4791         * java/beans/FeatureDescriptor.java
4792         (preferred): New member variable.
4793         (isPreferred): New method.
4794         (setPreferred): New method.
4795         * java/beans/PropertyEditorManager.java:
4796         Explicitely import used classes.
4797         * java/beans/beancontext/BeanContextChild.java:
4798         Added line wrapping.
4799         * java/beans/beancontext/BeanContextChildSupport.java:
4800         Reindented.
4801         * java/beans/beancontext/BeanContextEvent.java:
4802         Reindented.
4803
4804 2003-03-17  Michael Koch  <konqueror@gmx.de>
4805
4806         * java/awt/Dialog.java
4807         (Dialog): New constructor, changed implementations, added
4808         documentation.
4809         * java/awt/ScrollPaneAdjustable.java
4810         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4811         Serializable.
4812         (serialVersionUID): New member variable.
4813         (sp): New member variable.
4814         (orientation): New member variable.
4815         (value): New member variable.
4816         (minimum): New member variable.
4817         (maximum): New member variable.
4818         (visibleAmount): New member variable.
4819         (unitIncrement): New member variable.
4820         (blockIncrement): New member variable.
4821         (AdjustmentListener): New member variable.
4822         (ScrollPaneAdjustable): New implementation.
4823         (addAdjustmentListener): New method.
4824         (removeAdjustmentListener): New method.
4825         (getAdjustmentListeners): New method.
4826         (getBlockIncrement): New method.
4827         (getMaximum): New method.
4828         (getMinimum): New method.
4829         (getOrientation): New method.
4830         (getUnitIncrement): New method.
4831         (getValue): New method.
4832         (getVisibleAmount): New method.
4833         (setBlockIncrement): New method.
4834         (setMaximum): Implemented.
4835         (setMinimum): Implemented.
4836         (setUnitIncrement): New method.
4837         (setValue): New method.
4838         (setVisibleAmount): Implemented. 
4839         (paramString): New stubbed method.
4840         * java/awt/Window.java
4841         (show): Call setVisible().
4842         (hide): Call setVisible().
4843         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4844         and WINDOW_STATE_CHANGED.
4845         (processWindowFocusEvent): New method.
4846         (processWindowStateEvent): New method.
4847         (postEvent): Deprecated.
4848         (applyResourceBundle): Deprecated.
4849         * java/awt/datatransfer/DataFlavor.java
4850         (DataFlavor): Doesn't thow ClassNotFoundException.
4851
4852 2003-03-17  Michael Koch
4853
4854         * javax/print/attribute/Attribute.java,
4855         javax/print/attribute/AttributeSet.java,
4856         javax/print/attribute/PrintRequestAttributeSet.java:
4857         New files.
4858         * Makefile.am
4859         (javax_source_files): Added new files:
4860         javax/print/attribute/Attribute.java
4861         javax/print/attribute/AttributeSet.java
4862         javax/print/attribute/PrintRequestAttributeSet.java
4863         * Makefile.in: Regenerated.
4864
4865 2003-03-17  Michael Koch
4866
4867         * javax/print/attribute/Attribute.java,
4868         javax/print/attribute/AttributeSet.java,
4869         javax/print/attribute/PrintRequestAttributeSet.java:
4870         New files.
4871         * Makefile.am
4872         (awt_java_source_files): Added new files:
4873         javax/print/attribute/Attribute.java
4874         javax/print/attribute/AttributeSet.java
4875         javax/print/attribute/PrintRequestAttributeSet.java
4876         * Makefile.in: Regenerated.
4877
4878 2003-03-16  Tom Tromey  <tromey@redhat.com>
4879
4880         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4881         Include platform.h.
4882         * java/lang/natRuntime.cc (insertSystemProperties): Use
4883         _Jv_platform_path_separator.
4884         (nativeGetLibname): Use _Jv_platform_file_separator.
4885         (_load): Use _Jv_platform_onload_names.
4886         (onload_names): New global.
4887         * include/win32.h (_Jv_platform_file_separator): New define.
4888         (_Jv_platform_path_separator): Likewise.
4889         (_Jv_platform_onload_names): Likewise.
4890         (_Jv_platform_ffi_abi): Likewise.
4891         * include/posix.h (_Jv_platform_file_separator): New define.
4892         (_Jv_platform_path_separator): Likewise.
4893         (_Jv_platform_onload_names): Likewise.
4894         (_Jv_platform_ffi_abi): Likewise.
4895
4896 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
4897
4898         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4899
4900 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
4901
4902         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4903         hierarchy loop.
4904         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4905         list to Object,ObjectStreamClass, moved callReadMethod code up into
4906         readObject and added Class argument to all setXxxField calls.
4907         (callReadMethod): Changed Class argument to ObjectStreamClass to be
4908         consistent with ObjectOutputStream and to facilitate caching the
4909         Method in the future.
4910         (setBooleanField): Added Class argument.
4911         (setByteField): Likewise.
4912         (setCharField): Likewise.
4913         (setDoubleField): Likewise.
4914         (setFloatField): Likewise.
4915         (setIntField): Likewise.
4916         (setLongField): Likewise.
4917         (setShortField): Likewise.
4918         (setObjectField): Likewise.
4919         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4920         class hierarchy loop.
4921         (defaultWriteObject): Call writeFields with new argument list.
4922         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4923         list to Object,ObjectStreamClass, moved callWriteMethod up into
4924         writeObject and added Class argument to all getXxxField calls.
4925         (callWriteMethod): Added ObjectStreamClass argument to be able to
4926         get the proper class to call getMethod on (each class can have (or
4927         not have) its own writeObject method).
4928         (getBooleanField): Added Class argument.
4929         (getByteField): Likewise.
4930         (getCharField): Likewise.
4931         (getDoubleField): Likewise.
4932         (getFloatField): Likewise.
4933         (getIntField): Likewise.
4934         (getLongField): Likewise.
4935         (getShortField): Likewise.
4936         (getObjectField): Likewise.
4937         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4938         facilitate caching the Method object in the future.
4939
4940 2003-03-12  Andreas Schwab  <schwab@suse.de>
4941
4942         * configure.in: Avoid trailing /. in toolexeclibdir.
4943         * configure: Rebuilt.
4944
4945 2003-03-11  Michael Koch  <konqueror@gmx.de>
4946
4947         * gnu/java/nio/ByteBufferImpl.java
4948         (putInt): Use limit() instead of limit.
4949         * gnu/java/nio/CharBufferImpl.java
4950         (slice): Fixed implementation.
4951         (subSequence): Better bounds checking.
4952         * gnu/java/nio/MappedByteFileBuffer.java:
4953         Import all needed classes directly.
4954         * java/nio/ByteBuffer.java
4955         (hashCode): New dummy method.
4956         * java/nio/CharBuffer.java
4957         (array_offset): New member variable.
4958         (hasArray): Fixed documentation.
4959         (arrayOffset): Return array_offset.
4960
4961 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
4962
4963         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4964         setter; made return value of getter const char* instead of char*
4965         * prims.cc: removed all references to _Jv_ThisExecutable().
4966         These are in the platform-specific sections now.
4967         * posix.cc: define platform-specific _Jv_ThisExecutable().
4968         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4969         * win32.cc: define platform-specific _Jv_ThisExecutable()
4970         using GetModuleFilename()
4971         * java/lang/natRuntime.cc: set gnu.gcj.progname property
4972         to argv[0] instead of _Jv_ThisExecutable()
4973
4974 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4975
4976         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4977         that is set if we are using addr2name.awk instead of addr2line.
4978         (NameFinder): Set usingAddr2name if using addr2name.awk.
4979         (getExternalLabel): New native method to convert a method 
4980         name to an external label.
4981         (lookup): Convert name given by addr2line to an external label
4982         before demangling.
4983
4984         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4985         constant representing the prefix attached to method names to
4986         convert them to an external label.
4987         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
4988         using LABEL_PREFIX.
4989
4990 2003-03-10  Tom Tromey  <tromey@redhat.com>
4991
4992         * Makefile.in: Rebuilt.
4993         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4994         (JC1FLAGS): Removed -Wno-deprecated.
4995
4996 2003-03-10  Michael Koch  <konqueror@gmx.de>
4997
4998         * java/nio/ByteOrder.java
4999         (nativeOrder): Working implementation, added documentation.
5000         (toString): Added documentation.
5001
5002 2003-03-10  Michael Koch  <konqueror@gmx.de>
5003
5004         * java/net/DatagramSocket.java,
5005         java/net/MulticastSocket.java,
5006         java/net/Socket.java,
5007         java/net/URL.java,
5008         java/net/URLConnection.java:
5009         Fixed some documentation tags to make javadoc and friends happy.
5010
5011 2003-03-10  Michael Koch  <koqnueror@gmx.de>
5012
5013         * java/beans/beancontext/BeanContextServicesSupport.java,
5014         java/beans/beancontext/BeanContextSupport.java: New files.
5015         * Makefile.am
5016         (awt_source_files): Added new files.
5017         * Makefile.in: Regenerated.
5018
5019 2003-03-10  Michael Koch  <konqueror@gmx.de>
5020
5021         * java/awt/FocusTraversalPolicy.java
5022         (FocusTraversalPolicy): Documentation added.
5023         (getComponentAfter): Documentation added.
5024         (getComponentBefore): Documentation added.
5025         (getFirstComponent): Documentation added.
5026         (getLastComponent): Documentation added.
5027         (getDefaultComponent): Documentation added.
5028         (getInitialComponent): Documentation added.
5029         * java/awt/ScrollPaneAdjustable.java
5030         (sp): New member variable.
5031         (orientation): New member variable.
5032         (value): New member variable.
5033         (minimum): New member variable.
5034         (maximum): New member variable.
5035         (visibleAmount): New member variable.
5036         (unitIncrement): New member variable.
5037         (blockIncrement): New member variable.
5038         (adjustmentListener): New member variable.
5039         (ScrollPaneAdjustable): Rewrote.
5040         (addAdjustmentListener): New method.
5041         (removeAdjustmentListener): New method.
5042         (getAdjustmentListeners): New method.
5043         (getBlockIncrement): New method.
5044         (getMaximum): New method.
5045         (getMinimum): New method.
5046         (getOrientation): New method.
5047         (getUnitIncrement): New method.
5048         (getValue): New method.
5049         (getVisibleAmount): New method.
5050         (setBlockIncrement): New method.
5051         (setUnitIncrement): New method.
5052         (setMaximum): Implemented.
5053         (setMinimum): Implemented.
5054         (setValue): New method.
5055         (setVisibleAmount): Implemented.
5056         (paramString): New method.
5057         * java/awt/Window.java
5058         (show): Use setVisible(true) instead of super.show().
5059         (hide): Use sevVisible(false) instead of super.hide().
5060         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
5061         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
5062         (postEvent): Deprecated.
5063         (applyResourceBundle): Deprecated.
5064         (processWindowFocusEvent): New method.
5065         (processWindowStateEvent): New method.
5066         * java/awt/datatransfer/DataFlavor.java: Reindented.
5067         * java/awt/font/TextHitInfo.java
5068         (charIndex): New member variable.
5069         (leadingEdge): New member variable.
5070         (TextHitInfo): New constructor.
5071         (getCharIndex): Implemented.
5072         (isLeadingEdge): Implemented.
5073         (getInsertionIndex): Implemented.
5074         (hashCode): Access charIndex directly.
5075         (equals): Reformated.
5076         (leading): Implemented.
5077         (trailing): Implemented.
5078         (beforeOffset): Implemented.
5079         (afterOffset): Implemented.
5080         (getOtherHit): Implemented.
5081         (getOffsetHit): Implemented.
5082         (toString): Implemented.
5083         * java/awt/image/BufferedImage.java
5084         (BufferedImage): Implements WritableRenderedImage.
5085         (observers): New member variable.
5086         (addTileObserver): New method.
5087         (removeTileObserver): New method.
5088
5089 2003-03-09  Tom Tromey  <tromey@redhat.com>
5090
5091         PR libgcj/9934:
5092         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
5093         to lseek.  Return 0 if we can't compute the value.
5094
5095 2003-03-03  Michael Koch  <konqueror@gmx.de>
5096
5097         * java/net/NetworkInterface.java: Merged with classpath.
5098
5099 2003-03-03  Tom Tromey  <tromey@redhat.com>
5100
5101         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
5102         of bytecode.
5103         (handle_ret_insn): Fail if returning to jsr that appears at end of
5104         bytecode.
5105
5106 2003-03-03  Michael Koch  <konqueror@gmx.de>
5107
5108         * Makefile.am
5109         (ordinary_java_source_files):
5110         Added gnu/java/nio/MappedByteFileBuffer.java.
5111         (nat_source_files):
5112         Added gnu/java/nio/natMappedByteFileBuffer.cc.
5113         * Makefile.in: Regenerated.
5114
5115 2003-03-03  Michael Koch  <konqueror@gmx.de>
5116
5117         * java/net/DatagramSocket.java
5118         (connect): Merged comment from classpath.
5119         (receive): Merged documentation from classpath.
5120         * java/net/Socket.java
5121         (setSoTimeout): Clarified documentation.
5122         * java/net/URL.java
5123         (getPath): Merged from classpath.
5124         (getUserInfo): Merged from classpath.
5125         (getQuery): Merged from classpath.
5126         * java/net/URLStreamHandler.java
5127         (toExternalForm): Merged from classpath.
5128
5129 2003-03-02  Mark Wielaard  <mark@klomp.org>
5130
5131         * java/util/Properties.java (load): Only skip line if the first
5132         character is a comment, whitespaces don't count.
5133
5134 2003-03-02  Michael Koch  <konqueror@gmx.de>
5135
5136         * java/net/NetPermission.java:
5137         Merged copyright with classpath.
5138
5139 2003-03-02  Michael Koch  <konqueror@gmx.de>
5140
5141         * java/lang/Package.java:
5142         Remerged from classpath.
5143
5144 2003-03-02  Michael Koch  <konqueror@gmx.de>
5145
5146         * java/net/HttpURLConnection.java
5147         (HTTP_SERVER_ERROR): Deprecated.
5148         * java/net/MulticastSocket.java
5149         (send): Replaced checkMulticast with appropriate checkPermission call,
5150         deprecated.
5151         * java/net/URLDecoder.java
5152         (decode): Deprecated.
5153         * java/net/URLEncoder.java
5154         (encode): Deprecated.
5155
5156 2003-03-02  Michael Koch  <konqueror@gmx.de>
5157
5158         * javax/swing/text/Caret.java
5159         (getMagicCaretPosition): Fixed typo in method name.
5160         * javax/swing/text/DefaultCaret.java
5161         (getMagicCaretPosition): Fixed typo in method name.
5162
5163 2003-03-02  Michael Koch  <konqueror@gmx.de>
5164
5165         * java/awt/List.java
5166         (setMultipleSelections): Deprecated.
5167         (delItem): Deprecated.
5168         * java/awt/MenuComponent.java
5169         (getPeer): Deprecated.
5170         * java/awt/ScrollPane.java
5171         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
5172         * java/awt/dnd/MouseDragGestureRecognizer.java
5173         (mouseClicked): Added comment.
5174         (mousePressed): Added comment.
5175         (mouseReleased): Added comment.
5176         (mouseEntered): Added comment.
5177         (mouseExited): Added comment.
5178         (mouseDragged): Added comment.
5179         (mouseMoved): Added comment.
5180         * java/awt/event/KeyEvent.java
5181         (KeyEvent): Deprecated.
5182         (setModifiers): Deprecated.
5183         
5184 2003-03-02  Michael Koch  <konqueror@gmx.de>
5185
5186         * gnu/java/nio/FileChannelImpl.java
5187         (fd): Type FileDescriptor instead of int.
5188         (lengthInternal): Removed.
5189         (FileChannelImpl): Fixed arguments, check type of file object.
5190         (size): Made it native.
5191         (implPosition): New native method.
5192         (implTruncate): New native method.
5193         (position): Implemented.
5194         (truncate): Implemented.
5195         (nio_mmap_file): Changed arguments.
5196         (nio_munmap_file): Changed arguments.
5197         (nio_msync): Changed arguments.
5198         * gnu/java/nio/natFileChannelImpl.cc
5199         (lengthInternal): Removed.
5200         (size): New method.
5201         (implPosition): New method.
5202         (implTruncate): New method.
5203         (nio_mmap_file): Changed arguments.
5204         (nio_munmap_file): Changed arguments.
5205         (nio_msync): Changed arguments.
5206
5207 2003-03-02  Michael Koch  <konqueror@gmx.de>
5208
5209         * java/awt/dnd/DropTargetContext.java:
5210         Compile fix: Forgot to commit import.
5211         
5212 2003-03-02  Michael Koch  <konqueror@gmx.de>
5213
5214         * java/awt/Component.java,
5215         java/awt/ScrollPane.java:
5216         Fixed typos.
5217
5218 2003-03-02  Michael Koch  <konqueror@gmx.de>
5219
5220         * java/awt/dnd/DnDEventMulticaster.java: New file.
5221         * java/awt/dnd/DragSource.java
5222         (flavorMap): New member variable.
5223         (dragSourceListener): New member variable.
5224         (dragSourceMotionListener): New member variable.
5225         (getFlavorMap): Implemented.
5226         (createDragGestureRecognizer): Implemented.
5227         (addDragSourceListener): Implemented.
5228         (removeDragSourceListener): Implemented.
5229         (getDragSourceListeners): Implemented.
5230         (addDragSourceMotionListener): Implemented.
5231         (removeDragSourceMotionListener): Implemented.
5232         (getDragSourceMotionListeners): Implemented.
5233         (getListeners): Implemented.
5234         * java/awt/dnd/DragSourceContext.java
5235         (peer): New member variable.
5236         (cursor): New member variable.
5237         (transferable): New member variable.
5238         (trigger): New member variable.
5239         (dragSourceListener): New member variable.
5240         (image): New member variable.
5241         (offset): New member variable.
5242         (DragSourceContext): Implemented.
5243         (getDragSource): Implemented.
5244         (getComponent): Implemented.
5245         (getTrigger): Implemented.
5246         (getSourceActions): Implemented.
5247         (setCursor): Implemented.
5248         (getCursor): Implemented.
5249         (addDragSourceListener): Implemented.
5250         (removeDragSourceListener): Implemented.
5251         (getTransferable): Implemented.
5252         * java/awt/dnd/DropTarget.java
5253         (DropTargetAutoScroller.component): New member variable.
5254         (DropTargetAutoScroller.point): New member variable.
5255         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
5256         (DropTargetAutoScroller.updateLocation): Implemented.
5257         (active): Renamed from isActive, defaults to true now.
5258         (component): New member variable.
5259         (flavorMap): New member variable.
5260         (actions): New member variable.
5261         (dropTargetContext): New member variable.
5262         (dropTargetListener): New member variable.
5263         (DropTarget): Implemented.
5264         (getComponent): Implemented.
5265         (setComponent): Implemented.
5266         (setDefaultActions): Implemented.
5267         (getDefaultActions): Implemented.
5268         (setActive): Use active instead of isActive.
5269         (isActive): Use active instead of isActive.
5270         (addDropTargetListener): Implemented.
5271         (removeDropTargetListener): Implemented.
5272         (getFlavorMap): Implemented.
5273         (setFlavorMap): Implemented.
5274         (getDropTargetContext): Implemented.
5275         (createDropTargetContext): Implemented.
5276         (createDropTargetAutoScroller): Implemented.
5277         * java/awt/dnd/DropTargetContext.java
5278         (TransferableProxy.getTransferDataFlavors): Implemented.
5279         (TransferableProxy.isDataFlavorSupported): Implemented.
5280         (TransferableProxy.getTransferData): Implemented.
5281         (dropTarget):  New member variable.
5282         (dtcp): New member variable.
5283         (DropTargetContext): New package private constructor.
5284         (getDropTarget): Implemented.
5285         (getComponent): Implemented.
5286         (addNotify): Implemented.
5287         (removeNotify): Implemented.
5288         (getCurrentDataFlavorsAsList): Implemented.
5289         (isDataFlavorSupported): Implemented.
5290         * java/awt/dnd/MouseDragGestureRecognizer.java
5291         (registerListeners): Implemented.
5292         (unregisterListeners): Implemented.
5293         * Makefile.am
5294         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
5295         * Makefile.in: Regenerated.
5296
5297 2003-03-02  Michael Koch  <konqueror@gmx.de>
5298
5299         * java/awt/Component.java
5300         (eventTypeEnabled): New method.
5301         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
5302         * java/awt/Container.java
5303         (changeSupport): New member variable.
5304         (addPropertyChangeListener): New methods.
5305         * java/awt/ContainerOrderFocusTraversalPolicy.java
5306         (ContainerOrderFocusTraversalPolicy): Added comment.
5307         (getComponentAfter): Throw exception, documentation added.
5308         (getComponentBefore): Throw exception, documentation added.
5309         (getFirstComponent): Throw exception, documentation added.
5310         (getLastComponent): Throw exception, documentation added.
5311         (getDefaultComponent): Throw exception, documentation added.
5312         * java/awt/EventQueue.java: Reindented.
5313         * java/awt/FocusTraversalPolicy.java:
5314         (FocusTraversalPolicy): Added comment.
5315         (getComponentAfter): Documentation added.
5316         (getComponentBefore): Documentation added.
5317         (getFirstComponent): Documentation added.
5318         (getLastComponent): Documentation added.
5319         (getDefaultComponent): Documentation added.
5320         (getInitialComponent): Documentation added.
5321         * java/awt/ScrollPane.java
5322         (wheelScrollingEnabled): New member variable.
5323         (ScrollPane): Initialize wheelScollingEnabled.
5324         (eventTypeEnabled): New method.
5325         (isWheelScrollingEnabled): New method.
5326         (setWheelScrollingEnabled): New method.
5327
5328 2003-03-02  Michael Koch  <konqueror@gmx.de>
5329
5330         * java/net/DatagramSocket.java
5331         (closed): New member variable.
5332         (close): Use closed variable.
5333         (getInetAddress): No need to call isConnected().
5334         (getPort): No need to call isConnected().
5335         (disconnect): Reset remoteAddress and remotePort, fixed typo.
5336         (isClosed): Reimplemented.
5337         
5338 2003-03-02  Michael Koch  <konqueror@gmx.de>
5339
5340         * configure.in: Added check for memory mapping of files.
5341         * configure: Regenerated.
5342         * config.h.in: Regenerated.
5343
5344 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
5345
5346         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
5347         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
5348
5349 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
5350
5351         * java/io/File.java (normalizePath): Remove trailing separator
5352         on Windows only if path is not of the form "x:\".
5353
5354         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
5355         (java::io::File::attr): Change formatting a bit and use
5356         WIN32_EPOCH_MILLIS instead of magic numbers.
5357         (java::io::File::isAbsolute): Path must have at least 3 
5358         characters for a UNC network path.
5359         (java::io::File::init_native): Define.
5360         (java::io::File::performCreate): Likewise.
5361         (java::io::File::performSetReadOnly): Likewise.
5362         (java::io::File::performSetLastModified): Likewise.
5363         (java::io::File::performListRoots): Likewise.
5364
5365 2003-03-01  Tom Tromey  <tromey@redhat.com>
5366
5367         * java/lang/natObject.cc: Don't include assert.h.
5368         (heavy_lock_obj_finalization_proc): Use JvAssert.
5369         (remove_all_heavy): Likewise.
5370         (_Jv_MonitorEnter): Likewise.
5371         (_Jv_MonitorExit): Likewise.
5372         (wait): Likewise.
5373
5374 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
5375
5376         * java/io/File (getAbsolutePath): Prefix drive specifier on
5377         Windows for paths starting with a '\'.
5378         (toURL): Make URL more consistent with what Sun's JDK returns.
5379
5380         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
5381         true only if the path is a UNC network path or it starts with a
5382         drive specifier.
5383
5384         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
5385         Be prepared to handle either '/' or '\\' in the file path for
5386         Windows if using the "file" protocol.
5387         Canonicalise the file path if using a relative path in the given
5388         context and the "file" protocol.
5389
5390 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
5391
5392         * java/lang/natWin32Process.cc (startProcess): Double-quote each
5393         program array element passed to CreateProcess.
5394
5395 2003-03-01  Tom Tromey  <tromey@redhat.com>
5396
5397         * java/rmi/registry/RegistryHandler.java: Deprecate.
5398
5399 2003-03-01  Tom Tromey  <tromey@redhat.com>
5400
5401         * javax/accessibility/AccessibleEditableText.java,
5402         javax/accessibility/AccessibleHyperlink.java: New versions from
5403         Classpath.
5404
5405         * gnu/java/locale/LocaleInformation_af_ZA.java,
5406         gnu/java/locale/LocaleInformation_ar_AE.java,
5407         gnu/java/locale/LocaleInformation_ar_BH.java,
5408         gnu/java/locale/LocaleInformation_ar_DZ.java,
5409         gnu/java/locale/LocaleInformation_ar_EG.java,
5410         gnu/java/locale/LocaleInformation_ar_IN.java,
5411         gnu/java/locale/LocaleInformation_ar_IQ.java,
5412         gnu/java/locale/LocaleInformation_ar_JO.java,
5413         gnu/java/locale/LocaleInformation_ar_KW.java,
5414         gnu/java/locale/LocaleInformation_ar_LB.java,
5415         gnu/java/locale/LocaleInformation_ar_LY.java,
5416         gnu/java/locale/LocaleInformation_ar_MA.java,
5417         gnu/java/locale/LocaleInformation_ar_OM.java,
5418         gnu/java/locale/LocaleInformation_ar_QA.java,
5419         gnu/java/locale/LocaleInformation_ar_SD.java,
5420         gnu/java/locale/LocaleInformation_ar_SY.java,
5421         gnu/java/locale/LocaleInformation_ar_TN.java,
5422         gnu/java/locale/LocaleInformation_ar_YE.java,
5423         gnu/java/locale/LocaleInformation_be_BY.java,
5424         gnu/java/locale/LocaleInformation_bn_IN.java,
5425         gnu/java/locale/LocaleInformation_br_FR.java,
5426         gnu/java/locale/LocaleInformation_bs_BA.java,
5427         gnu/java/locale/LocaleInformation_ca_ES.java,
5428         gnu/java/locale/LocaleInformation_cs_CZ.java,
5429         gnu/java/locale/LocaleInformation_cy_GB.java,
5430         gnu/java/locale/LocaleInformation_da_DK.java,
5431         gnu/java/locale/LocaleInformation_de_AT.java,
5432         gnu/java/locale/LocaleInformation_de_BE.java,
5433         gnu/java/locale/LocaleInformation_de_CH.java,
5434         gnu/java/locale/LocaleInformation_de_DE.java,
5435         gnu/java/locale/LocaleInformation_de_LU.java,
5436         gnu/java/locale/LocaleInformation_el_GR.java,
5437         gnu/java/locale/LocaleInformation_en_AU.java,
5438         gnu/java/locale/LocaleInformation_en_BW.java,
5439         gnu/java/locale/LocaleInformation_en_CA.java,
5440         gnu/java/locale/LocaleInformation_en_DK.java,
5441         gnu/java/locale/LocaleInformation_en_GB.java,
5442         gnu/java/locale/LocaleInformation_en_HK.java,
5443         gnu/java/locale/LocaleInformation_en_IE.java,
5444         gnu/java/locale/LocaleInformation_en_IN.java,
5445         gnu/java/locale/LocaleInformation_en_NZ.java,
5446         gnu/java/locale/LocaleInformation_en_PH.java,
5447         gnu/java/locale/LocaleInformation_en_SG.java,
5448         gnu/java/locale/LocaleInformation_en_US.java,
5449         gnu/java/locale/LocaleInformation_en_ZA.java,
5450         gnu/java/locale/LocaleInformation_en_ZW.java,
5451         gnu/java/locale/LocaleInformation_es_AR.java,
5452         gnu/java/locale/LocaleInformation_es_BO.java,
5453         gnu/java/locale/LocaleInformation_es_CL.java,
5454         gnu/java/locale/LocaleInformation_es_CO.java,
5455         gnu/java/locale/LocaleInformation_es_CR.java,
5456         gnu/java/locale/LocaleInformation_es_DO.java,
5457         gnu/java/locale/LocaleInformation_es_EC.java,
5458         gnu/java/locale/LocaleInformation_es_ES.java,
5459         gnu/java/locale/LocaleInformation_es_GT.java,
5460         gnu/java/locale/LocaleInformation_es_HN.java,
5461         gnu/java/locale/LocaleInformation_es_MX.java,
5462         gnu/java/locale/LocaleInformation_es_NI.java,
5463         gnu/java/locale/LocaleInformation_es_PA.java,
5464         gnu/java/locale/LocaleInformation_es_PE.java,
5465         gnu/java/locale/LocaleInformation_es_PR.java,
5466         gnu/java/locale/LocaleInformation_es_PY.java,
5467         gnu/java/locale/LocaleInformation_es_SV.java,
5468         gnu/java/locale/LocaleInformation_es_US.java,
5469         gnu/java/locale/LocaleInformation_es_UY.java,
5470         gnu/java/locale/LocaleInformation_es_VE.java,
5471         gnu/java/locale/LocaleInformation_et_EE.java,
5472         gnu/java/locale/LocaleInformation_eu_ES.java,
5473         gnu/java/locale/LocaleInformation_fa_IR.java,
5474         gnu/java/locale/LocaleInformation_fi_FI.java,
5475         gnu/java/locale/LocaleInformation_fo_FO.java,
5476         gnu/java/locale/LocaleInformation_fr_BE.java,
5477         gnu/java/locale/LocaleInformation_fr_CA.java,
5478         gnu/java/locale/LocaleInformation_fr_CH.java,
5479         gnu/java/locale/LocaleInformation_fr_FR.java,
5480         gnu/java/locale/LocaleInformation_fr_LU.java,
5481         gnu/java/locale/LocaleInformation_ga_IE.java,
5482         gnu/java/locale/LocaleInformation_gd_GB.java,
5483         gnu/java/locale/LocaleInformation_gl_ES.java,
5484         gnu/java/locale/LocaleInformation_gv_GB.java,
5485         gnu/java/locale/LocaleInformation_he_IL.java,
5486         gnu/java/locale/LocaleInformation_hi_IN.java,
5487         gnu/java/locale/LocaleInformation_hr_HR.java,
5488         gnu/java/locale/LocaleInformation_hu_HU.java,
5489         gnu/java/locale/LocaleInformation_id_ID.java,
5490         gnu/java/locale/LocaleInformation_it_CH.java,
5491         gnu/java/locale/LocaleInformation_it_IT.java,
5492         gnu/java/locale/LocaleInformation_iw_IL.java,
5493         gnu/java/locale/LocaleInformation_ja_JP.java,
5494         gnu/java/locale/LocaleInformation_ka_GE.java,
5495         gnu/java/locale/LocaleInformation_kl_GL.java,
5496         gnu/java/locale/LocaleInformation_ko_KR.java,
5497         gnu/java/locale/LocaleInformation_kw_GB.java,
5498         gnu/java/locale/LocaleInformation_lt_LT.java,
5499         gnu/java/locale/LocaleInformation_lv_LV.java,
5500         gnu/java/locale/LocaleInformation_mi_NZ.java,
5501         gnu/java/locale/LocaleInformation_mk_MK.java,
5502         gnu/java/locale/LocaleInformation_mr_IN.java,
5503         gnu/java/locale/LocaleInformation_mt_MT.java,
5504         gnu/java/locale/LocaleInformation_nl_BE.java,
5505         gnu/java/locale/LocaleInformation_nl_NL.java,
5506         gnu/java/locale/LocaleInformation_nn_NO.java,
5507         gnu/java/locale/LocaleInformation_no_NO.java,
5508         gnu/java/locale/LocaleInformation_oc_FR.java,
5509         gnu/java/locale/LocaleInformation_pl_PL.java,
5510         gnu/java/locale/LocaleInformation_pt_BR.java,
5511         gnu/java/locale/LocaleInformation_pt_PT.java,
5512         gnu/java/locale/LocaleInformation_ro_RO.java,
5513         gnu/java/locale/LocaleInformation_ru_RU.java,
5514         gnu/java/locale/LocaleInformation_ru_UA.java,
5515         gnu/java/locale/LocaleInformation_se_NO.java,
5516         gnu/java/locale/LocaleInformation_sk_SK.java,
5517         gnu/java/locale/LocaleInformation_sl_SI.java,
5518         gnu/java/locale/LocaleInformation_sq_AL.java,
5519         gnu/java/locale/LocaleInformation_sr_YU.java,
5520         gnu/java/locale/LocaleInformation_sv_FI.java,
5521         gnu/java/locale/LocaleInformation_sv_SE.java,
5522         gnu/java/locale/LocaleInformation_ta_IN.java,
5523         gnu/java/locale/LocaleInformation_te_IN.java,
5524         gnu/java/locale/LocaleInformation_tg_TJ.java,
5525         gnu/java/locale/LocaleInformation_tl_PH.java,
5526         gnu/java/locale/LocaleInformation_tr_TR.java,
5527         gnu/java/locale/LocaleInformation_uk_UA.java,
5528         gnu/java/locale/LocaleInformation_ur_PK.java,
5529         gnu/java/locale/LocaleInformation_uz_UZ.java,
5530         gnu/java/locale/LocaleInformation_vi_VN.java,
5531         gnu/java/locale/LocaleInformation_yi_US.java,
5532         gnu/java/locale/LocaleInformation_zh_CN.java,
5533         gnu/java/locale/LocaleInformation_zh_HK.java,
5534         gnu/java/locale/LocaleInformation_zh_SG.java,
5535         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
5536         info; from Classpath.
5537
5538         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
5539         isPaintPending): New methods.
5540         * gnu/awt/xlib/XFramePeer.java (getState, setState,
5541         setMaximizedBounds): New methods.
5542         (beginLayout, endLayout, isPaintPending): Likewise.
5543         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
5544         (requestFocus): Likewise.
5545         (isObscured): Likewise.
5546         (canDetermineObscurity): Likewise.
5547         (coalescePaintEvent): Likewise.
5548         (updateCursorImmediately): Likewise.
5549         (createVolatileImage): Likewise.
5550         (handlesWheelScrolling): Likewise.
5551         (createBuffers): Likewise.
5552         (getBackBuffer): Likewise.
5553         (flip): Likewise.
5554         (destroyBuffers): Likewise.
5555
5556         * Makefile.in: Rebuilt.
5557         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
5558         RobotPeer.java.
5559         * gnu/java/awt/GLightweightPeer.java,
5560         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5561         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5562         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5563         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5564         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5565         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5566         java/awt/dnd/peer/DragSourceContextPeer.java,
5567         java/awt/dnd/peer/DropTargetContextPeer.java,
5568         java/awt/peer/ButtonPeer.java,
5569         java/awt/peer/CheckboxMenuItemPeer.java,
5570         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
5571         java/awt/peer/ComponentPeer.java,
5572         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
5573         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
5574         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
5575         java/awt/peer/MenuBarPeer.java,
5576         java/awt/peer/MenuComponentPeer.java,
5577         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
5578         java/awt/peer/PopupMenuPeer.java,
5579         java/awt/peer/ScrollPanePeer.java,
5580         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
5581         java/awt/peer/TextComponentPeer.java,
5582         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
5583         New versions from Classpath.
5584         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
5585         * java/awt/peer/RobotPeer.java: Likewise.
5586
5587 2003-03-01  Mark Wielaard  <mark@klomp.org>
5588
5589         * java/io/ObjectInputStream.java: Reindent.
5590         * java/io/ObjectOutputStream.java: Likewise.
5591
5592 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
5593
5594         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
5595         jvalue for each argument. Simplify.
5596         * testsuite/libjava.jni/calls.c (docall),
5597         testsuite/libjava.jni/calls.java (longpb_f): check for argument
5598         misalignment.
5599
5600 2003-02-28  Mark Wielaard  <mark@klomp.org>
5601
5602         * Makefile.am (nat_source_files): Remove
5603         java/io/natObjectOutputStream.cc.
5604         * Makefile.in: Regenerated.
5605         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
5606         * java/io/ObjectStreamField.java (typename): New field.
5607         (ObjectStreamField(String, Class)): Initialize new field.
5608         (ObjectStreamField(String, String)): New Constructor.
5609         (getTypeCode): Use new field.
5610         (getTypeString): Use new field.
5611         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
5612         ObjectStreamExceptions. Remember and reset old BlockDataMode.
5613         Handle reading of Proxy classes. Never drain(), just write
5614         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
5615         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
5616         (flush): Call flush(), not just drain().
5617         (writeBoolean): Always use blockDataOutput.
5618         (writeByte): Likewise.
5619         (writeShort): Likewise.
5620         (writeChar): Likewise.
5621         (writeInt): Likewise.
5622         (writeLong): Likewise.
5623         (writeFloat): Likewise.
5624         (writeDouble): Likewise.
5625         (writeBytes): Likewise.
5626         (putfield (put(String,Object))): Throw IllegalArgumentException if
5627         field cannot be found.
5628         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5629         (writeArraySizeAndElements): Write byte[] in one go.
5630         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5631         set BlockDataMode to false.
5632         (annotateProxyClass): New method.
5633         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5634         (getField): No longer native.
5635         (getMethod): Likewise.
5636         (setBlockDataMode): Always drain() on switch, return old mode.
5637         (static): New static code block.
5638         * java/io/natObjectOutputStream.cc: Removed.
5639         * java/io/ObjectInputStream.java (getField): No longer native.
5640         (getMethod): Likewise.
5641         (readObject): Remember and reset old BlockDataMode. Track whether
5642         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5643         TC_LONGSTRING.
5644         (defaultReadObject): Set BlockDataMode to false during readFields.
5645         (resolveClass): Create new SecurityManager if necessary.
5646         Use Class.forName() if null ClassLoader found.
5647         (read(byte[],int,int): Copy remaining bytes to data before calling
5648         readNextBlock().
5649         (readFields): Set and reset BlockDataMode on call_read_method.
5650         Catch NoSuchFieldErrors.
5651         (setBlockDataMode): Return old mode.
5652         (static): New static code block.
5653         * java/io/natObjectInputStream.cc (getField): Removed.
5654         (getMethod): Likewise.
5655
5656 2003-02-27  Michael Koch  <konqueror@gmx.de>
5657
5658         * java/beans/Beans.java,
5659         java/beans/FeatureDescriptor.java
5660         java/beans/PropertyEditorManager.java:
5661         Reformated to GNU style.
5662
5663 2003-02-25  Michael Koch  <konqueror@gmx.de>
5664
5665         * gnu/java/nio/MappedByteFileBuffer.java,
5666         gnu/java/nio/natMappedByteFileBuffer.cc:
5667         New files, both are not compiled yet to get not noncompiling CVS.
5668
5669 2003-02-24  Tom Tromey  <tromey@redhat.com>
5670
5671         * java/util/prefs/AbstractPreferences.java (isUserNode):
5672         Implemented.
5673
5674 2003-02-24  Tom Tromey  <tromey@redhat.com>
5675
5676         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5677         Deprecate.
5678         * java/lang/Thread.java (resume): Deprecate.
5679         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5680         in @deprecated.
5681
5682 2003-02-23  Tom Tromey  <tromey@redhat.com>
5683
5684         * Makefile.in: Rebuilt.
5685         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5686
5687 2003-02-23  Tom Tromey  <tromey@redhat.com>
5688
5689         * java/lang/natRuntime.cc (libraries_size, libraries_count,
5690         libraries): Removed.
5691         (add_library): Removed.
5692         (_load): Don't call add_library.
5693         (loadLibraryInternal): Likewise.
5694         (init): Likewise.
5695         (lookup_data): New struct.
5696         (find_symbol): New function.
5697         (_Jv_FindSymbolInExecutable): Use it.
5698
5699 2002-02-21  Anthony Green  <green@redhat.com>
5700
5701         * java/lang/Thread.java (Thread): New constructor taking stack
5702         size parameter (ignored for now).
5703         * Many methods: Merged GNU Classpath documentation.
5704
5705         * java/lang/Class.java (finalize): throws a Throwable.
5706
5707 2003-02-21  Mark Wielaard  <mark@klomp.org>
5708
5709         * java/util/zip/ZipEntry.java (setComment): Don't check length when
5710         argument is null.
5711
5712 2003-02-21  Mark Wielaard  <mark@klomp.org>
5713
5714         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5715         then 65535 chars throw IllegalArgumentException.
5716
5717 2003-02-21  Mark Wielaard  <mark@klomp.org>
5718
5719         * java/util/zip/ZipFile.java (finalize): New method.
5720
5721 2003-02-21  Michael Koch  <konqueror@gmx.de>
5722
5723         * gnu/java/nio/natSocketChannelImpl.cc:
5724         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5725         <cato@df.lth.se> for pointing to it.
5726
5727 2003-02-20  Raif S. Naffah <raif@fl.net.au>
5728
5729         * java/math/BigInteger.java (euclidInv): Take result array as an
5730         argument.  Updated all callers.
5731         (modInverse): Removed unused variables.
5732
5733 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
5734
5735         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5736         config.status.
5737         * configure: Rebuilt.
5738
5739 2003-02-19  Michael Koch  <konqueror@gmx.de>
5740
5741         * gnu/java/nio/natSocketChannelImpl.cc:
5742         Added support for platforms without network support.
5743
5744 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5745
5746         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5747         after config.h.  Use <> for consistency.
5748         * java/lang/natObject.cc: Likewise.
5749         * java/lang/natRuntime.cc: Likewise.
5750         * java/lang/natSystem.cc: Likewise.
5751         * java/util/natTimeZone.cc: Likewise.
5752         * win32.cc: Likewise.
5753         * include/posix.h (fcntl, socket, connect, close, bind, accept,
5754         listen, write, read): Undef to avoid interference from OS macros.
5755
5756 2003-02-19  Michael Koch  <konqueror@gmx.de>
5757
5758         * gnu/java/nio/ByteBufferImpl.java
5759         (ByteBufferImpl): Renamed two variables.
5760         * gnu/java/nio/CharBufferImpl.java
5761         (CharBufferImpl): Renamed two variables.
5762         * gnu/java/nio/DoubleBufferImpl.java
5763         (DoubleBufferImpl): Renamed two variables.
5764         * gnu/java/nio/FloatBufferImpl.java
5765         (FloatBufferImpl): Renamed two variables.
5766         * gnu/java/nio/IntBufferImpl.java
5767         (IntBufferImpl): Renamed two variables.
5768         * gnu/java/nio/LongBufferImpl.java
5769         (LongBufferImpl): Renamed two variables.
5770         * gnu/java/nio/ShortBufferImpl.java
5771         (ShortBufferImpl): Renamed two variables.
5772         * java/nio/CharBuffer.java
5773         (wrap): Fixed arguments to CharBufferImpl constructor.
5774         (hasArray): Only not read-only buffers have backing arrays.
5775         (length): Documentation added.
5776         (subSequence): Documentation added.
5777         * java/nio/DoubleBuffer.java
5778         (hasArray): Only not read-only buffers have backing arrays.
5779         * java/nio/FloatBuffer.java
5780         (hasArray): Only not read-only buffers have backing arrays.
5781         * java/nio/IntBuffer.java
5782         (hasArray): Only not read-only buffers have backing arrays.
5783         * java/nio/LongBuffer.java
5784         (hasArray): Only not read-only buffers have backing arrays.
5785         * java/nio/ShortBuffer.java
5786         (hasArray): Only not read-only buffers have backing arrays.
5787         
5788 2003-02-19  Michael Koch  <konqueror@gmx.de>
5789
5790         * javax/accessibility/AccessibleContext.java
5791         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5792
5793 2003-02-19  Michael Koch  <konqueror@gmx.de>
5794
5795         * java/awt/ScrollPaneAdjustable.java: Reformated.
5796
5797 2003-02-19  Michael Koch <konqueror@gmx.de>
5798
5799         * gnu/awt/j2d/Graphics2DImpl.java
5800         (getFontRenderContext): New method.
5801         (drawGlyphVector): New method.
5802         * java/awt/Graphics2D.java
5803         (getFontRenderContext): New abstract method.
5804         (drawGlyphVector): New abstract method.
5805         
5806 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
5807
5808         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5809         if necessary.
5810         
5811         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5812         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5813         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5817         (setFont, gtkSetFont): add.
5818         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5819         Propagate font to peer.  (setFont): add FIXME comment.
5820
5821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5822         (gtkTextGetSize): fix height, width computation.
5823
5824         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5825         Make X font name a bit less bogus.
5826
5827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5828         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5829
5830         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5831         (processAdjustmentEvent): Adjust value.
5832
5833         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5834         logic errors.
5835
5836         * java/awt/Component.java (setVisible, show, hide): Call show and
5837         hide methods in subclasses.
5838         (getPreferredSize): don't set prefSize before we have peer.
5839
5840         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5841         Guess (0,0) if we don't have peer.
5842
5843
5844 2003-02-18  Michael Koch  <konqueror@gmx.de>
5845
5846         * java/nio/channels/FileChannel.java
5847         (toString): New implementation, added documentation.
5848         (map): Added exception documentation.
5849         (size): Added exception documentation.
5850         (write): New methods, documentation work.
5851         (read): New methods, documentation work.
5852         (implCloseChannel): Rewrote exception documentation.
5853         (force): Throws IOException, added documentation.
5854         (lock): New methods.
5855         (tryLock): New methods.
5856         (position): New methods.
5857         (transferTo): New method.
5858         (transferFrom): New method.
5859         (truncate): New method.
5860         * java/nio/channels/spi/SelectorProvider.java
5861         (provider): Implemented.
5862         * Makefile.am
5863         (ordinary_java_source_files): Added the following files:
5864         gnu/java/nio/DatagramChannelImpl.java
5865         gnu/java/nio/FileChannelImpl.java
5866         gnu/java/nio/PipeImpl.java
5867         gnu/java/nio/SelectionKeyImpl.java
5868         gnu/java/nio/SelectorImpl.java
5869         gnu/java/nio/SelectorProviderImpl.java
5870         gnu/java/nio/ServerSocketChannelImpl.java
5871         gnu/java/nio/SocketChannelImpl.java
5872         java/nio/channels/FileLock.java
5873         (nat_java_source_files): Added the following files:
5874         gnu/java/nio/natFileChannelImpl.cc
5875         gnu/java/nio/natSelectorImpl.cc
5876         gnu/java/nio/natSocketChannelImpl.cc
5877         * Makefile.in: Regenerated.
5878
5879 2003-02-17  Tom Tromey  <tromey@redhat.com>
5880
5881         * java/awt/image/ColorModel.java: Re-merged with Classpath.
5882         * java/awt/image/ImageFilter.java: Likewise.
5883
5884 2003-02-17  Raif S. Naffah <raif@fl.net.au>
5885
5886         * java/math/BigInteger.java (euclidInv): Return array of
5887         `BigInteger's.  Changed all callers.
5888
5889 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
5890
5891         * java/util/Properties.java (store): Move the code formerly in
5892         list(), into this method.
5893         (list (PrintStream)): Just call list (PrintWriter) with a 
5894         PrintWriter object constructed from the given PrintStream object.
5895         (list (PrintWriter)): Emulate the output of Properties.list()
5896         as found in JDK 1.3/1.4.
5897
5898 2003-02-17  Michael Koch  <konqueror@gmx.de>
5899
5900         * java/net/DatagramSocket.java
5901         (connect): Merged with classpath.
5902         (disconnect): Merged documentation with classpath.
5903         (receice): Merged documentation with classpath.
5904         (send): Merged documentation with classpath.
5905         
5906 2003-02-17  Michael Koch  <konqueror@gmx.de>
5907
5908         * java/awt/dnd/DragSourceContext.java
5909         (addDragSourceListener): Added documentation.
5910         * java/awt/dnd/DragSourceDragEvent.java
5911         (serialVersionUID): New member variable.
5912         (getDropAction): Reformated.
5913         * java/awt/dnd/DragSourceDropEvent.java
5914         (serialVersionUID): New member variable.
5915         (dropSuccess): Renamed from success for serialization issues.
5916         * java/awt/dnd/DragSourceEvent.java
5917         (serialVersionUID): New member variable.
5918         * java/awt/dnd/DropTarget.java
5919         (serialVersionUID): New member variable.
5920         (DropTarget): Implemented, documentation reworked.
5921         (setComponent): Documentation added.
5922         (getComponent): Documentation added.
5923         (setDefaultActions): Documentation added.
5924         (getDefaultActions): Documentation added.
5925         (addDropTargetListener): Documentation added.
5926         * java/awt/dnd/DropTargetContext.java
5927         (DropTargetContext): Documentation added.
5928         (TransferableProxy.TransferableProxy): New method.
5929         (dropComplete): Fixed documentation.
5930         (getTransferable): Fixed documentation.
5931         (createTransferableProxy): Implemented.
5932         * java/awt/dnd/DropTargetDragEvent.java
5933         (DropTargetDragEvent): Documentation added.
5934         (serialVersionUID): New member variable.
5935         (DropTargetDragEvent): Throw exceptions, documentation added.
5936         (acceptDrag): Implemented.
5937         (getCurrentDataFlavors): Implemented.3yy
5938         (getCurrentDataFlavorsAsList): Implemented.
5939         (isDataFlavorSupported): Implemented.
5940         (rejectDrag): Implemented.
5941         * java/awt/dnd/DropTargetDropEvent.java
5942         (DropTargetDropEvent): Documentation added.
5943         (serialVersionUID): New member variable.
5944         (actions): Renamed from srcActions for serialization issues.
5945         (isLocalTx): Renamed from isLocalTx for serialization issues.
5946         (DropTargetDropEvent): New implementation, throw exceptions,
5947         documentation added.
5948         (getCurrentDataFlavors): Implemented.
5949         (getCurrentDataFlavorsAsList): Implemented.
5950         (isDataFlavorSupported): Implemented.
5951         (getSourceActions): Implemented.
5952         (getDropAction): Implemented.
5953         (getTransferable): Implemented.
5954         (acceptDrop): Implemented.
5955         (rejectDrop): Implemented.
5956         * java/awt/dnd/DropTargetListener.java
5957         (drop): Fixed documentation.
5958         * java/awt/dnd/MouseDragGestureRecognizer.java
5959         (MouseDragGestureRecognizer): Documentation added.
5960
5961 2003-02-17  Michael Koch  <konqueror@gmx.de>
5962
5963         * java/awt/font/FontRenderContext.java,
5964         java/awt/font/ShapeGraphicAttribute.java,
5965         java/awt/font/MultipleMaster.java,
5966         java/awt/font/TransformAttribute.java,
5967         java/awt/font/GlyphJustificationInfo.java,
5968         java/awt/font/LineBreakMeasurer.java,
5969         java/awt/font/TextMeasurer.java,
5970         java/awt/font/TextLayout.java,
5971         java/awt/font/LineMetrics.java,
5972         java/awt/font/TextAttribute.java,
5973         java/awt/font/GlyphMetrics.java,
5974         java/awt/font/OpenType.java,
5975         java/awt/font/GlyphVector.java,
5976         java/awt/font/GraphicAttribute.java,
5977         java/awt/font/ImageGraphicAttribute.java,
5978         java/awt/font/NumericShaper.java: New files.
5979         * Makefile.am
5980         (awt_java_source_files): Added the following files:
5981         java/awt/font/FontRenderContext.java
5982         java/awt/font/ShapeGraphicAttribute.java
5983         java/awt/font/MultipleMaster.java
5984         java/awt/font/TransformAttribute.java
5985         java/awt/font/GlyphJustificationInfo.java
5986         java/awt/font/LineBreakMeasurer.java
5987         java/awt/font/TextMeasurer.java
5988         java/awt/font/TextLayout.java
5989         java/awt/font/LineMetrics.java
5990         java/awt/font/TextAttribute.java
5991         java/awt/font/GlyphMetrics.java
5992         java/awt/font/OpenType.java
5993         java/awt/font/GlyphVector.java
5994         java/awt/font/GraphicAttribute.java
5995         java/awt/font/ImageGraphicAttribute.java
5996         java/awt/font/NumericShaper.java
5997         * Makefile.in: Regenerated.
5998
5999 2003-02-17  Michael Koch  <konqueror@gmx.de>
6000
6001         * java/awt/print/Paper.java
6002         (Paper): Implements Cloneable.
6003         * java/awt/print/PrinterJob.java
6004         (setJobName): Return value must be void.
6005         (print): Throws PrinterException.
6006         
6007 2003-02-16  Tom Tromey  <tromey@redhat.com>
6008
6009         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6010         variable.
6011
6012 2003-02-15  Michael Koch  <konqueror@gmx.de>
6013
6014         * java/awt/datatransfer/DataFlavor.java
6015         (isRepresentationClassByteBuffer): Removed try-catch block.
6016         (isRepresentationClassCharBuffer): Removed try-catch block.
6017         (isRepresentationClassReader): Removed try-catch block.
6018
6019 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6020
6021         * java/nio/charset/Charset.java
6022         (isRegistered): Fixed method args and implementation.
6023         * java/nio/charset/CharsetEncoder.java
6024         (unmappableCharacterAction): New method.
6025
6026 2003-02-15  Michael Koch  <konqueror@gmx.de>
6027
6028         * java/awt/CheckboxMenuItem.java
6029         (CheckBoxMenuItem): Dont implement Serializable.
6030         (getListeners): New method,
6031         (getItemListeners): New method.
6032         * java/awt/Choice.java
6033         (getListeners): New method,
6034         (getItemListeners): New method.
6035         * java/awt/Container.java
6036         (getListeners): Added exception documentation.
6037         (setFocusTraversalKeys): Throw exceptions, added documentattion.
6038         (getFocusTraversalKeys): Added documentation.
6039         (areFocusTraversalKeysSet): Added documentation.
6040         (applyComponentOrientation): Added documentation.
6041         * java/awt/ContainerOrderFocusTraversalPolicy.java
6042         (implicitDownCycleTraversal): Renamed from downCycle for
6043         serialization.
6044         (ContainerOrderFocusTraversalPolicy): Added documentation.
6045         (accept): Reformated.
6046         * java/awt/Dialog.java
6047         (Dialog): Dont implement Serializable.
6048         (Dialog): Added documentation.
6049         * java/awt/Font.java
6050         (Font): Dont use absolute class name.
6051         * java/awt/Frame.java
6052         (Frame): Font implement Serializable.
6053         * java/awt/List.java
6054         (getListeners): New method,
6055         (getActionListeners): New method.       
6056         (getItemListeners): New method.
6057         * java/awt/Menu.java
6058         (countItems): New deprecated method.
6059         * java/awt/Scrollbar.java
6060         (getListeners): New method,
6061         (getAdjustmentListeners): New method,
6062         * java/awt/TextComponent.java
6063         (getListeners): New method,
6064         (getTextListeners): New method,
6065         * java/awt/TextField.java
6066         (getListeners): New method,
6067         (getActionListeners): New method.       
6068         * java/awt/Window.java
6069         (windowFocusListener): New member variable.
6070         (windowStateListener): New member variable.
6071         (getWindowFocusListeners): New method.
6072         (getWindowStateListeners): New method.
6073         (addWindowFocusListener): New method.
6074         (addWindowStateListener): New method.
6075         (removeWindowFocusListener): New method.
6076         (removeWindowStateListener): New method.
6077         * java/awt/datatransfer/DataFlavor.java
6078         (isRepresentationClassByteBuffer): New method.
6079         (isRepresentationClassCharBuffer): New method.
6080         (isRepresentationClassReader): New method.
6081
6082 2003-02-14  Mark Wielaard  <mark@klomp.org>
6083
6084         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
6085         zero when there is an exponent and the significant is zero.
6086         (divide): Always set scale to newScale even in special ZERO case.
6087
6088 2003-02-14  Tom Tromey  <tromey@redhat.com>
6089
6090         * java/lang/System.java (properties): Use Properties.clone.
6091         (setProperties): Likewise.
6092
6093 2003-02-14  Michael Koch  <konqueror@gmx.de>
6094
6095         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
6096         * gnu/java/nio/ServerSocketChannelImpl.java
6097         (SocketAccept): Removed.
6098         (accept): Commented out use of SocketAccept.
6099
6100 2003-02-13  Tom Tromey  <tromey@redhat.com>
6101
6102         * verify.cc (state::seen_subrs): New field.
6103         (state::state): Initialize it.
6104         (state::clean_subrs): New method.
6105         (state::~state): Call it.
6106         (state::copy): Copy subroutine list.
6107         (state::add_subr): New method.
6108         (state::merge): Only register a change if the current subroutine
6109         hasn't yet been noted.
6110
6111 2003-02-13  Mark Wielaard  <mark@klomp.org>
6112
6113         * java/io/InputStreamReader.java (getEncoding): Return null when
6114         closed.
6115         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
6116
6117 2003-02-13  Mark Wielaard  <mark@klomp.org>
6118  
6119         * java/util/zip/InflaterInputStream.java (read): Return zero when len
6120         is zero.
6121
6122 2003-02-13  Mark Wielaard  <mark@klomp.org>
6123
6124         * java/io/BufferedOutputStream.java (write(int)): Only flush when
6125         next byte cannot be buffered.
6126
6127 2003-02-13  Michael Koch  <konqueror@gmx.de>
6128  
6129         * java/awt/Label.java
6130         (Label): Don't implement Serializable directly.
6131         (addNotify): Fixed typo in documentation.
6132         * java/awt/List.java
6133         (List): Don't implement Serializable directly.
6134         * java/awt/PopupMenu.java
6135         (PopupMenu): Don't implement Serializable directly.
6136         * java/awt/ScrollPane.java
6137         (ScrollPane): Don't implement Serializable directly.
6138         * java/awt/Scrollbar.java
6139         (Scrollbar): Don't implement Serializable directly.
6140         * java/awt/TextArea.java
6141         (preferredSize): Fixed method arguments.
6142         * java/awt/TextField.java
6143         (TextField): Don't implement Serializable directly.
6144         * java/awt/color/ICC_ColorSpace.java
6145         (fromCIOXYZ): Documentation added.
6146         (getMinValue): Documentation added.
6147         (getMaxValue): Documentation added.
6148         * java/awt/datatransfer/DataFlavor.java
6149         (isMimeTypeEqual): May not be final.
6150         (clone): Throws CloneNotSupportedException.
6151         (getReaderForText): Don't throws UnsupportedEncodingException.
6152
6153 2003-02-13  Michael Koch  <konqueror@gmx.de>
6154  
6155         * gnu/java/awt/peer/gtk/GdkGraphics.java
6156         (drawString): New stubbed method.
6157         * java/awt/Graphics.java
6158         (drawString): New method.
6159
6160 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
6161
6162         PR libgcj/9271:
6163         * java/security/SecureRandom.java (next): Avoid bias in results.
6164
6165 2003-02-13  Michael  <konqueror@gmx.de>
6166
6167         * gnu/java/nio/FileChannelImpl.java
6168         (lengthInternal): Must be native.
6169         (size): Check if channel is already closed.
6170         (implCloseChannel): Reformated.
6171         (read): w was unused, removed it.
6172         (read): Removed.
6173         (read): New method.
6174         (write): New method.
6175         (map): Check arguments.
6176         (force): Throws IOException, check if channel is closed.
6177         (transferTo): New method.
6178         (transferFrom): New method.
6179         (lock): New method.
6180         (tryLock): New method.
6181         (position): New method.
6182         (truncate): New method.
6183         (nio_mmap_file): Uncommented.
6184         (nio_munmap_file): Uncommented.
6185         (nio_msync): Uncommented.
6186         * gnu/java/nio/natFileChannelImpl.cc: New file.
6187         
6188 2003-02-13  Michael Koch  <konqueror@gmx.de>
6189
6190         * java/nio/ByteBuffer.java
6191         (endian): New member variable.
6192         (get): New methods.
6193         (equals): New method.
6194         (compareTo): New method.
6195         (order): New methods.
6196         (compact): New method.
6197         (isDirect): New method.
6198         (slice): New method.
6199         (duplicate): New method.
6200         (asReadOnlyBuffer): New method.
6201         (asCharBuffer): New method.
6202         (asDoubleBuffer): New method.
6203         (asFloatBuffer): New method.
6204         (asIntBuffer): New method.
6205         (asLongBuffer): New method.
6206         (asShortBuffer): New method.
6207         (get*): New methods.
6208         (put*): New methods.
6209         (toString): New method.
6210         * java/nio/CharBuffer.java
6211         (CharBuffer): Implement Comparable instead of Cloneable.
6212         (get): May not be final.
6213         (put): May not be final.
6214         
6215 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
6216
6217         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
6218         lastIndexOf( ) instead of indexOf( ) to find the colon before
6219         the line number, because Win32 file names might contain a 
6220         drive letter and a colon at the start of an absolute path.
6221
6222 2003-02-13  Michael Koch  <konqueror@gmx.de>
6223
6224         * gnu/java/nio/natSocketChannelImpl.cc
6225         (SocketConnect): This is not implemented yet.
6226         (SocketBind): This is not implemented yet.
6227
6228 2003-02-13  Michael Koch  <konqueror@gmx.de>
6229
6230         * gnu/java/nio/natByteBufferImpl.cc,
6231         gnu/java/nio/natCharBufferImpl.cc,
6232         gnu/java/nio/natDoubleBufferImpl.cc,
6233         gnu/java/nio/natFloatBufferImpl.cc,
6234         gnu/java/nio/natIntBufferImpl.cc,
6235         gnu/java/nio/natLongBufferImpl.cc,
6236         gnu/java/nio/natShortBufferImpl.cc:
6237         Added copyright and license.
6238         * java/nio/DoubleBuffer.java,
6239         java/nio/FloatBuffer.java,
6240         java/nio/IntBuffer.java,
6241         java/nio/LongBuffer.java,
6242         java/nio/ShortBuffer.java
6243         (array): Throw exceptions.
6244         (arrayOffset): Throw exceptions.
6245
6246 2003-02-13  Michael Koch  <konqueror@gmx.de>
6247  
6248         * gnu/java/util/prefs/FileBasedFactory.java,
6249         gnu/java/util/prefs/MemmoryBasedFactory.java,
6250         gnu/java/util/prefs/MemoryBasedPreferences.java,
6251         gnu/java/util/prefs/NodeReader.java,
6252         gnu/java/util/prefs/NodeWriter.java,
6253         java/util/prefs/AbstractPreferences.java,
6254         java/util/prefs/BackingStoreException.java,
6255         java/util/prefs/InvalidPreferencesFormatException.java,
6256         java/util/prefs/NodeChangeEvent.java,
6257         java/util/prefs/NodeChangeListener.java,
6258         java/util/prefs/PreferenceChangeEvent.java,
6259         java/util/prefs/PreferenceChangeListener.java,
6260         java/util/prefs/Preferences.java,
6261         java/util/prefs/PreferencesFactory.java:
6262         New files, all merged from classpath.
6263         * Makefile.am
6264         (ordinary_java_source_files): Added the following files:
6265         gnu/java/util/prefs/FileBasedFactory.java,
6266         gnu/java/util/prefs/MemmoryBasedFactory.java,
6267         gnu/java/util/prefs/MemoryBasedPreferences.java,
6268         gnu/java/util/prefs/NodeReader.java,
6269         gnu/java/util/prefs/NodeWriter.java,
6270         (core_java_source_files): Added the following files:
6271         java/util/prefs/AbstractPreferences.java,
6272         java/util/prefs/BackingStoreException.java,
6273         java/util/prefs/InvalidPreferencesFormatException.java,
6274         java/util/prefs/NodeChangeEvent.java,
6275         java/util/prefs/NodeChangeListener.java,
6276         java/util/prefs/PreferenceChangeEvent.java,
6277         java/util/prefs/PreferenceChangeListener.java,
6278         java/util/prefs/Preferences.java,
6279         java/util/prefs/PreferencesFactory.java
6280         * Makefile.in: Regenerated.
6281  
6282 2003-02-13  Michael Koch  <konqueror@gmx.de>
6283
6284         * java/net/NetPermission.java
6285         (NetPermission): Make doucmentation match the method declaration.
6286         * java/net/NetworkInterface.java
6287         (equals): Reformated for GNU coding style.
6288         * java/net/ServerSocket.java: Merged with classpath.
6289         * java/net/Socket.java: Partly merged with classpath (Added some @since).
6290         * java/net/SocketImpl.java
6291         (localPort): Merged with classpath (initialize with -1).
6292         * java/net/SocketPermission.java: Merged with classpath (reindented).
6293         * java/net/URLDecoder.java: Merged with classpath (reindented).
6294
6295 2003-02-13  Michael Koch  <konqueror@gmx.de>
6296
6297         * java/awt/GridBagConstraints.java
6298         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
6299         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
6300         * java/awt/KeyboardFocusManager.java
6301         (setGlobalCurrentFocusCycleRoot): Must be public.
6302         * java/awt/MenuComponent.java
6303         (MenuComponent): Must be public.
6304         * java/awt/Toolkit.java:
6305         Added some empty lines to make documentation more readable.
6306         (getFontPeer): Added @deprecated.
6307         (getColorModel): Added exception documentation.
6308         (getProperty): Fixed documentation.
6309  
6310 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
6311
6312         * configure.host (alpha*-*): Default to -mieee.
6313         * configure.in (IEEESPEC): New.
6314         * libgcj.spec.in (jc1): Add IEEESPEC.
6315         * configure: Rebuild.
6316
6317 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
6318
6319         * include/win32.h: Include ws2tcpip.h instead of
6320         winsock.h to obtain definition of the socklen_t type.
6321         Remove IP_TOS definition - not needed with ws2tcpip.h
6322         (_Jv_connect): Correct slight formatting error.
6323
6324 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
6325
6326         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
6327         size of the arguments for a JNI function. For Win32,
6328         modify to search for all forms of possible exported
6329         names of an stdcall JNI function.
6330         (_Jv_JNIMethod::call): Modify to calculate the size
6331         of the arguments passed to a JNI function and pass
6332         it to _Jv_LookupJNIMethod.
6333
6334 2003-02-12  Michael Koch  <konqueror@gmx.de>
6335
6336         * java/nio/channels/Channels.java: New file.
6337         * Makefile.am
6338         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
6339         * Makefile.in: Regenerated.
6340
6341 2003-02-12  Michael Koch  <konqueror@gmx.de>
6342
6343         * java/nio/ByteBuffer.java
6344         (allocate): Implemented.
6345         (wrap): Implemented.
6346         * java/nio/CharBuffer.java:
6347         Some documentation added and reworked.
6348         (endian): Removed.
6349         (allocate): Implemented.
6350         (wrap): Implemented.
6351         (array): Throw exceptions.
6352         (arrayOffset): Throw exceptions.
6353         (toString): Implemented.
6354         (length): Implemented.
6355         (put): Implemented.
6356         (charAt): Implemented.
6357
6358 2003-02-11  John Leuner  <jewel@debian.org>
6359
6360         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
6361         reads from end of file.
6362
6363 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
6364
6365         * java/io/natFileDescriptorWin32.cc 
6366         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
6367         returns with Win32 error code ERROR_BROKEN_PIPE.
6368
6369 2003-02-11  Michael Koch  <konqueror@gmx.de>
6370
6371         * Makefile.in
6372         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
6373
6374 2003-02-11  Michael Koch  <konqueror@gmx.de>
6375
6376         * gnu/java/nio/ByteBufferImpl.java:
6377         Reformated and removed some code.
6378         (backing_buffer): Removed.      
6379         (array_offset): Removed.
6380         (ro): Renamed to readOnly.
6381         (ByteBufferImpl): Use parent constructor, initialize readOnly.
6382         * gnu/java/nio/CharBufferImpl.java:
6383         Reformated and removed some code.
6384         (array_offset): Removed.
6385         (ro): Renamed to readOnly.
6386         (CharBufferImpl): Use parent constructor, initialize readOnly.
6387         (inc_pos): Removed.
6388         (order): New method.
6389         * gnu/java/nio/DoubleBufferImpl.java:
6390         Reformated and removed some code.
6391         (array_offset): Removed.
6392         (ro): Renamed to readOnly.
6393         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
6394         (inc_pos): Removed.
6395         (order): New method.
6396         * gnu/java/nio/FloatBufferImpl.java:
6397         Reformated and removed some code.
6398         (array_offset): Removed.
6399         (ro): Renamed to readOnly.
6400         (FloatBufferImpl): Use parent constructor, initialize readOnly.
6401         (inc_pos): Removed.
6402         (order): New method.
6403         * gnu/java/nio/IntBufferImpl.java:
6404         Reformated and removed some code.
6405         (array_offset): Removed.
6406         (ro): Renamed to readOnly.
6407         (IntBufferImpl): Use parent constructor, initialize readOnly.
6408         (inc_pos): Removed.
6409         (order): New method.
6410         * gnu/java/nio/LongBufferImpl.java:
6411         Reformated and removed some code.
6412         (array_offset): Removed.
6413         (ro): Renamed to readOnly.
6414         (LongBufferImpl): Use parent constructor, initialize readOnly.
6415         (inc_pos): Removed.
6416         (order): New method.
6417         * gnu/java/nio/ShortBufferImpl.java:
6418         Reformated and removed some code.
6419         (array_offset): Removed.
6420         (ro): Renamed to readOnly.
6421         (ShortBufferImpl): Use parent constructor, initialize readOnly.
6422         (inc_pos): Removed.
6423         (order): New method.
6424         * Makefile.am
6425         (ordinary_java_source_files): Added the following files:
6426         gnu/java/nio/ByteBufferImpl.java
6427         gnu/java/nio/CharBufferImpl.java
6428         gnu/java/nio/DoubleBufferImpl.java
6429         gnu/java/nio/FloatBufferImpl.java
6430         gnu/java/nio/IntBufferImpl.java
6431         gnu/java/nio/LongBufferImpl.java
6432         gnu/java/nio/ShortBufferImpl.java
6433         java/nio/DoubleBuffer.java
6434         java/nio/FloatBuffer.java
6435         java/nio/IntBuffer.java
6436         java/nio/LongBuffer.java
6437         java/nio/ShortBuffer.java
6438         (nat_source_files): Added the following files:
6439         gnu/java/nio/natByteBufferImpl.cc
6440         gnu/java/nio/natCharBufferImpl.cc
6441         gnu/java/nio/natDoubleBufferImpl.cc
6442         gnu/java/nio/natFloatBufferImpl.cc
6443         gnu/java/nio/natIntBufferImpl.cc
6444         gnu/java/nio/natLongBufferImpl.cc
6445         gnu/java/nio/natShortBufferImpl.cc
6446         * Makefile.in: Regenerated.
6447
6448 2003-02-11  Michael Koch  <konqueror@gmx.de>
6449
6450         * gnu/java/nio/natCharBufferImpl.cc
6451         (nio_cast): Removed.
6452         (nio_put_*): Removed.
6453         (nio_get_*): Removed.
6454         * gnu/java/nio/natDoubleBufferImpl.cc
6455         (nio_cast): Removed.
6456         (nio_put_*): Removed.
6457         (nio_get_*): Removed.
6458         * gnu/java/nio/natFloatBufferImpl.cc
6459         (nio_cast): Removed.
6460         (nio_put_*): Removed.
6461         (nio_get_*): Removed.
6462         * gnu/java/nio/natIntBufferImpl.cc
6463         (nio_cast): Removed.
6464         (nio_put_*): Removed.
6465         (nio_get_*): Removed.
6466         * gnu/java/nio/natLongBufferImpl.cc
6467         (nio_cast): Removed.
6468         (nio_put_*): Removed.
6469         (nio_get_*): Removed.
6470         * gnu/java/nio/natShortBufferImpl.cc
6471         (nio_cast): Removed.
6472         (nio_put_*): Removed.
6473         (nio_get_*): Removed.
6474         * gnu/java/nio/SelectorProviderImpl.java
6475         (openDatagramChannel): Throws IOException.
6476         (openPipe): Throws IOException.
6477         (openSelector): Throws IOException.
6478         (openServerSocketChannel): Throws IOException.
6479         (openSocketChannel): Throws IOException.
6480         * gnu/java/nio/ServerSocketChannelImpl.java
6481         (ServerSocketChannelImpl): Throws IOException.
6482         (implCloseSelectableChannel): Throws IOException.
6483         (implConfigureBlocking): Throws IOException.
6484         * java/nio/ByteBuffer.java
6485         (readOnly): Removed.
6486         (hasArray): Use isReadOnly() instead of readOnly.
6487         (array): Use isReadOnly() instead of readOnly.
6488         (arrayOffset): Use isReadOnly() instead of readOnly.
6489         * java/nio/CharBuffer.java
6490         (CharBuffer): Implements Cloneable and CharSequence.
6491
6492 2003-02-11  Michael Koch  <konqueror@gmx.de>
6493
6494         * java/nio/DoubleBuffer.java
6495         (DoubleBuffer): Implements Comparable.
6496         (endian): Removed.
6497         (array_offset): New member variable.
6498         (DoubleBuffer): New constuctor.
6499         (get): May not be final.
6500         (put): May not be final.
6501         (arrayOffset): Implemented.
6502         (order): Made abstract.
6503         (order): Removed.
6504         (as*Buffer): Removed.
6505         (get*): Removed.
6506         (put*): Removed.
6507         * java/nio/FloatBuffer.java
6508         (FloatBuffer): Implements Comparable.
6509         (endian): Removed.
6510         (array_offset): New member variable.
6511         (FloatBuffer): New constuctor.
6512         (get): May not be final.
6513         (put): May not be final.
6514         (arrayOffset): Implemented.
6515         (order): Made abstract.
6516         (order): Removed.
6517         (as*Buffer): Removed.
6518         (get*): Removed.
6519         (put*): Removed.
6520         * java/nio/IntBuffer.java
6521         (IntBuffer): Implements Comparable.
6522         (endian): Removed.
6523         (array_offset): New member variable.
6524         (IntBuffer): New constuctor.
6525         (get): May not be final.
6526         (put): May not be final.
6527         (arrayOffset): Implemented.
6528         (order): Made abstract.
6529         (order): Removed.
6530         (as*Buffer): Removed.
6531         (get*): Removed.
6532         (put*): Removed.
6533         * java/nio/LongBuffer.java
6534         (LongBuffer): Implements Comparable.
6535         (endian): Removed.
6536         (array_offset): New member variable.
6537         (LongBuffer): New constuctor.
6538         (get): May not be final.
6539         (put): May not be final.
6540         (arrayOffset): Implemented.
6541         (order): Made abstract.
6542         (order): Removed.
6543         (as*Buffer): Removed.
6544         (get*): Removed.
6545         (put*): Removed.
6546         * java/nio/ShortBuffer.java
6547         (ShortBuffer): Implements Comparable.
6548         (endian): Removed.
6549         (array_offset): New member variable.
6550         (ShortBuffer): New constuctor.
6551         (get): May not be final.
6552         (put): May not be final.
6553         (arrayOffset): Implemented.
6554         (order): Made abstract.
6555         (order): Removed.
6556         (as*Buffer): Removed.
6557         (get*): Removed.
6558         (put*): Removed.
6559
6560 2003-02-11   Michael Koch  <konqueror@gmx.de>
6561
6562         * java/nio/channels/SelectionKey.java
6563         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
6564         values.
6565
6566 2003-02-11  Michael Koch  <konqueror@gmx.de>
6567
6568         * java/nio/channels/DatagramChannel.java
6569         (write): Throws IOException.
6570         (connect): Throws IOException.
6571         (disconnect): Throws IOException.
6572         (read): Throws IOException.
6573         (receive): Throws IOException.
6574         (send): Throws IOException.
6575         * java/nio/channels/Pipe.java
6576         (open): Throws IOException.
6577         * java/nio/channels/SelectableChannel.java
6578         (configureBlocking): Throws IOException.
6579         * java/nio/channels/ServerSocketChannel.java
6580         (accept): Throws IOException.
6581         * java/nio/channels/SocketChannel.java
6582         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
6583         GatheringByteChannel.
6584         (read): Throws IOException.
6585         (write): Throws IOException.
6586         (finishConnect): Throws IOException.
6587         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6588         (end): Throws AsynchronousCloseException.
6589         * java/nio/channels/spi/AbstractSelectableChannel.java
6590         (configureBlocking): Throws IOException.
6591         (implCloseChannel): Throws IOException.
6592         (implCloseSelectableChannel): Throws IOException.
6593         (implConfigureBlocking): Throws IOException.
6594         * java/nio/channels/spi/SelectorProvider.java
6595         (openDatagramChannel): Throws IOException.
6596         (openPipe): Throws IOException.
6597         (openSelector): Throws IOException.
6598         (openServerSocketChannel): Throws IOException.
6599         (openSocketChannel): Throws IOException.
6600
6601 2003-02-11  Michael Koch  <konqueror@gmx.de>
6602
6603         * gnu/java/nio/FileLockImpl.java,
6604         java/nio/channels/FileLock.java: New files.
6605
6606 2003-02-11  Michael Koch  <konqueror@gmx.de>
6607
6608         * java/nio/charset/IllegalCharsetNameException.java
6609         (serialVersionUID): New member variable.
6610         (charsetName): New member variable.
6611         (IllegalCharsetException): New implementation.
6612         (getCharsetName): New implementation.
6613         * java/nio/charset/UnsupportedCharsetException.java
6614         (serialVersionUID): New member variable.
6615         (charsetName): New member variable.
6616         (UnsupportedCharsetException): New implementation.
6617         (getCharsetName): New implementation.
6618
6619 2003-02-10  Tom Tromey  <tromey@redhat.com>
6620
6621         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
6622         (ex): Renamed from sqlException.
6623
6624 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
6625
6626         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
6627         method used to ensure seeding has occurred and that a specific 
6628         seed can be set and used.
6629
6630 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
6631
6632         * java/lang/Win32Process.java (destroy): Declare as native.
6633         (hasExited): New native method.
6634         (exitValue): Define.
6635         (getErrorStream): Likewise.
6636         (getInputStream): Likewise.
6637         (getOutputStream): Likewise.
6638         (waitFor): Declare as native.
6639         (startProcess): New native method.
6640         (cleanup): Likewise.
6641         (ConcreteProcess): Define.
6642         (outputStream, inputStream, errorStream): New members.
6643         (procHandle, exitCode): Likewise.
6644
6645         * java/lang/natWin32Process.cc
6646         (java::lang::ConcreteProcess::cleanup): Define.
6647         (java::lang::ConcreteProcess::destroy): Likewise.
6648         (java::lang::ConcreteProcess::hasExited): Likewise.
6649         (java::lang::ConcreteProcess::waitFor): Likewise.
6650         (new_string): Likewise.
6651         (java::lang::ConcreteProcess::startProcess): Likewise.
6652
6653 2003-02-10  Raif S. Naffah <raif@fl.net.au>
6654
6655         * java/math/BigInteger.java:
6656         Updated notice to include years 2002 and 3.
6657         Added 2 private (int) arrays with values from the HAC (Handbook of
6658         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6659         and t[] that contains nbr. of tests --used in isProbablePrime().
6660
6661         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6662
6663         * java/math/BigInteger.java (make(int[],int), add(int,int),
6664         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6665         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6666         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6667         make(long).
6668
6669         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6670         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6671         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6672         BIs and returns void.
6673         (modInverse(BI)): Use new signatures of euclidInv().
6674
6675         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6676         static small primes instead of remainder().
6677         Use pre-computed max nbr of trials based on bitlength of BI to test.
6678         Use pre-computed small primes for the trial tests instead of random
6679         numbers.
6680
6681         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6682         not used.
6683
6684         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6685         invoacation of MPN.chars_per_word().  not used.
6686
6687         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6688         local var and used where needed.
6689
6690         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6691         Combined declaration with initialisation of locals.
6692         Removed unused var.
6693
6694         * java/math/BigInteger.java: Style changes
6695         (pow(int)): Removed 'else' keyword.
6696         (toString(int)): idem.
6697         (doubleValue()): idem.
6698         (bitLength()): idem.
6699         (equals(Object)): Use static methods name in same class w/o prepending
6700         class name.
6701         (doubleValue()): idem.
6702         (setNegative(BI)): idem.
6703         (negate()): idem.
6704         (and(BI,int)): idem.
6705         (and(BI)): idem.
6706         (gcd(BI)): idem.
6707         (byteArrayToIntArray()): Removed casting to (int). this is
6708         std. behaviour.
6709         (canonicalize()): idem.
6710         (alloc(int)): Always instantiate a new BI.
6711
6712 2003-02-10  Tom Tromey  <tromey@redhat.com>
6713
6714         * java/sql/Timestamp.java (compareTo(Object)): New method.
6715         (compareTo(Timestamp)): Likewise.
6716         (serialVersionUID): Updated.
6717
6718 2003-02-07  Mark Wielaard  <mark@klomp.org>
6719
6720         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6721         when verify is true.
6722         (JarFile(File, boolean)): Likewise.
6723         (manifestRead): Set manifestRead field correctly.
6724
6725 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6726
6727         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6728         tests; see patch #1016 on Savannah.
6729
6730 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6731
6732         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6733         (toString): do not return Strings starting with . and - erroneously.
6734         Improves Mauve results to 12 of 600 instead of 16 of 338 on
6735         DiagBigDecimal.
6736
6737 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6738
6739         * java/beans/PropertyDescriptor.java
6740         (PropertyDescriptor(String, Class)): Sanity check getter and setter
6741         methods.
6742         (PropertyDescriptor(String, Class, String, String)): Likewise.
6743         (PropertyDescriptor(String, Method, Method): Factor out getter and
6744         setter method sanity checks into new method.
6745         (findMethods): Don't do parameter sanity checking of get method here.
6746         (checkMethods): New method.
6747
6748 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6749
6750         * java/beans/PropertyDescriptor.java: Reformat.
6751
6752 2003-02-04  Tom Tromey  <tromey@redhat.com>
6753
6754         * java/io/PipedOutputStream.java (flush): Declare as throwing
6755         IOException.
6756         (close): Likewise.
6757         * java/io/PipedWriter.java (close): Declare as throwing
6758         IOException.
6759         * java/io/StringWriter.java (close): Declare as throwing
6760         IOException.
6761
6762 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6763
6764         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6765         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6766         could also have been exported as "JNI_OnLoad@8" (MinGW) or
6767         "_JNI_OnLoad@8" (MSVC).
6768
6769 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6770
6771         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6772         convention on Win32 to invoke native JNI methods.
6773
6774 2003-02-03  Andrew Haley  <aph@redhat.com>
6775
6776         * configure.host (x86_64): Enable interpreter.
6777
6778 2003-02-03  Andrew Haley  <aph@redhat.com>
6779
6780         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6781         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6782         * configure.in (BACKTRACESPEC): New.
6783         * configure: Regenerate.
6784
6785 2003-02-02  Tom Tromey  <tromey@redhat.com>
6786
6787         * configure: Rebuilt.
6788         * configure.in (TOOLKIT) [xlib]: Set correctly.
6789
6790         * Makefile.in: Rebuilt.
6791         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6792         libstdc++.
6793
6794 2003-01-31  Mark WIelaard  <mark@klomp.org>
6795
6796         * Makefile.in: Rebuilt.
6797         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6798
6799 2003-01-31  Tom Tromey  <tromey@redhat.com>
6800
6801         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6802         cast to element type.
6803         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6804         (_Jv_JNI_GetObjectArrayElement): Likewise.
6805
6806         * Makefile.in: Rebuilt.
6807         * Makefile.am (cond_x_ltlibrary): Renamed library to
6808         lib-gnu-awt-xlib.la.
6809         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6810         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6811         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6812         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6813         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6814         (lib_gnu_awt_xlib_la_LINK): Likewise.
6815         (install-exec-hook): Removed.
6816         (lib-gnu-awt-xlib.la): Renamed.
6817
6818 2003-01-31  Tom Tromey  <tromey@redhat.com>
6819
6820         * aclocal.m4, configure, include/config.h.in: Rebuilt.
6821         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6822         aclocal.m4 and lost in some merge.
6823
6824         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6825         Don't try to find graphics configuration.
6826         * java/awt/Toolkit.java (default_toolkit_name): Use new
6827         Configuration entry.
6828         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6829         New global.
6830         * configure: Rebuilt.
6831         * configure.in (TOOLKIT): New subst.
6832         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6833         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
6834         directory.  Make output directories for .c files.
6835         * Makefile.in: Rebuilt.
6836         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6837         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6838         (all_java_source_files): Added new sources.
6839         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6840         (gtk_c_files): New macro.
6841         (gtk_c_source_files): New macro.
6842         (cond_gtk_ltlibrary): New macro.
6843         ($(gtk_c_files)): New target.
6844         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6845         (gtk_awt_peer_sources): New macro.
6846         (gtk_c_headers): New macro.
6847         ($(gtk_c_headers)): New target.
6848         (ACLOCAL_AMFLAGS): New macro.
6849         * gtk.m4, glib.m4, libart.m4: New files.
6850         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6851         gnu/java/awt/peer/gtk/GdkGraphics.java,
6852         gnu/java/awt/peer/gtk/GtkArg.java,
6853         gnu/java/awt/peer/gtk/GtkArgList.java,
6854         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6855         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6856         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6857         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6858         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6859         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6860         gnu/java/awt/peer/gtk/GtkClipboard.java,
6861         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6862         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6863         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6864         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6865         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6866         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6867         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6868         gnu/java/awt/peer/gtk/GtkImage.java,
6869         gnu/java/awt/peer/gtk/GtkImagePainter.java,
6870         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6871         gnu/java/awt/peer/gtk/GtkListPeer.java,
6872         gnu/java/awt/peer/gtk/GtkMainThread.java,
6873         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6874         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6875         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6876         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6877         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6878         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6879         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6880         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6881         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6882         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6883         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6884         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6885         gnu/java/awt/peer/gtk/GtkToolkit.java,
6886         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6887         gnu/java/awt/peer/gtk/TestAWT.java,
6888         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6890         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6891         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6892         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6893         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6894         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6895         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6896         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6897         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6898         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6899         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6901         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6902         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6903         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6904         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6905         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6906         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6907         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6908         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6909         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6910         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6911         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6912         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6913         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6914         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6915         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6916         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6917         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6918         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6919         jni/classpath/native_state.c, jni/classpath/native_state.h,
6920         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6921
6922 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
6923
6924         * java/util/Properties.java (load): Ignore backslash before EOF.
6925
6926 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
6927
6928         * java/lang/natClass.cc (initializeClass): Check tables when
6929         (state == JV_STATE_IN_PROGRESS).
6930         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6931         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6932         interpreted classes.
6933         (linkClass0): Use _Jv_WaitForState.
6934
6935 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
6936
6937         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6938         object when finished.
6939
6940 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
6941
6942         * libjava/configure.host: Disable can_unwind_signal on darwin.
6943
6944 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
6945
6946         Fixes PR java/9254:
6947         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6948         additionally containing id of the owner thread as well as
6949         the number of nested times the thread has acquired the mutex.
6950         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6951         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6952         (_Jv_MutexUnlock): Check if really the owner thread, reset
6953         owner thread id to 0 before leaving, if leaving for the last
6954         time.
6955         (_Jv_MutexLock): Set owner thread id in the mutex and increment
6956         refcount.
6957         (_Jv_ThreadYield): Yield using a call to Sleep(0).
6958         * win32-threads.cc (_Jv_CondWait): Check if really owner of
6959         the passed mutex.
6960         Pass handle of the broadcast event, instead of a pointer to it
6961         in Win32 ResetEvent( ) call.
6962         Remove incorrect return values.
6963         (_Jv_CondDestroy): Close both event handles and delete
6964         critical section.
6965         (_Jv_CondNotify): Check if really the owner thread.
6966         (_Jv_CondNotifyAll): Check if really the owner thread.
6967         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6968         (really_start): Use SetEvent( ) to signal daemon_cond.
6969         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6970         WaitForSingleObject( ) instead to wait for daemon_cond to be
6971         signalled.
6972
6973 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
6974
6975         * configure.in: Specifically define HAVE_BACKTRACE if building
6976         for MinGW.
6977         * include/win32.h: Remove HAVE_BACKTRACE definition.
6978         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6979         * configure: Rebuilt.
6980
6981 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
6982
6983         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6984         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
6985         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6986         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6987         * Makefile.in, configure: Rebuilt.
6988
6989 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
6990
6991         Fixes PR java/9253:
6992         * java/io/natFileWin32.cc (performList): Append only "*.*"
6993         if the canonical file path already has a "\" at the end.
6994
6995 2003-01-24  Tom Tromey  <tromey@redhat.com>
6996
6997         * defineclass.cc (handleMethodsEnd): Precompute code for static
6998         method.
6999         (handleCodeAttribute): Likewise.
7000         * resolve.cc (ncode): Use run_class for unsynchronized static
7001         methods.
7002         * include/java-interp.h (class _Jv_InterpMethod): Declare
7003         run_class.
7004         * interpret.cc (run_synch_class): Initialize class.
7005         (run) [insn_invokestatic]: Don't initialize class.
7006         [insn_anewarray]: Likewise.
7007         [insn_multianewarray]: Likewise.
7008         (run_class): New function.
7009
7010 2003-01-24  Tom Tromey  <tromey@redhat.com>
7011
7012         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
7013         comment.
7014
7015 2003-01-22  Andrew Haley  <aph@redhat.com>
7016
7017         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
7018         * configure.host (CHECKREFSPEC): Define for x86_64.
7019
7020 2003-01-21  Tom Tromey  <tromey@redhat.com>
7021
7022         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
7023         search at 2, not 3.
7024
7025 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
7026
7027         * java/io/natFileWin32.cc (isAbsolute): Check path length before
7028         looking at any characters.
7029         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
7030         be used.
7031         (isAbsolute): Check path's length as well.
7032
7033 2003-01-17  Mark Wielaard  <mark@klomp.org>
7034
7035         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
7036         (nat_source_files): Add natVMObjectStreamClass.cc.
7037         * Makefile.in: Regenerated.
7038         * gcj/javaprims.h (namespace java): Regenerated.
7039         * java/io/ObjectStreamClass.java (getClassUID): Call
7040         VMObjectStreamClass.hasClassInitializer().
7041         (hasClassInitializer): Removed.
7042         * java/io/VMObjectStreamClass.java: New class.
7043         * java/io/natVMObjectStreamClass.cc: New file.
7044         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
7045
7046 2003-01-16  Mark Wielaard  <mark@klomp.org>
7047
7048         * java/net/SocketImpl.java (toString): Don't explicitly call
7049         toString() on possible null address.
7050
7051 2003-01-16  Michael Koch  <konqueror@gmx.de>
7052
7053         * java/net/MulticastSocket.java
7054         (setInterface): Reindented.
7055
7056 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7057
7058         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
7059         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
7060         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
7061         translateY arguments.  Implement.
7062         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
7063         down translation arguments.
7064         (drawPolyline, drawPolygon): Fix incorrect tests.
7065         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
7066         translateX and translateY arguments.
7067
7068 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7069
7070         * Makefile.in: Rebuilt.
7071         * Makefile.am (xlib_includes): New macro.
7072         (INCLUDES): Use it.
7073
7074 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7075
7076         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
7077         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
7078         16-bit display mode.
7079
7080 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7081
7082         * java/awt/CardLayout.java (show): Rewrote.
7083         (gotoComponent): Removed `target' argument.  Simplified code.
7084         Don't pre-compute `choice' unless `what' is FIRST or LAST.
7085         Changed all callers.
7086         (NONE): Removed.
7087         
7088 2003-01-14  Michael Koch  <konqueror@gmx.de>
7089
7090         * java/net/InetSocketAddress.java
7091         (serialVersionUID): New member variable.
7092         * java/net/NetPermission.java
7093         (NetPermission): Dont implement java.io.Serialization directly.
7094         * java/net/SocketAddress.java:
7095         (serialVersionUID): Documentation added.
7096         
7097 2003-01-14  Michael Koch  <konqueror@gmx.de>
7098
7099         * java/awt/Label.java
7100         (Label): Implements javax.accessibility.Accessible;
7101         * java/awt/List.java
7102         (List): Implements javax.accessibility.Accessible;
7103         * java/awt/ScrollPane.java
7104         (ScrollPane): Implements javax.accessibility.Accessible;
7105         * java/awt/Scrollbar.java
7106         (Scrollbar): Implements javax.accessibility.Accessible;
7107         * java/awt/TextComponent.java
7108         (setCaretPosition): Throw exception, documentation added.
7109         * java/awt/Toolkit.java:
7110         Added some newlines in method documentations.
7111         (createButton): Exception documentation added.
7112         (createTextField): Exception documentation added.
7113         (createLabel): Exception documentation added.
7114         (createList): Exception documentation added.
7115         (createCheckbox): Exception documentation added.
7116         (createScrollbar): Exception documentation added.
7117         (createScrollPane): Exception documentation added.
7118         (createTextArea): Exception documentation added.
7119         (createChoice): Exception documentation added.
7120         (createFrame): Exception documentation added.
7121         (createWindow): Exception documentation added.
7122         (createDialog): Exception documentation added.
7123         (createMenuBar): Exception documentation added.
7124         (createMenu): Exception documentation added.
7125         (createMenuItem): Exception documentation added.
7126         (createFileDialog): Exception documentation added.
7127         (createCheckboxMenuItem): Exception documentation added.
7128         (loadSystemColors): Exception documentation added.
7129         (setDynamicLayout): Exception documentation added.
7130         (isDynamicLayoutSet): Exception documentation added.
7131         (isDynamicLayoutActive): Exception documentation added.
7132         (getScreenSize): Exception documentation added.
7133         (getScreenResolution): Exception documentation added.
7134         (getScreenInsets): Exception documentation added.
7135         (getColorModel): Exception documentation added.
7136         (getSystemClipboard): Exception documentation added.
7137         (getSystemSelection): Exception documentation added.
7138         (getMenuShortcutKeyMask): Exception documentation added.
7139         (getSystemEventQueue): Exception documentation added.
7140         * java/awt/Window.java:
7141         Reindented some code.
7142         (Window): Centralized implementation, documentation added.
7143         (finalize): Documentation added.
7144         (hide): Fixed typo in comment.
7145         (getWindowListeners): Documentation added.
7146         * java/awt/color/ColorSpace.java
7147         (toRGB): Documentation added.
7148         * java/awt/color/ICC_ColorSpace.java
7149         (ICC_ColorSpace): Documentation added.
7150         (toRGB): Throw exception, documentation added.
7151         (fromRGB): Throw exception, documentation added.
7152         (toCIEXYZ): Documentation added.
7153         (fromCIEXYZ): Documentation added.
7154         (getMinValue): Documentation added.
7155         (getMaxValue): Documentation added.
7156         * java/awt/geom/Dimension2D.java
7157         (clone): Documentation added.
7158         * java/awt/geom/GeneralPath.java
7159         (clone): Documentation added.
7160         * java/awt/geom/Line2D.java
7161         (clone): Documentation added.
7162         * java/awt/geom/QuadCurve2D.java
7163         (clone): Documentation added.
7164         * java/awt/image/ColorModel.java
7165         (ColorModel): Throw exception, documentation added.
7166         * java/awt/image/ImageFilter.java
7167         (clone): Doesnt throw CloneNotSupportedException.
7168
7169 2003-01-14  Andrew Haley  <aph@redhat.com>
7170
7171         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
7172         in a try block.
7173
7174 2003-01-10  Andrew Haley  <aph@redhat.com>
7175
7176         * include/dwarf2-signal.h: Remove x86_64.
7177         * configure.host (x86_64 DIVIDESPEC): Remove.
7178         * include/x86_64-signal.h: New file.
7179         * configure.in: Regenerate.
7180
7181 2003-01-10  Michael Koch  <konqueror@gmx.de>
7182
7183         * java/net/DatagramSocket.java
7184         (ch): Description added.
7185         (remotePort): Initialize with -1.
7186         (connect): Doesnt throws SocketException.
7187         * java/net/MulticastSocket.java
7188         (setInterface): Merge with Classpath.
7189         * java/net/ServerSocket.java
7190         (closed): New member variable.
7191         (bind): Check if socket is closed.
7192         (close): Close an associated channel too, set new value to closed.
7193         (isBound): Reindented.
7194         (isClosed): Implemented.
7195         * java/net/Socket.java
7196         (closed): New member variable.
7197         (bind): Check if socket is closed.
7198         (connect): Check if socket is closed.
7199         (close): Close an associated channel too, set new value to closed.
7200         (isClosed): Implemented.
7201
7202 2003-01-10  Michael Koch  <konqueror@gmx.de>
7203
7204         * java/awt/DisplayMode.java
7205         (equals): Fixed argument type and implementation.
7206
7207 2003-01-07  Tom Tromey  <tromey@redhat.com>
7208
7209         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
7210         JV_HASH_SYNCHRONIZATION.
7211         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
7212         JV_HASH_SYNCHRONIZATION.
7213
7214 2003-01-07  Michael Koch  <konqueror@gmx.de>
7215  
7216         * java/net/DatagramSocket.java:
7217         Added classpath license info.
7218         (DatagramSocket): Merged description with classpath.
7219         (close): Merged description with classpath.
7220         (getChannel): Merged description with classpath.
7221         (getInetAddress): Merged description with classpath.
7222         (getPort): Merged description with classpath.
7223         (getLocalAddress): Merged description with classpath.
7224         (getLocalPort): Merged description with classpath.
7225         (getSoTimeout): Merged description with classpath.
7226         (setSoTimeout): Merged description with classpath.
7227         (getSendBufferSize): Merged description with classpath.
7228         (setSendBufferSize): Merged description with classpath.
7229         (getReceiveBufferSize): Merged description with classpath.
7230         (setReceiveBufferSize): Merged description with classpath.
7231         
7232 2003-01-04  Tom Tromey  <tromey@redhat.com>
7233
7234         * java/awt/List.java: Merged with Classpath.
7235
7236 2003-01-03  Mark Wielaard  <mark@klomp.org>
7237
7238         * java/io/FileDescriptor.java (position): New private field.
7239         * java/io/natFileDescriptorPosix.cc (write): Up position.
7240         (setLength): Use and set position.
7241         (seek): Set position.
7242         (getFilePointer): Return position.
7243         (read): Up position.
7244
7245 2003-01-03  Mark Wielaard  <mark@klomp.org>
7246
7247         Merge with Classpath:
7248         * java/io/ObjectStreamClass.java (lookup): Split method and call
7249         lookupForClassObject().
7250         (lookupForClassObject): New method.
7251         (isProxyClass): New field.
7252         (setClass): Set isProxyClass, add object to classLookupTable, set
7253         superClass and calculateOffsets.
7254         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
7255         and not a proxy class.
7256         (setFields): Set accessible true for serialPersistentFields.
7257         (getClassUID): Same for suid. And check if suid is of type long.
7258         (hasClassInitializer): Don't throw NoSuchMethodError.
7259
7260 2003-01-03  Mark Wielaard  <mark@klomp.org>
7261
7262         * java/io/FileInputStream.java (finalize): Don't explicitly
7263         finalize FileDescriptor.
7264
7265 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
7266
7267         * configure.host (sparc*-*): Enable bytecode interpreter.
7268
7269 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
7270
7271         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
7272         Don't throw RemoteException.
7273         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
7274         throw RemoteException.
7275
7276 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7277
7278         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
7279         proxyHost): New static fields.
7280         (<clinit>): Initialize new fields.
7281         (connect): Use proxy if necessary.
7282         (usingProxy): Implement.
7283
7284 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
7285
7286         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
7287         (TreeIterator.remove): Prefer IllegalStateException over
7288         ConcurrentModificationException, to match Sun.
7289
7290 2002-12-22  Anthony Green  <green@redhat.com>
7291
7292         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
7293
7294 2003-01-02  Mark Wielaard  <mark@klomp.org>
7295
7296         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
7297         public.
7298         (HTTP_USE_PROXY): Add field.
7299         (getResponseVals): Only set responseCode when not yet explicitly
7300         set by subclass.
7301
7302 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
7303             Mark Wielaard  <mark@klomp.org>
7304
7305         * java/util/zip/ZipFile.java (entries): Now HashMap.
7306         (readLeShort(DataInput, byte[])): Read from given byte array.
7307         (readLeInt(DataInput, byte[]): Likewise.
7308         (readLeShort(byte[] b, int off)): New method.
7309         (readLeInt(byte[] b, int off)): Likewise.
7310         (readEntries): Use byte arrays to read info in bigger chunks.
7311         (getEntries): Return HashMap.
7312         (getEntry): Use HashMap.
7313         (locBuf): New private field.
7314         (checkLocalHeader): Use locBuf to read info in one chunk.
7315         (getInputStream): Use entries HashMap, wrap PartialInputStream
7316         in BufferedInputStream.
7317         (ZipEntryEnumeration): Use HashMap and Interator.
7318
7319 2003-01-02  Mark Wielaard  <mark@klomp.org>
7320             Jeroen Frijters  <jeroen@sumatra.nl>
7321
7322         * java/net/URLClassLoader.java (Resource.getCodeSource):
7323         Fix check certs == null.
7324         (getCanonicalFileURL): Removed method.
7325         (JarURLLoader): Don't call removed method.
7326         (FileURLLoader): Likewise.
7327         (FileURLLoader.getResource): Don't canonicalize file name.
7328
7329 2003-01-01  Tom Tromey  <tromey@redhat.com>
7330
7331         * Makefile.in: Rebuilt.
7332         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
7333         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
7334         java/awt/BufferCapabilities.java, java/awt/Button.java,
7335         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
7336         java/awt/Container.java, java/awt/Cursor.java,
7337         java/awt/EventQueue.java, java/awt/FileDialog.java,
7338         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
7339         java/awt/MenuBar.java, java/awt/MenuComponent.java,
7340         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
7341         java/awt/Scrollbar.java, java/awt/TextArea.java,
7342         java/awt/TextField.java, java/awt/color/CMMException.java,
7343         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
7344         java/awt/color/ProfileDataException.java,
7345         java/awt/datatransfer/Clipboard.java,
7346         java/awt/datatransfer/DataFlavor.java,
7347         java/awt/datatransfer/FlavorMap.java,
7348         java/awt/datatransfer/SystemFlavorMap.java,
7349         java/awt/dnd/DragGestureEvent.java,
7350         java/awt/dnd/DragGestureRecognizer.java,
7351         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
7352         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
7353         java/awt/im/InputMethodHighlight.java,
7354         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
7355         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
7356
7357         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
7358         `op' to BufferedImageOp.
7359
7360 2002-12-31  Tom Tromey  <tromey@redhat.com>
7361
7362         Fix for PR libgcj/7416:
7363         * javax/naming/InitialContext.java (init): Use
7364         gnu.classpath.home.url.
7365         * java/security/Security.java: Use new properties.
7366         (loadProviders): Accept base url; use it.
7367         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
7368         gnu.classpath.home.url.
7369         (gnu.classpath.home.url): Define.
7370         (gnu.classpath.vm.shortname): Likewise.
7371
7372 2002-12-31  Tom Tromey  <tromey@redhat.com>
7373             Ranjit Mathew  <rmathew@hotmail.com>
7374
7375         Fix for PR libgcj/8997:
7376         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
7377         Include platform.h.
7378         * include/posix.h (_Jv_platform_usleep): New function.
7379         * include/win32.h (_Jv_platform_usleep): New function.
7380
7381 2002-12-29  Tom Tromey  <tromey@redhat.com>
7382
7383         * gcj/javaprims.h: Updated.
7384         * scripts/classes.pl (scan): Removed stray semicolon.
7385
7386 2002-12-30  Mark Wielaard  <mark@klomp.org>
7387
7388         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
7389         if zero or smaller.
7390
7391 2002-12-30  Mark Wielaard  <mark@klomp.org>
7392
7393         * java/util/Properties (formatForOutput): Don't fall through to
7394         default case after escaping character.
7395
7396 2002-12-30  Mark Wielaard  <mark@klomp.org>
7397
7398         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
7399         against count.
7400
7401 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
7402
7403         * boehm.cc: Remove stray semicolon.
7404         * interpret.cc: Likewise.
7405         * prims.cc: Likewise.
7406         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
7407         earlier to ensure default arguments are processed.
7408         * gcj/array.h (JArray): Add forward declaration.
7409         (elements): Likewise.
7410         * gcj/javaprim.h: Remove stray semicolons.
7411         * include/bohm-gc.h: Likewise.
7412         * include/jni.h: Likewise.
7413         * include/jvm.h: Likewise.
7414         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
7415         
7416 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
7417
7418         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
7419         of catch_type.
7420         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
7421         idt tables after initializing superclass.
7422         * java/lang/natClassLoader.cc (uaddr): New typedef.
7423         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
7424         if they are constant pool indicies.  Don't link vtable, otable yet.
7425
7426 2002-12-21  Anthony Green  <green@redhat.com>
7427
7428         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
7429         libraries.
7430         * Makefile.in: Rebuilt.
7431
7432 2002-12-19  Anthony Green  <green@redhat.com>
7433
7434         * Makefile.am (ordinary_java_source_files): Add
7435         org/xml/sax/helpers/NewInstance.java.
7436         * Makefile.in: Rebuilt.
7437         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
7438         org/xml/sax/helpers/package.html: New files.
7439         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
7440         http://www.saxproject.org.
7441
7442 2002-12-19  Andrew Haley  <aph@redhat.com>
7443
7444         * java/util/natResourceBundle.cc: Include
7445         ArrayIndexOutOfBoundsException.h.
7446         (getCallingClassLoader): Don't put upper bound on stack search.
7447         Catch ArrayIndexOutOfBoundsException.
7448
7449 2002-12-19  Tom Tromey  <tromey@redhat.com>
7450
7451         * libtool-version: Increased `current'.
7452
7453 2002-12-19  Tom Tromey  <tromey@redhat.com>
7454
7455         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
7456         comment.
7457         * java/lang/ClassLoader.java (defineClass): Use chained
7458         exception when rethrowing.
7459         * defineclass.cc (handleClassBegin): Mark class as interpreted.
7460         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
7461         constants.
7462         * resolve.cc (_Jv_PrepareMissingMethods): New function.
7463         (_Jv_PrepareClass): Use it.
7464         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
7465         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
7466         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
7467         (Class): _Jv_PrepareMissingMethods now friend.
7468         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
7469         Record `NULL' for system class loader.
7470         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
7471         system class loader.
7472         (_Jv_FindClassInCache): Likewise.
7473         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
7474         (_Jv_FindClass): Special case system class loader.
7475         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
7476         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
7477         vtable slots.
7478         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
7479         in a final class.
7480         (_getDeclaredMethod): Don't return synthetic methods.
7481         (getDeclaredMethods): Likewise.
7482         (_getMethod): Likewise.
7483         (_getMethods): Likewise.
7484
7485 2002-12-18  Raif Naffah  <raif@fl.net.au>
7486
7487         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
7488         canonical form after divide().
7489         (modInverse): Likewise.
7490
7491 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
7492             Mark Wielaard  <mark@klomp.org>
7493
7494         * java/security/SecurityRandom (digest): Removed field.
7495         (SecureRandom): Check all providers for case-insensitive SecureRandom
7496         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
7497         if necessary.
7498         (getInstance(String,Provider,boolean): New method.
7499         (getInstance(String)): Use new method.
7500         (getInstance(String,String)): Likewise.
7501         (getInstance(String,Provider)): Likewise.
7502
7503 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
7504
7505         * java/security/Security.java (loadProviders): Increment i only once.
7506
7507 2002-12-12  Mark Wielaard  <mark@klomp.org>
7508
7509         * java/lang/ClassLoader.java (resolveClass0): Transform
7510         ClassNotFoundException to NoClassDefFoundError. Transform all other
7511         throwables to LinkageError.
7512
7513 2002-12-11  Tom Tromey  <tromey@redhat.com>
7514
7515         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
7516
7517         * java/lang/ClassLoader.java (loadedClasses): New field.
7518         (defineClass): Fixed indentation.  Put new class in
7519         loadedClasses.
7520         (findLoadedClass): Implement here.
7521         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
7522
7523 2002-12-10  Tom Tromey  <tromey@redhat.com>
7524
7525         * Makefile.in: Rebuilt.
7526         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
7527         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
7528         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
7529         * java/lang/natClassLoader.cc
7530         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
7531
7532 2002-12-10  Mark Wielaard  <mark@klomp.org>
7533             Tom Tromey  <tromey@redhat.com>
7534
7535         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
7536         (JarURLLoader): Use it.
7537         (FileURLLoader): Likewise.
7538         (JarURLResource.getURL): Use chained exception.
7539         (FileResource.getURL): Likewise.
7540         (FileURLLoader.getResource): Use canonical file name.
7541         (addURL): Indentation fix.
7542
7543 2002-12-10  Tom Tromey  <tromey@redhat.com>
7544
7545         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
7546         From Laurent Bardet <l.bardet@magic.fr>.
7547
7548 2002-12-09  Tom Tromey  <tromey@redhat.com>
7549
7550         * include/win32.h (_Jv_platform_solib_prefix): New define.
7551         (_Jv_platform_solib_suffix): Likewise.
7552         * include/posix.h (_Jv_platform_solib_prefix): New define.
7553         (_Jv_platform_solib_suffix): Likewise.
7554         * java/lang/natRuntime.cc: Include StackTrace.h.
7555         (_load): Use findLibrary and new platform defines.
7556         (nativeGetLibname): Use new platform defines.
7557
7558         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
7559         `t' won't be null.
7560
7561 2002-12-08  Mark Wielaard  <mark@klomp.org>
7562
7563         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
7564         cache remote jar files.
7565         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
7566         add File.separator to URL when it is a directory.
7567         * java/lang/ClassLoader.java: Add Classpath javadoc.
7568         (parent): final.
7569         (getParent): Add (disabled) security check.
7570         (findLibrary): New default method.
7571         * java/net/JarURLConnection.java (getManifest): Implement.
7572         (getInputStream): Only create InputStream when entry exists.
7573         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
7574         when they exist.
7575         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
7576
7577 2002-12-08  Mark Wielaard  <mark@klomp.org>
7578
7579         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
7580         (lastDefaultLocale): New field.
7581         (getBundle): When Locale.getDefault != lastDefaultLocale reset
7582         resourceBundleCache.
7583
7584 2002-12-06  Mark Wielaard  <mark@klomp.org>
7585
7586         * java/net/InetAddress.java (toString): Use hostname when not null,
7587         don't do an explicit reverse getHostName() lookup.
7588         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
7589         NullPointerException.
7590
7591 2002-12-06  Tom Tromey  <tromey@redhat.com>
7592
7593         * include/java-interp.h (class _Jv_InterpMethod): Added
7594         JV_MARKOBJ_DECL.
7595         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
7596         mark `prepared' field of interpreted method.
7597         * interpret.cc (compile): Use _Jv_AllocBytes.
7598
7599 2002-12-05  Andrew Haley  <aph@redhat.com>
7600
7601         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
7602         #ifdef (HAVE_BACKTRACE) around the whole function body.
7603
7604 2002-12-05  Tom Tromey  <tromey@redhat.com>
7605
7606         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
7607         * resolve.cc: Don't include AbstractMethodError.h.
7608         (_Jv_abstractMethodError): Removed.
7609         * defineclass.cc (handleMethodsBegin): Initialize method index to
7610         -1.
7611         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
7612         method index for "new" final method.
7613         (_Jv_SetVTableEntries): Compare index against -1 instead of using
7614         isVirtualMethod.  Added `flags' argument.
7615         (_Jv_MakeVTable): Throw exception for abstract method in concrete
7616         class.
7617
7618 2002-12-04  Tom Tromey  <tromey@redhat.com>
7619
7620         * java/net/SocketPermission.java (hashCode): Rewrote.
7621
7622 2002-12-04  Tom Tromey  <tromey@redhat.com>
7623
7624         * Makefile.in: Rebuilt.
7625         * Makefile.am (nat_source_files): Added natVMSecurityManager,
7626         natResourceBundle.
7627         * java/util/ResourceBundle.java (Security): Removed.
7628         (getCallingClassLoader): Now native.
7629         * java/util/natResourceBundle.cc: New file.
7630         * java/lang/natVMSecurityManager.cc: New file.
7631         * java/lang/VMSecurityManager.java (getClassContext): Now native.
7632
7633 2002-12-03  Mark Wielaard  <mark@klomp.org>
7634
7635         * java/util/jar/JarFile.java (manifest): Not final.
7636         (manifestRead): New field.
7637         (JarFile): Don't read Manifest in constructor.
7638         (getManifest): New method.
7639         (JarEnumeration.nextElement): Use new method.
7640         (getEntry): Likewise.
7641         * java/util/zip/ZipFile.java (name): Final.
7642         (raf): Likewsie.
7643         (entries): Change type to Hashtable.
7644         (closed): New field.
7645         (ZipFile): Don't read enties in constructor.
7646         (readEntries): Use Hashtable.
7647         (close): Set new close flag and set entries to null inside
7648         synchronized block.
7649         (entries): Contruct enumeration using new getEntries() method and
7650         entries Hashtable.
7651         (getEntryIndex): Removed.
7652         (getEntries): New method.
7653         (getEntry): Use new getEntries() method and entries Hastable.
7654         (getInputStream): Likewise.
7655         (size): Return getEntries().size().
7656         (ZipEntryEnumeration): Wrap entries Hashtable elements.
7657         * java/util/zip/ZipEntry.java (cal): Don't initialize.
7658         (time): Removed
7659         (dostime): New field.
7660         (zipFileIndex): Removed.
7661         (ZipEntry(ZipEntry)): Copy dostime.
7662         (setDOSTime): Now final and doesn't convert dos time.
7663         (getDOSTime): Likewise.
7664         (setTime): Convert dos time.
7665         (getTime): Likewise.
7666         (getCalendar): New method.
7667         (setExtra): Use setTime().
7668         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7669
7670 2002-12-03  Tom Tromey  <tromey@redhat.com>
7671
7672         * java/lang/Character.java (forDigit): Formatting fix.
7673
7674 2002-12-03  Raif Naffah  <raif@fl.net.au>
7675
7676         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7677         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7678         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7679
7680 2002-12-03  Andrew Haley  <aph@redhat.com>
7681
7682         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7683         _Jv_PushClass.
7684         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7685         (_Jv_PopClass): New.
7686         (_Jv_PushClass): New.
7687         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7688         discover the ClassLoader of our caller.
7689         (_Jv_CheckArrayStore): Don't check that a class is assignment
7690         compatible with Object.
7691         * java/lang/natVMTHrowable.cc: Delete.
7692         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7693         java.lang.VMThrowable.
7694         (StackTrace(), StackTrace(int)): New constructors.
7695         (classAt, methodAt, update, methodAtAddress): New methods.
7696         (map): New field.
7697         * java/lang/VMThrowable.java: Use StackTrace instead of
7698         natVMTHrowable.
7699         * java/lang/Class.h (getClassLoaderInternal): New.
7700         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7701         Be friendly with gnu::gcj::runtime::StackTrace.
7702         (Object.chain): New field.
7703         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7704         gnu::gcj::runtime::StackTrace.
7705         * gnu/gcj/runtime/natStackTrace.cc: New file.
7706         * gnu/gcj/runtime/MethodRef.java: New file.
7707         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7708         instead of getClassLoader().
7709         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7710         java::lang::VMThrowable.
7711         * Makefile.am (core_java_source_files): Add MethodRef.java,
7712         StackTrace.java.
7713         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7714         * Makefile.in: Rebuild.
7715
7716 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
7717
7718         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7719         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7720         yes also for sh-linux* and sh[34]*-linux*.
7721         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7722         set SIGNAL_HANDLER to use DWARF2 exception for them.
7723         * configure: Regenerate.
7724
7725 2002-12-02  Tom Tromey  <tromey@redhat.com>
7726
7727         * jni.cc: Added `name' argument.
7728         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7729         `const char *' argument.
7730         (class _Jv_JNIEnv) [DefineClass]: Likewise.
7731
7732 2002-12-01  Tom Tromey  <tromey@redhat.com>
7733
7734         Bug compatibility, for PR libgcj/8738:
7735         * java/io/CharArrayWriter.java (close): Do nothing.
7736         (flush): Likewise.
7737         (reset): Don't touch `closed'.
7738         (write(int)): Don't throw IOException.
7739         (write(char[],int,int)): Likewise.
7740         (write(String,int,int)): Likewise.
7741         (closed): Removed.
7742
7743 2002-12-01  Mark Wielaard  <mark@klomp.org>
7744
7745         * java/lang/SecurityManager.java: Remerge comments, indenting and
7746         checkXXX methods with Classpath.
7747
7748 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
7749
7750         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7751         getNormalizedComponents): Fix calculation which was using one too
7752         many bits in the unnormalized format.
7753
7754 2002-11-29  Gary Benson  <gbenson@redhat.com>
7755
7756         For PR libgcj/8759:
7757         * java/beans/Introspector.java (flushCaches): New method.
7758         (flushFromCaches): Likewise.
7759
7760 2002-11-29  Michael Koch <konqueror@gmx.de>
7761
7762         * java/nio/channels/DatagramChannel.java
7763         (open): Added exception documentation.
7764         (write): Added exception documentation.
7765         (connect): Added exception documentation.
7766         (disconnect): Added exception documentation.
7767         (isConnected): Added exception documentation.
7768         (read): Added exception documentation.
7769         (receive): Added exception documentation.
7770         (send): Added exception documentation.
7771         (validOps): Added exception documentation.
7772         * java/nio/channels/SocketChannel.java
7773         (open): Added exception documentation.
7774         (read): Added exception documentation.
7775         (write): Added exception documentation.
7776         (connect): Added exception documentation.
7777         (finishConnect): Added exception documentation.
7778
7779 2002-11-29  Michael Koch <konqueror@gmx.de>
7780
7781         * gnu/java/nio/DatagramChannelImpl:
7782         (fd): New member variable to store file descriptor of socket.
7783         * gnu/java/nio/SelectionKeyImpl.java:
7784         (ops): Removed.
7785         (readyOps): New member variable.
7786         (interestOps): New member variable.
7787         (readyOps): Implemented.
7788         (readyOps): New method to set member variable readyOps.
7789         (interestOps): Replaced ops by interestOps.
7790         * gnu/java/nio/SelectorImpl.java:
7791         (SelectorImpl): Initialize key sets.
7792         (select): Call select with -1 instead of Long.MAX_VALUE).
7793         (java_do_select): Make it a native method.
7794         (getFDsAsArray): New helper method.
7795         (select): Remove canceled keys, give only interested file discriptors
7796         to java_do_select, set ready ops.
7797         (add): No need to initialize keys set here.
7798         (add_selected): No need to initialize selected set here.
7799         (deregisterCanceledKeys): New helper method.
7800         (register): Set interest ops, set attachments, added handling of datagram
7801         channels.
7802         * gnu/java/nio/ServerSocketChannelImpl:
7803         (SocketAccept): Renamed from NioSocketAccept.
7804         (implConfigureBlocking): Implemented.
7805         (accept): Use SocketAccept instead of NioSocketAccept.
7806         * gnu/java/nio/SocketChannelImpl:
7807         Reactivate native methods.
7808
7809 2002-11-29  Michael Koch <konqueror@gmx.de>
7810
7811         * gnu/java/nio/natByteBufferImpl.cc,
7812         gnu/java/nio/natCharBufferImpl.cc,
7813         gnu/java/nio/natDoubleBufferImpl.cc,
7814         gnu/java/nio/natFloatBufferImpl.cc,
7815         gnu/java/nio/natIntBufferImpl.cc,
7816         gnu/java/nio/natLongBufferImpl.cc,
7817         gnu/java/nio/natSelectorImpl.cc,
7818         gnu/java/nio/natServerSocketChannelImpl.cc,
7819         gnu/java/nio/natShortBufferImpl.cc,
7820         gnu/java/nio/natSocketChannelImpl.cc:
7821         New files that implement native functionalities.
7822
7823 2002-11-29  Michael Koch <konqueror@gmx.de>
7824
7825         * gnu/java/nio/ByteBufferImpl.java
7826         (ByteBufferImpl): Moved position() after limit.
7827         (nio_*): Use native implementation.
7828         * gnu/java/nio/CharBufferImpl.java:
7829         Reformated.
7830         (endian): New member variable string endianess of buffer.
7831         (CharBufferImpl): Moved position() after limit.
7832         (nio_*): Use native implementation.
7833         (subSequence): Implemented.
7834         * gnu/java/nio/DoubleBufferImpl.java
7835         (DoubleBufferImpl): Moved position() after limit.
7836         (nio_*): Use native implementation.
7837         * gnu/java/nio/FloatBufferImpl.java
7838         Reformated.
7839         (FloatBufferImpl): Moved position() after limit.
7840         (nio_*): Use native implementation.
7841         * gnu/java/nio/IntBufferImpl.java
7842         Added needed imports, Reformated.
7843         (IntBufferImpl): Moved position() after limit.
7844         (nio_*): Use native implementation.
7845         * gnu/java/nio/LongBufferImpl.java
7846         Reformated.
7847         (LongBufferImpl): Moved position() after limit.
7848         (nio_*): Use native implementation.
7849         * gnu/java/nio/ShortBufferImpl.java
7850         Reformated.
7851         (ShortBufferImpl): Moved position() after limit.
7852         (nio_*): Use native implementation.
7853
7854 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
7855
7856         * java/util/Locale.java (toString): Improve efficiency if country
7857         and variant are both empty.
7858
7859 2002-11-26  Tom Tromey  <tromey@redhat.com>
7860
7861         * verify.cc (pop_init_ref): New method.
7862         (verify_instructions_0) [op_iaload, op_laload, op_faload,
7863         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7864         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7865         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7866         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7867         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7868         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
7869         let `this' argument be uninitialized.  Don't let `null' be passed
7870         as `this' to construtor.
7871
7872 2002-11-26  Mark Wielaard  <mark@klomp.org>
7873
7874         * javax/transaction/HeuristicCommitException.java: Classpath merge.
7875         * javax/transaction/HeuristicMixedException.java: Likewise.
7876         * javax/transaction/HeuristicRollbackException.java: Likewise.
7877         * javax/transaction/InvalidTransactionException.java: Likewise.
7878         * javax/transaction/NotSupportedException.java: Likewise.
7879         * javax/transaction/RollbackException.java: Likewise.
7880         * javax/transaction/Status.java: Likewise.
7881         * javax/transaction/Synchronization.java: Likewise.
7882         * javax/transaction/SystemException.java: Likewise.
7883         * javax/transaction/Transaction.java: Likewise.
7884         * javax/transaction/TransactionManager.java: Likewise.
7885         * javax/transaction/TransactionRequiredException.java: Likewise.
7886         * javax/transaction/TransactionRolledbackException.java: Likewise.
7887         * javax/transaction/UserTransaction.java: Likewise.
7888         * javax/transaction/xa/XAException.java: Likewise.
7889         * javax/transaction/xa/XAResource.java: Likewise.
7890         * javax/transaction/xa/Xid.java: Likewise.
7891
7892 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
7893
7894         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7895         define.
7896         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7897         * include/posix.h (socklen_t): Define if not already defined.
7898
7899 2002-11-25  Tom Tromey  <tromey@redhat.com>
7900
7901         * verify.cc (type::compatible): Backed out broken change.
7902
7903         * verify.cc (type::compatible): Check initialization status
7904         first.
7905         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7906         Don't use NULLCHECK.
7907
7908 2002-11-23  H.J. Lu <hjl@gnu.org>
7909
7910         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7911         Include ../config/accross.m4.
7912         * aclocal.m4; Rebuild.
7913         * configure: Likewise.
7914
7915 2002-11-23  Mark Wielaard  <mark@klomp.org>
7916
7917         * javax/naming/AuthenticationException.java: Update copyright header.
7918         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7919         * javax/naming/Binding.java: Likewise.
7920         * javax/naming/CannotProceedException.java: Likewise.
7921         * javax/naming/CommunicationException.java: Likewise.
7922         * javax/naming/CompositeName.java: Likewise.
7923         * javax/naming/CompoundName.java: Likewise.
7924         * javax/naming/ConfigurationException.java: Likewise.
7925         * javax/naming/Context.java: Likewise.
7926         * javax/naming/ContextNotEmptyException.java: Likewise.
7927         * javax/naming/InitialContext.java: Likewise.
7928         * javax/naming/InsufficientResourcesException.java: Likewise.
7929         * javax/naming/InterruptedNamingException.java: Likewise.
7930         * javax/naming/LimitExceededException.java: Likewise.
7931         * javax/naming/LinkException.java: Likewise.
7932         * javax/naming/LinkLoopException.java: Likewise.
7933         * javax/naming/LinkRef.java: Likewise.
7934         * javax/naming/MalformedLinkException.java: Likewise.
7935         * javax/naming/NameAlreadyBoundException.java: Likewise.
7936         * javax/naming/NameClassPair.java: Likewise.
7937         * javax/naming/NameNotFoundException.java: Likewise.
7938         * javax/naming/NameParser.java: Likewise.
7939         * javax/naming/NamingEnumeration.java: Likewise.
7940         * javax/naming/NamingSecurityException.java: Likewise.
7941         * javax/naming/NoInitialContextException.java: Likewise.
7942         * javax/naming/NoPermissionException.java: Likewise.
7943         * javax/naming/NotContextException.java: Likewise.
7944         * javax/naming/OperationNotSupportedException.java: Likewise.
7945         * javax/naming/PartialResultException.java: Likewise.
7946         * javax/naming/Reference.java: Likewise.
7947         * javax/naming/Referenceable.java: Likewise.
7948         * javax/naming/ReferralException.java: Likewise.
7949         * javax/naming/ServiceUnavailableException.java: Likewise.
7950         * javax/naming/SizeLimitExceededException.java: Likewise.
7951         * javax/naming/TimeLimitExceededException.java: Likewise.
7952         * javax/naming/directory/Attribute.java: Likewise.
7953         * javax/naming/directory/AttributeInUseException.java: Likewise.
7954         * javax/naming/directory/AttributeModificationException.java: Likewise.
7955         * javax/naming/directory/Attributes.java: Likewise.
7956         * javax/naming/directory/BasicAttribute.java: Likewise.
7957         * javax/naming/directory/BasicAttributes.java: Likewise.
7958         * javax/naming/directory/DirContext.java: Likewise.
7959         * javax/naming/directory/InitialDirContext.java: Likewise.
7960         * javax/naming/directory/InvalidAttributeIdentifierException.java:
7961         Likewise.
7962         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7963         * javax/naming/directory/InvalidAttributesException.java: Likewise.
7964         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7965         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7966         * javax/naming/directory/ModificationItem.java: Likewise.
7967         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7968         * javax/naming/directory/SchemaViolationException.java: Likewise.
7969         * javax/naming/directory/SearchControls.java: Likewise.
7970         * javax/naming/directory/SearchResult.java: Likewise.
7971         * javax/naming/event/EventContext.java: Likewise.
7972         * javax/naming/event/EventDirContext.java: Likewise.
7973         * javax/naming/event/NamespaceChangeListener.java: Likewise.
7974         * javax/naming/event/NamingEvent.java: Likewise.
7975         * javax/naming/event/NamingExceptionEvent.java: Likewise.
7976         * javax/naming/event/NamingListener.java: Likewise.
7977         * javax/naming/event/ObjectChangeListener.java: Likewise.
7978         * javax/naming/ldap/Control.java: Likewise.
7979         * javax/naming/ldap/ControlFactory.java: Likewise.
7980         * javax/naming/ldap/ExtendedRequest.java: Likewise.
7981         * javax/naming/ldap/ExtendedResponse.java: Likewise.
7982         * javax/naming/ldap/HasControls.java: Likewise.
7983         * javax/naming/ldap/InitialLdapContext.java: Likewise.
7984         * javax/naming/ldap/LdapContext.java: Likewise.
7985         * javax/naming/ldap/LdapReferralException.java: Likewise.
7986         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7987         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7988         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7989         * javax/naming/spi/DirObjectFactory.java: Likewise.
7990         * javax/naming/spi/DirStateFactory.java: Likewise.
7991         * javax/naming/spi/DirectoryManager.java: Likewise.
7992         * javax/naming/spi/InitialContextFactory.java: Likewise.
7993         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7994         * javax/naming/spi/NamingManager.java: Likewise.
7995         * javax/naming/spi/ObjectFactory.java: Likewise.
7996         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7997         * javax/naming/spi/ResolveResult.java: Likewise.
7998         * javax/naming/spi/Resolver.java: Likewise.
7999         * javax/naming/spi/StateFactory.java: Likewise.
8000
8001         * javax/naming/spi/NamingManager.java (ofb): Package private.
8002
8003 2002-11-21  Mark Wielaard  <mark@klomp.org>
8004
8005         * java/net/URL.java: Merge with Classpath (partly).
8006         * java/net/URLStreamHandler: Merge with Classpath.
8007
8008 2002-11-22  Michael Koch <konqueror@gmx.de>
8009
8010         * include/posix.h:
8011         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8012         * include/win32.h:
8013         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8014         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
8015
8016 2002-11-21  Michael Koch <konqueror@gmx.de>
8017
8018         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
8019         Only the new network functions should be in it.
8020
8021 2002-11-21  Michael Koch <konqueror@gmx.de>
8022
8023         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8024         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8025
8026 2002-11-21  Michael Koch <konqueror@gmx.de>
8027
8028         * java/nio/channels/AsynchronousCloseException.java,
8029         java/nio/channels/CancelledKeyException.java,
8030         java/nio/channels/ClosedByInterruptException.java,
8031         java/nio/channels/ConnectionPendingException.java,
8032         java/nio/channels/FileLockInterruptionException.java,
8033         java/nio/channels/IllegalSelectorException.java,
8034         java/nio/channels/NoConnectionPendingException.java,
8035         java/nio/channels/NonReadableChannelException.java,
8036         java/nio/channels/NonWritableChannelException.java,
8037         java/nio/channels/NotYetBoundException.java,
8038         java/nio/channels/NotYetConnectedException.java,
8039         java/nio/channels/OverlappingFileLockException.java,
8040         java/nio/channels/UnresolvedAddressException.java,
8041         java/nio/channels/UnsupportedAddressTypeException.java:
8042         New files.
8043         * Makefile.am (ordinary_java_source_files): Added new files.
8044         * Makefile.in: Regenerated.
8045
8046 2002-11-21  Michael Koch <konqueror@gmx.de>
8047
8048         * include/posix.h
8049         (_Jv_socket): New method.
8050         (_Jv_connect): New method.
8051         (_Jv_close): New method.
8052         (_Jv_platform_close_on_exec): Prefixed system function with "::".
8053         (_Jv_bind): New method.
8054         (_Jv_listen): New method.
8055         (_Jv_write): New method.
8056         (_Jv_read): New method.
8057         * include/win32.h
8058         (_Jv_socket): New method.
8059         (_Jv_connect): New method.
8060         (_Jv_close): New method.
8061         (_Jv_bind): New method.
8062         (_Jv_listen): New method.
8063         (_Jv_write): New method.
8064         (_Jv_read): New method.
8065         * java/net/natNetworkInterface.cc:
8066         Include platform.h, removed inclusion of socket.h
8067         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
8068         ::close() by _Jv_close().
8069         * java/net/natPlainDatagramSocketImpl.cc:
8070         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
8071         added some new lines to make code more readable.
8072         (create): Replaced ::socket() by _Jv_socket().
8073         (close): Replaced NATIVE_CLOSE() by _Jv_close().
8074         * java/net/natPlainSocketImpl.cc:
8075         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
8076         removed include of socket.h, removed some windows defines
8077         (now in include/win32.h).
8078         (create): Replaced ::socket() by _Jv_socket().
8079         (close): Replaced NATIVE_CLOSE() by _Jv_close().
8080         (write): Replaced ::read by _Jv_write().
8081         (read): Replaced ::read by _Jv_read().
8082
8083 2002-11-20  Michael Koch <konqueror@gmx.de>
8084
8085         * Makefile.am (ordinary_java_source_files):
8086         Added java/nio/channels/FileChannel.java.
8087         * Makefile.in: Regenerated.
8088
8089 2002-11-20  Michael Koch <konqueror@gmx.de>
8090
8091         * java/io/FileInputStream.java
8092         (getChannel): New method.
8093         * java/io/FileOutputStream.java
8094         (getChannel): New method.
8095         * java/net/ServerSocket.java
8096         (bind): Removed duplicate code and called another bind method instead.
8097         * java/nio/channels/SelectionKey.java
8098         (isValid): Removed wrong exception documentation.
8099         * java/nio/channels/ServerSocketChannel.java
8100         (accept): Added exception documentation.
8101         (open): Fixed typo, added exception documentation.
8102         * java/nio/channels/spi/AbstractSelectableChannel.java
8103         (implCloseChannel): Added exception documentation.
8104         (add): Reformated.
8105         (register): Added exception documentation.
8106
8107 2002-11-20  Andreas Jaeger  <aj@suse.de>
8108
8109         * configure: Regenerated with new libtool.m4.
8110
8111 2002-11-19  Tom Tromey  <tromey@redhat.com>
8112
8113         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
8114         `referent'.
8115         (finalize_referred_to_object): Don't modify `referent' or `copy'
8116         fields.
8117         (add_to_hash): Correctly set `n->next' when updating list.
8118         * java/lang/ref/Reference.java (enqueue): Return false if already
8119         enqueued.
8120
8121 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
8122
8123         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
8124         to function and function pointer declarations in accordance with
8125         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
8126         based on whether __GCJ_JNI_IMPL__ has been defined or not.
8127         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
8128         JNI function definitions.
8129
8130 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
8131
8132         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
8133         that was causing CoderResults to be cached, not WeakReferences
8134         to CoderResults.
8135
8136 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
8137
8138         * java/security/KeyStore.java (getInstance): Fix
8139         comment and throw IllegalArgumentException if
8140         given provider is null.
8141         (getInstance): New method for jdk1.4 compatibility.
8142
8143 2002-11-18  Michael Koch <konqueror@gmx.de>
8144
8145         * java/net/PlainSocketImpl.java: Fix imports.
8146
8147 2002-11-18  Michael Koch <konqueror@gmx.de>
8148
8149         * java/nio/channels/SelectionKey.java
8150         (isValid): Added exception documentation.
8151         * java/nio/channels/Selector.java
8152         (open): Declare "throws IOException".
8153
8154 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
8155
8156         * java/nio/charset/Charset.java
8157         (<clinit>): New method.
8158         (encode): Synchronize use of cached encoder object.
8159         (decode): Synchronize use of cached encoder object.
8160
8161 2002-11-18  Michael Koch <konqueror@gmx.de>
8162
8163         * gnu/java/nio/ByteBufferImpl.java,
8164         gnu/java/nio/CharBufferImpl.java,
8165         gnu/java/nio/DatagramChannelImpl.java,
8166         gnu/java/nio/DoubleBufferImpl.java,
8167         gnu/java/nio/FileChannelImpl.java,
8168         gnu/java/nio/FloatBufferImpl.java,
8169         gnu/java/nio/IntBufferImpl.java,
8170         gnu/java/nio/LongBufferImpl.java,
8171         gnu/java/nio/PipeImpl.java,
8172         gnu/java/nio/SelectionKeyImpl.java,
8173         gnu/java/nio/SelectorImpl.java,
8174         gnu/java/nio/SelectorProviderImpl.java,
8175         gnu/java/nio/ServerSocketChannelImpl.java,
8176         gnu/java/nio/ShortBufferImpl.java,
8177         gnu/java/nio/SocketChannelImpl.java,
8178         java/nio/DoubleBuffer.java,
8179         java/nio/FloatBuffer.java,
8180         java/nio/IntBuffer.java,
8181         java/nio/LongBuffer.java,
8182         java/nio/ShortBuffer.java,
8183         java/nio/channels/FileChannel.java: New files.
8184
8185 2002-11-18  Michael Koch <konqueror@gmx.de>
8186
8187         * Makefile.am (ordinary_java_source_files):
8188         Added java/nio/ReadOnlyBufferException.java and
8189         java/nio/channels/ClosedSelectorException.java.
8190         * Makefile.in: Regenerated.
8191
8192 2002-11-18  Michael Koch <konqueror@gmx.de>
8193
8194         * java/net/PlainSocketImpl.java: Reworked imports.
8195         * java/net/ServerSocket.java
8196         (ServerSocket): Create socket.
8197         * java/net/SocketAddress.java: Documentation added.
8198         * java/net/natPlainSocketImpl.cc: Reindented.
8199         * java/nio/ReadOnlyBufferException.java: New file
8200         * java/nio/channels/ClosedChannelException.java: Documentation added.
8201         * java/nio/channels/ClosedSelectorException.java: New file.
8202
8203 2002-11-17  Mark Wielaard  <mark@klomp.org>
8204
8205         * java/net/HttpURLConnection.java ((getPermission): Take port
8206         into consideration.
8207         (getErrorStream): Implement.
8208
8209 2002-11-17  Mark Wielaard  <mark@klomp.org>
8210
8211         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
8212
8213 2002-11-16  Mark Wielaard  <mark@klomp.org>
8214
8215         Integrate work by Raif S. Naffah (raif@fl.net.au)
8216         * java/security/DummyKeyPairGenerator.java (clone): New method.
8217         * java/security/DummyMessageDigest.java (clone): New method.
8218         (engineUpdate): Now public.
8219         (engineReset): Likewise.
8220         (engineDigest): Likewise.
8221         (engineGetDigestLength): New method.
8222         * java/security/DummySignature.java (clone): New method.
8223         * java/security/KeyPairGenerator.java (provider): Now package private.
8224         (getInstance(String)): Use getInstance(String,Provider).
8225         (getInstance(String,String): Use getInstance(String,Provider)
8226         (getInstance(String,Provider): New method.
8227         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
8228         * java/security/KeyPairGeneratorSpi.java (clone): New method.
8229         * java/security/MessageDigest.java (provider): Now package private.
8230         (getInstance(String): Use getInstance(String,Provider).
8231         (getInstance(String,String): Use getInstance(String,Provider)
8232         (getInstance(String,Provider): New method.
8233         * java/security/Provider.java (toCanonicalKey): New method.
8234         (get): New method that uses toCanonicalKey().
8235         (put): Use toCanonicalKey().
8236         (remove): Likewise.
8237         * java/security/Security.java (insertProviderAt): Provider index is one
8238         based, not zero based.
8239         (addProvider): Likewise.
8240         (removeProvider): Likewise.
8241         * java/security/Signature.java (provider): Now package private.
8242         (getInstance(String)): Use getInstance(String,Provider).
8243         (getInstance(String,String): Use getInstance(String,Provider)
8244         (getInstance(String,Provider): New method.
8245         (getInstance(String,String,Provider): Don't cast DummySignature.
8246
8247 2002-11-15  Tom Tromey  <tromey@redhat.com>
8248
8249         For PR libgcj/8593:
8250         * java/util/zip/GZIPInputStream.java (read): Check file size.
8251         Look in inflater for remaining input bytes.
8252         (read4): Added buf and offset arguments.
8253
8254 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
8255
8256         * java/applet/AppletContext.java: Fix typo and remove redundant
8257         modifiers.
8258
8259 2002-11-14  Tom Tromey  <tromey@redhat.com>
8260
8261         * java/lang/natRuntime.cc (insertSystemProperties): Set
8262         gnu.classpath.home.
8263
8264 2002-11-13  Michael Koch <konqueror@gmx.de>
8265
8266         * java/nio/ByteBuffer.java
8267         (allocate): New method.
8268         (wrap): New method.
8269         (put): New method.
8270         (get): New method.
8271
8272 2002-11-13  Michael Koch <konqueror@gmx.de>
8273
8274         * java/nio/channels/AlreadyConnectedException.java:
8275         Removed unneeded import.
8276         (AlreadyConnectedException): Documentation added.
8277         * java/nio/channels/Pipe.java
8278         (SinkChannel.SinkChannel): Documentation added.
8279         (SinkChannel.validOps): New method.
8280         (SourceChannel.SourceChannel): Documentation added.
8281         (SourceChannel.validOps): New method.
8282         (Pipe): Documentation added.
8283         (open): Documentation added.
8284         (SinkChannel.channel): Documentation added.
8285         (SourceChannel.channel): Documentation added.
8286         * java/nio/channel/SelectableChannel.java
8287         (SelectableChannel): Documentation added.
8288         (blockingLock): Documentation added.
8289         (configureBlocking):Documentation added.
8290         (isBlocking):Documentation added.
8291         (isRegistered):Documentation added.
8292         (keyFor):Documentation added.
8293         (provider):Documentation added.
8294         (register): Documentation added.
8295         (validOps): Documentation added.
8296         * jaba/nio/channels/SelectionKey.java
8297         (SelectionKey): Documentation added.
8298         (attach): Documentation added.
8299         (attachment): Documentation added.
8300         (isAcceptable): Documentation added.
8301         (isConnetable): Documentation added.
8302         (isReadable): Documentation added.
8303         (isWritable): Documentation added.
8304         (cancel): Documentation added.
8305         (channel): Documentation added.
8306         (interestOps): Documentation added.
8307         (isValid): Documentation added.
8308         (readyOps): Documentation added.
8309         (selector): Documentation added.
8310         * jaba/nio/channels/Selector.java
8311         (Selector): Documentation added.
8312         (open): Documentation added.
8313         (close): Documentation added.
8314         (isOpen): Documentation added.
8315         (keys): Documentation added.
8316         (provider): Documentation added.
8317         (select): Documentation added.
8318         (selectedKeys): Documentation added.
8319         (selectNow): Documentation added.
8320         (wakeup): Documentation added.
8321         * java/nio/channels/spi/AbstractInterruptibleChannel.java
8322         (AbstractInterruptibleChannel): Documentation added.
8323         (opened): Default to true;
8324         (begin): Documentation added.
8325         (close): Set opened to false, documentation added.
8326         (isOpen): Documentation added.
8327         * java/nio/channels/spi/AbstractSelectionKey.java
8328         (AbstractSelectionKey): Documentation added.
8329         (cancel): Documentation added.
8330         (isValid): Documentation added.
8331         * java/nio/channels/spi/AbstractSelector.java
8332         (AbstractSelector): Documentation added.
8333         (begin): Documentation added.
8334         (close): Documentation added.
8335         (isOpen): Documentation added.
8336         (deregister): Documentation added.
8337         (end): Documentation added.
8338         (provider): Documentation added.
8339         (implCloseSelector): Documentation added.
8340         (register): Documentation added.
8341         * java/nio/channels/spi/SelectorProvider.java
8342         (SelectorProvider): Documentation added.
8343         (openDatagramChannel): Documentation added.
8344         (openPipe): Documentation added.
8345         (openSelector): Documentation added.
8346         (openServerSocketChannel): Documentation added.
8347         (openSocketChannel): Documentation added.
8348         (provider): Documentation added.
8349
8350 2002-11-12  Michael Koch <konqueror@gmx.de>
8351
8352         * java/nio/Buffer.java: Implemented.
8353         * java/nio/CharBuffer.java: New file.
8354         * java/nio/InvalidMarkException.java: New file.
8355         * java/nio/channels/DatagramChannel.java: Implemented.
8356         * java/nio/channels/ServerSocketChannel.java: Implemented.
8357         * java/nio/channels/SocketChannel.java: Implemented.
8358         * java/nio/channels/spi/AbstractChannel.java: Removed.
8359         * java/nio/channels/spi/AbstractSelectableChannel.java:
8360         Implemented.
8361         * java/nio/charset/Charset.java:
8362         Merge from Classpath.
8363         * java/nio/charset/CharsetDecoder.java: New file.
8364         * java/nio/charset/CharsetEncoder.java: New file.
8365         * java/nio/charset/CoderResult.java: New file.
8366         * Makefile.am (ordinary_java_source_files): Added new files.
8367         * Makefile.in: Regenerated.
8368
8369 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8370
8371         * gnu/java/nio/charset/ISO_8859_1.java,
8372         gnu/java/nio/charset/Provider.java,
8373         gnu/java/nio/charset/US_ASCII.java,
8374         gnu/java/nio/charset/UTF_16.java,
8375         gnu/java/nio/charset/UTF_16BE.java,
8376         gnu/java/nio/charset/UTF_16Decoder.java,
8377         gnu/java/nio/charset/UTF_16Encoder.java,
8378         gnu/java/nio/charset/UTF_16LE.java,
8379         gnu/java/nio/charset/UTF_8.java: New files.
8380
8381 2002-11-11  Michael Koch <konqueror@gmx.de>
8382
8383         * java/nio/charset/CharacterCodingException.java:
8384         This class must be public.
8385         * java/nio/charset/CoderMalfunctionError.java:
8386         This class must be public.
8387         * java/nio/charset/CodingErrorAction.java:
8388         This class must be public.
8389         * java/nio/charset/IllegalCharsetNameException.java:
8390         This class must be public, better implementation.
8391         * java/nio/charset/MalformedInputException.java:
8392         This class must be public, better implementation.
8393         * java/nio/charset/UnmappableCharacterException.java:
8394         This class must be public, better implementation.
8395         * java/nio/charset/UnsupportedCharsetException.java:
8396         This class must be public, better implementation.
8397
8398 2002-11-11  Michael Koch <konqueror@gmx.de>
8399
8400         * java/nio/BufferOverflowException.java,
8401         java/nio/BufferUnderflowException.java: New file.
8402         * Makefile.am (ordinary_java_source_files):
8403         Added new files.
8404         * Makefile.in: Regenerated.
8405
8406 2002-11-10  Tom Tromey  <tromey@redhat.com>
8407
8408         * java/awt/Container.java (validate): Use tree lock.
8409         (getComponent): Likewise.
8410         (getComponents): Likewise.
8411         (addImpl): Likewise.
8412         (remove): Likewise.
8413         (removeAll): Likewise.
8414         (processEvent): Fixed indentation.
8415         (getComponentAt): Use tree lock.
8416         (findComponentAt): Likewise.
8417         (removeNotify): Likewise.
8418         (isAncestorOf): Likewise.
8419         (list): Likewise.
8420         (visitChildren): Likewise.
8421         (findNextFocusComponent): Likewise.
8422         (addNotifyContainerChildren): Likewise.
8423         (getAccessibleChildrenCount): Likewise.
8424         (getAccessibleChild): Likewise.
8425
8426         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
8427         (getSize): Likewise.
8428         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
8429         (getSize): Likewise.
8430         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
8431         (calcSize): Likewise.
8432         * java/awt/CardLayout.java (getSize): Use tree lock.
8433         (gotoComponent): Likewise.
8434         (layoutContainer): Likewise.
8435
8436         * java/io/natFileDescriptorWin32.cc (read): Handle case where
8437         count is 0.
8438         * java/io/natFileDescriptorPosix.cc (read): Handle case where
8439         count is 0.
8440
8441         * java/io/Externalizable.java, java/io/FilePermission.java,
8442         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
8443         java/io/SerializablePermission.java, java/text/Format.java,
8444         java/util/AbstractMap.java, java/util/HashMap.java,
8445         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
8446         versions from Classpath.
8447
8448 2002-11-10  Anthony Green  <green@redhat.com>
8449
8450         * java/util/jar/Attributes.java (Name): Fix name check.
8451
8452 2002-11-10  Mark Wielaard  <mark@klomp.org>
8453
8454         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
8455         with getName() as message.
8456         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
8457         type as message.
8458
8459         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
8460         unused.
8461
8462 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
8463
8464         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
8465         for Win32. JNICALL has been defined to __stdcall to be compatible
8466         with Sun's JDKs.
8467
8468 2002-11-10  Tom Tromey  <tromey@redhat.com>
8469
8470         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
8471         (setRows): Check newRows, not rows.
8472
8473         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
8474
8475 2002-11-09  Tom Tromey  <tromey@redhat.com>
8476
8477         * java/applet/Applet.java, java/applet/AppletContext.java,
8478         java/applet/AppletStub.java, java/applet/AudioClip.java,
8479         java/awt/CardLayout.java,
8480         java/awt/ContainerOrderFocusTraversalPolicy.java,
8481         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
8482         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
8483         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
8484         java/awt/color/ICC_ColorSpace.java,
8485         java/awt/color/ICC_Profile.java,
8486         java/awt/color/ICC_ProfileGray.java,
8487         java/awt/color/ICC_ProfileRGB.java,
8488         java/awt/datatransfer/DataFlavor.java,
8489         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
8490         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
8491         New versions from Classpath.
8492         * Makefile.in: Rebuilt.
8493         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
8494         ICC_ProfileRGB.
8495
8496         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
8497         display policy.
8498
8499         * java/awt/List.java (processEvent): Added missing `else's.
8500
8501         * java/awt/Window.java (show): validate() before showing.  Make
8502         parent displayable.
8503         (isDisplayable): New method.
8504
8505 2002-11-07  Mark Wielaard  <mark@klomp.org>
8506
8507         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
8508         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
8509
8510         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
8511         annotation.
8512         (loadClass): Take String as codebases.
8513         (getClassAnnotation): Use MyClassLoader annotations.
8514         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
8515         call exportObject(this).
8516
8517         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
8518         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
8519         (setAnnotation): Don't set locBytesStream and locStream.
8520         (replaceObject): Removed.
8521         (flush): Don't test locStream.
8522         (getLocBytes): LikeWise.
8523         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
8524         (leaseCache): New field.
8525         (dirty): Use leaseCache.
8526         (LeaseRecord): New inner class.
8527         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
8528         explicitly call exportObject().
8529         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
8530         false to communicate with Sun JDK130.
8531         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
8532         * gnu/java/rmi/server/RMIObjectInputStream.java
8533         (UnicastConnectionManager): Removed field.
8534         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
8535         Use UnicastServer.getExportedRef().
8536         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
8537         (expireTime): Likewise.
8538         (CONNECTION_TIMEOUT): Likewise.
8539         (disconnect): Call sock.close().
8540         (isExpired): New method.
8541         (resetTime): Likewise.
8542         (run): Use do while loop and catch Exception for discardConnection().
8543         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
8544         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
8545         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
8546         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
8547         (exportObject): Use refcache.
8548         (unexportObject): Likewise.
8549         (getExportedRef): New method.
8550         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
8551         constructor.
8552         (exportObject): Save manager.serverobj.
8553         (getStub): New method.
8554
8555 2002-11-07  Mark Wielaard  <mark@klomp.org>
8556
8557         * java/lang/reflect/natField.cc (getBoolean): Use getType().
8558         (getByte): Likewise.
8559         (getShort): Likewise.
8560         (getInt): Likewise.
8561         (getLong): Likewise.
8562         (getFloat): Likewise.
8563         (getDouble): Likewise.
8564         (get): Likewise.
8565         (setChar): Likewise.
8566         (setByte): Likewise.
8567         (setShort): Likewise.
8568         (setInt): Likewise.
8569         (setLong): Likewise.
8570         (setFloat): Likewise.
8571         (setDouble): Likewise.
8572
8573 2002-11-07  Michael Koch <konqueror@gmx.de>
8574
8575         * java/awt/Choice.java,
8576         java/awt/Container.java,
8577         java/awt/GridBagLayout.java:
8578         Fixed documentation.
8579         * java/awt/peer/ContainerPeer.java:
8580         Reindented.
8581
8582 2002-11-07  Michael Koch <konqueror@gmx.de>
8583
8584         * java/awt/color/ICC_Profile.java:
8585         Added missing constants.
8586         * java/awt/color/ICC_ColorSpace.java
8587         (getMinValue): Added dummy implementation.
8588         (getMaxValue): Added dummy implementation.
8589         * java/awt/datatransfer/DataFlavor.java
8590         (imageFlavor): Added.
8591         (isMimeTypeEqual): Must be final.
8592         (getDefaultRepresentationClass): Must be non-static.
8593         (getDefaultRepresentationClassAsString): Must be non-static.
8594         * java/awt/dnd/DragSourceContext.java
8595         (dragExit): Corrected argument.
8596         (dragDropEnd): Corrected argument.
8597         * java/awt/dnd/DragSourceListener.java.java
8598         (dragExit): Corrected argument.
8599         (dragDropEnd): Corrected argument.
8600         * java/awt/font/TextHitInfo.java
8601         (toString): Added stubbed implementation.
8602         * java/awt/geom/PathIterator.java:
8603         The constants must be static.
8604         * java/awt/image/VolatileImage.java
8605         (IMAGE_INCOMPATIBLE): Fixed typo.
8606         * java/awt/image/renderable/RenderableImage.java
8607         (HINTS_OBSERVED): Must be static.
8608         * java/beans/BeanInfo.java:
8609         Constants must be final.
8610
8611 2002-11-06  Tom Tromey  <tromey@redhat.com>
8612
8613         From svens@it.uu.se.  For PR libgcj/8481.
8614         * java/util/Random.java (nextInt(int)): Only use 31 bits.
8615
8616 2002-11-06  Tom Tromey  <tromey@redhat.com>
8617
8618         * jni.cc (array_from_valist): Assume that jlong won't be
8619         promoted.
8620
8621 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
8622
8623         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
8624         Return 20.
8625         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
8626         Return 16.
8627
8628 2002-11-03  Tom Tromey  <tromey@redhat.com>
8629
8630         * java/lang/ClassLoader.java (loadClass): Call loadClass on
8631         VMClassLoader, not findClass.
8632
8633 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
8634
8635         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8636         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8637         _Jv_DetermineVTableIndex, to determine vtable offset.
8638         (_Jv_DetermineVTableIndex): Remove.
8639         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
8640
8641         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8642
8643 2002-11-03  Tom Tromey  <tromey@redhat.com>
8644
8645         * java/nio/channels/AlreadyConnectedException.java: Extend
8646         IllegalStateException, per spec.
8647
8648 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
8649
8650         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8651
8652 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8653
8654         * java/util/ArrayList.java (readObject, writeObject): Only read/write
8655         size items.
8656
8657 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8658
8659         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8660         initial estimated size to avoid enlarge buffer frequently.
8661
8662 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8663
8664         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8665         ClassLoader when null.
8666         (ProxyType.hashCode): Loader null check no longer needed.
8667         (ProxyType.sameTypes): New method.
8668         (ProxyType.equals): Use new method.
8669
8670 2002-10-31  Mark Wielaard  <mark@klomp.org>
8671
8672         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8673         length of String.
8674         * java/net/URLEncoder.java (encode): Likewise.
8675
8676 2002-10-31  Mark Wielaard  <mark@klomp.org>
8677
8678         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8679         when stream is closed.
8680         (closeEntry): Likewise.
8681         (read): Likewise.
8682         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8683         ZipException when no entry active.
8684         (closeEntry): Likewise.
8685         (write): Likewise.
8686
8687 2002-11-02  Tom Tromey  <tromey@redhat.com>
8688
8689         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8690         * java/lang/natClass.cc (initializeClass): Don't return just
8691         because self==thread.
8692
8693         For PR java/8415:
8694         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8695         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8696
8697 2002-11-02  Andreas Schwab  <schwab@suse.de>
8698
8699         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8700         pass GCJFLAGS.
8701         (FLAGS_TO_PASS): Define.
8702         * Makefile.in: Regenerated.
8703
8704 2002-11-01  Michael Koch  <konqueror@gmx.de>
8705
8706         * java/nio/ByteOrder.java: New file.
8707         * java/nio/channels/DatagramChannel.java:
8708         (DatagramChannel): New constructor.
8709         * java/nio/channels/Pipe.java: New file.
8710         * java/nio/channels/SelectableChannel.java: New file.
8711         * java/nio/channels/SelectionKey.java: New file.
8712         * java/nio/channels/Selector.java: New file.
8713         * java/nio/channels/ServerSocketChannel.java
8714         (ServerSocketChannel): New constructor.
8715         * java/nio/channels/SocketChannel.java
8716         (SocketChannel): New constructor.
8717         * java/nio/channels/Pipe.java: New file.
8718         * java/nio/channels/spi/AbstractChannel.java: New file.
8719         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8720         * java/nio/channels/spi/AbstractSelectableChannel.java:
8721         License added
8722         (AbstractSelectableChannel): New stubbed method.
8723         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8724         * java/nio/channels/spi/AbstractSelector.java: New file.
8725         * java/nio/channels/spi/SelectorProvider.java: New file.
8726         * java/nio/charset/Charset.java: New file.
8727         * java/nio/charset/CoderMalfunctionError.java: New file.
8728         * java/nio/charset/CodingErrorAction.java: New file.
8729         * java/nio/charset/spi/CharsetProvider.java
8730         (charsetForName): Uncommented.
8731         * Makefile.am (java_native_source_files): Added new files.
8732         * Makefile.in: Regenerated.
8733
8734 2002-11-01  Michael Koch  <konqueror@gmx.de>
8735
8736         * java/net/InetAddress.java:
8737         (isAnyLocalAddress): Implemented.
8738         (isLoopbackAddress): Implemented, comment added.
8739         (isLinkLocalAddress): Implemented, documentation added.
8740         (isSiteLocalAddress): Implemented, documentation added.
8741         (isMCGlobal): Implemented, documentation added.
8742         (isMCNodeLocal): Implemented, documentation added.
8743         (isMCLinkLocal): Implemented, documentation added.
8744         (isMCSiteLocal): Implemented, documentation added.
8745         (isMCOrgLocal): Implemented, documentation added.
8746         (getHostName): Documentation added.
8747         (getCanonicalHostName): Implemented, documentation added.
8748         (getAddress): Documentation added.
8749         (hashCode): Documentation added.
8750         (equals): Documentation added.
8751         (toString): Fixed implementation.
8752         (getByAddress): Use Inet4Address and Inet6Address.
8753         (lookup): New linewrap.
8754         (getByName): SecurityManager check added, support Inet4Address and
8755         Inet6address, comments added.
8756         (getAllByName): SecurityManager check added, comments added.
8757         * java/net/Inet6Address.java:
8758         (Inet6Address): Initialize parent class with addr instead of null.
8759         * java/net/URL.java
8760         (equals): Documentation added.
8761         (getFile): Documentation added.
8762         (hashCode): Documentation added.
8763         * java/net/natInetAddress.cc:
8764         (aton): Fix IPv6 support.
8765         * java/net/natPlainDatagramSocketImpl.cc:
8766         (peek): Throw PortUnreachableException when suitable.
8767         (peekData): Throw PortUnreachableException when suitable.
8768         (send): Throw PortUnreachableException when suitable.
8769         (receive): Throw PortUnreachableException when suitable.
8770
8771 2002-10-27  Mark Wielaard  <mark@klomp.org>
8772
8773         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8774         argument.
8775         (readLeShort): Likewise and use byte[].
8776         (readLeInt): Likewise.
8777         (readEntries): Use new versions of methods and use byte[] for reading
8778         a complete zip entry. Add ZipFile name to exceptions.
8779         (entries): Add ZipFile name to exceptions.
8780         (getEntry): Likewise.
8781         (checkLocalHeader): Use new versions of methods and add ZipFile name
8782         to exceptions.
8783
8784 2002-10-31  Mark Anderson  <mark@panonet.net>
8785
8786         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8787         added
8788
8789 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
8790
8791         * configure.in: Disable hash sync when not using threads.
8792         * configure: Regenerated.
8793
8794 2002-10-24  Tom Tromey  <tromey@redhat.com>
8795
8796         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8797         (_Jv_FindSymbolInExecutable): Removed argument name.
8798         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8799         java.library.path is set.
8800
8801         * gij.cc (help): Document --showversion.
8802         (version): Don't exit.
8803         (main): Handle --showversion.  Exit if --version given.
8804
8805 2002-10-23  Tom Tromey  <tromey@redhat.com>
8806
8807         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8808         (array_from_valist): Correctly handle promotion for jint, jlong,
8809         jfloat, and jdouble.
8810
8811 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
8812
8813         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8814         GetFileAttributesEx( ) to find file length and modification times,
8815         as the latter is not present on Windows 95.
8816
8817 2002-10-21  Michael Koch  <konqueror@gmx.de>
8818
8819         * java/net/URL.java
8820         (URL): Activate SecurityManager checks.
8821         (equals): Use URLStreamHandler implementation instead of doing it
8822         alone. This allows special protocol stream handlers to change default
8823         behaviour.
8824         (hashCode): Use URLStreamHandler implementation instead of doing it
8825         alone. This allows special protocol stream handlers to change default
8826         behaviour.
8827         * java/net/URLStreamHandler.java
8828         (equals): Implemented default URL equality check.
8829         (hostsEqual): Implemented default URL equality check.
8830         (hashCode): Implemented default URL hashCode algorithm.
8831         * java/net/natPlainDatagramSocketImpl.cc:
8832         No lines longer then 80 characters.
8833
8834 2002-10-20  Adam Megacz <adam@xwt.org>
8835
8836         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8837         * configure.in: enabled hash sync on Win32
8838         * include/win32-threads.h (_Jv_ThreadId_t): added.
8839         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8840         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8841         removed some posix-isms, use Thread::sleep() instead of usleep,
8842         added code to clear bottom three bits if platform has a broken
8843         linker.
8844         * include/win32-threads.h (_Jv_ThreadId_t): added.
8845
8846 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
8847
8848         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8849         runtime property "gnu.gcj.progname" containing the name used to
8850         invoke the current Java program (similar to argv[0] for C
8851         programs).
8852
8853 2002-10-15  Tom Tromey  <tromey@redhat.com>
8854
8855         Fix for PR libgcj/8234:
8856         * java/util/zip/natInflater.cc (reset): Reset avail_in.
8857         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8858
8859 2002-10-13  Mark Wielaard  <mark@klomp.org>
8860
8861         * mauve-libgcj: Enable Mauve tests that compile now.
8862
8863 2002-10-11  Mark Wielaard  <mark@klomp.org>
8864
8865         Fix for PR libgcj/8142
8866         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8867         loading native modules.
8868
8869 2002-10-10  Michael Koch  <konqueror@gmx.de>
8870
8871         * javax/swing/AbstractListModel.java
8872         (getListDataListeners): New stubbed method.
8873         javax/swing/DefaultBoundedRangeModel.java
8874         (getChangeListeners): New stubbed method.
8875         javax/swing/DefaultSingleSelectionModel.java
8876         (getChangeListeners): New stubbed method.
8877
8878 2002-10-10  Michael Koch  <konqueror@gmx.de>
8879
8880         * gcj/.cvsignore: New file to ignore files generated during build.
8881         * include/.cvsignore: New file to ignore files generated during build.
8882
8883 2002-10-10  Michael Koch  <konqueror@gmx.de>
8884
8885         * java/net/HttpURLConnection.java
8886         (getPermission): New method.
8887         (getErrorStream): New stub method.
8888         (getHeaderFieldDate): New stub method.
8889         * java/net/Inet4Address.java:
8890         (isLinkLocalAddress): Typo fixed.
8891         * java/net/InetAddress.java:
8892         (readResolve): New stubbed method (for serialization).
8893         (isAnyLocalAddress): New stubbed method.
8894         (isLoopbackAddress): New stubbed method.
8895         (isLinkLocalAddress): New stubbed method.
8896         (isSiteLocalAddress): New stubbed method.
8897         (isMCGlobal): New stubbed method.
8898         (isMCNodeGlobal): New stubbed method.
8899         (isMCLinkLocal): New stubbed method.
8900         (isMCSiteLocal): New stubbed method.
8901         (isMCOrgLocal): New stubbed method.
8902         (getCanonicalHostName): New stubbed method.
8903         (getByAddress): Create instances of Inet4Address/Inet6Address,
8904         instead of InetAddress, documentation added.
8905         * java/net/MulticastSocket.java
8906         (getInterface): Removed FIXME.
8907         (getNetworkInterface): New method.
8908         (setNetworkInterface): New method.
8909         * java/net/NetworkInterface.java:
8910         (toString): Use property "line.separator" instead of "\n".
8911         * java/net/URLConnection.java
8912         (getContent): New stubbed method.
8913         * java/net/URLStreamHandler.java:
8914         (equals): New stubbed method.
8915         (hostsEqual): New stubbed method.
8916         (hashCode): New stubbed method.
8917         * java/net/natNetworkInterface.cc:
8918         (getRealNetworkInterfaces): Create Inet4Address object
8919         instead of InetAddress.
8920
8921 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8922
8923         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8924         unsigned long temporary to implement insn_iushr shifts.
8925
8926 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8927
8928         * configure.host [s390*-*]: Enable Java interpreter.
8929         Enable hash synchronization.  Add sysdeps dir.
8930         * sysdep/s390/locks.h: New file.
8931
8932 2002-10-06  Mark Wielaard  <mark@klomp.org>
8933
8934         * java/lang/Thread.java (setDaemon): Check startable_flag,
8935         not isAlive().
8936
8937 2002-10-07  Michael Koch  <konqueror@gmx.de>
8938
8939         * java/nio/Buffer.java: New stub file.
8940         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8941         of class Charset.
8942         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8943         * Makefile.in: Regenerated.
8944
8945 2002-10-07  Michael Koch  <konqueror@gmx.de>
8946
8947         * java/nio/ByteBuffer.java:
8948         removed import of not commited class.
8949
8950 2002-10-07  Michael Koch  <konqueror@gmx.de>
8951
8952         * java/nio/ByteBuffer.java,
8953         java/nio/MappedByteBuffer.java:
8954         New files, forgot to add these dummies.
8955         * Makefile.am (java_native_source_files): Added new files.
8956         * Makefile.in: Regenerated.
8957
8958 2002-10-07  Michael Koch  <konqueror@gmx.de>
8959
8960         * java/nio/channels/AlreadyConnectedException.java,
8961         java/nio/channels/ClosedChannelException.java,
8962         java/nio/channels/ReadableByteChannel.java,
8963         java/nio/channels/InterruptibleChannel.java,
8964         java/nio/channels/Channel.java,
8965         java/nio/channels/ByteChannel.java,
8966         java/nio/channels/GatheringByteChannel.java,
8967         java/nio/channels/ScatteringByteChannel.java,
8968         java/nio/channels/WritableByteChannel.java,
8969         java/nio/charset/CharacterCodingException.java,
8970         java/nio/charset/IllegalCharsetNameException.java,
8971         java/nio/charset/MalformedInputException.java,
8972         java/nio/charset/UnmappableCharacterException.java,
8973         java/nio/charset/UnsupportedCharsetException.java,
8974         java/nio/charset/spi/CharsetProvider.java: New file.
8975         These files are exceptions or interfaces,
8976         no real or abstract classes.
8977         * Makefile.am (java_native_source_files): Added new files.
8978         * Makefile.in: Regenerated.
8979
8980 2002-10-05  Michael Koch  <konqueror@gmx.de>
8981
8982         * java/net/InetAddress.java
8983         (getByAddress): Fixed documentation.
8984         (getByAddress): New method.
8985         * java/net/Inet4Address.java: New file.
8986         * java/net/URL.java
8987         (URL): Documentation added.
8988         (getContent): Documentation added.
8989         (getContent): New stubbed method.
8990         (getQuery): New method.
8991         (openConnection): Documentation added.
8992         (openStream): Documentation added.
8993         (setURLStreamHandlerFactory): Documentation added.
8994         * java/net/URI.java: New stub file.
8995         * Makefile.am
8996         (java_native_source_files): Added java/net/Inet4Address.java,
8997         java/net/Inet6Address.java and java/net/URI.java.
8998         * Makefile.in: Regenerated.
8999
9000 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9001
9002         * java/lang/ProtectionDomain.java (linesep): Remove field.
9003         (toString): Use System.getProperty("line.separator").
9004
9005 2002-10-04  Michael Koch  <konqueror@gmx.de>
9006
9007         * java/security/Identity.java: Added serialVersionUID.
9008         * java/security/KeyPair.java: Added serialVersionUID.
9009         * java/security/Provider.java: Added serialVersionUID.
9010         * java/security/SecureRandom.java: Added serialVersionUID.
9011         * java/security/SecureRandomSpi.java: Added serialVersionUID.
9012         * java/security/SignedObject.java: Added serialVersionUID.
9013         * java/security/cert/Certificate.java: Added serialVersionUID.
9014
9015 2002-10-04  Mark Wielaard <mark@klomp.org>
9016
9017         * java/security/Security.java: Use java.home or gnu.classpath.home
9018         to load providers.
9019         (loadProviders): Extra dir argument.
9020         (getProvider): Return null when not found.
9021
9022 2002-10-04  Mark Wielaard  <mark@klomp.org>
9023
9024         * java/lang/Throwable.java: Remerge with Classpath.
9025
9026 2002-10-04  Michael Koch  <konqueror@gmx.de>
9027
9028         * java/net/InetAddress.java:
9029         (isMulticastAddress): Added documentation.
9030         (getHostAddress): Added documentation.
9031         (toString): Added documentation.
9032         (getByAddress): Fixed documentation.
9033         (getByName): Added documentation.
9034         (getAllByName): Added documentation.
9035         (getLocalHost): Added documentation.
9036
9037 2002-10-04  Michael Koch  <konqueror@gmx.de>
9038
9039         * java/beans/beancontext/BeanContextChildSupport.java:
9040         Added serialVersionUID.
9041         * java/text/Collator.java: (compare): Made documentation HTML-aware.
9042         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
9043         * javax/naming/Name.java: Added serialVersionUID.
9044
9045 2002-10-03  Adam Megacz <adam@xwt.org>
9046
9047         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
9048         some functionality that isn't supported yet on WIN32.
9049
9050 2002-10-03  Tom Tromey  <tromey@redhat.com>
9051
9052         * Makefile.in: Rebuilt.
9053         * Makefile.am (awt_java_source_files): Added new files.
9054
9055 2002-10-03  Michael Koch  <konqueror@gmx.de>
9056
9057         * java/net/InetAddress.java
9058         (class InetAddress): Removed final keyword.
9059         (equals): Fixed typo.
9060         (getByAddress): New method.
9061
9062 2002-10-03  Michael Koch  <konqueror@gmx.de>
9063
9064         * java/awt/dnd/Autoscroll.java:
9065         New file, merge from Classpath.
9066         * java/awt/dnd/DragSourceAdapter.java:
9067         (dragExit): Fixed typos in argument type.
9068         (dragDropEnd): Fixed typos in argument type.
9069         * java/awt/dnd/DragSourceDropEvent.java:
9070         New file, merge from Classpath.
9071         * java/awt/dnd/DropTarget.java:
9072         Added stubs, merge from Classpath.
9073         * java/awt/dnd/DropTargetAdapter.java:
9074         New file, merge from Classpath.
9075         * java/awt/dnd/DropTargetContext.java:
9076         New file, merge from Classpath.
9077         * java/awt/dnd/DropTargetDragEvent.java:
9078         New file, merge from Classpath.
9079         * java/awt/dnd/DropTargetDropEvent.java:
9080         New file, merge from Classpath.
9081         * java/awt/dnd/DropTargetEvent.java:
9082         New file, merge from Classpath.
9083         * java/awt/dnd/DropTargetListener.java:
9084         New file, merge from Classpath.
9085         * java/awt/dnd/MouseDragGestureRecognizer.java:
9086         New file, merge from Classpath.
9087         * java/awt/dnd/peer/DropTargetContextPeer.java:
9088         New file, merge from Classpath.
9089
9090 2002-10-03  Michael Koch  <konqueror@gmx.de>
9091
9092         * java/net/DatagramPacket.java
9093         (setLength): Fixed typo and be HTML-aware.
9094         * java/net/InetSocketAddress.java
9095         (InetSocketAddress): Correct initialization of hostname, fixed typo.
9096         (equals): Added comment about equality of InetSocketAddress objects.
9097         * java/net/ServerSocket.java
9098         (accept): Added checks.
9099         (isClosed): New stubbed method.
9100         * java/net/SocketOptions.java: Reindention.
9101         * java/net/SocketPermission
9102         (SocketPermission): Documentation fixed.
9103
9104 2002-10-03  Michael Koch  <konqueror@gmx.de>
9105
9106         * java/net/DatagramSocket.java
9107         (receive): Check with SecurityManager AFTER the packet is received,
9108         check if connected to multicast address, documentation added.
9109         (send): Only check SecurityManager if connected, check address of
9110         packet to send.
9111         (connect): Implemented, documentation added.
9112         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
9113         * java/net/InetSocketAddress.java
9114         (whole file): Reindented.
9115         (hostname): New attribute.
9116         (InetSocketAddress): Initialize new attribute.
9117         (getAddress): Documentation added.
9118         (getHostName): Documentation added.
9119         (getPort): Documentation added.
9120         (hashCode): Documentation added.
9121         (isUnresolved): Documentation added.
9122         (toString): Conform to output of JDK 1.4.1, documentation added.
9123         * java/net/MulticastSocket.java
9124         (joinGroup): Removed FIXME, documentation added.
9125         (leaveGroup): Removed FIXME, documentation added.
9126         (send): Documentation added.
9127         * java/net/Socket.java
9128         (inputShutdown): New variable.
9129         (outputShutdown): New variable.
9130         (Socket): Initialize new variables.
9131         (getRemoteSocketAddress): Check if connected.
9132         (shutdownInput): Set new variable.
9133         (shutdownOutput): Set new variable.
9134         (isConnected): New method.
9135         (isClosed): New method.
9136         (isInputShutdown): New method.
9137         (isOutputShutdown): New method.
9138         * java/net/URLStreamHandler.java
9139         (URLStreamHandler): New method.
9140         (openConnection): Added documentation.
9141         (parseURL): Added documentation.
9142         (getHostAddress): New method.
9143         (getDefaultPort): New method.
9144
9145 2002-10-02  Tom Tromey  <tromey@redhat.com>
9146
9147         * java/rmi/activation/ActivationDesc.java,
9148         java/rmi/activation/ActivationGroupDesc.java,
9149         java/rmi/activation/ActivationGroupID.java,
9150         java/rmi/activation/ActivationID.java: New versions from
9151         Classpath.
9152
9153 2002-09-30  Bo Thorsen  <bo@suse.de>
9154
9155         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
9156
9157 2002-09-30  Tom Tromey  <tromey@redhat.com>
9158
9159         * java/io/ObjectInputStream.java (resolveProxyClass): New method
9160         from Classpath.
9161         * Makefile.in: Rebuilt.
9162         * Makefile.am (rmi_java_source_files): Added new files.
9163         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
9164         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
9165         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
9166         Classpath.
9167         * gnu/java/rmi/dgc/DGCImpl.java,
9168         gnu/java/rmi/dgc/DGCImpl_Skel.java,
9169         gnu/java/rmi/dgc/DGCImpl_Stub.java,
9170         gnu/java/rmi/registry/RegistryImpl_Skel.java,
9171         gnu/java/rmi/registry/RegistryImpl_Stub.java,
9172         gnu/java/rmi/server/RMIHashes.java,
9173         gnu/java/rmi/server/RMIObjectInputStream.java,
9174         gnu/java/rmi/server/RMIObjectOutputStream.java,
9175         gnu/java/rmi/server/UnicastConnection.java,
9176         gnu/java/rmi/server/UnicastConnectionManager.java,
9177         gnu/java/rmi/server/UnicastRef.java,
9178         gnu/java/rmi/server/UnicastServer.java,
9179         gnu/java/rmi/server/UnicastServerRef.java,
9180         java/rmi/MarshalledObject.java,
9181         java/rmi/server/RMIClassLoader.java,
9182         java/rmi/server/RemoteObject.java,
9183         java/rmi/server/UnicastRemoteObject.java,
9184         java/security/SecureClassLoader.java: Merged from Classpath.
9185
9186 2002-09-29  Anthony Green  <green@redhat.com>
9187
9188         * java/lang/reflect/UndeclaredThrowableException.java: New file.
9189         Imported from GNU Classpath.
9190         * java/lang/reflect/natProxy.cc: New file.
9191         * java/lang/reflect/InvocationHandler.java: New file.  Imported
9192         from GNU Classpath.
9193         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
9194         Classpath.
9195         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
9196         Classpath.
9197         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
9198         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
9199         New statics.
9200         * gcj/javaprims.h ("Java"): Add new classes.
9201         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
9202         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
9203         java/lang/reflect/Proxy$$ProxyType.h): And this.
9204         (inner_nat_headers): Add these new headers.
9205         (ordinary_java_source_files): Add new files.
9206         (nat_source_files): Add new file.
9207         * Makefile.in: Rebuilt.
9208
9209 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
9210
9211         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
9212         a single configuration.
9213
9214 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9215
9216         * java/util/TimeZone.java (getDSTSavings): New method.
9217         Fixes PR libgcj/7786.
9218
9219 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9220
9221         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
9222         to see if `the_method == 0' before looking up vtable index.
9223         Fixes PR libgcj/7709.
9224
9225 2002-09-25  Tom Tromey  <tromey@redhat.com>
9226
9227         * java/lang/natClassLoader.cc:
9228         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
9229         * resolve.cc: Include NoClassDefFoundError.h, not
9230         ClassNotFoundException.h.
9231         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
9232
9233         * defineclass.cc: Don't include ClassNotFoundException.h.
9234
9235         * resolve.cc: Include StringBuffer.
9236         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
9237
9238         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
9239         allocated but not initialized.
9240
9241 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9242
9243         Fix for PR libgcj/7766:
9244         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
9245         (getNextEntry): Set it.
9246         (closeEntry): Likewise.
9247         (read): Likewise.
9248         (close): Likewise.
9249         (available): Use it.
9250
9251 2002-09-25  Michael Koch  <konqueror@gmx.de>
9252
9253         * java/net/DatagramSocket.java
9254         (DatagramSocket): Initialize new instance variables.
9255         (close): Reset new instance variables.
9256         (getLocalAddress): Remove unneeded SecurityManager usage.
9257         (getLocalPort): Check if socket is already bound.
9258         (isConnected): New method.
9259         (getInetAddress): Implemented.
9260         (getPort): Better Implementation, documentation fixed.
9261         (getRemoteSocketAddress): New method.
9262         * java/net/JarURLConnection.java
9263         (element): Typo fixed.
9264         (getMainAttributes): New method.
9265         (getAttributes): New method (stub only).
9266         (getManifest): New method (stub only).
9267         * java/net/NetPermission.java: Added serialVersionsUID.
9268         * java/net/Socket.java
9269         (connect): Check blocking mode of associated channel,
9270         documentation added.
9271         (getLocalSocketAddress): Better implementation.
9272         (getRemoteSocketAddress): Implemented.
9273         (isBound): New method.
9274         (setSendBufferSize): Documentation added.
9275         * java/net/SocketAddress.java: Added serialVersionsUID.
9276         * java/net/SocketPermission.java: Added serialVersionsUID.
9277         * java/net/URL.java
9278         (URL): Wrap for shorter lines, initialize new instance variables,
9279         documentation added.
9280         (equals): Check new instance variables too.
9281         (getContent): Documentation added.
9282         (getPath): Documentation added.
9283         (getAuthority): New method.
9284         (getHost): Documentation added.
9285         (getPort): Documentation added.
9286         (getDefaultPort): New method.
9287         (getProtocol): Documentation added.
9288         (getUserInfo): Documentation added.
9289         (set): Initialize new instance variables, documentation added.
9290         * java/net/URLStreamHandler.java
9291         (setURL): New method.
9292         * java/net/natPlainDatagramSocketImpl.cc
9293         (connect): Fix exception name.
9294         (disconnect): Fix exception name.
9295
9296 2002-09-25  Michael Koch  <konqueror@gmx.de>
9297
9298         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
9299         * java/nio/channels/DatagramChannel.java:
9300         extends AbstractSelectableChannel
9301         * java/nio/channels/ServerSocketChannel.java:
9302         extends AbstractSelectableChannel
9303         * java/nio/channels/SocketChannel.java:
9304         extends AbstractSelectableChannel
9305         * Makefile.am (ordinary_java_source_files):
9306         java/nio/channels/spi/AbstractSelectableChannel.java added.
9307         * Makefile.in: Regenerated.
9308
9309 2002-09-25  Michael Koch  <konqueror@gmx.de>
9310
9311         * java/net/DatagramSocket.java
9312         (DatagramSocket): Exception documentation added.
9313         (bind): Exception documentation added, addded SecurityManager check,
9314         added SocketAddress type check.
9315         (getSoTimeout): Check impl.
9316         (receive): Fix SecurityManager check, check impl, documentation added.
9317         (send): Check channel mode, documentation added.
9318         (connect): New method.
9319         (disconnect): Implemented.
9320         (getLocalSocketAddress): New method.
9321         (getReceiveBufferSize): Check impl.
9322         (setReuseAddress): Check impl.
9323         (getReuseAddress): Check impl.
9324         (setBroadcast): Check impl.
9325         (getBroadcast): Check impl.
9326         (setTrafficClass): Check impl, Documentation cleared.
9327         (getTrafficClass): Check impl.
9328         (getSendBufferSize): Check impl.
9329         (setReceiveBufferSize): Check impl, documentation added.
9330         (setSendBufferSize): Documentation added.
9331         (setDatagramSocketImplFactory): New method.
9332         * java/net/HttpURLConnection.java
9333         (HTTP_INTERNAL_ERROR): The correct code is 500.
9334         (HTTP_NOT_IMPLEMENTED): Added new constant.
9335         (setFollowRedirects): Documentation added.
9336         (getInstanceFollowRedirects): New method.
9337         (setInstanceFollowRedirects): New method.
9338         (setRequestMethod): Documentation added.
9339         (getResponseCode): Documentation added.
9340         (getResponseMessage): Documentation added.
9341         * java/net/JarURLConnection.java
9342         (JarURLConnection): protected since JDK 1.4.
9343         (getJarEntry): java.io.IOException to IOException, documentation added.
9344         (getJarFile): Documentation added.
9345         * java/net/ServerSocket.java
9346         (ServerSocket): Private to public, exception added.
9347         (ServerSocket): java.io.IOException to IOException, documentation added.
9348         (bind): Check socket address type, documentation added.
9349         (bind): java.io.IOException to IOException, documentation added.
9350         (accept): Documentation added.
9351         (implAccept): Check ch is not non-blocking, documentation added.
9352         (setSoTimeout): Documentation fixed.
9353         (setReceiveBufferSize): Documentation added.
9354         * java/net/Socket.java
9355         (Socket): Documentation added.
9356         (bind): Documentation added.
9357         (connect): Check socket address type, documentation added.
9358         (getRemoteSocketAddress): New method.
9359         (getLocalSocketAddress): New method.
9360         (setSoLinger): Documentation added.
9361         (getReuseAddress): New method.
9362         (setReuseAddress): New method.
9363         (getTrafficClass): New method.
9364         (setTrafficClass): New method.
9365         * java/net/URLStreamHandler.java
9366         (openConnection): java.io.IOException to IOException.
9367         (parseURL): Documentation added.
9368         (sameFile): public to protected, documentation added.
9369         (setURL): Documentation added.
9370         * java/nio/IllegalBlockingModeException.java: New file.
9371         * Makefile.am (ordinary_java_source_files):
9372         added java/nio/IllegalBlockingModeException.java
9373         * Makefile.in: Regenerated.
9374
9375 2002-09-25  Michael Koch  <konqueror@gmx.de>
9376
9377         * java/net/DatagramPacket
9378         (DatagramPacket): Exception documentation added.
9379         (setData): Likewise.
9380         (setSocketAddress): Likewise.
9381         * java/net/DatagramSocketImpl.java
9382         (peek): Documentation addded.
9383         (peekData): Documentation addded.
9384         (send): Documentation addded.
9385         (receive): Documentation addded.
9386         (connect): New method.
9387         (disconnect): New method.
9388         (joinGroup): New abstract method.
9389         (leaveGroup): New abstract method.
9390         * java/net/InetSocketAddress.java
9391         (InetSocketAddress): Documentation added.
9392         (equals): final keyword added.
9393         (getAddress): final keyword added.
9394         (getHostName): final keyword added.
9395         (getPort): final keyword added.
9396         (hashCode): final keyword added.
9397         (isUnresolved): final keyword added.
9398         * java/net/MulticastSocket.java
9399         (MulticastSocket): Documentation added.
9400         (MulticastSocket): New method.
9401         (joinGroup): Documentation added.
9402         (joinGroup): New method.
9403         (leaveGroup): Documentation added.
9404         (leaveGroup): New method.
9405         (send): Documentation added.
9406         * java/net/NetworkInterface.java
9407         (getByName): Documentation added.
9408         (getByInetAddress): Documentation added.
9409         (getNetworkInterfaces): Documentation added.
9410         * java/net/PlainDatagramSocketImpl.java
9411         (connect): New method.
9412         (disconnect): New method.
9413         * java/net/SocketImpl.java
9414         (create): Documentation added.
9415         (shutdownInput): Convert public to protected, as it always was.
9416         (shutdownOutput): Convert public to protected, as it always was.
9417         * java/net/SocketOptions.java
9418         (whole file): Reintented.
9419         * java/net/URLClassLoader.java
9420         (URLClassLoader): SecurityManager check added, documentation added.
9421         (findResources): Documentation added.
9422         (findClass): Documentation added.
9423         (newInstance): More correct method arguments.
9424         * java/net/URLConnection.java
9425         (connect): Documentation added.
9426         (getContent): Documentation added.
9427         (getPermission): Documentation added.
9428         (getInputStream): Documentation added.
9429         (getOutputStream): Documentation added.
9430         (setDoInput): Throw correct exception, documentation added.
9431         (setDoOutput): Throw correct exception, documentation added.
9432         (setAllowUserInteraction): Throw correct exception, documentation added.
9433         (setUseCaches): Throw correct exception, documentation added.
9434         (setIfModifiedSince): Throw correct exception, documentation added.
9435         (setRequestProperty): Throw exception, documentation added.
9436         (addRequestProperty): Throw exception, documentation added.
9437         (getRequestProperty): Throw exception, documentation added.
9438         (getRequestProperties): Documentation added.
9439         (setContentHandlerFactory): Documentation added.
9440         (guessContentTypeFromName): protected to public.
9441         (setFileNameMap): Documentation added.
9442         * java/net/URLDecoder.java
9443         (URLDecoder): New method.
9444         (decode): Documentation added.
9445         (whole file): Reindented.
9446         * java/net/URLEncoder.java
9447         (encode): Documentation added.
9448         * java/net/natPlainDatagramSocketImpl.cc
9449         (connect): New method.
9450         (disconnect): New method.
9451         * javax/naming/RefAddr:
9452         (addrType): addrType was never final.
9453         (equals): Fix typo in method name.
9454         * javax/naming/BinaryRefAddr:
9455         (equals): Fix typo in method name.
9456
9457 2002-09-22  Tom Tromey  <tromey@redhat.com>
9458
9459         Fix for PR libgcj/6576:
9460         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
9461         didn't find a given bundle.
9462         (getBundle): Don't require base bundle.
9463         (setParent): Removed old comment.
9464         (tryLocalBundle): Try components even if preceding components were
9465         empty.
9466
9467 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9468
9469         * Makefile.am (all-multi): Fix multilib parallel build.
9470
9471 2002-09-21  Michael Koch  <konqueror@gmx.de>
9472
9473         * java/net/Socket.java
9474         (sendUrgentData): New method.
9475         (getChannel): New method.
9476         * java/net/ServerSocket.java
9477         (getChannel): New method.
9478         (isBound): New method.
9479         * java/net/DatagramSocket.java
9480         (DatagramSocket): Two new methods.
9481         (bind): New method.
9482         (getChannel): New method.
9483         (isBound): New method.
9484         (send): Added newline to to make shorter lines.
9485         * java/net/PlainDatagramSocketImpl.java
9486         (mcastGrp): Added argument.
9487         (join): Use new mcastGrp.
9488         (leave): Use new mcastGrp.
9489         (joinGroup): New method.
9490         (leaveGroup): New method.
9491         * java/net/natPlainDatagramSocketImpl.cc
9492         (mcastGrp): Added argument, no yet really implemented.
9493         (getOption): Added newline for shorter lines.
9494         * java/net/natPlainSocketImpl.cc
9495         (read, setOption, getOption): Added newline for shorter lines.
9496
9497 2002-09-19  Tom Tromey  <tromey@redhat.com>
9498
9499        * java/lang/ClassLoader.java (resolveClass0): Set cause for
9500        newly-created exception.
9501
9502 2002-09-18  Michael Koch  <konqueror@gmx.de>
9503
9504         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9505         java/util/regex/PatternSyntaxException.java:
9506         Merge with classpath, new files.
9507         * Makefile.am (core_java_source_files):
9508         Added java/util/regex/Matcher.java,
9509         java/util/regex/Pattern.java,
9510         java/util/regex/PatternSyntaxException.java
9511         * Makefile.in: Regenerated.
9512         * include/config.h.in: Added HAVE_NET_IF_H.
9513         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
9514         Removed #if 0 ... #endif.
9515
9516 2002-09-17  Michael Koch  <konqueror@gmx.de>
9517
9518         * java/net/natNetworkInterface.cc:
9519         Removed unneed and yet wrong includes.
9520
9521 2002-09-17  Michael Koch  <konqueror@gmx.de>
9522
9523         * java/net/NetworkInterface.java: New file.
9524         * java/net/natNetworkInterface.java: New file.
9525         * configure.in: Added check for net/if.h.
9526         * configure: Regenerated.
9527         * Makefile.am
9528         (ordinary_java_source_files): Added NetworkInterface.java.
9529         (nat_source_files): Added natNetworkInterface.cc.
9530         * Makefile.in: Regenerated.
9531
9532 2002-09-16  Tom Tromey  <tromey@redhat.com>
9533
9534         * java/net/URLClassLoader.java (findClass): Code source for a
9535         class from a jar is not necessarily a jar: URL.
9536
9537 2002-09-16  Michael Koch  <konqueror@gmx.de>
9538
9539         * java/lang/AssertionError.java:
9540         Merge with classpath, fixes HTML.
9541         * java/rmi/server/LogStream.java:
9542         Merge with classpath, fixes some constants.
9543         * java/net/server/RemoteServer.java:
9544         Merge with classpath, adds serialVersionUID.
9545         * javax/naming/BinaryRefAddr.java:
9546         Merge with classpath, s/equal/equals/.
9547         * javax/naming/NamingException.java:
9548         Merge with classpath, fixed typo.
9549         * javax/naming/RefAddr.java:
9550         Merge with classpath, s/equal/equals/.
9551         * java/awt/Toolkit.java:
9552         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
9553         and typo fixed.
9554
9555 2002-09-15  Adam Megacz <adam@xwt.org>
9556
9557         * java/net/natPlainSocketImpl.cc: fixed typo.
9558
9559 2002-09-15  Adam Megacz <adam@xwt.org>
9560
9561         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
9562         which don't work on Win32 (yet).
9563
9564 2002-09-14  Adam Megacz <adam@xwt.org>
9565
9566         * java/net/natPlainDatagramSocket.cc: removed #include
9567         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
9568         * include/win32.h: included definition for IP_TOS to satisfy
9569         natPlainDatagramSocket.cc
9570
9571 2002-09-13  Michael Koch  <konqueror@gmx.de>
9572
9573         * java/net/DatagramPacket.java (DatagramPacket):
9574         Added linebreak for 80 chars per line.
9575         * java/net/JarURLConection.java
9576         (getInputStreami, getJarEntry): Likewise.
9577         * java/net/SocketPErmission.java
9578         (SocketPermission class docu, implies): Likewise.
9579         * java/net/URLClassLoader.java (findResources): Likewise.
9580         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
9581
9582 2002-09-13  Michael Koch  <konqueror@gmx.de>
9583
9584         * java/nio/channels/DatagramChannel.java,
9585         java/nio/channels/ServerSocketChannel.java
9586         java/nio/channels/SocketChannel.java:
9587         New dummy files to make java.net fully JDK 1.4 compatible
9588         * Makefile.am (ordinary_java_source_files): Added
9589         java/net/DatagramSocketImplFactory.java (long forgotten),
9590         java/nio/SocketChannel.java,
9591         java/nio/ServerSocketChannel.java,
9592         java/nio/DatagramChannel.java
9593         * Makefile.in: Regenrated.
9594
9595 2002-09-12  Michael Koch  <konqueror@gmx.de>
9596
9597         * java/net/DatagramSocketImpl.java
9598         (peekData): New method.
9599         * java/net/PlainDatagramSocketImpl.java
9600         (peekData): New method.
9601         * java/net/natPlainDatagramSocketImpl.cc
9602         (peekData): New method.
9603         * java/net/URLConnection
9604         (getPermission): New method.
9605         (addRequestProperty): New method.
9606         (getRequestProperties): New method.
9607         (guessContentTypeFromStream): New method, not really implemented.
9608         (URLConnection): Added/updated documentation.
9609         (connect): Added/updated documentation.
9610         (getURL): Added/updated documentation.
9611         (getContentLength): Added/updated documentation.
9612         (getContentType: Added/updated documentation.
9613         (getContentEncoding): Added/updated documentation.
9614         (getExpiration): Added/updated documentation.
9615         (getDate): Added/updated documentation.
9616         (getLastModified): Added/updated documentation.
9617         (getHeaderField): Added/updated documentation.
9618         (getHeaderFields): Added/updated documentation.
9619         (getHeaderFieldInt): Added/updated documentation.
9620         (getHeaderFieldDate): Added/updated documentation.
9621         (getHeaderFieldKey): Added/updated documentation.
9622         (getContent): Added/updated documentation.
9623         (getInputStream): Added/updated documentation.
9624         (getOutputStream): Added/updated documentation.
9625         (toString): Added/updated documentation.
9626         (setDoInput): Added/updated documentation.
9627         (getDoInput): Added/updated documentation.
9628         (setDoOutput): Added/updated documentation.
9629         (getDoOutput): Added/updated documentation.
9630         (setAllowUserInteraction): Added/updated documentation.
9631         (getAllowUserInteraction): Added/updated documentation.
9632         (setDefaultAllowUserInteraction): Added/updated documentation.
9633         (getDefaultAllowUserInteraction): Added/updated documentation.
9634         (setUseCaches): Added/updated documentation.
9635         (getUseCaches): Added/updated documentation.
9636         (setIfModifiedSince): Added/updated documentation.
9637         (getIfModifiedSince): Added/updated documentation.
9638         (getDefaultUseCaches): Added/updated documentation.
9639         (setDefaultUseCaches): Added/updated documentation.
9640         (setRequestProperty): Added/updated documentation.
9641         (getRequestProperty): Added/updated documentation.
9642         (setDefaultRequestProperty): Added/updated documentation.
9643         (getDefaultRequestProperty): Added/updated documentation.
9644         (setContentHandlerFactory): Added/updated documentation.
9645         (guessContentTypeFromName): Added/updated documentation.
9646         (getFileNameMap): Added/updated documentation.
9647         (setFileNameMap): Added/updated documentation.
9648
9649 2002-09-11  Michael Koch  <konqueror@gmx.de>
9650
9651         * java/net/Socket.java
9652         (Socket): protected to public (since JDK 1.4). Added @specnote.
9653         (bind): New method.
9654         (connect): Two new methods.
9655         (getKeepalive): Get correct socket option.
9656         (setKeepalive): Set correct socket option.
9657         (getOOBInline): New method.
9658         (setOOBInline): New method.
9659         * java/net/ServerSocket.java
9660         (bind): Two new methods.
9661         (getInetAddress): Reimplemented, catch exception.
9662         (getLocalSocketAddress): New method.
9663         (setReuseAddress): New method.
9664         (getReuseAdress): New method.
9665         (setReceiveBufferSize): New method.
9666         (getReceiveBufferSize): New method.
9667         (toString): Made string JDK 1.4 compliant.
9668
9669 2002-09-10  Michael Koch  <konqueror@gmx.de>
9670
9671         * java/net/SocketImpl.java
9672         (connect): New method.
9673         (supportsUrgentData): New method.
9674         (sendUrgentData): New method.
9675         * java/net/PlainSocketImpl.java
9676         (connect): One new method and two new implementation.
9677         (sendUrgentData): New method.
9678         * java/natPlainSocketImpl.cc
9679         (connect): Arguments changed, added support for timeouts.
9680         (getOption): Another __java_boolean to jboolean.
9681
9682 2002-09-07  Adam Megacz <adam@xwt.org>
9683
9684         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9685         definition of IP_TOS.
9686
9687 2002-09-04  Michael Koch  <konqueror@gmx.de>
9688
9689         * java/net/DatagramSocket.java
9690         (DatagramSocket): Added documentation.
9691         (close): Likewise.
9692         (getLocalAddress): Likewise.
9693         (getLocalPort): Likewise.
9694         (receive): Likewise.
9695         (send): Likewise.
9696         (setSoTimeout): Likewise.
9697         (connect): New method.
9698         (disconnect): New method.
9699         (getInetAddress): New method (FIXME)
9700         (getPort): New method.
9701         (setReuseAddress): New method.
9702         (getReuseAddress): New method.
9703         (setBroadcast): New method.
9704         (getBroadcast): New method.
9705         (setTrafficClass): New method.
9706         (getTrafficClass): New method.
9707         * java/net/MulticastSocket.java):
9708         (getTTL): Added @see in documentation.
9709         (setTTL): Added @see in documentation.
9710         (setLoopbackMode): New method.
9711         (getLoopbackMode): New method.
9712         * java/net/PlainSocketImpl.java:
9713         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9714         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9715         * java/net/PlainDatagramSocketImpl.java
9716         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9717         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9718         * java/net/natPlainSocketImpl.cc
9719         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9720         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9721         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9722         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9723         This should also fix SO_KEEPALIVE
9724         * java/net/natPlainDatagramSocketImpl.cc
9725         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9726         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9727         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9728         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9729
9730 2002-09-04  Michael Koch  <konqueror@gmx.de>
9731
9732         * java/net/SocketOptions.java: added static variables to be JDK 1.4
9733         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9734         IP_MULTICAST_LOOP, IP_TOS
9735
9736 2002-09-03  Tom Tromey  <tromey@redhat.com>
9737
9738         * java/lang/Class.h (_getDeclaredMethod): Declare.
9739         (_getMethod): Now private.
9740         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9741         getDeclaredMethod.  Now returns NULL on failure.
9742         * java/lang/Class.java (_getDeclaredMethod): Declare.
9743         (getDeclaredMethod): No longer native; implements access checks.
9744
9745 2002-09-01  Mark Wielaard  <mark@klomp.org>
9746
9747         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9748         (sanitizeStack): Correctly reset unknown and interpreter counters,
9749         detect interpreter runtime frames.
9750         (demangleInterpreterMethod): New method.
9751         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9752         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9753         filling in addrs[].
9754
9755 2002-09-02  Michael Koch  <konqueror@gmx.de>
9756
9757         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9758         re-indented documentation.
9759
9760 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9761
9762         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9763         public, per 1.4 spec.  Fixes PR libgcj/7785.
9764
9765 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
9766
9767         * Makefile.in: Rebuilt.
9768         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9769
9770 2002-08-29  Tom Tromey  <tromey@redhat.com>
9771
9772         * java/net/JarURLConnection.java (getCertificates): New method
9773         from Classpath.
9774         * java/net/URLClassLoader.java (URLClassLoader): Extends
9775         SecureClassLoader.
9776         (definePackage): New method from Classpath.
9777         (getPermissions): Likewise.
9778         (newInstance): Likewise.
9779         (findClass): Construct CodeSource for new class (from Classpath).
9780         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9781         methods.
9782         * java/net/URL.java (getUserInfo): New method.
9783         (set(String,String,int,String,String,String,String,String)): New
9784         method.
9785         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9786         (shutdownInput, shutdownOutput): Declare.
9787         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9788         Define.
9789         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9790         (getOption): Likewise.
9791         (shutdownInput): New method.
9792         (shutdownOutput): Likewise.
9793         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9794         keepalive.
9795         (getOption): Likewise.
9796         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9797         * java/net/Socket.java (setKeepAlive): New method.
9798         (getKeepAlive): Likewise.
9799         (shutdownInput, shutdownOutput): New methods.
9800
9801 2002-08-29  Michael Koch  <konqueror@gmx.de>
9802
9803         * java/net/DatagramPacket.java: updated to JDK 1.4 API
9804         new methods are:
9805         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9806           address),
9807         DatagramPacket(byte[] buf, int length, SocketAddress address),
9808         void setSocketAddress(SocketAddress address)
9809         public SocketAddress getSocketAddress()
9810
9811 2002-08-29  Tom Tromey  <tromey@redhat.com>
9812
9813         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9814         ftruncate is missing.
9815         * configure, include/config.h.in: Rebuilt.
9816         * acconfig.h (HAVE_FTRUNCATE): Mention.
9817         * configure.in: Check for ftruncate.
9818
9819 2002-08-29  Tom Tromey  <tromey@redhat.com>
9820
9821         * include/jvm.h (struct _Jv_frame_info): New structure.
9822         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9823         java-interp.h.
9824         (lookupInterp): New method.
9825         (getAddrAsString): Use _Jv_frame_info.
9826         (dladdrLookup): Likewise.
9827         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9828         interpreted frame.
9829         (lookupInterp): Declare.
9830         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9831         (fillInStackTrace): Collect information on interpreted frames.
9832         Use _Jv_frame_info.
9833         * interpret.cc: Include Thread.h.
9834         (run): Create and push _Jv_MethodChain object.
9835         (_Jv_EndOfInterpreter): New global.
9836         * java/lang/Thread.java (interp_frame): New field.
9837         * include/java-interp.h (struct _Jv_MethodChain): New structure.
9838         Include NameFinder.h.
9839
9840 2002-08-28  Tom Tromey  <tromey@redhat.com>
9841
9842         * java/lang/Class.h: Include Package.h.
9843         (Class::getProtectionDomain): Declare.
9844         (Class::getPackage): Declare.
9845
9846 2002-08-28  Michael Koch <konqueror@gmx.de>
9847
9848         * java/net/InetSocketAddress.java: Added some documentation and argument
9849         checks for the port numbers.
9850         * java/net/DatagramSocketImplFactory.java: New file.
9851
9852 2002-08-28  Michael Koch <konqueror@gmx.de>
9853
9854         * java/net/Authenticator.java: added some documentation.
9855
9856 2002-08-27  Tom Tromey  <tromey@redhat.com>
9857
9858         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9859         class.
9860         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9861
9862 2002-08-27  Michael Koch <konqueror@gmx.de>
9863
9864         * java/net/BindException.java,
9865         java/net/JarURLConnection.java,
9866         java/net/FileNameMap.java,
9867         java/net/HttpURLConnection.java,
9868         java/net/InetSocketAddress.java,
9869         java/net/DatagramPacket.java,
9870         java/net/DatagramSocket.java,
9871         java/net/DatagramSocketImpl.java,
9872         java/net/MulticastSocket.java,
9873         java/net/PasswordAuthentication.java,
9874         java/net/ServerSocket.java,
9875         java/net/Socket.java,
9876         java/net/URLClassLoader.java,
9877         java/net/URLConnection.java: add/update of some @since/@deprecated
9878
9879 2002-08-27  Tony Kimball <alk@pobox.com>
9880             Tom Tromey  <tromey@redhat.com>
9881
9882         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9883         define.
9884         (::close): Removed.
9885         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9886         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9887         (::close): Removed.
9888         (PlainSocketImpl::close): Use NATIVE_CLOSE.
9889         * include/win32.h (getcwd): Removed declaration.  Include io.h.
9890
9891 2002-08-25  Adam Megacz <adam@xwt.org>
9892
9893         * include/win32.h (getcwd): copied function declaration as
9894         temporary fix for header confusion.
9895
9896 2002-08-24  Mark Wielaard <mark@klomp.org>
9897
9898         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9899         (core_java_source_files): Add VMThrowable.java and NameFinder.java
9900         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9901         and natNameFinder.cc.
9902         * Makefile.in: Regenerate.
9903         * prims.cc: Use trace_enabled from VMThrowable.
9904         * name-finder.cc: Removed.
9905         * gcj/javaprims.h: Add class VMThrowable.
9906         * gnu/gcj/runtime/NameFinder.java: New file.
9907         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9908         * include/name-finder.h: Removed.
9909         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9910         method stackTraceString().
9911         (printStackTrace (PrintWriter)): Likewise.
9912         (stackTraceString): Complete rewrite of old printStackTrace using
9913         StringBuffer.
9914         (stackTraceStringBuffer): New helper method for stackTraceString().
9915         (fillInStackTrace): Delegate to VMTrowable.
9916         (getStackTrace): Likewise.
9917         (getStackTrace0): Removed.
9918         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9919         (setStackTrace): Copy given array.
9920         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9921         * java/lang/VMThrowable.java: New class.
9922         * java/lang/natVMThrowable.cc: New file.
9923
9924 2003-08-23  Michael Koch  <konqueror@gmx.de>
9925
9926         * java/net/URLConnection.java,
9927         java/netJarURLConnection.java,
9928         gnu/gcj/protocol/core/Connection.java,
9929         gnu/gcj/protocol/file/Connection.java,
9930         gnu/gcj/protocol/http/Connection.java: Added implementation of
9931         getHeaderFields().
9932
9933 2002-08-22  Tom Tromey  <tromey@redhat.com>
9934
9935         * gij.cc (help): Document -cp and -classpath.
9936         (main): Handle -classpath.
9937
9938 2002-08-21  Tom Tromey  <tromey@redhat.com>
9939
9940         * Makefile.in: Rebuilt.
9941         * Makefile.am (ordinary_java_source_files): Added
9942         SocketAddress.java, InetSocketAddress.java.
9943         * java/net/PortUnreachableException.java: Merged with Classpath.
9944         * java/net/SocketTimeoutException.java: Likewise.
9945         * java/net/URISyntaxException.java: Likewise.
9946         * java/net/SocketAddress.java: New class from Classpath.
9947         * java/net/InetSocketAddress.java: Likewise.
9948
9949 2003-08-21  Michael Koch  <konqueror@gmx.de>
9950
9951         * java/net/Authenticator.java: updated JDK 1.4
9952         * java/net/ContentHandler.java: updated JDK 1.4
9953
9954 2002-08-20  Michael Koch  <konqueror@gmx.de>
9955
9956         * java/net/URISyntaxException.java: New file.
9957         * java/net/SocketTimeoutException.java: New file.
9958         * java/net/PortUnreachableException.java: New file.
9959         * Makefile.am: Updated.
9960         * Makefile.in: Rebuilt.
9961
9962 2002-08-18  Mark Wielaard  <mark@klomp.org>
9963
9964         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9965         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9966         MessageDigestSpi (fixes Classpath bug #783).
9967
9968 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9969
9970         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9971         (startProcess): Allocate path for chdir in async-signal-safe way.
9972
9973 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9974
9975         Fix for PR libgcj/7570 and PR libgcj/7578:
9976         * java/lang/natPosixProcess.cc: Include java/io/File.h.
9977         (startProcess): Handle new `dir' argument.
9978         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9979         argument.
9980         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9981         argument.
9982         (startProcess): Likewise.
9983         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9984         argument.
9985         * java/lang/Runtime.java (execInternal): Added `dir' argument.
9986         (exec): Don't create new environment if ENV==null.  Pass DIR to
9987         execInternal.
9988         * java/lang/natRuntime.cc: Include java/io/File.h.
9989         (execInternal): Added `dir' argument.
9990
9991 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
9992
9993         * java/io/RandomAccessFile.java (skipBytes): Return number of
9994         bytes skipped.
9995
9996 2002-08-01  Mark Wielaard  <mark@klomp.org>
9997
9998         Reenable patch since shared library troubles on powerpc are solved:
9999         * gnu/java/security/provider/Gnu.java: Reference all implementation
10000         classes by using Class.getName().
10001         * gnu/java/security/der/DEREncodingException.java,
10002         gnu/java/security/provider/DERReader.java,
10003         gnu/java/security/provider/DERWriter.java,
10004         gnu/java/security/provider/DSAKeyPairGenerator.java,
10005         gnu/java/security/provider/DSAParameterGenerator.java,
10006         gnu/java/security/provider/DSAParameters.java,
10007         gnu/java/security/provider/DSASignature.java,
10008         gnu/java/security/provider/GnuDSAPrivateKey.java,
10009         gnu/java/security/provider/GnuDSAPublicKey.java,
10010         gnu/java/security/provider/MD5.java,
10011         gnu/java/security/util/Prime.java: New classes
10012         * Makefile.am (ordinary_java_source_files): Add above files.
10013         * Makefile.in: Regenerate.
10014         * gnu/java/security/provider/DefaultPolicy.java
10015         (getPermissions): Don't maintain static class variable of Permissions.
10016         * gnu/java/security/provider/SHA.java
10017         (engineUpdate): algorithm change.
10018         (engineDigest): algorithm change.
10019
10020 2002-08-09  Mark Wielaard  <mark@klomp.org>
10021
10022         * java/awt/image/MemoryImageSource.java: Change constructor to take
10023         int[] not byte[].
10024         * java/awt/Graphics2D.java: Uncomment methods that can now be
10025         compiled.
10026         * java/awt/GridBagLayout.java: New stub implementation.
10027         * javax/swing/text/html/HTML.java: Stub implementation.
10028         * javax/swing/text/html/parser/ParserDelegator.java: New stub
10029         implementation.
10030
10031         * Makefile.am: Add new files.
10032         * Makefile.in: Rebuilt.
10033
10034 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10035
10036         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
10037         methods in Graphics2D.
10038
10039 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10040
10041         AWT/Swing merge from GNU Classpath.
10042
10043         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
10044         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
10045         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
10046         java/awt/color/ProfileDataException.java,
10047         java/awt/CompositeContext.java, java/awt/Composite.java,
10048         java/awt/ContainerOrderFocusTraversalPolicy.java,
10049         java/awt/datatransfer/FlavorTable.java,
10050         java/awt/DefaultFocusTraversalPolicy.java,
10051         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
10052         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
10053         java/awt/dnd/DragGestureListener.java,
10054         java/awt/dnd/DragGestureRecognizer.java,
10055         java/awt/dnd/DragSourceAdapter.java,
10056         java/awt/dnd/DragSourceContext.java,
10057         java/awt/dnd/DragSourceDragEvent.java,
10058         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
10059         java/awt/dnd/DragSourceListener.java,
10060         java/awt/dnd/DragSourceMotionListener.java,
10061         java/awt/dnd/DropTarget.java,
10062         java/awt/dnd/InvalidDnDOperationException.java,
10063         java/awt/dnd/peer/DragSourceContextPeer.java,
10064         java/awt/event/AWTEventListenerProxy.java,
10065         java/awt/event/MouseWheelEvent.java,
10066         java/awt/event/MouseWheelListener.java,
10067         java/awt/event/WindowFocusListener.java,
10068         java/awt/event/WindowStateListener.java,
10069         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
10070         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
10071         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
10072         java/awt/geom/FlatteningPathIterator.java,
10073         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
10074         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
10075         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
10076         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
10077         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
10078         java/awt/image/ImagingOpException.java,
10079         java/awt/image/RasterFormatException.java,
10080         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
10081         java/awt/image/VolatileImage.java,
10082         java/awt/image/WritableRenderedImage.java,
10083         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
10084         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
10085         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
10086         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
10087         java/awt/PageAttributes.java, java/awt/print/Book.java,
10088         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
10089         java/awt/print/Paper.java, java/awt/print/Printable.java,
10090         java/awt/print/PrinterAbortException.java,
10091         java/awt/print/PrinterException.java,
10092         java/awt/print/PrinterGraphics.java,
10093         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
10094         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
10095         java/awt/Stroke.java, java/awt/TexturePaint.java,
10096         javax/accessibility/AccessibleAction.java,
10097         javax/accessibility/AccessibleBundle.java,
10098         javax/accessibility/AccessibleComponent.java,
10099         javax/accessibility/AccessibleContext.java,
10100         javax/accessibility/AccessibleEditableText.java,
10101         javax/accessibility/AccessibleExtendedComponent.java,
10102         javax/accessibility/AccessibleExtendedTable.java,
10103         javax/accessibility/AccessibleHyperlink.java,
10104         javax/accessibility/AccessibleHypertext.java,
10105         javax/accessibility/AccessibleIcon.java,
10106         javax/accessibility/Accessible.java,
10107         javax/accessibility/AccessibleKeyBinding.java,
10108         javax/accessibility/AccessibleRelation.java,
10109         javax/accessibility/AccessibleRelationSet.java,
10110         javax/accessibility/AccessibleResourceBundle.java,
10111         javax/accessibility/AccessibleRole.java,
10112         javax/accessibility/AccessibleSelection.java,
10113         javax/accessibility/AccessibleState.java,
10114         javax/accessibility/AccessibleStateSet.java,
10115         javax/accessibility/AccessibleTable.java,
10116         javax/accessibility/AccessibleTableModelChange.java,
10117         javax/accessibility/AccessibleText.java,
10118         javax/accessibility/AccessibleValue.java,
10119         javax/swing/AbstractAction.java,
10120         javax/swing/AbstractButton.java,
10121         javax/swing/AbstractCellEditor.java,
10122         javax/swing/AbstractListModel.java,
10123         javax/swing/AbstractSet.java, javax/swing/Action.java,
10124         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
10125         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
10126         javax/swing/border/CompoundBorder.java,
10127         javax/swing/border/EmptyBorder.java,
10128         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
10129         javax/swing/border/LineBorder.java,
10130         javax/swing/border/MatteBorder.java,
10131         javax/swing/border/TitledBorder.java,
10132         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
10133         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
10134         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
10135         javax/swing/CellRendererPane.java,
10136         javax/swing/colorchooser/AbstractColorChooserPanel.java,
10137         javax/swing/colorchooser/ColorChooserComponentFactory.java,
10138         javax/swing/colorchooser/ColorSelectionModel.java,
10139         javax/swing/colorchooser/DefaultColorSelectionModel.java,
10140         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
10141         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
10142         javax/swing/DefaultBoundedRangeModel.java,
10143         javax/swing/DefaultButtonModel.java,
10144         javax/swing/DefaultCellEditor.java,
10145         javax/swing/DefaultCellRenderer.java,
10146         javax/swing/DefaultComboBoxModel.java,
10147         javax/swing/DefaultDesktopManager.java,
10148         javax/swing/DefaultFocusManager.java,
10149         javax/swing/DefaultListCellRenderer.java,
10150         javax/swing/DefaultListModel.java,
10151         javax/swing/DefaultListSelectionModel.java,
10152         javax/swing/DefaultSingleSelectionModel.java,
10153         javax/swing/DesktopManager.java,
10154         javax/swing/event/AncestorEvent.java,
10155         javax/swing/event/AncestorListener.java,
10156         javax/swing/event/CaretEvent.java,
10157         javax/swing/event/CaretListener.java,
10158         javax/swing/event/CellEditorListener.java,
10159         javax/swing/event/ChangeEvent.java,
10160         javax/swing/event/ChangeListener.java,
10161         javax/swing/event/DocumentEvent.java,
10162         javax/swing/event/DocumentListener.java,
10163         javax/swing/event/EventListenerList.java,
10164         javax/swing/event/HyperlinkEvent.java,
10165         javax/swing/event/HyperlinkListener.java,
10166         javax/swing/event/InternalFrameAdapter.java,
10167         javax/swing/event/InternalFrameEvent.java,
10168         javax/swing/event/InternalFrameListener.java,
10169         javax/swing/event/ListDataEvent.java,
10170         javax/swing/event/ListDataListener.java,
10171         javax/swing/event/ListSelectionEvent.java,
10172         javax/swing/event/ListSelectionListener.java,
10173         javax/swing/event/MenuDragMouseEvent.java,
10174         javax/swing/event/MenuDragMouseListener.java,
10175         javax/swing/event/MenuEvent.java,
10176         javax/swing/event/MenuKeyEvent.java,
10177         javax/swing/event/MenuKeyListener.java,
10178         javax/swing/event/MenuListener.java,
10179         javax/swing/event/MouseInputAdapter.java,
10180         javax/swing/event/MouseInputListener.java,
10181         javax/swing/event/PopupMenuEvent.java,
10182         javax/swing/event/PopupMenuListener.java,
10183         javax/swing/event/SwingPropertyChangeSupport.java,
10184         javax/swing/event/TableColumnModelEvent.java,
10185         javax/swing/event/TableColumnModelListener.java,
10186         javax/swing/event/TableModelEvent.java,
10187         javax/swing/event/TableModelListener.java,
10188         javax/swing/event/TreeExpansionEvent.java,
10189         javax/swing/event/TreeExpansionListener.java,
10190         javax/swing/event/TreeModelEvent.java,
10191         javax/swing/event/TreeModelListener.java,
10192         javax/swing/event/TreeSelectionEvent.java,
10193         javax/swing/event/TreeSelectionListener.java,
10194         javax/swing/event/TreeWillExpandListener.java,
10195         javax/swing/event/UndoableEditEvent.java,
10196         javax/swing/event/UndoableEditListener.java,
10197         javax/swing/filechooser/FileFilter.java,
10198         javax/swing/filechooser/FileSystemView.java,
10199         javax/swing/filechooser/FileView.java,
10200         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
10201         javax/swing/Icon.java, javax/swing/ImageIcon.java,
10202         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
10203         javax/swing/JApplet.java, javax/swing/JButton.java,
10204         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
10205         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
10206         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
10207         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
10208         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
10209         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
10210         javax/swing/JLayeredPane.java, javax/swing/JList.java,
10211         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
10212         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
10213         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
10214         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
10215         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
10216         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
10217         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
10218         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
10219         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
10220         javax/swing/JTextField.java, javax/swing/JTextPane.java,
10221         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
10222         javax/swing/JToolTip.java, javax/swing/JTree.java,
10223         javax/swing/JViewport.java, javax/swing/JWindow.java,
10224         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
10225         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
10226         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
10227         javax/swing/MenuSelectionManager.java,
10228         javax/swing/MutableComboBoxModel.java,
10229         javax/swing/OverlayLayout.java,
10230         javax/swing/plaf/ActionMapUIResource.java,
10231         javax/swing/plaf/basic/BasicBorders.java,
10232         javax/swing/plaf/basic/BasicButtonUI.java,
10233         javax/swing/plaf/basic/BasicCheckBoxUI.java,
10234         javax/swing/plaf/basic/BasicDefaults.java,
10235         javax/swing/plaf/basic/BasicGraphicsUtils.java,
10236         javax/swing/plaf/basic/BasicIconFactory.java,
10237         javax/swing/plaf/basic/BasicLabelUI.java,
10238         javax/swing/plaf/basic/BasicListUI.java,
10239         javax/swing/plaf/basic/BasicLookAndFeel.java,
10240         javax/swing/plaf/basic/BasicOptionPaneUI.java,
10241         javax/swing/plaf/basic/BasicPanelUI.java,
10242         javax/swing/plaf/basic/BasicRadioButtonUI.java,
10243         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10244         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10245         javax/swing/plaf/basic/BasicTextUI.java,
10246         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10247         javax/swing/plaf/basic/BasicTreeUI.java,
10248         javax/swing/plaf/basic/BasicViewportUI.java,
10249         javax/swing/plaf/BorderUIResource.java,
10250         javax/swing/plaf/ButtonUI.java,
10251         javax/swing/plaf/ColorChooserUI.java,
10252         javax/swing/plaf/ColorUIResource.java,
10253         javax/swing/plaf/ComboBoxUI.java,
10254         javax/swing/plaf/ComponentInputMapUIResource.java,
10255         javax/swing/plaf/ComponentUI.java,
10256         javax/swing/plaf/DesktopIconUI.java,
10257         javax/swing/plaf/DesktopPaneUI.java,
10258         javax/swing/plaf/DimensionUIResource.java,
10259         javax/swing/plaf/FileChooserUI.java,
10260         javax/swing/plaf/FontUIResource.java,
10261         javax/swing/plaf/IconUIResource.java,
10262         javax/swing/plaf/InputMapUIResource.java,
10263         javax/swing/plaf/InsetsUIResource.java,
10264         javax/swing/plaf/InternalFrameUI.java,
10265         javax/swing/plaf/LabelUI.java,
10266         javax/swing/plaf/ListUI.java,
10267         javax/swing/plaf/MenuBarUI.java,
10268         javax/swing/plaf/MenuItemUI.java,
10269         javax/swing/plaf/OptionPaneUI.java,
10270         javax/swing/plaf/PanelUI.java,
10271         javax/swing/plaf/PopupMenuUI.java,
10272         javax/swing/plaf/ProgressBarUI.java,
10273         javax/swing/plaf/RootPaneUI.java,
10274         javax/swing/plaf/ScrollBarUI.java,
10275         javax/swing/plaf/ScrollPaneUI.java,
10276         javax/swing/plaf/SeparatorUI.java,
10277         javax/swing/plaf/SliderUI.java,
10278         javax/swing/plaf/SplitPaneUI.java,
10279         javax/swing/plaf/TabbedPaneUI.java,
10280         javax/swing/plaf/TableHeaderUI.java,
10281         javax/swing/plaf/TableUI.java,
10282         javax/swing/plaf/TextUI.java,
10283         javax/swing/plaf/ToolBarUI.java,
10284         javax/swing/plaf/ToolTipUI.java,
10285         javax/swing/plaf/TreeUI.java,
10286         javax/swing/plaf/UIResource.java,
10287         javax/swing/plaf/ViewportUI.java,
10288         javax/swing/ProgressMonitorInputStream.java,
10289         javax/swing/ProgressMonitor.java,
10290         javax/swing/Renderer.java,
10291         javax/swing/RepaintManager.java,
10292         javax/swing/RootPaneContainer.java,
10293         javax/swing/Scrollable.java,
10294         javax/swing/ScrollPaneConstants.java,
10295         javax/swing/ScrollPaneLayout.java,
10296         javax/swing/SingleSelectionModel.java,
10297         javax/swing/SizeRequirements.java,
10298         javax/swing/SizeSequence.java,
10299         javax/swing/SwingConstants.java,
10300         javax/swing/SwingUtilities.java,
10301         javax/swing/table/AbstractTableModel.java,
10302         javax/swing/table/DefaultTableCellRenderer.java,
10303         javax/swing/table/DefaultTableColumnModel.java,
10304         javax/swing/table/DefaultTableModel.java,
10305         javax/swing/table/TableCellEditor.java,
10306         javax/swing/table/TableCellRenderer.java,
10307         javax/swing/table/TableColumn.java,
10308         javax/swing/table/TableColumnModel.java,
10309         javax/swing/table/TableModel.java,
10310         javax/swing/text/AbstractDocument.java,
10311         javax/swing/text/AttributeSet.java,
10312         javax/swing/text/BadLocationException.java,
10313         javax/swing/text/Caret.java,
10314         javax/swing/text/CharacterIterator.java,
10315         javax/swing/text/ComponentView.java,
10316         javax/swing/text/DefaultCaret.java,
10317         javax/swing/text/DefaultEditorKit.java,
10318         javax/swing/text/Document.java,
10319         javax/swing/text/EditorKit.java,
10320         javax/swing/text/Element.java,
10321         javax/swing/text/GapContent.java,
10322         javax/swing/text/JTextComponent.java,
10323         javax/swing/text/Keymap.java,
10324         javax/swing/text/MutableAttributeSet.java,
10325         javax/swing/text/PlainDocument.java,
10326         javax/swing/text/PlainEditorKit.java,
10327         javax/swing/text/Position.java,
10328         javax/swing/text/Segment.java,
10329         javax/swing/text/StyledDocument.java,
10330         javax/swing/text/StyledEditorKit.java,
10331         javax/swing/text/Style.java,
10332         javax/swing/text/TextAction.java,
10333         javax/swing/text/ViewFactory.java,
10334         javax/swing/text/View.java,
10335         javax/swing/Timer.java,
10336         javax/swing/ToggleButtonModel.java,
10337         javax/swing/ToolTipManager.java,
10338         javax/swing/tree/AbstractLayoutCache.java,
10339         javax/swing/tree/DefaultMutableTreeNode.java,
10340         javax/swing/tree/DefaultTreeCellEditor.java,
10341         javax/swing/tree/DefaultTreeCellRenderer.java,
10342         javax/swing/tree/DefaultTreeModel.java,
10343         javax/swing/tree/DefaultTreeSelectionModel.java,
10344         javax/swing/tree/ExpandVetoException.java,
10345         javax/swing/tree/FixedHeightLayoutCache.java,
10346         javax/swing/tree/MutableTreeNode.java,
10347         javax/swing/tree/RowMapper.java,
10348         javax/swing/tree/TreeCellEditor.java,
10349         javax/swing/tree/TreeCellRenderer.java,
10350         javax/swing/tree/TreeModel.java,
10351         javax/swing/tree/TreeNode.java,
10352         javax/swing/tree/TreePath.java,
10353         javax/swing/tree/TreeSelectionModel.java,
10354         javax/swing/tree/VariableHeightLayoutCache.java,
10355         javax/swing/UIDefaults.java,
10356         javax/swing/UIManager.java,
10357         javax/swing/undo/AbstractUndoableEdit.java,
10358         javax/swing/undo/CannotRedoException.java,
10359         javax/swing/undo/CannotUndoException.java,
10360         javax/swing/undo/CompoundEdit.java,
10361         javax/swing/undo/StateEditable.java,
10362         javax/swing/undo/StateEdit.java,
10363         javax/swing/undo/UndoableEdit.java,
10364         javax/swing/undo/UndoableEditSupport.java,
10365         javax/swing/undo/UndoManager.java,
10366         javax/swing/UnsupportedLookAndFeelException.java,
10367         javax/swing/ViewportLayout.java,
10368         javax/swing/WindowConstants.java: New files, from GNU Classpath.
10369
10370         * java/awt/ActiveEvent.java,
10371         java/awt/Adjustable.java, java/awt/AWTError.java,
10372         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
10373         java/awt/AWTException.java, java/awt/AWTPermission.java,
10374         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
10375         java/awt/Color.java, java/awt/Component.java,
10376         java/awt/ComponentOrientation.java, java/awt/Container.java,
10377         java/awt/datatransfer/MimeTypeParseException.java,
10378         java/awt/datatransfer/Transferable.java,
10379         java/awt/datatransfer/UnsupportedFlavorException.java,
10380         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
10381         java/awt/event/ActionListener.java,
10382         java/awt/event/AdjustmentEvent.java,
10383         java/awt/event/AdjustmentListener.java,
10384         java/awt/event/AWTEventListener.java,
10385         java/awt/event/ComponentAdapter.java,
10386         java/awt/event/ComponentEvent.java,
10387         java/awt/event/ComponentListener.java,
10388         java/awt/event/ContainerAdapter.java,
10389         java/awt/event/ContainerEvent.java,
10390         java/awt/event/ContainerListener.java,
10391         java/awt/event/FocusAdapter.java,
10392         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
10393         java/awt/event/HierarchyBoundsAdapter.java,
10394         java/awt/event/HierarchyBoundsListener.java,
10395         java/awt/event/HierarchyEvent.java,
10396         java/awt/event/HierarchyListener.java,
10397         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
10398         java/awt/event/InputMethodListener.java,
10399         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
10400         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
10401         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
10402         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
10403         java/awt/event/MouseListener.java,
10404         java/awt/event/MouseMotionAdapter.java,
10405         java/awt/event/MouseMotionListener.java,
10406         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
10407         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
10408         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
10409         java/awt/event/WindowListener.java, java/awt/Font.java,
10410         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
10411         java/awt/geom/Ellipse2D.java,
10412         java/awt/geom/IllegalPathStateException.java,
10413         java/awt/geom/Line2D.java,
10414         java/awt/geom/NoninvertibleTransformException.java,
10415         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
10416         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
10417         java/awt/geom/RoundRectangle2D.java,
10418         java/awt/GraphicsConfiguration.java,
10419         java/awt/IllegalComponentStateException.java,
10420         java/awt/image/IndexColorModel.java,
10421         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
10422         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
10423         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
10424         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
10425         java/awt/MenuItem.java, java/awt/PaintContext.java,
10426         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
10427         java/awt/Polygon.java, java/awt/PrintGraphics.java,
10428         java/awt/PrintJob.java, java/awt/Rectangle.java,
10429         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
10430         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
10431         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
10432
10433         * java/awt/im/spi/InputMethod.java,
10434         java/awt/im/spi/InputMethodContext.java,
10435         java/awt/im/spi/InputMethodDescriptor.java,
10436         java/awt/image/renderable/ContextualRenderedImageFactory.java,
10437         java/awt/image/renderable/ParameterBlock.java,
10438         java/awt/image/renderable/RenderContext.java,
10439         java/awt/image/renderable/RenderableImage.java,
10440         java/awt/image/renderable/RenderableImageOp.java,
10441         java/awt/image/renderable/RenderableImageProducer.java,
10442         java/awt/image/renderable/RenderedImageFactory.java: New files from
10443         classpath.
10444
10445         * gnu/java/awt/EventModifier.java,
10446         gnu/java/awt/image/ImageDecoder.java,
10447         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
10448
10449         * gnu/awt/xlib/XGraphicsConfiguration.java,
10450         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
10451         API.
10452
10453         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
10454         GNU Classpath.
10455
10456         * Makefile.am: Add new files.
10457         * Makefile.in: Rebuilt.
10458
10459 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10460
10461         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
10462         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
10463         findResource, getResources, findResources): Add javadoc from classpath.
10464         (getSystemResources): Implemented.
10465
10466 2002-08-01  Mark Wielaard  <mark@klomp.org>
10467
10468         Revert patch that breaks libgcj shared library on powerpc:
10469         * gnu/java/security/provider/Gnu.java: Reverse referencing all
10470         implementation classes by using Class.getName(). Uses Strings again.
10471         * gnu/java/security/der/DEREncodingException.java,
10472         gnu/java/security/provider/DERReader.java,
10473         gnu/java/security/provider/DERWriter.java,
10474         gnu/java/security/provider/DSAKeyPairGenerator.java,
10475         gnu/java/security/provider/DSAParameterGenerator.java,
10476         gnu/java/security/provider/DSAParameters.java,
10477         gnu/java/security/provider/DSASignature.java,
10478         gnu/java/security/provider/GnuDSAPrivateKey.java,
10479         gnu/java/security/provider/GnuDSAPublicKey.java,
10480         gnu/java/security/provider/MD5.java,
10481         gnu/java/security/util/Prime.java: Removed.
10482         * Makefile.am (ordinary_java_source_files): Remove above files.
10483         * Makefile.in: Regenerate.
10484         * gnu/java/security/provider/DefaultPolicy.java
10485         (getPermissions): Revert to maintaining static class variable of
10486         Permissions.
10487         * gnu/java/security/provider/SHA.java
10488         (engineUpdate): Revert algorithm change.
10489         (engineDigest): Revert algorithm change.
10490
10491 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
10492
10493         * configure.host: Add SH support.
10494         * sysdep/sh/locks.h: New file.
10495
10496 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10497
10498         * java/awt/Frame.java (Frame): Remove println calls.
10499
10500 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
10501
10502         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
10503         * configure: Rebuilt.
10504
10505 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
10506
10507         * sysdep/powerpc/locks.h: Formatting.
10508         (_LARX): Define.
10509         (_STCX): Define.
10510         (compare_and_swap): Use _LARX and _STCX.
10511         (compare_and_swap_release): Likewise.
10512
10513 2002-07-26  Tom Tromey  <tromey@redhat.com>
10514
10515         * java/net/Authenticator.java: New version from Classpath.
10516         * java/net/DatagramSocketImpl.java: New version from Classpath.
10517
10518 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
10519
10520         * configure.host: Add powerpc64*-* entry.
10521
10522 2002-07-26  Tom Tromey  <tromey@redhat.com>
10523
10524         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
10525         fcntl.h.
10526
10527 2002-07-24  Tom Tromey  <tromey@redhat.com>
10528
10529         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
10530         argument to _load.
10531
10532 2002-07-24  Tom Tromey  <tromey@redhat.com>
10533             Tony Kimball <alk@pobox.com>
10534
10535         * java/io/natFileDescriptorWin32.cc (setLength): New method.
10536         * java/io/natFileDescriptorPosix.cc (setLength): New method.
10537         * java/io/RandomAccessFile.java (setLength): New method.
10538         * java/io/natFileDescriptorEcos.cc (setLength): New method.
10539         * java/io/FileDescriptor.java (setLength): New method.
10540
10541 2002-07-24  Mark Wielaard  <mark@klomp.org>
10542
10543         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
10544         * java/io/ObjectInputStream.java (setBooleanField): Before setting
10545         field call setAccessible(true).
10546         (setByteField): Likewise.
10547         (setCharField): Likewise.
10548         (setDoubleField): Likewise.
10549         (setFloatField): Likewise.
10550         (setIntField): Likewise.
10551         (setLongField): Likewise.
10552         (setShortField): Likewise.
10553         (setObjectField): Likewise.
10554
10555 2002-07-24  Tom Tromey  <tromey@redhat.com>
10556
10557         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
10558         use toString() to format array element.
10559
10560 2002-07-23  Mark Wielaard  <mark@klomp.org>
10561
10562         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10563         MessageDigestSpi (fixes Classpath bug #783).
10564
10565 2002-07-21  Mark Wielaard  <mark@klomp.org>
10566
10567         * gnu/java/security/provider/Gnu.java: Reference all implementation
10568         classes by using Class.getName().
10569
10570 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
10571
10572         * java/lang/ieeefp.h: Add x86-64 support.
10573         * configure.in: Likewise.
10574         * configure.host: Likewise.
10575         * configure: Regenerated.
10576         * sysdep/x86-64/locks.h: New file with x86-64 locks.
10577
10578 2002-07-16  Mark Wielaard  <mark@klomp.org>
10579
10580         * java/io/StreamTokenizer.java (pushBack): Update documentation.
10581         (whitespaceChars): call resetChar().
10582
10583 2002-07-15  Tom Tromey  <tromey@redhat.com>
10584
10585         * Makefile.in: Rebuilt.
10586         * Makefile.am (awt_java_source_files): Added new files.
10587         * java/beans/ExceptionListener.java: Merged with Classpath.
10588         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
10589         * java/beans/PropertyChangeListener.java: Merged with Classpath.
10590         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
10591         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
10592         * java/beans/VetoableChangeListener.java: Merged with Classpath.
10593         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
10594         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
10595
10596 2002-07-14  Mark Wielaard  <mark@klomp.org>
10597
10598         * gnu/java/security/der/DEREncodingException.java,
10599         gnu/java/security/provider/DERReader.java,
10600         gnu/java/security/provider/DERWriter.java,
10601         gnu/java/security/provider/DSAKeyPairGenerator.java,
10602         gnu/java/security/provider/DSAParameterGenerator.java,
10603         gnu/java/security/provider/DSAParameters.java,
10604         gnu/java/security/provider/DSASignature.java,
10605         gnu/java/security/provider/GnuDSAPrivateKey.java,
10606         gnu/java/security/provider/GnuDSAPublicKey.java,
10607         gnu/java/security/provider/MD5.java,
10608         gnu/java/security/util/Prime.java: New files from Classpath.
10609         * Makefile.am (ordinary_java_source_files): Add new files.
10610         * Makefile.in: Regenerate.
10611
10612 2002-07-14  C. Brian Jones <cbj@gnu.org>
10613
10614         * gnu/java/security/provider/DefaultPolicy.java
10615         (getPermissions): do not maintain static class variable of
10616         Permissions
10617         * gnu/java/security/provider/SHA.java
10618         (engineUpdate): algorithm change
10619         (engineDigest): algorithm change
10620
10621 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
10622
10623         For PR libgcj/7292:
10624         * java/lang/Character.java (toString(char)): Now static.
10625
10626 2002-07-12  Mark Wielaard  <mark@klomp.org>
10627
10628         * java/lang/natThrowable.cc (printRawStackTrace): removed.
10629         (getStackTrace0): new method.
10630         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10631         (printStackTrace(PrintWriter)): replace with pure java implementation.
10632         (printRawStackTrace): removed.
10633         (getStackTrace0): new method.
10634         * java/lang/StackTraceElement.java (toString): add extra whitespace.
10635         * gcj/javaprims.h: regenerate class list.
10636         * include/name-finder.h (lookup): new returns StackTraceElement*.
10637         (method_name, file_name): fields removed.
10638         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10639         (~_Jv_name_finder): close new descriptors.
10640         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10641         (createStackTraceElement): new method.
10642         (lookup): returns StackTraceElement*, uses createStackTraceElement().
10643
10644 2002-07-10  Tom Tromey  <tromey@redhat.com>
10645
10646         * configure: Rebuilt.
10647         * configure.in: Use `test' after `&&'.  From Chris Faylor.
10648
10649 2002-07-08  Mark Wielaard  <mark@klomp.org>
10650
10651         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10652         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10653         java.sql.DatabaseMetaData.TestJdbc20
10654
10655 2002-07-05  Tony Kimball  <alk@pobox.com>
10656
10657         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10658
10659 2002-07-04  Tom Tromey  <tromey@redhat.com>
10660             Jeff Sturm  <jsturm@one-point.com>
10661
10662         Fix for PR libgcj/7060:
10663         * java/lang/Class.h (_getMethod): Renamed from getMethod.
10664         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10665         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
10666         * java/lang/Class.java (getMethod): New Java implementation;
10667         complies with spec.
10668         (_getMethod): New native method.
10669
10670 2002-07-02  Tom Tromey  <tromey@redhat.com>
10671             David Hovemeyer  <daveho@cs.umd.edu>
10672
10673         * java/text/ChoiceFormat.java
10674         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10675         in check loop.
10676         * java/text/MessageFormat.java
10677         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10678         to MessageFormat.
10679
10680 2002-07-01  Tom Tromey  <tromey@redhat.com>
10681
10682         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10683         StringTokenizer on null string.  For PR libgcj/7180.
10684         From daveho@cs.umd.edu.
10685
10686 2002-06-24  Tom Tromey  <tromey@redhat.com>
10687
10688         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10689         (IntegerClass): Likewise.
10690         * java/lang/natClass.cc (CloneableClass): Removed.
10691         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10692         ConstructorClass): Likewise.
10693         * java/lang/natClassLoader.cc (CloneableClass): Removed.
10694         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10695         SerializableClass): Likewise.
10696         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10697         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10698         LongClass, FloatClass, DoubleClass): Likewise.
10699
10700         * verify.cc (branch_prepass): Updated for change to exception
10701         handler type.
10702         (verify_instructions_0): Likewise.
10703         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10704         (handleExceptionTableEntry): Updated for change to exception
10705         handler type.
10706         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10707         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10708         (union _Jv_InterpPC): New.
10709         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10710         (class _Jv_InterpMethod): Added new `prepared' field.
10711         (class _Jv_InterpMethod): Added `compile' method.  Removed
10712         `continue1' and `find_exception'.  Changed arguments to `run'.
10713         * interpret.cc (union insn_slot): New.
10714         (find_exception): Removed.
10715         (run_normal): Removed most logic.
10716         (run_synch_object): Likewise; also, use JvSynchronize.
10717         (run_synch_class): Likewise.
10718         (run): Removed.
10719         (continue1): Renamed as `run'.  Compile bytecode if required.
10720         Add new code to allow refinement of direct-threaded code at
10721         runtime.  Handle exceptions.
10722         (SAVE_PC): Removed.
10723         (compile): New method.
10724         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10725         (NULLARRAYCHECK): Don't use SAVE_PC.
10726         (pc_t): New typedef.
10727         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10728         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10729
10730 2002-06-23  Tom Tromey  <tromey@redhat.com>
10731
10732         * configure: Rebuilt.
10733         * configure.in (INTERPRETER): New subst.
10734         (AM_RUNTESTFLAGS): Don't subst.
10735
10736         * Makefile.in: Rebuilt.
10737         * Makefile.am ($(srcdir)/java/lang/Object.h,
10738         $(srcdir)/java/lang/Class.h): Added dummy targets.
10739
10740 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10741
10742         Reformat JDBC classes and add new JDK 1.4 classes and methods.
10743
10744         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10745         java/sql/Savepoint.java: New files.
10746         * java/sql/Array.java, java/sql/BatchUpdateException.java,
10747         java/sql/Blob.java, java/sql/CallableStatement.java,
10748         java/sql/Clob.java, java/sql/Connection.java,
10749         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10750         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10751         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10752         java/sql/Ref.java, java/sql/ResultSet.java,
10753         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10754         java/sql/SQLException.java, java/sql/SQLInput.java,
10755         java/sql/SQLOutput.java, java/sql/SQLWarning.java
10756         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10757         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10758         (JDK 1.4) specification.
10759         * javax/sql/ConnectionEvent.java,
10760         javax/sql/ConnectionEventListener.java,
10761         javax/sql/ConnectionPoolDataSource.java,
10762         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10763         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10764         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10765         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10766         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10767         javax/sql/XADataSource.java: New files.
10768         * Makefile.am: Add new files.
10769         * Makefile.in: Rebuilt.
10770
10771 2002-06-20  Tom Tromey  <tromey@redhat.com>
10772
10773         For PR libgcj/7073:
10774         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10775         exists.
10776         * defineclass.cc (handleClassBegin): Superclass for interface is
10777         `null'.
10778
10779 2002-06-18  Tom Tromey  <tromey@redhat.com>
10780
10781         * gcj/javaprims.h: Updated class declaration list.
10782         * Makefile.in: Rebuilt.
10783         * Makefile.am (core_java_source_files): Removed
10784         BasicMapEntry.java.
10785         * java/util/BasicMapEntry.java: Removed.
10786
10787 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
10788
10789         * java/net/natPlainDatagramSocketImpl.cc (receive):
10790         Check bounds of argument to FD_SET.
10791         (setOption): Throw exception if socket is closed.
10792
10793         * java/net/natPlainSocketImpl.cc (accept, read):
10794         Check bounds of argument to FD_SET.
10795         (setOption): Throw exception if socket is closed.
10796
10797 2002-06-18  Tom Tromey  <tromey@redhat.com>
10798
10799         * gcj/javaprims.h: Updated class declaration list.
10800         * Makefile.in: Rebuilt.
10801         * Makefile.am (core_java_source_files): Added
10802         PropertyPermissionCollection.java.
10803         * java/lang/Thread.java (group, name): Now package-private.
10804         * java/lang/ThreadGroup.java: Re-merge with Classpath.
10805         * java/util/AbstractList.java: Likewise.
10806         * java/util/AbstractMap.java: Likewise.
10807         * java/util/Calendar.java: Likewise.
10808         * java/util/Collections.java: Likewise.
10809         * java/util/HashMap.java: Likewise.
10810         * java/util/Hashtable.java: Likewise.
10811         * java/util/LinkedHashMap.java: Likewise.
10812         * java/util/LinkedList.java: Likewise.
10813         * java/util/List.java: Likewise.
10814         * java/util/ListResourceBundle.java: Likewise.
10815         * java/util/Map.java: Likewise.
10816         * java/util/Observable.java: Likewise.
10817         * java/util/Properties.java: Likewise.
10818         * java/util/PropertyPermission.java: Likewise.
10819         * java/util/PropertyPermissionCollection.java: Likewise.
10820         * java/util/PropertyResourceBundle.java: Likewise.
10821         * java/util/Random.java: Likewise.
10822         * java/util/SimpleTimeZone.java: Likewise.
10823         * java/util/StringTokenizer.java: Likewise.
10824         * java/util/TimerTask.java: Likewise.
10825         * java/util/TreeMap.java: Likewise.
10826         * java/util/WeakHashMap.java: Likewise.
10827         * java/util/jar/Attributes.java: Likewise.
10828         * java/util/jar/JarException.java: Likewise.
10829         * java/util/jar/Manifest.java: Likewise.
10830
10831 2002-06-17  Tom Tromey  <tromey@redhat.com>
10832
10833         * gcj/javaprims.h: Updated class declaration list.
10834         * Makefile.in: Rebuilt.
10835         * Makefile.am (core_java_source_files): Added new file.
10836         * java/util/EventListenerProxy.java: New file.
10837         * java/util/EventListener.java: Re-merge with Classpath.
10838         * java/util/EventObject.java: Re-merge with Classpath.
10839
10840 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10841
10842         * java/lang/ClassNotFoundException.java: New Classpath version.
10843
10844 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10845
10846         * java/rmi/activation/ActivateFailedException.java: Remerge from
10847         Classpath version.
10848         * java/rmi/activation/ActivationException.java: Ditto.
10849         * java/rmi/activation/UnknownGroupException.java: Ditto.
10850         * java/rmi/activation/UnknownObjectException.java: Ditto.
10851         * java/rmi/server/ExportException: Ditto.
10852         * java/rmi/server/ServerCloneException: Ditto.
10853         * java/rmi/server/ServerNotActiveException: Ditto.
10854         * java/rmi/server/SkeletonMismatchException: Ditto.
10855         * java/rmi/server/SkeletonNotFoundException: Ditto.
10856         * java/rmi/server/SocketSecurityException: Ditto.
10857
10858 2002-06-16  Tom Tromey  <tromey@redhat.com>
10859
10860         * gcj/javaprims.h: Updated class declaration list.
10861
10862         * java/io/LineNumberInputStream.java: Merged with Classpath.
10863
10864         * java/lang/RuntimeException.java: Re-merge with Classpath.
10865         * java/util/ArrayList.java: Likewise.
10866         * java/util/Arrays.java: Likewise.
10867         * java/util/BitSet.java: Likewise.
10868         * java/util/Dictionary.java: Likewise.
10869         * java/util/IdentityHashMap.java: Likewise.
10870         * java/util/MissingResourceException.java: Likewise.
10871         * java/util/Observer.java: Likewise.
10872         * java/util/TooManyListenersException.java: Likewise.
10873         * java/util/zip/DataFormatException.java: Likewise.
10874         * java/util/zip/ZipException.java: Likewise.
10875
10876 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
10877
10878         * java/rmi/AccessException.java: Remerge from Classpath.
10879         * java/rmi/AlreadyBoundException.java: Ditto.
10880         * java/rmi/ConnectException.java: Ditto.
10881         * java/rmi/ConnectIOException.java: Ditto.
10882         * java/rmi/MarshalException.java: Ditto.
10883         * java/rmi/NoSuchObjectException.java: Ditto.
10884         * java/rmi/NotBoundException.java: Ditto.
10885         * java/rmi/RemoteException.java: Ditto.
10886         * java/rmi/RMISecurityException.java: Ditto.
10887         * java/rmi/ServerError.java: Ditto.
10888         * java/rmi/ServerException.java: Ditto.
10889         * java/rmi/ServerRuntimeException.java: Ditto.
10890         * java/rmi/StubNotFoundException.java: Ditto.
10891         * java/rmi/UnexpectedExcpetion.java: Ditto.
10892         * java/rmi/UnknownHostException.java: Ditto.
10893         * java/rmi/UnmarshalException.java: Ditto.
10894
10895 2002-06-15  Tom Tromey  <tromey@redhat.com>
10896
10897         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10898         * java/lang/ArithmeticException.java: Likewise.
10899         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10900         * java/lang/ArrayStoreException.java: Likewise.
10901         * java/lang/Byte.java: Likewise.
10902         * java/lang/CharSequence.java: Likewise.
10903         * java/lang/ClassCastException.java: Likewise.
10904         * java/lang/ClassCircularityError.java: Likewise.
10905         * java/lang/ClassFormatError.java: Likewise.
10906         * java/lang/CloneNotSupportedException.java: Likewise.
10907         * java/lang/Cloneable.java: Likewise.
10908         * java/lang/Comparable.java: Likewise.
10909         * java/lang/Compiler.java: Likewise.
10910         * java/lang/Error.java: Likewise.
10911         * java/lang/ExceptionInInitializerError.java: Likewise.
10912         * java/lang/IllegalAccessError.java: Likewise.
10913         * java/lang/IllegalAccessException.java: Likewise.
10914         * java/lang/IllegalArgumentException.java: Likewise.
10915         * java/lang/IllegalMonitorStateException.java: Likewise.
10916         * java/lang/IllegalStateException.java: Likewise.
10917         * java/lang/IllegalThreadStateException.java: Likewise.
10918         * java/lang/IncompatibleClassChangeError.java: Likewise.
10919         * java/lang/IndexOutOfBoundsException.java: Likewise.
10920         * java/lang/InheritableThreadLocal.java: Likewise.
10921         * java/lang/InstantiationError.java: Likewise.
10922         * java/lang/InstantiationException.java: Likewise.
10923         * java/lang/InternalError.java: Likewise.
10924         * java/lang/InterruptedException.java: Likewise.
10925         * java/lang/LinkageError.java: Likewise.
10926         * java/lang/NegativeArraySizeException.java: Likewise.
10927         * java/lang/NoClassDefFoundError.java: Likewise.
10928         * java/lang/NoSuchFieldError.java: Likewise.
10929         * java/lang/NoSuchFieldException.java: Likewise.
10930         * java/lang/NoSuchMethodError.java: Likewise.
10931         * java/lang/NoSuchMethodException.java: Likewise.
10932         * java/lang/NullPointerException.java: Likewise.
10933         * java/lang/NumberFormatException.java: Likewise.
10934         * java/lang/OutOfMemoryError.java: Likewise.
10935         * java/lang/Process.java: Likewise.
10936         * java/lang/Runnable.java: Likewise.
10937         * java/lang/RuntimePermission.java: Likewise.
10938         * java/lang/SecurityException.java: Likewise.
10939         * java/lang/Short.java: Likewise.
10940         * java/lang/StackOverflowError.java: Likewise.
10941         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10942         * java/lang/ThreadDeath.java: Likewise.
10943         * java/lang/ThreadLocal.java: Likewise.
10944         * java/lang/UnknownError.java: Likewise.
10945         * java/lang/UnsatisfiedLinkError.java: Likewise.
10946         * java/lang/UnsupportedClassVersionError.java: Likewise.
10947         * java/lang/UnsupportedOperationException.java: Likewise.
10948         * java/lang/VerifyError.java: Likewise.
10949         * java/lang/VirtualMachineError.java: Likewise.
10950         * java/lang/reflect/InvocationTargetException.java: Likewise.
10951         * java/net/BindException.java: Likewise.
10952         * java/net/ConnectException.java: Likewise.
10953         * java/net/MalformedURLException.java: Likewise.
10954         * java/net/NoRouteToHostException.java: Likewise.
10955         * java/net/ProtocolException.java: Likewise.
10956         * java/net/SocketException.java: Likewise.
10957         * java/net/UnknownHostException.java: Likewise.
10958         * java/net/UnknownServiceException.java: Likewise.
10959
10960         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10961         * java/io/CharConversionException.java: Likewise.
10962         * java/io/EOFException.java: Likewise.
10963         * java/io/FileNotFoundException.java: Likewise.
10964         * java/io/IOException.java: Likewise.
10965         * java/io/InterruptedIOException.java: Likewise.
10966         * java/io/InvalidClassException.java: Likewise.
10967         * java/io/InvalidObjectException.java: Likewise.
10968         * java/io/NotActiveException.java: Likewise.
10969         * java/io/NotSerializableException.java: Likewise.
10970         * java/io/ObjectStreamException.java: Likewise.
10971         * java/io/ObjectStreamConstants.java: Likewise.
10972         * java/io/OptionalDataException.java: Likewise.
10973         * java/io/PipedInputStream.java: Likewise.
10974         * java/io/PushbackInputStream.java: Likewise.
10975         * java/io/StreamCorruptedException.java: Likewise.
10976         * java/io/SyncFailedException.java: Likewise.
10977         * java/io/UTFDataFormatException.java: Likewise.
10978         * java/io/UnsupportedEncodingException.java: Likewise.
10979         * java/io/WriteAbortedException.java: Likewise.
10980
10981 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
10982
10983         * java/text/ChoiceFormat.java: Update comments from Classpath.
10984         * java/text/ParseException.java (serialVersionUID): New
10985         field from Classpath.
10986         * java/text/ParseException.java: Update formatting & comments
10987         from Classpath.
10988
10989 2002-06-15  Tom Tromey  <tromey@redhat.com>
10990
10991         * java/util/zip/InflaterInputStream.java (read): Loop if data has
10992         been read but none output by inflater.
10993         * java/util/zip/natDeflater.cc (reset): Set is_finished.
10994         * java/util/zip/natInflater.cc (reset): Set dist_needed and
10995         is_finished.
10996         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10997         version.
10998         * java/util/zip/ZipFile.java: Replaced with Classpath version.
10999         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11000         * java/util/zip/ZipInputStream.java: Replaced with Classpath
11001         version.
11002         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11003
11004 2002-06-13  Tom Tromey  <tromey@redhat.com>
11005
11006         * java/lang/natString.cc (init): Handle case where DONT_COPY is
11007         true and OFFSET!=0.
11008         * java/lang/String.java (String(char[],int,int,boolean): New
11009         constructor.
11010         * java/lang/Long.java: Imported new version from Classpath.
11011         * java/lang/Number.java: Likewise.
11012         * java/lang/Integer.java: Likewise.
11013         * java/lang/Long.java: Likewise.
11014         * java/lang/Float.java: Likewise.
11015         * java/lang/Boolean.java: Likewise.
11016         * java/lang/Double.java: Likewise.
11017         * java/lang/Void.java: Likewise.
11018
11019 2002-06-12  Tom Tromey  <tromey@redhat.com>
11020
11021         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
11022         Fixes PR libgcj/6652.
11023
11024 2002-06-10  Tom Tromey  <tromey@redhat.com>
11025
11026         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
11027         (Class::getPackagePortion): Likewise.
11028         * java/lang/Class.java (desiredAssertionStatus): New method from
11029         Classpath.
11030         (getPackagePortion): Likewise.
11031         * java/lang/VMClassLoader.java (defaultAssertionStatus,
11032         packageAssertionStatus, classAssertionStatus): New methods from
11033         Classpath.
11034         * java/lang/ClassLoader.java (defaultAssertionStatus,
11035         systemPackageAssertionStatus, packageAssertionStatus,
11036         systemClassAssertionStatus, classAssertionStatus): New fields from
11037         Classpath.
11038         (setDefaultAssertionStatus, setPackageAssertionStatus,
11039         setClassAssertionStatus, clearAssertionStatus): New methods from
11040         Classpath.
11041         * Makefile.in: Rebuilt.
11042         * Makefile.am (core_java_source_files): Added AssertionError.java.
11043         * java/lang/AssertionError.java: New from Classpath.
11044
11045 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11046
11047         * configure.host: Disable hash synchronization and slow_pthread_self
11048         for cygwin.
11049
11050 2002-06-06  Adam Megacz <adam@xwt.org>
11051
11052         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
11053         locking, just like the Sun JVM does.
11054
11055 2002-06-05  H.J. Lu  (hjl@gnu.org)
11056
11057         * Makefile.am (libgcj_convenience.la): Revert the last change.
11058         (libgcj.la): Likewise.
11059         * Makefile.in: Regenerated.
11060
11061 2002-06-04  H.J. Lu  (hjl@gnu.org)
11062
11063         * Makefile.am (libgcj_convenience.la): New target.
11064         (libgcj.la): Depend on libgcj_convenience.la.
11065         * Makefile.in: Regenerated.
11066
11067 2002-06-04  H.J. Lu  (hjl@gnu.org)
11068
11069         * configure.in (--with-newlib): New option:
11070         Check ${with_newlib} instead of ${with_cross_host} for newlib.
11071         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
11072         Linux.
11073         * configure: Regenerated.
11074
11075 2002-06-04  Tom Tromey  <tromey@redhat.com>
11076
11077         * java/util/natTimeZone.cc: Include <stdio.h>.
11078
11079 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
11080
11081         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
11082         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
11083         Set SIGNAL_HANDLER=include/s390-linux.h.
11084         * configure: Regenerate.
11085         * include/s390-linux.h: New file.
11086
11087 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11088
11089         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
11090         not "stackTrace".
11091
11092 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11093
11094         Merge JDK 1.4 java.security changes from classpath.
11095
11096         * java/security/AccessControlException.java: Merge from Classpath.
11097         * java/security/AccessController.java: Likewise.
11098         * java/security/AllPermission.java: Likewise.
11099         * java/security/BasicPermission.java: Likewise.
11100         * java/security/Certificate.java: Likewise.
11101         * java/security/CodeSource.java: Likewise.
11102         * java/security/DigestException.java: Likewise.
11103         * java/security/DigestOutputStream.java: Likewise.
11104         * java/security/DomainCombiner.java: Likewise.
11105         * java/security/GeneralSecurityException.java: Likewise.
11106         * java/security/Guard.java: Likewise.
11107         * java/security/GuardedObject.java: Likewise.
11108         * java/security/InvalidAlgorithmParameterException.java: Likewise.
11109         * java/security/InvalidKeyException.java: Likewise.
11110         * java/security/InvalidParameterException.java: Likewise.
11111         * java/security/Key.java: Likewise.
11112         * java/security/KeyException.java: Likewise.
11113         * java/security/KeyManagementException.java: Likewise.
11114         * java/security/KeyStoreException.java: Likewise.
11115         * java/security/MessageDigest.java: Likewise.
11116         * java/security/NoSuchAlgorithmException.java: Likewise.
11117         * java/security/NoSuchProviderException.java: Likewise.
11118         * java/security/Permission.java: Likewise.
11119         * java/security/PermissionCollection.java: Likewise.
11120         * java/security/Permissions.java: Likewise.
11121         * java/security/Policy.java: Likewise.
11122         * java/security/Principal.java: Likewise.
11123         * java/security/PrivateKey.java: Likewise.
11124         * java/security/PrivilegedAction.java: Likewise.
11125         * java/security/PrivilegedActionException.java: Likewise.
11126         * java/security/PrivilegedExceptionAction.java: Likewise.
11127         * java/security/ProtectionDomain.java: Likewise.
11128         * java/security/ProviderException.java: Likewise.
11129         * java/security/PublicKey.java: Likewise.
11130         * java/security/SecureClassLoader.java: Likewise.
11131         * java/security/SecurityPermission.java: Likewise.
11132         * java/security/SignatureException.java: Likewise.
11133         * java/security/UnrecoverableKeyException.java: Likewise.
11134         * java/security/UnresolvedPermission.java: Likewise.
11135         * java/security/acl/AclNotFoundException.java: Likewise.
11136         * java/security/acl/LastOwnerException.java: Likewise.
11137         * java/security/acl/NotOwnerException.java: Likewise.
11138         * java/security/cert/CRLException.java: Likewise.
11139         * java/security/cert/CertificateEncodingException.java: Likewise.
11140         * java/security/cert/CertificateException.java: Likewise.
11141         * java/security/cert/CertificateExpiredException.java: Likewise.
11142         * java/security/cert/CertificateFactory.java: Likewise.
11143         * java/security/cert/CertificateNotYetValidException.java: Likewise.
11144         * java/security/cert/CertificateParsingException.java: Likewise.
11145         * java/security/spec/InvalidKeySpecException.java: Likewise.
11146         * java/security/spec/InvalidParameterSpecException.java: Likewise.
11147
11148         * java/security/cert/CertPath.java: New file.
11149         * java/security/cert/CertPathBuilderException.java: New file.
11150         * java/security/cert/CertPathValidatorException.java: New file.
11151         * java/security/cert/CertStoreException.java: New file.
11152
11153         * Makefile.am: Add new CertPath classes.
11154         * Makefile.in: Rebuilt.
11155
11156         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
11157
11158 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11159
11160         Merge JDK 1.4 exception chaining support from classpath.
11161
11162         * java/lang/Throwable.java: Merge 1.4 support from classpath.
11163         (stackTraceBytes): Rename from stackTrace.
11164         * java/lang/Exception.java: Merge from classpath.
11165         * java/lang/StackTraceElement: New file from classpath.
11166         * gcj/javaprims.h: Rebuild CNI namespace declarations.
11167         * Makefile.am: Add StackTraceElement.
11168         * Makefile.in: Rebuilt.
11169
11170 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11171
11172         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
11173         they build first.
11174         * Makefile.in: Rebuilt.
11175
11176 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11177
11178         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
11179         * configure.in: Likewise.
11180         * aclocal.m4: Regenerate.
11181         * configure: Regenerate.
11182
11183 2002-05-13  Tom Tromey  <tromey@redhat.com>
11184
11185         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
11186         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
11187         Include platform.h.
11188
11189         Fixes PR libgcj/6389:
11190         * Makefile.in: Rebuilt.
11191         * Makefile.am (nat_source_files): Added natTimeZone.cc.
11192         * java/util/natTimeZone.cc: New file.
11193         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
11194         * java/lang/System.java: Merged with Classpath.
11195         * java/lang/Runtime.java: Merged with Classpath.
11196         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
11197         security check.
11198         (setIn0): Renamed from setIn; don't run security check.
11199         (setOut0): Renamed from setOut; don't run security check.
11200         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
11201         init_properties): Moved to natRuntime.cc.
11202         Moved many includes to natRuntime.cc.
11203         (isWordsBigEndian): New method.
11204         * java/lang/natRuntime.cc: Include Long.h, also other includes
11205         previously in natSystem.cc.
11206         (maxMemory): New function.
11207         (exitInternal): Renamed from `_exit'.
11208         (exit): Removed.
11209         (init): Don't set finalize_on_exit.
11210         (exitInternal): Use `finalizeOnExit'.
11211         (file_encoding, getpwuid_adaptor): New functions from
11212         natSystem.cc.
11213         (insertSystemProperties): New method, renamed from
11214         System::init_properties.  Don't set user.timezone.
11215         (_load): Don't call checkLink.
11216         (execInternal): New method.
11217         (availableProcessors): Likewise.
11218         (nativeGetLibname): Likewise.
11219
11220 2002-05-11  Mark Wielaard  <mark@klomp.org>
11221
11222         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
11223         space characters.
11224         (previous_internal): Likewise.
11225
11226 2002-05-09  Tom Tromey  <tromey@redhat.com>
11227
11228         * jni.cc (_Jv_JNIFunctions): Fixed typo.
11229
11230         * java/util/ResourceBundle.java: New version from Classpath.
11231         * java/util/Locale.java: Likewise.
11232
11233 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
11234
11235         * testsuite/lib/libjava.exp (libjava_arguments): Append all
11236         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
11237         LD_LIBRARY_PATH.
11238
11239 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
11240
11241         * libjava/Makefile.am (all_java_source_files): New variable.
11242         (all_java_class_files): Likewise.
11243         .java.class: New rule.
11244         (CLEANFILES): Remove tmp-list.
11245         * libjava/Makefile.in: Regenerated.
11246
11247 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
11248
11249         * testsuite/lib/libjava.exp (test_libjava_from_javac):
11250         Append .exe to executable names.  Fix for cygwin.
11251
11252 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
11253
11254         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
11255         script entry, and set LD to it when configuring multilibs.
11256         * configure: Rebuilt.
11257
11258 2002-05-07  Tom Tromey  <tromey@redhat.com>
11259
11260         * java/lang/natString.cc (unintern): Fixed typo.
11261
11262 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
11263
11264         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
11265         with -no-install on *-*-cygwin*.
11266
11267 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
11268
11269         * testsuite/lib/libjava.exp (test_libjava_from_source):
11270         Add comment explaining last patch
11271
11272 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
11273
11274         * testsuite/lib/libjava.exp (test_libjava_from_source):
11275         Append .exe to executable names.  If no suffix is present,
11276         then ".exe" is added by default on win32.  Harmless
11277         elsewhere so always do it.
11278
11279 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
11280             Tom Tromey  <tromey@redhat.com>
11281
11282         * java/lang/natSystem.cc (getSystemTimeZone): Use
11283         HAVE_UNDERSCORE_TIMEZONE.
11284         * include/config.h.in: Rebuilt.
11285         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
11286         * aclocal.m4, configure: Rebuilt.
11287         * acinclude.m4: Run AC_EXEEXT.
11288         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
11289         Add test for `_timezone'.
11290
11291 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
11292
11293         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11294         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
11295         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11296         * Makefile.in: Rebuilt.
11297
11298 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
11299
11300         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
11301         use sigaction instead of __libc_sigaction.
11302
11303 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11304
11305         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
11306         (libjava_init): Use it to find libgcj.spec.
11307         (libjava_arguments): Likewise.
11308
11309 2002-05-02  David S. Miller  <davem@redhat.com>
11310
11311         PR bootstrap/6525
11312         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
11313         __libc_sigaction on Sparc.
11314
11315 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
11316
11317         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
11318         sys/filio.h, if present.
11319
11320 2002-04-30  Tom Tromey  <tromey@redhat.com>
11321
11322         * java/io/BufferedReader.java (fill): Handle case where markPos
11323         point to ignored \n.  Fixes PR libgcj/6301.
11324
11325 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
11326
11327         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
11328
11329 2002-04-29  Adam King <aking@dreammechanics.com>
11330
11331         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
11332         of file in APPEND mode.
11333
11334 2002-04-25  David S. Miller  <davem@redhat.com>
11335
11336         PR target/6422
11337         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
11338         program counter to next program counter minus 8.  Update
11339         comments in this macro to explain why.
11340
11341 2002-04-26  Tom Tromey  <tromey@redhat.com>
11342
11343         * verify.cc (construct_primitive_array_type) [void_type]: New
11344         case.
11345         (branch_prepass): Added dummy entries for unused instruction
11346         values.
11347         (verify_instructions_0): Likewise.
11348         * interpret.cc (continue1): Comment fix.
11349         * include/java-insns.h (op_xxxunusedxxx1): Removed.
11350         * Makefile.in: Rebuilt.
11351         * Makefile.am: Added -Wswitch-enum.
11352
11353 2002-04-24  Tom Tromey  <tromey@redhat.com>
11354
11355         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
11356         correct length of UTF-8 encoded name.  Strip leading `/'.
11357         (_Jv_RegisterResource): Use _Jv_Malloc.
11358
11359 2002-04-23  Adam Megacz <adam@xwt.org>
11360
11361         * win32.cc, include/win32.cc (backtrace): Added this function
11362         because Win32 does not supply it.
11363
11364 2002-04-21  David S. Miller  <davem@redhat.com>
11365
11366         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
11367         magic instruction reading sequence.
11368
11369 2002-04-21  Mark Wielaard  <mark@klomp.org>
11370
11371         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
11372
11373 2002-04-19  David S. Miller  <davem@redhat.com>
11374
11375         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
11376         arg.
11377         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
11378         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
11379         on Sparc too.
11380         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
11381         for 64-bit sparc.
11382         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
11383         * sysdeps/sparc/locks.h: New file.
11384         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
11385         on all sparc Solaris configurations.  Set to
11386         include/dwarf2-signal.h on sparc Linux.
11387         * configure: Regenerate
11388         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
11389
11390 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
11391
11392         * configure: Rebuilt.
11393         * configure.in (backtrace): Function doesn't work on IA-64.
11394
11395 2002-04-17  Adam King <aking@dreammechanics.com>
11396
11397         * java/io/File.java (normalizePath): Add Win32 support for auto
11398         conversion of a '/' path separator to Win32's '\' separator.
11399
11400 2002-04-16  Tom Tromey  <tromey@redhat.com>
11401
11402         Fix for PR libgcj/6081:
11403         * Makefile.in: Rebuilt.
11404         * Makefile.am (install-data-local): Use GNU make trick to avoid
11405         shell limit.
11406
11407 2002-04-16  Adam King <aking@dreammechanics.com>
11408             Tom Tromey  <tromey@redhat.com>
11409
11410         * java/io/natFileWin32.cc (performList): Return the correct array
11411         type.  Don't duplicate the creation of a File since it's already
11412         done earlier in the method and the existing code would cause a
11413         ArrayStoreException.  Don't use fixed-size array.
11414         (_access, _stat, attr, getCanonicalPath, performMkdir,
11415         performRenameTo): Don't use fixed-size array.
11416         (getCanonicalPath): Use throw, not _Jv_Throw.
11417
11418 2002-04-15  DJ Delorie  <dj@redhat.com>
11419
11420         * configure.in: Allow building in $srcdir.
11421         * configure: Regenerated.
11422
11423 2002-04-14  Mark Wielaard <mark@klomp.org>
11424
11425         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
11426         * java/net/natSocketImpl.cc (close): Likewise.
11427
11428 2002-04-14  Mark Wielaard <mark@klomp.org>
11429
11430         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
11431
11432 2002-04-13  Adam King <aking@dreammechanics.com>
11433
11434         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
11435         the f/F/d/D modifiers.
11436
11437 2002-04-12  Anthony Green  <green@redhat.com>
11438
11439         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
11440         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
11441         * Makefile.in: Rebuilt.
11442         * configure.in: Substitute gcc_version.
11443         * configure: Rebuilt.
11444
11445 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11446
11447         * configure.host: Set can_unwind_signal on hosts which support it.
11448         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
11449         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
11450         exceptions and can_unwind_signal isn't set.
11451         * configure: Rebuilt.
11452
11453 2002-04-11  Tom Tromey  <tromey@redhat.com>
11454
11455         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
11456
11457 2002-04-11  Adam King <aking@dreammechanics.com>
11458             Tom Tromey  <tromey@redhat.com>
11459
11460         * include/jvm.h (_Jv_ThrowBadArrayIndex,
11461         _Jv_ThrowNullPointerException): Mark as noreturn.
11462         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
11463         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
11464         fixes.
11465
11466 2002-04-10  Tom Tromey  <tromey@redhat.com>
11467
11468         * Makefile.in: Rebuilt.
11469         * Makefile.am (java/lang/Thread.h): Mark
11470         _Jv_AttachCurrentThreadAsDaemon as friend.
11471         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
11472         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
11473         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
11474         function.
11475         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
11476         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
11477         (_Jv_JNI_InvokeFunctions): Added
11478         _Jv_JNI_AttachCurrentThreadAsDaemon.
11479         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
11480         (JNI_GetDefaultJavaVMInitArgs): Likewise.
11481         (JNI_CreateJavaVM): Likewise.
11482         (_Jv_JNI_AttachCurrentThread): Likewise.
11483         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
11484         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
11485         (_Jv_JNIFunctions): Initialize new fields.
11486         (_Jv_JNI_NewDirectByteBuffer): New function.
11487         (_Jv_JNI_GetDirectBufferAddress): Likewise.
11488         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11489         * include/jni.h (JNI_VERSION_1_4): New macro.
11490         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
11491         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
11492         (JNINativeInterface::NewDirectByteBuffer): New field.
11493         (JNINativeInterface::GetDirectBufferAddress): New field.
11494         (JNINativeInterface::GetDirectBufferCapacity): New field.
11495         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
11496         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
11497         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
11498
11499 2002-04-09  Tom Tromey  <tromey@redhat.com>
11500
11501         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
11502
11503 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
11504
11505         Fix for PR libgcj/6187:
11506         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
11507         distance.
11508
11509 2002-04-07  Mark Wielaard <mark@klomp.org>
11510
11511         * java/util/AbstractMap.java (putAll): Use entrySet size.
11512         (toString): Explicitly use getKey() and getValue().
11513
11514 2002-04-07  Mark Wielaard <mark@klomp.org>
11515
11516         * java/util/Hashtable.java (contains): Remove NullPointer check.
11517         (containsValue): Add NullPointer check.
11518         (remove): Always throw NullPointerException when key
11519         is null.
11520
11521 2002-04-07  Adam King <aking@dreammechanics.com>
11522
11523         * java/lang/natSystem.cc (init_properties): Call new function
11524         _Jv_platform_initProperties.
11525         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
11526         support for the System properties os.name, os.arch, os.version,
11527         user.name, user.home, and user.dir.
11528         * include/posix.h, include/win32.h, posix.cc: New function
11529         _Jv_platform_initProperties.
11530
11531 2002-04-06  Mark Wielaard <mark@klomp.org>
11532
11533         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
11534
11535 2002-04-06  Mark Wielaard <mark@klomp.org>
11536
11537         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
11538         all of the remaining elements.
11539         * java/util/Vector.java (addAll(int,Collection)): Likewise.
11540         (removeRange): If toIndex == fromIndex do
11541         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11542         (removeAll): Always throw NullPointerException when collection is
11543         null.
11544         (retrainAll): Likewise.
11545
11546 2002-04-05  Mark Wielaard <mark@klomp.org>
11547
11548         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
11549         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11550
11551 2002-04-05  Adam Megacz <adam@xwt.org>
11552
11553         * exception.cc (abort): added static modifier
11554
11555 2002-04-04  Adam Megacz <adam@xwt.org>
11556
11557         * include/win32.h (_Jv_platform_close_on_exec): added inline
11558         modifier.
11559
11560 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
11561
11562         * configure.host: Add case statement to support generic port
11563         properties.  Add *-*-freebsd* section.
11564
11565 2002-04-04  Mark Wielaard  <mark@klomp.org>
11566
11567         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
11568         test.
11569         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
11570         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
11571         that depend on awt code and BufferedByteOutputStream.interrupt.
11572
11573 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11574
11575         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
11576         incorrect "hi" value when count > 40.
11577
11578 2002-04-03  Mark Wielaard  <mark@klomp.org>
11579
11580         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
11581         ordering.
11582
11583 2002-04-02  Tom Tromey  <tromey@redhat.com>
11584
11585         * java/lang/natClassLoader.cc (findClass): Compare against `3',
11586         not `0'.
11587
11588 2002-04-02  Mark Wielaard  <mark@klomp.org>
11589
11590         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
11591         list of testsuite crashers.
11592
11593 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11594
11595         * java/util/IdentityHashMap.java (put): Set new threshold correctly
11596         when resizing table.
11597
11598 2002-04-01  Mark Wielaard  <mark@klomp.org>
11599
11600         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
11601         NegativeArraySizeException
11602         (clear(int)): Use sign extended shift.
11603         (flip(int)): Likewise.
11604         (get(int)): Likewise.
11605         (nextClearBit(int)): Likewise.
11606         (nextSetBit(int)): Likewise.
11607         (set(int)): Likewise.
11608
11609 2002-04-01  Mark Wielaard  <mark@klomp.org>
11610
11611         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
11612         that can be compiled now and add testsuite crashers to ignore list.
11613
11614 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
11615
11616         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
11617
11618         * libgcj.spec.in: Override libgcc, not lib.
11619         * libgcj-test.spec.in: Likewise.
11620
11621 2002-03-29  Tom Tromey  <tromey@redhat.com>
11622
11623         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
11624         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
11625
11626 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
11627
11628         * java/net/PlainDatagramSocketImpl.java
11629         (close): Use native implementation.
11630         (finalize): New method.
11631
11632         * java/net/PlainSocketImpl.java (finalize): New method.
11633
11634         * java/net/natPlainDatagramSocketImpl.cc
11635         (java/io/FileDescriptor.h): Don't include.
11636         (close): Implement method here.
11637         (create): Don't assign fd.
11638
11639         * java/net/natPlainSocketImpl.cc
11640         (java/io/FileDescriptor.h): Don't include.
11641         (create): Don't assign fd.
11642         (accept): Likewise.
11643         (close): Synchronize.
11644
11645 2002-03-27  Richard Henderson  <rth@redhat.com>
11646
11647         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11648
11649 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11650
11651         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11652         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11653         instead of syscall on IA-64.
11654         Add FIXME comment.
11655
11656 2002-03-27  Anthony Green  <green@redhat.com>
11657
11658         * libgcj.spec.in: Add CHECKREFSPEC.
11659         * configure.in: Ditto.
11660         * configure.host: Ditto.  Check references for xscale-elf.
11661         * configure: Rebuilt.
11662
11663 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
11664
11665         * include/dwarf2-signal.h: Temporarily back out last change.
11666
11667 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
11668
11669         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11670
11671 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11672
11673         * configure.in, configure: enable dwarf2-exception-style
11674         exception handling on IA-64.
11675         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11676         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11677         Add FIXME comment.
11678
11679 2002-03-25  Tom Tromey  <tromey@redhat.com>
11680
11681         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11682         (jv_convert_LDFLAGS): Likewise.
11683         (gij_LDFLAGS): Likewise.
11684         (rmic_LDFLAGS): Likewise.
11685         (rmiregistry_LDFLAGS): Likewise.
11686         * configure.in (THREADLDFLAGS): New subst; set correctly for
11687         *BSD.
11688
11689 2002-03-25  Tom Tromey  <tromey@redhat.com>
11690
11691         For PR libgcj/5303:
11692         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11693         and --version.
11694         (help): New method.
11695         (version): Likewise.
11696         * gnu/gcj/convert/Convert.java (version): Removed extraneous
11697         "GNU".
11698         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11699         "GNU".
11700
11701 2002-03-25  Tom Tromey  <tromey@redhat.com>
11702
11703         * java/awt/Component.java (processEvent): Check ComponentEvent
11704         after KeyEvent.
11705
11706 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11707
11708         * java/io/PushbackReader.java: Reformat.
11709
11710         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11711         calculate correct number of bytes skipped.
11712
11713         Based on patch from Intel's ORP team:
11714         * java/io/PushbackInputStream.java (available): Calculate correct
11715         number of bytes in buffer.
11716         (read): Remove redundant bound check. Return bytes from both the
11717         buffer and the stream.
11718
11719 2002-03-24  Tom Tromey  <tromey@redhat.com>
11720
11721         * java/awt/TextComponent.java (TextComponent): Editable by
11722         default.
11723
11724         * java/awt/MenuItem.java (eventMask): No longer private.
11725         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11726         superclass if we didn't handle event.
11727         * java/awt/Checkbox.java (dispatchEventImpl): New method.
11728         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11729         * java/awt/Choice.java (dispatchEventImpl): New method.
11730         * java/awt/List.java (dispatchEventImpl): New method.
11731         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11732         * java/awt/TextComponent.java (dispatchEventImpl): New method.
11733         * java/awt/TextField.java (dispatchEventImpl): New method.
11734
11735 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11736
11737         * java/beans/IntrospectionException.java: Update to 1.4.
11738         * java/beans/PropertyVetoException.java: Ditto.
11739
11740 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11741
11742         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11743         Arrays.equals instead of ArrayHelper.equalsArray.
11744
11745 2002-03-24  C. Brian Jones <cbj@gnu.org>
11746
11747         * java/beans/Introspector.java: added new static final fields
11748         introduced in 1.2, lots of other updates remain to be done
11749
11750 2002-03-24  C. Brian Jones <cbj@gnu.org>
11751
11752         * java/beans/Introspector.java: reformatting
11753
11754 2002-03-24  C. Brian Jones <cbj@gnu.org>
11755
11756         * java/beans/Introspector.java: default beanInfoSearchPath will
11757         not include sun.beans.infos given we provide no such package and
11758         the API doesn't really require it; gnu.java.beans.info is the
11759         default.
11760
11761 2002-03-24  Mark Wielaard  <mark@klomp.org>
11762
11763         Thanks to Orp developers
11764         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11765         switch TRUE and FALSE return values.
11766
11767 2002-03-23  Tom Tromey  <tromey@redhat.com>
11768
11769         * include/name-finder.h (_Jv_name_finder::myclose): New method.
11770         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11771
11772 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
11773
11774         * java/util/GregorianCalendar.java (minimums, maximums): Correct
11775         MONTH entry.  Fixes PR libgcj/6045.
11776
11777 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
11778
11779         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11780
11781 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11782
11783         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11784         not release_set.
11785         * sysdep/powerpc/locks.h (write_barrier): New function.
11786         * sysdep/i386/locks.h (write_barrier): New function.
11787
11788 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
11789
11790         * include/jni.h Use correct C comments.
11791
11792 2002-03-18  Tom Tromey  <tromey@redhat.com>
11793
11794         * include/jni.h (JNIIMPORT): New macro.
11795         (JNIEXPORT): Likewise.
11796         (JNICALL): Likewise.
11797
11798 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11799
11800         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11801         systems.
11802
11803 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
11804
11805         * include/i386-signal.h (old_i386_kernel_sigaction): New.
11806         INIT_SEGV: Use old_i386_kernel_sigaction.
11807         INIT_FP: Likewise.
11808
11809 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11810
11811         * java/lang/natSystem.cc (init_properties): Update VM version
11812         properties.
11813         * configure.in: Set GCJVERSION.
11814         * acconfig.h: Add GCJVERSION.
11815         * configure: Rebuilt.
11816         * include/config.h.in: Rebuilt.
11817
11818 2002-03-17  Anthony Green  <green@redhat.com>
11819
11820         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11821
11822 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11823
11824         Build a single libgcj.so, without separate gc and zlib libraries.
11825         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11826         SYS_ZLIBS if system zlib is used.
11827         * configure: Rebuilt.
11828         * Makefile.am: Use boehm-gc and zlib convenience libraries.
11829         * Makefile.in: Rebuilt.
11830         * libtool-version: Increment .so version number.
11831
11832         * Makefile.am: Escape quotes in echo.
11833         * Makefile.in: Rebuilt.
11834
11835 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11836
11837         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11838         * Makefile.in: Rebuilt.
11839
11840 2002-03-15  Anthony Green  <green@redhat.com>
11841
11842         * configure.host (FILE): New macro for specifing File
11843         implementation.
11844         * configure: Rebuilt.
11845         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
11846
11847 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
11848
11849         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11850         already implicitly brought in from libgcj.la.
11851         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11852         * Makefile.in: Rebuilt.
11853
11854 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
11855
11856         * THANKS: Fix punctuation, alphabetization.
11857
11858 2002-03-15  Tom Tromey  <tromey@redhat.com>
11859             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11860
11861         Fix for PR libgcj/5944.
11862         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11863
11864 2002-03-15  Anthony Green  <green@redhat.com>
11865
11866         * configure.in (tool_include_dir): Define.
11867         * configure: Rebuilt.
11868         * gcj/Makefile.am: Install libgcj-config.h relative to
11869         tool_include_dir.
11870         * gcj/Makefile: Rebuilt.
11871         * gcj/libgcj-config.h: Add warning comment.
11872
11873 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
11874
11875         * configure.host (powerpc*-darwin*): Enable interpreter.
11876
11877 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11878
11879         * include/posix.h: Add multiple include header protection.
11880         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11881
11882 2002-03-10  Adam Megacz <adam@xwt.org>
11883
11884         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11885
11886 2002-03-10  Tom Tromey  <tromey@redhat.com>
11887
11888         * java/awt/GridLayout.java (layoutContainer): Handle case where
11889         there are no items in container.
11890
11891         * java/lang/Win32Process.java: Added comment.
11892         * include/posix.h (_Jv_platform_close_on_exec): New function.
11893         Include fcntl.h.
11894         * include/win32.h (_Jv_platform_close_on_exec): New function.
11895         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11896         flag.
11897         (accept): Likewise.
11898         * java/net/natPlainDatagramSocketImpl.cc (create): Set
11899         close-on-exec flag.
11900         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11901         flag.
11902
11903 2002-03-09  Tom Tromey  <tromey@redhat.com>
11904
11905         * verify.cc (state::NO_STACK): New constant.
11906         (state::is_unmerged_ret_state): Handle case where stacktop is
11907         NO_STACK.
11908         (state::merge): Handle NO_STACK merges.
11909         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11910         for instruction following jsr.
11911         (stacktop, stackdepth): Removed unused variables.
11912         (pop_jump): Ignore case where all remaining states are skipped.
11913
11914 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11915
11916         * java/awt/ImageMediaEntry: Removed.
11917         * java/awt/MediaEntry: Removed.
11918
11919 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11920
11921         Hashtable synchronization for PowerPC.
11922         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11923         slow_pthread_self. Set up symlink for sysdeps directory.
11924         * configure: Rebuild.
11925         * configure.host: Document more shell variables. Set sysdeps_dir
11926         for most platforms. Set slow_pthread_self for i686. Set
11927         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11928         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11929         that memory barrier is emitted where required.
11930         * prims.cc: 64-bit align static primitive class instances.
11931         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11932         read_barrier() to enforce ordering of reads.
11933         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11934         primitives for PowerPC.
11935         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11936         moved from natObject.cc.
11937         * sysdep/alpha/locks.h: Likewise.
11938         * sysdep/ia64/locks.h: Likewise.
11939         * sysdep/generic/locks.h: Likewise.
11940         * java/lang/natObject.cc: Move thread synchronization primitives to
11941         system-dependent headers.
11942
11943 2002-03-09  Adam Megacz  <adam@xwt.org>
11944
11945         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11946         bytes read and no failure code returned.
11947
11948 2002-03-09  Adam Megacz  <adam@xwt.org>
11949
11950         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11951         definitions to simulate -mthreads.
11952
11953 2002-03-09  Adam Megacz  <adam@xwt.org>
11954
11955         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11956         avoid precision loss.
11957
11958 2002-03-09  Per Bothner  <per@bothner.com>
11959
11960         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
11961         * gnu/gcj/xlib/XImage.java:  Likewise.
11962         * gnu/gcj/xlib/XColor.java:  Likewise.
11963
11964 2002-03-09  Adam Megacz  <adam@xwt.org>
11965
11966         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11967         IOException so that Throwable.printStackTrace fails correctly.
11968
11969 2002-03-08  Adam Megacz  <adam@xwt.org>
11970
11971         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11972         fixed.
11973
11974 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11975
11976         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11977         truncated to int.
11978
11979 2002-03-08  Tom Tromey  <tromey@redhat.com>
11980
11981         * include/jni.h: Include stdio.h.
11982
11983 2002-03-08  Tom Tromey  <tromey@redhat.com>
11984
11985         * posix.cc (internal_gettimeofday): New function.
11986         (_Jv_select): Use it.
11987
11988 2002-03-07  Adam Megacz  <adam@xwt.org>
11989
11990         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11991         WIN32, and added thunks for read(), write(), and close().
11992         * java/net/natPlainSocketImpl.cc (accept, read, read):
11993         Disabled timeouts on WIN32 pending discussion.
11994
11995 2002-03-07  Adam Megacz  <adam@xwt.org>
11996
11997         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11998         returns jlong. Added implementation
11999         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12000         returns jlong.
12001         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12002         returns jlong.
12003         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12004         returns jlong.
12005         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12006         _Jv_platform_gettimeofday signature.
12007
12008 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12009
12010         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12011         (read): Call recv() directly, not _Jv_recv().
12012
12013 2002-03-06  Tom Tromey  <tromey@redhat.com>
12014
12015         * java/io/natFileDescriptorEcos.cc (init): Don't use
12016         GetStdHandle.
12017         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
12018         is negative.
12019         (init): Don't use GetStdHandle.
12020
12021         * include/config.h.in: Rebuilt.
12022         * configure: Rebuilt.
12023         * Makefile.in: Rebuilt.
12024
12025 2002-03-06  Adam Megacz  <adam@xwt.org>
12026
12027         * java/io/FileDescriptor.java: Initialize in/out/err in init().
12028         * java/io/natFileDescriptorWin32.cc (init()): Added function.
12029         * java/io/natFileDescriptorPosix.cc (init()): Added function.
12030         * java/io/natFileDescriptorEcos.cc (init()): Added function.
12031
12032 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
12033
12034         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
12035         the code for generating include/java-chartables.h.
12036         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
12037         merge with Classpath.
12038         * scripts/unicode-muncher.pl: Copy from Classpath.
12039         * scritps/MakeCharTables.java: New file.
12040         * gnu/gcj/convert/Blocks-3.txt: New file.
12041         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
12042         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
12043         * gnu/java/lang/CharData.java: Copy from Classpath.
12044         * Makefile.am (ordinary_java_source_files): Add
12045         gnu/java/lang/CharData.java.
12046         * configure.in: Remove --enable-fast-character option.
12047         * java/lang/Character.java: Merge algorithms and Javadoc with
12048         Classpath.
12049         * java/lang/natCharacter.cc: Implement Unicode lookup table more
12050         efficiently.
12051         * include/java-chardecomp.h: Regenerate.
12052         * include/java-chartables.h: Regenerate.
12053
12054 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12055
12056         * java/awt/MediaTracker.java: Implemented.
12057         * Makefile.am: Add MediaTracker.
12058         * Makefile.in: Rebuilt.
12059
12060 2002-03-05  Tom Tromey  <tromey@redhat.com>
12061
12062         * java/lang/natPosixProcess.cc (fail): Removed.
12063         (startProcess): Simplified error-handling.  Preserve
12064         LD_LIBRARY_PATH across exec.
12065
12066         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
12067         AbstractMethodError.
12068
12069 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12070
12071         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
12072         * Makefile.in: Rebuilt.
12073
12074 2002-03-03 Mark Wielaard <mark@klomp.org>
12075
12076         * java/util/Timer (TaskQueue.stop): set elements to zero.
12077
12078 2002-02-28  Anthony Green  <green@redhat.com>
12079
12080         * java/lang/reflect/natMethod.cc (result): Add void* element.
12081         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
12082         constructor test.
12083
12084 2002-02-27  Adam Megacz <adam@xwt.org>
12085
12086         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
12087         '#undef STRICT'.
12088
12089 2002-02-26  Tom Tromey  <tromey@redhat.com>
12090
12091         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
12092         * gij.cc (version): Use __VERSION__.
12093         * include/config.h.in: Rebuilt.
12094         * acconfig.h (GCJVERSION): Removed.
12095         * configure: Rebuilt.
12096         * configure.in (GCJVERSION): Removed.
12097
12098 2002-02-26  Andreas Schwab  <schwab@suse.de>
12099
12100         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
12101         glibcpp_CXX, since libjava uses even another CXX.
12102         * aclocal.m4, configure: Regenerated.
12103
12104 2002-02-26  Tom Tromey  <tromey@redhat.com>
12105
12106         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
12107         `1'.
12108
12109 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12110
12111         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
12112         dependency tracking for .java files.
12113         * Makefile.in: Rebuilt.
12114
12115 2002-02-24  Adam Megacz  <adam@xwt.org>
12116
12117         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
12118         typo. Sorry.
12119
12120 2002-02-24  Adam Megacz  <adam@xwt.org>
12121
12122         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
12123         for Win32, changed #ifdefs to check WIN32 instead of the
12124         (now-obsolete) USE_WINSOCK, and removed support for socket
12125         timeouts on Win32 pending further discussion.
12126
12127 2002-02-24  Adam Megacz  <adam@xwt.org>
12128
12129         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
12130         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
12131         delete
12132
12133 2002-02-24  Adam Megacz  <adam@xwt.org>
12134
12135         * java/lang/Win32Process.java: Created a dummy class to allow
12136         build process to run to completion.
12137
12138 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
12139
12140         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
12141         Define ffi_result union for ffi_call result.  Cast
12142         ffi_result members to jvalue.
12143
12144 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
12145
12146         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
12147         * testsuite/Makefile.in: Likewise.
12148
12149 2002-02-20  Per Bothner  <per@bothner.com>
12150
12151         * java/net/URL.java (getPath):  New JDK 1.3 method.
12152
12153         * java/net/URLStreamHandler.java (parseURL):
12154         It is wrong to prepend '/' to the file part of a relative url.
12155
12156         * java/net/URLStreamHandler.java (parseURL):
12157         Minor optizations - append '/' rather than "/".
12158
12159         * java/net/URLStreamHandler.java (parseURL):
12160         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
12161         We probably should canonicalize for a context-relative url, though.
12162         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
12163         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
12164         (sameFile):  New method.  Uses canonicalizeFilename.
12165
12166 2002-02-22  Tom Tromey  <tromey@redhat.com>
12167
12168         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
12169         java.vendor and java.vm.vendor.
12170         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
12171         recent copyright date.
12172         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
12173         * gij.cc (version): Print `Inc'.
12174
12175 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
12176
12177         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
12178         * aclocal.m4, configure: Rebuilt.
12179
12180 2002-02-20  Per Bothner  <per@bothner.com>
12181
12182         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
12183         and/or output streams immediately here, instead of using File.exists.
12184         (inputStream, outputStream):  New fields to save open streams.
12185         (getInputStream, getOutputStream):  Use already-opened streams.
12186
12187 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
12188
12189         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
12190         Use it.
12191         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
12192         * aclocal.m4, configure, Makefile.in: Rebuilt.
12193
12194 2002-02-19  Tom Tromey  <tromey@redhat.com>
12195
12196         Fix for PR libgcj/5696:
12197         * verify.cc (is_assignable_from_slow): Never call
12198         _Jv_IsAssignableFrom.
12199         (verify_instructions_0): Added new debug statement.
12200         (state::print): Print information about whether local has
12201         changed.
12202         (state::merge): Don't call note_variable when merging locals.
12203         (state::set_exception): Removed old FIXME comment.
12204
12205 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12206
12207         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
12208         enable SO_BROADCAST.
12209
12210 2002-02-18  Jason Merrill  <jason@redhat.com>
12211
12212         * name-finder.cc (toHex): Use word mode, not long long.
12213
12214         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
12215
12216 2002-02-15  Tom Tromey  <tromey@redhat.com>
12217
12218         Fix for PR libgcj/5695:
12219         * verify.cc (is_assignable_from_slow): Check to see if target is
12220         an Object before checking to see if source is an interface.
12221         (verify_instructions_0) [op_invokeinterface]: Handle case where
12222         we're making an interface call on Object.
12223
12224 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12225
12226         * Makefile.in: Rebuilt with Eric's change below.
12227
12228         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
12229         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
12230         Removed functions which are now implemented in Math.java.
12231
12232 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12233
12234         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
12235         * Makefile.am (core_java_source_files): Add
12236         java/lang/StrictMath.java.
12237         * java/lang/Math.java: Merge with Classpath.
12238         * java/lang/StrictMath.java: New file - merge with Classpath.
12239
12240 2002-02-14  Mark Wielaard  <mark@klomp.org>
12241
12242         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
12243         package as a workaround for gcj 3.0.x
12244
12245 2002-02-14  Mark Wielaard <mark@klomp.org>
12246
12247         * java/security/BasicPermission.java: extends with fully qualified
12248         classname as workaround for gcj 3.0.4.
12249
12250 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12251
12252         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
12253         around gcj bug of wrong emitted qualifier for inherited method.
12254         * java/net/SocketImpl.java (setOption, getOption): Ditto.
12255         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
12256         constructor to reduce amount of emitted bytecode. While this
12257         happens to work around a jikes 1.15 bug, it is still a useful
12258         patch even for correct compilers.
12259         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
12260         * gnu/java/rmi/server/UnicastRemoteCall.java
12261         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
12262
12263 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12264
12265         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
12266         * java/net/SocketImpl.java: Ditto.
12267         * java/rmi/server/RMIClassLoader.java: Ditto.
12268         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
12269
12270 2002-02-14  Mark Wielaard <mark@klomp.org>
12271
12272         Thanks to Takashi Okamoto
12273         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
12274         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
12275         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
12276
12277 2002-02-13  Todd Stock  <toddastock@yahoo.com>
12278
12279         Fix for PR libgcj/5670:
12280         * verify.cc (is_assignable_from_slow): If `source' is interface,
12281         recursively look for merge with `target'.
12282
12283 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
12284
12285         * include/jni.h: Fix typo.
12286
12287 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
12288
12289         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
12290         correctly.
12291
12292 2002-02-13  Todd Stock  <toddastock@yahoo.com>
12293
12294         Fix for PR libgcj/5671:
12295         * verify.cc (state::merge): Handle case where we're merging
12296         against an interface.
12297
12298 2002-02-12  Tom Tromey  <tromey@redhat.com>
12299
12300         * exception.cc (std::abort): Mark as noreturn.
12301
12302 2002-02-12  Adam Megacz <adam@xwt.org>
12303
12304         * java/lang/Win32Process.java: Filled in a placeholder
12305         implementation so Win32 will build.
12306
12307 2002-02-12  Adam Megacz <adam@xwt.org>
12308
12309         * java/io/natFilePosix.cc: Copied this from natFile.cc.
12310         * java/io/natFile.cc: Removed from repository.
12311         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
12312
12313 2002-02-12  Adam Megacz <adam@xwt.org>
12314
12315         * win32.cc: Added two #includes to make win32.cc compile.
12316
12317 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12318
12319         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
12320         declarations.
12321         (_Jv_InitGC): Don't bother locking, as this is always called from a
12322         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
12323
12324 2002-02-11  Adam Megacz <adam@xwt.org>
12325
12326         * include/win32.h: Added _Jv_platform_gettimeofday.
12327         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
12328
12329 2002-02-11  Adam Megacz <adam@xwt.org>
12330
12331         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
12332         Added #undef STRICT to make windows.h and
12333         java/lang/reflect/Modifier.h cooperate.
12334
12335 2002-02-11  Adam Megacz <adam@xwt.org>
12336
12337         * java/io/natFileWin32.cc: Created a placeholder class with lots
12338         of FIXMEs.
12339
12340 2002-02-11  Adam Megacz <adam@xwt.org>
12341
12342         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
12343         std::abort() to simply abort(). Also added "fake" std::abort() so
12344         we can #include unwind-pe.h without having to link against
12345         libstdc++-v3.
12346
12347 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
12348
12349         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
12350
12351 2002-02-08  Tom Tromey  <tromey@redhat.com>
12352
12353         * interpret.cc (convert): New function.
12354         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
12355         convert.
12356         Include Long.h.
12357
12358 2002-02-08  Anthony Green  <green@redhat.com>
12359
12360         * configure.host: Add support for xscale-elf embedded target.
12361
12362 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
12363
12364         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
12365         dereferenced.
12366         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
12367         frame.
12368
12369 2002-02-07  Tom Tromey  <tromey@redhat.com>
12370
12371         * java/io/natFile.cc (_access): Use __builtin_alloca.
12372         (_stat): Likewise.
12373         (attr): Likewise.
12374         (getCanonicalPath): Likewise.
12375         (performList): Likewise.
12376         (performMkdir): Likewise.
12377         (performSetReadOnly): Likewise.
12378         (performRenameTo): Likewise.
12379         (performSetLastModified): Likewise.
12380         (performCreate): Likewise.
12381         (performDelete): Likewise.
12382
12383 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12384
12385         * HACKING: Fix URL for the automake-gcj.
12386
12387 2002-02-07  Tom Tromey  <tromey@redhat.com>
12388
12389         * java/lang/natThrowable.cc: Updated copyright.
12390         * java/io/natFileWin32.cc: Updated copyright.
12391         * java/io/natFileDescriptorWin32.cc: Updated copyright.
12392         * win32-threads.cc: Updated copyright.
12393         * name-finder.cc: Updated copyright.
12394         * include/name-finder.h: Updated copyright.
12395
12396         * include/name-finder.h: Conditionally include sys/wait.h.
12397         * include/config.h.in: Rebuilt.
12398
12399         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
12400         Size buffer based on real size of string.
12401         (_stat): Likewise.
12402         (attr): Likewise.
12403         (getCanonicalPath): Likewise.
12404         (performList): Likewise.
12405         (performMkdir): Likewise.
12406         (performSetReadOnly): Likewise.
12407         (unixroot): Removed.
12408         (performRenameTo): Likewise.
12409         (performSetLastModified): Likewise.
12410         (performCreate): Likewise.
12411         (performDelete): Likewise.
12412         (performListRoots): Always return new array.
12413
12414         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
12415         * win32.cc (win32_exception_handler): Now static.
12416         * include/win32.h (_Jv_platform_initialize): Declare.
12417         (win32_exception_handler): Don't declare.
12418         * java/lang/natSystem.cc (currentTimeMillis): Use
12419         _Jv_platform_gettimeofday.
12420         * posix.cc (_Jv_platform_gettimeofday): Renamed.
12421         (_Jv_select): Use new name.
12422         (_Jv_platform_initialize): New function.
12423         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
12424         _Jv_gettimeofday.
12425         (_Jv_platform_initialize): Declare.
12426
12427         * configure: Rebuilt.
12428         * configure.in: Removed unnecessary parens.
12429
12430 2002-02-06  Adam Megacz <adam@xwt.org>
12431
12432        * configure.in: Changed mingw) to *mingw*).
12433        * win32.cc: Created this file.
12434        * win32.h: Created this file.
12435        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
12436        win32_exception_handler from prims.cc to win32.cc, added
12437        header in win32.h.
12438        * prims.cc: removed some #ifdef-WIN32'd headers which are no
12439        longer needed now that we have platform.h
12440
12441 2002-02-06  Adam Megacz <adam@xwt.org>
12442
12443         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
12444         use uint<n>_t instead of LONG and BYTE
12445
12446 2002-02-06  Adam Megacz <adam@xwt.org>
12447
12448         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
12449
12450 2002-02-06  Anthony Green  <green@redhat.com>
12451
12452         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
12453         Implement missing method stubs.
12454         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
12455         targets.
12456         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
12457         concept of timezones.
12458         (init_properties): Don't refer to _Jv_Environment_Properties
12459         when this feature is not available.
12460         * include/config.h.in: Rebuilt.
12461         * acconfig.h: Add DISABLE_MAIN_ARGS.
12462         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
12463         * configure: Rebuilt.
12464         * configure.in: Add --disable-main-args option.  Test for
12465           opendir function.  Replace AC_CHECK_SIZEOF with
12466           AC_COMPILE_CHECK_SIZEOF.
12467         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
12468         * aclocal.m4: Rebuilt.
12469         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
12470
12471 2002-02-06  Tom Tromey  <tromey@redhat.com>
12472
12473         * verify.cc (require_array_type): If argument is a null array of
12474         references, return null as the element type.
12475
12476 2002-02-06  Mark Wielaard  <mark@klomp.org>
12477
12478         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
12479         duplicate of a wide type.
12480
12481 2002-02-06  Tom Tromey  <tromey@redhat.com>
12482
12483         * verify.cc (type::isnull): New method.
12484         (require_array_type): Handle case where array is null.
12485         (verify_instructions_0) [op_arraylength]: Likewise.
12486
12487 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12488
12489         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
12490         Symlink PLATFORMH to platform.h.
12491         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
12492         PLATFORMOBJS.
12493         * java/lang/natSystem.cc: #include platform.h not posix.h.
12494         * Makefile.in: Rebuilt with libgcj automake.
12495         * configure: Rebuilt.
12496
12497 2002-02-05  Richard Henderson  <rth@redhat.com>
12498
12499         * Makefile.in: Undo munging last change.
12500
12501 2002-02-04  Adam Megacz <adam@xwt.org>
12502
12503         * win32.cc: Created it.
12504         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
12505         which is set to posix.cc or win32.cc.
12506         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
12507
12508 2002-02-04  Adam Megacz <adam@xwt.org>
12509
12510         * configure.in: Corrected mingw case branches; added * before
12511         and after.
12512
12513 2002-02-04  Adam Megacz <adam@xwt.org>
12514
12515         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
12516         if compiling for win32
12517
12518 2002-02-04  Adam Megacz <adam@xwt.org>
12519
12520         * win32-threads.cc: #undef STRICT after gc.h inclusion
12521
12522 2002-02-02  Tom Tromey  <tromey@redhat.com>
12523
12524         * Makefile.in: Rebuilt.
12525
12526 2002-02-02  Jason Merrill  <jason@redhat.com>
12527
12528         * Makefile.am (clean-nat): New target.
12529
12530 2002-02-02  Tom Tromey  <tromey@redhat.com>
12531
12532         * java/io/natFile.cc: Removed old "FIXME" comments.
12533
12534 2002-02-01  Tom Tromey  <tromey@redhat.com>
12535
12536         * java/lang/natPosixProcess.cc (myclose): New function.
12537         (fail): Use it.
12538         (startProcess): Likewise.
12539
12540 2002-02-01  Adam Megacz <adam@xwt.org>
12541
12542         * prims.cc: Added #undef STRICT after #include<windows.h>.
12543
12544 2002-02-01  Adam Megacz <adam@xwt.org>
12545
12546         * prims.cc
12547         (_Jv_CreateJavaVM): We now use WIN32 instead of
12548         USE_WIN32_SIGNALLING and USE_WINSOCK.
12549         (win32_exception_handler): Now throws an exception out of
12550         the signal handler; assumes SJLJ.
12551
12552 2002-02-01  Adam Megacz <adam@xwt.org>
12553
12554         * win32-threads.cc:
12555         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
12556         wait() algorithm to make it safe.
12557         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
12558         Added lazy creation of Win32 Events for better performance
12559         (really_start): This now uses GC_CreateThread so boehm-gc
12560         knows about new threads even when statically linked.
12561
12562 2002-02-01  Adam Megacz <adam@xwt.org>
12563
12564         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
12565         enable safer wait() algorithm.
12566         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
12567         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
12568         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
12569         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
12570         instead of mutex.
12571         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
12572
12573 2002-02-01  Adam Megacz <adam@xwt.org>
12574
12575         * configure.in: Added support for mingw.
12576         * java/lang/Win32Process.java: Created as empty file.
12577         * java/lang/natWin32Process.cc: Created as empty file.
12578
12579 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
12580
12581         PR java/4972
12582         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
12583         for libiconv in LIBICONV variable.
12584         * configure: Regenerated.
12585
12586 2002-01-31  Tom Tromey  <tromey@redhat.com>
12587
12588         * verify.cc (state::enter_subroutine): New method.
12589         (handle_jsr_insn): Use it.
12590         (state::merge): When processing a `ret', correctly use
12591         subroutine's state to determine which local variables have
12592         changed.
12593         (push_exception_jump): Don't let stack overflow.
12594
12595 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
12596
12597         * gnu/gcj/convert/Convert.java: Only include one copyright year in
12598         --version output.
12599
12600 2002-01-30  Tom Tromey  <tromey@redhat.com>
12601
12602         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
12603         parameter for `recv' return type.
12604
12605         * verify.cc (handle_ret_insn): Check for subroutine merge here...
12606         (state::merge): ... not here.
12607         (subr_entry_info): New structure.
12608         (entry_points): New field.
12609         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
12610         entry_points.
12611
12612 2002-01-29  Tom Tromey  <tromey@redhat.com>
12613
12614         * java/awt/List.java (addNotify): Correctly check to see if peer
12615         does not exist.
12616
12617         * java/awt/GridLayout.java (layoutContainer): Use number of rows
12618         to compute height of each cell, and number of columns to compute
12619         width of each cell.
12620         * java/awt/Window.java (getOwnedWindows): Don't return null.
12621         * java/awt/FlowLayout.java (layoutContainer): Set width and height
12622         of component.  Increment x using horizontal gap, not vertical
12623         gap.
12624
12625 2002-01-28  Tom Tromey  <tromey@redhat.com>
12626
12627         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12628         `nargs' byte is number of words, not number of arguments.
12629
12630 2002-01-27  Tom Tromey  <tromey@redhat.com>
12631
12632         * java/awt/event/MouseEvent.java (modifiers): Removed field.
12633         (when): Likewise.
12634         * java/awt/event/InputEvent.java (modifiers, when): Now
12635         package-private.
12636
12637         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12638         and to-do list.
12639         (state::merge): Use current class' class loader.
12640         (state::print): Print subroutine.
12641         (state::merge): Don't look at subroutine of unmerged `ret'.
12642
12643 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12644
12645         * nogc.cc: Remove warnings.
12646         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12647         New functions.
12648
12649 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12650
12651         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12652         int, int):  Remove empty "if" statement to work around compiler bug.
12653         (newPixels(int[], ColorModel, int, int): Likewise.
12654
12655 2002-01-25  Per Bothner  <per@bothner.com>
12656
12657         * verify.cc (verify_fail):  Change from being a top-level function
12658         to e method of _Jv_BytecodeVerifier.  Emit current method name.
12659         Pass the current verifier to type: and state: methods as needed,
12660         for better error messages, and for resolve.
12661         (resolve):  Pass current class's loader for Class.forName and
12662         _Jv_FindClassFromSignature, rather than using the default loader.
12663         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
12664         (get_type_val_for_signature):  Make non-static.
12665         (various methods):  Pass start_PC implicitly, not explicitly.
12666
12667 2002-01-25  Tom Tromey  <tromey@redhat.com>
12668
12669         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12670         loop termination condition.
12671         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12672         width.
12673
12674 2002-01-24  Tom Tromey  <tromey@redhat.com>
12675
12676         * java/awt/Shape.java: Merged with Classpath.
12677         * java/awt/Scrollbar.java: Merged with Classpath.
12678
12679         * java/awt/Container.java (addNotify): Unconditionally call
12680         addNotifyContainerChildren and superclass addNotify.
12681
12682         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12683         getAlpha, not getBlue.
12684
12685 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12686
12687         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12688
12689         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12690         (grabPixels(long)): Wait to be notified that the ImageProducer has
12691         completed.
12692
12693 2002-01-24  Per Bothner  <per@bothner.com>
12694
12695         * verify.cc (is_assignable_from_slow): If target is an interface,
12696         we must still check the source's superclass before giving up.
12697
12698 2002-01-24  Tom Tromey  <tromey@redhat.com>
12699
12700         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12701
12702 2002-01-23  Tom Tromey  <tromey@redhat.com>
12703
12704         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12705         `else'.
12706
12707         * Makefile.in: Rebuilt.
12708         * Makefile.am (awt_java_source_files): Added new files.
12709         * java/awt/Toolkit.java: Merged with Classpath.
12710         * java/awt/PrintGraphics.java: New file from Classpath.
12711         * java/awt/PrintJob.java: New file from Classpath.
12712         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12713         * java/awt/datatransfer/ClipboardOwner.java: New file from
12714         Classpath.
12715         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12716         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12717         * java/awt/datatransfer/MimeTypeParseException.java: New file from
12718         Classpath.
12719         * java/awt/datatransfer/StringSelection.java: New file from
12720         Classpath.
12721         * java/awt/datatransfer/SystemFlavorMap.java: New file from
12722         Classpath.
12723         * java/awt/datatransfer/Transferable.java: New file from
12724         Classpath.
12725         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12726         from Classpath.
12727
12728         * Makefile.in: Rebuilt.
12729         * Makefile.am (awt_java_source_files): Added new files.
12730         * java/awt/image/AreaAveragingScaleFilter.java: New file from
12731         Classpath.
12732         * java/awt/image/CropImageFilter.java: New file from Classpath.
12733         * java/awt/image/FilteredImageSource.java: New file from
12734         Classpath.
12735         * java/awt/image/ImageFilter.java: New file from Classpath.
12736         * java/awt/image/MemoryImageSource.java: New file from Classpath.
12737         * java/awt/image/PixelGrabber.java: New file from Classpath.
12738         * java/awt/image/RGBImageFilter.java: New file from Classpath.
12739         * java/awt/image/ReplicateScaleFilter.java: New file from
12740         Classpath.
12741         * java/awt/image/ImageProducer.java: Replaced with Classpath
12742         version.
12743         * java/awt/image/ImageObserver.java: Replaced with Classpath
12744         version.
12745         * java/awt/image/ImageConsumer.java: Replaced with Classpath
12746         version.
12747         * java/awt/GridBagConstraints.java (clone): Catch
12748         CloneNotSupportedException.
12749
12750 2002-01-23  Per Bothner  <per@bothner.com>
12751
12752         * java/lang/reflect/natField.cc (setAddr):  New function.
12753         Calls getAddr and then checks that the field isn't final.
12754         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12755         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
12756         (set):  Call setAddr before check that new value has right type,
12757         to better match specified semantics.
12758
12759 2002-01-22  Tom Tromey  <tromey@redhat.com>
12760
12761         * java/awt/TextField.java: Replaced with Classpath version.
12762         * java/awt/TextArea.java: Replaced with Classpath version.
12763         * java/awt/TextComponent.java: Replaced with Classpath version.
12764
12765         * java/awt/GridBagConstraints.java: Updated copyright.
12766
12767 2002-01-22  Mark Wielaard <mark@klomp.org>
12768
12769         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12770         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12771         java/awt/Dialog.java java/awt/FileDialog.java
12772         java/awt/Font.java java/awt/FontMetrics.java
12773         java/awt/Image.java java/awt/ImageMediaEntry.java
12774         java/awt/Insets.java java/awt/List.java
12775         java/awt/MediaEntry.java java/awt/MediaTracker.java
12776         java/awt/Menu.java java/awt/MenuBar.java
12777         java/awt/MenuContainer.java java/awt/MenuShortcut.java
12778         java/awt/PaintContext.java java/awt/Panel.java
12779         java/awt/PopupMenu.java java/awt/SystemColor.java
12780         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12781         java/awt/peer/CheckboxMenuItemPeer.java
12782         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12783         java/awt/peer/ComponentPeer.java
12784         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12785         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12786         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12787         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12788         java/awt/peer/MenuBarPeer.java
12789         java/awt/peer/MenuComponentPeer.java
12790         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12791         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12792         java/awt/peer/ScrollPanePeer.java
12793         java/awt/peer/ScrollbarPeer.java
12794         java/awt/peer/TextAreaPeer.java
12795         java/awt/peer/TextComponentPeer.java
12796         java/awt/peer/TextFieldPeer.java
12797         java/awt/peer/WindowPeer.java: Add license clarification.
12798
12799 2002-01-22  Mark Wielaard <mark@klomp.org>
12800
12801         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12802         gnu/gcj/runtime/StringBuffer.java
12803         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12804         gnu/java/awt/ComponentDataBlitOp.java
12805         gnu/java/awt/GLightweightPeer.java
12806         gnu/java/beans/BeanInfoEmbryo.java
12807         gnu/java/beans/EmptyBeanInfo.java
12808         gnu/java/beans/ExplicitBeanInfo.java
12809         gnu/java/beans/IntrospectionIncubator.java
12810         gnu/java/beans/editors/ColorEditor.java
12811         gnu/java/beans/editors/FontEditor.java
12812         gnu/java/beans/editors/NativeBooleanEditor.java
12813         gnu/java/beans/editors/NativeByteEditor.java
12814         gnu/java/beans/editors/NativeDoubleEditor.java
12815         gnu/java/beans/editors/NativeFloatEditor.java
12816         gnu/java/beans/editors/NativeIntEditor.java
12817         gnu/java/beans/editors/NativeLongEditor.java
12818         gnu/java/beans/editors/NativeShortEditor.java
12819         gnu/java/beans/editors/StringEditor.java
12820         gnu/java/beans/info/ComponentBeanInfo.java
12821         gnu/java/io/ClassLoaderObjectInputStream.java
12822         gnu/java/io/NullOutputStream.java
12823         gnu/java/io/ObjectIdentityWrapper.java
12824         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12825         gnu/java/lang/reflect/TypeSignature.java
12826         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12827         gnu/java/locale/Calendar_en.java
12828         gnu/java/locale/Calendar_nl.java
12829         gnu/java/locale/LocaleInformation.java
12830         gnu/java/locale/LocaleInformation_de.java
12831         gnu/java/locale/LocaleInformation_en.java
12832         gnu/java/locale/LocaleInformation_nl.java
12833         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12834         gnu/java/rmi/registry/RegistryImpl.java
12835         gnu/java/rmi/rmic/Compile_gcj.java
12836         gnu/java/rmi/rmic/Compiler.java
12837         gnu/java/rmi/rmic/CompilerProcess.java
12838         gnu/java/rmi/rmic/RMIC.java
12839         gnu/java/rmi/rmic/TabbedWriter.java
12840         gnu/java/rmi/server/ProtocolConstants.java
12841         gnu/java/rmi/server/RMIDefaultSocketFactory.java
12842         gnu/java/rmi/server/RMIHashes.java
12843         gnu/java/rmi/server/RMIObjectInputStream.java
12844         gnu/java/rmi/server/RMIObjectOutputStream.java
12845         gnu/java/rmi/server/UnicastConnection.java
12846         gnu/java/rmi/server/UnicastConnectionManager.java
12847         gnu/java/rmi/server/UnicastRef.java
12848         gnu/java/rmi/server/UnicastRemoteCall.java
12849         gnu/java/rmi/server/UnicastRemoteStub.java
12850         gnu/java/rmi/server/UnicastServer.java
12851         gnu/java/rmi/server/UnicastServerRef.java
12852         gnu/java/security/provider/DefaultPolicy.java
12853         gnu/java/security/provider/Gnu.java
12854         gnu/java/security/provider/SHA.java
12855         gnu/java/security/provider/SHA1PRNG.java
12856         gnu/java/text/BaseBreakIterator.java
12857         gnu/java/text/CharacterBreakIterator.java
12858         gnu/java/text/LineBreakIterator.java
12859         gnu/java/text/SentenceBreakIterator.java
12860         gnu/java/text/WordBreakIterator.java
12861         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12862         java/applet/AppletContext.java java/applet/AppletStub.java
12863         java/applet/AudioClip.java java/awt/AWTError.java
12864         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12865         java/awt/AWTException.java java/awt/AWTPermission.java
12866         java/awt/ActiveEvent.java java/awt/BorderLayout.java
12867         java/awt/Button.java java/awt/Canvas.java
12868         java/awt/CardLayout.java java/awt/Checkbox.java
12869         java/awt/CheckboxGroup.java java/awt/Component.java
12870         java/awt/ComponentOrientation.java java/awt/Container.java
12871         java/awt/Dimension.java java/awt/Event.java
12872         java/awt/EventDispatchThread.java java/awt/EventQueue.java
12873         java/awt/FlowLayout.java java/awt/Frame.java
12874         java/awt/Graphics.java java/awt/Graphics2D.java
12875         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12876         java/awt/IllegalComponentStateException.java
12877         java/awt/ItemSelectable.java java/awt/Label.java
12878         java/awt/LayoutManager.java java/awt/LayoutManager2.java
12879         java/awt/MenuComponent.java java/awt/MenuItem.java
12880         java/awt/Paint.java java/awt/Point.java
12881         java/awt/Rectangle.java java/awt/RenderingHints.java
12882         java/awt/Transparency.java java/awt/Window.java
12883         java/awt/color/ColorSpace.java
12884         java/awt/color/ICC_ColorSpace.java
12885         java/awt/color/ICC_Profile.java
12886         java/awt/event/HierarchyBoundsAdapter.java
12887         java/awt/event/HierarchyBoundsListener.java
12888         java/awt/event/HierarchyEvent.java
12889         java/awt/event/HierarchyListener.java
12890         java/awt/geom/AffineTransform.java
12891         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12892         java/awt/geom/IllegalPathStateException.java
12893         java/awt/geom/Line2D.java
12894         java/awt/geom/NoninvertibleTransformException.java
12895         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12896         java/awt/geom/Rectangle2D.java
12897         java/awt/geom/RectangularShape.java
12898         java/awt/geom/RoundRectangle2D.java
12899         java/awt/image/BufferedImage.java
12900         java/awt/image/ColorModel.java
12901         java/awt/image/ComponentColorModel.java
12902         java/awt/image/ComponentSampleModel.java
12903         java/awt/image/DataBuffer.java
12904         java/awt/image/DataBufferByte.java
12905         java/awt/image/DataBufferInt.java
12906         java/awt/image/DataBufferUShort.java
12907         java/awt/image/DirectColorModel.java
12908         java/awt/image/PackedColorModel.java
12909         java/awt/image/Raster.java java/awt/image/RasterOp.java
12910         java/awt/image/SampleModel.java
12911         java/awt/image/SinglePixelPackedSampleModel.java
12912         java/awt/image/WritableRaster.java
12913         java/beans/AppletInitializer.java
12914         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12915         java/beans/Beans.java java/beans/Customizer.java
12916         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12917         java/beans/FeatureDescriptor.java
12918         java/beans/IndexedPropertyDescriptor.java
12919         java/beans/IntrospectionException.java
12920         java/beans/Introspector.java java/beans/MethodDescriptor.java
12921         java/beans/ParameterDescriptor.java
12922         java/beans/PropertyChangeEvent.java
12923         java/beans/PropertyChangeListener.java
12924         java/beans/PropertyChangeSupport.java
12925         java/beans/PropertyDescriptor.java
12926         java/beans/PropertyEditor.java
12927         java/beans/PropertyEditorManager.java
12928         java/beans/PropertyEditorSupport.java
12929         java/beans/PropertyVetoException.java
12930         java/beans/SimpleBeanInfo.java
12931         java/beans/VetoableChangeListener.java
12932         java/beans/VetoableChangeSupport.java
12933         java/beans/Visibility.java
12934         java/beans/beancontext/BeanContext.java
12935         java/beans/beancontext/BeanContextChild.java
12936         java/beans/beancontext/BeanContextChildComponentProxy.java
12937         java/beans/beancontext/BeanContextChildSupport.java
12938         java/beans/beancontext/BeanContextContainerProxy.java
12939         java/beans/beancontext/BeanContextEvent.java
12940         java/beans/beancontext/BeanContextMembershipEvent.java
12941         java/beans/beancontext/BeanContextMembershipListener.java
12942         java/beans/beancontext/BeanContextProxy.java
12943         java/beans/beancontext/BeanContextServiceAvailableEvent.java
12944         java/beans/beancontext/BeanContextServiceProvider.java
12945         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12946         java/beans/beancontext/BeanContextServiceRevokedEvent.java
12947         java/beans/beancontext/BeanContextServiceRevokedListener.java
12948         java/beans/beancontext/BeanContextServices.java
12949         java/beans/beancontext/BeanContextServicesListener.java
12950         java/io/BufferedInputStream.java
12951         java/io/BufferedOutputStream.java java/io/BufferedReader.java
12952         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12953         java/io/ByteArrayOutputStream.java
12954         java/io/CharArrayReader.java java/io/CharArrayWriter.java
12955         java/io/CharConversionException.java java/io/DataInput.java
12956         java/io/DataInputStream.java java/io/DataOutput.java
12957         java/io/EOFException.java java/io/Externalizable.java
12958         java/io/FileFilter.java java/io/FileNotFoundException.java
12959         java/io/FilePermission.java java/io/FileReader.java
12960         java/io/FileWriter.java java/io/FilenameFilter.java
12961         java/io/FilterInputStream.java java/io/FilterOutputStream.java
12962         java/io/FilterReader.java java/io/FilterWriter.java
12963         java/io/IOException.java java/io/InputStream.java
12964         java/io/InterruptedIOException.java
12965         java/io/InvalidClassException.java
12966         java/io/InvalidObjectException.java
12967         java/io/NotActiveException.java
12968         java/io/NotSerializableException.java java/io/ObjectInput.java
12969         java/io/ObjectInputStream.java
12970         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12971         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12972         java/io/ObjectStreamConstants.java
12973         java/io/ObjectStreamException.java
12974         java/io/ObjectStreamField.java
12975         java/io/OptionalDataException.java java/io/OutputStream.java
12976         java/io/PipedInputStream.java java/io/PipedOutputStream.java
12977         java/io/PipedReader.java java/io/PipedWriter.java
12978         java/io/PrintWriter.java java/io/PushbackInputStream.java
12979         java/io/PushbackReader.java java/io/Reader.java
12980         java/io/SequenceInputStream.java java/io/Serializable.java
12981         java/io/SerializablePermission.java
12982         java/io/StreamCorruptedException.java
12983         java/io/StreamTokenizer.java
12984         java/io/StringBufferInputStream.java java/io/StringReader.java
12985         java/io/StringWriter.java java/io/SyncFailedException.java
12986         java/io/UTFDataFormatException.java
12987         java/io/UnsupportedEncodingException.java
12988         java/io/WriteAbortedException.java java/io/Writer.java
12989         java/lang/AbstractMethodError.java
12990         java/lang/ArithmeticException.java
12991         java/lang/ArrayIndexOutOfBoundsException.java
12992         java/lang/ArrayStoreException.java java/lang/Boolean.java
12993         java/lang/Byte.java java/lang/CharSequence.java
12994         java/lang/ClassCastException.java
12995         java/lang/ClassCircularityError.java
12996         java/lang/ClassFormatError.java
12997         java/lang/ClassNotFoundException.java
12998         java/lang/CloneNotSupportedException.java
12999         java/lang/Cloneable.java java/lang/Comparable.java
13000         java/lang/Compiler.java java/lang/Double.java
13001         java/lang/Error.java java/lang/Exception.java
13002         java/lang/ExceptionInInitializerError.java
13003         java/lang/Float.java java/lang/IllegalAccessError.java
13004         java/lang/IllegalAccessException.java
13005         java/lang/IllegalArgumentException.java
13006         java/lang/IllegalMonitorStateException.java
13007         java/lang/IllegalStateException.java
13008         java/lang/IllegalThreadStateException.java
13009         java/lang/IncompatibleClassChangeError.java
13010         java/lang/IndexOutOfBoundsException.java
13011         java/lang/InheritableThreadLocal.java
13012         java/lang/InstantiationError.java
13013         java/lang/InstantiationException.java java/lang/Integer.java
13014         java/lang/InternalError.java
13015         java/lang/InterruptedException.java
13016         java/lang/LinkageError.java java/lang/Long.java
13017         java/lang/NegativeArraySizeException.java
13018         java/lang/NoClassDefFoundError.java
13019         java/lang/NoSuchFieldError.java
13020         java/lang/NoSuchFieldException.java
13021         java/lang/NoSuchMethodError.java
13022         java/lang/NoSuchMethodException.java
13023         java/lang/NullPointerException.java java/lang/Number.java
13024         java/lang/NumberFormatException.java
13025         java/lang/OutOfMemoryError.java java/lang/Package.java
13026         java/lang/Process.java java/lang/Runnable.java
13027         java/lang/RuntimeException.java
13028         java/lang/RuntimePermission.java
13029         java/lang/SecurityException.java
13030         java/lang/SecurityManager.java java/lang/Short.java
13031         java/lang/StackOverflowError.java java/lang/StringBuffer.java
13032         java/lang/StringIndexOutOfBoundsException.java
13033         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
13034         java/lang/ThreadLocal.java java/lang/UnknownError.java
13035         java/lang/UnsatisfiedLinkError.java
13036         java/lang/UnsupportedClassVersionError.java
13037         java/lang/UnsupportedOperationException.java
13038         java/lang/VerifyError.java java/lang/VirtualMachineError.java
13039         java/lang/Void.java java/lang/ref/PhantomReference.java
13040         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
13041         java/lang/ref/SoftReference.java
13042         java/lang/ref/WeakReference.java
13043         java/lang/reflect/AccessibleObject.java
13044         java/lang/reflect/InvocationTargetException.java
13045         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
13046         java/lang/reflect/ReflectPermission.java
13047         java/math/BigDecimal.java java/math/BigInteger.java
13048         java/net/Authenticator.java java/net/BindException.java
13049         java/net/ConnectException.java java/net/ContentHandler.java
13050         java/net/ContentHandlerFactory.java
13051         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
13052         java/net/FileNameMap.java java/net/MalformedURLException.java
13053         java/net/MulticastSocket.java java/net/NetPermission.java
13054         java/net/NoRouteToHostException.java
13055         java/net/PasswordAuthentication.java
13056         java/net/ProtocolException.java java/net/ServerSocket.java
13057         java/net/Socket.java java/net/SocketException.java
13058         java/net/SocketImpl.java java/net/SocketImplFactory.java
13059         java/net/SocketOptions.java java/net/SocketPermission.java
13060         java/net/URLDecoder.java java/net/URLEncoder.java
13061         java/net/URLStreamHandlerFactory.java
13062         java/net/UnknownHostException.java
13063         java/net/UnknownServiceException.java
13064         java/rmi/AccessException.java
13065         java/rmi/AlreadyBoundException.java
13066         java/rmi/ConnectException.java
13067         java/rmi/ConnectIOException.java
13068         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
13069         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
13070         java/rmi/NotBoundException.java
13071         java/rmi/RMISecurityException.java
13072         java/rmi/RMISecurityManager.java java/rmi/Remote.java
13073         java/rmi/RemoteException.java java/rmi/ServerError.java
13074         java/rmi/ServerException.java
13075         java/rmi/ServerRuntimeException.java
13076         java/rmi/StubNotFoundException.java
13077         java/rmi/UnexpectedException.java
13078         java/rmi/UnknownHostException.java
13079         java/rmi/UnmarshalException.java
13080         java/rmi/activation/Activatable.java
13081         java/rmi/activation/ActivateFailedException.java
13082         java/rmi/activation/ActivationDesc.java
13083         java/rmi/activation/ActivationException.java
13084         java/rmi/activation/ActivationGroup.java
13085         java/rmi/activation/ActivationGroupDesc.java
13086         java/rmi/activation/ActivationGroupID.java
13087         java/rmi/activation/ActivationID.java
13088         java/rmi/activation/ActivationInstantiator.java
13089         java/rmi/activation/ActivationMonitor.java
13090         java/rmi/activation/ActivationSystem.java
13091         java/rmi/activation/Activator.java
13092         java/rmi/activation/UnknownGroupException.java
13093         java/rmi/activation/UnknownObjectException.java
13094         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
13095         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
13096         java/rmi/registry/Registry.java
13097         java/rmi/registry/RegistryHandler.java
13098         java/rmi/server/ExportException.java
13099         java/rmi/server/LoaderHandler.java
13100         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
13101         java/rmi/server/Operation.java
13102         java/rmi/server/RMIClassLoader.java
13103         java/rmi/server/RMIClientSocketFactory.java
13104         java/rmi/server/RMIFailureHandler.java
13105         java/rmi/server/RMIServerSocketFactory.java
13106         java/rmi/server/RMISocketFactory.java
13107         java/rmi/server/RemoteCall.java
13108         java/rmi/server/RemoteObject.java
13109         java/rmi/server/RemoteRef.java
13110         java/rmi/server/RemoteServer.java
13111         java/rmi/server/RemoteStub.java
13112         java/rmi/server/ServerCloneException.java
13113         java/rmi/server/ServerNotActiveException.java
13114         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
13115         java/rmi/server/SkeletonMismatchException.java
13116         java/rmi/server/SkeletonNotFoundException.java
13117         java/rmi/server/SocketSecurityException.java
13118         java/rmi/server/UID.java
13119         java/rmi/server/UnicastRemoteObject.java
13120         java/rmi/server/Unreferenced.java
13121         java/security/AccessControlContext.java
13122         java/security/AccessControlException.java
13123         java/security/AccessController.java
13124         java/security/AlgorithmParameterGenerator.java
13125         java/security/AlgorithmParameterGeneratorSpi.java
13126         java/security/AlgorithmParameters.java
13127         java/security/AlgorithmParametersSpi.java
13128         java/security/AllPermission.java
13129         java/security/BasicPermission.java
13130         java/security/Certificate.java java/security/CodeSource.java
13131         java/security/DigestException.java
13132         java/security/DigestInputStream.java
13133         java/security/DigestOutputStream.java
13134         java/security/DomainCombiner.java
13135         java/security/DummyKeyPairGenerator.java
13136         java/security/DummyMessageDigest.java
13137         java/security/DummySignature.java
13138         java/security/GeneralSecurityException.java
13139         java/security/Guard.java java/security/GuardedObject.java
13140         java/security/Identity.java java/security/IdentityScope.java
13141         java/security/InvalidAlgorithmParameterException.java
13142         java/security/InvalidKeyException.java
13143         java/security/InvalidParameterException.java
13144         java/security/Key.java java/security/KeyException.java
13145         java/security/KeyFactory.java java/security/KeyFactorySpi.java
13146         java/security/KeyManagementException.java
13147         java/security/KeyPair.java java/security/KeyPairGenerator.java
13148         java/security/KeyPairGeneratorSpi.java
13149         java/security/KeyStore.java
13150         java/security/KeyStoreException.java
13151         java/security/KeyStoreSpi.java
13152         java/security/MessageDigest.java
13153         java/security/MessageDigestSpi.java
13154         java/security/NoSuchAlgorithmException.java
13155         java/security/NoSuchProviderException.java
13156         java/security/Permission.java
13157         java/security/PermissionCollection.java
13158         java/security/Permissions.java java/security/Policy.java
13159         java/security/Principal.java java/security/PrivateKey.java
13160         java/security/PrivilegedAction.java
13161         java/security/PrivilegedActionException.java
13162         java/security/PrivilegedExceptionAction.java
13163         java/security/ProtectionDomain.java
13164         java/security/Provider.java
13165         java/security/ProviderException.java
13166         java/security/PublicKey.java
13167         java/security/SecureClassLoader.java
13168         java/security/SecureRandom.java
13169         java/security/SecureRandomSpi.java java/security/Security.java
13170         java/security/SecurityPermission.java
13171         java/security/Signature.java
13172         java/security/SignatureException.java
13173         java/security/SignatureSpi.java
13174         java/security/SignedObject.java java/security/Signer.java
13175         java/security/UnrecoverableKeyException.java
13176         java/security/UnresolvedPermission.java
13177         java/security/acl/Acl.java java/security/acl/AclEntry.java
13178         java/security/acl/AclNotFoundException.java
13179         java/security/acl/Group.java
13180         java/security/acl/LastOwnerException.java
13181         java/security/acl/NotOwnerException.java
13182         java/security/acl/Owner.java java/security/acl/Permission.java
13183         java/security/cert/CRL.java
13184         java/security/cert/CRLException.java
13185         java/security/cert/Certificate.java
13186         java/security/cert/CertificateEncodingException.java
13187         java/security/cert/CertificateException.java
13188         java/security/cert/CertificateExpiredException.java
13189         java/security/cert/CertificateFactory.java
13190         java/security/cert/CertificateFactorySpi.java
13191         java/security/cert/CertificateNotYetValidException.java
13192         java/security/cert/CertificateParsingException.java
13193         java/security/cert/X509CRL.java
13194         java/security/cert/X509CRLEntry.java
13195         java/security/cert/X509Certificate.java
13196         java/security/cert/X509Extension.java
13197         java/security/interfaces/DSAKey.java
13198         java/security/interfaces/DSAKeyPairGenerator.java
13199         java/security/interfaces/DSAParams.java
13200         java/security/interfaces/DSAPrivateKey.java
13201         java/security/interfaces/DSAPublicKey.java
13202         java/security/interfaces/RSAKey.java
13203         java/security/interfaces/RSAPrivateCrtKey.java
13204         java/security/interfaces/RSAPrivateKey.java
13205         java/security/interfaces/RSAPublicKey.java
13206         java/security/spec/AlgorithmParameterSpec.java
13207         java/security/spec/DSAParameterSpec.java
13208         java/security/spec/DSAPrivateKeySpec.java
13209         java/security/spec/DSAPublicKeySpec.java
13210         java/security/spec/EncodedKeySpec.java
13211         java/security/spec/InvalidKeySpecException.java
13212         java/security/spec/InvalidParameterSpecException.java
13213         java/security/spec/KeySpec.java
13214         java/security/spec/PKCS8EncodedKeySpec.java
13215         java/security/spec/RSAKeyGenParameterSpec.java
13216         java/security/spec/RSAPrivateCrtKeySpec.java
13217         java/security/spec/RSAPrivateKeySpec.java
13218         java/security/spec/RSAPublicKeySpec.java
13219         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
13220         java/sql/BatchUpdateException.java java/sql/Blob.java
13221         java/sql/CallableStatement.java java/sql/Clob.java
13222         java/sql/Connection.java java/sql/DataTruncation.java
13223         java/sql/DatabaseMetaData.java java/sql/Date.java
13224         java/sql/Driver.java java/sql/DriverManager.java
13225         java/sql/DriverPropertyInfo.java
13226         java/sql/PreparedStatement.java java/sql/Ref.java
13227         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
13228         java/sql/SQLData.java java/sql/SQLException.java
13229         java/sql/SQLInput.java java/sql/SQLOutput.java
13230         java/sql/SQLWarning.java java/sql/Statement.java
13231         java/sql/Struct.java java/sql/Time.java
13232         java/sql/Timestamp.java java/sql/Types.java
13233         java/text/Annotation.java
13234         java/text/AttributedCharacterIterator.java
13235         java/text/AttributedString.java
13236         java/text/AttributedStringIterator.java
13237         java/text/BreakIterator.java java/text/CharacterIterator.java
13238         java/text/ChoiceFormat.java java/text/Collator.java
13239         java/text/DateFormat.java java/text/DateFormatSymbols.java
13240         java/text/DecimalFormat.java
13241         java/text/DecimalFormatSymbols.java
13242         java/text/FieldPosition.java java/text/Format.java
13243         java/text/MessageFormat.java java/text/NumberFormat.java
13244         java/text/ParseException.java java/text/ParsePosition.java
13245         java/text/SimpleDateFormat.java
13246         java/text/StringCharacterIterator.java
13247         java/util/AbstractCollection.java java/util/AbstractList.java
13248         java/util/AbstractMap.java
13249         java/util/AbstractSequentialList.java
13250         java/util/AbstractSet.java java/util/ArrayList.java
13251         java/util/Arrays.java java/util/BasicMapEntry.java
13252         java/util/BitSet.java java/util/Calendar.java
13253         java/util/Collection.java java/util/Collections.java
13254         java/util/Comparator.java
13255         java/util/ConcurrentModificationException.java
13256         java/util/Date.java java/util/Dictionary.java
13257         java/util/EmptyStackException.java java/util/Enumeration.java
13258         java/util/EventListener.java java/util/EventObject.java
13259         java/util/GregorianCalendar.java java/util/HashMap.java
13260         java/util/HashSet.java java/util/Hashtable.java
13261         java/util/IdentityHashMap.java java/util/Iterator.java
13262         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
13263         java/util/LinkedList.java java/util/List.java
13264         java/util/ListIterator.java java/util/ListResourceBundle.java
13265         java/util/Locale.java java/util/Map.java
13266         java/util/MissingResourceException.java
13267         java/util/NoSuchElementException.java
13268         java/util/Observable.java java/util/Observer.java
13269         java/util/Properties.java java/util/PropertyPermission.java
13270         java/util/PropertyResourceBundle.java java/util/Random.java
13271         java/util/RandomAccess.java java/util/ResourceBundle.java
13272         java/util/Set.java java/util/SimpleTimeZone.java
13273         java/util/SortedMap.java java/util/SortedSet.java
13274         java/util/Stack.java java/util/StringTokenizer.java
13275         java/util/TimeZone.java java/util/Timer.java
13276         java/util/TimerTask.java
13277         java/util/TooManyListenersException.java
13278         java/util/TreeMap.java java/util/TreeSet.java
13279         java/util/Vector.java java/util/WeakHashMap.java
13280         java/util/jar/Attributes.java java/util/jar/JarEntry.java
13281         java/util/jar/JarException.java java/util/jar/JarFile.java
13282         java/util/jar/JarInputStream.java
13283         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
13284         java/util/zip/Adler32.java java/util/zip/CRC32.java
13285         java/util/zip/CheckedInputStream.java
13286         java/util/zip/CheckedOutputStream.java
13287         java/util/zip/Checksum.java
13288         java/util/zip/DataFormatException.java
13289         java/util/zip/Deflater.java
13290         java/util/zip/DeflaterOutputStream.java
13291         java/util/zip/GZIPInputStream.java
13292         java/util/zip/GZIPOutputStream.java
13293         java/util/zip/Inflater.java
13294         java/util/zip/InflaterInputStream.java
13295         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
13296         java/util/zip/ZipException.java java/util/zip/ZipFile.java
13297         java/util/zip/ZipInputStream.java
13298         java/util/zip/ZipOutputStream.java
13299         javax/naming/BinaryRefAddr.java
13300         javax/naming/InvalidNameException.java javax/naming/Name.java
13301         javax/naming/NamingException.java javax/naming/RefAddr.java
13302         javax/naming/StringRefAddr.java: Add license clarification.
13303
13304 2002-01-22  Tom Tromey  <tromey@redhat.com>
13305
13306         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
13307         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
13308         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
13309         version.
13310         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
13311         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
13312         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
13313         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
13314         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
13315         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
13316         * java/awt/peer/FontPeer.java: Replace with Classpath version.
13317         * java/awt/peer/FramePeer.java: Replace with Classpath version.
13318         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
13319         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
13320         * java/awt/peer/ListPeer.java: Replace with Classpath version.
13321         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
13322         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
13323         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
13324         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
13325         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
13326         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
13327         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
13328         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
13329         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
13330         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
13331         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
13332         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
13333         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
13334         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
13335         (minimumSize, preferredSize, reshape): Likewise.
13336         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
13337         getColorModel): New methods.
13338         * java/awt/PopupMenu.java: Merged with Classpath.
13339         * java/awt/MenuBar.java: Merged with Classpath.
13340         * java/awt/SystemColor.java: Replace with Classpath version.
13341         * java/awt/Panel.java: Merged with Classpath.
13342         * java/awt/PaintContext.java: Updated copyright.
13343         * java/awt/MenuShortcut.java: Merged with Classpath.
13344         * java/awt/MenuContainer.java: Merged with Classpath.
13345         * java/awt/Menu.java: Merged with Classpath.
13346         * java/awt/MediaEntry.java: New file from Classpath.
13347         * java/awt/MediaTracker.java: New file from Classpath.
13348         * java/awt/List.java: Merged with Classpath version.
13349         * java/awt/Insets.java: Merged with Classpath version.
13350         * java/awt/ImageMediaEntry.java: New file from Classpath.
13351         * java/awt/Image.java: Replaced with Classpath version.
13352         * java/awt/FontMetrics.java: Merged with Classpath version.
13353         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
13354         constant.
13355         * java/awt/Font.java: Merged with Classpath version.
13356         * java/awt/Dialog.java: Merged with Classpath version.
13357         * java/awt/Color.java: Merged with Classpath version.
13358         * java/awt/Choice.java: Merged with Classpath version.
13359         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
13360         * java/awt/Adjustable.java: Replace with Classpath version.
13361         * java/awt/MenuItem.java (paramString): Don't include class name
13362         or brackets.  Call superclass paramString.
13363         * java/awt/MenuComponent.java (toString): Call paramString.
13364         (paramString): Compute string; don't call toString.
13365         * java/awt/Label.java (paramString): Don't include class name
13366         or brackets.  Call superclass paramString.
13367         * java/awt/Checkbox.java (paramString): Don't include class name
13368         or brackets.  Call superclass paramString.
13369         * java/awt/Button.java (paramString): Don't include class name or
13370         brackets.  Call superclass paramString.
13371         * java/awt/MenuComponent.java (getTreeLock): Now protected.
13372
13373 2002-01-20  Andreas Schwab  <schwab@suse.de>
13374
13375         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
13376         function and of parameter recv_func to ssize_t, as specified by
13377         POSIX.
13378
13379 2002-01-19  Per Bothner  <per@bothner.com>
13380
13381         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
13382         uncompressed_size in readiness for next entry.
13383
13384 2002-01-18  Tom Tromey  <tromey@redhat.com>
13385
13386         * java/net/natPlainSocketImpl.cc: Include
13387         IllegalArgumentException.h.
13388         (_Jv_recv): New template function.
13389         (BooleanClass): Removed.
13390         (read): Use _Jv_recv.
13391         (setOption): Use Boolean::class$.  Throw exception if object is
13392         not Boolean or Integer.
13393
13394 2002-01-17  Tom Tromey  <tromey@redhat.com>
13395
13396         * java/awt/MenuComponent.java: Merged with Classpath.
13397         * java/awt/MenuItem.java: Merged with Classpath.
13398         * java/awt/Button.java: Merged with Classpath.
13399
13400         * java/awt/ActiveEvent.java: Updated copyright.
13401
13402         * java/awt/AWTError.java: Replaced with Classpath version.
13403         * java/awt/AWTException.java: Replaced with Classpath version.
13404         * java/awt/IllegalComponentStateException.java: Replaced with
13405         Classpath version.
13406
13407 2002-01-16  Tom Tromey  <tromey@redhat.com>
13408
13409         * java/awt/Canvas.java (serialVersionUID): New constant.
13410         Updated copyright.  Added javadoc from Classpath.
13411         * java/awt/ItemSelectable.java: Replaced with Classpath version.
13412
13413         * java/awt/CheckboxGroup.java: Merged with Classpath.
13414         * java/awt/Checkbox.java: Merged with Classpath.
13415
13416         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
13417         Classpath.
13418         * java/awt/Point.java: Updated copyright.
13419
13420         * java/awt/Point.java (toString): Use getClass().getName().
13421         Added javadoc.
13422
13423         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
13424         commented code.
13425         (hash): Correctly compute initial value for `h'.
13426
13427         * java/awt/Label.java: Merged with Classpath.
13428
13429 2002-01-15  Tom Tromey  <tromey@redhat.com>
13430
13431         * java/awt/AWTPermission.java: Updated copyright.
13432
13433         * java/awt/LayoutManager2.java: Merged with Classpath.
13434         * java/awt/LayoutManager.java: Merged with Classpath.
13435         * java/awt/GridLayout.java: Updated copyright and javadoc.
13436         (getSize): Use `parent.ncomponents'.  Handle insets.
13437         (layoutContainer): Use `parent.ncomponents'.  Handle case where
13438         there are fewer children than columns.  Correctly compute size of
13439         each cell in the grid.  Handle case where there isn't enough
13440         space.
13441         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
13442         all users.
13443         (gotoComponent): Use parent.ncomponents.  Ensure child exists
13444         before calling setVisible() on it.  Last item is `num - 1', not
13445         `num'.
13446         (layoutContainer): Hoist invariants out of loop.
13447
13448         Start of AWT merge with Classpath:
13449         * Makefile.in: Rebuilt.
13450         * Makefile.am (awt_java_source_files): Reference files in
13451         gnu/java/awt, not gnu/gcj/awt.
13452         * java/awt/image/BufferedImage.java: Updated copyright.
13453         * java/awt/image/ComponentColorModel.java: Updated copyright.
13454         * java/awt/image/ComponentSampleModel.java: Updated copyright.
13455         * java/awt/image/DataBuffer.java: Updated copyright.
13456         * java/awt/image/DataBufferByte.java: Updated copyright.
13457         * java/awt/image/DataBufferInt.java: Updated copyright.
13458         * java/awt/image/DataBufferUShort.java: Updated copyright.
13459         * java/awt/image/IndexColorModel.java: Updated copyright.
13460         * java/awt/image/PackedColorModel.java: Updated copyright.
13461         * java/awt/image/Raster.java: Updated copyright.
13462         * java/awt/image/RasterOp.java: Updated copyright.
13463         * java/awt/image/SampleModel.java: Updated copyright.
13464         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
13465         * java/awt/image/WritableRaster.java: Updated copyright.
13466         * java/awt/color/ColorSpace.java: Updated copyright.
13467         * java/awt/color/ICC_ColorSpace.java: Updated copyright
13468         * java/awt/color/ICC_Profile.java: Updated copyright.
13469         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
13470         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
13471         * java/awt/event/HierarchyEvent.java: Updated copyright.
13472         * java/awt/event/HierarchyListener.java: Updated copyright.
13473         * java/awt/geom/AffineTransform.java: Updated copyright.
13474         * java/awt/geom/Dimension2D.java: Updated copyright.
13475         * java/awt/geom/Ellipse2D.java: Updated copyright.
13476         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
13477         * java/awt/geom/Line2D.java: Updated copyright.
13478         * java/awt/geom/NoninvertibleTransformException.java: Updated
13479         copyright.
13480         * java/awt/geom/PathIterator.java: Updated copyright.
13481         * java/awt/geom/Point2D.java: Updated copyright.
13482         * java/awt/geom/Rectangle2D.java: Updated copyright.
13483         * java/awt/geom/RectangularShape.java: Updated copyright.
13484         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
13485         * java/awt/Toolkit.java: Updated import for file moves.
13486         * java/awt/Rectangle.java: Updated copyright; added javadoc from
13487         Classpath.
13488         (hashCode): New method from Classpath.
13489         * java/awt/Graphics2D.java: Updated copyright.
13490         * java/awt/Transparency.java: Updated copyright.
13491         * java/awt/Paint.java: Updated copyright.
13492         * java/awt/Graphics.java: New version from Classpath.
13493         * java/awt/EventDispatchThread.java: Updated copyright.
13494         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
13495         children.
13496         (gotoComponent): Wrap around on next/previous.
13497         * gnu/gcj/awt/BitMaskExtent.java: Removed.
13498         * gnu/gcj/awt/Buffers.java: Removed.
13499         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
13500         * gnu/gcj/awt/GLightweightPeer.java: Removed.
13501         * gnu/java/awt/BitMaskExtent.java: Added.
13502         * gnu/java/awt/Buffers.java: Added.
13503         * gnu/java/awt/ComponentDataBlitOp.java: Added.
13504         * gnu/java/awt/GLightweightPeer.java: Added.
13505         * java/awt/geom/Line2D.java (clone): Ignore
13506         CloneNotSupportedException.
13507         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
13508         * java/awt/Frame.java: Merged with Classpath.
13509         * java/awt/RenderingHints.java: Copyright update.
13510         * java/awt/Paint.java: Copyright update.
13511         * java/awt/image/DirectColorModel.java: Merged with Classpath.
13512         * java/awt/image/ColorModel.java: Merged with Classpath.
13513         * java/awt/Window.java (show): New Implementation from Classpath.
13514         (isShowing): Use super.isShowing().
13515         * java/awt/EventQueue.java: Merged with Classpath.
13516         * java/awt/AWTEventMulticaster.java (save): Throw
13517         RuntimeException.
13518         (saveInternal): Likewise.
13519         * java/awt/AWTEvent.java: Now implements Serializable.
13520         * java/awt/Event.java: Copyright update.
13521         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
13522         * java/awt/image/BufferedImage.java: Copyright update.
13523         * java/awt/GraphicsConfiguration.java: Copyright update.
13524         * java/awt/Component.java: (addNotify): Don't call
13525         addNotifyContainerChildren().
13526         (addNotifyContainerChildren): Removed.
13527         (setPeer): New method from Classpath.
13528         (setTreeLock): Likewise.
13529         (setVisible): Rewrote.
13530         (show): Use it.
13531         (hide): Likewise.
13532         (validate): Set `valid'.
13533         (checkImage(Image,ImageObserver)): Implementation from Classpath.
13534         (createImage(ImageProducer)): Likewise.
13535         (prepareImage): Likewise.
13536         * java/awt/Container.java (addImpl): Handle case where constraint
13537         is not a String.  Post event via system event queue.
13538         (remove): Post event via system event queue.
13539         (validateTree): Only validate child if it is invalid.
13540         (getAlignmentX): Call super method as default.
13541         (getAlignmentY): Likewise.
13542         (addContainerListener): Now synchronized.
13543         (removeContainerListener): Likewise.
13544         (addNotifyContainerChildren): Now private.
13545         * java/awt/ComponentOrientation.java: Updated copyright.  Added
13546         @author.
13547         * java/awt/FlowLayout.java (serialVersionUID): New field.
13548         (setAlignment): Better exception message.
13549         (layoutContainer): Don't compute component's preferred size unless
13550         we're going to use it.
13551         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
13552         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
13553         (firstLine, lastLine, firstItem, lastItem): New fields.
13554         (addLayoutComponent): Handle case where constraints is null.
13555         Also, handle relative locations.
13556         (removeLayoutComponent): Handle relative locations.
13557         (MIN, MAX, PREF): New constants.
13558         (calcCompSize): New method.
13559         (calcSize): New method.
13560         (minimumLayoutSize): Use it.
13561         (preferredLayoutSize): Likewise.
13562         (maximumLayoutSize): Likewise.
13563         (toString): Include more information.
13564         (setBounds): New method.
13565         (layoutContainer): Use libgcj implementation; extended to handle
13566         relative locations.
13567
13568 2002-01-15  Tom Tromey  <tromey@redhat.com>
13569
13570         * java/lang/Float.java (equals): Preserve old code.
13571         * java/lang/Double.java (equals): Preserve old code.
13572
13573 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
13574
13575         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
13576         * java/lang/Float.java (equals, compare): Ditto.
13577
13578 2002-01-13  Mark Wielaard  <mark@klomp.org>
13579
13580         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
13581         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
13582         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
13583         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
13584
13585 2002-01-11  Mark Wielaard  <mark@klomp.org>
13586
13587         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
13588         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
13589         InetAddress.
13590         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
13591         * java/net/Socket.java: Merge with Classpath.
13592         * java/net/ServerSocket.java: Likewise.
13593
13594 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
13595
13596         * interpret.cc (NULLARRAYCHECK): New macro.
13597         (SAVE_PC): Just store `pc'.
13598         (find_exception): Subtract one from `pc' here.
13599         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13600         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13601         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13602         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
13603         don't call SAVE_PC.
13604         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
13605         call SAVE_PC.
13606
13607 2002-01-11  Tom Tromey  <tromey@redhat.com>
13608
13609         * java/lang/natSystem.cc (init_properties): Only look for default
13610         locale if LC_MESSAGES is defined.
13611         * aclocal.m4, configure, include/config.h.in: Rebuilt.
13612         * configure.in: Call AM_LC_MESSAGES.
13613         * acinclude.m4 (AM_LC_MESSAGES): New macro.
13614
13615 2002-01-10  Tom Tromey  <tromey@redhat.com>
13616
13617         For PR libgcj/5303:
13618         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
13619         --version.  Recognize GNU-style long options.  Print GNU-style
13620         error messages.
13621         (usage): Print GNU-style help.  Exit with status 0.
13622         (error): New method.
13623         (run): Print error message if no class names found.
13624         (main): Don't print usage on error.
13625
13626 2002-01-09  Tom Tromey  <tromey@redhat.com>
13627
13628         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13629         property.
13630         (help, version): Use println(), not println("").
13631
13632         For PR libgcj/5303:
13633         * gnu/gcj/convert/Convert.java (error): Program is called
13634         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
13635         -1.
13636         (main): Handle --help and --version.
13637         (help): New method.
13638         (version): Likewise.
13639
13640 2002-01-08  Tom Tromey  <tromey@redhat.com>
13641
13642         * Makefile.in: Rebuilt.
13643         * Makefile.am (ordinary_java_source_files): Added new files.
13644         * gnu/java/locale/LocaleInformation.java: Extend
13645         LocaleInformation_en.
13646         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13647         and time/date formats.
13648         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13649         generated.
13650         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13651         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13652         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13653         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13654         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13655         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13656         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13657         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13658         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13659         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13660         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13661         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13662         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13663         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13664         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13665         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13666         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13667         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13668         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13669         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13670         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13671         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13672         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13673         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13674         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13675         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13676         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13677         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13678         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13679         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13680         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13681         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13682         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13683         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13684         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13685         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13686         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13687         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13688         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13689         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13690         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13691         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13692         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13693         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13694         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13695         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13696         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13697         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13698         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13699         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13700         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13701         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13702         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13703         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13704         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13705         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13706         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13707         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13708         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13709         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13710         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13711         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13712         * gnu/java/locale/LocaleInformation_es_US.java: New file.
13713         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13714         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13715         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13716         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13717         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13718         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13719         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13720         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13721         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13722         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13723         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13724         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13725         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13726         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13727         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13728         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13729         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13730         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13731         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13732         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13733         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13734         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13735         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13736         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13737         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13738         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13739         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13740         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13741         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13742         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13743         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13744         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13745         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13746         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13747         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13748         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13749         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13750         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13751         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13752         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13753         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13754         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13755         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13756         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13757         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13758         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13759         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13760         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13761         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13762         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13763         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13764         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13765         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13766         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13767         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13768         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13769         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13770         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13771         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13772         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13773         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13774         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13775         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13776         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13777         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13778         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13779         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13780
13781         For PR libgcj/5031:
13782         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13783         choose default locale.
13784
13785         * Makefile.in: Rebuilt.
13786         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13787
13788 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
13789
13790         * java/net/natPlainSocketImpl.cc: Added timeout handling for
13791         sockets.
13792         (close): New function closes the socket.
13793         (write): New functions for output to socket.
13794         (read): New functions for reading from socket.
13795         * java/net/PlainSocketImpl.java: Glue for new timeout
13796         implementation.
13797         (write): Call the native impl.
13798         (read): Likewise.
13799         (getInputStream): Get a stream to read from the socket.
13800         (getOutputStream): Get a stream to write to the socket.
13801
13802 2002-01-08  Tom Tromey  <tromey@redhat.com>
13803
13804         * resolve.cc (_Jv_PrepareClass): Enable verifier.
13805
13806 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
13807
13808         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13809         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13810
13811 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
13812
13813         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13814         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13815         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13816         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13817         insn_bastore, insn_castore, insn_sastore]: Use it.
13818         (continue1) [insn_arraylength]: Check for null array.
13819
13820 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13821
13822         * configure, include/config.h.in: Rebuilt.
13823         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13824         * configure.in: Call AC_STRUCT_TIMEZONE.
13825
13826 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13827
13828         * configure.host: Disable the interpreter for Darwin.
13829
13830 2002-01-04  Tom Tromey  <tromey@redhat.com>
13831
13832         * java/lang/Thread.java (stop): No longer synchronized.
13833         (start): Likewise.
13834
13835 2002-01-02  Tom Tromey  <tromey@redhat.com>
13836
13837         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13838         patch.
13839
13840 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
13841
13842         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13843         PPC Darwin, not for all of Darwin.