OSDN Git Service

Fix typo.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-08-20  Tom Tromey  <tromey@redhat.com>
2
3         Fix for PR libgcj/9125:
4         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5         object outside of loop.  Respect lib_control setting.
6         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
7         field.
8         (lib_control): New field.
9         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
10         (VMClassLoader): Initialize new field.
11
12         * java/lang/ref/natReference.cc (finalize_referred_to_object):
13         Set `list->reference' to DELETED_REFERENCE when removing dead
14         object.
15         (find_slot): Added an assert.
16         (DELETED_REFERENCE): New define.
17         (add_to_hash): Check for DELETED_REFERENCE.
18         (remove_from_hash): Just return if found slot isn't ours.
19
20 2003-08-19  Andrew Haley  <aph@redhat.com>
21
22         * prims.cc (unblock_signal): New function.
23         (catch_segv): Use it.
24         (catch_fpe): Likewise.
25
26 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
27
28         PR libgcj/11575
29         * java/io/natFileDescriptorWin32.cc (open): Set create
30         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
31         Honor EXCL when openning with WRITE flag. 
32
33 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
34
35         * include/jvm.h: New class _Jv_TempUTFString (helper class for
36         getting a temporary C string from a jstring)
37         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
38         but uses a stack buffer if the string length is less than 256
39         bytes.
40
41 2003-08-18  Tom Tromey  <tromey@redhat.com>
42
43         PR libgcj/11951:
44         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
45         void.  Throw VirtualMachineError if ffi fails.  Initialize return
46         value.  Added is_jni_call argument; only wrap exception if not a
47         JNI call.  Use descriptive message if operation not supported.
48         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
49         array class.
50         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
51         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
52         _Jv_CallAnyMethodA.
53         (_Jv_JNI_CallAnyMethodA): Likewise.
54         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
55         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
56
57 2003-08-13  Tom Tromey  <tromey@redhat.com>
58
59         * gij.cc (help): Document -? and -X.
60
61 2003-08-12  Graydon Hoare  <graydon@redhat.com>
62
63         * java/awt/Font.java: 
64         Stub out more recent API. 
65
66 2003-08-12  Graydon Hoare  <graydon@redhat.com>
67
68         * java/awt/Color.java (getAlpha): 
69         Prevent sign-extended alpha values.
70
71 2003-08-12  Tom Tromey  <tromey@redhat.com>
72
73         * gij.cc (main): Handle -? and -X.
74
75 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
76
77         * java/awt/Container.java
78         (getPreferredSize): Call preferredSize.
79         (preferredSize): Moved body of getPreferredSize here.
80         (getMinimumSize): Call minimumSize.
81         (minimumSize): Moved body of getMinimumSize here.
82
83 2003-08-11  Tom Tromey  <tromey@redhat.com>
84
85         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
86         (postEvent): Removed FIXME comment.
87         (isDispatchThread): Documented.
88         (getCurrentEvent): New method.
89         (dispatchEvent): Set currentEvent and lastWhen.
90         (getMostRecentEventTime): Rewrote.
91         (invokeLater): Documented.
92
93 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
94
95         * java/io/PrintStream.java (print): Always flush if auto_flush is
96         set. Don't check for newline characters.
97         (write (int)): Implement without using a temporary array.
98         (write (byte[], int, int): Always flush if auto_flush is set. Don't
99         check for newline characters.
100         Fixes PR libgcj/11778.
101
102 2003-08-08  Andrew Haley  <aph@redhat.com>
103
104         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
105         * Makefile.in: Rebuild.
106         * java/lang/natRuntime.cc (insertSystemProperties): Add
107         "sun.boot.class.path".
108
109 2003-08-07  Andrew Haley  <aph@redhat.com>
110
111         * java/io/PrintStream.java: Don't crash on a null string.
112         
113 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
114
115         * configure.in: Don't initialize GCINCS to boehm-gc/include.
116         * configure: Regenerate.
117
118 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
119
120         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
121         SocketImpl. Update Javadoc.
122         (bind): Call close() not impl.close() in event of exception.
123         (connect): Likewise.
124         Remove superfluous null checks throughout.
125         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
126         Don't create an extra socket. Fix for PR libgcj/10868.
127         (bind): Clean up exception handling.
128         Remove superfluous null checks throughout.
129
130 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
131             Bryce McKinlay  <bryce@mckinlay.net.nz>
132
133         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
134         ready-to-write argument to _Jv_Select. Reset the socket back to 
135         non-blocking state after connecting.
136         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
137         Throw SocketTimeoutException not InterruptedIOException.
138         (read): Throw SocketTimeoutException not InterruptedIOException.
139
140 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
141
142         * java/lang/Thread.java (Thread): Check for null "name" from
143         start of private constructor, not after calling the private
144         constructor.
145
146 2003-08-06  Tom Tromey  <tromey@redhat.com>
147
148         * java/io/FilePermission.java (equals): Use correct index for
149         last character of path.
150
151 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
152
153         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
154         * configure.in: Compare with_cross_host to build_alias, not build.
155         * aclocal.m4: Regenerate.
156         * configure: Regenerate.
157
158 2003-08-05  Tom Tromey  <tromey@redhat.com>
159
160         Fix for PR libgcj/11779:
161         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
162         class.
163
164         * java/lang/reflect/Method.java: Updated status comment.
165         Imported javadoc from Classpath and re-ordered methods.
166         * java/lang/reflect/Constructor.java: Reindented.  Updated
167         status comment.  Imported javadoc from Classpath and re-ordered
168         methods.
169
170 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
171
172         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
173         Add keyLocation parameter.
174         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
175         string.
176         (paramString): Generate keyChar string according to keyChar, not
177         keyCode.
178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
179         (state_to_awt_mods): Handle ALT key.
180         (keyevent_state_to_awt_mods): New function.
181         (get_first_keyval_from_keymap): New function.
182         (keysym_to_awt_keycode): Get virtual key code from keymap.
183         Handle missing VK_ values.
184         (keysym_to_awt_keylocation): New function.
185         (keyevent_to_awt_keychar): New function.
186         (generates_key_typed_event): Handle non-text-component case.
187         Handle GDK_KP_Delete and GDK_KP_Enter.
188         (awt_event_handler): Call new functions to get postKeyEvent
189         parameters.
190         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
191         Update postKeyEvent method signature.
192         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
193         VK_ defines.
194
195 2003-08-05  Matthias Klose  <doko@debian.org>
196
197         * aclocal.m4: check for libart-config binary
198           under the name libart2-config as well.
199         * configure: regenerated.
200
201 2003-08-04  David P Grove  <groved@us.ibm.com>
202
203         * java/text/DecimalFormat.java (format): avoid ArithmeticException
204         when groupingSize is 0.
205         (parse): Likewise.
206
207 2003-08-04  Matthias Klose  <doko@debian.org>
208
209         * libart.m4: check for libart-config binary
210           under the name libart2-config as well.
211         * configure, aclocal.m4: regenerated.
212
213 2003-08-02  Michael Koch  <konqueror@gmx.de>
214
215         * java/nio/ByteBufferImpl.java
216         (getChar): Check remaining bytes, fixed comment about endianess.
217         (putChar): Likewise.
218         (getShort): Likewise.
219         (putShort): Likewise.
220         (getInt): Check remaining bytes, fixed conversion, fixed comment about
221         endianess.
222         (putInt): Likewise.
223         (getLong): Likewise.
224         (putLong): Likewise.
225         (getFloat): Likewise.
226         (putFloat): Likewise.
227         (getDouble): Likewise.
228         (putDouble): Likewise.
229         * java/nio/DirectByteBufferImpl.java
230         (getChar): Wrapped code, fixed comment about endianess.
231         (putchar): Likewise.
232         (getShort): Likewise.
233         (putShort): Likewise.
234         (getInt): Fixed conversion, fixed comment about endianess.
235         (putInt): Likewise.
236         (getLong): Likewise.
237         (putLong): Likewise.
238         (getFloat): Likewise.
239         (putFloat): Likewise.
240         (getDouble): Likewise.
241         (putDouble): Likewise.
242         * java/nio/MappedByteBufferImpl.java
243         (compact): Implemented.
244         (getChar): Implemented.
245         (putChar): Implemented.
246         (getDouble): Implemented.
247         (putdouble): Implemented.
248         (getFloat): Implemented.
249         (putFloat): Implemented.
250         (getInt): Implemented.
251         (putInt): Implemented.
252         (getLong): Implemented.
253         (putLong): Implemented.
254         (getShort): Implemented.
255         (putShort): Implemented.
256         * java/nio/channels/FileChannelImpl.java
257         (read): Set position where to access file.
258         (write): Likewise.
259         (transferTo): Flip buffer after read and before write.
260         (transferFrom): Likewise.
261
262 2003-08-02  Michael Koch  <konqueror@gmx.de>
263
264         * gnu/java/lang/ArrayHelper.java
265         (equalsArray): Reformated, added method documentation.
266
267 2003-08-02  Michael Koch  <konqueror@gmx.de>
268
269         * java/net/URL.java
270         (URL): Added paragraph about the
271         gnu.java.net.nocache_protocol_handlers property.
272         (ph_cache): Renamed from handlers to match classpath's implementation.
273         Reordered it with factory and serialVersionUID member variables.
274         (cache_handlers): New member variable.
275         (static): New static initializer to initialize cache_handlers from
276         gnu.java.net.nocache_protocol_handlers property.
277         (URL): Use ph_cache instead of handlers, reformatted some code to
278         match classpath's implementation.
279
280 2003-08-01  Tom Tromey  <tromey@redhat.com>
281
282         Fix for PR libgcj/11241:
283         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
284         initialCapacity is 0, set it to 1.
285
286 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
287
288         * java/net/SocketImpl.java (toString): Display the remote address
289         of an unconnected server socket as "0.0.0.0/0.0.0.0".
290
291 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
292
293         * javax/swing/border/BevelBorder.java,
294         javax/swing/border/EtchedBorder.java,
295         javax/swing/border/LineBorder.java,
296         javax/swing/border/MatteBorder.java,
297         javax/swing/border/SoftBevelBorder.java,
298         javax/swing/plaf/BorderUIResource.java,
299         javax/swing/plaf/ComponentUI.java,
300         javax/swing/plaf/TreeUI.java,
301         javax/swing/plaf/basic/BasicBorders.java,
302         javax/swing/plaf/basic/BasicGraphicsUtils.java,
303         javax/swing/plaf/basic/BasicTreeUI.java:
304         Prepend "doc-files" to all paths to embedded Javadoc images, so
305         that the generated documentation contains the correct URL.
306
307 2003-08-01  Tom Tromey  <tromey@redhat.com>
308
309         * configure: Rebuilt.
310         * configure.in (tool_include_dir): Redefine to match gcc.
311
312 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
313             Mark Wielaard  <mark@klomp.org>
314             
315         * java/math/BigDecimal (divide): Correctly handle
316         ROUND_HALF_EVEN when amount is greater than 0.5.
317         Simplify and optimize code.
318
319 2003-07-31  Tom Tromey  <tromey@redhat.com>
320
321         More for PR libgcj/11737:
322         * java/io/ObjectInputStream.java (processResolution): Use
323         getMethod.
324         (getMethod): Make method accessible.
325         (getField): Make field accessible.
326         (setBooleanField): Don't call setAccessible here.
327         (setByteField, setCharField, setDoubleField, setFloatField,
328         setIntField, setLongField, setShortField, setObjectField):
329         Likewise.
330         (callReadMethod): Don't check whether method is null.  Catch
331         NoSuchMethodException.
332         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
333         cause on thrown exceptions.
334
335 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
336
337         Fix for PR libgcj/11728:
338         * java/util/HashMap.java (readObject): Set size.
339
340 2003-07-31  Tom Tromey  <tromey@redhat.com>
341
342         Fix for PR libgcj/11737:
343         * java/io/ObjectOutputStream.java (getMethod): Make method
344         accessible.
345         (getField): Likewise.
346         (writeObject): Use getMethod.
347         Import PrivilegedAction and AccessController.
348         (callWriteMethod): Don't check whether m is null.  Catch
349         NoSuchMethodException.
350
351         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
352         (containsAngle): Likewise.
353         (getStartPoint): Rewrote.
354         (getEndPoint): Likewise.
355         (setAngleStart(Point2D)): Likewise.
356
357 2003-07-31  Roger Sayle  <roger@eyesopen.com>
358             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
359
360         * configure.in: Add new THREADCXXFLAGS variable.
361         Handle POSIX threads on alpha*-dec-osf*.
362         * configure: Regenerate.
363         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
364         * Makefile.in: Regenerate.
365
366 2003-07-08  Andrew Haley  <aph@redhat.com>
367
368         * include/i386-signal.h (RESTORE): New.
369         (INIT_SEGV): Set restorer.
370         (INIT_FPE): Likewise.
371
372 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
373
374         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
375         than getXLFD.
376         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
377         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
379         (gtkSetFont): Scale size parameter by PANGO_SCALE.
380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
381         Likewise.
382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
383         Likewise.
384
385 2003-07-29  Tom Tromey  <tromey@redhat.com>
386
387         * defineclass.cc (handleField): Throw exception if field name is
388         duplicated.
389         (handleMethod): Throw exception for duplicate method.
390
391 2003-07-29  Tom Tromey  <tromey@redhat.com>
392
393         * gnu/gcj/convert/natIconv.cc (write): Handle case where
394         output buffer is too small.
395
396 2003-07-28  Tom Tromey  <tromey@redhat.com>
397
398         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
399         New method.
400         Include gnu/gcj/runtime/StringBuffer.h.
401         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
402         native method.
403         (String(gnu.gcj.runtime.StringBuffer)): Use it.
404
405 2003-07-27  Anthony Green  <green@redhat.com>
406
407         * configure.in: Fix newlib check.
408         * configure: Rebuilt.
409
410 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
411
412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
413         Create vbox and layout for GtkPlug.
414
415 2003-07-27  Michael Koch  <konqueror@gmx.de>
416
417         * java/awt/Window.java
418         (Window): Removed now unused constructor. It became oboslete with the
419         new embedded window patch.
420
421 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
422             Michael Koch  <konqueror@gmx.de>
423
424         * gnu/java/awt/EmbeddedWindow.java
425         (EmbeddedWindow): Extends Frame instead of Window.
426         (window_id): New member variable to store the native window handle.
427         (create): Removed.
428         (EmbeddedWindow): New constructor.
429         (addNotify): New method.
430         (getHandler): Likewise.
431         (setWindowPeer): New native method.
432         * gnu/java/awt/EmbeddedWindowSupport.java
433         (EmbeddedWindowSupport): Fixed documentation.
434         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
435         WindowPeer, give it an EmbeddedWindow instance instead of the raw
436         window data.
437         * gnu/java/awt/natEmbeddedWindow.cc
438         (create): Removed.
439         (setWindowPeer): New method.
440         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
441         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
442         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
443         New files
444         * gnu/java/awt/peer/gtk/GtkToolkit.java
445         (GtkToolkit): Implements EmbeddedWindowSupport.
446         (createEmbeddedWindow): New method.
447         * java/awt/Window.java
448         (Window): Removed.
449         * Makefile.am
450         (java_source_files): Added EmbeddedWindowPeer.java.
451         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
452         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
453         * Makefile.in: Regenerated.
454
455 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
456
457         * java/lang/Win32Process.java (ConcreteProcess): Surround
458         a command line element with quotes if it contains an
459         embedded space or tab.
460         * java/lang/natWin32Process.cc (startProcess): Do not
461         surround command line elements with quotes here.
462
463         * configure.host: Use -fcheck-references and 
464         -fuse-divide-subroutine for MinGW until we fix
465         win32_exception_handler( ) in win32.cc w.r.t. Win32 
466         Structured Exception Handling (SEH).
467
468         * win32.cc (_Jv_platform_initProperties): Use generic names
469         like "x86" for the "os.arch" property to be consistent with
470         what Sun's JDK produces. Use the wProcessorArchitecture
471         member of the Win32 SYSTEM_INFO structure, filled in a call 
472         to GetSystemInfo( ), instead of dwProcessorType.
473
474 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
475             Ranjit Mathew  <rmathew@hotmail.com>
476
477         * Makefile.am: Use cross-compiling gcjh from the path for
478         a crossed-native build.
479         * Makefile.in: Rebuilt.
480         * configure.in: Include libltdl in non-newlib builds.
481         Moved determination of gcj used to build libraries to
482         its own section. Fixed cross-compilation issues for
483         non-newlib builds.
484         * configure: Rebuilt.
485
486 2003-07-25  Tom Tromey  <tromey@redhat.com>
487
488         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
489         (write): Likewise.
490         (read): Likewise.
491         (read): Likewise.
492
493 2003-07-25  Mark Wielaard  <mark@klomp.org>
494
495         * java/lang/natRuntime.cc (_load): Add library name to
496         UnsatisfiedLinkError when thrown.
497
498 2003-07-25  Mark Wielaard  <mark@klomp.org>
499
500         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
501         added.
502         * Makefile.in: Likewise.
503
504 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
505
506         * java/awt/Component.java
507         (getPreferredSize): Call preferredSize.
508         (preferredSize): Moved body of getPreferredSize here.
509         (getMinimumSize): Call minimumSize.
510         (minimumSize): Moved body of getMinimumSize here.
511         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
512         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
513         pass -1
514         * java/awt/Container.java
515         (validate): Don't validate if there is no peer.
516         (update): Clear background before calling paint.
517         * java/awt/GridBagLayout.java
518         Completed the implementation and fixed several bugs.
519         * java/awt/MediaTracker.java
520         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
521         combine flags.
522         * java/awt/Window.java
523         (Window): Don't call setVisible(false). Windows are invisible by
524         default and calling virtual methods from constructor causes
525         compatibility problems (e.g. subclasses may assume that the peer
526         already exists).
527
528 2003-07-25  Michael Koch  <konqueror@gmx.de>
529
530         * java/awt/GridBagLayout.java:
531         Totally reworked and partly implemented.
532         * java/awt/GridBagLayoutInfo.java:
533         New file.
534
535 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
536
537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
538         Don't pack label in an event box.
539
540 2003-07-24  Tom Tromey  <tromey@redhat.com>
541
542         For PR libgcj/7482:
543         * verify.cc (ref_intersection): New class.
544         (type_val): Removed unresolved_reference_type,
545         uninitialized_unresolved_reference_type.
546         (is_assignable_from_slow): Rewrote.
547         (type::data): Removed.
548         (type::klass): New field.
549         (type::type): Added verifier argument.
550         (type::resolve): Removed.
551         (type::set_uninitialized): Updated for change to type_val.
552         (type::set_initialized): Likewise.
553         (type::isinitialized): Likewise.
554         (type::print): Likewise.
555         (construct_primitive_array_type): Likewise.
556         (type::compatible): Updated for change to type_val and to use
557         ref_intersection.
558         (type::isarray): Updated to use ref_intersection.
559         (type::isinterface): Likewise.
560         (type::element_type): Likewise.
561         (type::to_array): Likewise.
562         (type::verify_dimensions): Rewrote.
563         (type::merge): Likewise.
564         (check_class_constant): Updated for type constructor change.
565         (check_constant): Likewise.
566         (check_field_constant): Likewise.
567         (get_one_type): Likewise.
568         (initialize_stack): Likewise.
569         (verify_instructions_0): Likewise.
570         (verify_instructions_0) [op_invokeinterface]: Removed special
571         case.
572         (isect_list): New field.
573         (_Jv_BytecodeVerifier): Initialize it.
574         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
575
576 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
577
578         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
579         unless field size is 2.
580
581 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
582
583         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
584         (connectHooks): New method.
585         (handleEvent): Remove.
586         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
587         (createHooks): Remove declaration.
588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
589         (generates_key_typed_event): Change to handle only certain
590         keyvals.
591         (awt_event_handler): Add special handling for GtkTextView.
592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
593         (textcomponent_commit_cb): New function.
594         (textcomponent_changed_cb): Likewise.
595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
596         (connectHooks): Remove.
597
598 2003-07-23  Tom Tromey  <tromey@redhat.com>
599
600         * java/lang/natSystem.cc (arraycopy): Check for overflow.
601
602         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
603
604 2003-07-22  Tom Tromey  <tromey@redhat.com>
605
606         * boehm.cc (_Jv_BuildGCDescr): Wrote.
607         Include limits.h.
608
609 2003-07-22  Tom Tromey  <tromey@redhat.com>
610
611         * java/awt/Window.java (getWarningString): Just return the
612         string.
613         (Window): Set warningString; check with security manager.
614
615 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
616
617         * gnu/awt/xlib/XGraphicsConfiguration.java
618         (FontMetricsCache): Made static.
619  
620 2003-07-22  Tom Tromey  <tromey@redhat.com>
621
622         * java/net/URLEncoder.java (encode(String)): Use platform default
623         encoding.
624         (encode(String,String)): Convert to 2-digit upper-case hex
625         number.
626         (hex): New field.
627
628 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
629
630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
631         (create): Remove unused method implementation.
632         (connectHooks): Remove debug messages.
633
634 2003-07-20  Anthony Green  <green@redhat.com>
635
636         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
637         CloneNotSupportedException.
638         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
639         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
640         * gnu/gcj/xlib/GC.java (clone): Ditto.
641         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
642         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
643
644         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
645         handler.
646         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
647
648 2003-07-20  Steve Pribyl <steve@netfuel.com.>
649
650         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
651         String.  Put dlerror() message into exception.
652         Include UnsatisfiedLinkError.
653         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
654         String.  Now native.
655
656 2003-07-20  Tom Tromey  <tromey@redhat.com>
657
658         * java/lang/Runtime.java: Comment fix.
659         * java/lang/ClassLoader.java (isAncestorOf): New method.
660         (getParent): Uncommented security check.  Use isAncestorOf.
661         * include/jvm.h (_Jv_CheckAccess): Declare.
662         * java/lang/reflect/natConstructor.cc (newInstance): Perform
663         access check.
664         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
665         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
666         class loader to _Jv_GetArrayClass.
667         Include ArrayIndexOutOfBoundsException.h.
668         * java/lang/reflect/Field.java: Update comment to reflect status.
669         (equals): Fixed indentation.
670         * java/lang/Class.h (Class): Declare memberAccessCheck, not
671         checkMemberAccess.  Make _Jv_CheckAccess a friend.
672         * java/lang/Class.java (memberAccessCheck): New method from
673         Classpath.
674         (checkMemberAccess): Removed.
675         (getDeclaredMethod): Use memberAccessCheck.
676         (getField): Likewise.
677         (getMethod): Likewise.
678         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
679         (_Jv_SearchMethodInClass): Likewise.
680         * prims.cc (_Jv_CheckAccess): New function.
681         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
682         (_Jv_JNI_GetAnyFieldID): Likewise.
683         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
684         (getClassLoader): Added security check.
685         (getConstructor): Call memberAccessCheck.
686         (getDeclaredClasses): Likewise.
687         (getDeclaredField): Likewise.
688         (getDeclaredFields): Likewise.
689         (_getConstructors): Likewise.
690         (getDeclaredConstructor): Likewise.
691         (getDeclaredMethods): Likewise.
692         (getFields): Likewise.
693         (getMethods): Likewise.
694         (newInstance): Likewise.
695         (_Jv_MakeVTable): Put method name in exception.
696         * java/lang/reflect/natMethod.cc (getType): Use
697         getClassLoaderInternal.
698         (_Jv_GetTypesFromSignature): Likewise.
699         (invoke): Perform access check.
700         (_Jv_CallAnyMethodA): Removed old FIXME comments.
701         Include ArrayIndexOutOfBoundsException.h.
702         * java/lang/reflect/natField.cc (getType): Use
703         getClassLoaderInternal.
704         (_Jv_CheckFieldAccessibility): Removed.
705         (getAddr): Use _Jv_CheckAccess; find caller.
706         Include ArrayIndexOutOfBoundsException.h.
707
708 2003-07-20  Michael Koch  <konqueror@gmx.de>
709
710         * java/net/URL.java
711         (URL): Fixed documentation to name an argument correcty, Reformatted
712         one method declaration.
713         (getURLStreamHandler): Added documentation from classpath.
714
715 2003-07-19  Tom Tromey  <tromey@redhat.com>
716
717         * mauve-libgcj: Don't run CollationElementIterator tests.
718
719 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
720
721         * java/net/URLClassLoader.java (addURL): Moved implementation to
722         private addURLImpl() to avoid calling addURL from the constructor.
723         (addURLImpl): Contains the code that was previously in addURL.
724         (addURLs): Call addURLImpl(), not addURL().
725
726 2003-07-18  Graydon Hoare  <graydon@redhat.com>
727
728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
729         Handle missing event cases, connect to "value-changed" signal.
730
731 2003-07-18  Graydon Hoare  <graydon@redhat.com>
732
733         * java/awt/geom/CubicCurve2D.java,
734         java/awt/geom/Line2D.java,
735         java/awt/geom/QuadCurve2D.java,
736         java/awt/geom/Rectangle2D.java: 
737         Fix path some calculations, make path iterators follow
738         a consistent style.
739
740 2003-07-18  Mark Wielaard  <mark@klomp.org>
741
742         * java/util/logging/Handler.java (isLoggable): Check record level
743         smaller or equal.
744
745 2003-07-17  Michael Koch  <konqueror@gmx.de>
746
747         * gnu/java/awt/peer/gtk/GtkToolkit.java:
748         Reworked imports.
749
750 2003-07-14  Michael Koch  <konqueror@gmx.de>
751
752         * gnu/java/rmi/server/UnicastServerRef.java:
753         New version from classpath.
754
755 2003-07-14  Michael Koch  <konqueror@gmx.de>
756
757         * java/awt/image/MemoryImageSource.java,
758         java/beans/PropertyEditorManager.java,
759         javax/naming/CompoundName.java,
760         javax/naming/spi/NamingManager.java,
761         javax/swing/AbstractButton.java,
762         javax/swing/ButtonModel.java,
763         javax/swing/SwingUtilities.java,
764         javax/swing/UIManager.java,
765         javax/swing/colorchooser/DefaultColorSelectionModel.java,
766         javax/swing/event/AncestorEvent.java,
767         javax/swing/event/InternalFrameEvent.java,
768         java/util/zip/ZipFile.java:
769         New versions from classpath.
770
771 2003-07-13  Michael Koch  <konqueror@gmx.de>
772
773         * gnu/java/nio/FileChannelImpl.java,
774         gnu/java/nio/natFileChannelImpl.cc: Removed.
775         * java/io/FileInputStream.java,
776         java/io/FileOutputStream.java,
777         java/io/RandomAccessFile.java,
778         java/nio/MappedByteBufferImpl.java:
779         Import java.nio.channels.FileChannelImpl instead of
780         gnu.java.nio.FileChannelImpl.
781         * java/nio/channels/FileChannelImpl.java,
782         java/nio/channels/natFileChannelImpl.cc:
783         New files.
784         * Makefile.am
785         (ordinary_java_source_files):
786         Removed gnu/java/nio/FileChannelImpl.java and added
787         java/nio/channels/FileChannelImpl.java.
788         (nat source_files):
789         Removed gnu/java/nio/natFileChannelImpl.cc and added
790         java/nio/channels/natFileChannelImpl.cc.
791         * Makefile.in: Regenerated.
792
793 2003-07-13  Michael Koch  <konqueror@gmx.de>
794
795         * javax/swing/plaf/basic/BasicBorders.java,
796         javax/swing/plaf/basic/BasicLabelUI.java,
797         javax/swing/plaf/basic/BasicLookAndFeel.java,
798         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
799         javax/swing/plaf/basic/BasicTextUI.java,
800         javax/swing/plaf/metal/MetalLookAndFeel.java:
801         New versions from classpath.
802
803 2003-07-13  Michael Koch  <konqueror@gmx.de>
804
805         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
806         * gnu/java/awt/peer/gtk/GdkGraphics.java
807         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
808         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
809         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
810         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
811         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
812         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
813         * gnu/java/awt/peer/gtk/GtkClipboard.java
814         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
815         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
816         * gnu/java/awt/peer/gtk/GtkFramePeer.java
817         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
818         * gnu/java/awt/peer/gtk/GtkImage.java
819         * gnu/java/awt/peer/gtk/GtkImagePainter.java
820         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
821         * gnu/java/awt/peer/gtk/GtkListPeer.java
822         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
823         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
824         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
825         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
826         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
827         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
828         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
829         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
830         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
831         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
832         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
833         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
834
835 2003-07-13  Michael Koch  <konqueror@gmx.de>
836
837         * gnu/java/locale/LocaleInformation_de.java
838         * gnu/java/locale/LocaleInformation_en.java
839         * gnu/java/locale/LocaleInformation_nl.java
840
841 2003-07-13  Michael Koch  <konqueror@gmx.de>
842
843         * gnu/java/awt/EmbeddedWindow.java,
844         gnu/java/awt/EmbeddedWindowSupport.java,
845         gnu/java/awt/natEmbeddedWindow.cc:
846         New files.
847         * java/awt/Window.java
848         (Window): New constructor to support embedded windows.
849         * Makefile.am
850         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
851         gnu/java/awt/EmbeddedWindowSupport.java.
852         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
853         * Makefile.in: Regenerated.
854
855 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
856
857         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
858         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
859         * java/awt/im/InputContext.java: Remove a redundant
860         partial line.
861
862 2003-07-09  Tom Tromey  <tromey@redhat.com>
863
864         * Makefile.in: Rebuilt.
865         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
866
867 2003-07-09  Mark Wielaard  <mark@klomp.org>
868
869         * java/io/ObjectOutputStream.java (writeObject): break after
870         calling writeClassDescriptor().
871
872 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
873
874         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
875
876 2003-07-09  Michael Koch  <konqueror@gmx.de>
877
878         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
879         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
880         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
881         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
882         Explicitly import used classes.
883         * java/awt/Container.java: New version from classpath.
884
885 2003-07-09  Michael Koch  <konqueror@gmx.de>
886
887         * libgcj.pc.in: New file.
888         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
889         * Makefile.in: Regenerated.
890         * configure: Regenrated.
891         * configure.in: Create libgcj.pc from libgcj.pc.in.
892
893 2003-07-08  Mark Wielaard <mark@klomp.org>
894
895         * gcj/cni.h: CNI now expands to Compiled Native Interface.
896
897         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
898         * java/lang/fdlibm.h: Likewise.
899
900 2003-07-07  Adam Megacz <adam@xwt.org>
901
902         * posix.cc: added #include<stdio.h>
903                 
904 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
905
906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
907         formatting.
908
909         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
910         (setCaretPosition, setEditable): Rely entirely on native
911         implementation.
912         (getArgs): Remove.
913         (postTextEvent): New method.
914         (handleEvent): New method.
915         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
916         method.
917         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
919         (keysym_to_awt_keycode): Fix range checks.
920         (generates_key_typed_event): New function.
921         (awt_event_handler): Post AWT_KEY_RELEASED events to event
922         queue.
923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
924         (gtkInit): Store TextComponent's postTextEvent method ID.
925         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
926         (setText): Post TEXT_VALUE_CHANGED event to event queue.
927
928 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
929
930         * configure.in: Check for usleep declaration.
931         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
932         * configure: Regenerate.
933         * include/config.h.in: Likewise.
934         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
935
936 2003-07-01  Michael Koch  <konqueror@gmx.de>
937
938         * gnu/gcj/convert/natIconv.cc
939         (iconv_init): Fixed possible memory leak by releasing allocated iconv
940         handle.
941
942 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
943
944         * glib-2.0.m4: New file.
945         * gtk-2.0.m4: New file.
946         * glib.m4: Remove.
947         * gtk.m4: Remove.
948         * configure.in: Update AM_PATH_GTK macro call to
949         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
951         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
952         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
953         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
954         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
955         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
956         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
957         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
958         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
959         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
961         jni/gtk-peer/gthread-jni.c,
962         jni/gtk-peer/gthread-jni.h:
963         New versions from classpath.
964         * aclocal.m4: Regenerate.
965         * configure: Regenerate.
966         * Makefile.in: Regenerate.
967         * gcj/Makefile.in: Regenerate.
968         * include/Makefile.in: Regenerate.
969         * testsuite/Makefile.in: Regenerate.
970
971 2003-06-30  Gary Benson  <gbenson@redhat.com>
972
973         For PR libgcj/11349:
974         * javax/naming/spi/NamingManager.java (getURLContext): Use
975         correct name for factory class.
976
977 2003-06-28  Michael Koch  <konqueror@gmx.de>
978
979         * java/io/PrintStream.java
980         (checkError): Call flush() instead of direct flushing of the Writer
981         object.
982         (print): Call print(String) instead of direct print method of the
983         Writer Object.
984         (println): Call println(String) instead of direct println method of the
985         Writer Object.
986         (write): Simplified.
987
988 2003-06-28  Michael Koch  <konqueror@gmx.de>
989
990         * java/net/ServerSocket.java
991         (setChannel): New method.
992         * java/net/Socket.java
993         (setChannel): New method.
994
995 2003-06-27  Michael Koch  <konqueror@gmx.de>
996
997         * java/beans/beancontext/BeanContextSupport.java:
998         New version from classpath.
999
1000 2003-06-27  Michael Koch  <konqueror@gmx.de>
1001
1002         * java/awt/Window.java,
1003         java/awt/font/GraphicAttribute.java,
1004         java/awt/font/ImageGraphicAttribute.java,
1005         java/awt/image/DataBufferByte.java,
1006         java/awt/image/DataBufferInt.java,
1007         java/awt/image/DataBufferUShort.java,
1008         java/awt/image/DirectColorModel.java,
1009         java/awt/image/PixelGrabber.java:
1010         New versions from classpath.
1011
1012 2003-06-27  Michael Koch  <konqueror@gmx.de>
1013
1014         * java/security/Certificate.java
1015         (getGuarantor): Removed wrong @deprecated tag.
1016         (getPrincipal): Likewise.
1017         (getPublicKey): Likewise.
1018         (encode): Likewise.
1019         (decode): Likewise.
1020         (getFormat): Likewise.
1021         (toString): Likewise.
1022         * java/security/cert/PolicyQualifierInfo.java
1023         (PolicyQualifierInfo): Made final.
1024         * javax/security/auth/x500/X500Principal.java
1025         (serialVersionUID): New member variable.
1026
1027 2003-06-27  Michael Koch  <konqueror@gmx.de>
1028
1029         * java/text/Format.java
1030         (serialVersionUID): Fixed value.
1031
1032 2003-06-27  Michael Koch  <konqueror@gmx.de>
1033
1034         * java/net/Inet4Address.java
1035         (Inet4Address): Made package-private.
1036         * java/net/Inet6Address.java
1037         (Inet4Address): Made package-private.
1038
1039 2003-06-27  Michael Koch  <konqueror@gmx.de>
1040
1041         * java/io/RandomAccessFile.java
1042         (readLine): Removed wrong @deprecated tag.
1043         (getChannel): Made final.
1044
1045 2003-06-27  Michael Koch  <konqueror@gmx.de>
1046
1047         * gnu/java/nio/FileChannelImpl.java
1048         (write): Removed.
1049
1050 2003-06-27  Michael Koch  <konqueror@gmx.de>
1051
1052         * java/nio/ByteBufferImpl.java
1053         (ByteBufferImpl): Made it a package-private class
1054         * java/nio/CharBufferImpl.java
1055         (CharBufferImpl): Made it a package-private class
1056         * java/nio/DirectByteBufferImpl.java
1057         (DirectByteBufferImpl): Made it a package-private class
1058         * java/nio/DoubleBufferImpl.java
1059         (DoubleBufferImpl): Made it a package-private class
1060         * java/nio/FloatBufferImpl.java
1061         (FloatBufferImpl): Made it a package-private class
1062         * java/nio/IntBufferImpl.java
1063         (IntBufferImpl): Made it a package-private class
1064         * java/nio/LongBufferImpl.java
1065         (LongBufferImpl): Made it a package-private class
1066         * java/nio/ShortBufferImpl.java
1067         (ShortBufferImpl): Made it a package-private class
1068         * java/nio/channels/FileChannel.java
1069         (write): Made final.
1070         * java/nio/channels/ServerSocketChannel.java
1071         (ServerSocketChanne): Made protected.
1072
1073 2003-06-27  Michael Koch  <konqueror@gmx.de>
1074
1075         * javax/naming/CompositeName.java
1076         (serialVersionUID): New member variable.
1077         * javax/naming/CompoundName.java
1078         (serialVersionUID): New member variable.
1079         * javax/naming/InitialContext.java
1080         (InitialContext): Throws NamingException.
1081         (init): Likewise.
1082         * javax/naming/LinkRef.java
1083         (serialVersionUID): New member variable.
1084         (gteLinkName): Throws NamingException.
1085         * javax/naming/NamingException.java
1086         (serialVersionUID): New member variable.
1087         * javax/naming/NamingSecurityException.java
1088         (NamingSecurityException): Made abstract.
1089         (serialVersionUID): New member variable.
1090         * javax/naming/ReferralException.java
1091         (serialVersionUID): New member variable.
1092         * javax/naming/StringRefAddr.java
1093         (serialVersionUID): New member variable.
1094         * javax/naming/directory/BasicAttribute.java:
1095         Reworked imports.
1096         (serialVersionUID): New member variable.
1097         (get): Throws NamingException.
1098         (getAll): Throws NamingException.
1099         * javax/naming/directory/BasicAttributes.java:
1100         Reworked imports.
1101         (serialVersionUID): New member variable.
1102         * javax/naming/ldap/UnsolicitedNotificationEvent.java
1103         (serialVersionUID): New member variable.
1104
1105 2003-06-27  Michael Koch  <konqueror@gmx.de>
1106
1107         * Makefile.am
1108         (awt_java_source_files): Added new files:
1109         javax/swing/Popup.java,
1110         javax/swing/PopupFactory.java
1111         * Makefile.in: Regenerated.
1112
1113 2003-06-27  Michael Koch  <konqueror@gmx.de>
1114
1115         * javax/swing/JWindow.java,
1116         javax/swing/event/AncestorEvent.java,
1117         javax/swing/event/HyperlinkEvent.java,
1118         javax/swing/event/InternalFrameEvent.java,
1119         javax/swing/event/ListDataEvent.java,
1120         javax/swing/event/TableModelEvent.java,
1121         javax/swing/plaf/PopupMenuUI.java,
1122         javax/swing/plaf/SplitPaneUI.java,
1123         javax/swing/plaf/TabbedPaneUI.java,
1124         javax/swing/plaf/TextUI.java,
1125         javax/swing/plaf/TreeUI.java,
1126         javax/swing/plaf/basic/BasicTextUI.java,
1127         javax/swing/plaf/basic/BasicTreeUI.java:
1128         New versions from classpath.
1129         * javax/swing/Popup.java,
1130         javax/swing/PopupFactory.jav:
1131         New source files from classpath.
1132         * javax/swing/plaf/doc-files/TreeUI-1.png:
1133         New binary files from classpath.
1134
1135 2003-06-25  Michael Koch  <konqueror@gmx.de>
1136
1137         * Makefile.am
1138         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1139         * Makefile.in: Regenerated.
1140
1141 2003-06-25  Michael Koch  <konqueror@gmx.de>
1142
1143         * javax/swing/plaf/ActionMapUIResource.java,
1144         javax/swing/plaf/BorderUIResource.java,
1145         javax/swing/plaf/ButtonUI.java,
1146         javax/swing/plaf/ColorChooserUI.java,
1147         javax/swing/plaf/ColorUIResource.java,
1148         javax/swing/plaf/ComboBoxUI.java,
1149         javax/swing/plaf/ComponentInputMapUIResource.java,
1150         javax/swing/plaf/ComponentUI.java,
1151         javax/swing/plaf/DesktopIconUI.java,
1152         javax/swing/plaf/DesktopPaneUI.java,
1153         javax/swing/plaf/DimensionUIResource.java,
1154         javax/swing/plaf/FileChooserUI.java,
1155         javax/swing/plaf/FontUIResource.java,
1156         javax/swing/plaf/IconUIResource.java,
1157         javax/swing/plaf/InputMapUIResource.java,
1158         javax/swing/plaf/InsetsUIResource.java,
1159         javax/swing/plaf/InternalFrameUI.java,
1160         javax/swing/plaf/LabelUI.java,
1161         javax/swing/plaf/ListUI.java,
1162         javax/swing/plaf/MenuBarUI.java,
1163         javax/swing/plaf/MenuItemUI.java,
1164         javax/swing/plaf/OptionPaneUI.java,
1165         javax/swing/plaf/PanelUI.java,
1166         javax/swing/plaf/ProgressBarUI.java,
1167         javax/swing/plaf/RootPaneUI.java,
1168         javax/swing/plaf/ScrollBarUI.java,
1169         javax/swing/plaf/ScrollPaneUI.java,
1170         javax/swing/plaf/SeparatorUI.java,
1171         javax/swing/plaf/SliderUI.java,
1172         javax/swing/plaf/TableHeaderUI.java,
1173         javax/swing/plaf/TableUI.java,
1174         javax/swing/plaf/ToolBarUI.java,
1175         javax/swing/plaf/ToolTipUI.java,
1176         javax/swing/plaf/ViewportUI.java:
1177         New versions from classpath.
1178         * javax/swing/plaf/SpinnerUI.java: 
1179         New file from classpath
1180
1181 2003-06-25  Michael Koch  <konqueror@gmx.de>
1182
1183         * java/awt/image/ColorModel.java:
1184         New version from classpath.
1185
1186 2003-06-25  Michael Koch  <konqueror@gmx.de>
1187
1188         * java/net/PlainDatagramSocketImpl.java:
1189         Partly merged with classpath, this mainly adds documentation.
1190
1191 2003-06-25  Michael Koch  <konqueror@gmx.de>
1192
1193         * java/io/ObjectInputStream.java
1194         (readClassDescriptor): New method.
1195         (readObject): Moved functionality to readClassDescriptor().
1196         * java/io/ObjectOutputStream.java
1197         (writeClassDescriptor): New method.
1198         (writeObject): Moved functionality to writeClassDescriptor().
1199
1200 2003-06-25  Michael Koch  <konqueror@gmx.de>
1201
1202         * javax/swing/plaf/basic/BasicListUI.java,
1203         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1204         Added missing methods.
1205
1206 2003-06-25  Michael Koch  <konqueror@gmx.de>
1207
1208         * javax/swing/event/AncestorEvent.java
1209         javax/swing/event/HyperlinkEvent.java
1210         javax/swing/event/InternalFrameEvent.java
1211         javax/swing/event/ListDataEvent.java
1212         javax/swing/event/TableModelEvent.java:
1213         Compile fixes.
1214
1215 2003-06-24  Michael Koch  <konqueror@gmx.de>
1216
1217         * java/net/URL.java:
1218         Renamed "handler" to "ph" in the whole file to match classpaths
1219         version.
1220         * java/net/URLStreamHandler.java:
1221         (equals): Renamed "handler" to "ph".
1222
1223 2003-06-24  Michael Koch  <konqueror@gmx.de>
1224
1225         * javax/swing/event/AncestorEvent.java,
1226         javax/swing/event/HyperlinkEvent.java,
1227         javax/swing/event/InternalFrameEvent.java,
1228         javax/swing/event/ListDataEvent.java,
1229         javax/swing/event/TableModelEvent.java,
1230         javax/swing/event/TreeWillExpandListener.java,
1231         javax/swing/plaf/ComponentUI.java,
1232         javax/swing/plaf/DesktopIconUI.java,
1233         javax/swing/plaf/DesktopPaneUI.java,
1234         javax/swing/plaf/DimensionUIResource.java,
1235         javax/swing/plaf/FileChooserUI.java,
1236         javax/swing/plaf/FontUIResource.java,
1237         javax/swing/plaf/IconUIResource.java,
1238         javax/swing/plaf/InputMapUIResource.java,
1239         javax/swing/plaf/InsetsUIResource.java,
1240         javax/swing/plaf/InternalFrameUI.java,
1241         javax/swing/plaf/LabelUI.java,
1242         javax/swing/plaf/ListUI.java,
1243         javax/swing/plaf/MenuBarUI.java,
1244         javax/swing/plaf/MenuItemUI.java,
1245         javax/swing/plaf/OptionPaneUI.java,
1246         javax/swing/plaf/PanelUI.java,
1247         javax/swing/plaf/ProgressBarUI.java,
1248         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1249         javax/swing/plaf/doc-files/ComponentUI-1.png:
1250         New versions from classpath.
1251
1252 2003-06-24  Michael Koch  <konqueror@gmx.de>
1253
1254         * java/nio/Buffer.java
1255         (cap): Made package-private.
1256         (pos): Likewise.
1257         (limit): Likewise.
1258         (mark): Likewise.
1259
1260 2003-06-24  Michael Koch  <konqueror@gmx.de>
1261
1262         * java/net/SocketImpl.java
1263         (shutdownInput): Made it non-abstract method throwing an exception
1264         like in SUNs JRE.
1265         (shutdownOutput): Likewise.
1266         * java/net/SocketInputStream.java,
1267         java/net/SocketOutputStream.java:
1268         New files from classpath.
1269
1270 2003-06-24  Michael Koch  <konqueror@gmx.de>
1271
1272         * java/awt/Font.java,
1273         java/awt/Window.java,
1274         java/awt/color/ColorSpace.java,
1275         java/awt/datatransfer/StringSelection.java,
1276         java/awt/image/ColorModel.java:
1277         New versions from classpath.
1278
1279 2003-06-24  Michael Koch  <konqueror@gmx.de>
1280
1281         * Makefile.am
1282         (awt_java_source_files): Added new files:
1283         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1284         javax/swing/plaf/basic/BasicSplitPaneUI.java
1285         * Makefile.in: Regenerated.
1286
1287 2003-06-24  Michael Koch  <konqueror@gmx.de>
1288
1289         * javax/swing/text/JTextComponent.java:
1290         New version from classpath.
1291
1292 2003-06-24  Michael Koch  <konqueror@gmx.de>
1293
1294         * javax/swing/Timer.java,
1295         javax/swing/plaf/ActionMapUIResource.java,
1296         javax/swing/plaf/ButtonUI.java,
1297         javax/swing/plaf/ColorChooserUI.java,
1298         javax/swing/plaf/ColorUIResource.java,
1299         javax/swing/plaf/ComboBoxUI.java,
1300         javax/swing/plaf/ComponentInputMapUIResource.java,
1301         javax/swing/plaf/basic/BasicBorders.java:
1302         New versions from classpath.
1303         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1304         javax/swing/plaf/basic/BasicSplitPaneUI.java:
1305         New file from classpath.
1306         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1307         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1308         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1309         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1310         javax/swing/plaf/doc-files/ComponentUI-1.png:
1311         New binary files from classpath.
1312
1313 2003-06-24  Michael Koch  <konqueror@gmx.de>
1314
1315         * java/io/LineNumberReader.java
1316         (skip): Dont do line number accounting here as this is already done in
1317         read(), simplified.
1318
1319 2003-06-21  Michael Koch  <konqueror@gmx.de>
1320
1321         * java/io/File.java
1322         (static): Load javaio lib if existing (only in classpath).
1323         (File): Revised documentation to show the correct argument name.
1324         (createTempFile): Partly merged with classpath.
1325         (compareTo): Simplified.
1326         (lastModified): Throw exception if time < 0.
1327         (deleteOnExit): Revised documentation.
1328
1329 2003-06-21  Michael Koch  <konqueror@gmx.de>
1330
1331         * java/net/PlainSocketImpl.java:
1332         Reformatted.
1333         (PlainSocketImpl): Merged class documentaion with classpath.
1334         (in): Moved.
1335         (out): Moved.
1336         (PlainSocketImpl): New empty constructor.
1337         (finalize): Moved.
1338         (setOption): Merged documentation from classpath.
1339         (getOption): Likewise.
1340         (create): Likewise.
1341         (connect): Likewise.
1342         (bind): Likewise.
1343         (listen): Likewise.
1344         (accept): Likewise.
1345         (available): Likewise.
1346         (close): Likewise.
1347         (read): Likewise.
1348         (write): Likewise.
1349         (getInputStream): Made synchronozed to get sure that only one stream
1350         object can be created for this socket, merged documentation from
1351         classpath.
1352         (getOutputStream): Likewise.
1353
1354 2003-06-21  Michael Koch  <konqueror@gmx.de>
1355
1356         * java/net/PlainSocketImpl.java:
1357         Reformatting.
1358         (static): New implicit method.
1359         (read): Made package private.
1360         (write): Likewise.
1361
1362 2003-06-21  Michael Koch  <konqueror@gmx.de>
1363
1364         * java/util/SimpleTimeZone.java:
1365         Removed unneeded import, reformatting.
1366
1367 2003-06-21  Michael Koch  <konqueror@gmx.de>
1368
1369         * java/text/DateFormat.java,
1370         java/text/SimpleDateFormat.java,
1371         java/util/Locale.java:
1372         New versions from classpath.
1373
1374 2003-06-21  Michael Koch  <konqueror@gmx.de>
1375
1376         * javax/swing/SpinnerModel.java:
1377         New file from classpath.
1378         * javax/swing/border/LineBorder.java,
1379         javax/swing/border/SoftBevelBorder.java,
1380         javax/swing/plaf/BorderUIResource.java,
1381         javax/swing/plaf/basic/BasicBorders.java:
1382         New versions from classpath.
1383         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1384         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1385         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1386         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1387         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1388         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1389         New binary files from classpath.
1390
1391 2003-06-21  Michael Koch  <konqueror@gmx.de>
1392
1393         * java/util/logging/LogRecord.java,
1394         java/util/logging/Logger.java,
1395         java/util/logging/SocketHandler.java,
1396         java/util/logging/SimpleFormatter.java,
1397         java/util/logging/Formatter.java,
1398         java/util/logging/ErrorManager.java,
1399         java/util/logging/Handler.java,
1400         java/util/logging/FileHandler.java,
1401         java/util/logging/LogManager.java,
1402         java/util/logging/Level.java,
1403         java/util/logging/ConsoleHandler.java,
1404         java/util/logging/StreamHandler.java,
1405         java/util/logging/LoggingPermission.java,
1406         java/util/logging/Filter.java,
1407         java/util/logging/MemoryHandler.java,
1408         java/util/logging/XMLFormatter.java:
1409         New files from classpath.
1410
1411 2003-06-20  Michael Koch  <konqueror@gmx.de>
1412
1413         * java/io/ObjectStreamField.java
1414         (unshared): new member variable.
1415         (ObjectStreamField): New constructor.
1416         (isUnshared): New method.
1417
1418 2003-06-20  Michael Koch  <konqueror@gmx.de>
1419
1420         * java/net/URLStreamHandler.java
1421         (hostsEqual): Rewritten.
1422
1423 2003-06-20  Michael Koch  <konqueror@gmx.de>
1424
1425         * gnu/java/nio/MappedByteFileBuffer.java,
1426         gnu/java/nio/natMappedByteFileBuffer.cc:
1427         Removed
1428         * java/nio/MappedByteBufferImpl.java:
1429         New file.
1430         * gnu/java/nio/FileChannelImpl.java:
1431         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1432         * Makefile.am
1433         (ordinary_java_source_files): Removed
1434         gnu/java/nio/MappedByteFileBuffer.java and added
1435         java/nio/MappedByteBufferImpl.java.
1436         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1437         * Makefile.in: Regenerated.
1438
1439 2003-06-19  Michael Koch  <konqueror@gmx.de>
1440
1441         * gnu/java/nio/DatagramChannelImpl.java
1442         (fd): Removed.
1443         (blocking): New member variable.
1444         (socket): Likewise.
1445         (DatagramChannelImpl): Throws IOException, initialize socket.
1446         (socket):Implemented.
1447         (implCloseSelectableChannel): Throws IOException, implemented.
1448         (implConfigureBlocking): Likewise.
1449         (connect): Likewise.
1450         (disconnect): Likewise.
1451         (isConnected): Likewise.
1452         (write): Likewise.
1453         (read): Likewise.
1454         (receive): Throws IOException.
1455         (send): Likewise.
1456         * gnu/java/nio/SocketChannelImpl.java
1457         (read): Implemented.
1458         (write): Implemented.
1459
1460 2003-06-19  Michael Koch  <konqueror@gmx.de>
1461
1462         * javax/swing/JComponent.java,
1463         javax/swing/JInternalFrame.java,
1464         javax/swing/MenuSelectionManager.java,
1465         javax/swing/SwingUtilities.java,
1466         javax/swing/ToggleButtonModel.java:
1467         New versions from classpath.
1468
1469 2003-06-19  Michael Koch  <konqueror@gmx.de>
1470
1471         * java/text/CollationElementIterator.java
1472         (NULLORDER): Initialize with -1 as JDK documentation says.
1473
1474 2003-06-19  Michael Koch  <konqueror@gmx.de>
1475
1476         * java/net/HttpURLConnection.java,
1477         java/net/Inet4Address.java,
1478         java/net/Inet6Address.java,
1479         java/net/SocketImpl.java,
1480         java/net/URLClassLoader.java:
1481         Reworked import statements.
1482         * java/net/InetAddress.java
1483         (getByAddress): Simplified.
1484         * java/net/ServerSocket.java
1485         (ServerSocket): Moved special handling during bind operation to
1486         bind().
1487         (bind): Handle different cases when trying to bind a socket.
1488         * java/net/URLConnection.java
1489         (getHeaderFieldDate): Merged with classpath.
1490         (getHeaderFieldInt): Likewise.
1491
1492 2003-06-19  Michael Koch  <konqueror@gmx.de>
1493
1494         * java/util/zip/InflaterInputStream.java
1495         (InflaterInputStream): Throw NullPointerException if in is null (as
1496         JDK does).
1497
1498 2003-06-19  Michael Koch  <konqueror@gmx.de>
1499
1500         * java/awt/Font.java
1501         javax/swing/UIManager.java
1502         javax/swing/border/AbstractBorder.java
1503         javax/swing/border/BevelBorder.java
1504         javax/swing/border/Border.java
1505         javax/swing/border/CompoundBorder.java
1506         javax/swing/border/EmptyBorder.java
1507         javax/swing/border/EtchedBorder.java
1508         javax/swing/border/LineBorder.java
1509         javax/swing/border/MatteBorder.java
1510         javax/swing/border/TitledBorder.java
1511         javax/swing/plaf/BorderUIResource.java
1512         javax/swing/plaf/basic/BasicBorders.java
1513         javax/swing/plaf/basic/BasicButtonUI.java
1514         javax/swing/plaf/basic/BasicCheckBoxUI.java
1515         javax/swing/plaf/basic/BasicGraphicsUtils.java
1516         javax/swing/plaf/basic/BasicLabelUI.java
1517         javax/swing/plaf/basic/BasicRadioButtonUI.java
1518         javax/swing/plaf/basic/BasicToggleButtonUI.java:
1519         New versions from classpath.
1520         * javax/swing/border/SoftBevelBorder.java:
1521         New file from classpath.
1522         * javax/swing/border/doc-files/LineBorder-1.png,
1523         javax/swing/border/doc-files/BevelBorder-1.png,
1524         javax/swing/border/doc-files/BevelBorder-2.png,
1525         javax/swing/border/doc-files/BevelBorder-3.png,
1526         javax/swing/border/doc-files/EmptyBorder-1.png,
1527         javax/swing/border/doc-files/EtchedBorder-1.png,
1528         javax/swing/border/doc-files/EtchedBorder-2.png,
1529         javax/swing/border/doc-files/MatteBorder-1.png,
1530         javax/swing/border/doc-files/MatteBorder-2.png,
1531         javax/swing/border/doc-files/MatteBorder-3.png,
1532         javax/swing/border/doc-files/MatteBorder-4.png,
1533         javax/swing/border/doc-files/MatteBorder-5.png,
1534         javax/swing/border/doc-files/MatteBorder-6.png,
1535         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1536         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1537         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1538         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1539         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1540         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1541         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1542         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1543         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1544         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1545         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1546         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1547         New binary files from classpath.
1548         * Makefile.am
1549         (awt_java_source_files): Added
1550         javax/swing/border/SoftBevelBorder.java.
1551         * Makefile.in: Regenerated.
1552
1553 2003-06-19  Michael Koch  <konqueror@gmx.de>
1554
1555         * gnu/java/security/x509/X509Certificate.java
1556         (writeReplace): Merged from classpath.
1557
1558 2003-06-19  Michael Koch  <konqueror@gmx.de>
1559
1560         * gnu/java/nio/FileChannelImpl.java
1561         (map_address): Made public.
1562         (FileChannelImpl): Merged with classpath.
1563         * gnu/java/nio/natFileChannelImpl.cc
1564         (nio_mmap_file): Commented out unused arguments.
1565         (nio_unmmap_file): Likewise.
1566         (niu_msync): Likewise.
1567
1568 2003-06-19  Michael Koch  <konqueror@gmx.de>
1569
1570         * java/awt/image/IndexColorModel.java:
1571         New version from classpath.
1572
1573 2003-06-18  Tom Tromey  <tromey@redhat.com>
1574
1575         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1576         on arrays.
1577         (isLoopbackAddress): Likewise.
1578         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1579         on arrays.
1580
1581 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
1582
1583         * java/lang/natVMSecurityManager.cc (getClassContext):
1584         Use maxlen instead of len for loop bound.
1585
1586 2003-06-18  Michael Koch  <konqueror@gmx.de>
1587
1588         * gnu/java/nio/SelectorImpl.java
1589         (register): Use fd with value 0 for now, will be fixed later.
1590         * gnu/java/nio/ServerSocketChannelImpl.java
1591         (fd): Removed.
1592         (local_port): Removed.
1593         (InetSocketAddress): Removed.
1594         (ServerSocketChannelImpl): Just initialize internal socket object.
1595         (implCloseSelectableChannel): Close internal socket object.
1596         (implConfigureBlocking): Added comment.
1597         (accept): Use jaba.net stuff to accept socket.
1598         * gnu/java/nio/SocketChannelImpl.java
1599         (fd): Removed.
1600         (local_port): Removed.
1601         (InetSocketAddress): Removed.
1602         (SocketCreate): Removed.
1603         (SocketConnect): Removed.
1604         (SocketBind): Removed.
1605         (SocketListen): Removed.
1606         (SocketAvailable): Removed.
1607         (SocketClose): Removed.
1608         (SocketRead): Removed.
1609         (SocketWrite): Removed.
1610         (SocketChannelImpl): Just initialize internal socket object.
1611         (implCloseSelectableChannel): Close internal socket object.
1612         (implConfigureBlocking): Fixed implementation, added comment.
1613         (connect): Use internal socket object to connect.
1614         (socket): No need for sanity checks.
1615         (read): Comment out some stuff, this will be reimplemented in the next
1616         commit.
1617         (write): Likewise.
1618         * gnu/java/nio/natFileChannelImpl.cc
1619         (nio_mmap_file): Line wrapped.
1620         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1621         * Makefile.am
1622         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1623         * Makefile.in: Regenerated.
1624
1625 2003-06-18  Michael Koch  <konqueror@gmx.de>
1626
1627         * java/util/Locale.java
1628         (equals): Merged from classpath.
1629
1630 2003-06-18  Michael Koch  <konqueror@gmx.de>
1631
1632         * java/net/InetAddress.java:
1633         Reformatted to better match classpath's version.
1634         * java/net/URL.java
1635         (equals): Simplified.
1636         * java/net/URLConnection.java
1637         (setDoInput): Revised documentation.
1638         (getDefaultUseCaches): Likewise.
1639         (setRequestProperty): Added @since tag.
1640
1641 2003-06-17  Michael Koch  <konqueror@gmx.de>
1642
1643         * java/net/InetSocketAddress.java
1644         (InetSocketAddress): Use wildcard address if addr is null.
1645         (InetSocketAddress): Dont duplicate implementation.
1646         (InetSocketAddress): Throw exception when hostname is null.
1647         * java/net/Socket.java:
1648         Reworked imports.
1649         (Socket): Throw exception when raddr is null, handle case when laddr
1650         is null.
1651
1652 2003-06-17  Michael Koch  <konqueror@gmx.de>
1653
1654         * java/nio/DirectByteBufferImpl.java
1655         (address): Made package private.
1656         (DirectByteBufferImpl): New constructor.
1657         * java/nio/natDirectByteBufferImpl.cc
1658         (allocateImpl): Moved to java.nio namespace, implemented.
1659         (freeImpl): Likewise.
1660         (getImpl): Likewise.
1661         (putImpl): Likewise.
1662         * jni.cc
1663         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1664         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1665         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1666
1667 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1668
1669         * include/powerpc-signal.h: New File.
1670         * configure.in: Use it.
1671         * configure: Regenerated.
1672
1673 2003-06-17  Michael Koch  <konqueror@gmx.de>
1674
1675         * java/util/Locale.java
1676         (getDisplayLanguage): Made it final.
1677         (getDisplayCountry): Likewise.
1678         (getDisplayVariant): Likewise.
1679         (getDisplayName): Likewise.
1680
1681 2003-06-17  Michael Koch  <konqueror@gmx.de>
1682
1683         * java/util/PropertyResourceBundle.java:
1684         Removed unneeded import.
1685
1686 2003-06-17  Michael Koch  <konqueror@gmx.de>
1687
1688         * java/util/prefs/AbstractPreferences.java,
1689         java/util/prefs/PreferencesFactory.java:
1690         Reworked imports, removed unused imports.
1691         * java/util/prefs/Preferences.java
1692         (systemNodeForPackage): Method takes a Class not an Object.
1693         (userNodeForPackage): Likewise.
1694         (nodeForPackage): Likewise.
1695
1696 2003-06-17  Michael Koch  <konqueror@gmx.de>
1697
1698         * gnu/java/security/x509/X509Certificate.java:
1699         Explicitely import used classes.
1700
1701 2003-06-17  Michael Koch  <konqueror@gmx.de>
1702
1703         * java/util/zip/ZipEntry.java,
1704         java/util/zip/ZipFile.java,
1705         java/util/zip/ZipInputStream.java,
1706         java/util/zip/ZipOutputStream.java:
1707         Reworked imports, only import used classes.
1708
1709 2003-06-17  Michael Koch  <konqueror@gmx.de>
1710
1711         * gnu/java/lang/ArrayHelper.java,
1712         gnu/java/lang/ClassHelper.java:
1713         Reformatted to match classpath's versions.
1714
1715 2003-06-14  Michael Koch  <konqueror@gmx.de>
1716
1717         * gnu/java/nio/FileChannelImpl.java
1718         (map_address): Removed incorrect comment.        
1719         * gnu/java/nio/SelectorImpl.java
1720         (register): Remove code duplication and code for file channel handling.        
1721         * gnu/java/nio/ServerSocketChannelImpl.java
1722         (serverSocket): Renamed from sock_object.
1723         (ServerSocketChannel): Initialize serverSocket.
1724         (socket): Return serverSocket.
1725         * gnu/java/nio/SocketChannelImpl.java
1726         (socket): Renamed from sock_object.
1727         (isConnectionPenging): Simplified.
1728         (socket): Return socket.
1729 2003-06-14  Michael Koch  <konqueror@gmx.de>
1730
1731         * java/security/BasicPermission.java:
1732         New version from classpath.
1733
1734 2003-06-14  Michael Koch  <konqueror@gmx.de>
1735
1736         * javax/naming/directory/Attribute.java:
1737         New version from classpath.
1738
1739 2003-06-14  Michael Koch  <konqueror@gmx.de>
1740
1741         * java/io/BufferedReader.java,
1742         java/io/FileOutputStream.java:
1743         New versions from classpath.
1744
1745 2003-06-12  Andrew Haley  <aph@redhat.com>
1746
1747         * prims.cc (catch_segv): Create exception in handler.
1748         (catch_fpe): Likewise.  
1749         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1750         (_Jv_ThrowSignal): Remove.
1751
1752         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1753         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1754         to nullp and arithexception.
1755         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1756         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1757         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1758         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1759         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1760
1761 2003-06-11  Andrew Haley  <aph@redhat.com>
1762
1763         * jni.cc (_Jv_JNI_check_types): New.
1764         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1765         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1766         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1767         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1768         
1769         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1770         infinite loop.
1771
1772 2003-06-11  Tom Tromey  <tromey@redhat.com>
1773
1774         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1775         * java/io/PrintStream.java: Not deprecated.
1776
1777 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1778
1779         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1780         (fillOval): implemented
1781         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1782         (fillArc): implemented.
1783         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1784         (fillArc): added native method.
1785         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1786         (fillArc): added native method.
1787
1788 2003-06-11  Michael Koch  <konqueror@gmx.de>
1789
1790         * java/awt/im/InputSubset.java:
1791         New version from classpath.
1792
1793 2003-06-11  Michael Koch  <konqueror@gmx.de>
1794
1795         * javax/swing/AbstractAction.java,
1796         javax/swing/AbstractButton.java,
1797         javax/swing/AbstractCellEditor.java,
1798         javax/swing/AbstractListModel.java,
1799         javax/swing/BorderFactory.java,
1800         javax/swing/Box.java,
1801         javax/swing/BoxLayout.java,
1802         javax/swing/ButtonGroup.java,
1803         javax/swing/DefaultButtonModel.java,
1804         javax/swing/DefaultListModel.java,
1805         javax/swing/DefaultListSelectionModel.java,
1806         javax/swing/FocusManager.java,
1807         javax/swing/ImageIcon.java,
1808         javax/swing/InputMap.java,
1809         javax/swing/JApplet.java,
1810         javax/swing/JButton.java,
1811         javax/swing/JCheckBox.java,
1812         javax/swing/JCheckBoxMenuItem.java,
1813         javax/swing/JColorChooser.java,
1814         javax/swing/JComboBox.java,
1815         javax/swing/JComponent.java,
1816         javax/swing/JDesktopPane.java,
1817         javax/swing/JDialog.java,
1818         javax/swing/JEditorPane.java,
1819         javax/swing/JFileChooser.java,
1820         javax/swing/JFormattedTextField.java,
1821         javax/swing/JFrame.java,
1822         javax/swing/JLabel.java,
1823         javax/swing/JLayeredPane.java,
1824         javax/swing/JList.java,
1825         javax/swing/JMenuBar.java,
1826         javax/swing/JMenuItem.java,
1827         javax/swing/JOptionPane.java,
1828         javax/swing/JPanel.java,
1829         javax/swing/JPasswordField.java,
1830         javax/swing/JPopupMenu.java,
1831         javax/swing/JProgressBar.java,
1832         javax/swing/JRadioButton.java,
1833         javax/swing/JRadioButtonMenuItem.java,
1834         javax/swing/JRootPane.java,
1835         javax/swing/JScrollBar.java,
1836         javax/swing/JScrollPane.java,
1837         javax/swing/JSeparator.java,
1838         javax/swing/JSlider.java,
1839         javax/swing/JTabbedPane.java,
1840         javax/swing/JTable.java,
1841         javax/swing/JTextField.java,
1842         javax/swing/JToggleButton.java,
1843         javax/swing/JToolBar.java,
1844         javax/swing/JToolTip.java,
1845         javax/swing/JTree.java,
1846         javax/swing/JViewport.java,
1847         javax/swing/JWindow.java,
1848         javax/swing/KeyStroke.java,
1849         javax/swing/ListSelectionModel.java,
1850         javax/swing/LookAndFeel.java,
1851         javax/swing/RepaintManager.java,
1852         javax/swing/ScrollPaneLayout.java,
1853         javax/swing/SizeRequirements.java,
1854         javax/swing/SwingConstants.java,
1855         javax/swing/Timer.java,
1856         javax/swing/UIDefaults.java,
1857         javax/swing/UIManager.java,
1858         javax/swing/border/AbstractBorder.java,
1859         javax/swing/border/CompoundBorder.java,
1860         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1861         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1862         javax/swing/colorchooser/ColorSelectionModel.java,
1863         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1864         javax/swing/event/AncestorEvent.java,
1865         javax/swing/event/HyperlinkEvent.java,
1866         javax/swing/event/InternalFrameAdapter.java,
1867         javax/swing/event/InternalFrameEvent.java,
1868         javax/swing/event/ListDataEvent.java,
1869         javax/swing/event/MouseInputAdapter.java,
1870         javax/swing/event/SwingPropertyChangeSupport.java,
1871         javax/swing/event/TableModelEvent.java,
1872         javax/swing/event/TreeWillExpandListener.java,
1873         javax/swing/event/UndoableEditEvent.java,
1874         javax/swing/filechooser/FileFilter.java,
1875         javax/swing/filechooser/FileSystemView.java,
1876         javax/swing/filechooser/FileView.java,
1877         javax/swing/plaf/BorderUIResource.java,
1878         javax/swing/plaf/basic/BasicDefaults.java,
1879         javax/swing/table/AbstractTableModel.java,
1880         javax/swing/table/DefaultTableCellRenderer.java,
1881         javax/swing/table/DefaultTableColumnModel.java,
1882         javax/swing/table/DefaultTableModel.java,
1883         javax/swing/table/TableColumn.java,
1884         javax/swing/text/JTextComponent.java,
1885         javax/swing/tree/AbstractLayoutCache.java,
1886         javax/swing/tree/DefaultMutableTreeNode.java,
1887         javax/swing/tree/DefaultTreeCellEditor.java,
1888         javax/swing/tree/DefaultTreeCellRenderer.java,
1889         javax/swing/tree/DefaultTreeModel.java,
1890         javax/swing/tree/DefaultTreeSelectionModel.java,
1891         javax/swing/tree/FixedHeightLayoutCache.java,
1892         javax/swing/tree/TreeCellEditor.java,
1893         javax/swing/tree/TreeModel.java,
1894         javax/swing/tree/TreeNode.java,
1895         javax/swing/tree/TreePath.java,
1896         javax/swing/tree/TreeSelectionModel.java,
1897         javax/swing/tree/VariableHeightLayoutCache.java,
1898         javax/swing/undo/AbstractUndoableEdit.java,
1899         javax/swing/undo/CompoundEdit.java,
1900         javax/swing/undo/StateEdit.java,
1901         javax/swing/undo/UndoManager.java,
1902         javax/swing/undo/UndoableEditSupport.java:
1903         New versions from classpath.
1904         * javax/swing/table/JTableHeader.java:
1905         New file from classpath.
1906         * Makefile.am
1907         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1908         * Makefile.in: Regenerated.
1909
1910 2003-06-11  Michael Koch  <konqueror@gmx.de>
1911
1912         * java/nio/MappedByteBuffer.java,
1913         java/nio/channels/Channels.java,
1914         java/nio/channels/ServerSocketChannel.java,
1915         java/nio/channels/spi/AbstractSelector.java:
1916         Removed unneeded imports.
1917
1918 2003-06-11  Michael Koch  <konqueror@gmx.de>
1919
1920         * java/net/DatagramSocket.java:
1921         Partly merged with classpath.
1922
1923 2003-06-11  Michael Koch  <konqueror@gmx.de>
1924
1925         * java/awt/Frame.java,
1926         java/awt/Graphics.java,
1927         java/awt/Menu.java,
1928         java/awt/Robot.java,
1929         java/awt/image/ColorModel.java:
1930         New versions from classpath.
1931
1932 2003-06-10  Michael Koch  <konqueror@gmx.de>
1933
1934         * java/io/PrintStream.java:
1935         Merged version from classpath.
1936         (close): Removed sychronized keyword. This class is not garantied to
1937         be thread-safe.
1938         (write): Likewise.
1939
1940 2003-06-09  Tom Tromey  <tromey@redhat.com>
1941
1942         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1943         field.
1944         (getDescent): Likewise, for "descent".
1945
1946 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1947
1948         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1949         (getMaxDescent): adjusted return value.
1950         (getAscent): modified to use metrics for 'O'.
1951         (getDescent): modified to use metrics for 'y'.
1952
1953 2003-06-08  Anthony Green  <green@redhat.com>
1954
1955         * java/net/URLStreamHandler.java (sameFile): Fix port value
1956         comparison.
1957         * java/net/URL.java (handler): Make package private.
1958         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1959
1960 2003-06-07  Tom Tromey  <tromey@redhat.com>
1961
1962         For PR libgcj/11085:
1963         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1964         Limit number of characters in numeric field when required.
1965         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1966         Respect maximumIntegerDigits.
1967
1968 2003-06-08  Michael Koch  <konqueror@gmx.de>
1969
1970         * java/net/Socket.java
1971         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1972         call bind() and connect() to actually do the bind and connect tasks.
1973         (bind): Connect to canonical address if bindpoint is null, create
1974         socket and bind it to bindpoint.
1975         (connect): Check for exceptions.
1976
1977 2003-06-08  Michael Koch  <konqueror@gmx.de>
1978
1979         * java/net/DatagramSocket.java
1980         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1981         into the Multicast constructors.
1982         * java/net/DatagramSocketImpl.java
1983         (getOption): Removed.
1984         (setOption): Removed.
1985         * java/net/MulticastSocket.java
1986         (MulticastSocket): Call setReuseAddress (true).
1987         * java/net/SocketImpl.java
1988         (getOption): Removed.
1989         (setOption): Removed.
1990
1991 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1992
1993         PR libgcj/10886:
1994         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1995         Test for empty vector.
1996
1997 2003-06-06  Mark Wielaard  <mark@klomp.org>
1998
1999         * java/security/Security.java (secprops): Initialize.
2000         (loadProviders): Return boolean.
2001         (static): Check result of loadProvider calls. If necessary
2002         display WARNING and fallback to Gnu provider.
2003
2004 2002-06-06  James Clark  <jjc@jclark.com>
2005
2006         Fix for PR libgcj/8738:
2007         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2008         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2009         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2010         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2011         (write): Always decrease avail when count is increased.
2012         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2013         and whether output buffer is full before increasing size.
2014
2015 2002-06-06  Mark Wielaard  <mark@klomp dot org>
2016
2017         * java/io/PrintStream.java (writeChars(char[],int, int)):
2018         Check converter.havePendingBytes().
2019         (writeChars(String,int,int)): Likewise.
2020         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2021         Check converter.havePendingBytes() and flush buffer when stalled.
2022
2023 2003-06-07  Michael Koch  <konqueror@gmx.de>
2024
2025         * include/posix.h
2026         (O_DSYNC): Define O_DSYNC on platforms not
2027         supporting O_FSYNC (newlib).
2028
2029 2003-06-06  Mark Wielaard  <mark@klomp.org>
2030
2031         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2032         AWTError.
2033
2034 2003-06-06  Michael Koch  <konqueror@gmx.de>
2035
2036         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2037         More compile fixes from my stupid work yesterday.
2038
2039 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2040
2041         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2042         if _IEEE_LIBM is undefined.
2043
2044 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
2045
2046         * libjava/include/posix.h (O_SYNC): Define if not available
2047         and a reasonable, perhaps more conservative, replacement exists.
2048         (O_DSYNC): Likewise.
2049         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2050
2051 2003-06-05  Michael Koch  <konqueror@gmx.de>
2052
2053         * javax/swing/plaf/BorderUIResource.java,
2054         javax/swing/plaf/basic/BasicDefaults.java,
2055         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2056         More compile fixes for latest Border commit. I should not commit
2057         something in this heat here ...
2058
2059 2003-06-05  Michael Koch  <konqueror@gmx.de>
2060
2061         * javax/swing/border/BevelBorder.java
2062         (BevelBorder): Removed.
2063         * javax/swing/border/EmptyBorder.java:
2064         Reformatted.
2065         (EmptyBorder): Removed.
2066         (getBorderInsets): Dont use l, r, t and b.
2067         * javax/swing/border/EtchedBorder.java
2068         (EtchedBorder): Removed.
2069         * javax/swing/border/LineBorder.java
2070         (LineBorder): Removed.
2071         * javax/swing/border/MatteBorder.java
2072         (MatteBorder): Removed.
2073         * javax/swing/border/TitledBorder.java
2074         (defaultBorder): Use other default for now.
2075         (defaultFont): Likewise.
2076         (defaultColor): Likewise.
2077
2078 2003-06-05  Michael Koch  <konqueror@gmx.de>
2079
2080         * javax/swing/border/Border.java:
2081         New version from classpath.
2082
2083 2003-06-05  Michael Koch  <konqueror@gmx.de>
2084
2085         * javax/swing/border/AbstractBorder.java,
2086         javax/swing/border/BevelBorder.java,
2087         javax/swing/border/CompoundBorder.java,
2088         javax/swing/border/EmptyBorder.java,
2089         javax/swing/border/EtchedBorder.java,
2090         javax/swing/border/LineBorder.java,
2091         javax/swing/border/MatteBorder.java,
2092         javax/swing/border/TitledBorder.java:
2093         New versions from Classpath.
2094
2095 2003-06-05  Michael Koch  <konqueror@gmx.de>
2096
2097         * java/awt/Button.java,
2098         java/awt/Checkbox.java,
2099         java/awt/CheckboxMenuItem.java,
2100         java/awt/Choice.java,
2101         java/awt/Container.java,
2102         java/awt/Dialog.java,
2103         java/awt/EventQueue.java,
2104         java/awt/FileDialog.java,
2105         java/awt/Frame.java,
2106         java/awt/Label.java,
2107         java/awt/List.java,
2108         java/awt/Menu.java,
2109         java/awt/MenuItem.java,
2110         java/awt/Panel.java,
2111         java/awt/PopupMenu.java,
2112         java/awt/Rectangle.java,
2113         java/awt/ScrollPane.java,
2114         java/awt/Scrollbar.java,
2115         java/awt/TextArea.java,
2116         java/awt/TextField.java,
2117         java/awt/Window.java,
2118         java/awt/datatransfer/DataFlavor.java,
2119         java/awt/dnd/DragSource.java,
2120         java/awt/dnd/DragSourceContext.java,
2121         java/awt/event/HierarchyEvent.java,
2122         java/awt/event/MouseWheelEvent.java,
2123         java/awt/im/InputContext.java,
2124         java/awt/image/BufferedImage.java,
2125         java/awt/image/ComponentColorModel.java,
2126         java/awt/image/Raster.java,
2127         java/awt/image/WritableRaster.java,
2128         java/awt/peer/ComponentPeer.java,
2129         java/awt/print/PageFormat.java,
2130         java/awt/print/PrinterJob.java:
2131         New versions from Classpath.
2132
2133 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
2134
2135         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2136         numberFormat.setParseIntegerOnly(true).
2137
2138 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
2139
2140         * include/posix-threads.h: Include <machine/pal.h> on OSF.
2141
2142 2003-06-03  Andrew Haley  <aph@redhat.com>
2143
2144         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2145         stack volatile to prevent optimization from removing it.
2146
2147 2003-05-27  Michael Koch  <konqueror@gmx.de>
2148
2149         * java/util/zip/Deflater.java
2150         (FILTERED): Merged documentation from classpath.
2151         * java/util/zip/DeflaterOutputStream.java
2152         (DeflaterOutputStream): Merged documentation and argument validity
2153         check from classpath.
2154         (deflate): Merged documentation from classpath.
2155         (finish): Likewise.
2156         * java/util/zip/Inflater.java
2157         (Inflater): Merged class documentation from classpath.
2158         (zstream): Reordered.
2159         (is_finished): Reordered.
2160         (dict_needed): Reordered.
2161         (Inflater): Reordered, merged documentation from classpath.
2162         (end): Likewise.
2163         (finalize): Merged documentation from classpath.
2164         (finished): Likewise.
2165         (getAdler): Likewise.
2166         (getRemaining): Likewise.
2167         (getTotalIn): Likewise.
2168         (getTotalOut): Likewise.
2169         (inflate): Likewise.
2170         (needsDictionary): Likewise.
2171         (needsInput): Likewise.
2172         (reset): Likewise.
2173         (setDictionary): Likewise.
2174         (setInput): Likewise.
2175
2176 2003-05-27  Michael Koch  <konqueror@gmx.de>
2177
2178         * java/net/URLConnection.java
2179         (getHeaderFieldInt): Merged with classpath.
2180
2181 2003-05-27  Michael Koch  <konqueror@gmx.de>
2182
2183         * java/io/PrintStream.java
2184         (PrintStream): Reformatted.
2185         (PrintStream): New method, merged from classpath.
2186         (write): Reformatted.
2187
2188 2003-05-27  Michael Koch  <konqueror@gmx.de>
2189
2190         * java/lang/System.java:
2191         Explicitely import needed classes.
2192
2193 2003-05-26  Michael Koch  <konqueror@gmx.de>
2194
2195         * java/net/NetPermission.java,
2196         java/net/NetworkInterface.java,
2197         java/net/PasswordAuthentication.java,
2198         java/net/SocketPermission.java:
2199         New versions from classpath.
2200
2201 2003-05-25  Michael Koch  <konqueror@gmx.de>
2202
2203         * java/io/PushbackInputStream.java,
2204         java/net/Authenticator.java,
2205         java/net/ContentHandler.java,
2206         java/net/ContentHandlerFactory.java,
2207         java/net/DatagramSocket.java,
2208         java/net/DatagramSocketImpl.java,
2209         java/net/DatagramSocketImplFactory.java,
2210         java/net/FileNameMap.java,
2211         java/net/SocketImplFactory.java,
2212         java/net/SocketOptions.java,
2213         java/net/URLStreamHandlerFactory.java:
2214         Merged new versions from classpath.
2215
2216 2003-05-25  Michael Koch  <konqueror@gmx.de>
2217
2218         * java/awt/Checkbox.java,
2219         java/awt/Dialog.java,
2220         java/awt/Font.java,
2221         java/awt/Frame.java,
2222         java/awt/ScrollPaneAdjustable.java,
2223         java/awt/Scrollbar.java,
2224         java/awt/Window.java:
2225         New versions from classpath.
2226
2227 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
2228
2229         PR libgcj/10838:
2230         * java/io/ObjectInputStream (enableResolveObject):
2231         Fixed spelling of permission name.
2232
2233 2003-05-20  Michael Koch  <konqueror@gmx.de>
2234
2235         * java/io/DataInputStream.java
2236         (convertFromUTF): Merged comment from classpath.
2237         * java/io/PrintStream.java
2238         (error_occured): Renamed from error, merged comment from classpath.
2239         (PrintStream): No need to initialized error.
2240         (checkError): Replace error with error_occurred.
2241         (setError): Likewise.
2242
2243 2003-05-20  Michael Koch  <konqueror@gmx.de>
2244
2245         * java/io/DataInputStream.java:
2246         Reformatted, Replaced < and & with html entitites in documentation.
2247         * java/io/File.java:
2248         Reformatted.
2249         * java/io/PrintWriter.java:
2250         Moved class documentation.
2251
2252 2003-05-20  Michael Koch  <konqueror@gmx.de>
2253
2254         * gnu/java/nio/ByteBufferImpl.java,
2255         gnu/java/nio/CharBufferImpl.java,
2256         gnu/java/nio/CharViewBufferImpl.java,
2257         gnu/java/nio/DirectByteBufferImpl.java,
2258         gnu/java/nio/DoubleBufferImpl.java,
2259         gnu/java/nio/DoubleViewBufferImpl.java,
2260         gnu/java/nio/FloatBufferImpl.java,
2261         gnu/java/nio/FloatViewBufferImpl.java,
2262         gnu/java/nio/IntBufferImpl.java,
2263         gnu/java/nio/IntViewBufferImpl.java,
2264         gnu/java/nio/LongBufferImpl.java,
2265         gnu/java/nio/LongViewBufferImpl.java,
2266         gnu/java/nio/natDirectByteBufferImpl.cc,
2267         gnu/java/nio/ShortBufferImpl.java,
2268         gnu/java/nio/ShortViewBufferImpl.java:
2269         Moved files to java/nio.
2270         * gnu/java/nio/SocketChannelImpl.java
2271         
2272         * java/nio/ByteBuffer.java,
2273         java/nio/CharBuffer.java,
2274         java/nio/DoubleBuffer.java,
2275         java/nio/FloatBuffer.java,
2276         java/nio/IntBuffer.java,
2277         java/nio/LongBuffer.java,
2278         java/nio/ShortBuffer.java:
2279         Dont import anything.
2280         * java/nio/ByteBufferImpl.java,
2281         java/nio/CharBufferImpl.java,
2282         java/nio/CharViewBufferImpl.java,
2283         java/nio/DirectByteBufferImpl.java,
2284         java/nio/DoubleBufferImpl.java,
2285         java/nio/DoubleViewBufferImpl.java,
2286         java/nio/FloatBufferImpl.java,
2287         java/nio/FloatViewBufferImpl.java,
2288         java/nio/IntBufferImpl.java,
2289         java/nio/IntViewBufferImpl.java,
2290         java/nio/LongBufferImpl.java,
2291         java/nio/LongViewBufferImpl.java,
2292         java/nio/natDirectByteBufferImpl.cc,
2293         java/nio/ShortBufferImpl.java,
2294         java/nio/ShortViewBufferImpl.java:
2295         Moved from gnu/java/nio.
2296         * Makefile.am
2297         (ordinary_java_source_files): Moved files from gnu/java/nio to
2298         java/nio.
2299         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2300         to java/nio.
2301         * Makefile.in: Regenerated.
2302
2303 2003-05-19  Michael Koch  <konqueror@gmx.de>
2304
2305         * java/util/Calendar.java
2306         (get): Not final anymore since JDK 1.4
2307         (set): Likewise.
2308
2309 2003-05-19  Michael Koch  <konqueror@gmx.de>
2310
2311         * java/text/CollationKey.java:
2312         Merged copyright and dat from classpath.
2313         * java/text/RuleBasedCollator.java:
2314         Merged class documentation from classpath.
2315
2316 2003-05-19  Michael Koch  <konqueror@gmx.de>
2317
2318         * java/nio/CharBuffer.java
2319         (toString): Compile fix.
2320
2321 2003-05-19  Michael Koch  <konqueror@gmx.de>
2322
2323         * gnu/java/nio/ByteBufferImpl.java
2324         (putLong): Fixed conversion to bytes.
2325         (putDouble): Fixed conversion to bytes.
2326         * gnu/java/nio/DirectByteBufferImpl.java
2327         (putLong): Fixed conversion to bytes.
2328         (putDouble): Fixed conversion to bytes.
2329         * gnu/java/nio/FileLockImpl.java
2330         (isValid): Reformatted.
2331         * java/nio/Buffer.java
2332         (Buffer): Fixed off-by-one bug in handling mark.
2333         * java/nio/ByteBuffer.java:
2334         Added newline.
2335         * java/nio/CharBuffer.java
2336         (toString): Don't use relative get to get string data.
2337
2338 2003-05-16  Michael Koch  <konqueror@gmx.de>
2339
2340         * java/io/natFileDescriptorPosix.cc
2341         (open): Commented out the O_SYNC and O_DSYNC usage until its better
2342         tested.
2343
2344 2003-05-14  Michael Koch  <konqueror@gmx.de>
2345
2346         * gnu/java/nio/FileLockImpl.java
2347         (released): New member variable.
2348         (FileLockImpl): Initialize released.
2349         (releaseImpl): New native method.
2350         (release): Implemented.
2351         * gnu/java/nio/SelectorImpl.java: Reformatted.
2352         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2353         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2354         (accept): Throws IOException.
2355         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2356         (implConfigureBlocking): Throws IOException.
2357         (connect): Likewise.
2358         (read): Likewise.
2359         (write): Likewise.
2360         * gnu/java/nio/natFileLockImpl.cc: New file.
2361         * java/nio/channels/FileLock.java: Reformatted.
2362         * Makefile.am:
2363         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2364         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2365         * Makefile.in: Regenerated.
2366
2367 2003-05-13  Michael Koch  <konqueror@gmx.de>
2368
2369         * gnu/java/nio/CharViewBufferImpl.java
2370         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2371         (get): Shift bits to the right direction.
2372         (put): Likewise.
2373         * gnu/java/nio/DoubleViewBufferImpl.java
2374         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2375         (get): Shift bits to the right direction.
2376         (put): Likewise.
2377         * gnu/java/nio/FloatViewBufferImpl.java
2378         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2379         (get): Shift bits to the right direction.
2380         (put): Likewise.
2381         * gnu/java/nio/IntViewBufferImpl.java
2382         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2383         (get): Shift bits to the right direction.
2384         (put): Likewise.
2385         * gnu/java/nio/LongViewBufferImpl.java
2386         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2387         (get): Shift bits to the right direction.
2388         (put): Likewise.
2389         * gnu/java/nio/ShortViewBufferImpl.java
2390         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2391         (get): Shift bits to the right direction.
2392         (put): Likewise.
2393
2394 2003-05-13  Michael Koch  <konqueror@gmx.de>
2395
2396         * gnu/java/nio/natDirectByteBufferImpl.cc
2397         (allocateImpl): jlong -> RawData*.
2398         (freeImpl): Likewise.
2399
2400 2003-05-13  Michael Koch  <konqueror@gmx.de>
2401
2402         * java/nio/channels/FileChannel.java
2403         (MapMode.m): Made it package-private to match JDK 1.4.
2404         * java/nio/charset/Charset.java
2405         (decode): Made it final to match JDK 1.4.
2406
2407 2003-05-13  Michael Koch  <konqueror@gmx.de>
2408
2409        * java/io/FileDescriptor.java
2410        (SYNC): New constant.
2411        (DSYNC): Likewise.
2412        (getLength): Renamed from lenght() to match classpath's
2413        FileDescriptor.java.
2414        * java/io/RandomAccessFile.java
2415        (RandomAccessFile): Removed unneeded mode check, implemented mode
2416        "rws" and "rwd", merged documentation from classpath.
2417        (setLength): Reformatted.
2418        (length): Use new getLength() of FileDescriptor.
2419        * java/io/natFileDescriptorEcos.cc
2420        (getLength): Renamed from length().
2421        * java/io/natFileDescriptorPosix.cc
2422        (open): Implemented support for SYNC and DSYNC.
2423        (seek): Use getLength() instead of length().
2424        (getLength): Renamed from length().
2425        * java/io/natFileDescriptorWin32.cc
2426        (getLength): Renamed from length().
2427        (seek): Use getLength() instead of length().
2428        (available): Likewise.
2429        * gnu/java/nio/natFileChannelImpl.cc
2430        (size): Use getLength() instead of length().
2431
2432 2003-05-13  Michael Koch  <konqueror@gmx.de>
2433
2434         * gnu/java/nio/ByteBufferImpl.java
2435         (ByteBufferImpl): All constructors revised.
2436         (slice): Reimplemented.
2437         (duplicate): Reimplemented.
2438         (asReadOnlyBuffer): Reimplemented.
2439         * java/nio/ByteBuffer.java:
2440         Reformatted.
2441         (array_offset): Renamed from "offset" to match all other buffer
2442         classes.
2443         (ByteBuffer): All constructors revised.
2444         (allocateDirect): Implemented.
2445         (allocate): New implementation, documentation reworked.
2446         (wrap): Likewise.
2447         (get): Documentation reworked.
2448         (put): New implementation, documentation reworked.
2449         (hasArray): Documentation reworked.
2450         (arrayOffset): Likewise.
2451         (hashCode): Likewise.
2452         (equals): Likewise.
2453         (compareTo): Likewise.
2454         (order): Likewise.
2455         (compact): Likewise.
2456         (isDirect): Likewise.
2457         (slice): Likewise.
2458         (duplicate): Likewise.
2459         (asReadOnlyBuffer): Likewise.
2460         * Makefile.am
2461         (ordinary_java_source_files):
2462         Added gnu/java/nio/DirectByteBufferImpl.java.
2463         (nat_source_files):
2464         Added gnu/java/nio/natDirectByteBufferImpl.cc.
2465         * Makefile.in: Regenerated.
2466
2467 2003-05-12  Michael Koch  <konqueror@gmx.de>
2468
2469         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2470         (nio_get_*): Removed.
2471         (nio_put_*): Removed.
2472         (as*Buffer): Implemented.
2473         (compact): Implemented.
2474         (get): Documentation added.
2475         (put): Documentation added.
2476         (get*): Newly implemented.
2477         (put*): Newly implemented.
2478         * gnu/java/nio/CharBufferImpl.java: Reformatted.
2479         (CharBufferImpl): Revised.
2480         (slice): New implementation.
2481         (duplicate): New implementation.
2482         (compact): New implementation.
2483         (asReadOnlyBuffer): New implementation.
2484         (get): Documentation revised.
2485         (order): Return native byte order.
2486         * gnu/java/nio/DirectByteBufferImpl.java
2487         (allocateDirect): objects can be null not 0.
2488         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2489         (DoubleBufferImpl): Revised.
2490         (slice): New implementation.
2491         (duplicate): New implementation.
2492         (compact): New implementation.
2493         (asReadOnlyBuffer): New implementation.
2494         (get): Documentation revised.
2495         (order): Return native byte order.
2496         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2497         (FloatBufferImpl): Revised.
2498         (slice): New implementation.
2499         (duplicate): New implementation.
2500         (compact): New implementation.
2501         (asReadOnlyBuffer): New implementation.
2502         (get): Documentation revised.
2503         (order): Return native byte order.
2504         * gnu/java/nio/IntBufferImpl.java: Reformatted.
2505         (IntBufferImpl): Revised.
2506         (slice): New implementation.
2507         (duplicate): New implementation.
2508         (compact): New implementation.
2509         (asReadOnlyBuffer): New implementation.
2510         (get): Documentation revised.
2511         (order): Return native byte order.
2512         * gnu/java/nio/LongBufferImpl.java: Reformatted.
2513         (LongBufferImpl): Revised.
2514         (slice): New implementation.
2515         (duplicate): New implementation.
2516         (compact): New implementation.
2517         (asReadOnlyBuffer): New implementation.
2518         (get): Documentation revised.
2519         (order): Return native byte order.
2520         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2521         (ShortBufferImpl): Revised.
2522         (slice): New implementation.
2523         (duplicate): New implementation.
2524         (compact): New implementation.
2525         (asReadOnlyBuffer): New implementation.
2526         (get): Documentation revised.
2527         (order): Return native byte order.
2528         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2529         (CharBuffer): Revised.
2530         (order): Removed.
2531         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2532         (DoubleBuffer): Revised.
2533         (allocateDirect): Removed.
2534         (order): Removed.
2535         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2536         (FloatBuffer): Revised.
2537         (allocateDirect): Removed.
2538         (order): Removed.
2539         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2540         (IntBuffer): Revised.
2541         (allocateDirect): Removed.
2542         (order): Removed.
2543         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2544         (LongBuffer): Revised.
2545         (allocateDirect): Removed.
2546         (order): Removed.
2547         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2548         (ShortBuffer): Revised.
2549         (allocateDirect): Removed.
2550         (order): Removed.
2551         * gnu/java/nio/natByteBufferImpl.cc: Removed.
2552         * gnu/java/nio/natCharBufferImpl.cc: Removed.
2553         * Makefile.am
2554         (ordinary_java_source_files): Added the following files:
2555         gnu/java/nio/CharViewBufferImpl.java,
2556         gnu/java/nio/DoubleViewBufferImpl.java,
2557         gnu/java/nio/FloatViewBufferImpl.java,
2558         gnu/java/nio/IntViewBufferImpl.java,
2559         gnu/java/nio/LongViewBufferImpl.java,
2560         gnu/java/nio/ShortViewBufferImpl.java
2561         (nat_source_files): Removed the following files:
2562         gnu/java/nio/natByteBufferImpl.cc,
2563         gnu/java/nio/natCharBufferImpl.cc
2564         * Makefile.in: Regenerated.
2565
2566 2003-05-12  Michael Koch  <konqueror@gmx.de>
2567
2568         * gnu/java/nio/CharViewBufferImpl.java,
2569         gnu/java/nio/DirectByteBufferImpl.java,
2570         gnu/java/nio/DoubleViewBufferImpl.java,
2571         gnu/java/nio/FloatViewBufferImpl.java,
2572         gnu/java/nio/IntViewBufferImpl.java,
2573         gnu/java/nio/LongViewBufferImpl.java,
2574         gnu/java/nio/ShortViewBufferImpl.java,
2575         gnu/java/nio/natDirectByteBufferImpl.cc:
2576         New files, not yet to be compiled.
2577
2578 2003-05-10  Michael Koch  <konqueror@gmx.de>
2579
2580         * javax/swing/plaf/ButtonUI.java,
2581         javax/swing/plaf/ColorUIResource.java,
2582         javax/swing/plaf/ComponentUI.java,
2583         javax/swing/plaf/DimensionUIResource.java,
2584         javax/swing/plaf/FontUIResource.java,
2585         javax/swing/plaf/IconUIResource.java,
2586         javax/swing/plaf/InsetsUIResource.java,
2587         javax/swing/plaf/LabelUI.java,
2588         javax/swing/plaf/ListUI.java,
2589         javax/swing/plaf/OptionPaneUI.java,
2590         javax/swing/plaf/PanelUI.java,
2591         javax/swing/plaf/TabbedPaneUI.java,
2592         javax/swing/plaf/TextUI.java,
2593         javax/swing/plaf/TreeUI.java,
2594         javax/swing/plaf/ViewportUI.java,
2595         javax/swing/plaf/basic/BasicBorders.java,
2596         javax/swing/plaf/basic/BasicButtonUI.java,
2597         javax/swing/plaf/basic/BasicCheckBoxUI.java,
2598         javax/swing/plaf/basic/BasicDefaults.java,
2599         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2600         javax/swing/plaf/basic/BasicIconFactory.java,
2601         javax/swing/plaf/basic/BasicLabelUI.java,
2602         javax/swing/plaf/basic/BasicListUI.java,
2603         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2604         javax/swing/plaf/basic/BasicPanelUI.java,
2605         javax/swing/plaf/basic/BasicRadioButtonUI.java,
2606         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2607         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2608         javax/swing/plaf/basic/BasicTextUI.java,
2609         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2610         javax/swing/plaf/basic/BasicTreeUI.java,
2611         javax/swing/plaf/basic/BasicViewportUI.java,
2612         javax/swing/plaf/metal/MetalLookAndFeel.java:
2613         New versions from classpath. This adds copyrights to all files and
2614         some serialVersionUIDs.
2615
2616 2003-05-10  Michael Koch  <konqueror@gmx.de>
2617
2618         * java/nio/CharBuffer.java
2619         (offset): Make it package-private.
2620         (backing_buffer): Likewise.
2621         * java/nio/DoubleBuffer.java
2622         (offset): Make it package-private.
2623         (backing_buffer): Likewise.
2624         (put): Reformatted.
2625         * java/nio/FloatBuffer.java
2626         (offset): Make it package-private.
2627         (backing_buffer): Likewise.
2628         * java/nio/IntBuffer.java
2629         (offset): Make it package-private.
2630         (backing_buffer): Likewise.
2631         * java/nio/LongBuffer.java
2632         (offset): Make it package-private.
2633         (backing_buffer): Likewise.
2634         * java/nio/ShortBuffer.java
2635         (offset): Make it package-private.
2636         (backing_buffer): Likewise.
2637
2638 2003-05-10  Michael Koch  <konqueror@gmx.de>
2639
2640         * java/nio/CharBuffer.java
2641         (put): Fixed precondtion check.
2642         (toString): Make it work without backing array.
2643         (put): Skip one level of method calling.
2644
2645 2003-05-10  Michael Koch  <konqueror@gmx.de>
2646
2647         * java/security/Identity.java,
2648         java/security/IdentityScope.java,
2649         java/security/Key.java,
2650         java/security/KeyPair.java,
2651         java/security/PrivateKey.java,
2652         java/security/Provider.java,
2653         java/security/PublicKey.java,
2654         java/security/SecureRandom.java,
2655         java/security/SecureRandomSpi.java,
2656         java/security/SignedObject.java,
2657         java/security/Signer.java,
2658         java/security/cert/Certificate.java,
2659         java/security/cert/PKIXCertPathBuilderResult.java,
2660         java/security/cert/X509Certificate.java:
2661         New versions from classpath.
2662
2663 2003-05-09  Tom Tromey  <tromey@redhat.com>
2664
2665         * Makefile.in: Rebuilt.
2666         * Makefile.am (nat_source_files): Removed old files.
2667         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2668         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2669         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2670         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2671         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2672
2673 2003-05-09  Michael Koch  <konqueror@gmx.de>
2674
2675         * gnu/java/nio/ByteBufferImpl.java
2676         (nio_cast): Removed.
2677         (ByteBufferImpl): Removed.
2678         (nio_get_Byte): Removed.
2679         (nio_put_Byte): Removed.
2680         (asByteBuffer): Removed.
2681         (asCharBuffer): Removed implementation and throw exception.
2682         (asShortBuffer): Likewise.
2683         (asIntBuffer): Likewise.
2684         (asLongBuffer): Likewise.
2685         (asFloatBuffer): Likewise.
2686         (asDoubleBuffer): Likewise.
2687         * gnu/java/nio/CharBufferImpl.java
2688         (CharBufferImpl): Removed.
2689         (nio_get_Byte): Removed.
2690         (nio_put_Byte): Removed.
2691         (asByteBuffer): Removed.
2692         * gnu/java/nio/DoubleBufferImpl.java
2693         (DoubleBufferImpl): Removed.
2694         (nio_get_Byte): Removed.
2695         (nio_put_Byte): Removed.
2696         (asByteBuffer): Removed.
2697         * gnu/java/nio/FloatBufferImpl.java
2698         (FloatBufferImpl): Removed.
2699         (nio_get_Byte): Removed.
2700         (nio_put_Byte): Removed.
2701         (asByteBuffer): Removed.
2702         * gnu/java/nio/IntBufferImpl.java
2703         (IntBufferImpl): Removed.
2704         (nio_get_Byte): Removed.
2705         (nio_put_Byte): Removed.
2706         (asByteBuffer): Removed.
2707         * gnu/java/nio/LongBufferImpl.java
2708         (LongBufferImpl): Removed.
2709         (nio_get_Byte): Removed.
2710         (nio_put_Byte): Removed.
2711         (asByteBuffer): Removed.
2712         * gnu/java/nio/ShortBufferImpl.java
2713         (ShortBufferImpl): Removed.
2714         (nio_get_Byte): Removed.
2715         (nio_put_Byte): Removed.
2716         (asByteBuffer): Removed.
2717         * gnu/java/nio/natByteBufferImpl.cc
2718         (nio_cast): Removed.
2719         (nio_get_Byte): Removed.
2720         (nio_put_Byte): Removed.
2721         * gnu/java/nio/natCharBufferImpl.cc
2722         (nio_get_Byte): Removed.
2723         (nio_put_Byte): Removed.
2724
2725 2003-05-09  Michael Koch  <konqueror@gmx.de>
2726
2727         * java/net/JarURLConnection.java
2728         (getJarEntry): Merged documentation from classpath.
2729         (getJarFile): Likewise.
2730         (getMainAttributes): Likewise.
2731         (getAttributes): Likewise.
2732         (getManifest): Likewise.
2733         (getCertificates): Reformatted.
2734         * java/net/URLConnection.java:
2735         Little classpath merge.
2736
2737 2003-05-09  Michael Koch  <konqueror@gmx.de>
2738
2739         * java/io/DataOutputStream.java
2740         (writeShort): Made it synchronized.
2741         (writeChar): Likewise.
2742         (writeInt): Likewise.
2743         (writeLong): Liekwise.
2744         (writeUTF): Made it synchronized, renamed argument to match classpath.
2745         * java/io/InputStreamReader.java
2746         (converter): Added documentation.
2747         (read): Merged documentation from classpath.
2748         * java/io/OutputStreamWriter.java
2749         (OutputStreamWriter): Merged documentation from classpath.
2750         (close): Reformatted.
2751         (getEncoding): Likewise.
2752         (flush): Likewise.
2753         (write): Merged documentation from classpath, reformatted.
2754
2755 2003-05-08  Tom Tromey  <tromey@redhat.com>
2756
2757         * configure.host <powerpc64*-*>: Set with_libffi_default and
2758         libgcj_interpreter to "yes".
2759
2760 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2761
2762         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2763         
2764 2003-05-06  Tom Tromey  <tromey@redhat.com>
2765
2766         * verify.cc: Reverted previous patch.
2767
2768 2003-05-06  Michael Koch  <konqueror@gmx.de>
2769
2770         * java/io/DataOutputStream.java
2771         (write): Renamed argument to "value", merged documentation from
2772         classpath.
2773         (writeBoolean): Likewise.
2774         (writeByte): Likewise.
2775         (writeShort): Likewise.
2776         (writeChar): Likewise.
2777         (writeInt): Likewise.
2778         (writeLong): Likewise.
2779         (writeFloat): Likewise.
2780         (writeDouble): Likewise.
2781         (writeBytes): Likewise.
2782         (writeChars): Likewise.
2783         (writeUTF): Likewise.
2784         * java/io/File.java
2785         (performDelete): Added documentation.
2786         (performList): Likewise.
2787         (performMkdir): Likewise.
2788         (performSetReadOnly): Likewise.
2789         (performRenameTo): Likewise.
2790         (performSetLastModified): Likewise.
2791         (delete): Made it sychronized.
2792         (renameTo): Made it sychronized.
2793         (equals): Reformatted.
2794         (isHidden): Likewise.
2795         (listFiles): Likewise.
2796         (setReadOnly): Likewise.
2797         (listRoots): Likewise.
2798         (setLastModified): Likewise.
2799         (checkRead): Likewise.
2800         (checkWrite): Likewise.
2801         * java/io/FileInputStream.java
2802         (skip): Made it sychronized, merged from classpath.
2803         * java/io/FileOutputStream.java
2804         (write): Merged from classpath.
2805         * java/io/InputStreamReader.java:
2806         (InputStreamReader): Merged documentation from classpath.
2807
2808 2003-05-05  Michael Koch  <konqueror@gmx.de>
2809
2810         * java/net/NetworkInterface.java
2811         (networkInterfaces): Removed.
2812         (getByName): Use getRealNetworkInterfaces() instead of
2813         networkInterfaces.
2814         (getByInetAddress): Likewise.
2815         (getNetworkInterfaces): Likewise.
2816         (toString): Fix output of addresses of an interface.
2817
2818 2003-05-05  Michael Koch  <konqueror@gmx.de>
2819
2820         * java/io/DataInputStream.java:
2821         Merged new documentation from classpath.
2822
2823 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2824
2825         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2826         "version".
2827         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2828         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2829         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2830         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2831         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2832         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2833         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2834         * java/security/Key.java: Likewise.
2835         * java/security/PrivateKey.java: Likewise.
2836         * java/security/Provider.java: Likewise.
2837         * java/security/PublicKey.java: Likewise.
2838
2839 2003-05-02  Michael Koch  <konqueror@gmx.de>
2840
2841         * java/net/URI.java
2842         (create): Doesnt throws any exceptions.
2843         * java/net/URLConnection.java
2844         (URLConnection): Commend added.
2845         (getExpiration): The header field is called "expires" not
2846         "expiration".
2847         (getHeaderField): Merged documentation with classpath.
2848         (getHeaderFieldInt): Likewise.
2849         (getHeaderFieldDate): Likewise.
2850         (getHeaderFieldKey): Likewise.
2851         (getPermission): Likewise.
2852         (setDefaultUseCaches): Likewise.
2853         (setRequestProperty): Likewise.
2854         (addRequestProperty): Likewise.
2855         (getRequestProperty): Likewise.
2856         (getRequestProperties): Likewise.
2857         (setDefaultRequestProperty): Likewise.
2858         (getDefaultRequestProperty): Likewise.
2859         (guessContentTypeFromStream): Likewise.
2860         (getFileNameMap): Likewise.
2861         (setFileNameMap): Likewise.
2862         (setDoInput): Merged implementation and documentation with classpath.
2863         (setDoOutput): Likewise.
2864         (setAllowUserInteraction): Likewise.
2865         (setDefaultAllowUserInteraction): Likewise.
2866         (setContentHandlerFactory): Made it synchronized, merged documentation
2867         with classpath.
2868         (guessContentTypeFromName): Renamed argument fname to filename to
2869         match classpath, merged documentation with classpath.
2870
2871 2003-05-02  Michael Koch  <konqueror@gmx.de>
2872
2873         * java/net/JarURLConnection.java
2874         (JarURLConnection): Class documentation merged with classpath.
2875         (getJarFileURL): Moved and documentation merged with classpath.
2876         (getEntryName): Likewise.
2877         (JarURLConnection): Documentation merged with classpath.
2878         (getJarEntry): Likewise.
2879         (getJarFile): Likewise.
2880         * java/net/PlainDatagramSocketImpl.java:
2881         Class documentation moved.
2882         * java/net/URLConnection.java
2883         (fileNameMap): Moved and documentation merged with classpath.
2884         (factory): Likewise.
2885         (defaultAllowUserInteraction): Likewis.
2886         (defaultUseCaches): Likewise.
2887         (allowUserInteraction): Likewise.
2888         (connected): Likewise.
2889         (url): Likewise.
2890         (connect): Documentation merged with classpath.
2891         (getURL): Likewise.
2892         (getContentLength): Likewise.
2893         (getContentType): Likewise.
2894         (getContentEncoding): Likewise.
2895         (getExpiration): Likewise.
2896         (getDate): Likewise.
2897         (getLastModified): Likewise.
2898         (getHeaderField): Likewise.
2899         (getContent): Likewise.
2900         (getPermission): Likewise.
2901         (getInputStream): Likewise.
2902         (getOutputStream): Likewise.
2903         (toString): Likewise.
2904         (getDoInput): Likewise.
2905         (getDoOutput): Likewise.
2906         (setAllowUserInteraction): Likewise.
2907         (getAllowUserInteraction): Likewise.
2908         (setDefaultAllowUserInteraction): Likewise.
2909         (getDefaultAllowUserInteraction): Likewise.
2910         (setUseCaches): Likewise.
2911         (getUseCaches): Likewise.
2912         (setIfModifiedSince): Likewise.
2913         (getIfModifiedSince): Likewise.
2914         (setDefaultRequestProperty): Likewise.
2915         (getDefaultRequestProperty): Likewise.
2916         (setContentHandlerFactory): Likewise.
2917         (setFileNameMap): Likewise.
2918
2919 2003-05-02  Michael Koch  <konqueror@gmx.de>
2920
2921         * java/net/InetAddress.java:
2922         Merged class documentation with classpath.
2923         * java/net/JarURLConnection.java:
2924         Explicitely import all used classes.
2925         * java/net/URL.java:
2926         Reformatting.
2927         * java/net/ServerSocket.java,
2928         java/net/Socket.java:
2929         New versions from classpath.
2930
2931 2003-05-02  Michael Koch  <konqueror@gmx.de>
2932
2933         * gnu/java/nio/FileChannelImpl.java
2934         (read): New implementation.
2935         (implRead): New methods.
2936         (write): New implementation, call other write insteal of read method.
2937         (implWrite): New methods.
2938         (map): Added comment.
2939         (transferFrom): Implemented.
2940         (transferTo): Implemented.
2941         (lock): Added checks to throw exceptions.
2942         (truncate): Added check to throw exception.
2943         * gnu/java/nio/natFileChannelImpl.cc
2944         (implRead): New method.
2945         (implWrite): New method.
2946         * java/nio/ByteBuffer.java
2947         (hashCode): Fixed comment.
2948         (get): Fixed exception documentation.
2949         (put): Fixed exception documentation.
2950         * java/nio/CharBuffer.java:
2951         Added comment for later optimizations.
2952
2953 2003-04-30  Tom Tromey  <tromey@redhat.com>
2954
2955         PR libgcj/10582:
2956         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2957         Removed.
2958         (type::compatible): Use _Jv_IsAssignableFrom.
2959         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2960         (_Jv_IsAssignableFrom): Work even when source or target class is
2961         not prepared.
2962
2963 2003-04-30  Michael Koch  <konqueror@gmx.de>
2964
2965         * java/text/BreakIterator.java
2966         (clone): New method.
2967
2968 2003-04-30  Michael Koch  <konqueror@gmx.de>
2969
2970         * java/text/CollationElementIterator.java,
2971         java/text/CollationKey.java,
2972         java/text/RuleBasedCollator.java:
2973         Merged copyright and documentation from classpath and
2974         rearranged some code. No code changes done.
2975
2976 2003-04-30  Michael Koch  <konqueror@gmx.de>
2977
2978         * java/util/regex/Matcher.java
2979         (pattern): New member variable.
2980         (appendReplacement): New method.
2981         (appendTail): New method.
2982         (end): New method.
2983         (find): New method.
2984         (group): New method.
2985         (replaceFirst): Added documentation.
2986         (replaceAll): Added documentation.
2987         (groupCount): New method.
2988         (lookingAt): New method.
2989         (matches): New method.
2990         (reset): New method.
2991         (start): New method.
2992         * java/util/regex/Pattern.java
2993         (serialVersionUID): New constant.
2994         (CANON_EQ): New constant.
2995         (CASE_INSENSITIVE): New constant.
2996         (COMMENTS): New constant.
2997         (DOTALL): New constant.
2998         (MULTILINE): New constant.
2999         (UNICODE_CASE): New constant.
3000         (UNIX_LINES): New constant.
3001         (regex): New member variable.
3002         (flags): New member variable.
3003         (Pattern): New method.
3004         (compile): Documentation added.
3005         (flags): New method.
3006         (matches): Documentation added.
3007         (matcher): Documentation added.
3008         (split): Documentation added.
3009         (pattern): New method.
3010
3011 2003-04-30  Michael Koch  <konqueror@gmx.de>
3012
3013         * gnu/java/security/Engine.java,
3014         gnu/java/security/OID.java,
3015         gnu/java/security/der/BitString.java,
3016         gnu/java/security/der/DER.java,
3017         gnu/java/security/der/DERReader.java,
3018         gnu/java/security/der/DERValue.java,
3019         gnu/java/security/der/DERWriter.java,
3020         gnu/java/security/provider/DSAKeyFactory.java,
3021         gnu/java/security/provider/X509CertificateFactory.java,
3022         gnu/java/security/x509/X500DistinguishedName.java,
3023         gnu/java/security/x509/X509CRL.java,
3024         gnu/java/security/x509/X509CRLEntry.java,
3025         gnu/java/security/x509/X509Certificate.java,
3026         java/security/cert/CRLSelector.java,
3027         java/security/cert/CertPathBuilder.java,
3028         java/security/cert/CertPathBuilderResult.java,
3029         java/security/cert/CertPathBuilderSpi.java,
3030         java/security/cert/CertPathParameters.java,
3031         java/security/cert/CertPathValidator.java,
3032         java/security/cert/CertPathValidatorResult.java,
3033         java/security/cert/CertPathValidatorSpi.java,
3034         java/security/cert/CertSelector.java,
3035         java/security/cert/CertStore.java,
3036         java/security/cert/CertStoreParameters.java,
3037         java/security/cert/CertStoreSpi.java,
3038         java/security/cert/CollectionCertStoreParameters.java,
3039         java/security/cert/LDAPCertStoreParameters.java,
3040         java/security/cert/PKIXBuilderParameters.java,
3041         java/security/cert/PKIXCertPathBuilderResult.java,
3042         java/security/cert/PKIXCertPathChecker.java,
3043         java/security/cert/PKIXCertPathValidatorResult.java,
3044         java/security/cert/PKIXParameters.java,
3045         java/security/cert/PolicyNode.java,
3046         java/security/cert/PolicyQualifierInfo.java,
3047         java/security/cert/TrustAnchor.java,
3048         javax/security/auth/x500/X500Principal.java:
3049         New files from classpath.
3050         * gnu/java/io/ASN1ParsingException.java,
3051         gnu/java/io/Base64InputStream.java,
3052         gnu/java/security/der/DEREncodingException.java,
3053         gnu/java/security/provider/DSAParameters.java,
3054         gnu/java/security/provider/DSASignature.java,
3055         gnu/java/security/provider/Gnu.java,
3056         gnu/java/security/provider/GnuDSAPrivateKey.java,
3057         gnu/java/security/provider/GnuDSAPublicKey.java,
3058         java/security/AlgorithmParameterGenerator.java,
3059         java/security/AlgorithmParameters.java,
3060         java/security/KeyFactory.java,
3061         java/security/KeyPairGenerator.java,
3062         java/security/KeyStore.java,
3063         java/security/MessageDigest.java,
3064         java/security/SecureClassLoader.java,
3065         java/security/SecureRandom.java,
3066         java/security/Security.java,
3067         java/security/Signature.java,
3068         java/security/cert/Certificate.java,
3069         java/security/cert/CertificateFactory.java,
3070         java/security/cert/CertificateFactorySpi.java,
3071         java/security/cert/X509CRL.java,
3072         java/security/cert/X509Certificate.java,
3073         java/security/spec/DSAPublicKeySpec.java:
3074         New versions from classpath.
3075         * gnu/java/security/provider/DERReader.java,
3076         gnu/java/security/provider/DERWriter.java,
3077         java/security/Engine.java: Removed.
3078         * Makefile.am
3079         (java_source_files, javax_source_files): Added new files.
3080         * Makefile.in: Regenerated.
3081
3082 2003-04-29  Michael Koch  <konqueror@gmx.de>
3083
3084         * javax/swing/JTable.java
3085         (AUTO_RESIZE_ALL_COLUMNS): New constant.
3086         (AUTO_RESIZE_LAST_COLUMN): New constant.
3087         (AUTO_RESIZE_NEXT_COLUMN): New constant.
3088         (AUTO_RESIZE_OFF): New constant.
3089         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3090         (JTable): New method.
3091         (columnAdded): New method.
3092         (columnMarginChanged): New method.
3093         (columnMoved): New method.
3094         (columnRemoved): New method.
3095         (columnSelectionChanged): New method.
3096         (editingCanceled): New method.
3097         (editingStopped): New method.
3098         (getColumnModel): New method.
3099         (getPreferredScrollableViewportSize): New method.
3100         (getScrollableBlockIncrement): New method.
3101         (getScrollableTracksViewportHeight): New method.
3102         (getScrollableTracksViewportWidth): New method.
3103         (getScrollableUnitIncrement): New method.
3104         (getSelectedRow): New method.
3105         (getSelectionModel): New method.
3106         (tableChanged): New method.
3107         (setModel): New method.
3108         (setSelectionMode): New method.
3109         (setSelectionModel): New method.
3110         (setShowGrid): New method.
3111         (valueChanged): New method.
3112         * javax/swing/text/DefaultEditorKit.java
3113         (backwardAction): New constant.
3114         (beepAction): New constant.
3115         (beginAction): New constant.
3116         (beginLineAction): New constant.
3117         (beginParagraphAction): New constant.
3118         (beginWordAction): New constant.
3119         (copyAction): New constant.
3120         (cutAction): New constant.
3121         (defaultKeyTypedAction): New constant.
3122         (deleteNextCharAction): New constant.
3123         (deletePrevCharAction): New constant.
3124         (downAction): New constant.
3125         (endAction): New constant.
3126         (endLineAction): New constant.
3127         (endOfLineStringProperty): New constant.
3128         (endParagraphAction): New constant.
3129         (endWordAction): New constant.
3130         (forwardAction): New constant.
3131         (insertBreakAction): New constant.
3132         (insertContentAction): New constant.
3133         (insertTabAction): New constant.
3134         (nextWordAction): New constant.
3135         (pageDownAction): New constant.
3136         (pageUpAction): New constant.
3137         (pasteAction): New constant.
3138         (previousWordAction): New constant.
3139         (readOnlyAction): New constant.
3140         (selectAllAction): New constant.
3141         (selectionBackwardAction): New constant.
3142         (selectionBeginAction): New constant.
3143         (selectionBeginLineAction): New constant.
3144         (selectionBeginParagraphAction): New constant.
3145         (selectionBeginWordAction): New constant.
3146         (selectionDownAction): New constant.
3147         (selectionEndAction): New constant.
3148         (selectionEndLineAction): New constant.
3149         (selectionEndParagraphAction): New constant.
3150         (selectionEndWordAction): New constant.
3151         (selectionForwardAction): New constant.
3152         (selectionNextWordAction): New constant.
3153         (selectionPreviousWordAction): New constant.
3154         (selectionUpAction): New constant.
3155         (selectLineAction): New constant.
3156         (selectParagraphAction): New constant.
3157         (selectWordAction): New constant.
3158         (upAction): New constant.
3159         (writableAction): New constant.
3160
3161 2003-04-29  Michael Koch  <konqueror@gmx.de>
3162
3163         * java/util/PropertyPermission.java:
3164         New version from classpath
3165         * java/util/ResourceBundle.java:
3166         Partly merged from classpath
3167         (getObject): Reformated.
3168         (tryBundle): Set foundBundle = null if no bundle found.
3169
3170 2003-04-29  Michael Koch  <konqueror@gmx.de>
3171
3172         * javax/swing/AbstractListModel.java,
3173         javax/swing/DefaultBoundedRangeModel.java,
3174         javax/swing/DefaultSingleSelectionModel.java:
3175         New Versions from classpath.
3176
3177 2003-04-29  Michael Koch  <konqueror@gmx.de>
3178
3179         * java/awt/Window.java
3180         (show): Call super.show() instead of setVisible() to avoid endless
3181         loop.
3182         (hide): Call super.hide() instead of setVisible() to avoid endless
3183         loop.
3184
3185 2003-04-29  Michael Koch  <konqueror@gmx.de>
3186
3187         * java/util/zip/Deflater.java,
3188         java/util/zip/DeflaterOutputStream.java:
3189         Partly merged with classpath.
3190
3191 2003-04-27  Tom Tromey  <tromey@redhat.com>
3192
3193         * java/lang/natString.cc (_Jv_AllocString): Initialize
3194         cachedHashCode.
3195         (init): Likewise.
3196         (_Jv_NewStringUtf8Const): Likewise.
3197
3198 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
3199
3200         * include/jvm.h: (_Jv_GetNbArgs) added
3201         (_Jv_GetSafeArg) added
3202         (_Jv_SetArgs) added
3203         * prims.cc: (_Jv_GetNbArgs) implemented
3204         (_Jv_GetSafeArg) implemented
3205         (_Jv_SetArgs) implemented
3206         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3207         setting _Jv_argc and _Jv_argv
3208         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3209         instead of _Jv_argv
3210         * java/lang/natRuntime.cc: (insertSystemProperties) use
3211         _Jv_GetSafeArg() instead of _Jv_argv
3212
3213 2003-04-23  Tom Tromey  <tromey@redhat.com>
3214
3215         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3216         required by this object.  Search superclasses to find required
3217         alignment.
3218         (get_alignment_from_class): Use alignment of type as it appears
3219         in a struct.
3220         (ALIGNOF): New macro.
3221         (struct aligner): New helper structure.
3222
3223 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
3224
3225         * java/awt/Container.java (addImpl): Enable paint events if adding
3226         a lightweight to a heavyweight.
3227         (addNotify): Ensure that peer is created before
3228         addNotifyContainerChildren.
3229         (addNotifyContainerChildren): Enable paint events if a heavyweight
3230         container contains a lightweight.
3231
3232 2003-04-20  Tom Tromey  <tromey@redhat.com>
3233
3234         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3235         java/io/DataInput.java, java/io/DataOutput.java: Imports from
3236         Classpath.
3237
3238 2003-04-19  Tom Tromey  <tromey@redhat.com>
3239
3240         * java/sql/Date.java, java/sql/DriverManager.java,
3241         java/sql/Time.java, java/sql/Timestamp.java: New versions from
3242         Classpath.
3243
3244         * Makefile.in: Rebuilt.
3245         * Makefile.am (ordinary_java_source_files): Added new files.
3246         * java/security/AlgorithmParameterGenerator.java,
3247         java/security/AlgorithmParameters.java, java/security/Engine.java,
3248         java/security/Identity.java, java/security/IdentityScope.java,
3249         java/security/KeyFactory.java,
3250         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3251         java/security/MessageDigest.java, java/security/Policy.java,
3252         java/security/ProtectionDomain.java,
3253         java/security/SecureRandom.java, java/security/Security.java,
3254         java/security/Signature.java, java/security/SignatureSpi.java,
3255         java/security/SignedObject.java, java/security/Signer.java,
3256         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3257         java/security/spec/PSSParameterSpec.java,
3258         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3259         java/security/spec/RSAOtherPrimeInfo.java: New versions from
3260         Classpath.
3261
3262 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3263
3264         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3265         (dispose): Null metrics.
3266         * gnu/awt/xlib/XToolkit.java (sync): Implement.
3267         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3268         finalize.
3269         (finalize): Call dispose.
3270         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3271         (gcCachedCount): New field.
3272         (finalize): New method.
3273         (putGCInCache): New method.
3274         (getGCFromCache): New method.
3275         * gnu/gcj/xlib/GC.java (GC): Make protected.
3276         (clone): Get new GC from cache if possible.
3277         (create): New static method.
3278         (dispose): Save old GC in cache.
3279         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3280         deleting.
3281         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3282         is null.
3283         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3284         * java/awt/Container.java (visitChild): Dispose gfx2 when
3285         finished.
3286
3287 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
3288
3289         * java/math/BigInteger.java (probablePrime): New.
3290         * java/math/BigDecimal.java (unscaledValue): New.
3291
3292 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
3293
3294         * java/io/File.java (getAbsolutePath): On Windows, take care
3295         of paths like "C:", "G:foo\bar", etc.
3296         (getName): Make it work correctly on Windows.
3297         (getParent): Make it work correctly on Windows. For UNIX,
3298         fix bug that causes "/" to be returned as the parent of "/",
3299         instead of null as returned by Sun's JRE.
3300
3301         * java/io/natFileWin32.cc: Change copyright owner to FSF.
3302
3303 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3304
3305         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3306         inner class.
3307         (CACHE_SIZE_PER_DISPLAY): New field
3308         (fontMetricsCache): New field
3309         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3310         loading ISO10646-1 fonts.
3311
3312 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3313
3314         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3315         characters.
3316         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3317         characters.
3318
3319 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
3320
3321         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3322         floating point.
3323
3324 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
3325
3326         * configure.host (*-linux*): Don't set slow_pthread_self if primary
3327         installed libpthread is either linuxthreads with floating stacks or
3328         NPTL.
3329
3330 2003-04-14  Tom Tromey  <tromey@redhat.com>
3331
3332         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3333         of alignment.
3334
3335 2003-04-10  Tom Tromey  <tromey@redhat.com>
3336
3337         * verify.cc (pop64): Removed.
3338         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
3339         exception if top-of-stack is narrow.
3340         (initialize_stack): Check to ensure that <init> is not static and
3341         <clinit> is.
3342
3343 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
3344
3345         * java/io/ObjectStreamException
3346         * java/io/FileFilter
3347         * java/io/FilenameFilter
3348         * java/io/ObjectInput
3349         * java/io/ObjectOutput
3350         * java/io/ObjectStreamConstants
3351         Minor doc fixes, format fixes, spelling corrections, etc.
3352         * java/io/DataInput
3353         Corrected code samples in Javadocs to match reality
3354         * java/io/DataOutput
3355         * java/io/ObjectInputValidation
3356         Major documentation fixes - all Javadocs re-written or updated
3357
3358 2003-04-06  Michael Koch  <konqueror@gmx.de>
3359
3360         * java/net/URLConnection.java:
3361         Import classes directly.
3362         (URLConnection): Merged class documentation with classpath.
3363         (url): Moved, documentation from classpath added.
3364         (doInput): Moved, documentation from classpath added.
3365         (doOutput): Moved, documentation from classpath added.
3366         (allowUserInteraction): Moved.
3367         (useCaches): Moved, documentation from classpath added.
3368         (ifModifiedSince): Moved, documentation from classpath added.
3369         (connected): Moved, documentation from classpath added.
3370
3371 2003-04-06  Michael Koch  <konqueror@gmx.de>
3372
3373         * java/io/FileInputStream.java
3374         (skip): Renamed some variables to match classpath, added
3375         checks from classpath.
3376
3377 2003-03-31  Michael Koch  <konqueror@gmx.de>
3378
3379         * javax/swing/AbstractAction.java
3380         (AbstractAction): Reformatted.
3381         (serialVersionUID): New private member variable.
3382         * javax/swing/plaf/BorderUIResource.java
3383         (serialVersionUID): New private member variable.
3384         * javax/swing/plaf/basic/BasicLookAndFeel.java
3385         (serialVersionUID): New private member variable.
3386
3387 2003-03-31  Michael Koch  <konqueror@gmx.de>
3388
3389         * java/sql/Date.java
3390         (valueOf): Deprecated, reformatted.
3391         (toString): Deprecated, reformatted.
3392         * java/sql/Time.java
3393         (valueOf): Deprecated, reformatted.
3394         (toString): Deprecated, reformatted.
3395
3396 2003-03-31  Michael Koch  <konqueror@gmx.de>
3397
3398         * java/rmi/dgc/VMID.java
3399         (isUnique): Deprecated.
3400
3401 2003-03-31  Michael Koch  <konqueror@gmx.de>
3402
3403         * java/io/File.java
3404         (separator): Merged documentation from classpath.
3405         (separatorChar): Merged documentation from classpath.
3406         (pathSeparator): Merged documentation from classpath.
3407         (pathSeparatorChar): Merged documentation from classpath.
3408         (path): Merged documentation from classpath.
3409         (canRead): Merged documentation from classpath.
3410         (canWrite): Merged documentation from classpath.
3411         (createNewFile): Merged documentation from classpath.
3412         (delete): Merged documentation from classpath.
3413         (equals): Merged documentation from classpath.
3414         (exists): Merged documentation from classpath.
3415         (File): Renamed p to name to match classpath, merged documentation
3416         from classpath.
3417         (getAbsolutePath): Merged documentation from classpath.
3418         (getCanonicalPath): Merged documentation from classpath.
3419         (getCanonicalFile): Merged documentation from classpath.
3420         (getName): Merged documentation from classpath.
3421         (getParent): Merged documentation from classpath.
3422         (getParentFile): Merged documentation from classpath.
3423         (getPath): Merged documentation from classpath.
3424         (hashCode): Merged documentation from classpath.
3425         (isAbsolute): Merged documentation from classpath.
3426         (isDirectory): Merged documentation from classpath.
3427         (isFile): Merged documentation from classpath.
3428         (isHidden): Merged documentation from classpath.
3429         (lastModified): Merged documentation from classpath.
3430         (length): Merged documentation from classpath.
3431         (list): Merged documentation from classpath.
3432         (listFiles): Merged documentation from classpath.
3433         (toString): Merged documentation from classpath.
3434         (toURL): Merged documentation from classpath.
3435         (mkdir): Merged documentation from classpath.
3436         (mkdirs): Merged documentation from classpath.
3437         (createTempFile): Merged documentation from classpath.
3438         (setReadOnly): Merged documentation from classpath.
3439         (listRoots): Merged documentation from classpath.
3440         (compareTo): Merged documentation from classpath.
3441         (renameTo): Merged documentation from classpath.
3442         (setLastModified): Merged documentation from classpath.
3443         * java/io/PrintStream.java
3444         (auto_flush): Merged documentation from classpath.
3445         (PrintStream): Merged documentation from classpath.
3446         (checkError): Merged documentation from classpath.
3447         (setError): Merged documentation from classpath.
3448         (close): Merged documentation from classpath.
3449         (flush): Merged documentation from classpath.
3450         (print): Merged documentation from classpath.
3451         (println):  Merged documentation from classpath.
3452         (write): Renamed count to len to match classpath,
3453         merged documentation from classpath.
3454         * java/io/RandomAccessFile.java
3455         (readShort): Merged documentation from classpath.
3456         (readUnsignedByte): Merged documentation from classpath.
3457         (readUnsignedShort): Merged documentation from classpath.
3458         (readUTF): Merged documentation from classpath.
3459         (seek): Reformatted, merged documentation from classpath.
3460         (skipBytes): Renamed some variables to match classpath, reformatted,
3461         merged documentation from classpath.
3462         (write): Merged documentation from classpath.
3463         (writeBoolean): Merged documentation from classpath.
3464         (writeByte): Merged documentation from classpath.
3465         (writeShort): Merged documentation from classpath.
3466         (writeChar): Merged documentation from classpath.
3467         (writeInt): Merged documentation from classpath.
3468         (writeLong): Merged documentation from classpath.
3469         (writeFloat): Merged documentation from classpath.
3470         (writeDouble): Merged documentation from classpath.
3471         (writeBytes): Merged documentation from classpath.
3472         (writeChars): Merged documentation from classpath.
3473         (writeUTF): Reformatted.
3474         (getChannel): Reformatted.
3475
3476 2003-03-31  Michael Koch  <konqueror@gmx.de>
3477
3478         * java/awt/font/TextAttribute.java
3479         (readResolve): Throws java.io.InvalidObjectException.
3480
3481 2003-03-31  Michael Koch  <konqueror@gmx.de>
3482
3483         * java/rmi/server/LoaderHandler.java
3484         (loadClass): Deprecated.
3485         (getSecurityContext): Deprecated.
3486         * java/rmi/server/LogStream.java
3487         (getDefaultStream): Deprecated.
3488         (setDefaultStream): Deprecated.
3489         (getOutputStream): Deprecated.
3490         (setOutputStream): Deprecated.
3491         (write): Deprecated.
3492         (toString): Deprecated.
3493         (parseLevel): Deprecated.
3494         * java/rmi/server/Operation.java
3495         (Operation): Deprecated.
3496         (getOperation): Deprecated.
3497         (toString): Deprecated.
3498         * java/rmi/server/RemoteCall.java
3499         (getOutputStream): Deprecated.
3500         (releaseOutputStream): Deprecated.
3501         (getInputStream): Deprecated.
3502         (releaseInputStream): Deprecated.
3503         (getResultStream): Deprecated.
3504         (executeCall): Deprecated.
3505         (done): Deprecated.
3506         * java/rmi/server/RemoteRef.java
3507         (invoke): Deprecated.
3508         (newCall): Deprecated.
3509         (done): Deprecated.
3510         * java/rmi/server/RemoteStub.java
3511         (setRef): Deprecated.
3512         * java/rmi/server/Skeleton.java:
3513         No need to import java.lang.Exception explicitly.
3514         (dispatch): Deprecated.
3515         (getOperations): Deprecated.
3516
3517 2003-03-31  Michael Koch  <konqueror@gmx.de>
3518
3519         * java/rmi/dgc/VMID.java,
3520         java/rmi/registry/RegistryHandler.java,
3521         java/rmi/server/LogStream.java,
3522         java/rmi/server/Operation.java,
3523         java/rmi/server/RemoteCall.java,
3524         java/rmi/server/RemoteRef.java,
3525         java/rmi/server/RemoteStub.java:
3526         Reformatted.
3527
3528 2003-03-31  Michael Koch  <konqueror@gmx.de>
3529
3530         * javax/swing/AbstractCellEditor.java,
3531         javax/swing/AbstractListModel.java,
3532         javax/swing/ActionMap.java,
3533         javax/swing/BorderFactory.java,
3534         javax/swing/ButtonGroup.java,
3535         javax/swing/DefaultBoundedRangeModel.java,
3536         javax/swing/DefaultButtonModel.java,
3537         javax/swing/DefaultCellEditor.java,
3538         javax/swing/DefaultComboBoxModel.java,
3539         javax/swing/DefaultDesktopManager.java,
3540         javax/swing/DefaultListCellRenderer.java,
3541         javax/swing/DefaultSingleSelectionModel.java,
3542         javax/swing/InputMap.java,
3543         javax/swing/JComponent.java,
3544         javax/swing/JMenu.java,
3545         javax/swing/JSlider.java,
3546         javax/swing/KeyStroke.java,
3547         javax/swing/OverlayLayout.java,
3548         javax/swing/ScrollPaneLayout.java,
3549         javax/swing/SizeRequirements.java,
3550         javax/swing/UIManager.java,
3551         javax/swing/ViewportLayout.java,
3552         javax/swing/border/AbstractBorder.java,
3553         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3554         javax/swing/event/EventListenerList.java,
3555         javax/swing/table/AbstractTableModel.java,
3556         javax/swing/table/DefaultTableCellRenderer.java,
3557         javax/swing/table/DefaultTableColumnModel.java,
3558         javax/swing/table/DefaultTableModel.java,
3559         javax/swing/table/TableColumn.java,
3560         javax/swing/text/StyledEditorKit.java,
3561         javax/swing/tree/DefaultMutableTreeNode.java,
3562         javax/swing/tree/DefaultTreeModel.java,
3563         javax/swing/tree/DefaultTreeSelectionModel.java,
3564         javax/swing/tree/TreePath.java,
3565         javax/swing/undo/AbstractUndoableEdit.java,
3566         javax/swing/undo/StateEdit.java,
3567         javax/swing/undo/StateEditable.java,
3568         javax/swing/undo/UndoableEditSupport.java:
3569         Merges from classpath.
3570
3571 2003-03-30  Tom Tromey  <tromey@redhat.com>
3572
3573         * java/lang/String.java (data, boffset, count): Documented.
3574         (String(byte[],String)): Reformatted.
3575         (String(byte[])): Likewise.
3576         (lastIndexOf(int)): Likewise.
3577         (lastIndexOf(String)): Likewise.
3578         (substring(int)): Renamed argument to match Classpath.
3579         (String(StringBuffer)): Don't share buffer if it is nearly empty.
3580
3581         * java/lang/String.java: Miscellaneous minor formatting changes
3582         to match Classpath more closely.
3583
3584 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
3585             Tom Tromey  <tromey@redhat.com>
3586
3587         * java/lang/natString.cc (hashCode): Use cachedHashCode.
3588         (init()): Removed.
3589         (charAt): Put index in exception.
3590         (contentEquals): New method.
3591         Include StringBuffer.h.
3592         * java/lang/String.java (cachedHashCode): New field.
3593         (String()): Follow classpath implementation.
3594         (init()): Removed.
3595         (contentEquals): Declare.
3596         (subSequence): Don't declare IndexOutIfBoundsException in throws
3597         clause.
3598         (matches, replaceFirst, replaceAll, split): New methods from
3599         Classpath.
3600
3601 2003-03-29  Tom Tromey  <tromey@redhat.com>
3602
3603         * java/lang/String.java: Reordered to follow Classpath; merged in
3604         javadoc.
3605
3606         * java/text/MessageFormat.java: Removed some whitespace.
3607
3608         * Makefile.in: Rebuilt.
3609         * Makefile.am (awt_java_source_files): Added new files.
3610         * gnu/javax/rmi/PortableServer.java,
3611         gnu/javax/rmi/CORBA/DelegateFactory.java,
3612         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3613         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3614         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3615         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3616         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3617         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3618         javax/rmi/PortableRemoteObject.java,
3619         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3620         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3621         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3622         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3623         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3624         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3625
3626         * java/lang/natClass.cc (newInstance): Put method name in
3627         exception.
3628         (getConstructor): Likewise.
3629         (getDeclaredConstructor): Likewise.
3630         (getPrivateMethod): Likewise.
3631
3632 2003-03-28  Tom Tromey  <tromey@redhat.com>
3633
3634         * java/lang/reflect/Proxy.java: New version from Classpath.
3635         * java/lang/Package.java: New version from Classpath.
3636
3637 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3638
3639         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3640         * configure: Regenerate.
3641
3642 2003-03-28  Michael Koch  <konqueror@gmx.de>
3643
3644         * java/io/File.java:
3645         Import needed classes instead of whole packages, merged class
3646         documentation with classpath, moved constants and variables to top of
3647         class.
3648         * java/io/PrintStream.java:
3649         Merged class documentation with classpath, moved constants and
3650         variables to top of class.
3651         * java/io/RandomAccessFile.java
3652         (RandomAccessFile): Merged with classpath.
3653         (read): Merged with classpath).
3654         (read*): Reformatted.
3655
3656 2003-03-28  Michael Koch  <konqueror@gmx.de>
3657
3658         * java/io/FileDescriptor.java
3659         (finalize): Throws Throwable, not IOException.
3660         * java/io/ObjectOutputStream.java
3661         (PutField.put): Doesnt throws anything.
3662
3663 2003­03-28  Michael Koch  <konqueror@gmx.de>
3664
3665         * java/io/FileOutputStream.java:
3666         Merged class documentation and authors with classpath.
3667         (FileOutputStream): Partly merged with classpath.
3668         (write): Merged with classpath.
3669         (getChannel): Make it synchronized instead of explicit block in this
3670         method.
3671         * java/io/RandomAccessFile.java:
3672         Merged class documentation and authors with classpath.
3673
3674 2003-03-26  Tom Tromey  <tromey@redhat.com>
3675
3676         * java/lang/natRuntime.cc (insertSystemProperties): Set
3677         gnu.classpath.home.url.
3678         * Makefile.in: Rebuilt.
3679         * Makefile.am: Define LIBDIR.
3680
3681 2003-03-25  Michael Koch  <konqueror@gmx.de>
3682
3683         * java/io/FileInputStream.java
3684         (read): Renamed b to buf and off to offset.
3685         * java/io/FileOutputStream.java
3686         (ch): Documentation added.
3687         (FileOutputStream): Documentation added.
3688         (getFD): Documentation added.
3689         (write): Documentation added.
3690         (close): Documentation added.
3691         (getChannel): Documentation added.
3692
3693 2003-03-24  Michael Koch  <konqueror@gmx.de>
3694
3695         * java/io/DataOutputStream.java
3696         (write): Merged from classpath.
3697         * java/io/File.java:
3698         Merged copyrigth with classpath.
3699         * java/io/FileInputStream.java
3700         (getChannel): Made it synchronized instead of using a synchronized
3701         block.
3702         * java/io/FileOutputStream.java: Reformatted.
3703         * java/io/InputStreamReader.java
3704         (InputStreamReader): Renamed enc to encoding_name.
3705         (close): Merged documentation from classpath.
3706         (getEncoding): Merged documentation from classpath.
3707         (ready): Merged documentation from classpath.
3708         (read): Merged documentation from classpath.
3709         * java/io/LineNumberReader.java
3710         (lineNumber): Made it private.
3711         (LineNumberReader): Use Constant instead of a direct value.
3712         * java/io/OutputStreamWriter.java
3713         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3714         documentation from classpath.
3715         (close): Merged documentation from classpath.
3716         (flush): Merged documentation from classpath.
3717         (write): Merged documentation from classpath.
3718         * java/io/PrintStream.java: Reformatted.
3719
3720 2003-03-24  Michael Koch  <konqueror@gmx.de>
3721
3722         * javax/swing/text/ComponentView.java
3723         (getComponent): Must be final.
3724         * javax/swing/tree/DefaultTreeCellRenderer.java:
3725         Reformatted.
3726         * javax/swing/undo/StateEditable.java:
3727         Reformatted.
3728
3729 2003-03-24  Michael Koch  <konqueror@gmx.de>
3730
3731         * java/rmi/activation/ActivationInstantiator.java:
3732         Reformatted.
3733         * java/rmi/activation/Activator.java:
3734         Reformatted.
3735         * java/rmi/registry/RegistryHandler.java:
3736         Remerged from classpath.
3737
3738 2003-03-24  Michael Koch  <konqueror@gmx.de>
3739
3740         * java/util/Date.java:
3741         Fixed documentation starting tag to make javadoc happy.
3742         * java/util/regex/Pattern.java
3743         (Pattern): Implements Serializable.
3744         * java/util/PatternSyntaxException.java
3745         (serialVersionUID): New member variable.
3746
3747 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3748
3749         * java/awt/ContainerOrderFocusTraversalPolicy.java
3750         (getFirstComponent): Implemented.
3751         (getLastComponent): Implemented.
3752         (getDefaultComponent): Implemented.
3753         (setImplicitDownCycleTraversal): Fixed implementation.
3754         * java/awt/Robot.java
3755         (Robot): Added documentation.
3756         * java/awt/Toolkit.java
3757         (getFontList): Deprecated.
3758         (getFontMetrics): Deprecated.
3759         (getPrintJob): Added documentation.
3760         (getSystemSelection): Added documentation.
3761         (getLockingKeyState): Added documentation.
3762         (setLockingKeyState): Added documentation.
3763         (createCustomCursor): Added documentation.
3764         (getBestCursorSize): Added documentation.
3765         (getMaximumCursorColors): Added documentation.
3766         (isFrameStateSupported): Added documentation.
3767
3768 2003-03-24  Michael Koch  <konqueror@gmx.de>
3769
3770         * java/io/RandomAccessFile.java:
3771         More little merges with classpath. No code changes.
3772
3773 2003-03-24  Michael Koch  <konqueror@gmx.de>
3774
3775         * java/net/natInetAddressNoNet.cc:
3776         Include stddef.h.
3777         * java/net/natPlainDatagramSocketImplNoNet.cc:
3778         Fixed inlcude of java/net/DatagramPacket.h.
3779         * java/net/natPlainSocketImplNoNet.cc:
3780         Include some missing classes.
3781
3782 2003-03-24  Michael Koch  <konqueror@gmx.de>
3783
3784         * java/awt/dnd/DropTarget.java
3785         (DropTargetAutoScroller): According to the online documentation, this
3786         is protected, but in reality it is public.
3787         * java/awt/dnd/DropTargetContext.java
3788         (TransferableProxy): According to the online documentation, this
3789         is protected, but in reality it is public.
3790
3791 2003-03-24  Michael Koch  <konqueror@gmx.de>
3792
3793         * java/io/DataInputStream.java
3794         (): Wrapped documentation line.
3795         (): Fixed @return tag.
3796         * java/io/DataOutputStream.java
3797         (written): Moved to top of class.
3798         (all methods): Merged documentation from classpath.
3799         * java/io/File.java:
3800         Merged copyright year with classpath.
3801         * java/io/FileInputStream.java
3802         (all methods): Merged documentation from classpath.
3803         * java/io/LineNumberReader.java
3804         (getLineNumber): Fixed @return tag.
3805         * java/io/ObjectInputStream.java.
3806         Reformatted.
3807         * java/io/ObjectOutputStream.java:
3808         Reformatted, fixed some @see tags.
3809         * java/io/OutputStreamWriter.java:
3810         Deleted empty line.
3811         * java/io/Writer.java:
3812         Reformatted.
3813
3814 2003-03-24  Michael Koch  <konqueror@gmx.de>
3815
3816         * java/awt/Frame.java
3817         (DEFAULT_CURSOR): Fixed @deprecated tag.
3818         (setCursor): Fixed @deprecated tag.
3819
3820 2003-03-24  Michael Koch  <konqueror@gmx.de>
3821
3822         * java/beans/beancontext/BeanContextEvent.java:
3823         Reformated.
3824
3825 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3826
3827         * java/lang/natStringBuffer.cc (regionMatches): New function.
3828         * java/lang/String.java (count): Now package-private.
3829         * java/lang/StringBuffer.java: Merged with Classpath.
3830
3831 2003-03-23  Michael Koch  <konqueror@gmx.de>
3832
3833         * java/io/BufferedOutputStream.java:
3834         Reformated.
3835         * java/io/BufferedReader.java:
3836         Reformated.
3837         * java/io/ByteArrayOutputStream.java
3838         (size): Fixed @see tag.
3839         * java/io/CharArrayWriter.java
3840         (size): Fixed @see tag.
3841         * java/io/DataInput.java:
3842         Reformated.
3843         * java/io/DataOutput.java:
3844         Reformated.
3845         * java/io/DataOutputStream.java:
3846         Merged copyright years with classpath.
3847         * java/io/Externalizable.java:
3848         Reformated.
3849         * java/io/FileFilter.java:
3850         Reformated.
3851         * java/io/FileInputStream.java:
3852         Merged copyright years with classpath.
3853         * java/io/FileOutputStream.java:
3854         Merged copyright years with classpath.
3855         * java/io/FilePermission.java
3856         (FilePermission): Replaced @XXX with FIXME:.
3857         * java/io/FileWriter.java:
3858         Reformated.
3859         * java/io/FilenameFilter.java:
3860         Reformated.
3861         * java/io/FilterInputStream.java:
3862         Reformated.
3863         * java/io/FilterOutputStream.java:
3864         Reformated.
3865         * java/io/FilterReader.java:
3866         Reformated.
3867         * java/io/FilterWriter.java:
3868         Reformated.
3869         * java/io/LineNumberInputStream.java
3870         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3871         happy.
3872         (getLineNumber): Fixed @return tag.
3873         * java/io/ObjectInput.java:
3874         Reformated.
3875         * java/io/ObjectOutput.java:
3876         Reformated.
3877         * java/io/ObjectStreamClass.java:
3878         Reformated.
3879         * java/io/PrintStream.java:
3880         Merged copyright years with classpath.
3881         * java/io/PushbackReader.java
3882         (PushbackReader): Replaced @code with @param.
3883         * java/io/SerializablePermission.java:
3884         Reformated.
3885         * java/io/StreamTokenizer.java
3886         (resetSyntax): Fixed @see tag.
3887
3888 2003-03-22  Richard Henderson  <rth@redhat.com>
3889
3890         * sysdep/ia64/locks.h: Include ia64intrin.h.
3891         (compare_and_swap): Use __sync_bool_compare_and_swap.
3892         (compare_and_swap_release): Expose ar.ccv assignment.
3893
3894 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3895
3896         * include/posix.h: Add suffix for darwin dynamic libraries.
3897
3898 2003-03-21  Michael Koch  <konqueror@gmx.de>
3899
3900         * javax/swing/Action.java
3901         (ACCELERATOR_KEY): New constant.
3902         (ACTION_COMMAND_KEY): Likewise.
3903         (MNEMONIC_KEY): Likewise.
3904         * javax/swing/UnsupportedLookAndFeelException.java
3905         (UnsupportedLookAndFeelException): Must be public.
3906         * javax/swing/WindowConstants.java
3907         (EXIT_ON_CLOSE): New constant.
3908         * javax/swing/text/BadLocationException.java
3909         (offset): New member variable.
3910         (BadLocationException): New implementation, documentation added.
3911         (offsetRequested): New method.
3912         * javax/swing/text/Caret.java:
3913         Reformated.
3914         * javax/swing/text/Document.java:
3915         Reformated.
3916
3917 2003-03-21  Michael Koch  <konqueror@gmx.de>
3918
3919         * java/rmi/activation/Activatable.java
3920         (serialVersionUID): New member variable.
3921         * java/rmi/activation/ActivationGroup.java
3922         (serialVersionUID): New member variable.
3923         * java/rmi/activation/ActivationGroupDesc.java
3924         (serialVersionUID): New member variable.
3925         * java/rmi/registry/Registry.java:
3926         Reformated.
3927         (Registry): Deprecated.
3928         * java/rmi/server/LoaderHandler.java
3929         Reformated.
3930         (LoaderHandler): Deprecated.
3931         * java/rmi/server/LogStream.java
3932         Reformated.
3933         (LogStream): Deprecated.
3934         * java/rmi/server/Operation.java
3935         (Operation): Deprecated.
3936         * java/rmi/server/RMIFailureHandler.java:
3937         Reformated.
3938         * java/rmi/server/RMISocketFactory.java:
3939         Reformated.
3940         * java/rmi/server/RemoteCall.java
3941         (RemoteCall): Deprecated.
3942         * java/rmi/server/RemoteStub.java:
3943         Reformated.
3944         * java/rmi/server/Skeleton.java
3945         Reformated.
3946         (Skeleton): Deprecated.
3947
3948 2003-03-21  Michael Koch  <konqueror@gmx.de>
3949
3950         * java/io/LineNumberReader.java
3951         (LineNumberReader): Merged documentation with classpath.
3952         (getLineNumber): Likewise.
3953         (setLineNumber): Likewise.
3954         (mark): Likewise.
3955         (reset): Likewise.
3956         (read): Likewise.
3957         (readLine): Likewise.
3958         (skip): Likewise.
3959
3960 2003-03-21  Michael Koch  <konqueror@gmx.de>
3961
3962         * java/rmi/RMISecurityManager.java
3963         (checkAccept): Removed.
3964         (checkAccess): Likewise.
3965         (checkAccess): Likewise.
3966         (checkAwtEventQueueAccess): Likewise.
3967         (checkConnect): Likewise.
3968         (checkCreateClassLoader): Likewise.
3969         (checkDelete): Likewise.
3970         (checkExec): Likewise.
3971         (checkExit): Likewise.
3972         (checkLink): Likewise.
3973         (checkListen): Likewise.
3974         (checkMemberAccess): Likewise.
3975         (checkMulticast): Likewise.
3976         (checkPackageAccess): Likewise.
3977         (checkPackageDefinition): Likewise.
3978         (checkPermission): Likewise.
3979         (checkPrintJobAccess): Likewise.
3980         (checkPropertiesAccess): Likewise.
3981         (checkPropertyAccess): Likewise.
3982         (checkRead): Likewise.
3983         (checkSecurityAccess): Likewise.
3984         (checkSetFactory): Likewise.
3985         (checkSystemClipboardAccess): Likewise.
3986         (checkTopLevelWindow): Likewise.
3987         (checkWrite): Likewise.
3988
3989 2003-03-20  Michael Koch  <konqueror@gmx.de>
3990
3991         * gnu/java/nio/FileChannelImpl.java
3992         (address): Removed.
3993         (map_address): New member variable.
3994         (length): Make it package private.
3995         (fd): Make it package private.
3996         (buf): Make it package private.
3997         (file_obj): Make it package private.
3998         (FileChannelImpl): New constructor.
3999         (nio_mmap_file): Use RawData instead of long.
4000         (nio_munmap_file): Use RawData instead of long.
4001         (nio_msync): Use RawData instead of long.
4002         (implCloseChannel): New implementation using map_address.
4003         (read): Reformated.
4004         (map): Implemented.
4005         (create_direct_mapped_buffer): Implemented, use RawData, throws
4006         IOException.
4007         (force): Use map_address instead of address.
4008         * gnu/java/nio/MappedByteFileBuffer.java
4009         (address): Removed.
4010         (map_address): New member variable.
4011         (MappedByteFileBuffer): Use map_address instead of address, reformated.
4012         (several methods): Use map_address instead of address, replaced long
4013         with RawData where appropriate.
4014         * gnu/java/nio/natFileChannelImpl.cc
4015         (nio_mmap_file): Replaced long with RawData.
4016         (nio_munmap_file): Replaced long with RawData.
4017         (nio_msync): Replaced long with RawData.
4018         * gnu/java/nio/natMappedByteFileBuffer.cc
4019         (several methods): Replaced long with RawData where appropriate.
4020
4021 2003-03-20  Michael Koch  <konqueror@gmx.de>
4022
4023         * java/net/InetAddress.java,
4024         java/net/JarURLConnection.java,
4025         java/net/PlainDatagramSocketImpl.java,
4026         java/net/PlainSocketImpl.java,
4027         java/net/URLConnection.java:
4028         Merged copyright statements with classpath for easier merging.
4029
4030 2003-03-20  Michael Koch  <konqueror@gmx.de>
4031
4032         * java/io/FileInputStream.java
4033         (getChannel): New implementation.
4034         * java/io/FileOutputStream.java
4035         (ch): New member variable.
4036         (getChannel): Implemented.
4037         * java/io/RandomAccessFile.java
4038         (RandomAccessFile): Throws FileNotFoundException instead of
4039         IOException.
4040         (getChannel): New method.
4041         (ch): New member variable.
4042
4043 2003-03-20  Michael Koch  <konqueror@gmx.de>
4044
4045         * java/io/DataOutputStream.java,
4046         java/io/File.java,
4047         java/io/FileInputStream.java,
4048         java/io/FileOutputStream.java,
4049         java/io/InputStreamReader.java,
4050         java/io/LineNumberReader.java,
4051         java/io/OutputStreamWriter.java,
4052         java/io/PrintStream.java,
4053         java/io/RandomAccessFile.java:
4054         Merged copyright statements with classpath for easier merging.
4055
4056 2003-03-19  Michael Koch  <konqueror@gmx.de>
4057
4058         * java/lang/Process.java:
4059         Merged from classpath.
4060
4061 2003-03-19  Michael Koch  <konqueror@gmx.de>
4062
4063         * java/io/FileOutputStream.java
4064         (FileOutputStream): New constructor, merged from classpath.
4065         * java/io/FileWriter.java
4066         (FileWriter): New constructor, merged from classpath.
4067
4068 2003-03-18  Michael Koch  <konqueror@gmx.de>
4069
4070         * java/awt/ScrollPane.java
4071         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4072         (getViewportSize): Likewise.
4073         (addNotify): Likewise.
4074         (removeNotify): Likewise.
4075         * java/awt/ScrollPaneAdjustable.java
4076         (ScrollPaneAdjustable): No longer extends Scrollbar.
4077         * java/beans/beancontext/BeanContextServices.java:
4078         Reformated.
4079         (getService): Added throws TooManyListenersException;
4080         * java/beans/beancontext/BeanContextServicesSupport.java:
4081         Reformated.
4082
4083 2003-03-18  Michael Koch  <konqueror@gmx.de>
4084
4085         * java/io/BufferedOutputStream.java,
4086         java/io/DataInput.java,
4087         java/io/DataInputStream.java,
4088         java/io/DataOutput.java,
4089         java/io/Externalizable.java:
4090         More merges from classpath.
4091
4092 2003-03-18  Michael Koch  <konqueror@gmx.de>
4093
4094         * configure.in: Fixed links to platform dependant java.net files.
4095         * configure: Regenerated.
4096         * java/net/natInetAddress.cc,
4097         java/net/natNetworkInterface.cc,
4098         java/net/natPlainDatagramSocketImpl.cc,
4099         java/net/natPlainSocketImpl.cc:
4100         Removed.
4101
4102 2003-03-18  Michael Koch  <konqueror@gmx.de>
4103
4104         * configure.in: Create links to architecture dependent files,
4105         introduced PLATFORMNET variable (set to NoNet for newlib usage).
4106         * configure: Regenerated.
4107         * java/net/natInetAddressNoNet.cc,
4108         java/net/natInetAddressPosix.cc,
4109         java/net/natInetAddressWin32.cc,
4110         java/net/natNetworkInterfaceNoNet.cc,
4111         java/net/natNetworkInterfacePosix.cc,
4112         java/net/natNetworkInterfaceWin32.cc,
4113         java/net/natPlainDatagramSocketImplNoNet.cc,
4114         java/net/natPlainDatagramSocketImplPosix.cc,
4115         java/net/natPlainDatagramSocketImplWin32.cc,
4116         java/net/natPlainSocketImplNoNet.cc,
4117         java/net/natPlainSocketImplPosix.cc,
4118         java/net/natPlainSocketImplWin32.cc: New files.
4119
4120 2003-03-18  Michael Koch  <konqueror@gmx.de>
4121
4122         * java/io/BufferedReader.java,
4123         java/io/BufferedWriter.java,
4124         java/io/ByteArrayOutputStream.java,
4125         java/io/FileFilter.java,
4126         java/io/FilePermission.java,
4127         java/io/FileReader.java,
4128         java/io/FileWriter.java,
4129         java/io/FilenameFilter.java,
4130         java/io/FilterInputStream.java,
4131         java/io/FilterOutputStream.java,
4132         java/io/FilterReader.java,
4133         java/io/FilterWriter.java,
4134         java/io/ObjectInput.java,
4135         java/io/ObjectInputValidation.java,
4136         java/io/ObjectOutput.java,
4137         java/io/ObjectStreamField.java,
4138         java/io/PipedInputStream.java,
4139         java/io/PipedReader.java,
4140         java/io/PrintWriter.java,
4141         java/io/PushbackReader.java,
4142         java/io/Reader.java,
4143         java/io/SerializablePermission.java,
4144         java/io/StringReader.java,
4145         java/io/Writer.java:
4146         Merged from classpath.
4147
4148 2003-03-17  Michael Koch  <konqueror@gmx.de>
4149
4150         * java/awt/ScrollPaneAdjustable.java:
4151         Compile fixes.
4152         
4153 2003-03-17  Michael Koch  <konqueror@gmx.de>
4154
4155         * java/net/DatagramSocket.java
4156         (connect): Fixed comment.
4157         * java/nio/ByteBuffer.java
4158         (hasArray): Fixed comment.
4159
4160 2003-03-17  Michael Koch  <konqueror@gmx.de>
4161
4162         * java/beans/Beans.java:
4163         Explicitely import classes not packages.
4164         * java/beans/FeatureDescriptor.java
4165         (preferred): New member variable.
4166         (isPreferred): New method.
4167         (setPreferred): New method.
4168         * java/beans/PropertyEditorManager.java:
4169         Explicitely import used classes.
4170         * java/beans/beancontext/BeanContextChild.java:
4171         Added line wrapping.
4172         * java/beans/beancontext/BeanContextChildSupport.java:
4173         Reindented.
4174         * java/beans/beancontext/BeanContextEvent.java:
4175         Reindented.
4176
4177 2003-03-17  Michael Koch  <konqueror@gmx.de>
4178
4179         * java/awt/Dialog.java
4180         (Dialog): New constructor, changed implementations, added
4181         documentation.
4182         * java/awt/ScrollPaneAdjustable.java
4183         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4184         Serializable.
4185         (serialVersionUID): New member variable.
4186         (sp): New member variable.
4187         (orientation): New member variable.
4188         (value): New member variable.
4189         (minimum): New member variable.
4190         (maximum): New member variable.
4191         (visibleAmount): New member variable.
4192         (unitIncrement): New member variable.
4193         (blockIncrement): New member variable.
4194         (AdjustmentListener): New member variable.
4195         (ScrollPaneAdjustable): New implementation.
4196         (addAdjustmentListener): New method.
4197         (removeAdjustmentListener): New method.
4198         (getAdjustmentListeners): New method.
4199         (getBlockIncrement): New method.
4200         (getMaximum): New method.
4201         (getMinimum): New method.
4202         (getOrientation): New method.
4203         (getUnitIncrement): New method.
4204         (getValue): New method.
4205         (getVisibleAmount): New method.
4206         (setBlockIncrement): New method.
4207         (setMaximum): Implemented.
4208         (setMinimum): Implemented.
4209         (setUnitIncrement): New method.
4210         (setValue): New method.
4211         (setVisibleAmount): Implemented. 
4212         (paramString): New stubbed method.
4213         * java/awt/Window.java
4214         (show): Call setVisible().
4215         (hide): Call setVisible().
4216         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4217         and WINDOW_STATE_CHANGED.
4218         (processWindowFocusEvent): New method.
4219         (processWindowStateEvent): New method.
4220         (postEvent): Deprecated.
4221         (applyResourceBundle): Deprecated.
4222         * java/awt/datatransfer/DataFlavor.java
4223         (DataFlavor): Doesn't thow ClassNotFoundException.
4224
4225 2003-03-17  Michael Koch
4226
4227         * javax/print/attribute/Attribute.java,
4228         javax/print/attribute/AttributeSet.java,
4229         javax/print/attribute/PrintRequestAttributeSet.java:
4230         New files.
4231         * Makefile.am
4232         (javax_source_files): Added new files:
4233         javax/print/attribute/Attribute.java
4234         javax/print/attribute/AttributeSet.java
4235         javax/print/attribute/PrintRequestAttributeSet.java
4236         * Makefile.in: Regenerated.
4237
4238 2003-03-17  Michael Koch
4239
4240         * javax/print/attribute/Attribute.java,
4241         javax/print/attribute/AttributeSet.java,
4242         javax/print/attribute/PrintRequestAttributeSet.java:
4243         New files.
4244         * Makefile.am
4245         (awt_java_source_files): Added new files:
4246         javax/print/attribute/Attribute.java
4247         javax/print/attribute/AttributeSet.java
4248         javax/print/attribute/PrintRequestAttributeSet.java
4249         * Makefile.in: Regenerated.
4250
4251 2003-03-16  Tom Tromey  <tromey@redhat.com>
4252
4253         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4254         Include platform.h.
4255         * java/lang/natRuntime.cc (insertSystemProperties): Use
4256         _Jv_platform_path_separator.
4257         (nativeGetLibname): Use _Jv_platform_file_separator.
4258         (_load): Use _Jv_platform_onload_names.
4259         (onload_names): New global.
4260         * include/win32.h (_Jv_platform_file_separator): New define.
4261         (_Jv_platform_path_separator): Likewise.
4262         (_Jv_platform_onload_names): Likewise.
4263         (_Jv_platform_ffi_abi): Likewise.
4264         * include/posix.h (_Jv_platform_file_separator): New define.
4265         (_Jv_platform_path_separator): Likewise.
4266         (_Jv_platform_onload_names): Likewise.
4267         (_Jv_platform_ffi_abi): Likewise.
4268
4269 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
4270
4271         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4272
4273 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
4274
4275         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4276         hierarchy loop.
4277         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4278         list to Object,ObjectStreamClass, moved callReadMethod code up into
4279         readObject and added Class argument to all setXxxField calls.
4280         (callReadMethod): Changed Class argument to ObjectStreamClass to be
4281         consistent with ObjectOutputStream and to facilitate caching the
4282         Method in the future.
4283         (setBooleanField): Added Class argument.
4284         (setByteField): Likewise.
4285         (setCharField): Likewise.
4286         (setDoubleField): Likewise.
4287         (setFloatField): Likewise.
4288         (setIntField): Likewise.
4289         (setLongField): Likewise.
4290         (setShortField): Likewise.
4291         (setObjectField): Likewise.
4292         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4293         class hierarchy loop.
4294         (defaultWriteObject): Call writeFields with new argument list.
4295         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4296         list to Object,ObjectStreamClass, moved callWriteMethod up into
4297         writeObject and added Class argument to all getXxxField calls.
4298         (callWriteMethod): Added ObjectStreamClass argument to be able to
4299         get the proper class to call getMethod on (each class can have (or
4300         not have) its own writeObject method).
4301         (getBooleanField): Added Class argument.
4302         (getByteField): Likewise.
4303         (getCharField): Likewise.
4304         (getDoubleField): Likewise.
4305         (getFloatField): Likewise.
4306         (getIntField): Likewise.
4307         (getLongField): Likewise.
4308         (getShortField): Likewise.
4309         (getObjectField): Likewise.
4310         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4311         facilitate caching the Method object in the future.
4312
4313 2003-03-12  Andreas Schwab  <schwab@suse.de>
4314
4315         * configure.in: Avoid trailing /. in toolexeclibdir.
4316         * configure: Rebuilt.
4317
4318 2003-03-11  Michael Koch  <konqueror@gmx.de>
4319
4320         * gnu/java/nio/ByteBufferImpl.java
4321         (putInt): Use limit() instead of limit.
4322         * gnu/java/nio/CharBufferImpl.java
4323         (slice): Fixed implementation.
4324         (subSequence): Better bounds checking.
4325         * gnu/java/nio/MappedByteFileBuffer.java:
4326         Import all needed classes directly.
4327         * java/nio/ByteBuffer.java
4328         (hashCode): New dummy method.
4329         * java/nio/CharBuffer.java
4330         (array_offset): New member variable.
4331         (hasArray): Fixed documentation.
4332         (arrayOffset): Return array_offset.
4333
4334 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
4335
4336         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4337         setter; made return value of getter const char* instead of char*
4338         * prims.cc: removed all references to _Jv_ThisExecutable().
4339         These are in the platform-specific sections now.
4340         * posix.cc: define platform-specific _Jv_ThisExecutable().
4341         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4342         * win32.cc: define platform-specific _Jv_ThisExecutable()
4343         using GetModuleFilename()
4344         * java/lang/natRuntime.cc: set gnu.gcj.progname property
4345         to argv[0] instead of _Jv_ThisExecutable()
4346
4347 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4348
4349         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4350         that is set if we are using addr2name.awk instead of addr2line.
4351         (NameFinder): Set usingAddr2name if using addr2name.awk.
4352         (getExternalLabel): New native method to convert a method 
4353         name to an external label.
4354         (lookup): Convert name given by addr2line to an external label
4355         before demangling.
4356
4357         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4358         constant representing the prefix attached to method names to
4359         convert them to an external label.
4360         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
4361         using LABEL_PREFIX.
4362
4363 2003-03-10  Tom Tromey  <tromey@redhat.com>
4364
4365         * Makefile.in: Rebuilt.
4366         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4367         (JC1FLAGS): Removed -Wno-deprecated.
4368
4369 2003-03-10  Michael Koch  <konqueror@gmx.de>
4370
4371         * java/nio/ByteOrder.java
4372         (nativeOrder): Working implementation, added documentation.
4373         (toString): Added documentation.
4374
4375 2003-03-10  Michael Koch  <konqueror@gmx.de>
4376
4377         * java/net/DatagramSocket.java,
4378         java/net/MulticastSocket.java,
4379         java/net/Socket.java,
4380         java/net/URL.java,
4381         java/net/URLConnection.java:
4382         Fixed some documentation tags to make javadoc and friends happy.
4383
4384 2003-03-10  Michael Koch  <koqnueror@gmx.de>
4385
4386         * java/beans/beancontext/BeanContextServicesSupport.java,
4387         java/beans/beancontext/BeanContextSupport.java: New files.
4388         * Makefile.am
4389         (awt_source_files): Added new files.
4390         * Makefile.in: Regenerated.
4391
4392 2003-03-10  Michael Koch  <konqueror@gmx.de>
4393
4394         * java/awt/FocusTraversalPolicy.java
4395         (FocusTraversalPolicy): Documentation added.
4396         (getComponentAfter): Documentation added.
4397         (getComponentBefore): Documentation added.
4398         (getFirstComponent): Documentation added.
4399         (getLastComponent): Documentation added.
4400         (getDefaultComponent): Documentation added.
4401         (getInitialComponent): Documentation added.
4402         * java/awt/ScrollPaneAdjustable.java
4403         (sp): New member variable.
4404         (orientation): New member variable.
4405         (value): New member variable.
4406         (minimum): New member variable.
4407         (maximum): New member variable.
4408         (visibleAmount): New member variable.
4409         (unitIncrement): New member variable.
4410         (blockIncrement): New member variable.
4411         (adjustmentListener): New member variable.
4412         (ScrollPaneAdjustable): Rewrote.
4413         (addAdjustmentListener): New method.
4414         (removeAdjustmentListener): New method.
4415         (getAdjustmentListeners): New method.
4416         (getBlockIncrement): New method.
4417         (getMaximum): New method.
4418         (getMinimum): New method.
4419         (getOrientation): New method.
4420         (getUnitIncrement): New method.
4421         (getValue): New method.
4422         (getVisibleAmount): New method.
4423         (setBlockIncrement): New method.
4424         (setUnitIncrement): New method.
4425         (setMaximum): Implemented.
4426         (setMinimum): Implemented.
4427         (setValue): New method.
4428         (setVisibleAmount): Implemented.
4429         (paramString): New method.
4430         * java/awt/Window.java
4431         (show): Use setVisible(true) instead of super.show().
4432         (hide): Use sevVisible(false) instead of super.hide().
4433         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4434         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4435         (postEvent): Deprecated.
4436         (applyResourceBundle): Deprecated.
4437         (processWindowFocusEvent): New method.
4438         (processWindowStateEvent): New method.
4439         * java/awt/datatransfer/DataFlavor.java: Reindented.
4440         * java/awt/font/TextHitInfo.java
4441         (charIndex): New member variable.
4442         (leadingEdge): New member variable.
4443         (TextHitInfo): New constructor.
4444         (getCharIndex): Implemented.
4445         (isLeadingEdge): Implemented.
4446         (getInsertionIndex): Implemented.
4447         (hashCode): Access charIndex directly.
4448         (equals): Reformated.
4449         (leading): Implemented.
4450         (trailing): Implemented.
4451         (beforeOffset): Implemented.
4452         (afterOffset): Implemented.
4453         (getOtherHit): Implemented.
4454         (getOffsetHit): Implemented.
4455         (toString): Implemented.
4456         * java/awt/image/BufferedImage.java
4457         (BufferedImage): Implements WritableRenderedImage.
4458         (observers): New member variable.
4459         (addTileObserver): New method.
4460         (removeTileObserver): New method.
4461
4462 2003-03-09  Tom Tromey  <tromey@redhat.com>
4463
4464         PR libgcj/9934:
4465         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4466         to lseek.  Return 0 if we can't compute the value.
4467
4468 2003-03-03  Michael Koch  <konqueror@gmx.de>
4469
4470         * java/net/NetworkInterface.java: Merged with classpath.
4471
4472 2003-03-03  Tom Tromey  <tromey@redhat.com>
4473
4474         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4475         of bytecode.
4476         (handle_ret_insn): Fail if returning to jsr that appears at end of
4477         bytecode.
4478
4479 2003-03-03  Michael Koch  <konqueror@gmx.de>
4480
4481         * Makefile.am
4482         (ordinary_java_source_files):
4483         Added gnu/java/nio/MappedByteFileBuffer.java.
4484         (nat_source_files):
4485         Added gnu/java/nio/natMappedByteFileBuffer.cc.
4486         * Makefile.in: Regenerated.
4487
4488 2003-03-03  Michael Koch  <konqueror@gmx.de>
4489
4490         * java/net/DatagramSocket.java
4491         (connect): Merged comment from classpath.
4492         (receive): Merged documentation from classpath.
4493         * java/net/Socket.java
4494         (setSoTimeout): Clarified documentation.
4495         * java/net/URL.java
4496         (getPath): Merged from classpath.
4497         (getUserInfo): Merged from classpath.
4498         (getQuery): Merged from classpath.
4499         * java/net/URLStreamHandler.java
4500         (toExternalForm): Merged from classpath.
4501
4502 2003-03-02  Mark Wielaard  <mark@klomp.org>
4503
4504         * java/util/Properties.java (load): Only skip line if the first
4505         character is a comment, whitespaces don't count.
4506
4507 2003-03-02  Michael Koch  <konqueror@gmx.de>
4508
4509         * java/net/NetPermission.java:
4510         Merged copyright with classpath.
4511
4512 2003-03-02  Michael Koch  <konqueror@gmx.de>
4513
4514         * java/lang/Package.java:
4515         Remerged from classpath.
4516
4517 2003-03-02  Michael Koch  <konqueror@gmx.de>
4518
4519         * java/net/HttpURLConnection.java
4520         (HTTP_SERVER_ERROR): Deprecated.
4521         * java/net/MulticastSocket.java
4522         (send): Replaced checkMulticast with appropriate checkPermission call,
4523         deprecated.
4524         * java/net/URLDecoder.java
4525         (decode): Deprecated.
4526         * java/net/URLEncoder.java
4527         (encode): Deprecated.
4528
4529 2003-03-02  Michael Koch  <konqueror@gmx.de>
4530
4531         * javax/swing/text/Caret.java
4532         (getMagicCaretPosition): Fixed typo in method name.
4533         * javax/swing/text/DefaultCaret.java
4534         (getMagicCaretPosition): Fixed typo in method name.
4535
4536 2003-03-02  Michael Koch  <konqueror@gmx.de>
4537
4538         * java/awt/List.java
4539         (setMultipleSelections): Deprecated.
4540         (delItem): Deprecated.
4541         * java/awt/MenuComponent.java
4542         (getPeer): Deprecated.
4543         * java/awt/ScrollPane.java
4544         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4545         * java/awt/dnd/MouseDragGestureRecognizer.java
4546         (mouseClicked): Added comment.
4547         (mousePressed): Added comment.
4548         (mouseReleased): Added comment.
4549         (mouseEntered): Added comment.
4550         (mouseExited): Added comment.
4551         (mouseDragged): Added comment.
4552         (mouseMoved): Added comment.
4553         * java/awt/event/KeyEvent.java
4554         (KeyEvent): Deprecated.
4555         (setModifiers): Deprecated.
4556         
4557 2003-03-02  Michael Koch  <konqueror@gmx.de>
4558
4559         * gnu/java/nio/FileChannelImpl.java
4560         (fd): Type FileDescriptor instead of int.
4561         (lengthInternal): Removed.
4562         (FileChannelImpl): Fixed arguments, check type of file object.
4563         (size): Made it native.
4564         (implPosition): New native method.
4565         (implTruncate): New native method.
4566         (position): Implemented.
4567         (truncate): Implemented.
4568         (nio_mmap_file): Changed arguments.
4569         (nio_munmap_file): Changed arguments.
4570         (nio_msync): Changed arguments.
4571         * gnu/java/nio/natFileChannelImpl.cc
4572         (lengthInternal): Removed.
4573         (size): New method.
4574         (implPosition): New method.
4575         (implTruncate): New method.
4576         (nio_mmap_file): Changed arguments.
4577         (nio_munmap_file): Changed arguments.
4578         (nio_msync): Changed arguments.
4579
4580 2003-03-02  Michael Koch  <konqueror@gmx.de>
4581
4582         * java/awt/dnd/DropTargetContext.java:
4583         Compile fix: Forgot to commit import.
4584         
4585 2003-03-02  Michael Koch  <konqueror@gmx.de>
4586
4587         * java/awt/Component.java,
4588         java/awt/ScrollPane.java:
4589         Fixed typos.
4590
4591 2003-03-02  Michael Koch  <konqueror@gmx.de>
4592
4593         * java/awt/dnd/DnDEventMulticaster.java: New file.
4594         * java/awt/dnd/DragSource.java
4595         (flavorMap): New member variable.
4596         (dragSourceListener): New member variable.
4597         (dragSourceMotionListener): New member variable.
4598         (getFlavorMap): Implemented.
4599         (createDragGestureRecognizer): Implemented.
4600         (addDragSourceListener): Implemented.
4601         (removeDragSourceListener): Implemented.
4602         (getDragSourceListeners): Implemented.
4603         (addDragSourceMotionListener): Implemented.
4604         (removeDragSourceMotionListener): Implemented.
4605         (getDragSourceMotionListeners): Implemented.
4606         (getListeners): Implemented.
4607         * java/awt/dnd/DragSourceContext.java
4608         (peer): New member variable.
4609         (cursor): New member variable.
4610         (transferable): New member variable.
4611         (trigger): New member variable.
4612         (dragSourceListener): New member variable.
4613         (image): New member variable.
4614         (offset): New member variable.
4615         (DragSourceContext): Implemented.
4616         (getDragSource): Implemented.
4617         (getComponent): Implemented.
4618         (getTrigger): Implemented.
4619         (getSourceActions): Implemented.
4620         (setCursor): Implemented.
4621         (getCursor): Implemented.
4622         (addDragSourceListener): Implemented.
4623         (removeDragSourceListener): Implemented.
4624         (getTransferable): Implemented.
4625         * java/awt/dnd/DropTarget.java
4626         (DropTargetAutoScroller.component): New member variable.
4627         (DropTargetAutoScroller.point): New member variable.
4628         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4629         (DropTargetAutoScroller.updateLocation): Implemented.
4630         (active): Renamed from isActive, defaults to true now.
4631         (component): New member variable.
4632         (flavorMap): New member variable.
4633         (actions): New member variable.
4634         (dropTargetContext): New member variable.
4635         (dropTargetListener): New member variable.
4636         (DropTarget): Implemented.
4637         (getComponent): Implemented.
4638         (setComponent): Implemented.
4639         (setDefaultActions): Implemented.
4640         (getDefaultActions): Implemented.
4641         (setActive): Use active instead of isActive.
4642         (isActive): Use active instead of isActive.
4643         (addDropTargetListener): Implemented.
4644         (removeDropTargetListener): Implemented.
4645         (getFlavorMap): Implemented.
4646         (setFlavorMap): Implemented.
4647         (getDropTargetContext): Implemented.
4648         (createDropTargetContext): Implemented.
4649         (createDropTargetAutoScroller): Implemented.
4650         * java/awt/dnd/DropTargetContext.java
4651         (TransferableProxy.getTransferDataFlavors): Implemented.
4652         (TransferableProxy.isDataFlavorSupported): Implemented.
4653         (TransferableProxy.getTransferData): Implemented.
4654         (dropTarget):  New member variable.
4655         (dtcp): New member variable.
4656         (DropTargetContext): New package private constructor.
4657         (getDropTarget): Implemented.
4658         (getComponent): Implemented.
4659         (addNotify): Implemented.
4660         (removeNotify): Implemented.
4661         (getCurrentDataFlavorsAsList): Implemented.
4662         (isDataFlavorSupported): Implemented.
4663         * java/awt/dnd/MouseDragGestureRecognizer.java
4664         (registerListeners): Implemented.
4665         (unregisterListeners): Implemented.
4666         * Makefile.am
4667         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4668         * Makefile.in: Regenerated.
4669
4670 2003-03-02  Michael Koch  <konqueror@gmx.de>
4671
4672         * java/awt/Component.java
4673         (eventTypeEnabled): New method.
4674         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4675         * java/awt/Container.java
4676         (changeSupport): New member variable.
4677         (addPropertyChangeListener): New methods.
4678         * java/awt/ContainerOrderFocusTraversalPolicy.java
4679         (ContainerOrderFocusTraversalPolicy): Added comment.
4680         (getComponentAfter): Throw exception, documentation added.
4681         (getComponentBefore): Throw exception, documentation added.
4682         (getFirstComponent): Throw exception, documentation added.
4683         (getLastComponent): Throw exception, documentation added.
4684         (getDefaultComponent): Throw exception, documentation added.
4685         * java/awt/EventQueue.java: Reindented.
4686         * java/awt/FocusTraversalPolicy.java:
4687         (FocusTraversalPolicy): Added comment.
4688         (getComponentAfter): Documentation added.
4689         (getComponentBefore): Documentation added.
4690         (getFirstComponent): Documentation added.
4691         (getLastComponent): Documentation added.
4692         (getDefaultComponent): Documentation added.
4693         (getInitialComponent): Documentation added.
4694         * java/awt/ScrollPane.java
4695         (wheelScrollingEnabled): New member variable.
4696         (ScrollPane): Initialize wheelScollingEnabled.
4697         (eventTypeEnabled): New method.
4698         (isWheelScrollingEnabled): New method.
4699         (setWheelScrollingEnabled): New method.
4700
4701 2003-03-02  Michael Koch  <konqueror@gmx.de>
4702
4703         * java/net/DatagramSocket.java
4704         (closed): New member variable.
4705         (close): Use closed variable.
4706         (getInetAddress): No need to call isConnected().
4707         (getPort): No need to call isConnected().
4708         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4709         (isClosed): Reimplemented.
4710         
4711 2003-03-02  Michael Koch  <konqueror@gmx.de>
4712
4713         * configure.in: Added check for memory mapping of files.
4714         * configure: Regenerated.
4715         * config.h.in: Regenerated.
4716
4717 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4718
4719         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4720         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4721
4722 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4723
4724         * java/io/File.java (normalizePath): Remove trailing separator
4725         on Windows only if path is not of the form "x:\".
4726
4727         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4728         (java::io::File::attr): Change formatting a bit and use
4729         WIN32_EPOCH_MILLIS instead of magic numbers.
4730         (java::io::File::isAbsolute): Path must have at least 3 
4731         characters for a UNC network path.
4732         (java::io::File::init_native): Define.
4733         (java::io::File::performCreate): Likewise.
4734         (java::io::File::performSetReadOnly): Likewise.
4735         (java::io::File::performSetLastModified): Likewise.
4736         (java::io::File::performListRoots): Likewise.
4737
4738 2003-03-01  Tom Tromey  <tromey@redhat.com>
4739
4740         * java/lang/natObject.cc: Don't include assert.h.
4741         (heavy_lock_obj_finalization_proc): Use JvAssert.
4742         (remove_all_heavy): Likewise.
4743         (_Jv_MonitorEnter): Likewise.
4744         (_Jv_MonitorExit): Likewise.
4745         (wait): Likewise.
4746
4747 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4748
4749         * java/io/File (getAbsolutePath): Prefix drive specifier on
4750         Windows for paths starting with a '\'.
4751         (toURL): Make URL more consistent with what Sun's JDK returns.
4752
4753         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4754         true only if the path is a UNC network path or it starts with a
4755         drive specifier.
4756
4757         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4758         Be prepared to handle either '/' or '\\' in the file path for
4759         Windows if using the "file" protocol.
4760         Canonicalise the file path if using a relative path in the given
4761         context and the "file" protocol.
4762
4763 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4764
4765         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4766         program array element passed to CreateProcess.
4767
4768 2003-03-01  Tom Tromey  <tromey@redhat.com>
4769
4770         * java/rmi/registry/RegistryHandler.java: Deprecate.
4771
4772 2003-03-01  Tom Tromey  <tromey@redhat.com>
4773
4774         * javax/accessibility/AccessibleEditableText.java,
4775         javax/accessibility/AccessibleHyperlink.java: New versions from
4776         Classpath.
4777
4778         * gnu/java/locale/LocaleInformation_af_ZA.java,
4779         gnu/java/locale/LocaleInformation_ar_AE.java,
4780         gnu/java/locale/LocaleInformation_ar_BH.java,
4781         gnu/java/locale/LocaleInformation_ar_DZ.java,
4782         gnu/java/locale/LocaleInformation_ar_EG.java,
4783         gnu/java/locale/LocaleInformation_ar_IN.java,
4784         gnu/java/locale/LocaleInformation_ar_IQ.java,
4785         gnu/java/locale/LocaleInformation_ar_JO.java,
4786         gnu/java/locale/LocaleInformation_ar_KW.java,
4787         gnu/java/locale/LocaleInformation_ar_LB.java,
4788         gnu/java/locale/LocaleInformation_ar_LY.java,
4789         gnu/java/locale/LocaleInformation_ar_MA.java,
4790         gnu/java/locale/LocaleInformation_ar_OM.java,
4791         gnu/java/locale/LocaleInformation_ar_QA.java,
4792         gnu/java/locale/LocaleInformation_ar_SD.java,
4793         gnu/java/locale/LocaleInformation_ar_SY.java,
4794         gnu/java/locale/LocaleInformation_ar_TN.java,
4795         gnu/java/locale/LocaleInformation_ar_YE.java,
4796         gnu/java/locale/LocaleInformation_be_BY.java,
4797         gnu/java/locale/LocaleInformation_bn_IN.java,
4798         gnu/java/locale/LocaleInformation_br_FR.java,
4799         gnu/java/locale/LocaleInformation_bs_BA.java,
4800         gnu/java/locale/LocaleInformation_ca_ES.java,
4801         gnu/java/locale/LocaleInformation_cs_CZ.java,
4802         gnu/java/locale/LocaleInformation_cy_GB.java,
4803         gnu/java/locale/LocaleInformation_da_DK.java,
4804         gnu/java/locale/LocaleInformation_de_AT.java,
4805         gnu/java/locale/LocaleInformation_de_BE.java,
4806         gnu/java/locale/LocaleInformation_de_CH.java,
4807         gnu/java/locale/LocaleInformation_de_DE.java,
4808         gnu/java/locale/LocaleInformation_de_LU.java,
4809         gnu/java/locale/LocaleInformation_el_GR.java,
4810         gnu/java/locale/LocaleInformation_en_AU.java,
4811         gnu/java/locale/LocaleInformation_en_BW.java,
4812         gnu/java/locale/LocaleInformation_en_CA.java,
4813         gnu/java/locale/LocaleInformation_en_DK.java,
4814         gnu/java/locale/LocaleInformation_en_GB.java,
4815         gnu/java/locale/LocaleInformation_en_HK.java,
4816         gnu/java/locale/LocaleInformation_en_IE.java,
4817         gnu/java/locale/LocaleInformation_en_IN.java,
4818         gnu/java/locale/LocaleInformation_en_NZ.java,
4819         gnu/java/locale/LocaleInformation_en_PH.java,
4820         gnu/java/locale/LocaleInformation_en_SG.java,
4821         gnu/java/locale/LocaleInformation_en_US.java,
4822         gnu/java/locale/LocaleInformation_en_ZA.java,
4823         gnu/java/locale/LocaleInformation_en_ZW.java,
4824         gnu/java/locale/LocaleInformation_es_AR.java,
4825         gnu/java/locale/LocaleInformation_es_BO.java,
4826         gnu/java/locale/LocaleInformation_es_CL.java,
4827         gnu/java/locale/LocaleInformation_es_CO.java,
4828         gnu/java/locale/LocaleInformation_es_CR.java,
4829         gnu/java/locale/LocaleInformation_es_DO.java,
4830         gnu/java/locale/LocaleInformation_es_EC.java,
4831         gnu/java/locale/LocaleInformation_es_ES.java,
4832         gnu/java/locale/LocaleInformation_es_GT.java,
4833         gnu/java/locale/LocaleInformation_es_HN.java,
4834         gnu/java/locale/LocaleInformation_es_MX.java,
4835         gnu/java/locale/LocaleInformation_es_NI.java,
4836         gnu/java/locale/LocaleInformation_es_PA.java,
4837         gnu/java/locale/LocaleInformation_es_PE.java,
4838         gnu/java/locale/LocaleInformation_es_PR.java,
4839         gnu/java/locale/LocaleInformation_es_PY.java,
4840         gnu/java/locale/LocaleInformation_es_SV.java,
4841         gnu/java/locale/LocaleInformation_es_US.java,
4842         gnu/java/locale/LocaleInformation_es_UY.java,
4843         gnu/java/locale/LocaleInformation_es_VE.java,
4844         gnu/java/locale/LocaleInformation_et_EE.java,
4845         gnu/java/locale/LocaleInformation_eu_ES.java,
4846         gnu/java/locale/LocaleInformation_fa_IR.java,
4847         gnu/java/locale/LocaleInformation_fi_FI.java,
4848         gnu/java/locale/LocaleInformation_fo_FO.java,
4849         gnu/java/locale/LocaleInformation_fr_BE.java,
4850         gnu/java/locale/LocaleInformation_fr_CA.java,
4851         gnu/java/locale/LocaleInformation_fr_CH.java,
4852         gnu/java/locale/LocaleInformation_fr_FR.java,
4853         gnu/java/locale/LocaleInformation_fr_LU.java,
4854         gnu/java/locale/LocaleInformation_ga_IE.java,
4855         gnu/java/locale/LocaleInformation_gd_GB.java,
4856         gnu/java/locale/LocaleInformation_gl_ES.java,
4857         gnu/java/locale/LocaleInformation_gv_GB.java,
4858         gnu/java/locale/LocaleInformation_he_IL.java,
4859         gnu/java/locale/LocaleInformation_hi_IN.java,
4860         gnu/java/locale/LocaleInformation_hr_HR.java,
4861         gnu/java/locale/LocaleInformation_hu_HU.java,
4862         gnu/java/locale/LocaleInformation_id_ID.java,
4863         gnu/java/locale/LocaleInformation_it_CH.java,
4864         gnu/java/locale/LocaleInformation_it_IT.java,
4865         gnu/java/locale/LocaleInformation_iw_IL.java,
4866         gnu/java/locale/LocaleInformation_ja_JP.java,
4867         gnu/java/locale/LocaleInformation_ka_GE.java,
4868         gnu/java/locale/LocaleInformation_kl_GL.java,
4869         gnu/java/locale/LocaleInformation_ko_KR.java,
4870         gnu/java/locale/LocaleInformation_kw_GB.java,
4871         gnu/java/locale/LocaleInformation_lt_LT.java,
4872         gnu/java/locale/LocaleInformation_lv_LV.java,
4873         gnu/java/locale/LocaleInformation_mi_NZ.java,
4874         gnu/java/locale/LocaleInformation_mk_MK.java,
4875         gnu/java/locale/LocaleInformation_mr_IN.java,
4876         gnu/java/locale/LocaleInformation_mt_MT.java,
4877         gnu/java/locale/LocaleInformation_nl_BE.java,
4878         gnu/java/locale/LocaleInformation_nl_NL.java,
4879         gnu/java/locale/LocaleInformation_nn_NO.java,
4880         gnu/java/locale/LocaleInformation_no_NO.java,
4881         gnu/java/locale/LocaleInformation_oc_FR.java,
4882         gnu/java/locale/LocaleInformation_pl_PL.java,
4883         gnu/java/locale/LocaleInformation_pt_BR.java,
4884         gnu/java/locale/LocaleInformation_pt_PT.java,
4885         gnu/java/locale/LocaleInformation_ro_RO.java,
4886         gnu/java/locale/LocaleInformation_ru_RU.java,
4887         gnu/java/locale/LocaleInformation_ru_UA.java,
4888         gnu/java/locale/LocaleInformation_se_NO.java,
4889         gnu/java/locale/LocaleInformation_sk_SK.java,
4890         gnu/java/locale/LocaleInformation_sl_SI.java,
4891         gnu/java/locale/LocaleInformation_sq_AL.java,
4892         gnu/java/locale/LocaleInformation_sr_YU.java,
4893         gnu/java/locale/LocaleInformation_sv_FI.java,
4894         gnu/java/locale/LocaleInformation_sv_SE.java,
4895         gnu/java/locale/LocaleInformation_ta_IN.java,
4896         gnu/java/locale/LocaleInformation_te_IN.java,
4897         gnu/java/locale/LocaleInformation_tg_TJ.java,
4898         gnu/java/locale/LocaleInformation_tl_PH.java,
4899         gnu/java/locale/LocaleInformation_tr_TR.java,
4900         gnu/java/locale/LocaleInformation_uk_UA.java,
4901         gnu/java/locale/LocaleInformation_ur_PK.java,
4902         gnu/java/locale/LocaleInformation_uz_UZ.java,
4903         gnu/java/locale/LocaleInformation_vi_VN.java,
4904         gnu/java/locale/LocaleInformation_yi_US.java,
4905         gnu/java/locale/LocaleInformation_zh_CN.java,
4906         gnu/java/locale/LocaleInformation_zh_HK.java,
4907         gnu/java/locale/LocaleInformation_zh_SG.java,
4908         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4909         info; from Classpath.
4910
4911         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4912         isPaintPending): New methods.
4913         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4914         setMaximizedBounds): New methods.
4915         (beginLayout, endLayout, isPaintPending): Likewise.
4916         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4917         (requestFocus): Likewise.
4918         (isObscured): Likewise.
4919         (canDetermineObscurity): Likewise.
4920         (coalescePaintEvent): Likewise.
4921         (updateCursorImmediately): Likewise.
4922         (createVolatileImage): Likewise.
4923         (handlesWheelScrolling): Likewise.
4924         (createBuffers): Likewise.
4925         (getBackBuffer): Likewise.
4926         (flip): Likewise.
4927         (destroyBuffers): Likewise.
4928
4929         * Makefile.in: Rebuilt.
4930         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4931         RobotPeer.java.
4932         * gnu/java/awt/GLightweightPeer.java,
4933         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4934         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4935         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4936         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4937         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4938         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4939         java/awt/dnd/peer/DragSourceContextPeer.java,
4940         java/awt/dnd/peer/DropTargetContextPeer.java,
4941         java/awt/peer/ButtonPeer.java,
4942         java/awt/peer/CheckboxMenuItemPeer.java,
4943         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4944         java/awt/peer/ComponentPeer.java,
4945         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4946         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4947         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4948         java/awt/peer/MenuBarPeer.java,
4949         java/awt/peer/MenuComponentPeer.java,
4950         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4951         java/awt/peer/PopupMenuPeer.java,
4952         java/awt/peer/ScrollPanePeer.java,
4953         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4954         java/awt/peer/TextComponentPeer.java,
4955         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4956         New versions from Classpath.
4957         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4958         * java/awt/peer/RobotPeer.java: Likewise.
4959
4960 2003-03-01  Mark Wielaard  <mark@klomp.org>
4961
4962         * java/io/ObjectInputStream.java: Reindent.
4963         * java/io/ObjectOutputStream.java: Likewise.
4964
4965 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4966
4967         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4968         jvalue for each argument. Simplify.
4969         * testsuite/libjava.jni/calls.c (docall),
4970         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4971         misalignment.
4972
4973 2003-02-28  Mark Wielaard  <mark@klomp.org>
4974
4975         * Makefile.am (nat_source_files): Remove
4976         java/io/natObjectOutputStream.cc.
4977         * Makefile.in: Regenerated.
4978         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4979         * java/io/ObjectStreamField.java (typename): New field.
4980         (ObjectStreamField(String, Class)): Initialize new field.
4981         (ObjectStreamField(String, String)): New Constructor.
4982         (getTypeCode): Use new field.
4983         (getTypeString): Use new field.
4984         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4985         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4986         Handle reading of Proxy classes. Never drain(), just write
4987         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4988         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4989         (flush): Call flush(), not just drain().
4990         (writeBoolean): Always use blockDataOutput.
4991         (writeByte): Likewise.
4992         (writeShort): Likewise.
4993         (writeChar): Likewise.
4994         (writeInt): Likewise.
4995         (writeLong): Likewise.
4996         (writeFloat): Likewise.
4997         (writeDouble): Likewise.
4998         (writeBytes): Likewise.
4999         (putfield (put(String,Object))): Throw IllegalArgumentException if
5000         field cannot be found.
5001         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5002         (writeArraySizeAndElements): Write byte[] in one go.
5003         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5004         set BlockDataMode to false.
5005         (annotateProxyClass): New method.
5006         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5007         (getField): No longer native.
5008         (getMethod): Likewise.
5009         (setBlockDataMode): Always drain() on switch, return old mode.
5010         (static): New static code block.
5011         * java/io/natObjectOutputStream.cc: Removed.
5012         * java/io/ObjectInputStream.java (getField): No longer native.
5013         (getMethod): Likewise.
5014         (readObject): Remember and reset old BlockDataMode. Track whether
5015         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5016         TC_LONGSTRING.
5017         (defaultReadObject): Set BlockDataMode to false during readFields.
5018         (resolveClass): Create new SecurityManager if necessary.
5019         Use Class.forName() if null ClassLoader found.
5020         (read(byte[],int,int): Copy remaining bytes to data before calling
5021         readNextBlock().
5022         (readFields): Set and reset BlockDataMode on call_read_method.
5023         Catch NoSuchFieldErrors.
5024         (setBlockDataMode): Return old mode.
5025         (static): New static code block.
5026         * java/io/natObjectInputStream.cc (getField): Removed.
5027         (getMethod): Likewise.
5028
5029 2003-02-27  Michael Koch  <konqueror@gmx.de>
5030
5031         * java/beans/Beans.java,
5032         java/beans/FeatureDescriptor.java
5033         java/beans/PropertyEditorManager.java:
5034         Reformated to GNU style.
5035
5036 2003-02-25  Michael Koch  <konqueror@gmx.de>
5037
5038         * gnu/java/nio/MappedByteFileBuffer.java,
5039         gnu/java/nio/natMappedByteFileBuffer.cc:
5040         New files, both are not compiled yet to get not noncompiling CVS.
5041
5042 2003-02-24  Tom Tromey  <tromey@redhat.com>
5043
5044         * java/util/prefs/AbstractPreferences.java (isUserNode):
5045         Implemented.
5046
5047 2003-02-24  Tom Tromey  <tromey@redhat.com>
5048
5049         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5050         Deprecate.
5051         * java/lang/Thread.java (resume): Deprecate.
5052         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5053         in @deprecated.
5054
5055 2003-02-23  Tom Tromey  <tromey@redhat.com>
5056
5057         * Makefile.in: Rebuilt.
5058         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5059
5060 2003-02-23  Tom Tromey  <tromey@redhat.com>
5061
5062         * java/lang/natRuntime.cc (libraries_size, libraries_count,
5063         libraries): Removed.
5064         (add_library): Removed.
5065         (_load): Don't call add_library.
5066         (loadLibraryInternal): Likewise.
5067         (init): Likewise.
5068         (lookup_data): New struct.
5069         (find_symbol): New function.
5070         (_Jv_FindSymbolInExecutable): Use it.
5071
5072 2002-02-21  Anthony Green  <green@redhat.com>
5073
5074         * java/lang/Thread.java (Thread): New constructor taking stack
5075         size parameter (ignored for now).
5076         * Many methods: Merged GNU Classpath documentation.
5077
5078         * java/lang/Class.java (finalize): throws a Throwable.
5079
5080 2003-02-21  Mark Wielaard  <mark@klomp.org>
5081
5082         * java/util/zip/ZipEntry.java (setComment): Don't check length when
5083         argument is null.
5084
5085 2003-02-21  Mark Wielaard  <mark@klomp.org>
5086
5087         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5088         then 65535 chars throw IllegalArgumentException.
5089
5090 2003-02-21  Mark Wielaard  <mark@klomp.org>
5091
5092         * java/util/zip/ZipFile.java (finalize): New method.
5093
5094 2003-02-21  Michael Koch  <konqueror@gmx.de>
5095
5096         * gnu/java/nio/natSocketChannelImpl.cc:
5097         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5098         <cato@df.lth.se> for pointing to it.
5099
5100 2003-02-20  Raif S. Naffah <raif@fl.net.au>
5101
5102         * java/math/BigInteger.java (euclidInv): Take result array as an
5103         argument.  Updated all callers.
5104         (modInverse): Removed unused variables.
5105
5106 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
5107
5108         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5109         config.status.
5110         * configure: Rebuilt.
5111
5112 2003-02-19  Michael Koch  <konqueror@gmx.de>
5113
5114         * gnu/java/nio/natSocketChannelImpl.cc:
5115         Added support for platforms without network support.
5116
5117 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5118
5119         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5120         after config.h.  Use <> for consistency.
5121         * java/lang/natObject.cc: Likewise.
5122         * java/lang/natRuntime.cc: Likewise.
5123         * java/lang/natSystem.cc: Likewise.
5124         * java/util/natTimeZone.cc: Likewise.
5125         * win32.cc: Likewise.
5126         * include/posix.h (fcntl, socket, connect, close, bind, accept,
5127         listen, write, read): Undef to avoid interference from OS macros.
5128
5129 2003-02-19  Michael Koch  <konqueror@gmx.de>
5130
5131         * gnu/java/nio/ByteBufferImpl.java
5132         (ByteBufferImpl): Renamed two variables.
5133         * gnu/java/nio/CharBufferImpl.java
5134         (CharBufferImpl): Renamed two variables.
5135         * gnu/java/nio/DoubleBufferImpl.java
5136         (DoubleBufferImpl): Renamed two variables.
5137         * gnu/java/nio/FloatBufferImpl.java
5138         (FloatBufferImpl): Renamed two variables.
5139         * gnu/java/nio/IntBufferImpl.java
5140         (IntBufferImpl): Renamed two variables.
5141         * gnu/java/nio/LongBufferImpl.java
5142         (LongBufferImpl): Renamed two variables.
5143         * gnu/java/nio/ShortBufferImpl.java
5144         (ShortBufferImpl): Renamed two variables.
5145         * java/nio/CharBuffer.java
5146         (wrap): Fixed arguments to CharBufferImpl constructor.
5147         (hasArray): Only not read-only buffers have backing arrays.
5148         (length): Documentation added.
5149         (subSequence): Documentation added.
5150         * java/nio/DoubleBuffer.java
5151         (hasArray): Only not read-only buffers have backing arrays.
5152         * java/nio/FloatBuffer.java
5153         (hasArray): Only not read-only buffers have backing arrays.
5154         * java/nio/IntBuffer.java
5155         (hasArray): Only not read-only buffers have backing arrays.
5156         * java/nio/LongBuffer.java
5157         (hasArray): Only not read-only buffers have backing arrays.
5158         * java/nio/ShortBuffer.java
5159         (hasArray): Only not read-only buffers have backing arrays.
5160         
5161 2003-02-19  Michael Koch  <konqueror@gmx.de>
5162
5163         * javax/accessibility/AccessibleContext.java
5164         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5165
5166 2003-02-19  Michael Koch  <konqueror@gmx.de>
5167
5168         * java/awt/ScrollPaneAdjustable.java: Reformated.
5169
5170 2003-02-19  Michael Koch <konqueror@gmx.de>
5171
5172         * gnu/awt/j2d/Graphics2DImpl.java
5173         (getFontRenderContext): New method.
5174         (drawGlyphVector): New method.
5175         * java/awt/Graphics2D.java
5176         (getFontRenderContext): New abstract method.
5177         (drawGlyphVector): New abstract method.
5178         
5179 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
5180
5181         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5182         if necessary.
5183         
5184         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5185         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5186         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5187         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5188         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5189         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5190         (setFont, gtkSetFont): add.
5191         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5192         Propagate font to peer.  (setFont): add FIXME comment.
5193
5194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5195         (gtkTextGetSize): fix height, width computation.
5196
5197         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5198         Make X font name a bit less bogus.
5199
5200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5201         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5202
5203         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5204         (processAdjustmentEvent): Adjust value.
5205
5206         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5207         logic errors.
5208
5209         * java/awt/Component.java (setVisible, show, hide): Call show and
5210         hide methods in subclasses.
5211         (getPreferredSize): don't set prefSize before we have peer.
5212
5213         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5214         Guess (0,0) if we don't have peer.
5215
5216
5217 2003-02-18  Michael Koch  <konqueror@gmx.de>
5218
5219         * java/nio/channels/FileChannel.java
5220         (toString): New implementation, added documentation.
5221         (map): Added exception documentation.
5222         (size): Added exception documentation.
5223         (write): New methods, documentation work.
5224         (read): New methods, documentation work.
5225         (implCloseChannel): Rewrote exception documentation.
5226         (force): Throws IOException, added documentation.
5227         (lock): New methods.
5228         (tryLock): New methods.
5229         (position): New methods.
5230         (transferTo): New method.
5231         (transferFrom): New method.
5232         (truncate): New method.
5233         * java/nio/channels/spi/SelectorProvider.java
5234         (provider): Implemented.
5235         * Makefile.am
5236         (ordinary_java_source_files): Added the following files:
5237         gnu/java/nio/DatagramChannelImpl.java
5238         gnu/java/nio/FileChannelImpl.java
5239         gnu/java/nio/PipeImpl.java
5240         gnu/java/nio/SelectionKeyImpl.java
5241         gnu/java/nio/SelectorImpl.java
5242         gnu/java/nio/SelectorProviderImpl.java
5243         gnu/java/nio/ServerSocketChannelImpl.java
5244         gnu/java/nio/SocketChannelImpl.java
5245         java/nio/channels/FileLock.java
5246         (nat_java_source_files): Added the following files:
5247         gnu/java/nio/natFileChannelImpl.cc
5248         gnu/java/nio/natSelectorImpl.cc
5249         gnu/java/nio/natSocketChannelImpl.cc
5250         * Makefile.in: Regenerated.
5251
5252 2003-02-17  Tom Tromey  <tromey@redhat.com>
5253
5254         * java/awt/image/ColorModel.java: Re-merged with Classpath.
5255         * java/awt/image/ImageFilter.java: Likewise.
5256
5257 2003-02-17  Raif S. Naffah <raif@fl.net.au>
5258
5259         * java/math/BigInteger.java (euclidInv): Return array of
5260         `BigInteger's.  Changed all callers.
5261
5262 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
5263
5264         * java/util/Properties.java (store): Move the code formerly in
5265         list(), into this method.
5266         (list (PrintStream)): Just call list (PrintWriter) with a 
5267         PrintWriter object constructed from the given PrintStream object.
5268         (list (PrintWriter)): Emulate the output of Properties.list()
5269         as found in JDK 1.3/1.4.
5270
5271 2003-02-17  Michael Koch  <konqueror@gmx.de>
5272
5273         * java/net/DatagramSocket.java
5274         (connect): Merged with classpath.
5275         (disconnect): Merged documentation with classpath.
5276         (receice): Merged documentation with classpath.
5277         (send): Merged documentation with classpath.
5278         
5279 2003-02-17  Michael Koch  <konqueror@gmx.de>
5280
5281         * java/awt/dnd/DragSourceContext.java
5282         (addDragSourceListener): Added documentation.
5283         * java/awt/dnd/DragSourceDragEvent.java
5284         (serialVersionUID): New member variable.
5285         (getDropAction): Reformated.
5286         * java/awt/dnd/DragSourceDropEvent.java
5287         (serialVersionUID): New member variable.
5288         (dropSuccess): Renamed from success for serialization issues.
5289         * java/awt/dnd/DragSourceEvent.java
5290         (serialVersionUID): New member variable.
5291         * java/awt/dnd/DropTarget.java
5292         (serialVersionUID): New member variable.
5293         (DropTarget): Implemented, documentation reworked.
5294         (setComponent): Documentation added.
5295         (getComponent): Documentation added.
5296         (setDefaultActions): Documentation added.
5297         (getDefaultActions): Documentation added.
5298         (addDropTargetListener): Documentation added.
5299         * java/awt/dnd/DropTargetContext.java
5300         (DropTargetContext): Documentation added.
5301         (TransferableProxy.TransferableProxy): New method.
5302         (dropComplete): Fixed documentation.
5303         (getTransferable): Fixed documentation.
5304         (createTransferableProxy): Implemented.
5305         * java/awt/dnd/DropTargetDragEvent.java
5306         (DropTargetDragEvent): Documentation added.
5307         (serialVersionUID): New member variable.
5308         (DropTargetDragEvent): Throw exceptions, documentation added.
5309         (acceptDrag): Implemented.
5310         (getCurrentDataFlavors): Implemented.3yy
5311         (getCurrentDataFlavorsAsList): Implemented.
5312         (isDataFlavorSupported): Implemented.
5313         (rejectDrag): Implemented.
5314         * java/awt/dnd/DropTargetDropEvent.java
5315         (DropTargetDropEvent): Documentation added.
5316         (serialVersionUID): New member variable.
5317         (actions): Renamed from srcActions for serialization issues.
5318         (isLocalTx): Renamed from isLocalTx for serialization issues.
5319         (DropTargetDropEvent): New implementation, throw exceptions,
5320         documentation added.
5321         (getCurrentDataFlavors): Implemented.
5322         (getCurrentDataFlavorsAsList): Implemented.
5323         (isDataFlavorSupported): Implemented.
5324         (getSourceActions): Implemented.
5325         (getDropAction): Implemented.
5326         (getTransferable): Implemented.
5327         (acceptDrop): Implemented.
5328         (rejectDrop): Implemented.
5329         * java/awt/dnd/DropTargetListener.java
5330         (drop): Fixed documentation.
5331         * java/awt/dnd/MouseDragGestureRecognizer.java
5332         (MouseDragGestureRecognizer): Documentation added.
5333
5334 2003-02-17  Michael Koch  <konqueror@gmx.de>
5335
5336         * java/awt/font/FontRenderContext.java,
5337         java/awt/font/ShapeGraphicAttribute.java,
5338         java/awt/font/MultipleMaster.java,
5339         java/awt/font/TransformAttribute.java,
5340         java/awt/font/GlyphJustificationInfo.java,
5341         java/awt/font/LineBreakMeasurer.java,
5342         java/awt/font/TextMeasurer.java,
5343         java/awt/font/TextLayout.java,
5344         java/awt/font/LineMetrics.java,
5345         java/awt/font/TextAttribute.java,
5346         java/awt/font/GlyphMetrics.java,
5347         java/awt/font/OpenType.java,
5348         java/awt/font/GlyphVector.java,
5349         java/awt/font/GraphicAttribute.java,
5350         java/awt/font/ImageGraphicAttribute.java,
5351         java/awt/font/NumericShaper.java: New files.
5352         * Makefile.am
5353         (awt_java_source_files): Added the following files:
5354         java/awt/font/FontRenderContext.java
5355         java/awt/font/ShapeGraphicAttribute.java
5356         java/awt/font/MultipleMaster.java
5357         java/awt/font/TransformAttribute.java
5358         java/awt/font/GlyphJustificationInfo.java
5359         java/awt/font/LineBreakMeasurer.java
5360         java/awt/font/TextMeasurer.java
5361         java/awt/font/TextLayout.java
5362         java/awt/font/LineMetrics.java
5363         java/awt/font/TextAttribute.java
5364         java/awt/font/GlyphMetrics.java
5365         java/awt/font/OpenType.java
5366         java/awt/font/GlyphVector.java
5367         java/awt/font/GraphicAttribute.java
5368         java/awt/font/ImageGraphicAttribute.java
5369         java/awt/font/NumericShaper.java
5370         * Makefile.in: Regenerated.
5371
5372 2003-02-17  Michael Koch  <konqueror@gmx.de>
5373
5374         * java/awt/print/Paper.java
5375         (Paper): Implements Cloneable.
5376         * java/awt/print/PrinterJob.java
5377         (setJobName): Return value must be void.
5378         (print): Throws PrinterException.
5379         
5380 2003-02-16  Tom Tromey  <tromey@redhat.com>
5381
5382         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5383         variable.
5384
5385 2003-02-15  Michael Koch  <konqueror@gmx.de>
5386
5387         * java/awt/datatransfer/DataFlavor.java
5388         (isRepresentationClassByteBuffer): Removed try-catch block.
5389         (isRepresentationClassCharBuffer): Removed try-catch block.
5390         (isRepresentationClassReader): Removed try-catch block.
5391
5392 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
5393
5394         * java/nio/charset/Charset.java
5395         (isRegistered): Fixed method args and implementation.
5396         * java/nio/charset/CharsetEncoder.java
5397         (unmappableCharacterAction): New method.
5398
5399 2003-02-15  Michael Koch  <konqueror@gmx.de>
5400
5401         * java/awt/CheckboxMenuItem.java
5402         (CheckBoxMenuItem): Dont implement Serializable.
5403         (getListeners): New method,
5404         (getItemListeners): New method.
5405         * java/awt/Choice.java
5406         (getListeners): New method,
5407         (getItemListeners): New method.
5408         * java/awt/Container.java
5409         (getListeners): Added exception documentation.
5410         (setFocusTraversalKeys): Throw exceptions, added documentattion.
5411         (getFocusTraversalKeys): Added documentation.
5412         (areFocusTraversalKeysSet): Added documentation.
5413         (applyComponentOrientation): Added documentation.
5414         * java/awt/ContainerOrderFocusTraversalPolicy.java
5415         (implicitDownCycleTraversal): Renamed from downCycle for
5416         serialization.
5417         (ContainerOrderFocusTraversalPolicy): Added documentation.
5418         (accept): Reformated.
5419         * java/awt/Dialog.java
5420         (Dialog): Dont implement Serializable.
5421         (Dialog): Added documentation.
5422         * java/awt/Font.java
5423         (Font): Dont use absolute class name.
5424         * java/awt/Frame.java
5425         (Frame): Font implement Serializable.
5426         * java/awt/List.java
5427         (getListeners): New method,
5428         (getActionListeners): New method.       
5429         (getItemListeners): New method.
5430         * java/awt/Menu.java
5431         (countItems): New deprecated method.
5432         * java/awt/Scrollbar.java
5433         (getListeners): New method,
5434         (getAdjustmentListeners): New method,
5435         * java/awt/TextComponent.java
5436         (getListeners): New method,
5437         (getTextListeners): New method,
5438         * java/awt/TextField.java
5439         (getListeners): New method,
5440         (getActionListeners): New method.       
5441         * java/awt/Window.java
5442         (windowFocusListener): New member variable.
5443         (windowStateListener): New member variable.
5444         (getWindowFocusListeners): New method.
5445         (getWindowStateListeners): New method.
5446         (addWindowFocusListener): New method.
5447         (addWindowStateListener): New method.
5448         (removeWindowFocusListener): New method.
5449         (removeWindowStateListener): New method.
5450         * java/awt/datatransfer/DataFlavor.java
5451         (isRepresentationClassByteBuffer): New method.
5452         (isRepresentationClassCharBuffer): New method.
5453         (isRepresentationClassReader): New method.
5454
5455 2003-02-14  Mark Wielaard  <mark@klomp.org>
5456
5457         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5458         zero when there is an exponent and the significant is zero.
5459         (divide): Always set scale to newScale even in special ZERO case.
5460
5461 2003-02-14  Tom Tromey  <tromey@redhat.com>
5462
5463         * java/lang/System.java (properties): Use Properties.clone.
5464         (setProperties): Likewise.
5465
5466 2003-02-14  Michael Koch  <konqueror@gmx.de>
5467
5468         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5469         * gnu/java/nio/ServerSocketChannelImpl.java
5470         (SocketAccept): Removed.
5471         (accept): Commented out use of SocketAccept.
5472
5473 2003-02-13  Tom Tromey  <tromey@redhat.com>
5474
5475         * verify.cc (state::seen_subrs): New field.
5476         (state::state): Initialize it.
5477         (state::clean_subrs): New method.
5478         (state::~state): Call it.
5479         (state::copy): Copy subroutine list.
5480         (state::add_subr): New method.
5481         (state::merge): Only register a change if the current subroutine
5482         hasn't yet been noted.
5483
5484 2003-02-13  Mark Wielaard  <mark@klomp.org>
5485
5486         * java/io/InputStreamReader.java (getEncoding): Return null when
5487         closed.
5488         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5489
5490 2003-02-13  Mark Wielaard  <mark@klomp.org>
5491  
5492         * java/util/zip/InflaterInputStream.java (read): Return zero when len
5493         is zero.
5494
5495 2003-02-13  Mark Wielaard  <mark@klomp.org>
5496
5497         * java/io/BufferedOutputStream.java (write(int)): Only flush when
5498         next byte cannot be buffered.
5499
5500 2003-02-13  Michael Koch  <konqueror@gmx.de>
5501  
5502         * java/awt/Label.java
5503         (Label): Don't implement Serializable directly.
5504         (addNotify): Fixed typo in documentation.
5505         * java/awt/List.java
5506         (List): Don't implement Serializable directly.
5507         * java/awt/PopupMenu.java
5508         (PopupMenu): Don't implement Serializable directly.
5509         * java/awt/ScrollPane.java
5510         (ScrollPane): Don't implement Serializable directly.
5511         * java/awt/Scrollbar.java
5512         (Scrollbar): Don't implement Serializable directly.
5513         * java/awt/TextArea.java
5514         (preferredSize): Fixed method arguments.
5515         * java/awt/TextField.java
5516         (TextField): Don't implement Serializable directly.
5517         * java/awt/color/ICC_ColorSpace.java
5518         (fromCIOXYZ): Documentation added.
5519         (getMinValue): Documentation added.
5520         (getMaxValue): Documentation added.
5521         * java/awt/datatransfer/DataFlavor.java
5522         (isMimeTypeEqual): May not be final.
5523         (clone): Throws CloneNotSupportedException.
5524         (getReaderForText): Don't throws UnsupportedEncodingException.
5525
5526 2003-02-13  Michael Koch  <konqueror@gmx.de>
5527  
5528         * gnu/java/awt/peer/gtk/GdkGraphics.java
5529         (drawString): New stubbed method.
5530         * java/awt/Graphics.java
5531         (drawString): New method.
5532
5533 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
5534
5535         PR libgcj/9271:
5536         * java/security/SecureRandom.java (next): Avoid bias in results.
5537
5538 2003-02-13  Michael  <konqueror@gmx.de>
5539
5540         * gnu/java/nio/FileChannelImpl.java
5541         (lengthInternal): Must be native.
5542         (size): Check if channel is already closed.
5543         (implCloseChannel): Reformated.
5544         (read): w was unused, removed it.
5545         (read): Removed.
5546         (read): New method.
5547         (write): New method.
5548         (map): Check arguments.
5549         (force): Throws IOException, check if channel is closed.
5550         (transferTo): New method.
5551         (transferFrom): New method.
5552         (lock): New method.
5553         (tryLock): New method.
5554         (position): New method.
5555         (truncate): New method.
5556         (nio_mmap_file): Uncommented.
5557         (nio_munmap_file): Uncommented.
5558         (nio_msync): Uncommented.
5559         * gnu/java/nio/natFileChannelImpl.cc: New file.
5560         
5561 2003-02-13  Michael Koch  <konqueror@gmx.de>
5562
5563         * java/nio/ByteBuffer.java
5564         (endian): New member variable.
5565         (get): New methods.
5566         (equals): New method.
5567         (compareTo): New method.
5568         (order): New methods.
5569         (compact): New method.
5570         (isDirect): New method.
5571         (slice): New method.
5572         (duplicate): New method.
5573         (asReadOnlyBuffer): New method.
5574         (asCharBuffer): New method.
5575         (asDoubleBuffer): New method.
5576         (asFloatBuffer): New method.
5577         (asIntBuffer): New method.
5578         (asLongBuffer): New method.
5579         (asShortBuffer): New method.
5580         (get*): New methods.
5581         (put*): New methods.
5582         (toString): New method.
5583         * java/nio/CharBuffer.java
5584         (CharBuffer): Implement Comparable instead of Cloneable.
5585         (get): May not be final.
5586         (put): May not be final.
5587         
5588 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
5589
5590         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5591         lastIndexOf( ) instead of indexOf( ) to find the colon before
5592         the line number, because Win32 file names might contain a 
5593         drive letter and a colon at the start of an absolute path.
5594
5595 2003-02-13  Michael Koch  <konqueror@gmx.de>
5596
5597         * gnu/java/nio/natSocketChannelImpl.cc
5598         (SocketConnect): This is not implemented yet.
5599         (SocketBind): This is not implemented yet.
5600
5601 2003-02-13  Michael Koch  <konqueror@gmx.de>
5602
5603         * gnu/java/nio/natByteBufferImpl.cc,
5604         gnu/java/nio/natCharBufferImpl.cc,
5605         gnu/java/nio/natDoubleBufferImpl.cc,
5606         gnu/java/nio/natFloatBufferImpl.cc,
5607         gnu/java/nio/natIntBufferImpl.cc,
5608         gnu/java/nio/natLongBufferImpl.cc,
5609         gnu/java/nio/natShortBufferImpl.cc:
5610         Added copyright and license.
5611         * java/nio/DoubleBuffer.java,
5612         java/nio/FloatBuffer.java,
5613         java/nio/IntBuffer.java,
5614         java/nio/LongBuffer.java,
5615         java/nio/ShortBuffer.java
5616         (array): Throw exceptions.
5617         (arrayOffset): Throw exceptions.
5618
5619 2003-02-13  Michael Koch  <konqueror@gmx.de>
5620  
5621         * gnu/java/util/prefs/FileBasedFactory.java,
5622         gnu/java/util/prefs/MemmoryBasedFactory.java,
5623         gnu/java/util/prefs/MemoryBasedPreferences.java,
5624         gnu/java/util/prefs/NodeReader.java,
5625         gnu/java/util/prefs/NodeWriter.java,
5626         java/util/prefs/AbstractPreferences.java,
5627         java/util/prefs/BackingStoreException.java,
5628         java/util/prefs/InvalidPreferencesFormatException.java,
5629         java/util/prefs/NodeChangeEvent.java,
5630         java/util/prefs/NodeChangeListener.java,
5631         java/util/prefs/PreferenceChangeEvent.java,
5632         java/util/prefs/PreferenceChangeListener.java,
5633         java/util/prefs/Preferences.java,
5634         java/util/prefs/PreferencesFactory.java:
5635         New files, all merged from classpath.
5636         * Makefile.am
5637         (ordinary_java_source_files): Added the following files:
5638         gnu/java/util/prefs/FileBasedFactory.java,
5639         gnu/java/util/prefs/MemmoryBasedFactory.java,
5640         gnu/java/util/prefs/MemoryBasedPreferences.java,
5641         gnu/java/util/prefs/NodeReader.java,
5642         gnu/java/util/prefs/NodeWriter.java,
5643         (core_java_source_files): Added the following files:
5644         java/util/prefs/AbstractPreferences.java,
5645         java/util/prefs/BackingStoreException.java,
5646         java/util/prefs/InvalidPreferencesFormatException.java,
5647         java/util/prefs/NodeChangeEvent.java,
5648         java/util/prefs/NodeChangeListener.java,
5649         java/util/prefs/PreferenceChangeEvent.java,
5650         java/util/prefs/PreferenceChangeListener.java,
5651         java/util/prefs/Preferences.java,
5652         java/util/prefs/PreferencesFactory.java
5653         * Makefile.in: Regenerated.
5654  
5655 2003-02-13  Michael Koch  <konqueror@gmx.de>
5656
5657         * java/net/NetPermission.java
5658         (NetPermission): Make doucmentation match the method declaration.
5659         * java/net/NetworkInterface.java
5660         (equals): Reformated for GNU coding style.
5661         * java/net/ServerSocket.java: Merged with classpath.
5662         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5663         * java/net/SocketImpl.java
5664         (localPort): Merged with classpath (initialize with -1).
5665         * java/net/SocketPermission.java: Merged with classpath (reindented).
5666         * java/net/URLDecoder.java: Merged with classpath (reindented).
5667
5668 2003-02-13  Michael Koch  <konqueror@gmx.de>
5669
5670         * java/awt/GridBagConstraints.java
5671         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5672         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5673         * java/awt/KeyboardFocusManager.java
5674         (setGlobalCurrentFocusCycleRoot): Must be public.
5675         * java/awt/MenuComponent.java
5676         (MenuComponent): Must be public.
5677         * java/awt/Toolkit.java:
5678         Added some empty lines to make documentation more readable.
5679         (getFontPeer): Added @deprecated.
5680         (getColorModel): Added exception documentation.
5681         (getProperty): Fixed documentation.
5682  
5683 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5684
5685         * configure.host (alpha*-*): Default to -mieee.
5686         * configure.in (IEEESPEC): New.
5687         * libgcj.spec.in (jc1): Add IEEESPEC.
5688         * configure: Rebuild.
5689
5690 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5691
5692         * include/win32.h: Include ws2tcpip.h instead of
5693         winsock.h to obtain definition of the socklen_t type.
5694         Remove IP_TOS definition - not needed with ws2tcpip.h
5695         (_Jv_connect): Correct slight formatting error.
5696
5697 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5698
5699         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5700         size of the arguments for a JNI function. For Win32,
5701         modify to search for all forms of possible exported
5702         names of an stdcall JNI function.
5703         (_Jv_JNIMethod::call): Modify to calculate the size
5704         of the arguments passed to a JNI function and pass
5705         it to _Jv_LookupJNIMethod.
5706
5707 2003-02-12  Michael Koch  <konqueror@gmx.de>
5708
5709         * java/nio/channels/Channels.java: New file.
5710         * Makefile.am
5711         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5712         * Makefile.in: Regenerated.
5713
5714 2003-02-12  Michael Koch  <konqueror@gmx.de>
5715
5716         * java/nio/ByteBuffer.java
5717         (allocate): Implemented.
5718         (wrap): Implemented.
5719         * java/nio/CharBuffer.java:
5720         Some documentation added and reworked.
5721         (endian): Removed.
5722         (allocate): Implemented.
5723         (wrap): Implemented.
5724         (array): Throw exceptions.
5725         (arrayOffset): Throw exceptions.
5726         (toString): Implemented.
5727         (length): Implemented.
5728         (put): Implemented.
5729         (charAt): Implemented.
5730
5731 2003-02-11  John Leuner  <jewel@debian.org>
5732
5733         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5734         reads from end of file.
5735
5736 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5737
5738         * java/io/natFileDescriptorWin32.cc 
5739         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5740         returns with Win32 error code ERROR_BROKEN_PIPE.
5741
5742 2003-02-11  Michael Koch  <konqueror@gmx.de>
5743
5744         * Makefile.in
5745         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5746
5747 2003-02-11  Michael Koch  <konqueror@gmx.de>
5748
5749         * gnu/java/nio/ByteBufferImpl.java:
5750         Reformated and removed some code.
5751         (backing_buffer): Removed.      
5752         (array_offset): Removed.
5753         (ro): Renamed to readOnly.
5754         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5755         * gnu/java/nio/CharBufferImpl.java:
5756         Reformated and removed some code.
5757         (array_offset): Removed.
5758         (ro): Renamed to readOnly.
5759         (CharBufferImpl): Use parent constructor, initialize readOnly.
5760         (inc_pos): Removed.
5761         (order): New method.
5762         * gnu/java/nio/DoubleBufferImpl.java:
5763         Reformated and removed some code.
5764         (array_offset): Removed.
5765         (ro): Renamed to readOnly.
5766         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5767         (inc_pos): Removed.
5768         (order): New method.
5769         * gnu/java/nio/FloatBufferImpl.java:
5770         Reformated and removed some code.
5771         (array_offset): Removed.
5772         (ro): Renamed to readOnly.
5773         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5774         (inc_pos): Removed.
5775         (order): New method.
5776         * gnu/java/nio/IntBufferImpl.java:
5777         Reformated and removed some code.
5778         (array_offset): Removed.
5779         (ro): Renamed to readOnly.
5780         (IntBufferImpl): Use parent constructor, initialize readOnly.
5781         (inc_pos): Removed.
5782         (order): New method.
5783         * gnu/java/nio/LongBufferImpl.java:
5784         Reformated and removed some code.
5785         (array_offset): Removed.
5786         (ro): Renamed to readOnly.
5787         (LongBufferImpl): Use parent constructor, initialize readOnly.
5788         (inc_pos): Removed.
5789         (order): New method.
5790         * gnu/java/nio/ShortBufferImpl.java:
5791         Reformated and removed some code.
5792         (array_offset): Removed.
5793         (ro): Renamed to readOnly.
5794         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5795         (inc_pos): Removed.
5796         (order): New method.
5797         * Makefile.am
5798         (ordinary_java_source_files): Added the following files:
5799         gnu/java/nio/ByteBufferImpl.java
5800         gnu/java/nio/CharBufferImpl.java
5801         gnu/java/nio/DoubleBufferImpl.java
5802         gnu/java/nio/FloatBufferImpl.java
5803         gnu/java/nio/IntBufferImpl.java
5804         gnu/java/nio/LongBufferImpl.java
5805         gnu/java/nio/ShortBufferImpl.java
5806         java/nio/DoubleBuffer.java
5807         java/nio/FloatBuffer.java
5808         java/nio/IntBuffer.java
5809         java/nio/LongBuffer.java
5810         java/nio/ShortBuffer.java
5811         (nat_source_files): Added the following files:
5812         gnu/java/nio/natByteBufferImpl.cc
5813         gnu/java/nio/natCharBufferImpl.cc
5814         gnu/java/nio/natDoubleBufferImpl.cc
5815         gnu/java/nio/natFloatBufferImpl.cc
5816         gnu/java/nio/natIntBufferImpl.cc
5817         gnu/java/nio/natLongBufferImpl.cc
5818         gnu/java/nio/natShortBufferImpl.cc
5819         * Makefile.in: Regenerated.
5820
5821 2003-02-11  Michael Koch  <konqueror@gmx.de>
5822
5823         * gnu/java/nio/natCharBufferImpl.cc
5824         (nio_cast): Removed.
5825         (nio_put_*): Removed.
5826         (nio_get_*): Removed.
5827         * gnu/java/nio/natDoubleBufferImpl.cc
5828         (nio_cast): Removed.
5829         (nio_put_*): Removed.
5830         (nio_get_*): Removed.
5831         * gnu/java/nio/natFloatBufferImpl.cc
5832         (nio_cast): Removed.
5833         (nio_put_*): Removed.
5834         (nio_get_*): Removed.
5835         * gnu/java/nio/natIntBufferImpl.cc
5836         (nio_cast): Removed.
5837         (nio_put_*): Removed.
5838         (nio_get_*): Removed.
5839         * gnu/java/nio/natLongBufferImpl.cc
5840         (nio_cast): Removed.
5841         (nio_put_*): Removed.
5842         (nio_get_*): Removed.
5843         * gnu/java/nio/natShortBufferImpl.cc
5844         (nio_cast): Removed.
5845         (nio_put_*): Removed.
5846         (nio_get_*): Removed.
5847         * gnu/java/nio/SelectorProviderImpl.java
5848         (openDatagramChannel): Throws IOException.
5849         (openPipe): Throws IOException.
5850         (openSelector): Throws IOException.
5851         (openServerSocketChannel): Throws IOException.
5852         (openSocketChannel): Throws IOException.
5853         * gnu/java/nio/ServerSocketChannelImpl.java
5854         (ServerSocketChannelImpl): Throws IOException.
5855         (implCloseSelectableChannel): Throws IOException.
5856         (implConfigureBlocking): Throws IOException.
5857         * java/nio/ByteBuffer.java
5858         (readOnly): Removed.
5859         (hasArray): Use isReadOnly() instead of readOnly.
5860         (array): Use isReadOnly() instead of readOnly.
5861         (arrayOffset): Use isReadOnly() instead of readOnly.
5862         * java/nio/CharBuffer.java
5863         (CharBuffer): Implements Cloneable and CharSequence.
5864
5865 2003-02-11  Michael Koch  <konqueror@gmx.de>
5866
5867         * java/nio/DoubleBuffer.java
5868         (DoubleBuffer): Implements Comparable.
5869         (endian): Removed.
5870         (array_offset): New member variable.
5871         (DoubleBuffer): New constuctor.
5872         (get): May not be final.
5873         (put): May not be final.
5874         (arrayOffset): Implemented.
5875         (order): Made abstract.
5876         (order): Removed.
5877         (as*Buffer): Removed.
5878         (get*): Removed.
5879         (put*): Removed.
5880         * java/nio/FloatBuffer.java
5881         (FloatBuffer): Implements Comparable.
5882         (endian): Removed.
5883         (array_offset): New member variable.
5884         (FloatBuffer): New constuctor.
5885         (get): May not be final.
5886         (put): May not be final.
5887         (arrayOffset): Implemented.
5888         (order): Made abstract.
5889         (order): Removed.
5890         (as*Buffer): Removed.
5891         (get*): Removed.
5892         (put*): Removed.
5893         * java/nio/IntBuffer.java
5894         (IntBuffer): Implements Comparable.
5895         (endian): Removed.
5896         (array_offset): New member variable.
5897         (IntBuffer): New constuctor.
5898         (get): May not be final.
5899         (put): May not be final.
5900         (arrayOffset): Implemented.
5901         (order): Made abstract.
5902         (order): Removed.
5903         (as*Buffer): Removed.
5904         (get*): Removed.
5905         (put*): Removed.
5906         * java/nio/LongBuffer.java
5907         (LongBuffer): Implements Comparable.
5908         (endian): Removed.
5909         (array_offset): New member variable.
5910         (LongBuffer): New constuctor.
5911         (get): May not be final.
5912         (put): May not be final.
5913         (arrayOffset): Implemented.
5914         (order): Made abstract.
5915         (order): Removed.
5916         (as*Buffer): Removed.
5917         (get*): Removed.
5918         (put*): Removed.
5919         * java/nio/ShortBuffer.java
5920         (ShortBuffer): Implements Comparable.
5921         (endian): Removed.
5922         (array_offset): New member variable.
5923         (ShortBuffer): New constuctor.
5924         (get): May not be final.
5925         (put): May not be final.
5926         (arrayOffset): Implemented.
5927         (order): Made abstract.
5928         (order): Removed.
5929         (as*Buffer): Removed.
5930         (get*): Removed.
5931         (put*): Removed.
5932
5933 2003-02-11   Michael Koch  <konqueror@gmx.de>
5934
5935         * java/nio/channels/SelectionKey.java
5936         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5937         values.
5938
5939 2003-02-11  Michael Koch  <konqueror@gmx.de>
5940
5941         * java/nio/channels/DatagramChannel.java
5942         (write): Throws IOException.
5943         (connect): Throws IOException.
5944         (disconnect): Throws IOException.
5945         (read): Throws IOException.
5946         (receive): Throws IOException.
5947         (send): Throws IOException.
5948         * java/nio/channels/Pipe.java
5949         (open): Throws IOException.
5950         * java/nio/channels/SelectableChannel.java
5951         (configureBlocking): Throws IOException.
5952         * java/nio/channels/ServerSocketChannel.java
5953         (accept): Throws IOException.
5954         * java/nio/channels/SocketChannel.java
5955         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5956         GatheringByteChannel.
5957         (read): Throws IOException.
5958         (write): Throws IOException.
5959         (finishConnect): Throws IOException.
5960         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5961         (end): Throws AsynchronousCloseException.
5962         * java/nio/channels/spi/AbstractSelectableChannel.java
5963         (configureBlocking): Throws IOException.
5964         (implCloseChannel): Throws IOException.
5965         (implCloseSelectableChannel): Throws IOException.
5966         (implConfigureBlocking): Throws IOException.
5967         * java/nio/channels/spi/SelectorProvider.java
5968         (openDatagramChannel): Throws IOException.
5969         (openPipe): Throws IOException.
5970         (openSelector): Throws IOException.
5971         (openServerSocketChannel): Throws IOException.
5972         (openSocketChannel): Throws IOException.
5973
5974 2003-02-11  Michael Koch  <konqueror@gmx.de>
5975
5976         * gnu/java/nio/FileLockImpl.java,
5977         java/nio/channels/FileLock.java: New files.
5978
5979 2003-02-11  Michael Koch  <konqueror@gmx.de>
5980
5981         * java/nio/charset/IllegalCharsetNameException.java
5982         (serialVersionUID): New member variable.
5983         (charsetName): New member variable.
5984         (IllegalCharsetException): New implementation.
5985         (getCharsetName): New implementation.
5986         * java/nio/charset/UnsupportedCharsetException.java
5987         (serialVersionUID): New member variable.
5988         (charsetName): New member variable.
5989         (UnsupportedCharsetException): New implementation.
5990         (getCharsetName): New implementation.
5991
5992 2003-02-10  Tom Tromey  <tromey@redhat.com>
5993
5994         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5995         (ex): Renamed from sqlException.
5996
5997 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5998
5999         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
6000         method used to ensure seeding has occurred and that a specific 
6001         seed can be set and used.
6002
6003 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
6004
6005         * java/lang/Win32Process.java (destroy): Declare as native.
6006         (hasExited): New native method.
6007         (exitValue): Define.
6008         (getErrorStream): Likewise.
6009         (getInputStream): Likewise.
6010         (getOutputStream): Likewise.
6011         (waitFor): Declare as native.
6012         (startProcess): New native method.
6013         (cleanup): Likewise.
6014         (ConcreteProcess): Define.
6015         (outputStream, inputStream, errorStream): New members.
6016         (procHandle, exitCode): Likewise.
6017
6018         * java/lang/natWin32Process.cc
6019         (java::lang::ConcreteProcess::cleanup): Define.
6020         (java::lang::ConcreteProcess::destroy): Likewise.
6021         (java::lang::ConcreteProcess::hasExited): Likewise.
6022         (java::lang::ConcreteProcess::waitFor): Likewise.
6023         (new_string): Likewise.
6024         (java::lang::ConcreteProcess::startProcess): Likewise.
6025
6026 2003-02-10  Raif S. Naffah <raif@fl.net.au>
6027
6028         * java/math/BigInteger.java:
6029         Updated notice to include years 2002 and 3.
6030         Added 2 private (int) arrays with values from the HAC (Handbook of
6031         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6032         and t[] that contains nbr. of tests --used in isProbablePrime().
6033
6034         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6035
6036         * java/math/BigInteger.java (make(int[],int), add(int,int),
6037         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6038         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6039         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6040         make(long).
6041
6042         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6043         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6044         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6045         BIs and returns void.
6046         (modInverse(BI)): Use new signatures of euclidInv().
6047
6048         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6049         static small primes instead of remainder().
6050         Use pre-computed max nbr of trials based on bitlength of BI to test.
6051         Use pre-computed small primes for the trial tests instead of random
6052         numbers.
6053
6054         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6055         not used.
6056
6057         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6058         invoacation of MPN.chars_per_word().  not used.
6059
6060         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6061         local var and used where needed.
6062
6063         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6064         Combined declaration with initialisation of locals.
6065         Removed unused var.
6066
6067         * java/math/BigInteger.java: Style changes
6068         (pow(int)): Removed 'else' keyword.
6069         (toString(int)): idem.
6070         (doubleValue()): idem.
6071         (bitLength()): idem.
6072         (equals(Object)): Use static methods name in same class w/o prepending
6073         class name.
6074         (doubleValue()): idem.
6075         (setNegative(BI)): idem.
6076         (negate()): idem.
6077         (and(BI,int)): idem.
6078         (and(BI)): idem.
6079         (gcd(BI)): idem.
6080         (byteArrayToIntArray()): Removed casting to (int). this is
6081         std. behaviour.
6082         (canonicalize()): idem.
6083         (alloc(int)): Always instantiate a new BI.
6084
6085 2003-02-10  Tom Tromey  <tromey@redhat.com>
6086
6087         * java/sql/Timestamp.java (compareTo(Object)): New method.
6088         (compareTo(Timestamp)): Likewise.
6089         (serialVersionUID): Updated.
6090
6091 2003-02-07  Mark Wielaard  <mark@klomp.org>
6092
6093         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6094         when verify is true.
6095         (JarFile(File, boolean)): Likewise.
6096         (manifestRead): Set manifestRead field correctly.
6097
6098 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6099
6100         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6101         tests; see patch #1016 on Savannah.
6102
6103 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6104
6105         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6106         (toString): do not return Strings starting with . and - erroneously.
6107         Improves Mauve results to 12 of 600 instead of 16 of 338 on
6108         DiagBigDecimal.
6109
6110 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6111
6112         * java/beans/PropertyDescriptor.java
6113         (PropertyDescriptor(String, Class)): Sanity check getter and setter
6114         methods.
6115         (PropertyDescriptor(String, Class, String, String)): Likewise.
6116         (PropertyDescriptor(String, Method, Method): Factor out getter and
6117         setter method sanity checks into new method.
6118         (findMethods): Don't do parameter sanity checking of get method here.
6119         (checkMethods): New method.
6120
6121 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
6122
6123         * java/beans/PropertyDescriptor.java: Reformat.
6124
6125 2003-02-04  Tom Tromey  <tromey@redhat.com>
6126
6127         * java/io/PipedOutputStream.java (flush): Declare as throwing
6128         IOException.
6129         (close): Likewise.
6130         * java/io/PipedWriter.java (close): Declare as throwing
6131         IOException.
6132         * java/io/StringWriter.java (close): Declare as throwing
6133         IOException.
6134
6135 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6136
6137         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6138         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6139         could also have been exported as "JNI_OnLoad@8" (MinGW) or
6140         "_JNI_OnLoad@8" (MSVC).
6141
6142 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
6143
6144         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6145         convention on Win32 to invoke native JNI methods.
6146
6147 2003-02-03  Andrew Haley  <aph@redhat.com>
6148
6149         * configure.host (x86_64): Enable interpreter.
6150
6151 2003-02-03  Andrew Haley  <aph@redhat.com>
6152
6153         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6154         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6155         * configure.in (BACKTRACESPEC): New.
6156         * configure: Regenerate.
6157
6158 2003-02-02  Tom Tromey  <tromey@redhat.com>
6159
6160         * configure: Rebuilt.
6161         * configure.in (TOOLKIT) [xlib]: Set correctly.
6162
6163         * Makefile.in: Rebuilt.
6164         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6165         libstdc++.
6166
6167 2003-01-31  Mark WIelaard  <mark@klomp.org>
6168
6169         * Makefile.in: Rebuilt.
6170         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6171
6172 2003-01-31  Tom Tromey  <tromey@redhat.com>
6173
6174         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6175         cast to element type.
6176         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6177         (_Jv_JNI_GetObjectArrayElement): Likewise.
6178
6179         * Makefile.in: Rebuilt.
6180         * Makefile.am (cond_x_ltlibrary): Renamed library to
6181         lib-gnu-awt-xlib.la.
6182         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6183         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6184         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6185         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6186         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6187         (lib_gnu_awt_xlib_la_LINK): Likewise.
6188         (install-exec-hook): Removed.
6189         (lib-gnu-awt-xlib.la): Renamed.
6190
6191 2003-01-31  Tom Tromey  <tromey@redhat.com>
6192
6193         * aclocal.m4, configure, include/config.h.in: Rebuilt.
6194         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6195         aclocal.m4 and lost in some merge.
6196
6197         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6198         Don't try to find graphics configuration.
6199         * java/awt/Toolkit.java (default_toolkit_name): Use new
6200         Configuration entry.
6201         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6202         New global.
6203         * configure: Rebuilt.
6204         * configure.in (TOOLKIT): New subst.
6205         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6206         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
6207         directory.  Make output directories for .c files.
6208         * Makefile.in: Rebuilt.
6209         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6210         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6211         (all_java_source_files): Added new sources.
6212         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6213         (gtk_c_files): New macro.
6214         (gtk_c_source_files): New macro.
6215         (cond_gtk_ltlibrary): New macro.
6216         ($(gtk_c_files)): New target.
6217         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6218         (gtk_awt_peer_sources): New macro.
6219         (gtk_c_headers): New macro.
6220         ($(gtk_c_headers)): New target.
6221         (ACLOCAL_AMFLAGS): New macro.
6222         * gtk.m4, glib.m4, libart.m4: New files.
6223         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6224         gnu/java/awt/peer/gtk/GdkGraphics.java,
6225         gnu/java/awt/peer/gtk/GtkArg.java,
6226         gnu/java/awt/peer/gtk/GtkArgList.java,
6227         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6228         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6229         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6230         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6231         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6232         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6233         gnu/java/awt/peer/gtk/GtkClipboard.java,
6234         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6235         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6236         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6237         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6238         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6239         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6240         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6241         gnu/java/awt/peer/gtk/GtkImage.java,
6242         gnu/java/awt/peer/gtk/GtkImagePainter.java,
6243         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6244         gnu/java/awt/peer/gtk/GtkListPeer.java,
6245         gnu/java/awt/peer/gtk/GtkMainThread.java,
6246         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6247         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6248         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6249         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6250         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6251         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6252         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6253         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6254         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6255         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6256         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6257         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6258         gnu/java/awt/peer/gtk/GtkToolkit.java,
6259         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6260         gnu/java/awt/peer/gtk/TestAWT.java,
6261         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6263         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6264         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6265         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6266         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6267         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6268         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6269         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6270         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6271         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6272         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6273         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6274         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6275         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6276         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6277         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6278         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6279         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6280         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6281         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6282         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6283         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6284         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6285         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6286         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6287         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6288         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6289         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6290         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6291         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6292         jni/classpath/native_state.c, jni/classpath/native_state.h,
6293         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6294
6295 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
6296
6297         * java/util/Properties.java (load): Ignore backslash before EOF.
6298
6299 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
6300
6301         * java/lang/natClass.cc (initializeClass): Check tables when
6302         (state == JV_STATE_IN_PROGRESS).
6303         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6304         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6305         interpreted classes.
6306         (linkClass0): Use _Jv_WaitForState.
6307
6308 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
6309
6310         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6311         object when finished.
6312
6313 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
6314
6315         * libjava/configure.host: Disable can_unwind_signal on darwin.
6316
6317 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
6318
6319         Fixes PR java/9254:
6320         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6321         additionally containing id of the owner thread as well as
6322         the number of nested times the thread has acquired the mutex.
6323         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6324         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6325         (_Jv_MutexUnlock): Check if really the owner thread, reset
6326         owner thread id to 0 before leaving, if leaving for the last
6327         time.
6328         (_Jv_MutexLock): Set owner thread id in the mutex and increment
6329         refcount.
6330         (_Jv_ThreadYield): Yield using a call to Sleep(0).
6331         * win32-threads.cc (_Jv_CondWait): Check if really owner of
6332         the passed mutex.
6333         Pass handle of the broadcast event, instead of a pointer to it
6334         in Win32 ResetEvent( ) call.
6335         Remove incorrect return values.
6336         (_Jv_CondDestroy): Close both event handles and delete
6337         critical section.
6338         (_Jv_CondNotify): Check if really the owner thread.
6339         (_Jv_CondNotifyAll): Check if really the owner thread.
6340         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6341         (really_start): Use SetEvent( ) to signal daemon_cond.
6342         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6343         WaitForSingleObject( ) instead to wait for daemon_cond to be
6344         signalled.
6345
6346 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
6347
6348         * configure.in: Specifically define HAVE_BACKTRACE if building
6349         for MinGW.
6350         * include/win32.h: Remove HAVE_BACKTRACE definition.
6351         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6352         * configure: Rebuilt.
6353
6354 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
6355
6356         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6357         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
6358         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6359         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6360         * Makefile.in, configure: Rebuilt.
6361
6362 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
6363
6364         Fixes PR java/9253:
6365         * java/io/natFileWin32.cc (performList): Append only "*.*"
6366         if the canonical file path already has a "\" at the end.
6367
6368 2003-01-24  Tom Tromey  <tromey@redhat.com>
6369
6370         * defineclass.cc (handleMethodsEnd): Precompute code for static
6371         method.
6372         (handleCodeAttribute): Likewise.
6373         * resolve.cc (ncode): Use run_class for unsynchronized static
6374         methods.
6375         * include/java-interp.h (class _Jv_InterpMethod): Declare
6376         run_class.
6377         * interpret.cc (run_synch_class): Initialize class.
6378         (run) [insn_invokestatic]: Don't initialize class.
6379         [insn_anewarray]: Likewise.
6380         [insn_multianewarray]: Likewise.
6381         (run_class): New function.
6382
6383 2003-01-24  Tom Tromey  <tromey@redhat.com>
6384
6385         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6386         comment.
6387
6388 2003-01-22  Andrew Haley  <aph@redhat.com>
6389
6390         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6391         * configure.host (CHECKREFSPEC): Define for x86_64.
6392
6393 2003-01-21  Tom Tromey  <tromey@redhat.com>
6394
6395         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6396         search at 2, not 3.
6397
6398 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
6399
6400         * java/io/natFileWin32.cc (isAbsolute): Check path length before
6401         looking at any characters.
6402         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6403         be used.
6404         (isAbsolute): Check path's length as well.
6405
6406 2003-01-17  Mark Wielaard  <mark@klomp.org>
6407
6408         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6409         (nat_source_files): Add natVMObjectStreamClass.cc.
6410         * Makefile.in: Regenerated.
6411         * gcj/javaprims.h (namespace java): Regenerated.
6412         * java/io/ObjectStreamClass.java (getClassUID): Call
6413         VMObjectStreamClass.hasClassInitializer().
6414         (hasClassInitializer): Removed.
6415         * java/io/VMObjectStreamClass.java: New class.
6416         * java/io/natVMObjectStreamClass.cc: New file.
6417         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6418
6419 2003-01-16  Mark Wielaard  <mark@klomp.org>
6420
6421         * java/net/SocketImpl.java (toString): Don't explicitly call
6422         toString() on possible null address.
6423
6424 2003-01-16  Michael Koch  <konqueror@gmx.de>
6425
6426         * java/net/MulticastSocket.java
6427         (setInterface): Reindented.
6428
6429 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6430
6431         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6432         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6433         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6434         translateY arguments.  Implement.
6435         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6436         down translation arguments.
6437         (drawPolyline, drawPolygon): Fix incorrect tests.
6438         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6439         translateX and translateY arguments.
6440
6441 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6442
6443         * Makefile.in: Rebuilt.
6444         * Makefile.am (xlib_includes): New macro.
6445         (INCLUDES): Use it.
6446
6447 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6448
6449         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6450         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6451         16-bit display mode.
6452
6453 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6454
6455         * java/awt/CardLayout.java (show): Rewrote.
6456         (gotoComponent): Removed `target' argument.  Simplified code.
6457         Don't pre-compute `choice' unless `what' is FIRST or LAST.
6458         Changed all callers.
6459         (NONE): Removed.
6460         
6461 2003-01-14  Michael Koch  <konqueror@gmx.de>
6462
6463         * java/net/InetSocketAddress.java
6464         (serialVersionUID): New member variable.
6465         * java/net/NetPermission.java
6466         (NetPermission): Dont implement java.io.Serialization directly.
6467         * java/net/SocketAddress.java:
6468         (serialVersionUID): Documentation added.
6469         
6470 2003-01-14  Michael Koch  <konqueror@gmx.de>
6471
6472         * java/awt/Label.java
6473         (Label): Implements javax.accessibility.Accessible;
6474         * java/awt/List.java
6475         (List): Implements javax.accessibility.Accessible;
6476         * java/awt/ScrollPane.java
6477         (ScrollPane): Implements javax.accessibility.Accessible;
6478         * java/awt/Scrollbar.java
6479         (Scrollbar): Implements javax.accessibility.Accessible;
6480         * java/awt/TextComponent.java
6481         (setCaretPosition): Throw exception, documentation added.
6482         * java/awt/Toolkit.java:
6483         Added some newlines in method documentations.
6484         (createButton): Exception documentation added.
6485         (createTextField): Exception documentation added.
6486         (createLabel): Exception documentation added.
6487         (createList): Exception documentation added.
6488         (createCheckbox): Exception documentation added.
6489         (createScrollbar): Exception documentation added.
6490         (createScrollPane): Exception documentation added.
6491         (createTextArea): Exception documentation added.
6492         (createChoice): Exception documentation added.
6493         (createFrame): Exception documentation added.
6494         (createWindow): Exception documentation added.
6495         (createDialog): Exception documentation added.
6496         (createMenuBar): Exception documentation added.
6497         (createMenu): Exception documentation added.
6498         (createMenuItem): Exception documentation added.
6499         (createFileDialog): Exception documentation added.
6500         (createCheckboxMenuItem): Exception documentation added.
6501         (loadSystemColors): Exception documentation added.
6502         (setDynamicLayout): Exception documentation added.
6503         (isDynamicLayoutSet): Exception documentation added.
6504         (isDynamicLayoutActive): Exception documentation added.
6505         (getScreenSize): Exception documentation added.
6506         (getScreenResolution): Exception documentation added.
6507         (getScreenInsets): Exception documentation added.
6508         (getColorModel): Exception documentation added.
6509         (getSystemClipboard): Exception documentation added.
6510         (getSystemSelection): Exception documentation added.
6511         (getMenuShortcutKeyMask): Exception documentation added.
6512         (getSystemEventQueue): Exception documentation added.
6513         * java/awt/Window.java:
6514         Reindented some code.
6515         (Window): Centralized implementation, documentation added.
6516         (finalize): Documentation added.
6517         (hide): Fixed typo in comment.
6518         (getWindowListeners): Documentation added.
6519         * java/awt/color/ColorSpace.java
6520         (toRGB): Documentation added.
6521         * java/awt/color/ICC_ColorSpace.java
6522         (ICC_ColorSpace): Documentation added.
6523         (toRGB): Throw exception, documentation added.
6524         (fromRGB): Throw exception, documentation added.
6525         (toCIEXYZ): Documentation added.
6526         (fromCIEXYZ): Documentation added.
6527         (getMinValue): Documentation added.
6528         (getMaxValue): Documentation added.
6529         * java/awt/geom/Dimension2D.java
6530         (clone): Documentation added.
6531         * java/awt/geom/GeneralPath.java
6532         (clone): Documentation added.
6533         * java/awt/geom/Line2D.java
6534         (clone): Documentation added.
6535         * java/awt/geom/QuadCurve2D.java
6536         (clone): Documentation added.
6537         * java/awt/image/ColorModel.java
6538         (ColorModel): Throw exception, documentation added.
6539         * java/awt/image/ImageFilter.java
6540         (clone): Doesnt throw CloneNotSupportedException.
6541
6542 2003-01-14  Andrew Haley  <aph@redhat.com>
6543
6544         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6545         in a try block.
6546
6547 2003-01-10  Andrew Haley  <aph@redhat.com>
6548
6549         * include/dwarf2-signal.h: Remove x86_64.
6550         * configure.host (x86_64 DIVIDESPEC): Remove.
6551         * include/x86_64-signal.h: New file.
6552         * configure.in: Regenerate.
6553
6554 2003-01-10  Michael Koch  <konqueror@gmx.de>
6555
6556         * java/net/DatagramSocket.java
6557         (ch): Description added.
6558         (remotePort): Initialize with -1.
6559         (connect): Doesnt throws SocketException.
6560         * java/net/MulticastSocket.java
6561         (setInterface): Merge with Classpath.
6562         * java/net/ServerSocket.java
6563         (closed): New member variable.
6564         (bind): Check if socket is closed.
6565         (close): Close an associated channel too, set new value to closed.
6566         (isBound): Reindented.
6567         (isClosed): Implemented.
6568         * java/net/Socket.java
6569         (closed): New member variable.
6570         (bind): Check if socket is closed.
6571         (connect): Check if socket is closed.
6572         (close): Close an associated channel too, set new value to closed.
6573         (isClosed): Implemented.
6574
6575 2003-01-10  Michael Koch  <konqueror@gmx.de>
6576
6577         * java/awt/DisplayMode.java
6578         (equals): Fixed argument type and implementation.
6579
6580 2003-01-07  Tom Tromey  <tromey@redhat.com>
6581
6582         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6583         JV_HASH_SYNCHRONIZATION.
6584         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6585         JV_HASH_SYNCHRONIZATION.
6586
6587 2003-01-07  Michael Koch  <konqueror@gmx.de>
6588  
6589         * java/net/DatagramSocket.java:
6590         Added classpath license info.
6591         (DatagramSocket): Merged description with classpath.
6592         (close): Merged description with classpath.
6593         (getChannel): Merged description with classpath.
6594         (getInetAddress): Merged description with classpath.
6595         (getPort): Merged description with classpath.
6596         (getLocalAddress): Merged description with classpath.
6597         (getLocalPort): Merged description with classpath.
6598         (getSoTimeout): Merged description with classpath.
6599         (setSoTimeout): Merged description with classpath.
6600         (getSendBufferSize): Merged description with classpath.
6601         (setSendBufferSize): Merged description with classpath.
6602         (getReceiveBufferSize): Merged description with classpath.
6603         (setReceiveBufferSize): Merged description with classpath.
6604         
6605 2003-01-04  Tom Tromey  <tromey@redhat.com>
6606
6607         * java/awt/List.java: Merged with Classpath.
6608
6609 2003-01-03  Mark Wielaard  <mark@klomp.org>
6610
6611         * java/io/FileDescriptor.java (position): New private field.
6612         * java/io/natFileDescriptorPosix.cc (write): Up position.
6613         (setLength): Use and set position.
6614         (seek): Set position.
6615         (getFilePointer): Return position.
6616         (read): Up position.
6617
6618 2003-01-03  Mark Wielaard  <mark@klomp.org>
6619
6620         Merge with Classpath:
6621         * java/io/ObjectStreamClass.java (lookup): Split method and call
6622         lookupForClassObject().
6623         (lookupForClassObject): New method.
6624         (isProxyClass): New field.
6625         (setClass): Set isProxyClass, add object to classLookupTable, set
6626         superClass and calculateOffsets.
6627         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6628         and not a proxy class.
6629         (setFields): Set accessible true for serialPersistentFields.
6630         (getClassUID): Same for suid. And check if suid is of type long.
6631         (hasClassInitializer): Don't throw NoSuchMethodError.
6632
6633 2003-01-03  Mark Wielaard  <mark@klomp.org>
6634
6635         * java/io/FileInputStream.java (finalize): Don't explicitly
6636         finalize FileDescriptor.
6637
6638 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
6639
6640         * configure.host (sparc*-*): Enable bytecode interpreter.
6641
6642 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
6643
6644         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6645         Don't throw RemoteException.
6646         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6647         throw RemoteException.
6648
6649 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6650
6651         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6652         proxyHost): New static fields.
6653         (<clinit>): Initialize new fields.
6654         (connect): Use proxy if necessary.
6655         (usingProxy): Implement.
6656
6657 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6658
6659         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6660         (TreeIterator.remove): Prefer IllegalStateException over
6661         ConcurrentModificationException, to match Sun.
6662
6663 2002-12-22  Anthony Green  <green@redhat.com>
6664
6665         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6666
6667 2003-01-02  Mark Wielaard  <mark@klomp.org>
6668
6669         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6670         public.
6671         (HTTP_USE_PROXY): Add field.
6672         (getResponseVals): Only set responseCode when not yet explicitly
6673         set by subclass.
6674
6675 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6676             Mark Wielaard  <mark@klomp.org>
6677
6678         * java/util/zip/ZipFile.java (entries): Now HashMap.
6679         (readLeShort(DataInput, byte[])): Read from given byte array.
6680         (readLeInt(DataInput, byte[]): Likewise.
6681         (readLeShort(byte[] b, int off)): New method.
6682         (readLeInt(byte[] b, int off)): Likewise.
6683         (readEntries): Use byte arrays to read info in bigger chunks.
6684         (getEntries): Return HashMap.
6685         (getEntry): Use HashMap.
6686         (locBuf): New private field.
6687         (checkLocalHeader): Use locBuf to read info in one chunk.
6688         (getInputStream): Use entries HashMap, wrap PartialInputStream
6689         in BufferedInputStream.
6690         (ZipEntryEnumeration): Use HashMap and Interator.
6691
6692 2003-01-02  Mark Wielaard  <mark@klomp.org>
6693             Jeroen Frijters  <jeroen@sumatra.nl>
6694
6695         * java/net/URLClassLoader.java (Resource.getCodeSource):
6696         Fix check certs == null.
6697         (getCanonicalFileURL): Removed method.
6698         (JarURLLoader): Don't call removed method.
6699         (FileURLLoader): Likewise.
6700         (FileURLLoader.getResource): Don't canonicalize file name.
6701
6702 2003-01-01  Tom Tromey  <tromey@redhat.com>
6703
6704         * Makefile.in: Rebuilt.
6705         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6706         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6707         java/awt/BufferCapabilities.java, java/awt/Button.java,
6708         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6709         java/awt/Container.java, java/awt/Cursor.java,
6710         java/awt/EventQueue.java, java/awt/FileDialog.java,
6711         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6712         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6713         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6714         java/awt/Scrollbar.java, java/awt/TextArea.java,
6715         java/awt/TextField.java, java/awt/color/CMMException.java,
6716         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6717         java/awt/color/ProfileDataException.java,
6718         java/awt/datatransfer/Clipboard.java,
6719         java/awt/datatransfer/DataFlavor.java,
6720         java/awt/datatransfer/FlavorMap.java,
6721         java/awt/datatransfer/SystemFlavorMap.java,
6722         java/awt/dnd/DragGestureEvent.java,
6723         java/awt/dnd/DragGestureRecognizer.java,
6724         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6725         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6726         java/awt/im/InputMethodHighlight.java,
6727         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6728         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6729
6730         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6731         `op' to BufferedImageOp.
6732
6733 2002-12-31  Tom Tromey  <tromey@redhat.com>
6734
6735         Fix for PR libgcj/7416:
6736         * javax/naming/InitialContext.java (init): Use
6737         gnu.classpath.home.url.
6738         * java/security/Security.java: Use new properties.
6739         (loadProviders): Accept base url; use it.
6740         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6741         gnu.classpath.home.url.
6742         (gnu.classpath.home.url): Define.
6743         (gnu.classpath.vm.shortname): Likewise.
6744
6745 2002-12-31  Tom Tromey  <tromey@redhat.com>
6746             Ranjit Mathew  <rmathew@hotmail.com>
6747
6748         Fix for PR libgcj/8997:
6749         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6750         Include platform.h.
6751         * include/posix.h (_Jv_platform_usleep): New function.
6752         * include/win32.h (_Jv_platform_usleep): New function.
6753
6754 2002-12-29  Tom Tromey  <tromey@redhat.com>
6755
6756         * gcj/javaprims.h: Updated.
6757         * scripts/classes.pl (scan): Removed stray semicolon.
6758
6759 2002-12-30  Mark Wielaard  <mark@klomp.org>
6760
6761         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6762         if zero or smaller.
6763
6764 2002-12-30  Mark Wielaard  <mark@klomp.org>
6765
6766         * java/util/Properties (formatForOutput): Don't fall through to
6767         default case after escaping character.
6768
6769 2002-12-30  Mark Wielaard  <mark@klomp.org>
6770
6771         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6772         against count.
6773
6774 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6775
6776         * boehm.cc: Remove stray semicolon.
6777         * interpret.cc: Likewise.
6778         * prims.cc: Likewise.
6779         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6780         earlier to ensure default arguments are processed.
6781         * gcj/array.h (JArray): Add forward declaration.
6782         (elements): Likewise.
6783         * gcj/javaprim.h: Remove stray semicolons.
6784         * include/bohm-gc.h: Likewise.
6785         * include/jni.h: Likewise.
6786         * include/jvm.h: Likewise.
6787         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6788         
6789 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6790
6791         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6792         of catch_type.
6793         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6794         idt tables after initializing superclass.
6795         * java/lang/natClassLoader.cc (uaddr): New typedef.
6796         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6797         if they are constant pool indicies.  Don't link vtable, otable yet.
6798
6799 2002-12-21  Anthony Green  <green@redhat.com>
6800
6801         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6802         libraries.
6803         * Makefile.in: Rebuilt.
6804
6805 2002-12-19  Anthony Green  <green@redhat.com>
6806
6807         * Makefile.am (ordinary_java_source_files): Add
6808         org/xml/sax/helpers/NewInstance.java.
6809         * Makefile.in: Rebuilt.
6810         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6811         org/xml/sax/helpers/package.html: New files.
6812         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6813         http://www.saxproject.org.
6814
6815 2002-12-19  Andrew Haley  <aph@redhat.com>
6816
6817         * java/util/natResourceBundle.cc: Include
6818         ArrayIndexOutOfBoundsException.h.
6819         (getCallingClassLoader): Don't put upper bound on stack search.
6820         Catch ArrayIndexOutOfBoundsException.
6821
6822 2002-12-19  Tom Tromey  <tromey@redhat.com>
6823
6824         * libtool-version: Increased `current'.
6825
6826 2002-12-19  Tom Tromey  <tromey@redhat.com>
6827
6828         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6829         comment.
6830         * java/lang/ClassLoader.java (defineClass): Use chained
6831         exception when rethrowing.
6832         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6833         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6834         constants.
6835         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6836         (_Jv_PrepareClass): Use it.
6837         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6838         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6839         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6840         (Class): _Jv_PrepareMissingMethods now friend.
6841         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6842         Record `NULL' for system class loader.
6843         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6844         system class loader.
6845         (_Jv_FindClassInCache): Likewise.
6846         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6847         (_Jv_FindClass): Special case system class loader.
6848         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6849         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6850         vtable slots.
6851         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6852         in a final class.
6853         (_getDeclaredMethod): Don't return synthetic methods.
6854         (getDeclaredMethods): Likewise.
6855         (_getMethod): Likewise.
6856         (_getMethods): Likewise.
6857
6858 2002-12-18  Raif Naffah  <raif@fl.net.au>
6859
6860         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6861         canonical form after divide().
6862         (modInverse): Likewise.
6863
6864 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6865             Mark Wielaard  <mark@klomp.org>
6866
6867         * java/security/SecurityRandom (digest): Removed field.
6868         (SecureRandom): Check all providers for case-insensitive SecureRandom
6869         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6870         if necessary.
6871         (getInstance(String,Provider,boolean): New method.
6872         (getInstance(String)): Use new method.
6873         (getInstance(String,String)): Likewise.
6874         (getInstance(String,Provider)): Likewise.
6875
6876 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6877
6878         * java/security/Security.java (loadProviders): Increment i only once.
6879
6880 2002-12-12  Mark Wielaard  <mark@klomp.org>
6881
6882         * java/lang/ClassLoader.java (resolveClass0): Transform
6883         ClassNotFoundException to NoClassDefFoundError. Transform all other
6884         throwables to LinkageError.
6885
6886 2002-12-11  Tom Tromey  <tromey@redhat.com>
6887
6888         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6889
6890         * java/lang/ClassLoader.java (loadedClasses): New field.
6891         (defineClass): Fixed indentation.  Put new class in
6892         loadedClasses.
6893         (findLoadedClass): Implement here.
6894         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6895
6896 2002-12-10  Tom Tromey  <tromey@redhat.com>
6897
6898         * Makefile.in: Rebuilt.
6899         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6900         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6901         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6902         * java/lang/natClassLoader.cc
6903         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6904
6905 2002-12-10  Mark Wielaard  <mark@klomp.org>
6906             Tom Tromey  <tromey@redhat.com>
6907
6908         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6909         (JarURLLoader): Use it.
6910         (FileURLLoader): Likewise.
6911         (JarURLResource.getURL): Use chained exception.
6912         (FileResource.getURL): Likewise.
6913         (FileURLLoader.getResource): Use canonical file name.
6914         (addURL): Indentation fix.
6915
6916 2002-12-10  Tom Tromey  <tromey@redhat.com>
6917
6918         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6919         From Laurent Bardet <l.bardet@magic.fr>.
6920
6921 2002-12-09  Tom Tromey  <tromey@redhat.com>
6922
6923         * include/win32.h (_Jv_platform_solib_prefix): New define.
6924         (_Jv_platform_solib_suffix): Likewise.
6925         * include/posix.h (_Jv_platform_solib_prefix): New define.
6926         (_Jv_platform_solib_suffix): Likewise.
6927         * java/lang/natRuntime.cc: Include StackTrace.h.
6928         (_load): Use findLibrary and new platform defines.
6929         (nativeGetLibname): Use new platform defines.
6930
6931         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6932         `t' won't be null.
6933
6934 2002-12-08  Mark Wielaard  <mark@klomp.org>
6935
6936         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6937         cache remote jar files.
6938         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6939         add File.separator to URL when it is a directory.
6940         * java/lang/ClassLoader.java: Add Classpath javadoc.
6941         (parent): final.
6942         (getParent): Add (disabled) security check.
6943         (findLibrary): New default method.
6944         * java/net/JarURLConnection.java (getManifest): Implement.
6945         (getInputStream): Only create InputStream when entry exists.
6946         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6947         when they exist.
6948         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6949
6950 2002-12-08  Mark Wielaard  <mark@klomp.org>
6951
6952         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6953         (lastDefaultLocale): New field.
6954         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6955         resourceBundleCache.
6956
6957 2002-12-06  Mark Wielaard  <mark@klomp.org>
6958
6959         * java/net/InetAddress.java (toString): Use hostname when not null,
6960         don't do an explicit reverse getHostName() lookup.
6961         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6962         NullPointerException.
6963
6964 2002-12-06  Tom Tromey  <tromey@redhat.com>
6965
6966         * include/java-interp.h (class _Jv_InterpMethod): Added
6967         JV_MARKOBJ_DECL.
6968         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6969         mark `prepared' field of interpreted method.
6970         * interpret.cc (compile): Use _Jv_AllocBytes.
6971
6972 2002-12-05  Andrew Haley  <aph@redhat.com>
6973
6974         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6975         #ifdef (HAVE_BACKTRACE) around the whole function body.
6976
6977 2002-12-05  Tom Tromey  <tromey@redhat.com>
6978
6979         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6980         * resolve.cc: Don't include AbstractMethodError.h.
6981         (_Jv_abstractMethodError): Removed.
6982         * defineclass.cc (handleMethodsBegin): Initialize method index to
6983         -1.
6984         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6985         method index for "new" final method.
6986         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6987         isVirtualMethod.  Added `flags' argument.
6988         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6989         class.
6990
6991 2002-12-04  Tom Tromey  <tromey@redhat.com>
6992
6993         * java/net/SocketPermission.java (hashCode): Rewrote.
6994
6995 2002-12-04  Tom Tromey  <tromey@redhat.com>
6996
6997         * Makefile.in: Rebuilt.
6998         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6999         natResourceBundle.
7000         * java/util/ResourceBundle.java (Security): Removed.
7001         (getCallingClassLoader): Now native.
7002         * java/util/natResourceBundle.cc: New file.
7003         * java/lang/natVMSecurityManager.cc: New file.
7004         * java/lang/VMSecurityManager.java (getClassContext): Now native.
7005
7006 2002-12-03  Mark Wielaard  <mark@klomp.org>
7007
7008         * java/util/jar/JarFile.java (manifest): Not final.
7009         (manifestRead): New field.
7010         (JarFile): Don't read Manifest in constructor.
7011         (getManifest): New method.
7012         (JarEnumeration.nextElement): Use new method.
7013         (getEntry): Likewise.
7014         * java/util/zip/ZipFile.java (name): Final.
7015         (raf): Likewsie.
7016         (entries): Change type to Hashtable.
7017         (closed): New field.
7018         (ZipFile): Don't read enties in constructor.
7019         (readEntries): Use Hashtable.
7020         (close): Set new close flag and set entries to null inside
7021         synchronized block.
7022         (entries): Contruct enumeration using new getEntries() method and
7023         entries Hashtable.
7024         (getEntryIndex): Removed.
7025         (getEntries): New method.
7026         (getEntry): Use new getEntries() method and entries Hastable.
7027         (getInputStream): Likewise.
7028         (size): Return getEntries().size().
7029         (ZipEntryEnumeration): Wrap entries Hashtable elements.
7030         * java/util/zip/ZipEntry.java (cal): Don't initialize.
7031         (time): Removed
7032         (dostime): New field.
7033         (zipFileIndex): Removed.
7034         (ZipEntry(ZipEntry)): Copy dostime.
7035         (setDOSTime): Now final and doesn't convert dos time.
7036         (getDOSTime): Likewise.
7037         (setTime): Convert dos time.
7038         (getTime): Likewise.
7039         (getCalendar): New method.
7040         (setExtra): Use setTime().
7041         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7042
7043 2002-12-03  Tom Tromey  <tromey@redhat.com>
7044
7045         * java/lang/Character.java (forDigit): Formatting fix.
7046
7047 2002-12-03  Raif Naffah  <raif@fl.net.au>
7048
7049         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7050         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7051         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7052
7053 2002-12-03  Andrew Haley  <aph@redhat.com>
7054
7055         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7056         _Jv_PushClass.
7057         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7058         (_Jv_PopClass): New.
7059         (_Jv_PushClass): New.
7060         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7061         discover the ClassLoader of our caller.
7062         (_Jv_CheckArrayStore): Don't check that a class is assignment
7063         compatible with Object.
7064         * java/lang/natVMTHrowable.cc: Delete.
7065         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7066         java.lang.VMThrowable.
7067         (StackTrace(), StackTrace(int)): New constructors.
7068         (classAt, methodAt, update, methodAtAddress): New methods.
7069         (map): New field.
7070         * java/lang/VMThrowable.java: Use StackTrace instead of
7071         natVMTHrowable.
7072         * java/lang/Class.h (getClassLoaderInternal): New.
7073         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7074         Be friendly with gnu::gcj::runtime::StackTrace.
7075         (Object.chain): New field.
7076         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7077         gnu::gcj::runtime::StackTrace.
7078         * gnu/gcj/runtime/natStackTrace.cc: New file.
7079         * gnu/gcj/runtime/MethodRef.java: New file.
7080         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7081         instead of getClassLoader().
7082         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7083         java::lang::VMThrowable.
7084         * Makefile.am (core_java_source_files): Add MethodRef.java,
7085         StackTrace.java.
7086         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7087         * Makefile.in: Rebuild.
7088
7089 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
7090
7091         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7092         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7093         yes also for sh-linux* and sh[34]*-linux*.
7094         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7095         set SIGNAL_HANDLER to use DWARF2 exception for them.
7096         * configure: Regenerate.
7097
7098 2002-12-02  Tom Tromey  <tromey@redhat.com>
7099
7100         * jni.cc: Added `name' argument.
7101         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7102         `const char *' argument.
7103         (class _Jv_JNIEnv) [DefineClass]: Likewise.
7104
7105 2002-12-01  Tom Tromey  <tromey@redhat.com>
7106
7107         Bug compatibility, for PR libgcj/8738:
7108         * java/io/CharArrayWriter.java (close): Do nothing.
7109         (flush): Likewise.
7110         (reset): Don't touch `closed'.
7111         (write(int)): Don't throw IOException.
7112         (write(char[],int,int)): Likewise.
7113         (write(String,int,int)): Likewise.
7114         (closed): Removed.
7115
7116 2002-12-01  Mark Wielaard  <mark@klomp.org>
7117
7118         * java/lang/SecurityManager.java: Remerge comments, indenting and
7119         checkXXX methods with Classpath.
7120
7121 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
7122
7123         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7124         getNormalizedComponents): Fix calculation which was using one too
7125         many bits in the unnormalized format.
7126
7127 2002-11-29  Gary Benson  <gbenson@redhat.com>
7128
7129         For PR libgcj/8759:
7130         * java/beans/Introspector.java (flushCaches): New method.
7131         (flushFromCaches): Likewise.
7132
7133 2002-11-29  Michael Koch <konqueror@gmx.de>
7134
7135         * java/nio/channels/DatagramChannel.java
7136         (open): Added exception documentation.
7137         (write): Added exception documentation.
7138         (connect): Added exception documentation.
7139         (disconnect): Added exception documentation.
7140         (isConnected): Added exception documentation.
7141         (read): Added exception documentation.
7142         (receive): Added exception documentation.
7143         (send): Added exception documentation.
7144         (validOps): Added exception documentation.
7145         * java/nio/channels/SocketChannel.java
7146         (open): Added exception documentation.
7147         (read): Added exception documentation.
7148         (write): Added exception documentation.
7149         (connect): Added exception documentation.
7150         (finishConnect): Added exception documentation.
7151
7152 2002-11-29  Michael Koch <konqueror@gmx.de>
7153
7154         * gnu/java/nio/DatagramChannelImpl:
7155         (fd): New member variable to store file descriptor of socket.
7156         * gnu/java/nio/SelectionKeyImpl.java:
7157         (ops): Removed.
7158         (readyOps): New member variable.
7159         (interestOps): New member variable.
7160         (readyOps): Implemented.
7161         (readyOps): New method to set member variable readyOps.
7162         (interestOps): Replaced ops by interestOps.
7163         * gnu/java/nio/SelectorImpl.java:
7164         (SelectorImpl): Initialize key sets.
7165         (select): Call select with -1 instead of Long.MAX_VALUE).
7166         (java_do_select): Make it a native method.
7167         (getFDsAsArray): New helper method.
7168         (select): Remove canceled keys, give only interested file discriptors
7169         to java_do_select, set ready ops.
7170         (add): No need to initialize keys set here.
7171         (add_selected): No need to initialize selected set here.
7172         (deregisterCanceledKeys): New helper method.
7173         (register): Set interest ops, set attachments, added handling of datagram
7174         channels.
7175         * gnu/java/nio/ServerSocketChannelImpl:
7176         (SocketAccept): Renamed from NioSocketAccept.
7177         (implConfigureBlocking): Implemented.
7178         (accept): Use SocketAccept instead of NioSocketAccept.
7179         * gnu/java/nio/SocketChannelImpl:
7180         Reactivate native methods.
7181
7182 2002-11-29  Michael Koch <konqueror@gmx.de>
7183
7184         * gnu/java/nio/natByteBufferImpl.cc,
7185         gnu/java/nio/natCharBufferImpl.cc,
7186         gnu/java/nio/natDoubleBufferImpl.cc,
7187         gnu/java/nio/natFloatBufferImpl.cc,
7188         gnu/java/nio/natIntBufferImpl.cc,
7189         gnu/java/nio/natLongBufferImpl.cc,
7190         gnu/java/nio/natSelectorImpl.cc,
7191         gnu/java/nio/natServerSocketChannelImpl.cc,
7192         gnu/java/nio/natShortBufferImpl.cc,
7193         gnu/java/nio/natSocketChannelImpl.cc:
7194         New files that implement native functionalities.
7195
7196 2002-11-29  Michael Koch <konqueror@gmx.de>
7197
7198         * gnu/java/nio/ByteBufferImpl.java
7199         (ByteBufferImpl): Moved position() after limit.
7200         (nio_*): Use native implementation.
7201         * gnu/java/nio/CharBufferImpl.java:
7202         Reformated.
7203         (endian): New member variable string endianess of buffer.
7204         (CharBufferImpl): Moved position() after limit.
7205         (nio_*): Use native implementation.
7206         (subSequence): Implemented.
7207         * gnu/java/nio/DoubleBufferImpl.java
7208         (DoubleBufferImpl): Moved position() after limit.
7209         (nio_*): Use native implementation.
7210         * gnu/java/nio/FloatBufferImpl.java
7211         Reformated.
7212         (FloatBufferImpl): Moved position() after limit.
7213         (nio_*): Use native implementation.
7214         * gnu/java/nio/IntBufferImpl.java
7215         Added needed imports, Reformated.
7216         (IntBufferImpl): Moved position() after limit.
7217         (nio_*): Use native implementation.
7218         * gnu/java/nio/LongBufferImpl.java
7219         Reformated.
7220         (LongBufferImpl): Moved position() after limit.
7221         (nio_*): Use native implementation.
7222         * gnu/java/nio/ShortBufferImpl.java
7223         Reformated.
7224         (ShortBufferImpl): Moved position() after limit.
7225         (nio_*): Use native implementation.
7226
7227 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
7228
7229         * java/util/Locale.java (toString): Improve efficiency if country
7230         and variant are both empty.
7231
7232 2002-11-26  Tom Tromey  <tromey@redhat.com>
7233
7234         * verify.cc (pop_init_ref): New method.
7235         (verify_instructions_0) [op_iaload, op_laload, op_faload,
7236         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7237         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7238         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7239         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7240         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7241         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
7242         let `this' argument be uninitialized.  Don't let `null' be passed
7243         as `this' to construtor.
7244
7245 2002-11-26  Mark Wielaard  <mark@klomp.org>
7246
7247         * javax/transaction/HeuristicCommitException.java: Classpath merge.
7248         * javax/transaction/HeuristicMixedException.java: Likewise.
7249         * javax/transaction/HeuristicRollbackException.java: Likewise.
7250         * javax/transaction/InvalidTransactionException.java: Likewise.
7251         * javax/transaction/NotSupportedException.java: Likewise.
7252         * javax/transaction/RollbackException.java: Likewise.
7253         * javax/transaction/Status.java: Likewise.
7254         * javax/transaction/Synchronization.java: Likewise.
7255         * javax/transaction/SystemException.java: Likewise.
7256         * javax/transaction/Transaction.java: Likewise.
7257         * javax/transaction/TransactionManager.java: Likewise.
7258         * javax/transaction/TransactionRequiredException.java: Likewise.
7259         * javax/transaction/TransactionRolledbackException.java: Likewise.
7260         * javax/transaction/UserTransaction.java: Likewise.
7261         * javax/transaction/xa/XAException.java: Likewise.
7262         * javax/transaction/xa/XAResource.java: Likewise.
7263         * javax/transaction/xa/Xid.java: Likewise.
7264
7265 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
7266
7267         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7268         define.
7269         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7270         * include/posix.h (socklen_t): Define if not already defined.
7271
7272 2002-11-25  Tom Tromey  <tromey@redhat.com>
7273
7274         * verify.cc (type::compatible): Backed out broken change.
7275
7276         * verify.cc (type::compatible): Check initialization status
7277         first.
7278         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7279         Don't use NULLCHECK.
7280
7281 2002-11-23  H.J. Lu <hjl@gnu.org>
7282
7283         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7284         Include ../config/accross.m4.
7285         * aclocal.m4; Rebuild.
7286         * configure: Likewise.
7287
7288 2002-11-23  Mark Wielaard  <mark@klomp.org>
7289
7290         * javax/naming/AuthenticationException.java: Update copyright header.
7291         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7292         * javax/naming/Binding.java: Likewise.
7293         * javax/naming/CannotProceedException.java: Likewise.
7294         * javax/naming/CommunicationException.java: Likewise.
7295         * javax/naming/CompositeName.java: Likewise.
7296         * javax/naming/CompoundName.java: Likewise.
7297         * javax/naming/ConfigurationException.java: Likewise.
7298         * javax/naming/Context.java: Likewise.
7299         * javax/naming/ContextNotEmptyException.java: Likewise.
7300         * javax/naming/InitialContext.java: Likewise.
7301         * javax/naming/InsufficientResourcesException.java: Likewise.
7302         * javax/naming/InterruptedNamingException.java: Likewise.
7303         * javax/naming/LimitExceededException.java: Likewise.
7304         * javax/naming/LinkException.java: Likewise.
7305         * javax/naming/LinkLoopException.java: Likewise.
7306         * javax/naming/LinkRef.java: Likewise.
7307         * javax/naming/MalformedLinkException.java: Likewise.
7308         * javax/naming/NameAlreadyBoundException.java: Likewise.
7309         * javax/naming/NameClassPair.java: Likewise.
7310         * javax/naming/NameNotFoundException.java: Likewise.
7311         * javax/naming/NameParser.java: Likewise.
7312         * javax/naming/NamingEnumeration.java: Likewise.
7313         * javax/naming/NamingSecurityException.java: Likewise.
7314         * javax/naming/NoInitialContextException.java: Likewise.
7315         * javax/naming/NoPermissionException.java: Likewise.
7316         * javax/naming/NotContextException.java: Likewise.
7317         * javax/naming/OperationNotSupportedException.java: Likewise.
7318         * javax/naming/PartialResultException.java: Likewise.
7319         * javax/naming/Reference.java: Likewise.
7320         * javax/naming/Referenceable.java: Likewise.
7321         * javax/naming/ReferralException.java: Likewise.
7322         * javax/naming/ServiceUnavailableException.java: Likewise.
7323         * javax/naming/SizeLimitExceededException.java: Likewise.
7324         * javax/naming/TimeLimitExceededException.java: Likewise.
7325         * javax/naming/directory/Attribute.java: Likewise.
7326         * javax/naming/directory/AttributeInUseException.java: Likewise.
7327         * javax/naming/directory/AttributeModificationException.java: Likewise.
7328         * javax/naming/directory/Attributes.java: Likewise.
7329         * javax/naming/directory/BasicAttribute.java: Likewise.
7330         * javax/naming/directory/BasicAttributes.java: Likewise.
7331         * javax/naming/directory/DirContext.java: Likewise.
7332         * javax/naming/directory/InitialDirContext.java: Likewise.
7333         * javax/naming/directory/InvalidAttributeIdentifierException.java:
7334         Likewise.
7335         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7336         * javax/naming/directory/InvalidAttributesException.java: Likewise.
7337         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7338         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7339         * javax/naming/directory/ModificationItem.java: Likewise.
7340         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7341         * javax/naming/directory/SchemaViolationException.java: Likewise.
7342         * javax/naming/directory/SearchControls.java: Likewise.
7343         * javax/naming/directory/SearchResult.java: Likewise.
7344         * javax/naming/event/EventContext.java: Likewise.
7345         * javax/naming/event/EventDirContext.java: Likewise.
7346         * javax/naming/event/NamespaceChangeListener.java: Likewise.
7347         * javax/naming/event/NamingEvent.java: Likewise.
7348         * javax/naming/event/NamingExceptionEvent.java: Likewise.
7349         * javax/naming/event/NamingListener.java: Likewise.
7350         * javax/naming/event/ObjectChangeListener.java: Likewise.
7351         * javax/naming/ldap/Control.java: Likewise.
7352         * javax/naming/ldap/ControlFactory.java: Likewise.
7353         * javax/naming/ldap/ExtendedRequest.java: Likewise.
7354         * javax/naming/ldap/ExtendedResponse.java: Likewise.
7355         * javax/naming/ldap/HasControls.java: Likewise.
7356         * javax/naming/ldap/InitialLdapContext.java: Likewise.
7357         * javax/naming/ldap/LdapContext.java: Likewise.
7358         * javax/naming/ldap/LdapReferralException.java: Likewise.
7359         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7360         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7361         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7362         * javax/naming/spi/DirObjectFactory.java: Likewise.
7363         * javax/naming/spi/DirStateFactory.java: Likewise.
7364         * javax/naming/spi/DirectoryManager.java: Likewise.
7365         * javax/naming/spi/InitialContextFactory.java: Likewise.
7366         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7367         * javax/naming/spi/NamingManager.java: Likewise.
7368         * javax/naming/spi/ObjectFactory.java: Likewise.
7369         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7370         * javax/naming/spi/ResolveResult.java: Likewise.
7371         * javax/naming/spi/Resolver.java: Likewise.
7372         * javax/naming/spi/StateFactory.java: Likewise.
7373
7374         * javax/naming/spi/NamingManager.java (ofb): Package private.
7375
7376 2002-11-21  Mark Wielaard  <mark@klomp.org>
7377
7378         * java/net/URL.java: Merge with Classpath (partly).
7379         * java/net/URLStreamHandler: Merge with Classpath.
7380
7381 2002-11-22  Michael Koch <konqueror@gmx.de>
7382
7383         * include/posix.h:
7384         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7385         * include/win32.h:
7386         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7387         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7388
7389 2002-11-21  Michael Koch <konqueror@gmx.de>
7390
7391         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7392         Only the new network functions should be in it.
7393
7394 2002-11-21  Michael Koch <konqueror@gmx.de>
7395
7396         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7397         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7398
7399 2002-11-21  Michael Koch <konqueror@gmx.de>
7400
7401         * java/nio/channels/AsynchronousCloseException.java,
7402         java/nio/channels/CancelledKeyException.java,
7403         java/nio/channels/ClosedByInterruptException.java,
7404         java/nio/channels/ConnectionPendingException.java,
7405         java/nio/channels/FileLockInterruptionException.java,
7406         java/nio/channels/IllegalSelectorException.java,
7407         java/nio/channels/NoConnectionPendingException.java,
7408         java/nio/channels/NonReadableChannelException.java,
7409         java/nio/channels/NonWritableChannelException.java,
7410         java/nio/channels/NotYetBoundException.java,
7411         java/nio/channels/NotYetConnectedException.java,
7412         java/nio/channels/OverlappingFileLockException.java,
7413         java/nio/channels/UnresolvedAddressException.java,
7414         java/nio/channels/UnsupportedAddressTypeException.java:
7415         New files.
7416         * Makefile.am (ordinary_java_source_files): Added new files.
7417         * Makefile.in: Regenerated.
7418
7419 2002-11-21  Michael Koch <konqueror@gmx.de>
7420
7421         * include/posix.h
7422         (_Jv_socket): New method.
7423         (_Jv_connect): New method.
7424         (_Jv_close): New method.
7425         (_Jv_platform_close_on_exec): Prefixed system function with "::".
7426         (_Jv_bind): New method.
7427         (_Jv_listen): New method.
7428         (_Jv_write): New method.
7429         (_Jv_read): New method.
7430         * include/win32.h
7431         (_Jv_socket): New method.
7432         (_Jv_connect): New method.
7433         (_Jv_close): New method.
7434         (_Jv_bind): New method.
7435         (_Jv_listen): New method.
7436         (_Jv_write): New method.
7437         (_Jv_read): New method.
7438         * java/net/natNetworkInterface.cc:
7439         Include platform.h, removed inclusion of socket.h
7440         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7441         ::close() by _Jv_close().
7442         * java/net/natPlainDatagramSocketImpl.cc:
7443         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7444         added some new lines to make code more readable.
7445         (create): Replaced ::socket() by _Jv_socket().
7446         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7447         * java/net/natPlainSocketImpl.cc:
7448         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7449         removed include of socket.h, removed some windows defines
7450         (now in include/win32.h).
7451         (create): Replaced ::socket() by _Jv_socket().
7452         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7453         (write): Replaced ::read by _Jv_write().
7454         (read): Replaced ::read by _Jv_read().
7455
7456 2002-11-20  Michael Koch <konqueror@gmx.de>
7457
7458         * Makefile.am (ordinary_java_source_files):
7459         Added java/nio/channels/FileChannel.java.
7460         * Makefile.in: Regenerated.
7461
7462 2002-11-20  Michael Koch <konqueror@gmx.de>
7463
7464         * java/io/FileInputStream.java
7465         (getChannel): New method.
7466         * java/io/FileOutputStream.java
7467         (getChannel): New method.
7468         * java/net/ServerSocket.java
7469         (bind): Removed duplicate code and called another bind method instead.
7470         * java/nio/channels/SelectionKey.java
7471         (isValid): Removed wrong exception documentation.
7472         * java/nio/channels/ServerSocketChannel.java
7473         (accept): Added exception documentation.
7474         (open): Fixed typo, added exception documentation.
7475         * java/nio/channels/spi/AbstractSelectableChannel.java
7476         (implCloseChannel): Added exception documentation.
7477         (add): Reformated.
7478         (register): Added exception documentation.
7479
7480 2002-11-20  Andreas Jaeger  <aj@suse.de>
7481
7482         * configure: Regenerated with new libtool.m4.
7483
7484 2002-11-19  Tom Tromey  <tromey@redhat.com>
7485
7486         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7487         `referent'.
7488         (finalize_referred_to_object): Don't modify `referent' or `copy'
7489         fields.
7490         (add_to_hash): Correctly set `n->next' when updating list.
7491         * java/lang/ref/Reference.java (enqueue): Return false if already
7492         enqueued.
7493
7494 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
7495
7496         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7497         to function and function pointer declarations in accordance with
7498         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7499         based on whether __GCJ_JNI_IMPL__ has been defined or not.
7500         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7501         JNI function definitions.
7502
7503 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7504
7505         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7506         that was causing CoderResults to be cached, not WeakReferences
7507         to CoderResults.
7508
7509 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7510
7511         * java/security/KeyStore.java (getInstance): Fix
7512         comment and throw IllegalArgumentException if
7513         given provider is null.
7514         (getInstance): New method for jdk1.4 compatibility.
7515
7516 2002-11-18  Michael Koch <konqueror@gmx.de>
7517
7518         * java/net/PlainSocketImpl.java: Fix imports.
7519
7520 2002-11-18  Michael Koch <konqueror@gmx.de>
7521
7522         * java/nio/channels/SelectionKey.java
7523         (isValid): Added exception documentation.
7524         * java/nio/channels/Selector.java
7525         (open): Declare "throws IOException".
7526
7527 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7528
7529         * java/nio/charset/Charset.java
7530         (<clinit>): New method.
7531         (encode): Synchronize use of cached encoder object.
7532         (decode): Synchronize use of cached encoder object.
7533
7534 2002-11-18  Michael Koch <konqueror@gmx.de>
7535
7536         * gnu/java/nio/ByteBufferImpl.java,
7537         gnu/java/nio/CharBufferImpl.java,
7538         gnu/java/nio/DatagramChannelImpl.java,
7539         gnu/java/nio/DoubleBufferImpl.java,
7540         gnu/java/nio/FileChannelImpl.java,
7541         gnu/java/nio/FloatBufferImpl.java,
7542         gnu/java/nio/IntBufferImpl.java,
7543         gnu/java/nio/LongBufferImpl.java,
7544         gnu/java/nio/PipeImpl.java,
7545         gnu/java/nio/SelectionKeyImpl.java,
7546         gnu/java/nio/SelectorImpl.java,
7547         gnu/java/nio/SelectorProviderImpl.java,
7548         gnu/java/nio/ServerSocketChannelImpl.java,
7549         gnu/java/nio/ShortBufferImpl.java,
7550         gnu/java/nio/SocketChannelImpl.java,
7551         java/nio/DoubleBuffer.java,
7552         java/nio/FloatBuffer.java,
7553         java/nio/IntBuffer.java,
7554         java/nio/LongBuffer.java,
7555         java/nio/ShortBuffer.java,
7556         java/nio/channels/FileChannel.java: New files.
7557
7558 2002-11-18  Michael Koch <konqueror@gmx.de>
7559
7560         * Makefile.am (ordinary_java_source_files):
7561         Added java/nio/ReadOnlyBufferException.java and
7562         java/nio/channels/ClosedSelectorException.java.
7563         * Makefile.in: Regenerated.
7564
7565 2002-11-18  Michael Koch <konqueror@gmx.de>
7566
7567         * java/net/PlainSocketImpl.java: Reworked imports.
7568         * java/net/ServerSocket.java
7569         (ServerSocket): Create socket.
7570         * java/net/SocketAddress.java: Documentation added.
7571         * java/net/natPlainSocketImpl.cc: Reindented.
7572         * java/nio/ReadOnlyBufferException.java: New file
7573         * java/nio/channels/ClosedChannelException.java: Documentation added.
7574         * java/nio/channels/ClosedSelectorException.java: New file.
7575
7576 2002-11-17  Mark Wielaard  <mark@klomp.org>
7577
7578         * java/net/HttpURLConnection.java ((getPermission): Take port
7579         into consideration.
7580         (getErrorStream): Implement.
7581
7582 2002-11-17  Mark Wielaard  <mark@klomp.org>
7583
7584         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7585
7586 2002-11-16  Mark Wielaard  <mark@klomp.org>
7587
7588         Integrate work by Raif S. Naffah (raif@fl.net.au)
7589         * java/security/DummyKeyPairGenerator.java (clone): New method.
7590         * java/security/DummyMessageDigest.java (clone): New method.
7591         (engineUpdate): Now public.
7592         (engineReset): Likewise.
7593         (engineDigest): Likewise.
7594         (engineGetDigestLength): New method.
7595         * java/security/DummySignature.java (clone): New method.
7596         * java/security/KeyPairGenerator.java (provider): Now package private.
7597         (getInstance(String)): Use getInstance(String,Provider).
7598         (getInstance(String,String): Use getInstance(String,Provider)
7599         (getInstance(String,Provider): New method.
7600         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7601         * java/security/KeyPairGeneratorSpi.java (clone): New method.
7602         * java/security/MessageDigest.java (provider): Now package private.
7603         (getInstance(String): Use getInstance(String,Provider).
7604         (getInstance(String,String): Use getInstance(String,Provider)
7605         (getInstance(String,Provider): New method.
7606         * java/security/Provider.java (toCanonicalKey): New method.
7607         (get): New method that uses toCanonicalKey().
7608         (put): Use toCanonicalKey().
7609         (remove): Likewise.
7610         * java/security/Security.java (insertProviderAt): Provider index is one
7611         based, not zero based.
7612         (addProvider): Likewise.
7613         (removeProvider): Likewise.
7614         * java/security/Signature.java (provider): Now package private.
7615         (getInstance(String)): Use getInstance(String,Provider).
7616         (getInstance(String,String): Use getInstance(String,Provider)
7617         (getInstance(String,Provider): New method.
7618         (getInstance(String,String,Provider): Don't cast DummySignature.
7619
7620 2002-11-15  Tom Tromey  <tromey@redhat.com>
7621
7622         For PR libgcj/8593:
7623         * java/util/zip/GZIPInputStream.java (read): Check file size.
7624         Look in inflater for remaining input bytes.
7625         (read4): Added buf and offset arguments.
7626
7627 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
7628
7629         * java/applet/AppletContext.java: Fix typo and remove redundant
7630         modifiers.
7631
7632 2002-11-14  Tom Tromey  <tromey@redhat.com>
7633
7634         * java/lang/natRuntime.cc (insertSystemProperties): Set
7635         gnu.classpath.home.
7636
7637 2002-11-13  Michael Koch <konqueror@gmx.de>
7638
7639         * java/nio/ByteBuffer.java
7640         (allocate): New method.
7641         (wrap): New method.
7642         (put): New method.
7643         (get): New method.
7644
7645 2002-11-13  Michael Koch <konqueror@gmx.de>
7646
7647         * java/nio/channels/AlreadyConnectedException.java:
7648         Removed unneeded import.
7649         (AlreadyConnectedException): Documentation added.
7650         * java/nio/channels/Pipe.java
7651         (SinkChannel.SinkChannel): Documentation added.
7652         (SinkChannel.validOps): New method.
7653         (SourceChannel.SourceChannel): Documentation added.
7654         (SourceChannel.validOps): New method.
7655         (Pipe): Documentation added.
7656         (open): Documentation added.
7657         (SinkChannel.channel): Documentation added.
7658         (SourceChannel.channel): Documentation added.
7659         * java/nio/channel/SelectableChannel.java
7660         (SelectableChannel): Documentation added.
7661         (blockingLock): Documentation added.
7662         (configureBlocking):Documentation added.
7663         (isBlocking):Documentation added.
7664         (isRegistered):Documentation added.
7665         (keyFor):Documentation added.
7666         (provider):Documentation added.
7667         (register): Documentation added.
7668         (validOps): Documentation added.
7669         * jaba/nio/channels/SelectionKey.java
7670         (SelectionKey): Documentation added.
7671         (attach): Documentation added.
7672         (attachment): Documentation added.
7673         (isAcceptable): Documentation added.
7674         (isConnetable): Documentation added.
7675         (isReadable): Documentation added.
7676         (isWritable): Documentation added.
7677         (cancel): Documentation added.
7678         (channel): Documentation added.
7679         (interestOps): Documentation added.
7680         (isValid): Documentation added.
7681         (readyOps): Documentation added.
7682         (selector): Documentation added.
7683         * jaba/nio/channels/Selector.java
7684         (Selector): Documentation added.
7685         (open): Documentation added.
7686         (close): Documentation added.
7687         (isOpen): Documentation added.
7688         (keys): Documentation added.
7689         (provider): Documentation added.
7690         (select): Documentation added.
7691         (selectedKeys): Documentation added.
7692         (selectNow): Documentation added.
7693         (wakeup): Documentation added.
7694         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7695         (AbstractInterruptibleChannel): Documentation added.
7696         (opened): Default to true;
7697         (begin): Documentation added.
7698         (close): Set opened to false, documentation added.
7699         (isOpen): Documentation added.
7700         * java/nio/channels/spi/AbstractSelectionKey.java
7701         (AbstractSelectionKey): Documentation added.
7702         (cancel): Documentation added.
7703         (isValid): Documentation added.
7704         * java/nio/channels/spi/AbstractSelector.java
7705         (AbstractSelector): Documentation added.
7706         (begin): Documentation added.
7707         (close): Documentation added.
7708         (isOpen): Documentation added.
7709         (deregister): Documentation added.
7710         (end): Documentation added.
7711         (provider): Documentation added.
7712         (implCloseSelector): Documentation added.
7713         (register): Documentation added.
7714         * java/nio/channels/spi/SelectorProvider.java
7715         (SelectorProvider): Documentation added.
7716         (openDatagramChannel): Documentation added.
7717         (openPipe): Documentation added.
7718         (openSelector): Documentation added.
7719         (openServerSocketChannel): Documentation added.
7720         (openSocketChannel): Documentation added.
7721         (provider): Documentation added.
7722
7723 2002-11-12  Michael Koch <konqueror@gmx.de>
7724
7725         * java/nio/Buffer.java: Implemented.
7726         * java/nio/CharBuffer.java: New file.
7727         * java/nio/InvalidMarkException.java: New file.
7728         * java/nio/channels/DatagramChannel.java: Implemented.
7729         * java/nio/channels/ServerSocketChannel.java: Implemented.
7730         * java/nio/channels/SocketChannel.java: Implemented.
7731         * java/nio/channels/spi/AbstractChannel.java: Removed.
7732         * java/nio/channels/spi/AbstractSelectableChannel.java:
7733         Implemented.
7734         * java/nio/charset/Charset.java:
7735         Merge from Classpath.
7736         * java/nio/charset/CharsetDecoder.java: New file.
7737         * java/nio/charset/CharsetEncoder.java: New file.
7738         * java/nio/charset/CoderResult.java: New file.
7739         * Makefile.am (ordinary_java_source_files): Added new files.
7740         * Makefile.in: Regenerated.
7741
7742 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7743
7744         * gnu/java/nio/charset/ISO_8859_1.java,
7745         gnu/java/nio/charset/Provider.java,
7746         gnu/java/nio/charset/US_ASCII.java,
7747         gnu/java/nio/charset/UTF_16.java,
7748         gnu/java/nio/charset/UTF_16BE.java,
7749         gnu/java/nio/charset/UTF_16Decoder.java,
7750         gnu/java/nio/charset/UTF_16Encoder.java,
7751         gnu/java/nio/charset/UTF_16LE.java,
7752         gnu/java/nio/charset/UTF_8.java: New files.
7753
7754 2002-11-11  Michael Koch <konqueror@gmx.de>
7755
7756         * java/nio/charset/CharacterCodingException.java:
7757         This class must be public.
7758         * java/nio/charset/CoderMalfunctionError.java:
7759         This class must be public.
7760         * java/nio/charset/CodingErrorAction.java:
7761         This class must be public.
7762         * java/nio/charset/IllegalCharsetNameException.java:
7763         This class must be public, better implementation.
7764         * java/nio/charset/MalformedInputException.java:
7765         This class must be public, better implementation.
7766         * java/nio/charset/UnmappableCharacterException.java:
7767         This class must be public, better implementation.
7768         * java/nio/charset/UnsupportedCharsetException.java:
7769         This class must be public, better implementation.
7770
7771 2002-11-11  Michael Koch <konqueror@gmx.de>
7772
7773         * java/nio/BufferOverflowException.java,
7774         java/nio/BufferUnderflowException.java: New file.
7775         * Makefile.am (ordinary_java_source_files):
7776         Added new files.
7777         * Makefile.in: Regenerated.
7778
7779 2002-11-10  Tom Tromey  <tromey@redhat.com>
7780
7781         * java/awt/Container.java (validate): Use tree lock.
7782         (getComponent): Likewise.
7783         (getComponents): Likewise.
7784         (addImpl): Likewise.
7785         (remove): Likewise.
7786         (removeAll): Likewise.
7787         (processEvent): Fixed indentation.
7788         (getComponentAt): Use tree lock.
7789         (findComponentAt): Likewise.
7790         (removeNotify): Likewise.
7791         (isAncestorOf): Likewise.
7792         (list): Likewise.
7793         (visitChildren): Likewise.
7794         (findNextFocusComponent): Likewise.
7795         (addNotifyContainerChildren): Likewise.
7796         (getAccessibleChildrenCount): Likewise.
7797         (getAccessibleChild): Likewise.
7798
7799         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7800         (getSize): Likewise.
7801         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7802         (getSize): Likewise.
7803         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7804         (calcSize): Likewise.
7805         * java/awt/CardLayout.java (getSize): Use tree lock.
7806         (gotoComponent): Likewise.
7807         (layoutContainer): Likewise.
7808
7809         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7810         count is 0.
7811         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7812         count is 0.
7813
7814         * java/io/Externalizable.java, java/io/FilePermission.java,
7815         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7816         java/io/SerializablePermission.java, java/text/Format.java,
7817         java/util/AbstractMap.java, java/util/HashMap.java,
7818         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7819         versions from Classpath.
7820
7821 2002-11-10  Anthony Green  <green@redhat.com>
7822
7823         * java/util/jar/Attributes.java (Name): Fix name check.
7824
7825 2002-11-10  Mark Wielaard  <mark@klomp.org>
7826
7827         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7828         with getName() as message.
7829         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7830         type as message.
7831
7832         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7833         unused.
7834
7835 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7836
7837         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7838         for Win32. JNICALL has been defined to __stdcall to be compatible
7839         with Sun's JDKs.
7840
7841 2002-11-10  Tom Tromey  <tromey@redhat.com>
7842
7843         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7844         (setRows): Check newRows, not rows.
7845
7846         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7847
7848 2002-11-09  Tom Tromey  <tromey@redhat.com>
7849
7850         * java/applet/Applet.java, java/applet/AppletContext.java,
7851         java/applet/AppletStub.java, java/applet/AudioClip.java,
7852         java/awt/CardLayout.java,
7853         java/awt/ContainerOrderFocusTraversalPolicy.java,
7854         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7855         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7856         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7857         java/awt/color/ICC_ColorSpace.java,
7858         java/awt/color/ICC_Profile.java,
7859         java/awt/color/ICC_ProfileGray.java,
7860         java/awt/color/ICC_ProfileRGB.java,
7861         java/awt/datatransfer/DataFlavor.java,
7862         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7863         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7864         New versions from Classpath.
7865         * Makefile.in: Rebuilt.
7866         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7867         ICC_ProfileRGB.
7868
7869         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7870         display policy.
7871
7872         * java/awt/List.java (processEvent): Added missing `else's.
7873
7874         * java/awt/Window.java (show): validate() before showing.  Make
7875         parent displayable.
7876         (isDisplayable): New method.
7877
7878 2002-11-07  Mark Wielaard  <mark@klomp.org>
7879
7880         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7881         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7882
7883         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7884         annotation.
7885         (loadClass): Take String as codebases.
7886         (getClassAnnotation): Use MyClassLoader annotations.
7887         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7888         call exportObject(this).
7889
7890         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7891         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7892         (setAnnotation): Don't set locBytesStream and locStream.
7893         (replaceObject): Removed.
7894         (flush): Don't test locStream.
7895         (getLocBytes): LikeWise.
7896         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7897         (leaseCache): New field.
7898         (dirty): Use leaseCache.
7899         (LeaseRecord): New inner class.
7900         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7901         explicitly call exportObject().
7902         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7903         false to communicate with Sun JDK130.
7904         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7905         * gnu/java/rmi/server/RMIObjectInputStream.java
7906         (UnicastConnectionManager): Removed field.
7907         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7908         Use UnicastServer.getExportedRef().
7909         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7910         (expireTime): Likewise.
7911         (CONNECTION_TIMEOUT): Likewise.
7912         (disconnect): Call sock.close().
7913         (isExpired): New method.
7914         (resetTime): Likewise.
7915         (run): Use do while loop and catch Exception for discardConnection().
7916         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7917         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7918         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7919         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7920         (exportObject): Use refcache.
7921         (unexportObject): Likewise.
7922         (getExportedRef): New method.
7923         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7924         constructor.
7925         (exportObject): Save manager.serverobj.
7926         (getStub): New method.
7927
7928 2002-11-07  Mark Wielaard  <mark@klomp.org>
7929
7930         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7931         (getByte): Likewise.
7932         (getShort): Likewise.
7933         (getInt): Likewise.
7934         (getLong): Likewise.
7935         (getFloat): Likewise.
7936         (getDouble): Likewise.
7937         (get): Likewise.
7938         (setChar): Likewise.
7939         (setByte): Likewise.
7940         (setShort): Likewise.
7941         (setInt): Likewise.
7942         (setLong): Likewise.
7943         (setFloat): Likewise.
7944         (setDouble): Likewise.
7945
7946 2002-11-07  Michael Koch <konqueror@gmx.de>
7947
7948         * java/awt/Choice.java,
7949         java/awt/Container.java,
7950         java/awt/GridBagLayout.java:
7951         Fixed documentation.
7952         * java/awt/peer/ContainerPeer.java:
7953         Reindented.
7954
7955 2002-11-07  Michael Koch <konqueror@gmx.de>
7956
7957         * java/awt/color/ICC_Profile.java:
7958         Added missing constants.
7959         * java/awt/color/ICC_ColorSpace.java
7960         (getMinValue): Added dummy implementation.
7961         (getMaxValue): Added dummy implementation.
7962         * java/awt/datatransfer/DataFlavor.java
7963         (imageFlavor): Added.
7964         (isMimeTypeEqual): Must be final.
7965         (getDefaultRepresentationClass): Must be non-static.
7966         (getDefaultRepresentationClassAsString): Must be non-static.
7967         * java/awt/dnd/DragSourceContext.java
7968         (dragExit): Corrected argument.
7969         (dragDropEnd): Corrected argument.
7970         * java/awt/dnd/DragSourceListener.java.java
7971         (dragExit): Corrected argument.
7972         (dragDropEnd): Corrected argument.
7973         * java/awt/font/TextHitInfo.java
7974         (toString): Added stubbed implementation.
7975         * java/awt/geom/PathIterator.java:
7976         The constants must be static.
7977         * java/awt/image/VolatileImage.java
7978         (IMAGE_INCOMPATIBLE): Fixed typo.
7979         * java/awt/image/renderable/RenderableImage.java
7980         (HINTS_OBSERVED): Must be static.
7981         * java/beans/BeanInfo.java:
7982         Constants must be final.
7983
7984 2002-11-06  Tom Tromey  <tromey@redhat.com>
7985
7986         From svens@it.uu.se.  For PR libgcj/8481.
7987         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7988
7989 2002-11-06  Tom Tromey  <tromey@redhat.com>
7990
7991         * jni.cc (array_from_valist): Assume that jlong won't be
7992         promoted.
7993
7994 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7995
7996         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7997         Return 20.
7998         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7999         Return 16.
8000
8001 2002-11-03  Tom Tromey  <tromey@redhat.com>
8002
8003         * java/lang/ClassLoader.java (loadClass): Call loadClass on
8004         VMClassLoader, not findClass.
8005
8006 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
8007
8008         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8009         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8010         _Jv_DetermineVTableIndex, to determine vtable offset.
8011         (_Jv_DetermineVTableIndex): Remove.
8012         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
8013
8014         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8015
8016 2002-11-03  Tom Tromey  <tromey@redhat.com>
8017
8018         * java/nio/channels/AlreadyConnectedException.java: Extend
8019         IllegalStateException, per spec.
8020
8021 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
8022
8023         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8024
8025 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8026
8027         * java/util/ArrayList.java (readObject, writeObject): Only read/write
8028         size items.
8029
8030 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8031
8032         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8033         initial estimated size to avoid enlarge buffer frequently.
8034
8035 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
8036
8037         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8038         ClassLoader when null.
8039         (ProxyType.hashCode): Loader null check no longer needed.
8040         (ProxyType.sameTypes): New method.
8041         (ProxyType.equals): Use new method.
8042
8043 2002-10-31  Mark Wielaard  <mark@klomp.org>
8044
8045         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8046         length of String.
8047         * java/net/URLEncoder.java (encode): Likewise.
8048
8049 2002-10-31  Mark Wielaard  <mark@klomp.org>
8050
8051         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8052         when stream is closed.
8053         (closeEntry): Likewise.
8054         (read): Likewise.
8055         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8056         ZipException when no entry active.
8057         (closeEntry): Likewise.
8058         (write): Likewise.
8059
8060 2002-11-02  Tom Tromey  <tromey@redhat.com>
8061
8062         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8063         * java/lang/natClass.cc (initializeClass): Don't return just
8064         because self==thread.
8065
8066         For PR java/8415:
8067         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8068         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8069
8070 2002-11-02  Andreas Schwab  <schwab@suse.de>
8071
8072         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8073         pass GCJFLAGS.
8074         (FLAGS_TO_PASS): Define.
8075         * Makefile.in: Regenerated.
8076
8077 2002-11-01  Michael Koch  <konqueror@gmx.de>
8078
8079         * java/nio/ByteOrder.java: New file.
8080         * java/nio/channels/DatagramChannel.java:
8081         (DatagramChannel): New constructor.
8082         * java/nio/channels/Pipe.java: New file.
8083         * java/nio/channels/SelectableChannel.java: New file.
8084         * java/nio/channels/SelectionKey.java: New file.
8085         * java/nio/channels/Selector.java: New file.
8086         * java/nio/channels/ServerSocketChannel.java
8087         (ServerSocketChannel): New constructor.
8088         * java/nio/channels/SocketChannel.java
8089         (SocketChannel): New constructor.
8090         * java/nio/channels/Pipe.java: New file.
8091         * java/nio/channels/spi/AbstractChannel.java: New file.
8092         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8093         * java/nio/channels/spi/AbstractSelectableChannel.java:
8094         License added
8095         (AbstractSelectableChannel): New stubbed method.
8096         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8097         * java/nio/channels/spi/AbstractSelector.java: New file.
8098         * java/nio/channels/spi/SelectorProvider.java: New file.
8099         * java/nio/charset/Charset.java: New file.
8100         * java/nio/charset/CoderMalfunctionError.java: New file.
8101         * java/nio/charset/CodingErrorAction.java: New file.
8102         * java/nio/charset/spi/CharsetProvider.java
8103         (charsetForName): Uncommented.
8104         * Makefile.am (java_native_source_files): Added new files.
8105         * Makefile.in: Regenerated.
8106
8107 2002-11-01  Michael Koch  <konqueror@gmx.de>
8108
8109         * java/net/InetAddress.java:
8110         (isAnyLocalAddress): Implemented.
8111         (isLoopbackAddress): Implemented, comment added.
8112         (isLinkLocalAddress): Implemented, documentation added.
8113         (isSiteLocalAddress): Implemented, documentation added.
8114         (isMCGlobal): Implemented, documentation added.
8115         (isMCNodeLocal): Implemented, documentation added.
8116         (isMCLinkLocal): Implemented, documentation added.
8117         (isMCSiteLocal): Implemented, documentation added.
8118         (isMCOrgLocal): Implemented, documentation added.
8119         (getHostName): Documentation added.
8120         (getCanonicalHostName): Implemented, documentation added.
8121         (getAddress): Documentation added.
8122         (hashCode): Documentation added.
8123         (equals): Documentation added.
8124         (toString): Fixed implementation.
8125         (getByAddress): Use Inet4Address and Inet6Address.
8126         (lookup): New linewrap.
8127         (getByName): SecurityManager check added, support Inet4Address and
8128         Inet6address, comments added.
8129         (getAllByName): SecurityManager check added, comments added.
8130         * java/net/Inet6Address.java:
8131         (Inet6Address): Initialize parent class with addr instead of null.
8132         * java/net/URL.java
8133         (equals): Documentation added.
8134         (getFile): Documentation added.
8135         (hashCode): Documentation added.
8136         * java/net/natInetAddress.cc:
8137         (aton): Fix IPv6 support.
8138         * java/net/natPlainDatagramSocketImpl.cc:
8139         (peek): Throw PortUnreachableException when suitable.
8140         (peekData): Throw PortUnreachableException when suitable.
8141         (send): Throw PortUnreachableException when suitable.
8142         (receive): Throw PortUnreachableException when suitable.
8143
8144 2002-10-27  Mark Wielaard  <mark@klomp.org>
8145
8146         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8147         argument.
8148         (readLeShort): Likewise and use byte[].
8149         (readLeInt): Likewise.
8150         (readEntries): Use new versions of methods and use byte[] for reading
8151         a complete zip entry. Add ZipFile name to exceptions.
8152         (entries): Add ZipFile name to exceptions.
8153         (getEntry): Likewise.
8154         (checkLocalHeader): Use new versions of methods and add ZipFile name
8155         to exceptions.
8156
8157 2002-10-31  Mark Anderson  <mark@panonet.net>
8158
8159         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8160         added
8161
8162 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
8163
8164         * configure.in: Disable hash sync when not using threads.
8165         * configure: Regenerated.
8166
8167 2002-10-24  Tom Tromey  <tromey@redhat.com>
8168
8169         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8170         (_Jv_FindSymbolInExecutable): Removed argument name.
8171         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8172         java.library.path is set.
8173
8174         * gij.cc (help): Document --showversion.
8175         (version): Don't exit.
8176         (main): Handle --showversion.  Exit if --version given.
8177
8178 2002-10-23  Tom Tromey  <tromey@redhat.com>
8179
8180         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8181         (array_from_valist): Correctly handle promotion for jint, jlong,
8182         jfloat, and jdouble.
8183
8184 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
8185
8186         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8187         GetFileAttributesEx( ) to find file length and modification times,
8188         as the latter is not present on Windows 95.
8189
8190 2002-10-21  Michael Koch  <konqueror@gmx.de>
8191
8192         * java/net/URL.java
8193         (URL): Activate SecurityManager checks.
8194         (equals): Use URLStreamHandler implementation instead of doing it
8195         alone. This allows special protocol stream handlers to change default
8196         behaviour.
8197         (hashCode): Use URLStreamHandler implementation instead of doing it
8198         alone. This allows special protocol stream handlers to change default
8199         behaviour.
8200         * java/net/URLStreamHandler.java
8201         (equals): Implemented default URL equality check.
8202         (hostsEqual): Implemented default URL equality check.
8203         (hashCode): Implemented default URL hashCode algorithm.
8204         * java/net/natPlainDatagramSocketImpl.cc:
8205         No lines longer then 80 characters.
8206
8207 2002-10-20  Adam Megacz <adam@xwt.org>
8208
8209         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8210         * configure.in: enabled hash sync on Win32
8211         * include/win32-threads.h (_Jv_ThreadId_t): added.
8212         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8213         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8214         removed some posix-isms, use Thread::sleep() instead of usleep,
8215         added code to clear bottom three bits if platform has a broken
8216         linker.
8217         * include/win32-threads.h (_Jv_ThreadId_t): added.
8218
8219 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
8220
8221         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8222         runtime property "gnu.gcj.progname" containing the name used to
8223         invoke the current Java program (similar to argv[0] for C
8224         programs).
8225
8226 2002-10-15  Tom Tromey  <tromey@redhat.com>
8227
8228         Fix for PR libgcj/8234:
8229         * java/util/zip/natInflater.cc (reset): Reset avail_in.
8230         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8231
8232 2002-10-13  Mark Wielaard  <mark@klomp.org>
8233
8234         * mauve-libgcj: Enable Mauve tests that compile now.
8235
8236 2002-10-11  Mark Wielaard  <mark@klomp.org>
8237
8238         Fix for PR libgcj/8142
8239         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8240         loading native modules.
8241
8242 2002-10-10  Michael Koch  <konqueror@gmx.de>
8243
8244         * javax/swing/AbstractListModel.java
8245         (getListDataListeners): New stubbed method.
8246         javax/swing/DefaultBoundedRangeModel.java
8247         (getChangeListeners): New stubbed method.
8248         javax/swing/DefaultSingleSelectionModel.java
8249         (getChangeListeners): New stubbed method.
8250
8251 2002-10-10  Michael Koch  <konqueror@gmx.de>
8252
8253         * gcj/.cvsignore: New file to ignore files generated during build.
8254         * include/.cvsignore: New file to ignore files generated during build.
8255
8256 2002-10-10  Michael Koch  <konqueror@gmx.de>
8257
8258         * java/net/HttpURLConnection.java
8259         (getPermission): New method.
8260         (getErrorStream): New stub method.
8261         (getHeaderFieldDate): New stub method.
8262         * java/net/Inet4Address.java:
8263         (isLinkLocalAddress): Typo fixed.
8264         * java/net/InetAddress.java:
8265         (readResolve): New stubbed method (for serialization).
8266         (isAnyLocalAddress): New stubbed method.
8267         (isLoopbackAddress): New stubbed method.
8268         (isLinkLocalAddress): New stubbed method.
8269         (isSiteLocalAddress): New stubbed method.
8270         (isMCGlobal): New stubbed method.
8271         (isMCNodeGlobal): New stubbed method.
8272         (isMCLinkLocal): New stubbed method.
8273         (isMCSiteLocal): New stubbed method.
8274         (isMCOrgLocal): New stubbed method.
8275         (getCanonicalHostName): New stubbed method.
8276         (getByAddress): Create instances of Inet4Address/Inet6Address,
8277         instead of InetAddress, documentation added.
8278         * java/net/MulticastSocket.java
8279         (getInterface): Removed FIXME.
8280         (getNetworkInterface): New method.
8281         (setNetworkInterface): New method.
8282         * java/net/NetworkInterface.java:
8283         (toString): Use property "line.separator" instead of "\n".
8284         * java/net/URLConnection.java
8285         (getContent): New stubbed method.
8286         * java/net/URLStreamHandler.java:
8287         (equals): New stubbed method.
8288         (hostsEqual): New stubbed method.
8289         (hashCode): New stubbed method.
8290         * java/net/natNetworkInterface.cc:
8291         (getRealNetworkInterfaces): Create Inet4Address object
8292         instead of InetAddress.
8293
8294 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8295
8296         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8297         unsigned long temporary to implement insn_iushr shifts.
8298
8299 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8300
8301         * configure.host [s390*-*]: Enable Java interpreter.
8302         Enable hash synchronization.  Add sysdeps dir.
8303         * sysdep/s390/locks.h: New file.
8304
8305 2002-10-06  Mark Wielaard  <mark@klomp.org>
8306
8307         * java/lang/Thread.java (setDaemon): Check startable_flag,
8308         not isAlive().
8309
8310 2002-10-07  Michael Koch  <konqueror@gmx.de>
8311
8312         * java/nio/Buffer.java: New stub file.
8313         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8314         of class Charset.
8315         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8316         * Makefile.in: Regenerated.
8317
8318 2002-10-07  Michael Koch  <konqueror@gmx.de>
8319
8320         * java/nio/ByteBuffer.java:
8321         removed import of not commited class.
8322
8323 2002-10-07  Michael Koch  <konqueror@gmx.de>
8324
8325         * java/nio/ByteBuffer.java,
8326         java/nio/MappedByteBuffer.java:
8327         New files, forgot to add these dummies.
8328         * Makefile.am (java_native_source_files): Added new files.
8329         * Makefile.in: Regenerated.
8330
8331 2002-10-07  Michael Koch  <konqueror@gmx.de>
8332
8333         * java/nio/channels/AlreadyConnectedException.java,
8334         java/nio/channels/ClosedChannelException.java,
8335         java/nio/channels/ReadableByteChannel.java,
8336         java/nio/channels/InterruptibleChannel.java,
8337         java/nio/channels/Channel.java,
8338         java/nio/channels/ByteChannel.java,
8339         java/nio/channels/GatheringByteChannel.java,
8340         java/nio/channels/ScatteringByteChannel.java,
8341         java/nio/channels/WritableByteChannel.java,
8342         java/nio/charset/CharacterCodingException.java,
8343         java/nio/charset/IllegalCharsetNameException.java,
8344         java/nio/charset/MalformedInputException.java,
8345         java/nio/charset/UnmappableCharacterException.java,
8346         java/nio/charset/UnsupportedCharsetException.java,
8347         java/nio/charset/spi/CharsetProvider.java: New file.
8348         These files are exceptions or interfaces,
8349         no real or abstract classes.
8350         * Makefile.am (java_native_source_files): Added new files.
8351         * Makefile.in: Regenerated.
8352
8353 2002-10-05  Michael Koch  <konqueror@gmx.de>
8354
8355         * java/net/InetAddress.java
8356         (getByAddress): Fixed documentation.
8357         (getByAddress): New method.
8358         * java/net/Inet4Address.java: New file.
8359         * java/net/URL.java
8360         (URL): Documentation added.
8361         (getContent): Documentation added.
8362         (getContent): New stubbed method.
8363         (getQuery): New method.
8364         (openConnection): Documentation added.
8365         (openStream): Documentation added.
8366         (setURLStreamHandlerFactory): Documentation added.
8367         * java/net/URI.java: New stub file.
8368         * Makefile.am
8369         (java_native_source_files): Added java/net/Inet4Address.java,
8370         java/net/Inet6Address.java and java/net/URI.java.
8371         * Makefile.in: Regenerated.
8372
8373 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8374
8375         * java/lang/ProtectionDomain.java (linesep): Remove field.
8376         (toString): Use System.getProperty("line.separator").
8377
8378 2002-10-04  Michael Koch  <konqueror@gmx.de>
8379
8380         * java/security/Identity.java: Added serialVersionUID.
8381         * java/security/KeyPair.java: Added serialVersionUID.
8382         * java/security/Provider.java: Added serialVersionUID.
8383         * java/security/SecureRandom.java: Added serialVersionUID.
8384         * java/security/SecureRandomSpi.java: Added serialVersionUID.
8385         * java/security/SignedObject.java: Added serialVersionUID.
8386         * java/security/cert/Certificate.java: Added serialVersionUID.
8387
8388 2002-10-04  Mark Wielaard <mark@klomp.org>
8389
8390         * java/security/Security.java: Use java.home or gnu.classpath.home
8391         to load providers.
8392         (loadProviders): Extra dir argument.
8393         (getProvider): Return null when not found.
8394
8395 2002-10-04  Mark Wielaard  <mark@klomp.org>
8396
8397         * java/lang/Throwable.java: Remerge with Classpath.
8398
8399 2002-10-04  Michael Koch  <konqueror@gmx.de>
8400
8401         * java/net/InetAddress.java:
8402         (isMulticastAddress): Added documentation.
8403         (getHostAddress): Added documentation.
8404         (toString): Added documentation.
8405         (getByAddress): Fixed documentation.
8406         (getByName): Added documentation.
8407         (getAllByName): Added documentation.
8408         (getLocalHost): Added documentation.
8409
8410 2002-10-04  Michael Koch  <konqueror@gmx.de>
8411
8412         * java/beans/beancontext/BeanContextChildSupport.java:
8413         Added serialVersionUID.
8414         * java/text/Collator.java: (compare): Made documentation HTML-aware.
8415         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8416         * javax/naming/Name.java: Added serialVersionUID.
8417
8418 2002-10-03  Adam Megacz <adam@xwt.org>
8419
8420         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8421         some functionality that isn't supported yet on WIN32.
8422
8423 2002-10-03  Tom Tromey  <tromey@redhat.com>
8424
8425         * Makefile.in: Rebuilt.
8426         * Makefile.am (awt_java_source_files): Added new files.
8427
8428 2002-10-03  Michael Koch  <konqueror@gmx.de>
8429
8430         * java/net/InetAddress.java
8431         (class InetAddress): Removed final keyword.
8432         (equals): Fixed typo.
8433         (getByAddress): New method.
8434
8435 2002-10-03  Michael Koch  <konqueror@gmx.de>
8436
8437         * java/awt/dnd/Autoscroll.java:
8438         New file, merge from Classpath.
8439         * java/awt/dnd/DragSourceAdapter.java:
8440         (dragExit): Fixed typos in argument type.
8441         (dragDropEnd): Fixed typos in argument type.
8442         * java/awt/dnd/DragSourceDropEvent.java:
8443         New file, merge from Classpath.
8444         * java/awt/dnd/DropTarget.java:
8445         Added stubs, merge from Classpath.
8446         * java/awt/dnd/DropTargetAdapter.java:
8447         New file, merge from Classpath.
8448         * java/awt/dnd/DropTargetContext.java:
8449         New file, merge from Classpath.
8450         * java/awt/dnd/DropTargetDragEvent.java:
8451         New file, merge from Classpath.
8452         * java/awt/dnd/DropTargetDropEvent.java:
8453         New file, merge from Classpath.
8454         * java/awt/dnd/DropTargetEvent.java:
8455         New file, merge from Classpath.
8456         * java/awt/dnd/DropTargetListener.java:
8457         New file, merge from Classpath.
8458         * java/awt/dnd/MouseDragGestureRecognizer.java:
8459         New file, merge from Classpath.
8460         * java/awt/dnd/peer/DropTargetContextPeer.java:
8461         New file, merge from Classpath.
8462
8463 2002-10-03  Michael Koch  <konqueror@gmx.de>
8464
8465         * java/net/DatagramPacket.java
8466         (setLength): Fixed typo and be HTML-aware.
8467         * java/net/InetSocketAddress.java
8468         (InetSocketAddress): Correct initialization of hostname, fixed typo.
8469         (equals): Added comment about equality of InetSocketAddress objects.
8470         * java/net/ServerSocket.java
8471         (accept): Added checks.
8472         (isClosed): New stubbed method.
8473         * java/net/SocketOptions.java: Reindention.
8474         * java/net/SocketPermission
8475         (SocketPermission): Documentation fixed.
8476
8477 2002-10-03  Michael Koch  <konqueror@gmx.de>
8478
8479         * java/net/DatagramSocket.java
8480         (receive): Check with SecurityManager AFTER the packet is received,
8481         check if connected to multicast address, documentation added.
8482         (send): Only check SecurityManager if connected, check address of
8483         packet to send.
8484         (connect): Implemented, documentation added.
8485         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8486         * java/net/InetSocketAddress.java
8487         (whole file): Reindented.
8488         (hostname): New attribute.
8489         (InetSocketAddress): Initialize new attribute.
8490         (getAddress): Documentation added.
8491         (getHostName): Documentation added.
8492         (getPort): Documentation added.
8493         (hashCode): Documentation added.
8494         (isUnresolved): Documentation added.
8495         (toString): Conform to output of JDK 1.4.1, documentation added.
8496         * java/net/MulticastSocket.java
8497         (joinGroup): Removed FIXME, documentation added.
8498         (leaveGroup): Removed FIXME, documentation added.
8499         (send): Documentation added.
8500         * java/net/Socket.java
8501         (inputShutdown): New variable.
8502         (outputShutdown): New variable.
8503         (Socket): Initialize new variables.
8504         (getRemoteSocketAddress): Check if connected.
8505         (shutdownInput): Set new variable.
8506         (shutdownOutput): Set new variable.
8507         (isConnected): New method.
8508         (isClosed): New method.
8509         (isInputShutdown): New method.
8510         (isOutputShutdown): New method.
8511         * java/net/URLStreamHandler.java
8512         (URLStreamHandler): New method.
8513         (openConnection): Added documentation.
8514         (parseURL): Added documentation.
8515         (getHostAddress): New method.
8516         (getDefaultPort): New method.
8517
8518 2002-10-02  Tom Tromey  <tromey@redhat.com>
8519
8520         * java/rmi/activation/ActivationDesc.java,
8521         java/rmi/activation/ActivationGroupDesc.java,
8522         java/rmi/activation/ActivationGroupID.java,
8523         java/rmi/activation/ActivationID.java: New versions from
8524         Classpath.
8525
8526 2002-09-30  Bo Thorsen  <bo@suse.de>
8527
8528         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8529
8530 2002-09-30  Tom Tromey  <tromey@redhat.com>
8531
8532         * java/io/ObjectInputStream.java (resolveProxyClass): New method
8533         from Classpath.
8534         * Makefile.in: Rebuilt.
8535         * Makefile.am (rmi_java_source_files): Added new files.
8536         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8537         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8538         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8539         Classpath.
8540         * gnu/java/rmi/dgc/DGCImpl.java,
8541         gnu/java/rmi/dgc/DGCImpl_Skel.java,
8542         gnu/java/rmi/dgc/DGCImpl_Stub.java,
8543         gnu/java/rmi/registry/RegistryImpl_Skel.java,
8544         gnu/java/rmi/registry/RegistryImpl_Stub.java,
8545         gnu/java/rmi/server/RMIHashes.java,
8546         gnu/java/rmi/server/RMIObjectInputStream.java,
8547         gnu/java/rmi/server/RMIObjectOutputStream.java,
8548         gnu/java/rmi/server/UnicastConnection.java,
8549         gnu/java/rmi/server/UnicastConnectionManager.java,
8550         gnu/java/rmi/server/UnicastRef.java,
8551         gnu/java/rmi/server/UnicastServer.java,
8552         gnu/java/rmi/server/UnicastServerRef.java,
8553         java/rmi/MarshalledObject.java,
8554         java/rmi/server/RMIClassLoader.java,
8555         java/rmi/server/RemoteObject.java,
8556         java/rmi/server/UnicastRemoteObject.java,
8557         java/security/SecureClassLoader.java: Merged from Classpath.
8558
8559 2002-09-29  Anthony Green  <green@redhat.com>
8560
8561         * java/lang/reflect/UndeclaredThrowableException.java: New file.
8562         Imported from GNU Classpath.
8563         * java/lang/reflect/natProxy.cc: New file.
8564         * java/lang/reflect/InvocationHandler.java: New file.  Imported
8565         from GNU Classpath.
8566         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
8567         Classpath.
8568         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8569         Classpath.
8570         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8571         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8572         New statics.
8573         * gcj/javaprims.h ("Java"): Add new classes.
8574         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8575         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8576         java/lang/reflect/Proxy$$ProxyType.h): And this.
8577         (inner_nat_headers): Add these new headers.
8578         (ordinary_java_source_files): Add new files.
8579         (nat_source_files): Add new file.
8580         * Makefile.in: Rebuilt.
8581
8582 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
8583
8584         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8585         a single configuration.
8586
8587 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8588
8589         * java/util/TimeZone.java (getDSTSavings): New method.
8590         Fixes PR libgcj/7786.
8591
8592 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8593
8594         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8595         to see if `the_method == 0' before looking up vtable index.
8596         Fixes PR libgcj/7709.
8597
8598 2002-09-25  Tom Tromey  <tromey@redhat.com>
8599
8600         * java/lang/natClassLoader.cc:
8601         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8602         * resolve.cc: Include NoClassDefFoundError.h, not
8603         ClassNotFoundException.h.
8604         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8605
8606         * defineclass.cc: Don't include ClassNotFoundException.h.
8607
8608         * resolve.cc: Include StringBuffer.
8609         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8610
8611         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8612         allocated but not initialized.
8613
8614 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8615
8616         Fix for PR libgcj/7766:
8617         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8618         (getNextEntry): Set it.
8619         (closeEntry): Likewise.
8620         (read): Likewise.
8621         (close): Likewise.
8622         (available): Use it.
8623
8624 2002-09-25  Michael Koch  <konqueror@gmx.de>
8625
8626         * java/net/DatagramSocket.java
8627         (DatagramSocket): Initialize new instance variables.
8628         (close): Reset new instance variables.
8629         (getLocalAddress): Remove unneeded SecurityManager usage.
8630         (getLocalPort): Check if socket is already bound.
8631         (isConnected): New method.
8632         (getInetAddress): Implemented.
8633         (getPort): Better Implementation, documentation fixed.
8634         (getRemoteSocketAddress): New method.
8635         * java/net/JarURLConnection.java
8636         (element): Typo fixed.
8637         (getMainAttributes): New method.
8638         (getAttributes): New method (stub only).
8639         (getManifest): New method (stub only).
8640         * java/net/NetPermission.java: Added serialVersionsUID.
8641         * java/net/Socket.java
8642         (connect): Check blocking mode of associated channel,
8643         documentation added.
8644         (getLocalSocketAddress): Better implementation.
8645         (getRemoteSocketAddress): Implemented.
8646         (isBound): New method.
8647         (setSendBufferSize): Documentation added.
8648         * java/net/SocketAddress.java: Added serialVersionsUID.
8649         * java/net/SocketPermission.java: Added serialVersionsUID.
8650         * java/net/URL.java
8651         (URL): Wrap for shorter lines, initialize new instance variables,
8652         documentation added.
8653         (equals): Check new instance variables too.
8654         (getContent): Documentation added.
8655         (getPath): Documentation added.
8656         (getAuthority): New method.
8657         (getHost): Documentation added.
8658         (getPort): Documentation added.
8659         (getDefaultPort): New method.
8660         (getProtocol): Documentation added.
8661         (getUserInfo): Documentation added.
8662         (set): Initialize new instance variables, documentation added.
8663         * java/net/URLStreamHandler.java
8664         (setURL): New method.
8665         * java/net/natPlainDatagramSocketImpl.cc
8666         (connect): Fix exception name.
8667         (disconnect): Fix exception name.
8668
8669 2002-09-25  Michael Koch  <konqueror@gmx.de>
8670
8671         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8672         * java/nio/channels/DatagramChannel.java:
8673         extends AbstractSelectableChannel
8674         * java/nio/channels/ServerSocketChannel.java:
8675         extends AbstractSelectableChannel
8676         * java/nio/channels/SocketChannel.java:
8677         extends AbstractSelectableChannel
8678         * Makefile.am (ordinary_java_source_files):
8679         java/nio/channels/spi/AbstractSelectableChannel.java added.
8680         * Makefile.in: Regenerated.
8681
8682 2002-09-25  Michael Koch  <konqueror@gmx.de>
8683
8684         * java/net/DatagramSocket.java
8685         (DatagramSocket): Exception documentation added.
8686         (bind): Exception documentation added, addded SecurityManager check,
8687         added SocketAddress type check.
8688         (getSoTimeout): Check impl.
8689         (receive): Fix SecurityManager check, check impl, documentation added.
8690         (send): Check channel mode, documentation added.
8691         (connect): New method.
8692         (disconnect): Implemented.
8693         (getLocalSocketAddress): New method.
8694         (getReceiveBufferSize): Check impl.
8695         (setReuseAddress): Check impl.
8696         (getReuseAddress): Check impl.
8697         (setBroadcast): Check impl.
8698         (getBroadcast): Check impl.
8699         (setTrafficClass): Check impl, Documentation cleared.
8700         (getTrafficClass): Check impl.
8701         (getSendBufferSize): Check impl.
8702         (setReceiveBufferSize): Check impl, documentation added.
8703         (setSendBufferSize): Documentation added.
8704         (setDatagramSocketImplFactory): New method.
8705         * java/net/HttpURLConnection.java
8706         (HTTP_INTERNAL_ERROR): The correct code is 500.
8707         (HTTP_NOT_IMPLEMENTED): Added new constant.
8708         (setFollowRedirects): Documentation added.
8709         (getInstanceFollowRedirects): New method.
8710         (setInstanceFollowRedirects): New method.
8711         (setRequestMethod): Documentation added.
8712         (getResponseCode): Documentation added.
8713         (getResponseMessage): Documentation added.
8714         * java/net/JarURLConnection.java
8715         (JarURLConnection): protected since JDK 1.4.
8716         (getJarEntry): java.io.IOException to IOException, documentation added.
8717         (getJarFile): Documentation added.
8718         * java/net/ServerSocket.java
8719         (ServerSocket): Private to public, exception added.
8720         (ServerSocket): java.io.IOException to IOException, documentation added.
8721         (bind): Check socket address type, documentation added.
8722         (bind): java.io.IOException to IOException, documentation added.
8723         (accept): Documentation added.
8724         (implAccept): Check ch is not non-blocking, documentation added.
8725         (setSoTimeout): Documentation fixed.
8726         (setReceiveBufferSize): Documentation added.
8727         * java/net/Socket.java
8728         (Socket): Documentation added.
8729         (bind): Documentation added.
8730         (connect): Check socket address type, documentation added.
8731         (getRemoteSocketAddress): New method.
8732         (getLocalSocketAddress): New method.
8733         (setSoLinger): Documentation added.
8734         (getReuseAddress): New method.
8735         (setReuseAddress): New method.
8736         (getTrafficClass): New method.
8737         (setTrafficClass): New method.
8738         * java/net/URLStreamHandler.java
8739         (openConnection): java.io.IOException to IOException.
8740         (parseURL): Documentation added.
8741         (sameFile): public to protected, documentation added.
8742         (setURL): Documentation added.
8743         * java/nio/IllegalBlockingModeException.java: New file.
8744         * Makefile.am (ordinary_java_source_files):
8745         added java/nio/IllegalBlockingModeException.java
8746         * Makefile.in: Regenerated.
8747
8748 2002-09-25  Michael Koch  <konqueror@gmx.de>
8749
8750         * java/net/DatagramPacket
8751         (DatagramPacket): Exception documentation added.
8752         (setData): Likewise.
8753         (setSocketAddress): Likewise.
8754         * java/net/DatagramSocketImpl.java
8755         (peek): Documentation addded.
8756         (peekData): Documentation addded.
8757         (send): Documentation addded.
8758         (receive): Documentation addded.
8759         (connect): New method.
8760         (disconnect): New method.
8761         (joinGroup): New abstract method.
8762         (leaveGroup): New abstract method.
8763         * java/net/InetSocketAddress.java
8764         (InetSocketAddress): Documentation added.
8765         (equals): final keyword added.
8766         (getAddress): final keyword added.
8767         (getHostName): final keyword added.
8768         (getPort): final keyword added.
8769         (hashCode): final keyword added.
8770         (isUnresolved): final keyword added.
8771         * java/net/MulticastSocket.java
8772         (MulticastSocket): Documentation added.
8773         (MulticastSocket): New method.
8774         (joinGroup): Documentation added.
8775         (joinGroup): New method.
8776         (leaveGroup): Documentation added.
8777         (leaveGroup): New method.
8778         (send): Documentation added.
8779         * java/net/NetworkInterface.java
8780         (getByName): Documentation added.
8781         (getByInetAddress): Documentation added.
8782         (getNetworkInterfaces): Documentation added.
8783         * java/net/PlainDatagramSocketImpl.java
8784         (connect): New method.
8785         (disconnect): New method.
8786         * java/net/SocketImpl.java
8787         (create): Documentation added.
8788         (shutdownInput): Convert public to protected, as it always was.
8789         (shutdownOutput): Convert public to protected, as it always was.
8790         * java/net/SocketOptions.java
8791         (whole file): Reintented.
8792         * java/net/URLClassLoader.java
8793         (URLClassLoader): SecurityManager check added, documentation added.
8794         (findResources): Documentation added.
8795         (findClass): Documentation added.
8796         (newInstance): More correct method arguments.
8797         * java/net/URLConnection.java
8798         (connect): Documentation added.
8799         (getContent): Documentation added.
8800         (getPermission): Documentation added.
8801         (getInputStream): Documentation added.
8802         (getOutputStream): Documentation added.
8803         (setDoInput): Throw correct exception, documentation added.
8804         (setDoOutput): Throw correct exception, documentation added.
8805         (setAllowUserInteraction): Throw correct exception, documentation added.
8806         (setUseCaches): Throw correct exception, documentation added.
8807         (setIfModifiedSince): Throw correct exception, documentation added.
8808         (setRequestProperty): Throw exception, documentation added.
8809         (addRequestProperty): Throw exception, documentation added.
8810         (getRequestProperty): Throw exception, documentation added.
8811         (getRequestProperties): Documentation added.
8812         (setContentHandlerFactory): Documentation added.
8813         (guessContentTypeFromName): protected to public.
8814         (setFileNameMap): Documentation added.
8815         * java/net/URLDecoder.java
8816         (URLDecoder): New method.
8817         (decode): Documentation added.
8818         (whole file): Reindented.
8819         * java/net/URLEncoder.java
8820         (encode): Documentation added.
8821         * java/net/natPlainDatagramSocketImpl.cc
8822         (connect): New method.
8823         (disconnect): New method.
8824         * javax/naming/RefAddr:
8825         (addrType): addrType was never final.
8826         (equals): Fix typo in method name.
8827         * javax/naming/BinaryRefAddr:
8828         (equals): Fix typo in method name.
8829
8830 2002-09-22  Tom Tromey  <tromey@redhat.com>
8831
8832         Fix for PR libgcj/6576:
8833         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8834         didn't find a given bundle.
8835         (getBundle): Don't require base bundle.
8836         (setParent): Removed old comment.
8837         (tryLocalBundle): Try components even if preceding components were
8838         empty.
8839
8840 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8841
8842         * Makefile.am (all-multi): Fix multilib parallel build.
8843
8844 2002-09-21  Michael Koch  <konqueror@gmx.de>
8845
8846         * java/net/Socket.java
8847         (sendUrgentData): New method.
8848         (getChannel): New method.
8849         * java/net/ServerSocket.java
8850         (getChannel): New method.
8851         (isBound): New method.
8852         * java/net/DatagramSocket.java
8853         (DatagramSocket): Two new methods.
8854         (bind): New method.
8855         (getChannel): New method.
8856         (isBound): New method.
8857         (send): Added newline to to make shorter lines.
8858         * java/net/PlainDatagramSocketImpl.java
8859         (mcastGrp): Added argument.
8860         (join): Use new mcastGrp.
8861         (leave): Use new mcastGrp.
8862         (joinGroup): New method.
8863         (leaveGroup): New method.
8864         * java/net/natPlainDatagramSocketImpl.cc
8865         (mcastGrp): Added argument, no yet really implemented.
8866         (getOption): Added newline for shorter lines.
8867         * java/net/natPlainSocketImpl.cc
8868         (read, setOption, getOption): Added newline for shorter lines.
8869
8870 2002-09-19  Tom Tromey  <tromey@redhat.com>
8871
8872        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8873        newly-created exception.
8874
8875 2002-09-18  Michael Koch  <konqueror@gmx.de>
8876
8877         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8878         java/util/regex/PatternSyntaxException.java:
8879         Merge with classpath, new files.
8880         * Makefile.am (core_java_source_files):
8881         Added java/util/regex/Matcher.java,
8882         java/util/regex/Pattern.java,
8883         java/util/regex/PatternSyntaxException.java
8884         * Makefile.in: Regenerated.
8885         * include/config.h.in: Added HAVE_NET_IF_H.
8886         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8887         Removed #if 0 ... #endif.
8888
8889 2002-09-17  Michael Koch  <konqueror@gmx.de>
8890
8891         * java/net/natNetworkInterface.cc:
8892         Removed unneed and yet wrong includes.
8893
8894 2002-09-17  Michael Koch  <konqueror@gmx.de>
8895
8896         * java/net/NetworkInterface.java: New file.
8897         * java/net/natNetworkInterface.java: New file.
8898         * configure.in: Added check for net/if.h.
8899         * configure: Regenerated.
8900         * Makefile.am
8901         (ordinary_java_source_files): Added NetworkInterface.java.
8902         (nat_source_files): Added natNetworkInterface.cc.
8903         * Makefile.in: Regenerated.
8904
8905 2002-09-16  Tom Tromey  <tromey@redhat.com>
8906
8907         * java/net/URLClassLoader.java (findClass): Code source for a
8908         class from a jar is not necessarily a jar: URL.
8909
8910 2002-09-16  Michael Koch  <konqueror@gmx.de>
8911
8912         * java/lang/AssertionError.java:
8913         Merge with classpath, fixes HTML.
8914         * java/rmi/server/LogStream.java:
8915         Merge with classpath, fixes some constants.
8916         * java/net/server/RemoteServer.java:
8917         Merge with classpath, adds serialVersionUID.
8918         * javax/naming/BinaryRefAddr.java:
8919         Merge with classpath, s/equal/equals/.
8920         * javax/naming/NamingException.java:
8921         Merge with classpath, fixed typo.
8922         * javax/naming/RefAddr.java:
8923         Merge with classpath, s/equal/equals/.
8924         * java/awt/Toolkit.java:
8925         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8926         and typo fixed.
8927
8928 2002-09-15  Adam Megacz <adam@xwt.org>
8929
8930         * java/net/natPlainSocketImpl.cc: fixed typo.
8931
8932 2002-09-15  Adam Megacz <adam@xwt.org>
8933
8934         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8935         which don't work on Win32 (yet).
8936
8937 2002-09-14  Adam Megacz <adam@xwt.org>
8938
8939         * java/net/natPlainDatagramSocket.cc: removed #include
8940         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8941         * include/win32.h: included definition for IP_TOS to satisfy
8942         natPlainDatagramSocket.cc
8943
8944 2002-09-13  Michael Koch  <konqueror@gmx.de>
8945
8946         * java/net/DatagramPacket.java (DatagramPacket):
8947         Added linebreak for 80 chars per line.
8948         * java/net/JarURLConection.java
8949         (getInputStreami, getJarEntry): Likewise.
8950         * java/net/SocketPErmission.java
8951         (SocketPermission class docu, implies): Likewise.
8952         * java/net/URLClassLoader.java (findResources): Likewise.
8953         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8954
8955 2002-09-13  Michael Koch  <konqueror@gmx.de>
8956
8957         * java/nio/channels/DatagramChannel.java,
8958         java/nio/channels/ServerSocketChannel.java
8959         java/nio/channels/SocketChannel.java:
8960         New dummy files to make java.net fully JDK 1.4 compatible
8961         * Makefile.am (ordinary_java_source_files): Added
8962         java/net/DatagramSocketImplFactory.java (long forgotten),
8963         java/nio/SocketChannel.java,
8964         java/nio/ServerSocketChannel.java,
8965         java/nio/DatagramChannel.java
8966         * Makefile.in: Regenrated.
8967
8968 2002-09-12  Michael Koch  <konqueror@gmx.de>
8969
8970         * java/net/DatagramSocketImpl.java
8971         (peekData): New method.
8972         * java/net/PlainDatagramSocketImpl.java
8973         (peekData): New method.
8974         * java/net/natPlainDatagramSocketImpl.cc
8975         (peekData): New method.
8976         * java/net/URLConnection
8977         (getPermission): New method.
8978         (addRequestProperty): New method.
8979         (getRequestProperties): New method.
8980         (guessContentTypeFromStream): New method, not really implemented.
8981         (URLConnection): Added/updated documentation.
8982         (connect): Added/updated documentation.
8983         (getURL): Added/updated documentation.
8984         (getContentLength): Added/updated documentation.
8985         (getContentType: Added/updated documentation.
8986         (getContentEncoding): Added/updated documentation.
8987         (getExpiration): Added/updated documentation.
8988         (getDate): Added/updated documentation.
8989         (getLastModified): Added/updated documentation.
8990         (getHeaderField): Added/updated documentation.
8991         (getHeaderFields): Added/updated documentation.
8992         (getHeaderFieldInt): Added/updated documentation.
8993         (getHeaderFieldDate): Added/updated documentation.
8994         (getHeaderFieldKey): Added/updated documentation.
8995         (getContent): Added/updated documentation.
8996         (getInputStream): Added/updated documentation.
8997         (getOutputStream): Added/updated documentation.
8998         (toString): Added/updated documentation.
8999         (setDoInput): Added/updated documentation.
9000         (getDoInput): Added/updated documentation.
9001         (setDoOutput): Added/updated documentation.
9002         (getDoOutput): Added/updated documentation.
9003         (setAllowUserInteraction): Added/updated documentation.
9004         (getAllowUserInteraction): Added/updated documentation.
9005         (setDefaultAllowUserInteraction): Added/updated documentation.
9006         (getDefaultAllowUserInteraction): Added/updated documentation.
9007         (setUseCaches): Added/updated documentation.
9008         (getUseCaches): Added/updated documentation.
9009         (setIfModifiedSince): Added/updated documentation.
9010         (getIfModifiedSince): Added/updated documentation.
9011         (getDefaultUseCaches): Added/updated documentation.
9012         (setDefaultUseCaches): Added/updated documentation.
9013         (setRequestProperty): Added/updated documentation.
9014         (getRequestProperty): Added/updated documentation.
9015         (setDefaultRequestProperty): Added/updated documentation.
9016         (getDefaultRequestProperty): Added/updated documentation.
9017         (setContentHandlerFactory): Added/updated documentation.
9018         (guessContentTypeFromName): Added/updated documentation.
9019         (getFileNameMap): Added/updated documentation.
9020         (setFileNameMap): Added/updated documentation.
9021
9022 2002-09-11  Michael Koch  <konqueror@gmx.de>
9023
9024         * java/net/Socket.java
9025         (Socket): protected to public (since JDK 1.4). Added @specnote.
9026         (bind): New method.
9027         (connect): Two new methods.
9028         (getKeepalive): Get correct socket option.
9029         (setKeepalive): Set correct socket option.
9030         (getOOBInline): New method.
9031         (setOOBInline): New method.
9032         * java/net/ServerSocket.java
9033         (bind): Two new methods.
9034         (getInetAddress): Reimplemented, catch exception.
9035         (getLocalSocketAddress): New method.
9036         (setReuseAddress): New method.
9037         (getReuseAdress): New method.
9038         (setReceiveBufferSize): New method.
9039         (getReceiveBufferSize): New method.
9040         (toString): Made string JDK 1.4 compliant.
9041
9042 2002-09-10  Michael Koch  <konqueror@gmx.de>
9043
9044         * java/net/SocketImpl.java
9045         (connect): New method.
9046         (supportsUrgentData): New method.
9047         (sendUrgentData): New method.
9048         * java/net/PlainSocketImpl.java
9049         (connect): One new method and two new implementation.
9050         (sendUrgentData): New method.
9051         * java/natPlainSocketImpl.cc
9052         (connect): Arguments changed, added support for timeouts.
9053         (getOption): Another __java_boolean to jboolean.
9054
9055 2002-09-07  Adam Megacz <adam@xwt.org>
9056
9057         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9058         definition of IP_TOS.
9059
9060 2002-09-04  Michael Koch  <konqueror@gmx.de>
9061
9062         * java/net/DatagramSocket.java
9063         (DatagramSocket): Added documentation.
9064         (close): Likewise.
9065         (getLocalAddress): Likewise.
9066         (getLocalPort): Likewise.
9067         (receive): Likewise.
9068         (send): Likewise.
9069         (setSoTimeout): Likewise.
9070         (connect): New method.
9071         (disconnect): New method.
9072         (getInetAddress): New method (FIXME)
9073         (getPort): New method.
9074         (setReuseAddress): New method.
9075         (getReuseAddress): New method.
9076         (setBroadcast): New method.
9077         (getBroadcast): New method.
9078         (setTrafficClass): New method.
9079         (getTrafficClass): New method.
9080         * java/net/MulticastSocket.java):
9081         (getTTL): Added @see in documentation.
9082         (setTTL): Added @see in documentation.
9083         (setLoopbackMode): New method.
9084         (getLoopbackMode): New method.
9085         * java/net/PlainSocketImpl.java:
9086         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9087         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9088         * java/net/PlainDatagramSocketImpl.java
9089         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9090         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9091         * java/net/natPlainSocketImpl.cc
9092         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9093         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9094         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9095         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9096         This should also fix SO_KEEPALIVE
9097         * java/net/natPlainDatagramSocketImpl.cc
9098         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9099         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9100         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9101         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9102
9103 2002-09-04  Michael Koch  <konqueror@gmx.de>
9104
9105         * java/net/SocketOptions.java: added static variables to be JDK 1.4
9106         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9107         IP_MULTICAST_LOOP, IP_TOS
9108
9109 2002-09-03  Tom Tromey  <tromey@redhat.com>
9110
9111         * java/lang/Class.h (_getDeclaredMethod): Declare.
9112         (_getMethod): Now private.
9113         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9114         getDeclaredMethod.  Now returns NULL on failure.
9115         * java/lang/Class.java (_getDeclaredMethod): Declare.
9116         (getDeclaredMethod): No longer native; implements access checks.
9117
9118 2002-09-01  Mark Wielaard  <mark@klomp.org>
9119
9120         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9121         (sanitizeStack): Correctly reset unknown and interpreter counters,
9122         detect interpreter runtime frames.
9123         (demangleInterpreterMethod): New method.
9124         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9125         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9126         filling in addrs[].
9127
9128 2002-09-02  Michael Koch  <konqueror@gmx.de>
9129
9130         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9131         re-indented documentation.
9132
9133 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9134
9135         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9136         public, per 1.4 spec.  Fixes PR libgcj/7785.
9137
9138 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
9139
9140         * Makefile.in: Rebuilt.
9141         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9142
9143 2002-08-29  Tom Tromey  <tromey@redhat.com>
9144
9145         * java/net/JarURLConnection.java (getCertificates): New method
9146         from Classpath.
9147         * java/net/URLClassLoader.java (URLClassLoader): Extends
9148         SecureClassLoader.
9149         (definePackage): New method from Classpath.
9150         (getPermissions): Likewise.
9151         (newInstance): Likewise.
9152         (findClass): Construct CodeSource for new class (from Classpath).
9153         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9154         methods.
9155         * java/net/URL.java (getUserInfo): New method.
9156         (set(String,String,int,String,String,String,String,String)): New
9157         method.
9158         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9159         (shutdownInput, shutdownOutput): Declare.
9160         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9161         Define.
9162         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9163         (getOption): Likewise.
9164         (shutdownInput): New method.
9165         (shutdownOutput): Likewise.
9166         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9167         keepalive.
9168         (getOption): Likewise.
9169         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9170         * java/net/Socket.java (setKeepAlive): New method.
9171         (getKeepAlive): Likewise.
9172         (shutdownInput, shutdownOutput): New methods.
9173
9174 2002-08-29  Michael Koch  <konqueror@gmx.de>
9175
9176         * java/net/DatagramPacket.java: updated to JDK 1.4 API
9177         new methods are:
9178         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9179           address),
9180         DatagramPacket(byte[] buf, int length, SocketAddress address),
9181         void setSocketAddress(SocketAddress address)
9182         public SocketAddress getSocketAddress()
9183
9184 2002-08-29  Tom Tromey  <tromey@redhat.com>
9185
9186         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9187         ftruncate is missing.
9188         * configure, include/config.h.in: Rebuilt.
9189         * acconfig.h (HAVE_FTRUNCATE): Mention.
9190         * configure.in: Check for ftruncate.
9191
9192 2002-08-29  Tom Tromey  <tromey@redhat.com>
9193
9194         * include/jvm.h (struct _Jv_frame_info): New structure.
9195         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9196         java-interp.h.
9197         (lookupInterp): New method.
9198         (getAddrAsString): Use _Jv_frame_info.
9199         (dladdrLookup): Likewise.
9200         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9201         interpreted frame.
9202         (lookupInterp): Declare.
9203         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9204         (fillInStackTrace): Collect information on interpreted frames.
9205         Use _Jv_frame_info.
9206         * interpret.cc: Include Thread.h.
9207         (run): Create and push _Jv_MethodChain object.
9208         (_Jv_EndOfInterpreter): New global.
9209         * java/lang/Thread.java (interp_frame): New field.
9210         * include/java-interp.h (struct _Jv_MethodChain): New structure.
9211         Include NameFinder.h.
9212
9213 2002-08-28  Tom Tromey  <tromey@redhat.com>
9214
9215         * java/lang/Class.h: Include Package.h.
9216         (Class::getProtectionDomain): Declare.
9217         (Class::getPackage): Declare.
9218
9219 2002-08-28  Michael Koch <konqueror@gmx.de>
9220
9221         * java/net/InetSocketAddress.java: Added some documentation and argument
9222         checks for the port numbers.
9223         * java/net/DatagramSocketImplFactory.java: New file.
9224
9225 2002-08-28  Michael Koch <konqueror@gmx.de>
9226
9227         * java/net/Authenticator.java: added some documentation.
9228
9229 2002-08-27  Tom Tromey  <tromey@redhat.com>
9230
9231         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9232         class.
9233         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9234
9235 2002-08-27  Michael Koch <konqueror@gmx.de>
9236
9237         * java/net/BindException.java,
9238         java/net/JarURLConnection.java,
9239         java/net/FileNameMap.java,
9240         java/net/HttpURLConnection.java,
9241         java/net/InetSocketAddress.java,
9242         java/net/DatagramPacket.java,
9243         java/net/DatagramSocket.java,
9244         java/net/DatagramSocketImpl.java,
9245         java/net/MulticastSocket.java,
9246         java/net/PasswordAuthentication.java,
9247         java/net/ServerSocket.java,
9248         java/net/Socket.java,
9249         java/net/URLClassLoader.java,
9250         java/net/URLConnection.java: add/update of some @since/@deprecated
9251
9252 2002-08-27  Tony Kimball <alk@pobox.com>
9253             Tom Tromey  <tromey@redhat.com>
9254
9255         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9256         define.
9257         (::close): Removed.
9258         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9259         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9260         (::close): Removed.
9261         (PlainSocketImpl::close): Use NATIVE_CLOSE.
9262         * include/win32.h (getcwd): Removed declaration.  Include io.h.
9263
9264 2002-08-25  Adam Megacz <adam@xwt.org>
9265
9266         * include/win32.h (getcwd): copied function declaration as
9267         temporary fix for header confusion.
9268
9269 2002-08-24  Mark Wielaard <mark@klomp.org>
9270
9271         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9272         (core_java_source_files): Add VMThrowable.java and NameFinder.java
9273         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9274         and natNameFinder.cc.
9275         * Makefile.in: Regenerate.
9276         * prims.cc: Use trace_enabled from VMThrowable.
9277         * name-finder.cc: Removed.
9278         * gcj/javaprims.h: Add class VMThrowable.
9279         * gnu/gcj/runtime/NameFinder.java: New file.
9280         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9281         * include/name-finder.h: Removed.
9282         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9283         method stackTraceString().
9284         (printStackTrace (PrintWriter)): Likewise.
9285         (stackTraceString): Complete rewrite of old printStackTrace using
9286         StringBuffer.
9287         (stackTraceStringBuffer): New helper method for stackTraceString().
9288         (fillInStackTrace): Delegate to VMTrowable.
9289         (getStackTrace): Likewise.
9290         (getStackTrace0): Removed.
9291         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9292         (setStackTrace): Copy given array.
9293         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9294         * java/lang/VMThrowable.java: New class.
9295         * java/lang/natVMThrowable.cc: New file.
9296
9297 2003-08-23  Michael Koch  <konqueror@gmx.de>
9298
9299         * java/net/URLConnection.java,
9300         java/netJarURLConnection.java,
9301         gnu/gcj/protocol/core/Connection.java,
9302         gnu/gcj/protocol/file/Connection.java,
9303         gnu/gcj/protocol/http/Connection.java: Added implementation of
9304         getHeaderFields().
9305
9306 2002-08-22  Tom Tromey  <tromey@redhat.com>
9307
9308         * gij.cc (help): Document -cp and -classpath.
9309         (main): Handle -classpath.
9310
9311 2002-08-21  Tom Tromey  <tromey@redhat.com>
9312
9313         * Makefile.in: Rebuilt.
9314         * Makefile.am (ordinary_java_source_files): Added
9315         SocketAddress.java, InetSocketAddress.java.
9316         * java/net/PortUnreachableException.java: Merged with Classpath.
9317         * java/net/SocketTimeoutException.java: Likewise.
9318         * java/net/URISyntaxException.java: Likewise.
9319         * java/net/SocketAddress.java: New class from Classpath.
9320         * java/net/InetSocketAddress.java: Likewise.
9321
9322 2003-08-21  Michael Koch  <konqueror@gmx.de>
9323
9324         * java/net/Authenticator.java: updated JDK 1.4
9325         * java/net/ContentHandler.java: updated JDK 1.4
9326
9327 2002-08-20  Michael Koch  <konqueror@gmx.de>
9328
9329         * java/net/URISyntaxException.java: New file.
9330         * java/net/SocketTimeoutException.java: New file.
9331         * java/net/PortUnreachableException.java: New file.
9332         * Makefile.am: Updated.
9333         * Makefile.in: Rebuilt.
9334
9335 2002-08-18  Mark Wielaard  <mark@klomp.org>
9336
9337         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9338         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9339         MessageDigestSpi (fixes Classpath bug #783).
9340
9341 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9342
9343         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9344         (startProcess): Allocate path for chdir in async-signal-safe way.
9345
9346 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9347
9348         Fix for PR libgcj/7570 and PR libgcj/7578:
9349         * java/lang/natPosixProcess.cc: Include java/io/File.h.
9350         (startProcess): Handle new `dir' argument.
9351         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9352         argument.
9353         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9354         argument.
9355         (startProcess): Likewise.
9356         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9357         argument.
9358         * java/lang/Runtime.java (execInternal): Added `dir' argument.
9359         (exec): Don't create new environment if ENV==null.  Pass DIR to
9360         execInternal.
9361         * java/lang/natRuntime.cc: Include java/io/File.h.
9362         (execInternal): Added `dir' argument.
9363
9364 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
9365
9366         * java/io/RandomAccessFile.java (skipBytes): Return number of
9367         bytes skipped.
9368
9369 2002-08-01  Mark Wielaard  <mark@klomp.org>
9370
9371         Reenable patch since shared library troubles on powerpc are solved:
9372         * gnu/java/security/provider/Gnu.java: Reference all implementation
9373         classes by using Class.getName().
9374         * gnu/java/security/der/DEREncodingException.java,
9375         gnu/java/security/provider/DERReader.java,
9376         gnu/java/security/provider/DERWriter.java,
9377         gnu/java/security/provider/DSAKeyPairGenerator.java,
9378         gnu/java/security/provider/DSAParameterGenerator.java,
9379         gnu/java/security/provider/DSAParameters.java,
9380         gnu/java/security/provider/DSASignature.java,
9381         gnu/java/security/provider/GnuDSAPrivateKey.java,
9382         gnu/java/security/provider/GnuDSAPublicKey.java,
9383         gnu/java/security/provider/MD5.java,
9384         gnu/java/security/util/Prime.java: New classes
9385         * Makefile.am (ordinary_java_source_files): Add above files.
9386         * Makefile.in: Regenerate.
9387         * gnu/java/security/provider/DefaultPolicy.java
9388         (getPermissions): Don't maintain static class variable of Permissions.
9389         * gnu/java/security/provider/SHA.java
9390         (engineUpdate): algorithm change.
9391         (engineDigest): algorithm change.
9392
9393 2002-08-09  Mark Wielaard  <mark@klomp.org>
9394
9395         * java/awt/image/MemoryImageSource.java: Change constructor to take
9396         int[] not byte[].
9397         * java/awt/Graphics2D.java: Uncomment methods that can now be
9398         compiled.
9399         * java/awt/GridBagLayout.java: New stub implementation.
9400         * javax/swing/text/html/HTML.java: Stub implementation.
9401         * javax/swing/text/html/parser/ParserDelegator.java: New stub
9402         implementation.
9403
9404         * Makefile.am: Add new files.
9405         * Makefile.in: Rebuilt.
9406
9407 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9408
9409         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9410         methods in Graphics2D.
9411
9412 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9413
9414         AWT/Swing merge from GNU Classpath.
9415
9416         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9417         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9418         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9419         java/awt/color/ProfileDataException.java,
9420         java/awt/CompositeContext.java, java/awt/Composite.java,
9421         java/awt/ContainerOrderFocusTraversalPolicy.java,
9422         java/awt/datatransfer/FlavorTable.java,
9423         java/awt/DefaultFocusTraversalPolicy.java,
9424         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9425         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9426         java/awt/dnd/DragGestureListener.java,
9427         java/awt/dnd/DragGestureRecognizer.java,
9428         java/awt/dnd/DragSourceAdapter.java,
9429         java/awt/dnd/DragSourceContext.java,
9430         java/awt/dnd/DragSourceDragEvent.java,
9431         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9432         java/awt/dnd/DragSourceListener.java,
9433         java/awt/dnd/DragSourceMotionListener.java,
9434         java/awt/dnd/DropTarget.java,
9435         java/awt/dnd/InvalidDnDOperationException.java,
9436         java/awt/dnd/peer/DragSourceContextPeer.java,
9437         java/awt/event/AWTEventListenerProxy.java,
9438         java/awt/event/MouseWheelEvent.java,
9439         java/awt/event/MouseWheelListener.java,
9440         java/awt/event/WindowFocusListener.java,
9441         java/awt/event/WindowStateListener.java,
9442         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9443         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9444         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9445         java/awt/geom/FlatteningPathIterator.java,
9446         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9447         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9448         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9449         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9450         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9451         java/awt/image/ImagingOpException.java,
9452         java/awt/image/RasterFormatException.java,
9453         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9454         java/awt/image/VolatileImage.java,
9455         java/awt/image/WritableRenderedImage.java,
9456         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9457         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9458         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9459         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9460         java/awt/PageAttributes.java, java/awt/print/Book.java,
9461         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9462         java/awt/print/Paper.java, java/awt/print/Printable.java,
9463         java/awt/print/PrinterAbortException.java,
9464         java/awt/print/PrinterException.java,
9465         java/awt/print/PrinterGraphics.java,
9466         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9467         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9468         java/awt/Stroke.java, java/awt/TexturePaint.java,
9469         javax/accessibility/AccessibleAction.java,
9470         javax/accessibility/AccessibleBundle.java,
9471         javax/accessibility/AccessibleComponent.java,
9472         javax/accessibility/AccessibleContext.java,
9473         javax/accessibility/AccessibleEditableText.java,
9474         javax/accessibility/AccessibleExtendedComponent.java,
9475         javax/accessibility/AccessibleExtendedTable.java,
9476         javax/accessibility/AccessibleHyperlink.java,
9477         javax/accessibility/AccessibleHypertext.java,
9478         javax/accessibility/AccessibleIcon.java,
9479         javax/accessibility/Accessible.java,
9480         javax/accessibility/AccessibleKeyBinding.java,
9481         javax/accessibility/AccessibleRelation.java,
9482         javax/accessibility/AccessibleRelationSet.java,
9483         javax/accessibility/AccessibleResourceBundle.java,
9484         javax/accessibility/AccessibleRole.java,
9485         javax/accessibility/AccessibleSelection.java,
9486         javax/accessibility/AccessibleState.java,
9487         javax/accessibility/AccessibleStateSet.java,
9488         javax/accessibility/AccessibleTable.java,
9489         javax/accessibility/AccessibleTableModelChange.java,
9490         javax/accessibility/AccessibleText.java,
9491         javax/accessibility/AccessibleValue.java,
9492         javax/swing/AbstractAction.java,
9493         javax/swing/AbstractButton.java,
9494         javax/swing/AbstractCellEditor.java,
9495         javax/swing/AbstractListModel.java,
9496         javax/swing/AbstractSet.java, javax/swing/Action.java,
9497         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9498         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9499         javax/swing/border/CompoundBorder.java,
9500         javax/swing/border/EmptyBorder.java,
9501         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9502         javax/swing/border/LineBorder.java,
9503         javax/swing/border/MatteBorder.java,
9504         javax/swing/border/TitledBorder.java,
9505         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9506         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9507         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9508         javax/swing/CellRendererPane.java,
9509         javax/swing/colorchooser/AbstractColorChooserPanel.java,
9510         javax/swing/colorchooser/ColorChooserComponentFactory.java,
9511         javax/swing/colorchooser/ColorSelectionModel.java,
9512         javax/swing/colorchooser/DefaultColorSelectionModel.java,
9513         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9514         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9515         javax/swing/DefaultBoundedRangeModel.java,
9516         javax/swing/DefaultButtonModel.java,
9517         javax/swing/DefaultCellEditor.java,
9518         javax/swing/DefaultCellRenderer.java,
9519         javax/swing/DefaultComboBoxModel.java,
9520         javax/swing/DefaultDesktopManager.java,
9521         javax/swing/DefaultFocusManager.java,
9522         javax/swing/DefaultListCellRenderer.java,
9523         javax/swing/DefaultListModel.java,
9524         javax/swing/DefaultListSelectionModel.java,
9525         javax/swing/DefaultSingleSelectionModel.java,
9526         javax/swing/DesktopManager.java,
9527         javax/swing/event/AncestorEvent.java,
9528         javax/swing/event/AncestorListener.java,
9529         javax/swing/event/CaretEvent.java,
9530         javax/swing/event/CaretListener.java,
9531         javax/swing/event/CellEditorListener.java,
9532         javax/swing/event/ChangeEvent.java,
9533         javax/swing/event/ChangeListener.java,
9534         javax/swing/event/DocumentEvent.java,
9535         javax/swing/event/DocumentListener.java,
9536         javax/swing/event/EventListenerList.java,
9537         javax/swing/event/HyperlinkEvent.java,
9538         javax/swing/event/HyperlinkListener.java,
9539         javax/swing/event/InternalFrameAdapter.java,
9540         javax/swing/event/InternalFrameEvent.java,
9541         javax/swing/event/InternalFrameListener.java,
9542         javax/swing/event/ListDataEvent.java,
9543         javax/swing/event/ListDataListener.java,
9544         javax/swing/event/ListSelectionEvent.java,
9545         javax/swing/event/ListSelectionListener.java,
9546         javax/swing/event/MenuDragMouseEvent.java,
9547         javax/swing/event/MenuDragMouseListener.java,
9548         javax/swing/event/MenuEvent.java,
9549         javax/swing/event/MenuKeyEvent.java,
9550         javax/swing/event/MenuKeyListener.java,
9551         javax/swing/event/MenuListener.java,
9552         javax/swing/event/MouseInputAdapter.java,
9553         javax/swing/event/MouseInputListener.java,
9554         javax/swing/event/PopupMenuEvent.java,
9555         javax/swing/event/PopupMenuListener.java,
9556         javax/swing/event/SwingPropertyChangeSupport.java,
9557         javax/swing/event/TableColumnModelEvent.java,
9558         javax/swing/event/TableColumnModelListener.java,
9559         javax/swing/event/TableModelEvent.java,
9560         javax/swing/event/TableModelListener.java,
9561         javax/swing/event/TreeExpansionEvent.java,
9562         javax/swing/event/TreeExpansionListener.java,
9563         javax/swing/event/TreeModelEvent.java,
9564         javax/swing/event/TreeModelListener.java,
9565         javax/swing/event/TreeSelectionEvent.java,
9566         javax/swing/event/TreeSelectionListener.java,
9567         javax/swing/event/TreeWillExpandListener.java,
9568         javax/swing/event/UndoableEditEvent.java,
9569         javax/swing/event/UndoableEditListener.java,
9570         javax/swing/filechooser/FileFilter.java,
9571         javax/swing/filechooser/FileSystemView.java,
9572         javax/swing/filechooser/FileView.java,
9573         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9574         javax/swing/Icon.java, javax/swing/ImageIcon.java,
9575         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9576         javax/swing/JApplet.java, javax/swing/JButton.java,
9577         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9578         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9579         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9580         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9581         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9582         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9583         javax/swing/JLayeredPane.java, javax/swing/JList.java,
9584         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9585         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9586         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9587         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9588         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9589         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9590         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9591         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9592         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9593         javax/swing/JTextField.java, javax/swing/JTextPane.java,
9594         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9595         javax/swing/JToolTip.java, javax/swing/JTree.java,
9596         javax/swing/JViewport.java, javax/swing/JWindow.java,
9597         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9598         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9599         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9600         javax/swing/MenuSelectionManager.java,
9601         javax/swing/MutableComboBoxModel.java,
9602         javax/swing/OverlayLayout.java,
9603         javax/swing/plaf/ActionMapUIResource.java,
9604         javax/swing/plaf/basic/BasicBorders.java,
9605         javax/swing/plaf/basic/BasicButtonUI.java,
9606         javax/swing/plaf/basic/BasicCheckBoxUI.java,
9607         javax/swing/plaf/basic/BasicDefaults.java,
9608         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9609         javax/swing/plaf/basic/BasicIconFactory.java,
9610         javax/swing/plaf/basic/BasicLabelUI.java,
9611         javax/swing/plaf/basic/BasicListUI.java,
9612         javax/swing/plaf/basic/BasicLookAndFeel.java,
9613         javax/swing/plaf/basic/BasicOptionPaneUI.java,
9614         javax/swing/plaf/basic/BasicPanelUI.java,
9615         javax/swing/plaf/basic/BasicRadioButtonUI.java,
9616         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9617         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9618         javax/swing/plaf/basic/BasicTextUI.java,
9619         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9620         javax/swing/plaf/basic/BasicTreeUI.java,
9621         javax/swing/plaf/basic/BasicViewportUI.java,
9622         javax/swing/plaf/BorderUIResource.java,
9623         javax/swing/plaf/ButtonUI.java,
9624         javax/swing/plaf/ColorChooserUI.java,
9625         javax/swing/plaf/ColorUIResource.java,
9626         javax/swing/plaf/ComboBoxUI.java,
9627         javax/swing/plaf/ComponentInputMapUIResource.java,
9628         javax/swing/plaf/ComponentUI.java,
9629         javax/swing/plaf/DesktopIconUI.java,
9630         javax/swing/plaf/DesktopPaneUI.java,
9631         javax/swing/plaf/DimensionUIResource.java,
9632         javax/swing/plaf/FileChooserUI.java,
9633         javax/swing/plaf/FontUIResource.java,
9634         javax/swing/plaf/IconUIResource.java,
9635         javax/swing/plaf/InputMapUIResource.java,
9636         javax/swing/plaf/InsetsUIResource.java,
9637         javax/swing/plaf/InternalFrameUI.java,
9638         javax/swing/plaf/LabelUI.java,
9639         javax/swing/plaf/ListUI.java,
9640         javax/swing/plaf/MenuBarUI.java,
9641         javax/swing/plaf/MenuItemUI.java,
9642         javax/swing/plaf/OptionPaneUI.java,
9643         javax/swing/plaf/PanelUI.java,
9644         javax/swing/plaf/PopupMenuUI.java,
9645         javax/swing/plaf/ProgressBarUI.java,
9646         javax/swing/plaf/RootPaneUI.java,
9647         javax/swing/plaf/ScrollBarUI.java,
9648         javax/swing/plaf/ScrollPaneUI.java,
9649         javax/swing/plaf/SeparatorUI.java,
9650         javax/swing/plaf/SliderUI.java,
9651         javax/swing/plaf/SplitPaneUI.java,
9652         javax/swing/plaf/TabbedPaneUI.java,
9653         javax/swing/plaf/TableHeaderUI.java,
9654         javax/swing/plaf/TableUI.java,
9655         javax/swing/plaf/TextUI.java,
9656         javax/swing/plaf/ToolBarUI.java,
9657         javax/swing/plaf/ToolTipUI.java,
9658         javax/swing/plaf/TreeUI.java,
9659         javax/swing/plaf/UIResource.java,
9660         javax/swing/plaf/ViewportUI.java,
9661         javax/swing/ProgressMonitorInputStream.java,
9662         javax/swing/ProgressMonitor.java,
9663         javax/swing/Renderer.java,
9664         javax/swing/RepaintManager.java,
9665         javax/swing/RootPaneContainer.java,
9666         javax/swing/Scrollable.java,
9667         javax/swing/ScrollPaneConstants.java,
9668         javax/swing/ScrollPaneLayout.java,
9669         javax/swing/SingleSelectionModel.java,
9670         javax/swing/SizeRequirements.java,
9671         javax/swing/SizeSequence.java,
9672         javax/swing/SwingConstants.java,
9673         javax/swing/SwingUtilities.java,
9674         javax/swing/table/AbstractTableModel.java,
9675         javax/swing/table/DefaultTableCellRenderer.java,
9676         javax/swing/table/DefaultTableColumnModel.java,
9677         javax/swing/table/DefaultTableModel.java,
9678         javax/swing/table/TableCellEditor.java,
9679         javax/swing/table/TableCellRenderer.java,
9680         javax/swing/table/TableColumn.java,
9681         javax/swing/table/TableColumnModel.java,
9682         javax/swing/table/TableModel.java,
9683         javax/swing/text/AbstractDocument.java,
9684         javax/swing/text/AttributeSet.java,
9685         javax/swing/text/BadLocationException.java,
9686         javax/swing/text/Caret.java,
9687         javax/swing/text/CharacterIterator.java,
9688         javax/swing/text/ComponentView.java,
9689         javax/swing/text/DefaultCaret.java,
9690         javax/swing/text/DefaultEditorKit.java,
9691         javax/swing/text/Document.java,
9692         javax/swing/text/EditorKit.java,
9693         javax/swing/text/Element.java,
9694         javax/swing/text/GapContent.java,
9695         javax/swing/text/JTextComponent.java,
9696         javax/swing/text/Keymap.java,
9697         javax/swing/text/MutableAttributeSet.java,
9698         javax/swing/text/PlainDocument.java,
9699         javax/swing/text/PlainEditorKit.java,
9700         javax/swing/text/Position.java,
9701         javax/swing/text/Segment.java,
9702         javax/swing/text/StyledDocument.java,
9703         javax/swing/text/StyledEditorKit.java,
9704         javax/swing/text/Style.java,
9705         javax/swing/text/TextAction.java,
9706         javax/swing/text/ViewFactory.java,
9707         javax/swing/text/View.java,
9708         javax/swing/Timer.java,
9709         javax/swing/ToggleButtonModel.java,
9710         javax/swing/ToolTipManager.java,
9711         javax/swing/tree/AbstractLayoutCache.java,
9712         javax/swing/tree/DefaultMutableTreeNode.java,
9713         javax/swing/tree/DefaultTreeCellEditor.java,
9714         javax/swing/tree/DefaultTreeCellRenderer.java,
9715         javax/swing/tree/DefaultTreeModel.java,
9716         javax/swing/tree/DefaultTreeSelectionModel.java,
9717         javax/swing/tree/ExpandVetoException.java,
9718         javax/swing/tree/FixedHeightLayoutCache.java,
9719         javax/swing/tree/MutableTreeNode.java,
9720         javax/swing/tree/RowMapper.java,
9721         javax/swing/tree/TreeCellEditor.java,
9722         javax/swing/tree/TreeCellRenderer.java,
9723         javax/swing/tree/TreeModel.java,
9724         javax/swing/tree/TreeNode.java,
9725         javax/swing/tree/TreePath.java,
9726         javax/swing/tree/TreeSelectionModel.java,
9727         javax/swing/tree/VariableHeightLayoutCache.java,
9728         javax/swing/UIDefaults.java,
9729         javax/swing/UIManager.java,
9730         javax/swing/undo/AbstractUndoableEdit.java,
9731         javax/swing/undo/CannotRedoException.java,
9732         javax/swing/undo/CannotUndoException.java,
9733         javax/swing/undo/CompoundEdit.java,
9734         javax/swing/undo/StateEditable.java,
9735         javax/swing/undo/StateEdit.java,
9736         javax/swing/undo/UndoableEdit.java,
9737         javax/swing/undo/UndoableEditSupport.java,
9738         javax/swing/undo/UndoManager.java,
9739         javax/swing/UnsupportedLookAndFeelException.java,
9740         javax/swing/ViewportLayout.java,
9741         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9742
9743         * java/awt/ActiveEvent.java,
9744         java/awt/Adjustable.java, java/awt/AWTError.java,
9745         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9746         java/awt/AWTException.java, java/awt/AWTPermission.java,
9747         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9748         java/awt/Color.java, java/awt/Component.java,
9749         java/awt/ComponentOrientation.java, java/awt/Container.java,
9750         java/awt/datatransfer/MimeTypeParseException.java,
9751         java/awt/datatransfer/Transferable.java,
9752         java/awt/datatransfer/UnsupportedFlavorException.java,
9753         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9754         java/awt/event/ActionListener.java,
9755         java/awt/event/AdjustmentEvent.java,
9756         java/awt/event/AdjustmentListener.java,
9757         java/awt/event/AWTEventListener.java,
9758         java/awt/event/ComponentAdapter.java,
9759         java/awt/event/ComponentEvent.java,
9760         java/awt/event/ComponentListener.java,
9761         java/awt/event/ContainerAdapter.java,
9762         java/awt/event/ContainerEvent.java,
9763         java/awt/event/ContainerListener.java,
9764         java/awt/event/FocusAdapter.java,
9765         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9766         java/awt/event/HierarchyBoundsAdapter.java,
9767         java/awt/event/HierarchyBoundsListener.java,
9768         java/awt/event/HierarchyEvent.java,
9769         java/awt/event/HierarchyListener.java,
9770         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9771         java/awt/event/InputMethodListener.java,
9772         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9773         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9774         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9775         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9776         java/awt/event/MouseListener.java,
9777         java/awt/event/MouseMotionAdapter.java,
9778         java/awt/event/MouseMotionListener.java,
9779         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9780         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9781         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9782         java/awt/event/WindowListener.java, java/awt/Font.java,
9783         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9784         java/awt/geom/Ellipse2D.java,
9785         java/awt/geom/IllegalPathStateException.java,
9786         java/awt/geom/Line2D.java,
9787         java/awt/geom/NoninvertibleTransformException.java,
9788         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9789         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9790         java/awt/geom/RoundRectangle2D.java,
9791         java/awt/GraphicsConfiguration.java,
9792         java/awt/IllegalComponentStateException.java,
9793         java/awt/image/IndexColorModel.java,
9794         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9795         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9796         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9797         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9798         java/awt/MenuItem.java, java/awt/PaintContext.java,
9799         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9800         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9801         java/awt/PrintJob.java, java/awt/Rectangle.java,
9802         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9803         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9804         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9805
9806         * java/awt/im/spi/InputMethod.java,
9807         java/awt/im/spi/InputMethodContext.java,
9808         java/awt/im/spi/InputMethodDescriptor.java,
9809         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9810         java/awt/image/renderable/ParameterBlock.java,
9811         java/awt/image/renderable/RenderContext.java,
9812         java/awt/image/renderable/RenderableImage.java,
9813         java/awt/image/renderable/RenderableImageOp.java,
9814         java/awt/image/renderable/RenderableImageProducer.java,
9815         java/awt/image/renderable/RenderedImageFactory.java: New files from
9816         classpath.
9817
9818         * gnu/java/awt/EventModifier.java,
9819         gnu/java/awt/image/ImageDecoder.java,
9820         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9821
9822         * gnu/awt/xlib/XGraphicsConfiguration.java,
9823         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9824         API.
9825
9826         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9827         GNU Classpath.
9828
9829         * Makefile.am: Add new files.
9830         * Makefile.in: Rebuilt.
9831
9832 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9833
9834         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9835         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9836         findResource, getResources, findResources): Add javadoc from classpath.
9837         (getSystemResources): Implemented.
9838
9839 2002-08-01  Mark Wielaard  <mark@klomp.org>
9840
9841         Revert patch that breaks libgcj shared library on powerpc:
9842         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9843         implementation classes by using Class.getName(). Uses Strings again.
9844         * gnu/java/security/der/DEREncodingException.java,
9845         gnu/java/security/provider/DERReader.java,
9846         gnu/java/security/provider/DERWriter.java,
9847         gnu/java/security/provider/DSAKeyPairGenerator.java,
9848         gnu/java/security/provider/DSAParameterGenerator.java,
9849         gnu/java/security/provider/DSAParameters.java,
9850         gnu/java/security/provider/DSASignature.java,
9851         gnu/java/security/provider/GnuDSAPrivateKey.java,
9852         gnu/java/security/provider/GnuDSAPublicKey.java,
9853         gnu/java/security/provider/MD5.java,
9854         gnu/java/security/util/Prime.java: Removed.
9855         * Makefile.am (ordinary_java_source_files): Remove above files.
9856         * Makefile.in: Regenerate.
9857         * gnu/java/security/provider/DefaultPolicy.java
9858         (getPermissions): Revert to maintaining static class variable of
9859         Permissions.
9860         * gnu/java/security/provider/SHA.java
9861         (engineUpdate): Revert algorithm change.
9862         (engineDigest): Revert algorithm change.
9863
9864 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9865
9866         * configure.host: Add SH support.
9867         * sysdep/sh/locks.h: New file.
9868
9869 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9870
9871         * java/awt/Frame.java (Frame): Remove println calls.
9872
9873 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9874
9875         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9876         * configure: Rebuilt.
9877
9878 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9879
9880         * sysdep/powerpc/locks.h: Formatting.
9881         (_LARX): Define.
9882         (_STCX): Define.
9883         (compare_and_swap): Use _LARX and _STCX.
9884         (compare_and_swap_release): Likewise.
9885
9886 2002-07-26  Tom Tromey  <tromey@redhat.com>
9887
9888         * java/net/Authenticator.java: New version from Classpath.
9889         * java/net/DatagramSocketImpl.java: New version from Classpath.
9890
9891 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9892
9893         * configure.host: Add powerpc64*-* entry.
9894
9895 2002-07-26  Tom Tromey  <tromey@redhat.com>
9896
9897         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9898         fcntl.h.
9899
9900 2002-07-24  Tom Tromey  <tromey@redhat.com>
9901
9902         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9903         argument to _load.
9904
9905 2002-07-24  Tom Tromey  <tromey@redhat.com>
9906             Tony Kimball <alk@pobox.com>
9907
9908         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9909         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9910         * java/io/RandomAccessFile.java (setLength): New method.
9911         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9912         * java/io/FileDescriptor.java (setLength): New method.
9913
9914 2002-07-24  Mark Wielaard  <mark@klomp.org>
9915
9916         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9917         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9918         field call setAccessible(true).
9919         (setByteField): Likewise.
9920         (setCharField): Likewise.
9921         (setDoubleField): Likewise.
9922         (setFloatField): Likewise.
9923         (setIntField): Likewise.
9924         (setLongField): Likewise.
9925         (setShortField): Likewise.
9926         (setObjectField): Likewise.
9927
9928 2002-07-24  Tom Tromey  <tromey@redhat.com>
9929
9930         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9931         use toString() to format array element.
9932
9933 2002-07-23  Mark Wielaard  <mark@klomp.org>
9934
9935         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9936         MessageDigestSpi (fixes Classpath bug #783).
9937
9938 2002-07-21  Mark Wielaard  <mark@klomp.org>
9939
9940         * gnu/java/security/provider/Gnu.java: Reference all implementation
9941         classes by using Class.getName().
9942
9943 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9944
9945         * java/lang/ieeefp.h: Add x86-64 support.
9946         * configure.in: Likewise.
9947         * configure.host: Likewise.
9948         * configure: Regenerated.
9949         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9950
9951 2002-07-16  Mark Wielaard  <mark@klomp.org>
9952
9953         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9954         (whitespaceChars): call resetChar().
9955
9956 2002-07-15  Tom Tromey  <tromey@redhat.com>
9957
9958         * Makefile.in: Rebuilt.
9959         * Makefile.am (awt_java_source_files): Added new files.
9960         * java/beans/ExceptionListener.java: Merged with Classpath.
9961         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9962         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9963         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9964         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9965         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9966         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9967         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9968
9969 2002-07-14  Mark Wielaard  <mark@klomp.org>
9970
9971         * gnu/java/security/der/DEREncodingException.java,
9972         gnu/java/security/provider/DERReader.java,
9973         gnu/java/security/provider/DERWriter.java,
9974         gnu/java/security/provider/DSAKeyPairGenerator.java,
9975         gnu/java/security/provider/DSAParameterGenerator.java,
9976         gnu/java/security/provider/DSAParameters.java,
9977         gnu/java/security/provider/DSASignature.java,
9978         gnu/java/security/provider/GnuDSAPrivateKey.java,
9979         gnu/java/security/provider/GnuDSAPublicKey.java,
9980         gnu/java/security/provider/MD5.java,
9981         gnu/java/security/util/Prime.java: New files from Classpath.
9982         * Makefile.am (ordinary_java_source_files): Add new files.
9983         * Makefile.in: Regenerate.
9984
9985 2002-07-14  C. Brian Jones <cbj@gnu.org>
9986
9987         * gnu/java/security/provider/DefaultPolicy.java
9988         (getPermissions): do not maintain static class variable of
9989         Permissions
9990         * gnu/java/security/provider/SHA.java
9991         (engineUpdate): algorithm change
9992         (engineDigest): algorithm change
9993
9994 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9995
9996         For PR libgcj/7292:
9997         * java/lang/Character.java (toString(char)): Now static.
9998
9999 2002-07-12  Mark Wielaard  <mark@klomp.org>
10000
10001         * java/lang/natThrowable.cc (printRawStackTrace): removed.
10002         (getStackTrace0): new method.
10003         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10004         (printStackTrace(PrintWriter)): replace with pure java implementation.
10005         (printRawStackTrace): removed.
10006         (getStackTrace0): new method.
10007         * java/lang/StackTraceElement.java (toString): add extra whitespace.
10008         * gcj/javaprims.h: regenerate class list.
10009         * include/name-finder.h (lookup): new returns StackTraceElement*.
10010         (method_name, file_name): fields removed.
10011         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10012         (~_Jv_name_finder): close new descriptors.
10013         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10014         (createStackTraceElement): new method.
10015         (lookup): returns StackTraceElement*, uses createStackTraceElement().
10016
10017 2002-07-10  Tom Tromey  <tromey@redhat.com>
10018
10019         * configure: Rebuilt.
10020         * configure.in: Use `test' after `&&'.  From Chris Faylor.
10021
10022 2002-07-08  Mark Wielaard  <mark@klomp.org>
10023
10024         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10025         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10026         java.sql.DatabaseMetaData.TestJdbc20
10027
10028 2002-07-05  Tony Kimball  <alk@pobox.com>
10029
10030         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10031
10032 2002-07-04  Tom Tromey  <tromey@redhat.com>
10033             Jeff Sturm  <jsturm@one-point.com>
10034
10035         Fix for PR libgcj/7060:
10036         * java/lang/Class.h (_getMethod): Renamed from getMethod.
10037         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10038         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
10039         * java/lang/Class.java (getMethod): New Java implementation;
10040         complies with spec.
10041         (_getMethod): New native method.
10042
10043 2002-07-02  Tom Tromey  <tromey@redhat.com>
10044             David Hovemeyer  <daveho@cs.umd.edu>
10045
10046         * java/text/ChoiceFormat.java
10047         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10048         in check loop.
10049         * java/text/MessageFormat.java
10050         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10051         to MessageFormat.
10052
10053 2002-07-01  Tom Tromey  <tromey@redhat.com>
10054
10055         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10056         StringTokenizer on null string.  For PR libgcj/7180.
10057         From daveho@cs.umd.edu.
10058
10059 2002-06-24  Tom Tromey  <tromey@redhat.com>
10060
10061         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10062         (IntegerClass): Likewise.
10063         * java/lang/natClass.cc (CloneableClass): Removed.
10064         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10065         ConstructorClass): Likewise.
10066         * java/lang/natClassLoader.cc (CloneableClass): Removed.
10067         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10068         SerializableClass): Likewise.
10069         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10070         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10071         LongClass, FloatClass, DoubleClass): Likewise.
10072
10073         * verify.cc (branch_prepass): Updated for change to exception
10074         handler type.
10075         (verify_instructions_0): Likewise.
10076         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10077         (handleExceptionTableEntry): Updated for change to exception
10078         handler type.
10079         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10080         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10081         (union _Jv_InterpPC): New.
10082         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10083         (class _Jv_InterpMethod): Added new `prepared' field.
10084         (class _Jv_InterpMethod): Added `compile' method.  Removed
10085         `continue1' and `find_exception'.  Changed arguments to `run'.
10086         * interpret.cc (union insn_slot): New.
10087         (find_exception): Removed.
10088         (run_normal): Removed most logic.
10089         (run_synch_object): Likewise; also, use JvSynchronize.
10090         (run_synch_class): Likewise.
10091         (run): Removed.
10092         (continue1): Renamed as `run'.  Compile bytecode if required.
10093         Add new code to allow refinement of direct-threaded code at
10094         runtime.  Handle exceptions.
10095         (SAVE_PC): Removed.
10096         (compile): New method.
10097         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10098         (NULLARRAYCHECK): Don't use SAVE_PC.
10099         (pc_t): New typedef.
10100         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10101         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10102
10103 2002-06-23  Tom Tromey  <tromey@redhat.com>
10104
10105         * configure: Rebuilt.
10106         * configure.in (INTERPRETER): New subst.
10107         (AM_RUNTESTFLAGS): Don't subst.
10108
10109         * Makefile.in: Rebuilt.
10110         * Makefile.am ($(srcdir)/java/lang/Object.h,
10111         $(srcdir)/java/lang/Class.h): Added dummy targets.
10112
10113 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10114
10115         Reformat JDBC classes and add new JDK 1.4 classes and methods.
10116
10117         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10118         java/sql/Savepoint.java: New files.
10119         * java/sql/Array.java, java/sql/BatchUpdateException.java,
10120         java/sql/Blob.java, java/sql/CallableStatement.java,
10121         java/sql/Clob.java, java/sql/Connection.java,
10122         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10123         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10124         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10125         java/sql/Ref.java, java/sql/ResultSet.java,
10126         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10127         java/sql/SQLException.java, java/sql/SQLInput.java,
10128         java/sql/SQLOutput.java, java/sql/SQLWarning.java
10129         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10130         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10131         (JDK 1.4) specification.
10132         * javax/sql/ConnectionEvent.java,
10133         javax/sql/ConnectionEventListener.java,
10134         javax/sql/ConnectionPoolDataSource.java,
10135         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10136         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10137         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10138         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10139         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10140         javax/sql/XADataSource.java: New files.
10141         * Makefile.am: Add new files.
10142         * Makefile.in: Rebuilt.
10143
10144 2002-06-20  Tom Tromey  <tromey@redhat.com>
10145
10146         For PR libgcj/7073:
10147         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10148         exists.
10149         * defineclass.cc (handleClassBegin): Superclass for interface is
10150         `null'.
10151
10152 2002-06-18  Tom Tromey  <tromey@redhat.com>
10153
10154         * gcj/javaprims.h: Updated class declaration list.
10155         * Makefile.in: Rebuilt.
10156         * Makefile.am (core_java_source_files): Removed
10157         BasicMapEntry.java.
10158         * java/util/BasicMapEntry.java: Removed.
10159
10160 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
10161
10162         * java/net/natPlainDatagramSocketImpl.cc (receive):
10163         Check bounds of argument to FD_SET.
10164         (setOption): Throw exception if socket is closed.
10165
10166         * java/net/natPlainSocketImpl.cc (accept, read):
10167         Check bounds of argument to FD_SET.
10168         (setOption): Throw exception if socket is closed.
10169
10170 2002-06-18  Tom Tromey  <tromey@redhat.com>
10171
10172         * gcj/javaprims.h: Updated class declaration list.
10173         * Makefile.in: Rebuilt.
10174         * Makefile.am (core_java_source_files): Added
10175         PropertyPermissionCollection.java.
10176         * java/lang/Thread.java (group, name): Now package-private.
10177         * java/lang/ThreadGroup.java: Re-merge with Classpath.
10178         * java/util/AbstractList.java: Likewise.
10179         * java/util/AbstractMap.java: Likewise.
10180         * java/util/Calendar.java: Likewise.
10181         * java/util/Collections.java: Likewise.
10182         * java/util/HashMap.java: Likewise.
10183         * java/util/Hashtable.java: Likewise.
10184         * java/util/LinkedHashMap.java: Likewise.
10185         * java/util/LinkedList.java: Likewise.
10186         * java/util/List.java: Likewise.
10187         * java/util/ListResourceBundle.java: Likewise.
10188         * java/util/Map.java: Likewise.
10189         * java/util/Observable.java: Likewise.
10190         * java/util/Properties.java: Likewise.
10191         * java/util/PropertyPermission.java: Likewise.
10192         * java/util/PropertyPermissionCollection.java: Likewise.
10193         * java/util/PropertyResourceBundle.java: Likewise.
10194         * java/util/Random.java: Likewise.
10195         * java/util/SimpleTimeZone.java: Likewise.
10196         * java/util/StringTokenizer.java: Likewise.
10197         * java/util/TimerTask.java: Likewise.
10198         * java/util/TreeMap.java: Likewise.
10199         * java/util/WeakHashMap.java: Likewise.
10200         * java/util/jar/Attributes.java: Likewise.
10201         * java/util/jar/JarException.java: Likewise.
10202         * java/util/jar/Manifest.java: Likewise.
10203
10204 2002-06-17  Tom Tromey  <tromey@redhat.com>
10205
10206         * gcj/javaprims.h: Updated class declaration list.
10207         * Makefile.in: Rebuilt.
10208         * Makefile.am (core_java_source_files): Added new file.
10209         * java/util/EventListenerProxy.java: New file.
10210         * java/util/EventListener.java: Re-merge with Classpath.
10211         * java/util/EventObject.java: Re-merge with Classpath.
10212
10213 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10214
10215         * java/lang/ClassNotFoundException.java: New Classpath version.
10216
10217 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
10218
10219         * java/rmi/activation/ActivateFailedException.java: Remerge from
10220         Classpath version.
10221         * java/rmi/activation/ActivationException.java: Ditto.
10222         * java/rmi/activation/UnknownGroupException.java: Ditto.
10223         * java/rmi/activation/UnknownObjectException.java: Ditto.
10224         * java/rmi/server/ExportException: Ditto.
10225         * java/rmi/server/ServerCloneException: Ditto.
10226         * java/rmi/server/ServerNotActiveException: Ditto.
10227         * java/rmi/server/SkeletonMismatchException: Ditto.
10228         * java/rmi/server/SkeletonNotFoundException: Ditto.
10229         * java/rmi/server/SocketSecurityException: Ditto.
10230
10231 2002-06-16  Tom Tromey  <tromey@redhat.com>
10232
10233         * gcj/javaprims.h: Updated class declaration list.
10234
10235         * java/io/LineNumberInputStream.java: Merged with Classpath.
10236
10237         * java/lang/RuntimeException.java: Re-merge with Classpath.
10238         * java/util/ArrayList.java: Likewise.
10239         * java/util/Arrays.java: Likewise.
10240         * java/util/BitSet.java: Likewise.
10241         * java/util/Dictionary.java: Likewise.
10242         * java/util/IdentityHashMap.java: Likewise.
10243         * java/util/MissingResourceException.java: Likewise.
10244         * java/util/Observer.java: Likewise.
10245         * java/util/TooManyListenersException.java: Likewise.
10246         * java/util/zip/DataFormatException.java: Likewise.
10247         * java/util/zip/ZipException.java: Likewise.
10248
10249 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
10250
10251         * java/rmi/AccessException.java: Remerge from Classpath.
10252         * java/rmi/AlreadyBoundException.java: Ditto.
10253         * java/rmi/ConnectException.java: Ditto.
10254         * java/rmi/ConnectIOException.java: Ditto.
10255         * java/rmi/MarshalException.java: Ditto.
10256         * java/rmi/NoSuchObjectException.java: Ditto.
10257         * java/rmi/NotBoundException.java: Ditto.
10258         * java/rmi/RemoteException.java: Ditto.
10259         * java/rmi/RMISecurityException.java: Ditto.
10260         * java/rmi/ServerError.java: Ditto.
10261         * java/rmi/ServerException.java: Ditto.
10262         * java/rmi/ServerRuntimeException.java: Ditto.
10263         * java/rmi/StubNotFoundException.java: Ditto.
10264         * java/rmi/UnexpectedExcpetion.java: Ditto.
10265         * java/rmi/UnknownHostException.java: Ditto.
10266         * java/rmi/UnmarshalException.java: Ditto.
10267
10268 2002-06-15  Tom Tromey  <tromey@redhat.com>
10269
10270         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10271         * java/lang/ArithmeticException.java: Likewise.
10272         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10273         * java/lang/ArrayStoreException.java: Likewise.
10274         * java/lang/Byte.java: Likewise.
10275         * java/lang/CharSequence.java: Likewise.
10276         * java/lang/ClassCastException.java: Likewise.
10277         * java/lang/ClassCircularityError.java: Likewise.
10278         * java/lang/ClassFormatError.java: Likewise.
10279         * java/lang/CloneNotSupportedException.java: Likewise.
10280         * java/lang/Cloneable.java: Likewise.
10281         * java/lang/Comparable.java: Likewise.
10282         * java/lang/Compiler.java: Likewise.
10283         * java/lang/Error.java: Likewise.
10284         * java/lang/ExceptionInInitializerError.java: Likewise.
10285         * java/lang/IllegalAccessError.java: Likewise.
10286         * java/lang/IllegalAccessException.java: Likewise.
10287         * java/lang/IllegalArgumentException.java: Likewise.
10288         * java/lang/IllegalMonitorStateException.java: Likewise.
10289         * java/lang/IllegalStateException.java: Likewise.
10290         * java/lang/IllegalThreadStateException.java: Likewise.
10291         * java/lang/IncompatibleClassChangeError.java: Likewise.
10292         * java/lang/IndexOutOfBoundsException.java: Likewise.
10293         * java/lang/InheritableThreadLocal.java: Likewise.
10294         * java/lang/InstantiationError.java: Likewise.
10295         * java/lang/InstantiationException.java: Likewise.
10296         * java/lang/InternalError.java: Likewise.
10297         * java/lang/InterruptedException.java: Likewise.
10298         * java/lang/LinkageError.java: Likewise.
10299         * java/lang/NegativeArraySizeException.java: Likewise.
10300         * java/lang/NoClassDefFoundError.java: Likewise.
10301         * java/lang/NoSuchFieldError.java: Likewise.
10302         * java/lang/NoSuchFieldException.java: Likewise.
10303         * java/lang/NoSuchMethodError.java: Likewise.
10304         * java/lang/NoSuchMethodException.java: Likewise.
10305         * java/lang/NullPointerException.java: Likewise.
10306         * java/lang/NumberFormatException.java: Likewise.
10307         * java/lang/OutOfMemoryError.java: Likewise.
10308         * java/lang/Process.java: Likewise.
10309         * java/lang/Runnable.java: Likewise.
10310         * java/lang/RuntimePermission.java: Likewise.
10311         * java/lang/SecurityException.java: Likewise.
10312         * java/lang/Short.java: Likewise.
10313         * java/lang/StackOverflowError.java: Likewise.
10314         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10315         * java/lang/ThreadDeath.java: Likewise.
10316         * java/lang/ThreadLocal.java: Likewise.
10317         * java/lang/UnknownError.java: Likewise.
10318         * java/lang/UnsatisfiedLinkError.java: Likewise.
10319         * java/lang/UnsupportedClassVersionError.java: Likewise.
10320         * java/lang/UnsupportedOperationException.java: Likewise.
10321         * java/lang/VerifyError.java: Likewise.
10322         * java/lang/VirtualMachineError.java: Likewise.
10323         * java/lang/reflect/InvocationTargetException.java: Likewise.
10324         * java/net/BindException.java: Likewise.
10325         * java/net/ConnectException.java: Likewise.
10326         * java/net/MalformedURLException.java: Likewise.
10327         * java/net/NoRouteToHostException.java: Likewise.
10328         * java/net/ProtocolException.java: Likewise.
10329         * java/net/SocketException.java: Likewise.
10330         * java/net/UnknownHostException.java: Likewise.
10331         * java/net/UnknownServiceException.java: Likewise.
10332
10333         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10334         * java/io/CharConversionException.java: Likewise.
10335         * java/io/EOFException.java: Likewise.
10336         * java/io/FileNotFoundException.java: Likewise.
10337         * java/io/IOException.java: Likewise.
10338         * java/io/InterruptedIOException.java: Likewise.
10339         * java/io/InvalidClassException.java: Likewise.
10340         * java/io/InvalidObjectException.java: Likewise.
10341         * java/io/NotActiveException.java: Likewise.
10342         * java/io/NotSerializableException.java: Likewise.
10343         * java/io/ObjectStreamException.java: Likewise.
10344         * java/io/ObjectStreamConstants.java: Likewise.
10345         * java/io/OptionalDataException.java: Likewise.
10346         * java/io/PipedInputStream.java: Likewise.
10347         * java/io/PushbackInputStream.java: Likewise.
10348         * java/io/StreamCorruptedException.java: Likewise.
10349         * java/io/SyncFailedException.java: Likewise.
10350         * java/io/UTFDataFormatException.java: Likewise.
10351         * java/io/UnsupportedEncodingException.java: Likewise.
10352         * java/io/WriteAbortedException.java: Likewise.
10353
10354 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
10355
10356         * java/text/ChoiceFormat.java: Update comments from Classpath.
10357         * java/text/ParseException.java (serialVersionUID): New
10358         field from Classpath.
10359         * java/text/ParseException.java: Update formatting & comments
10360         from Classpath.
10361
10362 2002-06-15  Tom Tromey  <tromey@redhat.com>
10363
10364         * java/util/zip/InflaterInputStream.java (read): Loop if data has
10365         been read but none output by inflater.
10366         * java/util/zip/natDeflater.cc (reset): Set is_finished.
10367         * java/util/zip/natInflater.cc (reset): Set dist_needed and
10368         is_finished.
10369         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10370         version.
10371         * java/util/zip/ZipFile.java: Replaced with Classpath version.
10372         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10373         * java/util/zip/ZipInputStream.java: Replaced with Classpath
10374         version.
10375         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10376
10377 2002-06-13  Tom Tromey  <tromey@redhat.com>
10378
10379         * java/lang/natString.cc (init): Handle case where DONT_COPY is
10380         true and OFFSET!=0.
10381         * java/lang/String.java (String(char[],int,int,boolean): New
10382         constructor.
10383         * java/lang/Long.java: Imported new version from Classpath.
10384         * java/lang/Number.java: Likewise.
10385         * java/lang/Integer.java: Likewise.
10386         * java/lang/Long.java: Likewise.
10387         * java/lang/Float.java: Likewise.
10388         * java/lang/Boolean.java: Likewise.
10389         * java/lang/Double.java: Likewise.
10390         * java/lang/Void.java: Likewise.
10391
10392 2002-06-12  Tom Tromey  <tromey@redhat.com>
10393
10394         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10395         Fixes PR libgcj/6652.
10396
10397 2002-06-10  Tom Tromey  <tromey@redhat.com>
10398
10399         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10400         (Class::getPackagePortion): Likewise.
10401         * java/lang/Class.java (desiredAssertionStatus): New method from
10402         Classpath.
10403         (getPackagePortion): Likewise.
10404         * java/lang/VMClassLoader.java (defaultAssertionStatus,
10405         packageAssertionStatus, classAssertionStatus): New methods from
10406         Classpath.
10407         * java/lang/ClassLoader.java (defaultAssertionStatus,
10408         systemPackageAssertionStatus, packageAssertionStatus,
10409         systemClassAssertionStatus, classAssertionStatus): New fields from
10410         Classpath.
10411         (setDefaultAssertionStatus, setPackageAssertionStatus,
10412         setClassAssertionStatus, clearAssertionStatus): New methods from
10413         Classpath.
10414         * Makefile.in: Rebuilt.
10415         * Makefile.am (core_java_source_files): Added AssertionError.java.
10416         * java/lang/AssertionError.java: New from Classpath.
10417
10418 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10419
10420         * configure.host: Disable hash synchronization and slow_pthread_self
10421         for cygwin.
10422
10423 2002-06-06  Adam Megacz <adam@xwt.org>
10424
10425         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10426         locking, just like the Sun JVM does.
10427
10428 2002-06-05  H.J. Lu  (hjl@gnu.org)
10429
10430         * Makefile.am (libgcj_convenience.la): Revert the last change.
10431         (libgcj.la): Likewise.
10432         * Makefile.in: Regenerated.
10433
10434 2002-06-04  H.J. Lu  (hjl@gnu.org)
10435
10436         * Makefile.am (libgcj_convenience.la): New target.
10437         (libgcj.la): Depend on libgcj_convenience.la.
10438         * Makefile.in: Regenerated.
10439
10440 2002-06-04  H.J. Lu  (hjl@gnu.org)
10441
10442         * configure.in (--with-newlib): New option:
10443         Check ${with_newlib} instead of ${with_cross_host} for newlib.
10444         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10445         Linux.
10446         * configure: Regenerated.
10447
10448 2002-06-04  Tom Tromey  <tromey@redhat.com>
10449
10450         * java/util/natTimeZone.cc: Include <stdio.h>.
10451
10452 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
10453
10454         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10455         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10456         Set SIGNAL_HANDLER=include/s390-linux.h.
10457         * configure: Regenerate.
10458         * include/s390-linux.h: New file.
10459
10460 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10461
10462         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10463         not "stackTrace".
10464
10465 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10466
10467         Merge JDK 1.4 java.security changes from classpath.
10468
10469         * java/security/AccessControlException.java: Merge from Classpath.
10470         * java/security/AccessController.java: Likewise.
10471         * java/security/AllPermission.java: Likewise.
10472         * java/security/BasicPermission.java: Likewise.
10473         * java/security/Certificate.java: Likewise.
10474         * java/security/CodeSource.java: Likewise.
10475         * java/security/DigestException.java: Likewise.
10476         * java/security/DigestOutputStream.java: Likewise.
10477         * java/security/DomainCombiner.java: Likewise.
10478         * java/security/GeneralSecurityException.java: Likewise.
10479         * java/security/Guard.java: Likewise.
10480         * java/security/GuardedObject.java: Likewise.
10481         * java/security/InvalidAlgorithmParameterException.java: Likewise.
10482         * java/security/InvalidKeyException.java: Likewise.
10483         * java/security/InvalidParameterException.java: Likewise.
10484         * java/security/Key.java: Likewise.
10485         * java/security/KeyException.java: Likewise.
10486         * java/security/KeyManagementException.java: Likewise.
10487         * java/security/KeyStoreException.java: Likewise.
10488         * java/security/MessageDigest.java: Likewise.
10489         * java/security/NoSuchAlgorithmException.java: Likewise.
10490         * java/security/NoSuchProviderException.java: Likewise.
10491         * java/security/Permission.java: Likewise.
10492         * java/security/PermissionCollection.java: Likewise.
10493         * java/security/Permissions.java: Likewise.
10494         * java/security/Policy.java: Likewise.
10495         * java/security/Principal.java: Likewise.
10496         * java/security/PrivateKey.java: Likewise.
10497         * java/security/PrivilegedAction.java: Likewise.
10498         * java/security/PrivilegedActionException.java: Likewise.
10499         * java/security/PrivilegedExceptionAction.java: Likewise.
10500         * java/security/ProtectionDomain.java: Likewise.
10501         * java/security/ProviderException.java: Likewise.
10502         * java/security/PublicKey.java: Likewise.
10503         * java/security/SecureClassLoader.java: Likewise.
10504         * java/security/SecurityPermission.java: Likewise.
10505         * java/security/SignatureException.java: Likewise.
10506         * java/security/UnrecoverableKeyException.java: Likewise.
10507         * java/security/UnresolvedPermission.java: Likewise.
10508         * java/security/acl/AclNotFoundException.java: Likewise.
10509         * java/security/acl/LastOwnerException.java: Likewise.
10510         * java/security/acl/NotOwnerException.java: Likewise.
10511         * java/security/cert/CRLException.java: Likewise.
10512         * java/security/cert/CertificateEncodingException.java: Likewise.
10513         * java/security/cert/CertificateException.java: Likewise.
10514         * java/security/cert/CertificateExpiredException.java: Likewise.
10515         * java/security/cert/CertificateFactory.java: Likewise.
10516         * java/security/cert/CertificateNotYetValidException.java: Likewise.
10517         * java/security/cert/CertificateParsingException.java: Likewise.
10518         * java/security/spec/InvalidKeySpecException.java: Likewise.
10519         * java/security/spec/InvalidParameterSpecException.java: Likewise.
10520
10521         * java/security/cert/CertPath.java: New file.
10522         * java/security/cert/CertPathBuilderException.java: New file.
10523         * java/security/cert/CertPathValidatorException.java: New file.
10524         * java/security/cert/CertStoreException.java: New file.
10525
10526         * Makefile.am: Add new CertPath classes.
10527         * Makefile.in: Rebuilt.
10528
10529         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10530
10531 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10532
10533         Merge JDK 1.4 exception chaining support from classpath.
10534
10535         * java/lang/Throwable.java: Merge 1.4 support from classpath.
10536         (stackTraceBytes): Rename from stackTrace.
10537         * java/lang/Exception.java: Merge from classpath.
10538         * java/lang/StackTraceElement: New file from classpath.
10539         * gcj/javaprims.h: Rebuild CNI namespace declarations.
10540         * Makefile.am: Add StackTraceElement.
10541         * Makefile.in: Rebuilt.
10542
10543 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10544
10545         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10546         they build first.
10547         * Makefile.in: Rebuilt.
10548
10549 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10550
10551         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10552         * configure.in: Likewise.
10553         * aclocal.m4: Regenerate.
10554         * configure: Regenerate.
10555
10556 2002-05-13  Tom Tromey  <tromey@redhat.com>
10557
10558         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10559         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10560         Include platform.h.
10561
10562         Fixes PR libgcj/6389:
10563         * Makefile.in: Rebuilt.
10564         * Makefile.am (nat_source_files): Added natTimeZone.cc.
10565         * java/util/natTimeZone.cc: New file.
10566         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10567         * java/lang/System.java: Merged with Classpath.
10568         * java/lang/Runtime.java: Merged with Classpath.
10569         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10570         security check.
10571         (setIn0): Renamed from setIn; don't run security check.
10572         (setOut0): Renamed from setOut; don't run security check.
10573         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10574         init_properties): Moved to natRuntime.cc.
10575         Moved many includes to natRuntime.cc.
10576         (isWordsBigEndian): New method.
10577         * java/lang/natRuntime.cc: Include Long.h, also other includes
10578         previously in natSystem.cc.
10579         (maxMemory): New function.
10580         (exitInternal): Renamed from `_exit'.
10581         (exit): Removed.
10582         (init): Don't set finalize_on_exit.
10583         (exitInternal): Use `finalizeOnExit'.
10584         (file_encoding, getpwuid_adaptor): New functions from
10585         natSystem.cc.
10586         (insertSystemProperties): New method, renamed from
10587         System::init_properties.  Don't set user.timezone.
10588         (_load): Don't call checkLink.
10589         (execInternal): New method.
10590         (availableProcessors): Likewise.
10591         (nativeGetLibname): Likewise.
10592
10593 2002-05-11  Mark Wielaard  <mark@klomp.org>
10594
10595         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10596         space characters.
10597         (previous_internal): Likewise.
10598
10599 2002-05-09  Tom Tromey  <tromey@redhat.com>
10600
10601         * jni.cc (_Jv_JNIFunctions): Fixed typo.
10602
10603         * java/util/ResourceBundle.java: New version from Classpath.
10604         * java/util/Locale.java: Likewise.
10605
10606 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
10607
10608         * testsuite/lib/libjava.exp (libjava_arguments): Append all
10609         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10610         LD_LIBRARY_PATH.
10611
10612 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
10613
10614         * libjava/Makefile.am (all_java_source_files): New variable.
10615         (all_java_class_files): Likewise.
10616         .java.class: New rule.
10617         (CLEANFILES): Remove tmp-list.
10618         * libjava/Makefile.in: Regenerated.
10619
10620 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
10621
10622         * testsuite/lib/libjava.exp (test_libjava_from_javac):
10623         Append .exe to executable names.  Fix for cygwin.
10624
10625 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
10626
10627         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10628         script entry, and set LD to it when configuring multilibs.
10629         * configure: Rebuilt.
10630
10631 2002-05-07  Tom Tromey  <tromey@redhat.com>
10632
10633         * java/lang/natString.cc (unintern): Fixed typo.
10634
10635 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10636
10637         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10638         with -no-install on *-*-cygwin*.
10639
10640 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10641
10642         * testsuite/lib/libjava.exp (test_libjava_from_source):
10643         Add comment explaining last patch
10644
10645 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
10646
10647         * testsuite/lib/libjava.exp (test_libjava_from_source):
10648         Append .exe to executable names.  If no suffix is present,
10649         then ".exe" is added by default on win32.  Harmless
10650         elsewhere so always do it.
10651
10652 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
10653             Tom Tromey  <tromey@redhat.com>
10654
10655         * java/lang/natSystem.cc (getSystemTimeZone): Use
10656         HAVE_UNDERSCORE_TIMEZONE.
10657         * include/config.h.in: Rebuilt.
10658         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10659         * aclocal.m4, configure: Rebuilt.
10660         * acinclude.m4: Run AC_EXEEXT.
10661         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10662         Add test for `_timezone'.
10663
10664 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10665
10666         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10667         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10668         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10669         * Makefile.in: Rebuilt.
10670
10671 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10672
10673         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10674         use sigaction instead of __libc_sigaction.
10675
10676 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10677
10678         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10679         (libjava_init): Use it to find libgcj.spec.
10680         (libjava_arguments): Likewise.
10681
10682 2002-05-02  David S. Miller  <davem@redhat.com>
10683
10684         PR bootstrap/6525
10685         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10686         __libc_sigaction on Sparc.
10687
10688 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10689
10690         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10691         sys/filio.h, if present.
10692
10693 2002-04-30  Tom Tromey  <tromey@redhat.com>
10694
10695         * java/io/BufferedReader.java (fill): Handle case where markPos
10696         point to ignored \n.  Fixes PR libgcj/6301.
10697
10698 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10699
10700         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10701
10702 2002-04-29  Adam King <aking@dreammechanics.com>
10703
10704         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10705         of file in APPEND mode.
10706
10707 2002-04-25  David S. Miller  <davem@redhat.com>
10708
10709         PR target/6422
10710         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10711         program counter to next program counter minus 8.  Update
10712         comments in this macro to explain why.
10713
10714 2002-04-26  Tom Tromey  <tromey@redhat.com>
10715
10716         * verify.cc (construct_primitive_array_type) [void_type]: New
10717         case.
10718         (branch_prepass): Added dummy entries for unused instruction
10719         values.
10720         (verify_instructions_0): Likewise.
10721         * interpret.cc (continue1): Comment fix.
10722         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10723         * Makefile.in: Rebuilt.
10724         * Makefile.am: Added -Wswitch-enum.
10725
10726 2002-04-24  Tom Tromey  <tromey@redhat.com>
10727
10728         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10729         correct length of UTF-8 encoded name.  Strip leading `/'.
10730         (_Jv_RegisterResource): Use _Jv_Malloc.
10731
10732 2002-04-23  Adam Megacz <adam@xwt.org>
10733
10734         * win32.cc, include/win32.cc (backtrace): Added this function
10735         because Win32 does not supply it.
10736
10737 2002-04-21  David S. Miller  <davem@redhat.com>
10738
10739         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10740         magic instruction reading sequence.
10741
10742 2002-04-21  Mark Wielaard  <mark@klomp.org>
10743
10744         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10745
10746 2002-04-19  David S. Miller  <davem@redhat.com>
10747
10748         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10749         arg.
10750         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10751         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10752         on Sparc too.
10753         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10754         for 64-bit sparc.
10755         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10756         * sysdeps/sparc/locks.h: New file.
10757         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10758         on all sparc Solaris configurations.  Set to
10759         include/dwarf2-signal.h on sparc Linux.
10760         * configure: Regenerate
10761         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10762
10763 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10764
10765         * configure: Rebuilt.
10766         * configure.in (backtrace): Function doesn't work on IA-64.
10767
10768 2002-04-17  Adam King <aking@dreammechanics.com>
10769
10770         * java/io/File.java (normalizePath): Add Win32 support for auto
10771         conversion of a '/' path separator to Win32's '\' separator.
10772
10773 2002-04-16  Tom Tromey  <tromey@redhat.com>
10774
10775         Fix for PR libgcj/6081:
10776         * Makefile.in: Rebuilt.
10777         * Makefile.am (install-data-local): Use GNU make trick to avoid
10778         shell limit.
10779
10780 2002-04-16  Adam King <aking@dreammechanics.com>
10781             Tom Tromey  <tromey@redhat.com>
10782
10783         * java/io/natFileWin32.cc (performList): Return the correct array
10784         type.  Don't duplicate the creation of a File since it's already
10785         done earlier in the method and the existing code would cause a
10786         ArrayStoreException.  Don't use fixed-size array.
10787         (_access, _stat, attr, getCanonicalPath, performMkdir,
10788         performRenameTo): Don't use fixed-size array.
10789         (getCanonicalPath): Use throw, not _Jv_Throw.
10790
10791 2002-04-15  DJ Delorie  <dj@redhat.com>
10792
10793         * configure.in: Allow building in $srcdir.
10794         * configure: Regenerated.
10795
10796 2002-04-14  Mark Wielaard <mark@klomp.org>
10797
10798         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10799         * java/net/natSocketImpl.cc (close): Likewise.
10800
10801 2002-04-14  Mark Wielaard <mark@klomp.org>
10802
10803         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10804
10805 2002-04-13  Adam King <aking@dreammechanics.com>
10806
10807         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10808         the f/F/d/D modifiers.
10809
10810 2002-04-12  Anthony Green  <green@redhat.com>
10811
10812         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10813         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10814         * Makefile.in: Rebuilt.
10815         * configure.in: Substitute gcc_version.
10816         * configure: Rebuilt.
10817
10818 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10819
10820         * configure.host: Set can_unwind_signal on hosts which support it.
10821         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10822         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10823         exceptions and can_unwind_signal isn't set.
10824         * configure: Rebuilt.
10825
10826 2002-04-11  Tom Tromey  <tromey@redhat.com>
10827
10828         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10829
10830 2002-04-11  Adam King <aking@dreammechanics.com>
10831             Tom Tromey  <tromey@redhat.com>
10832
10833         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10834         _Jv_ThrowNullPointerException): Mark as noreturn.
10835         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10836         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10837         fixes.
10838
10839 2002-04-10  Tom Tromey  <tromey@redhat.com>
10840
10841         * Makefile.in: Rebuilt.
10842         * Makefile.am (java/lang/Thread.h): Mark
10843         _Jv_AttachCurrentThreadAsDaemon as friend.
10844         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10845         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10846         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10847         function.
10848         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10849         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10850         (_Jv_JNI_InvokeFunctions): Added
10851         _Jv_JNI_AttachCurrentThreadAsDaemon.
10852         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10853         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10854         (JNI_CreateJavaVM): Likewise.
10855         (_Jv_JNI_AttachCurrentThread): Likewise.
10856         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10857         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10858         (_Jv_JNIFunctions): Initialize new fields.
10859         (_Jv_JNI_NewDirectByteBuffer): New function.
10860         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10861         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10862         * include/jni.h (JNI_VERSION_1_4): New macro.
10863         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10864         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10865         (JNINativeInterface::NewDirectByteBuffer): New field.
10866         (JNINativeInterface::GetDirectBufferAddress): New field.
10867         (JNINativeInterface::GetDirectBufferCapacity): New field.
10868         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10869         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10870         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10871
10872 2002-04-09  Tom Tromey  <tromey@redhat.com>
10873
10874         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10875
10876 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10877
10878         Fix for PR libgcj/6187:
10879         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10880         distance.
10881
10882 2002-04-07  Mark Wielaard <mark@klomp.org>
10883
10884         * java/util/AbstractMap.java (putAll): Use entrySet size.
10885         (toString): Explicitly use getKey() and getValue().
10886
10887 2002-04-07  Mark Wielaard <mark@klomp.org>
10888
10889         * java/util/Hashtable.java (contains): Remove NullPointer check.
10890         (containsValue): Add NullPointer check.
10891         (remove): Always throw NullPointerException when key
10892         is null.
10893
10894 2002-04-07  Adam King <aking@dreammechanics.com>
10895
10896         * java/lang/natSystem.cc (init_properties): Call new function
10897         _Jv_platform_initProperties.
10898         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10899         support for the System properties os.name, os.arch, os.version,
10900         user.name, user.home, and user.dir.
10901         * include/posix.h, include/win32.h, posix.cc: New function
10902         _Jv_platform_initProperties.
10903
10904 2002-04-06  Mark Wielaard <mark@klomp.org>
10905
10906         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10907
10908 2002-04-06  Mark Wielaard <mark@klomp.org>
10909
10910         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10911         all of the remaining elements.
10912         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10913         (removeRange): If toIndex == fromIndex do
10914         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10915         (removeAll): Always throw NullPointerException when collection is
10916         null.
10917         (retrainAll): Likewise.
10918
10919 2002-04-05  Mark Wielaard <mark@klomp.org>
10920
10921         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10922         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10923
10924 2002-04-05  Adam Megacz <adam@xwt.org>
10925
10926         * exception.cc (abort): added static modifier
10927
10928 2002-04-04  Adam Megacz <adam@xwt.org>
10929
10930         * include/win32.h (_Jv_platform_close_on_exec): added inline
10931         modifier.
10932
10933 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10934
10935         * configure.host: Add case statement to support generic port
10936         properties.  Add *-*-freebsd* section.
10937
10938 2002-04-04  Mark Wielaard  <mark@klomp.org>
10939
10940         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10941         test.
10942         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10943         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10944         that depend on awt code and BufferedByteOutputStream.interrupt.
10945
10946 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10947
10948         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10949         incorrect "hi" value when count > 40.
10950
10951 2002-04-03  Mark Wielaard  <mark@klomp.org>
10952
10953         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10954         ordering.
10955
10956 2002-04-02  Tom Tromey  <tromey@redhat.com>
10957
10958         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10959         not `0'.
10960
10961 2002-04-02  Mark Wielaard  <mark@klomp.org>
10962
10963         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10964         list of testsuite crashers.
10965
10966 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10967
10968         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10969         when resizing table.
10970
10971 2002-04-01  Mark Wielaard  <mark@klomp.org>
10972
10973         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10974         NegativeArraySizeException
10975         (clear(int)): Use sign extended shift.
10976         (flip(int)): Likewise.
10977         (get(int)): Likewise.
10978         (nextClearBit(int)): Likewise.
10979         (nextSetBit(int)): Likewise.
10980         (set(int)): Likewise.
10981
10982 2002-04-01  Mark Wielaard  <mark@klomp.org>
10983
10984         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10985         that can be compiled now and add testsuite crashers to ignore list.
10986
10987 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10988
10989         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10990
10991         * libgcj.spec.in: Override libgcc, not lib.
10992         * libgcj-test.spec.in: Likewise.
10993
10994 2002-03-29  Tom Tromey  <tromey@redhat.com>
10995
10996         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10997         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10998
10999 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
11000
11001         * java/net/PlainDatagramSocketImpl.java
11002         (close): Use native implementation.
11003         (finalize): New method.
11004
11005         * java/net/PlainSocketImpl.java (finalize): New method.
11006
11007         * java/net/natPlainDatagramSocketImpl.cc
11008         (java/io/FileDescriptor.h): Don't include.
11009         (close): Implement method here.
11010         (create): Don't assign fd.
11011
11012         * java/net/natPlainSocketImpl.cc
11013         (java/io/FileDescriptor.h): Don't include.
11014         (create): Don't assign fd.
11015         (accept): Likewise.
11016         (close): Synchronize.
11017
11018 2002-03-27  Richard Henderson  <rth@redhat.com>
11019
11020         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11021
11022 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11023
11024         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11025         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11026         instead of syscall on IA-64.
11027         Add FIXME comment.
11028
11029 2002-03-27  Anthony Green  <green@redhat.com>
11030
11031         * libgcj.spec.in: Add CHECKREFSPEC.
11032         * configure.in: Ditto.
11033         * configure.host: Ditto.  Check references for xscale-elf.
11034         * configure: Rebuilt.
11035
11036 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
11037
11038         * include/dwarf2-signal.h: Temporarily back out last change.
11039
11040 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
11041
11042         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11043
11044 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11045
11046         * configure.in, configure: enable dwarf2-exception-style
11047         exception handling on IA-64.
11048         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11049         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11050         Add FIXME comment.
11051
11052 2002-03-25  Tom Tromey  <tromey@redhat.com>
11053
11054         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11055         (jv_convert_LDFLAGS): Likewise.
11056         (gij_LDFLAGS): Likewise.
11057         (rmic_LDFLAGS): Likewise.
11058         (rmiregistry_LDFLAGS): Likewise.
11059         * configure.in (THREADLDFLAGS): New subst; set correctly for
11060         *BSD.
11061
11062 2002-03-25  Tom Tromey  <tromey@redhat.com>
11063
11064         For PR libgcj/5303:
11065         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11066         and --version.
11067         (help): New method.
11068         (version): Likewise.
11069         * gnu/gcj/convert/Convert.java (version): Removed extraneous
11070         "GNU".
11071         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11072         "GNU".
11073
11074 2002-03-25  Tom Tromey  <tromey@redhat.com>
11075
11076         * java/awt/Component.java (processEvent): Check ComponentEvent
11077         after KeyEvent.
11078
11079 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11080
11081         * java/io/PushbackReader.java: Reformat.
11082
11083         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11084         calculate correct number of bytes skipped.
11085
11086         Based on patch from Intel's ORP team:
11087         * java/io/PushbackInputStream.java (available): Calculate correct
11088         number of bytes in buffer.
11089         (read): Remove redundant bound check. Return bytes from both the
11090         buffer and the stream.
11091
11092 2002-03-24  Tom Tromey  <tromey@redhat.com>
11093
11094         * java/awt/TextComponent.java (TextComponent): Editable by
11095         default.
11096
11097         * java/awt/MenuItem.java (eventMask): No longer private.
11098         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11099         superclass if we didn't handle event.
11100         * java/awt/Checkbox.java (dispatchEventImpl): New method.
11101         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11102         * java/awt/Choice.java (dispatchEventImpl): New method.
11103         * java/awt/List.java (dispatchEventImpl): New method.
11104         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11105         * java/awt/TextComponent.java (dispatchEventImpl): New method.
11106         * java/awt/TextField.java (dispatchEventImpl): New method.
11107
11108 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11109
11110         * java/beans/IntrospectionException.java: Update to 1.4.
11111         * java/beans/PropertyVetoException.java: Ditto.
11112
11113 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
11114
11115         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11116         Arrays.equals instead of ArrayHelper.equalsArray.
11117
11118 2002-03-24  C. Brian Jones <cbj@gnu.org>
11119
11120         * java/beans/Introspector.java: added new static final fields
11121         introduced in 1.2, lots of other updates remain to be done
11122
11123 2002-03-24  C. Brian Jones <cbj@gnu.org>
11124
11125         * java/beans/Introspector.java: reformatting
11126
11127 2002-03-24  C. Brian Jones <cbj@gnu.org>
11128
11129         * java/beans/Introspector.java: default beanInfoSearchPath will
11130         not include sun.beans.infos given we provide no such package and
11131         the API doesn't really require it; gnu.java.beans.info is the
11132         default.
11133
11134 2002-03-24  Mark Wielaard  <mark@klomp.org>
11135
11136         Thanks to Orp developers
11137         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11138         switch TRUE and FALSE return values.
11139
11140 2002-03-23  Tom Tromey  <tromey@redhat.com>
11141
11142         * include/name-finder.h (_Jv_name_finder::myclose): New method.
11143         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11144
11145 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
11146
11147         * java/util/GregorianCalendar.java (minimums, maximums): Correct
11148         MONTH entry.  Fixes PR libgcj/6045.
11149
11150 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
11151
11152         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11153
11154 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11155
11156         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11157         not release_set.
11158         * sysdep/powerpc/locks.h (write_barrier): New function.
11159         * sysdep/i386/locks.h (write_barrier): New function.
11160
11161 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
11162
11163         * include/jni.h Use correct C comments.
11164
11165 2002-03-18  Tom Tromey  <tromey@redhat.com>
11166
11167         * include/jni.h (JNIIMPORT): New macro.
11168         (JNIEXPORT): Likewise.
11169         (JNICALL): Likewise.
11170
11171 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11172
11173         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11174         systems.
11175
11176 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
11177
11178         * include/i386-signal.h (old_i386_kernel_sigaction): New.
11179         INIT_SEGV: Use old_i386_kernel_sigaction.
11180         INIT_FP: Likewise.
11181
11182 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11183
11184         * java/lang/natSystem.cc (init_properties): Update VM version
11185         properties.
11186         * configure.in: Set GCJVERSION.
11187         * acconfig.h: Add GCJVERSION.
11188         * configure: Rebuilt.
11189         * include/config.h.in: Rebuilt.
11190
11191 2002-03-17  Anthony Green  <green@redhat.com>
11192
11193         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11194
11195 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11196
11197         Build a single libgcj.so, without separate gc and zlib libraries.
11198         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11199         SYS_ZLIBS if system zlib is used.
11200         * configure: Rebuilt.
11201         * Makefile.am: Use boehm-gc and zlib convenience libraries.
11202         * Makefile.in: Rebuilt.
11203         * libtool-version: Increment .so version number.
11204
11205         * Makefile.am: Escape quotes in echo.
11206         * Makefile.in: Rebuilt.
11207
11208 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11209
11210         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11211         * Makefile.in: Rebuilt.
11212
11213 2002-03-15  Anthony Green  <green@redhat.com>
11214
11215         * configure.host (FILE): New macro for specifing File
11216         implementation.
11217         * configure: Rebuilt.
11218         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
11219
11220 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
11221
11222         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11223         already implicitly brought in from libgcj.la.
11224         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11225         * Makefile.in: Rebuilt.
11226
11227 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
11228
11229         * THANKS: Fix punctuation, alphabetization.
11230
11231 2002-03-15  Tom Tromey  <tromey@redhat.com>
11232             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11233
11234         Fix for PR libgcj/5944.
11235         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11236
11237 2002-03-15  Anthony Green  <green@redhat.com>
11238
11239         * configure.in (tool_include_dir): Define.
11240         * configure: Rebuilt.
11241         * gcj/Makefile.am: Install libgcj-config.h relative to
11242         tool_include_dir.
11243         * gcj/Makefile: Rebuilt.
11244         * gcj/libgcj-config.h: Add warning comment.
11245
11246 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
11247
11248         * configure.host (powerpc*-darwin*): Enable interpreter.
11249
11250 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11251
11252         * include/posix.h: Add multiple include header protection.
11253         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11254
11255 2002-03-10  Adam Megacz <adam@xwt.org>
11256
11257         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11258
11259 2002-03-10  Tom Tromey  <tromey@redhat.com>
11260
11261         * java/awt/GridLayout.java (layoutContainer): Handle case where
11262         there are no items in container.
11263
11264         * java/lang/Win32Process.java: Added comment.
11265         * include/posix.h (_Jv_platform_close_on_exec): New function.
11266         Include fcntl.h.
11267         * include/win32.h (_Jv_platform_close_on_exec): New function.
11268         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11269         flag.
11270         (accept): Likewise.
11271         * java/net/natPlainDatagramSocketImpl.cc (create): Set
11272         close-on-exec flag.
11273         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11274         flag.
11275
11276 2002-03-09  Tom Tromey  <tromey@redhat.com>
11277
11278         * verify.cc (state::NO_STACK): New constant.
11279         (state::is_unmerged_ret_state): Handle case where stacktop is
11280         NO_STACK.
11281         (state::merge): Handle NO_STACK merges.
11282         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11283         for instruction following jsr.
11284         (stacktop, stackdepth): Removed unused variables.
11285         (pop_jump): Ignore case where all remaining states are skipped.
11286
11287 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11288
11289         * java/awt/ImageMediaEntry: Removed.
11290         * java/awt/MediaEntry: Removed.
11291
11292 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11293
11294         Hashtable synchronization for PowerPC.
11295         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11296         slow_pthread_self. Set up symlink for sysdeps directory.
11297         * configure: Rebuild.
11298         * configure.host: Document more shell variables. Set sysdeps_dir
11299         for most platforms. Set slow_pthread_self for i686. Set
11300         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11301         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11302         that memory barrier is emitted where required.
11303         * prims.cc: 64-bit align static primitive class instances.
11304         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11305         read_barrier() to enforce ordering of reads.
11306         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11307         primitives for PowerPC.
11308         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11309         moved from natObject.cc.
11310         * sysdep/alpha/locks.h: Likewise.
11311         * sysdep/ia64/locks.h: Likewise.
11312         * sysdep/generic/locks.h: Likewise.
11313         * java/lang/natObject.cc: Move thread synchronization primitives to
11314         system-dependent headers.
11315
11316 2002-03-09  Adam Megacz  <adam@xwt.org>
11317
11318         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11319         bytes read and no failure code returned.
11320
11321 2002-03-09  Adam Megacz  <adam@xwt.org>
11322
11323         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11324         definitions to simulate -mthreads.
11325
11326 2002-03-09  Adam Megacz  <adam@xwt.org>
11327
11328         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11329         avoid precision loss.
11330
11331 2002-03-09  Per Bothner  <per@bothner.com>
11332
11333         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
11334         * gnu/gcj/xlib/XImage.java:  Likewise.
11335         * gnu/gcj/xlib/XColor.java:  Likewise.
11336
11337 2002-03-09  Adam Megacz  <adam@xwt.org>
11338
11339         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11340         IOException so that Throwable.printStackTrace fails correctly.
11341
11342 2002-03-08  Adam Megacz  <adam@xwt.org>
11343
11344         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11345         fixed.
11346
11347 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11348
11349         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11350         truncated to int.
11351
11352 2002-03-08  Tom Tromey  <tromey@redhat.com>
11353
11354         * include/jni.h: Include stdio.h.
11355
11356 2002-03-08  Tom Tromey  <tromey@redhat.com>
11357
11358         * posix.cc (internal_gettimeofday): New function.
11359         (_Jv_select): Use it.
11360
11361 2002-03-07  Adam Megacz  <adam@xwt.org>
11362
11363         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11364         WIN32, and added thunks for read(), write(), and close().
11365         * java/net/natPlainSocketImpl.cc (accept, read, read):
11366         Disabled timeouts on WIN32 pending discussion.
11367
11368 2002-03-07  Adam Megacz  <adam@xwt.org>
11369
11370         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11371         returns jlong. Added implementation
11372         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11373         returns jlong.
11374         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11375         returns jlong.
11376         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11377         returns jlong.
11378         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11379         _Jv_platform_gettimeofday signature.
11380
11381 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11382
11383         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11384         (read): Call recv() directly, not _Jv_recv().
11385
11386 2002-03-06  Tom Tromey  <tromey@redhat.com>
11387
11388         * java/io/natFileDescriptorEcos.cc (init): Don't use
11389         GetStdHandle.
11390         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11391         is negative.
11392         (init): Don't use GetStdHandle.
11393
11394         * include/config.h.in: Rebuilt.
11395         * configure: Rebuilt.
11396         * Makefile.in: Rebuilt.
11397
11398 2002-03-06  Adam Megacz  <adam@xwt.org>
11399
11400         * java/io/FileDescriptor.java: Initialize in/out/err in init().
11401         * java/io/natFileDescriptorWin32.cc (init()): Added function.
11402         * java/io/natFileDescriptorPosix.cc (init()): Added function.
11403         * java/io/natFileDescriptorEcos.cc (init()): Added function.
11404
11405 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
11406
11407         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11408         the code for generating include/java-chartables.h.
11409         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11410         merge with Classpath.
11411         * scripts/unicode-muncher.pl: Copy from Classpath.
11412         * scritps/MakeCharTables.java: New file.
11413         * gnu/gcj/convert/Blocks-3.txt: New file.
11414         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11415         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11416         * gnu/java/lang/CharData.java: Copy from Classpath.
11417         * Makefile.am (ordinary_java_source_files): Add
11418         gnu/java/lang/CharData.java.
11419         * configure.in: Remove --enable-fast-character option.
11420         * java/lang/Character.java: Merge algorithms and Javadoc with
11421         Classpath.
11422         * java/lang/natCharacter.cc: Implement Unicode lookup table more
11423         efficiently.
11424         * include/java-chardecomp.h: Regenerate.
11425         * include/java-chartables.h: Regenerate.
11426
11427 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11428
11429         * java/awt/MediaTracker.java: Implemented.
11430         * Makefile.am: Add MediaTracker.
11431         * Makefile.in: Rebuilt.
11432
11433 2002-03-05  Tom Tromey  <tromey@redhat.com>
11434
11435         * java/lang/natPosixProcess.cc (fail): Removed.
11436         (startProcess): Simplified error-handling.  Preserve
11437         LD_LIBRARY_PATH across exec.
11438
11439         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11440         AbstractMethodError.
11441
11442 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11443
11444         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11445         * Makefile.in: Rebuilt.
11446
11447 2002-03-03 Mark Wielaard <mark@klomp.org>
11448
11449         * java/util/Timer (TaskQueue.stop): set elements to zero.
11450
11451 2002-02-28  Anthony Green  <green@redhat.com>
11452
11453         * java/lang/reflect/natMethod.cc (result): Add void* element.
11454         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
11455         constructor test.
11456
11457 2002-02-27  Adam Megacz <adam@xwt.org>
11458
11459         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11460         '#undef STRICT'.
11461
11462 2002-02-26  Tom Tromey  <tromey@redhat.com>
11463
11464         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11465         * gij.cc (version): Use __VERSION__.
11466         * include/config.h.in: Rebuilt.
11467         * acconfig.h (GCJVERSION): Removed.
11468         * configure: Rebuilt.
11469         * configure.in (GCJVERSION): Removed.
11470
11471 2002-02-26  Andreas Schwab  <schwab@suse.de>
11472
11473         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11474         glibcpp_CXX, since libjava uses even another CXX.
11475         * aclocal.m4, configure: Regenerated.
11476
11477 2002-02-26  Tom Tromey  <tromey@redhat.com>
11478
11479         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11480         `1'.
11481
11482 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11483
11484         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11485         dependency tracking for .java files.
11486         * Makefile.in: Rebuilt.
11487
11488 2002-02-24  Adam Megacz  <adam@xwt.org>
11489
11490         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11491         typo. Sorry.
11492
11493 2002-02-24  Adam Megacz  <adam@xwt.org>
11494
11495         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11496         for Win32, changed #ifdefs to check WIN32 instead of the
11497         (now-obsolete) USE_WINSOCK, and removed support for socket
11498         timeouts on Win32 pending further discussion.
11499
11500 2002-02-24  Adam Megacz  <adam@xwt.org>
11501
11502         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11503         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11504         delete
11505
11506 2002-02-24  Adam Megacz  <adam@xwt.org>
11507
11508         * java/lang/Win32Process.java: Created a dummy class to allow
11509         build process to run to completion.
11510
11511 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
11512
11513         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11514         Define ffi_result union for ffi_call result.  Cast
11515         ffi_result members to jvalue.
11516
11517 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
11518
11519         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11520         * testsuite/Makefile.in: Likewise.
11521
11522 2002-02-20  Per Bothner  <per@bothner.com>
11523
11524         * java/net/URL.java (getPath):  New JDK 1.3 method.
11525
11526         * java/net/URLStreamHandler.java (parseURL):
11527         It is wrong to prepend '/' to the file part of a relative url.
11528
11529         * java/net/URLStreamHandler.java (parseURL):
11530         Minor optizations - append '/' rather than "/".
11531
11532         * java/net/URLStreamHandler.java (parseURL):
11533         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11534         We probably should canonicalize for a context-relative url, though.
11535         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
11536         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
11537         (sameFile):  New method.  Uses canonicalizeFilename.
11538
11539 2002-02-22  Tom Tromey  <tromey@redhat.com>
11540
11541         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11542         java.vendor and java.vm.vendor.
11543         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11544         recent copyright date.
11545         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11546         * gij.cc (version): Print `Inc'.
11547
11548 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11549
11550         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11551         * aclocal.m4, configure: Rebuilt.
11552
11553 2002-02-20  Per Bothner  <per@bothner.com>
11554
11555         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
11556         and/or output streams immediately here, instead of using File.exists.
11557         (inputStream, outputStream):  New fields to save open streams.
11558         (getInputStream, getOutputStream):  Use already-opened streams.
11559
11560 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11561
11562         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11563         Use it.
11564         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11565         * aclocal.m4, configure, Makefile.in: Rebuilt.
11566
11567 2002-02-19  Tom Tromey  <tromey@redhat.com>
11568
11569         Fix for PR libgcj/5696:
11570         * verify.cc (is_assignable_from_slow): Never call
11571         _Jv_IsAssignableFrom.
11572         (verify_instructions_0): Added new debug statement.
11573         (state::print): Print information about whether local has
11574         changed.
11575         (state::merge): Don't call note_variable when merging locals.
11576         (state::set_exception): Removed old FIXME comment.
11577
11578 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11579
11580         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11581         enable SO_BROADCAST.
11582
11583 2002-02-18  Jason Merrill  <jason@redhat.com>
11584
11585         * name-finder.cc (toHex): Use word mode, not long long.
11586
11587         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11588
11589 2002-02-15  Tom Tromey  <tromey@redhat.com>
11590
11591         Fix for PR libgcj/5695:
11592         * verify.cc (is_assignable_from_slow): Check to see if target is
11593         an Object before checking to see if source is an interface.
11594         (verify_instructions_0) [op_invokeinterface]: Handle case where
11595         we're making an interface call on Object.
11596
11597 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11598
11599         * Makefile.in: Rebuilt with Eric's change below.
11600
11601         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11602         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11603         Removed functions which are now implemented in Math.java.
11604
11605 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11606
11607         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11608         * Makefile.am (core_java_source_files): Add
11609         java/lang/StrictMath.java.
11610         * java/lang/Math.java: Merge with Classpath.
11611         * java/lang/StrictMath.java: New file - merge with Classpath.
11612
11613 2002-02-14  Mark Wielaard  <mark@klomp.org>
11614
11615         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11616         package as a workaround for gcj 3.0.x
11617
11618 2002-02-14  Mark Wielaard <mark@klomp.org>
11619
11620         * java/security/BasicPermission.java: extends with fully qualified
11621         classname as workaround for gcj 3.0.4.
11622
11623 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11624
11625         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11626         around gcj bug of wrong emitted qualifier for inherited method.
11627         * java/net/SocketImpl.java (setOption, getOption): Ditto.
11628         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11629         constructor to reduce amount of emitted bytecode. While this
11630         happens to work around a jikes 1.15 bug, it is still a useful
11631         patch even for correct compilers.
11632         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11633         * gnu/java/rmi/server/UnicastRemoteCall.java
11634         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11635
11636 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11637
11638         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11639         * java/net/SocketImpl.java: Ditto.
11640         * java/rmi/server/RMIClassLoader.java: Ditto.
11641         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11642
11643 2002-02-14  Mark Wielaard <mark@klomp.org>
11644
11645         Thanks to Takashi Okamoto
11646         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11647         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11648         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11649
11650 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11651
11652         Fix for PR libgcj/5670:
11653         * verify.cc (is_assignable_from_slow): If `source' is interface,
11654         recursively look for merge with `target'.
11655
11656 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11657
11658         * include/jni.h: Fix typo.
11659
11660 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11661
11662         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11663         correctly.
11664
11665 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11666
11667         Fix for PR libgcj/5671:
11668         * verify.cc (state::merge): Handle case where we're merging
11669         against an interface.
11670
11671 2002-02-12  Tom Tromey  <tromey@redhat.com>
11672
11673         * exception.cc (std::abort): Mark as noreturn.
11674
11675 2002-02-12  Adam Megacz <adam@xwt.org>
11676
11677         * java/lang/Win32Process.java: Filled in a placeholder
11678         implementation so Win32 will build.
11679
11680 2002-02-12  Adam Megacz <adam@xwt.org>
11681
11682         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11683         * java/io/natFile.cc: Removed from repository.
11684         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11685
11686 2002-02-12  Adam Megacz <adam@xwt.org>
11687
11688         * win32.cc: Added two #includes to make win32.cc compile.
11689
11690 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11691
11692         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11693         declarations.
11694         (_Jv_InitGC): Don't bother locking, as this is always called from a
11695         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11696
11697 2002-02-11  Adam Megacz <adam@xwt.org>
11698
11699         * include/win32.h: Added _Jv_platform_gettimeofday.
11700         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11701
11702 2002-02-11  Adam Megacz <adam@xwt.org>
11703
11704         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11705         Added #undef STRICT to make windows.h and
11706         java/lang/reflect/Modifier.h cooperate.
11707
11708 2002-02-11  Adam Megacz <adam@xwt.org>
11709
11710         * java/io/natFileWin32.cc: Created a placeholder class with lots
11711         of FIXMEs.
11712
11713 2002-02-11  Adam Megacz <adam@xwt.org>
11714
11715         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11716         std::abort() to simply abort(). Also added "fake" std::abort() so
11717         we can #include unwind-pe.h without having to link against
11718         libstdc++-v3.
11719
11720 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11721
11722         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11723
11724 2002-02-08  Tom Tromey  <tromey@redhat.com>
11725
11726         * interpret.cc (convert): New function.
11727         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11728         convert.
11729         Include Long.h.
11730
11731 2002-02-08  Anthony Green  <green@redhat.com>
11732
11733         * configure.host: Add support for xscale-elf embedded target.
11734
11735 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11736
11737         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11738         dereferenced.
11739         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11740         frame.
11741
11742 2002-02-07  Tom Tromey  <tromey@redhat.com>
11743
11744         * java/io/natFile.cc (_access): Use __builtin_alloca.
11745         (_stat): Likewise.
11746         (attr): Likewise.
11747         (getCanonicalPath): Likewise.
11748         (performList): Likewise.
11749         (performMkdir): Likewise.
11750         (performSetReadOnly): Likewise.
11751         (performRenameTo): Likewise.
11752         (performSetLastModified): Likewise.
11753         (performCreate): Likewise.
11754         (performDelete): Likewise.
11755
11756 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11757
11758         * HACKING: Fix URL for the automake-gcj.
11759
11760 2002-02-07  Tom Tromey  <tromey@redhat.com>
11761
11762         * java/lang/natThrowable.cc: Updated copyright.
11763         * java/io/natFileWin32.cc: Updated copyright.
11764         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11765         * win32-threads.cc: Updated copyright.
11766         * name-finder.cc: Updated copyright.
11767         * include/name-finder.h: Updated copyright.
11768
11769         * include/name-finder.h: Conditionally include sys/wait.h.
11770         * include/config.h.in: Rebuilt.
11771
11772         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11773         Size buffer based on real size of string.
11774         (_stat): Likewise.
11775         (attr): Likewise.
11776         (getCanonicalPath): Likewise.
11777         (performList): Likewise.
11778         (performMkdir): Likewise.
11779         (performSetReadOnly): Likewise.
11780         (unixroot): Removed.
11781         (performRenameTo): Likewise.
11782         (performSetLastModified): Likewise.
11783         (performCreate): Likewise.
11784         (performDelete): Likewise.
11785         (performListRoots): Always return new array.
11786
11787         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11788         * win32.cc (win32_exception_handler): Now static.
11789         * include/win32.h (_Jv_platform_initialize): Declare.
11790         (win32_exception_handler): Don't declare.
11791         * java/lang/natSystem.cc (currentTimeMillis): Use
11792         _Jv_platform_gettimeofday.
11793         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11794         (_Jv_select): Use new name.
11795         (_Jv_platform_initialize): New function.
11796         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11797         _Jv_gettimeofday.
11798         (_Jv_platform_initialize): Declare.
11799
11800         * configure: Rebuilt.
11801         * configure.in: Removed unnecessary parens.
11802
11803 2002-02-06  Adam Megacz <adam@xwt.org>
11804
11805        * configure.in: Changed mingw) to *mingw*).
11806        * win32.cc: Created this file.
11807        * win32.h: Created this file.
11808        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11809        win32_exception_handler from prims.cc to win32.cc, added
11810        header in win32.h.
11811        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11812        longer needed now that we have platform.h
11813
11814 2002-02-06  Adam Megacz <adam@xwt.org>
11815
11816         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11817         use uint<n>_t instead of LONG and BYTE
11818
11819 2002-02-06  Adam Megacz <adam@xwt.org>
11820
11821         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11822
11823 2002-02-06  Anthony Green  <green@redhat.com>
11824
11825         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11826         Implement missing method stubs.
11827         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11828         targets.
11829         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11830         concept of timezones.
11831         (init_properties): Don't refer to _Jv_Environment_Properties
11832         when this feature is not available.
11833         * include/config.h.in: Rebuilt.
11834         * acconfig.h: Add DISABLE_MAIN_ARGS.
11835         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11836         * configure: Rebuilt.
11837         * configure.in: Add --disable-main-args option.  Test for
11838           opendir function.  Replace AC_CHECK_SIZEOF with
11839           AC_COMPILE_CHECK_SIZEOF.
11840         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11841         * aclocal.m4: Rebuilt.
11842         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11843
11844 2002-02-06  Tom Tromey  <tromey@redhat.com>
11845
11846         * verify.cc (require_array_type): If argument is a null array of
11847         references, return null as the element type.
11848
11849 2002-02-06  Mark Wielaard  <mark@klomp.org>
11850
11851         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11852         duplicate of a wide type.
11853
11854 2002-02-06  Tom Tromey  <tromey@redhat.com>
11855
11856         * verify.cc (type::isnull): New method.
11857         (require_array_type): Handle case where array is null.
11858         (verify_instructions_0) [op_arraylength]: Likewise.
11859
11860 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11861
11862         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11863         Symlink PLATFORMH to platform.h.
11864         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11865         PLATFORMOBJS.
11866         * java/lang/natSystem.cc: #include platform.h not posix.h.
11867         * Makefile.in: Rebuilt with libgcj automake.
11868         * configure: Rebuilt.
11869
11870 2002-02-05  Richard Henderson  <rth@redhat.com>
11871
11872         * Makefile.in: Undo munging last change.
11873
11874 2002-02-04  Adam Megacz <adam@xwt.org>
11875
11876         * win32.cc: Created it.
11877         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11878         which is set to posix.cc or win32.cc.
11879         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11880
11881 2002-02-04  Adam Megacz <adam@xwt.org>
11882
11883         * configure.in: Corrected mingw case branches; added * before
11884         and after.
11885
11886 2002-02-04  Adam Megacz <adam@xwt.org>
11887
11888         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11889         if compiling for win32
11890
11891 2002-02-04  Adam Megacz <adam@xwt.org>
11892
11893         * win32-threads.cc: #undef STRICT after gc.h inclusion
11894
11895 2002-02-02  Tom Tromey  <tromey@redhat.com>
11896
11897         * Makefile.in: Rebuilt.
11898
11899 2002-02-02  Jason Merrill  <jason@redhat.com>
11900
11901         * Makefile.am (clean-nat): New target.
11902
11903 2002-02-02  Tom Tromey  <tromey@redhat.com>
11904
11905         * java/io/natFile.cc: Removed old "FIXME" comments.
11906
11907 2002-02-01  Tom Tromey  <tromey@redhat.com>
11908
11909         * java/lang/natPosixProcess.cc (myclose): New function.
11910         (fail): Use it.
11911         (startProcess): Likewise.
11912
11913 2002-02-01  Adam Megacz <adam@xwt.org>
11914
11915         * prims.cc: Added #undef STRICT after #include<windows.h>.
11916
11917 2002-02-01  Adam Megacz <adam@xwt.org>
11918
11919         * prims.cc
11920         (_Jv_CreateJavaVM): We now use WIN32 instead of
11921         USE_WIN32_SIGNALLING and USE_WINSOCK.
11922         (win32_exception_handler): Now throws an exception out of
11923         the signal handler; assumes SJLJ.
11924
11925 2002-02-01  Adam Megacz <adam@xwt.org>
11926
11927         * win32-threads.cc:
11928         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11929         wait() algorithm to make it safe.
11930         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11931         Added lazy creation of Win32 Events for better performance
11932         (really_start): This now uses GC_CreateThread so boehm-gc
11933         knows about new threads even when statically linked.
11934
11935 2002-02-01  Adam Megacz <adam@xwt.org>
11936
11937         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11938         enable safer wait() algorithm.
11939         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11940         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11941         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11942         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11943         instead of mutex.
11944         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11945
11946 2002-02-01  Adam Megacz <adam@xwt.org>
11947
11948         * configure.in: Added support for mingw.
11949         * java/lang/Win32Process.java: Created as empty file.
11950         * java/lang/natWin32Process.cc: Created as empty file.
11951
11952 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11953
11954         PR java/4972
11955         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11956         for libiconv in LIBICONV variable.
11957         * configure: Regenerated.
11958
11959 2002-01-31  Tom Tromey  <tromey@redhat.com>
11960
11961         * verify.cc (state::enter_subroutine): New method.
11962         (handle_jsr_insn): Use it.
11963         (state::merge): When processing a `ret', correctly use
11964         subroutine's state to determine which local variables have
11965         changed.
11966         (push_exception_jump): Don't let stack overflow.
11967
11968 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11969
11970         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11971         --version output.
11972
11973 2002-01-30  Tom Tromey  <tromey@redhat.com>
11974
11975         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11976         parameter for `recv' return type.
11977
11978         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11979         (state::merge): ... not here.
11980         (subr_entry_info): New structure.
11981         (entry_points): New field.
11982         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11983         entry_points.
11984
11985 2002-01-29  Tom Tromey  <tromey@redhat.com>
11986
11987         * java/awt/List.java (addNotify): Correctly check to see if peer
11988         does not exist.
11989
11990         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11991         to compute height of each cell, and number of columns to compute
11992         width of each cell.
11993         * java/awt/Window.java (getOwnedWindows): Don't return null.
11994         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11995         of component.  Increment x using horizontal gap, not vertical
11996         gap.
11997
11998 2002-01-28  Tom Tromey  <tromey@redhat.com>
11999
12000         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12001         `nargs' byte is number of words, not number of arguments.
12002
12003 2002-01-27  Tom Tromey  <tromey@redhat.com>
12004
12005         * java/awt/event/MouseEvent.java (modifiers): Removed field.
12006         (when): Likewise.
12007         * java/awt/event/InputEvent.java (modifiers, when): Now
12008         package-private.
12009
12010         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12011         and to-do list.
12012         (state::merge): Use current class' class loader.
12013         (state::print): Print subroutine.
12014         (state::merge): Don't look at subroutine of unmerged `ret'.
12015
12016 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12017
12018         * nogc.cc: Remove warnings.
12019         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12020         New functions.
12021
12022 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12023
12024         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12025         int, int):  Remove empty "if" statement to work around compiler bug.
12026         (newPixels(int[], ColorModel, int, int): Likewise.
12027
12028 2002-01-25  Per Bothner  <per@bothner.com>
12029
12030         * verify.cc (verify_fail):  Change from being a top-level function
12031         to e method of _Jv_BytecodeVerifier.  Emit current method name.
12032         Pass the current verifier to type: and state: methods as needed,
12033         for better error messages, and for resolve.
12034         (resolve):  Pass current class's loader for Class.forName and
12035         _Jv_FindClassFromSignature, rather than using the default loader.
12036         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
12037         (get_type_val_for_signature):  Make non-static.
12038         (various methods):  Pass start_PC implicitly, not explicitly.
12039
12040 2002-01-25  Tom Tromey  <tromey@redhat.com>
12041
12042         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12043         loop termination condition.
12044         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12045         width.
12046
12047 2002-01-24  Tom Tromey  <tromey@redhat.com>
12048
12049         * java/awt/Shape.java: Merged with Classpath.
12050         * java/awt/Scrollbar.java: Merged with Classpath.
12051
12052         * java/awt/Container.java (addNotify): Unconditionally call
12053         addNotifyContainerChildren and superclass addNotify.
12054
12055         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12056         getAlpha, not getBlue.
12057
12058 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12059
12060         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12061
12062         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12063         (grabPixels(long)): Wait to be notified that the ImageProducer has
12064         completed.
12065
12066 2002-01-24  Per Bothner  <per@bothner.com>
12067
12068         * verify.cc (is_assignable_from_slow): If target is an interface,
12069         we must still check the source's superclass before giving up.
12070
12071 2002-01-24  Tom Tromey  <tromey@redhat.com>
12072
12073         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12074
12075 2002-01-23  Tom Tromey  <tromey@redhat.com>
12076
12077         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12078         `else'.
12079
12080         * Makefile.in: Rebuilt.
12081         * Makefile.am (awt_java_source_files): Added new files.
12082         * java/awt/Toolkit.java: Merged with Classpath.
12083         * java/awt/PrintGraphics.java: New file from Classpath.
12084         * java/awt/PrintJob.java: New file from Classpath.
12085         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12086         * java/awt/datatransfer/ClipboardOwner.java: New file from
12087         Classpath.
12088         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12089         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12090         * java/awt/datatransfer/MimeTypeParseException.java: New file from
12091         Classpath.
12092         * java/awt/datatransfer/StringSelection.java: New file from
12093         Classpath.
12094         * java/awt/datatransfer/SystemFlavorMap.java: New file from
12095         Classpath.
12096         * java/awt/datatransfer/Transferable.java: New file from
12097         Classpath.
12098         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12099         from Classpath.
12100
12101         * Makefile.in: Rebuilt.
12102         * Makefile.am (awt_java_source_files): Added new files.
12103         * java/awt/image/AreaAveragingScaleFilter.java: New file from
12104         Classpath.
12105         * java/awt/image/CropImageFilter.java: New file from Classpath.
12106         * java/awt/image/FilteredImageSource.java: New file from
12107         Classpath.
12108         * java/awt/image/ImageFilter.java: New file from Classpath.
12109         * java/awt/image/MemoryImageSource.java: New file from Classpath.
12110         * java/awt/image/PixelGrabber.java: New file from Classpath.
12111         * java/awt/image/RGBImageFilter.java: New file from Classpath.
12112         * java/awt/image/ReplicateScaleFilter.java: New file from
12113         Classpath.
12114         * java/awt/image/ImageProducer.java: Replaced with Classpath
12115         version.
12116         * java/awt/image/ImageObserver.java: Replaced with Classpath
12117         version.
12118         * java/awt/image/ImageConsumer.java: Replaced with Classpath
12119         version.
12120         * java/awt/GridBagConstraints.java (clone): Catch
12121         CloneNotSupportedException.
12122
12123 2002-01-23  Per Bothner  <per@bothner.com>
12124
12125         * java/lang/reflect/natField.cc (setAddr):  New function.
12126         Calls getAddr and then checks that the field isn't final.
12127         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12128         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
12129         (set):  Call setAddr before check that new value has right type,
12130         to better match specified semantics.
12131
12132 2002-01-22  Tom Tromey  <tromey@redhat.com>
12133
12134         * java/awt/TextField.java: Replaced with Classpath version.
12135         * java/awt/TextArea.java: Replaced with Classpath version.
12136         * java/awt/TextComponent.java: Replaced with Classpath version.
12137
12138         * java/awt/GridBagConstraints.java: Updated copyright.
12139
12140 2002-01-22  Mark Wielaard <mark@klomp.org>
12141
12142         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12143         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12144         java/awt/Dialog.java java/awt/FileDialog.java
12145         java/awt/Font.java java/awt/FontMetrics.java
12146         java/awt/Image.java java/awt/ImageMediaEntry.java
12147         java/awt/Insets.java java/awt/List.java
12148         java/awt/MediaEntry.java java/awt/MediaTracker.java
12149         java/awt/Menu.java java/awt/MenuBar.java
12150         java/awt/MenuContainer.java java/awt/MenuShortcut.java
12151         java/awt/PaintContext.java java/awt/Panel.java
12152         java/awt/PopupMenu.java java/awt/SystemColor.java
12153         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12154         java/awt/peer/CheckboxMenuItemPeer.java
12155         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12156         java/awt/peer/ComponentPeer.java
12157         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12158         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12159         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12160         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12161         java/awt/peer/MenuBarPeer.java
12162         java/awt/peer/MenuComponentPeer.java
12163         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12164         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12165         java/awt/peer/ScrollPanePeer.java
12166         java/awt/peer/ScrollbarPeer.java
12167         java/awt/peer/TextAreaPeer.java
12168         java/awt/peer/TextComponentPeer.java
12169         java/awt/peer/TextFieldPeer.java
12170         java/awt/peer/WindowPeer.java: Add license clarification.
12171
12172 2002-01-22  Mark Wielaard <mark@klomp.org>
12173
12174         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12175         gnu/gcj/runtime/StringBuffer.java
12176         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12177         gnu/java/awt/ComponentDataBlitOp.java
12178         gnu/java/awt/GLightweightPeer.java
12179         gnu/java/beans/BeanInfoEmbryo.java
12180         gnu/java/beans/EmptyBeanInfo.java
12181         gnu/java/beans/ExplicitBeanInfo.java
12182         gnu/java/beans/IntrospectionIncubator.java
12183         gnu/java/beans/editors/ColorEditor.java
12184         gnu/java/beans/editors/FontEditor.java
12185         gnu/java/beans/editors/NativeBooleanEditor.java
12186         gnu/java/beans/editors/NativeByteEditor.java
12187         gnu/java/beans/editors/NativeDoubleEditor.java
12188         gnu/java/beans/editors/NativeFloatEditor.java
12189         gnu/java/beans/editors/NativeIntEditor.java
12190         gnu/java/beans/editors/NativeLongEditor.java
12191         gnu/java/beans/editors/NativeShortEditor.java
12192         gnu/java/beans/editors/StringEditor.java
12193         gnu/java/beans/info/ComponentBeanInfo.java
12194         gnu/java/io/ClassLoaderObjectInputStream.java
12195         gnu/java/io/NullOutputStream.java
12196         gnu/java/io/ObjectIdentityWrapper.java
12197         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12198         gnu/java/lang/reflect/TypeSignature.java
12199         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12200         gnu/java/locale/Calendar_en.java
12201         gnu/java/locale/Calendar_nl.java
12202         gnu/java/locale/LocaleInformation.java
12203         gnu/java/locale/LocaleInformation_de.java
12204         gnu/java/locale/LocaleInformation_en.java
12205         gnu/java/locale/LocaleInformation_nl.java
12206         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12207         gnu/java/rmi/registry/RegistryImpl.java
12208         gnu/java/rmi/rmic/Compile_gcj.java
12209         gnu/java/rmi/rmic/Compiler.java
12210         gnu/java/rmi/rmic/CompilerProcess.java
12211         gnu/java/rmi/rmic/RMIC.java
12212         gnu/java/rmi/rmic/TabbedWriter.java
12213         gnu/java/rmi/server/ProtocolConstants.java
12214         gnu/java/rmi/server/RMIDefaultSocketFactory.java
12215         gnu/java/rmi/server/RMIHashes.java
12216         gnu/java/rmi/server/RMIObjectInputStream.java
12217         gnu/java/rmi/server/RMIObjectOutputStream.java
12218         gnu/java/rmi/server/UnicastConnection.java
12219         gnu/java/rmi/server/UnicastConnectionManager.java
12220         gnu/java/rmi/server/UnicastRef.java
12221         gnu/java/rmi/server/UnicastRemoteCall.java
12222         gnu/java/rmi/server/UnicastRemoteStub.java
12223         gnu/java/rmi/server/UnicastServer.java
12224         gnu/java/rmi/server/UnicastServerRef.java
12225         gnu/java/security/provider/DefaultPolicy.java
12226         gnu/java/security/provider/Gnu.java
12227         gnu/java/security/provider/SHA.java
12228         gnu/java/security/provider/SHA1PRNG.java
12229         gnu/java/text/BaseBreakIterator.java
12230         gnu/java/text/CharacterBreakIterator.java
12231         gnu/java/text/LineBreakIterator.java
12232         gnu/java/text/SentenceBreakIterator.java
12233         gnu/java/text/WordBreakIterator.java
12234         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12235         java/applet/AppletContext.java java/applet/AppletStub.java
12236         java/applet/AudioClip.java java/awt/AWTError.java
12237         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12238         java/awt/AWTException.java java/awt/AWTPermission.java
12239         java/awt/ActiveEvent.java java/awt/BorderLayout.java
12240         java/awt/Button.java java/awt/Canvas.java
12241         java/awt/CardLayout.java java/awt/Checkbox.java
12242         java/awt/CheckboxGroup.java java/awt/Component.java
12243         java/awt/ComponentOrientation.java java/awt/Container.java
12244         java/awt/Dimension.java java/awt/Event.java
12245         java/awt/EventDispatchThread.java java/awt/EventQueue.java
12246         java/awt/FlowLayout.java java/awt/Frame.java
12247         java/awt/Graphics.java java/awt/Graphics2D.java
12248         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12249         java/awt/IllegalComponentStateException.java
12250         java/awt/ItemSelectable.java java/awt/Label.java
12251         java/awt/LayoutManager.java java/awt/LayoutManager2.java
12252         java/awt/MenuComponent.java java/awt/MenuItem.java
12253         java/awt/Paint.java java/awt/Point.java
12254         java/awt/Rectangle.java java/awt/RenderingHints.java
12255         java/awt/Transparency.java java/awt/Window.java
12256         java/awt/color/ColorSpace.java
12257         java/awt/color/ICC_ColorSpace.java
12258         java/awt/color/ICC_Profile.java
12259         java/awt/event/HierarchyBoundsAdapter.java
12260         java/awt/event/HierarchyBoundsListener.java
12261         java/awt/event/HierarchyEvent.java
12262         java/awt/event/HierarchyListener.java
12263         java/awt/geom/AffineTransform.java
12264         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12265         java/awt/geom/IllegalPathStateException.java
12266         java/awt/geom/Line2D.java
12267         java/awt/geom/NoninvertibleTransformException.java
12268         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12269         java/awt/geom/Rectangle2D.java
12270         java/awt/geom/RectangularShape.java
12271         java/awt/geom/RoundRectangle2D.java
12272         java/awt/image/BufferedImage.java
12273         java/awt/image/ColorModel.java
12274         java/awt/image/ComponentColorModel.java
12275         java/awt/image/ComponentSampleModel.java
12276         java/awt/image/DataBuffer.java
12277         java/awt/image/DataBufferByte.java
12278         java/awt/image/DataBufferInt.java
12279         java/awt/image/DataBufferUShort.java
12280         java/awt/image/DirectColorModel.java
12281         java/awt/image/PackedColorModel.java
12282         java/awt/image/Raster.java java/awt/image/RasterOp.java
12283         java/awt/image/SampleModel.java
12284         java/awt/image/SinglePixelPackedSampleModel.java
12285         java/awt/image/WritableRaster.java
12286         java/beans/AppletInitializer.java
12287         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12288         java/beans/Beans.java java/beans/Customizer.java
12289         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12290         java/beans/FeatureDescriptor.java
12291         java/beans/IndexedPropertyDescriptor.java
12292         java/beans/IntrospectionException.java
12293         java/beans/Introspector.java java/beans/MethodDescriptor.java
12294         java/beans/ParameterDescriptor.java
12295         java/beans/PropertyChangeEvent.java
12296         java/beans/PropertyChangeListener.java
12297         java/beans/PropertyChangeSupport.java
12298         java/beans/PropertyDescriptor.java
12299         java/beans/PropertyEditor.java
12300         java/beans/PropertyEditorManager.java
12301         java/beans/PropertyEditorSupport.java
12302         java/beans/PropertyVetoException.java
12303         java/beans/SimpleBeanInfo.java
12304         java/beans/VetoableChangeListener.java
12305         java/beans/VetoableChangeSupport.java
12306         java/beans/Visibility.java
12307         java/beans/beancontext/BeanContext.java
12308         java/beans/beancontext/BeanContextChild.java
12309         java/beans/beancontext/BeanContextChildComponentProxy.java
12310         java/beans/beancontext/BeanContextChildSupport.java
12311         java/beans/beancontext/BeanContextContainerProxy.java
12312         java/beans/beancontext/BeanContextEvent.java
12313         java/beans/beancontext/BeanContextMembershipEvent.java
12314         java/beans/beancontext/BeanContextMembershipListener.java
12315         java/beans/beancontext/BeanContextProxy.java
12316         java/beans/beancontext/BeanContextServiceAvailableEvent.java
12317         java/beans/beancontext/BeanContextServiceProvider.java
12318         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12319         java/beans/beancontext/BeanContextServiceRevokedEvent.java
12320         java/beans/beancontext/BeanContextServiceRevokedListener.java
12321         java/beans/beancontext/BeanContextServices.java
12322         java/beans/beancontext/BeanContextServicesListener.java
12323         java/io/BufferedInputStream.java
12324         java/io/BufferedOutputStream.java java/io/BufferedReader.java
12325         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12326         java/io/ByteArrayOutputStream.java
12327         java/io/CharArrayReader.java java/io/CharArrayWriter.java
12328         java/io/CharConversionException.java java/io/DataInput.java
12329         java/io/DataInputStream.java java/io/DataOutput.java
12330         java/io/EOFException.java java/io/Externalizable.java
12331         java/io/FileFilter.java java/io/FileNotFoundException.java
12332         java/io/FilePermission.java java/io/FileReader.java
12333         java/io/FileWriter.java java/io/FilenameFilter.java
12334         java/io/FilterInputStream.java java/io/FilterOutputStream.java
12335         java/io/FilterReader.java java/io/FilterWriter.java
12336         java/io/IOException.java java/io/InputStream.java
12337         java/io/InterruptedIOException.java
12338         java/io/InvalidClassException.java
12339         java/io/InvalidObjectException.java
12340         java/io/NotActiveException.java
12341         java/io/NotSerializableException.java java/io/ObjectInput.java
12342         java/io/ObjectInputStream.java
12343         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12344         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12345         java/io/ObjectStreamConstants.java
12346         java/io/ObjectStreamException.java
12347         java/io/ObjectStreamField.java
12348         java/io/OptionalDataException.java java/io/OutputStream.java
12349         java/io/PipedInputStream.java java/io/PipedOutputStream.java
12350         java/io/PipedReader.java java/io/PipedWriter.java
12351         java/io/PrintWriter.java java/io/PushbackInputStream.java
12352         java/io/PushbackReader.java java/io/Reader.java
12353         java/io/SequenceInputStream.java java/io/Serializable.java
12354         java/io/SerializablePermission.java
12355         java/io/StreamCorruptedException.java
12356         java/io/StreamTokenizer.java
12357         java/io/StringBufferInputStream.java java/io/StringReader.java
12358         java/io/StringWriter.java java/io/SyncFailedException.java
12359         java/io/UTFDataFormatException.java
12360         java/io/UnsupportedEncodingException.java
12361         java/io/WriteAbortedException.java java/io/Writer.java
12362         java/lang/AbstractMethodError.java
12363         java/lang/ArithmeticException.java
12364         java/lang/ArrayIndexOutOfBoundsException.java
12365         java/lang/ArrayStoreException.java java/lang/Boolean.java
12366         java/lang/Byte.java java/lang/CharSequence.java
12367         java/lang/ClassCastException.java
12368         java/lang/ClassCircularityError.java
12369         java/lang/ClassFormatError.java
12370         java/lang/ClassNotFoundException.java
12371         java/lang/CloneNotSupportedException.java
12372         java/lang/Cloneable.java java/lang/Comparable.java
12373         java/lang/Compiler.java java/lang/Double.java
12374         java/lang/Error.java java/lang/Exception.java
12375         java/lang/ExceptionInInitializerError.java
12376         java/lang/Float.java java/lang/IllegalAccessError.java
12377         java/lang/IllegalAccessException.java
12378         java/lang/IllegalArgumentException.java
12379         java/lang/IllegalMonitorStateException.java
12380         java/lang/IllegalStateException.java
12381         java/lang/IllegalThreadStateException.java
12382         java/lang/IncompatibleClassChangeError.java
12383         java/lang/IndexOutOfBoundsException.java
12384         java/lang/InheritableThreadLocal.java
12385         java/lang/InstantiationError.java
12386         java/lang/InstantiationException.java java/lang/Integer.java
12387         java/lang/InternalError.java
12388         java/lang/InterruptedException.java
12389         java/lang/LinkageError.java java/lang/Long.java
12390         java/lang/NegativeArraySizeException.java
12391         java/lang/NoClassDefFoundError.java
12392         java/lang/NoSuchFieldError.java
12393         java/lang/NoSuchFieldException.java
12394         java/lang/NoSuchMethodError.java
12395         java/lang/NoSuchMethodException.java
12396         java/lang/NullPointerException.java java/lang/Number.java
12397         java/lang/NumberFormatException.java
12398         java/lang/OutOfMemoryError.java java/lang/Package.java
12399         java/lang/Process.java java/lang/Runnable.java
12400         java/lang/RuntimeException.java
12401         java/lang/RuntimePermission.java
12402         java/lang/SecurityException.java
12403         java/lang/SecurityManager.java java/lang/Short.java
12404         java/lang/StackOverflowError.java java/lang/StringBuffer.java
12405         java/lang/StringIndexOutOfBoundsException.java
12406         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12407         java/lang/ThreadLocal.java java/lang/UnknownError.java
12408         java/lang/UnsatisfiedLinkError.java
12409         java/lang/UnsupportedClassVersionError.java
12410         java/lang/UnsupportedOperationException.java
12411         java/lang/VerifyError.java java/lang/VirtualMachineError.java
12412         java/lang/Void.java java/lang/ref/PhantomReference.java
12413         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12414         java/lang/ref/SoftReference.java
12415         java/lang/ref/WeakReference.java
12416         java/lang/reflect/AccessibleObject.java
12417         java/lang/reflect/InvocationTargetException.java
12418         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12419         java/lang/reflect/ReflectPermission.java
12420         java/math/BigDecimal.java java/math/BigInteger.java
12421         java/net/Authenticator.java java/net/BindException.java
12422         java/net/ConnectException.java java/net/ContentHandler.java
12423         java/net/ContentHandlerFactory.java
12424         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12425         java/net/FileNameMap.java java/net/MalformedURLException.java
12426         java/net/MulticastSocket.java java/net/NetPermission.java
12427         java/net/NoRouteToHostException.java
12428         java/net/PasswordAuthentication.java
12429         java/net/ProtocolException.java java/net/ServerSocket.java
12430         java/net/Socket.java java/net/SocketException.java
12431         java/net/SocketImpl.java java/net/SocketImplFactory.java
12432         java/net/SocketOptions.java java/net/SocketPermission.java
12433         java/net/URLDecoder.java java/net/URLEncoder.java
12434         java/net/URLStreamHandlerFactory.java
12435         java/net/UnknownHostException.java
12436         java/net/UnknownServiceException.java
12437         java/rmi/AccessException.java
12438         java/rmi/AlreadyBoundException.java
12439         java/rmi/ConnectException.java
12440         java/rmi/ConnectIOException.java
12441         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12442         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12443         java/rmi/NotBoundException.java
12444         java/rmi/RMISecurityException.java
12445         java/rmi/RMISecurityManager.java java/rmi/Remote.java
12446         java/rmi/RemoteException.java java/rmi/ServerError.java
12447         java/rmi/ServerException.java
12448         java/rmi/ServerRuntimeException.java
12449         java/rmi/StubNotFoundException.java
12450         java/rmi/UnexpectedException.java
12451         java/rmi/UnknownHostException.java
12452         java/rmi/UnmarshalException.java
12453         java/rmi/activation/Activatable.java
12454         java/rmi/activation/ActivateFailedException.java
12455         java/rmi/activation/ActivationDesc.java
12456         java/rmi/activation/ActivationException.java
12457         java/rmi/activation/ActivationGroup.java
12458         java/rmi/activation/ActivationGroupDesc.java
12459         java/rmi/activation/ActivationGroupID.java
12460         java/rmi/activation/ActivationID.java
12461         java/rmi/activation/ActivationInstantiator.java
12462         java/rmi/activation/ActivationMonitor.java
12463         java/rmi/activation/ActivationSystem.java
12464         java/rmi/activation/Activator.java
12465         java/rmi/activation/UnknownGroupException.java
12466         java/rmi/activation/UnknownObjectException.java
12467         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12468         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12469         java/rmi/registry/Registry.java
12470         java/rmi/registry/RegistryHandler.java
12471         java/rmi/server/ExportException.java
12472         java/rmi/server/LoaderHandler.java
12473         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12474         java/rmi/server/Operation.java
12475         java/rmi/server/RMIClassLoader.java
12476         java/rmi/server/RMIClientSocketFactory.java
12477         java/rmi/server/RMIFailureHandler.java
12478         java/rmi/server/RMIServerSocketFactory.java
12479         java/rmi/server/RMISocketFactory.java
12480         java/rmi/server/RemoteCall.java
12481         java/rmi/server/RemoteObject.java
12482         java/rmi/server/RemoteRef.java
12483         java/rmi/server/RemoteServer.java
12484         java/rmi/server/RemoteStub.java
12485         java/rmi/server/ServerCloneException.java
12486         java/rmi/server/ServerNotActiveException.java
12487         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12488         java/rmi/server/SkeletonMismatchException.java
12489         java/rmi/server/SkeletonNotFoundException.java
12490         java/rmi/server/SocketSecurityException.java
12491         java/rmi/server/UID.java
12492         java/rmi/server/UnicastRemoteObject.java
12493         java/rmi/server/Unreferenced.java
12494         java/security/AccessControlContext.java
12495         java/security/AccessControlException.java
12496         java/security/AccessController.java
12497         java/security/AlgorithmParameterGenerator.java
12498         java/security/AlgorithmParameterGeneratorSpi.java
12499         java/security/AlgorithmParameters.java
12500         java/security/AlgorithmParametersSpi.java
12501         java/security/AllPermission.java
12502         java/security/BasicPermission.java
12503         java/security/Certificate.java java/security/CodeSource.java
12504         java/security/DigestException.java
12505         java/security/DigestInputStream.java
12506         java/security/DigestOutputStream.java
12507         java/security/DomainCombiner.java
12508         java/security/DummyKeyPairGenerator.java
12509         java/security/DummyMessageDigest.java
12510         java/security/DummySignature.java
12511         java/security/GeneralSecurityException.java
12512         java/security/Guard.java java/security/GuardedObject.java
12513         java/security/Identity.java java/security/IdentityScope.java
12514         java/security/InvalidAlgorithmParameterException.java
12515         java/security/InvalidKeyException.java
12516         java/security/InvalidParameterException.java
12517         java/security/Key.java java/security/KeyException.java
12518         java/security/KeyFactory.java java/security/KeyFactorySpi.java
12519         java/security/KeyManagementException.java
12520         java/security/KeyPair.java java/security/KeyPairGenerator.java
12521         java/security/KeyPairGeneratorSpi.java
12522         java/security/KeyStore.java
12523         java/security/KeyStoreException.java
12524         java/security/KeyStoreSpi.java
12525         java/security/MessageDigest.java
12526         java/security/MessageDigestSpi.java
12527         java/security/NoSuchAlgorithmException.java
12528         java/security/NoSuchProviderException.java
12529         java/security/Permission.java
12530         java/security/PermissionCollection.java
12531         java/security/Permissions.java java/security/Policy.java
12532         java/security/Principal.java java/security/PrivateKey.java
12533         java/security/PrivilegedAction.java
12534         java/security/PrivilegedActionException.java
12535         java/security/PrivilegedExceptionAction.java
12536         java/security/ProtectionDomain.java
12537         java/security/Provider.java
12538         java/security/ProviderException.java
12539         java/security/PublicKey.java
12540         java/security/SecureClassLoader.java
12541         java/security/SecureRandom.java
12542         java/security/SecureRandomSpi.java java/security/Security.java
12543         java/security/SecurityPermission.java
12544         java/security/Signature.java
12545         java/security/SignatureException.java
12546         java/security/SignatureSpi.java
12547         java/security/SignedObject.java java/security/Signer.java
12548         java/security/UnrecoverableKeyException.java
12549         java/security/UnresolvedPermission.java
12550         java/security/acl/Acl.java java/security/acl/AclEntry.java
12551         java/security/acl/AclNotFoundException.java
12552         java/security/acl/Group.java
12553         java/security/acl/LastOwnerException.java
12554         java/security/acl/NotOwnerException.java
12555         java/security/acl/Owner.java java/security/acl/Permission.java
12556         java/security/cert/CRL.java
12557         java/security/cert/CRLException.java
12558         java/security/cert/Certificate.java
12559         java/security/cert/CertificateEncodingException.java
12560         java/security/cert/CertificateException.java
12561         java/security/cert/CertificateExpiredException.java
12562         java/security/cert/CertificateFactory.java
12563         java/security/cert/CertificateFactorySpi.java
12564         java/security/cert/CertificateNotYetValidException.java
12565         java/security/cert/CertificateParsingException.java
12566         java/security/cert/X509CRL.java
12567         java/security/cert/X509CRLEntry.java
12568         java/security/cert/X509Certificate.java
12569         java/security/cert/X509Extension.java
12570         java/security/interfaces/DSAKey.java
12571         java/security/interfaces/DSAKeyPairGenerator.java
12572         java/security/interfaces/DSAParams.java
12573         java/security/interfaces/DSAPrivateKey.java
12574         java/security/interfaces/DSAPublicKey.java
12575         java/security/interfaces/RSAKey.java
12576         java/security/interfaces/RSAPrivateCrtKey.java
12577         java/security/interfaces/RSAPrivateKey.java
12578         java/security/interfaces/RSAPublicKey.java
12579         java/security/spec/AlgorithmParameterSpec.java
12580         java/security/spec/DSAParameterSpec.java
12581         java/security/spec/DSAPrivateKeySpec.java
12582         java/security/spec/DSAPublicKeySpec.java
12583         java/security/spec/EncodedKeySpec.java
12584         java/security/spec/InvalidKeySpecException.java
12585         java/security/spec/InvalidParameterSpecException.java
12586         java/security/spec/KeySpec.java
12587         java/security/spec/PKCS8EncodedKeySpec.java
12588         java/security/spec/RSAKeyGenParameterSpec.java
12589         java/security/spec/RSAPrivateCrtKeySpec.java
12590         java/security/spec/RSAPrivateKeySpec.java
12591         java/security/spec/RSAPublicKeySpec.java
12592         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12593         java/sql/BatchUpdateException.java java/sql/Blob.java
12594         java/sql/CallableStatement.java java/sql/Clob.java
12595         java/sql/Connection.java java/sql/DataTruncation.java
12596         java/sql/DatabaseMetaData.java java/sql/Date.java
12597         java/sql/Driver.java java/sql/DriverManager.java
12598         java/sql/DriverPropertyInfo.java
12599         java/sql/PreparedStatement.java java/sql/Ref.java
12600         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12601         java/sql/SQLData.java java/sql/SQLException.java
12602         java/sql/SQLInput.java java/sql/SQLOutput.java
12603         java/sql/SQLWarning.java java/sql/Statement.java
12604         java/sql/Struct.java java/sql/Time.java
12605         java/sql/Timestamp.java java/sql/Types.java
12606         java/text/Annotation.java
12607         java/text/AttributedCharacterIterator.java
12608         java/text/AttributedString.java
12609         java/text/AttributedStringIterator.java
12610         java/text/BreakIterator.java java/text/CharacterIterator.java
12611         java/text/ChoiceFormat.java java/text/Collator.java
12612         java/text/DateFormat.java java/text/DateFormatSymbols.java
12613         java/text/DecimalFormat.java
12614         java/text/DecimalFormatSymbols.java
12615         java/text/FieldPosition.java java/text/Format.java
12616         java/text/MessageFormat.java java/text/NumberFormat.java
12617         java/text/ParseException.java java/text/ParsePosition.java
12618         java/text/SimpleDateFormat.java
12619         java/text/StringCharacterIterator.java
12620         java/util/AbstractCollection.java java/util/AbstractList.java
12621         java/util/AbstractMap.java
12622         java/util/AbstractSequentialList.java
12623         java/util/AbstractSet.java java/util/ArrayList.java
12624         java/util/Arrays.java java/util/BasicMapEntry.java
12625         java/util/BitSet.java java/util/Calendar.java
12626         java/util/Collection.java java/util/Collections.java
12627         java/util/Comparator.java
12628         java/util/ConcurrentModificationException.java
12629         java/util/Date.java java/util/Dictionary.java
12630         java/util/EmptyStackException.java java/util/Enumeration.java
12631         java/util/EventListener.java java/util/EventObject.java
12632         java/util/GregorianCalendar.java java/util/HashMap.java
12633         java/util/HashSet.java java/util/Hashtable.java
12634         java/util/IdentityHashMap.java java/util/Iterator.java
12635         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12636         java/util/LinkedList.java java/util/List.java
12637         java/util/ListIterator.java java/util/ListResourceBundle.java
12638         java/util/Locale.java java/util/Map.java
12639         java/util/MissingResourceException.java
12640         java/util/NoSuchElementException.java
12641         java/util/Observable.java java/util/Observer.java
12642         java/util/Properties.java java/util/PropertyPermission.java
12643         java/util/PropertyResourceBundle.java java/util/Random.java
12644         java/util/RandomAccess.java java/util/ResourceBundle.java
12645         java/util/Set.java java/util/SimpleTimeZone.java
12646         java/util/SortedMap.java java/util/SortedSet.java
12647         java/util/Stack.java java/util/StringTokenizer.java
12648         java/util/TimeZone.java java/util/Timer.java
12649         java/util/TimerTask.java
12650         java/util/TooManyListenersException.java
12651         java/util/TreeMap.java java/util/TreeSet.java
12652         java/util/Vector.java java/util/WeakHashMap.java
12653         java/util/jar/Attributes.java java/util/jar/JarEntry.java
12654         java/util/jar/JarException.java java/util/jar/JarFile.java
12655         java/util/jar/JarInputStream.java
12656         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12657         java/util/zip/Adler32.java java/util/zip/CRC32.java
12658         java/util/zip/CheckedInputStream.java
12659         java/util/zip/CheckedOutputStream.java
12660         java/util/zip/Checksum.java
12661         java/util/zip/DataFormatException.java
12662         java/util/zip/Deflater.java
12663         java/util/zip/DeflaterOutputStream.java
12664         java/util/zip/GZIPInputStream.java
12665         java/util/zip/GZIPOutputStream.java
12666         java/util/zip/Inflater.java
12667         java/util/zip/InflaterInputStream.java
12668         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12669         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12670         java/util/zip/ZipInputStream.java
12671         java/util/zip/ZipOutputStream.java
12672         javax/naming/BinaryRefAddr.java
12673         javax/naming/InvalidNameException.java javax/naming/Name.java
12674         javax/naming/NamingException.java javax/naming/RefAddr.java
12675         javax/naming/StringRefAddr.java: Add license clarification.
12676
12677 2002-01-22  Tom Tromey  <tromey@redhat.com>
12678
12679         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12680         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12681         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12682         version.
12683         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12684         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12685         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12686         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12687         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12688         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12689         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12690         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12691         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12692         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12693         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12694         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12695         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12696         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12697         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12698         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12699         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12700         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12701         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12702         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12703         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12704         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12705         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12706         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12707         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12708         (minimumSize, preferredSize, reshape): Likewise.
12709         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12710         getColorModel): New methods.
12711         * java/awt/PopupMenu.java: Merged with Classpath.
12712         * java/awt/MenuBar.java: Merged with Classpath.
12713         * java/awt/SystemColor.java: Replace with Classpath version.
12714         * java/awt/Panel.java: Merged with Classpath.
12715         * java/awt/PaintContext.java: Updated copyright.
12716         * java/awt/MenuShortcut.java: Merged with Classpath.
12717         * java/awt/MenuContainer.java: Merged with Classpath.
12718         * java/awt/Menu.java: Merged with Classpath.
12719         * java/awt/MediaEntry.java: New file from Classpath.
12720         * java/awt/MediaTracker.java: New file from Classpath.
12721         * java/awt/List.java: Merged with Classpath version.
12722         * java/awt/Insets.java: Merged with Classpath version.
12723         * java/awt/ImageMediaEntry.java: New file from Classpath.
12724         * java/awt/Image.java: Replaced with Classpath version.
12725         * java/awt/FontMetrics.java: Merged with Classpath version.
12726         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12727         constant.
12728         * java/awt/Font.java: Merged with Classpath version.
12729         * java/awt/Dialog.java: Merged with Classpath version.
12730         * java/awt/Color.java: Merged with Classpath version.
12731         * java/awt/Choice.java: Merged with Classpath version.
12732         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12733         * java/awt/Adjustable.java: Replace with Classpath version.
12734         * java/awt/MenuItem.java (paramString): Don't include class name
12735         or brackets.  Call superclass paramString.
12736         * java/awt/MenuComponent.java (toString): Call paramString.
12737         (paramString): Compute string; don't call toString.
12738         * java/awt/Label.java (paramString): Don't include class name
12739         or brackets.  Call superclass paramString.
12740         * java/awt/Checkbox.java (paramString): Don't include class name
12741         or brackets.  Call superclass paramString.
12742         * java/awt/Button.java (paramString): Don't include class name or
12743         brackets.  Call superclass paramString.
12744         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12745
12746 2002-01-20  Andreas Schwab  <schwab@suse.de>
12747
12748         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12749         function and of parameter recv_func to ssize_t, as specified by
12750         POSIX.
12751
12752 2002-01-19  Per Bothner  <per@bothner.com>
12753
12754         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12755         uncompressed_size in readiness for next entry.
12756
12757 2002-01-18  Tom Tromey  <tromey@redhat.com>
12758
12759         * java/net/natPlainSocketImpl.cc: Include
12760         IllegalArgumentException.h.
12761         (_Jv_recv): New template function.
12762         (BooleanClass): Removed.
12763         (read): Use _Jv_recv.
12764         (setOption): Use Boolean::class$.  Throw exception if object is
12765         not Boolean or Integer.
12766
12767 2002-01-17  Tom Tromey  <tromey@redhat.com>
12768
12769         * java/awt/MenuComponent.java: Merged with Classpath.
12770         * java/awt/MenuItem.java: Merged with Classpath.
12771         * java/awt/Button.java: Merged with Classpath.
12772
12773         * java/awt/ActiveEvent.java: Updated copyright.
12774
12775         * java/awt/AWTError.java: Replaced with Classpath version.
12776         * java/awt/AWTException.java: Replaced with Classpath version.
12777         * java/awt/IllegalComponentStateException.java: Replaced with
12778         Classpath version.
12779
12780 2002-01-16  Tom Tromey  <tromey@redhat.com>
12781
12782         * java/awt/Canvas.java (serialVersionUID): New constant.
12783         Updated copyright.  Added javadoc from Classpath.
12784         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12785
12786         * java/awt/CheckboxGroup.java: Merged with Classpath.
12787         * java/awt/Checkbox.java: Merged with Classpath.
12788
12789         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12790         Classpath.
12791         * java/awt/Point.java: Updated copyright.
12792
12793         * java/awt/Point.java (toString): Use getClass().getName().
12794         Added javadoc.
12795
12796         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12797         commented code.
12798         (hash): Correctly compute initial value for `h'.
12799
12800         * java/awt/Label.java: Merged with Classpath.
12801
12802 2002-01-15  Tom Tromey  <tromey@redhat.com>
12803
12804         * java/awt/AWTPermission.java: Updated copyright.
12805
12806         * java/awt/LayoutManager2.java: Merged with Classpath.
12807         * java/awt/LayoutManager.java: Merged with Classpath.
12808         * java/awt/GridLayout.java: Updated copyright and javadoc.
12809         (getSize): Use `parent.ncomponents'.  Handle insets.
12810         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12811         there are fewer children than columns.  Correctly compute size of
12812         each cell in the grid.  Handle case where there isn't enough
12813         space.
12814         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12815         all users.
12816         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12817         before calling setVisible() on it.  Last item is `num - 1', not
12818         `num'.
12819         (layoutContainer): Hoist invariants out of loop.
12820
12821         Start of AWT merge with Classpath:
12822         * Makefile.in: Rebuilt.
12823         * Makefile.am (awt_java_source_files): Reference files in
12824         gnu/java/awt, not gnu/gcj/awt.
12825         * java/awt/image/BufferedImage.java: Updated copyright.
12826         * java/awt/image/ComponentColorModel.java: Updated copyright.
12827         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12828         * java/awt/image/DataBuffer.java: Updated copyright.
12829         * java/awt/image/DataBufferByte.java: Updated copyright.
12830         * java/awt/image/DataBufferInt.java: Updated copyright.
12831         * java/awt/image/DataBufferUShort.java: Updated copyright.
12832         * java/awt/image/IndexColorModel.java: Updated copyright.
12833         * java/awt/image/PackedColorModel.java: Updated copyright.
12834         * java/awt/image/Raster.java: Updated copyright.
12835         * java/awt/image/RasterOp.java: Updated copyright.
12836         * java/awt/image/SampleModel.java: Updated copyright.
12837         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12838         * java/awt/image/WritableRaster.java: Updated copyright.
12839         * java/awt/color/ColorSpace.java: Updated copyright.
12840         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12841         * java/awt/color/ICC_Profile.java: Updated copyright.
12842         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12843         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12844         * java/awt/event/HierarchyEvent.java: Updated copyright.
12845         * java/awt/event/HierarchyListener.java: Updated copyright.
12846         * java/awt/geom/AffineTransform.java: Updated copyright.
12847         * java/awt/geom/Dimension2D.java: Updated copyright.
12848         * java/awt/geom/Ellipse2D.java: Updated copyright.
12849         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12850         * java/awt/geom/Line2D.java: Updated copyright.
12851         * java/awt/geom/NoninvertibleTransformException.java: Updated
12852         copyright.
12853         * java/awt/geom/PathIterator.java: Updated copyright.
12854         * java/awt/geom/Point2D.java: Updated copyright.
12855         * java/awt/geom/Rectangle2D.java: Updated copyright.
12856         * java/awt/geom/RectangularShape.java: Updated copyright.
12857         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12858         * java/awt/Toolkit.java: Updated import for file moves.
12859         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12860         Classpath.
12861         (hashCode): New method from Classpath.
12862         * java/awt/Graphics2D.java: Updated copyright.
12863         * java/awt/Transparency.java: Updated copyright.
12864         * java/awt/Paint.java: Updated copyright.
12865         * java/awt/Graphics.java: New version from Classpath.
12866         * java/awt/EventDispatchThread.java: Updated copyright.
12867         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12868         children.
12869         (gotoComponent): Wrap around on next/previous.
12870         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12871         * gnu/gcj/awt/Buffers.java: Removed.
12872         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12873         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12874         * gnu/java/awt/BitMaskExtent.java: Added.
12875         * gnu/java/awt/Buffers.java: Added.
12876         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12877         * gnu/java/awt/GLightweightPeer.java: Added.
12878         * java/awt/geom/Line2D.java (clone): Ignore
12879         CloneNotSupportedException.
12880         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12881         * java/awt/Frame.java: Merged with Classpath.
12882         * java/awt/RenderingHints.java: Copyright update.
12883         * java/awt/Paint.java: Copyright update.
12884         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12885         * java/awt/image/ColorModel.java: Merged with Classpath.
12886         * java/awt/Window.java (show): New Implementation from Classpath.
12887         (isShowing): Use super.isShowing().
12888         * java/awt/EventQueue.java: Merged with Classpath.
12889         * java/awt/AWTEventMulticaster.java (save): Throw
12890         RuntimeException.
12891         (saveInternal): Likewise.
12892         * java/awt/AWTEvent.java: Now implements Serializable.
12893         * java/awt/Event.java: Copyright update.
12894         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12895         * java/awt/image/BufferedImage.java: Copyright update.
12896         * java/awt/GraphicsConfiguration.java: Copyright update.
12897         * java/awt/Component.java: (addNotify): Don't call
12898         addNotifyContainerChildren().
12899         (addNotifyContainerChildren): Removed.
12900         (setPeer): New method from Classpath.
12901         (setTreeLock): Likewise.
12902         (setVisible): Rewrote.
12903         (show): Use it.
12904         (hide): Likewise.
12905         (validate): Set `valid'.
12906         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12907         (createImage(ImageProducer)): Likewise.
12908         (prepareImage): Likewise.
12909         * java/awt/Container.java (addImpl): Handle case where constraint
12910         is not a String.  Post event via system event queue.
12911         (remove): Post event via system event queue.
12912         (validateTree): Only validate child if it is invalid.
12913         (getAlignmentX): Call super method as default.
12914         (getAlignmentY): Likewise.
12915         (addContainerListener): Now synchronized.
12916         (removeContainerListener): Likewise.
12917         (addNotifyContainerChildren): Now private.
12918         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12919         @author.
12920         * java/awt/FlowLayout.java (serialVersionUID): New field.
12921         (setAlignment): Better exception message.
12922         (layoutContainer): Don't compute component's preferred size unless
12923         we're going to use it.
12924         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12925         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12926         (firstLine, lastLine, firstItem, lastItem): New fields.
12927         (addLayoutComponent): Handle case where constraints is null.
12928         Also, handle relative locations.
12929         (removeLayoutComponent): Handle relative locations.
12930         (MIN, MAX, PREF): New constants.
12931         (calcCompSize): New method.
12932         (calcSize): New method.
12933         (minimumLayoutSize): Use it.
12934         (preferredLayoutSize): Likewise.
12935         (maximumLayoutSize): Likewise.
12936         (toString): Include more information.
12937         (setBounds): New method.
12938         (layoutContainer): Use libgcj implementation; extended to handle
12939         relative locations.
12940
12941 2002-01-15  Tom Tromey  <tromey@redhat.com>
12942
12943         * java/lang/Float.java (equals): Preserve old code.
12944         * java/lang/Double.java (equals): Preserve old code.
12945
12946 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12947
12948         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12949         * java/lang/Float.java (equals, compare): Ditto.
12950
12951 2002-01-13  Mark Wielaard  <mark@klomp.org>
12952
12953         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12954         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12955         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12956         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12957
12958 2002-01-11  Mark Wielaard  <mark@klomp.org>
12959
12960         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12961         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12962         InetAddress.
12963         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12964         * java/net/Socket.java: Merge with Classpath.
12965         * java/net/ServerSocket.java: Likewise.
12966
12967 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12968
12969         * interpret.cc (NULLARRAYCHECK): New macro.
12970         (SAVE_PC): Just store `pc'.
12971         (find_exception): Subtract one from `pc' here.
12972         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12973         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12974         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12975         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12976         don't call SAVE_PC.
12977         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12978         call SAVE_PC.
12979
12980 2002-01-11  Tom Tromey  <tromey@redhat.com>
12981
12982         * java/lang/natSystem.cc (init_properties): Only look for default
12983         locale if LC_MESSAGES is defined.
12984         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12985         * configure.in: Call AM_LC_MESSAGES.
12986         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12987
12988 2002-01-10  Tom Tromey  <tromey@redhat.com>
12989
12990         For PR libgcj/5303:
12991         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12992         --version.  Recognize GNU-style long options.  Print GNU-style
12993         error messages.
12994         (usage): Print GNU-style help.  Exit with status 0.
12995         (error): New method.
12996         (run): Print error message if no class names found.
12997         (main): Don't print usage on error.
12998
12999 2002-01-09  Tom Tromey  <tromey@redhat.com>
13000
13001         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13002         property.
13003         (help, version): Use println(), not println("").
13004
13005         For PR libgcj/5303:
13006         * gnu/gcj/convert/Convert.java (error): Program is called
13007         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
13008         -1.
13009         (main): Handle --help and --version.
13010         (help): New method.
13011         (version): Likewise.
13012
13013 2002-01-08  Tom Tromey  <tromey@redhat.com>
13014
13015         * Makefile.in: Rebuilt.
13016         * Makefile.am (ordinary_java_source_files): Added new files.
13017         * gnu/java/locale/LocaleInformation.java: Extend
13018         LocaleInformation_en.
13019         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13020         and time/date formats.
13021         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13022         generated.
13023         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13024         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13025         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13026         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13027         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13028         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13029         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13030         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13031         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13032         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13033         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13034         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13035         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13036         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13037         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13038         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13039         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13040         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13041         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13042         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13043         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13044         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13045         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13046         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13047         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13048         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13049         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13050         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13051         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13052         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13053         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13054         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13055         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13056         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13057         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13058         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13059         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13060         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13061         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13062         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13063         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13064         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13065         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13066         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13067         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13068         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13069         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13070         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13071         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13072         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13073         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13074         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13075         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13076         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13077         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13078         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13079         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13080         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13081         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13082         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13083         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13084         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13085         * gnu/java/locale/LocaleInformation_es_US.java: New file.
13086         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13087         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13088         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13089         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13090         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13091         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13092         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13093         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13094         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13095         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13096         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13097         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13098         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13099         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13100         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13101         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13102         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13103         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13104         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13105         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13106         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13107         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13108         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13109         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13110         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13111         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13112         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13113         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13114         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13115         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13116         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13117         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13118         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13119         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13120         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13121         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13122         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13123         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13124         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13125         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13126         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13127         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13128         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13129         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13130         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13131         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13132         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13133         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13134         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13135         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13136         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13137         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13138         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13139         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13140         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13141         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13142         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13143         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13144         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13145         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13146         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13147         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13148         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13149         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13150         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13151         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13152         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13153
13154         For PR libgcj/5031:
13155         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13156         choose default locale.
13157
13158         * Makefile.in: Rebuilt.
13159         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13160
13161 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
13162
13163         * java/net/natPlainSocketImpl.cc: Added timeout handling for
13164         sockets.
13165         (close): New function closes the socket.
13166         (write): New functions for output to socket.
13167         (read): New functions for reading from socket.
13168         * java/net/PlainSocketImpl.java: Glue for new timeout
13169         implementation.
13170         (write): Call the native impl.
13171         (read): Likewise.
13172         (getInputStream): Get a stream to read from the socket.
13173         (getOutputStream): Get a stream to write to the socket.
13174
13175 2002-01-08  Tom Tromey  <tromey@redhat.com>
13176
13177         * resolve.cc (_Jv_PrepareClass): Enable verifier.
13178
13179 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
13180
13181         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13182         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13183
13184 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
13185
13186         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13187         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13188         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13189         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13190         insn_bastore, insn_castore, insn_sastore]: Use it.
13191         (continue1) [insn_arraylength]: Check for null array.
13192
13193 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13194
13195         * configure, include/config.h.in: Rebuilt.
13196         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13197         * configure.in: Call AC_STRUCT_TIMEZONE.
13198
13199 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13200
13201         * configure.host: Disable the interpreter for Darwin.
13202
13203 2002-01-04  Tom Tromey  <tromey@redhat.com>
13204
13205         * java/lang/Thread.java (stop): No longer synchronized.
13206         (start): Likewise.
13207
13208 2002-01-02  Tom Tromey  <tromey@redhat.com>
13209
13210         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13211         patch.
13212
13213 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
13214
13215         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13216         PPC Darwin, not for all of Darwin.