OSDN Git Service

2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
2
3         PR java/12350:
4         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
5
6 2003-09-22  Michael Koch  <konqueror@gmx.de>
7
8         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
9         compiler warning but produces a different one now.
10
11 2003-09-22  Michael Koch  <konqueror@gmx.de>
12
13         * java/net/InetAddress.java:
14         Moves around some code, reformats and adds documentation.
15         No functional changes.
16
17 2003-09-22  Michael Koch  <konqueror@gmx.de>
18
19         * java/net/JarURLConnection.java
20         (JarURLConnection): Modifed code to match classpath more, fixed comment.
21         (getCertificates): Made it more error prone.
22         (getMainAttributes): Likewise.
23         (getAttributes): Implemented.
24         (getManifest): Reformatted code.
25
26 2003-09-20  Tom Tromey  <tromey@redhat.com>
27
28         * java/awt/Component.java: Indentation cleanup from Classpath.
29
30 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
31
32        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
33        checking to follow 1.4.2 spec.
34
35 2003-08-11  Ingo Proetel  <proetel@aicas.com>
36
37         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
38         is compatible in case client and server are running in the same VM
39         (remerged from Classpath on 2003-09-20)
40
41 2003-09-19  David Daney <ddaney@avtrex.com>
42
43         * java/lang/ref/Reference.java (clear): Set referent to null and
44         synchronize.
45
46 2003-09-19  Michael Koch  <konqueror@gmx.de>
47
48         * gnu/java/nio/NIODatagramSocket.java,
49         gnu/java/nio/NIOSocket.java: New files.
50         * Makefile.am (ordinary_java_source_files):
51         Added gnu/java/nio/NIODatagramSocket.java and
52         gnu/java/nio/NIOSocket.java.
53         * Makefile.in: Regenerated.
54
55 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
56
57         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
58         top-level GTK window.
59         (getArgs): Add "title" property.
60         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
61         "allow_shrink" and "allow_grow" properties.
62         * java/awt/Dialog.java: Initialize resizable to true and change
63         comments accordingly.  Initialize visible to false in
64         constructors.
65         * java/awt/Frame.java (dispose): Remove method.
66         * java/awt/Window.java (ownedWindows): New field.
67         (Window(Window,GraphicsConfiguration)): Add a weak reference to
68         owner's ownedWindows vector.
69         (finalize): Remove method.
70         (hide): Hide owned windows.
71         (dispose): Dispose of owned windows.
72         (getOwnedWindows): Implement.
73         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
74         unused GtkArg code.
75         (set(String,boolean)): Clamp gboolean parameter to g_object_set
76         to TRUE or FALSE.
77         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
78         (create): Set window's size requisition.
79         (connectHooks): Fix indentation.
80         (setResizable): Remove function.
81         (static setBounds): Likewise.
82         (setBounds): Replace call to setBounds with GTK size requisition
83         and resize calls.
84
85 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
86
87         * win32-threads.cc: (ensure_interrupt_event_initialized) New
88         function for lazy initialization of an auto-reset event.
89         (_Jv_CondWait) Added thread interrupt support.
90         (_Jv_ThreadInitData) Added initialization of interrupt support
91         members.
92         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
93         (_Jv_ThreadStart) Removed unused code.
94         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
95         to an external caller.
96         (_Jv_ThreadInterrupt) Implemented.
97         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
98         event for interrupt support as well as a mutex which regulates
99         access to this.
100         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
101         event to an external caller.
102         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
103         process.
104         (waitFor) Added interrupt support.
105
106 2003-09-19  Michael Koch  <konqueror@gmx.de>
107
108         * java/net/DatagramSocket.java (getLocalAddress):
109         Renamed result variable to localAddr.
110         * java/net/MulticastSocket.java:
111         No need to import gnu.java.net.PlainDatagramSocketImpl.
112
113 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
114
115         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
116         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
117
118 2003-09-18  Tom Tromey  <tromey@redhat.com>
119
120         * javax/naming/InitialContext.java: Reindented.
121
122 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
123             Helmer Kraemer <hkraemer@freenet.de>
124
125         * javax/naming/spi/NamingManager.java (getURLContext,
126         getObjectInstance, getStateToBind): Always use current thread's
127         context class loader when calling Class.forName.
128
129 2003-09-18  Michael Koch  <konqueror@gmx.de>
130
131         * java/util/Timer.java (finalize): Added "throws Throwable".
132
133 2003-09-18  Michael Koch  <konqueror@gmx.de>
134
135         * java/net/DatagramSocket.java
136         (ch): Removed.
137         (receive): Use getChannel() instead of ch.
138         (send): Likewise.
139         (getChannel): Return null.
140         * java/net/ServerSocket.java
141         (ch): Removed.
142         (setChannel): Removed.
143         (implAccept): Use getChannel() instead of ch.
144         (close): Likewise.
145         (getChannel): Return null.
146         * java/net/Socket.java
147         (ch): Removed.
148         (connect): Use getChannel() instead of ch.
149         (setChannel): Removed.
150         (getChannel): Return null.
151
152 2003-09-18  Mark Wielaard  <mark@klomp.org>
153
154         Reported by Guilhem Lavaux and Julian Dolby
155         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
156         field "serialPersistentFields", not "getSerialPersistentFields".
157
158 2003-09-18  Ingo Proetel  <proetel@aicas.com>
159
160         * java/util/TimeZone.java: Initialize lazily.
161         * java/util/Locale.java (readManifest): Fix check for country.
162         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
163         traceable 
164         * java/util/Calendar.java: Make use of ResourceBundle better
165         traceable.
166
167 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
168
169         * java/sql/Timestamp.java
170         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
171
172 2003-09-18  David P Grove  <groved@us.ibm.com>
173
174         * java/io/LineNumberReader (read): Don't reset pos & limit when
175         markPos is 0.
176
177 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
178
179         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
180         constant.
181         (computeArguments): use computeTypicalArguments.
182
183         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
184         Compile_jikes.java and RMICException.java.
185         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
186         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
187         * gnu/java/rmi/rmic/RMICException.java: Likewise.
188  
189         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
190  
191         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
192         (computeTypicalArguments): New method.
193         (compile): Print compiler output to System.out. Collect compiler
194         error output and use it in exception message.
195  
196         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
197         (destination): Initialize to null.
198         (run): Replace file separator with '.' when processing class.
199         (processClass): Replace '.' with file separator when compiling
200         classes.
201         (findClass): Use SystemClassLoader to load class.
202         (generateStub): Use full class name for generated stub, that puts
203         it in right path.  Replace '.' with file separator when generating
204         stub file name. Write just the stub class name without package
205         information as class name, and constructor name. Write only
206         interface names for interfaces extending java.rmi.Remote as
207         implemented.
208         (generateSkel): Use full class name for generated skel, that puts
209         it in right path.  Replace '.' with file separator when generating
210         stub file name. Write just the stub class name without package
211         information as class name.
212
213 2003-09-18  Michael Koch  <konqueror@gmx.de>
214
215         * Makefile.am (rmi_java_source_files):
216         Added gnu/java/rmi/rmic/Compile_kjc.java,
217         gnu/java/rmi/rmic/Compile_jikes.java and
218         gnu/java/rmi/rmic/RMICException.java
219         * Makefile.in: Regenerated.
220
221 2003-09-17  Graydon Hoare  <graydon@redhat.com>
222
223         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
224         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
225         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
226         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
227         New files.
228
229 2003-09-16  Graydon Hoare  <graydon@redhat.com>
230
231         * java/awt/BufferedImage.java (setData): Support non-component
232         sample models.
233         (getData): Same.
234
235 2003-09-10  Graydon Hoare  <graydon@redhat.com>
236
237         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
238         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
239
240 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
241
242         * configure.in: Standardized help text case of
243         --enable-hash-synchronization
244         New configure switch --enable-libgcj-multifile and corresponding
245         automake conditional ONESTEP.
246         * configure: Rebuilt.
247         * Makefile.am: Use automake conditional ONESTEP to determine
248         whether classfiles should be compiled individually or all
249         at once.
250         * Makefile.in: Rebuilt.
251
252 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
253
254         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
255         Remove method declaration.
256         (create()): Call native create.
257         (create(int)): New method.
258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
259         (create): Add window_id parameter.  Call gtk_plug_new with
260         window_id parameter.
261         (construct): Remove method implementation.
262
263 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
264
265         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
266         (mostlyclean-local): New target patterned after clean-local
267         which recursively deletes all libtool objects using 'libtool rm'.
268         (clean-local): Slightly modified comment to alleviate monotony.
269         (distclean-local): New target patterned after clean-local
270         which recursively deletes all .d files.
271         * Makefile.in: Rebuilt.
272
273 2003-09-11  Tom Tromey  <tromey@redhat.com>
274
275         * java/net/URLStreamHandler.java (parseURL): If original file
276         ends with "/", so must canonical result.
277         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
278         with nul-termination and finding previous "/".
279
280 2003-09-11  Michael Koch  <konqueror@gmx.de>
281
282         * acconfig.h: Removed most items.
283         * configure.in: Added descriptions to AC_DEFINE macros that where in
284         acconfig.h before.
285         * include/config.h.in: Regenerated.
286
287 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
288
289         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
290         if one is installed. Improve Javadoc.
291         (getSystemEventQueueImpl): Improve Javadoc.
292
293 2003-09-11  Tom Tromey  <tromey@redhat.com>
294
295         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
296         file does not exist.
297
298 2003-09-10  Anthony Green  <green@redhat.com>
299
300         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
301         Specify full name when referencing ::java::net::InetAddress.
302         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
303         Fix argument type.
304
305 2003-09-10  Michael Koch  <konqueror@gmx.de>
306
307         * acconfig.h (__NO_MATH_INLINES): Removed.
308         * configure.in: Removed check for g++ math inlining bug from 2000.
309         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
310         libgcj_cxxflags.
311         * configure: Regenerated.
312
313 2003-09-10  David Daney <ddaney@avtrex.com>
314
315         * java/util/Arrays.java (equals(all variants)): Quit using
316         NullPointerException catching to detect null valued parameters.
317
318 2003-09-10  Michael Koch  <konqueror@gmx.de>
319
320         * java/net/DatagramSocket.java,
321         java/net/MulticastSocket.java,
322         java/net/ServerSocket.java,
323         java/net/Socket.java:
324         Use gnu.java.net.Plain*SocketImpl instead of
325         java.net.PlainSocketImpl.
326         * java/net/PlainDatagramSocketImpl.java,
327         java/net/PlainSocketImpl.java,
328         java/net/SocketInputStream.java,
329         java/net/SocketOutputStream.java,
330         java/net/natPlainDatagramSocketImplNoNet.cc,
331         java/net/natPlainDatagramSocketImplPosix.cc,
332         java/net/natPlainDatagramSocketImplWin32.cc,
333         java/net/natPlainSocketImplNoNet.cc,
334         java/net/natPlainSocketImplPosix.cc,
335         java/net/natPlainSocketImplWin32.cc:
336         Removed.
337         * gnu/java/net/PlainDatagramSocketImpl.java,
338         gnu/java/net/PlainSocketImpl.java,
339         gnu/java/net/SocketInputStream.java,
340         gnu/java/net/SocketOutputStream.java,
341         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
342         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
343         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
344         gnu/java/net/natPlainSocketImplNoNet.cc,
345         gnu/java/net/natPlainSocketImplPosix.cc,
346         gnu/java/net/natPlainSocketImplWin32.cc:
347         New files (moved from java/net).
348         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
349         instead of java/net/natPlain*SocketImpl.cc.
350         * configure: Regenerated.
351         * Makefile.am: Moved files from java/net to gnu/java/net.
352         * Makefile.in: Regenerated.
353
354 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
355
356         * configure: Regenerate.
357
358 2003-09-04  Tom Tromey  <tromey@redhat.com>
359
360         * configure.host: Removed erroneous comment.
361
362         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
363         lvalue cast; use correct rvalue cast.
364
365 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
366
367         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
368         and height arguments to GtkWindowPeer.create method call.
369         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
370         (create(int,int,int)): New method.
371         (create(int)): Add call to new create method.
372         (create()): Add width and height arguments to create method
373         call.
374         (GtkWindowPeer): Remove call to setBounds.
375         * java/awt/Frame.java (Frame(String)): Initialize visible field
376         to false.
377         (Frame(GraphicsConfiguration)): Likewise.
378         (Frame(String,GraphicsConfiguration)): Likewise.
379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
380         Add width and height parameters.  Call
381         gtk_window_set_default_size.
382         (connectHooks): Remove unused name variable.
383         (static setBounds): Call gtk_window_resize not
384         gtk_widget_set_usize.
385         (setBounds): Remove unused nchildren variable.
386
387 2003-08-31  Ingo Proetel  <proetel@aicas.com>
388
389         * java/util/logging/Logger.java: provide class and method information
390         * java/util/logging/LogManager.java: create handlers
391         * java/util/logging/SimpleFormatter.java: print souceClassName and
392         sourceMethodName
393
394 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
395
396         * win32.cc: fixed tab, indentation and whitespace
397         inconsistencies
398         removed jvm.h include
399         added includes java/lang/UnsupportedOperationException.h,
400         java/io/IOException.h, java/net/SocketException.h
401         (WSAEventWrapper): class implementation
402         (_Jv_WinStrError): implemented both overloads
403         (_Jv_ThrowIOException): implemented both overloads
404         (_Jv_ThrowSocketException): implemented both overloads
405         (_Jv_select): implemented
406         * include/win32.h: fixed tab, indentation and whitespace
407         inconsistencies
408         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
409         added jvm.h include
410         (WSAEventWrapper): added class declaration
411         (_Jv_WinStrError): added both overload declarations
412         (_Jv_ThrowIOException): added both overload declarations
413         (_Jv_ThrowSocketException): added both overload declarations
414         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
415         (_Jv_select): added declaration
416         (_Jv_socket): removed
417         (_Jv_connect): removed
418         (_Jv_close): removed
419         (_Jv_bind): removed
420         (_Jv_accept): removed
421         (_Jv_listen): removed
422         (_Jv_write): removed
423         (_Jv_read): removed
424         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
425         whitespace inconsistencies
426         replaced <windows.h> #include with <platform.h>
427         removed jvm.h include
428         (testCanUseGetHandleInfo): new function which tests whether Win32
429         GetHandleInformation() call can be used with console buffer handles
430         (only supported on >=WinNT 5.0)
431         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
432         (valid): rewrote implementation using GetHandleInformation()
433         (sync):         changed exception throwing to use error string and exception
434         helper methods declared in include/win32.h
435         (open): likewise
436         (write): likewise
437         (setLength): likewise
438         (close): likewise
439         (seek): likewise
440         (getFilePointer): likewise
441         (read): likewise
442         * java/io/natFileWin32.cc: fixed tab, indentation and
443         whitespace inconsistencies
444         replaced <windows.h> #include with <platform.h>
445         removed jvm.h include
446         (_access): use JV_TEMP_UTF_STRING
447         (_stat): likewise
448         (performMkDir): use JV_TEMP_UTF_STRING
449         (performRenameTo): likewise
450         (performDelete): likewise
451         (performCreate): likewise
452         (performSetReadOnly): likewise
453         (performSetLastModified): likewise
454         * java/lang/natWin32Process.cc: fixed tab, indentation and
455         whitespace inconsistencies
456         replaced <windows.h> #include with <platform.h>
457         removed includes gcj/cni.h, jvm.h
458         (new_string): removed
459         (startProcess): use JV_TEMP_UTF_STRING,
460         changed exception throwing to use error string and exception
461         helper methods declared in include/win32.h
462         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
463         whitespace inconsistencies
464         replaced <windows.h> #include with <platform.h>
465         removed jvm.h include
466         removed DISABLE_JAVA_NET conditional code
467         removed POSIX conditional code not relevant to Win32
468         (aton): use JV_TEMP_UTF_STRING
469         removed POSIX conditional code not relevant to Win32
470         (lookup): likewise
471         (getLocalHostName): likewise
472         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
473         whitespace inconsistencies
474         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
475         removed DISABLE_JAVA_NET conditional code
476         removed POSIX conditional code not relevant to Win32
477         (winsock2GetRealNetworkInterfaces): new function to compute network
478         interfaces via Winsock2 API
479         (determineGetRealNetworkInterfacesFN): new function for returning
480         a function pointer to the function used to compute network interfaces.
481         (getRealNetworkInterfaces): implemented
482         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
483         whitespace inconsistencies
484         removed gcj/cni.h include
485         removed DISABLE_JAVA_NET conditional code
486         removed POSIX conditional code not relevant to Win32
487         changed net POSIXisms to Win32isms
488         replaced _Jv socket-related calls with their real Win32 equivalents
489         changed exception throwing to use error string and exception
490         helper methods declared in include/win32.h
491         (peekData): implemented timeout support
492         (receive): likewise
493         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
494         whitespace inconsistencies
495         removed gcj/cni.h and gcj/javaprims.h includes
496         removed DISABLE_JAVA_NET conditional code
497         removed POSIX conditional code not relevant to Win32
498         changed net POSIXisms to Win32isms
499         replaced _Jv socket-related calls with their real Win32
500         equivalents
501         changed exception throwing to use error string and exception
502         helper methods declared in include/win32.h
503         (throwConnectException): helper function for connect()
504         (connect): implemented timeout support
505         (accept): likewise
506         (doRead): new helper function common to both read() method overloads,
507         includes timeout support
508         (read): implemented both overloads in terms of doRead()
509         (available): implemented using ioctlsocket()
510
511 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
512
513         * java/net/natInetAddressWin32.cc,
514         java/net/natNetworkInterfaceWin32.cc,
515         java/net/natPlainDatagramSocketImplWin32.cc,
516         java/net/natPlainSocketImplWin32.cc:
517         Readded code enclosed in DISABLE_JAVA_NET defines
518         in preparation for MinGW cleanup / networking
519         patch
520
521 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
522
523         * Makefile.am: Fixed problems with parallel makes.
524         (all_java_class_files): Readded definition.
525         (all_java_class_files): New target which depends on
526         libgcj-@gcc_version@.jar
527         * Makefile.in: Rebuilt
528
529 2003-08-28  Tom Tromey  <tromey@redhat.com>
530
531         * Makefile.in: Rebuilt.
532         * Makefile.am (ordinary_java_source_files): Added new files.
533         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
534         friend.
535         * java/net/URLClassLoader.java (findClass): Don't use
536         findURLResource.  Use loader's getClass method.
537         (URLLoader.getClass): New method.
538         (addURL): Handle `gcjlib' URLs.
539         (SoURLLoader): New class.
540         (SoResource): Likewise.
541         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
542         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
543         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
544         (_Jv_RegisterCoreHook): Declare.
545         (_Jv_FindCore): Declare.
546         * gnu/gcj/runtime/SharedLibHelper.java: New file.
547         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
548         typedef.
549         (core_hook): New function.
550         (struct SharedLibDummy) [saved_core]: New field.
551         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
552         (register_hook): Set protection domain and class loader on new
553         class.
554         (finalize): Free core chain.
555         * gnu/gcj/Core.java (Core): New constructor.
556         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
557         SharedLibHelper.
558         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
559         (_Jv_create_core): New function.
560         (create): Use it.
561         (default_register_resource): New function.
562         (_Jv_RegisterCoreHook): New global.
563         (_Jv_RegisterResource): Use it.
564         (core_chain_struct): Removed.
565         (_Jv_FindCore): New function.
566         (_Jv_FreeCoreChain): New function.
567
568 2003-08-29  Michael Koch  <konqueror@gmx.de>
569
570         * java/net/natInetAddressWin32.cc,
571         java/net/natNetworkInterfaceWin32.cc,
572         java/net/natPlainDatagramSocketImplWin32.cc,
573         java/net/natPlainSocketImplWin32.cc:
574         Removed code enclosed in DISABLE_JAVA_NET defines.
575
576 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
577
578         * Makefile.am: (write_entries_to_file) New parameterized
579         function for writing entries to a file one line at a time.
580         (all_java_class_files): Removed definition.
581         (.java.class) Removed.target.
582         (libgcj-@gcc_version@.jar): Changed dependency to
583         $(all_java_source_files); added compilation step which compiles
584         all changed source files in one pass.
585         (libgcj.la) Refactored to use write_entries_to_file.
586         (lib-gnu-awt-xlib.la) Likewise.
587         (install-data-local) Likewise.
588         (write-entries-to-file-check) New target which tests write_entries_to_file.
589         (all-recursive): Changed dependency from $(all_java_class_files)
590         to libgcj-@gcc_version@.jar
591         * Makefile.in: Rebuilt.
592
593 2003-08-26  Tom Tromey  <tromey@redhat.com>
594
595         * java/lang/StrictMath.java: Typo fix.
596         * java/lang/Math.java: Typo fix.
597
598 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
599
600         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
601         of the removed Thread.
602
603 2003-08-26  Mark Wielaard  <mark@klomp.org>
604
605         Reported by David Holmes <dholmes@dltech.com.au>.
606         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
607         Collections.synchronizedMap.
608         * java/lang/ThreadLocal.java (valueMap): Likewise.
609
610 2003-08-26  Mark Wielaard  <mark@klomp.org>
611
612         * java/security/acl/Acl.java: Fix broken p tag.
613         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
614         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
615         * javax/swing/plaf/TreeUI.java: Likewise.
616         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
617         * java/util/Properties.java: Use the word umlaut, not &auml; in api
618         documentation.
619         * java/util/PropertyResourceBundle.java: Likewise and add closing code
620         tag.
621
622 2003-08-26  Tom Tromey  <tromey@redhat.com>
623
624         * Makefile.in: Rebuilt.
625         * Makefile.am: Removed all GNU-make-specific FIXME comments.
626
627         * java/lang/ref/Reference.java (get): Indentation fix.
628         (clear): Comment fix.
629         (enqueue): Likewise.
630         (lock): Likewise.
631         (referent): Likewise.
632
633 2003-08-26  Tom Tromey  <tromey@redhat.com>
634
635         PR java/12058:
636         * java/lang/reflect/natArray.cc (set): Allow null as argument.
637
638         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
639         (ProxyData.getPackage): New method.
640         (ProxyData.getProxyData): Use package name, not Package.
641         (ClassFactory.ClassFactory): Updated.
642
643 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
644         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
645         * Makefile.in: re-generated.
646         * gnu/awt/j2d/IntegerGraphicsState.java
647         (ScreenCoupledImage): new interface.
648         (drawImage): detect ScreenCoupledImage instances.
649         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
650         * gnu/awt/xlib/XEventLoop.java
651         (createEvent): re-formatted, and rearranged to avoid null pointer.
652         * gnu/awt/xlib/XGraphics.java
653         (drawImage): added XOffScreenImage handling.
654         * gnu/awt/xlib/XOffScreenImage.java: new file.
655         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
656         * gnu/gcj/xlib/GC.java (copyArea): new native method.
657         * gnu/gcj/xlib/XAnyEvent.java
658         (TYPE_KEY_PRESS): new constant.
659         (TYPE_KEY_RELEASE): new constant.
660         (TYPE_MOTION_NOTIFY): new constant.
661         (TYPE_ENTER_NOTIFY): new constant.
662         (TYPE_LEAVE_NOTIFY): new constant.
663         (TYPE_FOCUS_IN): new constant.
664         (TYPE_FOCUS_OUT): new constant.
665         (TYPE_KEYMAP_NOTIFY): new constant.
666         (TYPE_GRAPHICS_EXPOSE): new constant.
667         (TYPE_NO_EXPOSE): new constant.
668         (TYPE_VISIBILITY_NOTIFY): new constant.
669         (TYPE_CREATE_NOTIFY): new constant.
670         (TYPE_DESTROY_NOTIFY): new constant.
671         (TYPE_MAP_REQUEST): new constant.
672         (TYPE_CONFIGURE_REQUEST): new constant.
673         (TYPE_GRAVITY_NOTIFY): new constant.
674         (TYPE_RESIZE_REQUEST): new constant.
675         (TYPE_CIRCULATE_NOTIFY): new constant.
676         (TYPE_CIRCULATE_REQUEST): new constant.
677         (TYPE_PROPERTY_NOTIFY): new constant.
678         (TYPE_SELECTION_CLEAR): new constant.
679         (TYPE_SELECTION_REQUEST): new constant.
680         (TYPE_SELECTION_NOTIFY): new constant.
681         (TYPE_COLORMAP_NOTIFY): new constant.
682         (TYPE_MAPPING_NOTIFY): new constant.
683         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
684         * gnu/gcj/xlib/natGC.cc (copyArea): new method
685         * java/awt/Component.java (createImage): changed to use peer method.
686
687 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
688
689         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
690         name, not XLFD, to native drawString.
691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
692         Replace XLFD-based implementation with Pango-based
693         implementation.
694
695 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
696
697         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
698         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
699
700 2003-08-21  David Daney  <ddaney@avtrex.com>
701
702         Fix for PR libgcj/12013:
703         * java/lang/ref/natReference.cc (finalize_referred_to_object):
704         Check `cleared' field.
705         * java/lang/ref/Reference.java (copy): Updated comments.
706         (cleared): New field.
707         (clear): Rewrote.
708
709 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
710             Thomas Fitzsimmons  <fitzsim@redhat.com>
711
712         * Makefile.am (gtk_awt_peer_sources): Add
713         gnu/java/awt/peer/GLightweightPeer.java.  Remove
714         gnu/java/awt/GLightweightPeer.java.
715         * gnu/java/awt/GLightweightPeer.java: Remove file.
716         * gnu/java/awt/peer/GLightweightPeer.java: New file.
717         * java/awt/Component.java (getToolkit): Add comment about
718         lightweight components.
719         * java/awt/Toolkit.java (createComponent): Return
720         gnu.java.awt.peer.GLightweightPeer.
721
722 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
723
724         * configure.in: Fix detection of gcj when building with newlib.
725         * configure: Regenerated.
726
727 2003-08-20  Graydon Hoare  <graydon@redhat.com>
728
729         * jni.cc: Replace "cheating" pointer-casting code with
730         extract_from_jvalue<> template.
731
732 2003-08-20  Andrew Haley  <aph@redhat.com>
733
734         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
735         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
736         (classAt): Break out class lookup function into getClass().
737         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
738         handlers when using -fno-assume-compiled.
739
740 2003-08-20  Tom Tromey  <tromey@redhat.com>
741
742         Fix for PR libgcj/9125:
743         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
744         object outside of loop.  Respect lib_control setting.
745         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
746         field.
747         (lib_control): New field.
748         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
749         (VMClassLoader): Initialize new field.
750
751         * java/lang/ref/natReference.cc (finalize_referred_to_object):
752         Set `list->reference' to DELETED_REFERENCE when removing dead
753         object.
754         (find_slot): Added an assert.
755         (DELETED_REFERENCE): New define.
756         (add_to_hash): Check for DELETED_REFERENCE.
757         (remove_from_hash): Just return if found slot isn't ours.
758
759 2003-08-19  Andrew Haley  <aph@redhat.com>
760
761         * prims.cc (unblock_signal): New function.
762         (catch_segv): Use it.
763         (catch_fpe): Likewise.
764
765 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
766
767         PR libgcj/11575
768         * java/io/natFileDescriptorWin32.cc (open): Set create
769         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
770         Honor EXCL when openning with WRITE flag. 
771
772 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
773
774         * include/jvm.h: New class _Jv_TempUTFString (helper class for
775         getting a temporary C string from a jstring)
776         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
777         but uses a stack buffer if the string length is less than 256
778         bytes.
779
780 2003-08-18  Tom Tromey  <tromey@redhat.com>
781
782         PR libgcj/11951:
783         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
784         void.  Throw VirtualMachineError if ffi fails.  Initialize return
785         value.  Added is_jni_call argument; only wrap exception if not a
786         JNI call.  Use descriptive message if operation not supported.
787         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
788         array class.
789         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
790         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
791         _Jv_CallAnyMethodA.
792         (_Jv_JNI_CallAnyMethodA): Likewise.
793         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
794         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
795
796 2003-08-13  Tom Tromey  <tromey@redhat.com>
797
798         * gij.cc (help): Document -? and -X.
799
800 2003-08-12  Graydon Hoare  <graydon@redhat.com>
801
802         * java/awt/Font.java: 
803         Stub out more recent API. 
804
805 2003-08-12  Graydon Hoare  <graydon@redhat.com>
806
807         * java/awt/Color.java (getAlpha): 
808         Prevent sign-extended alpha values.
809
810 2003-08-12  Tom Tromey  <tromey@redhat.com>
811
812         * gij.cc (main): Handle -? and -X.
813
814 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
815
816         * java/awt/Container.java
817         (getPreferredSize): Call preferredSize.
818         (preferredSize): Moved body of getPreferredSize here.
819         (getMinimumSize): Call minimumSize.
820         (minimumSize): Moved body of getMinimumSize here.
821
822 2003-08-11  Tom Tromey  <tromey@redhat.com>
823
824         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
825         (postEvent): Removed FIXME comment.
826         (isDispatchThread): Documented.
827         (getCurrentEvent): New method.
828         (dispatchEvent): Set currentEvent and lastWhen.
829         (getMostRecentEventTime): Rewrote.
830         (invokeLater): Documented.
831
832 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
833
834         * java/io/PrintStream.java (print): Always flush if auto_flush is
835         set. Don't check for newline characters.
836         (write (int)): Implement without using a temporary array.
837         (write (byte[], int, int): Always flush if auto_flush is set. Don't
838         check for newline characters.
839         Fixes PR libgcj/11778.
840
841 2003-08-08  Andrew Haley  <aph@redhat.com>
842
843         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
844         * Makefile.in: Rebuild.
845         * java/lang/natRuntime.cc (insertSystemProperties): Add
846         "sun.boot.class.path".
847
848 2003-08-07  Andrew Haley  <aph@redhat.com>
849
850         * java/io/PrintStream.java: Don't crash on a null string.
851         
852 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
853
854         * configure.in: Don't initialize GCINCS to boehm-gc/include.
855         * configure: Regenerate.
856
857 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
858
859         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
860         SocketImpl. Update Javadoc.
861         (bind): Call close() not impl.close() in event of exception.
862         (connect): Likewise.
863         Remove superfluous null checks throughout.
864         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
865         Don't create an extra socket. Fix for PR libgcj/10868.
866         (bind): Clean up exception handling.
867         Remove superfluous null checks throughout.
868
869 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
870             Bryce McKinlay  <bryce@mckinlay.net.nz>
871
872         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
873         ready-to-write argument to _Jv_Select. Reset the socket back to 
874         non-blocking state after connecting.
875         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
876         Throw SocketTimeoutException not InterruptedIOException.
877         (read): Throw SocketTimeoutException not InterruptedIOException.
878
879 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
880
881         * java/lang/Thread.java (Thread): Check for null "name" from
882         start of private constructor, not after calling the private
883         constructor.
884
885 2003-08-06  Tom Tromey  <tromey@redhat.com>
886
887         * java/io/FilePermission.java (equals): Use correct index for
888         last character of path.
889
890 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
891
892         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
893         * configure.in: Compare with_cross_host to build_alias, not build.
894         * aclocal.m4: Regenerate.
895         * configure: Regenerate.
896
897 2003-08-05  Tom Tromey  <tromey@redhat.com>
898
899         Fix for PR libgcj/11779:
900         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
901         class.
902
903         * java/lang/reflect/Method.java: Updated status comment.
904         Imported javadoc from Classpath and re-ordered methods.
905         * java/lang/reflect/Constructor.java: Reindented.  Updated
906         status comment.  Imported javadoc from Classpath and re-ordered
907         methods.
908
909 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
910
911         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
912         Add keyLocation parameter.
913         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
914         string.
915         (paramString): Generate keyChar string according to keyChar, not
916         keyCode.
917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
918         (state_to_awt_mods): Handle ALT key.
919         (keyevent_state_to_awt_mods): New function.
920         (get_first_keyval_from_keymap): New function.
921         (keysym_to_awt_keycode): Get virtual key code from keymap.
922         Handle missing VK_ values.
923         (keysym_to_awt_keylocation): New function.
924         (keyevent_to_awt_keychar): New function.
925         (generates_key_typed_event): Handle non-text-component case.
926         Handle GDK_KP_Delete and GDK_KP_Enter.
927         (awt_event_handler): Call new functions to get postKeyEvent
928         parameters.
929         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
930         Update postKeyEvent method signature.
931         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
932         VK_ defines.
933
934 2003-08-05  Matthias Klose  <doko@debian.org>
935
936         * aclocal.m4: check for libart-config binary
937           under the name libart2-config as well.
938         * configure: regenerated.
939
940 2003-08-04  David P Grove  <groved@us.ibm.com>
941
942         * java/text/DecimalFormat.java (format): avoid ArithmeticException
943         when groupingSize is 0.
944         (parse): Likewise.
945
946 2003-08-04  Matthias Klose  <doko@debian.org>
947
948         * libart.m4: check for libart-config binary
949           under the name libart2-config as well.
950         * configure, aclocal.m4: regenerated.
951
952 2003-08-02  Michael Koch  <konqueror@gmx.de>
953
954         * java/nio/ByteBufferImpl.java
955         (getChar): Check remaining bytes, fixed comment about endianess.
956         (putChar): Likewise.
957         (getShort): Likewise.
958         (putShort): Likewise.
959         (getInt): Check remaining bytes, fixed conversion, fixed comment about
960         endianess.
961         (putInt): Likewise.
962         (getLong): Likewise.
963         (putLong): Likewise.
964         (getFloat): Likewise.
965         (putFloat): Likewise.
966         (getDouble): Likewise.
967         (putDouble): Likewise.
968         * java/nio/DirectByteBufferImpl.java
969         (getChar): Wrapped code, fixed comment about endianess.
970         (putchar): Likewise.
971         (getShort): Likewise.
972         (putShort): Likewise.
973         (getInt): Fixed conversion, fixed comment about endianess.
974         (putInt): Likewise.
975         (getLong): Likewise.
976         (putLong): Likewise.
977         (getFloat): Likewise.
978         (putFloat): Likewise.
979         (getDouble): Likewise.
980         (putDouble): Likewise.
981         * java/nio/MappedByteBufferImpl.java
982         (compact): Implemented.
983         (getChar): Implemented.
984         (putChar): Implemented.
985         (getDouble): Implemented.
986         (putdouble): Implemented.
987         (getFloat): Implemented.
988         (putFloat): Implemented.
989         (getInt): Implemented.
990         (putInt): Implemented.
991         (getLong): Implemented.
992         (putLong): Implemented.
993         (getShort): Implemented.
994         (putShort): Implemented.
995         * java/nio/channels/FileChannelImpl.java
996         (read): Set position where to access file.
997         (write): Likewise.
998         (transferTo): Flip buffer after read and before write.
999         (transferFrom): Likewise.
1000
1001 2003-08-02  Michael Koch  <konqueror@gmx.de>
1002
1003         * gnu/java/lang/ArrayHelper.java
1004         (equalsArray): Reformated, added method documentation.
1005
1006 2003-08-02  Michael Koch  <konqueror@gmx.de>
1007
1008         * java/net/URL.java
1009         (URL): Added paragraph about the
1010         gnu.java.net.nocache_protocol_handlers property.
1011         (ph_cache): Renamed from handlers to match classpath's implementation.
1012         Reordered it with factory and serialVersionUID member variables.
1013         (cache_handlers): New member variable.
1014         (static): New static initializer to initialize cache_handlers from
1015         gnu.java.net.nocache_protocol_handlers property.
1016         (URL): Use ph_cache instead of handlers, reformatted some code to
1017         match classpath's implementation.
1018
1019 2003-08-01  Tom Tromey  <tromey@redhat.com>
1020
1021         Fix for PR libgcj/11241:
1022         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1023         initialCapacity is 0, set it to 1.
1024
1025 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
1026
1027         * java/net/SocketImpl.java (toString): Display the remote address
1028         of an unconnected server socket as "0.0.0.0/0.0.0.0".
1029
1030 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
1031
1032         * javax/swing/border/BevelBorder.java,
1033         javax/swing/border/EtchedBorder.java,
1034         javax/swing/border/LineBorder.java,
1035         javax/swing/border/MatteBorder.java,
1036         javax/swing/border/SoftBevelBorder.java,
1037         javax/swing/plaf/BorderUIResource.java,
1038         javax/swing/plaf/ComponentUI.java,
1039         javax/swing/plaf/TreeUI.java,
1040         javax/swing/plaf/basic/BasicBorders.java,
1041         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1042         javax/swing/plaf/basic/BasicTreeUI.java:
1043         Prepend "doc-files" to all paths to embedded Javadoc images, so
1044         that the generated documentation contains the correct URL.
1045
1046 2003-08-01  Tom Tromey  <tromey@redhat.com>
1047
1048         * configure: Rebuilt.
1049         * configure.in (tool_include_dir): Redefine to match gcc.
1050
1051 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
1052             Mark Wielaard  <mark@klomp.org>
1053             
1054         * java/math/BigDecimal (divide): Correctly handle
1055         ROUND_HALF_EVEN when amount is greater than 0.5.
1056         Simplify and optimize code.
1057
1058 2003-07-31  Tom Tromey  <tromey@redhat.com>
1059
1060         More for PR libgcj/11737:
1061         * java/io/ObjectInputStream.java (processResolution): Use
1062         getMethod.
1063         (getMethod): Make method accessible.
1064         (getField): Make field accessible.
1065         (setBooleanField): Don't call setAccessible here.
1066         (setByteField, setCharField, setDoubleField, setFloatField,
1067         setIntField, setLongField, setShortField, setObjectField):
1068         Likewise.
1069         (callReadMethod): Don't check whether method is null.  Catch
1070         NoSuchMethodException.
1071         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1072         cause on thrown exceptions.
1073
1074 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
1075
1076         Fix for PR libgcj/11728:
1077         * java/util/HashMap.java (readObject): Set size.
1078
1079 2003-07-31  Tom Tromey  <tromey@redhat.com>
1080
1081         Fix for PR libgcj/11737:
1082         * java/io/ObjectOutputStream.java (getMethod): Make method
1083         accessible.
1084         (getField): Likewise.
1085         (writeObject): Use getMethod.
1086         Import PrivilegedAction and AccessController.
1087         (callWriteMethod): Don't check whether m is null.  Catch
1088         NoSuchMethodException.
1089
1090         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1091         (containsAngle): Likewise.
1092         (getStartPoint): Rewrote.
1093         (getEndPoint): Likewise.
1094         (setAngleStart(Point2D)): Likewise.
1095
1096 2003-07-31  Roger Sayle  <roger@eyesopen.com>
1097             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1098
1099         * configure.in: Add new THREADCXXFLAGS variable.
1100         Handle POSIX threads on alpha*-dec-osf*.
1101         * configure: Regenerate.
1102         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1103         * Makefile.in: Regenerate.
1104
1105 2003-07-08  Andrew Haley  <aph@redhat.com>
1106
1107         * include/i386-signal.h (RESTORE): New.
1108         (INIT_SEGV): Set restorer.
1109         (INIT_FPE): Likewise.
1110
1111 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1112
1113         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1114         than getXLFD.
1115         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1116         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1118         (gtkSetFont): Scale size parameter by PANGO_SCALE.
1119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1120         Likewise.
1121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1122         Likewise.
1123
1124 2003-07-29  Tom Tromey  <tromey@redhat.com>
1125
1126         * defineclass.cc (handleField): Throw exception if field name is
1127         duplicated.
1128         (handleMethod): Throw exception for duplicate method.
1129
1130 2003-07-29  Tom Tromey  <tromey@redhat.com>
1131
1132         * gnu/gcj/convert/natIconv.cc (write): Handle case where
1133         output buffer is too small.
1134
1135 2003-07-28  Tom Tromey  <tromey@redhat.com>
1136
1137         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1138         New method.
1139         Include gnu/gcj/runtime/StringBuffer.h.
1140         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1141         native method.
1142         (String(gnu.gcj.runtime.StringBuffer)): Use it.
1143
1144 2003-07-27  Anthony Green  <green@redhat.com>
1145
1146         * configure.in: Fix newlib check.
1147         * configure: Rebuilt.
1148
1149 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1150
1151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1152         Create vbox and layout for GtkPlug.
1153
1154 2003-07-27  Michael Koch  <konqueror@gmx.de>
1155
1156         * java/awt/Window.java
1157         (Window): Removed now unused constructor. It became oboslete with the
1158         new embedded window patch.
1159
1160 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
1161             Michael Koch  <konqueror@gmx.de>
1162
1163         * gnu/java/awt/EmbeddedWindow.java
1164         (EmbeddedWindow): Extends Frame instead of Window.
1165         (window_id): New member variable to store the native window handle.
1166         (create): Removed.
1167         (EmbeddedWindow): New constructor.
1168         (addNotify): New method.
1169         (getHandler): Likewise.
1170         (setWindowPeer): New native method.
1171         * gnu/java/awt/EmbeddedWindowSupport.java
1172         (EmbeddedWindowSupport): Fixed documentation.
1173         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
1174         WindowPeer, give it an EmbeddedWindow instance instead of the raw
1175         window data.
1176         * gnu/java/awt/natEmbeddedWindow.cc
1177         (create): Removed.
1178         (setWindowPeer): New method.
1179         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
1180         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
1181         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1182         New files
1183         * gnu/java/awt/peer/gtk/GtkToolkit.java
1184         (GtkToolkit): Implements EmbeddedWindowSupport.
1185         (createEmbeddedWindow): New method.
1186         * java/awt/Window.java
1187         (Window): Removed.
1188         * Makefile.am
1189         (java_source_files): Added EmbeddedWindowPeer.java.
1190         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
1191         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
1192         * Makefile.in: Regenerated.
1193
1194 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
1195
1196         * java/lang/Win32Process.java (ConcreteProcess): Surround
1197         a command line element with quotes if it contains an
1198         embedded space or tab.
1199         * java/lang/natWin32Process.cc (startProcess): Do not
1200         surround command line elements with quotes here.
1201
1202         * configure.host: Use -fcheck-references and 
1203         -fuse-divide-subroutine for MinGW until we fix
1204         win32_exception_handler( ) in win32.cc w.r.t. Win32 
1205         Structured Exception Handling (SEH).
1206
1207         * win32.cc (_Jv_platform_initProperties): Use generic names
1208         like "x86" for the "os.arch" property to be consistent with
1209         what Sun's JDK produces. Use the wProcessorArchitecture
1210         member of the Win32 SYSTEM_INFO structure, filled in a call 
1211         to GetSystemInfo( ), instead of dwProcessorType.
1212
1213 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
1214             Ranjit Mathew  <rmathew@hotmail.com>
1215
1216         * Makefile.am: Use cross-compiling gcjh from the path for
1217         a crossed-native build.
1218         * Makefile.in: Rebuilt.
1219         * configure.in: Include libltdl in non-newlib builds.
1220         Moved determination of gcj used to build libraries to
1221         its own section. Fixed cross-compilation issues for
1222         non-newlib builds.
1223         * configure: Rebuilt.
1224
1225 2003-07-25  Tom Tromey  <tromey@redhat.com>
1226
1227         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
1228         (write): Likewise.
1229         (read): Likewise.
1230         (read): Likewise.
1231
1232 2003-07-25  Mark Wielaard  <mark@klomp.org>
1233
1234         * java/lang/natRuntime.cc (_load): Add library name to
1235         UnsatisfiedLinkError when thrown.
1236
1237 2003-07-25  Mark Wielaard  <mark@klomp.org>
1238
1239         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
1240         added.
1241         * Makefile.in: Likewise.
1242
1243 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
1244
1245         * java/awt/Component.java
1246         (getPreferredSize): Call preferredSize.
1247         (preferredSize): Moved body of getPreferredSize here.
1248         (getMinimumSize): Call minimumSize.
1249         (minimumSize): Moved body of getMinimumSize here.
1250         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
1251         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
1252         pass -1
1253         * java/awt/Container.java
1254         (validate): Don't validate if there is no peer.
1255         (update): Clear background before calling paint.
1256         * java/awt/GridBagLayout.java
1257         Completed the implementation and fixed several bugs.
1258         * java/awt/MediaTracker.java
1259         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
1260         combine flags.
1261         * java/awt/Window.java
1262         (Window): Don't call setVisible(false). Windows are invisible by
1263         default and calling virtual methods from constructor causes
1264         compatibility problems (e.g. subclasses may assume that the peer
1265         already exists).
1266
1267 2003-07-25  Michael Koch  <konqueror@gmx.de>
1268
1269         * java/awt/GridBagLayout.java:
1270         Totally reworked and partly implemented.
1271         * java/awt/GridBagLayoutInfo.java:
1272         New file.
1273
1274 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1275
1276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
1277         Don't pack label in an event box.
1278
1279 2003-07-24  Tom Tromey  <tromey@redhat.com>
1280
1281         For PR libgcj/7482:
1282         * verify.cc (ref_intersection): New class.
1283         (type_val): Removed unresolved_reference_type,
1284         uninitialized_unresolved_reference_type.
1285         (is_assignable_from_slow): Rewrote.
1286         (type::data): Removed.
1287         (type::klass): New field.
1288         (type::type): Added verifier argument.
1289         (type::resolve): Removed.
1290         (type::set_uninitialized): Updated for change to type_val.
1291         (type::set_initialized): Likewise.
1292         (type::isinitialized): Likewise.
1293         (type::print): Likewise.
1294         (construct_primitive_array_type): Likewise.
1295         (type::compatible): Updated for change to type_val and to use
1296         ref_intersection.
1297         (type::isarray): Updated to use ref_intersection.
1298         (type::isinterface): Likewise.
1299         (type::element_type): Likewise.
1300         (type::to_array): Likewise.
1301         (type::verify_dimensions): Rewrote.
1302         (type::merge): Likewise.
1303         (check_class_constant): Updated for type constructor change.
1304         (check_constant): Likewise.
1305         (check_field_constant): Likewise.
1306         (get_one_type): Likewise.
1307         (initialize_stack): Likewise.
1308         (verify_instructions_0): Likewise.
1309         (verify_instructions_0) [op_invokeinterface]: Removed special
1310         case.
1311         (isect_list): New field.
1312         (_Jv_BytecodeVerifier): Initialize it.
1313         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
1314
1315 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
1316
1317         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
1318         unless field size is 2.
1319
1320 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1321
1322         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1323         (connectHooks): New method.
1324         (handleEvent): Remove.
1325         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1326         (createHooks): Remove declaration.
1327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1328         (generates_key_typed_event): Change to handle only certain
1329         keyvals.
1330         (awt_event_handler): Add special handling for GtkTextView.
1331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1332         (textcomponent_commit_cb): New function.
1333         (textcomponent_changed_cb): Likewise.
1334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1335         (connectHooks): Remove.
1336
1337 2003-07-23  Tom Tromey  <tromey@redhat.com>
1338
1339         * java/lang/natSystem.cc (arraycopy): Check for overflow.
1340
1341         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
1342
1343 2003-07-22  Tom Tromey  <tromey@redhat.com>
1344
1345         * boehm.cc (_Jv_BuildGCDescr): Wrote.
1346         Include limits.h.
1347
1348 2003-07-22  Tom Tromey  <tromey@redhat.com>
1349
1350         * java/awt/Window.java (getWarningString): Just return the
1351         string.
1352         (Window): Set warningString; check with security manager.
1353
1354 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
1355
1356         * gnu/awt/xlib/XGraphicsConfiguration.java
1357         (FontMetricsCache): Made static.
1358  
1359 2003-07-22  Tom Tromey  <tromey@redhat.com>
1360
1361         * java/net/URLEncoder.java (encode(String)): Use platform default
1362         encoding.
1363         (encode(String,String)): Convert to 2-digit upper-case hex
1364         number.
1365         (hex): New field.
1366
1367 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1368
1369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1370         (create): Remove unused method implementation.
1371         (connectHooks): Remove debug messages.
1372
1373 2003-07-20  Anthony Green  <green@redhat.com>
1374
1375         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1376         CloneNotSupportedException.
1377         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1378         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1379         * gnu/gcj/xlib/GC.java (clone): Ditto.
1380         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1381         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1382
1383         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1384         handler.
1385         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1386
1387 2003-07-20  Steve Pribyl <steve@netfuel.com.>
1388
1389         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1390         String.  Put dlerror() message into exception.
1391         Include UnsatisfiedLinkError.
1392         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1393         String.  Now native.
1394
1395 2003-07-20  Tom Tromey  <tromey@redhat.com>
1396
1397         * java/lang/Runtime.java: Comment fix.
1398         * java/lang/ClassLoader.java (isAncestorOf): New method.
1399         (getParent): Uncommented security check.  Use isAncestorOf.
1400         * include/jvm.h (_Jv_CheckAccess): Declare.
1401         * java/lang/reflect/natConstructor.cc (newInstance): Perform
1402         access check.
1403         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1404         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1405         class loader to _Jv_GetArrayClass.
1406         Include ArrayIndexOutOfBoundsException.h.
1407         * java/lang/reflect/Field.java: Update comment to reflect status.
1408         (equals): Fixed indentation.
1409         * java/lang/Class.h (Class): Declare memberAccessCheck, not
1410         checkMemberAccess.  Make _Jv_CheckAccess a friend.
1411         * java/lang/Class.java (memberAccessCheck): New method from
1412         Classpath.
1413         (checkMemberAccess): Removed.
1414         (getDeclaredMethod): Use memberAccessCheck.
1415         (getField): Likewise.
1416         (getMethod): Likewise.
1417         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1418         (_Jv_SearchMethodInClass): Likewise.
1419         * prims.cc (_Jv_CheckAccess): New function.
1420         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1421         (_Jv_JNI_GetAnyFieldID): Likewise.
1422         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1423         (getClassLoader): Added security check.
1424         (getConstructor): Call memberAccessCheck.
1425         (getDeclaredClasses): Likewise.
1426         (getDeclaredField): Likewise.
1427         (getDeclaredFields): Likewise.
1428         (_getConstructors): Likewise.
1429         (getDeclaredConstructor): Likewise.
1430         (getDeclaredMethods): Likewise.
1431         (getFields): Likewise.
1432         (getMethods): Likewise.
1433         (newInstance): Likewise.
1434         (_Jv_MakeVTable): Put method name in exception.
1435         * java/lang/reflect/natMethod.cc (getType): Use
1436         getClassLoaderInternal.
1437         (_Jv_GetTypesFromSignature): Likewise.
1438         (invoke): Perform access check.
1439         (_Jv_CallAnyMethodA): Removed old FIXME comments.
1440         Include ArrayIndexOutOfBoundsException.h.
1441         * java/lang/reflect/natField.cc (getType): Use
1442         getClassLoaderInternal.
1443         (_Jv_CheckFieldAccessibility): Removed.
1444         (getAddr): Use _Jv_CheckAccess; find caller.
1445         Include ArrayIndexOutOfBoundsException.h.
1446
1447 2003-07-20  Michael Koch  <konqueror@gmx.de>
1448
1449         * java/net/URL.java
1450         (URL): Fixed documentation to name an argument correcty, Reformatted
1451         one method declaration.
1452         (getURLStreamHandler): Added documentation from classpath.
1453
1454 2003-07-19  Tom Tromey  <tromey@redhat.com>
1455
1456         * mauve-libgcj: Don't run CollationElementIterator tests.
1457
1458 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
1459
1460         * java/net/URLClassLoader.java (addURL): Moved implementation to
1461         private addURLImpl() to avoid calling addURL from the constructor.
1462         (addURLImpl): Contains the code that was previously in addURL.
1463         (addURLs): Call addURLImpl(), not addURL().
1464
1465 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1466
1467         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
1468         Handle missing event cases, connect to "value-changed" signal.
1469
1470 2003-07-18  Graydon Hoare  <graydon@redhat.com>
1471
1472         * java/awt/geom/CubicCurve2D.java,
1473         java/awt/geom/Line2D.java,
1474         java/awt/geom/QuadCurve2D.java,
1475         java/awt/geom/Rectangle2D.java: 
1476         Fix path some calculations, make path iterators follow
1477         a consistent style.
1478
1479 2003-07-18  Mark Wielaard  <mark@klomp.org>
1480
1481         * java/util/logging/Handler.java (isLoggable): Check record level
1482         smaller or equal.
1483
1484 2003-07-17  Michael Koch  <konqueror@gmx.de>
1485
1486         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1487         Reworked imports.
1488
1489 2003-07-14  Michael Koch  <konqueror@gmx.de>
1490
1491         * gnu/java/rmi/server/UnicastServerRef.java:
1492         New version from classpath.
1493
1494 2003-07-14  Michael Koch  <konqueror@gmx.de>
1495
1496         * java/awt/image/MemoryImageSource.java,
1497         java/beans/PropertyEditorManager.java,
1498         javax/naming/CompoundName.java,
1499         javax/naming/spi/NamingManager.java,
1500         javax/swing/AbstractButton.java,
1501         javax/swing/ButtonModel.java,
1502         javax/swing/SwingUtilities.java,
1503         javax/swing/UIManager.java,
1504         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1505         javax/swing/event/AncestorEvent.java,
1506         javax/swing/event/InternalFrameEvent.java,
1507         java/util/zip/ZipFile.java:
1508         New versions from classpath.
1509
1510 2003-07-13  Michael Koch  <konqueror@gmx.de>
1511
1512         * gnu/java/nio/FileChannelImpl.java,
1513         gnu/java/nio/natFileChannelImpl.cc: Removed.
1514         * java/io/FileInputStream.java,
1515         java/io/FileOutputStream.java,
1516         java/io/RandomAccessFile.java,
1517         java/nio/MappedByteBufferImpl.java:
1518         Import java.nio.channels.FileChannelImpl instead of
1519         gnu.java.nio.FileChannelImpl.
1520         * java/nio/channels/FileChannelImpl.java,
1521         java/nio/channels/natFileChannelImpl.cc:
1522         New files.
1523         * Makefile.am
1524         (ordinary_java_source_files):
1525         Removed gnu/java/nio/FileChannelImpl.java and added
1526         java/nio/channels/FileChannelImpl.java.
1527         (nat source_files):
1528         Removed gnu/java/nio/natFileChannelImpl.cc and added
1529         java/nio/channels/natFileChannelImpl.cc.
1530         * Makefile.in: Regenerated.
1531
1532 2003-07-13  Michael Koch  <konqueror@gmx.de>
1533
1534         * javax/swing/plaf/basic/BasicBorders.java,
1535         javax/swing/plaf/basic/BasicLabelUI.java,
1536         javax/swing/plaf/basic/BasicLookAndFeel.java,
1537         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1538         javax/swing/plaf/basic/BasicTextUI.java,
1539         javax/swing/plaf/metal/MetalLookAndFeel.java:
1540         New versions from classpath.
1541
1542 2003-07-13  Michael Koch  <konqueror@gmx.de>
1543
1544         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1545         * gnu/java/awt/peer/gtk/GdkGraphics.java
1546         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1547         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1548         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1549         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1550         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1551         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1552         * gnu/java/awt/peer/gtk/GtkClipboard.java
1553         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1554         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1555         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1556         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1557         * gnu/java/awt/peer/gtk/GtkImage.java
1558         * gnu/java/awt/peer/gtk/GtkImagePainter.java
1559         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1560         * gnu/java/awt/peer/gtk/GtkListPeer.java
1561         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1562         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1563         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1564         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1565         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1566         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1567         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1568         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1569         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1570         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1571         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1572         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1573
1574 2003-07-13  Michael Koch  <konqueror@gmx.de>
1575
1576         * gnu/java/locale/LocaleInformation_de.java
1577         * gnu/java/locale/LocaleInformation_en.java
1578         * gnu/java/locale/LocaleInformation_nl.java
1579
1580 2003-07-13  Michael Koch  <konqueror@gmx.de>
1581
1582         * gnu/java/awt/EmbeddedWindow.java,
1583         gnu/java/awt/EmbeddedWindowSupport.java,
1584         gnu/java/awt/natEmbeddedWindow.cc:
1585         New files.
1586         * java/awt/Window.java
1587         (Window): New constructor to support embedded windows.
1588         * Makefile.am
1589         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1590         gnu/java/awt/EmbeddedWindowSupport.java.
1591         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1592         * Makefile.in: Regenerated.
1593
1594 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
1595
1596         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1597         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1598         * java/awt/im/InputContext.java: Remove a redundant
1599         partial line.
1600
1601 2003-07-09  Tom Tromey  <tromey@redhat.com>
1602
1603         * Makefile.in: Rebuilt.
1604         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1605
1606 2003-07-09  Mark Wielaard  <mark@klomp.org>
1607
1608         * java/io/ObjectOutputStream.java (writeObject): break after
1609         calling writeClassDescriptor().
1610
1611 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
1612
1613         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1614
1615 2003-07-09  Michael Koch  <konqueror@gmx.de>
1616
1617         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1618         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1619         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1620         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1621         Explicitly import used classes.
1622         * java/awt/Container.java: New version from classpath.
1623
1624 2003-07-09  Michael Koch  <konqueror@gmx.de>
1625
1626         * libgcj.pc.in: New file.
1627         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1628         * Makefile.in: Regenerated.
1629         * configure: Regenrated.
1630         * configure.in: Create libgcj.pc from libgcj.pc.in.
1631
1632 2003-07-08  Mark Wielaard <mark@klomp.org>
1633
1634         * gcj/cni.h: CNI now expands to Compiled Native Interface.
1635
1636         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1637         * java/lang/fdlibm.h: Likewise.
1638
1639 2003-07-07  Adam Megacz <adam@xwt.org>
1640
1641         * posix.cc: added #include<stdio.h>
1642                 
1643 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1644
1645         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1646         formatting.
1647
1648         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1649         (setCaretPosition, setEditable): Rely entirely on native
1650         implementation.
1651         (getArgs): Remove.
1652         (postTextEvent): New method.
1653         (handleEvent): New method.
1654         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1655         method.
1656         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1658         (keysym_to_awt_keycode): Fix range checks.
1659         (generates_key_typed_event): New function.
1660         (awt_event_handler): Post AWT_KEY_RELEASED events to event
1661         queue.
1662         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1663         (gtkInit): Store TextComponent's postTextEvent method ID.
1664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1665         (setText): Post TEXT_VALUE_CHANGED event to event queue.
1666
1667 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1668
1669         * configure.in: Check for usleep declaration.
1670         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1671         * configure: Regenerate.
1672         * include/config.h.in: Likewise.
1673         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1674
1675 2003-07-01  Michael Koch  <konqueror@gmx.de>
1676
1677         * gnu/gcj/convert/natIconv.cc
1678         (iconv_init): Fixed possible memory leak by releasing allocated iconv
1679         handle.
1680
1681 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1682
1683         * glib-2.0.m4: New file.
1684         * gtk-2.0.m4: New file.
1685         * glib.m4: Remove.
1686         * gtk.m4: Remove.
1687         * configure.in: Update AM_PATH_GTK macro call to
1688         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
1689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1690         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1693         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1695         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1697         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1698         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1699         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1700         jni/gtk-peer/gthread-jni.c,
1701         jni/gtk-peer/gthread-jni.h:
1702         New versions from classpath.
1703         * aclocal.m4: Regenerate.
1704         * configure: Regenerate.
1705         * Makefile.in: Regenerate.
1706         * gcj/Makefile.in: Regenerate.
1707         * include/Makefile.in: Regenerate.
1708         * testsuite/Makefile.in: Regenerate.
1709
1710 2003-06-30  Gary Benson  <gbenson@redhat.com>
1711
1712         For PR libgcj/11349:
1713         * javax/naming/spi/NamingManager.java (getURLContext): Use
1714         correct name for factory class.
1715
1716 2003-06-28  Michael Koch  <konqueror@gmx.de>
1717
1718         * java/io/PrintStream.java
1719         (checkError): Call flush() instead of direct flushing of the Writer
1720         object.
1721         (print): Call print(String) instead of direct print method of the
1722         Writer Object.
1723         (println): Call println(String) instead of direct println method of the
1724         Writer Object.
1725         (write): Simplified.
1726
1727 2003-06-28  Michael Koch  <konqueror@gmx.de>
1728
1729         * java/net/ServerSocket.java
1730         (setChannel): New method.
1731         * java/net/Socket.java
1732         (setChannel): New method.
1733
1734 2003-06-27  Michael Koch  <konqueror@gmx.de>
1735
1736         * java/beans/beancontext/BeanContextSupport.java:
1737         New version from classpath.
1738
1739 2003-06-27  Michael Koch  <konqueror@gmx.de>
1740
1741         * java/awt/Window.java,
1742         java/awt/font/GraphicAttribute.java,
1743         java/awt/font/ImageGraphicAttribute.java,
1744         java/awt/image/DataBufferByte.java,
1745         java/awt/image/DataBufferInt.java,
1746         java/awt/image/DataBufferUShort.java,
1747         java/awt/image/DirectColorModel.java,
1748         java/awt/image/PixelGrabber.java:
1749         New versions from classpath.
1750
1751 2003-06-27  Michael Koch  <konqueror@gmx.de>
1752
1753         * java/security/Certificate.java
1754         (getGuarantor): Removed wrong @deprecated tag.
1755         (getPrincipal): Likewise.
1756         (getPublicKey): Likewise.
1757         (encode): Likewise.
1758         (decode): Likewise.
1759         (getFormat): Likewise.
1760         (toString): Likewise.
1761         * java/security/cert/PolicyQualifierInfo.java
1762         (PolicyQualifierInfo): Made final.
1763         * javax/security/auth/x500/X500Principal.java
1764         (serialVersionUID): New member variable.
1765
1766 2003-06-27  Michael Koch  <konqueror@gmx.de>
1767
1768         * java/text/Format.java
1769         (serialVersionUID): Fixed value.
1770
1771 2003-06-27  Michael Koch  <konqueror@gmx.de>
1772
1773         * java/net/Inet4Address.java
1774         (Inet4Address): Made package-private.
1775         * java/net/Inet6Address.java
1776         (Inet4Address): Made package-private.
1777
1778 2003-06-27  Michael Koch  <konqueror@gmx.de>
1779
1780         * java/io/RandomAccessFile.java
1781         (readLine): Removed wrong @deprecated tag.
1782         (getChannel): Made final.
1783
1784 2003-06-27  Michael Koch  <konqueror@gmx.de>
1785
1786         * gnu/java/nio/FileChannelImpl.java
1787         (write): Removed.
1788
1789 2003-06-27  Michael Koch  <konqueror@gmx.de>
1790
1791         * java/nio/ByteBufferImpl.java
1792         (ByteBufferImpl): Made it a package-private class
1793         * java/nio/CharBufferImpl.java
1794         (CharBufferImpl): Made it a package-private class
1795         * java/nio/DirectByteBufferImpl.java
1796         (DirectByteBufferImpl): Made it a package-private class
1797         * java/nio/DoubleBufferImpl.java
1798         (DoubleBufferImpl): Made it a package-private class
1799         * java/nio/FloatBufferImpl.java
1800         (FloatBufferImpl): Made it a package-private class
1801         * java/nio/IntBufferImpl.java
1802         (IntBufferImpl): Made it a package-private class
1803         * java/nio/LongBufferImpl.java
1804         (LongBufferImpl): Made it a package-private class
1805         * java/nio/ShortBufferImpl.java
1806         (ShortBufferImpl): Made it a package-private class
1807         * java/nio/channels/FileChannel.java
1808         (write): Made final.
1809         * java/nio/channels/ServerSocketChannel.java
1810         (ServerSocketChanne): Made protected.
1811
1812 2003-06-27  Michael Koch  <konqueror@gmx.de>
1813
1814         * javax/naming/CompositeName.java
1815         (serialVersionUID): New member variable.
1816         * javax/naming/CompoundName.java
1817         (serialVersionUID): New member variable.
1818         * javax/naming/InitialContext.java
1819         (InitialContext): Throws NamingException.
1820         (init): Likewise.
1821         * javax/naming/LinkRef.java
1822         (serialVersionUID): New member variable.
1823         (gteLinkName): Throws NamingException.
1824         * javax/naming/NamingException.java
1825         (serialVersionUID): New member variable.
1826         * javax/naming/NamingSecurityException.java
1827         (NamingSecurityException): Made abstract.
1828         (serialVersionUID): New member variable.
1829         * javax/naming/ReferralException.java
1830         (serialVersionUID): New member variable.
1831         * javax/naming/StringRefAddr.java
1832         (serialVersionUID): New member variable.
1833         * javax/naming/directory/BasicAttribute.java:
1834         Reworked imports.
1835         (serialVersionUID): New member variable.
1836         (get): Throws NamingException.
1837         (getAll): Throws NamingException.
1838         * javax/naming/directory/BasicAttributes.java:
1839         Reworked imports.
1840         (serialVersionUID): New member variable.
1841         * javax/naming/ldap/UnsolicitedNotificationEvent.java
1842         (serialVersionUID): New member variable.
1843
1844 2003-06-27  Michael Koch  <konqueror@gmx.de>
1845
1846         * Makefile.am
1847         (awt_java_source_files): Added new files:
1848         javax/swing/Popup.java,
1849         javax/swing/PopupFactory.java
1850         * Makefile.in: Regenerated.
1851
1852 2003-06-27  Michael Koch  <konqueror@gmx.de>
1853
1854         * javax/swing/JWindow.java,
1855         javax/swing/event/AncestorEvent.java,
1856         javax/swing/event/HyperlinkEvent.java,
1857         javax/swing/event/InternalFrameEvent.java,
1858         javax/swing/event/ListDataEvent.java,
1859         javax/swing/event/TableModelEvent.java,
1860         javax/swing/plaf/PopupMenuUI.java,
1861         javax/swing/plaf/SplitPaneUI.java,
1862         javax/swing/plaf/TabbedPaneUI.java,
1863         javax/swing/plaf/TextUI.java,
1864         javax/swing/plaf/TreeUI.java,
1865         javax/swing/plaf/basic/BasicTextUI.java,
1866         javax/swing/plaf/basic/BasicTreeUI.java:
1867         New versions from classpath.
1868         * javax/swing/Popup.java,
1869         javax/swing/PopupFactory.jav:
1870         New source files from classpath.
1871         * javax/swing/plaf/doc-files/TreeUI-1.png:
1872         New binary files from classpath.
1873
1874 2003-06-25  Michael Koch  <konqueror@gmx.de>
1875
1876         * Makefile.am
1877         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1878         * Makefile.in: Regenerated.
1879
1880 2003-06-25  Michael Koch  <konqueror@gmx.de>
1881
1882         * javax/swing/plaf/ActionMapUIResource.java,
1883         javax/swing/plaf/BorderUIResource.java,
1884         javax/swing/plaf/ButtonUI.java,
1885         javax/swing/plaf/ColorChooserUI.java,
1886         javax/swing/plaf/ColorUIResource.java,
1887         javax/swing/plaf/ComboBoxUI.java,
1888         javax/swing/plaf/ComponentInputMapUIResource.java,
1889         javax/swing/plaf/ComponentUI.java,
1890         javax/swing/plaf/DesktopIconUI.java,
1891         javax/swing/plaf/DesktopPaneUI.java,
1892         javax/swing/plaf/DimensionUIResource.java,
1893         javax/swing/plaf/FileChooserUI.java,
1894         javax/swing/plaf/FontUIResource.java,
1895         javax/swing/plaf/IconUIResource.java,
1896         javax/swing/plaf/InputMapUIResource.java,
1897         javax/swing/plaf/InsetsUIResource.java,
1898         javax/swing/plaf/InternalFrameUI.java,
1899         javax/swing/plaf/LabelUI.java,
1900         javax/swing/plaf/ListUI.java,
1901         javax/swing/plaf/MenuBarUI.java,
1902         javax/swing/plaf/MenuItemUI.java,
1903         javax/swing/plaf/OptionPaneUI.java,
1904         javax/swing/plaf/PanelUI.java,
1905         javax/swing/plaf/ProgressBarUI.java,
1906         javax/swing/plaf/RootPaneUI.java,
1907         javax/swing/plaf/ScrollBarUI.java,
1908         javax/swing/plaf/ScrollPaneUI.java,
1909         javax/swing/plaf/SeparatorUI.java,
1910         javax/swing/plaf/SliderUI.java,
1911         javax/swing/plaf/TableHeaderUI.java,
1912         javax/swing/plaf/TableUI.java,
1913         javax/swing/plaf/ToolBarUI.java,
1914         javax/swing/plaf/ToolTipUI.java,
1915         javax/swing/plaf/ViewportUI.java:
1916         New versions from classpath.
1917         * javax/swing/plaf/SpinnerUI.java: 
1918         New file from classpath
1919
1920 2003-06-25  Michael Koch  <konqueror@gmx.de>
1921
1922         * java/awt/image/ColorModel.java:
1923         New version from classpath.
1924
1925 2003-06-25  Michael Koch  <konqueror@gmx.de>
1926
1927         * java/net/PlainDatagramSocketImpl.java:
1928         Partly merged with classpath, this mainly adds documentation.
1929
1930 2003-06-25  Michael Koch  <konqueror@gmx.de>
1931
1932         * java/io/ObjectInputStream.java
1933         (readClassDescriptor): New method.
1934         (readObject): Moved functionality to readClassDescriptor().
1935         * java/io/ObjectOutputStream.java
1936         (writeClassDescriptor): New method.
1937         (writeObject): Moved functionality to writeClassDescriptor().
1938
1939 2003-06-25  Michael Koch  <konqueror@gmx.de>
1940
1941         * javax/swing/plaf/basic/BasicListUI.java,
1942         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1943         Added missing methods.
1944
1945 2003-06-25  Michael Koch  <konqueror@gmx.de>
1946
1947         * javax/swing/event/AncestorEvent.java
1948         javax/swing/event/HyperlinkEvent.java
1949         javax/swing/event/InternalFrameEvent.java
1950         javax/swing/event/ListDataEvent.java
1951         javax/swing/event/TableModelEvent.java:
1952         Compile fixes.
1953
1954 2003-06-24  Michael Koch  <konqueror@gmx.de>
1955
1956         * java/net/URL.java:
1957         Renamed "handler" to "ph" in the whole file to match classpaths
1958         version.
1959         * java/net/URLStreamHandler.java:
1960         (equals): Renamed "handler" to "ph".
1961
1962 2003-06-24  Michael Koch  <konqueror@gmx.de>
1963
1964         * javax/swing/event/AncestorEvent.java,
1965         javax/swing/event/HyperlinkEvent.java,
1966         javax/swing/event/InternalFrameEvent.java,
1967         javax/swing/event/ListDataEvent.java,
1968         javax/swing/event/TableModelEvent.java,
1969         javax/swing/event/TreeWillExpandListener.java,
1970         javax/swing/plaf/ComponentUI.java,
1971         javax/swing/plaf/DesktopIconUI.java,
1972         javax/swing/plaf/DesktopPaneUI.java,
1973         javax/swing/plaf/DimensionUIResource.java,
1974         javax/swing/plaf/FileChooserUI.java,
1975         javax/swing/plaf/FontUIResource.java,
1976         javax/swing/plaf/IconUIResource.java,
1977         javax/swing/plaf/InputMapUIResource.java,
1978         javax/swing/plaf/InsetsUIResource.java,
1979         javax/swing/plaf/InternalFrameUI.java,
1980         javax/swing/plaf/LabelUI.java,
1981         javax/swing/plaf/ListUI.java,
1982         javax/swing/plaf/MenuBarUI.java,
1983         javax/swing/plaf/MenuItemUI.java,
1984         javax/swing/plaf/OptionPaneUI.java,
1985         javax/swing/plaf/PanelUI.java,
1986         javax/swing/plaf/ProgressBarUI.java,
1987         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1988         javax/swing/plaf/doc-files/ComponentUI-1.png:
1989         New versions from classpath.
1990
1991 2003-06-24  Michael Koch  <konqueror@gmx.de>
1992
1993         * java/nio/Buffer.java
1994         (cap): Made package-private.
1995         (pos): Likewise.
1996         (limit): Likewise.
1997         (mark): Likewise.
1998
1999 2003-06-24  Michael Koch  <konqueror@gmx.de>
2000
2001         * java/net/SocketImpl.java
2002         (shutdownInput): Made it non-abstract method throwing an exception
2003         like in SUNs JRE.
2004         (shutdownOutput): Likewise.
2005         * java/net/SocketInputStream.java,
2006         java/net/SocketOutputStream.java:
2007         New files from classpath.
2008
2009 2003-06-24  Michael Koch  <konqueror@gmx.de>
2010
2011         * java/awt/Font.java,
2012         java/awt/Window.java,
2013         java/awt/color/ColorSpace.java,
2014         java/awt/datatransfer/StringSelection.java,
2015         java/awt/image/ColorModel.java:
2016         New versions from classpath.
2017
2018 2003-06-24  Michael Koch  <konqueror@gmx.de>
2019
2020         * Makefile.am
2021         (awt_java_source_files): Added new files:
2022         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2023         javax/swing/plaf/basic/BasicSplitPaneUI.java
2024         * Makefile.in: Regenerated.
2025
2026 2003-06-24  Michael Koch  <konqueror@gmx.de>
2027
2028         * javax/swing/text/JTextComponent.java:
2029         New version from classpath.
2030
2031 2003-06-24  Michael Koch  <konqueror@gmx.de>
2032
2033         * javax/swing/Timer.java,
2034         javax/swing/plaf/ActionMapUIResource.java,
2035         javax/swing/plaf/ButtonUI.java,
2036         javax/swing/plaf/ColorChooserUI.java,
2037         javax/swing/plaf/ColorUIResource.java,
2038         javax/swing/plaf/ComboBoxUI.java,
2039         javax/swing/plaf/ComponentInputMapUIResource.java,
2040         javax/swing/plaf/basic/BasicBorders.java:
2041         New versions from classpath.
2042         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2043         javax/swing/plaf/basic/BasicSplitPaneUI.java:
2044         New file from classpath.
2045         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2046         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2047         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2048         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2049         javax/swing/plaf/doc-files/ComponentUI-1.png:
2050         New binary files from classpath.
2051
2052 2003-06-24  Michael Koch  <konqueror@gmx.de>
2053
2054         * java/io/LineNumberReader.java
2055         (skip): Dont do line number accounting here as this is already done in
2056         read(), simplified.
2057
2058 2003-06-21  Michael Koch  <konqueror@gmx.de>
2059
2060         * java/io/File.java
2061         (static): Load javaio lib if existing (only in classpath).
2062         (File): Revised documentation to show the correct argument name.
2063         (createTempFile): Partly merged with classpath.
2064         (compareTo): Simplified.
2065         (lastModified): Throw exception if time < 0.
2066         (deleteOnExit): Revised documentation.
2067
2068 2003-06-21  Michael Koch  <konqueror@gmx.de>
2069
2070         * java/net/PlainSocketImpl.java:
2071         Reformatted.
2072         (PlainSocketImpl): Merged class documentaion with classpath.
2073         (in): Moved.
2074         (out): Moved.
2075         (PlainSocketImpl): New empty constructor.
2076         (finalize): Moved.
2077         (setOption): Merged documentation from classpath.
2078         (getOption): Likewise.
2079         (create): Likewise.
2080         (connect): Likewise.
2081         (bind): Likewise.
2082         (listen): Likewise.
2083         (accept): Likewise.
2084         (available): Likewise.
2085         (close): Likewise.
2086         (read): Likewise.
2087         (write): Likewise.
2088         (getInputStream): Made synchronozed to get sure that only one stream
2089         object can be created for this socket, merged documentation from
2090         classpath.
2091         (getOutputStream): Likewise.
2092
2093 2003-06-21  Michael Koch  <konqueror@gmx.de>
2094
2095         * java/net/PlainSocketImpl.java:
2096         Reformatting.
2097         (static): New implicit method.
2098         (read): Made package private.
2099         (write): Likewise.
2100
2101 2003-06-21  Michael Koch  <konqueror@gmx.de>
2102
2103         * java/util/SimpleTimeZone.java:
2104         Removed unneeded import, reformatting.
2105
2106 2003-06-21  Michael Koch  <konqueror@gmx.de>
2107
2108         * java/text/DateFormat.java,
2109         java/text/SimpleDateFormat.java,
2110         java/util/Locale.java:
2111         New versions from classpath.
2112
2113 2003-06-21  Michael Koch  <konqueror@gmx.de>
2114
2115         * javax/swing/SpinnerModel.java:
2116         New file from classpath.
2117         * javax/swing/border/LineBorder.java,
2118         javax/swing/border/SoftBevelBorder.java,
2119         javax/swing/plaf/BorderUIResource.java,
2120         javax/swing/plaf/basic/BasicBorders.java:
2121         New versions from classpath.
2122         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2123         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2124         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2125         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2126         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2127         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2128         New binary files from classpath.
2129
2130 2003-06-21  Michael Koch  <konqueror@gmx.de>
2131
2132         * java/util/logging/LogRecord.java,
2133         java/util/logging/Logger.java,
2134         java/util/logging/SocketHandler.java,
2135         java/util/logging/SimpleFormatter.java,
2136         java/util/logging/Formatter.java,
2137         java/util/logging/ErrorManager.java,
2138         java/util/logging/Handler.java,
2139         java/util/logging/FileHandler.java,
2140         java/util/logging/LogManager.java,
2141         java/util/logging/Level.java,
2142         java/util/logging/ConsoleHandler.java,
2143         java/util/logging/StreamHandler.java,
2144         java/util/logging/LoggingPermission.java,
2145         java/util/logging/Filter.java,
2146         java/util/logging/MemoryHandler.java,
2147         java/util/logging/XMLFormatter.java:
2148         New files from classpath.
2149
2150 2003-06-20  Michael Koch  <konqueror@gmx.de>
2151
2152         * java/io/ObjectStreamField.java
2153         (unshared): new member variable.
2154         (ObjectStreamField): New constructor.
2155         (isUnshared): New method.
2156
2157 2003-06-20  Michael Koch  <konqueror@gmx.de>
2158
2159         * java/net/URLStreamHandler.java
2160         (hostsEqual): Rewritten.
2161
2162 2003-06-20  Michael Koch  <konqueror@gmx.de>
2163
2164         * gnu/java/nio/MappedByteFileBuffer.java,
2165         gnu/java/nio/natMappedByteFileBuffer.cc:
2166         Removed
2167         * java/nio/MappedByteBufferImpl.java:
2168         New file.
2169         * gnu/java/nio/FileChannelImpl.java:
2170         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
2171         * Makefile.am
2172         (ordinary_java_source_files): Removed
2173         gnu/java/nio/MappedByteFileBuffer.java and added
2174         java/nio/MappedByteBufferImpl.java.
2175         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
2176         * Makefile.in: Regenerated.
2177
2178 2003-06-19  Michael Koch  <konqueror@gmx.de>
2179
2180         * gnu/java/nio/DatagramChannelImpl.java
2181         (fd): Removed.
2182         (blocking): New member variable.
2183         (socket): Likewise.
2184         (DatagramChannelImpl): Throws IOException, initialize socket.
2185         (socket):Implemented.
2186         (implCloseSelectableChannel): Throws IOException, implemented.
2187         (implConfigureBlocking): Likewise.
2188         (connect): Likewise.
2189         (disconnect): Likewise.
2190         (isConnected): Likewise.
2191         (write): Likewise.
2192         (read): Likewise.
2193         (receive): Throws IOException.
2194         (send): Likewise.
2195         * gnu/java/nio/SocketChannelImpl.java
2196         (read): Implemented.
2197         (write): Implemented.
2198
2199 2003-06-19  Michael Koch  <konqueror@gmx.de>
2200
2201         * javax/swing/JComponent.java,
2202         javax/swing/JInternalFrame.java,
2203         javax/swing/MenuSelectionManager.java,
2204         javax/swing/SwingUtilities.java,
2205         javax/swing/ToggleButtonModel.java:
2206         New versions from classpath.
2207
2208 2003-06-19  Michael Koch  <konqueror@gmx.de>
2209
2210         * java/text/CollationElementIterator.java
2211         (NULLORDER): Initialize with -1 as JDK documentation says.
2212
2213 2003-06-19  Michael Koch  <konqueror@gmx.de>
2214
2215         * java/net/HttpURLConnection.java,
2216         java/net/Inet4Address.java,
2217         java/net/Inet6Address.java,
2218         java/net/SocketImpl.java,
2219         java/net/URLClassLoader.java:
2220         Reworked import statements.
2221         * java/net/InetAddress.java
2222         (getByAddress): Simplified.
2223         * java/net/ServerSocket.java
2224         (ServerSocket): Moved special handling during bind operation to
2225         bind().
2226         (bind): Handle different cases when trying to bind a socket.
2227         * java/net/URLConnection.java
2228         (getHeaderFieldDate): Merged with classpath.
2229         (getHeaderFieldInt): Likewise.
2230
2231 2003-06-19  Michael Koch  <konqueror@gmx.de>
2232
2233         * java/util/zip/InflaterInputStream.java
2234         (InflaterInputStream): Throw NullPointerException if in is null (as
2235         JDK does).
2236
2237 2003-06-19  Michael Koch  <konqueror@gmx.de>
2238
2239         * java/awt/Font.java
2240         javax/swing/UIManager.java
2241         javax/swing/border/AbstractBorder.java
2242         javax/swing/border/BevelBorder.java
2243         javax/swing/border/Border.java
2244         javax/swing/border/CompoundBorder.java
2245         javax/swing/border/EmptyBorder.java
2246         javax/swing/border/EtchedBorder.java
2247         javax/swing/border/LineBorder.java
2248         javax/swing/border/MatteBorder.java
2249         javax/swing/border/TitledBorder.java
2250         javax/swing/plaf/BorderUIResource.java
2251         javax/swing/plaf/basic/BasicBorders.java
2252         javax/swing/plaf/basic/BasicButtonUI.java
2253         javax/swing/plaf/basic/BasicCheckBoxUI.java
2254         javax/swing/plaf/basic/BasicGraphicsUtils.java
2255         javax/swing/plaf/basic/BasicLabelUI.java
2256         javax/swing/plaf/basic/BasicRadioButtonUI.java
2257         javax/swing/plaf/basic/BasicToggleButtonUI.java:
2258         New versions from classpath.
2259         * javax/swing/border/SoftBevelBorder.java:
2260         New file from classpath.
2261         * javax/swing/border/doc-files/LineBorder-1.png,
2262         javax/swing/border/doc-files/BevelBorder-1.png,
2263         javax/swing/border/doc-files/BevelBorder-2.png,
2264         javax/swing/border/doc-files/BevelBorder-3.png,
2265         javax/swing/border/doc-files/EmptyBorder-1.png,
2266         javax/swing/border/doc-files/EtchedBorder-1.png,
2267         javax/swing/border/doc-files/EtchedBorder-2.png,
2268         javax/swing/border/doc-files/MatteBorder-1.png,
2269         javax/swing/border/doc-files/MatteBorder-2.png,
2270         javax/swing/border/doc-files/MatteBorder-3.png,
2271         javax/swing/border/doc-files/MatteBorder-4.png,
2272         javax/swing/border/doc-files/MatteBorder-5.png,
2273         javax/swing/border/doc-files/MatteBorder-6.png,
2274         javax/swing/border/doc-files/SoftBevelBorder-1.png,
2275         javax/swing/border/doc-files/SoftBevelBorder-2.png,
2276         javax/swing/border/doc-files/SoftBevelBorder-3.png,
2277         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2278         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2279         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2280         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2281         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2282         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2283         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2284         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2285         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
2286         New binary files from classpath.
2287         * Makefile.am
2288         (awt_java_source_files): Added
2289         javax/swing/border/SoftBevelBorder.java.
2290         * Makefile.in: Regenerated.
2291
2292 2003-06-19  Michael Koch  <konqueror@gmx.de>
2293
2294         * gnu/java/security/x509/X509Certificate.java
2295         (writeReplace): Merged from classpath.
2296
2297 2003-06-19  Michael Koch  <konqueror@gmx.de>
2298
2299         * gnu/java/nio/FileChannelImpl.java
2300         (map_address): Made public.
2301         (FileChannelImpl): Merged with classpath.
2302         * gnu/java/nio/natFileChannelImpl.cc
2303         (nio_mmap_file): Commented out unused arguments.
2304         (nio_unmmap_file): Likewise.
2305         (niu_msync): Likewise.
2306
2307 2003-06-19  Michael Koch  <konqueror@gmx.de>
2308
2309         * java/awt/image/IndexColorModel.java:
2310         New version from classpath.
2311
2312 2003-06-18  Tom Tromey  <tromey@redhat.com>
2313
2314         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
2315         on arrays.
2316         (isLoopbackAddress): Likewise.
2317         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
2318         on arrays.
2319
2320 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
2321
2322         * java/lang/natVMSecurityManager.cc (getClassContext):
2323         Use maxlen instead of len for loop bound.
2324
2325 2003-06-18  Michael Koch  <konqueror@gmx.de>
2326
2327         * gnu/java/nio/SelectorImpl.java
2328         (register): Use fd with value 0 for now, will be fixed later.
2329         * gnu/java/nio/ServerSocketChannelImpl.java
2330         (fd): Removed.
2331         (local_port): Removed.
2332         (InetSocketAddress): Removed.
2333         (ServerSocketChannelImpl): Just initialize internal socket object.
2334         (implCloseSelectableChannel): Close internal socket object.
2335         (implConfigureBlocking): Added comment.
2336         (accept): Use jaba.net stuff to accept socket.
2337         * gnu/java/nio/SocketChannelImpl.java
2338         (fd): Removed.
2339         (local_port): Removed.
2340         (InetSocketAddress): Removed.
2341         (SocketCreate): Removed.
2342         (SocketConnect): Removed.
2343         (SocketBind): Removed.
2344         (SocketListen): Removed.
2345         (SocketAvailable): Removed.
2346         (SocketClose): Removed.
2347         (SocketRead): Removed.
2348         (SocketWrite): Removed.
2349         (SocketChannelImpl): Just initialize internal socket object.
2350         (implCloseSelectableChannel): Close internal socket object.
2351         (implConfigureBlocking): Fixed implementation, added comment.
2352         (connect): Use internal socket object to connect.
2353         (socket): No need for sanity checks.
2354         (read): Comment out some stuff, this will be reimplemented in the next
2355         commit.
2356         (write): Likewise.
2357         * gnu/java/nio/natFileChannelImpl.cc
2358         (nio_mmap_file): Line wrapped.
2359         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2360         * Makefile.am
2361         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2362         * Makefile.in: Regenerated.
2363
2364 2003-06-18  Michael Koch  <konqueror@gmx.de>
2365
2366         * java/util/Locale.java
2367         (equals): Merged from classpath.
2368
2369 2003-06-18  Michael Koch  <konqueror@gmx.de>
2370
2371         * java/net/InetAddress.java:
2372         Reformatted to better match classpath's version.
2373         * java/net/URL.java
2374         (equals): Simplified.
2375         * java/net/URLConnection.java
2376         (setDoInput): Revised documentation.
2377         (getDefaultUseCaches): Likewise.
2378         (setRequestProperty): Added @since tag.
2379
2380 2003-06-17  Michael Koch  <konqueror@gmx.de>
2381
2382         * java/net/InetSocketAddress.java
2383         (InetSocketAddress): Use wildcard address if addr is null.
2384         (InetSocketAddress): Dont duplicate implementation.
2385         (InetSocketAddress): Throw exception when hostname is null.
2386         * java/net/Socket.java:
2387         Reworked imports.
2388         (Socket): Throw exception when raddr is null, handle case when laddr
2389         is null.
2390
2391 2003-06-17  Michael Koch  <konqueror@gmx.de>
2392
2393         * java/nio/DirectByteBufferImpl.java
2394         (address): Made package private.
2395         (DirectByteBufferImpl): New constructor.
2396         * java/nio/natDirectByteBufferImpl.cc
2397         (allocateImpl): Moved to java.nio namespace, implemented.
2398         (freeImpl): Likewise.
2399         (getImpl): Likewise.
2400         (putImpl): Likewise.
2401         * jni.cc
2402         (_Jv_JNI_NewDirectByteBuffer): Implemented.
2403         (_Jv_JNI_GetDirectBufferAddress): Implemented.
2404         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2405
2406 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2407
2408         * include/powerpc-signal.h: New File.
2409         * configure.in: Use it.
2410         * configure: Regenerated.
2411
2412 2003-06-17  Michael Koch  <konqueror@gmx.de>
2413
2414         * java/util/Locale.java
2415         (getDisplayLanguage): Made it final.
2416         (getDisplayCountry): Likewise.
2417         (getDisplayVariant): Likewise.
2418         (getDisplayName): Likewise.
2419
2420 2003-06-17  Michael Koch  <konqueror@gmx.de>
2421
2422         * java/util/PropertyResourceBundle.java:
2423         Removed unneeded import.
2424
2425 2003-06-17  Michael Koch  <konqueror@gmx.de>
2426
2427         * java/util/prefs/AbstractPreferences.java,
2428         java/util/prefs/PreferencesFactory.java:
2429         Reworked imports, removed unused imports.
2430         * java/util/prefs/Preferences.java
2431         (systemNodeForPackage): Method takes a Class not an Object.
2432         (userNodeForPackage): Likewise.
2433         (nodeForPackage): Likewise.
2434
2435 2003-06-17  Michael Koch  <konqueror@gmx.de>
2436
2437         * gnu/java/security/x509/X509Certificate.java:
2438         Explicitely import used classes.
2439
2440 2003-06-17  Michael Koch  <konqueror@gmx.de>
2441
2442         * java/util/zip/ZipEntry.java,
2443         java/util/zip/ZipFile.java,
2444         java/util/zip/ZipInputStream.java,
2445         java/util/zip/ZipOutputStream.java:
2446         Reworked imports, only import used classes.
2447
2448 2003-06-17  Michael Koch  <konqueror@gmx.de>
2449
2450         * gnu/java/lang/ArrayHelper.java,
2451         gnu/java/lang/ClassHelper.java:
2452         Reformatted to match classpath's versions.
2453
2454 2003-06-14  Michael Koch  <konqueror@gmx.de>
2455
2456         * gnu/java/nio/FileChannelImpl.java
2457         (map_address): Removed incorrect comment.        
2458         * gnu/java/nio/SelectorImpl.java
2459         (register): Remove code duplication and code for file channel handling.        
2460         * gnu/java/nio/ServerSocketChannelImpl.java
2461         (serverSocket): Renamed from sock_object.
2462         (ServerSocketChannel): Initialize serverSocket.
2463         (socket): Return serverSocket.
2464         * gnu/java/nio/SocketChannelImpl.java
2465         (socket): Renamed from sock_object.
2466         (isConnectionPenging): Simplified.
2467         (socket): Return socket.
2468 2003-06-14  Michael Koch  <konqueror@gmx.de>
2469
2470         * java/security/BasicPermission.java:
2471         New version from classpath.
2472
2473 2003-06-14  Michael Koch  <konqueror@gmx.de>
2474
2475         * javax/naming/directory/Attribute.java:
2476         New version from classpath.
2477
2478 2003-06-14  Michael Koch  <konqueror@gmx.de>
2479
2480         * java/io/BufferedReader.java,
2481         java/io/FileOutputStream.java:
2482         New versions from classpath.
2483
2484 2003-06-12  Andrew Haley  <aph@redhat.com>
2485
2486         * prims.cc (catch_segv): Create exception in handler.
2487         (catch_fpe): Likewise.  
2488         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2489         (_Jv_ThrowSignal): Remove.
2490
2491         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2492         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2493         to nullp and arithexception.
2494         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2495         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2496         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2497         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2498         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2499
2500 2003-06-11  Andrew Haley  <aph@redhat.com>
2501
2502         * jni.cc (_Jv_JNI_check_types): New.
2503         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2504         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2505         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2506         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2507         
2508         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2509         infinite loop.
2510
2511 2003-06-11  Tom Tromey  <tromey@redhat.com>
2512
2513         * java/lang/ClassLoader.java (loadClass): Not deprecated.
2514         * java/io/PrintStream.java: Not deprecated.
2515
2516 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
2517
2518         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2519         (fillOval): implemented
2520         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2521         (fillArc): implemented.
2522         * gnu/gcj/xlib/GC.java (drawArc): added native method.
2523         (fillArc): added native method.
2524         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2525         (fillArc): added native method.
2526
2527 2003-06-11  Michael Koch  <konqueror@gmx.de>
2528
2529         * java/awt/im/InputSubset.java:
2530         New version from classpath.
2531
2532 2003-06-11  Michael Koch  <konqueror@gmx.de>
2533
2534         * javax/swing/AbstractAction.java,
2535         javax/swing/AbstractButton.java,
2536         javax/swing/AbstractCellEditor.java,
2537         javax/swing/AbstractListModel.java,
2538         javax/swing/BorderFactory.java,
2539         javax/swing/Box.java,
2540         javax/swing/BoxLayout.java,
2541         javax/swing/ButtonGroup.java,
2542         javax/swing/DefaultButtonModel.java,
2543         javax/swing/DefaultListModel.java,
2544         javax/swing/DefaultListSelectionModel.java,
2545         javax/swing/FocusManager.java,
2546         javax/swing/ImageIcon.java,
2547         javax/swing/InputMap.java,
2548         javax/swing/JApplet.java,
2549         javax/swing/JButton.java,
2550         javax/swing/JCheckBox.java,
2551         javax/swing/JCheckBoxMenuItem.java,
2552         javax/swing/JColorChooser.java,
2553         javax/swing/JComboBox.java,
2554         javax/swing/JComponent.java,
2555         javax/swing/JDesktopPane.java,
2556         javax/swing/JDialog.java,
2557         javax/swing/JEditorPane.java,
2558         javax/swing/JFileChooser.java,
2559         javax/swing/JFormattedTextField.java,
2560         javax/swing/JFrame.java,
2561         javax/swing/JLabel.java,
2562         javax/swing/JLayeredPane.java,
2563         javax/swing/JList.java,
2564         javax/swing/JMenuBar.java,
2565         javax/swing/JMenuItem.java,
2566         javax/swing/JOptionPane.java,
2567         javax/swing/JPanel.java,
2568         javax/swing/JPasswordField.java,
2569         javax/swing/JPopupMenu.java,
2570         javax/swing/JProgressBar.java,
2571         javax/swing/JRadioButton.java,
2572         javax/swing/JRadioButtonMenuItem.java,
2573         javax/swing/JRootPane.java,
2574         javax/swing/JScrollBar.java,
2575         javax/swing/JScrollPane.java,
2576         javax/swing/JSeparator.java,
2577         javax/swing/JSlider.java,
2578         javax/swing/JTabbedPane.java,
2579         javax/swing/JTable.java,
2580         javax/swing/JTextField.java,
2581         javax/swing/JToggleButton.java,
2582         javax/swing/JToolBar.java,
2583         javax/swing/JToolTip.java,
2584         javax/swing/JTree.java,
2585         javax/swing/JViewport.java,
2586         javax/swing/JWindow.java,
2587         javax/swing/KeyStroke.java,
2588         javax/swing/ListSelectionModel.java,
2589         javax/swing/LookAndFeel.java,
2590         javax/swing/RepaintManager.java,
2591         javax/swing/ScrollPaneLayout.java,
2592         javax/swing/SizeRequirements.java,
2593         javax/swing/SwingConstants.java,
2594         javax/swing/Timer.java,
2595         javax/swing/UIDefaults.java,
2596         javax/swing/UIManager.java,
2597         javax/swing/border/AbstractBorder.java,
2598         javax/swing/border/CompoundBorder.java,
2599         javax/swing/colorchooser/AbstractColorChooserPanel.java,
2600         javax/swing/colorchooser/ColorChooserComponentFactory.java,
2601         javax/swing/colorchooser/ColorSelectionModel.java,
2602         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2603         javax/swing/event/AncestorEvent.java,
2604         javax/swing/event/HyperlinkEvent.java,
2605         javax/swing/event/InternalFrameAdapter.java,
2606         javax/swing/event/InternalFrameEvent.java,
2607         javax/swing/event/ListDataEvent.java,
2608         javax/swing/event/MouseInputAdapter.java,
2609         javax/swing/event/SwingPropertyChangeSupport.java,
2610         javax/swing/event/TableModelEvent.java,
2611         javax/swing/event/TreeWillExpandListener.java,
2612         javax/swing/event/UndoableEditEvent.java,
2613         javax/swing/filechooser/FileFilter.java,
2614         javax/swing/filechooser/FileSystemView.java,
2615         javax/swing/filechooser/FileView.java,
2616         javax/swing/plaf/BorderUIResource.java,
2617         javax/swing/plaf/basic/BasicDefaults.java,
2618         javax/swing/table/AbstractTableModel.java,
2619         javax/swing/table/DefaultTableCellRenderer.java,
2620         javax/swing/table/DefaultTableColumnModel.java,
2621         javax/swing/table/DefaultTableModel.java,
2622         javax/swing/table/TableColumn.java,
2623         javax/swing/text/JTextComponent.java,
2624         javax/swing/tree/AbstractLayoutCache.java,
2625         javax/swing/tree/DefaultMutableTreeNode.java,
2626         javax/swing/tree/DefaultTreeCellEditor.java,
2627         javax/swing/tree/DefaultTreeCellRenderer.java,
2628         javax/swing/tree/DefaultTreeModel.java,
2629         javax/swing/tree/DefaultTreeSelectionModel.java,
2630         javax/swing/tree/FixedHeightLayoutCache.java,
2631         javax/swing/tree/TreeCellEditor.java,
2632         javax/swing/tree/TreeModel.java,
2633         javax/swing/tree/TreeNode.java,
2634         javax/swing/tree/TreePath.java,
2635         javax/swing/tree/TreeSelectionModel.java,
2636         javax/swing/tree/VariableHeightLayoutCache.java,
2637         javax/swing/undo/AbstractUndoableEdit.java,
2638         javax/swing/undo/CompoundEdit.java,
2639         javax/swing/undo/StateEdit.java,
2640         javax/swing/undo/UndoManager.java,
2641         javax/swing/undo/UndoableEditSupport.java:
2642         New versions from classpath.
2643         * javax/swing/table/JTableHeader.java:
2644         New file from classpath.
2645         * Makefile.am
2646         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2647         * Makefile.in: Regenerated.
2648
2649 2003-06-11  Michael Koch  <konqueror@gmx.de>
2650
2651         * java/nio/MappedByteBuffer.java,
2652         java/nio/channels/Channels.java,
2653         java/nio/channels/ServerSocketChannel.java,
2654         java/nio/channels/spi/AbstractSelector.java:
2655         Removed unneeded imports.
2656
2657 2003-06-11  Michael Koch  <konqueror@gmx.de>
2658
2659         * java/net/DatagramSocket.java:
2660         Partly merged with classpath.
2661
2662 2003-06-11  Michael Koch  <konqueror@gmx.de>
2663
2664         * java/awt/Frame.java,
2665         java/awt/Graphics.java,
2666         java/awt/Menu.java,
2667         java/awt/Robot.java,
2668         java/awt/image/ColorModel.java:
2669         New versions from classpath.
2670
2671 2003-06-10  Michael Koch  <konqueror@gmx.de>
2672
2673         * java/io/PrintStream.java:
2674         Merged version from classpath.
2675         (close): Removed sychronized keyword. This class is not garantied to
2676         be thread-safe.
2677         (write): Likewise.
2678
2679 2003-06-09  Tom Tromey  <tromey@redhat.com>
2680
2681         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2682         field.
2683         (getDescent): Likewise, for "descent".
2684
2685 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
2686
2687         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2688         (getMaxDescent): adjusted return value.
2689         (getAscent): modified to use metrics for 'O'.
2690         (getDescent): modified to use metrics for 'y'.
2691
2692 2003-06-08  Anthony Green  <green@redhat.com>
2693
2694         * java/net/URLStreamHandler.java (sameFile): Fix port value
2695         comparison.
2696         * java/net/URL.java (handler): Make package private.
2697         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2698
2699 2003-06-07  Tom Tromey  <tromey@redhat.com>
2700
2701         For PR libgcj/11085:
2702         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2703         Limit number of characters in numeric field when required.
2704         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2705         Respect maximumIntegerDigits.
2706
2707 2003-06-08  Michael Koch  <konqueror@gmx.de>
2708
2709         * java/net/Socket.java
2710         (Socket): Dont initialize inputShutdown and outputShutdown twice,
2711         call bind() and connect() to actually do the bind and connect tasks.
2712         (bind): Connect to canonical address if bindpoint is null, create
2713         socket and bind it to bindpoint.
2714         (connect): Check for exceptions.
2715
2716 2003-06-08  Michael Koch  <konqueror@gmx.de>
2717
2718         * java/net/DatagramSocket.java
2719         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2720         into the Multicast constructors.
2721         * java/net/DatagramSocketImpl.java
2722         (getOption): Removed.
2723         (setOption): Removed.
2724         * java/net/MulticastSocket.java
2725         (MulticastSocket): Call setReuseAddress (true).
2726         * java/net/SocketImpl.java
2727         (getOption): Removed.
2728         (setOption): Removed.
2729
2730 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
2731
2732         PR libgcj/10886:
2733         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2734         Test for empty vector.
2735
2736 2003-06-06  Mark Wielaard  <mark@klomp.org>
2737
2738         * java/security/Security.java (secprops): Initialize.
2739         (loadProviders): Return boolean.
2740         (static): Check result of loadProvider calls. If necessary
2741         display WARNING and fallback to Gnu provider.
2742
2743 2002-06-06  James Clark  <jjc@jclark.com>
2744
2745         Fix for PR libgcj/8738:
2746         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2747         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2748         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2749         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2750         (write): Always decrease avail when count is increased.
2751         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2752         and whether output buffer is full before increasing size.
2753
2754 2002-06-06  Mark Wielaard  <mark@klomp dot org>
2755
2756         * java/io/PrintStream.java (writeChars(char[],int, int)):
2757         Check converter.havePendingBytes().
2758         (writeChars(String,int,int)): Likewise.
2759         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2760         Check converter.havePendingBytes() and flush buffer when stalled.
2761
2762 2003-06-07  Michael Koch  <konqueror@gmx.de>
2763
2764         * include/posix.h
2765         (O_DSYNC): Define O_DSYNC on platforms not
2766         supporting O_FSYNC (newlib).
2767
2768 2003-06-06  Mark Wielaard  <mark@klomp.org>
2769
2770         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2771         AWTError.
2772
2773 2003-06-06  Michael Koch  <konqueror@gmx.de>
2774
2775         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2776         More compile fixes from my stupid work yesterday.
2777
2778 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2779
2780         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2781         if _IEEE_LIBM is undefined.
2782
2783 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
2784
2785         * libjava/include/posix.h (O_SYNC): Define if not available
2786         and a reasonable, perhaps more conservative, replacement exists.
2787         (O_DSYNC): Likewise.
2788         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2789
2790 2003-06-05  Michael Koch  <konqueror@gmx.de>
2791
2792         * javax/swing/plaf/BorderUIResource.java,
2793         javax/swing/plaf/basic/BasicDefaults.java,
2794         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2795         More compile fixes for latest Border commit. I should not commit
2796         something in this heat here ...
2797
2798 2003-06-05  Michael Koch  <konqueror@gmx.de>
2799
2800         * javax/swing/border/BevelBorder.java
2801         (BevelBorder): Removed.
2802         * javax/swing/border/EmptyBorder.java:
2803         Reformatted.
2804         (EmptyBorder): Removed.
2805         (getBorderInsets): Dont use l, r, t and b.
2806         * javax/swing/border/EtchedBorder.java
2807         (EtchedBorder): Removed.
2808         * javax/swing/border/LineBorder.java
2809         (LineBorder): Removed.
2810         * javax/swing/border/MatteBorder.java
2811         (MatteBorder): Removed.
2812         * javax/swing/border/TitledBorder.java
2813         (defaultBorder): Use other default for now.
2814         (defaultFont): Likewise.
2815         (defaultColor): Likewise.
2816
2817 2003-06-05  Michael Koch  <konqueror@gmx.de>
2818
2819         * javax/swing/border/Border.java:
2820         New version from classpath.
2821
2822 2003-06-05  Michael Koch  <konqueror@gmx.de>
2823
2824         * javax/swing/border/AbstractBorder.java,
2825         javax/swing/border/BevelBorder.java,
2826         javax/swing/border/CompoundBorder.java,
2827         javax/swing/border/EmptyBorder.java,
2828         javax/swing/border/EtchedBorder.java,
2829         javax/swing/border/LineBorder.java,
2830         javax/swing/border/MatteBorder.java,
2831         javax/swing/border/TitledBorder.java:
2832         New versions from Classpath.
2833
2834 2003-06-05  Michael Koch  <konqueror@gmx.de>
2835
2836         * java/awt/Button.java,
2837         java/awt/Checkbox.java,
2838         java/awt/CheckboxMenuItem.java,
2839         java/awt/Choice.java,
2840         java/awt/Container.java,
2841         java/awt/Dialog.java,
2842         java/awt/EventQueue.java,
2843         java/awt/FileDialog.java,
2844         java/awt/Frame.java,
2845         java/awt/Label.java,
2846         java/awt/List.java,
2847         java/awt/Menu.java,
2848         java/awt/MenuItem.java,
2849         java/awt/Panel.java,
2850         java/awt/PopupMenu.java,
2851         java/awt/Rectangle.java,
2852         java/awt/ScrollPane.java,
2853         java/awt/Scrollbar.java,
2854         java/awt/TextArea.java,
2855         java/awt/TextField.java,
2856         java/awt/Window.java,
2857         java/awt/datatransfer/DataFlavor.java,
2858         java/awt/dnd/DragSource.java,
2859         java/awt/dnd/DragSourceContext.java,
2860         java/awt/event/HierarchyEvent.java,
2861         java/awt/event/MouseWheelEvent.java,
2862         java/awt/im/InputContext.java,
2863         java/awt/image/BufferedImage.java,
2864         java/awt/image/ComponentColorModel.java,
2865         java/awt/image/Raster.java,
2866         java/awt/image/WritableRaster.java,
2867         java/awt/peer/ComponentPeer.java,
2868         java/awt/print/PageFormat.java,
2869         java/awt/print/PrinterJob.java:
2870         New versions from Classpath.
2871
2872 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
2873
2874         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2875         numberFormat.setParseIntegerOnly(true).
2876
2877 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
2878
2879         * include/posix-threads.h: Include <machine/pal.h> on OSF.
2880
2881 2003-06-03  Andrew Haley  <aph@redhat.com>
2882
2883         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2884         stack volatile to prevent optimization from removing it.
2885
2886 2003-05-27  Michael Koch  <konqueror@gmx.de>
2887
2888         * java/util/zip/Deflater.java
2889         (FILTERED): Merged documentation from classpath.
2890         * java/util/zip/DeflaterOutputStream.java
2891         (DeflaterOutputStream): Merged documentation and argument validity
2892         check from classpath.
2893         (deflate): Merged documentation from classpath.
2894         (finish): Likewise.
2895         * java/util/zip/Inflater.java
2896         (Inflater): Merged class documentation from classpath.
2897         (zstream): Reordered.
2898         (is_finished): Reordered.
2899         (dict_needed): Reordered.
2900         (Inflater): Reordered, merged documentation from classpath.
2901         (end): Likewise.
2902         (finalize): Merged documentation from classpath.
2903         (finished): Likewise.
2904         (getAdler): Likewise.
2905         (getRemaining): Likewise.
2906         (getTotalIn): Likewise.
2907         (getTotalOut): Likewise.
2908         (inflate): Likewise.
2909         (needsDictionary): Likewise.
2910         (needsInput): Likewise.
2911         (reset): Likewise.
2912         (setDictionary): Likewise.
2913         (setInput): Likewise.
2914
2915 2003-05-27  Michael Koch  <konqueror@gmx.de>
2916
2917         * java/net/URLConnection.java
2918         (getHeaderFieldInt): Merged with classpath.
2919
2920 2003-05-27  Michael Koch  <konqueror@gmx.de>
2921
2922         * java/io/PrintStream.java
2923         (PrintStream): Reformatted.
2924         (PrintStream): New method, merged from classpath.
2925         (write): Reformatted.
2926
2927 2003-05-27  Michael Koch  <konqueror@gmx.de>
2928
2929         * java/lang/System.java:
2930         Explicitely import needed classes.
2931
2932 2003-05-26  Michael Koch  <konqueror@gmx.de>
2933
2934         * java/net/NetPermission.java,
2935         java/net/NetworkInterface.java,
2936         java/net/PasswordAuthentication.java,
2937         java/net/SocketPermission.java:
2938         New versions from classpath.
2939
2940 2003-05-25  Michael Koch  <konqueror@gmx.de>
2941
2942         * java/io/PushbackInputStream.java,
2943         java/net/Authenticator.java,
2944         java/net/ContentHandler.java,
2945         java/net/ContentHandlerFactory.java,
2946         java/net/DatagramSocket.java,
2947         java/net/DatagramSocketImpl.java,
2948         java/net/DatagramSocketImplFactory.java,
2949         java/net/FileNameMap.java,
2950         java/net/SocketImplFactory.java,
2951         java/net/SocketOptions.java,
2952         java/net/URLStreamHandlerFactory.java:
2953         Merged new versions from classpath.
2954
2955 2003-05-25  Michael Koch  <konqueror@gmx.de>
2956
2957         * java/awt/Checkbox.java,
2958         java/awt/Dialog.java,
2959         java/awt/Font.java,
2960         java/awt/Frame.java,
2961         java/awt/ScrollPaneAdjustable.java,
2962         java/awt/Scrollbar.java,
2963         java/awt/Window.java:
2964         New versions from classpath.
2965
2966 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
2967
2968         PR libgcj/10838:
2969         * java/io/ObjectInputStream (enableResolveObject):
2970         Fixed spelling of permission name.
2971
2972 2003-05-20  Michael Koch  <konqueror@gmx.de>
2973
2974         * java/io/DataInputStream.java
2975         (convertFromUTF): Merged comment from classpath.
2976         * java/io/PrintStream.java
2977         (error_occured): Renamed from error, merged comment from classpath.
2978         (PrintStream): No need to initialized error.
2979         (checkError): Replace error with error_occurred.
2980         (setError): Likewise.
2981
2982 2003-05-20  Michael Koch  <konqueror@gmx.de>
2983
2984         * java/io/DataInputStream.java:
2985         Reformatted, Replaced < and & with html entitites in documentation.
2986         * java/io/File.java:
2987         Reformatted.
2988         * java/io/PrintWriter.java:
2989         Moved class documentation.
2990
2991 2003-05-20  Michael Koch  <konqueror@gmx.de>
2992
2993         * gnu/java/nio/ByteBufferImpl.java,
2994         gnu/java/nio/CharBufferImpl.java,
2995         gnu/java/nio/CharViewBufferImpl.java,
2996         gnu/java/nio/DirectByteBufferImpl.java,
2997         gnu/java/nio/DoubleBufferImpl.java,
2998         gnu/java/nio/DoubleViewBufferImpl.java,
2999         gnu/java/nio/FloatBufferImpl.java,
3000         gnu/java/nio/FloatViewBufferImpl.java,
3001         gnu/java/nio/IntBufferImpl.java,
3002         gnu/java/nio/IntViewBufferImpl.java,
3003         gnu/java/nio/LongBufferImpl.java,
3004         gnu/java/nio/LongViewBufferImpl.java,
3005         gnu/java/nio/natDirectByteBufferImpl.cc,
3006         gnu/java/nio/ShortBufferImpl.java,
3007         gnu/java/nio/ShortViewBufferImpl.java:
3008         Moved files to java/nio.
3009         * gnu/java/nio/SocketChannelImpl.java
3010         
3011         * java/nio/ByteBuffer.java,
3012         java/nio/CharBuffer.java,
3013         java/nio/DoubleBuffer.java,
3014         java/nio/FloatBuffer.java,
3015         java/nio/IntBuffer.java,
3016         java/nio/LongBuffer.java,
3017         java/nio/ShortBuffer.java:
3018         Dont import anything.
3019         * java/nio/ByteBufferImpl.java,
3020         java/nio/CharBufferImpl.java,
3021         java/nio/CharViewBufferImpl.java,
3022         java/nio/DirectByteBufferImpl.java,
3023         java/nio/DoubleBufferImpl.java,
3024         java/nio/DoubleViewBufferImpl.java,
3025         java/nio/FloatBufferImpl.java,
3026         java/nio/FloatViewBufferImpl.java,
3027         java/nio/IntBufferImpl.java,
3028         java/nio/IntViewBufferImpl.java,
3029         java/nio/LongBufferImpl.java,
3030         java/nio/LongViewBufferImpl.java,
3031         java/nio/natDirectByteBufferImpl.cc,
3032         java/nio/ShortBufferImpl.java,
3033         java/nio/ShortViewBufferImpl.java:
3034         Moved from gnu/java/nio.
3035         * Makefile.am
3036         (ordinary_java_source_files): Moved files from gnu/java/nio to
3037         java/nio.
3038         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3039         to java/nio.
3040         * Makefile.in: Regenerated.
3041
3042 2003-05-19  Michael Koch  <konqueror@gmx.de>
3043
3044         * java/util/Calendar.java
3045         (get): Not final anymore since JDK 1.4
3046         (set): Likewise.
3047
3048 2003-05-19  Michael Koch  <konqueror@gmx.de>
3049
3050         * java/text/CollationKey.java:
3051         Merged copyright and dat from classpath.
3052         * java/text/RuleBasedCollator.java:
3053         Merged class documentation from classpath.
3054
3055 2003-05-19  Michael Koch  <konqueror@gmx.de>
3056
3057         * java/nio/CharBuffer.java
3058         (toString): Compile fix.
3059
3060 2003-05-19  Michael Koch  <konqueror@gmx.de>
3061
3062         * gnu/java/nio/ByteBufferImpl.java
3063         (putLong): Fixed conversion to bytes.
3064         (putDouble): Fixed conversion to bytes.
3065         * gnu/java/nio/DirectByteBufferImpl.java
3066         (putLong): Fixed conversion to bytes.
3067         (putDouble): Fixed conversion to bytes.
3068         * gnu/java/nio/FileLockImpl.java
3069         (isValid): Reformatted.
3070         * java/nio/Buffer.java
3071         (Buffer): Fixed off-by-one bug in handling mark.
3072         * java/nio/ByteBuffer.java:
3073         Added newline.
3074         * java/nio/CharBuffer.java
3075         (toString): Don't use relative get to get string data.
3076
3077 2003-05-16  Michael Koch  <konqueror@gmx.de>
3078
3079         * java/io/natFileDescriptorPosix.cc
3080         (open): Commented out the O_SYNC and O_DSYNC usage until its better
3081         tested.
3082
3083 2003-05-14  Michael Koch  <konqueror@gmx.de>
3084
3085         * gnu/java/nio/FileLockImpl.java
3086         (released): New member variable.
3087         (FileLockImpl): Initialize released.
3088         (releaseImpl): New native method.
3089         (release): Implemented.
3090         * gnu/java/nio/SelectorImpl.java: Reformatted.
3091         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3092         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3093         (accept): Throws IOException.
3094         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3095         (implConfigureBlocking): Throws IOException.
3096         (connect): Likewise.
3097         (read): Likewise.
3098         (write): Likewise.
3099         * gnu/java/nio/natFileLockImpl.cc: New file.
3100         * java/nio/channels/FileLock.java: Reformatted.
3101         * Makefile.am:
3102         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3103         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3104         * Makefile.in: Regenerated.
3105
3106 2003-05-13  Michael Koch  <konqueror@gmx.de>
3107
3108         * gnu/java/nio/CharViewBufferImpl.java
3109         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3110         (get): Shift bits to the right direction.
3111         (put): Likewise.
3112         * gnu/java/nio/DoubleViewBufferImpl.java
3113         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3114         (get): Shift bits to the right direction.
3115         (put): Likewise.
3116         * gnu/java/nio/FloatViewBufferImpl.java
3117         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3118         (get): Shift bits to the right direction.
3119         (put): Likewise.
3120         * gnu/java/nio/IntViewBufferImpl.java
3121         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3122         (get): Shift bits to the right direction.
3123         (put): Likewise.
3124         * gnu/java/nio/LongViewBufferImpl.java
3125         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3126         (get): Shift bits to the right direction.
3127         (put): Likewise.
3128         * gnu/java/nio/ShortViewBufferImpl.java
3129         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3130         (get): Shift bits to the right direction.
3131         (put): Likewise.
3132
3133 2003-05-13  Michael Koch  <konqueror@gmx.de>
3134
3135         * gnu/java/nio/natDirectByteBufferImpl.cc
3136         (allocateImpl): jlong -> RawData*.
3137         (freeImpl): Likewise.
3138
3139 2003-05-13  Michael Koch  <konqueror@gmx.de>
3140
3141         * java/nio/channels/FileChannel.java
3142         (MapMode.m): Made it package-private to match JDK 1.4.
3143         * java/nio/charset/Charset.java
3144         (decode): Made it final to match JDK 1.4.
3145
3146 2003-05-13  Michael Koch  <konqueror@gmx.de>
3147
3148        * java/io/FileDescriptor.java
3149        (SYNC): New constant.
3150        (DSYNC): Likewise.
3151        (getLength): Renamed from lenght() to match classpath's
3152        FileDescriptor.java.
3153        * java/io/RandomAccessFile.java
3154        (RandomAccessFile): Removed unneeded mode check, implemented mode
3155        "rws" and "rwd", merged documentation from classpath.
3156        (setLength): Reformatted.
3157        (length): Use new getLength() of FileDescriptor.
3158        * java/io/natFileDescriptorEcos.cc
3159        (getLength): Renamed from length().
3160        * java/io/natFileDescriptorPosix.cc
3161        (open): Implemented support for SYNC and DSYNC.
3162        (seek): Use getLength() instead of length().
3163        (getLength): Renamed from length().
3164        * java/io/natFileDescriptorWin32.cc
3165        (getLength): Renamed from length().
3166        (seek): Use getLength() instead of length().
3167        (available): Likewise.
3168        * gnu/java/nio/natFileChannelImpl.cc
3169        (size): Use getLength() instead of length().
3170
3171 2003-05-13  Michael Koch  <konqueror@gmx.de>
3172
3173         * gnu/java/nio/ByteBufferImpl.java
3174         (ByteBufferImpl): All constructors revised.
3175         (slice): Reimplemented.
3176         (duplicate): Reimplemented.
3177         (asReadOnlyBuffer): Reimplemented.
3178         * java/nio/ByteBuffer.java:
3179         Reformatted.
3180         (array_offset): Renamed from "offset" to match all other buffer
3181         classes.
3182         (ByteBuffer): All constructors revised.
3183         (allocateDirect): Implemented.
3184         (allocate): New implementation, documentation reworked.
3185         (wrap): Likewise.
3186         (get): Documentation reworked.
3187         (put): New implementation, documentation reworked.
3188         (hasArray): Documentation reworked.
3189         (arrayOffset): Likewise.
3190         (hashCode): Likewise.
3191         (equals): Likewise.
3192         (compareTo): Likewise.
3193         (order): Likewise.
3194         (compact): Likewise.
3195         (isDirect): Likewise.
3196         (slice): Likewise.
3197         (duplicate): Likewise.
3198         (asReadOnlyBuffer): Likewise.
3199         * Makefile.am
3200         (ordinary_java_source_files):
3201         Added gnu/java/nio/DirectByteBufferImpl.java.
3202         (nat_source_files):
3203         Added gnu/java/nio/natDirectByteBufferImpl.cc.
3204         * Makefile.in: Regenerated.
3205
3206 2003-05-12  Michael Koch  <konqueror@gmx.de>
3207
3208         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
3209         (nio_get_*): Removed.
3210         (nio_put_*): Removed.
3211         (as*Buffer): Implemented.
3212         (compact): Implemented.
3213         (get): Documentation added.
3214         (put): Documentation added.
3215         (get*): Newly implemented.
3216         (put*): Newly implemented.
3217         * gnu/java/nio/CharBufferImpl.java: Reformatted.
3218         (CharBufferImpl): Revised.
3219         (slice): New implementation.
3220         (duplicate): New implementation.
3221         (compact): New implementation.
3222         (asReadOnlyBuffer): New implementation.
3223         (get): Documentation revised.
3224         (order): Return native byte order.
3225         * gnu/java/nio/DirectByteBufferImpl.java
3226         (allocateDirect): objects can be null not 0.
3227         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
3228         (DoubleBufferImpl): Revised.
3229         (slice): New implementation.
3230         (duplicate): New implementation.
3231         (compact): New implementation.
3232         (asReadOnlyBuffer): New implementation.
3233         (get): Documentation revised.
3234         (order): Return native byte order.
3235         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
3236         (FloatBufferImpl): Revised.
3237         (slice): New implementation.
3238         (duplicate): New implementation.
3239         (compact): New implementation.
3240         (asReadOnlyBuffer): New implementation.
3241         (get): Documentation revised.
3242         (order): Return native byte order.
3243         * gnu/java/nio/IntBufferImpl.java: Reformatted.
3244         (IntBufferImpl): Revised.
3245         (slice): New implementation.
3246         (duplicate): New implementation.
3247         (compact): New implementation.
3248         (asReadOnlyBuffer): New implementation.
3249         (get): Documentation revised.
3250         (order): Return native byte order.
3251         * gnu/java/nio/LongBufferImpl.java: Reformatted.
3252         (LongBufferImpl): Revised.
3253         (slice): New implementation.
3254         (duplicate): New implementation.
3255         (compact): New implementation.
3256         (asReadOnlyBuffer): New implementation.
3257         (get): Documentation revised.
3258         (order): Return native byte order.
3259         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
3260         (ShortBufferImpl): Revised.
3261         (slice): New implementation.
3262         (duplicate): New implementation.
3263         (compact): New implementation.
3264         (asReadOnlyBuffer): New implementation.
3265         (get): Documentation revised.
3266         (order): Return native byte order.
3267         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
3268         (CharBuffer): Revised.
3269         (order): Removed.
3270         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
3271         (DoubleBuffer): Revised.
3272         (allocateDirect): Removed.
3273         (order): Removed.
3274         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
3275         (FloatBuffer): Revised.
3276         (allocateDirect): Removed.
3277         (order): Removed.
3278         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
3279         (IntBuffer): Revised.
3280         (allocateDirect): Removed.
3281         (order): Removed.
3282         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
3283         (LongBuffer): Revised.
3284         (allocateDirect): Removed.
3285         (order): Removed.
3286         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
3287         (ShortBuffer): Revised.
3288         (allocateDirect): Removed.
3289         (order): Removed.
3290         * gnu/java/nio/natByteBufferImpl.cc: Removed.
3291         * gnu/java/nio/natCharBufferImpl.cc: Removed.
3292         * Makefile.am
3293         (ordinary_java_source_files): Added the following files:
3294         gnu/java/nio/CharViewBufferImpl.java,
3295         gnu/java/nio/DoubleViewBufferImpl.java,
3296         gnu/java/nio/FloatViewBufferImpl.java,
3297         gnu/java/nio/IntViewBufferImpl.java,
3298         gnu/java/nio/LongViewBufferImpl.java,
3299         gnu/java/nio/ShortViewBufferImpl.java
3300         (nat_source_files): Removed the following files:
3301         gnu/java/nio/natByteBufferImpl.cc,
3302         gnu/java/nio/natCharBufferImpl.cc
3303         * Makefile.in: Regenerated.
3304
3305 2003-05-12  Michael Koch  <konqueror@gmx.de>
3306
3307         * gnu/java/nio/CharViewBufferImpl.java,
3308         gnu/java/nio/DirectByteBufferImpl.java,
3309         gnu/java/nio/DoubleViewBufferImpl.java,
3310         gnu/java/nio/FloatViewBufferImpl.java,
3311         gnu/java/nio/IntViewBufferImpl.java,
3312         gnu/java/nio/LongViewBufferImpl.java,
3313         gnu/java/nio/ShortViewBufferImpl.java,
3314         gnu/java/nio/natDirectByteBufferImpl.cc:
3315         New files, not yet to be compiled.
3316
3317 2003-05-10  Michael Koch  <konqueror@gmx.de>
3318
3319         * javax/swing/plaf/ButtonUI.java,
3320         javax/swing/plaf/ColorUIResource.java,
3321         javax/swing/plaf/ComponentUI.java,
3322         javax/swing/plaf/DimensionUIResource.java,
3323         javax/swing/plaf/FontUIResource.java,
3324         javax/swing/plaf/IconUIResource.java,
3325         javax/swing/plaf/InsetsUIResource.java,
3326         javax/swing/plaf/LabelUI.java,
3327         javax/swing/plaf/ListUI.java,
3328         javax/swing/plaf/OptionPaneUI.java,
3329         javax/swing/plaf/PanelUI.java,
3330         javax/swing/plaf/TabbedPaneUI.java,
3331         javax/swing/plaf/TextUI.java,
3332         javax/swing/plaf/TreeUI.java,
3333         javax/swing/plaf/ViewportUI.java,
3334         javax/swing/plaf/basic/BasicBorders.java,
3335         javax/swing/plaf/basic/BasicButtonUI.java,
3336         javax/swing/plaf/basic/BasicCheckBoxUI.java,
3337         javax/swing/plaf/basic/BasicDefaults.java,
3338         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3339         javax/swing/plaf/basic/BasicIconFactory.java,
3340         javax/swing/plaf/basic/BasicLabelUI.java,
3341         javax/swing/plaf/basic/BasicListUI.java,
3342         javax/swing/plaf/basic/BasicOptionPaneUI.java,
3343         javax/swing/plaf/basic/BasicPanelUI.java,
3344         javax/swing/plaf/basic/BasicRadioButtonUI.java,
3345         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3346         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3347         javax/swing/plaf/basic/BasicTextUI.java,
3348         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3349         javax/swing/plaf/basic/BasicTreeUI.java,
3350         javax/swing/plaf/basic/BasicViewportUI.java,
3351         javax/swing/plaf/metal/MetalLookAndFeel.java:
3352         New versions from classpath. This adds copyrights to all files and
3353         some serialVersionUIDs.
3354
3355 2003-05-10  Michael Koch  <konqueror@gmx.de>
3356
3357         * java/nio/CharBuffer.java
3358         (offset): Make it package-private.
3359         (backing_buffer): Likewise.
3360         * java/nio/DoubleBuffer.java
3361         (offset): Make it package-private.
3362         (backing_buffer): Likewise.
3363         (put): Reformatted.
3364         * java/nio/FloatBuffer.java
3365         (offset): Make it package-private.
3366         (backing_buffer): Likewise.
3367         * java/nio/IntBuffer.java
3368         (offset): Make it package-private.
3369         (backing_buffer): Likewise.
3370         * java/nio/LongBuffer.java
3371         (offset): Make it package-private.
3372         (backing_buffer): Likewise.
3373         * java/nio/ShortBuffer.java
3374         (offset): Make it package-private.
3375         (backing_buffer): Likewise.
3376
3377 2003-05-10  Michael Koch  <konqueror@gmx.de>
3378
3379         * java/nio/CharBuffer.java
3380         (put): Fixed precondtion check.
3381         (toString): Make it work without backing array.
3382         (put): Skip one level of method calling.
3383
3384 2003-05-10  Michael Koch  <konqueror@gmx.de>
3385
3386         * java/security/Identity.java,
3387         java/security/IdentityScope.java,
3388         java/security/Key.java,
3389         java/security/KeyPair.java,
3390         java/security/PrivateKey.java,
3391         java/security/Provider.java,
3392         java/security/PublicKey.java,
3393         java/security/SecureRandom.java,
3394         java/security/SecureRandomSpi.java,
3395         java/security/SignedObject.java,
3396         java/security/Signer.java,
3397         java/security/cert/Certificate.java,
3398         java/security/cert/PKIXCertPathBuilderResult.java,
3399         java/security/cert/X509Certificate.java:
3400         New versions from classpath.
3401
3402 2003-05-09  Tom Tromey  <tromey@redhat.com>
3403
3404         * Makefile.in: Rebuilt.
3405         * Makefile.am (nat_source_files): Removed old files.
3406         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3407         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3408         * gnu/java/nio/natIntBufferImpl.cc: Removed.
3409         * gnu/java/nio/natLongBufferImpl.cc: Removed.
3410         * gnu/java/nio/natShortBufferImpl.cc: Removed.
3411
3412 2003-05-09  Michael Koch  <konqueror@gmx.de>
3413
3414         * gnu/java/nio/ByteBufferImpl.java
3415         (nio_cast): Removed.
3416         (ByteBufferImpl): Removed.
3417         (nio_get_Byte): Removed.
3418         (nio_put_Byte): Removed.
3419         (asByteBuffer): Removed.
3420         (asCharBuffer): Removed implementation and throw exception.
3421         (asShortBuffer): Likewise.
3422         (asIntBuffer): Likewise.
3423         (asLongBuffer): Likewise.
3424         (asFloatBuffer): Likewise.
3425         (asDoubleBuffer): Likewise.
3426         * gnu/java/nio/CharBufferImpl.java
3427         (CharBufferImpl): Removed.
3428         (nio_get_Byte): Removed.
3429         (nio_put_Byte): Removed.
3430         (asByteBuffer): Removed.
3431         * gnu/java/nio/DoubleBufferImpl.java
3432         (DoubleBufferImpl): Removed.
3433         (nio_get_Byte): Removed.
3434         (nio_put_Byte): Removed.
3435         (asByteBuffer): Removed.
3436         * gnu/java/nio/FloatBufferImpl.java
3437         (FloatBufferImpl): Removed.
3438         (nio_get_Byte): Removed.
3439         (nio_put_Byte): Removed.
3440         (asByteBuffer): Removed.
3441         * gnu/java/nio/IntBufferImpl.java
3442         (IntBufferImpl): Removed.
3443         (nio_get_Byte): Removed.
3444         (nio_put_Byte): Removed.
3445         (asByteBuffer): Removed.
3446         * gnu/java/nio/LongBufferImpl.java
3447         (LongBufferImpl): Removed.
3448         (nio_get_Byte): Removed.
3449         (nio_put_Byte): Removed.
3450         (asByteBuffer): Removed.
3451         * gnu/java/nio/ShortBufferImpl.java
3452         (ShortBufferImpl): Removed.
3453         (nio_get_Byte): Removed.
3454         (nio_put_Byte): Removed.
3455         (asByteBuffer): Removed.
3456         * gnu/java/nio/natByteBufferImpl.cc
3457         (nio_cast): Removed.
3458         (nio_get_Byte): Removed.
3459         (nio_put_Byte): Removed.
3460         * gnu/java/nio/natCharBufferImpl.cc
3461         (nio_get_Byte): Removed.
3462         (nio_put_Byte): Removed.
3463
3464 2003-05-09  Michael Koch  <konqueror@gmx.de>
3465
3466         * java/net/JarURLConnection.java
3467         (getJarEntry): Merged documentation from classpath.
3468         (getJarFile): Likewise.
3469         (getMainAttributes): Likewise.
3470         (getAttributes): Likewise.
3471         (getManifest): Likewise.
3472         (getCertificates): Reformatted.
3473         * java/net/URLConnection.java:
3474         Little classpath merge.
3475
3476 2003-05-09  Michael Koch  <konqueror@gmx.de>
3477
3478         * java/io/DataOutputStream.java
3479         (writeShort): Made it synchronized.
3480         (writeChar): Likewise.
3481         (writeInt): Likewise.
3482         (writeLong): Liekwise.
3483         (writeUTF): Made it synchronized, renamed argument to match classpath.
3484         * java/io/InputStreamReader.java
3485         (converter): Added documentation.
3486         (read): Merged documentation from classpath.
3487         * java/io/OutputStreamWriter.java
3488         (OutputStreamWriter): Merged documentation from classpath.
3489         (close): Reformatted.
3490         (getEncoding): Likewise.
3491         (flush): Likewise.
3492         (write): Merged documentation from classpath, reformatted.
3493
3494 2003-05-08  Tom Tromey  <tromey@redhat.com>
3495
3496         * configure.host <powerpc64*-*>: Set with_libffi_default and
3497         libgcj_interpreter to "yes".
3498
3499 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
3500
3501         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3502         
3503 2003-05-06  Tom Tromey  <tromey@redhat.com>
3504
3505         * verify.cc: Reverted previous patch.
3506
3507 2003-05-06  Michael Koch  <konqueror@gmx.de>
3508
3509         * java/io/DataOutputStream.java
3510         (write): Renamed argument to "value", merged documentation from
3511         classpath.
3512         (writeBoolean): Likewise.
3513         (writeByte): Likewise.
3514         (writeShort): Likewise.
3515         (writeChar): Likewise.
3516         (writeInt): Likewise.
3517         (writeLong): Likewise.
3518         (writeFloat): Likewise.
3519         (writeDouble): Likewise.
3520         (writeBytes): Likewise.
3521         (writeChars): Likewise.
3522         (writeUTF): Likewise.
3523         * java/io/File.java
3524         (performDelete): Added documentation.
3525         (performList): Likewise.
3526         (performMkdir): Likewise.
3527         (performSetReadOnly): Likewise.
3528         (performRenameTo): Likewise.
3529         (performSetLastModified): Likewise.
3530         (delete): Made it sychronized.
3531         (renameTo): Made it sychronized.
3532         (equals): Reformatted.
3533         (isHidden): Likewise.
3534         (listFiles): Likewise.
3535         (setReadOnly): Likewise.
3536         (listRoots): Likewise.
3537         (setLastModified): Likewise.
3538         (checkRead): Likewise.
3539         (checkWrite): Likewise.
3540         * java/io/FileInputStream.java
3541         (skip): Made it sychronized, merged from classpath.
3542         * java/io/FileOutputStream.java
3543         (write): Merged from classpath.
3544         * java/io/InputStreamReader.java:
3545         (InputStreamReader): Merged documentation from classpath.
3546
3547 2003-05-05  Michael Koch  <konqueror@gmx.de>
3548
3549         * java/net/NetworkInterface.java
3550         (networkInterfaces): Removed.
3551         (getByName): Use getRealNetworkInterfaces() instead of
3552         networkInterfaces.
3553         (getByInetAddress): Likewise.
3554         (getNetworkInterfaces): Likewise.
3555         (toString): Fix output of addresses of an interface.
3556
3557 2003-05-05  Michael Koch  <konqueror@gmx.de>
3558
3559         * java/io/DataInputStream.java:
3560         Merged new documentation from classpath.
3561
3562 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
3563
3564         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
3565         "version".
3566         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
3567         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
3568         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
3569         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
3570         * gnu/awt/gtk/GtkMainThread.java: Likewise.
3571         * gnu/awt/gtk/GtkToolkit.java: Likewise.
3572         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
3573         * java/security/Key.java: Likewise.
3574         * java/security/PrivateKey.java: Likewise.
3575         * java/security/Provider.java: Likewise.
3576         * java/security/PublicKey.java: Likewise.
3577
3578 2003-05-02  Michael Koch  <konqueror@gmx.de>
3579
3580         * java/net/URI.java
3581         (create): Doesnt throws any exceptions.
3582         * java/net/URLConnection.java
3583         (URLConnection): Commend added.
3584         (getExpiration): The header field is called "expires" not
3585         "expiration".
3586         (getHeaderField): Merged documentation with classpath.
3587         (getHeaderFieldInt): Likewise.
3588         (getHeaderFieldDate): Likewise.
3589         (getHeaderFieldKey): Likewise.
3590         (getPermission): Likewise.
3591         (setDefaultUseCaches): Likewise.
3592         (setRequestProperty): Likewise.
3593         (addRequestProperty): Likewise.
3594         (getRequestProperty): Likewise.
3595         (getRequestProperties): Likewise.
3596         (setDefaultRequestProperty): Likewise.
3597         (getDefaultRequestProperty): Likewise.
3598         (guessContentTypeFromStream): Likewise.
3599         (getFileNameMap): Likewise.
3600         (setFileNameMap): Likewise.
3601         (setDoInput): Merged implementation and documentation with classpath.
3602         (setDoOutput): Likewise.
3603         (setAllowUserInteraction): Likewise.
3604         (setDefaultAllowUserInteraction): Likewise.
3605         (setContentHandlerFactory): Made it synchronized, merged documentation
3606         with classpath.
3607         (guessContentTypeFromName): Renamed argument fname to filename to
3608         match classpath, merged documentation with classpath.
3609
3610 2003-05-02  Michael Koch  <konqueror@gmx.de>
3611
3612         * java/net/JarURLConnection.java
3613         (JarURLConnection): Class documentation merged with classpath.
3614         (getJarFileURL): Moved and documentation merged with classpath.
3615         (getEntryName): Likewise.
3616         (JarURLConnection): Documentation merged with classpath.
3617         (getJarEntry): Likewise.
3618         (getJarFile): Likewise.
3619         * java/net/PlainDatagramSocketImpl.java:
3620         Class documentation moved.
3621         * java/net/URLConnection.java
3622         (fileNameMap): Moved and documentation merged with classpath.
3623         (factory): Likewise.
3624         (defaultAllowUserInteraction): Likewis.
3625         (defaultUseCaches): Likewise.
3626         (allowUserInteraction): Likewise.
3627         (connected): Likewise.
3628         (url): Likewise.
3629         (connect): Documentation merged with classpath.
3630         (getURL): Likewise.
3631         (getContentLength): Likewise.
3632         (getContentType): Likewise.
3633         (getContentEncoding): Likewise.
3634         (getExpiration): Likewise.
3635         (getDate): Likewise.
3636         (getLastModified): Likewise.
3637         (getHeaderField): Likewise.
3638         (getContent): Likewise.
3639         (getPermission): Likewise.
3640         (getInputStream): Likewise.
3641         (getOutputStream): Likewise.
3642         (toString): Likewise.
3643         (getDoInput): Likewise.
3644         (getDoOutput): Likewise.
3645         (setAllowUserInteraction): Likewise.
3646         (getAllowUserInteraction): Likewise.
3647         (setDefaultAllowUserInteraction): Likewise.
3648         (getDefaultAllowUserInteraction): Likewise.
3649         (setUseCaches): Likewise.
3650         (getUseCaches): Likewise.
3651         (setIfModifiedSince): Likewise.
3652         (getIfModifiedSince): Likewise.
3653         (setDefaultRequestProperty): Likewise.
3654         (getDefaultRequestProperty): Likewise.
3655         (setContentHandlerFactory): Likewise.
3656         (setFileNameMap): Likewise.
3657
3658 2003-05-02  Michael Koch  <konqueror@gmx.de>
3659
3660         * java/net/InetAddress.java:
3661         Merged class documentation with classpath.
3662         * java/net/JarURLConnection.java:
3663         Explicitely import all used classes.
3664         * java/net/URL.java:
3665         Reformatting.
3666         * java/net/ServerSocket.java,
3667         java/net/Socket.java:
3668         New versions from classpath.
3669
3670 2003-05-02  Michael Koch  <konqueror@gmx.de>
3671
3672         * gnu/java/nio/FileChannelImpl.java
3673         (read): New implementation.
3674         (implRead): New methods.
3675         (write): New implementation, call other write insteal of read method.
3676         (implWrite): New methods.
3677         (map): Added comment.
3678         (transferFrom): Implemented.
3679         (transferTo): Implemented.
3680         (lock): Added checks to throw exceptions.
3681         (truncate): Added check to throw exception.
3682         * gnu/java/nio/natFileChannelImpl.cc
3683         (implRead): New method.
3684         (implWrite): New method.
3685         * java/nio/ByteBuffer.java
3686         (hashCode): Fixed comment.
3687         (get): Fixed exception documentation.
3688         (put): Fixed exception documentation.
3689         * java/nio/CharBuffer.java:
3690         Added comment for later optimizations.
3691
3692 2003-04-30  Tom Tromey  <tromey@redhat.com>
3693
3694         PR libgcj/10582:
3695         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
3696         Removed.
3697         (type::compatible): Use _Jv_IsAssignableFrom.
3698         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
3699         (_Jv_IsAssignableFrom): Work even when source or target class is
3700         not prepared.
3701
3702 2003-04-30  Michael Koch  <konqueror@gmx.de>
3703
3704         * java/text/BreakIterator.java
3705         (clone): New method.
3706
3707 2003-04-30  Michael Koch  <konqueror@gmx.de>
3708
3709         * java/text/CollationElementIterator.java,
3710         java/text/CollationKey.java,
3711         java/text/RuleBasedCollator.java:
3712         Merged copyright and documentation from classpath and
3713         rearranged some code. No code changes done.
3714
3715 2003-04-30  Michael Koch  <konqueror@gmx.de>
3716
3717         * java/util/regex/Matcher.java
3718         (pattern): New member variable.
3719         (appendReplacement): New method.
3720         (appendTail): New method.
3721         (end): New method.
3722         (find): New method.
3723         (group): New method.
3724         (replaceFirst): Added documentation.
3725         (replaceAll): Added documentation.
3726         (groupCount): New method.
3727         (lookingAt): New method.
3728         (matches): New method.
3729         (reset): New method.
3730         (start): New method.
3731         * java/util/regex/Pattern.java
3732         (serialVersionUID): New constant.
3733         (CANON_EQ): New constant.
3734         (CASE_INSENSITIVE): New constant.
3735         (COMMENTS): New constant.
3736         (DOTALL): New constant.
3737         (MULTILINE): New constant.
3738         (UNICODE_CASE): New constant.
3739         (UNIX_LINES): New constant.
3740         (regex): New member variable.
3741         (flags): New member variable.
3742         (Pattern): New method.
3743         (compile): Documentation added.
3744         (flags): New method.
3745         (matches): Documentation added.
3746         (matcher): Documentation added.
3747         (split): Documentation added.
3748         (pattern): New method.
3749
3750 2003-04-30  Michael Koch  <konqueror@gmx.de>
3751
3752         * gnu/java/security/Engine.java,
3753         gnu/java/security/OID.java,
3754         gnu/java/security/der/BitString.java,
3755         gnu/java/security/der/DER.java,
3756         gnu/java/security/der/DERReader.java,
3757         gnu/java/security/der/DERValue.java,
3758         gnu/java/security/der/DERWriter.java,
3759         gnu/java/security/provider/DSAKeyFactory.java,
3760         gnu/java/security/provider/X509CertificateFactory.java,
3761         gnu/java/security/x509/X500DistinguishedName.java,
3762         gnu/java/security/x509/X509CRL.java,
3763         gnu/java/security/x509/X509CRLEntry.java,
3764         gnu/java/security/x509/X509Certificate.java,
3765         java/security/cert/CRLSelector.java,
3766         java/security/cert/CertPathBuilder.java,
3767         java/security/cert/CertPathBuilderResult.java,
3768         java/security/cert/CertPathBuilderSpi.java,
3769         java/security/cert/CertPathParameters.java,
3770         java/security/cert/CertPathValidator.java,
3771         java/security/cert/CertPathValidatorResult.java,
3772         java/security/cert/CertPathValidatorSpi.java,
3773         java/security/cert/CertSelector.java,
3774         java/security/cert/CertStore.java,
3775         java/security/cert/CertStoreParameters.java,
3776         java/security/cert/CertStoreSpi.java,
3777         java/security/cert/CollectionCertStoreParameters.java,
3778         java/security/cert/LDAPCertStoreParameters.java,
3779         java/security/cert/PKIXBuilderParameters.java,
3780         java/security/cert/PKIXCertPathBuilderResult.java,
3781         java/security/cert/PKIXCertPathChecker.java,
3782         java/security/cert/PKIXCertPathValidatorResult.java,
3783         java/security/cert/PKIXParameters.java,
3784         java/security/cert/PolicyNode.java,
3785         java/security/cert/PolicyQualifierInfo.java,
3786         java/security/cert/TrustAnchor.java,
3787         javax/security/auth/x500/X500Principal.java:
3788         New files from classpath.
3789         * gnu/java/io/ASN1ParsingException.java,
3790         gnu/java/io/Base64InputStream.java,
3791         gnu/java/security/der/DEREncodingException.java,
3792         gnu/java/security/provider/DSAParameters.java,
3793         gnu/java/security/provider/DSASignature.java,
3794         gnu/java/security/provider/Gnu.java,
3795         gnu/java/security/provider/GnuDSAPrivateKey.java,
3796         gnu/java/security/provider/GnuDSAPublicKey.java,
3797         java/security/AlgorithmParameterGenerator.java,
3798         java/security/AlgorithmParameters.java,
3799         java/security/KeyFactory.java,
3800         java/security/KeyPairGenerator.java,
3801         java/security/KeyStore.java,
3802         java/security/MessageDigest.java,
3803         java/security/SecureClassLoader.java,
3804         java/security/SecureRandom.java,
3805         java/security/Security.java,
3806         java/security/Signature.java,
3807         java/security/cert/Certificate.java,
3808         java/security/cert/CertificateFactory.java,
3809         java/security/cert/CertificateFactorySpi.java,
3810         java/security/cert/X509CRL.java,
3811         java/security/cert/X509Certificate.java,
3812         java/security/spec/DSAPublicKeySpec.java:
3813         New versions from classpath.
3814         * gnu/java/security/provider/DERReader.java,
3815         gnu/java/security/provider/DERWriter.java,
3816         java/security/Engine.java: Removed.
3817         * Makefile.am
3818         (java_source_files, javax_source_files): Added new files.
3819         * Makefile.in: Regenerated.
3820
3821 2003-04-29  Michael Koch  <konqueror@gmx.de>
3822
3823         * javax/swing/JTable.java
3824         (AUTO_RESIZE_ALL_COLUMNS): New constant.
3825         (AUTO_RESIZE_LAST_COLUMN): New constant.
3826         (AUTO_RESIZE_NEXT_COLUMN): New constant.
3827         (AUTO_RESIZE_OFF): New constant.
3828         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3829         (JTable): New method.
3830         (columnAdded): New method.
3831         (columnMarginChanged): New method.
3832         (columnMoved): New method.
3833         (columnRemoved): New method.
3834         (columnSelectionChanged): New method.
3835         (editingCanceled): New method.
3836         (editingStopped): New method.
3837         (getColumnModel): New method.
3838         (getPreferredScrollableViewportSize): New method.
3839         (getScrollableBlockIncrement): New method.
3840         (getScrollableTracksViewportHeight): New method.
3841         (getScrollableTracksViewportWidth): New method.
3842         (getScrollableUnitIncrement): New method.
3843         (getSelectedRow): New method.
3844         (getSelectionModel): New method.
3845         (tableChanged): New method.
3846         (setModel): New method.
3847         (setSelectionMode): New method.
3848         (setSelectionModel): New method.
3849         (setShowGrid): New method.
3850         (valueChanged): New method.
3851         * javax/swing/text/DefaultEditorKit.java
3852         (backwardAction): New constant.
3853         (beepAction): New constant.
3854         (beginAction): New constant.
3855         (beginLineAction): New constant.
3856         (beginParagraphAction): New constant.
3857         (beginWordAction): New constant.
3858         (copyAction): New constant.
3859         (cutAction): New constant.
3860         (defaultKeyTypedAction): New constant.
3861         (deleteNextCharAction): New constant.
3862         (deletePrevCharAction): New constant.
3863         (downAction): New constant.
3864         (endAction): New constant.
3865         (endLineAction): New constant.
3866         (endOfLineStringProperty): New constant.
3867         (endParagraphAction): New constant.
3868         (endWordAction): New constant.
3869         (forwardAction): New constant.
3870         (insertBreakAction): New constant.
3871         (insertContentAction): New constant.
3872         (insertTabAction): New constant.
3873         (nextWordAction): New constant.
3874         (pageDownAction): New constant.
3875         (pageUpAction): New constant.
3876         (pasteAction): New constant.
3877         (previousWordAction): New constant.
3878         (readOnlyAction): New constant.
3879         (selectAllAction): New constant.
3880         (selectionBackwardAction): New constant.
3881         (selectionBeginAction): New constant.
3882         (selectionBeginLineAction): New constant.
3883         (selectionBeginParagraphAction): New constant.
3884         (selectionBeginWordAction): New constant.
3885         (selectionDownAction): New constant.
3886         (selectionEndAction): New constant.
3887         (selectionEndLineAction): New constant.
3888         (selectionEndParagraphAction): New constant.
3889         (selectionEndWordAction): New constant.
3890         (selectionForwardAction): New constant.
3891         (selectionNextWordAction): New constant.
3892         (selectionPreviousWordAction): New constant.
3893         (selectionUpAction): New constant.
3894         (selectLineAction): New constant.
3895         (selectParagraphAction): New constant.
3896         (selectWordAction): New constant.
3897         (upAction): New constant.
3898         (writableAction): New constant.
3899
3900 2003-04-29  Michael Koch  <konqueror@gmx.de>
3901
3902         * java/util/PropertyPermission.java:
3903         New version from classpath
3904         * java/util/ResourceBundle.java:
3905         Partly merged from classpath
3906         (getObject): Reformated.
3907         (tryBundle): Set foundBundle = null if no bundle found.
3908
3909 2003-04-29  Michael Koch  <konqueror@gmx.de>
3910
3911         * javax/swing/AbstractListModel.java,
3912         javax/swing/DefaultBoundedRangeModel.java,
3913         javax/swing/DefaultSingleSelectionModel.java:
3914         New Versions from classpath.
3915
3916 2003-04-29  Michael Koch  <konqueror@gmx.de>
3917
3918         * java/awt/Window.java
3919         (show): Call super.show() instead of setVisible() to avoid endless
3920         loop.
3921         (hide): Call super.hide() instead of setVisible() to avoid endless
3922         loop.
3923
3924 2003-04-29  Michael Koch  <konqueror@gmx.de>
3925
3926         * java/util/zip/Deflater.java,
3927         java/util/zip/DeflaterOutputStream.java:
3928         Partly merged with classpath.
3929
3930 2003-04-27  Tom Tromey  <tromey@redhat.com>
3931
3932         * java/lang/natString.cc (_Jv_AllocString): Initialize
3933         cachedHashCode.
3934         (init): Likewise.
3935         (_Jv_NewStringUtf8Const): Likewise.
3936
3937 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
3938
3939         * include/jvm.h: (_Jv_GetNbArgs) added
3940         (_Jv_GetSafeArg) added
3941         (_Jv_SetArgs) added
3942         * prims.cc: (_Jv_GetNbArgs) implemented
3943         (_Jv_GetSafeArg) implemented
3944         (_Jv_SetArgs) implemented
3945         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3946         setting _Jv_argc and _Jv_argv
3947         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3948         instead of _Jv_argv
3949         * java/lang/natRuntime.cc: (insertSystemProperties) use
3950         _Jv_GetSafeArg() instead of _Jv_argv
3951
3952 2003-04-23  Tom Tromey  <tromey@redhat.com>
3953
3954         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3955         required by this object.  Search superclasses to find required
3956         alignment.
3957         (get_alignment_from_class): Use alignment of type as it appears
3958         in a struct.
3959         (ALIGNOF): New macro.
3960         (struct aligner): New helper structure.
3961
3962 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
3963
3964         * java/awt/Container.java (addImpl): Enable paint events if adding
3965         a lightweight to a heavyweight.
3966         (addNotify): Ensure that peer is created before
3967         addNotifyContainerChildren.
3968         (addNotifyContainerChildren): Enable paint events if a heavyweight
3969         container contains a lightweight.
3970
3971 2003-04-20  Tom Tromey  <tromey@redhat.com>
3972
3973         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3974         java/io/DataInput.java, java/io/DataOutput.java: Imports from
3975         Classpath.
3976
3977 2003-04-19  Tom Tromey  <tromey@redhat.com>
3978
3979         * java/sql/Date.java, java/sql/DriverManager.java,
3980         java/sql/Time.java, java/sql/Timestamp.java: New versions from
3981         Classpath.
3982
3983         * Makefile.in: Rebuilt.
3984         * Makefile.am (ordinary_java_source_files): Added new files.
3985         * java/security/AlgorithmParameterGenerator.java,
3986         java/security/AlgorithmParameters.java, java/security/Engine.java,
3987         java/security/Identity.java, java/security/IdentityScope.java,
3988         java/security/KeyFactory.java,
3989         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3990         java/security/MessageDigest.java, java/security/Policy.java,
3991         java/security/ProtectionDomain.java,
3992         java/security/SecureRandom.java, java/security/Security.java,
3993         java/security/Signature.java, java/security/SignatureSpi.java,
3994         java/security/SignedObject.java, java/security/Signer.java,
3995         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3996         java/security/spec/PSSParameterSpec.java,
3997         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3998         java/security/spec/RSAOtherPrimeInfo.java: New versions from
3999         Classpath.
4000
4001 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4002
4003         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4004         (dispose): Null metrics.
4005         * gnu/awt/xlib/XToolkit.java (sync): Implement.
4006         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4007         finalize.
4008         (finalize): Call dispose.
4009         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4010         (gcCachedCount): New field.
4011         (finalize): New method.
4012         (putGCInCache): New method.
4013         (getGCFromCache): New method.
4014         * gnu/gcj/xlib/GC.java (GC): Make protected.
4015         (clone): Get new GC from cache if possible.
4016         (create): New static method.
4017         (dispose): Save old GC in cache.
4018         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4019         deleting.
4020         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4021         is null.
4022         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4023         * java/awt/Container.java (visitChild): Dispose gfx2 when
4024         finished.
4025
4026 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
4027
4028         * java/math/BigInteger.java (probablePrime): New.
4029         * java/math/BigDecimal.java (unscaledValue): New.
4030
4031 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
4032
4033         * java/io/File.java (getAbsolutePath): On Windows, take care
4034         of paths like "C:", "G:foo\bar", etc.
4035         (getName): Make it work correctly on Windows.
4036         (getParent): Make it work correctly on Windows. For UNIX,
4037         fix bug that causes "/" to be returned as the parent of "/",
4038         instead of null as returned by Sun's JRE.
4039
4040         * java/io/natFileWin32.cc: Change copyright owner to FSF.
4041
4042 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4043
4044         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
4045         inner class.
4046         (CACHE_SIZE_PER_DISPLAY): New field
4047         (fontMetricsCache): New field
4048         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
4049         loading ISO10646-1 fonts.
4050
4051 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4052
4053         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
4054         characters.
4055         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
4056         characters.
4057
4058 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
4059
4060         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
4061         floating point.
4062
4063 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
4064
4065         * configure.host (*-linux*): Don't set slow_pthread_self if primary
4066         installed libpthread is either linuxthreads with floating stacks or
4067         NPTL.
4068
4069 2003-04-14  Tom Tromey  <tromey@redhat.com>
4070
4071         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
4072         of alignment.
4073
4074 2003-04-10  Tom Tromey  <tromey@redhat.com>
4075
4076         * verify.cc (pop64): Removed.
4077         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
4078         exception if top-of-stack is narrow.
4079         (initialize_stack): Check to ensure that <init> is not static and
4080         <clinit> is.
4081
4082 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
4083
4084         * java/io/ObjectStreamException
4085         * java/io/FileFilter
4086         * java/io/FilenameFilter
4087         * java/io/ObjectInput
4088         * java/io/ObjectOutput
4089         * java/io/ObjectStreamConstants
4090         Minor doc fixes, format fixes, spelling corrections, etc.
4091         * java/io/DataInput
4092         Corrected code samples in Javadocs to match reality
4093         * java/io/DataOutput
4094         * java/io/ObjectInputValidation
4095         Major documentation fixes - all Javadocs re-written or updated
4096
4097 2003-04-06  Michael Koch  <konqueror@gmx.de>
4098
4099         * java/net/URLConnection.java:
4100         Import classes directly.
4101         (URLConnection): Merged class documentation with classpath.
4102         (url): Moved, documentation from classpath added.
4103         (doInput): Moved, documentation from classpath added.
4104         (doOutput): Moved, documentation from classpath added.
4105         (allowUserInteraction): Moved.
4106         (useCaches): Moved, documentation from classpath added.
4107         (ifModifiedSince): Moved, documentation from classpath added.
4108         (connected): Moved, documentation from classpath added.
4109
4110 2003-04-06  Michael Koch  <konqueror@gmx.de>
4111
4112         * java/io/FileInputStream.java
4113         (skip): Renamed some variables to match classpath, added
4114         checks from classpath.
4115
4116 2003-03-31  Michael Koch  <konqueror@gmx.de>
4117
4118         * javax/swing/AbstractAction.java
4119         (AbstractAction): Reformatted.
4120         (serialVersionUID): New private member variable.
4121         * javax/swing/plaf/BorderUIResource.java
4122         (serialVersionUID): New private member variable.
4123         * javax/swing/plaf/basic/BasicLookAndFeel.java
4124         (serialVersionUID): New private member variable.
4125
4126 2003-03-31  Michael Koch  <konqueror@gmx.de>
4127
4128         * java/sql/Date.java
4129         (valueOf): Deprecated, reformatted.
4130         (toString): Deprecated, reformatted.
4131         * java/sql/Time.java
4132         (valueOf): Deprecated, reformatted.
4133         (toString): Deprecated, reformatted.
4134
4135 2003-03-31  Michael Koch  <konqueror@gmx.de>
4136
4137         * java/rmi/dgc/VMID.java
4138         (isUnique): Deprecated.
4139
4140 2003-03-31  Michael Koch  <konqueror@gmx.de>
4141
4142         * java/io/File.java
4143         (separator): Merged documentation from classpath.
4144         (separatorChar): Merged documentation from classpath.
4145         (pathSeparator): Merged documentation from classpath.
4146         (pathSeparatorChar): Merged documentation from classpath.
4147         (path): Merged documentation from classpath.
4148         (canRead): Merged documentation from classpath.
4149         (canWrite): Merged documentation from classpath.
4150         (createNewFile): Merged documentation from classpath.
4151         (delete): Merged documentation from classpath.
4152         (equals): Merged documentation from classpath.
4153         (exists): Merged documentation from classpath.
4154         (File): Renamed p to name to match classpath, merged documentation
4155         from classpath.
4156         (getAbsolutePath): Merged documentation from classpath.
4157         (getCanonicalPath): Merged documentation from classpath.
4158         (getCanonicalFile): Merged documentation from classpath.
4159         (getName): Merged documentation from classpath.
4160         (getParent): Merged documentation from classpath.
4161         (getParentFile): Merged documentation from classpath.
4162         (getPath): Merged documentation from classpath.
4163         (hashCode): Merged documentation from classpath.
4164         (isAbsolute): Merged documentation from classpath.
4165         (isDirectory): Merged documentation from classpath.
4166         (isFile): Merged documentation from classpath.
4167         (isHidden): Merged documentation from classpath.
4168         (lastModified): Merged documentation from classpath.
4169         (length): Merged documentation from classpath.
4170         (list): Merged documentation from classpath.
4171         (listFiles): Merged documentation from classpath.
4172         (toString): Merged documentation from classpath.
4173         (toURL): Merged documentation from classpath.
4174         (mkdir): Merged documentation from classpath.
4175         (mkdirs): Merged documentation from classpath.
4176         (createTempFile): Merged documentation from classpath.
4177         (setReadOnly): Merged documentation from classpath.
4178         (listRoots): Merged documentation from classpath.
4179         (compareTo): Merged documentation from classpath.
4180         (renameTo): Merged documentation from classpath.
4181         (setLastModified): Merged documentation from classpath.
4182         * java/io/PrintStream.java
4183         (auto_flush): Merged documentation from classpath.
4184         (PrintStream): Merged documentation from classpath.
4185         (checkError): Merged documentation from classpath.
4186         (setError): Merged documentation from classpath.
4187         (close): Merged documentation from classpath.
4188         (flush): Merged documentation from classpath.
4189         (print): Merged documentation from classpath.
4190         (println):  Merged documentation from classpath.
4191         (write): Renamed count to len to match classpath,
4192         merged documentation from classpath.
4193         * java/io/RandomAccessFile.java
4194         (readShort): Merged documentation from classpath.
4195         (readUnsignedByte): Merged documentation from classpath.
4196         (readUnsignedShort): Merged documentation from classpath.
4197         (readUTF): Merged documentation from classpath.
4198         (seek): Reformatted, merged documentation from classpath.
4199         (skipBytes): Renamed some variables to match classpath, reformatted,
4200         merged documentation from classpath.
4201         (write): Merged documentation from classpath.
4202         (writeBoolean): Merged documentation from classpath.
4203         (writeByte): Merged documentation from classpath.
4204         (writeShort): Merged documentation from classpath.
4205         (writeChar): Merged documentation from classpath.
4206         (writeInt): Merged documentation from classpath.
4207         (writeLong): Merged documentation from classpath.
4208         (writeFloat): Merged documentation from classpath.
4209         (writeDouble): Merged documentation from classpath.
4210         (writeBytes): Merged documentation from classpath.
4211         (writeChars): Merged documentation from classpath.
4212         (writeUTF): Reformatted.
4213         (getChannel): Reformatted.
4214
4215 2003-03-31  Michael Koch  <konqueror@gmx.de>
4216
4217         * java/awt/font/TextAttribute.java
4218         (readResolve): Throws java.io.InvalidObjectException.
4219
4220 2003-03-31  Michael Koch  <konqueror@gmx.de>
4221
4222         * java/rmi/server/LoaderHandler.java
4223         (loadClass): Deprecated.
4224         (getSecurityContext): Deprecated.
4225         * java/rmi/server/LogStream.java
4226         (getDefaultStream): Deprecated.
4227         (setDefaultStream): Deprecated.
4228         (getOutputStream): Deprecated.
4229         (setOutputStream): Deprecated.
4230         (write): Deprecated.
4231         (toString): Deprecated.
4232         (parseLevel): Deprecated.
4233         * java/rmi/server/Operation.java
4234         (Operation): Deprecated.
4235         (getOperation): Deprecated.
4236         (toString): Deprecated.
4237         * java/rmi/server/RemoteCall.java
4238         (getOutputStream): Deprecated.
4239         (releaseOutputStream): Deprecated.
4240         (getInputStream): Deprecated.
4241         (releaseInputStream): Deprecated.
4242         (getResultStream): Deprecated.
4243         (executeCall): Deprecated.
4244         (done): Deprecated.
4245         * java/rmi/server/RemoteRef.java
4246         (invoke): Deprecated.
4247         (newCall): Deprecated.
4248         (done): Deprecated.
4249         * java/rmi/server/RemoteStub.java
4250         (setRef): Deprecated.
4251         * java/rmi/server/Skeleton.java:
4252         No need to import java.lang.Exception explicitly.
4253         (dispatch): Deprecated.
4254         (getOperations): Deprecated.
4255
4256 2003-03-31  Michael Koch  <konqueror@gmx.de>
4257
4258         * java/rmi/dgc/VMID.java,
4259         java/rmi/registry/RegistryHandler.java,
4260         java/rmi/server/LogStream.java,
4261         java/rmi/server/Operation.java,
4262         java/rmi/server/RemoteCall.java,
4263         java/rmi/server/RemoteRef.java,
4264         java/rmi/server/RemoteStub.java:
4265         Reformatted.
4266
4267 2003-03-31  Michael Koch  <konqueror@gmx.de>
4268
4269         * javax/swing/AbstractCellEditor.java,
4270         javax/swing/AbstractListModel.java,
4271         javax/swing/ActionMap.java,
4272         javax/swing/BorderFactory.java,
4273         javax/swing/ButtonGroup.java,
4274         javax/swing/DefaultBoundedRangeModel.java,
4275         javax/swing/DefaultButtonModel.java,
4276         javax/swing/DefaultCellEditor.java,
4277         javax/swing/DefaultComboBoxModel.java,
4278         javax/swing/DefaultDesktopManager.java,
4279         javax/swing/DefaultListCellRenderer.java,
4280         javax/swing/DefaultSingleSelectionModel.java,
4281         javax/swing/InputMap.java,
4282         javax/swing/JComponent.java,
4283         javax/swing/JMenu.java,
4284         javax/swing/JSlider.java,
4285         javax/swing/KeyStroke.java,
4286         javax/swing/OverlayLayout.java,
4287         javax/swing/ScrollPaneLayout.java,
4288         javax/swing/SizeRequirements.java,
4289         javax/swing/UIManager.java,
4290         javax/swing/ViewportLayout.java,
4291         javax/swing/border/AbstractBorder.java,
4292         javax/swing/colorchooser/DefaultColorSelectionModel.java,
4293         javax/swing/event/EventListenerList.java,
4294         javax/swing/table/AbstractTableModel.java,
4295         javax/swing/table/DefaultTableCellRenderer.java,
4296         javax/swing/table/DefaultTableColumnModel.java,
4297         javax/swing/table/DefaultTableModel.java,
4298         javax/swing/table/TableColumn.java,
4299         javax/swing/text/StyledEditorKit.java,
4300         javax/swing/tree/DefaultMutableTreeNode.java,
4301         javax/swing/tree/DefaultTreeModel.java,
4302         javax/swing/tree/DefaultTreeSelectionModel.java,
4303         javax/swing/tree/TreePath.java,
4304         javax/swing/undo/AbstractUndoableEdit.java,
4305         javax/swing/undo/StateEdit.java,
4306         javax/swing/undo/StateEditable.java,
4307         javax/swing/undo/UndoableEditSupport.java:
4308         Merges from classpath.
4309
4310 2003-03-30  Tom Tromey  <tromey@redhat.com>
4311
4312         * java/lang/String.java (data, boffset, count): Documented.
4313         (String(byte[],String)): Reformatted.
4314         (String(byte[])): Likewise.
4315         (lastIndexOf(int)): Likewise.
4316         (lastIndexOf(String)): Likewise.
4317         (substring(int)): Renamed argument to match Classpath.
4318         (String(StringBuffer)): Don't share buffer if it is nearly empty.
4319
4320         * java/lang/String.java: Miscellaneous minor formatting changes
4321         to match Classpath more closely.
4322
4323 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
4324             Tom Tromey  <tromey@redhat.com>
4325
4326         * java/lang/natString.cc (hashCode): Use cachedHashCode.
4327         (init()): Removed.
4328         (charAt): Put index in exception.
4329         (contentEquals): New method.
4330         Include StringBuffer.h.
4331         * java/lang/String.java (cachedHashCode): New field.
4332         (String()): Follow classpath implementation.
4333         (init()): Removed.
4334         (contentEquals): Declare.
4335         (subSequence): Don't declare IndexOutIfBoundsException in throws
4336         clause.
4337         (matches, replaceFirst, replaceAll, split): New methods from
4338         Classpath.
4339
4340 2003-03-29  Tom Tromey  <tromey@redhat.com>
4341
4342         * java/lang/String.java: Reordered to follow Classpath; merged in
4343         javadoc.
4344
4345         * java/text/MessageFormat.java: Removed some whitespace.
4346
4347         * Makefile.in: Rebuilt.
4348         * Makefile.am (awt_java_source_files): Added new files.
4349         * gnu/javax/rmi/PortableServer.java,
4350         gnu/javax/rmi/CORBA/DelegateFactory.java,
4351         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4352         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4353         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4354         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4355         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4356         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
4357         javax/rmi/PortableRemoteObject.java,
4358         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
4359         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4360         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
4361         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
4362         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
4363         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
4364
4365         * java/lang/natClass.cc (newInstance): Put method name in
4366         exception.
4367         (getConstructor): Likewise.
4368         (getDeclaredConstructor): Likewise.
4369         (getPrivateMethod): Likewise.
4370
4371 2003-03-28  Tom Tromey  <tromey@redhat.com>
4372
4373         * java/lang/reflect/Proxy.java: New version from Classpath.
4374         * java/lang/Package.java: New version from Classpath.
4375
4376 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
4377
4378         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
4379         * configure: Regenerate.
4380
4381 2003-03-28  Michael Koch  <konqueror@gmx.de>
4382
4383         * java/io/File.java:
4384         Import needed classes instead of whole packages, merged class
4385         documentation with classpath, moved constants and variables to top of
4386         class.
4387         * java/io/PrintStream.java:
4388         Merged class documentation with classpath, moved constants and
4389         variables to top of class.
4390         * java/io/RandomAccessFile.java
4391         (RandomAccessFile): Merged with classpath.
4392         (read): Merged with classpath).
4393         (read*): Reformatted.
4394
4395 2003-03-28  Michael Koch  <konqueror@gmx.de>
4396
4397         * java/io/FileDescriptor.java
4398         (finalize): Throws Throwable, not IOException.
4399         * java/io/ObjectOutputStream.java
4400         (PutField.put): Doesnt throws anything.
4401
4402 2003­03-28  Michael Koch  <konqueror@gmx.de>
4403
4404         * java/io/FileOutputStream.java:
4405         Merged class documentation and authors with classpath.
4406         (FileOutputStream): Partly merged with classpath.
4407         (write): Merged with classpath.
4408         (getChannel): Make it synchronized instead of explicit block in this
4409         method.
4410         * java/io/RandomAccessFile.java:
4411         Merged class documentation and authors with classpath.
4412
4413 2003-03-26  Tom Tromey  <tromey@redhat.com>
4414
4415         * java/lang/natRuntime.cc (insertSystemProperties): Set
4416         gnu.classpath.home.url.
4417         * Makefile.in: Rebuilt.
4418         * Makefile.am: Define LIBDIR.
4419
4420 2003-03-25  Michael Koch  <konqueror@gmx.de>
4421
4422         * java/io/FileInputStream.java
4423         (read): Renamed b to buf and off to offset.
4424         * java/io/FileOutputStream.java
4425         (ch): Documentation added.
4426         (FileOutputStream): Documentation added.
4427         (getFD): Documentation added.
4428         (write): Documentation added.
4429         (close): Documentation added.
4430         (getChannel): Documentation added.
4431
4432 2003-03-24  Michael Koch  <konqueror@gmx.de>
4433
4434         * java/io/DataOutputStream.java
4435         (write): Merged from classpath.
4436         * java/io/File.java:
4437         Merged copyrigth with classpath.
4438         * java/io/FileInputStream.java
4439         (getChannel): Made it synchronized instead of using a synchronized
4440         block.
4441         * java/io/FileOutputStream.java: Reformatted.
4442         * java/io/InputStreamReader.java
4443         (InputStreamReader): Renamed enc to encoding_name.
4444         (close): Merged documentation from classpath.
4445         (getEncoding): Merged documentation from classpath.
4446         (ready): Merged documentation from classpath.
4447         (read): Merged documentation from classpath.
4448         * java/io/LineNumberReader.java
4449         (lineNumber): Made it private.
4450         (LineNumberReader): Use Constant instead of a direct value.
4451         * java/io/OutputStreamWriter.java
4452         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
4453         documentation from classpath.
4454         (close): Merged documentation from classpath.
4455         (flush): Merged documentation from classpath.
4456         (write): Merged documentation from classpath.
4457         * java/io/PrintStream.java: Reformatted.
4458
4459 2003-03-24  Michael Koch  <konqueror@gmx.de>
4460
4461         * javax/swing/text/ComponentView.java
4462         (getComponent): Must be final.
4463         * javax/swing/tree/DefaultTreeCellRenderer.java:
4464         Reformatted.
4465         * javax/swing/undo/StateEditable.java:
4466         Reformatted.
4467
4468 2003-03-24  Michael Koch  <konqueror@gmx.de>
4469
4470         * java/rmi/activation/ActivationInstantiator.java:
4471         Reformatted.
4472         * java/rmi/activation/Activator.java:
4473         Reformatted.
4474         * java/rmi/registry/RegistryHandler.java:
4475         Remerged from classpath.
4476
4477 2003-03-24  Michael Koch  <konqueror@gmx.de>
4478
4479         * java/util/Date.java:
4480         Fixed documentation starting tag to make javadoc happy.
4481         * java/util/regex/Pattern.java
4482         (Pattern): Implements Serializable.
4483         * java/util/PatternSyntaxException.java
4484         (serialVersionUID): New member variable.
4485
4486 2003-03-24  Michael Koch  <koqnueror@gmx.de>
4487
4488         * java/awt/ContainerOrderFocusTraversalPolicy.java
4489         (getFirstComponent): Implemented.
4490         (getLastComponent): Implemented.
4491         (getDefaultComponent): Implemented.
4492         (setImplicitDownCycleTraversal): Fixed implementation.
4493         * java/awt/Robot.java
4494         (Robot): Added documentation.
4495         * java/awt/Toolkit.java
4496         (getFontList): Deprecated.
4497         (getFontMetrics): Deprecated.
4498         (getPrintJob): Added documentation.
4499         (getSystemSelection): Added documentation.
4500         (getLockingKeyState): Added documentation.
4501         (setLockingKeyState): Added documentation.
4502         (createCustomCursor): Added documentation.
4503         (getBestCursorSize): Added documentation.
4504         (getMaximumCursorColors): Added documentation.
4505         (isFrameStateSupported): Added documentation.
4506
4507 2003-03-24  Michael Koch  <konqueror@gmx.de>
4508
4509         * java/io/RandomAccessFile.java:
4510         More little merges with classpath. No code changes.
4511
4512 2003-03-24  Michael Koch  <konqueror@gmx.de>
4513
4514         * java/net/natInetAddressNoNet.cc:
4515         Include stddef.h.
4516         * java/net/natPlainDatagramSocketImplNoNet.cc:
4517         Fixed inlcude of java/net/DatagramPacket.h.
4518         * java/net/natPlainSocketImplNoNet.cc:
4519         Include some missing classes.
4520
4521 2003-03-24  Michael Koch  <konqueror@gmx.de>
4522
4523         * java/awt/dnd/DropTarget.java
4524         (DropTargetAutoScroller): According to the online documentation, this
4525         is protected, but in reality it is public.
4526         * java/awt/dnd/DropTargetContext.java
4527         (TransferableProxy): According to the online documentation, this
4528         is protected, but in reality it is public.
4529
4530 2003-03-24  Michael Koch  <konqueror@gmx.de>
4531
4532         * java/io/DataInputStream.java
4533         (): Wrapped documentation line.
4534         (): Fixed @return tag.
4535         * java/io/DataOutputStream.java
4536         (written): Moved to top of class.
4537         (all methods): Merged documentation from classpath.
4538         * java/io/File.java:
4539         Merged copyright year with classpath.
4540         * java/io/FileInputStream.java
4541         (all methods): Merged documentation from classpath.
4542         * java/io/LineNumberReader.java
4543         (getLineNumber): Fixed @return tag.
4544         * java/io/ObjectInputStream.java.
4545         Reformatted.
4546         * java/io/ObjectOutputStream.java:
4547         Reformatted, fixed some @see tags.
4548         * java/io/OutputStreamWriter.java:
4549         Deleted empty line.
4550         * java/io/Writer.java:
4551         Reformatted.
4552
4553 2003-03-24  Michael Koch  <konqueror@gmx.de>
4554
4555         * java/awt/Frame.java
4556         (DEFAULT_CURSOR): Fixed @deprecated tag.
4557         (setCursor): Fixed @deprecated tag.
4558
4559 2003-03-24  Michael Koch  <konqueror@gmx.de>
4560
4561         * java/beans/beancontext/BeanContextEvent.java:
4562         Reformated.
4563
4564 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
4565
4566         * java/lang/natStringBuffer.cc (regionMatches): New function.
4567         * java/lang/String.java (count): Now package-private.
4568         * java/lang/StringBuffer.java: Merged with Classpath.
4569
4570 2003-03-23  Michael Koch  <konqueror@gmx.de>
4571
4572         * java/io/BufferedOutputStream.java:
4573         Reformated.
4574         * java/io/BufferedReader.java:
4575         Reformated.
4576         * java/io/ByteArrayOutputStream.java
4577         (size): Fixed @see tag.
4578         * java/io/CharArrayWriter.java
4579         (size): Fixed @see tag.
4580         * java/io/DataInput.java:
4581         Reformated.
4582         * java/io/DataOutput.java:
4583         Reformated.
4584         * java/io/DataOutputStream.java:
4585         Merged copyright years with classpath.
4586         * java/io/Externalizable.java:
4587         Reformated.
4588         * java/io/FileFilter.java:
4589         Reformated.
4590         * java/io/FileInputStream.java:
4591         Merged copyright years with classpath.
4592         * java/io/FileOutputStream.java:
4593         Merged copyright years with classpath.
4594         * java/io/FilePermission.java
4595         (FilePermission): Replaced @XXX with FIXME:.
4596         * java/io/FileWriter.java:
4597         Reformated.
4598         * java/io/FilenameFilter.java:
4599         Reformated.
4600         * java/io/FilterInputStream.java:
4601         Reformated.
4602         * java/io/FilterOutputStream.java:
4603         Reformated.
4604         * java/io/FilterReader.java:
4605         Reformated.
4606         * java/io/FilterWriter.java:
4607         Reformated.
4608         * java/io/LineNumberInputStream.java
4609         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
4610         happy.
4611         (getLineNumber): Fixed @return tag.
4612         * java/io/ObjectInput.java:
4613         Reformated.
4614         * java/io/ObjectOutput.java:
4615         Reformated.
4616         * java/io/ObjectStreamClass.java:
4617         Reformated.
4618         * java/io/PrintStream.java:
4619         Merged copyright years with classpath.
4620         * java/io/PushbackReader.java
4621         (PushbackReader): Replaced @code with @param.
4622         * java/io/SerializablePermission.java:
4623         Reformated.
4624         * java/io/StreamTokenizer.java
4625         (resetSyntax): Fixed @see tag.
4626
4627 2003-03-22  Richard Henderson  <rth@redhat.com>
4628
4629         * sysdep/ia64/locks.h: Include ia64intrin.h.
4630         (compare_and_swap): Use __sync_bool_compare_and_swap.
4631         (compare_and_swap_release): Expose ar.ccv assignment.
4632
4633 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
4634
4635         * include/posix.h: Add suffix for darwin dynamic libraries.
4636
4637 2003-03-21  Michael Koch  <konqueror@gmx.de>
4638
4639         * javax/swing/Action.java
4640         (ACCELERATOR_KEY): New constant.
4641         (ACTION_COMMAND_KEY): Likewise.
4642         (MNEMONIC_KEY): Likewise.
4643         * javax/swing/UnsupportedLookAndFeelException.java
4644         (UnsupportedLookAndFeelException): Must be public.
4645         * javax/swing/WindowConstants.java
4646         (EXIT_ON_CLOSE): New constant.
4647         * javax/swing/text/BadLocationException.java
4648         (offset): New member variable.
4649         (BadLocationException): New implementation, documentation added.
4650         (offsetRequested): New method.
4651         * javax/swing/text/Caret.java:
4652         Reformated.
4653         * javax/swing/text/Document.java:
4654         Reformated.
4655
4656 2003-03-21  Michael Koch  <konqueror@gmx.de>
4657
4658         * java/rmi/activation/Activatable.java
4659         (serialVersionUID): New member variable.
4660         * java/rmi/activation/ActivationGroup.java
4661         (serialVersionUID): New member variable.
4662         * java/rmi/activation/ActivationGroupDesc.java
4663         (serialVersionUID): New member variable.
4664         * java/rmi/registry/Registry.java:
4665         Reformated.
4666         (Registry): Deprecated.
4667         * java/rmi/server/LoaderHandler.java
4668         Reformated.
4669         (LoaderHandler): Deprecated.
4670         * java/rmi/server/LogStream.java
4671         Reformated.
4672         (LogStream): Deprecated.
4673         * java/rmi/server/Operation.java
4674         (Operation): Deprecated.
4675         * java/rmi/server/RMIFailureHandler.java:
4676         Reformated.
4677         * java/rmi/server/RMISocketFactory.java:
4678         Reformated.
4679         * java/rmi/server/RemoteCall.java
4680         (RemoteCall): Deprecated.
4681         * java/rmi/server/RemoteStub.java:
4682         Reformated.
4683         * java/rmi/server/Skeleton.java
4684         Reformated.
4685         (Skeleton): Deprecated.
4686
4687 2003-03-21  Michael Koch  <konqueror@gmx.de>
4688
4689         * java/io/LineNumberReader.java
4690         (LineNumberReader): Merged documentation with classpath.
4691         (getLineNumber): Likewise.
4692         (setLineNumber): Likewise.
4693         (mark): Likewise.
4694         (reset): Likewise.
4695         (read): Likewise.
4696         (readLine): Likewise.
4697         (skip): Likewise.
4698
4699 2003-03-21  Michael Koch  <konqueror@gmx.de>
4700
4701         * java/rmi/RMISecurityManager.java
4702         (checkAccept): Removed.
4703         (checkAccess): Likewise.
4704         (checkAccess): Likewise.
4705         (checkAwtEventQueueAccess): Likewise.
4706         (checkConnect): Likewise.
4707         (checkCreateClassLoader): Likewise.
4708         (checkDelete): Likewise.
4709         (checkExec): Likewise.
4710         (checkExit): Likewise.
4711         (checkLink): Likewise.
4712         (checkListen): Likewise.
4713         (checkMemberAccess): Likewise.
4714         (checkMulticast): Likewise.
4715         (checkPackageAccess): Likewise.
4716         (checkPackageDefinition): Likewise.
4717         (checkPermission): Likewise.
4718         (checkPrintJobAccess): Likewise.
4719         (checkPropertiesAccess): Likewise.
4720         (checkPropertyAccess): Likewise.
4721         (checkRead): Likewise.
4722         (checkSecurityAccess): Likewise.
4723         (checkSetFactory): Likewise.
4724         (checkSystemClipboardAccess): Likewise.
4725         (checkTopLevelWindow): Likewise.
4726         (checkWrite): Likewise.
4727
4728 2003-03-20  Michael Koch  <konqueror@gmx.de>
4729
4730         * gnu/java/nio/FileChannelImpl.java
4731         (address): Removed.
4732         (map_address): New member variable.
4733         (length): Make it package private.
4734         (fd): Make it package private.
4735         (buf): Make it package private.
4736         (file_obj): Make it package private.
4737         (FileChannelImpl): New constructor.
4738         (nio_mmap_file): Use RawData instead of long.
4739         (nio_munmap_file): Use RawData instead of long.
4740         (nio_msync): Use RawData instead of long.
4741         (implCloseChannel): New implementation using map_address.
4742         (read): Reformated.
4743         (map): Implemented.
4744         (create_direct_mapped_buffer): Implemented, use RawData, throws
4745         IOException.
4746         (force): Use map_address instead of address.
4747         * gnu/java/nio/MappedByteFileBuffer.java
4748         (address): Removed.
4749         (map_address): New member variable.
4750         (MappedByteFileBuffer): Use map_address instead of address, reformated.
4751         (several methods): Use map_address instead of address, replaced long
4752         with RawData where appropriate.
4753         * gnu/java/nio/natFileChannelImpl.cc
4754         (nio_mmap_file): Replaced long with RawData.
4755         (nio_munmap_file): Replaced long with RawData.
4756         (nio_msync): Replaced long with RawData.
4757         * gnu/java/nio/natMappedByteFileBuffer.cc
4758         (several methods): Replaced long with RawData where appropriate.
4759
4760 2003-03-20  Michael Koch  <konqueror@gmx.de>
4761
4762         * java/net/InetAddress.java,
4763         java/net/JarURLConnection.java,
4764         java/net/PlainDatagramSocketImpl.java,
4765         java/net/PlainSocketImpl.java,
4766         java/net/URLConnection.java:
4767         Merged copyright statements with classpath for easier merging.
4768
4769 2003-03-20  Michael Koch  <konqueror@gmx.de>
4770
4771         * java/io/FileInputStream.java
4772         (getChannel): New implementation.
4773         * java/io/FileOutputStream.java
4774         (ch): New member variable.
4775         (getChannel): Implemented.
4776         * java/io/RandomAccessFile.java
4777         (RandomAccessFile): Throws FileNotFoundException instead of
4778         IOException.
4779         (getChannel): New method.
4780         (ch): New member variable.
4781
4782 2003-03-20  Michael Koch  <konqueror@gmx.de>
4783
4784         * java/io/DataOutputStream.java,
4785         java/io/File.java,
4786         java/io/FileInputStream.java,
4787         java/io/FileOutputStream.java,
4788         java/io/InputStreamReader.java,
4789         java/io/LineNumberReader.java,
4790         java/io/OutputStreamWriter.java,
4791         java/io/PrintStream.java,
4792         java/io/RandomAccessFile.java:
4793         Merged copyright statements with classpath for easier merging.
4794
4795 2003-03-19  Michael Koch  <konqueror@gmx.de>
4796
4797         * java/lang/Process.java:
4798         Merged from classpath.
4799
4800 2003-03-19  Michael Koch  <konqueror@gmx.de>
4801
4802         * java/io/FileOutputStream.java
4803         (FileOutputStream): New constructor, merged from classpath.
4804         * java/io/FileWriter.java
4805         (FileWriter): New constructor, merged from classpath.
4806
4807 2003-03-18  Michael Koch  <konqueror@gmx.de>
4808
4809         * java/awt/ScrollPane.java
4810         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4811         (getViewportSize): Likewise.
4812         (addNotify): Likewise.
4813         (removeNotify): Likewise.
4814         * java/awt/ScrollPaneAdjustable.java
4815         (ScrollPaneAdjustable): No longer extends Scrollbar.
4816         * java/beans/beancontext/BeanContextServices.java:
4817         Reformated.
4818         (getService): Added throws TooManyListenersException;
4819         * java/beans/beancontext/BeanContextServicesSupport.java:
4820         Reformated.
4821
4822 2003-03-18  Michael Koch  <konqueror@gmx.de>
4823
4824         * java/io/BufferedOutputStream.java,
4825         java/io/DataInput.java,
4826         java/io/DataInputStream.java,
4827         java/io/DataOutput.java,
4828         java/io/Externalizable.java:
4829         More merges from classpath.
4830
4831 2003-03-18  Michael Koch  <konqueror@gmx.de>
4832
4833         * configure.in: Fixed links to platform dependant java.net files.
4834         * configure: Regenerated.
4835         * java/net/natInetAddress.cc,
4836         java/net/natNetworkInterface.cc,
4837         java/net/natPlainDatagramSocketImpl.cc,
4838         java/net/natPlainSocketImpl.cc:
4839         Removed.
4840
4841 2003-03-18  Michael Koch  <konqueror@gmx.de>
4842
4843         * configure.in: Create links to architecture dependent files,
4844         introduced PLATFORMNET variable (set to NoNet for newlib usage).
4845         * configure: Regenerated.
4846         * java/net/natInetAddressNoNet.cc,
4847         java/net/natInetAddressPosix.cc,
4848         java/net/natInetAddressWin32.cc,
4849         java/net/natNetworkInterfaceNoNet.cc,
4850         java/net/natNetworkInterfacePosix.cc,
4851         java/net/natNetworkInterfaceWin32.cc,
4852         java/net/natPlainDatagramSocketImplNoNet.cc,
4853         java/net/natPlainDatagramSocketImplPosix.cc,
4854         java/net/natPlainDatagramSocketImplWin32.cc,
4855         java/net/natPlainSocketImplNoNet.cc,
4856         java/net/natPlainSocketImplPosix.cc,
4857         java/net/natPlainSocketImplWin32.cc: New files.
4858
4859 2003-03-18  Michael Koch  <konqueror@gmx.de>
4860
4861         * java/io/BufferedReader.java,
4862         java/io/BufferedWriter.java,
4863         java/io/ByteArrayOutputStream.java,
4864         java/io/FileFilter.java,
4865         java/io/FilePermission.java,
4866         java/io/FileReader.java,
4867         java/io/FileWriter.java,
4868         java/io/FilenameFilter.java,
4869         java/io/FilterInputStream.java,
4870         java/io/FilterOutputStream.java,
4871         java/io/FilterReader.java,
4872         java/io/FilterWriter.java,
4873         java/io/ObjectInput.java,
4874         java/io/ObjectInputValidation.java,
4875         java/io/ObjectOutput.java,
4876         java/io/ObjectStreamField.java,
4877         java/io/PipedInputStream.java,
4878         java/io/PipedReader.java,
4879         java/io/PrintWriter.java,
4880         java/io/PushbackReader.java,
4881         java/io/Reader.java,
4882         java/io/SerializablePermission.java,
4883         java/io/StringReader.java,
4884         java/io/Writer.java:
4885         Merged from classpath.
4886
4887 2003-03-17  Michael Koch  <konqueror@gmx.de>
4888
4889         * java/awt/ScrollPaneAdjustable.java:
4890         Compile fixes.
4891         
4892 2003-03-17  Michael Koch  <konqueror@gmx.de>
4893
4894         * java/net/DatagramSocket.java
4895         (connect): Fixed comment.
4896         * java/nio/ByteBuffer.java
4897         (hasArray): Fixed comment.
4898
4899 2003-03-17  Michael Koch  <konqueror@gmx.de>
4900
4901         * java/beans/Beans.java:
4902         Explicitely import classes not packages.
4903         * java/beans/FeatureDescriptor.java
4904         (preferred): New member variable.
4905         (isPreferred): New method.
4906         (setPreferred): New method.
4907         * java/beans/PropertyEditorManager.java:
4908         Explicitely import used classes.
4909         * java/beans/beancontext/BeanContextChild.java:
4910         Added line wrapping.
4911         * java/beans/beancontext/BeanContextChildSupport.java:
4912         Reindented.
4913         * java/beans/beancontext/BeanContextEvent.java:
4914         Reindented.
4915
4916 2003-03-17  Michael Koch  <konqueror@gmx.de>
4917
4918         * java/awt/Dialog.java
4919         (Dialog): New constructor, changed implementations, added
4920         documentation.
4921         * java/awt/ScrollPaneAdjustable.java
4922         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4923         Serializable.
4924         (serialVersionUID): New member variable.
4925         (sp): New member variable.
4926         (orientation): New member variable.
4927         (value): New member variable.
4928         (minimum): New member variable.
4929         (maximum): New member variable.
4930         (visibleAmount): New member variable.
4931         (unitIncrement): New member variable.
4932         (blockIncrement): New member variable.
4933         (AdjustmentListener): New member variable.
4934         (ScrollPaneAdjustable): New implementation.
4935         (addAdjustmentListener): New method.
4936         (removeAdjustmentListener): New method.
4937         (getAdjustmentListeners): New method.
4938         (getBlockIncrement): New method.
4939         (getMaximum): New method.
4940         (getMinimum): New method.
4941         (getOrientation): New method.
4942         (getUnitIncrement): New method.
4943         (getValue): New method.
4944         (getVisibleAmount): New method.
4945         (setBlockIncrement): New method.
4946         (setMaximum): Implemented.
4947         (setMinimum): Implemented.
4948         (setUnitIncrement): New method.
4949         (setValue): New method.
4950         (setVisibleAmount): Implemented. 
4951         (paramString): New stubbed method.
4952         * java/awt/Window.java
4953         (show): Call setVisible().
4954         (hide): Call setVisible().
4955         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4956         and WINDOW_STATE_CHANGED.
4957         (processWindowFocusEvent): New method.
4958         (processWindowStateEvent): New method.
4959         (postEvent): Deprecated.
4960         (applyResourceBundle): Deprecated.
4961         * java/awt/datatransfer/DataFlavor.java
4962         (DataFlavor): Doesn't thow ClassNotFoundException.
4963
4964 2003-03-17  Michael Koch
4965
4966         * javax/print/attribute/Attribute.java,
4967         javax/print/attribute/AttributeSet.java,
4968         javax/print/attribute/PrintRequestAttributeSet.java:
4969         New files.
4970         * Makefile.am
4971         (javax_source_files): Added new files:
4972         javax/print/attribute/Attribute.java
4973         javax/print/attribute/AttributeSet.java
4974         javax/print/attribute/PrintRequestAttributeSet.java
4975         * Makefile.in: Regenerated.
4976
4977 2003-03-17  Michael Koch
4978
4979         * javax/print/attribute/Attribute.java,
4980         javax/print/attribute/AttributeSet.java,
4981         javax/print/attribute/PrintRequestAttributeSet.java:
4982         New files.
4983         * Makefile.am
4984         (awt_java_source_files): Added new files:
4985         javax/print/attribute/Attribute.java
4986         javax/print/attribute/AttributeSet.java
4987         javax/print/attribute/PrintRequestAttributeSet.java
4988         * Makefile.in: Regenerated.
4989
4990 2003-03-16  Tom Tromey  <tromey@redhat.com>
4991
4992         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4993         Include platform.h.
4994         * java/lang/natRuntime.cc (insertSystemProperties): Use
4995         _Jv_platform_path_separator.
4996         (nativeGetLibname): Use _Jv_platform_file_separator.
4997         (_load): Use _Jv_platform_onload_names.
4998         (onload_names): New global.
4999         * include/win32.h (_Jv_platform_file_separator): New define.
5000         (_Jv_platform_path_separator): Likewise.
5001         (_Jv_platform_onload_names): Likewise.
5002         (_Jv_platform_ffi_abi): Likewise.
5003         * include/posix.h (_Jv_platform_file_separator): New define.
5004         (_Jv_platform_path_separator): Likewise.
5005         (_Jv_platform_onload_names): Likewise.
5006         (_Jv_platform_ffi_abi): Likewise.
5007
5008 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
5009
5010         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5011
5012 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
5013
5014         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5015         hierarchy loop.
5016         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5017         list to Object,ObjectStreamClass, moved callReadMethod code up into
5018         readObject and added Class argument to all setXxxField calls.
5019         (callReadMethod): Changed Class argument to ObjectStreamClass to be
5020         consistent with ObjectOutputStream and to facilitate caching the
5021         Method in the future.
5022         (setBooleanField): Added Class argument.
5023         (setByteField): Likewise.
5024         (setCharField): Likewise.
5025         (setDoubleField): Likewise.
5026         (setFloatField): Likewise.
5027         (setIntField): Likewise.
5028         (setLongField): Likewise.
5029         (setShortField): Likewise.
5030         (setObjectField): Likewise.
5031         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5032         class hierarchy loop.
5033         (defaultWriteObject): Call writeFields with new argument list.
5034         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5035         list to Object,ObjectStreamClass, moved callWriteMethod up into
5036         writeObject and added Class argument to all getXxxField calls.
5037         (callWriteMethod): Added ObjectStreamClass argument to be able to
5038         get the proper class to call getMethod on (each class can have (or
5039         not have) its own writeObject method).
5040         (getBooleanField): Added Class argument.
5041         (getByteField): Likewise.
5042         (getCharField): Likewise.
5043         (getDoubleField): Likewise.
5044         (getFloatField): Likewise.
5045         (getIntField): Likewise.
5046         (getLongField): Likewise.
5047         (getShortField): Likewise.
5048         (getObjectField): Likewise.
5049         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
5050         facilitate caching the Method object in the future.
5051
5052 2003-03-12  Andreas Schwab  <schwab@suse.de>
5053
5054         * configure.in: Avoid trailing /. in toolexeclibdir.
5055         * configure: Rebuilt.
5056
5057 2003-03-11  Michael Koch  <konqueror@gmx.de>
5058
5059         * gnu/java/nio/ByteBufferImpl.java
5060         (putInt): Use limit() instead of limit.
5061         * gnu/java/nio/CharBufferImpl.java
5062         (slice): Fixed implementation.
5063         (subSequence): Better bounds checking.
5064         * gnu/java/nio/MappedByteFileBuffer.java:
5065         Import all needed classes directly.
5066         * java/nio/ByteBuffer.java
5067         (hashCode): New dummy method.
5068         * java/nio/CharBuffer.java
5069         (array_offset): New member variable.
5070         (hasArray): Fixed documentation.
5071         (arrayOffset): Return array_offset.
5072
5073 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
5074
5075         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
5076         setter; made return value of getter const char* instead of char*
5077         * prims.cc: removed all references to _Jv_ThisExecutable().
5078         These are in the platform-specific sections now.
5079         * posix.cc: define platform-specific _Jv_ThisExecutable().
5080         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
5081         * win32.cc: define platform-specific _Jv_ThisExecutable()
5082         using GetModuleFilename()
5083         * java/lang/natRuntime.cc: set gnu.gcj.progname property
5084         to argv[0] instead of _Jv_ThisExecutable()
5085
5086 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
5087
5088         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
5089         that is set if we are using addr2name.awk instead of addr2line.
5090         (NameFinder): Set usingAddr2name if using addr2name.awk.
5091         (getExternalLabel): New native method to convert a method 
5092         name to an external label.
5093         (lookup): Convert name given by addr2line to an external label
5094         before demangling.
5095
5096         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
5097         constant representing the prefix attached to method names to
5098         convert them to an external label.
5099         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
5100         using LABEL_PREFIX.
5101
5102 2003-03-10  Tom Tromey  <tromey@redhat.com>
5103
5104         * Makefile.in: Rebuilt.
5105         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
5106         (JC1FLAGS): Removed -Wno-deprecated.
5107
5108 2003-03-10  Michael Koch  <konqueror@gmx.de>
5109
5110         * java/nio/ByteOrder.java
5111         (nativeOrder): Working implementation, added documentation.
5112         (toString): Added documentation.
5113
5114 2003-03-10  Michael Koch  <konqueror@gmx.de>
5115
5116         * java/net/DatagramSocket.java,
5117         java/net/MulticastSocket.java,
5118         java/net/Socket.java,
5119         java/net/URL.java,
5120         java/net/URLConnection.java:
5121         Fixed some documentation tags to make javadoc and friends happy.
5122
5123 2003-03-10  Michael Koch  <koqnueror@gmx.de>
5124
5125         * java/beans/beancontext/BeanContextServicesSupport.java,
5126         java/beans/beancontext/BeanContextSupport.java: New files.
5127         * Makefile.am
5128         (awt_source_files): Added new files.
5129         * Makefile.in: Regenerated.
5130
5131 2003-03-10  Michael Koch  <konqueror@gmx.de>
5132
5133         * java/awt/FocusTraversalPolicy.java
5134         (FocusTraversalPolicy): Documentation added.
5135         (getComponentAfter): Documentation added.
5136         (getComponentBefore): Documentation added.
5137         (getFirstComponent): Documentation added.
5138         (getLastComponent): Documentation added.
5139         (getDefaultComponent): Documentation added.
5140         (getInitialComponent): Documentation added.
5141         * java/awt/ScrollPaneAdjustable.java
5142         (sp): New member variable.
5143         (orientation): New member variable.
5144         (value): New member variable.
5145         (minimum): New member variable.
5146         (maximum): New member variable.
5147         (visibleAmount): New member variable.
5148         (unitIncrement): New member variable.
5149         (blockIncrement): New member variable.
5150         (adjustmentListener): New member variable.
5151         (ScrollPaneAdjustable): Rewrote.
5152         (addAdjustmentListener): New method.
5153         (removeAdjustmentListener): New method.
5154         (getAdjustmentListeners): New method.
5155         (getBlockIncrement): New method.
5156         (getMaximum): New method.
5157         (getMinimum): New method.
5158         (getOrientation): New method.
5159         (getUnitIncrement): New method.
5160         (getValue): New method.
5161         (getVisibleAmount): New method.
5162         (setBlockIncrement): New method.
5163         (setUnitIncrement): New method.
5164         (setMaximum): Implemented.
5165         (setMinimum): Implemented.
5166         (setValue): New method.
5167         (setVisibleAmount): Implemented.
5168         (paramString): New method.
5169         * java/awt/Window.java
5170         (show): Use setVisible(true) instead of super.show().
5171         (hide): Use sevVisible(false) instead of super.hide().
5172         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
5173         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
5174         (postEvent): Deprecated.
5175         (applyResourceBundle): Deprecated.
5176         (processWindowFocusEvent): New method.
5177         (processWindowStateEvent): New method.
5178         * java/awt/datatransfer/DataFlavor.java: Reindented.
5179         * java/awt/font/TextHitInfo.java
5180         (charIndex): New member variable.
5181         (leadingEdge): New member variable.
5182         (TextHitInfo): New constructor.
5183         (getCharIndex): Implemented.
5184         (isLeadingEdge): Implemented.
5185         (getInsertionIndex): Implemented.
5186         (hashCode): Access charIndex directly.
5187         (equals): Reformated.
5188         (leading): Implemented.
5189         (trailing): Implemented.
5190         (beforeOffset): Implemented.
5191         (afterOffset): Implemented.
5192         (getOtherHit): Implemented.
5193         (getOffsetHit): Implemented.
5194         (toString): Implemented.
5195         * java/awt/image/BufferedImage.java
5196         (BufferedImage): Implements WritableRenderedImage.
5197         (observers): New member variable.
5198         (addTileObserver): New method.
5199         (removeTileObserver): New method.
5200
5201 2003-03-09  Tom Tromey  <tromey@redhat.com>
5202
5203         PR libgcj/9934:
5204         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
5205         to lseek.  Return 0 if we can't compute the value.
5206
5207 2003-03-03  Michael Koch  <konqueror@gmx.de>
5208
5209         * java/net/NetworkInterface.java: Merged with classpath.
5210
5211 2003-03-03  Tom Tromey  <tromey@redhat.com>
5212
5213         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
5214         of bytecode.
5215         (handle_ret_insn): Fail if returning to jsr that appears at end of
5216         bytecode.
5217
5218 2003-03-03  Michael Koch  <konqueror@gmx.de>
5219
5220         * Makefile.am
5221         (ordinary_java_source_files):
5222         Added gnu/java/nio/MappedByteFileBuffer.java.
5223         (nat_source_files):
5224         Added gnu/java/nio/natMappedByteFileBuffer.cc.
5225         * Makefile.in: Regenerated.
5226
5227 2003-03-03  Michael Koch  <konqueror@gmx.de>
5228
5229         * java/net/DatagramSocket.java
5230         (connect): Merged comment from classpath.
5231         (receive): Merged documentation from classpath.
5232         * java/net/Socket.java
5233         (setSoTimeout): Clarified documentation.
5234         * java/net/URL.java
5235         (getPath): Merged from classpath.
5236         (getUserInfo): Merged from classpath.
5237         (getQuery): Merged from classpath.
5238         * java/net/URLStreamHandler.java
5239         (toExternalForm): Merged from classpath.
5240
5241 2003-03-02  Mark Wielaard  <mark@klomp.org>
5242
5243         * java/util/Properties.java (load): Only skip line if the first
5244         character is a comment, whitespaces don't count.
5245
5246 2003-03-02  Michael Koch  <konqueror@gmx.de>
5247
5248         * java/net/NetPermission.java:
5249         Merged copyright with classpath.
5250
5251 2003-03-02  Michael Koch  <konqueror@gmx.de>
5252
5253         * java/lang/Package.java:
5254         Remerged from classpath.
5255
5256 2003-03-02  Michael Koch  <konqueror@gmx.de>
5257
5258         * java/net/HttpURLConnection.java
5259         (HTTP_SERVER_ERROR): Deprecated.
5260         * java/net/MulticastSocket.java
5261         (send): Replaced checkMulticast with appropriate checkPermission call,
5262         deprecated.
5263         * java/net/URLDecoder.java
5264         (decode): Deprecated.
5265         * java/net/URLEncoder.java
5266         (encode): Deprecated.
5267
5268 2003-03-02  Michael Koch  <konqueror@gmx.de>
5269
5270         * javax/swing/text/Caret.java
5271         (getMagicCaretPosition): Fixed typo in method name.
5272         * javax/swing/text/DefaultCaret.java
5273         (getMagicCaretPosition): Fixed typo in method name.
5274
5275 2003-03-02  Michael Koch  <konqueror@gmx.de>
5276
5277         * java/awt/List.java
5278         (setMultipleSelections): Deprecated.
5279         (delItem): Deprecated.
5280         * java/awt/MenuComponent.java
5281         (getPeer): Deprecated.
5282         * java/awt/ScrollPane.java
5283         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
5284         * java/awt/dnd/MouseDragGestureRecognizer.java
5285         (mouseClicked): Added comment.
5286         (mousePressed): Added comment.
5287         (mouseReleased): Added comment.
5288         (mouseEntered): Added comment.
5289         (mouseExited): Added comment.
5290         (mouseDragged): Added comment.
5291         (mouseMoved): Added comment.
5292         * java/awt/event/KeyEvent.java
5293         (KeyEvent): Deprecated.
5294         (setModifiers): Deprecated.
5295         
5296 2003-03-02  Michael Koch  <konqueror@gmx.de>
5297
5298         * gnu/java/nio/FileChannelImpl.java
5299         (fd): Type FileDescriptor instead of int.
5300         (lengthInternal): Removed.
5301         (FileChannelImpl): Fixed arguments, check type of file object.
5302         (size): Made it native.
5303         (implPosition): New native method.
5304         (implTruncate): New native method.
5305         (position): Implemented.
5306         (truncate): Implemented.
5307         (nio_mmap_file): Changed arguments.
5308         (nio_munmap_file): Changed arguments.
5309         (nio_msync): Changed arguments.
5310         * gnu/java/nio/natFileChannelImpl.cc
5311         (lengthInternal): Removed.
5312         (size): New method.
5313         (implPosition): New method.
5314         (implTruncate): New method.
5315         (nio_mmap_file): Changed arguments.
5316         (nio_munmap_file): Changed arguments.
5317         (nio_msync): Changed arguments.
5318
5319 2003-03-02  Michael Koch  <konqueror@gmx.de>
5320
5321         * java/awt/dnd/DropTargetContext.java:
5322         Compile fix: Forgot to commit import.
5323         
5324 2003-03-02  Michael Koch  <konqueror@gmx.de>
5325
5326         * java/awt/Component.java,
5327         java/awt/ScrollPane.java:
5328         Fixed typos.
5329
5330 2003-03-02  Michael Koch  <konqueror@gmx.de>
5331
5332         * java/awt/dnd/DnDEventMulticaster.java: New file.
5333         * java/awt/dnd/DragSource.java
5334         (flavorMap): New member variable.
5335         (dragSourceListener): New member variable.
5336         (dragSourceMotionListener): New member variable.
5337         (getFlavorMap): Implemented.
5338         (createDragGestureRecognizer): Implemented.
5339         (addDragSourceListener): Implemented.
5340         (removeDragSourceListener): Implemented.
5341         (getDragSourceListeners): Implemented.
5342         (addDragSourceMotionListener): Implemented.
5343         (removeDragSourceMotionListener): Implemented.
5344         (getDragSourceMotionListeners): Implemented.
5345         (getListeners): Implemented.
5346         * java/awt/dnd/DragSourceContext.java
5347         (peer): New member variable.
5348         (cursor): New member variable.
5349         (transferable): New member variable.
5350         (trigger): New member variable.
5351         (dragSourceListener): New member variable.
5352         (image): New member variable.
5353         (offset): New member variable.
5354         (DragSourceContext): Implemented.
5355         (getDragSource): Implemented.
5356         (getComponent): Implemented.
5357         (getTrigger): Implemented.
5358         (getSourceActions): Implemented.
5359         (setCursor): Implemented.
5360         (getCursor): Implemented.
5361         (addDragSourceListener): Implemented.
5362         (removeDragSourceListener): Implemented.
5363         (getTransferable): Implemented.
5364         * java/awt/dnd/DropTarget.java
5365         (DropTargetAutoScroller.component): New member variable.
5366         (DropTargetAutoScroller.point): New member variable.
5367         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
5368         (DropTargetAutoScroller.updateLocation): Implemented.
5369         (active): Renamed from isActive, defaults to true now.
5370         (component): New member variable.
5371         (flavorMap): New member variable.
5372         (actions): New member variable.
5373         (dropTargetContext): New member variable.
5374         (dropTargetListener): New member variable.
5375         (DropTarget): Implemented.
5376         (getComponent): Implemented.
5377         (setComponent): Implemented.
5378         (setDefaultActions): Implemented.
5379         (getDefaultActions): Implemented.
5380         (setActive): Use active instead of isActive.
5381         (isActive): Use active instead of isActive.
5382         (addDropTargetListener): Implemented.
5383         (removeDropTargetListener): Implemented.
5384         (getFlavorMap): Implemented.
5385         (setFlavorMap): Implemented.
5386         (getDropTargetContext): Implemented.
5387         (createDropTargetContext): Implemented.
5388         (createDropTargetAutoScroller): Implemented.
5389         * java/awt/dnd/DropTargetContext.java
5390         (TransferableProxy.getTransferDataFlavors): Implemented.
5391         (TransferableProxy.isDataFlavorSupported): Implemented.
5392         (TransferableProxy.getTransferData): Implemented.
5393         (dropTarget):  New member variable.
5394         (dtcp): New member variable.
5395         (DropTargetContext): New package private constructor.
5396         (getDropTarget): Implemented.
5397         (getComponent): Implemented.
5398         (addNotify): Implemented.
5399         (removeNotify): Implemented.
5400         (getCurrentDataFlavorsAsList): Implemented.
5401         (isDataFlavorSupported): Implemented.
5402         * java/awt/dnd/MouseDragGestureRecognizer.java
5403         (registerListeners): Implemented.
5404         (unregisterListeners): Implemented.
5405         * Makefile.am
5406         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
5407         * Makefile.in: Regenerated.
5408
5409 2003-03-02  Michael Koch  <konqueror@gmx.de>
5410
5411         * java/awt/Component.java
5412         (eventTypeEnabled): New method.
5413         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
5414         * java/awt/Container.java
5415         (changeSupport): New member variable.
5416         (addPropertyChangeListener): New methods.
5417         * java/awt/ContainerOrderFocusTraversalPolicy.java
5418         (ContainerOrderFocusTraversalPolicy): Added comment.
5419         (getComponentAfter): Throw exception, documentation added.
5420         (getComponentBefore): Throw exception, documentation added.
5421         (getFirstComponent): Throw exception, documentation added.
5422         (getLastComponent): Throw exception, documentation added.
5423         (getDefaultComponent): Throw exception, documentation added.
5424         * java/awt/EventQueue.java: Reindented.
5425         * java/awt/FocusTraversalPolicy.java:
5426         (FocusTraversalPolicy): Added comment.
5427         (getComponentAfter): Documentation added.
5428         (getComponentBefore): Documentation added.
5429         (getFirstComponent): Documentation added.
5430         (getLastComponent): Documentation added.
5431         (getDefaultComponent): Documentation added.
5432         (getInitialComponent): Documentation added.
5433         * java/awt/ScrollPane.java
5434         (wheelScrollingEnabled): New member variable.
5435         (ScrollPane): Initialize wheelScollingEnabled.
5436         (eventTypeEnabled): New method.
5437         (isWheelScrollingEnabled): New method.
5438         (setWheelScrollingEnabled): New method.
5439
5440 2003-03-02  Michael Koch  <konqueror@gmx.de>
5441
5442         * java/net/DatagramSocket.java
5443         (closed): New member variable.
5444         (close): Use closed variable.
5445         (getInetAddress): No need to call isConnected().
5446         (getPort): No need to call isConnected().
5447         (disconnect): Reset remoteAddress and remotePort, fixed typo.
5448         (isClosed): Reimplemented.
5449         
5450 2003-03-02  Michael Koch  <konqueror@gmx.de>
5451
5452         * configure.in: Added check for memory mapping of files.
5453         * configure: Regenerated.
5454         * config.h.in: Regenerated.
5455
5456 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
5457
5458         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
5459         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
5460
5461 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
5462
5463         * java/io/File.java (normalizePath): Remove trailing separator
5464         on Windows only if path is not of the form "x:\".
5465
5466         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
5467         (java::io::File::attr): Change formatting a bit and use
5468         WIN32_EPOCH_MILLIS instead of magic numbers.
5469         (java::io::File::isAbsolute): Path must have at least 3 
5470         characters for a UNC network path.
5471         (java::io::File::init_native): Define.
5472         (java::io::File::performCreate): Likewise.
5473         (java::io::File::performSetReadOnly): Likewise.
5474         (java::io::File::performSetLastModified): Likewise.
5475         (java::io::File::performListRoots): Likewise.
5476
5477 2003-03-01  Tom Tromey  <tromey@redhat.com>
5478
5479         * java/lang/natObject.cc: Don't include assert.h.
5480         (heavy_lock_obj_finalization_proc): Use JvAssert.
5481         (remove_all_heavy): Likewise.
5482         (_Jv_MonitorEnter): Likewise.
5483         (_Jv_MonitorExit): Likewise.
5484         (wait): Likewise.
5485
5486 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
5487
5488         * java/io/File (getAbsolutePath): Prefix drive specifier on
5489         Windows for paths starting with a '\'.
5490         (toURL): Make URL more consistent with what Sun's JDK returns.
5491
5492         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
5493         true only if the path is a UNC network path or it starts with a
5494         drive specifier.
5495
5496         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
5497         Be prepared to handle either '/' or '\\' in the file path for
5498         Windows if using the "file" protocol.
5499         Canonicalise the file path if using a relative path in the given
5500         context and the "file" protocol.
5501
5502 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
5503
5504         * java/lang/natWin32Process.cc (startProcess): Double-quote each
5505         program array element passed to CreateProcess.
5506
5507 2003-03-01  Tom Tromey  <tromey@redhat.com>
5508
5509         * java/rmi/registry/RegistryHandler.java: Deprecate.
5510
5511 2003-03-01  Tom Tromey  <tromey@redhat.com>
5512
5513         * javax/accessibility/AccessibleEditableText.java,
5514         javax/accessibility/AccessibleHyperlink.java: New versions from
5515         Classpath.
5516
5517         * gnu/java/locale/LocaleInformation_af_ZA.java,
5518         gnu/java/locale/LocaleInformation_ar_AE.java,
5519         gnu/java/locale/LocaleInformation_ar_BH.java,
5520         gnu/java/locale/LocaleInformation_ar_DZ.java,
5521         gnu/java/locale/LocaleInformation_ar_EG.java,
5522         gnu/java/locale/LocaleInformation_ar_IN.java,
5523         gnu/java/locale/LocaleInformation_ar_IQ.java,
5524         gnu/java/locale/LocaleInformation_ar_JO.java,
5525         gnu/java/locale/LocaleInformation_ar_KW.java,
5526         gnu/java/locale/LocaleInformation_ar_LB.java,
5527         gnu/java/locale/LocaleInformation_ar_LY.java,
5528         gnu/java/locale/LocaleInformation_ar_MA.java,
5529         gnu/java/locale/LocaleInformation_ar_OM.java,
5530         gnu/java/locale/LocaleInformation_ar_QA.java,
5531         gnu/java/locale/LocaleInformation_ar_SD.java,
5532         gnu/java/locale/LocaleInformation_ar_SY.java,
5533         gnu/java/locale/LocaleInformation_ar_TN.java,
5534         gnu/java/locale/LocaleInformation_ar_YE.java,
5535         gnu/java/locale/LocaleInformation_be_BY.java,
5536         gnu/java/locale/LocaleInformation_bn_IN.java,
5537         gnu/java/locale/LocaleInformation_br_FR.java,
5538         gnu/java/locale/LocaleInformation_bs_BA.java,
5539         gnu/java/locale/LocaleInformation_ca_ES.java,
5540         gnu/java/locale/LocaleInformation_cs_CZ.java,
5541         gnu/java/locale/LocaleInformation_cy_GB.java,
5542         gnu/java/locale/LocaleInformation_da_DK.java,
5543         gnu/java/locale/LocaleInformation_de_AT.java,
5544         gnu/java/locale/LocaleInformation_de_BE.java,
5545         gnu/java/locale/LocaleInformation_de_CH.java,
5546         gnu/java/locale/LocaleInformation_de_DE.java,
5547         gnu/java/locale/LocaleInformation_de_LU.java,
5548         gnu/java/locale/LocaleInformation_el_GR.java,
5549         gnu/java/locale/LocaleInformation_en_AU.java,
5550         gnu/java/locale/LocaleInformation_en_BW.java,
5551         gnu/java/locale/LocaleInformation_en_CA.java,
5552         gnu/java/locale/LocaleInformation_en_DK.java,
5553         gnu/java/locale/LocaleInformation_en_GB.java,
5554         gnu/java/locale/LocaleInformation_en_HK.java,
5555         gnu/java/locale/LocaleInformation_en_IE.java,
5556         gnu/java/locale/LocaleInformation_en_IN.java,
5557         gnu/java/locale/LocaleInformation_en_NZ.java,
5558         gnu/java/locale/LocaleInformation_en_PH.java,
5559         gnu/java/locale/LocaleInformation_en_SG.java,
5560         gnu/java/locale/LocaleInformation_en_US.java,
5561         gnu/java/locale/LocaleInformation_en_ZA.java,
5562         gnu/java/locale/LocaleInformation_en_ZW.java,
5563         gnu/java/locale/LocaleInformation_es_AR.java,
5564         gnu/java/locale/LocaleInformation_es_BO.java,
5565         gnu/java/locale/LocaleInformation_es_CL.java,
5566         gnu/java/locale/LocaleInformation_es_CO.java,
5567         gnu/java/locale/LocaleInformation_es_CR.java,
5568         gnu/java/locale/LocaleInformation_es_DO.java,
5569         gnu/java/locale/LocaleInformation_es_EC.java,
5570         gnu/java/locale/LocaleInformation_es_ES.java,
5571         gnu/java/locale/LocaleInformation_es_GT.java,
5572         gnu/java/locale/LocaleInformation_es_HN.java,
5573         gnu/java/locale/LocaleInformation_es_MX.java,
5574         gnu/java/locale/LocaleInformation_es_NI.java,
5575         gnu/java/locale/LocaleInformation_es_PA.java,
5576         gnu/java/locale/LocaleInformation_es_PE.java,
5577         gnu/java/locale/LocaleInformation_es_PR.java,
5578         gnu/java/locale/LocaleInformation_es_PY.java,
5579         gnu/java/locale/LocaleInformation_es_SV.java,
5580         gnu/java/locale/LocaleInformation_es_US.java,
5581         gnu/java/locale/LocaleInformation_es_UY.java,
5582         gnu/java/locale/LocaleInformation_es_VE.java,
5583         gnu/java/locale/LocaleInformation_et_EE.java,
5584         gnu/java/locale/LocaleInformation_eu_ES.java,
5585         gnu/java/locale/LocaleInformation_fa_IR.java,
5586         gnu/java/locale/LocaleInformation_fi_FI.java,
5587         gnu/java/locale/LocaleInformation_fo_FO.java,
5588         gnu/java/locale/LocaleInformation_fr_BE.java,
5589         gnu/java/locale/LocaleInformation_fr_CA.java,
5590         gnu/java/locale/LocaleInformation_fr_CH.java,
5591         gnu/java/locale/LocaleInformation_fr_FR.java,
5592         gnu/java/locale/LocaleInformation_fr_LU.java,
5593         gnu/java/locale/LocaleInformation_ga_IE.java,
5594         gnu/java/locale/LocaleInformation_gd_GB.java,
5595         gnu/java/locale/LocaleInformation_gl_ES.java,
5596         gnu/java/locale/LocaleInformation_gv_GB.java,
5597         gnu/java/locale/LocaleInformation_he_IL.java,
5598         gnu/java/locale/LocaleInformation_hi_IN.java,
5599         gnu/java/locale/LocaleInformation_hr_HR.java,
5600         gnu/java/locale/LocaleInformation_hu_HU.java,
5601         gnu/java/locale/LocaleInformation_id_ID.java,
5602         gnu/java/locale/LocaleInformation_it_CH.java,
5603         gnu/java/locale/LocaleInformation_it_IT.java,
5604         gnu/java/locale/LocaleInformation_iw_IL.java,
5605         gnu/java/locale/LocaleInformation_ja_JP.java,
5606         gnu/java/locale/LocaleInformation_ka_GE.java,
5607         gnu/java/locale/LocaleInformation_kl_GL.java,
5608         gnu/java/locale/LocaleInformation_ko_KR.java,
5609         gnu/java/locale/LocaleInformation_kw_GB.java,
5610         gnu/java/locale/LocaleInformation_lt_LT.java,
5611         gnu/java/locale/LocaleInformation_lv_LV.java,
5612         gnu/java/locale/LocaleInformation_mi_NZ.java,
5613         gnu/java/locale/LocaleInformation_mk_MK.java,
5614         gnu/java/locale/LocaleInformation_mr_IN.java,
5615         gnu/java/locale/LocaleInformation_mt_MT.java,
5616         gnu/java/locale/LocaleInformation_nl_BE.java,
5617         gnu/java/locale/LocaleInformation_nl_NL.java,
5618         gnu/java/locale/LocaleInformation_nn_NO.java,
5619         gnu/java/locale/LocaleInformation_no_NO.java,
5620         gnu/java/locale/LocaleInformation_oc_FR.java,
5621         gnu/java/locale/LocaleInformation_pl_PL.java,
5622         gnu/java/locale/LocaleInformation_pt_BR.java,
5623         gnu/java/locale/LocaleInformation_pt_PT.java,
5624         gnu/java/locale/LocaleInformation_ro_RO.java,
5625         gnu/java/locale/LocaleInformation_ru_RU.java,
5626         gnu/java/locale/LocaleInformation_ru_UA.java,
5627         gnu/java/locale/LocaleInformation_se_NO.java,
5628         gnu/java/locale/LocaleInformation_sk_SK.java,
5629         gnu/java/locale/LocaleInformation_sl_SI.java,
5630         gnu/java/locale/LocaleInformation_sq_AL.java,
5631         gnu/java/locale/LocaleInformation_sr_YU.java,
5632         gnu/java/locale/LocaleInformation_sv_FI.java,
5633         gnu/java/locale/LocaleInformation_sv_SE.java,
5634         gnu/java/locale/LocaleInformation_ta_IN.java,
5635         gnu/java/locale/LocaleInformation_te_IN.java,
5636         gnu/java/locale/LocaleInformation_tg_TJ.java,
5637         gnu/java/locale/LocaleInformation_tl_PH.java,
5638         gnu/java/locale/LocaleInformation_tr_TR.java,
5639         gnu/java/locale/LocaleInformation_uk_UA.java,
5640         gnu/java/locale/LocaleInformation_ur_PK.java,
5641         gnu/java/locale/LocaleInformation_uz_UZ.java,
5642         gnu/java/locale/LocaleInformation_vi_VN.java,
5643         gnu/java/locale/LocaleInformation_yi_US.java,
5644         gnu/java/locale/LocaleInformation_zh_CN.java,
5645         gnu/java/locale/LocaleInformation_zh_HK.java,
5646         gnu/java/locale/LocaleInformation_zh_SG.java,
5647         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
5648         info; from Classpath.
5649
5650         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
5651         isPaintPending): New methods.
5652         * gnu/awt/xlib/XFramePeer.java (getState, setState,
5653         setMaximizedBounds): New methods.
5654         (beginLayout, endLayout, isPaintPending): Likewise.
5655         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
5656         (requestFocus): Likewise.
5657         (isObscured): Likewise.
5658         (canDetermineObscurity): Likewise.
5659         (coalescePaintEvent): Likewise.
5660         (updateCursorImmediately): Likewise.
5661         (createVolatileImage): Likewise.
5662         (handlesWheelScrolling): Likewise.
5663         (createBuffers): Likewise.
5664         (getBackBuffer): Likewise.
5665         (flip): Likewise.
5666         (destroyBuffers): Likewise.
5667
5668         * Makefile.in: Rebuilt.
5669         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
5670         RobotPeer.java.
5671         * gnu/java/awt/GLightweightPeer.java,
5672         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5673         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5674         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5675         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5676         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5677         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5678         java/awt/dnd/peer/DragSourceContextPeer.java,
5679         java/awt/dnd/peer/DropTargetContextPeer.java,
5680         java/awt/peer/ButtonPeer.java,
5681         java/awt/peer/CheckboxMenuItemPeer.java,
5682         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
5683         java/awt/peer/ComponentPeer.java,
5684         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
5685         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
5686         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
5687         java/awt/peer/MenuBarPeer.java,
5688         java/awt/peer/MenuComponentPeer.java,
5689         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
5690         java/awt/peer/PopupMenuPeer.java,
5691         java/awt/peer/ScrollPanePeer.java,
5692         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
5693         java/awt/peer/TextComponentPeer.java,
5694         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
5695         New versions from Classpath.
5696         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
5697         * java/awt/peer/RobotPeer.java: Likewise.
5698
5699 2003-03-01  Mark Wielaard  <mark@klomp.org>
5700
5701         * java/io/ObjectInputStream.java: Reindent.
5702         * java/io/ObjectOutputStream.java: Likewise.
5703
5704 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
5705
5706         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
5707         jvalue for each argument. Simplify.
5708         * testsuite/libjava.jni/calls.c (docall),
5709         testsuite/libjava.jni/calls.java (longpb_f): check for argument
5710         misalignment.
5711
5712 2003-02-28  Mark Wielaard  <mark@klomp.org>
5713
5714         * Makefile.am (nat_source_files): Remove
5715         java/io/natObjectOutputStream.cc.
5716         * Makefile.in: Regenerated.
5717         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
5718         * java/io/ObjectStreamField.java (typename): New field.
5719         (ObjectStreamField(String, Class)): Initialize new field.
5720         (ObjectStreamField(String, String)): New Constructor.
5721         (getTypeCode): Use new field.
5722         (getTypeString): Use new field.
5723         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
5724         ObjectStreamExceptions. Remember and reset old BlockDataMode.
5725         Handle reading of Proxy classes. Never drain(), just write
5726         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
5727         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
5728         (flush): Call flush(), not just drain().
5729         (writeBoolean): Always use blockDataOutput.
5730         (writeByte): Likewise.
5731         (writeShort): Likewise.
5732         (writeChar): Likewise.
5733         (writeInt): Likewise.
5734         (writeLong): Likewise.
5735         (writeFloat): Likewise.
5736         (writeDouble): Likewise.
5737         (writeBytes): Likewise.
5738         (putfield (put(String,Object))): Throw IllegalArgumentException if
5739         field cannot be found.
5740         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5741         (writeArraySizeAndElements): Write byte[] in one go.
5742         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5743         set BlockDataMode to false.
5744         (annotateProxyClass): New method.
5745         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5746         (getField): No longer native.
5747         (getMethod): Likewise.
5748         (setBlockDataMode): Always drain() on switch, return old mode.
5749         (static): New static code block.
5750         * java/io/natObjectOutputStream.cc: Removed.
5751         * java/io/ObjectInputStream.java (getField): No longer native.
5752         (getMethod): Likewise.
5753         (readObject): Remember and reset old BlockDataMode. Track whether
5754         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5755         TC_LONGSTRING.
5756         (defaultReadObject): Set BlockDataMode to false during readFields.
5757         (resolveClass): Create new SecurityManager if necessary.
5758         Use Class.forName() if null ClassLoader found.
5759         (read(byte[],int,int): Copy remaining bytes to data before calling
5760         readNextBlock().
5761         (readFields): Set and reset BlockDataMode on call_read_method.
5762         Catch NoSuchFieldErrors.
5763         (setBlockDataMode): Return old mode.
5764         (static): New static code block.
5765         * java/io/natObjectInputStream.cc (getField): Removed.
5766         (getMethod): Likewise.
5767
5768 2003-02-27  Michael Koch  <konqueror@gmx.de>
5769
5770         * java/beans/Beans.java,
5771         java/beans/FeatureDescriptor.java
5772         java/beans/PropertyEditorManager.java:
5773         Reformated to GNU style.
5774
5775 2003-02-25  Michael Koch  <konqueror@gmx.de>
5776
5777         * gnu/java/nio/MappedByteFileBuffer.java,
5778         gnu/java/nio/natMappedByteFileBuffer.cc:
5779         New files, both are not compiled yet to get not noncompiling CVS.
5780
5781 2003-02-24  Tom Tromey  <tromey@redhat.com>
5782
5783         * java/util/prefs/AbstractPreferences.java (isUserNode):
5784         Implemented.
5785
5786 2003-02-24  Tom Tromey  <tromey@redhat.com>
5787
5788         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5789         Deprecate.
5790         * java/lang/Thread.java (resume): Deprecate.
5791         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5792         in @deprecated.
5793
5794 2003-02-23  Tom Tromey  <tromey@redhat.com>
5795
5796         * Makefile.in: Rebuilt.
5797         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5798
5799 2003-02-23  Tom Tromey  <tromey@redhat.com>
5800
5801         * java/lang/natRuntime.cc (libraries_size, libraries_count,
5802         libraries): Removed.
5803         (add_library): Removed.
5804         (_load): Don't call add_library.
5805         (loadLibraryInternal): Likewise.
5806         (init): Likewise.
5807         (lookup_data): New struct.
5808         (find_symbol): New function.
5809         (_Jv_FindSymbolInExecutable): Use it.
5810
5811 2002-02-21  Anthony Green  <green@redhat.com>
5812
5813         * java/lang/Thread.java (Thread): New constructor taking stack
5814         size parameter (ignored for now).
5815         * Many methods: Merged GNU Classpath documentation.
5816
5817         * java/lang/Class.java (finalize): throws a Throwable.
5818
5819 2003-02-21  Mark Wielaard  <mark@klomp.org>
5820
5821         * java/util/zip/ZipEntry.java (setComment): Don't check length when
5822         argument is null.
5823
5824 2003-02-21  Mark Wielaard  <mark@klomp.org>
5825
5826         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5827         then 65535 chars throw IllegalArgumentException.
5828
5829 2003-02-21  Mark Wielaard  <mark@klomp.org>
5830
5831         * java/util/zip/ZipFile.java (finalize): New method.
5832
5833 2003-02-21  Michael Koch  <konqueror@gmx.de>
5834
5835         * gnu/java/nio/natSocketChannelImpl.cc:
5836         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5837         <cato@df.lth.se> for pointing to it.
5838
5839 2003-02-20  Raif S. Naffah <raif@fl.net.au>
5840
5841         * java/math/BigInteger.java (euclidInv): Take result array as an
5842         argument.  Updated all callers.
5843         (modInverse): Removed unused variables.
5844
5845 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
5846
5847         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5848         config.status.
5849         * configure: Rebuilt.
5850
5851 2003-02-19  Michael Koch  <konqueror@gmx.de>
5852
5853         * gnu/java/nio/natSocketChannelImpl.cc:
5854         Added support for platforms without network support.
5855
5856 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5857
5858         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5859         after config.h.  Use <> for consistency.
5860         * java/lang/natObject.cc: Likewise.
5861         * java/lang/natRuntime.cc: Likewise.
5862         * java/lang/natSystem.cc: Likewise.
5863         * java/util/natTimeZone.cc: Likewise.
5864         * win32.cc: Likewise.
5865         * include/posix.h (fcntl, socket, connect, close, bind, accept,
5866         listen, write, read): Undef to avoid interference from OS macros.
5867
5868 2003-02-19  Michael Koch  <konqueror@gmx.de>
5869
5870         * gnu/java/nio/ByteBufferImpl.java
5871         (ByteBufferImpl): Renamed two variables.
5872         * gnu/java/nio/CharBufferImpl.java
5873         (CharBufferImpl): Renamed two variables.
5874         * gnu/java/nio/DoubleBufferImpl.java
5875         (DoubleBufferImpl): Renamed two variables.
5876         * gnu/java/nio/FloatBufferImpl.java
5877         (FloatBufferImpl): Renamed two variables.
5878         * gnu/java/nio/IntBufferImpl.java
5879         (IntBufferImpl): Renamed two variables.
5880         * gnu/java/nio/LongBufferImpl.java
5881         (LongBufferImpl): Renamed two variables.
5882         * gnu/java/nio/ShortBufferImpl.java
5883         (ShortBufferImpl): Renamed two variables.
5884         * java/nio/CharBuffer.java
5885         (wrap): Fixed arguments to CharBufferImpl constructor.
5886         (hasArray): Only not read-only buffers have backing arrays.
5887         (length): Documentation added.
5888         (subSequence): Documentation added.
5889         * java/nio/DoubleBuffer.java
5890         (hasArray): Only not read-only buffers have backing arrays.
5891         * java/nio/FloatBuffer.java
5892         (hasArray): Only not read-only buffers have backing arrays.
5893         * java/nio/IntBuffer.java
5894         (hasArray): Only not read-only buffers have backing arrays.
5895         * java/nio/LongBuffer.java
5896         (hasArray): Only not read-only buffers have backing arrays.
5897         * java/nio/ShortBuffer.java
5898         (hasArray): Only not read-only buffers have backing arrays.
5899         
5900 2003-02-19  Michael Koch  <konqueror@gmx.de>
5901
5902         * javax/accessibility/AccessibleContext.java
5903         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5904
5905 2003-02-19  Michael Koch  <konqueror@gmx.de>
5906
5907         * java/awt/ScrollPaneAdjustable.java: Reformated.
5908
5909 2003-02-19  Michael Koch <konqueror@gmx.de>
5910
5911         * gnu/awt/j2d/Graphics2DImpl.java
5912         (getFontRenderContext): New method.
5913         (drawGlyphVector): New method.
5914         * java/awt/Graphics2D.java
5915         (getFontRenderContext): New abstract method.
5916         (drawGlyphVector): New abstract method.
5917         
5918 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
5919
5920         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5921         if necessary.
5922         
5923         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5924         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5925         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5926         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5927         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5928         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5929         (setFont, gtkSetFont): add.
5930         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5931         Propagate font to peer.  (setFont): add FIXME comment.
5932
5933         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5934         (gtkTextGetSize): fix height, width computation.
5935
5936         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5937         Make X font name a bit less bogus.
5938
5939         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5940         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5941
5942         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5943         (processAdjustmentEvent): Adjust value.
5944
5945         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5946         logic errors.
5947
5948         * java/awt/Component.java (setVisible, show, hide): Call show and
5949         hide methods in subclasses.
5950         (getPreferredSize): don't set prefSize before we have peer.
5951
5952         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5953         Guess (0,0) if we don't have peer.
5954
5955
5956 2003-02-18  Michael Koch  <konqueror@gmx.de>
5957
5958         * java/nio/channels/FileChannel.java
5959         (toString): New implementation, added documentation.
5960         (map): Added exception documentation.
5961         (size): Added exception documentation.
5962         (write): New methods, documentation work.
5963         (read): New methods, documentation work.
5964         (implCloseChannel): Rewrote exception documentation.
5965         (force): Throws IOException, added documentation.
5966         (lock): New methods.
5967         (tryLock): New methods.
5968         (position): New methods.
5969         (transferTo): New method.
5970         (transferFrom): New method.
5971         (truncate): New method.
5972         * java/nio/channels/spi/SelectorProvider.java
5973         (provider): Implemented.
5974         * Makefile.am
5975         (ordinary_java_source_files): Added the following files:
5976         gnu/java/nio/DatagramChannelImpl.java
5977         gnu/java/nio/FileChannelImpl.java
5978         gnu/java/nio/PipeImpl.java
5979         gnu/java/nio/SelectionKeyImpl.java
5980         gnu/java/nio/SelectorImpl.java
5981         gnu/java/nio/SelectorProviderImpl.java
5982         gnu/java/nio/ServerSocketChannelImpl.java
5983         gnu/java/nio/SocketChannelImpl.java
5984         java/nio/channels/FileLock.java
5985         (nat_java_source_files): Added the following files:
5986         gnu/java/nio/natFileChannelImpl.cc
5987         gnu/java/nio/natSelectorImpl.cc
5988         gnu/java/nio/natSocketChannelImpl.cc
5989         * Makefile.in: Regenerated.
5990
5991 2003-02-17  Tom Tromey  <tromey@redhat.com>
5992
5993         * java/awt/image/ColorModel.java: Re-merged with Classpath.
5994         * java/awt/image/ImageFilter.java: Likewise.
5995
5996 2003-02-17  Raif S. Naffah <raif@fl.net.au>
5997
5998         * java/math/BigInteger.java (euclidInv): Return array of
5999         `BigInteger's.  Changed all callers.
6000
6001 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
6002
6003         * java/util/Properties.java (store): Move the code formerly in
6004         list(), into this method.
6005         (list (PrintStream)): Just call list (PrintWriter) with a 
6006         PrintWriter object constructed from the given PrintStream object.
6007         (list (PrintWriter)): Emulate the output of Properties.list()
6008         as found in JDK 1.3/1.4.
6009
6010 2003-02-17  Michael Koch  <konqueror@gmx.de>
6011
6012         * java/net/DatagramSocket.java
6013         (connect): Merged with classpath.
6014         (disconnect): Merged documentation with classpath.
6015         (receice): Merged documentation with classpath.
6016         (send): Merged documentation with classpath.
6017         
6018 2003-02-17  Michael Koch  <konqueror@gmx.de>
6019
6020         * java/awt/dnd/DragSourceContext.java
6021         (addDragSourceListener): Added documentation.
6022         * java/awt/dnd/DragSourceDragEvent.java
6023         (serialVersionUID): New member variable.
6024         (getDropAction): Reformated.
6025         * java/awt/dnd/DragSourceDropEvent.java
6026         (serialVersionUID): New member variable.
6027         (dropSuccess): Renamed from success for serialization issues.
6028         * java/awt/dnd/DragSourceEvent.java
6029         (serialVersionUID): New member variable.
6030         * java/awt/dnd/DropTarget.java
6031         (serialVersionUID): New member variable.
6032         (DropTarget): Implemented, documentation reworked.
6033         (setComponent): Documentation added.
6034         (getComponent): Documentation added.
6035         (setDefaultActions): Documentation added.
6036         (getDefaultActions): Documentation added.
6037         (addDropTargetListener): Documentation added.
6038         * java/awt/dnd/DropTargetContext.java
6039         (DropTargetContext): Documentation added.
6040         (TransferableProxy.TransferableProxy): New method.
6041         (dropComplete): Fixed documentation.
6042         (getTransferable): Fixed documentation.
6043         (createTransferableProxy): Implemented.
6044         * java/awt/dnd/DropTargetDragEvent.java
6045         (DropTargetDragEvent): Documentation added.
6046         (serialVersionUID): New member variable.
6047         (DropTargetDragEvent): Throw exceptions, documentation added.
6048         (acceptDrag): Implemented.
6049         (getCurrentDataFlavors): Implemented.3yy
6050         (getCurrentDataFlavorsAsList): Implemented.
6051         (isDataFlavorSupported): Implemented.
6052         (rejectDrag): Implemented.
6053         * java/awt/dnd/DropTargetDropEvent.java
6054         (DropTargetDropEvent): Documentation added.
6055         (serialVersionUID): New member variable.
6056         (actions): Renamed from srcActions for serialization issues.
6057         (isLocalTx): Renamed from isLocalTx for serialization issues.
6058         (DropTargetDropEvent): New implementation, throw exceptions,
6059         documentation added.
6060         (getCurrentDataFlavors): Implemented.
6061         (getCurrentDataFlavorsAsList): Implemented.
6062         (isDataFlavorSupported): Implemented.
6063         (getSourceActions): Implemented.
6064         (getDropAction): Implemented.
6065         (getTransferable): Implemented.
6066         (acceptDrop): Implemented.
6067         (rejectDrop): Implemented.
6068         * java/awt/dnd/DropTargetListener.java
6069         (drop): Fixed documentation.
6070         * java/awt/dnd/MouseDragGestureRecognizer.java
6071         (MouseDragGestureRecognizer): Documentation added.
6072
6073 2003-02-17  Michael Koch  <konqueror@gmx.de>
6074
6075         * java/awt/font/FontRenderContext.java,
6076         java/awt/font/ShapeGraphicAttribute.java,
6077         java/awt/font/MultipleMaster.java,
6078         java/awt/font/TransformAttribute.java,
6079         java/awt/font/GlyphJustificationInfo.java,
6080         java/awt/font/LineBreakMeasurer.java,
6081         java/awt/font/TextMeasurer.java,
6082         java/awt/font/TextLayout.java,
6083         java/awt/font/LineMetrics.java,
6084         java/awt/font/TextAttribute.java,
6085         java/awt/font/GlyphMetrics.java,
6086         java/awt/font/OpenType.java,
6087         java/awt/font/GlyphVector.java,
6088         java/awt/font/GraphicAttribute.java,
6089         java/awt/font/ImageGraphicAttribute.java,
6090         java/awt/font/NumericShaper.java: New files.
6091         * Makefile.am
6092         (awt_java_source_files): Added the following files:
6093         java/awt/font/FontRenderContext.java
6094         java/awt/font/ShapeGraphicAttribute.java
6095         java/awt/font/MultipleMaster.java
6096         java/awt/font/TransformAttribute.java
6097         java/awt/font/GlyphJustificationInfo.java
6098         java/awt/font/LineBreakMeasurer.java
6099         java/awt/font/TextMeasurer.java
6100         java/awt/font/TextLayout.java
6101         java/awt/font/LineMetrics.java
6102         java/awt/font/TextAttribute.java
6103         java/awt/font/GlyphMetrics.java
6104         java/awt/font/OpenType.java
6105         java/awt/font/GlyphVector.java
6106         java/awt/font/GraphicAttribute.java
6107         java/awt/font/ImageGraphicAttribute.java
6108         java/awt/font/NumericShaper.java
6109         * Makefile.in: Regenerated.
6110
6111 2003-02-17  Michael Koch  <konqueror@gmx.de>
6112
6113         * java/awt/print/Paper.java
6114         (Paper): Implements Cloneable.
6115         * java/awt/print/PrinterJob.java
6116         (setJobName): Return value must be void.
6117         (print): Throws PrinterException.
6118         
6119 2003-02-16  Tom Tromey  <tromey@redhat.com>
6120
6121         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6122         variable.
6123
6124 2003-02-15  Michael Koch  <konqueror@gmx.de>
6125
6126         * java/awt/datatransfer/DataFlavor.java
6127         (isRepresentationClassByteBuffer): Removed try-catch block.
6128         (isRepresentationClassCharBuffer): Removed try-catch block.
6129         (isRepresentationClassReader): Removed try-catch block.
6130
6131 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6132
6133         * java/nio/charset/Charset.java
6134         (isRegistered): Fixed method args and implementation.
6135         * java/nio/charset/CharsetEncoder.java
6136         (unmappableCharacterAction): New method.
6137
6138 2003-02-15  Michael Koch  <konqueror@gmx.de>
6139
6140         * java/awt/CheckboxMenuItem.java
6141         (CheckBoxMenuItem): Dont implement Serializable.
6142         (getListeners): New method,
6143         (getItemListeners): New method.
6144         * java/awt/Choice.java
6145         (getListeners): New method,
6146         (getItemListeners): New method.
6147         * java/awt/Container.java
6148         (getListeners): Added exception documentation.
6149         (setFocusTraversalKeys): Throw exceptions, added documentattion.
6150         (getFocusTraversalKeys): Added documentation.
6151         (areFocusTraversalKeysSet): Added documentation.
6152         (applyComponentOrientation): Added documentation.
6153         * java/awt/ContainerOrderFocusTraversalPolicy.java
6154         (implicitDownCycleTraversal): Renamed from downCycle for
6155         serialization.
6156         (ContainerOrderFocusTraversalPolicy): Added documentation.
6157         (accept): Reformated.
6158         * java/awt/Dialog.java
6159         (Dialog): Dont implement Serializable.
6160         (Dialog): Added documentation.
6161         * java/awt/Font.java
6162         (Font): Dont use absolute class name.
6163         * java/awt/Frame.java
6164         (Frame): Font implement Serializable.
6165         * java/awt/List.java
6166         (getListeners): New method,
6167         (getActionListeners): New method.       
6168         (getItemListeners): New method.
6169         * java/awt/Menu.java
6170         (countItems): New deprecated method.
6171         * java/awt/Scrollbar.java
6172         (getListeners): New method,
6173         (getAdjustmentListeners): New method,
6174         * java/awt/TextComponent.java
6175         (getListeners): New method,
6176         (getTextListeners): New method,
6177         * java/awt/TextField.java
6178         (getListeners): New method,
6179         (getActionListeners): New method.       
6180         * java/awt/Window.java
6181         (windowFocusListener): New member variable.
6182         (windowStateListener): New member variable.
6183         (getWindowFocusListeners): New method.
6184         (getWindowStateListeners): New method.
6185         (addWindowFocusListener): New method.
6186         (addWindowStateListener): New method.
6187         (removeWindowFocusListener): New method.
6188         (removeWindowStateListener): New method.
6189         * java/awt/datatransfer/DataFlavor.java
6190         (isRepresentationClassByteBuffer): New method.
6191         (isRepresentationClassCharBuffer): New method.
6192         (isRepresentationClassReader): New method.
6193
6194 2003-02-14  Mark Wielaard  <mark@klomp.org>
6195
6196         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
6197         zero when there is an exponent and the significant is zero.
6198         (divide): Always set scale to newScale even in special ZERO case.
6199
6200 2003-02-14  Tom Tromey  <tromey@redhat.com>
6201
6202         * java/lang/System.java (properties): Use Properties.clone.
6203         (setProperties): Likewise.
6204
6205 2003-02-14  Michael Koch  <konqueror@gmx.de>
6206
6207         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
6208         * gnu/java/nio/ServerSocketChannelImpl.java
6209         (SocketAccept): Removed.
6210         (accept): Commented out use of SocketAccept.
6211
6212 2003-02-13  Tom Tromey  <tromey@redhat.com>
6213
6214         * verify.cc (state::seen_subrs): New field.
6215         (state::state): Initialize it.
6216         (state::clean_subrs): New method.
6217         (state::~state): Call it.
6218         (state::copy): Copy subroutine list.
6219         (state::add_subr): New method.
6220         (state::merge): Only register a change if the current subroutine
6221         hasn't yet been noted.
6222
6223 2003-02-13  Mark Wielaard  <mark@klomp.org>
6224
6225         * java/io/InputStreamReader.java (getEncoding): Return null when
6226         closed.
6227         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
6228
6229 2003-02-13  Mark Wielaard  <mark@klomp.org>
6230  
6231         * java/util/zip/InflaterInputStream.java (read): Return zero when len
6232         is zero.
6233
6234 2003-02-13  Mark Wielaard  <mark@klomp.org>
6235
6236         * java/io/BufferedOutputStream.java (write(int)): Only flush when
6237         next byte cannot be buffered.
6238
6239 2003-02-13  Michael Koch  <konqueror@gmx.de>
6240  
6241         * java/awt/Label.java
6242         (Label): Don't implement Serializable directly.
6243         (addNotify): Fixed typo in documentation.
6244         * java/awt/List.java
6245         (List): Don't implement Serializable directly.
6246         * java/awt/PopupMenu.java
6247         (PopupMenu): Don't implement Serializable directly.
6248         * java/awt/ScrollPane.java
6249         (ScrollPane): Don't implement Serializable directly.
6250         * java/awt/Scrollbar.java
6251         (Scrollbar): Don't implement Serializable directly.
6252         * java/awt/TextArea.java
6253         (preferredSize): Fixed method arguments.
6254         * java/awt/TextField.java
6255         (TextField): Don't implement Serializable directly.
6256         * java/awt/color/ICC_ColorSpace.java
6257         (fromCIOXYZ): Documentation added.
6258         (getMinValue): Documentation added.
6259         (getMaxValue): Documentation added.
6260         * java/awt/datatransfer/DataFlavor.java
6261         (isMimeTypeEqual): May not be final.
6262         (clone): Throws CloneNotSupportedException.
6263         (getReaderForText): Don't throws UnsupportedEncodingException.
6264
6265 2003-02-13  Michael Koch  <konqueror@gmx.de>
6266  
6267         * gnu/java/awt/peer/gtk/GdkGraphics.java
6268         (drawString): New stubbed method.
6269         * java/awt/Graphics.java
6270         (drawString): New method.
6271
6272 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
6273
6274         PR libgcj/9271:
6275         * java/security/SecureRandom.java (next): Avoid bias in results.
6276
6277 2003-02-13  Michael  <konqueror@gmx.de>
6278
6279         * gnu/java/nio/FileChannelImpl.java
6280         (lengthInternal): Must be native.
6281         (size): Check if channel is already closed.
6282         (implCloseChannel): Reformated.
6283         (read): w was unused, removed it.
6284         (read): Removed.
6285         (read): New method.
6286         (write): New method.
6287         (map): Check arguments.
6288         (force): Throws IOException, check if channel is closed.
6289         (transferTo): New method.
6290         (transferFrom): New method.
6291         (lock): New method.
6292         (tryLock): New method.
6293         (position): New method.
6294         (truncate): New method.
6295         (nio_mmap_file): Uncommented.
6296         (nio_munmap_file): Uncommented.
6297         (nio_msync): Uncommented.
6298         * gnu/java/nio/natFileChannelImpl.cc: New file.
6299         
6300 2003-02-13  Michael Koch  <konqueror@gmx.de>
6301
6302         * java/nio/ByteBuffer.java
6303         (endian): New member variable.
6304         (get): New methods.
6305         (equals): New method.
6306         (compareTo): New method.
6307         (order): New methods.
6308         (compact): New method.
6309         (isDirect): New method.
6310         (slice): New method.
6311         (duplicate): New method.
6312         (asReadOnlyBuffer): New method.
6313         (asCharBuffer): New method.
6314         (asDoubleBuffer): New method.
6315         (asFloatBuffer): New method.
6316         (asIntBuffer): New method.
6317         (asLongBuffer): New method.
6318         (asShortBuffer): New method.
6319         (get*): New methods.
6320         (put*): New methods.
6321         (toString): New method.
6322         * java/nio/CharBuffer.java
6323         (CharBuffer): Implement Comparable instead of Cloneable.
6324         (get): May not be final.
6325         (put): May not be final.
6326         
6327 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
6328
6329         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
6330         lastIndexOf( ) instead of indexOf( ) to find the colon before
6331         the line number, because Win32 file names might contain a 
6332         drive letter and a colon at the start of an absolute path.
6333
6334 2003-02-13  Michael Koch  <konqueror@gmx.de>
6335
6336         * gnu/java/nio/natSocketChannelImpl.cc
6337         (SocketConnect): This is not implemented yet.
6338         (SocketBind): This is not implemented yet.
6339
6340 2003-02-13  Michael Koch  <konqueror@gmx.de>
6341
6342         * gnu/java/nio/natByteBufferImpl.cc,
6343         gnu/java/nio/natCharBufferImpl.cc,
6344         gnu/java/nio/natDoubleBufferImpl.cc,
6345         gnu/java/nio/natFloatBufferImpl.cc,
6346         gnu/java/nio/natIntBufferImpl.cc,
6347         gnu/java/nio/natLongBufferImpl.cc,
6348         gnu/java/nio/natShortBufferImpl.cc:
6349         Added copyright and license.
6350         * java/nio/DoubleBuffer.java,
6351         java/nio/FloatBuffer.java,
6352         java/nio/IntBuffer.java,
6353         java/nio/LongBuffer.java,
6354         java/nio/ShortBuffer.java
6355         (array): Throw exceptions.
6356         (arrayOffset): Throw exceptions.
6357
6358 2003-02-13  Michael Koch  <konqueror@gmx.de>
6359  
6360         * gnu/java/util/prefs/FileBasedFactory.java,
6361         gnu/java/util/prefs/MemmoryBasedFactory.java,
6362         gnu/java/util/prefs/MemoryBasedPreferences.java,
6363         gnu/java/util/prefs/NodeReader.java,
6364         gnu/java/util/prefs/NodeWriter.java,
6365         java/util/prefs/AbstractPreferences.java,
6366         java/util/prefs/BackingStoreException.java,
6367         java/util/prefs/InvalidPreferencesFormatException.java,
6368         java/util/prefs/NodeChangeEvent.java,
6369         java/util/prefs/NodeChangeListener.java,
6370         java/util/prefs/PreferenceChangeEvent.java,
6371         java/util/prefs/PreferenceChangeListener.java,
6372         java/util/prefs/Preferences.java,
6373         java/util/prefs/PreferencesFactory.java:
6374         New files, all merged from classpath.
6375         * Makefile.am
6376         (ordinary_java_source_files): Added the following files:
6377         gnu/java/util/prefs/FileBasedFactory.java,
6378         gnu/java/util/prefs/MemmoryBasedFactory.java,
6379         gnu/java/util/prefs/MemoryBasedPreferences.java,
6380         gnu/java/util/prefs/NodeReader.java,
6381         gnu/java/util/prefs/NodeWriter.java,
6382         (core_java_source_files): Added the following files:
6383         java/util/prefs/AbstractPreferences.java,
6384         java/util/prefs/BackingStoreException.java,
6385         java/util/prefs/InvalidPreferencesFormatException.java,
6386         java/util/prefs/NodeChangeEvent.java,
6387         java/util/prefs/NodeChangeListener.java,
6388         java/util/prefs/PreferenceChangeEvent.java,
6389         java/util/prefs/PreferenceChangeListener.java,
6390         java/util/prefs/Preferences.java,
6391         java/util/prefs/PreferencesFactory.java
6392         * Makefile.in: Regenerated.
6393  
6394 2003-02-13  Michael Koch  <konqueror@gmx.de>
6395
6396         * java/net/NetPermission.java
6397         (NetPermission): Make doucmentation match the method declaration.
6398         * java/net/NetworkInterface.java
6399         (equals): Reformated for GNU coding style.
6400         * java/net/ServerSocket.java: Merged with classpath.
6401         * java/net/Socket.java: Partly merged with classpath (Added some @since).
6402         * java/net/SocketImpl.java
6403         (localPort): Merged with classpath (initialize with -1).
6404         * java/net/SocketPermission.java: Merged with classpath (reindented).
6405         * java/net/URLDecoder.java: Merged with classpath (reindented).
6406
6407 2003-02-13  Michael Koch  <konqueror@gmx.de>
6408
6409         * java/awt/GridBagConstraints.java
6410         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
6411         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
6412         * java/awt/KeyboardFocusManager.java
6413         (setGlobalCurrentFocusCycleRoot): Must be public.
6414         * java/awt/MenuComponent.java
6415         (MenuComponent): Must be public.
6416         * java/awt/Toolkit.java:
6417         Added some empty lines to make documentation more readable.
6418         (getFontPeer): Added @deprecated.
6419         (getColorModel): Added exception documentation.
6420         (getProperty): Fixed documentation.
6421  
6422 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
6423
6424         * configure.host (alpha*-*): Default to -mieee.
6425         * configure.in (IEEESPEC): New.
6426         * libgcj.spec.in (jc1): Add IEEESPEC.
6427         * configure: Rebuild.
6428
6429 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
6430
6431         * include/win32.h: Include ws2tcpip.h instead of
6432         winsock.h to obtain definition of the socklen_t type.
6433         Remove IP_TOS definition - not needed with ws2tcpip.h
6434         (_Jv_connect): Correct slight formatting error.
6435
6436 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
6437
6438         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
6439         size of the arguments for a JNI function. For Win32,
6440         modify to search for all forms of possible exported
6441         names of an stdcall JNI function.
6442         (_Jv_JNIMethod::call): Modify to calculate the size
6443         of the arguments passed to a JNI function and pass
6444         it to _Jv_LookupJNIMethod.
6445
6446 2003-02-12  Michael Koch  <konqueror@gmx.de>
6447
6448         * java/nio/channels/Channels.java: New file.
6449         * Makefile.am
6450         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
6451         * Makefile.in: Regenerated.
6452
6453 2003-02-12  Michael Koch  <konqueror@gmx.de>
6454
6455         * java/nio/ByteBuffer.java
6456         (allocate): Implemented.
6457         (wrap): Implemented.
6458         * java/nio/CharBuffer.java:
6459         Some documentation added and reworked.
6460         (endian): Removed.
6461         (allocate): Implemented.
6462         (wrap): Implemented.
6463         (array): Throw exceptions.
6464         (arrayOffset): Throw exceptions.
6465         (toString): Implemented.
6466         (length): Implemented.
6467         (put): Implemented.
6468         (charAt): Implemented.
6469
6470 2003-02-11  John Leuner  <jewel@debian.org>
6471
6472         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
6473         reads from end of file.
6474
6475 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
6476
6477         * java/io/natFileDescriptorWin32.cc 
6478         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
6479         returns with Win32 error code ERROR_BROKEN_PIPE.
6480
6481 2003-02-11  Michael Koch  <konqueror@gmx.de>
6482
6483         * Makefile.in
6484         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
6485
6486 2003-02-11  Michael Koch  <konqueror@gmx.de>
6487
6488         * gnu/java/nio/ByteBufferImpl.java:
6489         Reformated and removed some code.
6490         (backing_buffer): Removed.      
6491         (array_offset): Removed.
6492         (ro): Renamed to readOnly.
6493         (ByteBufferImpl): Use parent constructor, initialize readOnly.
6494         * gnu/java/nio/CharBufferImpl.java:
6495         Reformated and removed some code.
6496         (array_offset): Removed.
6497         (ro): Renamed to readOnly.
6498         (CharBufferImpl): Use parent constructor, initialize readOnly.
6499         (inc_pos): Removed.
6500         (order): New method.
6501         * gnu/java/nio/DoubleBufferImpl.java:
6502         Reformated and removed some code.
6503         (array_offset): Removed.
6504         (ro): Renamed to readOnly.
6505         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
6506         (inc_pos): Removed.
6507         (order): New method.
6508         * gnu/java/nio/FloatBufferImpl.java:
6509         Reformated and removed some code.
6510         (array_offset): Removed.
6511         (ro): Renamed to readOnly.
6512         (FloatBufferImpl): Use parent constructor, initialize readOnly.
6513         (inc_pos): Removed.
6514         (order): New method.
6515         * gnu/java/nio/IntBufferImpl.java:
6516         Reformated and removed some code.
6517         (array_offset): Removed.
6518         (ro): Renamed to readOnly.
6519         (IntBufferImpl): Use parent constructor, initialize readOnly.
6520         (inc_pos): Removed.
6521         (order): New method.
6522         * gnu/java/nio/LongBufferImpl.java:
6523         Reformated and removed some code.
6524         (array_offset): Removed.
6525         (ro): Renamed to readOnly.
6526         (LongBufferImpl): Use parent constructor, initialize readOnly.
6527         (inc_pos): Removed.
6528         (order): New method.
6529         * gnu/java/nio/ShortBufferImpl.java:
6530         Reformated and removed some code.
6531         (array_offset): Removed.
6532         (ro): Renamed to readOnly.
6533         (ShortBufferImpl): Use parent constructor, initialize readOnly.
6534         (inc_pos): Removed.
6535         (order): New method.
6536         * Makefile.am
6537         (ordinary_java_source_files): Added the following files:
6538         gnu/java/nio/ByteBufferImpl.java
6539         gnu/java/nio/CharBufferImpl.java
6540         gnu/java/nio/DoubleBufferImpl.java
6541         gnu/java/nio/FloatBufferImpl.java
6542         gnu/java/nio/IntBufferImpl.java
6543         gnu/java/nio/LongBufferImpl.java
6544         gnu/java/nio/ShortBufferImpl.java
6545         java/nio/DoubleBuffer.java
6546         java/nio/FloatBuffer.java
6547         java/nio/IntBuffer.java
6548         java/nio/LongBuffer.java
6549         java/nio/ShortBuffer.java
6550         (nat_source_files): Added the following files:
6551         gnu/java/nio/natByteBufferImpl.cc
6552         gnu/java/nio/natCharBufferImpl.cc
6553         gnu/java/nio/natDoubleBufferImpl.cc
6554         gnu/java/nio/natFloatBufferImpl.cc
6555         gnu/java/nio/natIntBufferImpl.cc
6556         gnu/java/nio/natLongBufferImpl.cc
6557         gnu/java/nio/natShortBufferImpl.cc
6558         * Makefile.in: Regenerated.
6559
6560 2003-02-11  Michael Koch  <konqueror@gmx.de>
6561
6562         * gnu/java/nio/natCharBufferImpl.cc
6563         (nio_cast): Removed.
6564         (nio_put_*): Removed.
6565         (nio_get_*): Removed.
6566         * gnu/java/nio/natDoubleBufferImpl.cc
6567         (nio_cast): Removed.
6568         (nio_put_*): Removed.
6569         (nio_get_*): Removed.
6570         * gnu/java/nio/natFloatBufferImpl.cc
6571         (nio_cast): Removed.
6572         (nio_put_*): Removed.
6573         (nio_get_*): Removed.
6574         * gnu/java/nio/natIntBufferImpl.cc
6575         (nio_cast): Removed.
6576         (nio_put_*): Removed.
6577         (nio_get_*): Removed.
6578         * gnu/java/nio/natLongBufferImpl.cc
6579         (nio_cast): Removed.
6580         (nio_put_*): Removed.
6581         (nio_get_*): Removed.
6582         * gnu/java/nio/natShortBufferImpl.cc
6583         (nio_cast): Removed.
6584         (nio_put_*): Removed.
6585         (nio_get_*): Removed.
6586         * gnu/java/nio/SelectorProviderImpl.java
6587         (openDatagramChannel): Throws IOException.
6588         (openPipe): Throws IOException.
6589         (openSelector): Throws IOException.
6590         (openServerSocketChannel): Throws IOException.
6591         (openSocketChannel): Throws IOException.
6592         * gnu/java/nio/ServerSocketChannelImpl.java
6593         (ServerSocketChannelImpl): Throws IOException.
6594         (implCloseSelectableChannel): Throws IOException.
6595         (implConfigureBlocking): Throws IOException.
6596         * java/nio/ByteBuffer.java
6597         (readOnly): Removed.
6598         (hasArray): Use isReadOnly() instead of readOnly.
6599         (array): Use isReadOnly() instead of readOnly.
6600         (arrayOffset): Use isReadOnly() instead of readOnly.
6601         * java/nio/CharBuffer.java
6602         (CharBuffer): Implements Cloneable and CharSequence.
6603
6604 2003-02-11  Michael Koch  <konqueror@gmx.de>
6605
6606         * java/nio/DoubleBuffer.java
6607         (DoubleBuffer): Implements Comparable.
6608         (endian): Removed.
6609         (array_offset): New member variable.
6610         (DoubleBuffer): New constuctor.
6611         (get): May not be final.
6612         (put): May not be final.
6613         (arrayOffset): Implemented.
6614         (order): Made abstract.
6615         (order): Removed.
6616         (as*Buffer): Removed.
6617         (get*): Removed.
6618         (put*): Removed.
6619         * java/nio/FloatBuffer.java
6620         (FloatBuffer): Implements Comparable.
6621         (endian): Removed.
6622         (array_offset): New member variable.
6623         (FloatBuffer): New constuctor.
6624         (get): May not be final.
6625         (put): May not be final.
6626         (arrayOffset): Implemented.
6627         (order): Made abstract.
6628         (order): Removed.
6629         (as*Buffer): Removed.
6630         (get*): Removed.
6631         (put*): Removed.
6632         * java/nio/IntBuffer.java
6633         (IntBuffer): Implements Comparable.
6634         (endian): Removed.
6635         (array_offset): New member variable.
6636         (IntBuffer): New constuctor.
6637         (get): May not be final.
6638         (put): May not be final.
6639         (arrayOffset): Implemented.
6640         (order): Made abstract.
6641         (order): Removed.
6642         (as*Buffer): Removed.
6643         (get*): Removed.
6644         (put*): Removed.
6645         * java/nio/LongBuffer.java
6646         (LongBuffer): Implements Comparable.
6647         (endian): Removed.
6648         (array_offset): New member variable.
6649         (LongBuffer): New constuctor.
6650         (get): May not be final.
6651         (put): May not be final.
6652         (arrayOffset): Implemented.
6653         (order): Made abstract.
6654         (order): Removed.
6655         (as*Buffer): Removed.
6656         (get*): Removed.
6657         (put*): Removed.
6658         * java/nio/ShortBuffer.java
6659         (ShortBuffer): Implements Comparable.
6660         (endian): Removed.
6661         (array_offset): New member variable.
6662         (ShortBuffer): New constuctor.
6663         (get): May not be final.
6664         (put): May not be final.
6665         (arrayOffset): Implemented.
6666         (order): Made abstract.
6667         (order): Removed.
6668         (as*Buffer): Removed.
6669         (get*): Removed.
6670         (put*): Removed.
6671
6672 2003-02-11   Michael Koch  <konqueror@gmx.de>
6673
6674         * java/nio/channels/SelectionKey.java
6675         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
6676         values.
6677
6678 2003-02-11  Michael Koch  <konqueror@gmx.de>
6679
6680         * java/nio/channels/DatagramChannel.java
6681         (write): Throws IOException.
6682         (connect): Throws IOException.
6683         (disconnect): Throws IOException.
6684         (read): Throws IOException.
6685         (receive): Throws IOException.
6686         (send): Throws IOException.
6687         * java/nio/channels/Pipe.java
6688         (open): Throws IOException.
6689         * java/nio/channels/SelectableChannel.java
6690         (configureBlocking): Throws IOException.
6691         * java/nio/channels/ServerSocketChannel.java
6692         (accept): Throws IOException.
6693         * java/nio/channels/SocketChannel.java
6694         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
6695         GatheringByteChannel.
6696         (read): Throws IOException.
6697         (write): Throws IOException.
6698         (finishConnect): Throws IOException.
6699         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6700         (end): Throws AsynchronousCloseException.
6701         * java/nio/channels/spi/AbstractSelectableChannel.java
6702         (configureBlocking): Throws IOException.
6703         (implCloseChannel): Throws IOException.
6704         (implCloseSelectableChannel): Throws IOException.
6705         (implConfigureBlocking): Throws IOException.
6706         * java/nio/channels/spi/SelectorProvider.java
6707         (openDatagramChannel): Throws IOException.
6708         (openPipe): Throws IOException.
6709         (openSelector): Throws IOException.
6710         (openServerSocketChannel): Throws IOException.
6711         (openSocketChannel): Throws IOException.
6712
6713 2003-02-11  Michael Koch  <konqueror@gmx.de>
6714
6715         * gnu/java/nio/FileLockImpl.java,
6716         java/nio/channels/FileLock.java: New files.
6717
6718 2003-02-11  Michael Koch  <konqueror@gmx.de>
6719
6720         * java/nio/charset/IllegalCharsetNameException.java
6721         (serialVersionUID): New member variable.
6722         (charsetName): New member variable.
6723         (IllegalCharsetException): New implementation.
6724         (getCharsetName): New implementation.
6725         * java/nio/charset/UnsupportedCharsetException.java
6726         (serialVersionUID): New member variable.
6727         (charsetName): New member variable.
6728         (UnsupportedCharsetException): New implementation.
6729         (getCharsetName): New implementation.
6730
6731 2003-02-10  Tom Tromey  <tromey@redhat.com>
6732
6733         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
6734         (ex): Renamed from sqlException.
6735
6736 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
6737
6738         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
6739         method used to ensure seeding has occurred and that a specific 
6740         seed can be set and used.
6741
6742 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
6743
6744         * java/lang/Win32Process.java (destroy): Declare as native.
6745         (hasExited): New native method.
6746         (exitValue): Define.
6747         (getErrorStream): Likewise.
6748         (getInputStream): Likewise.
6749         (getOutputStream): Likewise.
6750         (waitFor): Declare as native.
6751         (startProcess): New native method.
6752         (cleanup): Likewise.
6753         (ConcreteProcess): Define.
6754         (outputStream, inputStream, errorStream): New members.
6755         (procHandle, exitCode): Likewise.
6756
6757         * java/lang/natWin32Process.cc
6758         (java::lang::ConcreteProcess::cleanup): Define.
6759         (java::lang::ConcreteProcess::destroy): Likewise.
6760         (java::lang::ConcreteProcess::hasExited): Likewise.
6761         (java::lang::ConcreteProcess::waitFor): Likewise.
6762         (new_string): Likewise.
6763         (java::lang::ConcreteProcess::startProcess): Likewise.
6764
6765 2003-02-10  Raif S. Naffah <raif@fl.net.au>
6766
6767         * java/math/BigInteger.java:
6768         Updated notice to include years 2002 and 3.
6769         Added 2 private (int) arrays with values from the HAC (Handbook of
6770         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6771         and t[] that contains nbr. of tests --used in isProbablePrime().
6772
6773         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6774
6775         * java/math/BigInteger.java (make(int[],int), add(int,int),
6776         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6777         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6778         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6779         make(long).
6780
6781         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6782         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6783         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6784         BIs and returns void.
6785         (modInverse(BI)): Use new signatures of euclidInv().
6786
6787         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6788         static small primes instead of remainder().
6789         Use pre-computed max nbr of trials based on bitlength of BI to test.
6790         Use pre-computed small primes for the trial tests instead of random
6791         numbers.
6792
6793         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6794         not used.
6795
6796         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6797         invoacation of MPN.chars_per_word().  not used.
6798
6799         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6800         local var and used where needed.
6801
6802         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6803         Combined declaration with initialisation of locals.
6804         Removed unused var.
6805
6806         * java/math/BigInteger.java: Style changes
6807         (pow(int)): Removed 'else' keyword.
6808         (toString(int)): idem.
6809         (doubleValue()): idem.
6810         (bitLength()): idem.
6811         (equals(Object)): Use static methods name in same class w/o prepending
6812         class name.
6813         (doubleValue()): idem.
6814         (setNegative(BI)): idem.
6815         (negate()): idem.
6816         (and(BI,int)): idem.
6817         (and(BI)): idem.
6818         (gcd(BI)): idem.
6819         (byteArrayToIntArray()): Removed casting to (int). this is
6820         std. behaviour.
6821         (canonicalize()): idem.
6822         (alloc(int)): Always instantiate a new BI.
6823
6824 2003-02-10  Tom Tromey  <tromey@redhat.com>
6825
6826         * java/sql/Timestamp.java (compareTo(Object)): New method.
6827         (compareTo(Timestamp)): Likewise.
6828         (serialVersionUID): Updated.
6829
6830 2003-02-07  Mark Wielaard  <mark@klomp.org>
6831
6832         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6833         when verify is true.
6834         (JarFile(File, boolean)): Likewise.
6835         (manifestRead): Set manifestRead field correctly.
6836
6837 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6838
6839         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6840         tests; see patch #1016 on Savannah.
6841
6842 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6843
6844         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6845         (toString): do not return Strings starting with . and - erroneously.
6846         Improves Mauve results to 12 of 600 instead of 16 of 338 on
6847         DiagBigDecimal.
6848
6849 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6850
6851         * java/beans/PropertyDescriptor.java
6852         (PropertyDescriptor(String, Class)): Sanity check getter and setter
6853         methods.
6854         (PropertyDescriptor(String, Class, String, String)): Likewise.
6855         (PropertyDescriptor(String, Method, Method): Factor out getter and
6856         setter method sanity checks into new method.
6857         (findMethods): Don't do parameter sanity checking of get method here.
6858         (checkMethods): New method.
6859
6860 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6861
6862         * java/beans/PropertyDescriptor.java: Reformat.
6863
6864 2003-02-04  Tom Tromey  <tromey@redhat.com>
6865
6866         * java/io/PipedOutputStream.java (flush): Declare as throwing
6867         IOException.
6868         (close): Likewise.
6869         * java/io/PipedWriter.java (close): Declare as throwing
6870         IOException.
6871         * java/io/StringWriter.java (close): Declare as throwing
6872         IOException.
6873
6874 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6875
6876         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6877         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6878         could also have been exported as "JNI_OnLoad@8" (MinGW) or
6879         "_JNI_OnLoad@8" (MSVC).
6880
6881 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6882
6883         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6884         convention on Win32 to invoke native JNI methods.
6885
6886 2003-02-03  Andrew Haley  <aph@redhat.com>
6887
6888         * configure.host (x86_64): Enable interpreter.
6889
6890 2003-02-03  Andrew Haley  <aph@redhat.com>
6891
6892         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6893         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6894         * configure.in (BACKTRACESPEC): New.
6895         * configure: Regenerate.
6896
6897 2003-02-02  Tom Tromey  <tromey@redhat.com>
6898
6899         * configure: Rebuilt.
6900         * configure.in (TOOLKIT) [xlib]: Set correctly.
6901
6902         * Makefile.in: Rebuilt.
6903         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6904         libstdc++.
6905
6906 2003-01-31  Mark WIelaard  <mark@klomp.org>
6907
6908         * Makefile.in: Rebuilt.
6909         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6910
6911 2003-01-31  Tom Tromey  <tromey@redhat.com>
6912
6913         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6914         cast to element type.
6915         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6916         (_Jv_JNI_GetObjectArrayElement): Likewise.
6917
6918         * Makefile.in: Rebuilt.
6919         * Makefile.am (cond_x_ltlibrary): Renamed library to
6920         lib-gnu-awt-xlib.la.
6921         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6922         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6923         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6924         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6925         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6926         (lib_gnu_awt_xlib_la_LINK): Likewise.
6927         (install-exec-hook): Removed.
6928         (lib-gnu-awt-xlib.la): Renamed.
6929
6930 2003-01-31  Tom Tromey  <tromey@redhat.com>
6931
6932         * aclocal.m4, configure, include/config.h.in: Rebuilt.
6933         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6934         aclocal.m4 and lost in some merge.
6935
6936         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6937         Don't try to find graphics configuration.
6938         * java/awt/Toolkit.java (default_toolkit_name): Use new
6939         Configuration entry.
6940         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6941         New global.
6942         * configure: Rebuilt.
6943         * configure.in (TOOLKIT): New subst.
6944         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6945         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
6946         directory.  Make output directories for .c files.
6947         * Makefile.in: Rebuilt.
6948         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6949         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6950         (all_java_source_files): Added new sources.
6951         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6952         (gtk_c_files): New macro.
6953         (gtk_c_source_files): New macro.
6954         (cond_gtk_ltlibrary): New macro.
6955         ($(gtk_c_files)): New target.
6956         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6957         (gtk_awt_peer_sources): New macro.
6958         (gtk_c_headers): New macro.
6959         ($(gtk_c_headers)): New target.
6960         (ACLOCAL_AMFLAGS): New macro.
6961         * gtk.m4, glib.m4, libart.m4: New files.
6962         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6963         gnu/java/awt/peer/gtk/GdkGraphics.java,
6964         gnu/java/awt/peer/gtk/GtkArg.java,
6965         gnu/java/awt/peer/gtk/GtkArgList.java,
6966         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6967         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6968         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6969         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6970         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6971         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6972         gnu/java/awt/peer/gtk/GtkClipboard.java,
6973         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6974         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6975         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6976         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6977         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6978         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6979         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6980         gnu/java/awt/peer/gtk/GtkImage.java,
6981         gnu/java/awt/peer/gtk/GtkImagePainter.java,
6982         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6983         gnu/java/awt/peer/gtk/GtkListPeer.java,
6984         gnu/java/awt/peer/gtk/GtkMainThread.java,
6985         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6986         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6987         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6988         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6989         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6990         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6991         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6992         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6993         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6994         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6995         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6996         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6997         gnu/java/awt/peer/gtk/GtkToolkit.java,
6998         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6999         gnu/java/awt/peer/gtk/TestAWT.java,
7000         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7001         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7002         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7004         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7005         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7006         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7007         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7008         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7009         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7010         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7011         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7012         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7013         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7014         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7015         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7016         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7017         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7018         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7019         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7020         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7021         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7022         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7023         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7024         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7025         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7026         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7027         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7028         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7029         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7030         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7031         jni/classpath/native_state.c, jni/classpath/native_state.h,
7032         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7033
7034 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
7035
7036         * java/util/Properties.java (load): Ignore backslash before EOF.
7037
7038 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
7039
7040         * java/lang/natClass.cc (initializeClass): Check tables when
7041         (state == JV_STATE_IN_PROGRESS).
7042         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7043         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
7044         interpreted classes.
7045         (linkClass0): Use _Jv_WaitForState.
7046
7047 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
7048
7049         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
7050         object when finished.
7051
7052 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
7053
7054         * libjava/configure.host: Disable can_unwind_signal on darwin.
7055
7056 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
7057
7058         Fixes PR java/9254:
7059         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
7060         additionally containing id of the owner thread as well as
7061         the number of nested times the thread has acquired the mutex.
7062         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
7063         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
7064         (_Jv_MutexUnlock): Check if really the owner thread, reset
7065         owner thread id to 0 before leaving, if leaving for the last
7066         time.
7067         (_Jv_MutexLock): Set owner thread id in the mutex and increment
7068         refcount.
7069         (_Jv_ThreadYield): Yield using a call to Sleep(0).
7070         * win32-threads.cc (_Jv_CondWait): Check if really owner of
7071         the passed mutex.
7072         Pass handle of the broadcast event, instead of a pointer to it
7073         in Win32 ResetEvent( ) call.
7074         Remove incorrect return values.
7075         (_Jv_CondDestroy): Close both event handles and delete
7076         critical section.
7077         (_Jv_CondNotify): Check if really the owner thread.
7078         (_Jv_CondNotifyAll): Check if really the owner thread.
7079         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
7080         (really_start): Use SetEvent( ) to signal daemon_cond.
7081         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
7082         WaitForSingleObject( ) instead to wait for daemon_cond to be
7083         signalled.
7084
7085 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
7086
7087         * configure.in: Specifically define HAVE_BACKTRACE if building
7088         for MinGW.
7089         * include/win32.h: Remove HAVE_BACKTRACE definition.
7090         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
7091         * configure: Rebuilt.
7092
7093 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
7094
7095         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
7096         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
7097         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
7098         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
7099         * Makefile.in, configure: Rebuilt.
7100
7101 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
7102
7103         Fixes PR java/9253:
7104         * java/io/natFileWin32.cc (performList): Append only "*.*"
7105         if the canonical file path already has a "\" at the end.
7106
7107 2003-01-24  Tom Tromey  <tromey@redhat.com>
7108
7109         * defineclass.cc (handleMethodsEnd): Precompute code for static
7110         method.
7111         (handleCodeAttribute): Likewise.
7112         * resolve.cc (ncode): Use run_class for unsynchronized static
7113         methods.
7114         * include/java-interp.h (class _Jv_InterpMethod): Declare
7115         run_class.
7116         * interpret.cc (run_synch_class): Initialize class.
7117         (run) [insn_invokestatic]: Don't initialize class.
7118         [insn_anewarray]: Likewise.
7119         [insn_multianewarray]: Likewise.
7120         (run_class): New function.
7121
7122 2003-01-24  Tom Tromey  <tromey@redhat.com>
7123
7124         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
7125         comment.
7126
7127 2003-01-22  Andrew Haley  <aph@redhat.com>
7128
7129         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
7130         * configure.host (CHECKREFSPEC): Define for x86_64.
7131
7132 2003-01-21  Tom Tromey  <tromey@redhat.com>
7133
7134         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
7135         search at 2, not 3.
7136
7137 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
7138
7139         * java/io/natFileWin32.cc (isAbsolute): Check path length before
7140         looking at any characters.
7141         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
7142         be used.
7143         (isAbsolute): Check path's length as well.
7144
7145 2003-01-17  Mark Wielaard  <mark@klomp.org>
7146
7147         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
7148         (nat_source_files): Add natVMObjectStreamClass.cc.
7149         * Makefile.in: Regenerated.
7150         * gcj/javaprims.h (namespace java): Regenerated.
7151         * java/io/ObjectStreamClass.java (getClassUID): Call
7152         VMObjectStreamClass.hasClassInitializer().
7153         (hasClassInitializer): Removed.
7154         * java/io/VMObjectStreamClass.java: New class.
7155         * java/io/natVMObjectStreamClass.cc: New file.
7156         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
7157
7158 2003-01-16  Mark Wielaard  <mark@klomp.org>
7159
7160         * java/net/SocketImpl.java (toString): Don't explicitly call
7161         toString() on possible null address.
7162
7163 2003-01-16  Michael Koch  <konqueror@gmx.de>
7164
7165         * java/net/MulticastSocket.java
7166         (setInterface): Reindented.
7167
7168 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7169
7170         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
7171         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
7172         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
7173         translateY arguments.  Implement.
7174         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
7175         down translation arguments.
7176         (drawPolyline, drawPolygon): Fix incorrect tests.
7177         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
7178         translateX and translateY arguments.
7179
7180 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7181
7182         * Makefile.in: Rebuilt.
7183         * Makefile.am (xlib_includes): New macro.
7184         (INCLUDES): Use it.
7185
7186 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7187
7188         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
7189         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
7190         16-bit display mode.
7191
7192 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
7193
7194         * java/awt/CardLayout.java (show): Rewrote.
7195         (gotoComponent): Removed `target' argument.  Simplified code.
7196         Don't pre-compute `choice' unless `what' is FIRST or LAST.
7197         Changed all callers.
7198         (NONE): Removed.
7199         
7200 2003-01-14  Michael Koch  <konqueror@gmx.de>
7201
7202         * java/net/InetSocketAddress.java
7203         (serialVersionUID): New member variable.
7204         * java/net/NetPermission.java
7205         (NetPermission): Dont implement java.io.Serialization directly.
7206         * java/net/SocketAddress.java:
7207         (serialVersionUID): Documentation added.
7208         
7209 2003-01-14  Michael Koch  <konqueror@gmx.de>
7210
7211         * java/awt/Label.java
7212         (Label): Implements javax.accessibility.Accessible;
7213         * java/awt/List.java
7214         (List): Implements javax.accessibility.Accessible;
7215         * java/awt/ScrollPane.java
7216         (ScrollPane): Implements javax.accessibility.Accessible;
7217         * java/awt/Scrollbar.java
7218         (Scrollbar): Implements javax.accessibility.Accessible;
7219         * java/awt/TextComponent.java
7220         (setCaretPosition): Throw exception, documentation added.
7221         * java/awt/Toolkit.java:
7222         Added some newlines in method documentations.
7223         (createButton): Exception documentation added.
7224         (createTextField): Exception documentation added.
7225         (createLabel): Exception documentation added.
7226         (createList): Exception documentation added.
7227         (createCheckbox): Exception documentation added.
7228         (createScrollbar): Exception documentation added.
7229         (createScrollPane): Exception documentation added.
7230         (createTextArea): Exception documentation added.
7231         (createChoice): Exception documentation added.
7232         (createFrame): Exception documentation added.
7233         (createWindow): Exception documentation added.
7234         (createDialog): Exception documentation added.
7235         (createMenuBar): Exception documentation added.
7236         (createMenu): Exception documentation added.
7237         (createMenuItem): Exception documentation added.
7238         (createFileDialog): Exception documentation added.
7239         (createCheckboxMenuItem): Exception documentation added.
7240         (loadSystemColors): Exception documentation added.
7241         (setDynamicLayout): Exception documentation added.
7242         (isDynamicLayoutSet): Exception documentation added.
7243         (isDynamicLayoutActive): Exception documentation added.
7244         (getScreenSize): Exception documentation added.
7245         (getScreenResolution): Exception documentation added.
7246         (getScreenInsets): Exception documentation added.
7247         (getColorModel): Exception documentation added.
7248         (getSystemClipboard): Exception documentation added.
7249         (getSystemSelection): Exception documentation added.
7250         (getMenuShortcutKeyMask): Exception documentation added.
7251         (getSystemEventQueue): Exception documentation added.
7252         * java/awt/Window.java:
7253         Reindented some code.
7254         (Window): Centralized implementation, documentation added.
7255         (finalize): Documentation added.
7256         (hide): Fixed typo in comment.
7257         (getWindowListeners): Documentation added.
7258         * java/awt/color/ColorSpace.java
7259         (toRGB): Documentation added.
7260         * java/awt/color/ICC_ColorSpace.java
7261         (ICC_ColorSpace): Documentation added.
7262         (toRGB): Throw exception, documentation added.
7263         (fromRGB): Throw exception, documentation added.
7264         (toCIEXYZ): Documentation added.
7265         (fromCIEXYZ): Documentation added.
7266         (getMinValue): Documentation added.
7267         (getMaxValue): Documentation added.
7268         * java/awt/geom/Dimension2D.java
7269         (clone): Documentation added.
7270         * java/awt/geom/GeneralPath.java
7271         (clone): Documentation added.
7272         * java/awt/geom/Line2D.java
7273         (clone): Documentation added.
7274         * java/awt/geom/QuadCurve2D.java
7275         (clone): Documentation added.
7276         * java/awt/image/ColorModel.java
7277         (ColorModel): Throw exception, documentation added.
7278         * java/awt/image/ImageFilter.java
7279         (clone): Doesnt throw CloneNotSupportedException.
7280
7281 2003-01-14  Andrew Haley  <aph@redhat.com>
7282
7283         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
7284         in a try block.
7285
7286 2003-01-10  Andrew Haley  <aph@redhat.com>
7287
7288         * include/dwarf2-signal.h: Remove x86_64.
7289         * configure.host (x86_64 DIVIDESPEC): Remove.
7290         * include/x86_64-signal.h: New file.
7291         * configure.in: Regenerate.
7292
7293 2003-01-10  Michael Koch  <konqueror@gmx.de>
7294
7295         * java/net/DatagramSocket.java
7296         (ch): Description added.
7297         (remotePort): Initialize with -1.
7298         (connect): Doesnt throws SocketException.
7299         * java/net/MulticastSocket.java
7300         (setInterface): Merge with Classpath.
7301         * java/net/ServerSocket.java
7302         (closed): New member variable.
7303         (bind): Check if socket is closed.
7304         (close): Close an associated channel too, set new value to closed.
7305         (isBound): Reindented.
7306         (isClosed): Implemented.
7307         * java/net/Socket.java
7308         (closed): New member variable.
7309         (bind): Check if socket is closed.
7310         (connect): Check if socket is closed.
7311         (close): Close an associated channel too, set new value to closed.
7312         (isClosed): Implemented.
7313
7314 2003-01-10  Michael Koch  <konqueror@gmx.de>
7315
7316         * java/awt/DisplayMode.java
7317         (equals): Fixed argument type and implementation.
7318
7319 2003-01-07  Tom Tromey  <tromey@redhat.com>
7320
7321         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
7322         JV_HASH_SYNCHRONIZATION.
7323         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
7324         JV_HASH_SYNCHRONIZATION.
7325
7326 2003-01-07  Michael Koch  <konqueror@gmx.de>
7327  
7328         * java/net/DatagramSocket.java:
7329         Added classpath license info.
7330         (DatagramSocket): Merged description with classpath.
7331         (close): Merged description with classpath.
7332         (getChannel): Merged description with classpath.
7333         (getInetAddress): Merged description with classpath.
7334         (getPort): Merged description with classpath.
7335         (getLocalAddress): Merged description with classpath.
7336         (getLocalPort): Merged description with classpath.
7337         (getSoTimeout): Merged description with classpath.
7338         (setSoTimeout): Merged description with classpath.
7339         (getSendBufferSize): Merged description with classpath.
7340         (setSendBufferSize): Merged description with classpath.
7341         (getReceiveBufferSize): Merged description with classpath.
7342         (setReceiveBufferSize): Merged description with classpath.
7343         
7344 2003-01-04  Tom Tromey  <tromey@redhat.com>
7345
7346         * java/awt/List.java: Merged with Classpath.
7347
7348 2003-01-03  Mark Wielaard  <mark@klomp.org>
7349
7350         * java/io/FileDescriptor.java (position): New private field.
7351         * java/io/natFileDescriptorPosix.cc (write): Up position.
7352         (setLength): Use and set position.
7353         (seek): Set position.
7354         (getFilePointer): Return position.
7355         (read): Up position.
7356
7357 2003-01-03  Mark Wielaard  <mark@klomp.org>
7358
7359         Merge with Classpath:
7360         * java/io/ObjectStreamClass.java (lookup): Split method and call
7361         lookupForClassObject().
7362         (lookupForClassObject): New method.
7363         (isProxyClass): New field.
7364         (setClass): Set isProxyClass, add object to classLookupTable, set
7365         superClass and calculateOffsets.
7366         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
7367         and not a proxy class.
7368         (setFields): Set accessible true for serialPersistentFields.
7369         (getClassUID): Same for suid. And check if suid is of type long.
7370         (hasClassInitializer): Don't throw NoSuchMethodError.
7371
7372 2003-01-03  Mark Wielaard  <mark@klomp.org>
7373
7374         * java/io/FileInputStream.java (finalize): Don't explicitly
7375         finalize FileDescriptor.
7376
7377 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
7378
7379         * configure.host (sparc*-*): Enable bytecode interpreter.
7380
7381 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
7382
7383         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
7384         Don't throw RemoteException.
7385         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
7386         throw RemoteException.
7387
7388 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7389
7390         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
7391         proxyHost): New static fields.
7392         (<clinit>): Initialize new fields.
7393         (connect): Use proxy if necessary.
7394         (usingProxy): Implement.
7395
7396 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
7397
7398         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
7399         (TreeIterator.remove): Prefer IllegalStateException over
7400         ConcurrentModificationException, to match Sun.
7401
7402 2002-12-22  Anthony Green  <green@redhat.com>
7403
7404         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
7405
7406 2003-01-02  Mark Wielaard  <mark@klomp.org>
7407
7408         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
7409         public.
7410         (HTTP_USE_PROXY): Add field.
7411         (getResponseVals): Only set responseCode when not yet explicitly
7412         set by subclass.
7413
7414 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
7415             Mark Wielaard  <mark@klomp.org>
7416
7417         * java/util/zip/ZipFile.java (entries): Now HashMap.
7418         (readLeShort(DataInput, byte[])): Read from given byte array.
7419         (readLeInt(DataInput, byte[]): Likewise.
7420         (readLeShort(byte[] b, int off)): New method.
7421         (readLeInt(byte[] b, int off)): Likewise.
7422         (readEntries): Use byte arrays to read info in bigger chunks.
7423         (getEntries): Return HashMap.
7424         (getEntry): Use HashMap.
7425         (locBuf): New private field.
7426         (checkLocalHeader): Use locBuf to read info in one chunk.
7427         (getInputStream): Use entries HashMap, wrap PartialInputStream
7428         in BufferedInputStream.
7429         (ZipEntryEnumeration): Use HashMap and Interator.
7430
7431 2003-01-02  Mark Wielaard  <mark@klomp.org>
7432             Jeroen Frijters  <jeroen@sumatra.nl>
7433
7434         * java/net/URLClassLoader.java (Resource.getCodeSource):
7435         Fix check certs == null.
7436         (getCanonicalFileURL): Removed method.
7437         (JarURLLoader): Don't call removed method.
7438         (FileURLLoader): Likewise.
7439         (FileURLLoader.getResource): Don't canonicalize file name.
7440
7441 2003-01-01  Tom Tromey  <tromey@redhat.com>
7442
7443         * Makefile.in: Rebuilt.
7444         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
7445         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
7446         java/awt/BufferCapabilities.java, java/awt/Button.java,
7447         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
7448         java/awt/Container.java, java/awt/Cursor.java,
7449         java/awt/EventQueue.java, java/awt/FileDialog.java,
7450         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
7451         java/awt/MenuBar.java, java/awt/MenuComponent.java,
7452         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
7453         java/awt/Scrollbar.java, java/awt/TextArea.java,
7454         java/awt/TextField.java, java/awt/color/CMMException.java,
7455         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
7456         java/awt/color/ProfileDataException.java,
7457         java/awt/datatransfer/Clipboard.java,
7458         java/awt/datatransfer/DataFlavor.java,
7459         java/awt/datatransfer/FlavorMap.java,
7460         java/awt/datatransfer/SystemFlavorMap.java,
7461         java/awt/dnd/DragGestureEvent.java,
7462         java/awt/dnd/DragGestureRecognizer.java,
7463         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
7464         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
7465         java/awt/im/InputMethodHighlight.java,
7466         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
7467         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
7468
7469         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
7470         `op' to BufferedImageOp.
7471
7472 2002-12-31  Tom Tromey  <tromey@redhat.com>
7473
7474         Fix for PR libgcj/7416:
7475         * javax/naming/InitialContext.java (init): Use
7476         gnu.classpath.home.url.
7477         * java/security/Security.java: Use new properties.
7478         (loadProviders): Accept base url; use it.
7479         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
7480         gnu.classpath.home.url.
7481         (gnu.classpath.home.url): Define.
7482         (gnu.classpath.vm.shortname): Likewise.
7483
7484 2002-12-31  Tom Tromey  <tromey@redhat.com>
7485             Ranjit Mathew  <rmathew@hotmail.com>
7486
7487         Fix for PR libgcj/8997:
7488         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
7489         Include platform.h.
7490         * include/posix.h (_Jv_platform_usleep): New function.
7491         * include/win32.h (_Jv_platform_usleep): New function.
7492
7493 2002-12-29  Tom Tromey  <tromey@redhat.com>
7494
7495         * gcj/javaprims.h: Updated.
7496         * scripts/classes.pl (scan): Removed stray semicolon.
7497
7498 2002-12-30  Mark Wielaard  <mark@klomp.org>
7499
7500         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
7501         if zero or smaller.
7502
7503 2002-12-30  Mark Wielaard  <mark@klomp.org>
7504
7505         * java/util/Properties (formatForOutput): Don't fall through to
7506         default case after escaping character.
7507
7508 2002-12-30  Mark Wielaard  <mark@klomp.org>
7509
7510         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
7511         against count.
7512
7513 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
7514
7515         * boehm.cc: Remove stray semicolon.
7516         * interpret.cc: Likewise.
7517         * prims.cc: Likewise.
7518         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
7519         earlier to ensure default arguments are processed.
7520         * gcj/array.h (JArray): Add forward declaration.
7521         (elements): Likewise.
7522         * gcj/javaprim.h: Remove stray semicolons.
7523         * include/bohm-gc.h: Likewise.
7524         * include/jni.h: Likewise.
7525         * include/jvm.h: Likewise.
7526         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
7527         
7528 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
7529
7530         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
7531         of catch_type.
7532         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
7533         idt tables after initializing superclass.
7534         * java/lang/natClassLoader.cc (uaddr): New typedef.
7535         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
7536         if they are constant pool indicies.  Don't link vtable, otable yet.
7537
7538 2002-12-21  Anthony Green  <green@redhat.com>
7539
7540         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
7541         libraries.
7542         * Makefile.in: Rebuilt.
7543
7544 2002-12-19  Anthony Green  <green@redhat.com>
7545
7546         * Makefile.am (ordinary_java_source_files): Add
7547         org/xml/sax/helpers/NewInstance.java.
7548         * Makefile.in: Rebuilt.
7549         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
7550         org/xml/sax/helpers/package.html: New files.
7551         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
7552         http://www.saxproject.org.
7553
7554 2002-12-19  Andrew Haley  <aph@redhat.com>
7555
7556         * java/util/natResourceBundle.cc: Include
7557         ArrayIndexOutOfBoundsException.h.
7558         (getCallingClassLoader): Don't put upper bound on stack search.
7559         Catch ArrayIndexOutOfBoundsException.
7560
7561 2002-12-19  Tom Tromey  <tromey@redhat.com>
7562
7563         * libtool-version: Increased `current'.
7564
7565 2002-12-19  Tom Tromey  <tromey@redhat.com>
7566
7567         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
7568         comment.
7569         * java/lang/ClassLoader.java (defineClass): Use chained
7570         exception when rethrowing.
7571         * defineclass.cc (handleClassBegin): Mark class as interpreted.
7572         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
7573         constants.
7574         * resolve.cc (_Jv_PrepareMissingMethods): New function.
7575         (_Jv_PrepareClass): Use it.
7576         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
7577         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
7578         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
7579         (Class): _Jv_PrepareMissingMethods now friend.
7580         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
7581         Record `NULL' for system class loader.
7582         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
7583         system class loader.
7584         (_Jv_FindClassInCache): Likewise.
7585         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
7586         (_Jv_FindClass): Special case system class loader.
7587         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
7588         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
7589         vtable slots.
7590         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
7591         in a final class.
7592         (_getDeclaredMethod): Don't return synthetic methods.
7593         (getDeclaredMethods): Likewise.
7594         (_getMethod): Likewise.
7595         (_getMethods): Likewise.
7596
7597 2002-12-18  Raif Naffah  <raif@fl.net.au>
7598
7599         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
7600         canonical form after divide().
7601         (modInverse): Likewise.
7602
7603 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
7604             Mark Wielaard  <mark@klomp.org>
7605
7606         * java/security/SecurityRandom (digest): Removed field.
7607         (SecureRandom): Check all providers for case-insensitive SecureRandom
7608         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
7609         if necessary.
7610         (getInstance(String,Provider,boolean): New method.
7611         (getInstance(String)): Use new method.
7612         (getInstance(String,String)): Likewise.
7613         (getInstance(String,Provider)): Likewise.
7614
7615 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
7616
7617         * java/security/Security.java (loadProviders): Increment i only once.
7618
7619 2002-12-12  Mark Wielaard  <mark@klomp.org>
7620
7621         * java/lang/ClassLoader.java (resolveClass0): Transform
7622         ClassNotFoundException to NoClassDefFoundError. Transform all other
7623         throwables to LinkageError.
7624
7625 2002-12-11  Tom Tromey  <tromey@redhat.com>
7626
7627         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
7628
7629         * java/lang/ClassLoader.java (loadedClasses): New field.
7630         (defineClass): Fixed indentation.  Put new class in
7631         loadedClasses.
7632         (findLoadedClass): Implement here.
7633         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
7634
7635 2002-12-10  Tom Tromey  <tromey@redhat.com>
7636
7637         * Makefile.in: Rebuilt.
7638         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
7639         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
7640         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
7641         * java/lang/natClassLoader.cc
7642         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
7643
7644 2002-12-10  Mark Wielaard  <mark@klomp.org>
7645             Tom Tromey  <tromey@redhat.com>
7646
7647         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
7648         (JarURLLoader): Use it.
7649         (FileURLLoader): Likewise.
7650         (JarURLResource.getURL): Use chained exception.
7651         (FileResource.getURL): Likewise.
7652         (FileURLLoader.getResource): Use canonical file name.
7653         (addURL): Indentation fix.
7654
7655 2002-12-10  Tom Tromey  <tromey@redhat.com>
7656
7657         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
7658         From Laurent Bardet <l.bardet@magic.fr>.
7659
7660 2002-12-09  Tom Tromey  <tromey@redhat.com>
7661
7662         * include/win32.h (_Jv_platform_solib_prefix): New define.
7663         (_Jv_platform_solib_suffix): Likewise.
7664         * include/posix.h (_Jv_platform_solib_prefix): New define.
7665         (_Jv_platform_solib_suffix): Likewise.
7666         * java/lang/natRuntime.cc: Include StackTrace.h.
7667         (_load): Use findLibrary and new platform defines.
7668         (nativeGetLibname): Use new platform defines.
7669
7670         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
7671         `t' won't be null.
7672
7673 2002-12-08  Mark Wielaard  <mark@klomp.org>
7674
7675         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
7676         cache remote jar files.
7677         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
7678         add File.separator to URL when it is a directory.
7679         * java/lang/ClassLoader.java: Add Classpath javadoc.
7680         (parent): final.
7681         (getParent): Add (disabled) security check.
7682         (findLibrary): New default method.
7683         * java/net/JarURLConnection.java (getManifest): Implement.
7684         (getInputStream): Only create InputStream when entry exists.
7685         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
7686         when they exist.
7687         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
7688
7689 2002-12-08  Mark Wielaard  <mark@klomp.org>
7690
7691         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
7692         (lastDefaultLocale): New field.
7693         (getBundle): When Locale.getDefault != lastDefaultLocale reset
7694         resourceBundleCache.
7695
7696 2002-12-06  Mark Wielaard  <mark@klomp.org>
7697
7698         * java/net/InetAddress.java (toString): Use hostname when not null,
7699         don't do an explicit reverse getHostName() lookup.
7700         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
7701         NullPointerException.
7702
7703 2002-12-06  Tom Tromey  <tromey@redhat.com>
7704
7705         * include/java-interp.h (class _Jv_InterpMethod): Added
7706         JV_MARKOBJ_DECL.
7707         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
7708         mark `prepared' field of interpreted method.
7709         * interpret.cc (compile): Use _Jv_AllocBytes.
7710
7711 2002-12-05  Andrew Haley  <aph@redhat.com>
7712
7713         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
7714         #ifdef (HAVE_BACKTRACE) around the whole function body.
7715
7716 2002-12-05  Tom Tromey  <tromey@redhat.com>
7717
7718         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
7719         * resolve.cc: Don't include AbstractMethodError.h.
7720         (_Jv_abstractMethodError): Removed.
7721         * defineclass.cc (handleMethodsBegin): Initialize method index to
7722         -1.
7723         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
7724         method index for "new" final method.
7725         (_Jv_SetVTableEntries): Compare index against -1 instead of using
7726         isVirtualMethod.  Added `flags' argument.
7727         (_Jv_MakeVTable): Throw exception for abstract method in concrete
7728         class.
7729
7730 2002-12-04  Tom Tromey  <tromey@redhat.com>
7731
7732         * java/net/SocketPermission.java (hashCode): Rewrote.
7733
7734 2002-12-04  Tom Tromey  <tromey@redhat.com>
7735
7736         * Makefile.in: Rebuilt.
7737         * Makefile.am (nat_source_files): Added natVMSecurityManager,
7738         natResourceBundle.
7739         * java/util/ResourceBundle.java (Security): Removed.
7740         (getCallingClassLoader): Now native.
7741         * java/util/natResourceBundle.cc: New file.
7742         * java/lang/natVMSecurityManager.cc: New file.
7743         * java/lang/VMSecurityManager.java (getClassContext): Now native.
7744
7745 2002-12-03  Mark Wielaard  <mark@klomp.org>
7746
7747         * java/util/jar/JarFile.java (manifest): Not final.
7748         (manifestRead): New field.
7749         (JarFile): Don't read Manifest in constructor.
7750         (getManifest): New method.
7751         (JarEnumeration.nextElement): Use new method.
7752         (getEntry): Likewise.
7753         * java/util/zip/ZipFile.java (name): Final.
7754         (raf): Likewsie.
7755         (entries): Change type to Hashtable.
7756         (closed): New field.
7757         (ZipFile): Don't read enties in constructor.
7758         (readEntries): Use Hashtable.
7759         (close): Set new close flag and set entries to null inside
7760         synchronized block.
7761         (entries): Contruct enumeration using new getEntries() method and
7762         entries Hashtable.
7763         (getEntryIndex): Removed.
7764         (getEntries): New method.
7765         (getEntry): Use new getEntries() method and entries Hastable.
7766         (getInputStream): Likewise.
7767         (size): Return getEntries().size().
7768         (ZipEntryEnumeration): Wrap entries Hashtable elements.
7769         * java/util/zip/ZipEntry.java (cal): Don't initialize.
7770         (time): Removed
7771         (dostime): New field.
7772         (zipFileIndex): Removed.
7773         (ZipEntry(ZipEntry)): Copy dostime.
7774         (setDOSTime): Now final and doesn't convert dos time.
7775         (getDOSTime): Likewise.
7776         (setTime): Convert dos time.
7777         (getTime): Likewise.
7778         (getCalendar): New method.
7779         (setExtra): Use setTime().
7780         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7781
7782 2002-12-03  Tom Tromey  <tromey@redhat.com>
7783
7784         * java/lang/Character.java (forDigit): Formatting fix.
7785
7786 2002-12-03  Raif Naffah  <raif@fl.net.au>
7787
7788         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7789         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7790         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7791
7792 2002-12-03  Andrew Haley  <aph@redhat.com>
7793
7794         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7795         _Jv_PushClass.
7796         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7797         (_Jv_PopClass): New.
7798         (_Jv_PushClass): New.
7799         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7800         discover the ClassLoader of our caller.
7801         (_Jv_CheckArrayStore): Don't check that a class is assignment
7802         compatible with Object.
7803         * java/lang/natVMTHrowable.cc: Delete.
7804         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7805         java.lang.VMThrowable.
7806         (StackTrace(), StackTrace(int)): New constructors.
7807         (classAt, methodAt, update, methodAtAddress): New methods.
7808         (map): New field.
7809         * java/lang/VMThrowable.java: Use StackTrace instead of
7810         natVMTHrowable.
7811         * java/lang/Class.h (getClassLoaderInternal): New.
7812         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7813         Be friendly with gnu::gcj::runtime::StackTrace.
7814         (Object.chain): New field.
7815         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7816         gnu::gcj::runtime::StackTrace.
7817         * gnu/gcj/runtime/natStackTrace.cc: New file.
7818         * gnu/gcj/runtime/MethodRef.java: New file.
7819         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7820         instead of getClassLoader().
7821         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7822         java::lang::VMThrowable.
7823         * Makefile.am (core_java_source_files): Add MethodRef.java,
7824         StackTrace.java.
7825         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7826         * Makefile.in: Rebuild.
7827
7828 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
7829
7830         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7831         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7832         yes also for sh-linux* and sh[34]*-linux*.
7833         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7834         set SIGNAL_HANDLER to use DWARF2 exception for them.
7835         * configure: Regenerate.
7836
7837 2002-12-02  Tom Tromey  <tromey@redhat.com>
7838
7839         * jni.cc: Added `name' argument.
7840         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7841         `const char *' argument.
7842         (class _Jv_JNIEnv) [DefineClass]: Likewise.
7843
7844 2002-12-01  Tom Tromey  <tromey@redhat.com>
7845
7846         Bug compatibility, for PR libgcj/8738:
7847         * java/io/CharArrayWriter.java (close): Do nothing.
7848         (flush): Likewise.
7849         (reset): Don't touch `closed'.
7850         (write(int)): Don't throw IOException.
7851         (write(char[],int,int)): Likewise.
7852         (write(String,int,int)): Likewise.
7853         (closed): Removed.
7854
7855 2002-12-01  Mark Wielaard  <mark@klomp.org>
7856
7857         * java/lang/SecurityManager.java: Remerge comments, indenting and
7858         checkXXX methods with Classpath.
7859
7860 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
7861
7862         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7863         getNormalizedComponents): Fix calculation which was using one too
7864         many bits in the unnormalized format.
7865
7866 2002-11-29  Gary Benson  <gbenson@redhat.com>
7867
7868         For PR libgcj/8759:
7869         * java/beans/Introspector.java (flushCaches): New method.
7870         (flushFromCaches): Likewise.
7871
7872 2002-11-29  Michael Koch <konqueror@gmx.de>
7873
7874         * java/nio/channels/DatagramChannel.java
7875         (open): Added exception documentation.
7876         (write): Added exception documentation.
7877         (connect): Added exception documentation.
7878         (disconnect): Added exception documentation.
7879         (isConnected): Added exception documentation.
7880         (read): Added exception documentation.
7881         (receive): Added exception documentation.
7882         (send): Added exception documentation.
7883         (validOps): Added exception documentation.
7884         * java/nio/channels/SocketChannel.java
7885         (open): Added exception documentation.
7886         (read): Added exception documentation.
7887         (write): Added exception documentation.
7888         (connect): Added exception documentation.
7889         (finishConnect): Added exception documentation.
7890
7891 2002-11-29  Michael Koch <konqueror@gmx.de>
7892
7893         * gnu/java/nio/DatagramChannelImpl:
7894         (fd): New member variable to store file descriptor of socket.
7895         * gnu/java/nio/SelectionKeyImpl.java:
7896         (ops): Removed.
7897         (readyOps): New member variable.
7898         (interestOps): New member variable.
7899         (readyOps): Implemented.
7900         (readyOps): New method to set member variable readyOps.
7901         (interestOps): Replaced ops by interestOps.
7902         * gnu/java/nio/SelectorImpl.java:
7903         (SelectorImpl): Initialize key sets.
7904         (select): Call select with -1 instead of Long.MAX_VALUE).
7905         (java_do_select): Make it a native method.
7906         (getFDsAsArray): New helper method.
7907         (select): Remove canceled keys, give only interested file discriptors
7908         to java_do_select, set ready ops.
7909         (add): No need to initialize keys set here.
7910         (add_selected): No need to initialize selected set here.
7911         (deregisterCanceledKeys): New helper method.
7912         (register): Set interest ops, set attachments, added handling of datagram
7913         channels.
7914         * gnu/java/nio/ServerSocketChannelImpl:
7915         (SocketAccept): Renamed from NioSocketAccept.
7916         (implConfigureBlocking): Implemented.
7917         (accept): Use SocketAccept instead of NioSocketAccept.
7918         * gnu/java/nio/SocketChannelImpl:
7919         Reactivate native methods.
7920
7921 2002-11-29  Michael Koch <konqueror@gmx.de>
7922
7923         * gnu/java/nio/natByteBufferImpl.cc,
7924         gnu/java/nio/natCharBufferImpl.cc,
7925         gnu/java/nio/natDoubleBufferImpl.cc,
7926         gnu/java/nio/natFloatBufferImpl.cc,
7927         gnu/java/nio/natIntBufferImpl.cc,
7928         gnu/java/nio/natLongBufferImpl.cc,
7929         gnu/java/nio/natSelectorImpl.cc,
7930         gnu/java/nio/natServerSocketChannelImpl.cc,
7931         gnu/java/nio/natShortBufferImpl.cc,
7932         gnu/java/nio/natSocketChannelImpl.cc:
7933         New files that implement native functionalities.
7934
7935 2002-11-29  Michael Koch <konqueror@gmx.de>
7936
7937         * gnu/java/nio/ByteBufferImpl.java
7938         (ByteBufferImpl): Moved position() after limit.
7939         (nio_*): Use native implementation.
7940         * gnu/java/nio/CharBufferImpl.java:
7941         Reformated.
7942         (endian): New member variable string endianess of buffer.
7943         (CharBufferImpl): Moved position() after limit.
7944         (nio_*): Use native implementation.
7945         (subSequence): Implemented.
7946         * gnu/java/nio/DoubleBufferImpl.java
7947         (DoubleBufferImpl): Moved position() after limit.
7948         (nio_*): Use native implementation.
7949         * gnu/java/nio/FloatBufferImpl.java
7950         Reformated.
7951         (FloatBufferImpl): Moved position() after limit.
7952         (nio_*): Use native implementation.
7953         * gnu/java/nio/IntBufferImpl.java
7954         Added needed imports, Reformated.
7955         (IntBufferImpl): Moved position() after limit.
7956         (nio_*): Use native implementation.
7957         * gnu/java/nio/LongBufferImpl.java
7958         Reformated.
7959         (LongBufferImpl): Moved position() after limit.
7960         (nio_*): Use native implementation.
7961         * gnu/java/nio/ShortBufferImpl.java
7962         Reformated.
7963         (ShortBufferImpl): Moved position() after limit.
7964         (nio_*): Use native implementation.
7965
7966 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
7967
7968         * java/util/Locale.java (toString): Improve efficiency if country
7969         and variant are both empty.
7970
7971 2002-11-26  Tom Tromey  <tromey@redhat.com>
7972
7973         * verify.cc (pop_init_ref): New method.
7974         (verify_instructions_0) [op_iaload, op_laload, op_faload,
7975         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7976         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7977         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7978         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7979         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7980         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
7981         let `this' argument be uninitialized.  Don't let `null' be passed
7982         as `this' to construtor.
7983
7984 2002-11-26  Mark Wielaard  <mark@klomp.org>
7985
7986         * javax/transaction/HeuristicCommitException.java: Classpath merge.
7987         * javax/transaction/HeuristicMixedException.java: Likewise.
7988         * javax/transaction/HeuristicRollbackException.java: Likewise.
7989         * javax/transaction/InvalidTransactionException.java: Likewise.
7990         * javax/transaction/NotSupportedException.java: Likewise.
7991         * javax/transaction/RollbackException.java: Likewise.
7992         * javax/transaction/Status.java: Likewise.
7993         * javax/transaction/Synchronization.java: Likewise.
7994         * javax/transaction/SystemException.java: Likewise.
7995         * javax/transaction/Transaction.java: Likewise.
7996         * javax/transaction/TransactionManager.java: Likewise.
7997         * javax/transaction/TransactionRequiredException.java: Likewise.
7998         * javax/transaction/TransactionRolledbackException.java: Likewise.
7999         * javax/transaction/UserTransaction.java: Likewise.
8000         * javax/transaction/xa/XAException.java: Likewise.
8001         * javax/transaction/xa/XAResource.java: Likewise.
8002         * javax/transaction/xa/Xid.java: Likewise.
8003
8004 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
8005
8006         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8007         define.
8008         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8009         * include/posix.h (socklen_t): Define if not already defined.
8010
8011 2002-11-25  Tom Tromey  <tromey@redhat.com>
8012
8013         * verify.cc (type::compatible): Backed out broken change.
8014
8015         * verify.cc (type::compatible): Check initialization status
8016         first.
8017         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8018         Don't use NULLCHECK.
8019
8020 2002-11-23  H.J. Lu <hjl@gnu.org>
8021
8022         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8023         Include ../config/accross.m4.
8024         * aclocal.m4; Rebuild.
8025         * configure: Likewise.
8026
8027 2002-11-23  Mark Wielaard  <mark@klomp.org>
8028
8029         * javax/naming/AuthenticationException.java: Update copyright header.
8030         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8031         * javax/naming/Binding.java: Likewise.
8032         * javax/naming/CannotProceedException.java: Likewise.
8033         * javax/naming/CommunicationException.java: Likewise.
8034         * javax/naming/CompositeName.java: Likewise.
8035         * javax/naming/CompoundName.java: Likewise.
8036         * javax/naming/ConfigurationException.java: Likewise.
8037         * javax/naming/Context.java: Likewise.
8038         * javax/naming/ContextNotEmptyException.java: Likewise.
8039         * javax/naming/InitialContext.java: Likewise.
8040         * javax/naming/InsufficientResourcesException.java: Likewise.
8041         * javax/naming/InterruptedNamingException.java: Likewise.
8042         * javax/naming/LimitExceededException.java: Likewise.
8043         * javax/naming/LinkException.java: Likewise.
8044         * javax/naming/LinkLoopException.java: Likewise.
8045         * javax/naming/LinkRef.java: Likewise.
8046         * javax/naming/MalformedLinkException.java: Likewise.
8047         * javax/naming/NameAlreadyBoundException.java: Likewise.
8048         * javax/naming/NameClassPair.java: Likewise.
8049         * javax/naming/NameNotFoundException.java: Likewise.
8050         * javax/naming/NameParser.java: Likewise.
8051         * javax/naming/NamingEnumeration.java: Likewise.
8052         * javax/naming/NamingSecurityException.java: Likewise.
8053         * javax/naming/NoInitialContextException.java: Likewise.
8054         * javax/naming/NoPermissionException.java: Likewise.
8055         * javax/naming/NotContextException.java: Likewise.
8056         * javax/naming/OperationNotSupportedException.java: Likewise.
8057         * javax/naming/PartialResultException.java: Likewise.
8058         * javax/naming/Reference.java: Likewise.
8059         * javax/naming/Referenceable.java: Likewise.
8060         * javax/naming/ReferralException.java: Likewise.
8061         * javax/naming/ServiceUnavailableException.java: Likewise.
8062         * javax/naming/SizeLimitExceededException.java: Likewise.
8063         * javax/naming/TimeLimitExceededException.java: Likewise.
8064         * javax/naming/directory/Attribute.java: Likewise.
8065         * javax/naming/directory/AttributeInUseException.java: Likewise.
8066         * javax/naming/directory/AttributeModificationException.java: Likewise.
8067         * javax/naming/directory/Attributes.java: Likewise.
8068         * javax/naming/directory/BasicAttribute.java: Likewise.
8069         * javax/naming/directory/BasicAttributes.java: Likewise.
8070         * javax/naming/directory/DirContext.java: Likewise.
8071         * javax/naming/directory/InitialDirContext.java: Likewise.
8072         * javax/naming/directory/InvalidAttributeIdentifierException.java:
8073         Likewise.
8074         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
8075         * javax/naming/directory/InvalidAttributesException.java: Likewise.
8076         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
8077         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
8078         * javax/naming/directory/ModificationItem.java: Likewise.
8079         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
8080         * javax/naming/directory/SchemaViolationException.java: Likewise.
8081         * javax/naming/directory/SearchControls.java: Likewise.
8082         * javax/naming/directory/SearchResult.java: Likewise.
8083         * javax/naming/event/EventContext.java: Likewise.
8084         * javax/naming/event/EventDirContext.java: Likewise.
8085         * javax/naming/event/NamespaceChangeListener.java: Likewise.
8086         * javax/naming/event/NamingEvent.java: Likewise.
8087         * javax/naming/event/NamingExceptionEvent.java: Likewise.
8088         * javax/naming/event/NamingListener.java: Likewise.
8089         * javax/naming/event/ObjectChangeListener.java: Likewise.
8090         * javax/naming/ldap/Control.java: Likewise.
8091         * javax/naming/ldap/ControlFactory.java: Likewise.
8092         * javax/naming/ldap/ExtendedRequest.java: Likewise.
8093         * javax/naming/ldap/ExtendedResponse.java: Likewise.
8094         * javax/naming/ldap/HasControls.java: Likewise.
8095         * javax/naming/ldap/InitialLdapContext.java: Likewise.
8096         * javax/naming/ldap/LdapContext.java: Likewise.
8097         * javax/naming/ldap/LdapReferralException.java: Likewise.
8098         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
8099         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
8100         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
8101         * javax/naming/spi/DirObjectFactory.java: Likewise.
8102         * javax/naming/spi/DirStateFactory.java: Likewise.
8103         * javax/naming/spi/DirectoryManager.java: Likewise.
8104         * javax/naming/spi/InitialContextFactory.java: Likewise.
8105         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
8106         * javax/naming/spi/NamingManager.java: Likewise.
8107         * javax/naming/spi/ObjectFactory.java: Likewise.
8108         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
8109         * javax/naming/spi/ResolveResult.java: Likewise.
8110         * javax/naming/spi/Resolver.java: Likewise.
8111         * javax/naming/spi/StateFactory.java: Likewise.
8112
8113         * javax/naming/spi/NamingManager.java (ofb): Package private.
8114
8115 2002-11-21  Mark Wielaard  <mark@klomp.org>
8116
8117         * java/net/URL.java: Merge with Classpath (partly).
8118         * java/net/URLStreamHandler: Merge with Classpath.
8119
8120 2002-11-22  Michael Koch <konqueror@gmx.de>
8121
8122         * include/posix.h:
8123         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8124         * include/win32.h:
8125         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8126         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
8127
8128 2002-11-21  Michael Koch <konqueror@gmx.de>
8129
8130         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
8131         Only the new network functions should be in it.
8132
8133 2002-11-21  Michael Koch <konqueror@gmx.de>
8134
8135         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8136         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8137
8138 2002-11-21  Michael Koch <konqueror@gmx.de>
8139
8140         * java/nio/channels/AsynchronousCloseException.java,
8141         java/nio/channels/CancelledKeyException.java,
8142         java/nio/channels/ClosedByInterruptException.java,
8143         java/nio/channels/ConnectionPendingException.java,
8144         java/nio/channels/FileLockInterruptionException.java,
8145         java/nio/channels/IllegalSelectorException.java,
8146         java/nio/channels/NoConnectionPendingException.java,
8147         java/nio/channels/NonReadableChannelException.java,
8148         java/nio/channels/NonWritableChannelException.java,
8149         java/nio/channels/NotYetBoundException.java,
8150         java/nio/channels/NotYetConnectedException.java,
8151         java/nio/channels/OverlappingFileLockException.java,
8152         java/nio/channels/UnresolvedAddressException.java,
8153         java/nio/channels/UnsupportedAddressTypeException.java:
8154         New files.
8155         * Makefile.am (ordinary_java_source_files): Added new files.
8156         * Makefile.in: Regenerated.
8157
8158 2002-11-21  Michael Koch <konqueror@gmx.de>
8159
8160         * include/posix.h
8161         (_Jv_socket): New method.
8162         (_Jv_connect): New method.
8163         (_Jv_close): New method.
8164         (_Jv_platform_close_on_exec): Prefixed system function with "::".
8165         (_Jv_bind): New method.
8166         (_Jv_listen): New method.
8167         (_Jv_write): New method.
8168         (_Jv_read): New method.
8169         * include/win32.h
8170         (_Jv_socket): New method.
8171         (_Jv_connect): New method.
8172         (_Jv_close): New method.
8173         (_Jv_bind): New method.
8174         (_Jv_listen): New method.
8175         (_Jv_write): New method.
8176         (_Jv_read): New method.
8177         * java/net/natNetworkInterface.cc:
8178         Include platform.h, removed inclusion of socket.h
8179         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
8180         ::close() by _Jv_close().
8181         * java/net/natPlainDatagramSocketImpl.cc:
8182         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
8183         added some new lines to make code more readable.
8184         (create): Replaced ::socket() by _Jv_socket().
8185         (close): Replaced NATIVE_CLOSE() by _Jv_close().
8186         * java/net/natPlainSocketImpl.cc:
8187         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
8188         removed include of socket.h, removed some windows defines
8189         (now in include/win32.h).
8190         (create): Replaced ::socket() by _Jv_socket().
8191         (close): Replaced NATIVE_CLOSE() by _Jv_close().
8192         (write): Replaced ::read by _Jv_write().
8193         (read): Replaced ::read by _Jv_read().
8194
8195 2002-11-20  Michael Koch <konqueror@gmx.de>
8196
8197         * Makefile.am (ordinary_java_source_files):
8198         Added java/nio/channels/FileChannel.java.
8199         * Makefile.in: Regenerated.
8200
8201 2002-11-20  Michael Koch <konqueror@gmx.de>
8202
8203         * java/io/FileInputStream.java
8204         (getChannel): New method.
8205         * java/io/FileOutputStream.java
8206         (getChannel): New method.
8207         * java/net/ServerSocket.java
8208         (bind): Removed duplicate code and called another bind method instead.
8209         * java/nio/channels/SelectionKey.java
8210         (isValid): Removed wrong exception documentation.
8211         * java/nio/channels/ServerSocketChannel.java
8212         (accept): Added exception documentation.
8213         (open): Fixed typo, added exception documentation.
8214         * java/nio/channels/spi/AbstractSelectableChannel.java
8215         (implCloseChannel): Added exception documentation.
8216         (add): Reformated.
8217         (register): Added exception documentation.
8218
8219 2002-11-20  Andreas Jaeger  <aj@suse.de>
8220
8221         * configure: Regenerated with new libtool.m4.
8222
8223 2002-11-19  Tom Tromey  <tromey@redhat.com>
8224
8225         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
8226         `referent'.
8227         (finalize_referred_to_object): Don't modify `referent' or `copy'
8228         fields.
8229         (add_to_hash): Correctly set `n->next' when updating list.
8230         * java/lang/ref/Reference.java (enqueue): Return false if already
8231         enqueued.
8232
8233 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
8234
8235         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
8236         to function and function pointer declarations in accordance with
8237         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
8238         based on whether __GCJ_JNI_IMPL__ has been defined or not.
8239         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
8240         JNI function definitions.
8241
8242 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
8243
8244         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
8245         that was causing CoderResults to be cached, not WeakReferences
8246         to CoderResults.
8247
8248 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
8249
8250         * java/security/KeyStore.java (getInstance): Fix
8251         comment and throw IllegalArgumentException if
8252         given provider is null.
8253         (getInstance): New method for jdk1.4 compatibility.
8254
8255 2002-11-18  Michael Koch <konqueror@gmx.de>
8256
8257         * java/net/PlainSocketImpl.java: Fix imports.
8258
8259 2002-11-18  Michael Koch <konqueror@gmx.de>
8260
8261         * java/nio/channels/SelectionKey.java
8262         (isValid): Added exception documentation.
8263         * java/nio/channels/Selector.java
8264         (open): Declare "throws IOException".
8265
8266 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
8267
8268         * java/nio/charset/Charset.java
8269         (<clinit>): New method.
8270         (encode): Synchronize use of cached encoder object.
8271         (decode): Synchronize use of cached encoder object.
8272
8273 2002-11-18  Michael Koch <konqueror@gmx.de>
8274
8275         * gnu/java/nio/ByteBufferImpl.java,
8276         gnu/java/nio/CharBufferImpl.java,
8277         gnu/java/nio/DatagramChannelImpl.java,
8278         gnu/java/nio/DoubleBufferImpl.java,
8279         gnu/java/nio/FileChannelImpl.java,
8280         gnu/java/nio/FloatBufferImpl.java,
8281         gnu/java/nio/IntBufferImpl.java,
8282         gnu/java/nio/LongBufferImpl.java,
8283         gnu/java/nio/PipeImpl.java,
8284         gnu/java/nio/SelectionKeyImpl.java,
8285         gnu/java/nio/SelectorImpl.java,
8286         gnu/java/nio/SelectorProviderImpl.java,
8287         gnu/java/nio/ServerSocketChannelImpl.java,
8288         gnu/java/nio/ShortBufferImpl.java,
8289         gnu/java/nio/SocketChannelImpl.java,
8290         java/nio/DoubleBuffer.java,
8291         java/nio/FloatBuffer.java,
8292         java/nio/IntBuffer.java,
8293         java/nio/LongBuffer.java,
8294         java/nio/ShortBuffer.java,
8295         java/nio/channels/FileChannel.java: New files.
8296
8297 2002-11-18  Michael Koch <konqueror@gmx.de>
8298
8299         * Makefile.am (ordinary_java_source_files):
8300         Added java/nio/ReadOnlyBufferException.java and
8301         java/nio/channels/ClosedSelectorException.java.
8302         * Makefile.in: Regenerated.
8303
8304 2002-11-18  Michael Koch <konqueror@gmx.de>
8305
8306         * java/net/PlainSocketImpl.java: Reworked imports.
8307         * java/net/ServerSocket.java
8308         (ServerSocket): Create socket.
8309         * java/net/SocketAddress.java: Documentation added.
8310         * java/net/natPlainSocketImpl.cc: Reindented.
8311         * java/nio/ReadOnlyBufferException.java: New file
8312         * java/nio/channels/ClosedChannelException.java: Documentation added.
8313         * java/nio/channels/ClosedSelectorException.java: New file.
8314
8315 2002-11-17  Mark Wielaard  <mark@klomp.org>
8316
8317         * java/net/HttpURLConnection.java ((getPermission): Take port
8318         into consideration.
8319         (getErrorStream): Implement.
8320
8321 2002-11-17  Mark Wielaard  <mark@klomp.org>
8322
8323         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
8324
8325 2002-11-16  Mark Wielaard  <mark@klomp.org>
8326
8327         Integrate work by Raif S. Naffah (raif@fl.net.au)
8328         * java/security/DummyKeyPairGenerator.java (clone): New method.
8329         * java/security/DummyMessageDigest.java (clone): New method.
8330         (engineUpdate): Now public.
8331         (engineReset): Likewise.
8332         (engineDigest): Likewise.
8333         (engineGetDigestLength): New method.
8334         * java/security/DummySignature.java (clone): New method.
8335         * java/security/KeyPairGenerator.java (provider): Now package private.
8336         (getInstance(String)): Use getInstance(String,Provider).
8337         (getInstance(String,String): Use getInstance(String,Provider)
8338         (getInstance(String,Provider): New method.
8339         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
8340         * java/security/KeyPairGeneratorSpi.java (clone): New method.
8341         * java/security/MessageDigest.java (provider): Now package private.
8342         (getInstance(String): Use getInstance(String,Provider).
8343         (getInstance(String,String): Use getInstance(String,Provider)
8344         (getInstance(String,Provider): New method.
8345         * java/security/Provider.java (toCanonicalKey): New method.
8346         (get): New method that uses toCanonicalKey().
8347         (put): Use toCanonicalKey().
8348         (remove): Likewise.
8349         * java/security/Security.java (insertProviderAt): Provider index is one
8350         based, not zero based.
8351         (addProvider): Likewise.
8352         (removeProvider): Likewise.
8353         * java/security/Signature.java (provider): Now package private.
8354         (getInstance(String)): Use getInstance(String,Provider).
8355         (getInstance(String,String): Use getInstance(String,Provider)
8356         (getInstance(String,Provider): New method.
8357         (getInstance(String,String,Provider): Don't cast DummySignature.
8358
8359 2002-11-15  Tom Tromey  <tromey@redhat.com>
8360
8361         For PR libgcj/8593:
8362         * java/util/zip/GZIPInputStream.java (read): Check file size.
8363         Look in inflater for remaining input bytes.
8364         (read4): Added buf and offset arguments.
8365
8366 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
8367
8368         * java/applet/AppletContext.java: Fix typo and remove redundant
8369         modifiers.
8370
8371 2002-11-14  Tom Tromey  <tromey@redhat.com>
8372
8373         * java/lang/natRuntime.cc (insertSystemProperties): Set
8374         gnu.classpath.home.
8375
8376 2002-11-13  Michael Koch <konqueror@gmx.de>
8377
8378         * java/nio/ByteBuffer.java
8379         (allocate): New method.
8380         (wrap): New method.
8381         (put): New method.
8382         (get): New method.
8383
8384 2002-11-13  Michael Koch <konqueror@gmx.de>
8385
8386         * java/nio/channels/AlreadyConnectedException.java:
8387         Removed unneeded import.
8388         (AlreadyConnectedException): Documentation added.
8389         * java/nio/channels/Pipe.java
8390         (SinkChannel.SinkChannel): Documentation added.
8391         (SinkChannel.validOps): New method.
8392         (SourceChannel.SourceChannel): Documentation added.
8393         (SourceChannel.validOps): New method.
8394         (Pipe): Documentation added.
8395         (open): Documentation added.
8396         (SinkChannel.channel): Documentation added.
8397         (SourceChannel.channel): Documentation added.
8398         * java/nio/channel/SelectableChannel.java
8399         (SelectableChannel): Documentation added.
8400         (blockingLock): Documentation added.
8401         (configureBlocking):Documentation added.
8402         (isBlocking):Documentation added.
8403         (isRegistered):Documentation added.
8404         (keyFor):Documentation added.
8405         (provider):Documentation added.
8406         (register): Documentation added.
8407         (validOps): Documentation added.
8408         * jaba/nio/channels/SelectionKey.java
8409         (SelectionKey): Documentation added.
8410         (attach): Documentation added.
8411         (attachment): Documentation added.
8412         (isAcceptable): Documentation added.
8413         (isConnetable): Documentation added.
8414         (isReadable): Documentation added.
8415         (isWritable): Documentation added.
8416         (cancel): Documentation added.
8417         (channel): Documentation added.
8418         (interestOps): Documentation added.
8419         (isValid): Documentation added.
8420         (readyOps): Documentation added.
8421         (selector): Documentation added.
8422         * jaba/nio/channels/Selector.java
8423         (Selector): Documentation added.
8424         (open): Documentation added.
8425         (close): Documentation added.
8426         (isOpen): Documentation added.
8427         (keys): Documentation added.
8428         (provider): Documentation added.
8429         (select): Documentation added.
8430         (selectedKeys): Documentation added.
8431         (selectNow): Documentation added.
8432         (wakeup): Documentation added.
8433         * java/nio/channels/spi/AbstractInterruptibleChannel.java
8434         (AbstractInterruptibleChannel): Documentation added.
8435         (opened): Default to true;
8436         (begin): Documentation added.
8437         (close): Set opened to false, documentation added.
8438         (isOpen): Documentation added.
8439         * java/nio/channels/spi/AbstractSelectionKey.java
8440         (AbstractSelectionKey): Documentation added.
8441         (cancel): Documentation added.
8442         (isValid): Documentation added.
8443         * java/nio/channels/spi/AbstractSelector.java
8444         (AbstractSelector): Documentation added.
8445         (begin): Documentation added.
8446         (close): Documentation added.
8447         (isOpen): Documentation added.
8448         (deregister): Documentation added.
8449         (end): Documentation added.
8450         (provider): Documentation added.
8451         (implCloseSelector): Documentation added.
8452         (register): Documentation added.
8453         * java/nio/channels/spi/SelectorProvider.java
8454         (SelectorProvider): Documentation added.
8455         (openDatagramChannel): Documentation added.
8456         (openPipe): Documentation added.
8457         (openSelector): Documentation added.
8458         (openServerSocketChannel): Documentation added.
8459         (openSocketChannel): Documentation added.
8460         (provider): Documentation added.
8461
8462 2002-11-12  Michael Koch <konqueror@gmx.de>
8463
8464         * java/nio/Buffer.java: Implemented.
8465         * java/nio/CharBuffer.java: New file.
8466         * java/nio/InvalidMarkException.java: New file.
8467         * java/nio/channels/DatagramChannel.java: Implemented.
8468         * java/nio/channels/ServerSocketChannel.java: Implemented.
8469         * java/nio/channels/SocketChannel.java: Implemented.
8470         * java/nio/channels/spi/AbstractChannel.java: Removed.
8471         * java/nio/channels/spi/AbstractSelectableChannel.java:
8472         Implemented.
8473         * java/nio/charset/Charset.java:
8474         Merge from Classpath.
8475         * java/nio/charset/CharsetDecoder.java: New file.
8476         * java/nio/charset/CharsetEncoder.java: New file.
8477         * java/nio/charset/CoderResult.java: New file.
8478         * Makefile.am (ordinary_java_source_files): Added new files.
8479         * Makefile.in: Regenerated.
8480
8481 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8482
8483         * gnu/java/nio/charset/ISO_8859_1.java,
8484         gnu/java/nio/charset/Provider.java,
8485         gnu/java/nio/charset/US_ASCII.java,
8486         gnu/java/nio/charset/UTF_16.java,
8487         gnu/java/nio/charset/UTF_16BE.java,
8488         gnu/java/nio/charset/UTF_16Decoder.java,
8489         gnu/java/nio/charset/UTF_16Encoder.java,
8490         gnu/java/nio/charset/UTF_16LE.java,
8491         gnu/java/nio/charset/UTF_8.java: New files.
8492
8493 2002-11-11  Michael Koch <konqueror@gmx.de>
8494
8495         * java/nio/charset/CharacterCodingException.java:
8496         This class must be public.
8497         * java/nio/charset/CoderMalfunctionError.java:
8498         This class must be public.
8499         * java/nio/charset/CodingErrorAction.java:
8500         This class must be public.
8501         * java/nio/charset/IllegalCharsetNameException.java:
8502         This class must be public, better implementation.
8503         * java/nio/charset/MalformedInputException.java:
8504         This class must be public, better implementation.
8505         * java/nio/charset/UnmappableCharacterException.java:
8506         This class must be public, better implementation.
8507         * java/nio/charset/UnsupportedCharsetException.java:
8508         This class must be public, better implementation.
8509
8510 2002-11-11  Michael Koch <konqueror@gmx.de>
8511
8512         * java/nio/BufferOverflowException.java,
8513         java/nio/BufferUnderflowException.java: New file.
8514         * Makefile.am (ordinary_java_source_files):
8515         Added new files.
8516         * Makefile.in: Regenerated.
8517
8518 2002-11-10  Tom Tromey  <tromey@redhat.com>
8519
8520         * java/awt/Container.java (validate): Use tree lock.
8521         (getComponent): Likewise.
8522         (getComponents): Likewise.
8523         (addImpl): Likewise.
8524         (remove): Likewise.
8525         (removeAll): Likewise.
8526         (processEvent): Fixed indentation.
8527         (getComponentAt): Use tree lock.
8528         (findComponentAt): Likewise.
8529         (removeNotify): Likewise.
8530         (isAncestorOf): Likewise.
8531         (list): Likewise.
8532         (visitChildren): Likewise.
8533         (findNextFocusComponent): Likewise.
8534         (addNotifyContainerChildren): Likewise.
8535         (getAccessibleChildrenCount): Likewise.
8536         (getAccessibleChild): Likewise.
8537
8538         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
8539         (getSize): Likewise.
8540         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
8541         (getSize): Likewise.
8542         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
8543         (calcSize): Likewise.
8544         * java/awt/CardLayout.java (getSize): Use tree lock.
8545         (gotoComponent): Likewise.
8546         (layoutContainer): Likewise.
8547
8548         * java/io/natFileDescriptorWin32.cc (read): Handle case where
8549         count is 0.
8550         * java/io/natFileDescriptorPosix.cc (read): Handle case where
8551         count is 0.
8552
8553         * java/io/Externalizable.java, java/io/FilePermission.java,
8554         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
8555         java/io/SerializablePermission.java, java/text/Format.java,
8556         java/util/AbstractMap.java, java/util/HashMap.java,
8557         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
8558         versions from Classpath.
8559
8560 2002-11-10  Anthony Green  <green@redhat.com>
8561
8562         * java/util/jar/Attributes.java (Name): Fix name check.
8563
8564 2002-11-10  Mark Wielaard  <mark@klomp.org>
8565
8566         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
8567         with getName() as message.
8568         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
8569         type as message.
8570
8571         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
8572         unused.
8573
8574 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
8575
8576         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
8577         for Win32. JNICALL has been defined to __stdcall to be compatible
8578         with Sun's JDKs.
8579
8580 2002-11-10  Tom Tromey  <tromey@redhat.com>
8581
8582         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
8583         (setRows): Check newRows, not rows.
8584
8585         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
8586
8587 2002-11-09  Tom Tromey  <tromey@redhat.com>
8588
8589         * java/applet/Applet.java, java/applet/AppletContext.java,
8590         java/applet/AppletStub.java, java/applet/AudioClip.java,
8591         java/awt/CardLayout.java,
8592         java/awt/ContainerOrderFocusTraversalPolicy.java,
8593         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
8594         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
8595         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
8596         java/awt/color/ICC_ColorSpace.java,
8597         java/awt/color/ICC_Profile.java,
8598         java/awt/color/ICC_ProfileGray.java,
8599         java/awt/color/ICC_ProfileRGB.java,
8600         java/awt/datatransfer/DataFlavor.java,
8601         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
8602         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
8603         New versions from Classpath.
8604         * Makefile.in: Rebuilt.
8605         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
8606         ICC_ProfileRGB.
8607
8608         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
8609         display policy.
8610
8611         * java/awt/List.java (processEvent): Added missing `else's.
8612
8613         * java/awt/Window.java (show): validate() before showing.  Make
8614         parent displayable.
8615         (isDisplayable): New method.
8616
8617 2002-11-07  Mark Wielaard  <mark@klomp.org>
8618
8619         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
8620         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
8621
8622         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
8623         annotation.
8624         (loadClass): Take String as codebases.
8625         (getClassAnnotation): Use MyClassLoader annotations.
8626         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
8627         call exportObject(this).
8628
8629         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
8630         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
8631         (setAnnotation): Don't set locBytesStream and locStream.
8632         (replaceObject): Removed.
8633         (flush): Don't test locStream.
8634         (getLocBytes): LikeWise.
8635         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
8636         (leaseCache): New field.
8637         (dirty): Use leaseCache.
8638         (LeaseRecord): New inner class.
8639         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
8640         explicitly call exportObject().
8641         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
8642         false to communicate with Sun JDK130.
8643         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
8644         * gnu/java/rmi/server/RMIObjectInputStream.java
8645         (UnicastConnectionManager): Removed field.
8646         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
8647         Use UnicastServer.getExportedRef().
8648         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
8649         (expireTime): Likewise.
8650         (CONNECTION_TIMEOUT): Likewise.
8651         (disconnect): Call sock.close().
8652         (isExpired): New method.
8653         (resetTime): Likewise.
8654         (run): Use do while loop and catch Exception for discardConnection().
8655         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
8656         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
8657         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
8658         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
8659         (exportObject): Use refcache.
8660         (unexportObject): Likewise.
8661         (getExportedRef): New method.
8662         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
8663         constructor.
8664         (exportObject): Save manager.serverobj.
8665         (getStub): New method.
8666
8667 2002-11-07  Mark Wielaard  <mark@klomp.org>
8668
8669         * java/lang/reflect/natField.cc (getBoolean): Use getType().
8670         (getByte): Likewise.
8671         (getShort): Likewise.
8672         (getInt): Likewise.
8673         (getLong): Likewise.
8674         (getFloat): Likewise.
8675         (getDouble): Likewise.
8676         (get): Likewise.
8677         (setChar): Likewise.
8678         (setByte): Likewise.
8679         (setShort): Likewise.
8680         (setInt): Likewise.
8681         (setLong): Likewise.
8682         (setFloat): Likewise.
8683         (setDouble): Likewise.
8684
8685 2002-11-07  Michael Koch <konqueror@gmx.de>
8686
8687         * java/awt/Choice.java,
8688         java/awt/Container.java,
8689         java/awt/GridBagLayout.java:
8690         Fixed documentation.
8691         * java/awt/peer/ContainerPeer.java:
8692         Reindented.
8693
8694 2002-11-07  Michael Koch <konqueror@gmx.de>
8695
8696         * java/awt/color/ICC_Profile.java:
8697         Added missing constants.
8698         * java/awt/color/ICC_ColorSpace.java
8699         (getMinValue): Added dummy implementation.
8700         (getMaxValue): Added dummy implementation.
8701         * java/awt/datatransfer/DataFlavor.java
8702         (imageFlavor): Added.
8703         (isMimeTypeEqual): Must be final.
8704         (getDefaultRepresentationClass): Must be non-static.
8705         (getDefaultRepresentationClassAsString): Must be non-static.
8706         * java/awt/dnd/DragSourceContext.java
8707         (dragExit): Corrected argument.
8708         (dragDropEnd): Corrected argument.
8709         * java/awt/dnd/DragSourceListener.java.java
8710         (dragExit): Corrected argument.
8711         (dragDropEnd): Corrected argument.
8712         * java/awt/font/TextHitInfo.java
8713         (toString): Added stubbed implementation.
8714         * java/awt/geom/PathIterator.java:
8715         The constants must be static.
8716         * java/awt/image/VolatileImage.java
8717         (IMAGE_INCOMPATIBLE): Fixed typo.
8718         * java/awt/image/renderable/RenderableImage.java
8719         (HINTS_OBSERVED): Must be static.
8720         * java/beans/BeanInfo.java:
8721         Constants must be final.
8722
8723 2002-11-06  Tom Tromey  <tromey@redhat.com>
8724
8725         From svens@it.uu.se.  For PR libgcj/8481.
8726         * java/util/Random.java (nextInt(int)): Only use 31 bits.
8727
8728 2002-11-06  Tom Tromey  <tromey@redhat.com>
8729
8730         * jni.cc (array_from_valist): Assume that jlong won't be
8731         promoted.
8732
8733 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
8734
8735         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
8736         Return 20.
8737         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
8738         Return 16.
8739
8740 2002-11-03  Tom Tromey  <tromey@redhat.com>
8741
8742         * java/lang/ClassLoader.java (loadClass): Call loadClass on
8743         VMClassLoader, not findClass.
8744
8745 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
8746
8747         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8748         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8749         _Jv_DetermineVTableIndex, to determine vtable offset.
8750         (_Jv_DetermineVTableIndex): Remove.
8751         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
8752
8753         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8754
8755 2002-11-03  Tom Tromey  <tromey@redhat.com>
8756
8757         * java/nio/channels/AlreadyConnectedException.java: Extend
8758         IllegalStateException, per spec.
8759
8760 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
8761
8762         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8763
8764 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8765
8766         * java/util/ArrayList.java (readObject, writeObject): Only read/write
8767         size items.
8768
8769 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8770
8771         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8772         initial estimated size to avoid enlarge buffer frequently.
8773
8774 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8775
8776         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8777         ClassLoader when null.
8778         (ProxyType.hashCode): Loader null check no longer needed.
8779         (ProxyType.sameTypes): New method.
8780         (ProxyType.equals): Use new method.
8781
8782 2002-10-31  Mark Wielaard  <mark@klomp.org>
8783
8784         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8785         length of String.
8786         * java/net/URLEncoder.java (encode): Likewise.
8787
8788 2002-10-31  Mark Wielaard  <mark@klomp.org>
8789
8790         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8791         when stream is closed.
8792         (closeEntry): Likewise.
8793         (read): Likewise.
8794         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8795         ZipException when no entry active.
8796         (closeEntry): Likewise.
8797         (write): Likewise.
8798
8799 2002-11-02  Tom Tromey  <tromey@redhat.com>
8800
8801         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8802         * java/lang/natClass.cc (initializeClass): Don't return just
8803         because self==thread.
8804
8805         For PR java/8415:
8806         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8807         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8808
8809 2002-11-02  Andreas Schwab  <schwab@suse.de>
8810
8811         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8812         pass GCJFLAGS.
8813         (FLAGS_TO_PASS): Define.
8814         * Makefile.in: Regenerated.
8815
8816 2002-11-01  Michael Koch  <konqueror@gmx.de>
8817
8818         * java/nio/ByteOrder.java: New file.
8819         * java/nio/channels/DatagramChannel.java:
8820         (DatagramChannel): New constructor.
8821         * java/nio/channels/Pipe.java: New file.
8822         * java/nio/channels/SelectableChannel.java: New file.
8823         * java/nio/channels/SelectionKey.java: New file.
8824         * java/nio/channels/Selector.java: New file.
8825         * java/nio/channels/ServerSocketChannel.java
8826         (ServerSocketChannel): New constructor.
8827         * java/nio/channels/SocketChannel.java
8828         (SocketChannel): New constructor.
8829         * java/nio/channels/Pipe.java: New file.
8830         * java/nio/channels/spi/AbstractChannel.java: New file.
8831         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8832         * java/nio/channels/spi/AbstractSelectableChannel.java:
8833         License added
8834         (AbstractSelectableChannel): New stubbed method.
8835         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8836         * java/nio/channels/spi/AbstractSelector.java: New file.
8837         * java/nio/channels/spi/SelectorProvider.java: New file.
8838         * java/nio/charset/Charset.java: New file.
8839         * java/nio/charset/CoderMalfunctionError.java: New file.
8840         * java/nio/charset/CodingErrorAction.java: New file.
8841         * java/nio/charset/spi/CharsetProvider.java
8842         (charsetForName): Uncommented.
8843         * Makefile.am (java_native_source_files): Added new files.
8844         * Makefile.in: Regenerated.
8845
8846 2002-11-01  Michael Koch  <konqueror@gmx.de>
8847
8848         * java/net/InetAddress.java:
8849         (isAnyLocalAddress): Implemented.
8850         (isLoopbackAddress): Implemented, comment added.
8851         (isLinkLocalAddress): Implemented, documentation added.
8852         (isSiteLocalAddress): Implemented, documentation added.
8853         (isMCGlobal): Implemented, documentation added.
8854         (isMCNodeLocal): Implemented, documentation added.
8855         (isMCLinkLocal): Implemented, documentation added.
8856         (isMCSiteLocal): Implemented, documentation added.
8857         (isMCOrgLocal): Implemented, documentation added.
8858         (getHostName): Documentation added.
8859         (getCanonicalHostName): Implemented, documentation added.
8860         (getAddress): Documentation added.
8861         (hashCode): Documentation added.
8862         (equals): Documentation added.
8863         (toString): Fixed implementation.
8864         (getByAddress): Use Inet4Address and Inet6Address.
8865         (lookup): New linewrap.
8866         (getByName): SecurityManager check added, support Inet4Address and
8867         Inet6address, comments added.
8868         (getAllByName): SecurityManager check added, comments added.
8869         * java/net/Inet6Address.java:
8870         (Inet6Address): Initialize parent class with addr instead of null.
8871         * java/net/URL.java
8872         (equals): Documentation added.
8873         (getFile): Documentation added.
8874         (hashCode): Documentation added.
8875         * java/net/natInetAddress.cc:
8876         (aton): Fix IPv6 support.
8877         * java/net/natPlainDatagramSocketImpl.cc:
8878         (peek): Throw PortUnreachableException when suitable.
8879         (peekData): Throw PortUnreachableException when suitable.
8880         (send): Throw PortUnreachableException when suitable.
8881         (receive): Throw PortUnreachableException when suitable.
8882
8883 2002-10-27  Mark Wielaard  <mark@klomp.org>
8884
8885         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8886         argument.
8887         (readLeShort): Likewise and use byte[].
8888         (readLeInt): Likewise.
8889         (readEntries): Use new versions of methods and use byte[] for reading
8890         a complete zip entry. Add ZipFile name to exceptions.
8891         (entries): Add ZipFile name to exceptions.
8892         (getEntry): Likewise.
8893         (checkLocalHeader): Use new versions of methods and add ZipFile name
8894         to exceptions.
8895
8896 2002-10-31  Mark Anderson  <mark@panonet.net>
8897
8898         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8899         added
8900
8901 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
8902
8903         * configure.in: Disable hash sync when not using threads.
8904         * configure: Regenerated.
8905
8906 2002-10-24  Tom Tromey  <tromey@redhat.com>
8907
8908         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8909         (_Jv_FindSymbolInExecutable): Removed argument name.
8910         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8911         java.library.path is set.
8912
8913         * gij.cc (help): Document --showversion.
8914         (version): Don't exit.
8915         (main): Handle --showversion.  Exit if --version given.
8916
8917 2002-10-23  Tom Tromey  <tromey@redhat.com>
8918
8919         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8920         (array_from_valist): Correctly handle promotion for jint, jlong,
8921         jfloat, and jdouble.
8922
8923 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
8924
8925         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8926         GetFileAttributesEx( ) to find file length and modification times,
8927         as the latter is not present on Windows 95.
8928
8929 2002-10-21  Michael Koch  <konqueror@gmx.de>
8930
8931         * java/net/URL.java
8932         (URL): Activate SecurityManager checks.
8933         (equals): Use URLStreamHandler implementation instead of doing it
8934         alone. This allows special protocol stream handlers to change default
8935         behaviour.
8936         (hashCode): Use URLStreamHandler implementation instead of doing it
8937         alone. This allows special protocol stream handlers to change default
8938         behaviour.
8939         * java/net/URLStreamHandler.java
8940         (equals): Implemented default URL equality check.
8941         (hostsEqual): Implemented default URL equality check.
8942         (hashCode): Implemented default URL hashCode algorithm.
8943         * java/net/natPlainDatagramSocketImpl.cc:
8944         No lines longer then 80 characters.
8945
8946 2002-10-20  Adam Megacz <adam@xwt.org>
8947
8948         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8949         * configure.in: enabled hash sync on Win32
8950         * include/win32-threads.h (_Jv_ThreadId_t): added.
8951         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8952         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8953         removed some posix-isms, use Thread::sleep() instead of usleep,
8954         added code to clear bottom three bits if platform has a broken
8955         linker.
8956         * include/win32-threads.h (_Jv_ThreadId_t): added.
8957
8958 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
8959
8960         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8961         runtime property "gnu.gcj.progname" containing the name used to
8962         invoke the current Java program (similar to argv[0] for C
8963         programs).
8964
8965 2002-10-15  Tom Tromey  <tromey@redhat.com>
8966
8967         Fix for PR libgcj/8234:
8968         * java/util/zip/natInflater.cc (reset): Reset avail_in.
8969         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8970
8971 2002-10-13  Mark Wielaard  <mark@klomp.org>
8972
8973         * mauve-libgcj: Enable Mauve tests that compile now.
8974
8975 2002-10-11  Mark Wielaard  <mark@klomp.org>
8976
8977         Fix for PR libgcj/8142
8978         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8979         loading native modules.
8980
8981 2002-10-10  Michael Koch  <konqueror@gmx.de>
8982
8983         * javax/swing/AbstractListModel.java
8984         (getListDataListeners): New stubbed method.
8985         javax/swing/DefaultBoundedRangeModel.java
8986         (getChangeListeners): New stubbed method.
8987         javax/swing/DefaultSingleSelectionModel.java
8988         (getChangeListeners): New stubbed method.
8989
8990 2002-10-10  Michael Koch  <konqueror@gmx.de>
8991
8992         * gcj/.cvsignore: New file to ignore files generated during build.
8993         * include/.cvsignore: New file to ignore files generated during build.
8994
8995 2002-10-10  Michael Koch  <konqueror@gmx.de>
8996
8997         * java/net/HttpURLConnection.java
8998         (getPermission): New method.
8999         (getErrorStream): New stub method.
9000         (getHeaderFieldDate): New stub method.
9001         * java/net/Inet4Address.java:
9002         (isLinkLocalAddress): Typo fixed.
9003         * java/net/InetAddress.java:
9004         (readResolve): New stubbed method (for serialization).
9005         (isAnyLocalAddress): New stubbed method.
9006         (isLoopbackAddress): New stubbed method.
9007         (isLinkLocalAddress): New stubbed method.
9008         (isSiteLocalAddress): New stubbed method.
9009         (isMCGlobal): New stubbed method.
9010         (isMCNodeGlobal): New stubbed method.
9011         (isMCLinkLocal): New stubbed method.
9012         (isMCSiteLocal): New stubbed method.
9013         (isMCOrgLocal): New stubbed method.
9014         (getCanonicalHostName): New stubbed method.
9015         (getByAddress): Create instances of Inet4Address/Inet6Address,
9016         instead of InetAddress, documentation added.
9017         * java/net/MulticastSocket.java
9018         (getInterface): Removed FIXME.
9019         (getNetworkInterface): New method.
9020         (setNetworkInterface): New method.
9021         * java/net/NetworkInterface.java:
9022         (toString): Use property "line.separator" instead of "\n".
9023         * java/net/URLConnection.java
9024         (getContent): New stubbed method.
9025         * java/net/URLStreamHandler.java:
9026         (equals): New stubbed method.
9027         (hostsEqual): New stubbed method.
9028         (hashCode): New stubbed method.
9029         * java/net/natNetworkInterface.cc:
9030         (getRealNetworkInterfaces): Create Inet4Address object
9031         instead of InetAddress.
9032
9033 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9034
9035         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9036         unsigned long temporary to implement insn_iushr shifts.
9037
9038 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9039
9040         * configure.host [s390*-*]: Enable Java interpreter.
9041         Enable hash synchronization.  Add sysdeps dir.
9042         * sysdep/s390/locks.h: New file.
9043
9044 2002-10-06  Mark Wielaard  <mark@klomp.org>
9045
9046         * java/lang/Thread.java (setDaemon): Check startable_flag,
9047         not isAlive().
9048
9049 2002-10-07  Michael Koch  <konqueror@gmx.de>
9050
9051         * java/nio/Buffer.java: New stub file.
9052         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
9053         of class Charset.
9054         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
9055         * Makefile.in: Regenerated.
9056
9057 2002-10-07  Michael Koch  <konqueror@gmx.de>
9058
9059         * java/nio/ByteBuffer.java:
9060         removed import of not commited class.
9061
9062 2002-10-07  Michael Koch  <konqueror@gmx.de>
9063
9064         * java/nio/ByteBuffer.java,
9065         java/nio/MappedByteBuffer.java:
9066         New files, forgot to add these dummies.
9067         * Makefile.am (java_native_source_files): Added new files.
9068         * Makefile.in: Regenerated.
9069
9070 2002-10-07  Michael Koch  <konqueror@gmx.de>
9071
9072         * java/nio/channels/AlreadyConnectedException.java,
9073         java/nio/channels/ClosedChannelException.java,
9074         java/nio/channels/ReadableByteChannel.java,
9075         java/nio/channels/InterruptibleChannel.java,
9076         java/nio/channels/Channel.java,
9077         java/nio/channels/ByteChannel.java,
9078         java/nio/channels/GatheringByteChannel.java,
9079         java/nio/channels/ScatteringByteChannel.java,
9080         java/nio/channels/WritableByteChannel.java,
9081         java/nio/charset/CharacterCodingException.java,
9082         java/nio/charset/IllegalCharsetNameException.java,
9083         java/nio/charset/MalformedInputException.java,
9084         java/nio/charset/UnmappableCharacterException.java,
9085         java/nio/charset/UnsupportedCharsetException.java,
9086         java/nio/charset/spi/CharsetProvider.java: New file.
9087         These files are exceptions or interfaces,
9088         no real or abstract classes.
9089         * Makefile.am (java_native_source_files): Added new files.
9090         * Makefile.in: Regenerated.
9091
9092 2002-10-05  Michael Koch  <konqueror@gmx.de>
9093
9094         * java/net/InetAddress.java
9095         (getByAddress): Fixed documentation.
9096         (getByAddress): New method.
9097         * java/net/Inet4Address.java: New file.
9098         * java/net/URL.java
9099         (URL): Documentation added.
9100         (getContent): Documentation added.
9101         (getContent): New stubbed method.
9102         (getQuery): New method.
9103         (openConnection): Documentation added.
9104         (openStream): Documentation added.
9105         (setURLStreamHandlerFactory): Documentation added.
9106         * java/net/URI.java: New stub file.
9107         * Makefile.am
9108         (java_native_source_files): Added java/net/Inet4Address.java,
9109         java/net/Inet6Address.java and java/net/URI.java.
9110         * Makefile.in: Regenerated.
9111
9112 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9113
9114         * java/lang/ProtectionDomain.java (linesep): Remove field.
9115         (toString): Use System.getProperty("line.separator").
9116
9117 2002-10-04  Michael Koch  <konqueror@gmx.de>
9118
9119         * java/security/Identity.java: Added serialVersionUID.
9120         * java/security/KeyPair.java: Added serialVersionUID.
9121         * java/security/Provider.java: Added serialVersionUID.
9122         * java/security/SecureRandom.java: Added serialVersionUID.
9123         * java/security/SecureRandomSpi.java: Added serialVersionUID.
9124         * java/security/SignedObject.java: Added serialVersionUID.
9125         * java/security/cert/Certificate.java: Added serialVersionUID.
9126
9127 2002-10-04  Mark Wielaard <mark@klomp.org>
9128
9129         * java/security/Security.java: Use java.home or gnu.classpath.home
9130         to load providers.
9131         (loadProviders): Extra dir argument.
9132         (getProvider): Return null when not found.
9133
9134 2002-10-04  Mark Wielaard  <mark@klomp.org>
9135
9136         * java/lang/Throwable.java: Remerge with Classpath.
9137
9138 2002-10-04  Michael Koch  <konqueror@gmx.de>
9139
9140         * java/net/InetAddress.java:
9141         (isMulticastAddress): Added documentation.
9142         (getHostAddress): Added documentation.
9143         (toString): Added documentation.
9144         (getByAddress): Fixed documentation.
9145         (getByName): Added documentation.
9146         (getAllByName): Added documentation.
9147         (getLocalHost): Added documentation.
9148
9149 2002-10-04  Michael Koch  <konqueror@gmx.de>
9150
9151         * java/beans/beancontext/BeanContextChildSupport.java:
9152         Added serialVersionUID.
9153         * java/text/Collator.java: (compare): Made documentation HTML-aware.
9154         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
9155         * javax/naming/Name.java: Added serialVersionUID.
9156
9157 2002-10-03  Adam Megacz <adam@xwt.org>
9158
9159         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
9160         some functionality that isn't supported yet on WIN32.
9161
9162 2002-10-03  Tom Tromey  <tromey@redhat.com>
9163
9164         * Makefile.in: Rebuilt.
9165         * Makefile.am (awt_java_source_files): Added new files.
9166
9167 2002-10-03  Michael Koch  <konqueror@gmx.de>
9168
9169         * java/net/InetAddress.java
9170         (class InetAddress): Removed final keyword.
9171         (equals): Fixed typo.
9172         (getByAddress): New method.
9173
9174 2002-10-03  Michael Koch  <konqueror@gmx.de>
9175
9176         * java/awt/dnd/Autoscroll.java:
9177         New file, merge from Classpath.
9178         * java/awt/dnd/DragSourceAdapter.java:
9179         (dragExit): Fixed typos in argument type.
9180         (dragDropEnd): Fixed typos in argument type.
9181         * java/awt/dnd/DragSourceDropEvent.java:
9182         New file, merge from Classpath.
9183         * java/awt/dnd/DropTarget.java:
9184         Added stubs, merge from Classpath.
9185         * java/awt/dnd/DropTargetAdapter.java:
9186         New file, merge from Classpath.
9187         * java/awt/dnd/DropTargetContext.java:
9188         New file, merge from Classpath.
9189         * java/awt/dnd/DropTargetDragEvent.java:
9190         New file, merge from Classpath.
9191         * java/awt/dnd/DropTargetDropEvent.java:
9192         New file, merge from Classpath.
9193         * java/awt/dnd/DropTargetEvent.java:
9194         New file, merge from Classpath.
9195         * java/awt/dnd/DropTargetListener.java:
9196         New file, merge from Classpath.
9197         * java/awt/dnd/MouseDragGestureRecognizer.java:
9198         New file, merge from Classpath.
9199         * java/awt/dnd/peer/DropTargetContextPeer.java:
9200         New file, merge from Classpath.
9201
9202 2002-10-03  Michael Koch  <konqueror@gmx.de>
9203
9204         * java/net/DatagramPacket.java
9205         (setLength): Fixed typo and be HTML-aware.
9206         * java/net/InetSocketAddress.java
9207         (InetSocketAddress): Correct initialization of hostname, fixed typo.
9208         (equals): Added comment about equality of InetSocketAddress objects.
9209         * java/net/ServerSocket.java
9210         (accept): Added checks.
9211         (isClosed): New stubbed method.
9212         * java/net/SocketOptions.java: Reindention.
9213         * java/net/SocketPermission
9214         (SocketPermission): Documentation fixed.
9215
9216 2002-10-03  Michael Koch  <konqueror@gmx.de>
9217
9218         * java/net/DatagramSocket.java
9219         (receive): Check with SecurityManager AFTER the packet is received,
9220         check if connected to multicast address, documentation added.
9221         (send): Only check SecurityManager if connected, check address of
9222         packet to send.
9223         (connect): Implemented, documentation added.
9224         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
9225         * java/net/InetSocketAddress.java
9226         (whole file): Reindented.
9227         (hostname): New attribute.
9228         (InetSocketAddress): Initialize new attribute.
9229         (getAddress): Documentation added.
9230         (getHostName): Documentation added.
9231         (getPort): Documentation added.
9232         (hashCode): Documentation added.
9233         (isUnresolved): Documentation added.
9234         (toString): Conform to output of JDK 1.4.1, documentation added.
9235         * java/net/MulticastSocket.java
9236         (joinGroup): Removed FIXME, documentation added.
9237         (leaveGroup): Removed FIXME, documentation added.
9238         (send): Documentation added.
9239         * java/net/Socket.java
9240         (inputShutdown): New variable.
9241         (outputShutdown): New variable.
9242         (Socket): Initialize new variables.
9243         (getRemoteSocketAddress): Check if connected.
9244         (shutdownInput): Set new variable.
9245         (shutdownOutput): Set new variable.
9246         (isConnected): New method.
9247         (isClosed): New method.
9248         (isInputShutdown): New method.
9249         (isOutputShutdown): New method.
9250         * java/net/URLStreamHandler.java
9251         (URLStreamHandler): New method.
9252         (openConnection): Added documentation.
9253         (parseURL): Added documentation.
9254         (getHostAddress): New method.
9255         (getDefaultPort): New method.
9256
9257 2002-10-02  Tom Tromey  <tromey@redhat.com>
9258
9259         * java/rmi/activation/ActivationDesc.java,
9260         java/rmi/activation/ActivationGroupDesc.java,
9261         java/rmi/activation/ActivationGroupID.java,
9262         java/rmi/activation/ActivationID.java: New versions from
9263         Classpath.
9264
9265 2002-09-30  Bo Thorsen  <bo@suse.de>
9266
9267         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
9268
9269 2002-09-30  Tom Tromey  <tromey@redhat.com>
9270
9271         * java/io/ObjectInputStream.java (resolveProxyClass): New method
9272         from Classpath.
9273         * Makefile.in: Rebuilt.
9274         * Makefile.am (rmi_java_source_files): Added new files.
9275         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
9276         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
9277         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
9278         Classpath.
9279         * gnu/java/rmi/dgc/DGCImpl.java,
9280         gnu/java/rmi/dgc/DGCImpl_Skel.java,
9281         gnu/java/rmi/dgc/DGCImpl_Stub.java,
9282         gnu/java/rmi/registry/RegistryImpl_Skel.java,
9283         gnu/java/rmi/registry/RegistryImpl_Stub.java,
9284         gnu/java/rmi/server/RMIHashes.java,
9285         gnu/java/rmi/server/RMIObjectInputStream.java,
9286         gnu/java/rmi/server/RMIObjectOutputStream.java,
9287         gnu/java/rmi/server/UnicastConnection.java,
9288         gnu/java/rmi/server/UnicastConnectionManager.java,
9289         gnu/java/rmi/server/UnicastRef.java,
9290         gnu/java/rmi/server/UnicastServer.java,
9291         gnu/java/rmi/server/UnicastServerRef.java,
9292         java/rmi/MarshalledObject.java,
9293         java/rmi/server/RMIClassLoader.java,
9294         java/rmi/server/RemoteObject.java,
9295         java/rmi/server/UnicastRemoteObject.java,
9296         java/security/SecureClassLoader.java: Merged from Classpath.
9297
9298 2002-09-29  Anthony Green  <green@redhat.com>
9299
9300         * java/lang/reflect/UndeclaredThrowableException.java: New file.
9301         Imported from GNU Classpath.
9302         * java/lang/reflect/natProxy.cc: New file.
9303         * java/lang/reflect/InvocationHandler.java: New file.  Imported
9304         from GNU Classpath.
9305         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
9306         Classpath.
9307         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
9308         Classpath.
9309         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
9310         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
9311         New statics.
9312         * gcj/javaprims.h ("Java"): Add new classes.
9313         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
9314         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
9315         java/lang/reflect/Proxy$$ProxyType.h): And this.
9316         (inner_nat_headers): Add these new headers.
9317         (ordinary_java_source_files): Add new files.
9318         (nat_source_files): Add new file.
9319         * Makefile.in: Rebuilt.
9320
9321 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
9322
9323         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
9324         a single configuration.
9325
9326 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9327
9328         * java/util/TimeZone.java (getDSTSavings): New method.
9329         Fixes PR libgcj/7786.
9330
9331 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9332
9333         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
9334         to see if `the_method == 0' before looking up vtable index.
9335         Fixes PR libgcj/7709.
9336
9337 2002-09-25  Tom Tromey  <tromey@redhat.com>
9338
9339         * java/lang/natClassLoader.cc:
9340         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
9341         * resolve.cc: Include NoClassDefFoundError.h, not
9342         ClassNotFoundException.h.
9343         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
9344
9345         * defineclass.cc: Don't include ClassNotFoundException.h.
9346
9347         * resolve.cc: Include StringBuffer.
9348         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
9349
9350         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
9351         allocated but not initialized.
9352
9353 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9354
9355         Fix for PR libgcj/7766:
9356         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
9357         (getNextEntry): Set it.
9358         (closeEntry): Likewise.
9359         (read): Likewise.
9360         (close): Likewise.
9361         (available): Use it.
9362
9363 2002-09-25  Michael Koch  <konqueror@gmx.de>
9364
9365         * java/net/DatagramSocket.java
9366         (DatagramSocket): Initialize new instance variables.
9367         (close): Reset new instance variables.
9368         (getLocalAddress): Remove unneeded SecurityManager usage.
9369         (getLocalPort): Check if socket is already bound.
9370         (isConnected): New method.
9371         (getInetAddress): Implemented.
9372         (getPort): Better Implementation, documentation fixed.
9373         (getRemoteSocketAddress): New method.
9374         * java/net/JarURLConnection.java
9375         (element): Typo fixed.
9376         (getMainAttributes): New method.
9377         (getAttributes): New method (stub only).
9378         (getManifest): New method (stub only).
9379         * java/net/NetPermission.java: Added serialVersionsUID.
9380         * java/net/Socket.java
9381         (connect): Check blocking mode of associated channel,
9382         documentation added.
9383         (getLocalSocketAddress): Better implementation.
9384         (getRemoteSocketAddress): Implemented.
9385         (isBound): New method.
9386         (setSendBufferSize): Documentation added.
9387         * java/net/SocketAddress.java: Added serialVersionsUID.
9388         * java/net/SocketPermission.java: Added serialVersionsUID.
9389         * java/net/URL.java
9390         (URL): Wrap for shorter lines, initialize new instance variables,
9391         documentation added.
9392         (equals): Check new instance variables too.
9393         (getContent): Documentation added.
9394         (getPath): Documentation added.
9395         (getAuthority): New method.
9396         (getHost): Documentation added.
9397         (getPort): Documentation added.
9398         (getDefaultPort): New method.
9399         (getProtocol): Documentation added.
9400         (getUserInfo): Documentation added.
9401         (set): Initialize new instance variables, documentation added.
9402         * java/net/URLStreamHandler.java
9403         (setURL): New method.
9404         * java/net/natPlainDatagramSocketImpl.cc
9405         (connect): Fix exception name.
9406         (disconnect): Fix exception name.
9407
9408 2002-09-25  Michael Koch  <konqueror@gmx.de>
9409
9410         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
9411         * java/nio/channels/DatagramChannel.java:
9412         extends AbstractSelectableChannel
9413         * java/nio/channels/ServerSocketChannel.java:
9414         extends AbstractSelectableChannel
9415         * java/nio/channels/SocketChannel.java:
9416         extends AbstractSelectableChannel
9417         * Makefile.am (ordinary_java_source_files):
9418         java/nio/channels/spi/AbstractSelectableChannel.java added.
9419         * Makefile.in: Regenerated.
9420
9421 2002-09-25  Michael Koch  <konqueror@gmx.de>
9422
9423         * java/net/DatagramSocket.java
9424         (DatagramSocket): Exception documentation added.
9425         (bind): Exception documentation added, addded SecurityManager check,
9426         added SocketAddress type check.
9427         (getSoTimeout): Check impl.
9428         (receive): Fix SecurityManager check, check impl, documentation added.
9429         (send): Check channel mode, documentation added.
9430         (connect): New method.
9431         (disconnect): Implemented.
9432         (getLocalSocketAddress): New method.
9433         (getReceiveBufferSize): Check impl.
9434         (setReuseAddress): Check impl.
9435         (getReuseAddress): Check impl.
9436         (setBroadcast): Check impl.
9437         (getBroadcast): Check impl.
9438         (setTrafficClass): Check impl, Documentation cleared.
9439         (getTrafficClass): Check impl.
9440         (getSendBufferSize): Check impl.
9441         (setReceiveBufferSize): Check impl, documentation added.
9442         (setSendBufferSize): Documentation added.
9443         (setDatagramSocketImplFactory): New method.
9444         * java/net/HttpURLConnection.java
9445         (HTTP_INTERNAL_ERROR): The correct code is 500.
9446         (HTTP_NOT_IMPLEMENTED): Added new constant.
9447         (setFollowRedirects): Documentation added.
9448         (getInstanceFollowRedirects): New method.
9449         (setInstanceFollowRedirects): New method.
9450         (setRequestMethod): Documentation added.
9451         (getResponseCode): Documentation added.
9452         (getResponseMessage): Documentation added.
9453         * java/net/JarURLConnection.java
9454         (JarURLConnection): protected since JDK 1.4.
9455         (getJarEntry): java.io.IOException to IOException, documentation added.
9456         (getJarFile): Documentation added.
9457         * java/net/ServerSocket.java
9458         (ServerSocket): Private to public, exception added.
9459         (ServerSocket): java.io.IOException to IOException, documentation added.
9460         (bind): Check socket address type, documentation added.
9461         (bind): java.io.IOException to IOException, documentation added.
9462         (accept): Documentation added.
9463         (implAccept): Check ch is not non-blocking, documentation added.
9464         (setSoTimeout): Documentation fixed.
9465         (setReceiveBufferSize): Documentation added.
9466         * java/net/Socket.java
9467         (Socket): Documentation added.
9468         (bind): Documentation added.
9469         (connect): Check socket address type, documentation added.
9470         (getRemoteSocketAddress): New method.
9471         (getLocalSocketAddress): New method.
9472         (setSoLinger): Documentation added.
9473         (getReuseAddress): New method.
9474         (setReuseAddress): New method.
9475         (getTrafficClass): New method.
9476         (setTrafficClass): New method.
9477         * java/net/URLStreamHandler.java
9478         (openConnection): java.io.IOException to IOException.
9479         (parseURL): Documentation added.
9480         (sameFile): public to protected, documentation added.
9481         (setURL): Documentation added.
9482         * java/nio/IllegalBlockingModeException.java: New file.
9483         * Makefile.am (ordinary_java_source_files):
9484         added java/nio/IllegalBlockingModeException.java
9485         * Makefile.in: Regenerated.
9486
9487 2002-09-25  Michael Koch  <konqueror@gmx.de>
9488
9489         * java/net/DatagramPacket
9490         (DatagramPacket): Exception documentation added.
9491         (setData): Likewise.
9492         (setSocketAddress): Likewise.
9493         * java/net/DatagramSocketImpl.java
9494         (peek): Documentation addded.
9495         (peekData): Documentation addded.
9496         (send): Documentation addded.
9497         (receive): Documentation addded.
9498         (connect): New method.
9499         (disconnect): New method.
9500         (joinGroup): New abstract method.
9501         (leaveGroup): New abstract method.
9502         * java/net/InetSocketAddress.java
9503         (InetSocketAddress): Documentation added.
9504         (equals): final keyword added.
9505         (getAddress): final keyword added.
9506         (getHostName): final keyword added.
9507         (getPort): final keyword added.
9508         (hashCode): final keyword added.
9509         (isUnresolved): final keyword added.
9510         * java/net/MulticastSocket.java
9511         (MulticastSocket): Documentation added.
9512         (MulticastSocket): New method.
9513         (joinGroup): Documentation added.
9514         (joinGroup): New method.
9515         (leaveGroup): Documentation added.
9516         (leaveGroup): New method.
9517         (send): Documentation added.
9518         * java/net/NetworkInterface.java
9519         (getByName): Documentation added.
9520         (getByInetAddress): Documentation added.
9521         (getNetworkInterfaces): Documentation added.
9522         * java/net/PlainDatagramSocketImpl.java
9523         (connect): New method.
9524         (disconnect): New method.
9525         * java/net/SocketImpl.java
9526         (create): Documentation added.
9527         (shutdownInput): Convert public to protected, as it always was.
9528         (shutdownOutput): Convert public to protected, as it always was.
9529         * java/net/SocketOptions.java
9530         (whole file): Reintented.
9531         * java/net/URLClassLoader.java
9532         (URLClassLoader): SecurityManager check added, documentation added.
9533         (findResources): Documentation added.
9534         (findClass): Documentation added.
9535         (newInstance): More correct method arguments.
9536         * java/net/URLConnection.java
9537         (connect): Documentation added.
9538         (getContent): Documentation added.
9539         (getPermission): Documentation added.
9540         (getInputStream): Documentation added.
9541         (getOutputStream): Documentation added.
9542         (setDoInput): Throw correct exception, documentation added.
9543         (setDoOutput): Throw correct exception, documentation added.
9544         (setAllowUserInteraction): Throw correct exception, documentation added.
9545         (setUseCaches): Throw correct exception, documentation added.
9546         (setIfModifiedSince): Throw correct exception, documentation added.
9547         (setRequestProperty): Throw exception, documentation added.
9548         (addRequestProperty): Throw exception, documentation added.
9549         (getRequestProperty): Throw exception, documentation added.
9550         (getRequestProperties): Documentation added.
9551         (setContentHandlerFactory): Documentation added.
9552         (guessContentTypeFromName): protected to public.
9553         (setFileNameMap): Documentation added.
9554         * java/net/URLDecoder.java
9555         (URLDecoder): New method.
9556         (decode): Documentation added.
9557         (whole file): Reindented.
9558         * java/net/URLEncoder.java
9559         (encode): Documentation added.
9560         * java/net/natPlainDatagramSocketImpl.cc
9561         (connect): New method.
9562         (disconnect): New method.
9563         * javax/naming/RefAddr:
9564         (addrType): addrType was never final.
9565         (equals): Fix typo in method name.
9566         * javax/naming/BinaryRefAddr:
9567         (equals): Fix typo in method name.
9568
9569 2002-09-22  Tom Tromey  <tromey@redhat.com>
9570
9571         Fix for PR libgcj/6576:
9572         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
9573         didn't find a given bundle.
9574         (getBundle): Don't require base bundle.
9575         (setParent): Removed old comment.
9576         (tryLocalBundle): Try components even if preceding components were
9577         empty.
9578
9579 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9580
9581         * Makefile.am (all-multi): Fix multilib parallel build.
9582
9583 2002-09-21  Michael Koch  <konqueror@gmx.de>
9584
9585         * java/net/Socket.java
9586         (sendUrgentData): New method.
9587         (getChannel): New method.
9588         * java/net/ServerSocket.java
9589         (getChannel): New method.
9590         (isBound): New method.
9591         * java/net/DatagramSocket.java
9592         (DatagramSocket): Two new methods.
9593         (bind): New method.
9594         (getChannel): New method.
9595         (isBound): New method.
9596         (send): Added newline to to make shorter lines.
9597         * java/net/PlainDatagramSocketImpl.java
9598         (mcastGrp): Added argument.
9599         (join): Use new mcastGrp.
9600         (leave): Use new mcastGrp.
9601         (joinGroup): New method.
9602         (leaveGroup): New method.
9603         * java/net/natPlainDatagramSocketImpl.cc
9604         (mcastGrp): Added argument, no yet really implemented.
9605         (getOption): Added newline for shorter lines.
9606         * java/net/natPlainSocketImpl.cc
9607         (read, setOption, getOption): Added newline for shorter lines.
9608
9609 2002-09-19  Tom Tromey  <tromey@redhat.com>
9610
9611        * java/lang/ClassLoader.java (resolveClass0): Set cause for
9612        newly-created exception.
9613
9614 2002-09-18  Michael Koch  <konqueror@gmx.de>
9615
9616         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9617         java/util/regex/PatternSyntaxException.java:
9618         Merge with classpath, new files.
9619         * Makefile.am (core_java_source_files):
9620         Added java/util/regex/Matcher.java,
9621         java/util/regex/Pattern.java,
9622         java/util/regex/PatternSyntaxException.java
9623         * Makefile.in: Regenerated.
9624         * include/config.h.in: Added HAVE_NET_IF_H.
9625         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
9626         Removed #if 0 ... #endif.
9627
9628 2002-09-17  Michael Koch  <konqueror@gmx.de>
9629
9630         * java/net/natNetworkInterface.cc:
9631         Removed unneed and yet wrong includes.
9632
9633 2002-09-17  Michael Koch  <konqueror@gmx.de>
9634
9635         * java/net/NetworkInterface.java: New file.
9636         * java/net/natNetworkInterface.java: New file.
9637         * configure.in: Added check for net/if.h.
9638         * configure: Regenerated.
9639         * Makefile.am
9640         (ordinary_java_source_files): Added NetworkInterface.java.
9641         (nat_source_files): Added natNetworkInterface.cc.
9642         * Makefile.in: Regenerated.
9643
9644 2002-09-16  Tom Tromey  <tromey@redhat.com>
9645
9646         * java/net/URLClassLoader.java (findClass): Code source for a
9647         class from a jar is not necessarily a jar: URL.
9648
9649 2002-09-16  Michael Koch  <konqueror@gmx.de>
9650
9651         * java/lang/AssertionError.java:
9652         Merge with classpath, fixes HTML.
9653         * java/rmi/server/LogStream.java:
9654         Merge with classpath, fixes some constants.
9655         * java/net/server/RemoteServer.java:
9656         Merge with classpath, adds serialVersionUID.
9657         * javax/naming/BinaryRefAddr.java:
9658         Merge with classpath, s/equal/equals/.
9659         * javax/naming/NamingException.java:
9660         Merge with classpath, fixed typo.
9661         * javax/naming/RefAddr.java:
9662         Merge with classpath, s/equal/equals/.
9663         * java/awt/Toolkit.java:
9664         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
9665         and typo fixed.
9666
9667 2002-09-15  Adam Megacz <adam@xwt.org>
9668
9669         * java/net/natPlainSocketImpl.cc: fixed typo.
9670
9671 2002-09-15  Adam Megacz <adam@xwt.org>
9672
9673         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
9674         which don't work on Win32 (yet).
9675
9676 2002-09-14  Adam Megacz <adam@xwt.org>
9677
9678         * java/net/natPlainDatagramSocket.cc: removed #include
9679         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
9680         * include/win32.h: included definition for IP_TOS to satisfy
9681         natPlainDatagramSocket.cc
9682
9683 2002-09-13  Michael Koch  <konqueror@gmx.de>
9684
9685         * java/net/DatagramPacket.java (DatagramPacket):
9686         Added linebreak for 80 chars per line.
9687         * java/net/JarURLConection.java
9688         (getInputStreami, getJarEntry): Likewise.
9689         * java/net/SocketPErmission.java
9690         (SocketPermission class docu, implies): Likewise.
9691         * java/net/URLClassLoader.java (findResources): Likewise.
9692         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
9693
9694 2002-09-13  Michael Koch  <konqueror@gmx.de>
9695
9696         * java/nio/channels/DatagramChannel.java,
9697         java/nio/channels/ServerSocketChannel.java
9698         java/nio/channels/SocketChannel.java:
9699         New dummy files to make java.net fully JDK 1.4 compatible
9700         * Makefile.am (ordinary_java_source_files): Added
9701         java/net/DatagramSocketImplFactory.java (long forgotten),
9702         java/nio/SocketChannel.java,
9703         java/nio/ServerSocketChannel.java,
9704         java/nio/DatagramChannel.java
9705         * Makefile.in: Regenrated.
9706
9707 2002-09-12  Michael Koch  <konqueror@gmx.de>
9708
9709         * java/net/DatagramSocketImpl.java
9710         (peekData): New method.
9711         * java/net/PlainDatagramSocketImpl.java
9712         (peekData): New method.
9713         * java/net/natPlainDatagramSocketImpl.cc
9714         (peekData): New method.
9715         * java/net/URLConnection
9716         (getPermission): New method.
9717         (addRequestProperty): New method.
9718         (getRequestProperties): New method.
9719         (guessContentTypeFromStream): New method, not really implemented.
9720         (URLConnection): Added/updated documentation.
9721         (connect): Added/updated documentation.
9722         (getURL): Added/updated documentation.
9723         (getContentLength): Added/updated documentation.
9724         (getContentType: Added/updated documentation.
9725         (getContentEncoding): Added/updated documentation.
9726         (getExpiration): Added/updated documentation.
9727         (getDate): Added/updated documentation.
9728         (getLastModified): Added/updated documentation.
9729         (getHeaderField): Added/updated documentation.
9730         (getHeaderFields): Added/updated documentation.
9731         (getHeaderFieldInt): Added/updated documentation.
9732         (getHeaderFieldDate): Added/updated documentation.
9733         (getHeaderFieldKey): Added/updated documentation.
9734         (getContent): Added/updated documentation.
9735         (getInputStream): Added/updated documentation.
9736         (getOutputStream): Added/updated documentation.
9737         (toString): Added/updated documentation.
9738         (setDoInput): Added/updated documentation.
9739         (getDoInput): Added/updated documentation.
9740         (setDoOutput): Added/updated documentation.
9741         (getDoOutput): Added/updated documentation.
9742         (setAllowUserInteraction): Added/updated documentation.
9743         (getAllowUserInteraction): Added/updated documentation.
9744         (setDefaultAllowUserInteraction): Added/updated documentation.
9745         (getDefaultAllowUserInteraction): Added/updated documentation.
9746         (setUseCaches): Added/updated documentation.
9747         (getUseCaches): Added/updated documentation.
9748         (setIfModifiedSince): Added/updated documentation.
9749         (getIfModifiedSince): Added/updated documentation.
9750         (getDefaultUseCaches): Added/updated documentation.
9751         (setDefaultUseCaches): Added/updated documentation.
9752         (setRequestProperty): Added/updated documentation.
9753         (getRequestProperty): Added/updated documentation.
9754         (setDefaultRequestProperty): Added/updated documentation.
9755         (getDefaultRequestProperty): Added/updated documentation.
9756         (setContentHandlerFactory): Added/updated documentation.
9757         (guessContentTypeFromName): Added/updated documentation.
9758         (getFileNameMap): Added/updated documentation.
9759         (setFileNameMap): Added/updated documentation.
9760
9761 2002-09-11  Michael Koch  <konqueror@gmx.de>
9762
9763         * java/net/Socket.java
9764         (Socket): protected to public (since JDK 1.4). Added @specnote.
9765         (bind): New method.
9766         (connect): Two new methods.
9767         (getKeepalive): Get correct socket option.
9768         (setKeepalive): Set correct socket option.
9769         (getOOBInline): New method.
9770         (setOOBInline): New method.
9771         * java/net/ServerSocket.java
9772         (bind): Two new methods.
9773         (getInetAddress): Reimplemented, catch exception.
9774         (getLocalSocketAddress): New method.
9775         (setReuseAddress): New method.
9776         (getReuseAdress): New method.
9777         (setReceiveBufferSize): New method.
9778         (getReceiveBufferSize): New method.
9779         (toString): Made string JDK 1.4 compliant.
9780
9781 2002-09-10  Michael Koch  <konqueror@gmx.de>
9782
9783         * java/net/SocketImpl.java
9784         (connect): New method.
9785         (supportsUrgentData): New method.
9786         (sendUrgentData): New method.
9787         * java/net/PlainSocketImpl.java
9788         (connect): One new method and two new implementation.
9789         (sendUrgentData): New method.
9790         * java/natPlainSocketImpl.cc
9791         (connect): Arguments changed, added support for timeouts.
9792         (getOption): Another __java_boolean to jboolean.
9793
9794 2002-09-07  Adam Megacz <adam@xwt.org>
9795
9796         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9797         definition of IP_TOS.
9798
9799 2002-09-04  Michael Koch  <konqueror@gmx.de>
9800
9801         * java/net/DatagramSocket.java
9802         (DatagramSocket): Added documentation.
9803         (close): Likewise.
9804         (getLocalAddress): Likewise.
9805         (getLocalPort): Likewise.
9806         (receive): Likewise.
9807         (send): Likewise.
9808         (setSoTimeout): Likewise.
9809         (connect): New method.
9810         (disconnect): New method.
9811         (getInetAddress): New method (FIXME)
9812         (getPort): New method.
9813         (setReuseAddress): New method.
9814         (getReuseAddress): New method.
9815         (setBroadcast): New method.
9816         (getBroadcast): New method.
9817         (setTrafficClass): New method.
9818         (getTrafficClass): New method.
9819         * java/net/MulticastSocket.java):
9820         (getTTL): Added @see in documentation.
9821         (setTTL): Added @see in documentation.
9822         (setLoopbackMode): New method.
9823         (getLoopbackMode): New method.
9824         * java/net/PlainSocketImpl.java:
9825         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9826         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9827         * java/net/PlainDatagramSocketImpl.java
9828         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9829         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9830         * java/net/natPlainSocketImpl.cc
9831         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9832         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9833         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9834         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9835         This should also fix SO_KEEPALIVE
9836         * java/net/natPlainDatagramSocketImpl.cc
9837         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9838         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9839         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9840         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9841
9842 2002-09-04  Michael Koch  <konqueror@gmx.de>
9843
9844         * java/net/SocketOptions.java: added static variables to be JDK 1.4
9845         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9846         IP_MULTICAST_LOOP, IP_TOS
9847
9848 2002-09-03  Tom Tromey  <tromey@redhat.com>
9849
9850         * java/lang/Class.h (_getDeclaredMethod): Declare.
9851         (_getMethod): Now private.
9852         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9853         getDeclaredMethod.  Now returns NULL on failure.
9854         * java/lang/Class.java (_getDeclaredMethod): Declare.
9855         (getDeclaredMethod): No longer native; implements access checks.
9856
9857 2002-09-01  Mark Wielaard  <mark@klomp.org>
9858
9859         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9860         (sanitizeStack): Correctly reset unknown and interpreter counters,
9861         detect interpreter runtime frames.
9862         (demangleInterpreterMethod): New method.
9863         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9864         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9865         filling in addrs[].
9866
9867 2002-09-02  Michael Koch  <konqueror@gmx.de>
9868
9869         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9870         re-indented documentation.
9871
9872 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9873
9874         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9875         public, per 1.4 spec.  Fixes PR libgcj/7785.
9876
9877 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
9878
9879         * Makefile.in: Rebuilt.
9880         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9881
9882 2002-08-29  Tom Tromey  <tromey@redhat.com>
9883
9884         * java/net/JarURLConnection.java (getCertificates): New method
9885         from Classpath.
9886         * java/net/URLClassLoader.java (URLClassLoader): Extends
9887         SecureClassLoader.
9888         (definePackage): New method from Classpath.
9889         (getPermissions): Likewise.
9890         (newInstance): Likewise.
9891         (findClass): Construct CodeSource for new class (from Classpath).
9892         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9893         methods.
9894         * java/net/URL.java (getUserInfo): New method.
9895         (set(String,String,int,String,String,String,String,String)): New
9896         method.
9897         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9898         (shutdownInput, shutdownOutput): Declare.
9899         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9900         Define.
9901         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9902         (getOption): Likewise.
9903         (shutdownInput): New method.
9904         (shutdownOutput): Likewise.
9905         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9906         keepalive.
9907         (getOption): Likewise.
9908         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9909         * java/net/Socket.java (setKeepAlive): New method.
9910         (getKeepAlive): Likewise.
9911         (shutdownInput, shutdownOutput): New methods.
9912
9913 2002-08-29  Michael Koch  <konqueror@gmx.de>
9914
9915         * java/net/DatagramPacket.java: updated to JDK 1.4 API
9916         new methods are:
9917         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9918           address),
9919         DatagramPacket(byte[] buf, int length, SocketAddress address),
9920         void setSocketAddress(SocketAddress address)
9921         public SocketAddress getSocketAddress()
9922
9923 2002-08-29  Tom Tromey  <tromey@redhat.com>
9924
9925         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9926         ftruncate is missing.
9927         * configure, include/config.h.in: Rebuilt.
9928         * acconfig.h (HAVE_FTRUNCATE): Mention.
9929         * configure.in: Check for ftruncate.
9930
9931 2002-08-29  Tom Tromey  <tromey@redhat.com>
9932
9933         * include/jvm.h (struct _Jv_frame_info): New structure.
9934         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9935         java-interp.h.
9936         (lookupInterp): New method.
9937         (getAddrAsString): Use _Jv_frame_info.
9938         (dladdrLookup): Likewise.
9939         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9940         interpreted frame.
9941         (lookupInterp): Declare.
9942         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9943         (fillInStackTrace): Collect information on interpreted frames.
9944         Use _Jv_frame_info.
9945         * interpret.cc: Include Thread.h.
9946         (run): Create and push _Jv_MethodChain object.
9947         (_Jv_EndOfInterpreter): New global.
9948         * java/lang/Thread.java (interp_frame): New field.
9949         * include/java-interp.h (struct _Jv_MethodChain): New structure.
9950         Include NameFinder.h.
9951
9952 2002-08-28  Tom Tromey  <tromey@redhat.com>
9953
9954         * java/lang/Class.h: Include Package.h.
9955         (Class::getProtectionDomain): Declare.
9956         (Class::getPackage): Declare.
9957
9958 2002-08-28  Michael Koch <konqueror@gmx.de>
9959
9960         * java/net/InetSocketAddress.java: Added some documentation and argument
9961         checks for the port numbers.
9962         * java/net/DatagramSocketImplFactory.java: New file.
9963
9964 2002-08-28  Michael Koch <konqueror@gmx.de>
9965
9966         * java/net/Authenticator.java: added some documentation.
9967
9968 2002-08-27  Tom Tromey  <tromey@redhat.com>
9969
9970         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9971         class.
9972         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9973
9974 2002-08-27  Michael Koch <konqueror@gmx.de>
9975
9976         * java/net/BindException.java,
9977         java/net/JarURLConnection.java,
9978         java/net/FileNameMap.java,
9979         java/net/HttpURLConnection.java,
9980         java/net/InetSocketAddress.java,
9981         java/net/DatagramPacket.java,
9982         java/net/DatagramSocket.java,
9983         java/net/DatagramSocketImpl.java,
9984         java/net/MulticastSocket.java,
9985         java/net/PasswordAuthentication.java,
9986         java/net/ServerSocket.java,
9987         java/net/Socket.java,
9988         java/net/URLClassLoader.java,
9989         java/net/URLConnection.java: add/update of some @since/@deprecated
9990
9991 2002-08-27  Tony Kimball <alk@pobox.com>
9992             Tom Tromey  <tromey@redhat.com>
9993
9994         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9995         define.
9996         (::close): Removed.
9997         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9998         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9999         (::close): Removed.
10000         (PlainSocketImpl::close): Use NATIVE_CLOSE.
10001         * include/win32.h (getcwd): Removed declaration.  Include io.h.
10002
10003 2002-08-25  Adam Megacz <adam@xwt.org>
10004
10005         * include/win32.h (getcwd): copied function declaration as
10006         temporary fix for header confusion.
10007
10008 2002-08-24  Mark Wielaard <mark@klomp.org>
10009
10010         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10011         (core_java_source_files): Add VMThrowable.java and NameFinder.java
10012         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10013         and natNameFinder.cc.
10014         * Makefile.in: Regenerate.
10015         * prims.cc: Use trace_enabled from VMThrowable.
10016         * name-finder.cc: Removed.
10017         * gcj/javaprims.h: Add class VMThrowable.
10018         * gnu/gcj/runtime/NameFinder.java: New file.
10019         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10020         * include/name-finder.h: Removed.
10021         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10022         method stackTraceString().
10023         (printStackTrace (PrintWriter)): Likewise.
10024         (stackTraceString): Complete rewrite of old printStackTrace using
10025         StringBuffer.
10026         (stackTraceStringBuffer): New helper method for stackTraceString().
10027         (fillInStackTrace): Delegate to VMTrowable.
10028         (getStackTrace): Likewise.
10029         (getStackTrace0): Removed.
10030         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10031         (setStackTrace): Copy given array.
10032         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10033         * java/lang/VMThrowable.java: New class.
10034         * java/lang/natVMThrowable.cc: New file.
10035
10036 2003-08-23  Michael Koch  <konqueror@gmx.de>
10037
10038         * java/net/URLConnection.java,
10039         java/netJarURLConnection.java,
10040         gnu/gcj/protocol/core/Connection.java,
10041         gnu/gcj/protocol/file/Connection.java,
10042         gnu/gcj/protocol/http/Connection.java: Added implementation of
10043         getHeaderFields().
10044
10045 2002-08-22  Tom Tromey  <tromey@redhat.com>
10046
10047         * gij.cc (help): Document -cp and -classpath.
10048         (main): Handle -classpath.
10049
10050 2002-08-21  Tom Tromey  <tromey@redhat.com>
10051
10052         * Makefile.in: Rebuilt.
10053         * Makefile.am (ordinary_java_source_files): Added
10054         SocketAddress.java, InetSocketAddress.java.
10055         * java/net/PortUnreachableException.java: Merged with Classpath.
10056         * java/net/SocketTimeoutException.java: Likewise.
10057         * java/net/URISyntaxException.java: Likewise.
10058         * java/net/SocketAddress.java: New class from Classpath.
10059         * java/net/InetSocketAddress.java: Likewise.
10060
10061 2003-08-21  Michael Koch  <konqueror@gmx.de>
10062
10063         * java/net/Authenticator.java: updated JDK 1.4
10064         * java/net/ContentHandler.java: updated JDK 1.4
10065
10066 2002-08-20  Michael Koch  <konqueror@gmx.de>
10067
10068         * java/net/URISyntaxException.java: New file.
10069         * java/net/SocketTimeoutException.java: New file.
10070         * java/net/PortUnreachableException.java: New file.
10071         * Makefile.am: Updated.
10072         * Makefile.in: Rebuilt.
10073
10074 2002-08-18  Mark Wielaard  <mark@klomp.org>
10075
10076         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
10077         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10078         MessageDigestSpi (fixes Classpath bug #783).
10079
10080 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10081
10082         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
10083         (startProcess): Allocate path for chdir in async-signal-safe way.
10084
10085 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10086
10087         Fix for PR libgcj/7570 and PR libgcj/7578:
10088         * java/lang/natPosixProcess.cc: Include java/io/File.h.
10089         (startProcess): Handle new `dir' argument.
10090         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
10091         argument.
10092         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
10093         argument.
10094         (startProcess): Likewise.
10095         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
10096         argument.
10097         * java/lang/Runtime.java (execInternal): Added `dir' argument.
10098         (exec): Don't create new environment if ENV==null.  Pass DIR to
10099         execInternal.
10100         * java/lang/natRuntime.cc: Include java/io/File.h.
10101         (execInternal): Added `dir' argument.
10102
10103 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
10104
10105         * java/io/RandomAccessFile.java (skipBytes): Return number of
10106         bytes skipped.
10107
10108 2002-08-01  Mark Wielaard  <mark@klomp.org>
10109
10110         Reenable patch since shared library troubles on powerpc are solved:
10111         * gnu/java/security/provider/Gnu.java: Reference all implementation
10112         classes by using Class.getName().
10113         * gnu/java/security/der/DEREncodingException.java,
10114         gnu/java/security/provider/DERReader.java,
10115         gnu/java/security/provider/DERWriter.java,
10116         gnu/java/security/provider/DSAKeyPairGenerator.java,
10117         gnu/java/security/provider/DSAParameterGenerator.java,
10118         gnu/java/security/provider/DSAParameters.java,
10119         gnu/java/security/provider/DSASignature.java,
10120         gnu/java/security/provider/GnuDSAPrivateKey.java,
10121         gnu/java/security/provider/GnuDSAPublicKey.java,
10122         gnu/java/security/provider/MD5.java,
10123         gnu/java/security/util/Prime.java: New classes
10124         * Makefile.am (ordinary_java_source_files): Add above files.
10125         * Makefile.in: Regenerate.
10126         * gnu/java/security/provider/DefaultPolicy.java
10127         (getPermissions): Don't maintain static class variable of Permissions.
10128         * gnu/java/security/provider/SHA.java
10129         (engineUpdate): algorithm change.
10130         (engineDigest): algorithm change.
10131
10132 2002-08-09  Mark Wielaard  <mark@klomp.org>
10133
10134         * java/awt/image/MemoryImageSource.java: Change constructor to take
10135         int[] not byte[].
10136         * java/awt/Graphics2D.java: Uncomment methods that can now be
10137         compiled.
10138         * java/awt/GridBagLayout.java: New stub implementation.
10139         * javax/swing/text/html/HTML.java: Stub implementation.
10140         * javax/swing/text/html/parser/ParserDelegator.java: New stub
10141         implementation.
10142
10143         * Makefile.am: Add new files.
10144         * Makefile.in: Rebuilt.
10145
10146 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10147
10148         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
10149         methods in Graphics2D.
10150
10151 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10152
10153         AWT/Swing merge from GNU Classpath.
10154
10155         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
10156         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
10157         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
10158         java/awt/color/ProfileDataException.java,
10159         java/awt/CompositeContext.java, java/awt/Composite.java,
10160         java/awt/ContainerOrderFocusTraversalPolicy.java,
10161         java/awt/datatransfer/FlavorTable.java,
10162         java/awt/DefaultFocusTraversalPolicy.java,
10163         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
10164         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
10165         java/awt/dnd/DragGestureListener.java,
10166         java/awt/dnd/DragGestureRecognizer.java,
10167         java/awt/dnd/DragSourceAdapter.java,
10168         java/awt/dnd/DragSourceContext.java,
10169         java/awt/dnd/DragSourceDragEvent.java,
10170         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
10171         java/awt/dnd/DragSourceListener.java,
10172         java/awt/dnd/DragSourceMotionListener.java,
10173         java/awt/dnd/DropTarget.java,
10174         java/awt/dnd/InvalidDnDOperationException.java,
10175         java/awt/dnd/peer/DragSourceContextPeer.java,
10176         java/awt/event/AWTEventListenerProxy.java,
10177         java/awt/event/MouseWheelEvent.java,
10178         java/awt/event/MouseWheelListener.java,
10179         java/awt/event/WindowFocusListener.java,
10180         java/awt/event/WindowStateListener.java,
10181         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
10182         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
10183         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
10184         java/awt/geom/FlatteningPathIterator.java,
10185         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
10186         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
10187         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
10188         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
10189         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
10190         java/awt/image/ImagingOpException.java,
10191         java/awt/image/RasterFormatException.java,
10192         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
10193         java/awt/image/VolatileImage.java,
10194         java/awt/image/WritableRenderedImage.java,
10195         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
10196         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
10197         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
10198         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
10199         java/awt/PageAttributes.java, java/awt/print/Book.java,
10200         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
10201         java/awt/print/Paper.java, java/awt/print/Printable.java,
10202         java/awt/print/PrinterAbortException.java,
10203         java/awt/print/PrinterException.java,
10204         java/awt/print/PrinterGraphics.java,
10205         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
10206         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
10207         java/awt/Stroke.java, java/awt/TexturePaint.java,
10208         javax/accessibility/AccessibleAction.java,
10209         javax/accessibility/AccessibleBundle.java,
10210         javax/accessibility/AccessibleComponent.java,
10211         javax/accessibility/AccessibleContext.java,
10212         javax/accessibility/AccessibleEditableText.java,
10213         javax/accessibility/AccessibleExtendedComponent.java,
10214         javax/accessibility/AccessibleExtendedTable.java,
10215         javax/accessibility/AccessibleHyperlink.java,
10216         javax/accessibility/AccessibleHypertext.java,
10217         javax/accessibility/AccessibleIcon.java,
10218         javax/accessibility/Accessible.java,
10219         javax/accessibility/AccessibleKeyBinding.java,
10220         javax/accessibility/AccessibleRelation.java,
10221         javax/accessibility/AccessibleRelationSet.java,
10222         javax/accessibility/AccessibleResourceBundle.java,
10223         javax/accessibility/AccessibleRole.java,
10224         javax/accessibility/AccessibleSelection.java,
10225         javax/accessibility/AccessibleState.java,
10226         javax/accessibility/AccessibleStateSet.java,
10227         javax/accessibility/AccessibleTable.java,
10228         javax/accessibility/AccessibleTableModelChange.java,
10229         javax/accessibility/AccessibleText.java,
10230         javax/accessibility/AccessibleValue.java,
10231         javax/swing/AbstractAction.java,
10232         javax/swing/AbstractButton.java,
10233         javax/swing/AbstractCellEditor.java,
10234         javax/swing/AbstractListModel.java,
10235         javax/swing/AbstractSet.java, javax/swing/Action.java,
10236         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
10237         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
10238         javax/swing/border/CompoundBorder.java,
10239         javax/swing/border/EmptyBorder.java,
10240         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
10241         javax/swing/border/LineBorder.java,
10242         javax/swing/border/MatteBorder.java,
10243         javax/swing/border/TitledBorder.java,
10244         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
10245         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
10246         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
10247         javax/swing/CellRendererPane.java,
10248         javax/swing/colorchooser/AbstractColorChooserPanel.java,
10249         javax/swing/colorchooser/ColorChooserComponentFactory.java,
10250         javax/swing/colorchooser/ColorSelectionModel.java,
10251         javax/swing/colorchooser/DefaultColorSelectionModel.java,
10252         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
10253         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
10254         javax/swing/DefaultBoundedRangeModel.java,
10255         javax/swing/DefaultButtonModel.java,
10256         javax/swing/DefaultCellEditor.java,
10257         javax/swing/DefaultCellRenderer.java,
10258         javax/swing/DefaultComboBoxModel.java,
10259         javax/swing/DefaultDesktopManager.java,
10260         javax/swing/DefaultFocusManager.java,
10261         javax/swing/DefaultListCellRenderer.java,
10262         javax/swing/DefaultListModel.java,
10263         javax/swing/DefaultListSelectionModel.java,
10264         javax/swing/DefaultSingleSelectionModel.java,
10265         javax/swing/DesktopManager.java,
10266         javax/swing/event/AncestorEvent.java,
10267         javax/swing/event/AncestorListener.java,
10268         javax/swing/event/CaretEvent.java,
10269         javax/swing/event/CaretListener.java,
10270         javax/swing/event/CellEditorListener.java,
10271         javax/swing/event/ChangeEvent.java,
10272         javax/swing/event/ChangeListener.java,
10273         javax/swing/event/DocumentEvent.java,
10274         javax/swing/event/DocumentListener.java,
10275         javax/swing/event/EventListenerList.java,
10276         javax/swing/event/HyperlinkEvent.java,
10277         javax/swing/event/HyperlinkListener.java,
10278         javax/swing/event/InternalFrameAdapter.java,
10279         javax/swing/event/InternalFrameEvent.java,
10280         javax/swing/event/InternalFrameListener.java,
10281         javax/swing/event/ListDataEvent.java,
10282         javax/swing/event/ListDataListener.java,
10283         javax/swing/event/ListSelectionEvent.java,
10284         javax/swing/event/ListSelectionListener.java,
10285         javax/swing/event/MenuDragMouseEvent.java,
10286         javax/swing/event/MenuDragMouseListener.java,
10287         javax/swing/event/MenuEvent.java,
10288         javax/swing/event/MenuKeyEvent.java,
10289         javax/swing/event/MenuKeyListener.java,
10290         javax/swing/event/MenuListener.java,
10291         javax/swing/event/MouseInputAdapter.java,
10292         javax/swing/event/MouseInputListener.java,
10293         javax/swing/event/PopupMenuEvent.java,
10294         javax/swing/event/PopupMenuListener.java,
10295         javax/swing/event/SwingPropertyChangeSupport.java,
10296         javax/swing/event/TableColumnModelEvent.java,
10297         javax/swing/event/TableColumnModelListener.java,
10298         javax/swing/event/TableModelEvent.java,
10299         javax/swing/event/TableModelListener.java,
10300         javax/swing/event/TreeExpansionEvent.java,
10301         javax/swing/event/TreeExpansionListener.java,
10302         javax/swing/event/TreeModelEvent.java,
10303         javax/swing/event/TreeModelListener.java,
10304         javax/swing/event/TreeSelectionEvent.java,
10305         javax/swing/event/TreeSelectionListener.java,
10306         javax/swing/event/TreeWillExpandListener.java,
10307         javax/swing/event/UndoableEditEvent.java,
10308         javax/swing/event/UndoableEditListener.java,
10309         javax/swing/filechooser/FileFilter.java,
10310         javax/swing/filechooser/FileSystemView.java,
10311         javax/swing/filechooser/FileView.java,
10312         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
10313         javax/swing/Icon.java, javax/swing/ImageIcon.java,
10314         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
10315         javax/swing/JApplet.java, javax/swing/JButton.java,
10316         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
10317         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
10318         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
10319         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
10320         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
10321         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
10322         javax/swing/JLayeredPane.java, javax/swing/JList.java,
10323         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
10324         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
10325         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
10326         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
10327         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
10328         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
10329         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
10330         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
10331         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
10332         javax/swing/JTextField.java, javax/swing/JTextPane.java,
10333         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
10334         javax/swing/JToolTip.java, javax/swing/JTree.java,
10335         javax/swing/JViewport.java, javax/swing/JWindow.java,
10336         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
10337         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
10338         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
10339         javax/swing/MenuSelectionManager.java,
10340         javax/swing/MutableComboBoxModel.java,
10341         javax/swing/OverlayLayout.java,
10342         javax/swing/plaf/ActionMapUIResource.java,
10343         javax/swing/plaf/basic/BasicBorders.java,
10344         javax/swing/plaf/basic/BasicButtonUI.java,
10345         javax/swing/plaf/basic/BasicCheckBoxUI.java,
10346         javax/swing/plaf/basic/BasicDefaults.java,
10347         javax/swing/plaf/basic/BasicGraphicsUtils.java,
10348         javax/swing/plaf/basic/BasicIconFactory.java,
10349         javax/swing/plaf/basic/BasicLabelUI.java,
10350         javax/swing/plaf/basic/BasicListUI.java,
10351         javax/swing/plaf/basic/BasicLookAndFeel.java,
10352         javax/swing/plaf/basic/BasicOptionPaneUI.java,
10353         javax/swing/plaf/basic/BasicPanelUI.java,
10354         javax/swing/plaf/basic/BasicRadioButtonUI.java,
10355         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10356         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10357         javax/swing/plaf/basic/BasicTextUI.java,
10358         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10359         javax/swing/plaf/basic/BasicTreeUI.java,
10360         javax/swing/plaf/basic/BasicViewportUI.java,
10361         javax/swing/plaf/BorderUIResource.java,
10362         javax/swing/plaf/ButtonUI.java,
10363         javax/swing/plaf/ColorChooserUI.java,
10364         javax/swing/plaf/ColorUIResource.java,
10365         javax/swing/plaf/ComboBoxUI.java,
10366         javax/swing/plaf/ComponentInputMapUIResource.java,
10367         javax/swing/plaf/ComponentUI.java,
10368         javax/swing/plaf/DesktopIconUI.java,
10369         javax/swing/plaf/DesktopPaneUI.java,
10370         javax/swing/plaf/DimensionUIResource.java,
10371         javax/swing/plaf/FileChooserUI.java,
10372         javax/swing/plaf/FontUIResource.java,
10373         javax/swing/plaf/IconUIResource.java,
10374         javax/swing/plaf/InputMapUIResource.java,
10375         javax/swing/plaf/InsetsUIResource.java,
10376         javax/swing/plaf/InternalFrameUI.java,
10377         javax/swing/plaf/LabelUI.java,
10378         javax/swing/plaf/ListUI.java,
10379         javax/swing/plaf/MenuBarUI.java,
10380         javax/swing/plaf/MenuItemUI.java,
10381         javax/swing/plaf/OptionPaneUI.java,
10382         javax/swing/plaf/PanelUI.java,
10383         javax/swing/plaf/PopupMenuUI.java,
10384         javax/swing/plaf/ProgressBarUI.java,
10385         javax/swing/plaf/RootPaneUI.java,
10386         javax/swing/plaf/ScrollBarUI.java,
10387         javax/swing/plaf/ScrollPaneUI.java,
10388         javax/swing/plaf/SeparatorUI.java,
10389         javax/swing/plaf/SliderUI.java,
10390         javax/swing/plaf/SplitPaneUI.java,
10391         javax/swing/plaf/TabbedPaneUI.java,
10392         javax/swing/plaf/TableHeaderUI.java,
10393         javax/swing/plaf/TableUI.java,
10394         javax/swing/plaf/TextUI.java,
10395         javax/swing/plaf/ToolBarUI.java,
10396         javax/swing/plaf/ToolTipUI.java,
10397         javax/swing/plaf/TreeUI.java,
10398         javax/swing/plaf/UIResource.java,
10399         javax/swing/plaf/ViewportUI.java,
10400         javax/swing/ProgressMonitorInputStream.java,
10401         javax/swing/ProgressMonitor.java,
10402         javax/swing/Renderer.java,
10403         javax/swing/RepaintManager.java,
10404         javax/swing/RootPaneContainer.java,
10405         javax/swing/Scrollable.java,
10406         javax/swing/ScrollPaneConstants.java,
10407         javax/swing/ScrollPaneLayout.java,
10408         javax/swing/SingleSelectionModel.java,
10409         javax/swing/SizeRequirements.java,
10410         javax/swing/SizeSequence.java,
10411         javax/swing/SwingConstants.java,
10412         javax/swing/SwingUtilities.java,
10413         javax/swing/table/AbstractTableModel.java,
10414         javax/swing/table/DefaultTableCellRenderer.java,
10415         javax/swing/table/DefaultTableColumnModel.java,
10416         javax/swing/table/DefaultTableModel.java,
10417         javax/swing/table/TableCellEditor.java,
10418         javax/swing/table/TableCellRenderer.java,
10419         javax/swing/table/TableColumn.java,
10420         javax/swing/table/TableColumnModel.java,
10421         javax/swing/table/TableModel.java,
10422         javax/swing/text/AbstractDocument.java,
10423         javax/swing/text/AttributeSet.java,
10424         javax/swing/text/BadLocationException.java,
10425         javax/swing/text/Caret.java,
10426         javax/swing/text/CharacterIterator.java,
10427         javax/swing/text/ComponentView.java,
10428         javax/swing/text/DefaultCaret.java,
10429         javax/swing/text/DefaultEditorKit.java,
10430         javax/swing/text/Document.java,
10431         javax/swing/text/EditorKit.java,
10432         javax/swing/text/Element.java,
10433         javax/swing/text/GapContent.java,
10434         javax/swing/text/JTextComponent.java,
10435         javax/swing/text/Keymap.java,
10436         javax/swing/text/MutableAttributeSet.java,
10437         javax/swing/text/PlainDocument.java,
10438         javax/swing/text/PlainEditorKit.java,
10439         javax/swing/text/Position.java,
10440         javax/swing/text/Segment.java,
10441         javax/swing/text/StyledDocument.java,
10442         javax/swing/text/StyledEditorKit.java,
10443         javax/swing/text/Style.java,
10444         javax/swing/text/TextAction.java,
10445         javax/swing/text/ViewFactory.java,
10446         javax/swing/text/View.java,
10447         javax/swing/Timer.java,
10448         javax/swing/ToggleButtonModel.java,
10449         javax/swing/ToolTipManager.java,
10450         javax/swing/tree/AbstractLayoutCache.java,
10451         javax/swing/tree/DefaultMutableTreeNode.java,
10452         javax/swing/tree/DefaultTreeCellEditor.java,
10453         javax/swing/tree/DefaultTreeCellRenderer.java,
10454         javax/swing/tree/DefaultTreeModel.java,
10455         javax/swing/tree/DefaultTreeSelectionModel.java,
10456         javax/swing/tree/ExpandVetoException.java,
10457         javax/swing/tree/FixedHeightLayoutCache.java,
10458         javax/swing/tree/MutableTreeNode.java,
10459         javax/swing/tree/RowMapper.java,
10460         javax/swing/tree/TreeCellEditor.java,
10461         javax/swing/tree/TreeCellRenderer.java,
10462         javax/swing/tree/TreeModel.java,
10463         javax/swing/tree/TreeNode.java,
10464         javax/swing/tree/TreePath.java,
10465         javax/swing/tree/TreeSelectionModel.java,
10466         javax/swing/tree/VariableHeightLayoutCache.java,
10467         javax/swing/UIDefaults.java,
10468         javax/swing/UIManager.java,
10469         javax/swing/undo/AbstractUndoableEdit.java,
10470         javax/swing/undo/CannotRedoException.java,
10471         javax/swing/undo/CannotUndoException.java,
10472         javax/swing/undo/CompoundEdit.java,
10473         javax/swing/undo/StateEditable.java,
10474         javax/swing/undo/StateEdit.java,
10475         javax/swing/undo/UndoableEdit.java,
10476         javax/swing/undo/UndoableEditSupport.java,
10477         javax/swing/undo/UndoManager.java,
10478         javax/swing/UnsupportedLookAndFeelException.java,
10479         javax/swing/ViewportLayout.java,
10480         javax/swing/WindowConstants.java: New files, from GNU Classpath.
10481
10482         * java/awt/ActiveEvent.java,
10483         java/awt/Adjustable.java, java/awt/AWTError.java,
10484         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
10485         java/awt/AWTException.java, java/awt/AWTPermission.java,
10486         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
10487         java/awt/Color.java, java/awt/Component.java,
10488         java/awt/ComponentOrientation.java, java/awt/Container.java,
10489         java/awt/datatransfer/MimeTypeParseException.java,
10490         java/awt/datatransfer/Transferable.java,
10491         java/awt/datatransfer/UnsupportedFlavorException.java,
10492         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
10493         java/awt/event/ActionListener.java,
10494         java/awt/event/AdjustmentEvent.java,
10495         java/awt/event/AdjustmentListener.java,
10496         java/awt/event/AWTEventListener.java,
10497         java/awt/event/ComponentAdapter.java,
10498         java/awt/event/ComponentEvent.java,
10499         java/awt/event/ComponentListener.java,
10500         java/awt/event/ContainerAdapter.java,
10501         java/awt/event/ContainerEvent.java,
10502         java/awt/event/ContainerListener.java,
10503         java/awt/event/FocusAdapter.java,
10504         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
10505         java/awt/event/HierarchyBoundsAdapter.java,
10506         java/awt/event/HierarchyBoundsListener.java,
10507         java/awt/event/HierarchyEvent.java,
10508         java/awt/event/HierarchyListener.java,
10509         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
10510         java/awt/event/InputMethodListener.java,
10511         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
10512         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
10513         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
10514         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
10515         java/awt/event/MouseListener.java,
10516         java/awt/event/MouseMotionAdapter.java,
10517         java/awt/event/MouseMotionListener.java,
10518         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
10519         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
10520         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
10521         java/awt/event/WindowListener.java, java/awt/Font.java,
10522         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
10523         java/awt/geom/Ellipse2D.java,
10524         java/awt/geom/IllegalPathStateException.java,
10525         java/awt/geom/Line2D.java,
10526         java/awt/geom/NoninvertibleTransformException.java,
10527         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
10528         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
10529         java/awt/geom/RoundRectangle2D.java,
10530         java/awt/GraphicsConfiguration.java,
10531         java/awt/IllegalComponentStateException.java,
10532         java/awt/image/IndexColorModel.java,
10533         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
10534         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
10535         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
10536         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
10537         java/awt/MenuItem.java, java/awt/PaintContext.java,
10538         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
10539         java/awt/Polygon.java, java/awt/PrintGraphics.java,
10540         java/awt/PrintJob.java, java/awt/Rectangle.java,
10541         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
10542         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
10543         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
10544
10545         * java/awt/im/spi/InputMethod.java,
10546         java/awt/im/spi/InputMethodContext.java,
10547         java/awt/im/spi/InputMethodDescriptor.java,
10548         java/awt/image/renderable/ContextualRenderedImageFactory.java,
10549         java/awt/image/renderable/ParameterBlock.java,
10550         java/awt/image/renderable/RenderContext.java,
10551         java/awt/image/renderable/RenderableImage.java,
10552         java/awt/image/renderable/RenderableImageOp.java,
10553         java/awt/image/renderable/RenderableImageProducer.java,
10554         java/awt/image/renderable/RenderedImageFactory.java: New files from
10555         classpath.
10556
10557         * gnu/java/awt/EventModifier.java,
10558         gnu/java/awt/image/ImageDecoder.java,
10559         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
10560
10561         * gnu/awt/xlib/XGraphicsConfiguration.java,
10562         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
10563         API.
10564
10565         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
10566         GNU Classpath.
10567
10568         * Makefile.am: Add new files.
10569         * Makefile.in: Rebuilt.
10570
10571 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10572
10573         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
10574         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
10575         findResource, getResources, findResources): Add javadoc from classpath.
10576         (getSystemResources): Implemented.
10577
10578 2002-08-01  Mark Wielaard  <mark@klomp.org>
10579
10580         Revert patch that breaks libgcj shared library on powerpc:
10581         * gnu/java/security/provider/Gnu.java: Reverse referencing all
10582         implementation classes by using Class.getName(). Uses Strings again.
10583         * gnu/java/security/der/DEREncodingException.java,
10584         gnu/java/security/provider/DERReader.java,
10585         gnu/java/security/provider/DERWriter.java,
10586         gnu/java/security/provider/DSAKeyPairGenerator.java,
10587         gnu/java/security/provider/DSAParameterGenerator.java,
10588         gnu/java/security/provider/DSAParameters.java,
10589         gnu/java/security/provider/DSASignature.java,
10590         gnu/java/security/provider/GnuDSAPrivateKey.java,
10591         gnu/java/security/provider/GnuDSAPublicKey.java,
10592         gnu/java/security/provider/MD5.java,
10593         gnu/java/security/util/Prime.java: Removed.
10594         * Makefile.am (ordinary_java_source_files): Remove above files.
10595         * Makefile.in: Regenerate.
10596         * gnu/java/security/provider/DefaultPolicy.java
10597         (getPermissions): Revert to maintaining static class variable of
10598         Permissions.
10599         * gnu/java/security/provider/SHA.java
10600         (engineUpdate): Revert algorithm change.
10601         (engineDigest): Revert algorithm change.
10602
10603 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
10604
10605         * configure.host: Add SH support.
10606         * sysdep/sh/locks.h: New file.
10607
10608 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10609
10610         * java/awt/Frame.java (Frame): Remove println calls.
10611
10612 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
10613
10614         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
10615         * configure: Rebuilt.
10616
10617 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
10618
10619         * sysdep/powerpc/locks.h: Formatting.
10620         (_LARX): Define.
10621         (_STCX): Define.
10622         (compare_and_swap): Use _LARX and _STCX.
10623         (compare_and_swap_release): Likewise.
10624
10625 2002-07-26  Tom Tromey  <tromey@redhat.com>
10626
10627         * java/net/Authenticator.java: New version from Classpath.
10628         * java/net/DatagramSocketImpl.java: New version from Classpath.
10629
10630 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
10631
10632         * configure.host: Add powerpc64*-* entry.
10633
10634 2002-07-26  Tom Tromey  <tromey@redhat.com>
10635
10636         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
10637         fcntl.h.
10638
10639 2002-07-24  Tom Tromey  <tromey@redhat.com>
10640
10641         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
10642         argument to _load.
10643
10644 2002-07-24  Tom Tromey  <tromey@redhat.com>
10645             Tony Kimball <alk@pobox.com>
10646
10647         * java/io/natFileDescriptorWin32.cc (setLength): New method.
10648         * java/io/natFileDescriptorPosix.cc (setLength): New method.
10649         * java/io/RandomAccessFile.java (setLength): New method.
10650         * java/io/natFileDescriptorEcos.cc (setLength): New method.
10651         * java/io/FileDescriptor.java (setLength): New method.
10652
10653 2002-07-24  Mark Wielaard  <mark@klomp.org>
10654
10655         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
10656         * java/io/ObjectInputStream.java (setBooleanField): Before setting
10657         field call setAccessible(true).
10658         (setByteField): Likewise.
10659         (setCharField): Likewise.
10660         (setDoubleField): Likewise.
10661         (setFloatField): Likewise.
10662         (setIntField): Likewise.
10663         (setLongField): Likewise.
10664         (setShortField): Likewise.
10665         (setObjectField): Likewise.
10666
10667 2002-07-24  Tom Tromey  <tromey@redhat.com>
10668
10669         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
10670         use toString() to format array element.
10671
10672 2002-07-23  Mark Wielaard  <mark@klomp.org>
10673
10674         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10675         MessageDigestSpi (fixes Classpath bug #783).
10676
10677 2002-07-21  Mark Wielaard  <mark@klomp.org>
10678
10679         * gnu/java/security/provider/Gnu.java: Reference all implementation
10680         classes by using Class.getName().
10681
10682 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
10683
10684         * java/lang/ieeefp.h: Add x86-64 support.
10685         * configure.in: Likewise.
10686         * configure.host: Likewise.
10687         * configure: Regenerated.
10688         * sysdep/x86-64/locks.h: New file with x86-64 locks.
10689
10690 2002-07-16  Mark Wielaard  <mark@klomp.org>
10691
10692         * java/io/StreamTokenizer.java (pushBack): Update documentation.
10693         (whitespaceChars): call resetChar().
10694
10695 2002-07-15  Tom Tromey  <tromey@redhat.com>
10696
10697         * Makefile.in: Rebuilt.
10698         * Makefile.am (awt_java_source_files): Added new files.
10699         * java/beans/ExceptionListener.java: Merged with Classpath.
10700         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
10701         * java/beans/PropertyChangeListener.java: Merged with Classpath.
10702         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
10703         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
10704         * java/beans/VetoableChangeListener.java: Merged with Classpath.
10705         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
10706         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
10707
10708 2002-07-14  Mark Wielaard  <mark@klomp.org>
10709
10710         * gnu/java/security/der/DEREncodingException.java,
10711         gnu/java/security/provider/DERReader.java,
10712         gnu/java/security/provider/DERWriter.java,
10713         gnu/java/security/provider/DSAKeyPairGenerator.java,
10714         gnu/java/security/provider/DSAParameterGenerator.java,
10715         gnu/java/security/provider/DSAParameters.java,
10716         gnu/java/security/provider/DSASignature.java,
10717         gnu/java/security/provider/GnuDSAPrivateKey.java,
10718         gnu/java/security/provider/GnuDSAPublicKey.java,
10719         gnu/java/security/provider/MD5.java,
10720         gnu/java/security/util/Prime.java: New files from Classpath.
10721         * Makefile.am (ordinary_java_source_files): Add new files.
10722         * Makefile.in: Regenerate.
10723
10724 2002-07-14  C. Brian Jones <cbj@gnu.org>
10725
10726         * gnu/java/security/provider/DefaultPolicy.java
10727         (getPermissions): do not maintain static class variable of
10728         Permissions
10729         * gnu/java/security/provider/SHA.java
10730         (engineUpdate): algorithm change
10731         (engineDigest): algorithm change
10732
10733 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
10734
10735         For PR libgcj/7292:
10736         * java/lang/Character.java (toString(char)): Now static.
10737
10738 2002-07-12  Mark Wielaard  <mark@klomp.org>
10739
10740         * java/lang/natThrowable.cc (printRawStackTrace): removed.
10741         (getStackTrace0): new method.
10742         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10743         (printStackTrace(PrintWriter)): replace with pure java implementation.
10744         (printRawStackTrace): removed.
10745         (getStackTrace0): new method.
10746         * java/lang/StackTraceElement.java (toString): add extra whitespace.
10747         * gcj/javaprims.h: regenerate class list.
10748         * include/name-finder.h (lookup): new returns StackTraceElement*.
10749         (method_name, file_name): fields removed.
10750         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10751         (~_Jv_name_finder): close new descriptors.
10752         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10753         (createStackTraceElement): new method.
10754         (lookup): returns StackTraceElement*, uses createStackTraceElement().
10755
10756 2002-07-10  Tom Tromey  <tromey@redhat.com>
10757
10758         * configure: Rebuilt.
10759         * configure.in: Use `test' after `&&'.  From Chris Faylor.
10760
10761 2002-07-08  Mark Wielaard  <mark@klomp.org>
10762
10763         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10764         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10765         java.sql.DatabaseMetaData.TestJdbc20
10766
10767 2002-07-05  Tony Kimball  <alk@pobox.com>
10768
10769         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10770
10771 2002-07-04  Tom Tromey  <tromey@redhat.com>
10772             Jeff Sturm  <jsturm@one-point.com>
10773
10774         Fix for PR libgcj/7060:
10775         * java/lang/Class.h (_getMethod): Renamed from getMethod.
10776         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10777         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
10778         * java/lang/Class.java (getMethod): New Java implementation;
10779         complies with spec.
10780         (_getMethod): New native method.
10781
10782 2002-07-02  Tom Tromey  <tromey@redhat.com>
10783             David Hovemeyer  <daveho@cs.umd.edu>
10784
10785         * java/text/ChoiceFormat.java
10786         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10787         in check loop.
10788         * java/text/MessageFormat.java
10789         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10790         to MessageFormat.
10791
10792 2002-07-01  Tom Tromey  <tromey@redhat.com>
10793
10794         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10795         StringTokenizer on null string.  For PR libgcj/7180.
10796         From daveho@cs.umd.edu.
10797
10798 2002-06-24  Tom Tromey  <tromey@redhat.com>
10799
10800         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10801         (IntegerClass): Likewise.
10802         * java/lang/natClass.cc (CloneableClass): Removed.
10803         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10804         ConstructorClass): Likewise.
10805         * java/lang/natClassLoader.cc (CloneableClass): Removed.
10806         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10807         SerializableClass): Likewise.
10808         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10809         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10810         LongClass, FloatClass, DoubleClass): Likewise.
10811
10812         * verify.cc (branch_prepass): Updated for change to exception
10813         handler type.
10814         (verify_instructions_0): Likewise.
10815         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10816         (handleExceptionTableEntry): Updated for change to exception
10817         handler type.
10818         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10819         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10820         (union _Jv_InterpPC): New.
10821         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10822         (class _Jv_InterpMethod): Added new `prepared' field.
10823         (class _Jv_InterpMethod): Added `compile' method.  Removed
10824         `continue1' and `find_exception'.  Changed arguments to `run'.
10825         * interpret.cc (union insn_slot): New.
10826         (find_exception): Removed.
10827         (run_normal): Removed most logic.
10828         (run_synch_object): Likewise; also, use JvSynchronize.
10829         (run_synch_class): Likewise.
10830         (run): Removed.
10831         (continue1): Renamed as `run'.  Compile bytecode if required.
10832         Add new code to allow refinement of direct-threaded code at
10833         runtime.  Handle exceptions.
10834         (SAVE_PC): Removed.
10835         (compile): New method.
10836         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10837         (NULLARRAYCHECK): Don't use SAVE_PC.
10838         (pc_t): New typedef.
10839         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10840         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10841
10842 2002-06-23  Tom Tromey  <tromey@redhat.com>
10843
10844         * configure: Rebuilt.
10845         * configure.in (INTERPRETER): New subst.
10846         (AM_RUNTESTFLAGS): Don't subst.
10847
10848         * Makefile.in: Rebuilt.
10849         * Makefile.am ($(srcdir)/java/lang/Object.h,
10850         $(srcdir)/java/lang/Class.h): Added dummy targets.
10851
10852 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10853
10854         Reformat JDBC classes and add new JDK 1.4 classes and methods.
10855
10856         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10857         java/sql/Savepoint.java: New files.
10858         * java/sql/Array.java, java/sql/BatchUpdateException.java,
10859         java/sql/Blob.java, java/sql/CallableStatement.java,
10860         java/sql/Clob.java, java/sql/Connection.java,
10861         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10862         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10863         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10864         java/sql/Ref.java, java/sql/ResultSet.java,
10865         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10866         java/sql/SQLException.java, java/sql/SQLInput.java,
10867         java/sql/SQLOutput.java, java/sql/SQLWarning.java
10868         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10869         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10870         (JDK 1.4) specification.
10871         * javax/sql/ConnectionEvent.java,
10872         javax/sql/ConnectionEventListener.java,
10873         javax/sql/ConnectionPoolDataSource.java,
10874         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10875         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10876         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10877         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10878         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10879         javax/sql/XADataSource.java: New files.
10880         * Makefile.am: Add new files.
10881         * Makefile.in: Rebuilt.
10882
10883 2002-06-20  Tom Tromey  <tromey@redhat.com>
10884
10885         For PR libgcj/7073:
10886         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10887         exists.
10888         * defineclass.cc (handleClassBegin): Superclass for interface is
10889         `null'.
10890
10891 2002-06-18  Tom Tromey  <tromey@redhat.com>
10892
10893         * gcj/javaprims.h: Updated class declaration list.
10894         * Makefile.in: Rebuilt.
10895         * Makefile.am (core_java_source_files): Removed
10896         BasicMapEntry.java.
10897         * java/util/BasicMapEntry.java: Removed.
10898
10899 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
10900
10901         * java/net/natPlainDatagramSocketImpl.cc (receive):
10902         Check bounds of argument to FD_SET.
10903         (setOption): Throw exception if socket is closed.
10904
10905         * java/net/natPlainSocketImpl.cc (accept, read):
10906         Check bounds of argument to FD_SET.
10907         (setOption): Throw exception if socket is closed.
10908
10909 2002-06-18  Tom Tromey  <tromey@redhat.com>
10910
10911         * gcj/javaprims.h: Updated class declaration list.
10912         * Makefile.in: Rebuilt.
10913         * Makefile.am (core_java_source_files): Added
10914         PropertyPermissionCollection.java.
10915         * java/lang/Thread.java (group, name): Now package-private.
10916         * java/lang/ThreadGroup.java: Re-merge with Classpath.
10917         * java/util/AbstractList.java: Likewise.
10918         * java/util/AbstractMap.java: Likewise.
10919         * java/util/Calendar.java: Likewise.
10920         * java/util/Collections.java: Likewise.
10921         * java/util/HashMap.java: Likewise.
10922         * java/util/Hashtable.java: Likewise.
10923         * java/util/LinkedHashMap.java: Likewise.
10924         * java/util/LinkedList.java: Likewise.
10925         * java/util/List.java: Likewise.
10926         * java/util/ListResourceBundle.java: Likewise.
10927         * java/util/Map.java: Likewise.
10928         * java/util/Observable.java: Likewise.
10929         * java/util/Properties.java: Likewise.
10930         * java/util/PropertyPermission.java: Likewise.
10931         * java/util/PropertyPermissionCollection.java: Likewise.
10932         * java/util/PropertyResourceBundle.java: Likewise.
10933         * java/util/Random.java: Likewise.
10934         * java/util/SimpleTimeZone.java: Likewise.
10935         * java/util/StringTokenizer.java: Likewise.
10936         * java/util/TimerTask.java: Likewise.
10937         * java/util/TreeMap.java: Likewise.
10938         * java/util/WeakHashMap.java: Likewise.
10939         * java/util/jar/Attributes.java: Likewise.
10940         * java/util/jar/JarException.java: Likewise.
10941         * java/util/jar/Manifest.java: Likewise.
10942
10943 2002-06-17  Tom Tromey  <tromey@redhat.com>
10944
10945         * gcj/javaprims.h: Updated class declaration list.
10946         * Makefile.in: Rebuilt.
10947         * Makefile.am (core_java_source_files): Added new file.
10948         * java/util/EventListenerProxy.java: New file.
10949         * java/util/EventListener.java: Re-merge with Classpath.
10950         * java/util/EventObject.java: Re-merge with Classpath.
10951
10952 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10953
10954         * java/lang/ClassNotFoundException.java: New Classpath version.
10955
10956 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10957
10958         * java/rmi/activation/ActivateFailedException.java: Remerge from
10959         Classpath version.
10960         * java/rmi/activation/ActivationException.java: Ditto.
10961         * java/rmi/activation/UnknownGroupException.java: Ditto.
10962         * java/rmi/activation/UnknownObjectException.java: Ditto.
10963         * java/rmi/server/ExportException: Ditto.
10964         * java/rmi/server/ServerCloneException: Ditto.
10965         * java/rmi/server/ServerNotActiveException: Ditto.
10966         * java/rmi/server/SkeletonMismatchException: Ditto.
10967         * java/rmi/server/SkeletonNotFoundException: Ditto.
10968         * java/rmi/server/SocketSecurityException: Ditto.
10969
10970 2002-06-16  Tom Tromey  <tromey@redhat.com>
10971
10972         * gcj/javaprims.h: Updated class declaration list.
10973
10974         * java/io/LineNumberInputStream.java: Merged with Classpath.
10975
10976         * java/lang/RuntimeException.java: Re-merge with Classpath.
10977         * java/util/ArrayList.java: Likewise.
10978         * java/util/Arrays.java: Likewise.
10979         * java/util/BitSet.java: Likewise.
10980         * java/util/Dictionary.java: Likewise.
10981         * java/util/IdentityHashMap.java: Likewise.
10982         * java/util/MissingResourceException.java: Likewise.
10983         * java/util/Observer.java: Likewise.
10984         * java/util/TooManyListenersException.java: Likewise.
10985         * java/util/zip/DataFormatException.java: Likewise.
10986         * java/util/zip/ZipException.java: Likewise.
10987
10988 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
10989
10990         * java/rmi/AccessException.java: Remerge from Classpath.
10991         * java/rmi/AlreadyBoundException.java: Ditto.
10992         * java/rmi/ConnectException.java: Ditto.
10993         * java/rmi/ConnectIOException.java: Ditto.
10994         * java/rmi/MarshalException.java: Ditto.
10995         * java/rmi/NoSuchObjectException.java: Ditto.
10996         * java/rmi/NotBoundException.java: Ditto.
10997         * java/rmi/RemoteException.java: Ditto.
10998         * java/rmi/RMISecurityException.java: Ditto.
10999         * java/rmi/ServerError.java: Ditto.
11000         * java/rmi/ServerException.java: Ditto.
11001         * java/rmi/ServerRuntimeException.java: Ditto.
11002         * java/rmi/StubNotFoundException.java: Ditto.
11003         * java/rmi/UnexpectedExcpetion.java: Ditto.
11004         * java/rmi/UnknownHostException.java: Ditto.
11005         * java/rmi/UnmarshalException.java: Ditto.
11006
11007 2002-06-15  Tom Tromey  <tromey@redhat.com>
11008
11009         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11010         * java/lang/ArithmeticException.java: Likewise.
11011         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11012         * java/lang/ArrayStoreException.java: Likewise.
11013         * java/lang/Byte.java: Likewise.
11014         * java/lang/CharSequence.java: Likewise.
11015         * java/lang/ClassCastException.java: Likewise.
11016         * java/lang/ClassCircularityError.java: Likewise.
11017         * java/lang/ClassFormatError.java: Likewise.
11018         * java/lang/CloneNotSupportedException.java: Likewise.
11019         * java/lang/Cloneable.java: Likewise.
11020         * java/lang/Comparable.java: Likewise.
11021         * java/lang/Compiler.java: Likewise.
11022         * java/lang/Error.java: Likewise.
11023         * java/lang/ExceptionInInitializerError.java: Likewise.
11024         * java/lang/IllegalAccessError.java: Likewise.
11025         * java/lang/IllegalAccessException.java: Likewise.
11026         * java/lang/IllegalArgumentException.java: Likewise.
11027         * java/lang/IllegalMonitorStateException.java: Likewise.
11028         * java/lang/IllegalStateException.java: Likewise.
11029         * java/lang/IllegalThreadStateException.java: Likewise.
11030         * java/lang/IncompatibleClassChangeError.java: Likewise.
11031         * java/lang/IndexOutOfBoundsException.java: Likewise.
11032         * java/lang/InheritableThreadLocal.java: Likewise.
11033         * java/lang/InstantiationError.java: Likewise.
11034         * java/lang/InstantiationException.java: Likewise.
11035         * java/lang/InternalError.java: Likewise.
11036         * java/lang/InterruptedException.java: Likewise.
11037         * java/lang/LinkageError.java: Likewise.
11038         * java/lang/NegativeArraySizeException.java: Likewise.
11039         * java/lang/NoClassDefFoundError.java: Likewise.
11040         * java/lang/NoSuchFieldError.java: Likewise.
11041         * java/lang/NoSuchFieldException.java: Likewise.
11042         * java/lang/NoSuchMethodError.java: Likewise.
11043         * java/lang/NoSuchMethodException.java: Likewise.
11044         * java/lang/NullPointerException.java: Likewise.
11045         * java/lang/NumberFormatException.java: Likewise.
11046         * java/lang/OutOfMemoryError.java: Likewise.
11047         * java/lang/Process.java: Likewise.
11048         * java/lang/Runnable.java: Likewise.
11049         * java/lang/RuntimePermission.java: Likewise.
11050         * java/lang/SecurityException.java: Likewise.
11051         * java/lang/Short.java: Likewise.
11052         * java/lang/StackOverflowError.java: Likewise.
11053         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
11054         * java/lang/ThreadDeath.java: Likewise.
11055         * java/lang/ThreadLocal.java: Likewise.
11056         * java/lang/UnknownError.java: Likewise.
11057         * java/lang/UnsatisfiedLinkError.java: Likewise.
11058         * java/lang/UnsupportedClassVersionError.java: Likewise.
11059         * java/lang/UnsupportedOperationException.java: Likewise.
11060         * java/lang/VerifyError.java: Likewise.
11061         * java/lang/VirtualMachineError.java: Likewise.
11062         * java/lang/reflect/InvocationTargetException.java: Likewise.
11063         * java/net/BindException.java: Likewise.
11064         * java/net/ConnectException.java: Likewise.
11065         * java/net/MalformedURLException.java: Likewise.
11066         * java/net/NoRouteToHostException.java: Likewise.
11067         * java/net/ProtocolException.java: Likewise.
11068         * java/net/SocketException.java: Likewise.
11069         * java/net/UnknownHostException.java: Likewise.
11070         * java/net/UnknownServiceException.java: Likewise.
11071
11072         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
11073         * java/io/CharConversionException.java: Likewise.
11074         * java/io/EOFException.java: Likewise.
11075         * java/io/FileNotFoundException.java: Likewise.
11076         * java/io/IOException.java: Likewise.
11077         * java/io/InterruptedIOException.java: Likewise.
11078         * java/io/InvalidClassException.java: Likewise.
11079         * java/io/InvalidObjectException.java: Likewise.
11080         * java/io/NotActiveException.java: Likewise.
11081         * java/io/NotSerializableException.java: Likewise.
11082         * java/io/ObjectStreamException.java: Likewise.
11083         * java/io/ObjectStreamConstants.java: Likewise.
11084         * java/io/OptionalDataException.java: Likewise.
11085         * java/io/PipedInputStream.java: Likewise.
11086         * java/io/PushbackInputStream.java: Likewise.
11087         * java/io/StreamCorruptedException.java: Likewise.
11088         * java/io/SyncFailedException.java: Likewise.
11089         * java/io/UTFDataFormatException.java: Likewise.
11090         * java/io/UnsupportedEncodingException.java: Likewise.
11091         * java/io/WriteAbortedException.java: Likewise.
11092
11093 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
11094
11095         * java/text/ChoiceFormat.java: Update comments from Classpath.
11096         * java/text/ParseException.java (serialVersionUID): New
11097         field from Classpath.
11098         * java/text/ParseException.java: Update formatting & comments
11099         from Classpath.
11100
11101 2002-06-15  Tom Tromey  <tromey@redhat.com>
11102
11103         * java/util/zip/InflaterInputStream.java (read): Loop if data has
11104         been read but none output by inflater.
11105         * java/util/zip/natDeflater.cc (reset): Set is_finished.
11106         * java/util/zip/natInflater.cc (reset): Set dist_needed and
11107         is_finished.
11108         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
11109         version.
11110         * java/util/zip/ZipFile.java: Replaced with Classpath version.
11111         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11112         * java/util/zip/ZipInputStream.java: Replaced with Classpath
11113         version.
11114         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11115
11116 2002-06-13  Tom Tromey  <tromey@redhat.com>
11117
11118         * java/lang/natString.cc (init): Handle case where DONT_COPY is
11119         true and OFFSET!=0.
11120         * java/lang/String.java (String(char[],int,int,boolean): New
11121         constructor.
11122         * java/lang/Long.java: Imported new version from Classpath.
11123         * java/lang/Number.java: Likewise.
11124         * java/lang/Integer.java: Likewise.
11125         * java/lang/Long.java: Likewise.
11126         * java/lang/Float.java: Likewise.
11127         * java/lang/Boolean.java: Likewise.
11128         * java/lang/Double.java: Likewise.
11129         * java/lang/Void.java: Likewise.
11130
11131 2002-06-12  Tom Tromey  <tromey@redhat.com>
11132
11133         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
11134         Fixes PR libgcj/6652.
11135
11136 2002-06-10  Tom Tromey  <tromey@redhat.com>
11137
11138         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
11139         (Class::getPackagePortion): Likewise.
11140         * java/lang/Class.java (desiredAssertionStatus): New method from
11141         Classpath.
11142         (getPackagePortion): Likewise.
11143         * java/lang/VMClassLoader.java (defaultAssertionStatus,
11144         packageAssertionStatus, classAssertionStatus): New methods from
11145         Classpath.
11146         * java/lang/ClassLoader.java (defaultAssertionStatus,
11147         systemPackageAssertionStatus, packageAssertionStatus,
11148         systemClassAssertionStatus, classAssertionStatus): New fields from
11149         Classpath.
11150         (setDefaultAssertionStatus, setPackageAssertionStatus,
11151         setClassAssertionStatus, clearAssertionStatus): New methods from
11152         Classpath.
11153         * Makefile.in: Rebuilt.
11154         * Makefile.am (core_java_source_files): Added AssertionError.java.
11155         * java/lang/AssertionError.java: New from Classpath.
11156
11157 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11158
11159         * configure.host: Disable hash synchronization and slow_pthread_self
11160         for cygwin.
11161
11162 2002-06-06  Adam Megacz <adam@xwt.org>
11163
11164         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
11165         locking, just like the Sun JVM does.
11166
11167 2002-06-05  H.J. Lu  (hjl@gnu.org)
11168
11169         * Makefile.am (libgcj_convenience.la): Revert the last change.
11170         (libgcj.la): Likewise.
11171         * Makefile.in: Regenerated.
11172
11173 2002-06-04  H.J. Lu  (hjl@gnu.org)
11174
11175         * Makefile.am (libgcj_convenience.la): New target.
11176         (libgcj.la): Depend on libgcj_convenience.la.
11177         * Makefile.in: Regenerated.
11178
11179 2002-06-04  H.J. Lu  (hjl@gnu.org)
11180
11181         * configure.in (--with-newlib): New option:
11182         Check ${with_newlib} instead of ${with_cross_host} for newlib.
11183         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
11184         Linux.
11185         * configure: Regenerated.
11186
11187 2002-06-04  Tom Tromey  <tromey@redhat.com>
11188
11189         * java/util/natTimeZone.cc: Include <stdio.h>.
11190
11191 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
11192
11193         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
11194         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
11195         Set SIGNAL_HANDLER=include/s390-linux.h.
11196         * configure: Regenerate.
11197         * include/s390-linux.h: New file.
11198
11199 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11200
11201         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
11202         not "stackTrace".
11203
11204 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11205
11206         Merge JDK 1.4 java.security changes from classpath.
11207
11208         * java/security/AccessControlException.java: Merge from Classpath.
11209         * java/security/AccessController.java: Likewise.
11210         * java/security/AllPermission.java: Likewise.
11211         * java/security/BasicPermission.java: Likewise.
11212         * java/security/Certificate.java: Likewise.
11213         * java/security/CodeSource.java: Likewise.
11214         * java/security/DigestException.java: Likewise.
11215         * java/security/DigestOutputStream.java: Likewise.
11216         * java/security/DomainCombiner.java: Likewise.
11217         * java/security/GeneralSecurityException.java: Likewise.
11218         * java/security/Guard.java: Likewise.
11219         * java/security/GuardedObject.java: Likewise.
11220         * java/security/InvalidAlgorithmParameterException.java: Likewise.
11221         * java/security/InvalidKeyException.java: Likewise.
11222         * java/security/InvalidParameterException.java: Likewise.
11223         * java/security/Key.java: Likewise.
11224         * java/security/KeyException.java: Likewise.
11225         * java/security/KeyManagementException.java: Likewise.
11226         * java/security/KeyStoreException.java: Likewise.
11227         * java/security/MessageDigest.java: Likewise.
11228         * java/security/NoSuchAlgorithmException.java: Likewise.
11229         * java/security/NoSuchProviderException.java: Likewise.
11230         * java/security/Permission.java: Likewise.
11231         * java/security/PermissionCollection.java: Likewise.
11232         * java/security/Permissions.java: Likewise.
11233         * java/security/Policy.java: Likewise.
11234         * java/security/Principal.java: Likewise.
11235         * java/security/PrivateKey.java: Likewise.
11236         * java/security/PrivilegedAction.java: Likewise.
11237         * java/security/PrivilegedActionException.java: Likewise.
11238         * java/security/PrivilegedExceptionAction.java: Likewise.
11239         * java/security/ProtectionDomain.java: Likewise.
11240         * java/security/ProviderException.java: Likewise.
11241         * java/security/PublicKey.java: Likewise.
11242         * java/security/SecureClassLoader.java: Likewise.
11243         * java/security/SecurityPermission.java: Likewise.
11244         * java/security/SignatureException.java: Likewise.
11245         * java/security/UnrecoverableKeyException.java: Likewise.
11246         * java/security/UnresolvedPermission.java: Likewise.
11247         * java/security/acl/AclNotFoundException.java: Likewise.
11248         * java/security/acl/LastOwnerException.java: Likewise.
11249         * java/security/acl/NotOwnerException.java: Likewise.
11250         * java/security/cert/CRLException.java: Likewise.
11251         * java/security/cert/CertificateEncodingException.java: Likewise.
11252         * java/security/cert/CertificateException.java: Likewise.
11253         * java/security/cert/CertificateExpiredException.java: Likewise.
11254         * java/security/cert/CertificateFactory.java: Likewise.
11255         * java/security/cert/CertificateNotYetValidException.java: Likewise.
11256         * java/security/cert/CertificateParsingException.java: Likewise.
11257         * java/security/spec/InvalidKeySpecException.java: Likewise.
11258         * java/security/spec/InvalidParameterSpecException.java: Likewise.
11259
11260         * java/security/cert/CertPath.java: New file.
11261         * java/security/cert/CertPathBuilderException.java: New file.
11262         * java/security/cert/CertPathValidatorException.java: New file.
11263         * java/security/cert/CertStoreException.java: New file.
11264
11265         * Makefile.am: Add new CertPath classes.
11266         * Makefile.in: Rebuilt.
11267
11268         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
11269
11270 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11271
11272         Merge JDK 1.4 exception chaining support from classpath.
11273
11274         * java/lang/Throwable.java: Merge 1.4 support from classpath.
11275         (stackTraceBytes): Rename from stackTrace.
11276         * java/lang/Exception.java: Merge from classpath.
11277         * java/lang/StackTraceElement: New file from classpath.
11278         * gcj/javaprims.h: Rebuild CNI namespace declarations.
11279         * Makefile.am: Add StackTraceElement.
11280         * Makefile.in: Rebuilt.
11281
11282 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11283
11284         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
11285         they build first.
11286         * Makefile.in: Rebuilt.
11287
11288 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11289
11290         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
11291         * configure.in: Likewise.
11292         * aclocal.m4: Regenerate.
11293         * configure: Regenerate.
11294
11295 2002-05-13  Tom Tromey  <tromey@redhat.com>
11296
11297         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
11298         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
11299         Include platform.h.
11300
11301         Fixes PR libgcj/6389:
11302         * Makefile.in: Rebuilt.
11303         * Makefile.am (nat_source_files): Added natTimeZone.cc.
11304         * java/util/natTimeZone.cc: New file.
11305         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
11306         * java/lang/System.java: Merged with Classpath.
11307         * java/lang/Runtime.java: Merged with Classpath.
11308         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
11309         security check.
11310         (setIn0): Renamed from setIn; don't run security check.
11311         (setOut0): Renamed from setOut; don't run security check.
11312         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
11313         init_properties): Moved to natRuntime.cc.
11314         Moved many includes to natRuntime.cc.
11315         (isWordsBigEndian): New method.
11316         * java/lang/natRuntime.cc: Include Long.h, also other includes
11317         previously in natSystem.cc.
11318         (maxMemory): New function.
11319         (exitInternal): Renamed from `_exit'.
11320         (exit): Removed.
11321         (init): Don't set finalize_on_exit.
11322         (exitInternal): Use `finalizeOnExit'.
11323         (file_encoding, getpwuid_adaptor): New functions from
11324         natSystem.cc.
11325         (insertSystemProperties): New method, renamed from
11326         System::init_properties.  Don't set user.timezone.
11327         (_load): Don't call checkLink.
11328         (execInternal): New method.
11329         (availableProcessors): Likewise.
11330         (nativeGetLibname): Likewise.
11331
11332 2002-05-11  Mark Wielaard  <mark@klomp.org>
11333
11334         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
11335         space characters.
11336         (previous_internal): Likewise.
11337
11338 2002-05-09  Tom Tromey  <tromey@redhat.com>
11339
11340         * jni.cc (_Jv_JNIFunctions): Fixed typo.
11341
11342         * java/util/ResourceBundle.java: New version from Classpath.
11343         * java/util/Locale.java: Likewise.
11344
11345 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
11346
11347         * testsuite/lib/libjava.exp (libjava_arguments): Append all
11348         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
11349         LD_LIBRARY_PATH.
11350
11351 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
11352
11353         * libjava/Makefile.am (all_java_source_files): New variable.
11354         (all_java_class_files): Likewise.
11355         .java.class: New rule.
11356         (CLEANFILES): Remove tmp-list.
11357         * libjava/Makefile.in: Regenerated.
11358
11359 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
11360
11361         * testsuite/lib/libjava.exp (test_libjava_from_javac):
11362         Append .exe to executable names.  Fix for cygwin.
11363
11364 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
11365
11366         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
11367         script entry, and set LD to it when configuring multilibs.
11368         * configure: Rebuilt.
11369
11370 2002-05-07  Tom Tromey  <tromey@redhat.com>
11371
11372         * java/lang/natString.cc (unintern): Fixed typo.
11373
11374 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
11375
11376         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
11377         with -no-install on *-*-cygwin*.
11378
11379 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
11380
11381         * testsuite/lib/libjava.exp (test_libjava_from_source):
11382         Add comment explaining last patch
11383
11384 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
11385
11386         * testsuite/lib/libjava.exp (test_libjava_from_source):
11387         Append .exe to executable names.  If no suffix is present,
11388         then ".exe" is added by default on win32.  Harmless
11389         elsewhere so always do it.
11390
11391 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
11392             Tom Tromey  <tromey@redhat.com>
11393
11394         * java/lang/natSystem.cc (getSystemTimeZone): Use
11395         HAVE_UNDERSCORE_TIMEZONE.
11396         * include/config.h.in: Rebuilt.
11397         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
11398         * aclocal.m4, configure: Rebuilt.
11399         * acinclude.m4: Run AC_EXEEXT.
11400         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
11401         Add test for `_timezone'.
11402
11403 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
11404
11405         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11406         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
11407         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11408         * Makefile.in: Rebuilt.
11409
11410 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
11411
11412         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
11413         use sigaction instead of __libc_sigaction.
11414
11415 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11416
11417         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
11418         (libjava_init): Use it to find libgcj.spec.
11419         (libjava_arguments): Likewise.
11420
11421 2002-05-02  David S. Miller  <davem@redhat.com>
11422
11423         PR bootstrap/6525
11424         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
11425         __libc_sigaction on Sparc.
11426
11427 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
11428
11429         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
11430         sys/filio.h, if present.
11431
11432 2002-04-30  Tom Tromey  <tromey@redhat.com>
11433
11434         * java/io/BufferedReader.java (fill): Handle case where markPos
11435         point to ignored \n.  Fixes PR libgcj/6301.
11436
11437 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
11438
11439         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
11440
11441 2002-04-29  Adam King <aking@dreammechanics.com>
11442
11443         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
11444         of file in APPEND mode.
11445
11446 2002-04-25  David S. Miller  <davem@redhat.com>
11447
11448         PR target/6422
11449         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
11450         program counter to next program counter minus 8.  Update
11451         comments in this macro to explain why.
11452
11453 2002-04-26  Tom Tromey  <tromey@redhat.com>
11454
11455         * verify.cc (construct_primitive_array_type) [void_type]: New
11456         case.
11457         (branch_prepass): Added dummy entries for unused instruction
11458         values.
11459         (verify_instructions_0): Likewise.
11460         * interpret.cc (continue1): Comment fix.
11461         * include/java-insns.h (op_xxxunusedxxx1): Removed.
11462         * Makefile.in: Rebuilt.
11463         * Makefile.am: Added -Wswitch-enum.
11464
11465 2002-04-24  Tom Tromey  <tromey@redhat.com>
11466
11467         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
11468         correct length of UTF-8 encoded name.  Strip leading `/'.
11469         (_Jv_RegisterResource): Use _Jv_Malloc.
11470
11471 2002-04-23  Adam Megacz <adam@xwt.org>
11472
11473         * win32.cc, include/win32.cc (backtrace): Added this function
11474         because Win32 does not supply it.
11475
11476 2002-04-21  David S. Miller  <davem@redhat.com>
11477
11478         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
11479         magic instruction reading sequence.
11480
11481 2002-04-21  Mark Wielaard  <mark@klomp.org>
11482
11483         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
11484
11485 2002-04-19  David S. Miller  <davem@redhat.com>
11486
11487         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
11488         arg.
11489         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
11490         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
11491         on Sparc too.
11492         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
11493         for 64-bit sparc.
11494         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
11495         * sysdeps/sparc/locks.h: New file.
11496         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
11497         on all sparc Solaris configurations.  Set to
11498         include/dwarf2-signal.h on sparc Linux.
11499         * configure: Regenerate
11500         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
11501
11502 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
11503
11504         * configure: Rebuilt.
11505         * configure.in (backtrace): Function doesn't work on IA-64.
11506
11507 2002-04-17  Adam King <aking@dreammechanics.com>
11508
11509         * java/io/File.java (normalizePath): Add Win32 support for auto
11510         conversion of a '/' path separator to Win32's '\' separator.
11511
11512 2002-04-16  Tom Tromey  <tromey@redhat.com>
11513
11514         Fix for PR libgcj/6081:
11515         * Makefile.in: Rebuilt.
11516         * Makefile.am (install-data-local): Use GNU make trick to avoid
11517         shell limit.
11518
11519 2002-04-16  Adam King <aking@dreammechanics.com>
11520             Tom Tromey  <tromey@redhat.com>
11521
11522         * java/io/natFileWin32.cc (performList): Return the correct array
11523         type.  Don't duplicate the creation of a File since it's already
11524         done earlier in the method and the existing code would cause a
11525         ArrayStoreException.  Don't use fixed-size array.
11526         (_access, _stat, attr, getCanonicalPath, performMkdir,
11527         performRenameTo): Don't use fixed-size array.
11528         (getCanonicalPath): Use throw, not _Jv_Throw.
11529
11530 2002-04-15  DJ Delorie  <dj@redhat.com>
11531
11532         * configure.in: Allow building in $srcdir.
11533         * configure: Regenerated.
11534
11535 2002-04-14  Mark Wielaard <mark@klomp.org>
11536
11537         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
11538         * java/net/natSocketImpl.cc (close): Likewise.
11539
11540 2002-04-14  Mark Wielaard <mark@klomp.org>
11541
11542         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
11543
11544 2002-04-13  Adam King <aking@dreammechanics.com>
11545
11546         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
11547         the f/F/d/D modifiers.
11548
11549 2002-04-12  Anthony Green  <green@redhat.com>
11550
11551         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
11552         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
11553         * Makefile.in: Rebuilt.
11554         * configure.in: Substitute gcc_version.
11555         * configure: Rebuilt.
11556
11557 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11558
11559         * configure.host: Set can_unwind_signal on hosts which support it.
11560         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
11561         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
11562         exceptions and can_unwind_signal isn't set.
11563         * configure: Rebuilt.
11564
11565 2002-04-11  Tom Tromey  <tromey@redhat.com>
11566
11567         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
11568
11569 2002-04-11  Adam King <aking@dreammechanics.com>
11570             Tom Tromey  <tromey@redhat.com>
11571
11572         * include/jvm.h (_Jv_ThrowBadArrayIndex,
11573         _Jv_ThrowNullPointerException): Mark as noreturn.
11574         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
11575         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
11576         fixes.
11577
11578 2002-04-10  Tom Tromey  <tromey@redhat.com>
11579
11580         * Makefile.in: Rebuilt.
11581         * Makefile.am (java/lang/Thread.h): Mark
11582         _Jv_AttachCurrentThreadAsDaemon as friend.
11583         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
11584         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
11585         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
11586         function.
11587         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
11588         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
11589         (_Jv_JNI_InvokeFunctions): Added
11590         _Jv_JNI_AttachCurrentThreadAsDaemon.
11591         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
11592         (JNI_GetDefaultJavaVMInitArgs): Likewise.
11593         (JNI_CreateJavaVM): Likewise.
11594         (_Jv_JNI_AttachCurrentThread): Likewise.
11595         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
11596         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
11597         (_Jv_JNIFunctions): Initialize new fields.
11598         (_Jv_JNI_NewDirectByteBuffer): New function.
11599         (_Jv_JNI_GetDirectBufferAddress): Likewise.
11600         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11601         * include/jni.h (JNI_VERSION_1_4): New macro.
11602         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
11603         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
11604         (JNINativeInterface::NewDirectByteBuffer): New field.
11605         (JNINativeInterface::GetDirectBufferAddress): New field.
11606         (JNINativeInterface::GetDirectBufferCapacity): New field.
11607         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
11608         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
11609         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
11610
11611 2002-04-09  Tom Tromey  <tromey@redhat.com>
11612
11613         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
11614
11615 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
11616
11617         Fix for PR libgcj/6187:
11618         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
11619         distance.
11620
11621 2002-04-07  Mark Wielaard <mark@klomp.org>
11622
11623         * java/util/AbstractMap.java (putAll): Use entrySet size.
11624         (toString): Explicitly use getKey() and getValue().
11625
11626 2002-04-07  Mark Wielaard <mark@klomp.org>
11627
11628         * java/util/Hashtable.java (contains): Remove NullPointer check.
11629         (containsValue): Add NullPointer check.
11630         (remove): Always throw NullPointerException when key
11631         is null.
11632
11633 2002-04-07  Adam King <aking@dreammechanics.com>
11634
11635         * java/lang/natSystem.cc (init_properties): Call new function
11636         _Jv_platform_initProperties.
11637         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
11638         support for the System properties os.name, os.arch, os.version,
11639         user.name, user.home, and user.dir.
11640         * include/posix.h, include/win32.h, posix.cc: New function
11641         _Jv_platform_initProperties.
11642
11643 2002-04-06  Mark Wielaard <mark@klomp.org>
11644
11645         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
11646
11647 2002-04-06  Mark Wielaard <mark@klomp.org>
11648
11649         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
11650         all of the remaining elements.
11651         * java/util/Vector.java (addAll(int,Collection)): Likewise.
11652         (removeRange): If toIndex == fromIndex do
11653         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11654         (removeAll): Always throw NullPointerException when collection is
11655         null.
11656         (retrainAll): Likewise.
11657
11658 2002-04-05  Mark Wielaard <mark@klomp.org>
11659
11660         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
11661         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11662
11663 2002-04-05  Adam Megacz <adam@xwt.org>
11664
11665         * exception.cc (abort): added static modifier
11666
11667 2002-04-04  Adam Megacz <adam@xwt.org>
11668
11669         * include/win32.h (_Jv_platform_close_on_exec): added inline
11670         modifier.
11671
11672 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
11673
11674         * configure.host: Add case statement to support generic port
11675         properties.  Add *-*-freebsd* section.
11676
11677 2002-04-04  Mark Wielaard  <mark@klomp.org>
11678
11679         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
11680         test.
11681         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
11682         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
11683         that depend on awt code and BufferedByteOutputStream.interrupt.
11684
11685 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11686
11687         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
11688         incorrect "hi" value when count > 40.
11689
11690 2002-04-03  Mark Wielaard  <mark@klomp.org>
11691
11692         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
11693         ordering.
11694
11695 2002-04-02  Tom Tromey  <tromey@redhat.com>
11696
11697         * java/lang/natClassLoader.cc (findClass): Compare against `3',
11698         not `0'.
11699
11700 2002-04-02  Mark Wielaard  <mark@klomp.org>
11701
11702         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
11703         list of testsuite crashers.
11704
11705 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11706
11707         * java/util/IdentityHashMap.java (put): Set new threshold correctly
11708         when resizing table.
11709
11710 2002-04-01  Mark Wielaard  <mark@klomp.org>
11711
11712         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
11713         NegativeArraySizeException
11714         (clear(int)): Use sign extended shift.
11715         (flip(int)): Likewise.
11716         (get(int)): Likewise.
11717         (nextClearBit(int)): Likewise.
11718         (nextSetBit(int)): Likewise.
11719         (set(int)): Likewise.
11720
11721 2002-04-01  Mark Wielaard  <mark@klomp.org>
11722
11723         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
11724         that can be compiled now and add testsuite crashers to ignore list.
11725
11726 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
11727
11728         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
11729
11730         * libgcj.spec.in: Override libgcc, not lib.
11731         * libgcj-test.spec.in: Likewise.
11732
11733 2002-03-29  Tom Tromey  <tromey@redhat.com>
11734
11735         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
11736         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
11737
11738 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
11739
11740         * java/net/PlainDatagramSocketImpl.java
11741         (close): Use native implementation.
11742         (finalize): New method.
11743
11744         * java/net/PlainSocketImpl.java (finalize): New method.
11745
11746         * java/net/natPlainDatagramSocketImpl.cc
11747         (java/io/FileDescriptor.h): Don't include.
11748         (close): Implement method here.
11749         (create): Don't assign fd.
11750
11751         * java/net/natPlainSocketImpl.cc
11752         (java/io/FileDescriptor.h): Don't include.
11753         (create): Don't assign fd.
11754         (accept): Likewise.
11755         (close): Synchronize.
11756
11757 2002-03-27  Richard Henderson  <rth@redhat.com>
11758
11759         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11760
11761 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11762
11763         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11764         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11765         instead of syscall on IA-64.
11766         Add FIXME comment.
11767
11768 2002-03-27  Anthony Green  <green@redhat.com>
11769
11770         * libgcj.spec.in: Add CHECKREFSPEC.
11771         * configure.in: Ditto.
11772         * configure.host: Ditto.  Check references for xscale-elf.
11773         * configure: Rebuilt.
11774
11775 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
11776
11777         * include/dwarf2-signal.h: Temporarily back out last change.
11778
11779 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
11780
11781         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11782
11783 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11784
11785         * configure.in, configure: enable dwarf2-exception-style
11786         exception handling on IA-64.
11787         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11788         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11789         Add FIXME comment.
11790
11791 2002-03-25  Tom Tromey  <tromey@redhat.com>
11792
11793         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11794         (jv_convert_LDFLAGS): Likewise.
11795         (gij_LDFLAGS): Likewise.
11796         (rmic_LDFLAGS): Likewise.
11797         (rmiregistry_LDFLAGS): Likewise.
11798         * configure.in (THREADLDFLAGS): New subst; set correctly for
11799         *BSD.
11800
11801 2002-03-25  Tom Tromey  <tromey@redhat.com>
11802
11803         For PR libgcj/5303:
11804         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11805         and --version.
11806         (help): New method.
11807         (version): Likewise.
11808         * gnu/gcj/convert/Convert.java (version): Removed extraneous
11809         "GNU".
11810         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11811         "GNU".
11812
11813 2002-03-25  Tom Tromey  <tromey@redhat.com>
11814
11815         * java/awt/Component.java (processEvent): Check ComponentEvent
11816         after KeyEvent.
11817
11818 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11819
11820         * java/io/PushbackReader.java: Reformat.
11821
11822         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11823         calculate correct number of bytes skipped.
11824
11825         Based on patch from Intel's ORP team:
11826         * java/io/PushbackInputStream.java (available): Calculate correct
11827         number of bytes in buffer.
11828         (read): Remove redundant bound check. Return bytes from both the
11829         buffer and the stream.
11830
11831 2002-03-24  Tom Tromey  <tromey@redhat.com>
11832
11833         * java/awt/TextComponent.java (TextComponent): Editable by
11834         default.
11835
11836         * java/awt/MenuItem.java (eventMask): No longer private.
11837         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11838         superclass if we didn't handle event.
11839         * java/awt/Checkbox.java (dispatchEventImpl): New method.
11840         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11841         * java/awt/Choice.java (dispatchEventImpl): New method.
11842         * java/awt/List.java (dispatchEventImpl): New method.
11843         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11844         * java/awt/TextComponent.java (dispatchEventImpl): New method.
11845         * java/awt/TextField.java (dispatchEventImpl): New method.
11846
11847 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11848
11849         * java/beans/IntrospectionException.java: Update to 1.4.
11850         * java/beans/PropertyVetoException.java: Ditto.
11851
11852 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11853
11854         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11855         Arrays.equals instead of ArrayHelper.equalsArray.
11856
11857 2002-03-24  C. Brian Jones <cbj@gnu.org>
11858
11859         * java/beans/Introspector.java: added new static final fields
11860         introduced in 1.2, lots of other updates remain to be done
11861
11862 2002-03-24  C. Brian Jones <cbj@gnu.org>
11863
11864         * java/beans/Introspector.java: reformatting
11865
11866 2002-03-24  C. Brian Jones <cbj@gnu.org>
11867
11868         * java/beans/Introspector.java: default beanInfoSearchPath will
11869         not include sun.beans.infos given we provide no such package and
11870         the API doesn't really require it; gnu.java.beans.info is the
11871         default.
11872
11873 2002-03-24  Mark Wielaard  <mark@klomp.org>
11874
11875         Thanks to Orp developers
11876         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11877         switch TRUE and FALSE return values.
11878
11879 2002-03-23  Tom Tromey  <tromey@redhat.com>
11880
11881         * include/name-finder.h (_Jv_name_finder::myclose): New method.
11882         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11883
11884 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
11885
11886         * java/util/GregorianCalendar.java (minimums, maximums): Correct
11887         MONTH entry.  Fixes PR libgcj/6045.
11888
11889 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
11890
11891         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11892
11893 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11894
11895         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11896         not release_set.
11897         * sysdep/powerpc/locks.h (write_barrier): New function.
11898         * sysdep/i386/locks.h (write_barrier): New function.
11899
11900 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
11901
11902         * include/jni.h Use correct C comments.
11903
11904 2002-03-18  Tom Tromey  <tromey@redhat.com>
11905
11906         * include/jni.h (JNIIMPORT): New macro.
11907         (JNIEXPORT): Likewise.
11908         (JNICALL): Likewise.
11909
11910 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11911
11912         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11913         systems.
11914
11915 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
11916
11917         * include/i386-signal.h (old_i386_kernel_sigaction): New.
11918         INIT_SEGV: Use old_i386_kernel_sigaction.
11919         INIT_FP: Likewise.
11920
11921 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11922
11923         * java/lang/natSystem.cc (init_properties): Update VM version
11924         properties.
11925         * configure.in: Set GCJVERSION.
11926         * acconfig.h: Add GCJVERSION.
11927         * configure: Rebuilt.
11928         * include/config.h.in: Rebuilt.
11929
11930 2002-03-17  Anthony Green  <green@redhat.com>
11931
11932         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11933
11934 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11935
11936         Build a single libgcj.so, without separate gc and zlib libraries.
11937         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11938         SYS_ZLIBS if system zlib is used.
11939         * configure: Rebuilt.
11940         * Makefile.am: Use boehm-gc and zlib convenience libraries.
11941         * Makefile.in: Rebuilt.
11942         * libtool-version: Increment .so version number.
11943
11944         * Makefile.am: Escape quotes in echo.
11945         * Makefile.in: Rebuilt.
11946
11947 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11948
11949         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11950         * Makefile.in: Rebuilt.
11951
11952 2002-03-15  Anthony Green  <green@redhat.com>
11953
11954         * configure.host (FILE): New macro for specifing File
11955         implementation.
11956         * configure: Rebuilt.
11957         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
11958
11959 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
11960
11961         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11962         already implicitly brought in from libgcj.la.
11963         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11964         * Makefile.in: Rebuilt.
11965
11966 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
11967
11968         * THANKS: Fix punctuation, alphabetization.
11969
11970 2002-03-15  Tom Tromey  <tromey@redhat.com>
11971             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11972
11973         Fix for PR libgcj/5944.
11974         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11975
11976 2002-03-15  Anthony Green  <green@redhat.com>
11977
11978         * configure.in (tool_include_dir): Define.
11979         * configure: Rebuilt.
11980         * gcj/Makefile.am: Install libgcj-config.h relative to
11981         tool_include_dir.
11982         * gcj/Makefile: Rebuilt.
11983         * gcj/libgcj-config.h: Add warning comment.
11984
11985 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
11986
11987         * configure.host (powerpc*-darwin*): Enable interpreter.
11988
11989 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11990
11991         * include/posix.h: Add multiple include header protection.
11992         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11993
11994 2002-03-10  Adam Megacz <adam@xwt.org>
11995
11996         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11997
11998 2002-03-10  Tom Tromey  <tromey@redhat.com>
11999
12000         * java/awt/GridLayout.java (layoutContainer): Handle case where
12001         there are no items in container.
12002
12003         * java/lang/Win32Process.java: Added comment.
12004         * include/posix.h (_Jv_platform_close_on_exec): New function.
12005         Include fcntl.h.
12006         * include/win32.h (_Jv_platform_close_on_exec): New function.
12007         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12008         flag.
12009         (accept): Likewise.
12010         * java/net/natPlainDatagramSocketImpl.cc (create): Set
12011         close-on-exec flag.
12012         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12013         flag.
12014
12015 2002-03-09  Tom Tromey  <tromey@redhat.com>
12016
12017         * verify.cc (state::NO_STACK): New constant.
12018         (state::is_unmerged_ret_state): Handle case where stacktop is
12019         NO_STACK.
12020         (state::merge): Handle NO_STACK merges.
12021         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12022         for instruction following jsr.
12023         (stacktop, stackdepth): Removed unused variables.
12024         (pop_jump): Ignore case where all remaining states are skipped.
12025
12026 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12027
12028         * java/awt/ImageMediaEntry: Removed.
12029         * java/awt/MediaEntry: Removed.
12030
12031 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12032
12033         Hashtable synchronization for PowerPC.
12034         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12035         slow_pthread_self. Set up symlink for sysdeps directory.
12036         * configure: Rebuild.
12037         * configure.host: Document more shell variables. Set sysdeps_dir
12038         for most platforms. Set slow_pthread_self for i686. Set
12039         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12040         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12041         that memory barrier is emitted where required.
12042         * prims.cc: 64-bit align static primitive class instances.
12043         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
12044         read_barrier() to enforce ordering of reads.
12045         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
12046         primitives for PowerPC.
12047         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
12048         moved from natObject.cc.
12049         * sysdep/alpha/locks.h: Likewise.
12050         * sysdep/ia64/locks.h: Likewise.
12051         * sysdep/generic/locks.h: Likewise.
12052         * java/lang/natObject.cc: Move thread synchronization primitives to
12053         system-dependent headers.
12054
12055 2002-03-09  Adam Megacz  <adam@xwt.org>
12056
12057         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
12058         bytes read and no failure code returned.
12059
12060 2002-03-09  Adam Megacz  <adam@xwt.org>
12061
12062         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
12063         definitions to simulate -mthreads.
12064
12065 2002-03-09  Adam Megacz  <adam@xwt.org>
12066
12067         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
12068         avoid precision loss.
12069
12070 2002-03-09  Per Bothner  <per@bothner.com>
12071
12072         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
12073         * gnu/gcj/xlib/XImage.java:  Likewise.
12074         * gnu/gcj/xlib/XColor.java:  Likewise.
12075
12076 2002-03-09  Adam Megacz  <adam@xwt.org>
12077
12078         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
12079         IOException so that Throwable.printStackTrace fails correctly.
12080
12081 2002-03-08  Adam Megacz  <adam@xwt.org>
12082
12083         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
12084         fixed.
12085
12086 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12087
12088         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
12089         truncated to int.
12090
12091 2002-03-08  Tom Tromey  <tromey@redhat.com>
12092
12093         * include/jni.h: Include stdio.h.
12094
12095 2002-03-08  Tom Tromey  <tromey@redhat.com>
12096
12097         * posix.cc (internal_gettimeofday): New function.
12098         (_Jv_select): Use it.
12099
12100 2002-03-07  Adam Megacz  <adam@xwt.org>
12101
12102         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
12103         WIN32, and added thunks for read(), write(), and close().
12104         * java/net/natPlainSocketImpl.cc (accept, read, read):
12105         Disabled timeouts on WIN32 pending discussion.
12106
12107 2002-03-07  Adam Megacz  <adam@xwt.org>
12108
12109         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
12110         returns jlong. Added implementation
12111         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12112         returns jlong.
12113         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12114         returns jlong.
12115         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12116         returns jlong.
12117         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12118         _Jv_platform_gettimeofday signature.
12119
12120 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12121
12122         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12123         (read): Call recv() directly, not _Jv_recv().
12124
12125 2002-03-06  Tom Tromey  <tromey@redhat.com>
12126
12127         * java/io/natFileDescriptorEcos.cc (init): Don't use
12128         GetStdHandle.
12129         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
12130         is negative.
12131         (init): Don't use GetStdHandle.
12132
12133         * include/config.h.in: Rebuilt.
12134         * configure: Rebuilt.
12135         * Makefile.in: Rebuilt.
12136
12137 2002-03-06  Adam Megacz  <adam@xwt.org>
12138
12139         * java/io/FileDescriptor.java: Initialize in/out/err in init().
12140         * java/io/natFileDescriptorWin32.cc (init()): Added function.
12141         * java/io/natFileDescriptorPosix.cc (init()): Added function.
12142         * java/io/natFileDescriptorEcos.cc (init()): Added function.
12143
12144 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
12145
12146         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
12147         the code for generating include/java-chartables.h.
12148         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
12149         merge with Classpath.
12150         * scripts/unicode-muncher.pl: Copy from Classpath.
12151         * scritps/MakeCharTables.java: New file.
12152         * gnu/gcj/convert/Blocks-3.txt: New file.
12153         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
12154         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
12155         * gnu/java/lang/CharData.java: Copy from Classpath.
12156         * Makefile.am (ordinary_java_source_files): Add
12157         gnu/java/lang/CharData.java.
12158         * configure.in: Remove --enable-fast-character option.
12159         * java/lang/Character.java: Merge algorithms and Javadoc with
12160         Classpath.
12161         * java/lang/natCharacter.cc: Implement Unicode lookup table more
12162         efficiently.
12163         * include/java-chardecomp.h: Regenerate.
12164         * include/java-chartables.h: Regenerate.
12165
12166 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12167
12168         * java/awt/MediaTracker.java: Implemented.
12169         * Makefile.am: Add MediaTracker.
12170         * Makefile.in: Rebuilt.
12171
12172 2002-03-05  Tom Tromey  <tromey@redhat.com>
12173
12174         * java/lang/natPosixProcess.cc (fail): Removed.
12175         (startProcess): Simplified error-handling.  Preserve
12176         LD_LIBRARY_PATH across exec.
12177
12178         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
12179         AbstractMethodError.
12180
12181 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12182
12183         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
12184         * Makefile.in: Rebuilt.
12185
12186 2002-03-03 Mark Wielaard <mark@klomp.org>
12187
12188         * java/util/Timer (TaskQueue.stop): set elements to zero.
12189
12190 2002-02-28  Anthony Green  <green@redhat.com>
12191
12192         * java/lang/reflect/natMethod.cc (result): Add void* element.
12193         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
12194         constructor test.
12195
12196 2002-02-27  Adam Megacz <adam@xwt.org>
12197
12198         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
12199         '#undef STRICT'.
12200
12201 2002-02-26  Tom Tromey  <tromey@redhat.com>
12202
12203         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
12204         * gij.cc (version): Use __VERSION__.
12205         * include/config.h.in: Rebuilt.
12206         * acconfig.h (GCJVERSION): Removed.
12207         * configure: Rebuilt.
12208         * configure.in (GCJVERSION): Removed.
12209
12210 2002-02-26  Andreas Schwab  <schwab@suse.de>
12211
12212         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
12213         glibcpp_CXX, since libjava uses even another CXX.
12214         * aclocal.m4, configure: Regenerated.
12215
12216 2002-02-26  Tom Tromey  <tromey@redhat.com>
12217
12218         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
12219         `1'.
12220
12221 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12222
12223         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
12224         dependency tracking for .java files.
12225         * Makefile.in: Rebuilt.
12226
12227 2002-02-24  Adam Megacz  <adam@xwt.org>
12228
12229         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
12230         typo. Sorry.
12231
12232 2002-02-24  Adam Megacz  <adam@xwt.org>
12233
12234         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
12235         for Win32, changed #ifdefs to check WIN32 instead of the
12236         (now-obsolete) USE_WINSOCK, and removed support for socket
12237         timeouts on Win32 pending further discussion.
12238
12239 2002-02-24  Adam Megacz  <adam@xwt.org>
12240
12241         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
12242         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
12243         delete
12244
12245 2002-02-24  Adam Megacz  <adam@xwt.org>
12246
12247         * java/lang/Win32Process.java: Created a dummy class to allow
12248         build process to run to completion.
12249
12250 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
12251
12252         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
12253         Define ffi_result union for ffi_call result.  Cast
12254         ffi_result members to jvalue.
12255
12256 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
12257
12258         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
12259         * testsuite/Makefile.in: Likewise.
12260
12261 2002-02-20  Per Bothner  <per@bothner.com>
12262
12263         * java/net/URL.java (getPath):  New JDK 1.3 method.
12264
12265         * java/net/URLStreamHandler.java (parseURL):
12266         It is wrong to prepend '/' to the file part of a relative url.
12267
12268         * java/net/URLStreamHandler.java (parseURL):
12269         Minor optizations - append '/' rather than "/".
12270
12271         * java/net/URLStreamHandler.java (parseURL):
12272         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
12273         We probably should canonicalize for a context-relative url, though.
12274         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
12275         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
12276         (sameFile):  New method.  Uses canonicalizeFilename.
12277
12278 2002-02-22  Tom Tromey  <tromey@redhat.com>
12279
12280         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
12281         java.vendor and java.vm.vendor.
12282         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
12283         recent copyright date.
12284         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
12285         * gij.cc (version): Print `Inc'.
12286
12287 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
12288
12289         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
12290         * aclocal.m4, configure: Rebuilt.
12291
12292 2002-02-20  Per Bothner  <per@bothner.com>
12293
12294         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
12295         and/or output streams immediately here, instead of using File.exists.
12296         (inputStream, outputStream):  New fields to save open streams.
12297         (getInputStream, getOutputStream):  Use already-opened streams.
12298
12299 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
12300
12301         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
12302         Use it.
12303         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
12304         * aclocal.m4, configure, Makefile.in: Rebuilt.
12305
12306 2002-02-19  Tom Tromey  <tromey@redhat.com>
12307
12308         Fix for PR libgcj/5696:
12309         * verify.cc (is_assignable_from_slow): Never call
12310         _Jv_IsAssignableFrom.
12311         (verify_instructions_0): Added new debug statement.
12312         (state::print): Print information about whether local has
12313         changed.
12314         (state::merge): Don't call note_variable when merging locals.
12315         (state::set_exception): Removed old FIXME comment.
12316
12317 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12318
12319         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
12320         enable SO_BROADCAST.
12321
12322 2002-02-18  Jason Merrill  <jason@redhat.com>
12323
12324         * name-finder.cc (toHex): Use word mode, not long long.
12325
12326         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
12327
12328 2002-02-15  Tom Tromey  <tromey@redhat.com>
12329
12330         Fix for PR libgcj/5695:
12331         * verify.cc (is_assignable_from_slow): Check to see if target is
12332         an Object before checking to see if source is an interface.
12333         (verify_instructions_0) [op_invokeinterface]: Handle case where
12334         we're making an interface call on Object.
12335
12336 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12337
12338         * Makefile.in: Rebuilt with Eric's change below.
12339
12340         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
12341         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
12342         Removed functions which are now implemented in Math.java.
12343
12344 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12345
12346         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
12347         * Makefile.am (core_java_source_files): Add
12348         java/lang/StrictMath.java.
12349         * java/lang/Math.java: Merge with Classpath.
12350         * java/lang/StrictMath.java: New file - merge with Classpath.
12351
12352 2002-02-14  Mark Wielaard  <mark@klomp.org>
12353
12354         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
12355         package as a workaround for gcj 3.0.x
12356
12357 2002-02-14  Mark Wielaard <mark@klomp.org>
12358
12359         * java/security/BasicPermission.java: extends with fully qualified
12360         classname as workaround for gcj 3.0.4.
12361
12362 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12363
12364         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
12365         around gcj bug of wrong emitted qualifier for inherited method.
12366         * java/net/SocketImpl.java (setOption, getOption): Ditto.
12367         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
12368         constructor to reduce amount of emitted bytecode. While this
12369         happens to work around a jikes 1.15 bug, it is still a useful
12370         patch even for correct compilers.
12371         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
12372         * gnu/java/rmi/server/UnicastRemoteCall.java
12373         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
12374
12375 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
12376
12377         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
12378         * java/net/SocketImpl.java: Ditto.
12379         * java/rmi/server/RMIClassLoader.java: Ditto.
12380         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
12381
12382 2002-02-14  Mark Wielaard <mark@klomp.org>
12383
12384         Thanks to Takashi Okamoto
12385         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
12386         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
12387         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
12388
12389 2002-02-13  Todd Stock  <toddastock@yahoo.com>
12390
12391         Fix for PR libgcj/5670:
12392         * verify.cc (is_assignable_from_slow): If `source' is interface,
12393         recursively look for merge with `target'.
12394
12395 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
12396
12397         * include/jni.h: Fix typo.
12398
12399 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
12400
12401         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
12402         correctly.
12403
12404 2002-02-13  Todd Stock  <toddastock@yahoo.com>
12405
12406         Fix for PR libgcj/5671:
12407         * verify.cc (state::merge): Handle case where we're merging
12408         against an interface.
12409
12410 2002-02-12  Tom Tromey  <tromey@redhat.com>
12411
12412         * exception.cc (std::abort): Mark as noreturn.
12413
12414 2002-02-12  Adam Megacz <adam@xwt.org>
12415
12416         * java/lang/Win32Process.java: Filled in a placeholder
12417         implementation so Win32 will build.
12418
12419 2002-02-12  Adam Megacz <adam@xwt.org>
12420
12421         * java/io/natFilePosix.cc: Copied this from natFile.cc.
12422         * java/io/natFile.cc: Removed from repository.
12423         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
12424
12425 2002-02-12  Adam Megacz <adam@xwt.org>
12426
12427         * win32.cc: Added two #includes to make win32.cc compile.
12428
12429 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12430
12431         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
12432         declarations.
12433         (_Jv_InitGC): Don't bother locking, as this is always called from a
12434         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
12435
12436 2002-02-11  Adam Megacz <adam@xwt.org>
12437
12438         * include/win32.h: Added _Jv_platform_gettimeofday.
12439         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
12440
12441 2002-02-11  Adam Megacz <adam@xwt.org>
12442
12443         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
12444         Added #undef STRICT to make windows.h and
12445         java/lang/reflect/Modifier.h cooperate.
12446
12447 2002-02-11  Adam Megacz <adam@xwt.org>
12448
12449         * java/io/natFileWin32.cc: Created a placeholder class with lots
12450         of FIXMEs.
12451
12452 2002-02-11  Adam Megacz <adam@xwt.org>
12453
12454         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
12455         std::abort() to simply abort(). Also added "fake" std::abort() so
12456         we can #include unwind-pe.h without having to link against
12457         libstdc++-v3.
12458
12459 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
12460
12461         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
12462
12463 2002-02-08  Tom Tromey  <tromey@redhat.com>
12464
12465         * interpret.cc (convert): New function.
12466         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
12467         convert.
12468         Include Long.h.
12469
12470 2002-02-08  Anthony Green  <green@redhat.com>
12471
12472         * configure.host: Add support for xscale-elf embedded target.
12473
12474 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
12475
12476         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
12477         dereferenced.
12478         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
12479         frame.
12480
12481 2002-02-07  Tom Tromey  <tromey@redhat.com>
12482
12483         * java/io/natFile.cc (_access): Use __builtin_alloca.
12484         (_stat): Likewise.
12485         (attr): Likewise.
12486         (getCanonicalPath): Likewise.
12487         (performList): Likewise.
12488         (performMkdir): Likewise.
12489         (performSetReadOnly): Likewise.
12490         (performRenameTo): Likewise.
12491         (performSetLastModified): Likewise.
12492         (performCreate): Likewise.
12493         (performDelete): Likewise.
12494
12495 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12496
12497         * HACKING: Fix URL for the automake-gcj.
12498
12499 2002-02-07  Tom Tromey  <tromey@redhat.com>
12500
12501         * java/lang/natThrowable.cc: Updated copyright.
12502         * java/io/natFileWin32.cc: Updated copyright.
12503         * java/io/natFileDescriptorWin32.cc: Updated copyright.
12504         * win32-threads.cc: Updated copyright.
12505         * name-finder.cc: Updated copyright.
12506         * include/name-finder.h: Updated copyright.
12507
12508         * include/name-finder.h: Conditionally include sys/wait.h.
12509         * include/config.h.in: Rebuilt.
12510
12511         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
12512         Size buffer based on real size of string.
12513         (_stat): Likewise.
12514         (attr): Likewise.
12515         (getCanonicalPath): Likewise.
12516         (performList): Likewise.
12517         (performMkdir): Likewise.
12518         (performSetReadOnly): Likewise.
12519         (unixroot): Removed.
12520         (performRenameTo): Likewise.
12521         (performSetLastModified): Likewise.
12522         (performCreate): Likewise.
12523         (performDelete): Likewise.
12524         (performListRoots): Always return new array.
12525
12526         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
12527         * win32.cc (win32_exception_handler): Now static.
12528         * include/win32.h (_Jv_platform_initialize): Declare.
12529         (win32_exception_handler): Don't declare.
12530         * java/lang/natSystem.cc (currentTimeMillis): Use
12531         _Jv_platform_gettimeofday.
12532         * posix.cc (_Jv_platform_gettimeofday): Renamed.
12533         (_Jv_select): Use new name.
12534         (_Jv_platform_initialize): New function.
12535         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
12536         _Jv_gettimeofday.
12537         (_Jv_platform_initialize): Declare.
12538
12539         * configure: Rebuilt.
12540         * configure.in: Removed unnecessary parens.
12541
12542 2002-02-06  Adam Megacz <adam@xwt.org>
12543
12544        * configure.in: Changed mingw) to *mingw*).
12545        * win32.cc: Created this file.
12546        * win32.h: Created this file.
12547        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
12548        win32_exception_handler from prims.cc to win32.cc, added
12549        header in win32.h.
12550        * prims.cc: removed some #ifdef-WIN32'd headers which are no
12551        longer needed now that we have platform.h
12552
12553 2002-02-06  Adam Megacz <adam@xwt.org>
12554
12555         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
12556         use uint<n>_t instead of LONG and BYTE
12557
12558 2002-02-06  Adam Megacz <adam@xwt.org>
12559
12560         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
12561
12562 2002-02-06  Anthony Green  <green@redhat.com>
12563
12564         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
12565         Implement missing method stubs.
12566         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
12567         targets.
12568         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
12569         concept of timezones.
12570         (init_properties): Don't refer to _Jv_Environment_Properties
12571         when this feature is not available.
12572         * include/config.h.in: Rebuilt.
12573         * acconfig.h: Add DISABLE_MAIN_ARGS.
12574         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
12575         * configure: Rebuilt.
12576         * configure.in: Add --disable-main-args option.  Test for
12577           opendir function.  Replace AC_CHECK_SIZEOF with
12578           AC_COMPILE_CHECK_SIZEOF.
12579         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
12580         * aclocal.m4: Rebuilt.
12581         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
12582
12583 2002-02-06  Tom Tromey  <tromey@redhat.com>
12584
12585         * verify.cc (require_array_type): If argument is a null array of
12586         references, return null as the element type.
12587
12588 2002-02-06  Mark Wielaard  <mark@klomp.org>
12589
12590         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
12591         duplicate of a wide type.
12592
12593 2002-02-06  Tom Tromey  <tromey@redhat.com>
12594
12595         * verify.cc (type::isnull): New method.
12596         (require_array_type): Handle case where array is null.
12597         (verify_instructions_0) [op_arraylength]: Likewise.
12598
12599 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12600
12601         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
12602         Symlink PLATFORMH to platform.h.
12603         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
12604         PLATFORMOBJS.
12605         * java/lang/natSystem.cc: #include platform.h not posix.h.
12606         * Makefile.in: Rebuilt with libgcj automake.
12607         * configure: Rebuilt.
12608
12609 2002-02-05  Richard Henderson  <rth@redhat.com>
12610
12611         * Makefile.in: Undo munging last change.
12612
12613 2002-02-04  Adam Megacz <adam@xwt.org>
12614
12615         * win32.cc: Created it.
12616         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
12617         which is set to posix.cc or win32.cc.
12618         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
12619
12620 2002-02-04  Adam Megacz <adam@xwt.org>
12621
12622         * configure.in: Corrected mingw case branches; added * before
12623         and after.
12624
12625 2002-02-04  Adam Megacz <adam@xwt.org>
12626
12627         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
12628         if compiling for win32
12629
12630 2002-02-04  Adam Megacz <adam@xwt.org>
12631
12632         * win32-threads.cc: #undef STRICT after gc.h inclusion
12633
12634 2002-02-02  Tom Tromey  <tromey@redhat.com>
12635
12636         * Makefile.in: Rebuilt.
12637
12638 2002-02-02  Jason Merrill  <jason@redhat.com>
12639
12640         * Makefile.am (clean-nat): New target.
12641
12642 2002-02-02  Tom Tromey  <tromey@redhat.com>
12643
12644         * java/io/natFile.cc: Removed old "FIXME" comments.
12645
12646 2002-02-01  Tom Tromey  <tromey@redhat.com>
12647
12648         * java/lang/natPosixProcess.cc (myclose): New function.
12649         (fail): Use it.
12650         (startProcess): Likewise.
12651
12652 2002-02-01  Adam Megacz <adam@xwt.org>
12653
12654         * prims.cc: Added #undef STRICT after #include<windows.h>.
12655
12656 2002-02-01  Adam Megacz <adam@xwt.org>
12657
12658         * prims.cc
12659         (_Jv_CreateJavaVM): We now use WIN32 instead of
12660         USE_WIN32_SIGNALLING and USE_WINSOCK.
12661         (win32_exception_handler): Now throws an exception out of
12662         the signal handler; assumes SJLJ.
12663
12664 2002-02-01  Adam Megacz <adam@xwt.org>
12665
12666         * win32-threads.cc:
12667         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
12668         wait() algorithm to make it safe.
12669         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
12670         Added lazy creation of Win32 Events for better performance
12671         (really_start): This now uses GC_CreateThread so boehm-gc
12672         knows about new threads even when statically linked.
12673
12674 2002-02-01  Adam Megacz <adam@xwt.org>
12675
12676         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
12677         enable safer wait() algorithm.
12678         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
12679         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
12680         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
12681         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
12682         instead of mutex.
12683         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
12684
12685 2002-02-01  Adam Megacz <adam@xwt.org>
12686
12687         * configure.in: Added support for mingw.
12688         * java/lang/Win32Process.java: Created as empty file.
12689         * java/lang/natWin32Process.cc: Created as empty file.
12690
12691 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
12692
12693         PR java/4972
12694         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
12695         for libiconv in LIBICONV variable.
12696         * configure: Regenerated.
12697
12698 2002-01-31  Tom Tromey  <tromey@redhat.com>
12699
12700         * verify.cc (state::enter_subroutine): New method.
12701         (handle_jsr_insn): Use it.
12702         (state::merge): When processing a `ret', correctly use
12703         subroutine's state to determine which local variables have
12704         changed.
12705         (push_exception_jump): Don't let stack overflow.
12706
12707 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
12708
12709         * gnu/gcj/convert/Convert.java: Only include one copyright year in
12710         --version output.
12711
12712 2002-01-30  Tom Tromey  <tromey@redhat.com>
12713
12714         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
12715         parameter for `recv' return type.
12716
12717         * verify.cc (handle_ret_insn): Check for subroutine merge here...
12718         (state::merge): ... not here.
12719         (subr_entry_info): New structure.
12720         (entry_points): New field.
12721         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
12722         entry_points.
12723
12724 2002-01-29  Tom Tromey  <tromey@redhat.com>
12725
12726         * java/awt/List.java (addNotify): Correctly check to see if peer
12727         does not exist.
12728
12729         * java/awt/GridLayout.java (layoutContainer): Use number of rows
12730         to compute height of each cell, and number of columns to compute
12731         width of each cell.
12732         * java/awt/Window.java (getOwnedWindows): Don't return null.
12733         * java/awt/FlowLayout.java (layoutContainer): Set width and height
12734         of component.  Increment x using horizontal gap, not vertical
12735         gap.
12736
12737 2002-01-28  Tom Tromey  <tromey@redhat.com>
12738
12739         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12740         `nargs' byte is number of words, not number of arguments.
12741
12742 2002-01-27  Tom Tromey  <tromey@redhat.com>
12743
12744         * java/awt/event/MouseEvent.java (modifiers): Removed field.
12745         (when): Likewise.
12746         * java/awt/event/InputEvent.java (modifiers, when): Now
12747         package-private.
12748
12749         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12750         and to-do list.
12751         (state::merge): Use current class' class loader.
12752         (state::print): Print subroutine.
12753         (state::merge): Don't look at subroutine of unmerged `ret'.
12754
12755 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12756
12757         * nogc.cc: Remove warnings.
12758         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12759         New functions.
12760
12761 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12762
12763         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12764         int, int):  Remove empty "if" statement to work around compiler bug.
12765         (newPixels(int[], ColorModel, int, int): Likewise.
12766
12767 2002-01-25  Per Bothner  <per@bothner.com>
12768
12769         * verify.cc (verify_fail):  Change from being a top-level function
12770         to e method of _Jv_BytecodeVerifier.  Emit current method name.
12771         Pass the current verifier to type: and state: methods as needed,
12772         for better error messages, and for resolve.
12773         (resolve):  Pass current class's loader for Class.forName and
12774         _Jv_FindClassFromSignature, rather than using the default loader.
12775         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
12776         (get_type_val_for_signature):  Make non-static.
12777         (various methods):  Pass start_PC implicitly, not explicitly.
12778
12779 2002-01-25  Tom Tromey  <tromey@redhat.com>
12780
12781         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12782         loop termination condition.
12783         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12784         width.
12785
12786 2002-01-24  Tom Tromey  <tromey@redhat.com>
12787
12788         * java/awt/Shape.java: Merged with Classpath.
12789         * java/awt/Scrollbar.java: Merged with Classpath.
12790
12791         * java/awt/Container.java (addNotify): Unconditionally call
12792         addNotifyContainerChildren and superclass addNotify.
12793
12794         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12795         getAlpha, not getBlue.
12796
12797 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12798
12799         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12800
12801         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12802         (grabPixels(long)): Wait to be notified that the ImageProducer has
12803         completed.
12804
12805 2002-01-24  Per Bothner  <per@bothner.com>
12806
12807         * verify.cc (is_assignable_from_slow): If target is an interface,
12808         we must still check the source's superclass before giving up.
12809
12810 2002-01-24  Tom Tromey  <tromey@redhat.com>
12811
12812         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12813
12814 2002-01-23  Tom Tromey  <tromey@redhat.com>
12815
12816         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12817         `else'.
12818
12819         * Makefile.in: Rebuilt.
12820         * Makefile.am (awt_java_source_files): Added new files.
12821         * java/awt/Toolkit.java: Merged with Classpath.
12822         * java/awt/PrintGraphics.java: New file from Classpath.
12823         * java/awt/PrintJob.java: New file from Classpath.
12824         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12825         * java/awt/datatransfer/ClipboardOwner.java: New file from
12826         Classpath.
12827         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12828         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12829         * java/awt/datatransfer/MimeTypeParseException.java: New file from
12830         Classpath.
12831         * java/awt/datatransfer/StringSelection.java: New file from
12832         Classpath.
12833         * java/awt/datatransfer/SystemFlavorMap.java: New file from
12834         Classpath.
12835         * java/awt/datatransfer/Transferable.java: New file from
12836         Classpath.
12837         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12838         from Classpath.
12839
12840         * Makefile.in: Rebuilt.
12841         * Makefile.am (awt_java_source_files): Added new files.
12842         * java/awt/image/AreaAveragingScaleFilter.java: New file from
12843         Classpath.
12844         * java/awt/image/CropImageFilter.java: New file from Classpath.
12845         * java/awt/image/FilteredImageSource.java: New file from
12846         Classpath.
12847         * java/awt/image/ImageFilter.java: New file from Classpath.
12848         * java/awt/image/MemoryImageSource.java: New file from Classpath.
12849         * java/awt/image/PixelGrabber.java: New file from Classpath.
12850         * java/awt/image/RGBImageFilter.java: New file from Classpath.
12851         * java/awt/image/ReplicateScaleFilter.java: New file from
12852         Classpath.
12853         * java/awt/image/ImageProducer.java: Replaced with Classpath
12854         version.
12855         * java/awt/image/ImageObserver.java: Replaced with Classpath
12856         version.
12857         * java/awt/image/ImageConsumer.java: Replaced with Classpath
12858         version.
12859         * java/awt/GridBagConstraints.java (clone): Catch
12860         CloneNotSupportedException.
12861
12862 2002-01-23  Per Bothner  <per@bothner.com>
12863
12864         * java/lang/reflect/natField.cc (setAddr):  New function.
12865         Calls getAddr and then checks that the field isn't final.
12866         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12867         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
12868         (set):  Call setAddr before check that new value has right type,
12869         to better match specified semantics.
12870
12871 2002-01-22  Tom Tromey  <tromey@redhat.com>
12872
12873         * java/awt/TextField.java: Replaced with Classpath version.
12874         * java/awt/TextArea.java: Replaced with Classpath version.
12875         * java/awt/TextComponent.java: Replaced with Classpath version.
12876
12877         * java/awt/GridBagConstraints.java: Updated copyright.
12878
12879 2002-01-22  Mark Wielaard <mark@klomp.org>
12880
12881         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12882         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12883         java/awt/Dialog.java java/awt/FileDialog.java
12884         java/awt/Font.java java/awt/FontMetrics.java
12885         java/awt/Image.java java/awt/ImageMediaEntry.java
12886         java/awt/Insets.java java/awt/List.java
12887         java/awt/MediaEntry.java java/awt/MediaTracker.java
12888         java/awt/Menu.java java/awt/MenuBar.java
12889         java/awt/MenuContainer.java java/awt/MenuShortcut.java
12890         java/awt/PaintContext.java java/awt/Panel.java
12891         java/awt/PopupMenu.java java/awt/SystemColor.java
12892         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12893         java/awt/peer/CheckboxMenuItemPeer.java
12894         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12895         java/awt/peer/ComponentPeer.java
12896         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12897         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12898         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12899         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12900         java/awt/peer/MenuBarPeer.java
12901         java/awt/peer/MenuComponentPeer.java
12902         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12903         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12904         java/awt/peer/ScrollPanePeer.java
12905         java/awt/peer/ScrollbarPeer.java
12906         java/awt/peer/TextAreaPeer.java
12907         java/awt/peer/TextComponentPeer.java
12908         java/awt/peer/TextFieldPeer.java
12909         java/awt/peer/WindowPeer.java: Add license clarification.
12910
12911 2002-01-22  Mark Wielaard <mark@klomp.org>
12912
12913         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12914         gnu/gcj/runtime/StringBuffer.java
12915         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12916         gnu/java/awt/ComponentDataBlitOp.java
12917         gnu/java/awt/GLightweightPeer.java
12918         gnu/java/beans/BeanInfoEmbryo.java
12919         gnu/java/beans/EmptyBeanInfo.java
12920         gnu/java/beans/ExplicitBeanInfo.java
12921         gnu/java/beans/IntrospectionIncubator.java
12922         gnu/java/beans/editors/ColorEditor.java
12923         gnu/java/beans/editors/FontEditor.java
12924         gnu/java/beans/editors/NativeBooleanEditor.java
12925         gnu/java/beans/editors/NativeByteEditor.java
12926         gnu/java/beans/editors/NativeDoubleEditor.java
12927         gnu/java/beans/editors/NativeFloatEditor.java
12928         gnu/java/beans/editors/NativeIntEditor.java
12929         gnu/java/beans/editors/NativeLongEditor.java
12930         gnu/java/beans/editors/NativeShortEditor.java
12931         gnu/java/beans/editors/StringEditor.java
12932         gnu/java/beans/info/ComponentBeanInfo.java
12933         gnu/java/io/ClassLoaderObjectInputStream.java
12934         gnu/java/io/NullOutputStream.java
12935         gnu/java/io/ObjectIdentityWrapper.java
12936         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12937         gnu/java/lang/reflect/TypeSignature.java
12938         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12939         gnu/java/locale/Calendar_en.java
12940         gnu/java/locale/Calendar_nl.java
12941         gnu/java/locale/LocaleInformation.java
12942         gnu/java/locale/LocaleInformation_de.java
12943         gnu/java/locale/LocaleInformation_en.java
12944         gnu/java/locale/LocaleInformation_nl.java
12945         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12946         gnu/java/rmi/registry/RegistryImpl.java
12947         gnu/java/rmi/rmic/Compile_gcj.java
12948         gnu/java/rmi/rmic/Compiler.java
12949         gnu/java/rmi/rmic/CompilerProcess.java
12950         gnu/java/rmi/rmic/RMIC.java
12951         gnu/java/rmi/rmic/TabbedWriter.java
12952         gnu/java/rmi/server/ProtocolConstants.java
12953         gnu/java/rmi/server/RMIDefaultSocketFactory.java
12954         gnu/java/rmi/server/RMIHashes.java
12955         gnu/java/rmi/server/RMIObjectInputStream.java
12956         gnu/java/rmi/server/RMIObjectOutputStream.java
12957         gnu/java/rmi/server/UnicastConnection.java
12958         gnu/java/rmi/server/UnicastConnectionManager.java
12959         gnu/java/rmi/server/UnicastRef.java
12960         gnu/java/rmi/server/UnicastRemoteCall.java
12961         gnu/java/rmi/server/UnicastRemoteStub.java
12962         gnu/java/rmi/server/UnicastServer.java
12963         gnu/java/rmi/server/UnicastServerRef.java
12964         gnu/java/security/provider/DefaultPolicy.java
12965         gnu/java/security/provider/Gnu.java
12966         gnu/java/security/provider/SHA.java
12967         gnu/java/security/provider/SHA1PRNG.java
12968         gnu/java/text/BaseBreakIterator.java
12969         gnu/java/text/CharacterBreakIterator.java
12970         gnu/java/text/LineBreakIterator.java
12971         gnu/java/text/SentenceBreakIterator.java
12972         gnu/java/text/WordBreakIterator.java
12973         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12974         java/applet/AppletContext.java java/applet/AppletStub.java
12975         java/applet/AudioClip.java java/awt/AWTError.java
12976         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12977         java/awt/AWTException.java java/awt/AWTPermission.java
12978         java/awt/ActiveEvent.java java/awt/BorderLayout.java
12979         java/awt/Button.java java/awt/Canvas.java
12980         java/awt/CardLayout.java java/awt/Checkbox.java
12981         java/awt/CheckboxGroup.java java/awt/Component.java
12982         java/awt/ComponentOrientation.java java/awt/Container.java
12983         java/awt/Dimension.java java/awt/Event.java
12984         java/awt/EventDispatchThread.java java/awt/EventQueue.java
12985         java/awt/FlowLayout.java java/awt/Frame.java
12986         java/awt/Graphics.java java/awt/Graphics2D.java
12987         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12988         java/awt/IllegalComponentStateException.java
12989         java/awt/ItemSelectable.java java/awt/Label.java
12990         java/awt/LayoutManager.java java/awt/LayoutManager2.java
12991         java/awt/MenuComponent.java java/awt/MenuItem.java
12992         java/awt/Paint.java java/awt/Point.java
12993         java/awt/Rectangle.java java/awt/RenderingHints.java
12994         java/awt/Transparency.java java/awt/Window.java
12995         java/awt/color/ColorSpace.java
12996         java/awt/color/ICC_ColorSpace.java
12997         java/awt/color/ICC_Profile.java
12998         java/awt/event/HierarchyBoundsAdapter.java
12999         java/awt/event/HierarchyBoundsListener.java
13000         java/awt/event/HierarchyEvent.java
13001         java/awt/event/HierarchyListener.java
13002         java/awt/geom/AffineTransform.java
13003         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13004         java/awt/geom/IllegalPathStateException.java
13005         java/awt/geom/Line2D.java
13006         java/awt/geom/NoninvertibleTransformException.java
13007         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13008         java/awt/geom/Rectangle2D.java
13009         java/awt/geom/RectangularShape.java
13010         java/awt/geom/RoundRectangle2D.java
13011         java/awt/image/BufferedImage.java
13012         java/awt/image/ColorModel.java
13013         java/awt/image/ComponentColorModel.java
13014         java/awt/image/ComponentSampleModel.java
13015         java/awt/image/DataBuffer.java
13016         java/awt/image/DataBufferByte.java
13017         java/awt/image/DataBufferInt.java
13018         java/awt/image/DataBufferUShort.java
13019         java/awt/image/DirectColorModel.java
13020         java/awt/image/PackedColorModel.java
13021         java/awt/image/Raster.java java/awt/image/RasterOp.java
13022         java/awt/image/SampleModel.java
13023         java/awt/image/SinglePixelPackedSampleModel.java
13024         java/awt/image/WritableRaster.java
13025         java/beans/AppletInitializer.java
13026         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13027         java/beans/Beans.java java/beans/Customizer.java
13028         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13029         java/beans/FeatureDescriptor.java
13030         java/beans/IndexedPropertyDescriptor.java
13031         java/beans/IntrospectionException.java
13032         java/beans/Introspector.java java/beans/MethodDescriptor.java
13033         java/beans/ParameterDescriptor.java
13034         java/beans/PropertyChangeEvent.java
13035         java/beans/PropertyChangeListener.java
13036         java/beans/PropertyChangeSupport.java
13037         java/beans/PropertyDescriptor.java
13038         java/beans/PropertyEditor.java
13039         java/beans/PropertyEditorManager.java
13040         java/beans/PropertyEditorSupport.java
13041         java/beans/PropertyVetoException.java
13042         java/beans/SimpleBeanInfo.java
13043         java/beans/VetoableChangeListener.java
13044         java/beans/VetoableChangeSupport.java
13045         java/beans/Visibility.java
13046         java/beans/beancontext/BeanContext.java
13047         java/beans/beancontext/BeanContextChild.java
13048         java/beans/beancontext/BeanContextChildComponentProxy.java
13049         java/beans/beancontext/BeanContextChildSupport.java
13050         java/beans/beancontext/BeanContextContainerProxy.java
13051         java/beans/beancontext/BeanContextEvent.java
13052         java/beans/beancontext/BeanContextMembershipEvent.java
13053         java/beans/beancontext/BeanContextMembershipListener.java
13054         java/beans/beancontext/BeanContextProxy.java
13055         java/beans/beancontext/BeanContextServiceAvailableEvent.java
13056         java/beans/beancontext/BeanContextServiceProvider.java
13057         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
13058         java/beans/beancontext/BeanContextServiceRevokedEvent.java
13059         java/beans/beancontext/BeanContextServiceRevokedListener.java
13060         java/beans/beancontext/BeanContextServices.java
13061         java/beans/beancontext/BeanContextServicesListener.java
13062         java/io/BufferedInputStream.java
13063         java/io/BufferedOutputStream.java java/io/BufferedReader.java
13064         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
13065         java/io/ByteArrayOutputStream.java
13066         java/io/CharArrayReader.java java/io/CharArrayWriter.java
13067         java/io/CharConversionException.java java/io/DataInput.java
13068         java/io/DataInputStream.java java/io/DataOutput.java
13069         java/io/EOFException.java java/io/Externalizable.java
13070         java/io/FileFilter.java java/io/FileNotFoundException.java
13071         java/io/FilePermission.java java/io/FileReader.java
13072         java/io/FileWriter.java java/io/FilenameFilter.java
13073         java/io/FilterInputStream.java java/io/FilterOutputStream.java
13074         java/io/FilterReader.java java/io/FilterWriter.java
13075         java/io/IOException.java java/io/InputStream.java
13076         java/io/InterruptedIOException.java
13077         java/io/InvalidClassException.java
13078         java/io/InvalidObjectException.java
13079         java/io/NotActiveException.java
13080         java/io/NotSerializableException.java java/io/ObjectInput.java
13081         java/io/ObjectInputStream.java
13082         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
13083         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
13084         java/io/ObjectStreamConstants.java
13085         java/io/ObjectStreamException.java
13086         java/io/ObjectStreamField.java
13087         java/io/OptionalDataException.java java/io/OutputStream.java
13088         java/io/PipedInputStream.java java/io/PipedOutputStream.java
13089         java/io/PipedReader.java java/io/PipedWriter.java
13090         java/io/PrintWriter.java java/io/PushbackInputStream.java
13091         java/io/PushbackReader.java java/io/Reader.java
13092         java/io/SequenceInputStream.java java/io/Serializable.java
13093         java/io/SerializablePermission.java
13094         java/io/StreamCorruptedException.java
13095         java/io/StreamTokenizer.java
13096         java/io/StringBufferInputStream.java java/io/StringReader.java
13097         java/io/StringWriter.java java/io/SyncFailedException.java
13098         java/io/UTFDataFormatException.java
13099         java/io/UnsupportedEncodingException.java
13100         java/io/WriteAbortedException.java java/io/Writer.java
13101         java/lang/AbstractMethodError.java
13102         java/lang/ArithmeticException.java
13103         java/lang/ArrayIndexOutOfBoundsException.java
13104         java/lang/ArrayStoreException.java java/lang/Boolean.java
13105         java/lang/Byte.java java/lang/CharSequence.java
13106         java/lang/ClassCastException.java
13107         java/lang/ClassCircularityError.java
13108         java/lang/ClassFormatError.java
13109         java/lang/ClassNotFoundException.java
13110         java/lang/CloneNotSupportedException.java
13111         java/lang/Cloneable.java java/lang/Comparable.java
13112         java/lang/Compiler.java java/lang/Double.java
13113         java/lang/Error.java java/lang/Exception.java
13114         java/lang/ExceptionInInitializerError.java
13115         java/lang/Float.java java/lang/IllegalAccessError.java
13116         java/lang/IllegalAccessException.java
13117         java/lang/IllegalArgumentException.java
13118         java/lang/IllegalMonitorStateException.java
13119         java/lang/IllegalStateException.java
13120         java/lang/IllegalThreadStateException.java
13121         java/lang/IncompatibleClassChangeError.java
13122         java/lang/IndexOutOfBoundsException.java
13123         java/lang/InheritableThreadLocal.java
13124         java/lang/InstantiationError.java
13125         java/lang/InstantiationException.java java/lang/Integer.java
13126         java/lang/InternalError.java
13127         java/lang/InterruptedException.java
13128         java/lang/LinkageError.java java/lang/Long.java
13129         java/lang/NegativeArraySizeException.java
13130         java/lang/NoClassDefFoundError.java
13131         java/lang/NoSuchFieldError.java
13132         java/lang/NoSuchFieldException.java
13133         java/lang/NoSuchMethodError.java
13134         java/lang/NoSuchMethodException.java
13135         java/lang/NullPointerException.java java/lang/Number.java
13136         java/lang/NumberFormatException.java
13137         java/lang/OutOfMemoryError.java java/lang/Package.java
13138         java/lang/Process.java java/lang/Runnable.java
13139         java/lang/RuntimeException.java
13140         java/lang/RuntimePermission.java
13141         java/lang/SecurityException.java
13142         java/lang/SecurityManager.java java/lang/Short.java
13143         java/lang/StackOverflowError.java java/lang/StringBuffer.java
13144         java/lang/StringIndexOutOfBoundsException.java
13145         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
13146         java/lang/ThreadLocal.java java/lang/UnknownError.java
13147         java/lang/UnsatisfiedLinkError.java
13148         java/lang/UnsupportedClassVersionError.java
13149         java/lang/UnsupportedOperationException.java
13150         java/lang/VerifyError.java java/lang/VirtualMachineError.java
13151         java/lang/Void.java java/lang/ref/PhantomReference.java
13152         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
13153         java/lang/ref/SoftReference.java
13154         java/lang/ref/WeakReference.java
13155         java/lang/reflect/AccessibleObject.java
13156         java/lang/reflect/InvocationTargetException.java
13157         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
13158         java/lang/reflect/ReflectPermission.java
13159         java/math/BigDecimal.java java/math/BigInteger.java
13160         java/net/Authenticator.java java/net/BindException.java
13161         java/net/ConnectException.java java/net/ContentHandler.java
13162         java/net/ContentHandlerFactory.java
13163         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
13164         java/net/FileNameMap.java java/net/MalformedURLException.java
13165         java/net/MulticastSocket.java java/net/NetPermission.java
13166         java/net/NoRouteToHostException.java
13167         java/net/PasswordAuthentication.java
13168         java/net/ProtocolException.java java/net/ServerSocket.java
13169         java/net/Socket.java java/net/SocketException.java
13170         java/net/SocketImpl.java java/net/SocketImplFactory.java
13171         java/net/SocketOptions.java java/net/SocketPermission.java
13172         java/net/URLDecoder.java java/net/URLEncoder.java
13173         java/net/URLStreamHandlerFactory.java
13174         java/net/UnknownHostException.java
13175         java/net/UnknownServiceException.java
13176         java/rmi/AccessException.java
13177         java/rmi/AlreadyBoundException.java
13178         java/rmi/ConnectException.java
13179         java/rmi/ConnectIOException.java
13180         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
13181         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
13182         java/rmi/NotBoundException.java
13183         java/rmi/RMISecurityException.java
13184         java/rmi/RMISecurityManager.java java/rmi/Remote.java
13185         java/rmi/RemoteException.java java/rmi/ServerError.java
13186         java/rmi/ServerException.java
13187         java/rmi/ServerRuntimeException.java
13188         java/rmi/StubNotFoundException.java
13189         java/rmi/UnexpectedException.java
13190         java/rmi/UnknownHostException.java
13191         java/rmi/UnmarshalException.java
13192         java/rmi/activation/Activatable.java
13193         java/rmi/activation/ActivateFailedException.java
13194         java/rmi/activation/ActivationDesc.java
13195         java/rmi/activation/ActivationException.java
13196         java/rmi/activation/ActivationGroup.java
13197         java/rmi/activation/ActivationGroupDesc.java
13198         java/rmi/activation/ActivationGroupID.java
13199         java/rmi/activation/ActivationID.java
13200         java/rmi/activation/ActivationInstantiator.java
13201         java/rmi/activation/ActivationMonitor.java
13202         java/rmi/activation/ActivationSystem.java
13203         java/rmi/activation/Activator.java
13204         java/rmi/activation/UnknownGroupException.java
13205         java/rmi/activation/UnknownObjectException.java
13206         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
13207         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
13208         java/rmi/registry/Registry.java
13209         java/rmi/registry/RegistryHandler.java
13210         java/rmi/server/ExportException.java
13211         java/rmi/server/LoaderHandler.java
13212         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
13213         java/rmi/server/Operation.java
13214         java/rmi/server/RMIClassLoader.java
13215         java/rmi/server/RMIClientSocketFactory.java
13216         java/rmi/server/RMIFailureHandler.java
13217         java/rmi/server/RMIServerSocketFactory.java
13218         java/rmi/server/RMISocketFactory.java
13219         java/rmi/server/RemoteCall.java
13220         java/rmi/server/RemoteObject.java
13221         java/rmi/server/RemoteRef.java
13222         java/rmi/server/RemoteServer.java
13223         java/rmi/server/RemoteStub.java
13224         java/rmi/server/ServerCloneException.java
13225         java/rmi/server/ServerNotActiveException.java
13226         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
13227         java/rmi/server/SkeletonMismatchException.java
13228         java/rmi/server/SkeletonNotFoundException.java
13229         java/rmi/server/SocketSecurityException.java
13230         java/rmi/server/UID.java
13231         java/rmi/server/UnicastRemoteObject.java
13232         java/rmi/server/Unreferenced.java
13233         java/security/AccessControlContext.java
13234         java/security/AccessControlException.java
13235         java/security/AccessController.java
13236         java/security/AlgorithmParameterGenerator.java
13237         java/security/AlgorithmParameterGeneratorSpi.java
13238         java/security/AlgorithmParameters.java
13239         java/security/AlgorithmParametersSpi.java
13240         java/security/AllPermission.java
13241         java/security/BasicPermission.java
13242         java/security/Certificate.java java/security/CodeSource.java
13243         java/security/DigestException.java
13244         java/security/DigestInputStream.java
13245         java/security/DigestOutputStream.java
13246         java/security/DomainCombiner.java
13247         java/security/DummyKeyPairGenerator.java
13248         java/security/DummyMessageDigest.java
13249         java/security/DummySignature.java
13250         java/security/GeneralSecurityException.java
13251         java/security/Guard.java java/security/GuardedObject.java
13252         java/security/Identity.java java/security/IdentityScope.java
13253         java/security/InvalidAlgorithmParameterException.java
13254         java/security/InvalidKeyException.java
13255         java/security/InvalidParameterException.java
13256         java/security/Key.java java/security/KeyException.java
13257         java/security/KeyFactory.java java/security/KeyFactorySpi.java
13258         java/security/KeyManagementException.java
13259         java/security/KeyPair.java java/security/KeyPairGenerator.java
13260         java/security/KeyPairGeneratorSpi.java
13261         java/security/KeyStore.java
13262         java/security/KeyStoreException.java
13263         java/security/KeyStoreSpi.java
13264         java/security/MessageDigest.java
13265         java/security/MessageDigestSpi.java
13266         java/security/NoSuchAlgorithmException.java
13267         java/security/NoSuchProviderException.java
13268         java/security/Permission.java
13269         java/security/PermissionCollection.java
13270         java/security/Permissions.java java/security/Policy.java
13271         java/security/Principal.java java/security/PrivateKey.java
13272         java/security/PrivilegedAction.java
13273         java/security/PrivilegedActionException.java
13274         java/security/PrivilegedExceptionAction.java
13275         java/security/ProtectionDomain.java
13276         java/security/Provider.java
13277         java/security/ProviderException.java
13278         java/security/PublicKey.java
13279         java/security/SecureClassLoader.java
13280         java/security/SecureRandom.java
13281         java/security/SecureRandomSpi.java java/security/Security.java
13282         java/security/SecurityPermission.java
13283         java/security/Signature.java
13284         java/security/SignatureException.java
13285         java/security/SignatureSpi.java
13286         java/security/SignedObject.java java/security/Signer.java
13287         java/security/UnrecoverableKeyException.java
13288         java/security/UnresolvedPermission.java
13289         java/security/acl/Acl.java java/security/acl/AclEntry.java
13290         java/security/acl/AclNotFoundException.java
13291         java/security/acl/Group.java
13292         java/security/acl/LastOwnerException.java
13293         java/security/acl/NotOwnerException.java
13294         java/security/acl/Owner.java java/security/acl/Permission.java
13295         java/security/cert/CRL.java
13296         java/security/cert/CRLException.java
13297         java/security/cert/Certificate.java
13298         java/security/cert/CertificateEncodingException.java
13299         java/security/cert/CertificateException.java
13300         java/security/cert/CertificateExpiredException.java
13301         java/security/cert/CertificateFactory.java
13302         java/security/cert/CertificateFactorySpi.java
13303         java/security/cert/CertificateNotYetValidException.java
13304         java/security/cert/CertificateParsingException.java
13305         java/security/cert/X509CRL.java
13306         java/security/cert/X509CRLEntry.java
13307         java/security/cert/X509Certificate.java
13308         java/security/cert/X509Extension.java
13309         java/security/interfaces/DSAKey.java
13310         java/security/interfaces/DSAKeyPairGenerator.java
13311         java/security/interfaces/DSAParams.java
13312         java/security/interfaces/DSAPrivateKey.java
13313         java/security/interfaces/DSAPublicKey.java
13314         java/security/interfaces/RSAKey.java
13315         java/security/interfaces/RSAPrivateCrtKey.java
13316         java/security/interfaces/RSAPrivateKey.java
13317         java/security/interfaces/RSAPublicKey.java
13318         java/security/spec/AlgorithmParameterSpec.java
13319         java/security/spec/DSAParameterSpec.java
13320         java/security/spec/DSAPrivateKeySpec.java
13321         java/security/spec/DSAPublicKeySpec.java
13322         java/security/spec/EncodedKeySpec.java
13323         java/security/spec/InvalidKeySpecException.java
13324         java/security/spec/InvalidParameterSpecException.java
13325         java/security/spec/KeySpec.java
13326         java/security/spec/PKCS8EncodedKeySpec.java
13327         java/security/spec/RSAKeyGenParameterSpec.java
13328         java/security/spec/RSAPrivateCrtKeySpec.java
13329         java/security/spec/RSAPrivateKeySpec.java
13330         java/security/spec/RSAPublicKeySpec.java
13331         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
13332         java/sql/BatchUpdateException.java java/sql/Blob.java
13333         java/sql/CallableStatement.java java/sql/Clob.java
13334         java/sql/Connection.java java/sql/DataTruncation.java
13335         java/sql/DatabaseMetaData.java java/sql/Date.java
13336         java/sql/Driver.java java/sql/DriverManager.java
13337         java/sql/DriverPropertyInfo.java
13338         java/sql/PreparedStatement.java java/sql/Ref.java
13339         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
13340         java/sql/SQLData.java java/sql/SQLException.java
13341         java/sql/SQLInput.java java/sql/SQLOutput.java
13342         java/sql/SQLWarning.java java/sql/Statement.java
13343         java/sql/Struct.java java/sql/Time.java
13344         java/sql/Timestamp.java java/sql/Types.java
13345         java/text/Annotation.java
13346         java/text/AttributedCharacterIterator.java
13347         java/text/AttributedString.java
13348         java/text/AttributedStringIterator.java
13349         java/text/BreakIterator.java java/text/CharacterIterator.java
13350         java/text/ChoiceFormat.java java/text/Collator.java
13351         java/text/DateFormat.java java/text/DateFormatSymbols.java
13352         java/text/DecimalFormat.java
13353         java/text/DecimalFormatSymbols.java
13354         java/text/FieldPosition.java java/text/Format.java
13355         java/text/MessageFormat.java java/text/NumberFormat.java
13356         java/text/ParseException.java java/text/ParsePosition.java
13357         java/text/SimpleDateFormat.java
13358         java/text/StringCharacterIterator.java
13359         java/util/AbstractCollection.java java/util/AbstractList.java
13360         java/util/AbstractMap.java
13361         java/util/AbstractSequentialList.java
13362         java/util/AbstractSet.java java/util/ArrayList.java
13363         java/util/Arrays.java java/util/BasicMapEntry.java
13364         java/util/BitSet.java java/util/Calendar.java
13365         java/util/Collection.java java/util/Collections.java
13366         java/util/Comparator.java
13367         java/util/ConcurrentModificationException.java
13368         java/util/Date.java java/util/Dictionary.java
13369         java/util/EmptyStackException.java java/util/Enumeration.java
13370         java/util/EventListener.java java/util/EventObject.java
13371         java/util/GregorianCalendar.java java/util/HashMap.java
13372         java/util/HashSet.java java/util/Hashtable.java
13373         java/util/IdentityHashMap.java java/util/Iterator.java
13374         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
13375         java/util/LinkedList.java java/util/List.java
13376         java/util/ListIterator.java java/util/ListResourceBundle.java
13377         java/util/Locale.java java/util/Map.java
13378         java/util/MissingResourceException.java
13379         java/util/NoSuchElementException.java
13380         java/util/Observable.java java/util/Observer.java
13381         java/util/Properties.java java/util/PropertyPermission.java
13382         java/util/PropertyResourceBundle.java java/util/Random.java
13383         java/util/RandomAccess.java java/util/ResourceBundle.java
13384         java/util/Set.java java/util/SimpleTimeZone.java
13385         java/util/SortedMap.java java/util/SortedSet.java
13386         java/util/Stack.java java/util/StringTokenizer.java
13387         java/util/TimeZone.java java/util/Timer.java
13388         java/util/TimerTask.java
13389         java/util/TooManyListenersException.java
13390         java/util/TreeMap.java java/util/TreeSet.java
13391         java/util/Vector.java java/util/WeakHashMap.java
13392         java/util/jar/Attributes.java java/util/jar/JarEntry.java
13393         java/util/jar/JarException.java java/util/jar/JarFile.java
13394         java/util/jar/JarInputStream.java
13395         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
13396         java/util/zip/Adler32.java java/util/zip/CRC32.java
13397         java/util/zip/CheckedInputStream.java
13398         java/util/zip/CheckedOutputStream.java
13399         java/util/zip/Checksum.java
13400         java/util/zip/DataFormatException.java
13401         java/util/zip/Deflater.java
13402         java/util/zip/DeflaterOutputStream.java
13403         java/util/zip/GZIPInputStream.java
13404         java/util/zip/GZIPOutputStream.java
13405         java/util/zip/Inflater.java
13406         java/util/zip/InflaterInputStream.java
13407         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
13408         java/util/zip/ZipException.java java/util/zip/ZipFile.java
13409         java/util/zip/ZipInputStream.java
13410         java/util/zip/ZipOutputStream.java
13411         javax/naming/BinaryRefAddr.java
13412         javax/naming/InvalidNameException.java javax/naming/Name.java
13413         javax/naming/NamingException.java javax/naming/RefAddr.java
13414         javax/naming/StringRefAddr.java: Add license clarification.
13415
13416 2002-01-22  Tom Tromey  <tromey@redhat.com>
13417
13418         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
13419         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
13420         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
13421         version.
13422         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
13423         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
13424         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
13425         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
13426         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
13427         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
13428         * java/awt/peer/FontPeer.java: Replace with Classpath version.
13429         * java/awt/peer/FramePeer.java: Replace with Classpath version.
13430         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
13431         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
13432         * java/awt/peer/ListPeer.java: Replace with Classpath version.
13433         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
13434         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
13435         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
13436         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
13437         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
13438         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
13439         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
13440         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
13441         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
13442         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
13443         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
13444         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
13445         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
13446         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
13447         (minimumSize, preferredSize, reshape): Likewise.
13448         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
13449         getColorModel): New methods.
13450         * java/awt/PopupMenu.java: Merged with Classpath.
13451         * java/awt/MenuBar.java: Merged with Classpath.
13452         * java/awt/SystemColor.java: Replace with Classpath version.
13453         * java/awt/Panel.java: Merged with Classpath.
13454         * java/awt/PaintContext.java: Updated copyright.
13455         * java/awt/MenuShortcut.java: Merged with Classpath.
13456         * java/awt/MenuContainer.java: Merged with Classpath.
13457         * java/awt/Menu.java: Merged with Classpath.
13458         * java/awt/MediaEntry.java: New file from Classpath.
13459         * java/awt/MediaTracker.java: New file from Classpath.
13460         * java/awt/List.java: Merged with Classpath version.
13461         * java/awt/Insets.java: Merged with Classpath version.
13462         * java/awt/ImageMediaEntry.java: New file from Classpath.
13463         * java/awt/Image.java: Replaced with Classpath version.
13464         * java/awt/FontMetrics.java: Merged with Classpath version.
13465         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
13466         constant.
13467         * java/awt/Font.java: Merged with Classpath version.
13468         * java/awt/Dialog.java: Merged with Classpath version.
13469         * java/awt/Color.java: Merged with Classpath version.
13470         * java/awt/Choice.java: Merged with Classpath version.
13471         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
13472         * java/awt/Adjustable.java: Replace with Classpath version.
13473         * java/awt/MenuItem.java (paramString): Don't include class name
13474         or brackets.  Call superclass paramString.
13475         * java/awt/MenuComponent.java (toString): Call paramString.
13476         (paramString): Compute string; don't call toString.
13477         * java/awt/Label.java (paramString): Don't include class name
13478         or brackets.  Call superclass paramString.
13479         * java/awt/Checkbox.java (paramString): Don't include class name
13480         or brackets.  Call superclass paramString.
13481         * java/awt/Button.java (paramString): Don't include class name or
13482         brackets.  Call superclass paramString.
13483         * java/awt/MenuComponent.java (getTreeLock): Now protected.
13484
13485 2002-01-20  Andreas Schwab  <schwab@suse.de>
13486
13487         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
13488         function and of parameter recv_func to ssize_t, as specified by
13489         POSIX.
13490
13491 2002-01-19  Per Bothner  <per@bothner.com>
13492
13493         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
13494         uncompressed_size in readiness for next entry.
13495
13496 2002-01-18  Tom Tromey  <tromey@redhat.com>
13497
13498         * java/net/natPlainSocketImpl.cc: Include
13499         IllegalArgumentException.h.
13500         (_Jv_recv): New template function.
13501         (BooleanClass): Removed.
13502         (read): Use _Jv_recv.
13503         (setOption): Use Boolean::class$.  Throw exception if object is
13504         not Boolean or Integer.
13505
13506 2002-01-17  Tom Tromey  <tromey@redhat.com>
13507
13508         * java/awt/MenuComponent.java: Merged with Classpath.
13509         * java/awt/MenuItem.java: Merged with Classpath.
13510         * java/awt/Button.java: Merged with Classpath.
13511
13512         * java/awt/ActiveEvent.java: Updated copyright.
13513
13514         * java/awt/AWTError.java: Replaced with Classpath version.
13515         * java/awt/AWTException.java: Replaced with Classpath version.
13516         * java/awt/IllegalComponentStateException.java: Replaced with
13517         Classpath version.
13518
13519 2002-01-16  Tom Tromey  <tromey@redhat.com>
13520
13521         * java/awt/Canvas.java (serialVersionUID): New constant.
13522         Updated copyright.  Added javadoc from Classpath.
13523         * java/awt/ItemSelectable.java: Replaced with Classpath version.
13524
13525         * java/awt/CheckboxGroup.java: Merged with Classpath.
13526         * java/awt/Checkbox.java: Merged with Classpath.
13527
13528         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
13529         Classpath.
13530         * java/awt/Point.java: Updated copyright.
13531
13532         * java/awt/Point.java (toString): Use getClass().getName().
13533         Added javadoc.
13534
13535         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
13536         commented code.
13537         (hash): Correctly compute initial value for `h'.
13538
13539         * java/awt/Label.java: Merged with Classpath.
13540
13541 2002-01-15  Tom Tromey  <tromey@redhat.com>
13542
13543         * java/awt/AWTPermission.java: Updated copyright.
13544
13545         * java/awt/LayoutManager2.java: Merged with Classpath.
13546         * java/awt/LayoutManager.java: Merged with Classpath.
13547         * java/awt/GridLayout.java: Updated copyright and javadoc.
13548         (getSize): Use `parent.ncomponents'.  Handle insets.
13549         (layoutContainer): Use `parent.ncomponents'.  Handle case where
13550         there are fewer children than columns.  Correctly compute size of
13551         each cell in the grid.  Handle case where there isn't enough
13552         space.
13553         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
13554         all users.
13555         (gotoComponent): Use parent.ncomponents.  Ensure child exists
13556         before calling setVisible() on it.  Last item is `num - 1', not
13557         `num'.
13558         (layoutContainer): Hoist invariants out of loop.
13559
13560         Start of AWT merge with Classpath:
13561         * Makefile.in: Rebuilt.
13562         * Makefile.am (awt_java_source_files): Reference files in
13563         gnu/java/awt, not gnu/gcj/awt.
13564         * java/awt/image/BufferedImage.java: Updated copyright.
13565         * java/awt/image/ComponentColorModel.java: Updated copyright.
13566         * java/awt/image/ComponentSampleModel.java: Updated copyright.
13567         * java/awt/image/DataBuffer.java: Updated copyright.
13568         * java/awt/image/DataBufferByte.java: Updated copyright.
13569         * java/awt/image/DataBufferInt.java: Updated copyright.
13570         * java/awt/image/DataBufferUShort.java: Updated copyright.
13571         * java/awt/image/IndexColorModel.java: Updated copyright.
13572         * java/awt/image/PackedColorModel.java: Updated copyright.
13573         * java/awt/image/Raster.java: Updated copyright.
13574         * java/awt/image/RasterOp.java: Updated copyright.
13575         * java/awt/image/SampleModel.java: Updated copyright.
13576         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
13577         * java/awt/image/WritableRaster.java: Updated copyright.
13578         * java/awt/color/ColorSpace.java: Updated copyright.
13579         * java/awt/color/ICC_ColorSpace.java: Updated copyright
13580         * java/awt/color/ICC_Profile.java: Updated copyright.
13581         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
13582         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
13583         * java/awt/event/HierarchyEvent.java: Updated copyright.
13584         * java/awt/event/HierarchyListener.java: Updated copyright.
13585         * java/awt/geom/AffineTransform.java: Updated copyright.
13586         * java/awt/geom/Dimension2D.java: Updated copyright.
13587         * java/awt/geom/Ellipse2D.java: Updated copyright.
13588         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
13589         * java/awt/geom/Line2D.java: Updated copyright.
13590         * java/awt/geom/NoninvertibleTransformException.java: Updated
13591         copyright.
13592         * java/awt/geom/PathIterator.java: Updated copyright.
13593         * java/awt/geom/Point2D.java: Updated copyright.
13594         * java/awt/geom/Rectangle2D.java: Updated copyright.
13595         * java/awt/geom/RectangularShape.java: Updated copyright.
13596         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
13597         * java/awt/Toolkit.java: Updated import for file moves.
13598         * java/awt/Rectangle.java: Updated copyright; added javadoc from
13599         Classpath.
13600         (hashCode): New method from Classpath.
13601         * java/awt/Graphics2D.java: Updated copyright.
13602         * java/awt/Transparency.java: Updated copyright.
13603         * java/awt/Paint.java: Updated copyright.
13604         * java/awt/Graphics.java: New version from Classpath.
13605         * java/awt/EventDispatchThread.java: Updated copyright.
13606         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
13607         children.
13608         (gotoComponent): Wrap around on next/previous.
13609         * gnu/gcj/awt/BitMaskExtent.java: Removed.
13610         * gnu/gcj/awt/Buffers.java: Removed.
13611         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
13612         * gnu/gcj/awt/GLightweightPeer.java: Removed.
13613         * gnu/java/awt/BitMaskExtent.java: Added.
13614         * gnu/java/awt/Buffers.java: Added.
13615         * gnu/java/awt/ComponentDataBlitOp.java: Added.
13616         * gnu/java/awt/GLightweightPeer.java: Added.
13617         * java/awt/geom/Line2D.java (clone): Ignore
13618         CloneNotSupportedException.
13619         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
13620         * java/awt/Frame.java: Merged with Classpath.
13621         * java/awt/RenderingHints.java: Copyright update.
13622         * java/awt/Paint.java: Copyright update.
13623         * java/awt/image/DirectColorModel.java: Merged with Classpath.
13624         * java/awt/image/ColorModel.java: Merged with Classpath.
13625         * java/awt/Window.java (show): New Implementation from Classpath.
13626         (isShowing): Use super.isShowing().
13627         * java/awt/EventQueue.java: Merged with Classpath.
13628         * java/awt/AWTEventMulticaster.java (save): Throw
13629         RuntimeException.
13630         (saveInternal): Likewise.
13631         * java/awt/AWTEvent.java: Now implements Serializable.
13632         * java/awt/Event.java: Copyright update.
13633         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
13634         * java/awt/image/BufferedImage.java: Copyright update.
13635         * java/awt/GraphicsConfiguration.java: Copyright update.
13636         * java/awt/Component.java: (addNotify): Don't call
13637         addNotifyContainerChildren().
13638         (addNotifyContainerChildren): Removed.
13639         (setPeer): New method from Classpath.
13640         (setTreeLock): Likewise.
13641         (setVisible): Rewrote.
13642         (show): Use it.
13643         (hide): Likewise.
13644         (validate): Set `valid'.
13645         (checkImage(Image,ImageObserver)): Implementation from Classpath.
13646         (createImage(ImageProducer)): Likewise.
13647         (prepareImage): Likewise.
13648         * java/awt/Container.java (addImpl): Handle case where constraint
13649         is not a String.  Post event via system event queue.
13650         (remove): Post event via system event queue.
13651         (validateTree): Only validate child if it is invalid.
13652         (getAlignmentX): Call super method as default.
13653         (getAlignmentY): Likewise.
13654         (addContainerListener): Now synchronized.
13655         (removeContainerListener): Likewise.
13656         (addNotifyContainerChildren): Now private.
13657         * java/awt/ComponentOrientation.java: Updated copyright.  Added
13658         @author.
13659         * java/awt/FlowLayout.java (serialVersionUID): New field.
13660         (setAlignment): Better exception message.
13661         (layoutContainer): Don't compute component's preferred size unless
13662         we're going to use it.
13663         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
13664         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
13665         (firstLine, lastLine, firstItem, lastItem): New fields.
13666         (addLayoutComponent): Handle case where constraints is null.
13667         Also, handle relative locations.
13668         (removeLayoutComponent): Handle relative locations.
13669         (MIN, MAX, PREF): New constants.
13670         (calcCompSize): New method.
13671         (calcSize): New method.
13672         (minimumLayoutSize): Use it.
13673         (preferredLayoutSize): Likewise.
13674         (maximumLayoutSize): Likewise.
13675         (toString): Include more information.
13676         (setBounds): New method.
13677         (layoutContainer): Use libgcj implementation; extended to handle
13678         relative locations.
13679
13680 2002-01-15  Tom Tromey  <tromey@redhat.com>
13681
13682         * java/lang/Float.java (equals): Preserve old code.
13683         * java/lang/Double.java (equals): Preserve old code.
13684
13685 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
13686
13687         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
13688         * java/lang/Float.java (equals, compare): Ditto.
13689
13690 2002-01-13  Mark Wielaard  <mark@klomp.org>
13691
13692         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
13693         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
13694         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
13695         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
13696
13697 2002-01-11  Mark Wielaard  <mark@klomp.org>
13698
13699         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
13700         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
13701         InetAddress.
13702         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
13703         * java/net/Socket.java: Merge with Classpath.
13704         * java/net/ServerSocket.java: Likewise.
13705
13706 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
13707
13708         * interpret.cc (NULLARRAYCHECK): New macro.
13709         (SAVE_PC): Just store `pc'.
13710         (find_exception): Subtract one from `pc' here.
13711         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13712         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13713         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13714         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
13715         don't call SAVE_PC.
13716         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
13717         call SAVE_PC.
13718
13719 2002-01-11  Tom Tromey  <tromey@redhat.com>
13720
13721         * java/lang/natSystem.cc (init_properties): Only look for default
13722         locale if LC_MESSAGES is defined.
13723         * aclocal.m4, configure, include/config.h.in: Rebuilt.
13724         * configure.in: Call AM_LC_MESSAGES.
13725         * acinclude.m4 (AM_LC_MESSAGES): New macro.
13726
13727 2002-01-10  Tom Tromey  <tromey@redhat.com>
13728
13729         For PR libgcj/5303:
13730         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
13731         --version.  Recognize GNU-style long options.  Print GNU-style
13732         error messages.
13733         (usage): Print GNU-style help.  Exit with status 0.
13734         (error): New method.
13735         (run): Print error message if no class names found.
13736         (main): Don't print usage on error.
13737
13738 2002-01-09  Tom Tromey  <tromey@redhat.com>
13739
13740         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13741         property.
13742         (help, version): Use println(), not println("").
13743
13744         For PR libgcj/5303:
13745         * gnu/gcj/convert/Convert.java (error): Program is called
13746         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
13747         -1.
13748         (main): Handle --help and --version.
13749         (help): New method.
13750         (version): Likewise.
13751
13752 2002-01-08  Tom Tromey  <tromey@redhat.com>
13753
13754         * Makefile.in: Rebuilt.
13755         * Makefile.am (ordinary_java_source_files): Added new files.
13756         * gnu/java/locale/LocaleInformation.java: Extend
13757         LocaleInformation_en.
13758         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13759         and time/date formats.
13760         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13761         generated.
13762         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13763         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13764         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13765         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13766         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13767         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13768         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13769         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13770         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13771         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13772         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13773         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13774         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13775         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13776         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13777         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13778         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13779         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13780         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13781         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13782         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13783         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13784         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13785         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13786         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13787         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13788         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13789         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13790         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13791         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13792         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13793         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13794         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13795         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13796         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13797         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13798         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13799         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13800         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13801         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13802         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13803         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13804         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13805         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13806         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13807         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13808         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13809         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13810         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13811         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13812         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13813         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13814         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13815         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13816         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13817         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13818         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13819         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13820         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13821         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13822         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13823         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13824         * gnu/java/locale/LocaleInformation_es_US.java: New file.
13825         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13826         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13827         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13828         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13829         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13830         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13831         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13832         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13833         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13834         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13835         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13836         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13837         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13838         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13839         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13840         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13841         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13842         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13843         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13844         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13845         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13846         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13847         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13848         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13849         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13850         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13851         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13852         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13853         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13854         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13855         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13856         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13857         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13858         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13859         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13860         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13861         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13862         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13863         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13864         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13865         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13866         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13867         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13868         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13869         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13870         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13871         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13872         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13873         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13874         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13875         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13876         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13877         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13878         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13879         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13880         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13881         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13882         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13883         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13884         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13885         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13886         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13887         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13888         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13889         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13890         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13891         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13892
13893         For PR libgcj/5031:
13894         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13895         choose default locale.
13896
13897         * Makefile.in: Rebuilt.
13898         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13899
13900 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
13901
13902         * java/net/natPlainSocketImpl.cc: Added timeout handling for
13903         sockets.
13904         (close): New function closes the socket.
13905         (write): New functions for output to socket.
13906         (read): New functions for reading from socket.
13907         * java/net/PlainSocketImpl.java: Glue for new timeout
13908         implementation.
13909         (write): Call the native impl.
13910         (read): Likewise.
13911         (getInputStream): Get a stream to read from the socket.
13912         (getOutputStream): Get a stream to write to the socket.
13913
13914 2002-01-08  Tom Tromey  <tromey@redhat.com>
13915
13916         * resolve.cc (_Jv_PrepareClass): Enable verifier.
13917
13918 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
13919
13920         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13921         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13922
13923 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
13924
13925         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13926         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13927         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13928         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13929         insn_bastore, insn_castore, insn_sastore]: Use it.
13930         (continue1) [insn_arraylength]: Check for null array.
13931
13932 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13933
13934         * configure, include/config.h.in: Rebuilt.
13935         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13936         * configure.in: Call AC_STRUCT_TIMEZONE.
13937
13938 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13939
13940         * configure.host: Disable the interpreter for Darwin.
13941
13942 2002-01-04  Tom Tromey  <tromey@redhat.com>
13943
13944         * java/lang/Thread.java (stop): No longer synchronized.
13945         (start): Likewise.
13946
13947 2002-01-02  Tom Tromey  <tromey@redhat.com>
13948
13949         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13950         patch.
13951
13952 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
13953
13954         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13955         PPC Darwin, not for all of Darwin.