97ebc3797f0e571cebc963ce22365ca4232b0618
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-08  Andrew Haley  <aph@redhat.com>
2
3         * include/i386-signal.h (RESTORE): New.
4         (INIT_SEGV): Set restorer.
5         (INIT_FPE): Likewise.
6
7 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
8
9         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
10         than getXLFD.
11         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
12         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
13         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14         (gtkSetFont): Scale size parameter by PANGO_SCALE.
15         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
16         Likewise.
17         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
18         Likewise.
19
20 2003-07-29  Tom Tromey  <tromey@redhat.com>
21
22         * defineclass.cc (handleField): Throw exception if field name is
23         duplicated.
24         (handleMethod): Throw exception for duplicate method.
25
26 2003-07-29  Tom Tromey  <tromey@redhat.com>
27
28         * gnu/gcj/convert/natIconv.cc (write): Handle case where
29         output buffer is too small.
30
31 2003-07-28  Tom Tromey  <tromey@redhat.com>
32
33         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
34         New method.
35         Include gnu/gcj/runtime/StringBuffer.h.
36         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
37         native method.
38         (String(gnu.gcj.runtime.StringBuffer)): Use it.
39
40 2003-07-27  Anthony Green  <green@redhat.com>
41
42         * configure.in: Fix newlib check.
43         * configure: Rebuilt.
44
45 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
46
47         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
48         Create vbox and layout for GtkPlug.
49
50 2003-07-27  Michael Koch  <konqueror@gmx.de>
51
52         * java/awt/Window.java
53         (Window): Removed now unused constructor. It became oboslete with the
54         new embedded window patch.
55
56 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
57             Michael Koch  <konqueror@gmx.de>
58
59         * gnu/java/awt/EmbeddedWindow.java
60         (EmbeddedWindow): Extends Frame instead of Window.
61         (window_id): New member variable to store the native window handle.
62         (create): Removed.
63         (EmbeddedWindow): New constructor.
64         (addNotify): New method.
65         (getHandler): Likewise.
66         (setWindowPeer): New native method.
67         * gnu/java/awt/EmbeddedWindowSupport.java
68         (EmbeddedWindowSupport): Fixed documentation.
69         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
70         WindowPeer, give it an EmbeddedWindow instance instead of the raw
71         window data.
72         * gnu/java/awt/natEmbeddedWindow.cc
73         (create): Removed.
74         (setWindowPeer): New method.
75         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
76         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
77         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
78         New files
79         * gnu/java/awt/peer/gtk/GtkToolkit.java
80         (GtkToolkit): Implements EmbeddedWindowSupport.
81         (createEmbeddedWindow): New method.
82         * java/awt/Window.java
83         (Window): Removed.
84         * Makefile.am
85         (java_source_files): Added EmbeddedWindowPeer.java.
86         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
87         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
88         * Makefile.in: Regenerated.
89
90 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
91
92         * java/lang/Win32Process.java (ConcreteProcess): Surround
93         a command line element with quotes if it contains an
94         embedded space or tab.
95         * java/lang/natWin32Process.cc (startProcess): Do not
96         surround command line elements with quotes here.
97
98         * configure.host: Use -fcheck-references and 
99         -fuse-divide-subroutine for MinGW until we fix
100         win32_exception_handler( ) in win32.cc w.r.t. Win32 
101         Structured Exception Handling (SEH).
102
103         * win32.cc (_Jv_platform_initProperties): Use generic names
104         like "x86" for the "os.arch" property to be consistent with
105         what Sun's JDK produces. Use the wProcessorArchitecture
106         member of the Win32 SYSTEM_INFO structure, filled in a call 
107         to GetSystemInfo( ), instead of dwProcessorType.
108
109 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
110             Ranjit Mathew  <rmathew@hotmail.com>
111
112         * Makefile.am: Use cross-compiling gcjh from the path for
113         a crossed-native build.
114         * Makefile.in: Rebuilt.
115         * configure.in: Include libltdl in non-newlib builds.
116         Moved determination of gcj used to build libraries to
117         its own section. Fixed cross-compilation issues for
118         non-newlib builds.
119         * configure: Rebuilt.
120
121 2003-07-25  Tom Tromey  <tromey@redhat.com>
122
123         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
124         (write): Likewise.
125         (read): Likewise.
126         (read): Likewise.
127
128 2003-07-25  Mark Wielaard  <mark@klomp.org>
129
130         * java/lang/natRuntime.cc (_load): Add library name to
131         UnsatisfiedLinkError when thrown.
132
133 2003-07-25  Mark Wielaard  <mark@klomp.org>
134
135         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
136         added.
137         * Makefile.in: Likewise.
138
139 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
140
141         * java/awt/Component.java
142         (getPreferredSize): Call preferredSize.
143         (preferredSize): Moved body of getPreferredSize here.
144         (getMinimumSize): Call minimumSize.
145         (minimumSize): Moved body of getMinimumSize here.
146         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
147         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
148         pass -1
149         * java/awt/Container.java
150         (validate): Don't validate if there is no peer.
151         (update): Clear background before calling paint.
152         * java/awt/GridBagLayout.java
153         Completed the implementation and fixed several bugs.
154         * java/awt/MediaTracker.java
155         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
156         combine flags.
157         * java/awt/Window.java
158         (Window): Don't call setVisible(false). Windows are invisible by
159         default and calling virtual methods from constructor causes
160         compatibility problems (e.g. subclasses may assume that the peer
161         already exists).
162
163 2003-07-25  Michael Koch  <konqueror@gmx.de>
164
165         * java/awt/GridBagLayout.java:
166         Totally reworked and partly implemented.
167         * java/awt/GridBagLayoutInfo.java:
168         New file.
169
170 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
171
172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
173         Don't pack label in an event box.
174
175 2003-07-24  Tom Tromey  <tromey@redhat.com>
176
177         For PR libgcj/7482:
178         * verify.cc (ref_intersection): New class.
179         (type_val): Removed unresolved_reference_type,
180         uninitialized_unresolved_reference_type.
181         (is_assignable_from_slow): Rewrote.
182         (type::data): Removed.
183         (type::klass): New field.
184         (type::type): Added verifier argument.
185         (type::resolve): Removed.
186         (type::set_uninitialized): Updated for change to type_val.
187         (type::set_initialized): Likewise.
188         (type::isinitialized): Likewise.
189         (type::print): Likewise.
190         (construct_primitive_array_type): Likewise.
191         (type::compatible): Updated for change to type_val and to use
192         ref_intersection.
193         (type::isarray): Updated to use ref_intersection.
194         (type::isinterface): Likewise.
195         (type::element_type): Likewise.
196         (type::to_array): Likewise.
197         (type::verify_dimensions): Rewrote.
198         (type::merge): Likewise.
199         (check_class_constant): Updated for type constructor change.
200         (check_constant): Likewise.
201         (check_field_constant): Likewise.
202         (get_one_type): Likewise.
203         (initialize_stack): Likewise.
204         (verify_instructions_0): Likewise.
205         (verify_instructions_0) [op_invokeinterface]: Removed special
206         case.
207         (isect_list): New field.
208         (_Jv_BytecodeVerifier): Initialize it.
209         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
210
211 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
212
213         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
214         unless field size is 2.
215
216 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
217
218         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
219         (connectHooks): New method.
220         (handleEvent): Remove.
221         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
222         (createHooks): Remove declaration.
223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
224         (generates_key_typed_event): Change to handle only certain
225         keyvals.
226         (awt_event_handler): Add special handling for GtkTextView.
227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
228         (textcomponent_commit_cb): New function.
229         (textcomponent_changed_cb): Likewise.
230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
231         (connectHooks): Remove.
232
233 2003-07-23  Tom Tromey  <tromey@redhat.com>
234
235         * java/lang/natSystem.cc (arraycopy): Check for overflow.
236
237         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
238
239 2003-07-22  Tom Tromey  <tromey@redhat.com>
240
241         * boehm.cc (_Jv_BuildGCDescr): Wrote.
242         Include limits.h.
243
244 2003-07-22  Tom Tromey  <tromey@redhat.com>
245
246         * java/awt/Window.java (getWarningString): Just return the
247         string.
248         (Window): Set warningString; check with security manager.
249
250 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
251
252         * gnu/awt/xlib/XGraphicsConfiguration.java
253         (FontMetricsCache): Made static.
254  
255 2003-07-22  Tom Tromey  <tromey@redhat.com>
256
257         * java/net/URLEncoder.java (encode(String)): Use platform default
258         encoding.
259         (encode(String,String)): Convert to 2-digit upper-case hex
260         number.
261         (hex): New field.
262
263 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
264
265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
266         (create): Remove unused method implementation.
267         (connectHooks): Remove debug messages.
268
269 2003-07-20  Anthony Green  <green@redhat.com>
270
271         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
272         CloneNotSupportedException.
273         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
274         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
275         * gnu/gcj/xlib/GC.java (clone): Ditto.
276         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
277         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
278
279         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
280         handler.
281         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
282
283 2003-07-20  Steve Pribyl <steve@netfuel.com.>
284
285         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
286         String.  Put dlerror() message into exception.
287         Include UnsatisfiedLinkError.
288         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
289         String.  Now native.
290
291 2003-07-20  Tom Tromey  <tromey@redhat.com>
292
293         * java/lang/Runtime.java: Comment fix.
294         * java/lang/ClassLoader.java (isAncestorOf): New method.
295         (getParent): Uncommented security check.  Use isAncestorOf.
296         * include/jvm.h (_Jv_CheckAccess): Declare.
297         * java/lang/reflect/natConstructor.cc (newInstance): Perform
298         access check.
299         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
300         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
301         class loader to _Jv_GetArrayClass.
302         Include ArrayIndexOutOfBoundsException.h.
303         * java/lang/reflect/Field.java: Update comment to reflect status.
304         (equals): Fixed indentation.
305         * java/lang/Class.h (Class): Declare memberAccessCheck, not
306         checkMemberAccess.  Make _Jv_CheckAccess a friend.
307         * java/lang/Class.java (memberAccessCheck): New method from
308         Classpath.
309         (checkMemberAccess): Removed.
310         (getDeclaredMethod): Use memberAccessCheck.
311         (getField): Likewise.
312         (getMethod): Likewise.
313         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
314         (_Jv_SearchMethodInClass): Likewise.
315         * prims.cc (_Jv_CheckAccess): New function.
316         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
317         (_Jv_JNI_GetAnyFieldID): Likewise.
318         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
319         (getClassLoader): Added security check.
320         (getConstructor): Call memberAccessCheck.
321         (getDeclaredClasses): Likewise.
322         (getDeclaredField): Likewise.
323         (getDeclaredFields): Likewise.
324         (_getConstructors): Likewise.
325         (getDeclaredConstructor): Likewise.
326         (getDeclaredMethods): Likewise.
327         (getFields): Likewise.
328         (getMethods): Likewise.
329         (newInstance): Likewise.
330         (_Jv_MakeVTable): Put method name in exception.
331         * java/lang/reflect/natMethod.cc (getType): Use
332         getClassLoaderInternal.
333         (_Jv_GetTypesFromSignature): Likewise.
334         (invoke): Perform access check.
335         (_Jv_CallAnyMethodA): Removed old FIXME comments.
336         Include ArrayIndexOutOfBoundsException.h.
337         * java/lang/reflect/natField.cc (getType): Use
338         getClassLoaderInternal.
339         (_Jv_CheckFieldAccessibility): Removed.
340         (getAddr): Use _Jv_CheckAccess; find caller.
341         Include ArrayIndexOutOfBoundsException.h.
342
343 2003-07-20  Michael Koch  <konqueror@gmx.de>
344
345         * java/net/URL.java
346         (URL): Fixed documentation to name an argument correcty, Reformatted
347         one method declaration.
348         (getURLStreamHandler): Added documentation from classpath.
349
350 2003-07-19  Tom Tromey  <tromey@redhat.com>
351
352         * mauve-libgcj: Don't run CollationElementIterator tests.
353
354 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
355
356         * java/net/URLClassLoader.java (addURL): Moved implementation to
357         private addURLImpl() to avoid calling addURL from the constructor.
358         (addURLImpl): Contains the code that was previously in addURL.
359         (addURLs): Call addURLImpl(), not addURL().
360
361 2003-07-18  Graydon Hoare  <graydon@redhat.com>
362
363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
364         Handle missing event cases, connect to "value-changed" signal.
365
366 2003-07-18  Graydon Hoare  <graydon@redhat.com>
367
368         * java/awt/geom/CubicCurve2D.java,
369         java/awt/geom/Line2D.java,
370         java/awt/geom/QuadCurve2D.java,
371         java/awt/geom/Rectangle2D.java: 
372         Fix path some calculations, make path iterators follow
373         a consistent style.
374
375 2003-07-18  Mark Wielaard  <mark@klomp.org>
376
377         * java/util/logging/Handler.java (isLoggable): Check record level
378         smaller or equal.
379
380 2003-07-17  Michael Koch  <konqueror@gmx.de>
381
382         * gnu/java/awt/peer/gtk/GtkToolkit.java:
383         Reworked imports.
384
385 2003-07-14  Michael Koch  <konqueror@gmx.de>
386
387         * gnu/java/rmi/server/UnicastServerRef.java:
388         New version from classpath.
389
390 2003-07-14  Michael Koch  <konqueror@gmx.de>
391
392         * java/awt/image/MemoryImageSource.java,
393         java/beans/PropertyEditorManager.java,
394         javax/naming/CompoundName.java,
395         javax/naming/spi/NamingManager.java,
396         javax/swing/AbstractButton.java,
397         javax/swing/ButtonModel.java,
398         javax/swing/SwingUtilities.java,
399         javax/swing/UIManager.java,
400         javax/swing/colorchooser/DefaultColorSelectionModel.java,
401         javax/swing/event/AncestorEvent.java,
402         javax/swing/event/InternalFrameEvent.java,
403         java/util/zip/ZipFile.java:
404         New versions from classpath.
405
406 2003-07-13  Michael Koch  <konqueror@gmx.de>
407
408         * gnu/java/nio/FileChannelImpl.java,
409         gnu/java/nio/natFileChannelImpl.cc: Removed.
410         * java/io/FileInputStream.java,
411         java/io/FileOutputStream.java,
412         java/io/RandomAccessFile.java,
413         java/nio/MappedByteBufferImpl.java:
414         Import java.nio.channels.FileChannelImpl instead of
415         gnu.java.nio.FileChannelImpl.
416         * java/nio/channels/FileChannelImpl.java,
417         java/nio/channels/natFileChannelImpl.cc:
418         New files.
419         * Makefile.am
420         (ordinary_java_source_files):
421         Removed gnu/java/nio/FileChannelImpl.java and added
422         java/nio/channels/FileChannelImpl.java.
423         (nat source_files):
424         Removed gnu/java/nio/natFileChannelImpl.cc and added
425         java/nio/channels/natFileChannelImpl.cc.
426         * Makefile.in: Regenerated.
427
428 2003-07-13  Michael Koch  <konqueror@gmx.de>
429
430         * javax/swing/plaf/basic/BasicBorders.java,
431         javax/swing/plaf/basic/BasicLabelUI.java,
432         javax/swing/plaf/basic/BasicLookAndFeel.java,
433         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
434         javax/swing/plaf/basic/BasicTextUI.java,
435         javax/swing/plaf/metal/MetalLookAndFeel.java:
436         New versions from classpath.
437
438 2003-07-13  Michael Koch  <konqueror@gmx.de>
439
440         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
441         * gnu/java/awt/peer/gtk/GdkGraphics.java
442         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
443         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
444         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
445         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
446         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
447         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
448         * gnu/java/awt/peer/gtk/GtkClipboard.java
449         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
450         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
451         * gnu/java/awt/peer/gtk/GtkFramePeer.java
452         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
453         * gnu/java/awt/peer/gtk/GtkImage.java
454         * gnu/java/awt/peer/gtk/GtkImagePainter.java
455         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
456         * gnu/java/awt/peer/gtk/GtkListPeer.java
457         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
458         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
459         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
460         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
461         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
462         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
463         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
464         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
465         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
466         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
467         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
468         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
469
470 2003-07-13  Michael Koch  <konqueror@gmx.de>
471
472         * gnu/java/locale/LocaleInformation_de.java
473         * gnu/java/locale/LocaleInformation_en.java
474         * gnu/java/locale/LocaleInformation_nl.java
475
476 2003-07-13  Michael Koch  <konqueror@gmx.de>
477
478         * gnu/java/awt/EmbeddedWindow.java,
479         gnu/java/awt/EmbeddedWindowSupport.java,
480         gnu/java/awt/natEmbeddedWindow.cc:
481         New files.
482         * java/awt/Window.java
483         (Window): New constructor to support embedded windows.
484         * Makefile.am
485         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
486         gnu/java/awt/EmbeddedWindowSupport.java.
487         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
488         * Makefile.in: Regenerated.
489
490 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
491
492         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
493         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
494         * java/awt/im/InputContext.java: Remove a redundant
495         partial line.
496
497 2003-07-09  Tom Tromey  <tromey@redhat.com>
498
499         * Makefile.in: Rebuilt.
500         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
501
502 2003-07-09  Mark Wielaard  <mark@klomp.org>
503
504         * java/io/ObjectOutputStream.java (writeObject): break after
505         calling writeClassDescriptor().
506
507 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
508
509         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
510
511 2003-07-09  Michael Koch  <konqueror@gmx.de>
512
513         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
514         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
515         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
516         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
517         Explicitly import used classes.
518         * java/awt/Container.java: New version from classpath.
519
520 2003-07-09  Michael Koch  <konqueror@gmx.de>
521
522         * libgcj.pc.in: New file.
523         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
524         * Makefile.in: Regenerated.
525         * configure: Regenrated.
526         * configure.in: Create libgcj.pc from libgcj.pc.in.
527
528 2003-07-08  Mark Wielaard <mark@klomp.org>
529
530         * gcj/cni.h: CNI now expands to Compiled Native Interface.
531
532         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
533         * java/lang/fdlibm.h: Likewise.
534
535 2003-07-07  Adam Megacz <adam@xwt.org>
536
537         * posix.cc: added #include<stdio.h>
538                 
539 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
540
541         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
542         formatting.
543
544         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
545         (setCaretPosition, setEditable): Rely entirely on native
546         implementation.
547         (getArgs): Remove.
548         (postTextEvent): New method.
549         (handleEvent): New method.
550         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
551         method.
552         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
554         (keysym_to_awt_keycode): Fix range checks.
555         (generates_key_typed_event): New function.
556         (awt_event_handler): Post AWT_KEY_RELEASED events to event
557         queue.
558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
559         (gtkInit): Store TextComponent's postTextEvent method ID.
560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
561         (setText): Post TEXT_VALUE_CHANGED event to event queue.
562
563 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
564
565         * configure.in: Check for usleep declaration.
566         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
567         * configure: Regenerate.
568         * include/config.h.in: Likewise.
569         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
570
571 2003-07-01  Michael Koch  <konqueror@gmx.de>
572
573         * gnu/gcj/convert/natIconv.cc
574         (iconv_init): Fixed possible memory leak by releasing allocated iconv
575         handle.
576
577 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
578
579         * glib-2.0.m4: New file.
580         * gtk-2.0.m4: New file.
581         * glib.m4: Remove.
582         * gtk.m4: Remove.
583         * configure.in: Update AM_PATH_GTK macro call to
584         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
585         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
586         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
587         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
588         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
589         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
590         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
591         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
592         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
593         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
594         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
595         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
596         jni/gtk-peer/gthread-jni.c,
597         jni/gtk-peer/gthread-jni.h:
598         New versions from classpath.
599         * aclocal.m4: Regenerate.
600         * configure: Regenerate.
601         * Makefile.in: Regenerate.
602         * gcj/Makefile.in: Regenerate.
603         * include/Makefile.in: Regenerate.
604         * testsuite/Makefile.in: Regenerate.
605
606 2003-06-30  Gary Benson  <gbenson@redhat.com>
607
608         For PR libgcj/11349:
609         * javax/naming/spi/NamingManager.java (getURLContext): Use
610         correct name for factory class.
611
612 2003-06-28  Michael Koch  <konqueror@gmx.de>
613
614         * java/io/PrintStream.java
615         (checkError): Call flush() instead of direct flushing of the Writer
616         object.
617         (print): Call print(String) instead of direct print method of the
618         Writer Object.
619         (println): Call println(String) instead of direct println method of the
620         Writer Object.
621         (write): Simplified.
622
623 2003-06-28  Michael Koch  <konqueror@gmx.de>
624
625         * java/net/ServerSocket.java
626         (setChannel): New method.
627         * java/net/Socket.java
628         (setChannel): New method.
629
630 2003-06-27  Michael Koch  <konqueror@gmx.de>
631
632         * java/beans/beancontext/BeanContextSupport.java:
633         New version from classpath.
634
635 2003-06-27  Michael Koch  <konqueror@gmx.de>
636
637         * java/awt/Window.java,
638         java/awt/font/GraphicAttribute.java,
639         java/awt/font/ImageGraphicAttribute.java,
640         java/awt/image/DataBufferByte.java,
641         java/awt/image/DataBufferInt.java,
642         java/awt/image/DataBufferUShort.java,
643         java/awt/image/DirectColorModel.java,
644         java/awt/image/PixelGrabber.java:
645         New versions from classpath.
646
647 2003-06-27  Michael Koch  <konqueror@gmx.de>
648
649         * java/security/Certificate.java
650         (getGuarantor): Removed wrong @deprecated tag.
651         (getPrincipal): Likewise.
652         (getPublicKey): Likewise.
653         (encode): Likewise.
654         (decode): Likewise.
655         (getFormat): Likewise.
656         (toString): Likewise.
657         * java/security/cert/PolicyQualifierInfo.java
658         (PolicyQualifierInfo): Made final.
659         * javax/security/auth/x500/X500Principal.java
660         (serialVersionUID): New member variable.
661
662 2003-06-27  Michael Koch  <konqueror@gmx.de>
663
664         * java/text/Format.java
665         (serialVersionUID): Fixed value.
666
667 2003-06-27  Michael Koch  <konqueror@gmx.de>
668
669         * java/net/Inet4Address.java
670         (Inet4Address): Made package-private.
671         * java/net/Inet6Address.java
672         (Inet4Address): Made package-private.
673
674 2003-06-27  Michael Koch  <konqueror@gmx.de>
675
676         * java/io/RandomAccessFile.java
677         (readLine): Removed wrong @deprecated tag.
678         (getChannel): Made final.
679
680 2003-06-27  Michael Koch  <konqueror@gmx.de>
681
682         * gnu/java/nio/FileChannelImpl.java
683         (write): Removed.
684
685 2003-06-27  Michael Koch  <konqueror@gmx.de>
686
687         * java/nio/ByteBufferImpl.java
688         (ByteBufferImpl): Made it a package-private class
689         * java/nio/CharBufferImpl.java
690         (CharBufferImpl): Made it a package-private class
691         * java/nio/DirectByteBufferImpl.java
692         (DirectByteBufferImpl): Made it a package-private class
693         * java/nio/DoubleBufferImpl.java
694         (DoubleBufferImpl): Made it a package-private class
695         * java/nio/FloatBufferImpl.java
696         (FloatBufferImpl): Made it a package-private class
697         * java/nio/IntBufferImpl.java
698         (IntBufferImpl): Made it a package-private class
699         * java/nio/LongBufferImpl.java
700         (LongBufferImpl): Made it a package-private class
701         * java/nio/ShortBufferImpl.java
702         (ShortBufferImpl): Made it a package-private class
703         * java/nio/channels/FileChannel.java
704         (write): Made final.
705         * java/nio/channels/ServerSocketChannel.java
706         (ServerSocketChanne): Made protected.
707
708 2003-06-27  Michael Koch  <konqueror@gmx.de>
709
710         * javax/naming/CompositeName.java
711         (serialVersionUID): New member variable.
712         * javax/naming/CompoundName.java
713         (serialVersionUID): New member variable.
714         * javax/naming/InitialContext.java
715         (InitialContext): Throws NamingException.
716         (init): Likewise.
717         * javax/naming/LinkRef.java
718         (serialVersionUID): New member variable.
719         (gteLinkName): Throws NamingException.
720         * javax/naming/NamingException.java
721         (serialVersionUID): New member variable.
722         * javax/naming/NamingSecurityException.java
723         (NamingSecurityException): Made abstract.
724         (serialVersionUID): New member variable.
725         * javax/naming/ReferralException.java
726         (serialVersionUID): New member variable.
727         * javax/naming/StringRefAddr.java
728         (serialVersionUID): New member variable.
729         * javax/naming/directory/BasicAttribute.java:
730         Reworked imports.
731         (serialVersionUID): New member variable.
732         (get): Throws NamingException.
733         (getAll): Throws NamingException.
734         * javax/naming/directory/BasicAttributes.java:
735         Reworked imports.
736         (serialVersionUID): New member variable.
737         * javax/naming/ldap/UnsolicitedNotificationEvent.java
738         (serialVersionUID): New member variable.
739
740 2003-06-27  Michael Koch  <konqueror@gmx.de>
741
742         * Makefile.am
743         (awt_java_source_files): Added new files:
744         javax/swing/Popup.java,
745         javax/swing/PopupFactory.java
746         * Makefile.in: Regenerated.
747
748 2003-06-27  Michael Koch  <konqueror@gmx.de>
749
750         * javax/swing/JWindow.java,
751         javax/swing/event/AncestorEvent.java,
752         javax/swing/event/HyperlinkEvent.java,
753         javax/swing/event/InternalFrameEvent.java,
754         javax/swing/event/ListDataEvent.java,
755         javax/swing/event/TableModelEvent.java,
756         javax/swing/plaf/PopupMenuUI.java,
757         javax/swing/plaf/SplitPaneUI.java,
758         javax/swing/plaf/TabbedPaneUI.java,
759         javax/swing/plaf/TextUI.java,
760         javax/swing/plaf/TreeUI.java,
761         javax/swing/plaf/basic/BasicTextUI.java,
762         javax/swing/plaf/basic/BasicTreeUI.java:
763         New versions from classpath.
764         * javax/swing/Popup.java,
765         javax/swing/PopupFactory.jav:
766         New source files from classpath.
767         * javax/swing/plaf/doc-files/TreeUI-1.png:
768         New binary files from classpath.
769
770 2003-06-25  Michael Koch  <konqueror@gmx.de>
771
772         * Makefile.am
773         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
774         * Makefile.in: Regenerated.
775
776 2003-06-25  Michael Koch  <konqueror@gmx.de>
777
778         * javax/swing/plaf/ActionMapUIResource.java,
779         javax/swing/plaf/BorderUIResource.java,
780         javax/swing/plaf/ButtonUI.java,
781         javax/swing/plaf/ColorChooserUI.java,
782         javax/swing/plaf/ColorUIResource.java,
783         javax/swing/plaf/ComboBoxUI.java,
784         javax/swing/plaf/ComponentInputMapUIResource.java,
785         javax/swing/plaf/ComponentUI.java,
786         javax/swing/plaf/DesktopIconUI.java,
787         javax/swing/plaf/DesktopPaneUI.java,
788         javax/swing/plaf/DimensionUIResource.java,
789         javax/swing/plaf/FileChooserUI.java,
790         javax/swing/plaf/FontUIResource.java,
791         javax/swing/plaf/IconUIResource.java,
792         javax/swing/plaf/InputMapUIResource.java,
793         javax/swing/plaf/InsetsUIResource.java,
794         javax/swing/plaf/InternalFrameUI.java,
795         javax/swing/plaf/LabelUI.java,
796         javax/swing/plaf/ListUI.java,
797         javax/swing/plaf/MenuBarUI.java,
798         javax/swing/plaf/MenuItemUI.java,
799         javax/swing/plaf/OptionPaneUI.java,
800         javax/swing/plaf/PanelUI.java,
801         javax/swing/plaf/ProgressBarUI.java,
802         javax/swing/plaf/RootPaneUI.java,
803         javax/swing/plaf/ScrollBarUI.java,
804         javax/swing/plaf/ScrollPaneUI.java,
805         javax/swing/plaf/SeparatorUI.java,
806         javax/swing/plaf/SliderUI.java,
807         javax/swing/plaf/TableHeaderUI.java,
808         javax/swing/plaf/TableUI.java,
809         javax/swing/plaf/ToolBarUI.java,
810         javax/swing/plaf/ToolTipUI.java,
811         javax/swing/plaf/ViewportUI.java:
812         New versions from classpath.
813         * javax/swing/plaf/SpinnerUI.java: 
814         New file from classpath
815
816 2003-06-25  Michael Koch  <konqueror@gmx.de>
817
818         * java/awt/image/ColorModel.java:
819         New version from classpath.
820
821 2003-06-25  Michael Koch  <konqueror@gmx.de>
822
823         * java/net/PlainDatagramSocketImpl.java:
824         Partly merged with classpath, this mainly adds documentation.
825
826 2003-06-25  Michael Koch  <konqueror@gmx.de>
827
828         * java/io/ObjectInputStream.java
829         (readClassDescriptor): New method.
830         (readObject): Moved functionality to readClassDescriptor().
831         * java/io/ObjectOutputStream.java
832         (writeClassDescriptor): New method.
833         (writeObject): Moved functionality to writeClassDescriptor().
834
835 2003-06-25  Michael Koch  <konqueror@gmx.de>
836
837         * javax/swing/plaf/basic/BasicListUI.java,
838         javax/swing/plaf/basic/BasicOptionPaneUI.java:
839         Added missing methods.
840
841 2003-06-25  Michael Koch  <konqueror@gmx.de>
842
843         * javax/swing/event/AncestorEvent.java
844         javax/swing/event/HyperlinkEvent.java
845         javax/swing/event/InternalFrameEvent.java
846         javax/swing/event/ListDataEvent.java
847         javax/swing/event/TableModelEvent.java:
848         Compile fixes.
849
850 2003-06-24  Michael Koch  <konqueror@gmx.de>
851
852         * java/net/URL.java:
853         Renamed "handler" to "ph" in the whole file to match classpaths
854         version.
855         * java/net/URLStreamHandler.java:
856         (equals): Renamed "handler" to "ph".
857
858 2003-06-24  Michael Koch  <konqueror@gmx.de>
859
860         * javax/swing/event/AncestorEvent.java,
861         javax/swing/event/HyperlinkEvent.java,
862         javax/swing/event/InternalFrameEvent.java,
863         javax/swing/event/ListDataEvent.java,
864         javax/swing/event/TableModelEvent.java,
865         javax/swing/event/TreeWillExpandListener.java,
866         javax/swing/plaf/ComponentUI.java,
867         javax/swing/plaf/DesktopIconUI.java,
868         javax/swing/plaf/DesktopPaneUI.java,
869         javax/swing/plaf/DimensionUIResource.java,
870         javax/swing/plaf/FileChooserUI.java,
871         javax/swing/plaf/FontUIResource.java,
872         javax/swing/plaf/IconUIResource.java,
873         javax/swing/plaf/InputMapUIResource.java,
874         javax/swing/plaf/InsetsUIResource.java,
875         javax/swing/plaf/InternalFrameUI.java,
876         javax/swing/plaf/LabelUI.java,
877         javax/swing/plaf/ListUI.java,
878         javax/swing/plaf/MenuBarUI.java,
879         javax/swing/plaf/MenuItemUI.java,
880         javax/swing/plaf/OptionPaneUI.java,
881         javax/swing/plaf/PanelUI.java,
882         javax/swing/plaf/ProgressBarUI.java,
883         javax/swing/plaf/doc-files/ComponentUI-1.dia,
884         javax/swing/plaf/doc-files/ComponentUI-1.png:
885         New versions from classpath.
886
887 2003-06-24  Michael Koch  <konqueror@gmx.de>
888
889         * java/nio/Buffer.java
890         (cap): Made package-private.
891         (pos): Likewise.
892         (limit): Likewise.
893         (mark): Likewise.
894
895 2003-06-24  Michael Koch  <konqueror@gmx.de>
896
897         * java/net/SocketImpl.java
898         (shutdownInput): Made it non-abstract method throwing an exception
899         like in SUNs JRE.
900         (shutdownOutput): Likewise.
901         * java/net/SocketInputStream.java,
902         java/net/SocketOutputStream.java:
903         New files from classpath.
904
905 2003-06-24  Michael Koch  <konqueror@gmx.de>
906
907         * java/awt/Font.java,
908         java/awt/Window.java,
909         java/awt/color/ColorSpace.java,
910         java/awt/datatransfer/StringSelection.java,
911         java/awt/image/ColorModel.java:
912         New versions from classpath.
913
914 2003-06-24  Michael Koch  <konqueror@gmx.de>
915
916         * Makefile.am
917         (awt_java_source_files): Added new files:
918         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
919         javax/swing/plaf/basic/BasicSplitPaneUI.java
920         * Makefile.in: Regenerated.
921
922 2003-06-24  Michael Koch  <konqueror@gmx.de>
923
924         * javax/swing/text/JTextComponent.java:
925         New version from classpath.
926
927 2003-06-24  Michael Koch  <konqueror@gmx.de>
928
929         * javax/swing/Timer.java,
930         javax/swing/plaf/ActionMapUIResource.java,
931         javax/swing/plaf/ButtonUI.java,
932         javax/swing/plaf/ColorChooserUI.java,
933         javax/swing/plaf/ColorUIResource.java,
934         javax/swing/plaf/ComboBoxUI.java,
935         javax/swing/plaf/ComponentInputMapUIResource.java,
936         javax/swing/plaf/basic/BasicBorders.java:
937         New versions from classpath.
938         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
939         javax/swing/plaf/basic/BasicSplitPaneUI.java:
940         New file from classpath.
941         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
942         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
943         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
944         javax/swing/plaf/doc-files/ComponentUI-1.dia,
945         javax/swing/plaf/doc-files/ComponentUI-1.png:
946         New binary files from classpath.
947
948 2003-06-24  Michael Koch  <konqueror@gmx.de>
949
950         * java/io/LineNumberReader.java
951         (skip): Dont do line number accounting here as this is already done in
952         read(), simplified.
953
954 2003-06-21  Michael Koch  <konqueror@gmx.de>
955
956         * java/io/File.java
957         (static): Load javaio lib if existing (only in classpath).
958         (File): Revised documentation to show the correct argument name.
959         (createTempFile): Partly merged with classpath.
960         (compareTo): Simplified.
961         (lastModified): Throw exception if time < 0.
962         (deleteOnExit): Revised documentation.
963
964 2003-06-21  Michael Koch  <konqueror@gmx.de>
965
966         * java/net/PlainSocketImpl.java:
967         Reformatted.
968         (PlainSocketImpl): Merged class documentaion with classpath.
969         (in): Moved.
970         (out): Moved.
971         (PlainSocketImpl): New empty constructor.
972         (finalize): Moved.
973         (setOption): Merged documentation from classpath.
974         (getOption): Likewise.
975         (create): Likewise.
976         (connect): Likewise.
977         (bind): Likewise.
978         (listen): Likewise.
979         (accept): Likewise.
980         (available): Likewise.
981         (close): Likewise.
982         (read): Likewise.
983         (write): Likewise.
984         (getInputStream): Made synchronozed to get sure that only one stream
985         object can be created for this socket, merged documentation from
986         classpath.
987         (getOutputStream): Likewise.
988
989 2003-06-21  Michael Koch  <konqueror@gmx.de>
990
991         * java/net/PlainSocketImpl.java:
992         Reformatting.
993         (static): New implicit method.
994         (read): Made package private.
995         (write): Likewise.
996
997 2003-06-21  Michael Koch  <konqueror@gmx.de>
998
999         * java/util/SimpleTimeZone.java:
1000         Removed unneeded import, reformatting.
1001
1002 2003-06-21  Michael Koch  <konqueror@gmx.de>
1003
1004         * java/text/DateFormat.java,
1005         java/text/SimpleDateFormat.java,
1006         java/util/Locale.java:
1007         New versions from classpath.
1008
1009 2003-06-21  Michael Koch  <konqueror@gmx.de>
1010
1011         * javax/swing/SpinnerModel.java:
1012         New file from classpath.
1013         * javax/swing/border/LineBorder.java,
1014         javax/swing/border/SoftBevelBorder.java,
1015         javax/swing/plaf/BorderUIResource.java,
1016         javax/swing/plaf/basic/BasicBorders.java:
1017         New versions from classpath.
1018         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1019         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1020         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1021         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1022         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1023         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1024         New binary files from classpath.
1025
1026 2003-06-21  Michael Koch  <konqueror@gmx.de>
1027
1028         * java/util/logging/LogRecord.java,
1029         java/util/logging/Logger.java,
1030         java/util/logging/SocketHandler.java,
1031         java/util/logging/SimpleFormatter.java,
1032         java/util/logging/Formatter.java,
1033         java/util/logging/ErrorManager.java,
1034         java/util/logging/Handler.java,
1035         java/util/logging/FileHandler.java,
1036         java/util/logging/LogManager.java,
1037         java/util/logging/Level.java,
1038         java/util/logging/ConsoleHandler.java,
1039         java/util/logging/StreamHandler.java,
1040         java/util/logging/LoggingPermission.java,
1041         java/util/logging/Filter.java,
1042         java/util/logging/MemoryHandler.java,
1043         java/util/logging/XMLFormatter.java:
1044         New files from classpath.
1045
1046 2003-06-20  Michael Koch  <konqueror@gmx.de>
1047
1048         * java/io/ObjectStreamField.java
1049         (unshared): new member variable.
1050         (ObjectStreamField): New constructor.
1051         (isUnshared): New method.
1052
1053 2003-06-20  Michael Koch  <konqueror@gmx.de>
1054
1055         * java/net/URLStreamHandler.java
1056         (hostsEqual): Rewritten.
1057
1058 2003-06-20  Michael Koch  <konqueror@gmx.de>
1059
1060         * gnu/java/nio/MappedByteFileBuffer.java,
1061         gnu/java/nio/natMappedByteFileBuffer.cc:
1062         Removed
1063         * java/nio/MappedByteBufferImpl.java:
1064         New file.
1065         * gnu/java/nio/FileChannelImpl.java:
1066         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1067         * Makefile.am
1068         (ordinary_java_source_files): Removed
1069         gnu/java/nio/MappedByteFileBuffer.java and added
1070         java/nio/MappedByteBufferImpl.java.
1071         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1072         * Makefile.in: Regenerated.
1073
1074 2003-06-19  Michael Koch  <konqueror@gmx.de>
1075
1076         * gnu/java/nio/DatagramChannelImpl.java
1077         (fd): Removed.
1078         (blocking): New member variable.
1079         (socket): Likewise.
1080         (DatagramChannelImpl): Throws IOException, initialize socket.
1081         (socket):Implemented.
1082         (implCloseSelectableChannel): Throws IOException, implemented.
1083         (implConfigureBlocking): Likewise.
1084         (connect): Likewise.
1085         (disconnect): Likewise.
1086         (isConnected): Likewise.
1087         (write): Likewise.
1088         (read): Likewise.
1089         (receive): Throws IOException.
1090         (send): Likewise.
1091         * gnu/java/nio/SocketChannelImpl.java
1092         (read): Implemented.
1093         (write): Implemented.
1094
1095 2003-06-19  Michael Koch  <konqueror@gmx.de>
1096
1097         * javax/swing/JComponent.java,
1098         javax/swing/JInternalFrame.java,
1099         javax/swing/MenuSelectionManager.java,
1100         javax/swing/SwingUtilities.java,
1101         javax/swing/ToggleButtonModel.java:
1102         New versions from classpath.
1103
1104 2003-06-19  Michael Koch  <konqueror@gmx.de>
1105
1106         * java/text/CollationElementIterator.java
1107         (NULLORDER): Initialize with -1 as JDK documentation says.
1108
1109 2003-06-19  Michael Koch  <konqueror@gmx.de>
1110
1111         * java/net/HttpURLConnection.java,
1112         java/net/Inet4Address.java,
1113         java/net/Inet6Address.java,
1114         java/net/SocketImpl.java,
1115         java/net/URLClassLoader.java:
1116         Reworked import statements.
1117         * java/net/InetAddress.java
1118         (getByAddress): Simplified.
1119         * java/net/ServerSocket.java
1120         (ServerSocket): Moved special handling during bind operation to
1121         bind().
1122         (bind): Handle different cases when trying to bind a socket.
1123         * java/net/URLConnection.java
1124         (getHeaderFieldDate): Merged with classpath.
1125         (getHeaderFieldInt): Likewise.
1126
1127 2003-06-19  Michael Koch  <konqueror@gmx.de>
1128
1129         * java/util/zip/InflaterInputStream.java
1130         (InflaterInputStream): Throw NullPointerException if in is null (as
1131         JDK does).
1132
1133 2003-06-19  Michael Koch  <konqueror@gmx.de>
1134
1135         * java/awt/Font.java
1136         javax/swing/UIManager.java
1137         javax/swing/border/AbstractBorder.java
1138         javax/swing/border/BevelBorder.java
1139         javax/swing/border/Border.java
1140         javax/swing/border/CompoundBorder.java
1141         javax/swing/border/EmptyBorder.java
1142         javax/swing/border/EtchedBorder.java
1143         javax/swing/border/LineBorder.java
1144         javax/swing/border/MatteBorder.java
1145         javax/swing/border/TitledBorder.java
1146         javax/swing/plaf/BorderUIResource.java
1147         javax/swing/plaf/basic/BasicBorders.java
1148         javax/swing/plaf/basic/BasicButtonUI.java
1149         javax/swing/plaf/basic/BasicCheckBoxUI.java
1150         javax/swing/plaf/basic/BasicGraphicsUtils.java
1151         javax/swing/plaf/basic/BasicLabelUI.java
1152         javax/swing/plaf/basic/BasicRadioButtonUI.java
1153         javax/swing/plaf/basic/BasicToggleButtonUI.java:
1154         New versions from classpath.
1155         * javax/swing/border/SoftBevelBorder.java:
1156         New file from classpath.
1157         * javax/swing/border/doc-files/LineBorder-1.png,
1158         javax/swing/border/doc-files/BevelBorder-1.png,
1159         javax/swing/border/doc-files/BevelBorder-2.png,
1160         javax/swing/border/doc-files/BevelBorder-3.png,
1161         javax/swing/border/doc-files/EmptyBorder-1.png,
1162         javax/swing/border/doc-files/EtchedBorder-1.png,
1163         javax/swing/border/doc-files/EtchedBorder-2.png,
1164         javax/swing/border/doc-files/MatteBorder-1.png,
1165         javax/swing/border/doc-files/MatteBorder-2.png,
1166         javax/swing/border/doc-files/MatteBorder-3.png,
1167         javax/swing/border/doc-files/MatteBorder-4.png,
1168         javax/swing/border/doc-files/MatteBorder-5.png,
1169         javax/swing/border/doc-files/MatteBorder-6.png,
1170         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1171         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1172         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1173         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1174         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1175         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1176         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1177         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1178         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1179         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1180         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1181         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1182         New binary files from classpath.
1183         * Makefile.am
1184         (awt_java_source_files): Added
1185         javax/swing/border/SoftBevelBorder.java.
1186         * Makefile.in: Regenerated.
1187
1188 2003-06-19  Michael Koch  <konqueror@gmx.de>
1189
1190         * gnu/java/security/x509/X509Certificate.java
1191         (writeReplace): Merged from classpath.
1192
1193 2003-06-19  Michael Koch  <konqueror@gmx.de>
1194
1195         * gnu/java/nio/FileChannelImpl.java
1196         (map_address): Made public.
1197         (FileChannelImpl): Merged with classpath.
1198         * gnu/java/nio/natFileChannelImpl.cc
1199         (nio_mmap_file): Commented out unused arguments.
1200         (nio_unmmap_file): Likewise.
1201         (niu_msync): Likewise.
1202
1203 2003-06-19  Michael Koch  <konqueror@gmx.de>
1204
1205         * java/awt/image/IndexColorModel.java:
1206         New version from classpath.
1207
1208 2003-06-18  Tom Tromey  <tromey@redhat.com>
1209
1210         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1211         on arrays.
1212         (isLoopbackAddress): Likewise.
1213         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1214         on arrays.
1215
1216 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
1217
1218         * java/lang/natVMSecurityManager.cc (getClassContext):
1219         Use maxlen instead of len for loop bound.
1220
1221 2003-06-18  Michael Koch  <konqueror@gmx.de>
1222
1223         * gnu/java/nio/SelectorImpl.java
1224         (register): Use fd with value 0 for now, will be fixed later.
1225         * gnu/java/nio/ServerSocketChannelImpl.java
1226         (fd): Removed.
1227         (local_port): Removed.
1228         (InetSocketAddress): Removed.
1229         (ServerSocketChannelImpl): Just initialize internal socket object.
1230         (implCloseSelectableChannel): Close internal socket object.
1231         (implConfigureBlocking): Added comment.
1232         (accept): Use jaba.net stuff to accept socket.
1233         * gnu/java/nio/SocketChannelImpl.java
1234         (fd): Removed.
1235         (local_port): Removed.
1236         (InetSocketAddress): Removed.
1237         (SocketCreate): Removed.
1238         (SocketConnect): Removed.
1239         (SocketBind): Removed.
1240         (SocketListen): Removed.
1241         (SocketAvailable): Removed.
1242         (SocketClose): Removed.
1243         (SocketRead): Removed.
1244         (SocketWrite): Removed.
1245         (SocketChannelImpl): Just initialize internal socket object.
1246         (implCloseSelectableChannel): Close internal socket object.
1247         (implConfigureBlocking): Fixed implementation, added comment.
1248         (connect): Use internal socket object to connect.
1249         (socket): No need for sanity checks.
1250         (read): Comment out some stuff, this will be reimplemented in the next
1251         commit.
1252         (write): Likewise.
1253         * gnu/java/nio/natFileChannelImpl.cc
1254         (nio_mmap_file): Line wrapped.
1255         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1256         * Makefile.am
1257         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1258         * Makefile.in: Regenerated.
1259
1260 2003-06-18  Michael Koch  <konqueror@gmx.de>
1261
1262         * java/util/Locale.java
1263         (equals): Merged from classpath.
1264
1265 2003-06-18  Michael Koch  <konqueror@gmx.de>
1266
1267         * java/net/InetAddress.java:
1268         Reformatted to better match classpath's version.
1269         * java/net/URL.java
1270         (equals): Simplified.
1271         * java/net/URLConnection.java
1272         (setDoInput): Revised documentation.
1273         (getDefaultUseCaches): Likewise.
1274         (setRequestProperty): Added @since tag.
1275
1276 2003-06-17  Michael Koch  <konqueror@gmx.de>
1277
1278         * java/net/InetSocketAddress.java
1279         (InetSocketAddress): Use wildcard address if addr is null.
1280         (InetSocketAddress): Dont duplicate implementation.
1281         (InetSocketAddress): Throw exception when hostname is null.
1282         * java/net/Socket.java:
1283         Reworked imports.
1284         (Socket): Throw exception when raddr is null, handle case when laddr
1285         is null.
1286
1287 2003-06-17  Michael Koch  <konqueror@gmx.de>
1288
1289         * java/nio/DirectByteBufferImpl.java
1290         (address): Made package private.
1291         (DirectByteBufferImpl): New constructor.
1292         * java/nio/natDirectByteBufferImpl.cc
1293         (allocateImpl): Moved to java.nio namespace, implemented.
1294         (freeImpl): Likewise.
1295         (getImpl): Likewise.
1296         (putImpl): Likewise.
1297         * jni.cc
1298         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1299         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1300         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1301
1302 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1303
1304         * include/powerpc-signal.h: New File.
1305         * configure.in: Use it.
1306         * configure: Regenerated.
1307
1308 2003-06-17  Michael Koch  <konqueror@gmx.de>
1309
1310         * java/util/Locale.java
1311         (getDisplayLanguage): Made it final.
1312         (getDisplayCountry): Likewise.
1313         (getDisplayVariant): Likewise.
1314         (getDisplayName): Likewise.
1315
1316 2003-06-17  Michael Koch  <konqueror@gmx.de>
1317
1318         * java/util/PropertyResourceBundle.java:
1319         Removed unneeded import.
1320
1321 2003-06-17  Michael Koch  <konqueror@gmx.de>
1322
1323         * java/util/prefs/AbstractPreferences.java,
1324         java/util/prefs/PreferencesFactory.java:
1325         Reworked imports, removed unused imports.
1326         * java/util/prefs/Preferences.java
1327         (systemNodeForPackage): Method takes a Class not an Object.
1328         (userNodeForPackage): Likewise.
1329         (nodeForPackage): Likewise.
1330
1331 2003-06-17  Michael Koch  <konqueror@gmx.de>
1332
1333         * gnu/java/security/x509/X509Certificate.java:
1334         Explicitely import used classes.
1335
1336 2003-06-17  Michael Koch  <konqueror@gmx.de>
1337
1338         * java/util/zip/ZipEntry.java,
1339         java/util/zip/ZipFile.java,
1340         java/util/zip/ZipInputStream.java,
1341         java/util/zip/ZipOutputStream.java:
1342         Reworked imports, only import used classes.
1343
1344 2003-06-17  Michael Koch  <konqueror@gmx.de>
1345
1346         * gnu/java/lang/ArrayHelper.java,
1347         gnu/java/lang/ClassHelper.java:
1348         Reformatted to match classpath's versions.
1349
1350 2003-06-14  Michael Koch  <konqueror@gmx.de>
1351
1352         * gnu/java/nio/FileChannelImpl.java
1353         (map_address): Removed incorrect comment.        
1354         * gnu/java/nio/SelectorImpl.java
1355         (register): Remove code duplication and code for file channel handling.        
1356         * gnu/java/nio/ServerSocketChannelImpl.java
1357         (serverSocket): Renamed from sock_object.
1358         (ServerSocketChannel): Initialize serverSocket.
1359         (socket): Return serverSocket.
1360         * gnu/java/nio/SocketChannelImpl.java
1361         (socket): Renamed from sock_object.
1362         (isConnectionPenging): Simplified.
1363         (socket): Return socket.
1364 2003-06-14  Michael Koch  <konqueror@gmx.de>
1365
1366         * java/security/BasicPermission.java:
1367         New version from classpath.
1368
1369 2003-06-14  Michael Koch  <konqueror@gmx.de>
1370
1371         * javax/naming/directory/Attribute.java:
1372         New version from classpath.
1373
1374 2003-06-14  Michael Koch  <konqueror@gmx.de>
1375
1376         * java/io/BufferedReader.java,
1377         java/io/FileOutputStream.java:
1378         New versions from classpath.
1379
1380 2003-06-12  Andrew Haley  <aph@redhat.com>
1381
1382         * prims.cc (catch_segv): Create exception in handler.
1383         (catch_fpe): Likewise.  
1384         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1385         (_Jv_ThrowSignal): Remove.
1386
1387         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1388         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1389         to nullp and arithexception.
1390         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1391         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1392         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1393         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1394         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1395
1396 2003-06-11  Andrew Haley  <aph@redhat.com>
1397
1398         * jni.cc (_Jv_JNI_check_types): New.
1399         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1400         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1401         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1402         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1403         
1404         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1405         infinite loop.
1406
1407 2003-06-11  Tom Tromey  <tromey@redhat.com>
1408
1409         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1410         * java/io/PrintStream.java: Not deprecated.
1411
1412 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1413
1414         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1415         (fillOval): implemented
1416         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1417         (fillArc): implemented.
1418         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1419         (fillArc): added native method.
1420         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1421         (fillArc): added native method.
1422
1423 2003-06-11  Michael Koch  <konqueror@gmx.de>
1424
1425         * java/awt/im/InputSubset.java:
1426         New version from classpath.
1427
1428 2003-06-11  Michael Koch  <konqueror@gmx.de>
1429
1430         * javax/swing/AbstractAction.java,
1431         javax/swing/AbstractButton.java,
1432         javax/swing/AbstractCellEditor.java,
1433         javax/swing/AbstractListModel.java,
1434         javax/swing/BorderFactory.java,
1435         javax/swing/Box.java,
1436         javax/swing/BoxLayout.java,
1437         javax/swing/ButtonGroup.java,
1438         javax/swing/DefaultButtonModel.java,
1439         javax/swing/DefaultListModel.java,
1440         javax/swing/DefaultListSelectionModel.java,
1441         javax/swing/FocusManager.java,
1442         javax/swing/ImageIcon.java,
1443         javax/swing/InputMap.java,
1444         javax/swing/JApplet.java,
1445         javax/swing/JButton.java,
1446         javax/swing/JCheckBox.java,
1447         javax/swing/JCheckBoxMenuItem.java,
1448         javax/swing/JColorChooser.java,
1449         javax/swing/JComboBox.java,
1450         javax/swing/JComponent.java,
1451         javax/swing/JDesktopPane.java,
1452         javax/swing/JDialog.java,
1453         javax/swing/JEditorPane.java,
1454         javax/swing/JFileChooser.java,
1455         javax/swing/JFormattedTextField.java,
1456         javax/swing/JFrame.java,
1457         javax/swing/JLabel.java,
1458         javax/swing/JLayeredPane.java,
1459         javax/swing/JList.java,
1460         javax/swing/JMenuBar.java,
1461         javax/swing/JMenuItem.java,
1462         javax/swing/JOptionPane.java,
1463         javax/swing/JPanel.java,
1464         javax/swing/JPasswordField.java,
1465         javax/swing/JPopupMenu.java,
1466         javax/swing/JProgressBar.java,
1467         javax/swing/JRadioButton.java,
1468         javax/swing/JRadioButtonMenuItem.java,
1469         javax/swing/JRootPane.java,
1470         javax/swing/JScrollBar.java,
1471         javax/swing/JScrollPane.java,
1472         javax/swing/JSeparator.java,
1473         javax/swing/JSlider.java,
1474         javax/swing/JTabbedPane.java,
1475         javax/swing/JTable.java,
1476         javax/swing/JTextField.java,
1477         javax/swing/JToggleButton.java,
1478         javax/swing/JToolBar.java,
1479         javax/swing/JToolTip.java,
1480         javax/swing/JTree.java,
1481         javax/swing/JViewport.java,
1482         javax/swing/JWindow.java,
1483         javax/swing/KeyStroke.java,
1484         javax/swing/ListSelectionModel.java,
1485         javax/swing/LookAndFeel.java,
1486         javax/swing/RepaintManager.java,
1487         javax/swing/ScrollPaneLayout.java,
1488         javax/swing/SizeRequirements.java,
1489         javax/swing/SwingConstants.java,
1490         javax/swing/Timer.java,
1491         javax/swing/UIDefaults.java,
1492         javax/swing/UIManager.java,
1493         javax/swing/border/AbstractBorder.java,
1494         javax/swing/border/CompoundBorder.java,
1495         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1496         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1497         javax/swing/colorchooser/ColorSelectionModel.java,
1498         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1499         javax/swing/event/AncestorEvent.java,
1500         javax/swing/event/HyperlinkEvent.java,
1501         javax/swing/event/InternalFrameAdapter.java,
1502         javax/swing/event/InternalFrameEvent.java,
1503         javax/swing/event/ListDataEvent.java,
1504         javax/swing/event/MouseInputAdapter.java,
1505         javax/swing/event/SwingPropertyChangeSupport.java,
1506         javax/swing/event/TableModelEvent.java,
1507         javax/swing/event/TreeWillExpandListener.java,
1508         javax/swing/event/UndoableEditEvent.java,
1509         javax/swing/filechooser/FileFilter.java,
1510         javax/swing/filechooser/FileSystemView.java,
1511         javax/swing/filechooser/FileView.java,
1512         javax/swing/plaf/BorderUIResource.java,
1513         javax/swing/plaf/basic/BasicDefaults.java,
1514         javax/swing/table/AbstractTableModel.java,
1515         javax/swing/table/DefaultTableCellRenderer.java,
1516         javax/swing/table/DefaultTableColumnModel.java,
1517         javax/swing/table/DefaultTableModel.java,
1518         javax/swing/table/TableColumn.java,
1519         javax/swing/text/JTextComponent.java,
1520         javax/swing/tree/AbstractLayoutCache.java,
1521         javax/swing/tree/DefaultMutableTreeNode.java,
1522         javax/swing/tree/DefaultTreeCellEditor.java,
1523         javax/swing/tree/DefaultTreeCellRenderer.java,
1524         javax/swing/tree/DefaultTreeModel.java,
1525         javax/swing/tree/DefaultTreeSelectionModel.java,
1526         javax/swing/tree/FixedHeightLayoutCache.java,
1527         javax/swing/tree/TreeCellEditor.java,
1528         javax/swing/tree/TreeModel.java,
1529         javax/swing/tree/TreeNode.java,
1530         javax/swing/tree/TreePath.java,
1531         javax/swing/tree/TreeSelectionModel.java,
1532         javax/swing/tree/VariableHeightLayoutCache.java,
1533         javax/swing/undo/AbstractUndoableEdit.java,
1534         javax/swing/undo/CompoundEdit.java,
1535         javax/swing/undo/StateEdit.java,
1536         javax/swing/undo/UndoManager.java,
1537         javax/swing/undo/UndoableEditSupport.java:
1538         New versions from classpath.
1539         * javax/swing/table/JTableHeader.java:
1540         New file from classpath.
1541         * Makefile.am
1542         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1543         * Makefile.in: Regenerated.
1544
1545 2003-06-11  Michael Koch  <konqueror@gmx.de>
1546
1547         * java/nio/MappedByteBuffer.java,
1548         java/nio/channels/Channels.java,
1549         java/nio/channels/ServerSocketChannel.java,
1550         java/nio/channels/spi/AbstractSelector.java:
1551         Removed unneeded imports.
1552
1553 2003-06-11  Michael Koch  <konqueror@gmx.de>
1554
1555         * java/net/DatagramSocket.java:
1556         Partly merged with classpath.
1557
1558 2003-06-11  Michael Koch  <konqueror@gmx.de>
1559
1560         * java/awt/Frame.java,
1561         java/awt/Graphics.java,
1562         java/awt/Menu.java,
1563         java/awt/Robot.java,
1564         java/awt/image/ColorModel.java:
1565         New versions from classpath.
1566
1567 2003-06-10  Michael Koch  <konqueror@gmx.de>
1568
1569         * java/io/PrintStream.java:
1570         Merged version from classpath.
1571         (close): Removed sychronized keyword. This class is not garantied to
1572         be thread-safe.
1573         (write): Likewise.
1574
1575 2003-06-09  Tom Tromey  <tromey@redhat.com>
1576
1577         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1578         field.
1579         (getDescent): Likewise, for "descent".
1580
1581 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1582
1583         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1584         (getMaxDescent): adjusted return value.
1585         (getAscent): modified to use metrics for 'O'.
1586         (getDescent): modified to use metrics for 'y'.
1587
1588 2003-06-08  Anthony Green  <green@redhat.com>
1589
1590         * java/net/URLStreamHandler.java (sameFile): Fix port value
1591         comparison.
1592         * java/net/URL.java (handler): Make package private.
1593         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1594
1595 2003-06-07  Tom Tromey  <tromey@redhat.com>
1596
1597         For PR libgcj/11085:
1598         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1599         Limit number of characters in numeric field when required.
1600         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1601         Respect maximumIntegerDigits.
1602
1603 2003-06-08  Michael Koch  <konqueror@gmx.de>
1604
1605         * java/net/Socket.java
1606         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1607         call bind() and connect() to actually do the bind and connect tasks.
1608         (bind): Connect to canonical address if bindpoint is null, create
1609         socket and bind it to bindpoint.
1610         (connect): Check for exceptions.
1611
1612 2003-06-08  Michael Koch  <konqueror@gmx.de>
1613
1614         * java/net/DatagramSocket.java
1615         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1616         into the Multicast constructors.
1617         * java/net/DatagramSocketImpl.java
1618         (getOption): Removed.
1619         (setOption): Removed.
1620         * java/net/MulticastSocket.java
1621         (MulticastSocket): Call setReuseAddress (true).
1622         * java/net/SocketImpl.java
1623         (getOption): Removed.
1624         (setOption): Removed.
1625
1626 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1627
1628         PR libgcj/10886:
1629         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1630         Test for empty vector.
1631
1632 2003-06-06  Mark Wielaard  <mark@klomp.org>
1633
1634         * java/security/Security.java (secprops): Initialize.
1635         (loadProviders): Return boolean.
1636         (static): Check result of loadProvider calls. If necessary
1637         display WARNING and fallback to Gnu provider.
1638
1639 2002-06-06  James Clark  <jjc@jclark.com>
1640
1641         Fix for PR libgcj/8738:
1642         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1643         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1644         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1645         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1646         (write): Always decrease avail when count is increased.
1647         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1648         and whether output buffer is full before increasing size.
1649
1650 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1651
1652         * java/io/PrintStream.java (writeChars(char[],int, int)):
1653         Check converter.havePendingBytes().
1654         (writeChars(String,int,int)): Likewise.
1655         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1656         Check converter.havePendingBytes() and flush buffer when stalled.
1657
1658 2003-06-07  Michael Koch  <konqueror@gmx.de>
1659
1660         * include/posix.h
1661         (O_DSYNC): Define O_DSYNC on platforms not
1662         supporting O_FSYNC (newlib).
1663
1664 2003-06-06  Mark Wielaard  <mark@klomp.org>
1665
1666         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1667         AWTError.
1668
1669 2003-06-06  Michael Koch  <konqueror@gmx.de>
1670
1671         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1672         More compile fixes from my stupid work yesterday.
1673
1674 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1675
1676         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1677         if _IEEE_LIBM is undefined.
1678
1679 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1680
1681         * libjava/include/posix.h (O_SYNC): Define if not available
1682         and a reasonable, perhaps more conservative, replacement exists.
1683         (O_DSYNC): Likewise.
1684         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1685
1686 2003-06-05  Michael Koch  <konqueror@gmx.de>
1687
1688         * javax/swing/plaf/BorderUIResource.java,
1689         javax/swing/plaf/basic/BasicDefaults.java,
1690         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1691         More compile fixes for latest Border commit. I should not commit
1692         something in this heat here ...
1693
1694 2003-06-05  Michael Koch  <konqueror@gmx.de>
1695
1696         * javax/swing/border/BevelBorder.java
1697         (BevelBorder): Removed.
1698         * javax/swing/border/EmptyBorder.java:
1699         Reformatted.
1700         (EmptyBorder): Removed.
1701         (getBorderInsets): Dont use l, r, t and b.
1702         * javax/swing/border/EtchedBorder.java
1703         (EtchedBorder): Removed.
1704         * javax/swing/border/LineBorder.java
1705         (LineBorder): Removed.
1706         * javax/swing/border/MatteBorder.java
1707         (MatteBorder): Removed.
1708         * javax/swing/border/TitledBorder.java
1709         (defaultBorder): Use other default for now.
1710         (defaultFont): Likewise.
1711         (defaultColor): Likewise.
1712
1713 2003-06-05  Michael Koch  <konqueror@gmx.de>
1714
1715         * javax/swing/border/Border.java:
1716         New version from classpath.
1717
1718 2003-06-05  Michael Koch  <konqueror@gmx.de>
1719
1720         * javax/swing/border/AbstractBorder.java,
1721         javax/swing/border/BevelBorder.java,
1722         javax/swing/border/CompoundBorder.java,
1723         javax/swing/border/EmptyBorder.java,
1724         javax/swing/border/EtchedBorder.java,
1725         javax/swing/border/LineBorder.java,
1726         javax/swing/border/MatteBorder.java,
1727         javax/swing/border/TitledBorder.java:
1728         New versions from Classpath.
1729
1730 2003-06-05  Michael Koch  <konqueror@gmx.de>
1731
1732         * java/awt/Button.java,
1733         java/awt/Checkbox.java,
1734         java/awt/CheckboxMenuItem.java,
1735         java/awt/Choice.java,
1736         java/awt/Container.java,
1737         java/awt/Dialog.java,
1738         java/awt/EventQueue.java,
1739         java/awt/FileDialog.java,
1740         java/awt/Frame.java,
1741         java/awt/Label.java,
1742         java/awt/List.java,
1743         java/awt/Menu.java,
1744         java/awt/MenuItem.java,
1745         java/awt/Panel.java,
1746         java/awt/PopupMenu.java,
1747         java/awt/Rectangle.java,
1748         java/awt/ScrollPane.java,
1749         java/awt/Scrollbar.java,
1750         java/awt/TextArea.java,
1751         java/awt/TextField.java,
1752         java/awt/Window.java,
1753         java/awt/datatransfer/DataFlavor.java,
1754         java/awt/dnd/DragSource.java,
1755         java/awt/dnd/DragSourceContext.java,
1756         java/awt/event/HierarchyEvent.java,
1757         java/awt/event/MouseWheelEvent.java,
1758         java/awt/im/InputContext.java,
1759         java/awt/image/BufferedImage.java,
1760         java/awt/image/ComponentColorModel.java,
1761         java/awt/image/Raster.java,
1762         java/awt/image/WritableRaster.java,
1763         java/awt/peer/ComponentPeer.java,
1764         java/awt/print/PageFormat.java,
1765         java/awt/print/PrinterJob.java:
1766         New versions from Classpath.
1767
1768 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1769
1770         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1771         numberFormat.setParseIntegerOnly(true).
1772
1773 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1774
1775         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1776
1777 2003-06-03  Andrew Haley  <aph@redhat.com>
1778
1779         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1780         stack volatile to prevent optimization from removing it.
1781
1782 2003-05-27  Michael Koch  <konqueror@gmx.de>
1783
1784         * java/util/zip/Deflater.java
1785         (FILTERED): Merged documentation from classpath.
1786         * java/util/zip/DeflaterOutputStream.java
1787         (DeflaterOutputStream): Merged documentation and argument validity
1788         check from classpath.
1789         (deflate): Merged documentation from classpath.
1790         (finish): Likewise.
1791         * java/util/zip/Inflater.java
1792         (Inflater): Merged class documentation from classpath.
1793         (zstream): Reordered.
1794         (is_finished): Reordered.
1795         (dict_needed): Reordered.
1796         (Inflater): Reordered, merged documentation from classpath.
1797         (end): Likewise.
1798         (finalize): Merged documentation from classpath.
1799         (finished): Likewise.
1800         (getAdler): Likewise.
1801         (getRemaining): Likewise.
1802         (getTotalIn): Likewise.
1803         (getTotalOut): Likewise.
1804         (inflate): Likewise.
1805         (needsDictionary): Likewise.
1806         (needsInput): Likewise.
1807         (reset): Likewise.
1808         (setDictionary): Likewise.
1809         (setInput): Likewise.
1810
1811 2003-05-27  Michael Koch  <konqueror@gmx.de>
1812
1813         * java/net/URLConnection.java
1814         (getHeaderFieldInt): Merged with classpath.
1815
1816 2003-05-27  Michael Koch  <konqueror@gmx.de>
1817
1818         * java/io/PrintStream.java
1819         (PrintStream): Reformatted.
1820         (PrintStream): New method, merged from classpath.
1821         (write): Reformatted.
1822
1823 2003-05-27  Michael Koch  <konqueror@gmx.de>
1824
1825         * java/lang/System.java:
1826         Explicitely import needed classes.
1827
1828 2003-05-26  Michael Koch  <konqueror@gmx.de>
1829
1830         * java/net/NetPermission.java,
1831         java/net/NetworkInterface.java,
1832         java/net/PasswordAuthentication.java,
1833         java/net/SocketPermission.java:
1834         New versions from classpath.
1835
1836 2003-05-25  Michael Koch  <konqueror@gmx.de>
1837
1838         * java/io/PushbackInputStream.java,
1839         java/net/Authenticator.java,
1840         java/net/ContentHandler.java,
1841         java/net/ContentHandlerFactory.java,
1842         java/net/DatagramSocket.java,
1843         java/net/DatagramSocketImpl.java,
1844         java/net/DatagramSocketImplFactory.java,
1845         java/net/FileNameMap.java,
1846         java/net/SocketImplFactory.java,
1847         java/net/SocketOptions.java,
1848         java/net/URLStreamHandlerFactory.java:
1849         Merged new versions from classpath.
1850
1851 2003-05-25  Michael Koch  <konqueror@gmx.de>
1852
1853         * java/awt/Checkbox.java,
1854         java/awt/Dialog.java,
1855         java/awt/Font.java,
1856         java/awt/Frame.java,
1857         java/awt/ScrollPaneAdjustable.java,
1858         java/awt/Scrollbar.java,
1859         java/awt/Window.java:
1860         New versions from classpath.
1861
1862 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1863
1864         PR libgcj/10838:
1865         * java/io/ObjectInputStream (enableResolveObject):
1866         Fixed spelling of permission name.
1867
1868 2003-05-20  Michael Koch  <konqueror@gmx.de>
1869
1870         * java/io/DataInputStream.java
1871         (convertFromUTF): Merged comment from classpath.
1872         * java/io/PrintStream.java
1873         (error_occured): Renamed from error, merged comment from classpath.
1874         (PrintStream): No need to initialized error.
1875         (checkError): Replace error with error_occurred.
1876         (setError): Likewise.
1877
1878 2003-05-20  Michael Koch  <konqueror@gmx.de>
1879
1880         * java/io/DataInputStream.java:
1881         Reformatted, Replaced < and & with html entitites in documentation.
1882         * java/io/File.java:
1883         Reformatted.
1884         * java/io/PrintWriter.java:
1885         Moved class documentation.
1886
1887 2003-05-20  Michael Koch  <konqueror@gmx.de>
1888
1889         * gnu/java/nio/ByteBufferImpl.java,
1890         gnu/java/nio/CharBufferImpl.java,
1891         gnu/java/nio/CharViewBufferImpl.java,
1892         gnu/java/nio/DirectByteBufferImpl.java,
1893         gnu/java/nio/DoubleBufferImpl.java,
1894         gnu/java/nio/DoubleViewBufferImpl.java,
1895         gnu/java/nio/FloatBufferImpl.java,
1896         gnu/java/nio/FloatViewBufferImpl.java,
1897         gnu/java/nio/IntBufferImpl.java,
1898         gnu/java/nio/IntViewBufferImpl.java,
1899         gnu/java/nio/LongBufferImpl.java,
1900         gnu/java/nio/LongViewBufferImpl.java,
1901         gnu/java/nio/natDirectByteBufferImpl.cc,
1902         gnu/java/nio/ShortBufferImpl.java,
1903         gnu/java/nio/ShortViewBufferImpl.java:
1904         Moved files to java/nio.
1905         * gnu/java/nio/SocketChannelImpl.java
1906         
1907         * java/nio/ByteBuffer.java,
1908         java/nio/CharBuffer.java,
1909         java/nio/DoubleBuffer.java,
1910         java/nio/FloatBuffer.java,
1911         java/nio/IntBuffer.java,
1912         java/nio/LongBuffer.java,
1913         java/nio/ShortBuffer.java:
1914         Dont import anything.
1915         * java/nio/ByteBufferImpl.java,
1916         java/nio/CharBufferImpl.java,
1917         java/nio/CharViewBufferImpl.java,
1918         java/nio/DirectByteBufferImpl.java,
1919         java/nio/DoubleBufferImpl.java,
1920         java/nio/DoubleViewBufferImpl.java,
1921         java/nio/FloatBufferImpl.java,
1922         java/nio/FloatViewBufferImpl.java,
1923         java/nio/IntBufferImpl.java,
1924         java/nio/IntViewBufferImpl.java,
1925         java/nio/LongBufferImpl.java,
1926         java/nio/LongViewBufferImpl.java,
1927         java/nio/natDirectByteBufferImpl.cc,
1928         java/nio/ShortBufferImpl.java,
1929         java/nio/ShortViewBufferImpl.java:
1930         Moved from gnu/java/nio.
1931         * Makefile.am
1932         (ordinary_java_source_files): Moved files from gnu/java/nio to
1933         java/nio.
1934         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1935         to java/nio.
1936         * Makefile.in: Regenerated.
1937
1938 2003-05-19  Michael Koch  <konqueror@gmx.de>
1939
1940         * java/util/Calendar.java
1941         (get): Not final anymore since JDK 1.4
1942         (set): Likewise.
1943
1944 2003-05-19  Michael Koch  <konqueror@gmx.de>
1945
1946         * java/text/CollationKey.java:
1947         Merged copyright and dat from classpath.
1948         * java/text/RuleBasedCollator.java:
1949         Merged class documentation from classpath.
1950
1951 2003-05-19  Michael Koch  <konqueror@gmx.de>
1952
1953         * java/nio/CharBuffer.java
1954         (toString): Compile fix.
1955
1956 2003-05-19  Michael Koch  <konqueror@gmx.de>
1957
1958         * gnu/java/nio/ByteBufferImpl.java
1959         (putLong): Fixed conversion to bytes.
1960         (putDouble): Fixed conversion to bytes.
1961         * gnu/java/nio/DirectByteBufferImpl.java
1962         (putLong): Fixed conversion to bytes.
1963         (putDouble): Fixed conversion to bytes.
1964         * gnu/java/nio/FileLockImpl.java
1965         (isValid): Reformatted.
1966         * java/nio/Buffer.java
1967         (Buffer): Fixed off-by-one bug in handling mark.
1968         * java/nio/ByteBuffer.java:
1969         Added newline.
1970         * java/nio/CharBuffer.java
1971         (toString): Don't use relative get to get string data.
1972
1973 2003-05-16  Michael Koch  <konqueror@gmx.de>
1974
1975         * java/io/natFileDescriptorPosix.cc
1976         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1977         tested.
1978
1979 2003-05-14  Michael Koch  <konqueror@gmx.de>
1980
1981         * gnu/java/nio/FileLockImpl.java
1982         (released): New member variable.
1983         (FileLockImpl): Initialize released.
1984         (releaseImpl): New native method.
1985         (release): Implemented.
1986         * gnu/java/nio/SelectorImpl.java: Reformatted.
1987         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1988         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1989         (accept): Throws IOException.
1990         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1991         (implConfigureBlocking): Throws IOException.
1992         (connect): Likewise.
1993         (read): Likewise.
1994         (write): Likewise.
1995         * gnu/java/nio/natFileLockImpl.cc: New file.
1996         * java/nio/channels/FileLock.java: Reformatted.
1997         * Makefile.am:
1998         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1999         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2000         * Makefile.in: Regenerated.
2001
2002 2003-05-13  Michael Koch  <konqueror@gmx.de>
2003
2004         * gnu/java/nio/CharViewBufferImpl.java
2005         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2006         (get): Shift bits to the right direction.
2007         (put): Likewise.
2008         * gnu/java/nio/DoubleViewBufferImpl.java
2009         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2010         (get): Shift bits to the right direction.
2011         (put): Likewise.
2012         * gnu/java/nio/FloatViewBufferImpl.java
2013         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2014         (get): Shift bits to the right direction.
2015         (put): Likewise.
2016         * gnu/java/nio/IntViewBufferImpl.java
2017         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2018         (get): Shift bits to the right direction.
2019         (put): Likewise.
2020         * gnu/java/nio/LongViewBufferImpl.java
2021         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2022         (get): Shift bits to the right direction.
2023         (put): Likewise.
2024         * gnu/java/nio/ShortViewBufferImpl.java
2025         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2026         (get): Shift bits to the right direction.
2027         (put): Likewise.
2028
2029 2003-05-13  Michael Koch  <konqueror@gmx.de>
2030
2031         * gnu/java/nio/natDirectByteBufferImpl.cc
2032         (allocateImpl): jlong -> RawData*.
2033         (freeImpl): Likewise.
2034
2035 2003-05-13  Michael Koch  <konqueror@gmx.de>
2036
2037         * java/nio/channels/FileChannel.java
2038         (MapMode.m): Made it package-private to match JDK 1.4.
2039         * java/nio/charset/Charset.java
2040         (decode): Made it final to match JDK 1.4.
2041
2042 2003-05-13  Michael Koch  <konqueror@gmx.de>
2043
2044        * java/io/FileDescriptor.java
2045        (SYNC): New constant.
2046        (DSYNC): Likewise.
2047        (getLength): Renamed from lenght() to match classpath's
2048        FileDescriptor.java.
2049        * java/io/RandomAccessFile.java
2050        (RandomAccessFile): Removed unneeded mode check, implemented mode
2051        "rws" and "rwd", merged documentation from classpath.
2052        (setLength): Reformatted.
2053        (length): Use new getLength() of FileDescriptor.
2054        * java/io/natFileDescriptorEcos.cc
2055        (getLength): Renamed from length().
2056        * java/io/natFileDescriptorPosix.cc
2057        (open): Implemented support for SYNC and DSYNC.
2058        (seek): Use getLength() instead of length().
2059        (getLength): Renamed from length().
2060        * java/io/natFileDescriptorWin32.cc
2061        (getLength): Renamed from length().
2062        (seek): Use getLength() instead of length().
2063        (available): Likewise.
2064        * gnu/java/nio/natFileChannelImpl.cc
2065        (size): Use getLength() instead of length().
2066
2067 2003-05-13  Michael Koch  <konqueror@gmx.de>
2068
2069         * gnu/java/nio/ByteBufferImpl.java
2070         (ByteBufferImpl): All constructors revised.
2071         (slice): Reimplemented.
2072         (duplicate): Reimplemented.
2073         (asReadOnlyBuffer): Reimplemented.
2074         * java/nio/ByteBuffer.java:
2075         Reformatted.
2076         (array_offset): Renamed from "offset" to match all other buffer
2077         classes.
2078         (ByteBuffer): All constructors revised.
2079         (allocateDirect): Implemented.
2080         (allocate): New implementation, documentation reworked.
2081         (wrap): Likewise.
2082         (get): Documentation reworked.
2083         (put): New implementation, documentation reworked.
2084         (hasArray): Documentation reworked.
2085         (arrayOffset): Likewise.
2086         (hashCode): Likewise.
2087         (equals): Likewise.
2088         (compareTo): Likewise.
2089         (order): Likewise.
2090         (compact): Likewise.
2091         (isDirect): Likewise.
2092         (slice): Likewise.
2093         (duplicate): Likewise.
2094         (asReadOnlyBuffer): Likewise.
2095         * Makefile.am
2096         (ordinary_java_source_files):
2097         Added gnu/java/nio/DirectByteBufferImpl.java.
2098         (nat_source_files):
2099         Added gnu/java/nio/natDirectByteBufferImpl.cc.
2100         * Makefile.in: Regenerated.
2101
2102 2003-05-12  Michael Koch  <konqueror@gmx.de>
2103
2104         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2105         (nio_get_*): Removed.
2106         (nio_put_*): Removed.
2107         (as*Buffer): Implemented.
2108         (compact): Implemented.
2109         (get): Documentation added.
2110         (put): Documentation added.
2111         (get*): Newly implemented.
2112         (put*): Newly implemented.
2113         * gnu/java/nio/CharBufferImpl.java: Reformatted.
2114         (CharBufferImpl): Revised.
2115         (slice): New implementation.
2116         (duplicate): New implementation.
2117         (compact): New implementation.
2118         (asReadOnlyBuffer): New implementation.
2119         (get): Documentation revised.
2120         (order): Return native byte order.
2121         * gnu/java/nio/DirectByteBufferImpl.java
2122         (allocateDirect): objects can be null not 0.
2123         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2124         (DoubleBufferImpl): Revised.
2125         (slice): New implementation.
2126         (duplicate): New implementation.
2127         (compact): New implementation.
2128         (asReadOnlyBuffer): New implementation.
2129         (get): Documentation revised.
2130         (order): Return native byte order.
2131         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2132         (FloatBufferImpl): Revised.
2133         (slice): New implementation.
2134         (duplicate): New implementation.
2135         (compact): New implementation.
2136         (asReadOnlyBuffer): New implementation.
2137         (get): Documentation revised.
2138         (order): Return native byte order.
2139         * gnu/java/nio/IntBufferImpl.java: Reformatted.
2140         (IntBufferImpl): Revised.
2141         (slice): New implementation.
2142         (duplicate): New implementation.
2143         (compact): New implementation.
2144         (asReadOnlyBuffer): New implementation.
2145         (get): Documentation revised.
2146         (order): Return native byte order.
2147         * gnu/java/nio/LongBufferImpl.java: Reformatted.
2148         (LongBufferImpl): Revised.
2149         (slice): New implementation.
2150         (duplicate): New implementation.
2151         (compact): New implementation.
2152         (asReadOnlyBuffer): New implementation.
2153         (get): Documentation revised.
2154         (order): Return native byte order.
2155         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2156         (ShortBufferImpl): Revised.
2157         (slice): New implementation.
2158         (duplicate): New implementation.
2159         (compact): New implementation.
2160         (asReadOnlyBuffer): New implementation.
2161         (get): Documentation revised.
2162         (order): Return native byte order.
2163         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2164         (CharBuffer): Revised.
2165         (order): Removed.
2166         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2167         (DoubleBuffer): Revised.
2168         (allocateDirect): Removed.
2169         (order): Removed.
2170         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2171         (FloatBuffer): Revised.
2172         (allocateDirect): Removed.
2173         (order): Removed.
2174         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2175         (IntBuffer): Revised.
2176         (allocateDirect): Removed.
2177         (order): Removed.
2178         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2179         (LongBuffer): Revised.
2180         (allocateDirect): Removed.
2181         (order): Removed.
2182         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2183         (ShortBuffer): Revised.
2184         (allocateDirect): Removed.
2185         (order): Removed.
2186         * gnu/java/nio/natByteBufferImpl.cc: Removed.
2187         * gnu/java/nio/natCharBufferImpl.cc: Removed.
2188         * Makefile.am
2189         (ordinary_java_source_files): Added the following files:
2190         gnu/java/nio/CharViewBufferImpl.java,
2191         gnu/java/nio/DoubleViewBufferImpl.java,
2192         gnu/java/nio/FloatViewBufferImpl.java,
2193         gnu/java/nio/IntViewBufferImpl.java,
2194         gnu/java/nio/LongViewBufferImpl.java,
2195         gnu/java/nio/ShortViewBufferImpl.java
2196         (nat_source_files): Removed the following files:
2197         gnu/java/nio/natByteBufferImpl.cc,
2198         gnu/java/nio/natCharBufferImpl.cc
2199         * Makefile.in: Regenerated.
2200
2201 2003-05-12  Michael Koch  <konqueror@gmx.de>
2202
2203         * gnu/java/nio/CharViewBufferImpl.java,
2204         gnu/java/nio/DirectByteBufferImpl.java,
2205         gnu/java/nio/DoubleViewBufferImpl.java,
2206         gnu/java/nio/FloatViewBufferImpl.java,
2207         gnu/java/nio/IntViewBufferImpl.java,
2208         gnu/java/nio/LongViewBufferImpl.java,
2209         gnu/java/nio/ShortViewBufferImpl.java,
2210         gnu/java/nio/natDirectByteBufferImpl.cc:
2211         New files, not yet to be compiled.
2212
2213 2003-05-10  Michael Koch  <konqueror@gmx.de>
2214
2215         * javax/swing/plaf/ButtonUI.java,
2216         javax/swing/plaf/ColorUIResource.java,
2217         javax/swing/plaf/ComponentUI.java,
2218         javax/swing/plaf/DimensionUIResource.java,
2219         javax/swing/plaf/FontUIResource.java,
2220         javax/swing/plaf/IconUIResource.java,
2221         javax/swing/plaf/InsetsUIResource.java,
2222         javax/swing/plaf/LabelUI.java,
2223         javax/swing/plaf/ListUI.java,
2224         javax/swing/plaf/OptionPaneUI.java,
2225         javax/swing/plaf/PanelUI.java,
2226         javax/swing/plaf/TabbedPaneUI.java,
2227         javax/swing/plaf/TextUI.java,
2228         javax/swing/plaf/TreeUI.java,
2229         javax/swing/plaf/ViewportUI.java,
2230         javax/swing/plaf/basic/BasicBorders.java,
2231         javax/swing/plaf/basic/BasicButtonUI.java,
2232         javax/swing/plaf/basic/BasicCheckBoxUI.java,
2233         javax/swing/plaf/basic/BasicDefaults.java,
2234         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2235         javax/swing/plaf/basic/BasicIconFactory.java,
2236         javax/swing/plaf/basic/BasicLabelUI.java,
2237         javax/swing/plaf/basic/BasicListUI.java,
2238         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2239         javax/swing/plaf/basic/BasicPanelUI.java,
2240         javax/swing/plaf/basic/BasicRadioButtonUI.java,
2241         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2242         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2243         javax/swing/plaf/basic/BasicTextUI.java,
2244         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2245         javax/swing/plaf/basic/BasicTreeUI.java,
2246         javax/swing/plaf/basic/BasicViewportUI.java,
2247         javax/swing/plaf/metal/MetalLookAndFeel.java:
2248         New versions from classpath. This adds copyrights to all files and
2249         some serialVersionUIDs.
2250
2251 2003-05-10  Michael Koch  <konqueror@gmx.de>
2252
2253         * java/nio/CharBuffer.java
2254         (offset): Make it package-private.
2255         (backing_buffer): Likewise.
2256         * java/nio/DoubleBuffer.java
2257         (offset): Make it package-private.
2258         (backing_buffer): Likewise.
2259         (put): Reformatted.
2260         * java/nio/FloatBuffer.java
2261         (offset): Make it package-private.
2262         (backing_buffer): Likewise.
2263         * java/nio/IntBuffer.java
2264         (offset): Make it package-private.
2265         (backing_buffer): Likewise.
2266         * java/nio/LongBuffer.java
2267         (offset): Make it package-private.
2268         (backing_buffer): Likewise.
2269         * java/nio/ShortBuffer.java
2270         (offset): Make it package-private.
2271         (backing_buffer): Likewise.
2272
2273 2003-05-10  Michael Koch  <konqueror@gmx.de>
2274
2275         * java/nio/CharBuffer.java
2276         (put): Fixed precondtion check.
2277         (toString): Make it work without backing array.
2278         (put): Skip one level of method calling.
2279
2280 2003-05-10  Michael Koch  <konqueror@gmx.de>
2281
2282         * java/security/Identity.java,
2283         java/security/IdentityScope.java,
2284         java/security/Key.java,
2285         java/security/KeyPair.java,
2286         java/security/PrivateKey.java,
2287         java/security/Provider.java,
2288         java/security/PublicKey.java,
2289         java/security/SecureRandom.java,
2290         java/security/SecureRandomSpi.java,
2291         java/security/SignedObject.java,
2292         java/security/Signer.java,
2293         java/security/cert/Certificate.java,
2294         java/security/cert/PKIXCertPathBuilderResult.java,
2295         java/security/cert/X509Certificate.java:
2296         New versions from classpath.
2297
2298 2003-05-09  Tom Tromey  <tromey@redhat.com>
2299
2300         * Makefile.in: Rebuilt.
2301         * Makefile.am (nat_source_files): Removed old files.
2302         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2303         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2304         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2305         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2306         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2307
2308 2003-05-09  Michael Koch  <konqueror@gmx.de>
2309
2310         * gnu/java/nio/ByteBufferImpl.java
2311         (nio_cast): Removed.
2312         (ByteBufferImpl): Removed.
2313         (nio_get_Byte): Removed.
2314         (nio_put_Byte): Removed.
2315         (asByteBuffer): Removed.
2316         (asCharBuffer): Removed implementation and throw exception.
2317         (asShortBuffer): Likewise.
2318         (asIntBuffer): Likewise.
2319         (asLongBuffer): Likewise.
2320         (asFloatBuffer): Likewise.
2321         (asDoubleBuffer): Likewise.
2322         * gnu/java/nio/CharBufferImpl.java
2323         (CharBufferImpl): Removed.
2324         (nio_get_Byte): Removed.
2325         (nio_put_Byte): Removed.
2326         (asByteBuffer): Removed.
2327         * gnu/java/nio/DoubleBufferImpl.java
2328         (DoubleBufferImpl): Removed.
2329         (nio_get_Byte): Removed.
2330         (nio_put_Byte): Removed.
2331         (asByteBuffer): Removed.
2332         * gnu/java/nio/FloatBufferImpl.java
2333         (FloatBufferImpl): Removed.
2334         (nio_get_Byte): Removed.
2335         (nio_put_Byte): Removed.
2336         (asByteBuffer): Removed.
2337         * gnu/java/nio/IntBufferImpl.java
2338         (IntBufferImpl): Removed.
2339         (nio_get_Byte): Removed.
2340         (nio_put_Byte): Removed.
2341         (asByteBuffer): Removed.
2342         * gnu/java/nio/LongBufferImpl.java
2343         (LongBufferImpl): Removed.
2344         (nio_get_Byte): Removed.
2345         (nio_put_Byte): Removed.
2346         (asByteBuffer): Removed.
2347         * gnu/java/nio/ShortBufferImpl.java
2348         (ShortBufferImpl): Removed.
2349         (nio_get_Byte): Removed.
2350         (nio_put_Byte): Removed.
2351         (asByteBuffer): Removed.
2352         * gnu/java/nio/natByteBufferImpl.cc
2353         (nio_cast): Removed.
2354         (nio_get_Byte): Removed.
2355         (nio_put_Byte): Removed.
2356         * gnu/java/nio/natCharBufferImpl.cc
2357         (nio_get_Byte): Removed.
2358         (nio_put_Byte): Removed.
2359
2360 2003-05-09  Michael Koch  <konqueror@gmx.de>
2361
2362         * java/net/JarURLConnection.java
2363         (getJarEntry): Merged documentation from classpath.
2364         (getJarFile): Likewise.
2365         (getMainAttributes): Likewise.
2366         (getAttributes): Likewise.
2367         (getManifest): Likewise.
2368         (getCertificates): Reformatted.
2369         * java/net/URLConnection.java:
2370         Little classpath merge.
2371
2372 2003-05-09  Michael Koch  <konqueror@gmx.de>
2373
2374         * java/io/DataOutputStream.java
2375         (writeShort): Made it synchronized.
2376         (writeChar): Likewise.
2377         (writeInt): Likewise.
2378         (writeLong): Liekwise.
2379         (writeUTF): Made it synchronized, renamed argument to match classpath.
2380         * java/io/InputStreamReader.java
2381         (converter): Added documentation.
2382         (read): Merged documentation from classpath.
2383         * java/io/OutputStreamWriter.java
2384         (OutputStreamWriter): Merged documentation from classpath.
2385         (close): Reformatted.
2386         (getEncoding): Likewise.
2387         (flush): Likewise.
2388         (write): Merged documentation from classpath, reformatted.
2389
2390 2003-05-08  Tom Tromey  <tromey@redhat.com>
2391
2392         * configure.host <powerpc64*-*>: Set with_libffi_default and
2393         libgcj_interpreter to "yes".
2394
2395 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2396
2397         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2398         
2399 2003-05-06  Tom Tromey  <tromey@redhat.com>
2400
2401         * verify.cc: Reverted previous patch.
2402
2403 2003-05-06  Michael Koch  <konqueror@gmx.de>
2404
2405         * java/io/DataOutputStream.java
2406         (write): Renamed argument to "value", merged documentation from
2407         classpath.
2408         (writeBoolean): Likewise.
2409         (writeByte): Likewise.
2410         (writeShort): Likewise.
2411         (writeChar): Likewise.
2412         (writeInt): Likewise.
2413         (writeLong): Likewise.
2414         (writeFloat): Likewise.
2415         (writeDouble): Likewise.
2416         (writeBytes): Likewise.
2417         (writeChars): Likewise.
2418         (writeUTF): Likewise.
2419         * java/io/File.java
2420         (performDelete): Added documentation.
2421         (performList): Likewise.
2422         (performMkdir): Likewise.
2423         (performSetReadOnly): Likewise.
2424         (performRenameTo): Likewise.
2425         (performSetLastModified): Likewise.
2426         (delete): Made it sychronized.
2427         (renameTo): Made it sychronized.
2428         (equals): Reformatted.
2429         (isHidden): Likewise.
2430         (listFiles): Likewise.
2431         (setReadOnly): Likewise.
2432         (listRoots): Likewise.
2433         (setLastModified): Likewise.
2434         (checkRead): Likewise.
2435         (checkWrite): Likewise.
2436         * java/io/FileInputStream.java
2437         (skip): Made it sychronized, merged from classpath.
2438         * java/io/FileOutputStream.java
2439         (write): Merged from classpath.
2440         * java/io/InputStreamReader.java:
2441         (InputStreamReader): Merged documentation from classpath.
2442
2443 2003-05-05  Michael Koch  <konqueror@gmx.de>
2444
2445         * java/net/NetworkInterface.java
2446         (networkInterfaces): Removed.
2447         (getByName): Use getRealNetworkInterfaces() instead of
2448         networkInterfaces.
2449         (getByInetAddress): Likewise.
2450         (getNetworkInterfaces): Likewise.
2451         (toString): Fix output of addresses of an interface.
2452
2453 2003-05-05  Michael Koch  <konqueror@gmx.de>
2454
2455         * java/io/DataInputStream.java:
2456         Merged new documentation from classpath.
2457
2458 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2459
2460         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2461         "version".
2462         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2463         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2464         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2465         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2466         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2467         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2468         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2469         * java/security/Key.java: Likewise.
2470         * java/security/PrivateKey.java: Likewise.
2471         * java/security/Provider.java: Likewise.
2472         * java/security/PublicKey.java: Likewise.
2473
2474 2003-05-02  Michael Koch  <konqueror@gmx.de>
2475
2476         * java/net/URI.java
2477         (create): Doesnt throws any exceptions.
2478         * java/net/URLConnection.java
2479         (URLConnection): Commend added.
2480         (getExpiration): The header field is called "expires" not
2481         "expiration".
2482         (getHeaderField): Merged documentation with classpath.
2483         (getHeaderFieldInt): Likewise.
2484         (getHeaderFieldDate): Likewise.
2485         (getHeaderFieldKey): Likewise.
2486         (getPermission): Likewise.
2487         (setDefaultUseCaches): Likewise.
2488         (setRequestProperty): Likewise.
2489         (addRequestProperty): Likewise.
2490         (getRequestProperty): Likewise.
2491         (getRequestProperties): Likewise.
2492         (setDefaultRequestProperty): Likewise.
2493         (getDefaultRequestProperty): Likewise.
2494         (guessContentTypeFromStream): Likewise.
2495         (getFileNameMap): Likewise.
2496         (setFileNameMap): Likewise.
2497         (setDoInput): Merged implementation and documentation with classpath.
2498         (setDoOutput): Likewise.
2499         (setAllowUserInteraction): Likewise.
2500         (setDefaultAllowUserInteraction): Likewise.
2501         (setContentHandlerFactory): Made it synchronized, merged documentation
2502         with classpath.
2503         (guessContentTypeFromName): Renamed argument fname to filename to
2504         match classpath, merged documentation with classpath.
2505
2506 2003-05-02  Michael Koch  <konqueror@gmx.de>
2507
2508         * java/net/JarURLConnection.java
2509         (JarURLConnection): Class documentation merged with classpath.
2510         (getJarFileURL): Moved and documentation merged with classpath.
2511         (getEntryName): Likewise.
2512         (JarURLConnection): Documentation merged with classpath.
2513         (getJarEntry): Likewise.
2514         (getJarFile): Likewise.
2515         * java/net/PlainDatagramSocketImpl.java:
2516         Class documentation moved.
2517         * java/net/URLConnection.java
2518         (fileNameMap): Moved and documentation merged with classpath.
2519         (factory): Likewise.
2520         (defaultAllowUserInteraction): Likewis.
2521         (defaultUseCaches): Likewise.
2522         (allowUserInteraction): Likewise.
2523         (connected): Likewise.
2524         (url): Likewise.
2525         (connect): Documentation merged with classpath.
2526         (getURL): Likewise.
2527         (getContentLength): Likewise.
2528         (getContentType): Likewise.
2529         (getContentEncoding): Likewise.
2530         (getExpiration): Likewise.
2531         (getDate): Likewise.
2532         (getLastModified): Likewise.
2533         (getHeaderField): Likewise.
2534         (getContent): Likewise.
2535         (getPermission): Likewise.
2536         (getInputStream): Likewise.
2537         (getOutputStream): Likewise.
2538         (toString): Likewise.
2539         (getDoInput): Likewise.
2540         (getDoOutput): Likewise.
2541         (setAllowUserInteraction): Likewise.
2542         (getAllowUserInteraction): Likewise.
2543         (setDefaultAllowUserInteraction): Likewise.
2544         (getDefaultAllowUserInteraction): Likewise.
2545         (setUseCaches): Likewise.
2546         (getUseCaches): Likewise.
2547         (setIfModifiedSince): Likewise.
2548         (getIfModifiedSince): Likewise.
2549         (setDefaultRequestProperty): Likewise.
2550         (getDefaultRequestProperty): Likewise.
2551         (setContentHandlerFactory): Likewise.
2552         (setFileNameMap): Likewise.
2553
2554 2003-05-02  Michael Koch  <konqueror@gmx.de>
2555
2556         * java/net/InetAddress.java:
2557         Merged class documentation with classpath.
2558         * java/net/JarURLConnection.java:
2559         Explicitely import all used classes.
2560         * java/net/URL.java:
2561         Reformatting.
2562         * java/net/ServerSocket.java,
2563         java/net/Socket.java:
2564         New versions from classpath.
2565
2566 2003-05-02  Michael Koch  <konqueror@gmx.de>
2567
2568         * gnu/java/nio/FileChannelImpl.java
2569         (read): New implementation.
2570         (implRead): New methods.
2571         (write): New implementation, call other write insteal of read method.
2572         (implWrite): New methods.
2573         (map): Added comment.
2574         (transferFrom): Implemented.
2575         (transferTo): Implemented.
2576         (lock): Added checks to throw exceptions.
2577         (truncate): Added check to throw exception.
2578         * gnu/java/nio/natFileChannelImpl.cc
2579         (implRead): New method.
2580         (implWrite): New method.
2581         * java/nio/ByteBuffer.java
2582         (hashCode): Fixed comment.
2583         (get): Fixed exception documentation.
2584         (put): Fixed exception documentation.
2585         * java/nio/CharBuffer.java:
2586         Added comment for later optimizations.
2587
2588 2003-04-30  Tom Tromey  <tromey@redhat.com>
2589
2590         PR libgcj/10582:
2591         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2592         Removed.
2593         (type::compatible): Use _Jv_IsAssignableFrom.
2594         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2595         (_Jv_IsAssignableFrom): Work even when source or target class is
2596         not prepared.
2597
2598 2003-04-30  Michael Koch  <konqueror@gmx.de>
2599
2600         * java/text/BreakIterator.java
2601         (clone): New method.
2602
2603 2003-04-30  Michael Koch  <konqueror@gmx.de>
2604
2605         * java/text/CollationElementIterator.java,
2606         java/text/CollationKey.java,
2607         java/text/RuleBasedCollator.java:
2608         Merged copyright and documentation from classpath and
2609         rearranged some code. No code changes done.
2610
2611 2003-04-30  Michael Koch  <konqueror@gmx.de>
2612
2613         * java/util/regex/Matcher.java
2614         (pattern): New member variable.
2615         (appendReplacement): New method.
2616         (appendTail): New method.
2617         (end): New method.
2618         (find): New method.
2619         (group): New method.
2620         (replaceFirst): Added documentation.
2621         (replaceAll): Added documentation.
2622         (groupCount): New method.
2623         (lookingAt): New method.
2624         (matches): New method.
2625         (reset): New method.
2626         (start): New method.
2627         * java/util/regex/Pattern.java
2628         (serialVersionUID): New constant.
2629         (CANON_EQ): New constant.
2630         (CASE_INSENSITIVE): New constant.
2631         (COMMENTS): New constant.
2632         (DOTALL): New constant.
2633         (MULTILINE): New constant.
2634         (UNICODE_CASE): New constant.
2635         (UNIX_LINES): New constant.
2636         (regex): New member variable.
2637         (flags): New member variable.
2638         (Pattern): New method.
2639         (compile): Documentation added.
2640         (flags): New method.
2641         (matches): Documentation added.
2642         (matcher): Documentation added.
2643         (split): Documentation added.
2644         (pattern): New method.
2645
2646 2003-04-30  Michael Koch  <konqueror@gmx.de>
2647
2648         * gnu/java/security/Engine.java,
2649         gnu/java/security/OID.java,
2650         gnu/java/security/der/BitString.java,
2651         gnu/java/security/der/DER.java,
2652         gnu/java/security/der/DERReader.java,
2653         gnu/java/security/der/DERValue.java,
2654         gnu/java/security/der/DERWriter.java,
2655         gnu/java/security/provider/DSAKeyFactory.java,
2656         gnu/java/security/provider/X509CertificateFactory.java,
2657         gnu/java/security/x509/X500DistinguishedName.java,
2658         gnu/java/security/x509/X509CRL.java,
2659         gnu/java/security/x509/X509CRLEntry.java,
2660         gnu/java/security/x509/X509Certificate.java,
2661         java/security/cert/CRLSelector.java,
2662         java/security/cert/CertPathBuilder.java,
2663         java/security/cert/CertPathBuilderResult.java,
2664         java/security/cert/CertPathBuilderSpi.java,
2665         java/security/cert/CertPathParameters.java,
2666         java/security/cert/CertPathValidator.java,
2667         java/security/cert/CertPathValidatorResult.java,
2668         java/security/cert/CertPathValidatorSpi.java,
2669         java/security/cert/CertSelector.java,
2670         java/security/cert/CertStore.java,
2671         java/security/cert/CertStoreParameters.java,
2672         java/security/cert/CertStoreSpi.java,
2673         java/security/cert/CollectionCertStoreParameters.java,
2674         java/security/cert/LDAPCertStoreParameters.java,
2675         java/security/cert/PKIXBuilderParameters.java,
2676         java/security/cert/PKIXCertPathBuilderResult.java,
2677         java/security/cert/PKIXCertPathChecker.java,
2678         java/security/cert/PKIXCertPathValidatorResult.java,
2679         java/security/cert/PKIXParameters.java,
2680         java/security/cert/PolicyNode.java,
2681         java/security/cert/PolicyQualifierInfo.java,
2682         java/security/cert/TrustAnchor.java,
2683         javax/security/auth/x500/X500Principal.java:
2684         New files from classpath.
2685         * gnu/java/io/ASN1ParsingException.java,
2686         gnu/java/io/Base64InputStream.java,
2687         gnu/java/security/der/DEREncodingException.java,
2688         gnu/java/security/provider/DSAParameters.java,
2689         gnu/java/security/provider/DSASignature.java,
2690         gnu/java/security/provider/Gnu.java,
2691         gnu/java/security/provider/GnuDSAPrivateKey.java,
2692         gnu/java/security/provider/GnuDSAPublicKey.java,
2693         java/security/AlgorithmParameterGenerator.java,
2694         java/security/AlgorithmParameters.java,
2695         java/security/KeyFactory.java,
2696         java/security/KeyPairGenerator.java,
2697         java/security/KeyStore.java,
2698         java/security/MessageDigest.java,
2699         java/security/SecureClassLoader.java,
2700         java/security/SecureRandom.java,
2701         java/security/Security.java,
2702         java/security/Signature.java,
2703         java/security/cert/Certificate.java,
2704         java/security/cert/CertificateFactory.java,
2705         java/security/cert/CertificateFactorySpi.java,
2706         java/security/cert/X509CRL.java,
2707         java/security/cert/X509Certificate.java,
2708         java/security/spec/DSAPublicKeySpec.java:
2709         New versions from classpath.
2710         * gnu/java/security/provider/DERReader.java,
2711         gnu/java/security/provider/DERWriter.java,
2712         java/security/Engine.java: Removed.
2713         * Makefile.am
2714         (java_source_files, javax_source_files): Added new files.
2715         * Makefile.in: Regenerated.
2716
2717 2003-04-29  Michael Koch  <konqueror@gmx.de>
2718
2719         * javax/swing/JTable.java
2720         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2721         (AUTO_RESIZE_LAST_COLUMN): New constant.
2722         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2723         (AUTO_RESIZE_OFF): New constant.
2724         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2725         (JTable): New method.
2726         (columnAdded): New method.
2727         (columnMarginChanged): New method.
2728         (columnMoved): New method.
2729         (columnRemoved): New method.
2730         (columnSelectionChanged): New method.
2731         (editingCanceled): New method.
2732         (editingStopped): New method.
2733         (getColumnModel): New method.
2734         (getPreferredScrollableViewportSize): New method.
2735         (getScrollableBlockIncrement): New method.
2736         (getScrollableTracksViewportHeight): New method.
2737         (getScrollableTracksViewportWidth): New method.
2738         (getScrollableUnitIncrement): New method.
2739         (getSelectedRow): New method.
2740         (getSelectionModel): New method.
2741         (tableChanged): New method.
2742         (setModel): New method.
2743         (setSelectionMode): New method.
2744         (setSelectionModel): New method.
2745         (setShowGrid): New method.
2746         (valueChanged): New method.
2747         * javax/swing/text/DefaultEditorKit.java
2748         (backwardAction): New constant.
2749         (beepAction): New constant.
2750         (beginAction): New constant.
2751         (beginLineAction): New constant.
2752         (beginParagraphAction): New constant.
2753         (beginWordAction): New constant.
2754         (copyAction): New constant.
2755         (cutAction): New constant.
2756         (defaultKeyTypedAction): New constant.
2757         (deleteNextCharAction): New constant.
2758         (deletePrevCharAction): New constant.
2759         (downAction): New constant.
2760         (endAction): New constant.
2761         (endLineAction): New constant.
2762         (endOfLineStringProperty): New constant.
2763         (endParagraphAction): New constant.
2764         (endWordAction): New constant.
2765         (forwardAction): New constant.
2766         (insertBreakAction): New constant.
2767         (insertContentAction): New constant.
2768         (insertTabAction): New constant.
2769         (nextWordAction): New constant.
2770         (pageDownAction): New constant.
2771         (pageUpAction): New constant.
2772         (pasteAction): New constant.
2773         (previousWordAction): New constant.
2774         (readOnlyAction): New constant.
2775         (selectAllAction): New constant.
2776         (selectionBackwardAction): New constant.
2777         (selectionBeginAction): New constant.
2778         (selectionBeginLineAction): New constant.
2779         (selectionBeginParagraphAction): New constant.
2780         (selectionBeginWordAction): New constant.
2781         (selectionDownAction): New constant.
2782         (selectionEndAction): New constant.
2783         (selectionEndLineAction): New constant.
2784         (selectionEndParagraphAction): New constant.
2785         (selectionEndWordAction): New constant.
2786         (selectionForwardAction): New constant.
2787         (selectionNextWordAction): New constant.
2788         (selectionPreviousWordAction): New constant.
2789         (selectionUpAction): New constant.
2790         (selectLineAction): New constant.
2791         (selectParagraphAction): New constant.
2792         (selectWordAction): New constant.
2793         (upAction): New constant.
2794         (writableAction): New constant.
2795
2796 2003-04-29  Michael Koch  <konqueror@gmx.de>
2797
2798         * java/util/PropertyPermission.java:
2799         New version from classpath
2800         * java/util/ResourceBundle.java:
2801         Partly merged from classpath
2802         (getObject): Reformated.
2803         (tryBundle): Set foundBundle = null if no bundle found.
2804
2805 2003-04-29  Michael Koch  <konqueror@gmx.de>
2806
2807         * javax/swing/AbstractListModel.java,
2808         javax/swing/DefaultBoundedRangeModel.java,
2809         javax/swing/DefaultSingleSelectionModel.java:
2810         New Versions from classpath.
2811
2812 2003-04-29  Michael Koch  <konqueror@gmx.de>
2813
2814         * java/awt/Window.java
2815         (show): Call super.show() instead of setVisible() to avoid endless
2816         loop.
2817         (hide): Call super.hide() instead of setVisible() to avoid endless
2818         loop.
2819
2820 2003-04-29  Michael Koch  <konqueror@gmx.de>
2821
2822         * java/util/zip/Deflater.java,
2823         java/util/zip/DeflaterOutputStream.java:
2824         Partly merged with classpath.
2825
2826 2003-04-27  Tom Tromey  <tromey@redhat.com>
2827
2828         * java/lang/natString.cc (_Jv_AllocString): Initialize
2829         cachedHashCode.
2830         (init): Likewise.
2831         (_Jv_NewStringUtf8Const): Likewise.
2832
2833 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2834
2835         * include/jvm.h: (_Jv_GetNbArgs) added
2836         (_Jv_GetSafeArg) added
2837         (_Jv_SetArgs) added
2838         * prims.cc: (_Jv_GetNbArgs) implemented
2839         (_Jv_GetSafeArg) implemented
2840         (_Jv_SetArgs) implemented
2841         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2842         setting _Jv_argc and _Jv_argv
2843         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2844         instead of _Jv_argv
2845         * java/lang/natRuntime.cc: (insertSystemProperties) use
2846         _Jv_GetSafeArg() instead of _Jv_argv
2847
2848 2003-04-23  Tom Tromey  <tromey@redhat.com>
2849
2850         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2851         required by this object.  Search superclasses to find required
2852         alignment.
2853         (get_alignment_from_class): Use alignment of type as it appears
2854         in a struct.
2855         (ALIGNOF): New macro.
2856         (struct aligner): New helper structure.
2857
2858 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2859
2860         * java/awt/Container.java (addImpl): Enable paint events if adding
2861         a lightweight to a heavyweight.
2862         (addNotify): Ensure that peer is created before
2863         addNotifyContainerChildren.
2864         (addNotifyContainerChildren): Enable paint events if a heavyweight
2865         container contains a lightweight.
2866
2867 2003-04-20  Tom Tromey  <tromey@redhat.com>
2868
2869         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2870         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2871         Classpath.
2872
2873 2003-04-19  Tom Tromey  <tromey@redhat.com>
2874
2875         * java/sql/Date.java, java/sql/DriverManager.java,
2876         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2877         Classpath.
2878
2879         * Makefile.in: Rebuilt.
2880         * Makefile.am (ordinary_java_source_files): Added new files.
2881         * java/security/AlgorithmParameterGenerator.java,
2882         java/security/AlgorithmParameters.java, java/security/Engine.java,
2883         java/security/Identity.java, java/security/IdentityScope.java,
2884         java/security/KeyFactory.java,
2885         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2886         java/security/MessageDigest.java, java/security/Policy.java,
2887         java/security/ProtectionDomain.java,
2888         java/security/SecureRandom.java, java/security/Security.java,
2889         java/security/Signature.java, java/security/SignatureSpi.java,
2890         java/security/SignedObject.java, java/security/Signer.java,
2891         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2892         java/security/spec/PSSParameterSpec.java,
2893         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2894         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2895         Classpath.
2896
2897 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2898
2899         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2900         (dispose): Null metrics.
2901         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2902         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2903         finalize.
2904         (finalize): Call dispose.
2905         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2906         (gcCachedCount): New field.
2907         (finalize): New method.
2908         (putGCInCache): New method.
2909         (getGCFromCache): New method.
2910         * gnu/gcj/xlib/GC.java (GC): Make protected.
2911         (clone): Get new GC from cache if possible.
2912         (create): New static method.
2913         (dispose): Save old GC in cache.
2914         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2915         deleting.
2916         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2917         is null.
2918         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2919         * java/awt/Container.java (visitChild): Dispose gfx2 when
2920         finished.
2921
2922 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2923
2924         * java/math/BigInteger.java (probablePrime): New.
2925         * java/math/BigDecimal.java (unscaledValue): New.
2926
2927 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2928
2929         * java/io/File.java (getAbsolutePath): On Windows, take care
2930         of paths like "C:", "G:foo\bar", etc.
2931         (getName): Make it work correctly on Windows.
2932         (getParent): Make it work correctly on Windows. For UNIX,
2933         fix bug that causes "/" to be returned as the parent of "/",
2934         instead of null as returned by Sun's JRE.
2935
2936         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2937
2938 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2939
2940         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2941         inner class.
2942         (CACHE_SIZE_PER_DISPLAY): New field
2943         (fontMetricsCache): New field
2944         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2945         loading ISO10646-1 fonts.
2946
2947 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2948
2949         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2950         characters.
2951         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2952         characters.
2953
2954 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2955
2956         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2957         floating point.
2958
2959 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2960
2961         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2962         installed libpthread is either linuxthreads with floating stacks or
2963         NPTL.
2964
2965 2003-04-14  Tom Tromey  <tromey@redhat.com>
2966
2967         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2968         of alignment.
2969
2970 2003-04-10  Tom Tromey  <tromey@redhat.com>
2971
2972         * verify.cc (pop64): Removed.
2973         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2974         exception if top-of-stack is narrow.
2975         (initialize_stack): Check to ensure that <init> is not static and
2976         <clinit> is.
2977
2978 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2979
2980         * java/io/ObjectStreamException
2981         * java/io/FileFilter
2982         * java/io/FilenameFilter
2983         * java/io/ObjectInput
2984         * java/io/ObjectOutput
2985         * java/io/ObjectStreamConstants
2986         Minor doc fixes, format fixes, spelling corrections, etc.
2987         * java/io/DataInput
2988         Corrected code samples in Javadocs to match reality
2989         * java/io/DataOutput
2990         * java/io/ObjectInputValidation
2991         Major documentation fixes - all Javadocs re-written or updated
2992
2993 2003-04-06  Michael Koch  <konqueror@gmx.de>
2994
2995         * java/net/URLConnection.java:
2996         Import classes directly.
2997         (URLConnection): Merged class documentation with classpath.
2998         (url): Moved, documentation from classpath added.
2999         (doInput): Moved, documentation from classpath added.
3000         (doOutput): Moved, documentation from classpath added.
3001         (allowUserInteraction): Moved.
3002         (useCaches): Moved, documentation from classpath added.
3003         (ifModifiedSince): Moved, documentation from classpath added.
3004         (connected): Moved, documentation from classpath added.
3005
3006 2003-04-06  Michael Koch  <konqueror@gmx.de>
3007
3008         * java/io/FileInputStream.java
3009         (skip): Renamed some variables to match classpath, added
3010         checks from classpath.
3011
3012 2003-03-31  Michael Koch  <konqueror@gmx.de>
3013
3014         * javax/swing/AbstractAction.java
3015         (AbstractAction): Reformatted.
3016         (serialVersionUID): New private member variable.
3017         * javax/swing/plaf/BorderUIResource.java
3018         (serialVersionUID): New private member variable.
3019         * javax/swing/plaf/basic/BasicLookAndFeel.java
3020         (serialVersionUID): New private member variable.
3021
3022 2003-03-31  Michael Koch  <konqueror@gmx.de>
3023
3024         * java/sql/Date.java
3025         (valueOf): Deprecated, reformatted.
3026         (toString): Deprecated, reformatted.
3027         * java/sql/Time.java
3028         (valueOf): Deprecated, reformatted.
3029         (toString): Deprecated, reformatted.
3030
3031 2003-03-31  Michael Koch  <konqueror@gmx.de>
3032
3033         * java/rmi/dgc/VMID.java
3034         (isUnique): Deprecated.
3035
3036 2003-03-31  Michael Koch  <konqueror@gmx.de>
3037
3038         * java/io/File.java
3039         (separator): Merged documentation from classpath.
3040         (separatorChar): Merged documentation from classpath.
3041         (pathSeparator): Merged documentation from classpath.
3042         (pathSeparatorChar): Merged documentation from classpath.
3043         (path): Merged documentation from classpath.
3044         (canRead): Merged documentation from classpath.
3045         (canWrite): Merged documentation from classpath.
3046         (createNewFile): Merged documentation from classpath.
3047         (delete): Merged documentation from classpath.
3048         (equals): Merged documentation from classpath.
3049         (exists): Merged documentation from classpath.
3050         (File): Renamed p to name to match classpath, merged documentation
3051         from classpath.
3052         (getAbsolutePath): Merged documentation from classpath.
3053         (getCanonicalPath): Merged documentation from classpath.
3054         (getCanonicalFile): Merged documentation from classpath.
3055         (getName): Merged documentation from classpath.
3056         (getParent): Merged documentation from classpath.
3057         (getParentFile): Merged documentation from classpath.
3058         (getPath): Merged documentation from classpath.
3059         (hashCode): Merged documentation from classpath.
3060         (isAbsolute): Merged documentation from classpath.
3061         (isDirectory): Merged documentation from classpath.
3062         (isFile): Merged documentation from classpath.
3063         (isHidden): Merged documentation from classpath.
3064         (lastModified): Merged documentation from classpath.
3065         (length): Merged documentation from classpath.
3066         (list): Merged documentation from classpath.
3067         (listFiles): Merged documentation from classpath.
3068         (toString): Merged documentation from classpath.
3069         (toURL): Merged documentation from classpath.
3070         (mkdir): Merged documentation from classpath.
3071         (mkdirs): Merged documentation from classpath.
3072         (createTempFile): Merged documentation from classpath.
3073         (setReadOnly): Merged documentation from classpath.
3074         (listRoots): Merged documentation from classpath.
3075         (compareTo): Merged documentation from classpath.
3076         (renameTo): Merged documentation from classpath.
3077         (setLastModified): Merged documentation from classpath.
3078         * java/io/PrintStream.java
3079         (auto_flush): Merged documentation from classpath.
3080         (PrintStream): Merged documentation from classpath.
3081         (checkError): Merged documentation from classpath.
3082         (setError): Merged documentation from classpath.
3083         (close): Merged documentation from classpath.
3084         (flush): Merged documentation from classpath.
3085         (print): Merged documentation from classpath.
3086         (println):  Merged documentation from classpath.
3087         (write): Renamed count to len to match classpath,
3088         merged documentation from classpath.
3089         * java/io/RandomAccessFile.java
3090         (readShort): Merged documentation from classpath.
3091         (readUnsignedByte): Merged documentation from classpath.
3092         (readUnsignedShort): Merged documentation from classpath.
3093         (readUTF): Merged documentation from classpath.
3094         (seek): Reformatted, merged documentation from classpath.
3095         (skipBytes): Renamed some variables to match classpath, reformatted,
3096         merged documentation from classpath.
3097         (write): Merged documentation from classpath.
3098         (writeBoolean): Merged documentation from classpath.
3099         (writeByte): Merged documentation from classpath.
3100         (writeShort): Merged documentation from classpath.
3101         (writeChar): Merged documentation from classpath.
3102         (writeInt): Merged documentation from classpath.
3103         (writeLong): Merged documentation from classpath.
3104         (writeFloat): Merged documentation from classpath.
3105         (writeDouble): Merged documentation from classpath.
3106         (writeBytes): Merged documentation from classpath.
3107         (writeChars): Merged documentation from classpath.
3108         (writeUTF): Reformatted.
3109         (getChannel): Reformatted.
3110
3111 2003-03-31  Michael Koch  <konqueror@gmx.de>
3112
3113         * java/awt/font/TextAttribute.java
3114         (readResolve): Throws java.io.InvalidObjectException.
3115
3116 2003-03-31  Michael Koch  <konqueror@gmx.de>
3117
3118         * java/rmi/server/LoaderHandler.java
3119         (loadClass): Deprecated.
3120         (getSecurityContext): Deprecated.
3121         * java/rmi/server/LogStream.java
3122         (getDefaultStream): Deprecated.
3123         (setDefaultStream): Deprecated.
3124         (getOutputStream): Deprecated.
3125         (setOutputStream): Deprecated.
3126         (write): Deprecated.
3127         (toString): Deprecated.
3128         (parseLevel): Deprecated.
3129         * java/rmi/server/Operation.java
3130         (Operation): Deprecated.
3131         (getOperation): Deprecated.
3132         (toString): Deprecated.
3133         * java/rmi/server/RemoteCall.java
3134         (getOutputStream): Deprecated.
3135         (releaseOutputStream): Deprecated.
3136         (getInputStream): Deprecated.
3137         (releaseInputStream): Deprecated.
3138         (getResultStream): Deprecated.
3139         (executeCall): Deprecated.
3140         (done): Deprecated.
3141         * java/rmi/server/RemoteRef.java
3142         (invoke): Deprecated.
3143         (newCall): Deprecated.
3144         (done): Deprecated.
3145         * java/rmi/server/RemoteStub.java
3146         (setRef): Deprecated.
3147         * java/rmi/server/Skeleton.java:
3148         No need to import java.lang.Exception explicitly.
3149         (dispatch): Deprecated.
3150         (getOperations): Deprecated.
3151
3152 2003-03-31  Michael Koch  <konqueror@gmx.de>
3153
3154         * java/rmi/dgc/VMID.java,
3155         java/rmi/registry/RegistryHandler.java,
3156         java/rmi/server/LogStream.java,
3157         java/rmi/server/Operation.java,
3158         java/rmi/server/RemoteCall.java,
3159         java/rmi/server/RemoteRef.java,
3160         java/rmi/server/RemoteStub.java:
3161         Reformatted.
3162
3163 2003-03-31  Michael Koch  <konqueror@gmx.de>
3164
3165         * javax/swing/AbstractCellEditor.java,
3166         javax/swing/AbstractListModel.java,
3167         javax/swing/ActionMap.java,
3168         javax/swing/BorderFactory.java,
3169         javax/swing/ButtonGroup.java,
3170         javax/swing/DefaultBoundedRangeModel.java,
3171         javax/swing/DefaultButtonModel.java,
3172         javax/swing/DefaultCellEditor.java,
3173         javax/swing/DefaultComboBoxModel.java,
3174         javax/swing/DefaultDesktopManager.java,
3175         javax/swing/DefaultListCellRenderer.java,
3176         javax/swing/DefaultSingleSelectionModel.java,
3177         javax/swing/InputMap.java,
3178         javax/swing/JComponent.java,
3179         javax/swing/JMenu.java,
3180         javax/swing/JSlider.java,
3181         javax/swing/KeyStroke.java,
3182         javax/swing/OverlayLayout.java,
3183         javax/swing/ScrollPaneLayout.java,
3184         javax/swing/SizeRequirements.java,
3185         javax/swing/UIManager.java,
3186         javax/swing/ViewportLayout.java,
3187         javax/swing/border/AbstractBorder.java,
3188         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3189         javax/swing/event/EventListenerList.java,
3190         javax/swing/table/AbstractTableModel.java,
3191         javax/swing/table/DefaultTableCellRenderer.java,
3192         javax/swing/table/DefaultTableColumnModel.java,
3193         javax/swing/table/DefaultTableModel.java,
3194         javax/swing/table/TableColumn.java,
3195         javax/swing/text/StyledEditorKit.java,
3196         javax/swing/tree/DefaultMutableTreeNode.java,
3197         javax/swing/tree/DefaultTreeModel.java,
3198         javax/swing/tree/DefaultTreeSelectionModel.java,
3199         javax/swing/tree/TreePath.java,
3200         javax/swing/undo/AbstractUndoableEdit.java,
3201         javax/swing/undo/StateEdit.java,
3202         javax/swing/undo/StateEditable.java,
3203         javax/swing/undo/UndoableEditSupport.java:
3204         Merges from classpath.
3205
3206 2003-03-30  Tom Tromey  <tromey@redhat.com>
3207
3208         * java/lang/String.java (data, boffset, count): Documented.
3209         (String(byte[],String)): Reformatted.
3210         (String(byte[])): Likewise.
3211         (lastIndexOf(int)): Likewise.
3212         (lastIndexOf(String)): Likewise.
3213         (substring(int)): Renamed argument to match Classpath.
3214         (String(StringBuffer)): Don't share buffer if it is nearly empty.
3215
3216         * java/lang/String.java: Miscellaneous minor formatting changes
3217         to match Classpath more closely.
3218
3219 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
3220             Tom Tromey  <tromey@redhat.com>
3221
3222         * java/lang/natString.cc (hashCode): Use cachedHashCode.
3223         (init()): Removed.
3224         (charAt): Put index in exception.
3225         (contentEquals): New method.
3226         Include StringBuffer.h.
3227         * java/lang/String.java (cachedHashCode): New field.
3228         (String()): Follow classpath implementation.
3229         (init()): Removed.
3230         (contentEquals): Declare.
3231         (subSequence): Don't declare IndexOutIfBoundsException in throws
3232         clause.
3233         (matches, replaceFirst, replaceAll, split): New methods from
3234         Classpath.
3235
3236 2003-03-29  Tom Tromey  <tromey@redhat.com>
3237
3238         * java/lang/String.java: Reordered to follow Classpath; merged in
3239         javadoc.
3240
3241         * java/text/MessageFormat.java: Removed some whitespace.
3242
3243         * Makefile.in: Rebuilt.
3244         * Makefile.am (awt_java_source_files): Added new files.
3245         * gnu/javax/rmi/PortableServer.java,
3246         gnu/javax/rmi/CORBA/DelegateFactory.java,
3247         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3248         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3249         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3250         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3251         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3252         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3253         javax/rmi/PortableRemoteObject.java,
3254         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3255         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3256         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3257         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3258         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3259         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3260
3261         * java/lang/natClass.cc (newInstance): Put method name in
3262         exception.
3263         (getConstructor): Likewise.
3264         (getDeclaredConstructor): Likewise.
3265         (getPrivateMethod): Likewise.
3266
3267 2003-03-28  Tom Tromey  <tromey@redhat.com>
3268
3269         * java/lang/reflect/Proxy.java: New version from Classpath.
3270         * java/lang/Package.java: New version from Classpath.
3271
3272 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3273
3274         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3275         * configure: Regenerate.
3276
3277 2003-03-28  Michael Koch  <konqueror@gmx.de>
3278
3279         * java/io/File.java:
3280         Import needed classes instead of whole packages, merged class
3281         documentation with classpath, moved constants and variables to top of
3282         class.
3283         * java/io/PrintStream.java:
3284         Merged class documentation with classpath, moved constants and
3285         variables to top of class.
3286         * java/io/RandomAccessFile.java
3287         (RandomAccessFile): Merged with classpath.
3288         (read): Merged with classpath).
3289         (read*): Reformatted.
3290
3291 2003-03-28  Michael Koch  <konqueror@gmx.de>
3292
3293         * java/io/FileDescriptor.java
3294         (finalize): Throws Throwable, not IOException.
3295         * java/io/ObjectOutputStream.java
3296         (PutField.put): Doesnt throws anything.
3297
3298 2003­03-28  Michael Koch  <konqueror@gmx.de>
3299
3300         * java/io/FileOutputStream.java:
3301         Merged class documentation and authors with classpath.
3302         (FileOutputStream): Partly merged with classpath.
3303         (write): Merged with classpath.
3304         (getChannel): Make it synchronized instead of explicit block in this
3305         method.
3306         * java/io/RandomAccessFile.java:
3307         Merged class documentation and authors with classpath.
3308
3309 2003-03-26  Tom Tromey  <tromey@redhat.com>
3310
3311         * java/lang/natRuntime.cc (insertSystemProperties): Set
3312         gnu.classpath.home.url.
3313         * Makefile.in: Rebuilt.
3314         * Makefile.am: Define LIBDIR.
3315
3316 2003-03-25  Michael Koch  <konqueror@gmx.de>
3317
3318         * java/io/FileInputStream.java
3319         (read): Renamed b to buf and off to offset.
3320         * java/io/FileOutputStream.java
3321         (ch): Documentation added.
3322         (FileOutputStream): Documentation added.
3323         (getFD): Documentation added.
3324         (write): Documentation added.
3325         (close): Documentation added.
3326         (getChannel): Documentation added.
3327
3328 2003-03-24  Michael Koch  <konqueror@gmx.de>
3329
3330         * java/io/DataOutputStream.java
3331         (write): Merged from classpath.
3332         * java/io/File.java:
3333         Merged copyrigth with classpath.
3334         * java/io/FileInputStream.java
3335         (getChannel): Made it synchronized instead of using a synchronized
3336         block.
3337         * java/io/FileOutputStream.java: Reformatted.
3338         * java/io/InputStreamReader.java
3339         (InputStreamReader): Renamed enc to encoding_name.
3340         (close): Merged documentation from classpath.
3341         (getEncoding): Merged documentation from classpath.
3342         (ready): Merged documentation from classpath.
3343         (read): Merged documentation from classpath.
3344         * java/io/LineNumberReader.java
3345         (lineNumber): Made it private.
3346         (LineNumberReader): Use Constant instead of a direct value.
3347         * java/io/OutputStreamWriter.java
3348         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3349         documentation from classpath.
3350         (close): Merged documentation from classpath.
3351         (flush): Merged documentation from classpath.
3352         (write): Merged documentation from classpath.
3353         * java/io/PrintStream.java: Reformatted.
3354
3355 2003-03-24  Michael Koch  <konqueror@gmx.de>
3356
3357         * javax/swing/text/ComponentView.java
3358         (getComponent): Must be final.
3359         * javax/swing/tree/DefaultTreeCellRenderer.java:
3360         Reformatted.
3361         * javax/swing/undo/StateEditable.java:
3362         Reformatted.
3363
3364 2003-03-24  Michael Koch  <konqueror@gmx.de>
3365
3366         * java/rmi/activation/ActivationInstantiator.java:
3367         Reformatted.
3368         * java/rmi/activation/Activator.java:
3369         Reformatted.
3370         * java/rmi/registry/RegistryHandler.java:
3371         Remerged from classpath.
3372
3373 2003-03-24  Michael Koch  <konqueror@gmx.de>
3374
3375         * java/util/Date.java:
3376         Fixed documentation starting tag to make javadoc happy.
3377         * java/util/regex/Pattern.java
3378         (Pattern): Implements Serializable.
3379         * java/util/PatternSyntaxException.java
3380         (serialVersionUID): New member variable.
3381
3382 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3383
3384         * java/awt/ContainerOrderFocusTraversalPolicy.java
3385         (getFirstComponent): Implemented.
3386         (getLastComponent): Implemented.
3387         (getDefaultComponent): Implemented.
3388         (setImplicitDownCycleTraversal): Fixed implementation.
3389         * java/awt/Robot.java
3390         (Robot): Added documentation.
3391         * java/awt/Toolkit.java
3392         (getFontList): Deprecated.
3393         (getFontMetrics): Deprecated.
3394         (getPrintJob): Added documentation.
3395         (getSystemSelection): Added documentation.
3396         (getLockingKeyState): Added documentation.
3397         (setLockingKeyState): Added documentation.
3398         (createCustomCursor): Added documentation.
3399         (getBestCursorSize): Added documentation.
3400         (getMaximumCursorColors): Added documentation.
3401         (isFrameStateSupported): Added documentation.
3402
3403 2003-03-24  Michael Koch  <konqueror@gmx.de>
3404
3405         * java/io/RandomAccessFile.java:
3406         More little merges with classpath. No code changes.
3407
3408 2003-03-24  Michael Koch  <konqueror@gmx.de>
3409
3410         * java/net/natInetAddressNoNet.cc:
3411         Include stddef.h.
3412         * java/net/natPlainDatagramSocketImplNoNet.cc:
3413         Fixed inlcude of java/net/DatagramPacket.h.
3414         * java/net/natPlainSocketImplNoNet.cc:
3415         Include some missing classes.
3416
3417 2003-03-24  Michael Koch  <konqueror@gmx.de>
3418
3419         * java/awt/dnd/DropTarget.java
3420         (DropTargetAutoScroller): According to the online documentation, this
3421         is protected, but in reality it is public.
3422         * java/awt/dnd/DropTargetContext.java
3423         (TransferableProxy): According to the online documentation, this
3424         is protected, but in reality it is public.
3425
3426 2003-03-24  Michael Koch  <konqueror@gmx.de>
3427
3428         * java/io/DataInputStream.java
3429         (): Wrapped documentation line.
3430         (): Fixed @return tag.
3431         * java/io/DataOutputStream.java
3432         (written): Moved to top of class.
3433         (all methods): Merged documentation from classpath.
3434         * java/io/File.java:
3435         Merged copyright year with classpath.
3436         * java/io/FileInputStream.java
3437         (all methods): Merged documentation from classpath.
3438         * java/io/LineNumberReader.java
3439         (getLineNumber): Fixed @return tag.
3440         * java/io/ObjectInputStream.java.
3441         Reformatted.
3442         * java/io/ObjectOutputStream.java:
3443         Reformatted, fixed some @see tags.
3444         * java/io/OutputStreamWriter.java:
3445         Deleted empty line.
3446         * java/io/Writer.java:
3447         Reformatted.
3448
3449 2003-03-24  Michael Koch  <konqueror@gmx.de>
3450
3451         * java/awt/Frame.java
3452         (DEFAULT_CURSOR): Fixed @deprecated tag.
3453         (setCursor): Fixed @deprecated tag.
3454
3455 2003-03-24  Michael Koch  <konqueror@gmx.de>
3456
3457         * java/beans/beancontext/BeanContextEvent.java:
3458         Reformated.
3459
3460 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3461
3462         * java/lang/natStringBuffer.cc (regionMatches): New function.
3463         * java/lang/String.java (count): Now package-private.
3464         * java/lang/StringBuffer.java: Merged with Classpath.
3465
3466 2003-03-23  Michael Koch  <konqueror@gmx.de>
3467
3468         * java/io/BufferedOutputStream.java:
3469         Reformated.
3470         * java/io/BufferedReader.java:
3471         Reformated.
3472         * java/io/ByteArrayOutputStream.java
3473         (size): Fixed @see tag.
3474         * java/io/CharArrayWriter.java
3475         (size): Fixed @see tag.
3476         * java/io/DataInput.java:
3477         Reformated.
3478         * java/io/DataOutput.java:
3479         Reformated.
3480         * java/io/DataOutputStream.java:
3481         Merged copyright years with classpath.
3482         * java/io/Externalizable.java:
3483         Reformated.
3484         * java/io/FileFilter.java:
3485         Reformated.
3486         * java/io/FileInputStream.java:
3487         Merged copyright years with classpath.
3488         * java/io/FileOutputStream.java:
3489         Merged copyright years with classpath.
3490         * java/io/FilePermission.java
3491         (FilePermission): Replaced @XXX with FIXME:.
3492         * java/io/FileWriter.java:
3493         Reformated.
3494         * java/io/FilenameFilter.java:
3495         Reformated.
3496         * java/io/FilterInputStream.java:
3497         Reformated.
3498         * java/io/FilterOutputStream.java:
3499         Reformated.
3500         * java/io/FilterReader.java:
3501         Reformated.
3502         * java/io/FilterWriter.java:
3503         Reformated.
3504         * java/io/LineNumberInputStream.java
3505         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3506         happy.
3507         (getLineNumber): Fixed @return tag.
3508         * java/io/ObjectInput.java:
3509         Reformated.
3510         * java/io/ObjectOutput.java:
3511         Reformated.
3512         * java/io/ObjectStreamClass.java:
3513         Reformated.
3514         * java/io/PrintStream.java:
3515         Merged copyright years with classpath.
3516         * java/io/PushbackReader.java
3517         (PushbackReader): Replaced @code with @param.
3518         * java/io/SerializablePermission.java:
3519         Reformated.
3520         * java/io/StreamTokenizer.java
3521         (resetSyntax): Fixed @see tag.
3522
3523 2003-03-22  Richard Henderson  <rth@redhat.com>
3524
3525         * sysdep/ia64/locks.h: Include ia64intrin.h.
3526         (compare_and_swap): Use __sync_bool_compare_and_swap.
3527         (compare_and_swap_release): Expose ar.ccv assignment.
3528
3529 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3530
3531         * include/posix.h: Add suffix for darwin dynamic libraries.
3532
3533 2003-03-21  Michael Koch  <konqueror@gmx.de>
3534
3535         * javax/swing/Action.java
3536         (ACCELERATOR_KEY): New constant.
3537         (ACTION_COMMAND_KEY): Likewise.
3538         (MNEMONIC_KEY): Likewise.
3539         * javax/swing/UnsupportedLookAndFeelException.java
3540         (UnsupportedLookAndFeelException): Must be public.
3541         * javax/swing/WindowConstants.java
3542         (EXIT_ON_CLOSE): New constant.
3543         * javax/swing/text/BadLocationException.java
3544         (offset): New member variable.
3545         (BadLocationException): New implementation, documentation added.
3546         (offsetRequested): New method.
3547         * javax/swing/text/Caret.java:
3548         Reformated.
3549         * javax/swing/text/Document.java:
3550         Reformated.
3551
3552 2003-03-21  Michael Koch  <konqueror@gmx.de>
3553
3554         * java/rmi/activation/Activatable.java
3555         (serialVersionUID): New member variable.
3556         * java/rmi/activation/ActivationGroup.java
3557         (serialVersionUID): New member variable.
3558         * java/rmi/activation/ActivationGroupDesc.java
3559         (serialVersionUID): New member variable.
3560         * java/rmi/registry/Registry.java:
3561         Reformated.
3562         (Registry): Deprecated.
3563         * java/rmi/server/LoaderHandler.java
3564         Reformated.
3565         (LoaderHandler): Deprecated.
3566         * java/rmi/server/LogStream.java
3567         Reformated.
3568         (LogStream): Deprecated.
3569         * java/rmi/server/Operation.java
3570         (Operation): Deprecated.
3571         * java/rmi/server/RMIFailureHandler.java:
3572         Reformated.
3573         * java/rmi/server/RMISocketFactory.java:
3574         Reformated.
3575         * java/rmi/server/RemoteCall.java
3576         (RemoteCall): Deprecated.
3577         * java/rmi/server/RemoteStub.java:
3578         Reformated.
3579         * java/rmi/server/Skeleton.java
3580         Reformated.
3581         (Skeleton): Deprecated.
3582
3583 2003-03-21  Michael Koch  <konqueror@gmx.de>
3584
3585         * java/io/LineNumberReader.java
3586         (LineNumberReader): Merged documentation with classpath.
3587         (getLineNumber): Likewise.
3588         (setLineNumber): Likewise.
3589         (mark): Likewise.
3590         (reset): Likewise.
3591         (read): Likewise.
3592         (readLine): Likewise.
3593         (skip): Likewise.
3594
3595 2003-03-21  Michael Koch  <konqueror@gmx.de>
3596
3597         * java/rmi/RMISecurityManager.java
3598         (checkAccept): Removed.
3599         (checkAccess): Likewise.
3600         (checkAccess): Likewise.
3601         (checkAwtEventQueueAccess): Likewise.
3602         (checkConnect): Likewise.
3603         (checkCreateClassLoader): Likewise.
3604         (checkDelete): Likewise.
3605         (checkExec): Likewise.
3606         (checkExit): Likewise.
3607         (checkLink): Likewise.
3608         (checkListen): Likewise.
3609         (checkMemberAccess): Likewise.
3610         (checkMulticast): Likewise.
3611         (checkPackageAccess): Likewise.
3612         (checkPackageDefinition): Likewise.
3613         (checkPermission): Likewise.
3614         (checkPrintJobAccess): Likewise.
3615         (checkPropertiesAccess): Likewise.
3616         (checkPropertyAccess): Likewise.
3617         (checkRead): Likewise.
3618         (checkSecurityAccess): Likewise.
3619         (checkSetFactory): Likewise.
3620         (checkSystemClipboardAccess): Likewise.
3621         (checkTopLevelWindow): Likewise.
3622         (checkWrite): Likewise.
3623
3624 2003-03-20  Michael Koch  <konqueror@gmx.de>
3625
3626         * gnu/java/nio/FileChannelImpl.java
3627         (address): Removed.
3628         (map_address): New member variable.
3629         (length): Make it package private.
3630         (fd): Make it package private.
3631         (buf): Make it package private.
3632         (file_obj): Make it package private.
3633         (FileChannelImpl): New constructor.
3634         (nio_mmap_file): Use RawData instead of long.
3635         (nio_munmap_file): Use RawData instead of long.
3636         (nio_msync): Use RawData instead of long.
3637         (implCloseChannel): New implementation using map_address.
3638         (read): Reformated.
3639         (map): Implemented.
3640         (create_direct_mapped_buffer): Implemented, use RawData, throws
3641         IOException.
3642         (force): Use map_address instead of address.
3643         * gnu/java/nio/MappedByteFileBuffer.java
3644         (address): Removed.
3645         (map_address): New member variable.
3646         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3647         (several methods): Use map_address instead of address, replaced long
3648         with RawData where appropriate.
3649         * gnu/java/nio/natFileChannelImpl.cc
3650         (nio_mmap_file): Replaced long with RawData.
3651         (nio_munmap_file): Replaced long with RawData.
3652         (nio_msync): Replaced long with RawData.
3653         * gnu/java/nio/natMappedByteFileBuffer.cc
3654         (several methods): Replaced long with RawData where appropriate.
3655
3656 2003-03-20  Michael Koch  <konqueror@gmx.de>
3657
3658         * java/net/InetAddress.java,
3659         java/net/JarURLConnection.java,
3660         java/net/PlainDatagramSocketImpl.java,
3661         java/net/PlainSocketImpl.java,
3662         java/net/URLConnection.java:
3663         Merged copyright statements with classpath for easier merging.
3664
3665 2003-03-20  Michael Koch  <konqueror@gmx.de>
3666
3667         * java/io/FileInputStream.java
3668         (getChannel): New implementation.
3669         * java/io/FileOutputStream.java
3670         (ch): New member variable.
3671         (getChannel): Implemented.
3672         * java/io/RandomAccessFile.java
3673         (RandomAccessFile): Throws FileNotFoundException instead of
3674         IOException.
3675         (getChannel): New method.
3676         (ch): New member variable.
3677
3678 2003-03-20  Michael Koch  <konqueror@gmx.de>
3679
3680         * java/io/DataOutputStream.java,
3681         java/io/File.java,
3682         java/io/FileInputStream.java,
3683         java/io/FileOutputStream.java,
3684         java/io/InputStreamReader.java,
3685         java/io/LineNumberReader.java,
3686         java/io/OutputStreamWriter.java,
3687         java/io/PrintStream.java,
3688         java/io/RandomAccessFile.java:
3689         Merged copyright statements with classpath for easier merging.
3690
3691 2003-03-19  Michael Koch  <konqueror@gmx.de>
3692
3693         * java/lang/Process.java:
3694         Merged from classpath.
3695
3696 2003-03-19  Michael Koch  <konqueror@gmx.de>
3697
3698         * java/io/FileOutputStream.java
3699         (FileOutputStream): New constructor, merged from classpath.
3700         * java/io/FileWriter.java
3701         (FileWriter): New constructor, merged from classpath.
3702
3703 2003-03-18  Michael Koch  <konqueror@gmx.de>
3704
3705         * java/awt/ScrollPane.java
3706         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3707         (getViewportSize): Likewise.
3708         (addNotify): Likewise.
3709         (removeNotify): Likewise.
3710         * java/awt/ScrollPaneAdjustable.java
3711         (ScrollPaneAdjustable): No longer extends Scrollbar.
3712         * java/beans/beancontext/BeanContextServices.java:
3713         Reformated.
3714         (getService): Added throws TooManyListenersException;
3715         * java/beans/beancontext/BeanContextServicesSupport.java:
3716         Reformated.
3717
3718 2003-03-18  Michael Koch  <konqueror@gmx.de>
3719
3720         * java/io/BufferedOutputStream.java,
3721         java/io/DataInput.java,
3722         java/io/DataInputStream.java,
3723         java/io/DataOutput.java,
3724         java/io/Externalizable.java:
3725         More merges from classpath.
3726
3727 2003-03-18  Michael Koch  <konqueror@gmx.de>
3728
3729         * configure.in: Fixed links to platform dependant java.net files.
3730         * configure: Regenerated.
3731         * java/net/natInetAddress.cc,
3732         java/net/natNetworkInterface.cc,
3733         java/net/natPlainDatagramSocketImpl.cc,
3734         java/net/natPlainSocketImpl.cc:
3735         Removed.
3736
3737 2003-03-18  Michael Koch  <konqueror@gmx.de>
3738
3739         * configure.in: Create links to architecture dependent files,
3740         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3741         * configure: Regenerated.
3742         * java/net/natInetAddressNoNet.cc,
3743         java/net/natInetAddressPosix.cc,
3744         java/net/natInetAddressWin32.cc,
3745         java/net/natNetworkInterfaceNoNet.cc,
3746         java/net/natNetworkInterfacePosix.cc,
3747         java/net/natNetworkInterfaceWin32.cc,
3748         java/net/natPlainDatagramSocketImplNoNet.cc,
3749         java/net/natPlainDatagramSocketImplPosix.cc,
3750         java/net/natPlainDatagramSocketImplWin32.cc,
3751         java/net/natPlainSocketImplNoNet.cc,
3752         java/net/natPlainSocketImplPosix.cc,
3753         java/net/natPlainSocketImplWin32.cc: New files.
3754
3755 2003-03-18  Michael Koch  <konqueror@gmx.de>
3756
3757         * java/io/BufferedReader.java,
3758         java/io/BufferedWriter.java,
3759         java/io/ByteArrayOutputStream.java,
3760         java/io/FileFilter.java,
3761         java/io/FilePermission.java,
3762         java/io/FileReader.java,
3763         java/io/FileWriter.java,
3764         java/io/FilenameFilter.java,
3765         java/io/FilterInputStream.java,
3766         java/io/FilterOutputStream.java,
3767         java/io/FilterReader.java,
3768         java/io/FilterWriter.java,
3769         java/io/ObjectInput.java,
3770         java/io/ObjectInputValidation.java,
3771         java/io/ObjectOutput.java,
3772         java/io/ObjectStreamField.java,
3773         java/io/PipedInputStream.java,
3774         java/io/PipedReader.java,
3775         java/io/PrintWriter.java,
3776         java/io/PushbackReader.java,
3777         java/io/Reader.java,
3778         java/io/SerializablePermission.java,
3779         java/io/StringReader.java,
3780         java/io/Writer.java:
3781         Merged from classpath.
3782
3783 2003-03-17  Michael Koch  <konqueror@gmx.de>
3784
3785         * java/awt/ScrollPaneAdjustable.java:
3786         Compile fixes.
3787         
3788 2003-03-17  Michael Koch  <konqueror@gmx.de>
3789
3790         * java/net/DatagramSocket.java
3791         (connect): Fixed comment.
3792         * java/nio/ByteBuffer.java
3793         (hasArray): Fixed comment.
3794
3795 2003-03-17  Michael Koch  <konqueror@gmx.de>
3796
3797         * java/beans/Beans.java:
3798         Explicitely import classes not packages.
3799         * java/beans/FeatureDescriptor.java
3800         (preferred): New member variable.
3801         (isPreferred): New method.
3802         (setPreferred): New method.
3803         * java/beans/PropertyEditorManager.java:
3804         Explicitely import used classes.
3805         * java/beans/beancontext/BeanContextChild.java:
3806         Added line wrapping.
3807         * java/beans/beancontext/BeanContextChildSupport.java:
3808         Reindented.
3809         * java/beans/beancontext/BeanContextEvent.java:
3810         Reindented.
3811
3812 2003-03-17  Michael Koch  <konqueror@gmx.de>
3813
3814         * java/awt/Dialog.java
3815         (Dialog): New constructor, changed implementations, added
3816         documentation.
3817         * java/awt/ScrollPaneAdjustable.java
3818         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3819         Serializable.
3820         (serialVersionUID): New member variable.
3821         (sp): New member variable.
3822         (orientation): New member variable.
3823         (value): New member variable.
3824         (minimum): New member variable.
3825         (maximum): New member variable.
3826         (visibleAmount): New member variable.
3827         (unitIncrement): New member variable.
3828         (blockIncrement): New member variable.
3829         (AdjustmentListener): New member variable.
3830         (ScrollPaneAdjustable): New implementation.
3831         (addAdjustmentListener): New method.
3832         (removeAdjustmentListener): New method.
3833         (getAdjustmentListeners): New method.
3834         (getBlockIncrement): New method.
3835         (getMaximum): New method.
3836         (getMinimum): New method.
3837         (getOrientation): New method.
3838         (getUnitIncrement): New method.
3839         (getValue): New method.
3840         (getVisibleAmount): New method.
3841         (setBlockIncrement): New method.
3842         (setMaximum): Implemented.
3843         (setMinimum): Implemented.
3844         (setUnitIncrement): New method.
3845         (setValue): New method.
3846         (setVisibleAmount): Implemented. 
3847         (paramString): New stubbed method.
3848         * java/awt/Window.java
3849         (show): Call setVisible().
3850         (hide): Call setVisible().
3851         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3852         and WINDOW_STATE_CHANGED.
3853         (processWindowFocusEvent): New method.
3854         (processWindowStateEvent): New method.
3855         (postEvent): Deprecated.
3856         (applyResourceBundle): Deprecated.
3857         * java/awt/datatransfer/DataFlavor.java
3858         (DataFlavor): Doesn't thow ClassNotFoundException.
3859
3860 2003-03-17  Michael Koch
3861
3862         * javax/print/attribute/Attribute.java,
3863         javax/print/attribute/AttributeSet.java,
3864         javax/print/attribute/PrintRequestAttributeSet.java:
3865         New files.
3866         * Makefile.am
3867         (javax_source_files): Added new files:
3868         javax/print/attribute/Attribute.java
3869         javax/print/attribute/AttributeSet.java
3870         javax/print/attribute/PrintRequestAttributeSet.java
3871         * Makefile.in: Regenerated.
3872
3873 2003-03-17  Michael Koch
3874
3875         * javax/print/attribute/Attribute.java,
3876         javax/print/attribute/AttributeSet.java,
3877         javax/print/attribute/PrintRequestAttributeSet.java:
3878         New files.
3879         * Makefile.am
3880         (awt_java_source_files): Added new files:
3881         javax/print/attribute/Attribute.java
3882         javax/print/attribute/AttributeSet.java
3883         javax/print/attribute/PrintRequestAttributeSet.java
3884         * Makefile.in: Regenerated.
3885
3886 2003-03-16  Tom Tromey  <tromey@redhat.com>
3887
3888         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3889         Include platform.h.
3890         * java/lang/natRuntime.cc (insertSystemProperties): Use
3891         _Jv_platform_path_separator.
3892         (nativeGetLibname): Use _Jv_platform_file_separator.
3893         (_load): Use _Jv_platform_onload_names.
3894         (onload_names): New global.
3895         * include/win32.h (_Jv_platform_file_separator): New define.
3896         (_Jv_platform_path_separator): Likewise.
3897         (_Jv_platform_onload_names): Likewise.
3898         (_Jv_platform_ffi_abi): Likewise.
3899         * include/posix.h (_Jv_platform_file_separator): New define.
3900         (_Jv_platform_path_separator): Likewise.
3901         (_Jv_platform_onload_names): Likewise.
3902         (_Jv_platform_ffi_abi): Likewise.
3903
3904 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3905
3906         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3907
3908 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3909
3910         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3911         hierarchy loop.
3912         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3913         list to Object,ObjectStreamClass, moved callReadMethod code up into
3914         readObject and added Class argument to all setXxxField calls.
3915         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3916         consistent with ObjectOutputStream and to facilitate caching the
3917         Method in the future.
3918         (setBooleanField): Added Class argument.
3919         (setByteField): Likewise.
3920         (setCharField): Likewise.
3921         (setDoubleField): Likewise.
3922         (setFloatField): Likewise.
3923         (setIntField): Likewise.
3924         (setLongField): Likewise.
3925         (setShortField): Likewise.
3926         (setObjectField): Likewise.
3927         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3928         class hierarchy loop.
3929         (defaultWriteObject): Call writeFields with new argument list.
3930         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3931         list to Object,ObjectStreamClass, moved callWriteMethod up into
3932         writeObject and added Class argument to all getXxxField calls.
3933         (callWriteMethod): Added ObjectStreamClass argument to be able to
3934         get the proper class to call getMethod on (each class can have (or
3935         not have) its own writeObject method).
3936         (getBooleanField): Added Class argument.
3937         (getByteField): Likewise.
3938         (getCharField): Likewise.
3939         (getDoubleField): Likewise.
3940         (getFloatField): Likewise.
3941         (getIntField): Likewise.
3942         (getLongField): Likewise.
3943         (getShortField): Likewise.
3944         (getObjectField): Likewise.
3945         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3946         facilitate caching the Method object in the future.
3947
3948 2003-03-12  Andreas Schwab  <schwab@suse.de>
3949
3950         * configure.in: Avoid trailing /. in toolexeclibdir.
3951         * configure: Rebuilt.
3952
3953 2003-03-11  Michael Koch  <konqueror@gmx.de>
3954
3955         * gnu/java/nio/ByteBufferImpl.java
3956         (putInt): Use limit() instead of limit.
3957         * gnu/java/nio/CharBufferImpl.java
3958         (slice): Fixed implementation.
3959         (subSequence): Better bounds checking.
3960         * gnu/java/nio/MappedByteFileBuffer.java:
3961         Import all needed classes directly.
3962         * java/nio/ByteBuffer.java
3963         (hashCode): New dummy method.
3964         * java/nio/CharBuffer.java
3965         (array_offset): New member variable.
3966         (hasArray): Fixed documentation.
3967         (arrayOffset): Return array_offset.
3968
3969 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3970
3971         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3972         setter; made return value of getter const char* instead of char*
3973         * prims.cc: removed all references to _Jv_ThisExecutable().
3974         These are in the platform-specific sections now.
3975         * posix.cc: define platform-specific _Jv_ThisExecutable().
3976         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3977         * win32.cc: define platform-specific _Jv_ThisExecutable()
3978         using GetModuleFilename()
3979         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3980         to argv[0] instead of _Jv_ThisExecutable()
3981
3982 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3983
3984         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3985         that is set if we are using addr2name.awk instead of addr2line.
3986         (NameFinder): Set usingAddr2name if using addr2name.awk.
3987         (getExternalLabel): New native method to convert a method 
3988         name to an external label.
3989         (lookup): Convert name given by addr2line to an external label
3990         before demangling.
3991
3992         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3993         constant representing the prefix attached to method names to
3994         convert them to an external label.
3995         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3996         using LABEL_PREFIX.
3997
3998 2003-03-10  Tom Tromey  <tromey@redhat.com>
3999
4000         * Makefile.in: Rebuilt.
4001         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4002         (JC1FLAGS): Removed -Wno-deprecated.
4003
4004 2003-03-10  Michael Koch  <konqueror@gmx.de>
4005
4006         * java/nio/ByteOrder.java
4007         (nativeOrder): Working implementation, added documentation.
4008         (toString): Added documentation.
4009
4010 2003-03-10  Michael Koch  <konqueror@gmx.de>
4011
4012         * java/net/DatagramSocket.java,
4013         java/net/MulticastSocket.java,
4014         java/net/Socket.java,
4015         java/net/URL.java,
4016         java/net/URLConnection.java:
4017         Fixed some documentation tags to make javadoc and friends happy.
4018
4019 2003-03-10  Michael Koch  <koqnueror@gmx.de>
4020
4021         * java/beans/beancontext/BeanContextServicesSupport.java,
4022         java/beans/beancontext/BeanContextSupport.java: New files.
4023         * Makefile.am
4024         (awt_source_files): Added new files.
4025         * Makefile.in: Regenerated.
4026
4027 2003-03-10  Michael Koch  <konqueror@gmx.de>
4028
4029         * java/awt/FocusTraversalPolicy.java
4030         (FocusTraversalPolicy): Documentation added.
4031         (getComponentAfter): Documentation added.
4032         (getComponentBefore): Documentation added.
4033         (getFirstComponent): Documentation added.
4034         (getLastComponent): Documentation added.
4035         (getDefaultComponent): Documentation added.
4036         (getInitialComponent): Documentation added.
4037         * java/awt/ScrollPaneAdjustable.java
4038         (sp): New member variable.
4039         (orientation): New member variable.
4040         (value): New member variable.
4041         (minimum): New member variable.
4042         (maximum): New member variable.
4043         (visibleAmount): New member variable.
4044         (unitIncrement): New member variable.
4045         (blockIncrement): New member variable.
4046         (adjustmentListener): New member variable.
4047         (ScrollPaneAdjustable): Rewrote.
4048         (addAdjustmentListener): New method.
4049         (removeAdjustmentListener): New method.
4050         (getAdjustmentListeners): New method.
4051         (getBlockIncrement): New method.
4052         (getMaximum): New method.
4053         (getMinimum): New method.
4054         (getOrientation): New method.
4055         (getUnitIncrement): New method.
4056         (getValue): New method.
4057         (getVisibleAmount): New method.
4058         (setBlockIncrement): New method.
4059         (setUnitIncrement): New method.
4060         (setMaximum): Implemented.
4061         (setMinimum): Implemented.
4062         (setValue): New method.
4063         (setVisibleAmount): Implemented.
4064         (paramString): New method.
4065         * java/awt/Window.java
4066         (show): Use setVisible(true) instead of super.show().
4067         (hide): Use sevVisible(false) instead of super.hide().
4068         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4069         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4070         (postEvent): Deprecated.
4071         (applyResourceBundle): Deprecated.
4072         (processWindowFocusEvent): New method.
4073         (processWindowStateEvent): New method.
4074         * java/awt/datatransfer/DataFlavor.java: Reindented.
4075         * java/awt/font/TextHitInfo.java
4076         (charIndex): New member variable.
4077         (leadingEdge): New member variable.
4078         (TextHitInfo): New constructor.
4079         (getCharIndex): Implemented.
4080         (isLeadingEdge): Implemented.
4081         (getInsertionIndex): Implemented.
4082         (hashCode): Access charIndex directly.
4083         (equals): Reformated.
4084         (leading): Implemented.
4085         (trailing): Implemented.
4086         (beforeOffset): Implemented.
4087         (afterOffset): Implemented.
4088         (getOtherHit): Implemented.
4089         (getOffsetHit): Implemented.
4090         (toString): Implemented.
4091         * java/awt/image/BufferedImage.java
4092         (BufferedImage): Implements WritableRenderedImage.
4093         (observers): New member variable.
4094         (addTileObserver): New method.
4095         (removeTileObserver): New method.
4096
4097 2003-03-09  Tom Tromey  <tromey@redhat.com>
4098
4099         PR libgcj/9934:
4100         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4101         to lseek.  Return 0 if we can't compute the value.
4102
4103 2003-03-03  Michael Koch  <konqueror@gmx.de>
4104
4105         * java/net/NetworkInterface.java: Merged with classpath.
4106
4107 2003-03-03  Tom Tromey  <tromey@redhat.com>
4108
4109         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4110         of bytecode.
4111         (handle_ret_insn): Fail if returning to jsr that appears at end of
4112         bytecode.
4113
4114 2003-03-03  Michael Koch  <konqueror@gmx.de>
4115
4116         * Makefile.am
4117         (ordinary_java_source_files):
4118         Added gnu/java/nio/MappedByteFileBuffer.java.
4119         (nat_source_files):
4120         Added gnu/java/nio/natMappedByteFileBuffer.cc.
4121         * Makefile.in: Regenerated.
4122
4123 2003-03-03  Michael Koch  <konqueror@gmx.de>
4124
4125         * java/net/DatagramSocket.java
4126         (connect): Merged comment from classpath.
4127         (receive): Merged documentation from classpath.
4128         * java/net/Socket.java
4129         (setSoTimeout): Clarified documentation.
4130         * java/net/URL.java
4131         (getPath): Merged from classpath.
4132         (getUserInfo): Merged from classpath.
4133         (getQuery): Merged from classpath.
4134         * java/net/URLStreamHandler.java
4135         (toExternalForm): Merged from classpath.
4136
4137 2003-03-02  Mark Wielaard  <mark@klomp.org>
4138
4139         * java/util/Properties.java (load): Only skip line if the first
4140         character is a comment, whitespaces don't count.
4141
4142 2003-03-02  Michael Koch  <konqueror@gmx.de>
4143
4144         * java/net/NetPermission.java:
4145         Merged copyright with classpath.
4146
4147 2003-03-02  Michael Koch  <konqueror@gmx.de>
4148
4149         * java/lang/Package.java:
4150         Remerged from classpath.
4151
4152 2003-03-02  Michael Koch  <konqueror@gmx.de>
4153
4154         * java/net/HttpURLConnection.java
4155         (HTTP_SERVER_ERROR): Deprecated.
4156         * java/net/MulticastSocket.java
4157         (send): Replaced checkMulticast with appropriate checkPermission call,
4158         deprecated.
4159         * java/net/URLDecoder.java
4160         (decode): Deprecated.
4161         * java/net/URLEncoder.java
4162         (encode): Deprecated.
4163
4164 2003-03-02  Michael Koch  <konqueror@gmx.de>
4165
4166         * javax/swing/text/Caret.java
4167         (getMagicCaretPosition): Fixed typo in method name.
4168         * javax/swing/text/DefaultCaret.java
4169         (getMagicCaretPosition): Fixed typo in method name.
4170
4171 2003-03-02  Michael Koch  <konqueror@gmx.de>
4172
4173         * java/awt/List.java
4174         (setMultipleSelections): Deprecated.
4175         (delItem): Deprecated.
4176         * java/awt/MenuComponent.java
4177         (getPeer): Deprecated.
4178         * java/awt/ScrollPane.java
4179         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4180         * java/awt/dnd/MouseDragGestureRecognizer.java
4181         (mouseClicked): Added comment.
4182         (mousePressed): Added comment.
4183         (mouseReleased): Added comment.
4184         (mouseEntered): Added comment.
4185         (mouseExited): Added comment.
4186         (mouseDragged): Added comment.
4187         (mouseMoved): Added comment.
4188         * java/awt/event/KeyEvent.java
4189         (KeyEvent): Deprecated.
4190         (setModifiers): Deprecated.
4191         
4192 2003-03-02  Michael Koch  <konqueror@gmx.de>
4193
4194         * gnu/java/nio/FileChannelImpl.java
4195         (fd): Type FileDescriptor instead of int.
4196         (lengthInternal): Removed.
4197         (FileChannelImpl): Fixed arguments, check type of file object.
4198         (size): Made it native.
4199         (implPosition): New native method.
4200         (implTruncate): New native method.
4201         (position): Implemented.
4202         (truncate): Implemented.
4203         (nio_mmap_file): Changed arguments.
4204         (nio_munmap_file): Changed arguments.
4205         (nio_msync): Changed arguments.
4206         * gnu/java/nio/natFileChannelImpl.cc
4207         (lengthInternal): Removed.
4208         (size): New method.
4209         (implPosition): New method.
4210         (implTruncate): New method.
4211         (nio_mmap_file): Changed arguments.
4212         (nio_munmap_file): Changed arguments.
4213         (nio_msync): Changed arguments.
4214
4215 2003-03-02  Michael Koch  <konqueror@gmx.de>
4216
4217         * java/awt/dnd/DropTargetContext.java:
4218         Compile fix: Forgot to commit import.
4219         
4220 2003-03-02  Michael Koch  <konqueror@gmx.de>
4221
4222         * java/awt/Component.java,
4223         java/awt/ScrollPane.java:
4224         Fixed typos.
4225
4226 2003-03-02  Michael Koch  <konqueror@gmx.de>
4227
4228         * java/awt/dnd/DnDEventMulticaster.java: New file.
4229         * java/awt/dnd/DragSource.java
4230         (flavorMap): New member variable.
4231         (dragSourceListener): New member variable.
4232         (dragSourceMotionListener): New member variable.
4233         (getFlavorMap): Implemented.
4234         (createDragGestureRecognizer): Implemented.
4235         (addDragSourceListener): Implemented.
4236         (removeDragSourceListener): Implemented.
4237         (getDragSourceListeners): Implemented.
4238         (addDragSourceMotionListener): Implemented.
4239         (removeDragSourceMotionListener): Implemented.
4240         (getDragSourceMotionListeners): Implemented.
4241         (getListeners): Implemented.
4242         * java/awt/dnd/DragSourceContext.java
4243         (peer): New member variable.
4244         (cursor): New member variable.
4245         (transferable): New member variable.
4246         (trigger): New member variable.
4247         (dragSourceListener): New member variable.
4248         (image): New member variable.
4249         (offset): New member variable.
4250         (DragSourceContext): Implemented.
4251         (getDragSource): Implemented.
4252         (getComponent): Implemented.
4253         (getTrigger): Implemented.
4254         (getSourceActions): Implemented.
4255         (setCursor): Implemented.
4256         (getCursor): Implemented.
4257         (addDragSourceListener): Implemented.
4258         (removeDragSourceListener): Implemented.
4259         (getTransferable): Implemented.
4260         * java/awt/dnd/DropTarget.java
4261         (DropTargetAutoScroller.component): New member variable.
4262         (DropTargetAutoScroller.point): New member variable.
4263         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4264         (DropTargetAutoScroller.updateLocation): Implemented.
4265         (active): Renamed from isActive, defaults to true now.
4266         (component): New member variable.
4267         (flavorMap): New member variable.
4268         (actions): New member variable.
4269         (dropTargetContext): New member variable.
4270         (dropTargetListener): New member variable.
4271         (DropTarget): Implemented.
4272         (getComponent): Implemented.
4273         (setComponent): Implemented.
4274         (setDefaultActions): Implemented.
4275         (getDefaultActions): Implemented.
4276         (setActive): Use active instead of isActive.
4277         (isActive): Use active instead of isActive.
4278         (addDropTargetListener): Implemented.
4279         (removeDropTargetListener): Implemented.
4280         (getFlavorMap): Implemented.
4281         (setFlavorMap): Implemented.
4282         (getDropTargetContext): Implemented.
4283         (createDropTargetContext): Implemented.
4284         (createDropTargetAutoScroller): Implemented.
4285         * java/awt/dnd/DropTargetContext.java
4286         (TransferableProxy.getTransferDataFlavors): Implemented.
4287         (TransferableProxy.isDataFlavorSupported): Implemented.
4288         (TransferableProxy.getTransferData): Implemented.
4289         (dropTarget):  New member variable.
4290         (dtcp): New member variable.
4291         (DropTargetContext): New package private constructor.
4292         (getDropTarget): Implemented.
4293         (getComponent): Implemented.
4294         (addNotify): Implemented.
4295         (removeNotify): Implemented.
4296         (getCurrentDataFlavorsAsList): Implemented.
4297         (isDataFlavorSupported): Implemented.
4298         * java/awt/dnd/MouseDragGestureRecognizer.java
4299         (registerListeners): Implemented.
4300         (unregisterListeners): Implemented.
4301         * Makefile.am
4302         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4303         * Makefile.in: Regenerated.
4304
4305 2003-03-02  Michael Koch  <konqueror@gmx.de>
4306
4307         * java/awt/Component.java
4308         (eventTypeEnabled): New method.
4309         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4310         * java/awt/Container.java
4311         (changeSupport): New member variable.
4312         (addPropertyChangeListener): New methods.
4313         * java/awt/ContainerOrderFocusTraversalPolicy.java
4314         (ContainerOrderFocusTraversalPolicy): Added comment.
4315         (getComponentAfter): Throw exception, documentation added.
4316         (getComponentBefore): Throw exception, documentation added.
4317         (getFirstComponent): Throw exception, documentation added.
4318         (getLastComponent): Throw exception, documentation added.
4319         (getDefaultComponent): Throw exception, documentation added.
4320         * java/awt/EventQueue.java: Reindented.
4321         * java/awt/FocusTraversalPolicy.java:
4322         (FocusTraversalPolicy): Added comment.
4323         (getComponentAfter): Documentation added.
4324         (getComponentBefore): Documentation added.
4325         (getFirstComponent): Documentation added.
4326         (getLastComponent): Documentation added.
4327         (getDefaultComponent): Documentation added.
4328         (getInitialComponent): Documentation added.
4329         * java/awt/ScrollPane.java
4330         (wheelScrollingEnabled): New member variable.
4331         (ScrollPane): Initialize wheelScollingEnabled.
4332         (eventTypeEnabled): New method.
4333         (isWheelScrollingEnabled): New method.
4334         (setWheelScrollingEnabled): New method.
4335
4336 2003-03-02  Michael Koch  <konqueror@gmx.de>
4337
4338         * java/net/DatagramSocket.java
4339         (closed): New member variable.
4340         (close): Use closed variable.
4341         (getInetAddress): No need to call isConnected().
4342         (getPort): No need to call isConnected().
4343         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4344         (isClosed): Reimplemented.
4345         
4346 2003-03-02  Michael Koch  <konqueror@gmx.de>
4347
4348         * configure.in: Added check for memory mapping of files.
4349         * configure: Regenerated.
4350         * config.h.in: Regenerated.
4351
4352 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4353
4354         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4355         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4356
4357 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4358
4359         * java/io/File.java (normalizePath): Remove trailing separator
4360         on Windows only if path is not of the form "x:\".
4361
4362         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4363         (java::io::File::attr): Change formatting a bit and use
4364         WIN32_EPOCH_MILLIS instead of magic numbers.
4365         (java::io::File::isAbsolute): Path must have at least 3 
4366         characters for a UNC network path.
4367         (java::io::File::init_native): Define.
4368         (java::io::File::performCreate): Likewise.
4369         (java::io::File::performSetReadOnly): Likewise.
4370         (java::io::File::performSetLastModified): Likewise.
4371         (java::io::File::performListRoots): Likewise.
4372
4373 2003-03-01  Tom Tromey  <tromey@redhat.com>
4374
4375         * java/lang/natObject.cc: Don't include assert.h.
4376         (heavy_lock_obj_finalization_proc): Use JvAssert.
4377         (remove_all_heavy): Likewise.
4378         (_Jv_MonitorEnter): Likewise.
4379         (_Jv_MonitorExit): Likewise.
4380         (wait): Likewise.
4381
4382 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4383
4384         * java/io/File (getAbsolutePath): Prefix drive specifier on
4385         Windows for paths starting with a '\'.
4386         (toURL): Make URL more consistent with what Sun's JDK returns.
4387
4388         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4389         true only if the path is a UNC network path or it starts with a
4390         drive specifier.
4391
4392         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4393         Be prepared to handle either '/' or '\\' in the file path for
4394         Windows if using the "file" protocol.
4395         Canonicalise the file path if using a relative path in the given
4396         context and the "file" protocol.
4397
4398 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4399
4400         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4401         program array element passed to CreateProcess.
4402
4403 2003-03-01  Tom Tromey  <tromey@redhat.com>
4404
4405         * java/rmi/registry/RegistryHandler.java: Deprecate.
4406
4407 2003-03-01  Tom Tromey  <tromey@redhat.com>
4408
4409         * javax/accessibility/AccessibleEditableText.java,
4410         javax/accessibility/AccessibleHyperlink.java: New versions from
4411         Classpath.
4412
4413         * gnu/java/locale/LocaleInformation_af_ZA.java,
4414         gnu/java/locale/LocaleInformation_ar_AE.java,
4415         gnu/java/locale/LocaleInformation_ar_BH.java,
4416         gnu/java/locale/LocaleInformation_ar_DZ.java,
4417         gnu/java/locale/LocaleInformation_ar_EG.java,
4418         gnu/java/locale/LocaleInformation_ar_IN.java,
4419         gnu/java/locale/LocaleInformation_ar_IQ.java,
4420         gnu/java/locale/LocaleInformation_ar_JO.java,
4421         gnu/java/locale/LocaleInformation_ar_KW.java,
4422         gnu/java/locale/LocaleInformation_ar_LB.java,
4423         gnu/java/locale/LocaleInformation_ar_LY.java,
4424         gnu/java/locale/LocaleInformation_ar_MA.java,
4425         gnu/java/locale/LocaleInformation_ar_OM.java,
4426         gnu/java/locale/LocaleInformation_ar_QA.java,
4427         gnu/java/locale/LocaleInformation_ar_SD.java,
4428         gnu/java/locale/LocaleInformation_ar_SY.java,
4429         gnu/java/locale/LocaleInformation_ar_TN.java,
4430         gnu/java/locale/LocaleInformation_ar_YE.java,
4431         gnu/java/locale/LocaleInformation_be_BY.java,
4432         gnu/java/locale/LocaleInformation_bn_IN.java,
4433         gnu/java/locale/LocaleInformation_br_FR.java,
4434         gnu/java/locale/LocaleInformation_bs_BA.java,
4435         gnu/java/locale/LocaleInformation_ca_ES.java,
4436         gnu/java/locale/LocaleInformation_cs_CZ.java,
4437         gnu/java/locale/LocaleInformation_cy_GB.java,
4438         gnu/java/locale/LocaleInformation_da_DK.java,
4439         gnu/java/locale/LocaleInformation_de_AT.java,
4440         gnu/java/locale/LocaleInformation_de_BE.java,
4441         gnu/java/locale/LocaleInformation_de_CH.java,
4442         gnu/java/locale/LocaleInformation_de_DE.java,
4443         gnu/java/locale/LocaleInformation_de_LU.java,
4444         gnu/java/locale/LocaleInformation_el_GR.java,
4445         gnu/java/locale/LocaleInformation_en_AU.java,
4446         gnu/java/locale/LocaleInformation_en_BW.java,
4447         gnu/java/locale/LocaleInformation_en_CA.java,
4448         gnu/java/locale/LocaleInformation_en_DK.java,
4449         gnu/java/locale/LocaleInformation_en_GB.java,
4450         gnu/java/locale/LocaleInformation_en_HK.java,
4451         gnu/java/locale/LocaleInformation_en_IE.java,
4452         gnu/java/locale/LocaleInformation_en_IN.java,
4453         gnu/java/locale/LocaleInformation_en_NZ.java,
4454         gnu/java/locale/LocaleInformation_en_PH.java,
4455         gnu/java/locale/LocaleInformation_en_SG.java,
4456         gnu/java/locale/LocaleInformation_en_US.java,
4457         gnu/java/locale/LocaleInformation_en_ZA.java,
4458         gnu/java/locale/LocaleInformation_en_ZW.java,
4459         gnu/java/locale/LocaleInformation_es_AR.java,
4460         gnu/java/locale/LocaleInformation_es_BO.java,
4461         gnu/java/locale/LocaleInformation_es_CL.java,
4462         gnu/java/locale/LocaleInformation_es_CO.java,
4463         gnu/java/locale/LocaleInformation_es_CR.java,
4464         gnu/java/locale/LocaleInformation_es_DO.java,
4465         gnu/java/locale/LocaleInformation_es_EC.java,
4466         gnu/java/locale/LocaleInformation_es_ES.java,
4467         gnu/java/locale/LocaleInformation_es_GT.java,
4468         gnu/java/locale/LocaleInformation_es_HN.java,
4469         gnu/java/locale/LocaleInformation_es_MX.java,
4470         gnu/java/locale/LocaleInformation_es_NI.java,
4471         gnu/java/locale/LocaleInformation_es_PA.java,
4472         gnu/java/locale/LocaleInformation_es_PE.java,
4473         gnu/java/locale/LocaleInformation_es_PR.java,
4474         gnu/java/locale/LocaleInformation_es_PY.java,
4475         gnu/java/locale/LocaleInformation_es_SV.java,
4476         gnu/java/locale/LocaleInformation_es_US.java,
4477         gnu/java/locale/LocaleInformation_es_UY.java,
4478         gnu/java/locale/LocaleInformation_es_VE.java,
4479         gnu/java/locale/LocaleInformation_et_EE.java,
4480         gnu/java/locale/LocaleInformation_eu_ES.java,
4481         gnu/java/locale/LocaleInformation_fa_IR.java,
4482         gnu/java/locale/LocaleInformation_fi_FI.java,
4483         gnu/java/locale/LocaleInformation_fo_FO.java,
4484         gnu/java/locale/LocaleInformation_fr_BE.java,
4485         gnu/java/locale/LocaleInformation_fr_CA.java,
4486         gnu/java/locale/LocaleInformation_fr_CH.java,
4487         gnu/java/locale/LocaleInformation_fr_FR.java,
4488         gnu/java/locale/LocaleInformation_fr_LU.java,
4489         gnu/java/locale/LocaleInformation_ga_IE.java,
4490         gnu/java/locale/LocaleInformation_gd_GB.java,
4491         gnu/java/locale/LocaleInformation_gl_ES.java,
4492         gnu/java/locale/LocaleInformation_gv_GB.java,
4493         gnu/java/locale/LocaleInformation_he_IL.java,
4494         gnu/java/locale/LocaleInformation_hi_IN.java,
4495         gnu/java/locale/LocaleInformation_hr_HR.java,
4496         gnu/java/locale/LocaleInformation_hu_HU.java,
4497         gnu/java/locale/LocaleInformation_id_ID.java,
4498         gnu/java/locale/LocaleInformation_it_CH.java,
4499         gnu/java/locale/LocaleInformation_it_IT.java,
4500         gnu/java/locale/LocaleInformation_iw_IL.java,
4501         gnu/java/locale/LocaleInformation_ja_JP.java,
4502         gnu/java/locale/LocaleInformation_ka_GE.java,
4503         gnu/java/locale/LocaleInformation_kl_GL.java,
4504         gnu/java/locale/LocaleInformation_ko_KR.java,
4505         gnu/java/locale/LocaleInformation_kw_GB.java,
4506         gnu/java/locale/LocaleInformation_lt_LT.java,
4507         gnu/java/locale/LocaleInformation_lv_LV.java,
4508         gnu/java/locale/LocaleInformation_mi_NZ.java,
4509         gnu/java/locale/LocaleInformation_mk_MK.java,
4510         gnu/java/locale/LocaleInformation_mr_IN.java,
4511         gnu/java/locale/LocaleInformation_mt_MT.java,
4512         gnu/java/locale/LocaleInformation_nl_BE.java,
4513         gnu/java/locale/LocaleInformation_nl_NL.java,
4514         gnu/java/locale/LocaleInformation_nn_NO.java,
4515         gnu/java/locale/LocaleInformation_no_NO.java,
4516         gnu/java/locale/LocaleInformation_oc_FR.java,
4517         gnu/java/locale/LocaleInformation_pl_PL.java,
4518         gnu/java/locale/LocaleInformation_pt_BR.java,
4519         gnu/java/locale/LocaleInformation_pt_PT.java,
4520         gnu/java/locale/LocaleInformation_ro_RO.java,
4521         gnu/java/locale/LocaleInformation_ru_RU.java,
4522         gnu/java/locale/LocaleInformation_ru_UA.java,
4523         gnu/java/locale/LocaleInformation_se_NO.java,
4524         gnu/java/locale/LocaleInformation_sk_SK.java,
4525         gnu/java/locale/LocaleInformation_sl_SI.java,
4526         gnu/java/locale/LocaleInformation_sq_AL.java,
4527         gnu/java/locale/LocaleInformation_sr_YU.java,
4528         gnu/java/locale/LocaleInformation_sv_FI.java,
4529         gnu/java/locale/LocaleInformation_sv_SE.java,
4530         gnu/java/locale/LocaleInformation_ta_IN.java,
4531         gnu/java/locale/LocaleInformation_te_IN.java,
4532         gnu/java/locale/LocaleInformation_tg_TJ.java,
4533         gnu/java/locale/LocaleInformation_tl_PH.java,
4534         gnu/java/locale/LocaleInformation_tr_TR.java,
4535         gnu/java/locale/LocaleInformation_uk_UA.java,
4536         gnu/java/locale/LocaleInformation_ur_PK.java,
4537         gnu/java/locale/LocaleInformation_uz_UZ.java,
4538         gnu/java/locale/LocaleInformation_vi_VN.java,
4539         gnu/java/locale/LocaleInformation_yi_US.java,
4540         gnu/java/locale/LocaleInformation_zh_CN.java,
4541         gnu/java/locale/LocaleInformation_zh_HK.java,
4542         gnu/java/locale/LocaleInformation_zh_SG.java,
4543         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4544         info; from Classpath.
4545
4546         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4547         isPaintPending): New methods.
4548         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4549         setMaximizedBounds): New methods.
4550         (beginLayout, endLayout, isPaintPending): Likewise.
4551         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4552         (requestFocus): Likewise.
4553         (isObscured): Likewise.
4554         (canDetermineObscurity): Likewise.
4555         (coalescePaintEvent): Likewise.
4556         (updateCursorImmediately): Likewise.
4557         (createVolatileImage): Likewise.
4558         (handlesWheelScrolling): Likewise.
4559         (createBuffers): Likewise.
4560         (getBackBuffer): Likewise.
4561         (flip): Likewise.
4562         (destroyBuffers): Likewise.
4563
4564         * Makefile.in: Rebuilt.
4565         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4566         RobotPeer.java.
4567         * gnu/java/awt/GLightweightPeer.java,
4568         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4569         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4570         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4571         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4572         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4573         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4574         java/awt/dnd/peer/DragSourceContextPeer.java,
4575         java/awt/dnd/peer/DropTargetContextPeer.java,
4576         java/awt/peer/ButtonPeer.java,
4577         java/awt/peer/CheckboxMenuItemPeer.java,
4578         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4579         java/awt/peer/ComponentPeer.java,
4580         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4581         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4582         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4583         java/awt/peer/MenuBarPeer.java,
4584         java/awt/peer/MenuComponentPeer.java,
4585         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4586         java/awt/peer/PopupMenuPeer.java,
4587         java/awt/peer/ScrollPanePeer.java,
4588         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4589         java/awt/peer/TextComponentPeer.java,
4590         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4591         New versions from Classpath.
4592         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4593         * java/awt/peer/RobotPeer.java: Likewise.
4594
4595 2003-03-01  Mark Wielaard  <mark@klomp.org>
4596
4597         * java/io/ObjectInputStream.java: Reindent.
4598         * java/io/ObjectOutputStream.java: Likewise.
4599
4600 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4601
4602         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4603         jvalue for each argument. Simplify.
4604         * testsuite/libjava.jni/calls.c (docall),
4605         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4606         misalignment.
4607
4608 2003-02-28  Mark Wielaard  <mark@klomp.org>
4609
4610         * Makefile.am (nat_source_files): Remove
4611         java/io/natObjectOutputStream.cc.
4612         * Makefile.in: Regenerated.
4613         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4614         * java/io/ObjectStreamField.java (typename): New field.
4615         (ObjectStreamField(String, Class)): Initialize new field.
4616         (ObjectStreamField(String, String)): New Constructor.
4617         (getTypeCode): Use new field.
4618         (getTypeString): Use new field.
4619         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4620         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4621         Handle reading of Proxy classes. Never drain(), just write
4622         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4623         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4624         (flush): Call flush(), not just drain().
4625         (writeBoolean): Always use blockDataOutput.
4626         (writeByte): Likewise.
4627         (writeShort): Likewise.
4628         (writeChar): Likewise.
4629         (writeInt): Likewise.
4630         (writeLong): Likewise.
4631         (writeFloat): Likewise.
4632         (writeDouble): Likewise.
4633         (writeBytes): Likewise.
4634         (putfield (put(String,Object))): Throw IllegalArgumentException if
4635         field cannot be found.
4636         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4637         (writeArraySizeAndElements): Write byte[] in one go.
4638         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4639         set BlockDataMode to false.
4640         (annotateProxyClass): New method.
4641         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4642         (getField): No longer native.
4643         (getMethod): Likewise.
4644         (setBlockDataMode): Always drain() on switch, return old mode.
4645         (static): New static code block.
4646         * java/io/natObjectOutputStream.cc: Removed.
4647         * java/io/ObjectInputStream.java (getField): No longer native.
4648         (getMethod): Likewise.
4649         (readObject): Remember and reset old BlockDataMode. Track whether
4650         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4651         TC_LONGSTRING.
4652         (defaultReadObject): Set BlockDataMode to false during readFields.
4653         (resolveClass): Create new SecurityManager if necessary.
4654         Use Class.forName() if null ClassLoader found.
4655         (read(byte[],int,int): Copy remaining bytes to data before calling
4656         readNextBlock().
4657         (readFields): Set and reset BlockDataMode on call_read_method.
4658         Catch NoSuchFieldErrors.
4659         (setBlockDataMode): Return old mode.
4660         (static): New static code block.
4661         * java/io/natObjectInputStream.cc (getField): Removed.
4662         (getMethod): Likewise.
4663
4664 2003-02-27  Michael Koch  <konqueror@gmx.de>
4665
4666         * java/beans/Beans.java,
4667         java/beans/FeatureDescriptor.java
4668         java/beans/PropertyEditorManager.java:
4669         Reformated to GNU style.
4670
4671 2003-02-25  Michael Koch  <konqueror@gmx.de>
4672
4673         * gnu/java/nio/MappedByteFileBuffer.java,
4674         gnu/java/nio/natMappedByteFileBuffer.cc:
4675         New files, both are not compiled yet to get not noncompiling CVS.
4676
4677 2003-02-24  Tom Tromey  <tromey@redhat.com>
4678
4679         * java/util/prefs/AbstractPreferences.java (isUserNode):
4680         Implemented.
4681
4682 2003-02-24  Tom Tromey  <tromey@redhat.com>
4683
4684         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4685         Deprecate.
4686         * java/lang/Thread.java (resume): Deprecate.
4687         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4688         in @deprecated.
4689
4690 2003-02-23  Tom Tromey  <tromey@redhat.com>
4691
4692         * Makefile.in: Rebuilt.
4693         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4694
4695 2003-02-23  Tom Tromey  <tromey@redhat.com>
4696
4697         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4698         libraries): Removed.
4699         (add_library): Removed.
4700         (_load): Don't call add_library.
4701         (loadLibraryInternal): Likewise.
4702         (init): Likewise.
4703         (lookup_data): New struct.
4704         (find_symbol): New function.
4705         (_Jv_FindSymbolInExecutable): Use it.
4706
4707 2002-02-21  Anthony Green  <green@redhat.com>
4708
4709         * java/lang/Thread.java (Thread): New constructor taking stack
4710         size parameter (ignored for now).
4711         * Many methods: Merged GNU Classpath documentation.
4712
4713         * java/lang/Class.java (finalize): throws a Throwable.
4714
4715 2003-02-21  Mark Wielaard  <mark@klomp.org>
4716
4717         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4718         argument is null.
4719
4720 2003-02-21  Mark Wielaard  <mark@klomp.org>
4721
4722         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4723         then 65535 chars throw IllegalArgumentException.
4724
4725 2003-02-21  Mark Wielaard  <mark@klomp.org>
4726
4727         * java/util/zip/ZipFile.java (finalize): New method.
4728
4729 2003-02-21  Michael Koch  <konqueror@gmx.de>
4730
4731         * gnu/java/nio/natSocketChannelImpl.cc:
4732         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4733         <cato@df.lth.se> for pointing to it.
4734
4735 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4736
4737         * java/math/BigInteger.java (euclidInv): Take result array as an
4738         argument.  Updated all callers.
4739         (modInverse): Removed unused variables.
4740
4741 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4742
4743         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4744         config.status.
4745         * configure: Rebuilt.
4746
4747 2003-02-19  Michael Koch  <konqueror@gmx.de>
4748
4749         * gnu/java/nio/natSocketChannelImpl.cc:
4750         Added support for platforms without network support.
4751
4752 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4753
4754         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4755         after config.h.  Use <> for consistency.
4756         * java/lang/natObject.cc: Likewise.
4757         * java/lang/natRuntime.cc: Likewise.
4758         * java/lang/natSystem.cc: Likewise.
4759         * java/util/natTimeZone.cc: Likewise.
4760         * win32.cc: Likewise.
4761         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4762         listen, write, read): Undef to avoid interference from OS macros.
4763
4764 2003-02-19  Michael Koch  <konqueror@gmx.de>
4765
4766         * gnu/java/nio/ByteBufferImpl.java
4767         (ByteBufferImpl): Renamed two variables.
4768         * gnu/java/nio/CharBufferImpl.java
4769         (CharBufferImpl): Renamed two variables.
4770         * gnu/java/nio/DoubleBufferImpl.java
4771         (DoubleBufferImpl): Renamed two variables.
4772         * gnu/java/nio/FloatBufferImpl.java
4773         (FloatBufferImpl): Renamed two variables.
4774         * gnu/java/nio/IntBufferImpl.java
4775         (IntBufferImpl): Renamed two variables.
4776         * gnu/java/nio/LongBufferImpl.java
4777         (LongBufferImpl): Renamed two variables.
4778         * gnu/java/nio/ShortBufferImpl.java
4779         (ShortBufferImpl): Renamed two variables.
4780         * java/nio/CharBuffer.java
4781         (wrap): Fixed arguments to CharBufferImpl constructor.
4782         (hasArray): Only not read-only buffers have backing arrays.
4783         (length): Documentation added.
4784         (subSequence): Documentation added.
4785         * java/nio/DoubleBuffer.java
4786         (hasArray): Only not read-only buffers have backing arrays.
4787         * java/nio/FloatBuffer.java
4788         (hasArray): Only not read-only buffers have backing arrays.
4789         * java/nio/IntBuffer.java
4790         (hasArray): Only not read-only buffers have backing arrays.
4791         * java/nio/LongBuffer.java
4792         (hasArray): Only not read-only buffers have backing arrays.
4793         * java/nio/ShortBuffer.java
4794         (hasArray): Only not read-only buffers have backing arrays.
4795         
4796 2003-02-19  Michael Koch  <konqueror@gmx.de>
4797
4798         * javax/accessibility/AccessibleContext.java
4799         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4800
4801 2003-02-19  Michael Koch  <konqueror@gmx.de>
4802
4803         * java/awt/ScrollPaneAdjustable.java: Reformated.
4804
4805 2003-02-19  Michael Koch <konqueror@gmx.de>
4806
4807         * gnu/awt/j2d/Graphics2DImpl.java
4808         (getFontRenderContext): New method.
4809         (drawGlyphVector): New method.
4810         * java/awt/Graphics2D.java
4811         (getFontRenderContext): New abstract method.
4812         (drawGlyphVector): New abstract method.
4813         
4814 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4815
4816         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4817         if necessary.
4818         
4819         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4820         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4821         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4822         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4823         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4825         (setFont, gtkSetFont): add.
4826         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4827         Propagate font to peer.  (setFont): add FIXME comment.
4828
4829         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4830         (gtkTextGetSize): fix height, width computation.
4831
4832         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4833         Make X font name a bit less bogus.
4834
4835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4836         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4837
4838         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4839         (processAdjustmentEvent): Adjust value.
4840
4841         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4842         logic errors.
4843
4844         * java/awt/Component.java (setVisible, show, hide): Call show and
4845         hide methods in subclasses.
4846         (getPreferredSize): don't set prefSize before we have peer.
4847
4848         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4849         Guess (0,0) if we don't have peer.
4850
4851
4852 2003-02-18  Michael Koch  <konqueror@gmx.de>
4853
4854         * java/nio/channels/FileChannel.java
4855         (toString): New implementation, added documentation.
4856         (map): Added exception documentation.
4857         (size): Added exception documentation.
4858         (write): New methods, documentation work.
4859         (read): New methods, documentation work.
4860         (implCloseChannel): Rewrote exception documentation.
4861         (force): Throws IOException, added documentation.
4862         (lock): New methods.
4863         (tryLock): New methods.
4864         (position): New methods.
4865         (transferTo): New method.
4866         (transferFrom): New method.
4867         (truncate): New method.
4868         * java/nio/channels/spi/SelectorProvider.java
4869         (provider): Implemented.
4870         * Makefile.am
4871         (ordinary_java_source_files): Added the following files:
4872         gnu/java/nio/DatagramChannelImpl.java
4873         gnu/java/nio/FileChannelImpl.java
4874         gnu/java/nio/PipeImpl.java
4875         gnu/java/nio/SelectionKeyImpl.java
4876         gnu/java/nio/SelectorImpl.java
4877         gnu/java/nio/SelectorProviderImpl.java
4878         gnu/java/nio/ServerSocketChannelImpl.java
4879         gnu/java/nio/SocketChannelImpl.java
4880         java/nio/channels/FileLock.java
4881         (nat_java_source_files): Added the following files:
4882         gnu/java/nio/natFileChannelImpl.cc
4883         gnu/java/nio/natSelectorImpl.cc
4884         gnu/java/nio/natSocketChannelImpl.cc
4885         * Makefile.in: Regenerated.
4886
4887 2003-02-17  Tom Tromey  <tromey@redhat.com>
4888
4889         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4890         * java/awt/image/ImageFilter.java: Likewise.
4891
4892 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4893
4894         * java/math/BigInteger.java (euclidInv): Return array of
4895         `BigInteger's.  Changed all callers.
4896
4897 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4898
4899         * java/util/Properties.java (store): Move the code formerly in
4900         list(), into this method.
4901         (list (PrintStream)): Just call list (PrintWriter) with a 
4902         PrintWriter object constructed from the given PrintStream object.
4903         (list (PrintWriter)): Emulate the output of Properties.list()
4904         as found in JDK 1.3/1.4.
4905
4906 2003-02-17  Michael Koch  <konqueror@gmx.de>
4907
4908         * java/net/DatagramSocket.java
4909         (connect): Merged with classpath.
4910         (disconnect): Merged documentation with classpath.
4911         (receice): Merged documentation with classpath.
4912         (send): Merged documentation with classpath.
4913         
4914 2003-02-17  Michael Koch  <konqueror@gmx.de>
4915
4916         * java/awt/dnd/DragSourceContext.java
4917         (addDragSourceListener): Added documentation.
4918         * java/awt/dnd/DragSourceDragEvent.java
4919         (serialVersionUID): New member variable.
4920         (getDropAction): Reformated.
4921         * java/awt/dnd/DragSourceDropEvent.java
4922         (serialVersionUID): New member variable.
4923         (dropSuccess): Renamed from success for serialization issues.
4924         * java/awt/dnd/DragSourceEvent.java
4925         (serialVersionUID): New member variable.
4926         * java/awt/dnd/DropTarget.java
4927         (serialVersionUID): New member variable.
4928         (DropTarget): Implemented, documentation reworked.
4929         (setComponent): Documentation added.
4930         (getComponent): Documentation added.
4931         (setDefaultActions): Documentation added.
4932         (getDefaultActions): Documentation added.
4933         (addDropTargetListener): Documentation added.
4934         * java/awt/dnd/DropTargetContext.java
4935         (DropTargetContext): Documentation added.
4936         (TransferableProxy.TransferableProxy): New method.
4937         (dropComplete): Fixed documentation.
4938         (getTransferable): Fixed documentation.
4939         (createTransferableProxy): Implemented.
4940         * java/awt/dnd/DropTargetDragEvent.java
4941         (DropTargetDragEvent): Documentation added.
4942         (serialVersionUID): New member variable.
4943         (DropTargetDragEvent): Throw exceptions, documentation added.
4944         (acceptDrag): Implemented.
4945         (getCurrentDataFlavors): Implemented.3yy
4946         (getCurrentDataFlavorsAsList): Implemented.
4947         (isDataFlavorSupported): Implemented.
4948         (rejectDrag): Implemented.
4949         * java/awt/dnd/DropTargetDropEvent.java
4950         (DropTargetDropEvent): Documentation added.
4951         (serialVersionUID): New member variable.
4952         (actions): Renamed from srcActions for serialization issues.
4953         (isLocalTx): Renamed from isLocalTx for serialization issues.
4954         (DropTargetDropEvent): New implementation, throw exceptions,
4955         documentation added.
4956         (getCurrentDataFlavors): Implemented.
4957         (getCurrentDataFlavorsAsList): Implemented.
4958         (isDataFlavorSupported): Implemented.
4959         (getSourceActions): Implemented.
4960         (getDropAction): Implemented.
4961         (getTransferable): Implemented.
4962         (acceptDrop): Implemented.
4963         (rejectDrop): Implemented.
4964         * java/awt/dnd/DropTargetListener.java
4965         (drop): Fixed documentation.
4966         * java/awt/dnd/MouseDragGestureRecognizer.java
4967         (MouseDragGestureRecognizer): Documentation added.
4968
4969 2003-02-17  Michael Koch  <konqueror@gmx.de>
4970
4971         * java/awt/font/FontRenderContext.java,
4972         java/awt/font/ShapeGraphicAttribute.java,
4973         java/awt/font/MultipleMaster.java,
4974         java/awt/font/TransformAttribute.java,
4975         java/awt/font/GlyphJustificationInfo.java,
4976         java/awt/font/LineBreakMeasurer.java,
4977         java/awt/font/TextMeasurer.java,
4978         java/awt/font/TextLayout.java,
4979         java/awt/font/LineMetrics.java,
4980         java/awt/font/TextAttribute.java,
4981         java/awt/font/GlyphMetrics.java,
4982         java/awt/font/OpenType.java,
4983         java/awt/font/GlyphVector.java,
4984         java/awt/font/GraphicAttribute.java,
4985         java/awt/font/ImageGraphicAttribute.java,
4986         java/awt/font/NumericShaper.java: New files.
4987         * Makefile.am
4988         (awt_java_source_files): Added the following files:
4989         java/awt/font/FontRenderContext.java
4990         java/awt/font/ShapeGraphicAttribute.java
4991         java/awt/font/MultipleMaster.java
4992         java/awt/font/TransformAttribute.java
4993         java/awt/font/GlyphJustificationInfo.java
4994         java/awt/font/LineBreakMeasurer.java
4995         java/awt/font/TextMeasurer.java
4996         java/awt/font/TextLayout.java
4997         java/awt/font/LineMetrics.java
4998         java/awt/font/TextAttribute.java
4999         java/awt/font/GlyphMetrics.java
5000         java/awt/font/OpenType.java
5001         java/awt/font/GlyphVector.java
5002         java/awt/font/GraphicAttribute.java
5003         java/awt/font/ImageGraphicAttribute.java
5004         java/awt/font/NumericShaper.java
5005         * Makefile.in: Regenerated.
5006
5007 2003-02-17  Michael Koch  <konqueror@gmx.de>
5008
5009         * java/awt/print/Paper.java
5010         (Paper): Implements Cloneable.
5011         * java/awt/print/PrinterJob.java
5012         (setJobName): Return value must be void.
5013         (print): Throws PrinterException.
5014         
5015 2003-02-16  Tom Tromey  <tromey@redhat.com>
5016
5017         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5018         variable.
5019
5020 2003-02-15  Michael Koch  <konqueror@gmx.de>
5021
5022         * java/awt/datatransfer/DataFlavor.java
5023         (isRepresentationClassByteBuffer): Removed try-catch block.
5024         (isRepresentationClassCharBuffer): Removed try-catch block.
5025         (isRepresentationClassReader): Removed try-catch block.
5026
5027 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
5028
5029         * java/nio/charset/Charset.java
5030         (isRegistered): Fixed method args and implementation.
5031         * java/nio/charset/CharsetEncoder.java
5032         (unmappableCharacterAction): New method.
5033
5034 2003-02-15  Michael Koch  <konqueror@gmx.de>
5035
5036         * java/awt/CheckboxMenuItem.java
5037         (CheckBoxMenuItem): Dont implement Serializable.
5038         (getListeners): New method,
5039         (getItemListeners): New method.
5040         * java/awt/Choice.java
5041         (getListeners): New method,
5042         (getItemListeners): New method.
5043         * java/awt/Container.java
5044         (getListeners): Added exception documentation.
5045         (setFocusTraversalKeys): Throw exceptions, added documentattion.
5046         (getFocusTraversalKeys): Added documentation.
5047         (areFocusTraversalKeysSet): Added documentation.
5048         (applyComponentOrientation): Added documentation.
5049         * java/awt/ContainerOrderFocusTraversalPolicy.java
5050         (implicitDownCycleTraversal): Renamed from downCycle for
5051         serialization.
5052         (ContainerOrderFocusTraversalPolicy): Added documentation.
5053         (accept): Reformated.
5054         * java/awt/Dialog.java
5055         (Dialog): Dont implement Serializable.
5056         (Dialog): Added documentation.
5057         * java/awt/Font.java
5058         (Font): Dont use absolute class name.
5059         * java/awt/Frame.java
5060         (Frame): Font implement Serializable.
5061         * java/awt/List.java
5062         (getListeners): New method,
5063         (getActionListeners): New method.       
5064         (getItemListeners): New method.
5065         * java/awt/Menu.java
5066         (countItems): New deprecated method.
5067         * java/awt/Scrollbar.java
5068         (getListeners): New method,
5069         (getAdjustmentListeners): New method,
5070         * java/awt/TextComponent.java
5071         (getListeners): New method,
5072         (getTextListeners): New method,
5073         * java/awt/TextField.java
5074         (getListeners): New method,
5075         (getActionListeners): New method.       
5076         * java/awt/Window.java
5077         (windowFocusListener): New member variable.
5078         (windowStateListener): New member variable.
5079         (getWindowFocusListeners): New method.
5080         (getWindowStateListeners): New method.
5081         (addWindowFocusListener): New method.
5082         (addWindowStateListener): New method.
5083         (removeWindowFocusListener): New method.
5084         (removeWindowStateListener): New method.
5085         * java/awt/datatransfer/DataFlavor.java
5086         (isRepresentationClassByteBuffer): New method.
5087         (isRepresentationClassCharBuffer): New method.
5088         (isRepresentationClassReader): New method.
5089
5090 2003-02-14  Mark Wielaard  <mark@klomp.org>
5091
5092         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5093         zero when there is an exponent and the significant is zero.
5094         (divide): Always set scale to newScale even in special ZERO case.
5095
5096 2003-02-14  Tom Tromey  <tromey@redhat.com>
5097
5098         * java/lang/System.java (properties): Use Properties.clone.
5099         (setProperties): Likewise.
5100
5101 2003-02-14  Michael Koch  <konqueror@gmx.de>
5102
5103         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5104         * gnu/java/nio/ServerSocketChannelImpl.java
5105         (SocketAccept): Removed.
5106         (accept): Commented out use of SocketAccept.
5107
5108 2003-02-13  Tom Tromey  <tromey@redhat.com>
5109
5110         * verify.cc (state::seen_subrs): New field.
5111         (state::state): Initialize it.
5112         (state::clean_subrs): New method.
5113         (state::~state): Call it.
5114         (state::copy): Copy subroutine list.
5115         (state::add_subr): New method.
5116         (state::merge): Only register a change if the current subroutine
5117         hasn't yet been noted.
5118
5119 2003-02-13  Mark Wielaard  <mark@klomp.org>
5120
5121         * java/io/InputStreamReader.java (getEncoding): Return null when
5122         closed.
5123         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5124
5125 2003-02-13  Mark Wielaard  <mark@klomp.org>
5126  
5127         * java/util/zip/InflaterInputStream.java (read): Return zero when len
5128         is zero.
5129
5130 2003-02-13  Mark Wielaard  <mark@klomp.org>
5131
5132         * java/io/BufferedOutputStream.java (write(int)): Only flush when
5133         next byte cannot be buffered.
5134
5135 2003-02-13  Michael Koch  <konqueror@gmx.de>
5136  
5137         * java/awt/Label.java
5138         (Label): Don't implement Serializable directly.
5139         (addNotify): Fixed typo in documentation.
5140         * java/awt/List.java
5141         (List): Don't implement Serializable directly.
5142         * java/awt/PopupMenu.java
5143         (PopupMenu): Don't implement Serializable directly.
5144         * java/awt/ScrollPane.java
5145         (ScrollPane): Don't implement Serializable directly.
5146         * java/awt/Scrollbar.java
5147         (Scrollbar): Don't implement Serializable directly.
5148         * java/awt/TextArea.java
5149         (preferredSize): Fixed method arguments.
5150         * java/awt/TextField.java
5151         (TextField): Don't implement Serializable directly.
5152         * java/awt/color/ICC_ColorSpace.java
5153         (fromCIOXYZ): Documentation added.
5154         (getMinValue): Documentation added.
5155         (getMaxValue): Documentation added.
5156         * java/awt/datatransfer/DataFlavor.java
5157         (isMimeTypeEqual): May not be final.
5158         (clone): Throws CloneNotSupportedException.
5159         (getReaderForText): Don't throws UnsupportedEncodingException.
5160
5161 2003-02-13  Michael Koch  <konqueror@gmx.de>
5162  
5163         * gnu/java/awt/peer/gtk/GdkGraphics.java
5164         (drawString): New stubbed method.
5165         * java/awt/Graphics.java
5166         (drawString): New method.
5167
5168 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
5169
5170         PR libgcj/9271:
5171         * java/security/SecureRandom.java (next): Avoid bias in results.
5172
5173 2003-02-13  Michael  <konqueror@gmx.de>
5174
5175         * gnu/java/nio/FileChannelImpl.java
5176         (lengthInternal): Must be native.
5177         (size): Check if channel is already closed.
5178         (implCloseChannel): Reformated.
5179         (read): w was unused, removed it.
5180         (read): Removed.
5181         (read): New method.
5182         (write): New method.
5183         (map): Check arguments.
5184         (force): Throws IOException, check if channel is closed.
5185         (transferTo): New method.
5186         (transferFrom): New method.
5187         (lock): New method.
5188         (tryLock): New method.
5189         (position): New method.
5190         (truncate): New method.
5191         (nio_mmap_file): Uncommented.
5192         (nio_munmap_file): Uncommented.
5193         (nio_msync): Uncommented.
5194         * gnu/java/nio/natFileChannelImpl.cc: New file.
5195         
5196 2003-02-13  Michael Koch  <konqueror@gmx.de>
5197
5198         * java/nio/ByteBuffer.java
5199         (endian): New member variable.
5200         (get): New methods.
5201         (equals): New method.
5202         (compareTo): New method.
5203         (order): New methods.
5204         (compact): New method.
5205         (isDirect): New method.
5206         (slice): New method.
5207         (duplicate): New method.
5208         (asReadOnlyBuffer): New method.
5209         (asCharBuffer): New method.
5210         (asDoubleBuffer): New method.
5211         (asFloatBuffer): New method.
5212         (asIntBuffer): New method.
5213         (asLongBuffer): New method.
5214         (asShortBuffer): New method.
5215         (get*): New methods.
5216         (put*): New methods.
5217         (toString): New method.
5218         * java/nio/CharBuffer.java
5219         (CharBuffer): Implement Comparable instead of Cloneable.
5220         (get): May not be final.
5221         (put): May not be final.
5222         
5223 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
5224
5225         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5226         lastIndexOf( ) instead of indexOf( ) to find the colon before
5227         the line number, because Win32 file names might contain a 
5228         drive letter and a colon at the start of an absolute path.
5229
5230 2003-02-13  Michael Koch  <konqueror@gmx.de>
5231
5232         * gnu/java/nio/natSocketChannelImpl.cc
5233         (SocketConnect): This is not implemented yet.
5234         (SocketBind): This is not implemented yet.
5235
5236 2003-02-13  Michael Koch  <konqueror@gmx.de>
5237
5238         * gnu/java/nio/natByteBufferImpl.cc,
5239         gnu/java/nio/natCharBufferImpl.cc,
5240         gnu/java/nio/natDoubleBufferImpl.cc,
5241         gnu/java/nio/natFloatBufferImpl.cc,
5242         gnu/java/nio/natIntBufferImpl.cc,
5243         gnu/java/nio/natLongBufferImpl.cc,
5244         gnu/java/nio/natShortBufferImpl.cc:
5245         Added copyright and license.
5246         * java/nio/DoubleBuffer.java,
5247         java/nio/FloatBuffer.java,
5248         java/nio/IntBuffer.java,
5249         java/nio/LongBuffer.java,
5250         java/nio/ShortBuffer.java
5251         (array): Throw exceptions.
5252         (arrayOffset): Throw exceptions.
5253
5254 2003-02-13  Michael Koch  <konqueror@gmx.de>
5255  
5256         * gnu/java/util/prefs/FileBasedFactory.java,
5257         gnu/java/util/prefs/MemmoryBasedFactory.java,
5258         gnu/java/util/prefs/MemoryBasedPreferences.java,
5259         gnu/java/util/prefs/NodeReader.java,
5260         gnu/java/util/prefs/NodeWriter.java,
5261         java/util/prefs/AbstractPreferences.java,
5262         java/util/prefs/BackingStoreException.java,
5263         java/util/prefs/InvalidPreferencesFormatException.java,
5264         java/util/prefs/NodeChangeEvent.java,
5265         java/util/prefs/NodeChangeListener.java,
5266         java/util/prefs/PreferenceChangeEvent.java,
5267         java/util/prefs/PreferenceChangeListener.java,
5268         java/util/prefs/Preferences.java,
5269         java/util/prefs/PreferencesFactory.java:
5270         New files, all merged from classpath.
5271         * Makefile.am
5272         (ordinary_java_source_files): Added the following files:
5273         gnu/java/util/prefs/FileBasedFactory.java,
5274         gnu/java/util/prefs/MemmoryBasedFactory.java,
5275         gnu/java/util/prefs/MemoryBasedPreferences.java,
5276         gnu/java/util/prefs/NodeReader.java,
5277         gnu/java/util/prefs/NodeWriter.java,
5278         (core_java_source_files): Added the following files:
5279         java/util/prefs/AbstractPreferences.java,
5280         java/util/prefs/BackingStoreException.java,
5281         java/util/prefs/InvalidPreferencesFormatException.java,
5282         java/util/prefs/NodeChangeEvent.java,
5283         java/util/prefs/NodeChangeListener.java,
5284         java/util/prefs/PreferenceChangeEvent.java,
5285         java/util/prefs/PreferenceChangeListener.java,
5286         java/util/prefs/Preferences.java,
5287         java/util/prefs/PreferencesFactory.java
5288         * Makefile.in: Regenerated.
5289  
5290 2003-02-13  Michael Koch  <konqueror@gmx.de>
5291
5292         * java/net/NetPermission.java
5293         (NetPermission): Make doucmentation match the method declaration.
5294         * java/net/NetworkInterface.java
5295         (equals): Reformated for GNU coding style.
5296         * java/net/ServerSocket.java: Merged with classpath.
5297         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5298         * java/net/SocketImpl.java
5299         (localPort): Merged with classpath (initialize with -1).
5300         * java/net/SocketPermission.java: Merged with classpath (reindented).
5301         * java/net/URLDecoder.java: Merged with classpath (reindented).
5302
5303 2003-02-13  Michael Koch  <konqueror@gmx.de>
5304
5305         * java/awt/GridBagConstraints.java
5306         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5307         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5308         * java/awt/KeyboardFocusManager.java
5309         (setGlobalCurrentFocusCycleRoot): Must be public.
5310         * java/awt/MenuComponent.java
5311         (MenuComponent): Must be public.
5312         * java/awt/Toolkit.java:
5313         Added some empty lines to make documentation more readable.
5314         (getFontPeer): Added @deprecated.
5315         (getColorModel): Added exception documentation.
5316         (getProperty): Fixed documentation.
5317  
5318 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5319
5320         * configure.host (alpha*-*): Default to -mieee.
5321         * configure.in (IEEESPEC): New.
5322         * libgcj.spec.in (jc1): Add IEEESPEC.
5323         * configure: Rebuild.
5324
5325 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5326
5327         * include/win32.h: Include ws2tcpip.h instead of
5328         winsock.h to obtain definition of the socklen_t type.
5329         Remove IP_TOS definition - not needed with ws2tcpip.h
5330         (_Jv_connect): Correct slight formatting error.
5331
5332 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5333
5334         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5335         size of the arguments for a JNI function. For Win32,
5336         modify to search for all forms of possible exported
5337         names of an stdcall JNI function.
5338         (_Jv_JNIMethod::call): Modify to calculate the size
5339         of the arguments passed to a JNI function and pass
5340         it to _Jv_LookupJNIMethod.
5341
5342 2003-02-12  Michael Koch  <konqueror@gmx.de>
5343
5344         * java/nio/channels/Channels.java: New file.
5345         * Makefile.am
5346         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5347         * Makefile.in: Regenerated.
5348
5349 2003-02-12  Michael Koch  <konqueror@gmx.de>
5350
5351         * java/nio/ByteBuffer.java
5352         (allocate): Implemented.
5353         (wrap): Implemented.
5354         * java/nio/CharBuffer.java:
5355         Some documentation added and reworked.
5356         (endian): Removed.
5357         (allocate): Implemented.
5358         (wrap): Implemented.
5359         (array): Throw exceptions.
5360         (arrayOffset): Throw exceptions.
5361         (toString): Implemented.
5362         (length): Implemented.
5363         (put): Implemented.
5364         (charAt): Implemented.
5365
5366 2003-02-11  John Leuner  <jewel@debian.org>
5367
5368         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5369         reads from end of file.
5370
5371 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5372
5373         * java/io/natFileDescriptorWin32.cc 
5374         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5375         returns with Win32 error code ERROR_BROKEN_PIPE.
5376
5377 2003-02-11  Michael Koch  <konqueror@gmx.de>
5378
5379         * Makefile.in
5380         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5381
5382 2003-02-11  Michael Koch  <konqueror@gmx.de>
5383
5384         * gnu/java/nio/ByteBufferImpl.java:
5385         Reformated and removed some code.
5386         (backing_buffer): Removed.      
5387         (array_offset): Removed.
5388         (ro): Renamed to readOnly.
5389         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5390         * gnu/java/nio/CharBufferImpl.java:
5391         Reformated and removed some code.
5392         (array_offset): Removed.
5393         (ro): Renamed to readOnly.
5394         (CharBufferImpl): Use parent constructor, initialize readOnly.
5395         (inc_pos): Removed.
5396         (order): New method.
5397         * gnu/java/nio/DoubleBufferImpl.java:
5398         Reformated and removed some code.
5399         (array_offset): Removed.
5400         (ro): Renamed to readOnly.
5401         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5402         (inc_pos): Removed.
5403         (order): New method.
5404         * gnu/java/nio/FloatBufferImpl.java:
5405         Reformated and removed some code.
5406         (array_offset): Removed.
5407         (ro): Renamed to readOnly.
5408         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5409         (inc_pos): Removed.
5410         (order): New method.
5411         * gnu/java/nio/IntBufferImpl.java:
5412         Reformated and removed some code.
5413         (array_offset): Removed.
5414         (ro): Renamed to readOnly.
5415         (IntBufferImpl): Use parent constructor, initialize readOnly.
5416         (inc_pos): Removed.
5417         (order): New method.
5418         * gnu/java/nio/LongBufferImpl.java:
5419         Reformated and removed some code.
5420         (array_offset): Removed.
5421         (ro): Renamed to readOnly.
5422         (LongBufferImpl): Use parent constructor, initialize readOnly.
5423         (inc_pos): Removed.
5424         (order): New method.
5425         * gnu/java/nio/ShortBufferImpl.java:
5426         Reformated and removed some code.
5427         (array_offset): Removed.
5428         (ro): Renamed to readOnly.
5429         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5430         (inc_pos): Removed.
5431         (order): New method.
5432         * Makefile.am
5433         (ordinary_java_source_files): Added the following files:
5434         gnu/java/nio/ByteBufferImpl.java
5435         gnu/java/nio/CharBufferImpl.java
5436         gnu/java/nio/DoubleBufferImpl.java
5437         gnu/java/nio/FloatBufferImpl.java
5438         gnu/java/nio/IntBufferImpl.java
5439         gnu/java/nio/LongBufferImpl.java
5440         gnu/java/nio/ShortBufferImpl.java
5441         java/nio/DoubleBuffer.java
5442         java/nio/FloatBuffer.java
5443         java/nio/IntBuffer.java
5444         java/nio/LongBuffer.java
5445         java/nio/ShortBuffer.java
5446         (nat_source_files): Added the following files:
5447         gnu/java/nio/natByteBufferImpl.cc
5448         gnu/java/nio/natCharBufferImpl.cc
5449         gnu/java/nio/natDoubleBufferImpl.cc
5450         gnu/java/nio/natFloatBufferImpl.cc
5451         gnu/java/nio/natIntBufferImpl.cc
5452         gnu/java/nio/natLongBufferImpl.cc
5453         gnu/java/nio/natShortBufferImpl.cc
5454         * Makefile.in: Regenerated.
5455
5456 2003-02-11  Michael Koch  <konqueror@gmx.de>
5457
5458         * gnu/java/nio/natCharBufferImpl.cc
5459         (nio_cast): Removed.
5460         (nio_put_*): Removed.
5461         (nio_get_*): Removed.
5462         * gnu/java/nio/natDoubleBufferImpl.cc
5463         (nio_cast): Removed.
5464         (nio_put_*): Removed.
5465         (nio_get_*): Removed.
5466         * gnu/java/nio/natFloatBufferImpl.cc
5467         (nio_cast): Removed.
5468         (nio_put_*): Removed.
5469         (nio_get_*): Removed.
5470         * gnu/java/nio/natIntBufferImpl.cc
5471         (nio_cast): Removed.
5472         (nio_put_*): Removed.
5473         (nio_get_*): Removed.
5474         * gnu/java/nio/natLongBufferImpl.cc
5475         (nio_cast): Removed.
5476         (nio_put_*): Removed.
5477         (nio_get_*): Removed.
5478         * gnu/java/nio/natShortBufferImpl.cc
5479         (nio_cast): Removed.
5480         (nio_put_*): Removed.
5481         (nio_get_*): Removed.
5482         * gnu/java/nio/SelectorProviderImpl.java
5483         (openDatagramChannel): Throws IOException.
5484         (openPipe): Throws IOException.
5485         (openSelector): Throws IOException.
5486         (openServerSocketChannel): Throws IOException.
5487         (openSocketChannel): Throws IOException.
5488         * gnu/java/nio/ServerSocketChannelImpl.java
5489         (ServerSocketChannelImpl): Throws IOException.
5490         (implCloseSelectableChannel): Throws IOException.
5491         (implConfigureBlocking): Throws IOException.
5492         * java/nio/ByteBuffer.java
5493         (readOnly): Removed.
5494         (hasArray): Use isReadOnly() instead of readOnly.
5495         (array): Use isReadOnly() instead of readOnly.
5496         (arrayOffset): Use isReadOnly() instead of readOnly.
5497         * java/nio/CharBuffer.java
5498         (CharBuffer): Implements Cloneable and CharSequence.
5499
5500 2003-02-11  Michael Koch  <konqueror@gmx.de>
5501
5502         * java/nio/DoubleBuffer.java
5503         (DoubleBuffer): Implements Comparable.
5504         (endian): Removed.
5505         (array_offset): New member variable.
5506         (DoubleBuffer): New constuctor.
5507         (get): May not be final.
5508         (put): May not be final.
5509         (arrayOffset): Implemented.
5510         (order): Made abstract.
5511         (order): Removed.
5512         (as*Buffer): Removed.
5513         (get*): Removed.
5514         (put*): Removed.
5515         * java/nio/FloatBuffer.java
5516         (FloatBuffer): Implements Comparable.
5517         (endian): Removed.
5518         (array_offset): New member variable.
5519         (FloatBuffer): New constuctor.
5520         (get): May not be final.
5521         (put): May not be final.
5522         (arrayOffset): Implemented.
5523         (order): Made abstract.
5524         (order): Removed.
5525         (as*Buffer): Removed.
5526         (get*): Removed.
5527         (put*): Removed.
5528         * java/nio/IntBuffer.java
5529         (IntBuffer): Implements Comparable.
5530         (endian): Removed.
5531         (array_offset): New member variable.
5532         (IntBuffer): New constuctor.
5533         (get): May not be final.
5534         (put): May not be final.
5535         (arrayOffset): Implemented.
5536         (order): Made abstract.
5537         (order): Removed.
5538         (as*Buffer): Removed.
5539         (get*): Removed.
5540         (put*): Removed.
5541         * java/nio/LongBuffer.java
5542         (LongBuffer): Implements Comparable.
5543         (endian): Removed.
5544         (array_offset): New member variable.
5545         (LongBuffer): New constuctor.
5546         (get): May not be final.
5547         (put): May not be final.
5548         (arrayOffset): Implemented.
5549         (order): Made abstract.
5550         (order): Removed.
5551         (as*Buffer): Removed.
5552         (get*): Removed.
5553         (put*): Removed.
5554         * java/nio/ShortBuffer.java
5555         (ShortBuffer): Implements Comparable.
5556         (endian): Removed.
5557         (array_offset): New member variable.
5558         (ShortBuffer): New constuctor.
5559         (get): May not be final.
5560         (put): May not be final.
5561         (arrayOffset): Implemented.
5562         (order): Made abstract.
5563         (order): Removed.
5564         (as*Buffer): Removed.
5565         (get*): Removed.
5566         (put*): Removed.
5567
5568 2003-02-11   Michael Koch  <konqueror@gmx.de>
5569
5570         * java/nio/channels/SelectionKey.java
5571         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5572         values.
5573
5574 2003-02-11  Michael Koch  <konqueror@gmx.de>
5575
5576         * java/nio/channels/DatagramChannel.java
5577         (write): Throws IOException.
5578         (connect): Throws IOException.
5579         (disconnect): Throws IOException.
5580         (read): Throws IOException.
5581         (receive): Throws IOException.
5582         (send): Throws IOException.
5583         * java/nio/channels/Pipe.java
5584         (open): Throws IOException.
5585         * java/nio/channels/SelectableChannel.java
5586         (configureBlocking): Throws IOException.
5587         * java/nio/channels/ServerSocketChannel.java
5588         (accept): Throws IOException.
5589         * java/nio/channels/SocketChannel.java
5590         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5591         GatheringByteChannel.
5592         (read): Throws IOException.
5593         (write): Throws IOException.
5594         (finishConnect): Throws IOException.
5595         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5596         (end): Throws AsynchronousCloseException.
5597         * java/nio/channels/spi/AbstractSelectableChannel.java
5598         (configureBlocking): Throws IOException.
5599         (implCloseChannel): Throws IOException.
5600         (implCloseSelectableChannel): Throws IOException.
5601         (implConfigureBlocking): Throws IOException.
5602         * java/nio/channels/spi/SelectorProvider.java
5603         (openDatagramChannel): Throws IOException.
5604         (openPipe): Throws IOException.
5605         (openSelector): Throws IOException.
5606         (openServerSocketChannel): Throws IOException.
5607         (openSocketChannel): Throws IOException.
5608
5609 2003-02-11  Michael Koch  <konqueror@gmx.de>
5610
5611         * gnu/java/nio/FileLockImpl.java,
5612         java/nio/channels/FileLock.java: New files.
5613
5614 2003-02-11  Michael Koch  <konqueror@gmx.de>
5615
5616         * java/nio/charset/IllegalCharsetNameException.java
5617         (serialVersionUID): New member variable.
5618         (charsetName): New member variable.
5619         (IllegalCharsetException): New implementation.
5620         (getCharsetName): New implementation.
5621         * java/nio/charset/UnsupportedCharsetException.java
5622         (serialVersionUID): New member variable.
5623         (charsetName): New member variable.
5624         (UnsupportedCharsetException): New implementation.
5625         (getCharsetName): New implementation.
5626
5627 2003-02-10  Tom Tromey  <tromey@redhat.com>
5628
5629         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5630         (ex): Renamed from sqlException.
5631
5632 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5633
5634         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5635         method used to ensure seeding has occurred and that a specific 
5636         seed can be set and used.
5637
5638 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5639
5640         * java/lang/Win32Process.java (destroy): Declare as native.
5641         (hasExited): New native method.
5642         (exitValue): Define.
5643         (getErrorStream): Likewise.
5644         (getInputStream): Likewise.
5645         (getOutputStream): Likewise.
5646         (waitFor): Declare as native.
5647         (startProcess): New native method.
5648         (cleanup): Likewise.
5649         (ConcreteProcess): Define.
5650         (outputStream, inputStream, errorStream): New members.
5651         (procHandle, exitCode): Likewise.
5652
5653         * java/lang/natWin32Process.cc
5654         (java::lang::ConcreteProcess::cleanup): Define.
5655         (java::lang::ConcreteProcess::destroy): Likewise.
5656         (java::lang::ConcreteProcess::hasExited): Likewise.
5657         (java::lang::ConcreteProcess::waitFor): Likewise.
5658         (new_string): Likewise.
5659         (java::lang::ConcreteProcess::startProcess): Likewise.
5660
5661 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5662
5663         * java/math/BigInteger.java:
5664         Updated notice to include years 2002 and 3.
5665         Added 2 private (int) arrays with values from the HAC (Handbook of
5666         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5667         and t[] that contains nbr. of tests --used in isProbablePrime().
5668
5669         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5670
5671         * java/math/BigInteger.java (make(int[],int), add(int,int),
5672         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5673         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5674         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5675         make(long).
5676
5677         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5678         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5679         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5680         BIs and returns void.
5681         (modInverse(BI)): Use new signatures of euclidInv().
5682
5683         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5684         static small primes instead of remainder().
5685         Use pre-computed max nbr of trials based on bitlength of BI to test.
5686         Use pre-computed small primes for the trial tests instead of random
5687         numbers.
5688
5689         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5690         not used.
5691
5692         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5693         invoacation of MPN.chars_per_word().  not used.
5694
5695         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5696         local var and used where needed.
5697
5698         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5699         Combined declaration with initialisation of locals.
5700         Removed unused var.
5701
5702         * java/math/BigInteger.java: Style changes
5703         (pow(int)): Removed 'else' keyword.
5704         (toString(int)): idem.
5705         (doubleValue()): idem.
5706         (bitLength()): idem.
5707         (equals(Object)): Use static methods name in same class w/o prepending
5708         class name.
5709         (doubleValue()): idem.
5710         (setNegative(BI)): idem.
5711         (negate()): idem.
5712         (and(BI,int)): idem.
5713         (and(BI)): idem.
5714         (gcd(BI)): idem.
5715         (byteArrayToIntArray()): Removed casting to (int). this is
5716         std. behaviour.
5717         (canonicalize()): idem.
5718         (alloc(int)): Always instantiate a new BI.
5719
5720 2003-02-10  Tom Tromey  <tromey@redhat.com>
5721
5722         * java/sql/Timestamp.java (compareTo(Object)): New method.
5723         (compareTo(Timestamp)): Likewise.
5724         (serialVersionUID): Updated.
5725
5726 2003-02-07  Mark Wielaard  <mark@klomp.org>
5727
5728         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5729         when verify is true.
5730         (JarFile(File, boolean)): Likewise.
5731         (manifestRead): Set manifestRead field correctly.
5732
5733 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5734
5735         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5736         tests; see patch #1016 on Savannah.
5737
5738 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5739
5740         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5741         (toString): do not return Strings starting with . and - erroneously.
5742         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5743         DiagBigDecimal.
5744
5745 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5746
5747         * java/beans/PropertyDescriptor.java
5748         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5749         methods.
5750         (PropertyDescriptor(String, Class, String, String)): Likewise.
5751         (PropertyDescriptor(String, Method, Method): Factor out getter and
5752         setter method sanity checks into new method.
5753         (findMethods): Don't do parameter sanity checking of get method here.
5754         (checkMethods): New method.
5755
5756 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5757
5758         * java/beans/PropertyDescriptor.java: Reformat.
5759
5760 2003-02-04  Tom Tromey  <tromey@redhat.com>
5761
5762         * java/io/PipedOutputStream.java (flush): Declare as throwing
5763         IOException.
5764         (close): Likewise.
5765         * java/io/PipedWriter.java (close): Declare as throwing
5766         IOException.
5767         * java/io/StringWriter.java (close): Declare as throwing
5768         IOException.
5769
5770 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5771
5772         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5773         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5774         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5775         "_JNI_OnLoad@8" (MSVC).
5776
5777 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5778
5779         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5780         convention on Win32 to invoke native JNI methods.
5781
5782 2003-02-03  Andrew Haley  <aph@redhat.com>
5783
5784         * configure.host (x86_64): Enable interpreter.
5785
5786 2003-02-03  Andrew Haley  <aph@redhat.com>
5787
5788         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5789         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5790         * configure.in (BACKTRACESPEC): New.
5791         * configure: Regenerate.
5792
5793 2003-02-02  Tom Tromey  <tromey@redhat.com>
5794
5795         * configure: Rebuilt.
5796         * configure.in (TOOLKIT) [xlib]: Set correctly.
5797
5798         * Makefile.in: Rebuilt.
5799         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5800         libstdc++.
5801
5802 2003-01-31  Mark WIelaard  <mark@klomp.org>
5803
5804         * Makefile.in: Rebuilt.
5805         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5806
5807 2003-01-31  Tom Tromey  <tromey@redhat.com>
5808
5809         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5810         cast to element type.
5811         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5812         (_Jv_JNI_GetObjectArrayElement): Likewise.
5813
5814         * Makefile.in: Rebuilt.
5815         * Makefile.am (cond_x_ltlibrary): Renamed library to
5816         lib-gnu-awt-xlib.la.
5817         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5818         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5819         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5820         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5821         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5822         (lib_gnu_awt_xlib_la_LINK): Likewise.
5823         (install-exec-hook): Removed.
5824         (lib-gnu-awt-xlib.la): Renamed.
5825
5826 2003-01-31  Tom Tromey  <tromey@redhat.com>
5827
5828         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5829         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5830         aclocal.m4 and lost in some merge.
5831
5832         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5833         Don't try to find graphics configuration.
5834         * java/awt/Toolkit.java (default_toolkit_name): Use new
5835         Configuration entry.
5836         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5837         New global.
5838         * configure: Rebuilt.
5839         * configure.in (TOOLKIT): New subst.
5840         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5841         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5842         directory.  Make output directories for .c files.
5843         * Makefile.in: Rebuilt.
5844         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5845         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5846         (all_java_source_files): Added new sources.
5847         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5848         (gtk_c_files): New macro.
5849         (gtk_c_source_files): New macro.
5850         (cond_gtk_ltlibrary): New macro.
5851         ($(gtk_c_files)): New target.
5852         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5853         (gtk_awt_peer_sources): New macro.
5854         (gtk_c_headers): New macro.
5855         ($(gtk_c_headers)): New target.
5856         (ACLOCAL_AMFLAGS): New macro.
5857         * gtk.m4, glib.m4, libart.m4: New files.
5858         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5859         gnu/java/awt/peer/gtk/GdkGraphics.java,
5860         gnu/java/awt/peer/gtk/GtkArg.java,
5861         gnu/java/awt/peer/gtk/GtkArgList.java,
5862         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5863         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5864         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5865         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5866         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5867         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5868         gnu/java/awt/peer/gtk/GtkClipboard.java,
5869         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5870         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5871         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5872         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5873         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5874         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5875         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5876         gnu/java/awt/peer/gtk/GtkImage.java,
5877         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5878         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5879         gnu/java/awt/peer/gtk/GtkListPeer.java,
5880         gnu/java/awt/peer/gtk/GtkMainThread.java,
5881         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5882         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5883         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5884         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5885         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5886         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5887         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5888         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5889         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5890         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5891         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5892         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5893         gnu/java/awt/peer/gtk/GtkToolkit.java,
5894         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5895         gnu/java/awt/peer/gtk/TestAWT.java,
5896         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5898         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5899         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5901         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5902         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5903         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5904         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5905         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5906         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5907         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5908         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5909         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5910         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5911         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5912         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5913         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5914         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5915         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5916         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5917         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5918         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5919         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5920         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5921         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5922         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5923         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5924         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5925         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5926         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5927         jni/classpath/native_state.c, jni/classpath/native_state.h,
5928         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5929
5930 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5931
5932         * java/util/Properties.java (load): Ignore backslash before EOF.
5933
5934 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5935
5936         * java/lang/natClass.cc (initializeClass): Check tables when
5937         (state == JV_STATE_IN_PROGRESS).
5938         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5939         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5940         interpreted classes.
5941         (linkClass0): Use _Jv_WaitForState.
5942
5943 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5944
5945         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5946         object when finished.
5947
5948 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5949
5950         * libjava/configure.host: Disable can_unwind_signal on darwin.
5951
5952 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5953
5954         Fixes PR java/9254:
5955         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5956         additionally containing id of the owner thread as well as
5957         the number of nested times the thread has acquired the mutex.
5958         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5959         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5960         (_Jv_MutexUnlock): Check if really the owner thread, reset
5961         owner thread id to 0 before leaving, if leaving for the last
5962         time.
5963         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5964         refcount.
5965         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5966         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5967         the passed mutex.
5968         Pass handle of the broadcast event, instead of a pointer to it
5969         in Win32 ResetEvent( ) call.
5970         Remove incorrect return values.
5971         (_Jv_CondDestroy): Close both event handles and delete
5972         critical section.
5973         (_Jv_CondNotify): Check if really the owner thread.
5974         (_Jv_CondNotifyAll): Check if really the owner thread.
5975         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5976         (really_start): Use SetEvent( ) to signal daemon_cond.
5977         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5978         WaitForSingleObject( ) instead to wait for daemon_cond to be
5979         signalled.
5980
5981 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5982
5983         * configure.in: Specifically define HAVE_BACKTRACE if building
5984         for MinGW.
5985         * include/win32.h: Remove HAVE_BACKTRACE definition.
5986         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5987         * configure: Rebuilt.
5988
5989 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5990
5991         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5992         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5993         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5994         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5995         * Makefile.in, configure: Rebuilt.
5996
5997 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5998
5999         Fixes PR java/9253:
6000         * java/io/natFileWin32.cc (performList): Append only "*.*"
6001         if the canonical file path already has a "\" at the end.
6002
6003 2003-01-24  Tom Tromey  <tromey@redhat.com>
6004
6005         * defineclass.cc (handleMethodsEnd): Precompute code for static
6006         method.
6007         (handleCodeAttribute): Likewise.
6008         * resolve.cc (ncode): Use run_class for unsynchronized static
6009         methods.
6010         * include/java-interp.h (class _Jv_InterpMethod): Declare
6011         run_class.
6012         * interpret.cc (run_synch_class): Initialize class.
6013         (run) [insn_invokestatic]: Don't initialize class.
6014         [insn_anewarray]: Likewise.
6015         [insn_multianewarray]: Likewise.
6016         (run_class): New function.
6017
6018 2003-01-24  Tom Tromey  <tromey@redhat.com>
6019
6020         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6021         comment.
6022
6023 2003-01-22  Andrew Haley  <aph@redhat.com>
6024
6025         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6026         * configure.host (CHECKREFSPEC): Define for x86_64.
6027
6028 2003-01-21  Tom Tromey  <tromey@redhat.com>
6029
6030         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6031         search at 2, not 3.
6032
6033 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
6034
6035         * java/io/natFileWin32.cc (isAbsolute): Check path length before
6036         looking at any characters.
6037         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6038         be used.
6039         (isAbsolute): Check path's length as well.
6040
6041 2003-01-17  Mark Wielaard  <mark@klomp.org>
6042
6043         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6044         (nat_source_files): Add natVMObjectStreamClass.cc.
6045         * Makefile.in: Regenerated.
6046         * gcj/javaprims.h (namespace java): Regenerated.
6047         * java/io/ObjectStreamClass.java (getClassUID): Call
6048         VMObjectStreamClass.hasClassInitializer().
6049         (hasClassInitializer): Removed.
6050         * java/io/VMObjectStreamClass.java: New class.
6051         * java/io/natVMObjectStreamClass.cc: New file.
6052         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6053
6054 2003-01-16  Mark Wielaard  <mark@klomp.org>
6055
6056         * java/net/SocketImpl.java (toString): Don't explicitly call
6057         toString() on possible null address.
6058
6059 2003-01-16  Michael Koch  <konqueror@gmx.de>
6060
6061         * java/net/MulticastSocket.java
6062         (setInterface): Reindented.
6063
6064 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6065
6066         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6067         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6068         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6069         translateY arguments.  Implement.
6070         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6071         down translation arguments.
6072         (drawPolyline, drawPolygon): Fix incorrect tests.
6073         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6074         translateX and translateY arguments.
6075
6076 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6077
6078         * Makefile.in: Rebuilt.
6079         * Makefile.am (xlib_includes): New macro.
6080         (INCLUDES): Use it.
6081
6082 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6083
6084         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6085         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6086         16-bit display mode.
6087
6088 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6089
6090         * java/awt/CardLayout.java (show): Rewrote.
6091         (gotoComponent): Removed `target' argument.  Simplified code.
6092         Don't pre-compute `choice' unless `what' is FIRST or LAST.
6093         Changed all callers.
6094         (NONE): Removed.
6095         
6096 2003-01-14  Michael Koch  <konqueror@gmx.de>
6097
6098         * java/net/InetSocketAddress.java
6099         (serialVersionUID): New member variable.
6100         * java/net/NetPermission.java
6101         (NetPermission): Dont implement java.io.Serialization directly.
6102         * java/net/SocketAddress.java:
6103         (serialVersionUID): Documentation added.
6104         
6105 2003-01-14  Michael Koch  <konqueror@gmx.de>
6106
6107         * java/awt/Label.java
6108         (Label): Implements javax.accessibility.Accessible;
6109         * java/awt/List.java
6110         (List): Implements javax.accessibility.Accessible;
6111         * java/awt/ScrollPane.java
6112         (ScrollPane): Implements javax.accessibility.Accessible;
6113         * java/awt/Scrollbar.java
6114         (Scrollbar): Implements javax.accessibility.Accessible;
6115         * java/awt/TextComponent.java
6116         (setCaretPosition): Throw exception, documentation added.
6117         * java/awt/Toolkit.java:
6118         Added some newlines in method documentations.
6119         (createButton): Exception documentation added.
6120         (createTextField): Exception documentation added.
6121         (createLabel): Exception documentation added.
6122         (createList): Exception documentation added.
6123         (createCheckbox): Exception documentation added.
6124         (createScrollbar): Exception documentation added.
6125         (createScrollPane): Exception documentation added.
6126         (createTextArea): Exception documentation added.
6127         (createChoice): Exception documentation added.
6128         (createFrame): Exception documentation added.
6129         (createWindow): Exception documentation added.
6130         (createDialog): Exception documentation added.
6131         (createMenuBar): Exception documentation added.
6132         (createMenu): Exception documentation added.
6133         (createMenuItem): Exception documentation added.
6134         (createFileDialog): Exception documentation added.
6135         (createCheckboxMenuItem): Exception documentation added.
6136         (loadSystemColors): Exception documentation added.
6137         (setDynamicLayout): Exception documentation added.
6138         (isDynamicLayoutSet): Exception documentation added.
6139         (isDynamicLayoutActive): Exception documentation added.
6140         (getScreenSize): Exception documentation added.
6141         (getScreenResolution): Exception documentation added.
6142         (getScreenInsets): Exception documentation added.
6143         (getColorModel): Exception documentation added.
6144         (getSystemClipboard): Exception documentation added.
6145         (getSystemSelection): Exception documentation added.
6146         (getMenuShortcutKeyMask): Exception documentation added.
6147         (getSystemEventQueue): Exception documentation added.
6148         * java/awt/Window.java:
6149         Reindented some code.
6150         (Window): Centralized implementation, documentation added.
6151         (finalize): Documentation added.
6152         (hide): Fixed typo in comment.
6153         (getWindowListeners): Documentation added.
6154         * java/awt/color/ColorSpace.java
6155         (toRGB): Documentation added.
6156         * java/awt/color/ICC_ColorSpace.java
6157         (ICC_ColorSpace): Documentation added.
6158         (toRGB): Throw exception, documentation added.
6159         (fromRGB): Throw exception, documentation added.
6160         (toCIEXYZ): Documentation added.
6161         (fromCIEXYZ): Documentation added.
6162         (getMinValue): Documentation added.
6163         (getMaxValue): Documentation added.
6164         * java/awt/geom/Dimension2D.java
6165         (clone): Documentation added.
6166         * java/awt/geom/GeneralPath.java
6167         (clone): Documentation added.
6168         * java/awt/geom/Line2D.java
6169         (clone): Documentation added.
6170         * java/awt/geom/QuadCurve2D.java
6171         (clone): Documentation added.
6172         * java/awt/image/ColorModel.java
6173         (ColorModel): Throw exception, documentation added.
6174         * java/awt/image/ImageFilter.java
6175         (clone): Doesnt throw CloneNotSupportedException.
6176
6177 2003-01-14  Andrew Haley  <aph@redhat.com>
6178
6179         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6180         in a try block.
6181
6182 2003-01-10  Andrew Haley  <aph@redhat.com>
6183
6184         * include/dwarf2-signal.h: Remove x86_64.
6185         * configure.host (x86_64 DIVIDESPEC): Remove.
6186         * include/x86_64-signal.h: New file.
6187         * configure.in: Regenerate.
6188
6189 2003-01-10  Michael Koch  <konqueror@gmx.de>
6190
6191         * java/net/DatagramSocket.java
6192         (ch): Description added.
6193         (remotePort): Initialize with -1.
6194         (connect): Doesnt throws SocketException.
6195         * java/net/MulticastSocket.java
6196         (setInterface): Merge with Classpath.
6197         * java/net/ServerSocket.java
6198         (closed): New member variable.
6199         (bind): Check if socket is closed.
6200         (close): Close an associated channel too, set new value to closed.
6201         (isBound): Reindented.
6202         (isClosed): Implemented.
6203         * java/net/Socket.java
6204         (closed): New member variable.
6205         (bind): Check if socket is closed.
6206         (connect): Check if socket is closed.
6207         (close): Close an associated channel too, set new value to closed.
6208         (isClosed): Implemented.
6209
6210 2003-01-10  Michael Koch  <konqueror@gmx.de>
6211
6212         * java/awt/DisplayMode.java
6213         (equals): Fixed argument type and implementation.
6214
6215 2003-01-07  Tom Tromey  <tromey@redhat.com>
6216
6217         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6218         JV_HASH_SYNCHRONIZATION.
6219         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6220         JV_HASH_SYNCHRONIZATION.
6221
6222 2003-01-07  Michael Koch  <konqueror@gmx.de>
6223  
6224         * java/net/DatagramSocket.java:
6225         Added classpath license info.
6226         (DatagramSocket): Merged description with classpath.
6227         (close): Merged description with classpath.
6228         (getChannel): Merged description with classpath.
6229         (getInetAddress): Merged description with classpath.
6230         (getPort): Merged description with classpath.
6231         (getLocalAddress): Merged description with classpath.
6232         (getLocalPort): Merged description with classpath.
6233         (getSoTimeout): Merged description with classpath.
6234         (setSoTimeout): Merged description with classpath.
6235         (getSendBufferSize): Merged description with classpath.
6236         (setSendBufferSize): Merged description with classpath.
6237         (getReceiveBufferSize): Merged description with classpath.
6238         (setReceiveBufferSize): Merged description with classpath.
6239         
6240 2003-01-04  Tom Tromey  <tromey@redhat.com>
6241
6242         * java/awt/List.java: Merged with Classpath.
6243
6244 2003-01-03  Mark Wielaard  <mark@klomp.org>
6245
6246         * java/io/FileDescriptor.java (position): New private field.
6247         * java/io/natFileDescriptorPosix.cc (write): Up position.
6248         (setLength): Use and set position.
6249         (seek): Set position.
6250         (getFilePointer): Return position.
6251         (read): Up position.
6252
6253 2003-01-03  Mark Wielaard  <mark@klomp.org>
6254
6255         Merge with Classpath:
6256         * java/io/ObjectStreamClass.java (lookup): Split method and call
6257         lookupForClassObject().
6258         (lookupForClassObject): New method.
6259         (isProxyClass): New field.
6260         (setClass): Set isProxyClass, add object to classLookupTable, set
6261         superClass and calculateOffsets.
6262         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6263         and not a proxy class.
6264         (setFields): Set accessible true for serialPersistentFields.
6265         (getClassUID): Same for suid. And check if suid is of type long.
6266         (hasClassInitializer): Don't throw NoSuchMethodError.
6267
6268 2003-01-03  Mark Wielaard  <mark@klomp.org>
6269
6270         * java/io/FileInputStream.java (finalize): Don't explicitly
6271         finalize FileDescriptor.
6272
6273 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
6274
6275         * configure.host (sparc*-*): Enable bytecode interpreter.
6276
6277 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
6278
6279         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6280         Don't throw RemoteException.
6281         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6282         throw RemoteException.
6283
6284 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6285
6286         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6287         proxyHost): New static fields.
6288         (<clinit>): Initialize new fields.
6289         (connect): Use proxy if necessary.
6290         (usingProxy): Implement.
6291
6292 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6293
6294         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6295         (TreeIterator.remove): Prefer IllegalStateException over
6296         ConcurrentModificationException, to match Sun.
6297
6298 2002-12-22  Anthony Green  <green@redhat.com>
6299
6300         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6301
6302 2003-01-02  Mark Wielaard  <mark@klomp.org>
6303
6304         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6305         public.
6306         (HTTP_USE_PROXY): Add field.
6307         (getResponseVals): Only set responseCode when not yet explicitly
6308         set by subclass.
6309
6310 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6311             Mark Wielaard  <mark@klomp.org>
6312
6313         * java/util/zip/ZipFile.java (entries): Now HashMap.
6314         (readLeShort(DataInput, byte[])): Read from given byte array.
6315         (readLeInt(DataInput, byte[]): Likewise.
6316         (readLeShort(byte[] b, int off)): New method.
6317         (readLeInt(byte[] b, int off)): Likewise.
6318         (readEntries): Use byte arrays to read info in bigger chunks.
6319         (getEntries): Return HashMap.
6320         (getEntry): Use HashMap.
6321         (locBuf): New private field.
6322         (checkLocalHeader): Use locBuf to read info in one chunk.
6323         (getInputStream): Use entries HashMap, wrap PartialInputStream
6324         in BufferedInputStream.
6325         (ZipEntryEnumeration): Use HashMap and Interator.
6326
6327 2003-01-02  Mark Wielaard  <mark@klomp.org>
6328             Jeroen Frijters  <jeroen@sumatra.nl>
6329
6330         * java/net/URLClassLoader.java (Resource.getCodeSource):
6331         Fix check certs == null.
6332         (getCanonicalFileURL): Removed method.
6333         (JarURLLoader): Don't call removed method.
6334         (FileURLLoader): Likewise.
6335         (FileURLLoader.getResource): Don't canonicalize file name.
6336
6337 2003-01-01  Tom Tromey  <tromey@redhat.com>
6338
6339         * Makefile.in: Rebuilt.
6340         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6341         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6342         java/awt/BufferCapabilities.java, java/awt/Button.java,
6343         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6344         java/awt/Container.java, java/awt/Cursor.java,
6345         java/awt/EventQueue.java, java/awt/FileDialog.java,
6346         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6347         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6348         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6349         java/awt/Scrollbar.java, java/awt/TextArea.java,
6350         java/awt/TextField.java, java/awt/color/CMMException.java,
6351         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6352         java/awt/color/ProfileDataException.java,
6353         java/awt/datatransfer/Clipboard.java,
6354         java/awt/datatransfer/DataFlavor.java,
6355         java/awt/datatransfer/FlavorMap.java,
6356         java/awt/datatransfer/SystemFlavorMap.java,
6357         java/awt/dnd/DragGestureEvent.java,
6358         java/awt/dnd/DragGestureRecognizer.java,
6359         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6360         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6361         java/awt/im/InputMethodHighlight.java,
6362         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6363         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6364
6365         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6366         `op' to BufferedImageOp.
6367
6368 2002-12-31  Tom Tromey  <tromey@redhat.com>
6369
6370         Fix for PR libgcj/7416:
6371         * javax/naming/InitialContext.java (init): Use
6372         gnu.classpath.home.url.
6373         * java/security/Security.java: Use new properties.
6374         (loadProviders): Accept base url; use it.
6375         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6376         gnu.classpath.home.url.
6377         (gnu.classpath.home.url): Define.
6378         (gnu.classpath.vm.shortname): Likewise.
6379
6380 2002-12-31  Tom Tromey  <tromey@redhat.com>
6381             Ranjit Mathew  <rmathew@hotmail.com>
6382
6383         Fix for PR libgcj/8997:
6384         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6385         Include platform.h.
6386         * include/posix.h (_Jv_platform_usleep): New function.
6387         * include/win32.h (_Jv_platform_usleep): New function.
6388
6389 2002-12-29  Tom Tromey  <tromey@redhat.com>
6390
6391         * gcj/javaprims.h: Updated.
6392         * scripts/classes.pl (scan): Removed stray semicolon.
6393
6394 2002-12-30  Mark Wielaard  <mark@klomp.org>
6395
6396         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6397         if zero or smaller.
6398
6399 2002-12-30  Mark Wielaard  <mark@klomp.org>
6400
6401         * java/util/Properties (formatForOutput): Don't fall through to
6402         default case after escaping character.
6403
6404 2002-12-30  Mark Wielaard  <mark@klomp.org>
6405
6406         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6407         against count.
6408
6409 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6410
6411         * boehm.cc: Remove stray semicolon.
6412         * interpret.cc: Likewise.
6413         * prims.cc: Likewise.
6414         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6415         earlier to ensure default arguments are processed.
6416         * gcj/array.h (JArray): Add forward declaration.
6417         (elements): Likewise.
6418         * gcj/javaprim.h: Remove stray semicolons.
6419         * include/bohm-gc.h: Likewise.
6420         * include/jni.h: Likewise.
6421         * include/jvm.h: Likewise.
6422         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6423         
6424 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6425
6426         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6427         of catch_type.
6428         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6429         idt tables after initializing superclass.
6430         * java/lang/natClassLoader.cc (uaddr): New typedef.
6431         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6432         if they are constant pool indicies.  Don't link vtable, otable yet.
6433
6434 2002-12-21  Anthony Green  <green@redhat.com>
6435
6436         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6437         libraries.
6438         * Makefile.in: Rebuilt.
6439
6440 2002-12-19  Anthony Green  <green@redhat.com>
6441
6442         * Makefile.am (ordinary_java_source_files): Add
6443         org/xml/sax/helpers/NewInstance.java.
6444         * Makefile.in: Rebuilt.
6445         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6446         org/xml/sax/helpers/package.html: New files.
6447         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6448         http://www.saxproject.org.
6449
6450 2002-12-19  Andrew Haley  <aph@redhat.com>
6451
6452         * java/util/natResourceBundle.cc: Include
6453         ArrayIndexOutOfBoundsException.h.
6454         (getCallingClassLoader): Don't put upper bound on stack search.
6455         Catch ArrayIndexOutOfBoundsException.
6456
6457 2002-12-19  Tom Tromey  <tromey@redhat.com>
6458
6459         * libtool-version: Increased `current'.
6460
6461 2002-12-19  Tom Tromey  <tromey@redhat.com>
6462
6463         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6464         comment.
6465         * java/lang/ClassLoader.java (defineClass): Use chained
6466         exception when rethrowing.
6467         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6468         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6469         constants.
6470         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6471         (_Jv_PrepareClass): Use it.
6472         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6473         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6474         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6475         (Class): _Jv_PrepareMissingMethods now friend.
6476         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6477         Record `NULL' for system class loader.
6478         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6479         system class loader.
6480         (_Jv_FindClassInCache): Likewise.
6481         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6482         (_Jv_FindClass): Special case system class loader.
6483         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6484         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6485         vtable slots.
6486         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6487         in a final class.
6488         (_getDeclaredMethod): Don't return synthetic methods.
6489         (getDeclaredMethods): Likewise.
6490         (_getMethod): Likewise.
6491         (_getMethods): Likewise.
6492
6493 2002-12-18  Raif Naffah  <raif@fl.net.au>
6494
6495         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6496         canonical form after divide().
6497         (modInverse): Likewise.
6498
6499 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6500             Mark Wielaard  <mark@klomp.org>
6501
6502         * java/security/SecurityRandom (digest): Removed field.
6503         (SecureRandom): Check all providers for case-insensitive SecureRandom
6504         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6505         if necessary.
6506         (getInstance(String,Provider,boolean): New method.
6507         (getInstance(String)): Use new method.
6508         (getInstance(String,String)): Likewise.
6509         (getInstance(String,Provider)): Likewise.
6510
6511 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6512
6513         * java/security/Security.java (loadProviders): Increment i only once.
6514
6515 2002-12-12  Mark Wielaard  <mark@klomp.org>
6516
6517         * java/lang/ClassLoader.java (resolveClass0): Transform
6518         ClassNotFoundException to NoClassDefFoundError. Transform all other
6519         throwables to LinkageError.
6520
6521 2002-12-11  Tom Tromey  <tromey@redhat.com>
6522
6523         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6524
6525         * java/lang/ClassLoader.java (loadedClasses): New field.
6526         (defineClass): Fixed indentation.  Put new class in
6527         loadedClasses.
6528         (findLoadedClass): Implement here.
6529         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6530
6531 2002-12-10  Tom Tromey  <tromey@redhat.com>
6532
6533         * Makefile.in: Rebuilt.
6534         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6535         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6536         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6537         * java/lang/natClassLoader.cc
6538         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6539
6540 2002-12-10  Mark Wielaard  <mark@klomp.org>
6541             Tom Tromey  <tromey@redhat.com>
6542
6543         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6544         (JarURLLoader): Use it.
6545         (FileURLLoader): Likewise.
6546         (JarURLResource.getURL): Use chained exception.
6547         (FileResource.getURL): Likewise.
6548         (FileURLLoader.getResource): Use canonical file name.
6549         (addURL): Indentation fix.
6550
6551 2002-12-10  Tom Tromey  <tromey@redhat.com>
6552
6553         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6554         From Laurent Bardet <l.bardet@magic.fr>.
6555
6556 2002-12-09  Tom Tromey  <tromey@redhat.com>
6557
6558         * include/win32.h (_Jv_platform_solib_prefix): New define.
6559         (_Jv_platform_solib_suffix): Likewise.
6560         * include/posix.h (_Jv_platform_solib_prefix): New define.
6561         (_Jv_platform_solib_suffix): Likewise.
6562         * java/lang/natRuntime.cc: Include StackTrace.h.
6563         (_load): Use findLibrary and new platform defines.
6564         (nativeGetLibname): Use new platform defines.
6565
6566         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6567         `t' won't be null.
6568
6569 2002-12-08  Mark Wielaard  <mark@klomp.org>
6570
6571         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6572         cache remote jar files.
6573         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6574         add File.separator to URL when it is a directory.
6575         * java/lang/ClassLoader.java: Add Classpath javadoc.
6576         (parent): final.
6577         (getParent): Add (disabled) security check.
6578         (findLibrary): New default method.
6579         * java/net/JarURLConnection.java (getManifest): Implement.
6580         (getInputStream): Only create InputStream when entry exists.
6581         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6582         when they exist.
6583         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6584
6585 2002-12-08  Mark Wielaard  <mark@klomp.org>
6586
6587         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6588         (lastDefaultLocale): New field.
6589         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6590         resourceBundleCache.
6591
6592 2002-12-06  Mark Wielaard  <mark@klomp.org>
6593
6594         * java/net/InetAddress.java (toString): Use hostname when not null,
6595         don't do an explicit reverse getHostName() lookup.
6596         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6597         NullPointerException.
6598
6599 2002-12-06  Tom Tromey  <tromey@redhat.com>
6600
6601         * include/java-interp.h (class _Jv_InterpMethod): Added
6602         JV_MARKOBJ_DECL.
6603         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6604         mark `prepared' field of interpreted method.
6605         * interpret.cc (compile): Use _Jv_AllocBytes.
6606
6607 2002-12-05  Andrew Haley  <aph@redhat.com>
6608
6609         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6610         #ifdef (HAVE_BACKTRACE) around the whole function body.
6611
6612 2002-12-05  Tom Tromey  <tromey@redhat.com>
6613
6614         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6615         * resolve.cc: Don't include AbstractMethodError.h.
6616         (_Jv_abstractMethodError): Removed.
6617         * defineclass.cc (handleMethodsBegin): Initialize method index to
6618         -1.
6619         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6620         method index for "new" final method.
6621         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6622         isVirtualMethod.  Added `flags' argument.
6623         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6624         class.
6625
6626 2002-12-04  Tom Tromey  <tromey@redhat.com>
6627
6628         * java/net/SocketPermission.java (hashCode): Rewrote.
6629
6630 2002-12-04  Tom Tromey  <tromey@redhat.com>
6631
6632         * Makefile.in: Rebuilt.
6633         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6634         natResourceBundle.
6635         * java/util/ResourceBundle.java (Security): Removed.
6636         (getCallingClassLoader): Now native.
6637         * java/util/natResourceBundle.cc: New file.
6638         * java/lang/natVMSecurityManager.cc: New file.
6639         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6640
6641 2002-12-03  Mark Wielaard  <mark@klomp.org>
6642
6643         * java/util/jar/JarFile.java (manifest): Not final.
6644         (manifestRead): New field.
6645         (JarFile): Don't read Manifest in constructor.
6646         (getManifest): New method.
6647         (JarEnumeration.nextElement): Use new method.
6648         (getEntry): Likewise.
6649         * java/util/zip/ZipFile.java (name): Final.
6650         (raf): Likewsie.
6651         (entries): Change type to Hashtable.
6652         (closed): New field.
6653         (ZipFile): Don't read enties in constructor.
6654         (readEntries): Use Hashtable.
6655         (close): Set new close flag and set entries to null inside
6656         synchronized block.
6657         (entries): Contruct enumeration using new getEntries() method and
6658         entries Hashtable.
6659         (getEntryIndex): Removed.
6660         (getEntries): New method.
6661         (getEntry): Use new getEntries() method and entries Hastable.
6662         (getInputStream): Likewise.
6663         (size): Return getEntries().size().
6664         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6665         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6666         (time): Removed
6667         (dostime): New field.
6668         (zipFileIndex): Removed.
6669         (ZipEntry(ZipEntry)): Copy dostime.
6670         (setDOSTime): Now final and doesn't convert dos time.
6671         (getDOSTime): Likewise.
6672         (setTime): Convert dos time.
6673         (getTime): Likewise.
6674         (getCalendar): New method.
6675         (setExtra): Use setTime().
6676         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6677
6678 2002-12-03  Tom Tromey  <tromey@redhat.com>
6679
6680         * java/lang/Character.java (forDigit): Formatting fix.
6681
6682 2002-12-03  Raif Naffah  <raif@fl.net.au>
6683
6684         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6685         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6686         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6687
6688 2002-12-03  Andrew Haley  <aph@redhat.com>
6689
6690         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6691         _Jv_PushClass.
6692         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6693         (_Jv_PopClass): New.
6694         (_Jv_PushClass): New.
6695         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6696         discover the ClassLoader of our caller.
6697         (_Jv_CheckArrayStore): Don't check that a class is assignment
6698         compatible with Object.
6699         * java/lang/natVMTHrowable.cc: Delete.
6700         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6701         java.lang.VMThrowable.
6702         (StackTrace(), StackTrace(int)): New constructors.
6703         (classAt, methodAt, update, methodAtAddress): New methods.
6704         (map): New field.
6705         * java/lang/VMThrowable.java: Use StackTrace instead of
6706         natVMTHrowable.
6707         * java/lang/Class.h (getClassLoaderInternal): New.
6708         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6709         Be friendly with gnu::gcj::runtime::StackTrace.
6710         (Object.chain): New field.
6711         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6712         gnu::gcj::runtime::StackTrace.
6713         * gnu/gcj/runtime/natStackTrace.cc: New file.
6714         * gnu/gcj/runtime/MethodRef.java: New file.
6715         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6716         instead of getClassLoader().
6717         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6718         java::lang::VMThrowable.
6719         * Makefile.am (core_java_source_files): Add MethodRef.java,
6720         StackTrace.java.
6721         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6722         * Makefile.in: Rebuild.
6723
6724 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6725
6726         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6727         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6728         yes also for sh-linux* and sh[34]*-linux*.
6729         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6730         set SIGNAL_HANDLER to use DWARF2 exception for them.
6731         * configure: Regenerate.
6732
6733 2002-12-02  Tom Tromey  <tromey@redhat.com>
6734
6735         * jni.cc: Added `name' argument.
6736         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6737         `const char *' argument.
6738         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6739
6740 2002-12-01  Tom Tromey  <tromey@redhat.com>
6741
6742         Bug compatibility, for PR libgcj/8738:
6743         * java/io/CharArrayWriter.java (close): Do nothing.
6744         (flush): Likewise.
6745         (reset): Don't touch `closed'.
6746         (write(int)): Don't throw IOException.
6747         (write(char[],int,int)): Likewise.
6748         (write(String,int,int)): Likewise.
6749         (closed): Removed.
6750
6751 2002-12-01  Mark Wielaard  <mark@klomp.org>
6752
6753         * java/lang/SecurityManager.java: Remerge comments, indenting and
6754         checkXXX methods with Classpath.
6755
6756 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6757
6758         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6759         getNormalizedComponents): Fix calculation which was using one too
6760         many bits in the unnormalized format.
6761
6762 2002-11-29  Gary Benson  <gbenson@redhat.com>
6763
6764         For PR libgcj/8759:
6765         * java/beans/Introspector.java (flushCaches): New method.
6766         (flushFromCaches): Likewise.
6767
6768 2002-11-29  Michael Koch <konqueror@gmx.de>
6769
6770         * java/nio/channels/DatagramChannel.java
6771         (open): Added exception documentation.
6772         (write): Added exception documentation.
6773         (connect): Added exception documentation.
6774         (disconnect): Added exception documentation.
6775         (isConnected): Added exception documentation.
6776         (read): Added exception documentation.
6777         (receive): Added exception documentation.
6778         (send): Added exception documentation.
6779         (validOps): Added exception documentation.
6780         * java/nio/channels/SocketChannel.java
6781         (open): Added exception documentation.
6782         (read): Added exception documentation.
6783         (write): Added exception documentation.
6784         (connect): Added exception documentation.
6785         (finishConnect): Added exception documentation.
6786
6787 2002-11-29  Michael Koch <konqueror@gmx.de>
6788
6789         * gnu/java/nio/DatagramChannelImpl:
6790         (fd): New member variable to store file descriptor of socket.
6791         * gnu/java/nio/SelectionKeyImpl.java:
6792         (ops): Removed.
6793         (readyOps): New member variable.
6794         (interestOps): New member variable.
6795         (readyOps): Implemented.
6796         (readyOps): New method to set member variable readyOps.
6797         (interestOps): Replaced ops by interestOps.
6798         * gnu/java/nio/SelectorImpl.java:
6799         (SelectorImpl): Initialize key sets.
6800         (select): Call select with -1 instead of Long.MAX_VALUE).
6801         (java_do_select): Make it a native method.
6802         (getFDsAsArray): New helper method.
6803         (select): Remove canceled keys, give only interested file discriptors
6804         to java_do_select, set ready ops.
6805         (add): No need to initialize keys set here.
6806         (add_selected): No need to initialize selected set here.
6807         (deregisterCanceledKeys): New helper method.
6808         (register): Set interest ops, set attachments, added handling of datagram
6809         channels.
6810         * gnu/java/nio/ServerSocketChannelImpl:
6811         (SocketAccept): Renamed from NioSocketAccept.
6812         (implConfigureBlocking): Implemented.
6813         (accept): Use SocketAccept instead of NioSocketAccept.
6814         * gnu/java/nio/SocketChannelImpl:
6815         Reactivate native methods.
6816
6817 2002-11-29  Michael Koch <konqueror@gmx.de>
6818
6819         * gnu/java/nio/natByteBufferImpl.cc,
6820         gnu/java/nio/natCharBufferImpl.cc,
6821         gnu/java/nio/natDoubleBufferImpl.cc,
6822         gnu/java/nio/natFloatBufferImpl.cc,
6823         gnu/java/nio/natIntBufferImpl.cc,
6824         gnu/java/nio/natLongBufferImpl.cc,
6825         gnu/java/nio/natSelectorImpl.cc,
6826         gnu/java/nio/natServerSocketChannelImpl.cc,
6827         gnu/java/nio/natShortBufferImpl.cc,
6828         gnu/java/nio/natSocketChannelImpl.cc:
6829         New files that implement native functionalities.
6830
6831 2002-11-29  Michael Koch <konqueror@gmx.de>
6832
6833         * gnu/java/nio/ByteBufferImpl.java
6834         (ByteBufferImpl): Moved position() after limit.
6835         (nio_*): Use native implementation.
6836         * gnu/java/nio/CharBufferImpl.java:
6837         Reformated.
6838         (endian): New member variable string endianess of buffer.
6839         (CharBufferImpl): Moved position() after limit.
6840         (nio_*): Use native implementation.
6841         (subSequence): Implemented.
6842         * gnu/java/nio/DoubleBufferImpl.java
6843         (DoubleBufferImpl): Moved position() after limit.
6844         (nio_*): Use native implementation.
6845         * gnu/java/nio/FloatBufferImpl.java
6846         Reformated.
6847         (FloatBufferImpl): Moved position() after limit.
6848         (nio_*): Use native implementation.
6849         * gnu/java/nio/IntBufferImpl.java
6850         Added needed imports, Reformated.
6851         (IntBufferImpl): Moved position() after limit.
6852         (nio_*): Use native implementation.
6853         * gnu/java/nio/LongBufferImpl.java
6854         Reformated.
6855         (LongBufferImpl): Moved position() after limit.
6856         (nio_*): Use native implementation.
6857         * gnu/java/nio/ShortBufferImpl.java
6858         Reformated.
6859         (ShortBufferImpl): Moved position() after limit.
6860         (nio_*): Use native implementation.
6861
6862 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6863
6864         * java/util/Locale.java (toString): Improve efficiency if country
6865         and variant are both empty.
6866
6867 2002-11-26  Tom Tromey  <tromey@redhat.com>
6868
6869         * verify.cc (pop_init_ref): New method.
6870         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6871         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6872         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6873         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6874         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6875         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6876         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6877         let `this' argument be uninitialized.  Don't let `null' be passed
6878         as `this' to construtor.
6879
6880 2002-11-26  Mark Wielaard  <mark@klomp.org>
6881
6882         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6883         * javax/transaction/HeuristicMixedException.java: Likewise.
6884         * javax/transaction/HeuristicRollbackException.java: Likewise.
6885         * javax/transaction/InvalidTransactionException.java: Likewise.
6886         * javax/transaction/NotSupportedException.java: Likewise.
6887         * javax/transaction/RollbackException.java: Likewise.
6888         * javax/transaction/Status.java: Likewise.
6889         * javax/transaction/Synchronization.java: Likewise.
6890         * javax/transaction/SystemException.java: Likewise.
6891         * javax/transaction/Transaction.java: Likewise.
6892         * javax/transaction/TransactionManager.java: Likewise.
6893         * javax/transaction/TransactionRequiredException.java: Likewise.
6894         * javax/transaction/TransactionRolledbackException.java: Likewise.
6895         * javax/transaction/UserTransaction.java: Likewise.
6896         * javax/transaction/xa/XAException.java: Likewise.
6897         * javax/transaction/xa/XAResource.java: Likewise.
6898         * javax/transaction/xa/Xid.java: Likewise.
6899
6900 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6901
6902         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6903         define.
6904         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6905         * include/posix.h (socklen_t): Define if not already defined.
6906
6907 2002-11-25  Tom Tromey  <tromey@redhat.com>
6908
6909         * verify.cc (type::compatible): Backed out broken change.
6910
6911         * verify.cc (type::compatible): Check initialization status
6912         first.
6913         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6914         Don't use NULLCHECK.
6915
6916 2002-11-23  H.J. Lu <hjl@gnu.org>
6917
6918         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6919         Include ../config/accross.m4.
6920         * aclocal.m4; Rebuild.
6921         * configure: Likewise.
6922
6923 2002-11-23  Mark Wielaard  <mark@klomp.org>
6924
6925         * javax/naming/AuthenticationException.java: Update copyright header.
6926         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6927         * javax/naming/Binding.java: Likewise.
6928         * javax/naming/CannotProceedException.java: Likewise.
6929         * javax/naming/CommunicationException.java: Likewise.
6930         * javax/naming/CompositeName.java: Likewise.
6931         * javax/naming/CompoundName.java: Likewise.
6932         * javax/naming/ConfigurationException.java: Likewise.
6933         * javax/naming/Context.java: Likewise.
6934         * javax/naming/ContextNotEmptyException.java: Likewise.
6935         * javax/naming/InitialContext.java: Likewise.
6936         * javax/naming/InsufficientResourcesException.java: Likewise.
6937         * javax/naming/InterruptedNamingException.java: Likewise.
6938         * javax/naming/LimitExceededException.java: Likewise.
6939         * javax/naming/LinkException.java: Likewise.
6940         * javax/naming/LinkLoopException.java: Likewise.
6941         * javax/naming/LinkRef.java: Likewise.
6942         * javax/naming/MalformedLinkException.java: Likewise.
6943         * javax/naming/NameAlreadyBoundException.java: Likewise.
6944         * javax/naming/NameClassPair.java: Likewise.
6945         * javax/naming/NameNotFoundException.java: Likewise.
6946         * javax/naming/NameParser.java: Likewise.
6947         * javax/naming/NamingEnumeration.java: Likewise.
6948         * javax/naming/NamingSecurityException.java: Likewise.
6949         * javax/naming/NoInitialContextException.java: Likewise.
6950         * javax/naming/NoPermissionException.java: Likewise.
6951         * javax/naming/NotContextException.java: Likewise.
6952         * javax/naming/OperationNotSupportedException.java: Likewise.
6953         * javax/naming/PartialResultException.java: Likewise.
6954         * javax/naming/Reference.java: Likewise.
6955         * javax/naming/Referenceable.java: Likewise.
6956         * javax/naming/ReferralException.java: Likewise.
6957         * javax/naming/ServiceUnavailableException.java: Likewise.
6958         * javax/naming/SizeLimitExceededException.java: Likewise.
6959         * javax/naming/TimeLimitExceededException.java: Likewise.
6960         * javax/naming/directory/Attribute.java: Likewise.
6961         * javax/naming/directory/AttributeInUseException.java: Likewise.
6962         * javax/naming/directory/AttributeModificationException.java: Likewise.
6963         * javax/naming/directory/Attributes.java: Likewise.
6964         * javax/naming/directory/BasicAttribute.java: Likewise.
6965         * javax/naming/directory/BasicAttributes.java: Likewise.
6966         * javax/naming/directory/DirContext.java: Likewise.
6967         * javax/naming/directory/InitialDirContext.java: Likewise.
6968         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6969         Likewise.
6970         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6971         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6972         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6973         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6974         * javax/naming/directory/ModificationItem.java: Likewise.
6975         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6976         * javax/naming/directory/SchemaViolationException.java: Likewise.
6977         * javax/naming/directory/SearchControls.java: Likewise.
6978         * javax/naming/directory/SearchResult.java: Likewise.
6979         * javax/naming/event/EventContext.java: Likewise.
6980         * javax/naming/event/EventDirContext.java: Likewise.
6981         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6982         * javax/naming/event/NamingEvent.java: Likewise.
6983         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6984         * javax/naming/event/NamingListener.java: Likewise.
6985         * javax/naming/event/ObjectChangeListener.java: Likewise.
6986         * javax/naming/ldap/Control.java: Likewise.
6987         * javax/naming/ldap/ControlFactory.java: Likewise.
6988         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6989         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6990         * javax/naming/ldap/HasControls.java: Likewise.
6991         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6992         * javax/naming/ldap/LdapContext.java: Likewise.
6993         * javax/naming/ldap/LdapReferralException.java: Likewise.
6994         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6995         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6996         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6997         * javax/naming/spi/DirObjectFactory.java: Likewise.
6998         * javax/naming/spi/DirStateFactory.java: Likewise.
6999         * javax/naming/spi/DirectoryManager.java: Likewise.
7000         * javax/naming/spi/InitialContextFactory.java: Likewise.
7001         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7002         * javax/naming/spi/NamingManager.java: Likewise.
7003         * javax/naming/spi/ObjectFactory.java: Likewise.
7004         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7005         * javax/naming/spi/ResolveResult.java: Likewise.
7006         * javax/naming/spi/Resolver.java: Likewise.
7007         * javax/naming/spi/StateFactory.java: Likewise.
7008
7009         * javax/naming/spi/NamingManager.java (ofb): Package private.
7010
7011 2002-11-21  Mark Wielaard  <mark@klomp.org>
7012
7013         * java/net/URL.java: Merge with Classpath (partly).
7014         * java/net/URLStreamHandler: Merge with Classpath.
7015
7016 2002-11-22  Michael Koch <konqueror@gmx.de>
7017
7018         * include/posix.h:
7019         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7020         * include/win32.h:
7021         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7022         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7023
7024 2002-11-21  Michael Koch <konqueror@gmx.de>
7025
7026         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7027         Only the new network functions should be in it.
7028
7029 2002-11-21  Michael Koch <konqueror@gmx.de>
7030
7031         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7032         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7033
7034 2002-11-21  Michael Koch <konqueror@gmx.de>
7035
7036         * java/nio/channels/AsynchronousCloseException.java,
7037         java/nio/channels/CancelledKeyException.java,
7038         java/nio/channels/ClosedByInterruptException.java,
7039         java/nio/channels/ConnectionPendingException.java,
7040         java/nio/channels/FileLockInterruptionException.java,
7041         java/nio/channels/IllegalSelectorException.java,
7042         java/nio/channels/NoConnectionPendingException.java,
7043         java/nio/channels/NonReadableChannelException.java,
7044         java/nio/channels/NonWritableChannelException.java,
7045         java/nio/channels/NotYetBoundException.java,
7046         java/nio/channels/NotYetConnectedException.java,
7047         java/nio/channels/OverlappingFileLockException.java,
7048         java/nio/channels/UnresolvedAddressException.java,
7049         java/nio/channels/UnsupportedAddressTypeException.java:
7050         New files.
7051         * Makefile.am (ordinary_java_source_files): Added new files.
7052         * Makefile.in: Regenerated.
7053
7054 2002-11-21  Michael Koch <konqueror@gmx.de>
7055
7056         * include/posix.h
7057         (_Jv_socket): New method.
7058         (_Jv_connect): New method.
7059         (_Jv_close): New method.
7060         (_Jv_platform_close_on_exec): Prefixed system function with "::".
7061         (_Jv_bind): New method.
7062         (_Jv_listen): New method.
7063         (_Jv_write): New method.
7064         (_Jv_read): New method.
7065         * include/win32.h
7066         (_Jv_socket): New method.
7067         (_Jv_connect): New method.
7068         (_Jv_close): New method.
7069         (_Jv_bind): New method.
7070         (_Jv_listen): New method.
7071         (_Jv_write): New method.
7072         (_Jv_read): New method.
7073         * java/net/natNetworkInterface.cc:
7074         Include platform.h, removed inclusion of socket.h
7075         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7076         ::close() by _Jv_close().
7077         * java/net/natPlainDatagramSocketImpl.cc:
7078         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7079         added some new lines to make code more readable.
7080         (create): Replaced ::socket() by _Jv_socket().
7081         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7082         * java/net/natPlainSocketImpl.cc:
7083         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7084         removed include of socket.h, removed some windows defines
7085         (now in include/win32.h).
7086         (create): Replaced ::socket() by _Jv_socket().
7087         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7088         (write): Replaced ::read by _Jv_write().
7089         (read): Replaced ::read by _Jv_read().
7090
7091 2002-11-20  Michael Koch <konqueror@gmx.de>
7092
7093         * Makefile.am (ordinary_java_source_files):
7094         Added java/nio/channels/FileChannel.java.
7095         * Makefile.in: Regenerated.
7096
7097 2002-11-20  Michael Koch <konqueror@gmx.de>
7098
7099         * java/io/FileInputStream.java
7100         (getChannel): New method.
7101         * java/io/FileOutputStream.java
7102         (getChannel): New method.
7103         * java/net/ServerSocket.java
7104         (bind): Removed duplicate code and called another bind method instead.
7105         * java/nio/channels/SelectionKey.java
7106         (isValid): Removed wrong exception documentation.
7107         * java/nio/channels/ServerSocketChannel.java
7108         (accept): Added exception documentation.
7109         (open): Fixed typo, added exception documentation.
7110         * java/nio/channels/spi/AbstractSelectableChannel.java
7111         (implCloseChannel): Added exception documentation.
7112         (add): Reformated.
7113         (register): Added exception documentation.
7114
7115 2002-11-20  Andreas Jaeger  <aj@suse.de>
7116
7117         * configure: Regenerated with new libtool.m4.
7118
7119 2002-11-19  Tom Tromey  <tromey@redhat.com>
7120
7121         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7122         `referent'.
7123         (finalize_referred_to_object): Don't modify `referent' or `copy'
7124         fields.
7125         (add_to_hash): Correctly set `n->next' when updating list.
7126         * java/lang/ref/Reference.java (enqueue): Return false if already
7127         enqueued.
7128
7129 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
7130
7131         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7132         to function and function pointer declarations in accordance with
7133         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7134         based on whether __GCJ_JNI_IMPL__ has been defined or not.
7135         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7136         JNI function definitions.
7137
7138 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7139
7140         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7141         that was causing CoderResults to be cached, not WeakReferences
7142         to CoderResults.
7143
7144 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7145
7146         * java/security/KeyStore.java (getInstance): Fix
7147         comment and throw IllegalArgumentException if
7148         given provider is null.
7149         (getInstance): New method for jdk1.4 compatibility.
7150
7151 2002-11-18  Michael Koch <konqueror@gmx.de>
7152
7153         * java/net/PlainSocketImpl.java: Fix imports.
7154
7155 2002-11-18  Michael Koch <konqueror@gmx.de>
7156
7157         * java/nio/channels/SelectionKey.java
7158         (isValid): Added exception documentation.
7159         * java/nio/channels/Selector.java
7160         (open): Declare "throws IOException".
7161
7162 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7163
7164         * java/nio/charset/Charset.java
7165         (<clinit>): New method.
7166         (encode): Synchronize use of cached encoder object.
7167         (decode): Synchronize use of cached encoder object.
7168
7169 2002-11-18  Michael Koch <konqueror@gmx.de>
7170
7171         * gnu/java/nio/ByteBufferImpl.java,
7172         gnu/java/nio/CharBufferImpl.java,
7173         gnu/java/nio/DatagramChannelImpl.java,
7174         gnu/java/nio/DoubleBufferImpl.java,
7175         gnu/java/nio/FileChannelImpl.java,
7176         gnu/java/nio/FloatBufferImpl.java,
7177         gnu/java/nio/IntBufferImpl.java,
7178         gnu/java/nio/LongBufferImpl.java,
7179         gnu/java/nio/PipeImpl.java,
7180         gnu/java/nio/SelectionKeyImpl.java,
7181         gnu/java/nio/SelectorImpl.java,
7182         gnu/java/nio/SelectorProviderImpl.java,
7183         gnu/java/nio/ServerSocketChannelImpl.java,
7184         gnu/java/nio/ShortBufferImpl.java,
7185         gnu/java/nio/SocketChannelImpl.java,
7186         java/nio/DoubleBuffer.java,
7187         java/nio/FloatBuffer.java,
7188         java/nio/IntBuffer.java,
7189         java/nio/LongBuffer.java,
7190         java/nio/ShortBuffer.java,
7191         java/nio/channels/FileChannel.java: New files.
7192
7193 2002-11-18  Michael Koch <konqueror@gmx.de>
7194
7195         * Makefile.am (ordinary_java_source_files):
7196         Added java/nio/ReadOnlyBufferException.java and
7197         java/nio/channels/ClosedSelectorException.java.
7198         * Makefile.in: Regenerated.
7199
7200 2002-11-18  Michael Koch <konqueror@gmx.de>
7201
7202         * java/net/PlainSocketImpl.java: Reworked imports.
7203         * java/net/ServerSocket.java
7204         (ServerSocket): Create socket.
7205         * java/net/SocketAddress.java: Documentation added.
7206         * java/net/natPlainSocketImpl.cc: Reindented.
7207         * java/nio/ReadOnlyBufferException.java: New file
7208         * java/nio/channels/ClosedChannelException.java: Documentation added.
7209         * java/nio/channels/ClosedSelectorException.java: New file.
7210
7211 2002-11-17  Mark Wielaard  <mark@klomp.org>
7212
7213         * java/net/HttpURLConnection.java ((getPermission): Take port
7214         into consideration.
7215         (getErrorStream): Implement.
7216
7217 2002-11-17  Mark Wielaard  <mark@klomp.org>
7218
7219         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7220
7221 2002-11-16  Mark Wielaard  <mark@klomp.org>
7222
7223         Integrate work by Raif S. Naffah (raif@fl.net.au)
7224         * java/security/DummyKeyPairGenerator.java (clone): New method.
7225         * java/security/DummyMessageDigest.java (clone): New method.
7226         (engineUpdate): Now public.
7227         (engineReset): Likewise.
7228         (engineDigest): Likewise.
7229         (engineGetDigestLength): New method.
7230         * java/security/DummySignature.java (clone): New method.
7231         * java/security/KeyPairGenerator.java (provider): Now package private.
7232         (getInstance(String)): Use getInstance(String,Provider).
7233         (getInstance(String,String): Use getInstance(String,Provider)
7234         (getInstance(String,Provider): New method.
7235         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7236         * java/security/KeyPairGeneratorSpi.java (clone): New method.
7237         * java/security/MessageDigest.java (provider): Now package private.
7238         (getInstance(String): Use getInstance(String,Provider).
7239         (getInstance(String,String): Use getInstance(String,Provider)
7240         (getInstance(String,Provider): New method.
7241         * java/security/Provider.java (toCanonicalKey): New method.
7242         (get): New method that uses toCanonicalKey().
7243         (put): Use toCanonicalKey().
7244         (remove): Likewise.
7245         * java/security/Security.java (insertProviderAt): Provider index is one
7246         based, not zero based.
7247         (addProvider): Likewise.
7248         (removeProvider): Likewise.
7249         * java/security/Signature.java (provider): Now package private.
7250         (getInstance(String)): Use getInstance(String,Provider).
7251         (getInstance(String,String): Use getInstance(String,Provider)
7252         (getInstance(String,Provider): New method.
7253         (getInstance(String,String,Provider): Don't cast DummySignature.
7254
7255 2002-11-15  Tom Tromey  <tromey@redhat.com>
7256
7257         For PR libgcj/8593:
7258         * java/util/zip/GZIPInputStream.java (read): Check file size.
7259         Look in inflater for remaining input bytes.
7260         (read4): Added buf and offset arguments.
7261
7262 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
7263
7264         * java/applet/AppletContext.java: Fix typo and remove redundant
7265         modifiers.
7266
7267 2002-11-14  Tom Tromey  <tromey@redhat.com>
7268
7269         * java/lang/natRuntime.cc (insertSystemProperties): Set
7270         gnu.classpath.home.
7271
7272 2002-11-13  Michael Koch <konqueror@gmx.de>
7273
7274         * java/nio/ByteBuffer.java
7275         (allocate): New method.
7276         (wrap): New method.
7277         (put): New method.
7278         (get): New method.
7279
7280 2002-11-13  Michael Koch <konqueror@gmx.de>
7281
7282         * java/nio/channels/AlreadyConnectedException.java:
7283         Removed unneeded import.
7284         (AlreadyConnectedException): Documentation added.
7285         * java/nio/channels/Pipe.java
7286         (SinkChannel.SinkChannel): Documentation added.
7287         (SinkChannel.validOps): New method.
7288         (SourceChannel.SourceChannel): Documentation added.
7289         (SourceChannel.validOps): New method.
7290         (Pipe): Documentation added.
7291         (open): Documentation added.
7292         (SinkChannel.channel): Documentation added.
7293         (SourceChannel.channel): Documentation added.
7294         * java/nio/channel/SelectableChannel.java
7295         (SelectableChannel): Documentation added.
7296         (blockingLock): Documentation added.
7297         (configureBlocking):Documentation added.
7298         (isBlocking):Documentation added.
7299         (isRegistered):Documentation added.
7300         (keyFor):Documentation added.
7301         (provider):Documentation added.
7302         (register): Documentation added.
7303         (validOps): Documentation added.
7304         * jaba/nio/channels/SelectionKey.java
7305         (SelectionKey): Documentation added.
7306         (attach): Documentation added.
7307         (attachment): Documentation added.
7308         (isAcceptable): Documentation added.
7309         (isConnetable): Documentation added.
7310         (isReadable): Documentation added.
7311         (isWritable): Documentation added.
7312         (cancel): Documentation added.
7313         (channel): Documentation added.
7314         (interestOps): Documentation added.
7315         (isValid): Documentation added.
7316         (readyOps): Documentation added.
7317         (selector): Documentation added.
7318         * jaba/nio/channels/Selector.java
7319         (Selector): Documentation added.
7320         (open): Documentation added.
7321         (close): Documentation added.
7322         (isOpen): Documentation added.
7323         (keys): Documentation added.
7324         (provider): Documentation added.
7325         (select): Documentation added.
7326         (selectedKeys): Documentation added.
7327         (selectNow): Documentation added.
7328         (wakeup): Documentation added.
7329         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7330         (AbstractInterruptibleChannel): Documentation added.
7331         (opened): Default to true;
7332         (begin): Documentation added.
7333         (close): Set opened to false, documentation added.
7334         (isOpen): Documentation added.
7335         * java/nio/channels/spi/AbstractSelectionKey.java
7336         (AbstractSelectionKey): Documentation added.
7337         (cancel): Documentation added.
7338         (isValid): Documentation added.
7339         * java/nio/channels/spi/AbstractSelector.java
7340         (AbstractSelector): Documentation added.
7341         (begin): Documentation added.
7342         (close): Documentation added.
7343         (isOpen): Documentation added.
7344         (deregister): Documentation added.
7345         (end): Documentation added.
7346         (provider): Documentation added.
7347         (implCloseSelector): Documentation added.
7348         (register): Documentation added.
7349         * java/nio/channels/spi/SelectorProvider.java
7350         (SelectorProvider): Documentation added.
7351         (openDatagramChannel): Documentation added.
7352         (openPipe): Documentation added.
7353         (openSelector): Documentation added.
7354         (openServerSocketChannel): Documentation added.
7355         (openSocketChannel): Documentation added.
7356         (provider): Documentation added.
7357
7358 2002-11-12  Michael Koch <konqueror@gmx.de>
7359
7360         * java/nio/Buffer.java: Implemented.
7361         * java/nio/CharBuffer.java: New file.
7362         * java/nio/InvalidMarkException.java: New file.
7363         * java/nio/channels/DatagramChannel.java: Implemented.
7364         * java/nio/channels/ServerSocketChannel.java: Implemented.
7365         * java/nio/channels/SocketChannel.java: Implemented.
7366         * java/nio/channels/spi/AbstractChannel.java: Removed.
7367         * java/nio/channels/spi/AbstractSelectableChannel.java:
7368         Implemented.
7369         * java/nio/charset/Charset.java:
7370         Merge from Classpath.
7371         * java/nio/charset/CharsetDecoder.java: New file.
7372         * java/nio/charset/CharsetEncoder.java: New file.
7373         * java/nio/charset/CoderResult.java: New file.
7374         * Makefile.am (ordinary_java_source_files): Added new files.
7375         * Makefile.in: Regenerated.
7376
7377 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7378
7379         * gnu/java/nio/charset/ISO_8859_1.java,
7380         gnu/java/nio/charset/Provider.java,
7381         gnu/java/nio/charset/US_ASCII.java,
7382         gnu/java/nio/charset/UTF_16.java,
7383         gnu/java/nio/charset/UTF_16BE.java,
7384         gnu/java/nio/charset/UTF_16Decoder.java,
7385         gnu/java/nio/charset/UTF_16Encoder.java,
7386         gnu/java/nio/charset/UTF_16LE.java,
7387         gnu/java/nio/charset/UTF_8.java: New files.
7388
7389 2002-11-11  Michael Koch <konqueror@gmx.de>
7390
7391         * java/nio/charset/CharacterCodingException.java:
7392         This class must be public.
7393         * java/nio/charset/CoderMalfunctionError.java:
7394         This class must be public.
7395         * java/nio/charset/CodingErrorAction.java:
7396         This class must be public.
7397         * java/nio/charset/IllegalCharsetNameException.java:
7398         This class must be public, better implementation.
7399         * java/nio/charset/MalformedInputException.java:
7400         This class must be public, better implementation.
7401         * java/nio/charset/UnmappableCharacterException.java:
7402         This class must be public, better implementation.
7403         * java/nio/charset/UnsupportedCharsetException.java:
7404         This class must be public, better implementation.
7405
7406 2002-11-11  Michael Koch <konqueror@gmx.de>
7407
7408         * java/nio/BufferOverflowException.java,
7409         java/nio/BufferUnderflowException.java: New file.
7410         * Makefile.am (ordinary_java_source_files):
7411         Added new files.
7412         * Makefile.in: Regenerated.
7413
7414 2002-11-10  Tom Tromey  <tromey@redhat.com>
7415
7416         * java/awt/Container.java (validate): Use tree lock.
7417         (getComponent): Likewise.
7418         (getComponents): Likewise.
7419         (addImpl): Likewise.
7420         (remove): Likewise.
7421         (removeAll): Likewise.
7422         (processEvent): Fixed indentation.
7423         (getComponentAt): Use tree lock.
7424         (findComponentAt): Likewise.
7425         (removeNotify): Likewise.
7426         (isAncestorOf): Likewise.
7427         (list): Likewise.
7428         (visitChildren): Likewise.
7429         (findNextFocusComponent): Likewise.
7430         (addNotifyContainerChildren): Likewise.
7431         (getAccessibleChildrenCount): Likewise.
7432         (getAccessibleChild): Likewise.
7433
7434         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7435         (getSize): Likewise.
7436         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7437         (getSize): Likewise.
7438         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7439         (calcSize): Likewise.
7440         * java/awt/CardLayout.java (getSize): Use tree lock.
7441         (gotoComponent): Likewise.
7442         (layoutContainer): Likewise.
7443
7444         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7445         count is 0.
7446         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7447         count is 0.
7448
7449         * java/io/Externalizable.java, java/io/FilePermission.java,
7450         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7451         java/io/SerializablePermission.java, java/text/Format.java,
7452         java/util/AbstractMap.java, java/util/HashMap.java,
7453         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7454         versions from Classpath.
7455
7456 2002-11-10  Anthony Green  <green@redhat.com>
7457
7458         * java/util/jar/Attributes.java (Name): Fix name check.
7459
7460 2002-11-10  Mark Wielaard  <mark@klomp.org>
7461
7462         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7463         with getName() as message.
7464         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7465         type as message.
7466
7467         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7468         unused.
7469
7470 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7471
7472         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7473         for Win32. JNICALL has been defined to __stdcall to be compatible
7474         with Sun's JDKs.
7475
7476 2002-11-10  Tom Tromey  <tromey@redhat.com>
7477
7478         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7479         (setRows): Check newRows, not rows.
7480
7481         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7482
7483 2002-11-09  Tom Tromey  <tromey@redhat.com>
7484
7485         * java/applet/Applet.java, java/applet/AppletContext.java,
7486         java/applet/AppletStub.java, java/applet/AudioClip.java,
7487         java/awt/CardLayout.java,
7488         java/awt/ContainerOrderFocusTraversalPolicy.java,
7489         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7490         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7491         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7492         java/awt/color/ICC_ColorSpace.java,
7493         java/awt/color/ICC_Profile.java,
7494         java/awt/color/ICC_ProfileGray.java,
7495         java/awt/color/ICC_ProfileRGB.java,
7496         java/awt/datatransfer/DataFlavor.java,
7497         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7498         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7499         New versions from Classpath.
7500         * Makefile.in: Rebuilt.
7501         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7502         ICC_ProfileRGB.
7503
7504         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7505         display policy.
7506
7507         * java/awt/List.java (processEvent): Added missing `else's.
7508
7509         * java/awt/Window.java (show): validate() before showing.  Make
7510         parent displayable.
7511         (isDisplayable): New method.
7512
7513 2002-11-07  Mark Wielaard  <mark@klomp.org>
7514
7515         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7516         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7517
7518         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7519         annotation.
7520         (loadClass): Take String as codebases.
7521         (getClassAnnotation): Use MyClassLoader annotations.
7522         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7523         call exportObject(this).
7524
7525         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7526         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7527         (setAnnotation): Don't set locBytesStream and locStream.
7528         (replaceObject): Removed.
7529         (flush): Don't test locStream.
7530         (getLocBytes): LikeWise.
7531         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7532         (leaseCache): New field.
7533         (dirty): Use leaseCache.
7534         (LeaseRecord): New inner class.
7535         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7536         explicitly call exportObject().
7537         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7538         false to communicate with Sun JDK130.
7539         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7540         * gnu/java/rmi/server/RMIObjectInputStream.java
7541         (UnicastConnectionManager): Removed field.
7542         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7543         Use UnicastServer.getExportedRef().
7544         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7545         (expireTime): Likewise.
7546         (CONNECTION_TIMEOUT): Likewise.
7547         (disconnect): Call sock.close().
7548         (isExpired): New method.
7549         (resetTime): Likewise.
7550         (run): Use do while loop and catch Exception for discardConnection().
7551         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7552         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7553         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7554         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7555         (exportObject): Use refcache.
7556         (unexportObject): Likewise.
7557         (getExportedRef): New method.
7558         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7559         constructor.
7560         (exportObject): Save manager.serverobj.
7561         (getStub): New method.
7562
7563 2002-11-07  Mark Wielaard  <mark@klomp.org>
7564
7565         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7566         (getByte): Likewise.
7567         (getShort): Likewise.
7568         (getInt): Likewise.
7569         (getLong): Likewise.
7570         (getFloat): Likewise.
7571         (getDouble): Likewise.
7572         (get): Likewise.
7573         (setChar): Likewise.
7574         (setByte): Likewise.
7575         (setShort): Likewise.
7576         (setInt): Likewise.
7577         (setLong): Likewise.
7578         (setFloat): Likewise.
7579         (setDouble): Likewise.
7580
7581 2002-11-07  Michael Koch <konqueror@gmx.de>
7582
7583         * java/awt/Choice.java,
7584         java/awt/Container.java,
7585         java/awt/GridBagLayout.java:
7586         Fixed documentation.
7587         * java/awt/peer/ContainerPeer.java:
7588         Reindented.
7589
7590 2002-11-07  Michael Koch <konqueror@gmx.de>
7591
7592         * java/awt/color/ICC_Profile.java:
7593         Added missing constants.
7594         * java/awt/color/ICC_ColorSpace.java
7595         (getMinValue): Added dummy implementation.
7596         (getMaxValue): Added dummy implementation.
7597         * java/awt/datatransfer/DataFlavor.java
7598         (imageFlavor): Added.
7599         (isMimeTypeEqual): Must be final.
7600         (getDefaultRepresentationClass): Must be non-static.
7601         (getDefaultRepresentationClassAsString): Must be non-static.
7602         * java/awt/dnd/DragSourceContext.java
7603         (dragExit): Corrected argument.
7604         (dragDropEnd): Corrected argument.
7605         * java/awt/dnd/DragSourceListener.java.java
7606         (dragExit): Corrected argument.
7607         (dragDropEnd): Corrected argument.
7608         * java/awt/font/TextHitInfo.java
7609         (toString): Added stubbed implementation.
7610         * java/awt/geom/PathIterator.java:
7611         The constants must be static.
7612         * java/awt/image/VolatileImage.java
7613         (IMAGE_INCOMPATIBLE): Fixed typo.
7614         * java/awt/image/renderable/RenderableImage.java
7615         (HINTS_OBSERVED): Must be static.
7616         * java/beans/BeanInfo.java:
7617         Constants must be final.
7618
7619 2002-11-06  Tom Tromey  <tromey@redhat.com>
7620
7621         From svens@it.uu.se.  For PR libgcj/8481.
7622         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7623
7624 2002-11-06  Tom Tromey  <tromey@redhat.com>
7625
7626         * jni.cc (array_from_valist): Assume that jlong won't be
7627         promoted.
7628
7629 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7630
7631         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7632         Return 20.
7633         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7634         Return 16.
7635
7636 2002-11-03  Tom Tromey  <tromey@redhat.com>
7637
7638         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7639         VMClassLoader, not findClass.
7640
7641 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7642
7643         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7644         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7645         _Jv_DetermineVTableIndex, to determine vtable offset.
7646         (_Jv_DetermineVTableIndex): Remove.
7647         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7648
7649         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7650
7651 2002-11-03  Tom Tromey  <tromey@redhat.com>
7652
7653         * java/nio/channels/AlreadyConnectedException.java: Extend
7654         IllegalStateException, per spec.
7655
7656 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7657
7658         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7659
7660 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7661
7662         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7663         size items.
7664
7665 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7666
7667         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7668         initial estimated size to avoid enlarge buffer frequently.
7669
7670 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7671
7672         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7673         ClassLoader when null.
7674         (ProxyType.hashCode): Loader null check no longer needed.
7675         (ProxyType.sameTypes): New method.
7676         (ProxyType.equals): Use new method.
7677
7678 2002-10-31  Mark Wielaard  <mark@klomp.org>
7679
7680         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7681         length of String.
7682         * java/net/URLEncoder.java (encode): Likewise.
7683
7684 2002-10-31  Mark Wielaard  <mark@klomp.org>
7685
7686         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7687         when stream is closed.
7688         (closeEntry): Likewise.
7689         (read): Likewise.
7690         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7691         ZipException when no entry active.
7692         (closeEntry): Likewise.
7693         (write): Likewise.
7694
7695 2002-11-02  Tom Tromey  <tromey@redhat.com>
7696
7697         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7698         * java/lang/natClass.cc (initializeClass): Don't return just
7699         because self==thread.
7700
7701         For PR java/8415:
7702         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7703         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7704
7705 2002-11-02  Andreas Schwab  <schwab@suse.de>
7706
7707         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7708         pass GCJFLAGS.
7709         (FLAGS_TO_PASS): Define.
7710         * Makefile.in: Regenerated.
7711
7712 2002-11-01  Michael Koch  <konqueror@gmx.de>
7713
7714         * java/nio/ByteOrder.java: New file.
7715         * java/nio/channels/DatagramChannel.java:
7716         (DatagramChannel): New constructor.
7717         * java/nio/channels/Pipe.java: New file.
7718         * java/nio/channels/SelectableChannel.java: New file.
7719         * java/nio/channels/SelectionKey.java: New file.
7720         * java/nio/channels/Selector.java: New file.
7721         * java/nio/channels/ServerSocketChannel.java
7722         (ServerSocketChannel): New constructor.
7723         * java/nio/channels/SocketChannel.java
7724         (SocketChannel): New constructor.
7725         * java/nio/channels/Pipe.java: New file.
7726         * java/nio/channels/spi/AbstractChannel.java: New file.
7727         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7728         * java/nio/channels/spi/AbstractSelectableChannel.java:
7729         License added
7730         (AbstractSelectableChannel): New stubbed method.
7731         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7732         * java/nio/channels/spi/AbstractSelector.java: New file.
7733         * java/nio/channels/spi/SelectorProvider.java: New file.
7734         * java/nio/charset/Charset.java: New file.
7735         * java/nio/charset/CoderMalfunctionError.java: New file.
7736         * java/nio/charset/CodingErrorAction.java: New file.
7737         * java/nio/charset/spi/CharsetProvider.java
7738         (charsetForName): Uncommented.
7739         * Makefile.am (java_native_source_files): Added new files.
7740         * Makefile.in: Regenerated.
7741
7742 2002-11-01  Michael Koch  <konqueror@gmx.de>
7743
7744         * java/net/InetAddress.java:
7745         (isAnyLocalAddress): Implemented.
7746         (isLoopbackAddress): Implemented, comment added.
7747         (isLinkLocalAddress): Implemented, documentation added.
7748         (isSiteLocalAddress): Implemented, documentation added.
7749         (isMCGlobal): Implemented, documentation added.
7750         (isMCNodeLocal): Implemented, documentation added.
7751         (isMCLinkLocal): Implemented, documentation added.
7752         (isMCSiteLocal): Implemented, documentation added.
7753         (isMCOrgLocal): Implemented, documentation added.
7754         (getHostName): Documentation added.
7755         (getCanonicalHostName): Implemented, documentation added.
7756         (getAddress): Documentation added.
7757         (hashCode): Documentation added.
7758         (equals): Documentation added.
7759         (toString): Fixed implementation.
7760         (getByAddress): Use Inet4Address and Inet6Address.
7761         (lookup): New linewrap.
7762         (getByName): SecurityManager check added, support Inet4Address and
7763         Inet6address, comments added.
7764         (getAllByName): SecurityManager check added, comments added.
7765         * java/net/Inet6Address.java:
7766         (Inet6Address): Initialize parent class with addr instead of null.
7767         * java/net/URL.java
7768         (equals): Documentation added.
7769         (getFile): Documentation added.
7770         (hashCode): Documentation added.
7771         * java/net/natInetAddress.cc:
7772         (aton): Fix IPv6 support.
7773         * java/net/natPlainDatagramSocketImpl.cc:
7774         (peek): Throw PortUnreachableException when suitable.
7775         (peekData): Throw PortUnreachableException when suitable.
7776         (send): Throw PortUnreachableException when suitable.
7777         (receive): Throw PortUnreachableException when suitable.
7778
7779 2002-10-27  Mark Wielaard  <mark@klomp.org>
7780
7781         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7782         argument.
7783         (readLeShort): Likewise and use byte[].
7784         (readLeInt): Likewise.
7785         (readEntries): Use new versions of methods and use byte[] for reading
7786         a complete zip entry. Add ZipFile name to exceptions.
7787         (entries): Add ZipFile name to exceptions.
7788         (getEntry): Likewise.
7789         (checkLocalHeader): Use new versions of methods and add ZipFile name
7790         to exceptions.
7791
7792 2002-10-31  Mark Anderson  <mark@panonet.net>
7793
7794         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7795         added
7796
7797 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7798
7799         * configure.in: Disable hash sync when not using threads.
7800         * configure: Regenerated.
7801
7802 2002-10-24  Tom Tromey  <tromey@redhat.com>
7803
7804         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7805         (_Jv_FindSymbolInExecutable): Removed argument name.
7806         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7807         java.library.path is set.
7808
7809         * gij.cc (help): Document --showversion.
7810         (version): Don't exit.
7811         (main): Handle --showversion.  Exit if --version given.
7812
7813 2002-10-23  Tom Tromey  <tromey@redhat.com>
7814
7815         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7816         (array_from_valist): Correctly handle promotion for jint, jlong,
7817         jfloat, and jdouble.
7818
7819 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7820
7821         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7822         GetFileAttributesEx( ) to find file length and modification times,
7823         as the latter is not present on Windows 95.
7824
7825 2002-10-21  Michael Koch  <konqueror@gmx.de>
7826
7827         * java/net/URL.java
7828         (URL): Activate SecurityManager checks.
7829         (equals): Use URLStreamHandler implementation instead of doing it
7830         alone. This allows special protocol stream handlers to change default
7831         behaviour.
7832         (hashCode): Use URLStreamHandler implementation instead of doing it
7833         alone. This allows special protocol stream handlers to change default
7834         behaviour.
7835         * java/net/URLStreamHandler.java
7836         (equals): Implemented default URL equality check.
7837         (hostsEqual): Implemented default URL equality check.
7838         (hashCode): Implemented default URL hashCode algorithm.
7839         * java/net/natPlainDatagramSocketImpl.cc:
7840         No lines longer then 80 characters.
7841
7842 2002-10-20  Adam Megacz <adam@xwt.org>
7843
7844         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7845         * configure.in: enabled hash sync on Win32
7846         * include/win32-threads.h (_Jv_ThreadId_t): added.
7847         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7848         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7849         removed some posix-isms, use Thread::sleep() instead of usleep,
7850         added code to clear bottom three bits if platform has a broken
7851         linker.
7852         * include/win32-threads.h (_Jv_ThreadId_t): added.
7853
7854 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7855
7856         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7857         runtime property "gnu.gcj.progname" containing the name used to
7858         invoke the current Java program (similar to argv[0] for C
7859         programs).
7860
7861 2002-10-15  Tom Tromey  <tromey@redhat.com>
7862
7863         Fix for PR libgcj/8234:
7864         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7865         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7866
7867 2002-10-13  Mark Wielaard  <mark@klomp.org>
7868
7869         * mauve-libgcj: Enable Mauve tests that compile now.
7870
7871 2002-10-11  Mark Wielaard  <mark@klomp.org>
7872
7873         Fix for PR libgcj/8142
7874         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7875         loading native modules.
7876
7877 2002-10-10  Michael Koch  <konqueror@gmx.de>
7878
7879         * javax/swing/AbstractListModel.java
7880         (getListDataListeners): New stubbed method.
7881         javax/swing/DefaultBoundedRangeModel.java
7882         (getChangeListeners): New stubbed method.
7883         javax/swing/DefaultSingleSelectionModel.java
7884         (getChangeListeners): New stubbed method.
7885
7886 2002-10-10  Michael Koch  <konqueror@gmx.de>
7887
7888         * gcj/.cvsignore: New file to ignore files generated during build.
7889         * include/.cvsignore: New file to ignore files generated during build.
7890
7891 2002-10-10  Michael Koch  <konqueror@gmx.de>
7892
7893         * java/net/HttpURLConnection.java
7894         (getPermission): New method.
7895         (getErrorStream): New stub method.
7896         (getHeaderFieldDate): New stub method.
7897         * java/net/Inet4Address.java:
7898         (isLinkLocalAddress): Typo fixed.
7899         * java/net/InetAddress.java:
7900         (readResolve): New stubbed method (for serialization).
7901         (isAnyLocalAddress): New stubbed method.
7902         (isLoopbackAddress): New stubbed method.
7903         (isLinkLocalAddress): New stubbed method.
7904         (isSiteLocalAddress): New stubbed method.
7905         (isMCGlobal): New stubbed method.
7906         (isMCNodeGlobal): New stubbed method.
7907         (isMCLinkLocal): New stubbed method.
7908         (isMCSiteLocal): New stubbed method.
7909         (isMCOrgLocal): New stubbed method.
7910         (getCanonicalHostName): New stubbed method.
7911         (getByAddress): Create instances of Inet4Address/Inet6Address,
7912         instead of InetAddress, documentation added.
7913         * java/net/MulticastSocket.java
7914         (getInterface): Removed FIXME.
7915         (getNetworkInterface): New method.
7916         (setNetworkInterface): New method.
7917         * java/net/NetworkInterface.java:
7918         (toString): Use property "line.separator" instead of "\n".
7919         * java/net/URLConnection.java
7920         (getContent): New stubbed method.
7921         * java/net/URLStreamHandler.java:
7922         (equals): New stubbed method.
7923         (hostsEqual): New stubbed method.
7924         (hashCode): New stubbed method.
7925         * java/net/natNetworkInterface.cc:
7926         (getRealNetworkInterfaces): Create Inet4Address object
7927         instead of InetAddress.
7928
7929 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7930
7931         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7932         unsigned long temporary to implement insn_iushr shifts.
7933
7934 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7935
7936         * configure.host [s390*-*]: Enable Java interpreter.
7937         Enable hash synchronization.  Add sysdeps dir.
7938         * sysdep/s390/locks.h: New file.
7939
7940 2002-10-06  Mark Wielaard  <mark@klomp.org>
7941
7942         * java/lang/Thread.java (setDaemon): Check startable_flag,
7943         not isAlive().
7944
7945 2002-10-07  Michael Koch  <konqueror@gmx.de>
7946
7947         * java/nio/Buffer.java: New stub file.
7948         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7949         of class Charset.
7950         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7951         * Makefile.in: Regenerated.
7952
7953 2002-10-07  Michael Koch  <konqueror@gmx.de>
7954
7955         * java/nio/ByteBuffer.java:
7956         removed import of not commited class.
7957
7958 2002-10-07  Michael Koch  <konqueror@gmx.de>
7959
7960         * java/nio/ByteBuffer.java,
7961         java/nio/MappedByteBuffer.java:
7962         New files, forgot to add these dummies.
7963         * Makefile.am (java_native_source_files): Added new files.
7964         * Makefile.in: Regenerated.
7965
7966 2002-10-07  Michael Koch  <konqueror@gmx.de>
7967
7968         * java/nio/channels/AlreadyConnectedException.java,
7969         java/nio/channels/ClosedChannelException.java,
7970         java/nio/channels/ReadableByteChannel.java,
7971         java/nio/channels/InterruptibleChannel.java,
7972         java/nio/channels/Channel.java,
7973         java/nio/channels/ByteChannel.java,
7974         java/nio/channels/GatheringByteChannel.java,
7975         java/nio/channels/ScatteringByteChannel.java,
7976         java/nio/channels/WritableByteChannel.java,
7977         java/nio/charset/CharacterCodingException.java,
7978         java/nio/charset/IllegalCharsetNameException.java,
7979         java/nio/charset/MalformedInputException.java,
7980         java/nio/charset/UnmappableCharacterException.java,
7981         java/nio/charset/UnsupportedCharsetException.java,
7982         java/nio/charset/spi/CharsetProvider.java: New file.
7983         These files are exceptions or interfaces,
7984         no real or abstract classes.
7985         * Makefile.am (java_native_source_files): Added new files.
7986         * Makefile.in: Regenerated.
7987
7988 2002-10-05  Michael Koch  <konqueror@gmx.de>
7989
7990         * java/net/InetAddress.java
7991         (getByAddress): Fixed documentation.
7992         (getByAddress): New method.
7993         * java/net/Inet4Address.java: New file.
7994         * java/net/URL.java
7995         (URL): Documentation added.
7996         (getContent): Documentation added.
7997         (getContent): New stubbed method.
7998         (getQuery): New method.
7999         (openConnection): Documentation added.
8000         (openStream): Documentation added.
8001         (setURLStreamHandlerFactory): Documentation added.
8002         * java/net/URI.java: New stub file.
8003         * Makefile.am
8004         (java_native_source_files): Added java/net/Inet4Address.java,
8005         java/net/Inet6Address.java and java/net/URI.java.
8006         * Makefile.in: Regenerated.
8007
8008 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8009
8010         * java/lang/ProtectionDomain.java (linesep): Remove field.
8011         (toString): Use System.getProperty("line.separator").
8012
8013 2002-10-04  Michael Koch  <konqueror@gmx.de>
8014
8015         * java/security/Identity.java: Added serialVersionUID.
8016         * java/security/KeyPair.java: Added serialVersionUID.
8017         * java/security/Provider.java: Added serialVersionUID.
8018         * java/security/SecureRandom.java: Added serialVersionUID.
8019         * java/security/SecureRandomSpi.java: Added serialVersionUID.
8020         * java/security/SignedObject.java: Added serialVersionUID.
8021         * java/security/cert/Certificate.java: Added serialVersionUID.
8022
8023 2002-10-04  Mark Wielaard <mark@klomp.org>
8024
8025         * java/security/Security.java: Use java.home or gnu.classpath.home
8026         to load providers.
8027         (loadProviders): Extra dir argument.
8028         (getProvider): Return null when not found.
8029
8030 2002-10-04  Mark Wielaard  <mark@klomp.org>
8031
8032         * java/lang/Throwable.java: Remerge with Classpath.
8033
8034 2002-10-04  Michael Koch  <konqueror@gmx.de>
8035
8036         * java/net/InetAddress.java:
8037         (isMulticastAddress): Added documentation.
8038         (getHostAddress): Added documentation.
8039         (toString): Added documentation.
8040         (getByAddress): Fixed documentation.
8041         (getByName): Added documentation.
8042         (getAllByName): Added documentation.
8043         (getLocalHost): Added documentation.
8044
8045 2002-10-04  Michael Koch  <konqueror@gmx.de>
8046
8047         * java/beans/beancontext/BeanContextChildSupport.java:
8048         Added serialVersionUID.
8049         * java/text/Collator.java: (compare): Made documentation HTML-aware.
8050         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8051         * javax/naming/Name.java: Added serialVersionUID.
8052
8053 2002-10-03  Adam Megacz <adam@xwt.org>
8054
8055         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8056         some functionality that isn't supported yet on WIN32.
8057
8058 2002-10-03  Tom Tromey  <tromey@redhat.com>
8059
8060         * Makefile.in: Rebuilt.
8061         * Makefile.am (awt_java_source_files): Added new files.
8062
8063 2002-10-03  Michael Koch  <konqueror@gmx.de>
8064
8065         * java/net/InetAddress.java
8066         (class InetAddress): Removed final keyword.
8067         (equals): Fixed typo.
8068         (getByAddress): New method.
8069
8070 2002-10-03  Michael Koch  <konqueror@gmx.de>
8071
8072         * java/awt/dnd/Autoscroll.java:
8073         New file, merge from Classpath.
8074         * java/awt/dnd/DragSourceAdapter.java:
8075         (dragExit): Fixed typos in argument type.
8076         (dragDropEnd): Fixed typos in argument type.
8077         * java/awt/dnd/DragSourceDropEvent.java:
8078         New file, merge from Classpath.
8079         * java/awt/dnd/DropTarget.java:
8080         Added stubs, merge from Classpath.
8081         * java/awt/dnd/DropTargetAdapter.java:
8082         New file, merge from Classpath.
8083         * java/awt/dnd/DropTargetContext.java:
8084         New file, merge from Classpath.
8085         * java/awt/dnd/DropTargetDragEvent.java:
8086         New file, merge from Classpath.
8087         * java/awt/dnd/DropTargetDropEvent.java:
8088         New file, merge from Classpath.
8089         * java/awt/dnd/DropTargetEvent.java:
8090         New file, merge from Classpath.
8091         * java/awt/dnd/DropTargetListener.java:
8092         New file, merge from Classpath.
8093         * java/awt/dnd/MouseDragGestureRecognizer.java:
8094         New file, merge from Classpath.
8095         * java/awt/dnd/peer/DropTargetContextPeer.java:
8096         New file, merge from Classpath.
8097
8098 2002-10-03  Michael Koch  <konqueror@gmx.de>
8099
8100         * java/net/DatagramPacket.java
8101         (setLength): Fixed typo and be HTML-aware.
8102         * java/net/InetSocketAddress.java
8103         (InetSocketAddress): Correct initialization of hostname, fixed typo.
8104         (equals): Added comment about equality of InetSocketAddress objects.
8105         * java/net/ServerSocket.java
8106         (accept): Added checks.
8107         (isClosed): New stubbed method.
8108         * java/net/SocketOptions.java: Reindention.
8109         * java/net/SocketPermission
8110         (SocketPermission): Documentation fixed.
8111
8112 2002-10-03  Michael Koch  <konqueror@gmx.de>
8113
8114         * java/net/DatagramSocket.java
8115         (receive): Check with SecurityManager AFTER the packet is received,
8116         check if connected to multicast address, documentation added.
8117         (send): Only check SecurityManager if connected, check address of
8118         packet to send.
8119         (connect): Implemented, documentation added.
8120         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8121         * java/net/InetSocketAddress.java
8122         (whole file): Reindented.
8123         (hostname): New attribute.
8124         (InetSocketAddress): Initialize new attribute.
8125         (getAddress): Documentation added.
8126         (getHostName): Documentation added.
8127         (getPort): Documentation added.
8128         (hashCode): Documentation added.
8129         (isUnresolved): Documentation added.
8130         (toString): Conform to output of JDK 1.4.1, documentation added.
8131         * java/net/MulticastSocket.java
8132         (joinGroup): Removed FIXME, documentation added.
8133         (leaveGroup): Removed FIXME, documentation added.
8134         (send): Documentation added.
8135         * java/net/Socket.java
8136         (inputShutdown): New variable.
8137         (outputShutdown): New variable.
8138         (Socket): Initialize new variables.
8139         (getRemoteSocketAddress): Check if connected.
8140         (shutdownInput): Set new variable.
8141         (shutdownOutput): Set new variable.
8142         (isConnected): New method.
8143         (isClosed): New method.
8144         (isInputShutdown): New method.
8145         (isOutputShutdown): New method.
8146         * java/net/URLStreamHandler.java
8147         (URLStreamHandler): New method.
8148         (openConnection): Added documentation.
8149         (parseURL): Added documentation.
8150         (getHostAddress): New method.
8151         (getDefaultPort): New method.
8152
8153 2002-10-02  Tom Tromey  <tromey@redhat.com>
8154
8155         * java/rmi/activation/ActivationDesc.java,
8156         java/rmi/activation/ActivationGroupDesc.java,
8157         java/rmi/activation/ActivationGroupID.java,
8158         java/rmi/activation/ActivationID.java: New versions from
8159         Classpath.
8160
8161 2002-09-30  Bo Thorsen  <bo@suse.de>
8162
8163         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8164
8165 2002-09-30  Tom Tromey  <tromey@redhat.com>
8166
8167         * java/io/ObjectInputStream.java (resolveProxyClass): New method
8168         from Classpath.
8169         * Makefile.in: Rebuilt.
8170         * Makefile.am (rmi_java_source_files): Added new files.
8171         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8172         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8173         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8174         Classpath.
8175         * gnu/java/rmi/dgc/DGCImpl.java,
8176         gnu/java/rmi/dgc/DGCImpl_Skel.java,
8177         gnu/java/rmi/dgc/DGCImpl_Stub.java,
8178         gnu/java/rmi/registry/RegistryImpl_Skel.java,
8179         gnu/java/rmi/registry/RegistryImpl_Stub.java,
8180         gnu/java/rmi/server/RMIHashes.java,
8181         gnu/java/rmi/server/RMIObjectInputStream.java,
8182         gnu/java/rmi/server/RMIObjectOutputStream.java,
8183         gnu/java/rmi/server/UnicastConnection.java,
8184         gnu/java/rmi/server/UnicastConnectionManager.java,
8185         gnu/java/rmi/server/UnicastRef.java,
8186         gnu/java/rmi/server/UnicastServer.java,
8187         gnu/java/rmi/server/UnicastServerRef.java,
8188         java/rmi/MarshalledObject.java,
8189         java/rmi/server/RMIClassLoader.java,
8190         java/rmi/server/RemoteObject.java,
8191         java/rmi/server/UnicastRemoteObject.java,
8192         java/security/SecureClassLoader.java: Merged from Classpath.
8193
8194 2002-09-29  Anthony Green  <green@redhat.com>
8195
8196         * java/lang/reflect/UndeclaredThrowableException.java: New file.
8197         Imported from GNU Classpath.
8198         * java/lang/reflect/natProxy.cc: New file.
8199         * java/lang/reflect/InvocationHandler.java: New file.  Imported
8200         from GNU Classpath.
8201         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
8202         Classpath.
8203         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8204         Classpath.
8205         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8206         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8207         New statics.
8208         * gcj/javaprims.h ("Java"): Add new classes.
8209         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8210         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8211         java/lang/reflect/Proxy$$ProxyType.h): And this.
8212         (inner_nat_headers): Add these new headers.
8213         (ordinary_java_source_files): Add new files.
8214         (nat_source_files): Add new file.
8215         * Makefile.in: Rebuilt.
8216
8217 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
8218
8219         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8220         a single configuration.
8221
8222 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8223
8224         * java/util/TimeZone.java (getDSTSavings): New method.
8225         Fixes PR libgcj/7786.
8226
8227 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8228
8229         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8230         to see if `the_method == 0' before looking up vtable index.
8231         Fixes PR libgcj/7709.
8232
8233 2002-09-25  Tom Tromey  <tromey@redhat.com>
8234
8235         * java/lang/natClassLoader.cc:
8236         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8237         * resolve.cc: Include NoClassDefFoundError.h, not
8238         ClassNotFoundException.h.
8239         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8240
8241         * defineclass.cc: Don't include ClassNotFoundException.h.
8242
8243         * resolve.cc: Include StringBuffer.
8244         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8245
8246         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8247         allocated but not initialized.
8248
8249 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8250
8251         Fix for PR libgcj/7766:
8252         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8253         (getNextEntry): Set it.
8254         (closeEntry): Likewise.
8255         (read): Likewise.
8256         (close): Likewise.
8257         (available): Use it.
8258
8259 2002-09-25  Michael Koch  <konqueror@gmx.de>
8260
8261         * java/net/DatagramSocket.java
8262         (DatagramSocket): Initialize new instance variables.
8263         (close): Reset new instance variables.
8264         (getLocalAddress): Remove unneeded SecurityManager usage.
8265         (getLocalPort): Check if socket is already bound.
8266         (isConnected): New method.
8267         (getInetAddress): Implemented.
8268         (getPort): Better Implementation, documentation fixed.
8269         (getRemoteSocketAddress): New method.
8270         * java/net/JarURLConnection.java
8271         (element): Typo fixed.
8272         (getMainAttributes): New method.
8273         (getAttributes): New method (stub only).
8274         (getManifest): New method (stub only).
8275         * java/net/NetPermission.java: Added serialVersionsUID.
8276         * java/net/Socket.java
8277         (connect): Check blocking mode of associated channel,
8278         documentation added.
8279         (getLocalSocketAddress): Better implementation.
8280         (getRemoteSocketAddress): Implemented.
8281         (isBound): New method.
8282         (setSendBufferSize): Documentation added.
8283         * java/net/SocketAddress.java: Added serialVersionsUID.
8284         * java/net/SocketPermission.java: Added serialVersionsUID.
8285         * java/net/URL.java
8286         (URL): Wrap for shorter lines, initialize new instance variables,
8287         documentation added.
8288         (equals): Check new instance variables too.
8289         (getContent): Documentation added.
8290         (getPath): Documentation added.
8291         (getAuthority): New method.
8292         (getHost): Documentation added.
8293         (getPort): Documentation added.
8294         (getDefaultPort): New method.
8295         (getProtocol): Documentation added.
8296         (getUserInfo): Documentation added.
8297         (set): Initialize new instance variables, documentation added.
8298         * java/net/URLStreamHandler.java
8299         (setURL): New method.
8300         * java/net/natPlainDatagramSocketImpl.cc
8301         (connect): Fix exception name.
8302         (disconnect): Fix exception name.
8303
8304 2002-09-25  Michael Koch  <konqueror@gmx.de>
8305
8306         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8307         * java/nio/channels/DatagramChannel.java:
8308         extends AbstractSelectableChannel
8309         * java/nio/channels/ServerSocketChannel.java:
8310         extends AbstractSelectableChannel
8311         * java/nio/channels/SocketChannel.java:
8312         extends AbstractSelectableChannel
8313         * Makefile.am (ordinary_java_source_files):
8314         java/nio/channels/spi/AbstractSelectableChannel.java added.
8315         * Makefile.in: Regenerated.
8316
8317 2002-09-25  Michael Koch  <konqueror@gmx.de>
8318
8319         * java/net/DatagramSocket.java
8320         (DatagramSocket): Exception documentation added.
8321         (bind): Exception documentation added, addded SecurityManager check,
8322         added SocketAddress type check.
8323         (getSoTimeout): Check impl.
8324         (receive): Fix SecurityManager check, check impl, documentation added.
8325         (send): Check channel mode, documentation added.
8326         (connect): New method.
8327         (disconnect): Implemented.
8328         (getLocalSocketAddress): New method.
8329         (getReceiveBufferSize): Check impl.
8330         (setReuseAddress): Check impl.
8331         (getReuseAddress): Check impl.
8332         (setBroadcast): Check impl.
8333         (getBroadcast): Check impl.
8334         (setTrafficClass): Check impl, Documentation cleared.
8335         (getTrafficClass): Check impl.
8336         (getSendBufferSize): Check impl.
8337         (setReceiveBufferSize): Check impl, documentation added.
8338         (setSendBufferSize): Documentation added.
8339         (setDatagramSocketImplFactory): New method.
8340         * java/net/HttpURLConnection.java
8341         (HTTP_INTERNAL_ERROR): The correct code is 500.
8342         (HTTP_NOT_IMPLEMENTED): Added new constant.
8343         (setFollowRedirects): Documentation added.
8344         (getInstanceFollowRedirects): New method.
8345         (setInstanceFollowRedirects): New method.
8346         (setRequestMethod): Documentation added.
8347         (getResponseCode): Documentation added.
8348         (getResponseMessage): Documentation added.
8349         * java/net/JarURLConnection.java
8350         (JarURLConnection): protected since JDK 1.4.
8351         (getJarEntry): java.io.IOException to IOException, documentation added.
8352         (getJarFile): Documentation added.
8353         * java/net/ServerSocket.java
8354         (ServerSocket): Private to public, exception added.
8355         (ServerSocket): java.io.IOException to IOException, documentation added.
8356         (bind): Check socket address type, documentation added.
8357         (bind): java.io.IOException to IOException, documentation added.
8358         (accept): Documentation added.
8359         (implAccept): Check ch is not non-blocking, documentation added.
8360         (setSoTimeout): Documentation fixed.
8361         (setReceiveBufferSize): Documentation added.
8362         * java/net/Socket.java
8363         (Socket): Documentation added.
8364         (bind): Documentation added.
8365         (connect): Check socket address type, documentation added.
8366         (getRemoteSocketAddress): New method.
8367         (getLocalSocketAddress): New method.
8368         (setSoLinger): Documentation added.
8369         (getReuseAddress): New method.
8370         (setReuseAddress): New method.
8371         (getTrafficClass): New method.
8372         (setTrafficClass): New method.
8373         * java/net/URLStreamHandler.java
8374         (openConnection): java.io.IOException to IOException.
8375         (parseURL): Documentation added.
8376         (sameFile): public to protected, documentation added.
8377         (setURL): Documentation added.
8378         * java/nio/IllegalBlockingModeException.java: New file.
8379         * Makefile.am (ordinary_java_source_files):
8380         added java/nio/IllegalBlockingModeException.java
8381         * Makefile.in: Regenerated.
8382
8383 2002-09-25  Michael Koch  <konqueror@gmx.de>
8384
8385         * java/net/DatagramPacket
8386         (DatagramPacket): Exception documentation added.
8387         (setData): Likewise.
8388         (setSocketAddress): Likewise.
8389         * java/net/DatagramSocketImpl.java
8390         (peek): Documentation addded.
8391         (peekData): Documentation addded.
8392         (send): Documentation addded.
8393         (receive): Documentation addded.
8394         (connect): New method.
8395         (disconnect): New method.
8396         (joinGroup): New abstract method.
8397         (leaveGroup): New abstract method.
8398         * java/net/InetSocketAddress.java
8399         (InetSocketAddress): Documentation added.
8400         (equals): final keyword added.
8401         (getAddress): final keyword added.
8402         (getHostName): final keyword added.
8403         (getPort): final keyword added.
8404         (hashCode): final keyword added.
8405         (isUnresolved): final keyword added.
8406         * java/net/MulticastSocket.java
8407         (MulticastSocket): Documentation added.
8408         (MulticastSocket): New method.
8409         (joinGroup): Documentation added.
8410         (joinGroup): New method.
8411         (leaveGroup): Documentation added.
8412         (leaveGroup): New method.
8413         (send): Documentation added.
8414         * java/net/NetworkInterface.java
8415         (getByName): Documentation added.
8416         (getByInetAddress): Documentation added.
8417         (getNetworkInterfaces): Documentation added.
8418         * java/net/PlainDatagramSocketImpl.java
8419         (connect): New method.
8420         (disconnect): New method.
8421         * java/net/SocketImpl.java
8422         (create): Documentation added.
8423         (shutdownInput): Convert public to protected, as it always was.
8424         (shutdownOutput): Convert public to protected, as it always was.
8425         * java/net/SocketOptions.java
8426         (whole file): Reintented.
8427         * java/net/URLClassLoader.java
8428         (URLClassLoader): SecurityManager check added, documentation added.
8429         (findResources): Documentation added.
8430         (findClass): Documentation added.
8431         (newInstance): More correct method arguments.
8432         * java/net/URLConnection.java
8433         (connect): Documentation added.
8434         (getContent): Documentation added.
8435         (getPermission): Documentation added.
8436         (getInputStream): Documentation added.
8437         (getOutputStream): Documentation added.
8438         (setDoInput): Throw correct exception, documentation added.
8439         (setDoOutput): Throw correct exception, documentation added.
8440         (setAllowUserInteraction): Throw correct exception, documentation added.
8441         (setUseCaches): Throw correct exception, documentation added.
8442         (setIfModifiedSince): Throw correct exception, documentation added.
8443         (setRequestProperty): Throw exception, documentation added.
8444         (addRequestProperty): Throw exception, documentation added.
8445         (getRequestProperty): Throw exception, documentation added.
8446         (getRequestProperties): Documentation added.
8447         (setContentHandlerFactory): Documentation added.
8448         (guessContentTypeFromName): protected to public.
8449         (setFileNameMap): Documentation added.
8450         * java/net/URLDecoder.java
8451         (URLDecoder): New method.
8452         (decode): Documentation added.
8453         (whole file): Reindented.
8454         * java/net/URLEncoder.java
8455         (encode): Documentation added.
8456         * java/net/natPlainDatagramSocketImpl.cc
8457         (connect): New method.
8458         (disconnect): New method.
8459         * javax/naming/RefAddr:
8460         (addrType): addrType was never final.
8461         (equals): Fix typo in method name.
8462         * javax/naming/BinaryRefAddr:
8463         (equals): Fix typo in method name.
8464
8465 2002-09-22  Tom Tromey  <tromey@redhat.com>
8466
8467         Fix for PR libgcj/6576:
8468         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8469         didn't find a given bundle.
8470         (getBundle): Don't require base bundle.
8471         (setParent): Removed old comment.
8472         (tryLocalBundle): Try components even if preceding components were
8473         empty.
8474
8475 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8476
8477         * Makefile.am (all-multi): Fix multilib parallel build.
8478
8479 2002-09-21  Michael Koch  <konqueror@gmx.de>
8480
8481         * java/net/Socket.java
8482         (sendUrgentData): New method.
8483         (getChannel): New method.
8484         * java/net/ServerSocket.java
8485         (getChannel): New method.
8486         (isBound): New method.
8487         * java/net/DatagramSocket.java
8488         (DatagramSocket): Two new methods.
8489         (bind): New method.
8490         (getChannel): New method.
8491         (isBound): New method.
8492         (send): Added newline to to make shorter lines.
8493         * java/net/PlainDatagramSocketImpl.java
8494         (mcastGrp): Added argument.
8495         (join): Use new mcastGrp.
8496         (leave): Use new mcastGrp.
8497         (joinGroup): New method.
8498         (leaveGroup): New method.
8499         * java/net/natPlainDatagramSocketImpl.cc
8500         (mcastGrp): Added argument, no yet really implemented.
8501         (getOption): Added newline for shorter lines.
8502         * java/net/natPlainSocketImpl.cc
8503         (read, setOption, getOption): Added newline for shorter lines.
8504
8505 2002-09-19  Tom Tromey  <tromey@redhat.com>
8506
8507        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8508        newly-created exception.
8509
8510 2002-09-18  Michael Koch  <konqueror@gmx.de>
8511
8512         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8513         java/util/regex/PatternSyntaxException.java:
8514         Merge with classpath, new files.
8515         * Makefile.am (core_java_source_files):
8516         Added java/util/regex/Matcher.java,
8517         java/util/regex/Pattern.java,
8518         java/util/regex/PatternSyntaxException.java
8519         * Makefile.in: Regenerated.
8520         * include/config.h.in: Added HAVE_NET_IF_H.
8521         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8522         Removed #if 0 ... #endif.
8523
8524 2002-09-17  Michael Koch  <konqueror@gmx.de>
8525
8526         * java/net/natNetworkInterface.cc:
8527         Removed unneed and yet wrong includes.
8528
8529 2002-09-17  Michael Koch  <konqueror@gmx.de>
8530
8531         * java/net/NetworkInterface.java: New file.
8532         * java/net/natNetworkInterface.java: New file.
8533         * configure.in: Added check for net/if.h.
8534         * configure: Regenerated.
8535         * Makefile.am
8536         (ordinary_java_source_files): Added NetworkInterface.java.
8537         (nat_source_files): Added natNetworkInterface.cc.
8538         * Makefile.in: Regenerated.
8539
8540 2002-09-16  Tom Tromey  <tromey@redhat.com>
8541
8542         * java/net/URLClassLoader.java (findClass): Code source for a
8543         class from a jar is not necessarily a jar: URL.
8544
8545 2002-09-16  Michael Koch  <konqueror@gmx.de>
8546
8547         * java/lang/AssertionError.java:
8548         Merge with classpath, fixes HTML.
8549         * java/rmi/server/LogStream.java:
8550         Merge with classpath, fixes some constants.
8551         * java/net/server/RemoteServer.java:
8552         Merge with classpath, adds serialVersionUID.
8553         * javax/naming/BinaryRefAddr.java:
8554         Merge with classpath, s/equal/equals/.
8555         * javax/naming/NamingException.java:
8556         Merge with classpath, fixed typo.
8557         * javax/naming/RefAddr.java:
8558         Merge with classpath, s/equal/equals/.
8559         * java/awt/Toolkit.java:
8560         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8561         and typo fixed.
8562
8563 2002-09-15  Adam Megacz <adam@xwt.org>
8564
8565         * java/net/natPlainSocketImpl.cc: fixed typo.
8566
8567 2002-09-15  Adam Megacz <adam@xwt.org>
8568
8569         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8570         which don't work on Win32 (yet).
8571
8572 2002-09-14  Adam Megacz <adam@xwt.org>
8573
8574         * java/net/natPlainDatagramSocket.cc: removed #include
8575         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8576         * include/win32.h: included definition for IP_TOS to satisfy
8577         natPlainDatagramSocket.cc
8578
8579 2002-09-13  Michael Koch  <konqueror@gmx.de>
8580
8581         * java/net/DatagramPacket.java (DatagramPacket):
8582         Added linebreak for 80 chars per line.
8583         * java/net/JarURLConection.java
8584         (getInputStreami, getJarEntry): Likewise.
8585         * java/net/SocketPErmission.java
8586         (SocketPermission class docu, implies): Likewise.
8587         * java/net/URLClassLoader.java (findResources): Likewise.
8588         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8589
8590 2002-09-13  Michael Koch  <konqueror@gmx.de>
8591
8592         * java/nio/channels/DatagramChannel.java,
8593         java/nio/channels/ServerSocketChannel.java
8594         java/nio/channels/SocketChannel.java:
8595         New dummy files to make java.net fully JDK 1.4 compatible
8596         * Makefile.am (ordinary_java_source_files): Added
8597         java/net/DatagramSocketImplFactory.java (long forgotten),
8598         java/nio/SocketChannel.java,
8599         java/nio/ServerSocketChannel.java,
8600         java/nio/DatagramChannel.java
8601         * Makefile.in: Regenrated.
8602
8603 2002-09-12  Michael Koch  <konqueror@gmx.de>
8604
8605         * java/net/DatagramSocketImpl.java
8606         (peekData): New method.
8607         * java/net/PlainDatagramSocketImpl.java
8608         (peekData): New method.
8609         * java/net/natPlainDatagramSocketImpl.cc
8610         (peekData): New method.
8611         * java/net/URLConnection
8612         (getPermission): New method.
8613         (addRequestProperty): New method.
8614         (getRequestProperties): New method.
8615         (guessContentTypeFromStream): New method, not really implemented.
8616         (URLConnection): Added/updated documentation.
8617         (connect): Added/updated documentation.
8618         (getURL): Added/updated documentation.
8619         (getContentLength): Added/updated documentation.
8620         (getContentType: Added/updated documentation.
8621         (getContentEncoding): Added/updated documentation.
8622         (getExpiration): Added/updated documentation.
8623         (getDate): Added/updated documentation.
8624         (getLastModified): Added/updated documentation.
8625         (getHeaderField): Added/updated documentation.
8626         (getHeaderFields): Added/updated documentation.
8627         (getHeaderFieldInt): Added/updated documentation.
8628         (getHeaderFieldDate): Added/updated documentation.
8629         (getHeaderFieldKey): Added/updated documentation.
8630         (getContent): Added/updated documentation.
8631         (getInputStream): Added/updated documentation.
8632         (getOutputStream): Added/updated documentation.
8633         (toString): Added/updated documentation.
8634         (setDoInput): Added/updated documentation.
8635         (getDoInput): Added/updated documentation.
8636         (setDoOutput): Added/updated documentation.
8637         (getDoOutput): Added/updated documentation.
8638         (setAllowUserInteraction): Added/updated documentation.
8639         (getAllowUserInteraction): Added/updated documentation.
8640         (setDefaultAllowUserInteraction): Added/updated documentation.
8641         (getDefaultAllowUserInteraction): Added/updated documentation.
8642         (setUseCaches): Added/updated documentation.
8643         (getUseCaches): Added/updated documentation.
8644         (setIfModifiedSince): Added/updated documentation.
8645         (getIfModifiedSince): Added/updated documentation.
8646         (getDefaultUseCaches): Added/updated documentation.
8647         (setDefaultUseCaches): Added/updated documentation.
8648         (setRequestProperty): Added/updated documentation.
8649         (getRequestProperty): Added/updated documentation.
8650         (setDefaultRequestProperty): Added/updated documentation.
8651         (getDefaultRequestProperty): Added/updated documentation.
8652         (setContentHandlerFactory): Added/updated documentation.
8653         (guessContentTypeFromName): Added/updated documentation.
8654         (getFileNameMap): Added/updated documentation.
8655         (setFileNameMap): Added/updated documentation.
8656
8657 2002-09-11  Michael Koch  <konqueror@gmx.de>
8658
8659         * java/net/Socket.java
8660         (Socket): protected to public (since JDK 1.4). Added @specnote.
8661         (bind): New method.
8662         (connect): Two new methods.
8663         (getKeepalive): Get correct socket option.
8664         (setKeepalive): Set correct socket option.
8665         (getOOBInline): New method.
8666         (setOOBInline): New method.
8667         * java/net/ServerSocket.java
8668         (bind): Two new methods.
8669         (getInetAddress): Reimplemented, catch exception.
8670         (getLocalSocketAddress): New method.
8671         (setReuseAddress): New method.
8672         (getReuseAdress): New method.
8673         (setReceiveBufferSize): New method.
8674         (getReceiveBufferSize): New method.
8675         (toString): Made string JDK 1.4 compliant.
8676
8677 2002-09-10  Michael Koch  <konqueror@gmx.de>
8678
8679         * java/net/SocketImpl.java
8680         (connect): New method.
8681         (supportsUrgentData): New method.
8682         (sendUrgentData): New method.
8683         * java/net/PlainSocketImpl.java
8684         (connect): One new method and two new implementation.
8685         (sendUrgentData): New method.
8686         * java/natPlainSocketImpl.cc
8687         (connect): Arguments changed, added support for timeouts.
8688         (getOption): Another __java_boolean to jboolean.
8689
8690 2002-09-07  Adam Megacz <adam@xwt.org>
8691
8692         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8693         definition of IP_TOS.
8694
8695 2002-09-04  Michael Koch  <konqueror@gmx.de>
8696
8697         * java/net/DatagramSocket.java
8698         (DatagramSocket): Added documentation.
8699         (close): Likewise.
8700         (getLocalAddress): Likewise.
8701         (getLocalPort): Likewise.
8702         (receive): Likewise.
8703         (send): Likewise.
8704         (setSoTimeout): Likewise.
8705         (connect): New method.
8706         (disconnect): New method.
8707         (getInetAddress): New method (FIXME)
8708         (getPort): New method.
8709         (setReuseAddress): New method.
8710         (getReuseAddress): New method.
8711         (setBroadcast): New method.
8712         (getBroadcast): New method.
8713         (setTrafficClass): New method.
8714         (getTrafficClass): New method.
8715         * java/net/MulticastSocket.java):
8716         (getTTL): Added @see in documentation.
8717         (setTTL): Added @see in documentation.
8718         (setLoopbackMode): New method.
8719         (getLoopbackMode): New method.
8720         * java/net/PlainSocketImpl.java:
8721         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8722         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8723         * java/net/PlainDatagramSocketImpl.java
8724         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8725         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8726         * java/net/natPlainSocketImpl.cc
8727         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8728         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8729         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8730         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8731         This should also fix SO_KEEPALIVE
8732         * java/net/natPlainDatagramSocketImpl.cc
8733         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8734         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8735         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8736         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8737
8738 2002-09-04  Michael Koch  <konqueror@gmx.de>
8739
8740         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8741         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8742         IP_MULTICAST_LOOP, IP_TOS
8743
8744 2002-09-03  Tom Tromey  <tromey@redhat.com>
8745
8746         * java/lang/Class.h (_getDeclaredMethod): Declare.
8747         (_getMethod): Now private.
8748         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8749         getDeclaredMethod.  Now returns NULL on failure.
8750         * java/lang/Class.java (_getDeclaredMethod): Declare.
8751         (getDeclaredMethod): No longer native; implements access checks.
8752
8753 2002-09-01  Mark Wielaard  <mark@klomp.org>
8754
8755         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8756         (sanitizeStack): Correctly reset unknown and interpreter counters,
8757         detect interpreter runtime frames.
8758         (demangleInterpreterMethod): New method.
8759         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8760         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8761         filling in addrs[].
8762
8763 2002-09-02  Michael Koch  <konqueror@gmx.de>
8764
8765         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8766         re-indented documentation.
8767
8768 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8769
8770         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8771         public, per 1.4 spec.  Fixes PR libgcj/7785.
8772
8773 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8774
8775         * Makefile.in: Rebuilt.
8776         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8777
8778 2002-08-29  Tom Tromey  <tromey@redhat.com>
8779
8780         * java/net/JarURLConnection.java (getCertificates): New method
8781         from Classpath.
8782         * java/net/URLClassLoader.java (URLClassLoader): Extends
8783         SecureClassLoader.
8784         (definePackage): New method from Classpath.
8785         (getPermissions): Likewise.
8786         (newInstance): Likewise.
8787         (findClass): Construct CodeSource for new class (from Classpath).
8788         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8789         methods.
8790         * java/net/URL.java (getUserInfo): New method.
8791         (set(String,String,int,String,String,String,String,String)): New
8792         method.
8793         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8794         (shutdownInput, shutdownOutput): Declare.
8795         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8796         Define.
8797         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8798         (getOption): Likewise.
8799         (shutdownInput): New method.
8800         (shutdownOutput): Likewise.
8801         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8802         keepalive.
8803         (getOption): Likewise.
8804         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8805         * java/net/Socket.java (setKeepAlive): New method.
8806         (getKeepAlive): Likewise.
8807         (shutdownInput, shutdownOutput): New methods.
8808
8809 2002-08-29  Michael Koch  <konqueror@gmx.de>
8810
8811         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8812         new methods are:
8813         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8814           address),
8815         DatagramPacket(byte[] buf, int length, SocketAddress address),
8816         void setSocketAddress(SocketAddress address)
8817         public SocketAddress getSocketAddress()
8818
8819 2002-08-29  Tom Tromey  <tromey@redhat.com>
8820
8821         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8822         ftruncate is missing.
8823         * configure, include/config.h.in: Rebuilt.
8824         * acconfig.h (HAVE_FTRUNCATE): Mention.
8825         * configure.in: Check for ftruncate.
8826
8827 2002-08-29  Tom Tromey  <tromey@redhat.com>
8828
8829         * include/jvm.h (struct _Jv_frame_info): New structure.
8830         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8831         java-interp.h.
8832         (lookupInterp): New method.
8833         (getAddrAsString): Use _Jv_frame_info.
8834         (dladdrLookup): Likewise.
8835         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8836         interpreted frame.
8837         (lookupInterp): Declare.
8838         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8839         (fillInStackTrace): Collect information on interpreted frames.
8840         Use _Jv_frame_info.
8841         * interpret.cc: Include Thread.h.
8842         (run): Create and push _Jv_MethodChain object.
8843         (_Jv_EndOfInterpreter): New global.
8844         * java/lang/Thread.java (interp_frame): New field.
8845         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8846         Include NameFinder.h.
8847
8848 2002-08-28  Tom Tromey  <tromey@redhat.com>
8849
8850         * java/lang/Class.h: Include Package.h.
8851         (Class::getProtectionDomain): Declare.
8852         (Class::getPackage): Declare.
8853
8854 2002-08-28  Michael Koch <konqueror@gmx.de>
8855
8856         * java/net/InetSocketAddress.java: Added some documentation and argument
8857         checks for the port numbers.
8858         * java/net/DatagramSocketImplFactory.java: New file.
8859
8860 2002-08-28  Michael Koch <konqueror@gmx.de>
8861
8862         * java/net/Authenticator.java: added some documentation.
8863
8864 2002-08-27  Tom Tromey  <tromey@redhat.com>
8865
8866         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8867         class.
8868         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8869
8870 2002-08-27  Michael Koch <konqueror@gmx.de>
8871
8872         * java/net/BindException.java,
8873         java/net/JarURLConnection.java,
8874         java/net/FileNameMap.java,
8875         java/net/HttpURLConnection.java,
8876         java/net/InetSocketAddress.java,
8877         java/net/DatagramPacket.java,
8878         java/net/DatagramSocket.java,
8879         java/net/DatagramSocketImpl.java,
8880         java/net/MulticastSocket.java,
8881         java/net/PasswordAuthentication.java,
8882         java/net/ServerSocket.java,
8883         java/net/Socket.java,
8884         java/net/URLClassLoader.java,
8885         java/net/URLConnection.java: add/update of some @since/@deprecated
8886
8887 2002-08-27  Tony Kimball <alk@pobox.com>
8888             Tom Tromey  <tromey@redhat.com>
8889
8890         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8891         define.
8892         (::close): Removed.
8893         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8894         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8895         (::close): Removed.
8896         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8897         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8898
8899 2002-08-25  Adam Megacz <adam@xwt.org>
8900
8901         * include/win32.h (getcwd): copied function declaration as
8902         temporary fix for header confusion.
8903
8904 2002-08-24  Mark Wielaard <mark@klomp.org>
8905
8906         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8907         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8908         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8909         and natNameFinder.cc.
8910         * Makefile.in: Regenerate.
8911         * prims.cc: Use trace_enabled from VMThrowable.
8912         * name-finder.cc: Removed.
8913         * gcj/javaprims.h: Add class VMThrowable.
8914         * gnu/gcj/runtime/NameFinder.java: New file.
8915         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8916         * include/name-finder.h: Removed.
8917         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8918         method stackTraceString().
8919         (printStackTrace (PrintWriter)): Likewise.
8920         (stackTraceString): Complete rewrite of old printStackTrace using
8921         StringBuffer.
8922         (stackTraceStringBuffer): New helper method for stackTraceString().
8923         (fillInStackTrace): Delegate to VMTrowable.
8924         (getStackTrace): Likewise.
8925         (getStackTrace0): Removed.
8926         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8927         (setStackTrace): Copy given array.
8928         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8929         * java/lang/VMThrowable.java: New class.
8930         * java/lang/natVMThrowable.cc: New file.
8931
8932 2003-08-23  Michael Koch  <konqueror@gmx.de>
8933
8934         * java/net/URLConnection.java,
8935         java/netJarURLConnection.java,
8936         gnu/gcj/protocol/core/Connection.java,
8937         gnu/gcj/protocol/file/Connection.java,
8938         gnu/gcj/protocol/http/Connection.java: Added implementation of
8939         getHeaderFields().
8940
8941 2002-08-22  Tom Tromey  <tromey@redhat.com>
8942
8943         * gij.cc (help): Document -cp and -classpath.
8944         (main): Handle -classpath.
8945
8946 2002-08-21  Tom Tromey  <tromey@redhat.com>
8947
8948         * Makefile.in: Rebuilt.
8949         * Makefile.am (ordinary_java_source_files): Added
8950         SocketAddress.java, InetSocketAddress.java.
8951         * java/net/PortUnreachableException.java: Merged with Classpath.
8952         * java/net/SocketTimeoutException.java: Likewise.
8953         * java/net/URISyntaxException.java: Likewise.
8954         * java/net/SocketAddress.java: New class from Classpath.
8955         * java/net/InetSocketAddress.java: Likewise.
8956
8957 2003-08-21  Michael Koch  <konqueror@gmx.de>
8958
8959         * java/net/Authenticator.java: updated JDK 1.4
8960         * java/net/ContentHandler.java: updated JDK 1.4
8961
8962 2002-08-20  Michael Koch  <konqueror@gmx.de>
8963
8964         * java/net/URISyntaxException.java: New file.
8965         * java/net/SocketTimeoutException.java: New file.
8966         * java/net/PortUnreachableException.java: New file.
8967         * Makefile.am: Updated.
8968         * Makefile.in: Rebuilt.
8969
8970 2002-08-18  Mark Wielaard  <mark@klomp.org>
8971
8972         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8973         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8974         MessageDigestSpi (fixes Classpath bug #783).
8975
8976 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8977
8978         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8979         (startProcess): Allocate path for chdir in async-signal-safe way.
8980
8981 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8982
8983         Fix for PR libgcj/7570 and PR libgcj/7578:
8984         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8985         (startProcess): Handle new `dir' argument.
8986         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8987         argument.
8988         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8989         argument.
8990         (startProcess): Likewise.
8991         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8992         argument.
8993         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8994         (exec): Don't create new environment if ENV==null.  Pass DIR to
8995         execInternal.
8996         * java/lang/natRuntime.cc: Include java/io/File.h.
8997         (execInternal): Added `dir' argument.
8998
8999 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
9000
9001         * java/io/RandomAccessFile.java (skipBytes): Return number of
9002         bytes skipped.
9003
9004 2002-08-01  Mark Wielaard  <mark@klomp.org>
9005
9006         Reenable patch since shared library troubles on powerpc are solved:
9007         * gnu/java/security/provider/Gnu.java: Reference all implementation
9008         classes by using Class.getName().
9009         * gnu/java/security/der/DEREncodingException.java,
9010         gnu/java/security/provider/DERReader.java,
9011         gnu/java/security/provider/DERWriter.java,
9012         gnu/java/security/provider/DSAKeyPairGenerator.java,
9013         gnu/java/security/provider/DSAParameterGenerator.java,
9014         gnu/java/security/provider/DSAParameters.java,
9015         gnu/java/security/provider/DSASignature.java,
9016         gnu/java/security/provider/GnuDSAPrivateKey.java,
9017         gnu/java/security/provider/GnuDSAPublicKey.java,
9018         gnu/java/security/provider/MD5.java,
9019         gnu/java/security/util/Prime.java: New classes
9020         * Makefile.am (ordinary_java_source_files): Add above files.
9021         * Makefile.in: Regenerate.
9022         * gnu/java/security/provider/DefaultPolicy.java
9023         (getPermissions): Don't maintain static class variable of Permissions.
9024         * gnu/java/security/provider/SHA.java
9025         (engineUpdate): algorithm change.
9026         (engineDigest): algorithm change.
9027
9028 2002-08-09  Mark Wielaard  <mark@klomp.org>
9029
9030         * java/awt/image/MemoryImageSource.java: Change constructor to take
9031         int[] not byte[].
9032         * java/awt/Graphics2D.java: Uncomment methods that can now be
9033         compiled.
9034         * java/awt/GridBagLayout.java: New stub implementation.
9035         * javax/swing/text/html/HTML.java: Stub implementation.
9036         * javax/swing/text/html/parser/ParserDelegator.java: New stub
9037         implementation.
9038
9039         * Makefile.am: Add new files.
9040         * Makefile.in: Rebuilt.
9041
9042 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9043
9044         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9045         methods in Graphics2D.
9046
9047 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9048
9049         AWT/Swing merge from GNU Classpath.
9050
9051         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9052         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9053         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9054         java/awt/color/ProfileDataException.java,
9055         java/awt/CompositeContext.java, java/awt/Composite.java,
9056         java/awt/ContainerOrderFocusTraversalPolicy.java,
9057         java/awt/datatransfer/FlavorTable.java,
9058         java/awt/DefaultFocusTraversalPolicy.java,
9059         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9060         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9061         java/awt/dnd/DragGestureListener.java,
9062         java/awt/dnd/DragGestureRecognizer.java,
9063         java/awt/dnd/DragSourceAdapter.java,
9064         java/awt/dnd/DragSourceContext.java,
9065         java/awt/dnd/DragSourceDragEvent.java,
9066         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9067         java/awt/dnd/DragSourceListener.java,
9068         java/awt/dnd/DragSourceMotionListener.java,
9069         java/awt/dnd/DropTarget.java,
9070         java/awt/dnd/InvalidDnDOperationException.java,
9071         java/awt/dnd/peer/DragSourceContextPeer.java,
9072         java/awt/event/AWTEventListenerProxy.java,
9073         java/awt/event/MouseWheelEvent.java,
9074         java/awt/event/MouseWheelListener.java,
9075         java/awt/event/WindowFocusListener.java,
9076         java/awt/event/WindowStateListener.java,
9077         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9078         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9079         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9080         java/awt/geom/FlatteningPathIterator.java,
9081         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9082         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9083         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9084         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9085         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9086         java/awt/image/ImagingOpException.java,
9087         java/awt/image/RasterFormatException.java,
9088         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9089         java/awt/image/VolatileImage.java,
9090         java/awt/image/WritableRenderedImage.java,
9091         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9092         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9093         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9094         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9095         java/awt/PageAttributes.java, java/awt/print/Book.java,
9096         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9097         java/awt/print/Paper.java, java/awt/print/Printable.java,
9098         java/awt/print/PrinterAbortException.java,
9099         java/awt/print/PrinterException.java,
9100         java/awt/print/PrinterGraphics.java,
9101         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9102         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9103         java/awt/Stroke.java, java/awt/TexturePaint.java,
9104         javax/accessibility/AccessibleAction.java,
9105         javax/accessibility/AccessibleBundle.java,
9106         javax/accessibility/AccessibleComponent.java,
9107         javax/accessibility/AccessibleContext.java,
9108         javax/accessibility/AccessibleEditableText.java,
9109         javax/accessibility/AccessibleExtendedComponent.java,
9110         javax/accessibility/AccessibleExtendedTable.java,
9111         javax/accessibility/AccessibleHyperlink.java,
9112         javax/accessibility/AccessibleHypertext.java,
9113         javax/accessibility/AccessibleIcon.java,
9114         javax/accessibility/Accessible.java,
9115         javax/accessibility/AccessibleKeyBinding.java,
9116         javax/accessibility/AccessibleRelation.java,
9117         javax/accessibility/AccessibleRelationSet.java,
9118         javax/accessibility/AccessibleResourceBundle.java,
9119         javax/accessibility/AccessibleRole.java,
9120         javax/accessibility/AccessibleSelection.java,
9121         javax/accessibility/AccessibleState.java,
9122         javax/accessibility/AccessibleStateSet.java,
9123         javax/accessibility/AccessibleTable.java,
9124         javax/accessibility/AccessibleTableModelChange.java,
9125         javax/accessibility/AccessibleText.java,
9126         javax/accessibility/AccessibleValue.java,
9127         javax/swing/AbstractAction.java,
9128         javax/swing/AbstractButton.java,
9129         javax/swing/AbstractCellEditor.java,
9130         javax/swing/AbstractListModel.java,
9131         javax/swing/AbstractSet.java, javax/swing/Action.java,
9132         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9133         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9134         javax/swing/border/CompoundBorder.java,
9135         javax/swing/border/EmptyBorder.java,
9136         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9137         javax/swing/border/LineBorder.java,
9138         javax/swing/border/MatteBorder.java,
9139         javax/swing/border/TitledBorder.java,
9140         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9141         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9142         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9143         javax/swing/CellRendererPane.java,
9144         javax/swing/colorchooser/AbstractColorChooserPanel.java,
9145         javax/swing/colorchooser/ColorChooserComponentFactory.java,
9146         javax/swing/colorchooser/ColorSelectionModel.java,
9147         javax/swing/colorchooser/DefaultColorSelectionModel.java,
9148         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9149         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9150         javax/swing/DefaultBoundedRangeModel.java,
9151         javax/swing/DefaultButtonModel.java,
9152         javax/swing/DefaultCellEditor.java,
9153         javax/swing/DefaultCellRenderer.java,
9154         javax/swing/DefaultComboBoxModel.java,
9155         javax/swing/DefaultDesktopManager.java,
9156         javax/swing/DefaultFocusManager.java,
9157         javax/swing/DefaultListCellRenderer.java,
9158         javax/swing/DefaultListModel.java,
9159         javax/swing/DefaultListSelectionModel.java,
9160         javax/swing/DefaultSingleSelectionModel.java,
9161         javax/swing/DesktopManager.java,
9162         javax/swing/event/AncestorEvent.java,
9163         javax/swing/event/AncestorListener.java,
9164         javax/swing/event/CaretEvent.java,
9165         javax/swing/event/CaretListener.java,
9166         javax/swing/event/CellEditorListener.java,
9167         javax/swing/event/ChangeEvent.java,
9168         javax/swing/event/ChangeListener.java,
9169         javax/swing/event/DocumentEvent.java,
9170         javax/swing/event/DocumentListener.java,
9171         javax/swing/event/EventListenerList.java,
9172         javax/swing/event/HyperlinkEvent.java,
9173         javax/swing/event/HyperlinkListener.java,
9174         javax/swing/event/InternalFrameAdapter.java,
9175         javax/swing/event/InternalFrameEvent.java,
9176         javax/swing/event/InternalFrameListener.java,
9177         javax/swing/event/ListDataEvent.java,
9178         javax/swing/event/ListDataListener.java,
9179         javax/swing/event/ListSelectionEvent.java,
9180         javax/swing/event/ListSelectionListener.java,
9181         javax/swing/event/MenuDragMouseEvent.java,
9182         javax/swing/event/MenuDragMouseListener.java,
9183         javax/swing/event/MenuEvent.java,
9184         javax/swing/event/MenuKeyEvent.java,
9185         javax/swing/event/MenuKeyListener.java,
9186         javax/swing/event/MenuListener.java,
9187         javax/swing/event/MouseInputAdapter.java,
9188         javax/swing/event/MouseInputListener.java,
9189         javax/swing/event/PopupMenuEvent.java,
9190         javax/swing/event/PopupMenuListener.java,
9191         javax/swing/event/SwingPropertyChangeSupport.java,
9192         javax/swing/event/TableColumnModelEvent.java,
9193         javax/swing/event/TableColumnModelListener.java,
9194         javax/swing/event/TableModelEvent.java,
9195         javax/swing/event/TableModelListener.java,
9196         javax/swing/event/TreeExpansionEvent.java,
9197         javax/swing/event/TreeExpansionListener.java,
9198         javax/swing/event/TreeModelEvent.java,
9199         javax/swing/event/TreeModelListener.java,
9200         javax/swing/event/TreeSelectionEvent.java,
9201         javax/swing/event/TreeSelectionListener.java,
9202         javax/swing/event/TreeWillExpandListener.java,
9203         javax/swing/event/UndoableEditEvent.java,
9204         javax/swing/event/UndoableEditListener.java,
9205         javax/swing/filechooser/FileFilter.java,
9206         javax/swing/filechooser/FileSystemView.java,
9207         javax/swing/filechooser/FileView.java,
9208         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9209         javax/swing/Icon.java, javax/swing/ImageIcon.java,
9210         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9211         javax/swing/JApplet.java, javax/swing/JButton.java,
9212         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9213         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9214         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9215         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9216         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9217         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9218         javax/swing/JLayeredPane.java, javax/swing/JList.java,
9219         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9220         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9221         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9222         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9223         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9224         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9225         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9226         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9227         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9228         javax/swing/JTextField.java, javax/swing/JTextPane.java,
9229         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9230         javax/swing/JToolTip.java, javax/swing/JTree.java,
9231         javax/swing/JViewport.java, javax/swing/JWindow.java,
9232         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9233         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9234         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9235         javax/swing/MenuSelectionManager.java,
9236         javax/swing/MutableComboBoxModel.java,
9237         javax/swing/OverlayLayout.java,
9238         javax/swing/plaf/ActionMapUIResource.java,
9239         javax/swing/plaf/basic/BasicBorders.java,
9240         javax/swing/plaf/basic/BasicButtonUI.java,
9241         javax/swing/plaf/basic/BasicCheckBoxUI.java,
9242         javax/swing/plaf/basic/BasicDefaults.java,
9243         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9244         javax/swing/plaf/basic/BasicIconFactory.java,
9245         javax/swing/plaf/basic/BasicLabelUI.java,
9246         javax/swing/plaf/basic/BasicListUI.java,
9247         javax/swing/plaf/basic/BasicLookAndFeel.java,
9248         javax/swing/plaf/basic/BasicOptionPaneUI.java,
9249         javax/swing/plaf/basic/BasicPanelUI.java,
9250         javax/swing/plaf/basic/BasicRadioButtonUI.java,
9251         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9252         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9253         javax/swing/plaf/basic/BasicTextUI.java,
9254         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9255         javax/swing/plaf/basic/BasicTreeUI.java,
9256         javax/swing/plaf/basic/BasicViewportUI.java,
9257         javax/swing/plaf/BorderUIResource.java,
9258         javax/swing/plaf/ButtonUI.java,
9259         javax/swing/plaf/ColorChooserUI.java,
9260         javax/swing/plaf/ColorUIResource.java,
9261         javax/swing/plaf/ComboBoxUI.java,
9262         javax/swing/plaf/ComponentInputMapUIResource.java,
9263         javax/swing/plaf/ComponentUI.java,
9264         javax/swing/plaf/DesktopIconUI.java,
9265         javax/swing/plaf/DesktopPaneUI.java,
9266         javax/swing/plaf/DimensionUIResource.java,
9267         javax/swing/plaf/FileChooserUI.java,
9268         javax/swing/plaf/FontUIResource.java,
9269         javax/swing/plaf/IconUIResource.java,
9270         javax/swing/plaf/InputMapUIResource.java,
9271         javax/swing/plaf/InsetsUIResource.java,
9272         javax/swing/plaf/InternalFrameUI.java,
9273         javax/swing/plaf/LabelUI.java,
9274         javax/swing/plaf/ListUI.java,
9275         javax/swing/plaf/MenuBarUI.java,
9276         javax/swing/plaf/MenuItemUI.java,
9277         javax/swing/plaf/OptionPaneUI.java,
9278         javax/swing/plaf/PanelUI.java,
9279         javax/swing/plaf/PopupMenuUI.java,
9280         javax/swing/plaf/ProgressBarUI.java,
9281         javax/swing/plaf/RootPaneUI.java,
9282         javax/swing/plaf/ScrollBarUI.java,
9283         javax/swing/plaf/ScrollPaneUI.java,
9284         javax/swing/plaf/SeparatorUI.java,
9285         javax/swing/plaf/SliderUI.java,
9286         javax/swing/plaf/SplitPaneUI.java,
9287         javax/swing/plaf/TabbedPaneUI.java,
9288         javax/swing/plaf/TableHeaderUI.java,
9289         javax/swing/plaf/TableUI.java,
9290         javax/swing/plaf/TextUI.java,
9291         javax/swing/plaf/ToolBarUI.java,
9292         javax/swing/plaf/ToolTipUI.java,
9293         javax/swing/plaf/TreeUI.java,
9294         javax/swing/plaf/UIResource.java,
9295         javax/swing/plaf/ViewportUI.java,
9296         javax/swing/ProgressMonitorInputStream.java,
9297         javax/swing/ProgressMonitor.java,
9298         javax/swing/Renderer.java,
9299         javax/swing/RepaintManager.java,
9300         javax/swing/RootPaneContainer.java,
9301         javax/swing/Scrollable.java,
9302         javax/swing/ScrollPaneConstants.java,
9303         javax/swing/ScrollPaneLayout.java,
9304         javax/swing/SingleSelectionModel.java,
9305         javax/swing/SizeRequirements.java,
9306         javax/swing/SizeSequence.java,
9307         javax/swing/SwingConstants.java,
9308         javax/swing/SwingUtilities.java,
9309         javax/swing/table/AbstractTableModel.java,
9310         javax/swing/table/DefaultTableCellRenderer.java,
9311         javax/swing/table/DefaultTableColumnModel.java,
9312         javax/swing/table/DefaultTableModel.java,
9313         javax/swing/table/TableCellEditor.java,
9314         javax/swing/table/TableCellRenderer.java,
9315         javax/swing/table/TableColumn.java,
9316         javax/swing/table/TableColumnModel.java,
9317         javax/swing/table/TableModel.java,
9318         javax/swing/text/AbstractDocument.java,
9319         javax/swing/text/AttributeSet.java,
9320         javax/swing/text/BadLocationException.java,
9321         javax/swing/text/Caret.java,
9322         javax/swing/text/CharacterIterator.java,
9323         javax/swing/text/ComponentView.java,
9324         javax/swing/text/DefaultCaret.java,
9325         javax/swing/text/DefaultEditorKit.java,
9326         javax/swing/text/Document.java,
9327         javax/swing/text/EditorKit.java,
9328         javax/swing/text/Element.java,
9329         javax/swing/text/GapContent.java,
9330         javax/swing/text/JTextComponent.java,
9331         javax/swing/text/Keymap.java,
9332         javax/swing/text/MutableAttributeSet.java,
9333         javax/swing/text/PlainDocument.java,
9334         javax/swing/text/PlainEditorKit.java,
9335         javax/swing/text/Position.java,
9336         javax/swing/text/Segment.java,
9337         javax/swing/text/StyledDocument.java,
9338         javax/swing/text/StyledEditorKit.java,
9339         javax/swing/text/Style.java,
9340         javax/swing/text/TextAction.java,
9341         javax/swing/text/ViewFactory.java,
9342         javax/swing/text/View.java,
9343         javax/swing/Timer.java,
9344         javax/swing/ToggleButtonModel.java,
9345         javax/swing/ToolTipManager.java,
9346         javax/swing/tree/AbstractLayoutCache.java,
9347         javax/swing/tree/DefaultMutableTreeNode.java,
9348         javax/swing/tree/DefaultTreeCellEditor.java,
9349         javax/swing/tree/DefaultTreeCellRenderer.java,
9350         javax/swing/tree/DefaultTreeModel.java,
9351         javax/swing/tree/DefaultTreeSelectionModel.java,
9352         javax/swing/tree/ExpandVetoException.java,
9353         javax/swing/tree/FixedHeightLayoutCache.java,
9354         javax/swing/tree/MutableTreeNode.java,
9355         javax/swing/tree/RowMapper.java,
9356         javax/swing/tree/TreeCellEditor.java,
9357         javax/swing/tree/TreeCellRenderer.java,
9358         javax/swing/tree/TreeModel.java,
9359         javax/swing/tree/TreeNode.java,
9360         javax/swing/tree/TreePath.java,
9361         javax/swing/tree/TreeSelectionModel.java,
9362         javax/swing/tree/VariableHeightLayoutCache.java,
9363         javax/swing/UIDefaults.java,
9364         javax/swing/UIManager.java,
9365         javax/swing/undo/AbstractUndoableEdit.java,
9366         javax/swing/undo/CannotRedoException.java,
9367         javax/swing/undo/CannotUndoException.java,
9368         javax/swing/undo/CompoundEdit.java,
9369         javax/swing/undo/StateEditable.java,
9370         javax/swing/undo/StateEdit.java,
9371         javax/swing/undo/UndoableEdit.java,
9372         javax/swing/undo/UndoableEditSupport.java,
9373         javax/swing/undo/UndoManager.java,
9374         javax/swing/UnsupportedLookAndFeelException.java,
9375         javax/swing/ViewportLayout.java,
9376         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9377
9378         * java/awt/ActiveEvent.java,
9379         java/awt/Adjustable.java, java/awt/AWTError.java,
9380         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9381         java/awt/AWTException.java, java/awt/AWTPermission.java,
9382         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9383         java/awt/Color.java, java/awt/Component.java,
9384         java/awt/ComponentOrientation.java, java/awt/Container.java,
9385         java/awt/datatransfer/MimeTypeParseException.java,
9386         java/awt/datatransfer/Transferable.java,
9387         java/awt/datatransfer/UnsupportedFlavorException.java,
9388         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9389         java/awt/event/ActionListener.java,
9390         java/awt/event/AdjustmentEvent.java,
9391         java/awt/event/AdjustmentListener.java,
9392         java/awt/event/AWTEventListener.java,
9393         java/awt/event/ComponentAdapter.java,
9394         java/awt/event/ComponentEvent.java,
9395         java/awt/event/ComponentListener.java,
9396         java/awt/event/ContainerAdapter.java,
9397         java/awt/event/ContainerEvent.java,
9398         java/awt/event/ContainerListener.java,
9399         java/awt/event/FocusAdapter.java,
9400         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9401         java/awt/event/HierarchyBoundsAdapter.java,
9402         java/awt/event/HierarchyBoundsListener.java,
9403         java/awt/event/HierarchyEvent.java,
9404         java/awt/event/HierarchyListener.java,
9405         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9406         java/awt/event/InputMethodListener.java,
9407         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9408         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9409         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9410         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9411         java/awt/event/MouseListener.java,
9412         java/awt/event/MouseMotionAdapter.java,
9413         java/awt/event/MouseMotionListener.java,
9414         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9415         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9416         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9417         java/awt/event/WindowListener.java, java/awt/Font.java,
9418         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9419         java/awt/geom/Ellipse2D.java,
9420         java/awt/geom/IllegalPathStateException.java,
9421         java/awt/geom/Line2D.java,
9422         java/awt/geom/NoninvertibleTransformException.java,
9423         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9424         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9425         java/awt/geom/RoundRectangle2D.java,
9426         java/awt/GraphicsConfiguration.java,
9427         java/awt/IllegalComponentStateException.java,
9428         java/awt/image/IndexColorModel.java,
9429         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9430         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9431         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9432         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9433         java/awt/MenuItem.java, java/awt/PaintContext.java,
9434         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9435         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9436         java/awt/PrintJob.java, java/awt/Rectangle.java,
9437         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9438         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9439         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9440
9441         * java/awt/im/spi/InputMethod.java,
9442         java/awt/im/spi/InputMethodContext.java,
9443         java/awt/im/spi/InputMethodDescriptor.java,
9444         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9445         java/awt/image/renderable/ParameterBlock.java,
9446         java/awt/image/renderable/RenderContext.java,
9447         java/awt/image/renderable/RenderableImage.java,
9448         java/awt/image/renderable/RenderableImageOp.java,
9449         java/awt/image/renderable/RenderableImageProducer.java,
9450         java/awt/image/renderable/RenderedImageFactory.java: New files from
9451         classpath.
9452
9453         * gnu/java/awt/EventModifier.java,
9454         gnu/java/awt/image/ImageDecoder.java,
9455         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9456
9457         * gnu/awt/xlib/XGraphicsConfiguration.java,
9458         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9459         API.
9460
9461         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9462         GNU Classpath.
9463
9464         * Makefile.am: Add new files.
9465         * Makefile.in: Rebuilt.
9466
9467 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9468
9469         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9470         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9471         findResource, getResources, findResources): Add javadoc from classpath.
9472         (getSystemResources): Implemented.
9473
9474 2002-08-01  Mark Wielaard  <mark@klomp.org>
9475
9476         Revert patch that breaks libgcj shared library on powerpc:
9477         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9478         implementation classes by using Class.getName(). Uses Strings again.
9479         * gnu/java/security/der/DEREncodingException.java,
9480         gnu/java/security/provider/DERReader.java,
9481         gnu/java/security/provider/DERWriter.java,
9482         gnu/java/security/provider/DSAKeyPairGenerator.java,
9483         gnu/java/security/provider/DSAParameterGenerator.java,
9484         gnu/java/security/provider/DSAParameters.java,
9485         gnu/java/security/provider/DSASignature.java,
9486         gnu/java/security/provider/GnuDSAPrivateKey.java,
9487         gnu/java/security/provider/GnuDSAPublicKey.java,
9488         gnu/java/security/provider/MD5.java,
9489         gnu/java/security/util/Prime.java: Removed.
9490         * Makefile.am (ordinary_java_source_files): Remove above files.
9491         * Makefile.in: Regenerate.
9492         * gnu/java/security/provider/DefaultPolicy.java
9493         (getPermissions): Revert to maintaining static class variable of
9494         Permissions.
9495         * gnu/java/security/provider/SHA.java
9496         (engineUpdate): Revert algorithm change.
9497         (engineDigest): Revert algorithm change.
9498
9499 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9500
9501         * configure.host: Add SH support.
9502         * sysdep/sh/locks.h: New file.
9503
9504 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9505
9506         * java/awt/Frame.java (Frame): Remove println calls.
9507
9508 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9509
9510         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9511         * configure: Rebuilt.
9512
9513 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9514
9515         * sysdep/powerpc/locks.h: Formatting.
9516         (_LARX): Define.
9517         (_STCX): Define.
9518         (compare_and_swap): Use _LARX and _STCX.
9519         (compare_and_swap_release): Likewise.
9520
9521 2002-07-26  Tom Tromey  <tromey@redhat.com>
9522
9523         * java/net/Authenticator.java: New version from Classpath.
9524         * java/net/DatagramSocketImpl.java: New version from Classpath.
9525
9526 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9527
9528         * configure.host: Add powerpc64*-* entry.
9529
9530 2002-07-26  Tom Tromey  <tromey@redhat.com>
9531
9532         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9533         fcntl.h.
9534
9535 2002-07-24  Tom Tromey  <tromey@redhat.com>
9536
9537         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9538         argument to _load.
9539
9540 2002-07-24  Tom Tromey  <tromey@redhat.com>
9541             Tony Kimball <alk@pobox.com>
9542
9543         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9544         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9545         * java/io/RandomAccessFile.java (setLength): New method.
9546         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9547         * java/io/FileDescriptor.java (setLength): New method.
9548
9549 2002-07-24  Mark Wielaard  <mark@klomp.org>
9550
9551         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9552         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9553         field call setAccessible(true).
9554         (setByteField): Likewise.
9555         (setCharField): Likewise.
9556         (setDoubleField): Likewise.
9557         (setFloatField): Likewise.
9558         (setIntField): Likewise.
9559         (setLongField): Likewise.
9560         (setShortField): Likewise.
9561         (setObjectField): Likewise.
9562
9563 2002-07-24  Tom Tromey  <tromey@redhat.com>
9564
9565         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9566         use toString() to format array element.
9567
9568 2002-07-23  Mark Wielaard  <mark@klomp.org>
9569
9570         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9571         MessageDigestSpi (fixes Classpath bug #783).
9572
9573 2002-07-21  Mark Wielaard  <mark@klomp.org>
9574
9575         * gnu/java/security/provider/Gnu.java: Reference all implementation
9576         classes by using Class.getName().
9577
9578 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9579
9580         * java/lang/ieeefp.h: Add x86-64 support.
9581         * configure.in: Likewise.
9582         * configure.host: Likewise.
9583         * configure: Regenerated.
9584         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9585
9586 2002-07-16  Mark Wielaard  <mark@klomp.org>
9587
9588         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9589         (whitespaceChars): call resetChar().
9590
9591 2002-07-15  Tom Tromey  <tromey@redhat.com>
9592
9593         * Makefile.in: Rebuilt.
9594         * Makefile.am (awt_java_source_files): Added new files.
9595         * java/beans/ExceptionListener.java: Merged with Classpath.
9596         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9597         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9598         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9599         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9600         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9601         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9602         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9603
9604 2002-07-14  Mark Wielaard  <mark@klomp.org>
9605
9606         * gnu/java/security/der/DEREncodingException.java,
9607         gnu/java/security/provider/DERReader.java,
9608         gnu/java/security/provider/DERWriter.java,
9609         gnu/java/security/provider/DSAKeyPairGenerator.java,
9610         gnu/java/security/provider/DSAParameterGenerator.java,
9611         gnu/java/security/provider/DSAParameters.java,
9612         gnu/java/security/provider/DSASignature.java,
9613         gnu/java/security/provider/GnuDSAPrivateKey.java,
9614         gnu/java/security/provider/GnuDSAPublicKey.java,
9615         gnu/java/security/provider/MD5.java,
9616         gnu/java/security/util/Prime.java: New files from Classpath.
9617         * Makefile.am (ordinary_java_source_files): Add new files.
9618         * Makefile.in: Regenerate.
9619
9620 2002-07-14  C. Brian Jones <cbj@gnu.org>
9621
9622         * gnu/java/security/provider/DefaultPolicy.java
9623         (getPermissions): do not maintain static class variable of
9624         Permissions
9625         * gnu/java/security/provider/SHA.java
9626         (engineUpdate): algorithm change
9627         (engineDigest): algorithm change
9628
9629 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9630
9631         For PR libgcj/7292:
9632         * java/lang/Character.java (toString(char)): Now static.
9633
9634 2002-07-12  Mark Wielaard  <mark@klomp.org>
9635
9636         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9637         (getStackTrace0): new method.
9638         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9639         (printStackTrace(PrintWriter)): replace with pure java implementation.
9640         (printRawStackTrace): removed.
9641         (getStackTrace0): new method.
9642         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9643         * gcj/javaprims.h: regenerate class list.
9644         * include/name-finder.h (lookup): new returns StackTraceElement*.
9645         (method_name, file_name): fields removed.
9646         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9647         (~_Jv_name_finder): close new descriptors.
9648         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9649         (createStackTraceElement): new method.
9650         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9651
9652 2002-07-10  Tom Tromey  <tromey@redhat.com>
9653
9654         * configure: Rebuilt.
9655         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9656
9657 2002-07-08  Mark Wielaard  <mark@klomp.org>
9658
9659         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9660         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9661         java.sql.DatabaseMetaData.TestJdbc20
9662
9663 2002-07-05  Tony Kimball  <alk@pobox.com>
9664
9665         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9666
9667 2002-07-04  Tom Tromey  <tromey@redhat.com>
9668             Jeff Sturm  <jsturm@one-point.com>
9669
9670         Fix for PR libgcj/7060:
9671         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9672         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9673         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9674         * java/lang/Class.java (getMethod): New Java implementation;
9675         complies with spec.
9676         (_getMethod): New native method.
9677
9678 2002-07-02  Tom Tromey  <tromey@redhat.com>
9679             David Hovemeyer  <daveho@cs.umd.edu>
9680
9681         * java/text/ChoiceFormat.java
9682         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9683         in check loop.
9684         * java/text/MessageFormat.java
9685         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9686         to MessageFormat.
9687
9688 2002-07-01  Tom Tromey  <tromey@redhat.com>
9689
9690         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9691         StringTokenizer on null string.  For PR libgcj/7180.
9692         From daveho@cs.umd.edu.
9693
9694 2002-06-24  Tom Tromey  <tromey@redhat.com>
9695
9696         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9697         (IntegerClass): Likewise.
9698         * java/lang/natClass.cc (CloneableClass): Removed.
9699         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9700         ConstructorClass): Likewise.
9701         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9702         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9703         SerializableClass): Likewise.
9704         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9705         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9706         LongClass, FloatClass, DoubleClass): Likewise.
9707
9708         * verify.cc (branch_prepass): Updated for change to exception
9709         handler type.
9710         (verify_instructions_0): Likewise.
9711         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9712         (handleExceptionTableEntry): Updated for change to exception
9713         handler type.
9714         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9715         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9716         (union _Jv_InterpPC): New.
9717         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9718         (class _Jv_InterpMethod): Added new `prepared' field.
9719         (class _Jv_InterpMethod): Added `compile' method.  Removed
9720         `continue1' and `find_exception'.  Changed arguments to `run'.
9721         * interpret.cc (union insn_slot): New.
9722         (find_exception): Removed.
9723         (run_normal): Removed most logic.
9724         (run_synch_object): Likewise; also, use JvSynchronize.
9725         (run_synch_class): Likewise.
9726         (run): Removed.
9727         (continue1): Renamed as `run'.  Compile bytecode if required.
9728         Add new code to allow refinement of direct-threaded code at
9729         runtime.  Handle exceptions.
9730         (SAVE_PC): Removed.
9731         (compile): New method.
9732         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9733         (NULLARRAYCHECK): Don't use SAVE_PC.
9734         (pc_t): New typedef.
9735         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9736         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9737
9738 2002-06-23  Tom Tromey  <tromey@redhat.com>
9739
9740         * configure: Rebuilt.
9741         * configure.in (INTERPRETER): New subst.
9742         (AM_RUNTESTFLAGS): Don't subst.
9743
9744         * Makefile.in: Rebuilt.
9745         * Makefile.am ($(srcdir)/java/lang/Object.h,
9746         $(srcdir)/java/lang/Class.h): Added dummy targets.
9747
9748 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9749
9750         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9751
9752         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9753         java/sql/Savepoint.java: New files.
9754         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9755         java/sql/Blob.java, java/sql/CallableStatement.java,
9756         java/sql/Clob.java, java/sql/Connection.java,
9757         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9758         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9759         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9760         java/sql/Ref.java, java/sql/ResultSet.java,
9761         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9762         java/sql/SQLException.java, java/sql/SQLInput.java,
9763         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9764         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9765         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9766         (JDK 1.4) specification.
9767         * javax/sql/ConnectionEvent.java,
9768         javax/sql/ConnectionEventListener.java,
9769         javax/sql/ConnectionPoolDataSource.java,
9770         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9771         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9772         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9773         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9774         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9775         javax/sql/XADataSource.java: New files.
9776         * Makefile.am: Add new files.
9777         * Makefile.in: Rebuilt.
9778
9779 2002-06-20  Tom Tromey  <tromey@redhat.com>
9780
9781         For PR libgcj/7073:
9782         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9783         exists.
9784         * defineclass.cc (handleClassBegin): Superclass for interface is
9785         `null'.
9786
9787 2002-06-18  Tom Tromey  <tromey@redhat.com>
9788
9789         * gcj/javaprims.h: Updated class declaration list.
9790         * Makefile.in: Rebuilt.
9791         * Makefile.am (core_java_source_files): Removed
9792         BasicMapEntry.java.
9793         * java/util/BasicMapEntry.java: Removed.
9794
9795 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9796
9797         * java/net/natPlainDatagramSocketImpl.cc (receive):
9798         Check bounds of argument to FD_SET.
9799         (setOption): Throw exception if socket is closed.
9800
9801         * java/net/natPlainSocketImpl.cc (accept, read):
9802         Check bounds of argument to FD_SET.
9803         (setOption): Throw exception if socket is closed.
9804
9805 2002-06-18  Tom Tromey  <tromey@redhat.com>
9806
9807         * gcj/javaprims.h: Updated class declaration list.
9808         * Makefile.in: Rebuilt.
9809         * Makefile.am (core_java_source_files): Added
9810         PropertyPermissionCollection.java.
9811         * java/lang/Thread.java (group, name): Now package-private.
9812         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9813         * java/util/AbstractList.java: Likewise.
9814         * java/util/AbstractMap.java: Likewise.
9815         * java/util/Calendar.java: Likewise.
9816         * java/util/Collections.java: Likewise.
9817         * java/util/HashMap.java: Likewise.
9818         * java/util/Hashtable.java: Likewise.
9819         * java/util/LinkedHashMap.java: Likewise.
9820         * java/util/LinkedList.java: Likewise.
9821         * java/util/List.java: Likewise.
9822         * java/util/ListResourceBundle.java: Likewise.
9823         * java/util/Map.java: Likewise.
9824         * java/util/Observable.java: Likewise.
9825         * java/util/Properties.java: Likewise.
9826         * java/util/PropertyPermission.java: Likewise.
9827         * java/util/PropertyPermissionCollection.java: Likewise.
9828         * java/util/PropertyResourceBundle.java: Likewise.
9829         * java/util/Random.java: Likewise.
9830         * java/util/SimpleTimeZone.java: Likewise.
9831         * java/util/StringTokenizer.java: Likewise.
9832         * java/util/TimerTask.java: Likewise.
9833         * java/util/TreeMap.java: Likewise.
9834         * java/util/WeakHashMap.java: Likewise.
9835         * java/util/jar/Attributes.java: Likewise.
9836         * java/util/jar/JarException.java: Likewise.
9837         * java/util/jar/Manifest.java: Likewise.
9838
9839 2002-06-17  Tom Tromey  <tromey@redhat.com>
9840
9841         * gcj/javaprims.h: Updated class declaration list.
9842         * Makefile.in: Rebuilt.
9843         * Makefile.am (core_java_source_files): Added new file.
9844         * java/util/EventListenerProxy.java: New file.
9845         * java/util/EventListener.java: Re-merge with Classpath.
9846         * java/util/EventObject.java: Re-merge with Classpath.
9847
9848 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9849
9850         * java/lang/ClassNotFoundException.java: New Classpath version.
9851
9852 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9853
9854         * java/rmi/activation/ActivateFailedException.java: Remerge from
9855         Classpath version.
9856         * java/rmi/activation/ActivationException.java: Ditto.
9857         * java/rmi/activation/UnknownGroupException.java: Ditto.
9858         * java/rmi/activation/UnknownObjectException.java: Ditto.
9859         * java/rmi/server/ExportException: Ditto.
9860         * java/rmi/server/ServerCloneException: Ditto.
9861         * java/rmi/server/ServerNotActiveException: Ditto.
9862         * java/rmi/server/SkeletonMismatchException: Ditto.
9863         * java/rmi/server/SkeletonNotFoundException: Ditto.
9864         * java/rmi/server/SocketSecurityException: Ditto.
9865
9866 2002-06-16  Tom Tromey  <tromey@redhat.com>
9867
9868         * gcj/javaprims.h: Updated class declaration list.
9869
9870         * java/io/LineNumberInputStream.java: Merged with Classpath.
9871
9872         * java/lang/RuntimeException.java: Re-merge with Classpath.
9873         * java/util/ArrayList.java: Likewise.
9874         * java/util/Arrays.java: Likewise.
9875         * java/util/BitSet.java: Likewise.
9876         * java/util/Dictionary.java: Likewise.
9877         * java/util/IdentityHashMap.java: Likewise.
9878         * java/util/MissingResourceException.java: Likewise.
9879         * java/util/Observer.java: Likewise.
9880         * java/util/TooManyListenersException.java: Likewise.
9881         * java/util/zip/DataFormatException.java: Likewise.
9882         * java/util/zip/ZipException.java: Likewise.
9883
9884 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9885
9886         * java/rmi/AccessException.java: Remerge from Classpath.
9887         * java/rmi/AlreadyBoundException.java: Ditto.
9888         * java/rmi/ConnectException.java: Ditto.
9889         * java/rmi/ConnectIOException.java: Ditto.
9890         * java/rmi/MarshalException.java: Ditto.
9891         * java/rmi/NoSuchObjectException.java: Ditto.
9892         * java/rmi/NotBoundException.java: Ditto.
9893         * java/rmi/RemoteException.java: Ditto.
9894         * java/rmi/RMISecurityException.java: Ditto.
9895         * java/rmi/ServerError.java: Ditto.
9896         * java/rmi/ServerException.java: Ditto.
9897         * java/rmi/ServerRuntimeException.java: Ditto.
9898         * java/rmi/StubNotFoundException.java: Ditto.
9899         * java/rmi/UnexpectedExcpetion.java: Ditto.
9900         * java/rmi/UnknownHostException.java: Ditto.
9901         * java/rmi/UnmarshalException.java: Ditto.
9902
9903 2002-06-15  Tom Tromey  <tromey@redhat.com>
9904
9905         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9906         * java/lang/ArithmeticException.java: Likewise.
9907         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9908         * java/lang/ArrayStoreException.java: Likewise.
9909         * java/lang/Byte.java: Likewise.
9910         * java/lang/CharSequence.java: Likewise.
9911         * java/lang/ClassCastException.java: Likewise.
9912         * java/lang/ClassCircularityError.java: Likewise.
9913         * java/lang/ClassFormatError.java: Likewise.
9914         * java/lang/CloneNotSupportedException.java: Likewise.
9915         * java/lang/Cloneable.java: Likewise.
9916         * java/lang/Comparable.java: Likewise.
9917         * java/lang/Compiler.java: Likewise.
9918         * java/lang/Error.java: Likewise.
9919         * java/lang/ExceptionInInitializerError.java: Likewise.
9920         * java/lang/IllegalAccessError.java: Likewise.
9921         * java/lang/IllegalAccessException.java: Likewise.
9922         * java/lang/IllegalArgumentException.java: Likewise.
9923         * java/lang/IllegalMonitorStateException.java: Likewise.
9924         * java/lang/IllegalStateException.java: Likewise.
9925         * java/lang/IllegalThreadStateException.java: Likewise.
9926         * java/lang/IncompatibleClassChangeError.java: Likewise.
9927         * java/lang/IndexOutOfBoundsException.java: Likewise.
9928         * java/lang/InheritableThreadLocal.java: Likewise.
9929         * java/lang/InstantiationError.java: Likewise.
9930         * java/lang/InstantiationException.java: Likewise.
9931         * java/lang/InternalError.java: Likewise.
9932         * java/lang/InterruptedException.java: Likewise.
9933         * java/lang/LinkageError.java: Likewise.
9934         * java/lang/NegativeArraySizeException.java: Likewise.
9935         * java/lang/NoClassDefFoundError.java: Likewise.
9936         * java/lang/NoSuchFieldError.java: Likewise.
9937         * java/lang/NoSuchFieldException.java: Likewise.
9938         * java/lang/NoSuchMethodError.java: Likewise.
9939         * java/lang/NoSuchMethodException.java: Likewise.
9940         * java/lang/NullPointerException.java: Likewise.
9941         * java/lang/NumberFormatException.java: Likewise.
9942         * java/lang/OutOfMemoryError.java: Likewise.
9943         * java/lang/Process.java: Likewise.
9944         * java/lang/Runnable.java: Likewise.
9945         * java/lang/RuntimePermission.java: Likewise.
9946         * java/lang/SecurityException.java: Likewise.
9947         * java/lang/Short.java: Likewise.
9948         * java/lang/StackOverflowError.java: Likewise.
9949         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9950         * java/lang/ThreadDeath.java: Likewise.
9951         * java/lang/ThreadLocal.java: Likewise.
9952         * java/lang/UnknownError.java: Likewise.
9953         * java/lang/UnsatisfiedLinkError.java: Likewise.
9954         * java/lang/UnsupportedClassVersionError.java: Likewise.
9955         * java/lang/UnsupportedOperationException.java: Likewise.
9956         * java/lang/VerifyError.java: Likewise.
9957         * java/lang/VirtualMachineError.java: Likewise.
9958         * java/lang/reflect/InvocationTargetException.java: Likewise.
9959         * java/net/BindException.java: Likewise.
9960         * java/net/ConnectException.java: Likewise.
9961         * java/net/MalformedURLException.java: Likewise.
9962         * java/net/NoRouteToHostException.java: Likewise.
9963         * java/net/ProtocolException.java: Likewise.
9964         * java/net/SocketException.java: Likewise.
9965         * java/net/UnknownHostException.java: Likewise.
9966         * java/net/UnknownServiceException.java: Likewise.
9967
9968         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9969         * java/io/CharConversionException.java: Likewise.
9970         * java/io/EOFException.java: Likewise.
9971         * java/io/FileNotFoundException.java: Likewise.
9972         * java/io/IOException.java: Likewise.
9973         * java/io/InterruptedIOException.java: Likewise.
9974         * java/io/InvalidClassException.java: Likewise.
9975         * java/io/InvalidObjectException.java: Likewise.
9976         * java/io/NotActiveException.java: Likewise.
9977         * java/io/NotSerializableException.java: Likewise.
9978         * java/io/ObjectStreamException.java: Likewise.
9979         * java/io/ObjectStreamConstants.java: Likewise.
9980         * java/io/OptionalDataException.java: Likewise.
9981         * java/io/PipedInputStream.java: Likewise.
9982         * java/io/PushbackInputStream.java: Likewise.
9983         * java/io/StreamCorruptedException.java: Likewise.
9984         * java/io/SyncFailedException.java: Likewise.
9985         * java/io/UTFDataFormatException.java: Likewise.
9986         * java/io/UnsupportedEncodingException.java: Likewise.
9987         * java/io/WriteAbortedException.java: Likewise.
9988
9989 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9990
9991         * java/text/ChoiceFormat.java: Update comments from Classpath.
9992         * java/text/ParseException.java (serialVersionUID): New
9993         field from Classpath.
9994         * java/text/ParseException.java: Update formatting & comments
9995         from Classpath.
9996
9997 2002-06-15  Tom Tromey  <tromey@redhat.com>
9998
9999         * java/util/zip/InflaterInputStream.java (read): Loop if data has
10000         been read but none output by inflater.
10001         * java/util/zip/natDeflater.cc (reset): Set is_finished.
10002         * java/util/zip/natInflater.cc (reset): Set dist_needed and
10003         is_finished.
10004         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10005         version.
10006         * java/util/zip/ZipFile.java: Replaced with Classpath version.
10007         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10008         * java/util/zip/ZipInputStream.java: Replaced with Classpath
10009         version.
10010         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10011
10012 2002-06-13  Tom Tromey  <tromey@redhat.com>
10013
10014         * java/lang/natString.cc (init): Handle case where DONT_COPY is
10015         true and OFFSET!=0.
10016         * java/lang/String.java (String(char[],int,int,boolean): New
10017         constructor.
10018         * java/lang/Long.java: Imported new version from Classpath.
10019         * java/lang/Number.java: Likewise.
10020         * java/lang/Integer.java: Likewise.
10021         * java/lang/Long.java: Likewise.
10022         * java/lang/Float.java: Likewise.
10023         * java/lang/Boolean.java: Likewise.
10024         * java/lang/Double.java: Likewise.
10025         * java/lang/Void.java: Likewise.
10026
10027 2002-06-12  Tom Tromey  <tromey@redhat.com>
10028
10029         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10030         Fixes PR libgcj/6652.
10031
10032 2002-06-10  Tom Tromey  <tromey@redhat.com>
10033
10034         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10035         (Class::getPackagePortion): Likewise.
10036         * java/lang/Class.java (desiredAssertionStatus): New method from
10037         Classpath.
10038         (getPackagePortion): Likewise.
10039         * java/lang/VMClassLoader.java (defaultAssertionStatus,
10040         packageAssertionStatus, classAssertionStatus): New methods from
10041         Classpath.
10042         * java/lang/ClassLoader.java (defaultAssertionStatus,
10043         systemPackageAssertionStatus, packageAssertionStatus,
10044         systemClassAssertionStatus, classAssertionStatus): New fields from
10045         Classpath.
10046         (setDefaultAssertionStatus, setPackageAssertionStatus,
10047         setClassAssertionStatus, clearAssertionStatus): New methods from
10048         Classpath.
10049         * Makefile.in: Rebuilt.
10050         * Makefile.am (core_java_source_files): Added AssertionError.java.
10051         * java/lang/AssertionError.java: New from Classpath.
10052
10053 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10054
10055         * configure.host: Disable hash synchronization and slow_pthread_self
10056         for cygwin.
10057
10058 2002-06-06  Adam Megacz <adam@xwt.org>
10059
10060         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10061         locking, just like the Sun JVM does.
10062
10063 2002-06-05  H.J. Lu  (hjl@gnu.org)
10064
10065         * Makefile.am (libgcj_convenience.la): Revert the last change.
10066         (libgcj.la): Likewise.
10067         * Makefile.in: Regenerated.
10068
10069 2002-06-04  H.J. Lu  (hjl@gnu.org)
10070
10071         * Makefile.am (libgcj_convenience.la): New target.
10072         (libgcj.la): Depend on libgcj_convenience.la.
10073         * Makefile.in: Regenerated.
10074
10075 2002-06-04  H.J. Lu  (hjl@gnu.org)
10076
10077         * configure.in (--with-newlib): New option:
10078         Check ${with_newlib} instead of ${with_cross_host} for newlib.
10079         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10080         Linux.
10081         * configure: Regenerated.
10082
10083 2002-06-04  Tom Tromey  <tromey@redhat.com>
10084
10085         * java/util/natTimeZone.cc: Include <stdio.h>.
10086
10087 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
10088
10089         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10090         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10091         Set SIGNAL_HANDLER=include/s390-linux.h.
10092         * configure: Regenerate.
10093         * include/s390-linux.h: New file.
10094
10095 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10096
10097         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10098         not "stackTrace".
10099
10100 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10101
10102         Merge JDK 1.4 java.security changes from classpath.
10103
10104         * java/security/AccessControlException.java: Merge from Classpath.
10105         * java/security/AccessController.java: Likewise.
10106         * java/security/AllPermission.java: Likewise.
10107         * java/security/BasicPermission.java: Likewise.
10108         * java/security/Certificate.java: Likewise.
10109         * java/security/CodeSource.java: Likewise.
10110         * java/security/DigestException.java: Likewise.
10111         * java/security/DigestOutputStream.java: Likewise.
10112         * java/security/DomainCombiner.java: Likewise.
10113         * java/security/GeneralSecurityException.java: Likewise.
10114         * java/security/Guard.java: Likewise.
10115         * java/security/GuardedObject.java: Likewise.
10116         * java/security/InvalidAlgorithmParameterException.java: Likewise.
10117         * java/security/InvalidKeyException.java: Likewise.
10118         * java/security/InvalidParameterException.java: Likewise.
10119         * java/security/Key.java: Likewise.
10120         * java/security/KeyException.java: Likewise.
10121         * java/security/KeyManagementException.java: Likewise.
10122         * java/security/KeyStoreException.java: Likewise.
10123         * java/security/MessageDigest.java: Likewise.
10124         * java/security/NoSuchAlgorithmException.java: Likewise.
10125         * java/security/NoSuchProviderException.java: Likewise.
10126         * java/security/Permission.java: Likewise.
10127         * java/security/PermissionCollection.java: Likewise.
10128         * java/security/Permissions.java: Likewise.
10129         * java/security/Policy.java: Likewise.
10130         * java/security/Principal.java: Likewise.
10131         * java/security/PrivateKey.java: Likewise.
10132         * java/security/PrivilegedAction.java: Likewise.
10133         * java/security/PrivilegedActionException.java: Likewise.
10134         * java/security/PrivilegedExceptionAction.java: Likewise.
10135         * java/security/ProtectionDomain.java: Likewise.
10136         * java/security/ProviderException.java: Likewise.
10137         * java/security/PublicKey.java: Likewise.
10138         * java/security/SecureClassLoader.java: Likewise.
10139         * java/security/SecurityPermission.java: Likewise.
10140         * java/security/SignatureException.java: Likewise.
10141         * java/security/UnrecoverableKeyException.java: Likewise.
10142         * java/security/UnresolvedPermission.java: Likewise.
10143         * java/security/acl/AclNotFoundException.java: Likewise.
10144         * java/security/acl/LastOwnerException.java: Likewise.
10145         * java/security/acl/NotOwnerException.java: Likewise.
10146         * java/security/cert/CRLException.java: Likewise.
10147         * java/security/cert/CertificateEncodingException.java: Likewise.
10148         * java/security/cert/CertificateException.java: Likewise.
10149         * java/security/cert/CertificateExpiredException.java: Likewise.
10150         * java/security/cert/CertificateFactory.java: Likewise.
10151         * java/security/cert/CertificateNotYetValidException.java: Likewise.
10152         * java/security/cert/CertificateParsingException.java: Likewise.
10153         * java/security/spec/InvalidKeySpecException.java: Likewise.
10154         * java/security/spec/InvalidParameterSpecException.java: Likewise.
10155
10156         * java/security/cert/CertPath.java: New file.
10157         * java/security/cert/CertPathBuilderException.java: New file.
10158         * java/security/cert/CertPathValidatorException.java: New file.
10159         * java/security/cert/CertStoreException.java: New file.
10160
10161         * Makefile.am: Add new CertPath classes.
10162         * Makefile.in: Rebuilt.
10163
10164         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10165
10166 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10167
10168         Merge JDK 1.4 exception chaining support from classpath.
10169
10170         * java/lang/Throwable.java: Merge 1.4 support from classpath.
10171         (stackTraceBytes): Rename from stackTrace.
10172         * java/lang/Exception.java: Merge from classpath.
10173         * java/lang/StackTraceElement: New file from classpath.
10174         * gcj/javaprims.h: Rebuild CNI namespace declarations.
10175         * Makefile.am: Add StackTraceElement.
10176         * Makefile.in: Rebuilt.
10177
10178 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10179
10180         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10181         they build first.
10182         * Makefile.in: Rebuilt.
10183
10184 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10185
10186         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10187         * configure.in: Likewise.
10188         * aclocal.m4: Regenerate.
10189         * configure: Regenerate.
10190
10191 2002-05-13  Tom Tromey  <tromey@redhat.com>
10192
10193         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10194         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10195         Include platform.h.
10196
10197         Fixes PR libgcj/6389:
10198         * Makefile.in: Rebuilt.
10199         * Makefile.am (nat_source_files): Added natTimeZone.cc.
10200         * java/util/natTimeZone.cc: New file.
10201         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10202         * java/lang/System.java: Merged with Classpath.
10203         * java/lang/Runtime.java: Merged with Classpath.
10204         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10205         security check.
10206         (setIn0): Renamed from setIn; don't run security check.
10207         (setOut0): Renamed from setOut; don't run security check.
10208         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10209         init_properties): Moved to natRuntime.cc.
10210         Moved many includes to natRuntime.cc.
10211         (isWordsBigEndian): New method.
10212         * java/lang/natRuntime.cc: Include Long.h, also other includes
10213         previously in natSystem.cc.
10214         (maxMemory): New function.
10215         (exitInternal): Renamed from `_exit'.
10216         (exit): Removed.
10217         (init): Don't set finalize_on_exit.
10218         (exitInternal): Use `finalizeOnExit'.
10219         (file_encoding, getpwuid_adaptor): New functions from
10220         natSystem.cc.
10221         (insertSystemProperties): New method, renamed from
10222         System::init_properties.  Don't set user.timezone.
10223         (_load): Don't call checkLink.
10224         (execInternal): New method.
10225         (availableProcessors): Likewise.
10226         (nativeGetLibname): Likewise.
10227
10228 2002-05-11  Mark Wielaard  <mark@klomp.org>
10229
10230         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10231         space characters.
10232         (previous_internal): Likewise.
10233
10234 2002-05-09  Tom Tromey  <tromey@redhat.com>
10235
10236         * jni.cc (_Jv_JNIFunctions): Fixed typo.
10237
10238         * java/util/ResourceBundle.java: New version from Classpath.
10239         * java/util/Locale.java: Likewise.
10240
10241 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
10242
10243         * testsuite/lib/libjava.exp (libjava_arguments): Append all
10244         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10245         LD_LIBRARY_PATH.
10246
10247 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
10248
10249         * libjava/Makefile.am (all_java_source_files): New variable.
10250         (all_java_class_files): Likewise.
10251         .java.class: New rule.
10252         (CLEANFILES): Remove tmp-list.
10253         * libjava/Makefile.in: Regenerated.
10254
10255 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
10256
10257         * testsuite/lib/libjava.exp (test_libjava_from_javac):
10258         Append .exe to executable names.  Fix for cygwin.
10259
10260 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
10261
10262         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10263         script entry, and set LD to it when configuring multilibs.
10264         * configure: Rebuilt.
10265
10266 2002-05-07  Tom Tromey  <tromey@redhat.com>
10267
10268         * java/lang/natString.cc (unintern): Fixed typo.
10269
10270 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10271
10272         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10273         with -no-install on *-*-cygwin*.
10274
10275 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10276
10277         * testsuite/lib/libjava.exp (test_libjava_from_source):
10278         Add comment explaining last patch
10279
10280 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
10281
10282         * testsuite/lib/libjava.exp (test_libjava_from_source):
10283         Append .exe to executable names.  If no suffix is present,
10284         then ".exe" is added by default on win32.  Harmless
10285         elsewhere so always do it.
10286
10287 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
10288             Tom Tromey  <tromey@redhat.com>
10289
10290         * java/lang/natSystem.cc (getSystemTimeZone): Use
10291         HAVE_UNDERSCORE_TIMEZONE.
10292         * include/config.h.in: Rebuilt.
10293         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10294         * aclocal.m4, configure: Rebuilt.
10295         * acinclude.m4: Run AC_EXEEXT.
10296         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10297         Add test for `_timezone'.
10298
10299 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10300
10301         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10302         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10303         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10304         * Makefile.in: Rebuilt.
10305
10306 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10307
10308         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10309         use sigaction instead of __libc_sigaction.
10310
10311 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10312
10313         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10314         (libjava_init): Use it to find libgcj.spec.
10315         (libjava_arguments): Likewise.
10316
10317 2002-05-02  David S. Miller  <davem@redhat.com>
10318
10319         PR bootstrap/6525
10320         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10321         __libc_sigaction on Sparc.
10322
10323 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10324
10325         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10326         sys/filio.h, if present.
10327
10328 2002-04-30  Tom Tromey  <tromey@redhat.com>
10329
10330         * java/io/BufferedReader.java (fill): Handle case where markPos
10331         point to ignored \n.  Fixes PR libgcj/6301.
10332
10333 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10334
10335         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10336
10337 2002-04-29  Adam King <aking@dreammechanics.com>
10338
10339         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10340         of file in APPEND mode.
10341
10342 2002-04-25  David S. Miller  <davem@redhat.com>
10343
10344         PR target/6422
10345         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10346         program counter to next program counter minus 8.  Update
10347         comments in this macro to explain why.
10348
10349 2002-04-26  Tom Tromey  <tromey@redhat.com>
10350
10351         * verify.cc (construct_primitive_array_type) [void_type]: New
10352         case.
10353         (branch_prepass): Added dummy entries for unused instruction
10354         values.
10355         (verify_instructions_0): Likewise.
10356         * interpret.cc (continue1): Comment fix.
10357         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10358         * Makefile.in: Rebuilt.
10359         * Makefile.am: Added -Wswitch-enum.
10360
10361 2002-04-24  Tom Tromey  <tromey@redhat.com>
10362
10363         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10364         correct length of UTF-8 encoded name.  Strip leading `/'.
10365         (_Jv_RegisterResource): Use _Jv_Malloc.
10366
10367 2002-04-23  Adam Megacz <adam@xwt.org>
10368
10369         * win32.cc, include/win32.cc (backtrace): Added this function
10370         because Win32 does not supply it.
10371
10372 2002-04-21  David S. Miller  <davem@redhat.com>
10373
10374         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10375         magic instruction reading sequence.
10376
10377 2002-04-21  Mark Wielaard  <mark@klomp.org>
10378
10379         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10380
10381 2002-04-19  David S. Miller  <davem@redhat.com>
10382
10383         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10384         arg.
10385         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10386         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10387         on Sparc too.
10388         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10389         for 64-bit sparc.
10390         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10391         * sysdeps/sparc/locks.h: New file.
10392         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10393         on all sparc Solaris configurations.  Set to
10394         include/dwarf2-signal.h on sparc Linux.
10395         * configure: Regenerate
10396         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10397
10398 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10399
10400         * configure: Rebuilt.
10401         * configure.in (backtrace): Function doesn't work on IA-64.
10402
10403 2002-04-17  Adam King <aking@dreammechanics.com>
10404
10405         * java/io/File.java (normalizePath): Add Win32 support for auto
10406         conversion of a '/' path separator to Win32's '\' separator.
10407
10408 2002-04-16  Tom Tromey  <tromey@redhat.com>
10409
10410         Fix for PR libgcj/6081:
10411         * Makefile.in: Rebuilt.
10412         * Makefile.am (install-data-local): Use GNU make trick to avoid
10413         shell limit.
10414
10415 2002-04-16  Adam King <aking@dreammechanics.com>
10416             Tom Tromey  <tromey@redhat.com>
10417
10418         * java/io/natFileWin32.cc (performList): Return the correct array
10419         type.  Don't duplicate the creation of a File since it's already
10420         done earlier in the method and the existing code would cause a
10421         ArrayStoreException.  Don't use fixed-size array.
10422         (_access, _stat, attr, getCanonicalPath, performMkdir,
10423         performRenameTo): Don't use fixed-size array.
10424         (getCanonicalPath): Use throw, not _Jv_Throw.
10425
10426 2002-04-15  DJ Delorie  <dj@redhat.com>
10427
10428         * configure.in: Allow building in $srcdir.
10429         * configure: Regenerated.
10430
10431 2002-04-14  Mark Wielaard <mark@klomp.org>
10432
10433         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10434         * java/net/natSocketImpl.cc (close): Likewise.
10435
10436 2002-04-14  Mark Wielaard <mark@klomp.org>
10437
10438         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10439
10440 2002-04-13  Adam King <aking@dreammechanics.com>
10441
10442         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10443         the f/F/d/D modifiers.
10444
10445 2002-04-12  Anthony Green  <green@redhat.com>
10446
10447         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10448         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10449         * Makefile.in: Rebuilt.
10450         * configure.in: Substitute gcc_version.
10451         * configure: Rebuilt.
10452
10453 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10454
10455         * configure.host: Set can_unwind_signal on hosts which support it.
10456         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10457         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10458         exceptions and can_unwind_signal isn't set.
10459         * configure: Rebuilt.
10460
10461 2002-04-11  Tom Tromey  <tromey@redhat.com>
10462
10463         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10464
10465 2002-04-11  Adam King <aking@dreammechanics.com>
10466             Tom Tromey  <tromey@redhat.com>
10467
10468         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10469         _Jv_ThrowNullPointerException): Mark as noreturn.
10470         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10471         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10472         fixes.
10473
10474 2002-04-10  Tom Tromey  <tromey@redhat.com>
10475
10476         * Makefile.in: Rebuilt.
10477         * Makefile.am (java/lang/Thread.h): Mark
10478         _Jv_AttachCurrentThreadAsDaemon as friend.
10479         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10480         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10481         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10482         function.
10483         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10484         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10485         (_Jv_JNI_InvokeFunctions): Added
10486         _Jv_JNI_AttachCurrentThreadAsDaemon.
10487         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10488         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10489         (JNI_CreateJavaVM): Likewise.
10490         (_Jv_JNI_AttachCurrentThread): Likewise.
10491         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10492         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10493         (_Jv_JNIFunctions): Initialize new fields.
10494         (_Jv_JNI_NewDirectByteBuffer): New function.
10495         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10496         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10497         * include/jni.h (JNI_VERSION_1_4): New macro.
10498         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10499         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10500         (JNINativeInterface::NewDirectByteBuffer): New field.
10501         (JNINativeInterface::GetDirectBufferAddress): New field.
10502         (JNINativeInterface::GetDirectBufferCapacity): New field.
10503         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10504         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10505         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10506
10507 2002-04-09  Tom Tromey  <tromey@redhat.com>
10508
10509         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10510
10511 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10512
10513         Fix for PR libgcj/6187:
10514         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10515         distance.
10516
10517 2002-04-07  Mark Wielaard <mark@klomp.org>
10518
10519         * java/util/AbstractMap.java (putAll): Use entrySet size.
10520         (toString): Explicitly use getKey() and getValue().
10521
10522 2002-04-07  Mark Wielaard <mark@klomp.org>
10523
10524         * java/util/Hashtable.java (contains): Remove NullPointer check.
10525         (containsValue): Add NullPointer check.
10526         (remove): Always throw NullPointerException when key
10527         is null.
10528
10529 2002-04-07  Adam King <aking@dreammechanics.com>
10530
10531         * java/lang/natSystem.cc (init_properties): Call new function
10532         _Jv_platform_initProperties.
10533         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10534         support for the System properties os.name, os.arch, os.version,
10535         user.name, user.home, and user.dir.
10536         * include/posix.h, include/win32.h, posix.cc: New function
10537         _Jv_platform_initProperties.
10538
10539 2002-04-06  Mark Wielaard <mark@klomp.org>
10540
10541         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10542
10543 2002-04-06  Mark Wielaard <mark@klomp.org>
10544
10545         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10546         all of the remaining elements.
10547         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10548         (removeRange): If toIndex == fromIndex do
10549         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10550         (removeAll): Always throw NullPointerException when collection is
10551         null.
10552         (retrainAll): Likewise.
10553
10554 2002-04-05  Mark Wielaard <mark@klomp.org>
10555
10556         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10557         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10558
10559 2002-04-05  Adam Megacz <adam@xwt.org>
10560
10561         * exception.cc (abort): added static modifier
10562
10563 2002-04-04  Adam Megacz <adam@xwt.org>
10564
10565         * include/win32.h (_Jv_platform_close_on_exec): added inline
10566         modifier.
10567
10568 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10569
10570         * configure.host: Add case statement to support generic port
10571         properties.  Add *-*-freebsd* section.
10572
10573 2002-04-04  Mark Wielaard  <mark@klomp.org>
10574
10575         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10576         test.
10577         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10578         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10579         that depend on awt code and BufferedByteOutputStream.interrupt.
10580
10581 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10582
10583         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10584         incorrect "hi" value when count > 40.
10585
10586 2002-04-03  Mark Wielaard  <mark@klomp.org>
10587
10588         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10589         ordering.
10590
10591 2002-04-02  Tom Tromey  <tromey@redhat.com>
10592
10593         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10594         not `0'.
10595
10596 2002-04-02  Mark Wielaard  <mark@klomp.org>
10597
10598         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10599         list of testsuite crashers.
10600
10601 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10602
10603         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10604         when resizing table.
10605
10606 2002-04-01  Mark Wielaard  <mark@klomp.org>
10607
10608         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10609         NegativeArraySizeException
10610         (clear(int)): Use sign extended shift.
10611         (flip(int)): Likewise.
10612         (get(int)): Likewise.
10613         (nextClearBit(int)): Likewise.
10614         (nextSetBit(int)): Likewise.
10615         (set(int)): Likewise.
10616
10617 2002-04-01  Mark Wielaard  <mark@klomp.org>
10618
10619         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10620         that can be compiled now and add testsuite crashers to ignore list.
10621
10622 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10623
10624         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10625
10626         * libgcj.spec.in: Override libgcc, not lib.
10627         * libgcj-test.spec.in: Likewise.
10628
10629 2002-03-29  Tom Tromey  <tromey@redhat.com>
10630
10631         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10632         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10633
10634 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10635
10636         * java/net/PlainDatagramSocketImpl.java
10637         (close): Use native implementation.
10638         (finalize): New method.
10639
10640         * java/net/PlainSocketImpl.java (finalize): New method.
10641
10642         * java/net/natPlainDatagramSocketImpl.cc
10643         (java/io/FileDescriptor.h): Don't include.
10644         (close): Implement method here.
10645         (create): Don't assign fd.
10646
10647         * java/net/natPlainSocketImpl.cc
10648         (java/io/FileDescriptor.h): Don't include.
10649         (create): Don't assign fd.
10650         (accept): Likewise.
10651         (close): Synchronize.
10652
10653 2002-03-27  Richard Henderson  <rth@redhat.com>
10654
10655         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10656
10657 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10658
10659         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10660         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10661         instead of syscall on IA-64.
10662         Add FIXME comment.
10663
10664 2002-03-27  Anthony Green  <green@redhat.com>
10665
10666         * libgcj.spec.in: Add CHECKREFSPEC.
10667         * configure.in: Ditto.
10668         * configure.host: Ditto.  Check references for xscale-elf.
10669         * configure: Rebuilt.
10670
10671 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10672
10673         * include/dwarf2-signal.h: Temporarily back out last change.
10674
10675 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10676
10677         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10678
10679 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10680
10681         * configure.in, configure: enable dwarf2-exception-style
10682         exception handling on IA-64.
10683         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10684         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10685         Add FIXME comment.
10686
10687 2002-03-25  Tom Tromey  <tromey@redhat.com>
10688
10689         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10690         (jv_convert_LDFLAGS): Likewise.
10691         (gij_LDFLAGS): Likewise.
10692         (rmic_LDFLAGS): Likewise.
10693         (rmiregistry_LDFLAGS): Likewise.
10694         * configure.in (THREADLDFLAGS): New subst; set correctly for
10695         *BSD.
10696
10697 2002-03-25  Tom Tromey  <tromey@redhat.com>
10698
10699         For PR libgcj/5303:
10700         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10701         and --version.
10702         (help): New method.
10703         (version): Likewise.
10704         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10705         "GNU".
10706         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10707         "GNU".
10708
10709 2002-03-25  Tom Tromey  <tromey@redhat.com>
10710
10711         * java/awt/Component.java (processEvent): Check ComponentEvent
10712         after KeyEvent.
10713
10714 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10715
10716         * java/io/PushbackReader.java: Reformat.
10717
10718         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10719         calculate correct number of bytes skipped.
10720
10721         Based on patch from Intel's ORP team:
10722         * java/io/PushbackInputStream.java (available): Calculate correct
10723         number of bytes in buffer.
10724         (read): Remove redundant bound check. Return bytes from both the
10725         buffer and the stream.
10726
10727 2002-03-24  Tom Tromey  <tromey@redhat.com>
10728
10729         * java/awt/TextComponent.java (TextComponent): Editable by
10730         default.
10731
10732         * java/awt/MenuItem.java (eventMask): No longer private.
10733         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10734         superclass if we didn't handle event.
10735         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10736         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10737         * java/awt/Choice.java (dispatchEventImpl): New method.
10738         * java/awt/List.java (dispatchEventImpl): New method.
10739         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10740         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10741         * java/awt/TextField.java (dispatchEventImpl): New method.
10742
10743 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10744
10745         * java/beans/IntrospectionException.java: Update to 1.4.
10746         * java/beans/PropertyVetoException.java: Ditto.
10747
10748 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10749
10750         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10751         Arrays.equals instead of ArrayHelper.equalsArray.
10752
10753 2002-03-24  C. Brian Jones <cbj@gnu.org>
10754
10755         * java/beans/Introspector.java: added new static final fields
10756         introduced in 1.2, lots of other updates remain to be done
10757
10758 2002-03-24  C. Brian Jones <cbj@gnu.org>
10759
10760         * java/beans/Introspector.java: reformatting
10761
10762 2002-03-24  C. Brian Jones <cbj@gnu.org>
10763
10764         * java/beans/Introspector.java: default beanInfoSearchPath will
10765         not include sun.beans.infos given we provide no such package and
10766         the API doesn't really require it; gnu.java.beans.info is the
10767         default.
10768
10769 2002-03-24  Mark Wielaard  <mark@klomp.org>
10770
10771         Thanks to Orp developers
10772         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10773         switch TRUE and FALSE return values.
10774
10775 2002-03-23  Tom Tromey  <tromey@redhat.com>
10776
10777         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10778         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10779
10780 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10781
10782         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10783         MONTH entry.  Fixes PR libgcj/6045.
10784
10785 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10786
10787         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10788
10789 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10790
10791         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10792         not release_set.
10793         * sysdep/powerpc/locks.h (write_barrier): New function.
10794         * sysdep/i386/locks.h (write_barrier): New function.
10795
10796 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10797
10798         * include/jni.h Use correct C comments.
10799
10800 2002-03-18  Tom Tromey  <tromey@redhat.com>
10801
10802         * include/jni.h (JNIIMPORT): New macro.
10803         (JNIEXPORT): Likewise.
10804         (JNICALL): Likewise.
10805
10806 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10807
10808         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10809         systems.
10810
10811 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10812
10813         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10814         INIT_SEGV: Use old_i386_kernel_sigaction.
10815         INIT_FP: Likewise.
10816
10817 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10818
10819         * java/lang/natSystem.cc (init_properties): Update VM version
10820         properties.
10821         * configure.in: Set GCJVERSION.
10822         * acconfig.h: Add GCJVERSION.
10823         * configure: Rebuilt.
10824         * include/config.h.in: Rebuilt.
10825
10826 2002-03-17  Anthony Green  <green@redhat.com>
10827
10828         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10829
10830 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10831
10832         Build a single libgcj.so, without separate gc and zlib libraries.
10833         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10834         SYS_ZLIBS if system zlib is used.
10835         * configure: Rebuilt.
10836         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10837         * Makefile.in: Rebuilt.
10838         * libtool-version: Increment .so version number.
10839
10840         * Makefile.am: Escape quotes in echo.
10841         * Makefile.in: Rebuilt.
10842
10843 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10844
10845         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10846         * Makefile.in: Rebuilt.
10847
10848 2002-03-15  Anthony Green  <green@redhat.com>
10849
10850         * configure.host (FILE): New macro for specifing File
10851         implementation.
10852         * configure: Rebuilt.
10853         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10854
10855 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10856
10857         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10858         already implicitly brought in from libgcj.la.
10859         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10860         * Makefile.in: Rebuilt.
10861
10862 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10863
10864         * THANKS: Fix punctuation, alphabetization.
10865
10866 2002-03-15  Tom Tromey  <tromey@redhat.com>
10867             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10868
10869         Fix for PR libgcj/5944.
10870         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10871
10872 2002-03-15  Anthony Green  <green@redhat.com>
10873
10874         * configure.in (tool_include_dir): Define.
10875         * configure: Rebuilt.
10876         * gcj/Makefile.am: Install libgcj-config.h relative to
10877         tool_include_dir.
10878         * gcj/Makefile: Rebuilt.
10879         * gcj/libgcj-config.h: Add warning comment.
10880
10881 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10882
10883         * configure.host (powerpc*-darwin*): Enable interpreter.
10884
10885 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10886
10887         * include/posix.h: Add multiple include header protection.
10888         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10889
10890 2002-03-10  Adam Megacz <adam@xwt.org>
10891
10892         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10893
10894 2002-03-10  Tom Tromey  <tromey@redhat.com>
10895
10896         * java/awt/GridLayout.java (layoutContainer): Handle case where
10897         there are no items in container.
10898
10899         * java/lang/Win32Process.java: Added comment.
10900         * include/posix.h (_Jv_platform_close_on_exec): New function.
10901         Include fcntl.h.
10902         * include/win32.h (_Jv_platform_close_on_exec): New function.
10903         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10904         flag.
10905         (accept): Likewise.
10906         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10907         close-on-exec flag.
10908         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10909         flag.
10910
10911 2002-03-09  Tom Tromey  <tromey@redhat.com>
10912
10913         * verify.cc (state::NO_STACK): New constant.
10914         (state::is_unmerged_ret_state): Handle case where stacktop is
10915         NO_STACK.
10916         (state::merge): Handle NO_STACK merges.
10917         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10918         for instruction following jsr.
10919         (stacktop, stackdepth): Removed unused variables.
10920         (pop_jump): Ignore case where all remaining states are skipped.
10921
10922 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10923
10924         * java/awt/ImageMediaEntry: Removed.
10925         * java/awt/MediaEntry: Removed.
10926
10927 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10928
10929         Hashtable synchronization for PowerPC.
10930         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10931         slow_pthread_self. Set up symlink for sysdeps directory.
10932         * configure: Rebuild.
10933         * configure.host: Document more shell variables. Set sysdeps_dir
10934         for most platforms. Set slow_pthread_self for i686. Set
10935         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10936         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10937         that memory barrier is emitted where required.
10938         * prims.cc: 64-bit align static primitive class instances.
10939         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10940         read_barrier() to enforce ordering of reads.
10941         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10942         primitives for PowerPC.
10943         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10944         moved from natObject.cc.
10945         * sysdep/alpha/locks.h: Likewise.
10946         * sysdep/ia64/locks.h: Likewise.
10947         * sysdep/generic/locks.h: Likewise.
10948         * java/lang/natObject.cc: Move thread synchronization primitives to
10949         system-dependent headers.
10950
10951 2002-03-09  Adam Megacz  <adam@xwt.org>
10952
10953         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10954         bytes read and no failure code returned.
10955
10956 2002-03-09  Adam Megacz  <adam@xwt.org>
10957
10958         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10959         definitions to simulate -mthreads.
10960
10961 2002-03-09  Adam Megacz  <adam@xwt.org>
10962
10963         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10964         avoid precision loss.
10965
10966 2002-03-09  Per Bothner  <per@bothner.com>
10967
10968         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10969         * gnu/gcj/xlib/XImage.java:  Likewise.
10970         * gnu/gcj/xlib/XColor.java:  Likewise.
10971
10972 2002-03-09  Adam Megacz  <adam@xwt.org>
10973
10974         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10975         IOException so that Throwable.printStackTrace fails correctly.
10976
10977 2002-03-08  Adam Megacz  <adam@xwt.org>
10978
10979         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10980         fixed.
10981
10982 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10983
10984         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10985         truncated to int.
10986
10987 2002-03-08  Tom Tromey  <tromey@redhat.com>
10988
10989         * include/jni.h: Include stdio.h.
10990
10991 2002-03-08  Tom Tromey  <tromey@redhat.com>
10992
10993         * posix.cc (internal_gettimeofday): New function.
10994         (_Jv_select): Use it.
10995
10996 2002-03-07  Adam Megacz  <adam@xwt.org>
10997
10998         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10999         WIN32, and added thunks for read(), write(), and close().
11000         * java/net/natPlainSocketImpl.cc (accept, read, read):
11001         Disabled timeouts on WIN32 pending discussion.
11002
11003 2002-03-07  Adam Megacz  <adam@xwt.org>
11004
11005         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11006         returns jlong. Added implementation
11007         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11008         returns jlong.
11009         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11010         returns jlong.
11011         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11012         returns jlong.
11013         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11014         _Jv_platform_gettimeofday signature.
11015
11016 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11017
11018         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11019         (read): Call recv() directly, not _Jv_recv().
11020
11021 2002-03-06  Tom Tromey  <tromey@redhat.com>
11022
11023         * java/io/natFileDescriptorEcos.cc (init): Don't use
11024         GetStdHandle.
11025         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11026         is negative.
11027         (init): Don't use GetStdHandle.
11028
11029         * include/config.h.in: Rebuilt.
11030         * configure: Rebuilt.
11031         * Makefile.in: Rebuilt.
11032
11033 2002-03-06  Adam Megacz  <adam@xwt.org>
11034
11035         * java/io/FileDescriptor.java: Initialize in/out/err in init().
11036         * java/io/natFileDescriptorWin32.cc (init()): Added function.
11037         * java/io/natFileDescriptorPosix.cc (init()): Added function.
11038         * java/io/natFileDescriptorEcos.cc (init()): Added function.
11039
11040 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
11041
11042         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11043         the code for generating include/java-chartables.h.
11044         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11045         merge with Classpath.
11046         * scripts/unicode-muncher.pl: Copy from Classpath.
11047         * scritps/MakeCharTables.java: New file.
11048         * gnu/gcj/convert/Blocks-3.txt: New file.
11049         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11050         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11051         * gnu/java/lang/CharData.java: Copy from Classpath.
11052         * Makefile.am (ordinary_java_source_files): Add
11053         gnu/java/lang/CharData.java.
11054         * configure.in: Remove --enable-fast-character option.
11055         * java/lang/Character.java: Merge algorithms and Javadoc with
11056         Classpath.
11057         * java/lang/natCharacter.cc: Implement Unicode lookup table more
11058         efficiently.
11059         * include/java-chardecomp.h: Regenerate.
11060         * include/java-chartables.h: Regenerate.
11061
11062 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11063
11064         * java/awt/MediaTracker.java: Implemented.
11065         * Makefile.am: Add MediaTracker.
11066         * Makefile.in: Rebuilt.
11067
11068 2002-03-05  Tom Tromey  <tromey@redhat.com>
11069
11070         * java/lang/natPosixProcess.cc (fail): Removed.
11071         (startProcess): Simplified error-handling.  Preserve
11072         LD_LIBRARY_PATH across exec.
11073
11074         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11075         AbstractMethodError.
11076
11077 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11078
11079         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11080         * Makefile.in: Rebuilt.
11081
11082 2002-03-03 Mark Wielaard <mark@klomp.org>
11083
11084         * java/util/Timer (TaskQueue.stop): set elements to zero.
11085
11086 2002-02-28  Anthony Green  <green@redhat.com>
11087
11088         * java/lang/reflect/natMethod.cc (result): Add void* element.
11089         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
11090         constructor test.
11091
11092 2002-02-27  Adam Megacz <adam@xwt.org>
11093
11094         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11095         '#undef STRICT'.
11096
11097 2002-02-26  Tom Tromey  <tromey@redhat.com>
11098
11099         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11100         * gij.cc (version): Use __VERSION__.
11101         * include/config.h.in: Rebuilt.
11102         * acconfig.h (GCJVERSION): Removed.
11103         * configure: Rebuilt.
11104         * configure.in (GCJVERSION): Removed.
11105
11106 2002-02-26  Andreas Schwab  <schwab@suse.de>
11107
11108         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11109         glibcpp_CXX, since libjava uses even another CXX.
11110         * aclocal.m4, configure: Regenerated.
11111
11112 2002-02-26  Tom Tromey  <tromey@redhat.com>
11113
11114         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11115         `1'.
11116
11117 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11118
11119         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11120         dependency tracking for .java files.
11121         * Makefile.in: Rebuilt.
11122
11123 2002-02-24  Adam Megacz  <adam@xwt.org>
11124
11125         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11126         typo. Sorry.
11127
11128 2002-02-24  Adam Megacz  <adam@xwt.org>
11129
11130         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11131         for Win32, changed #ifdefs to check WIN32 instead of the
11132         (now-obsolete) USE_WINSOCK, and removed support for socket
11133         timeouts on Win32 pending further discussion.
11134
11135 2002-02-24  Adam Megacz  <adam@xwt.org>
11136
11137         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11138         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11139         delete
11140
11141 2002-02-24  Adam Megacz  <adam@xwt.org>
11142
11143         * java/lang/Win32Process.java: Created a dummy class to allow
11144         build process to run to completion.
11145
11146 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
11147
11148         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11149         Define ffi_result union for ffi_call result.  Cast
11150         ffi_result members to jvalue.
11151
11152 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
11153
11154         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11155         * testsuite/Makefile.in: Likewise.
11156
11157 2002-02-20  Per Bothner  <per@bothner.com>
11158
11159         * java/net/URL.java (getPath):  New JDK 1.3 method.
11160
11161         * java/net/URLStreamHandler.java (parseURL):
11162         It is wrong to prepend '/' to the file part of a relative url.
11163
11164         * java/net/URLStreamHandler.java (parseURL):
11165         Minor optizations - append '/' rather than "/".
11166
11167         * java/net/URLStreamHandler.java (parseURL):
11168         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11169         We probably should canonicalize for a context-relative url, though.
11170         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
11171         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
11172         (sameFile):  New method.  Uses canonicalizeFilename.
11173
11174 2002-02-22  Tom Tromey  <tromey@redhat.com>
11175
11176         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11177         java.vendor and java.vm.vendor.
11178         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11179         recent copyright date.
11180         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11181         * gij.cc (version): Print `Inc'.
11182
11183 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11184
11185         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11186         * aclocal.m4, configure: Rebuilt.
11187
11188 2002-02-20  Per Bothner  <per@bothner.com>
11189
11190         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
11191         and/or output streams immediately here, instead of using File.exists.
11192         (inputStream, outputStream):  New fields to save open streams.
11193         (getInputStream, getOutputStream):  Use already-opened streams.
11194
11195 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11196
11197         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11198         Use it.
11199         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11200         * aclocal.m4, configure, Makefile.in: Rebuilt.
11201
11202 2002-02-19  Tom Tromey  <tromey@redhat.com>
11203
11204         Fix for PR libgcj/5696:
11205         * verify.cc (is_assignable_from_slow): Never call
11206         _Jv_IsAssignableFrom.
11207         (verify_instructions_0): Added new debug statement.
11208         (state::print): Print information about whether local has
11209         changed.
11210         (state::merge): Don't call note_variable when merging locals.
11211         (state::set_exception): Removed old FIXME comment.
11212
11213 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11214
11215         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11216         enable SO_BROADCAST.
11217
11218 2002-02-18  Jason Merrill  <jason@redhat.com>
11219
11220         * name-finder.cc (toHex): Use word mode, not long long.
11221
11222         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11223
11224 2002-02-15  Tom Tromey  <tromey@redhat.com>
11225
11226         Fix for PR libgcj/5695:
11227         * verify.cc (is_assignable_from_slow): Check to see if target is
11228         an Object before checking to see if source is an interface.
11229         (verify_instructions_0) [op_invokeinterface]: Handle case where
11230         we're making an interface call on Object.
11231
11232 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11233
11234         * Makefile.in: Rebuilt with Eric's change below.
11235
11236         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11237         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11238         Removed functions which are now implemented in Math.java.
11239
11240 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11241
11242         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11243         * Makefile.am (core_java_source_files): Add
11244         java/lang/StrictMath.java.
11245         * java/lang/Math.java: Merge with Classpath.
11246         * java/lang/StrictMath.java: New file - merge with Classpath.
11247
11248 2002-02-14  Mark Wielaard  <mark@klomp.org>
11249
11250         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11251         package as a workaround for gcj 3.0.x
11252
11253 2002-02-14  Mark Wielaard <mark@klomp.org>
11254
11255         * java/security/BasicPermission.java: extends with fully qualified
11256         classname as workaround for gcj 3.0.4.
11257
11258 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11259
11260         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11261         around gcj bug of wrong emitted qualifier for inherited method.
11262         * java/net/SocketImpl.java (setOption, getOption): Ditto.
11263         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11264         constructor to reduce amount of emitted bytecode. While this
11265         happens to work around a jikes 1.15 bug, it is still a useful
11266         patch even for correct compilers.
11267         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11268         * gnu/java/rmi/server/UnicastRemoteCall.java
11269         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11270
11271 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11272
11273         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11274         * java/net/SocketImpl.java: Ditto.
11275         * java/rmi/server/RMIClassLoader.java: Ditto.
11276         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11277
11278 2002-02-14  Mark Wielaard <mark@klomp.org>
11279
11280         Thanks to Takashi Okamoto
11281         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11282         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11283         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11284
11285 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11286
11287         Fix for PR libgcj/5670:
11288         * verify.cc (is_assignable_from_slow): If `source' is interface,
11289         recursively look for merge with `target'.
11290
11291 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11292
11293         * include/jni.h: Fix typo.
11294
11295 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11296
11297         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11298         correctly.
11299
11300 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11301
11302         Fix for PR libgcj/5671:
11303         * verify.cc (state::merge): Handle case where we're merging
11304         against an interface.
11305
11306 2002-02-12  Tom Tromey  <tromey@redhat.com>
11307
11308         * exception.cc (std::abort): Mark as noreturn.
11309
11310 2002-02-12  Adam Megacz <adam@xwt.org>
11311
11312         * java/lang/Win32Process.java: Filled in a placeholder
11313         implementation so Win32 will build.
11314
11315 2002-02-12  Adam Megacz <adam@xwt.org>
11316
11317         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11318         * java/io/natFile.cc: Removed from repository.
11319         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11320
11321 2002-02-12  Adam Megacz <adam@xwt.org>
11322
11323         * win32.cc: Added two #includes to make win32.cc compile.
11324
11325 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11326
11327         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11328         declarations.
11329         (_Jv_InitGC): Don't bother locking, as this is always called from a
11330         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11331
11332 2002-02-11  Adam Megacz <adam@xwt.org>
11333
11334         * include/win32.h: Added _Jv_platform_gettimeofday.
11335         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11336
11337 2002-02-11  Adam Megacz <adam@xwt.org>
11338
11339         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11340         Added #undef STRICT to make windows.h and
11341         java/lang/reflect/Modifier.h cooperate.
11342
11343 2002-02-11  Adam Megacz <adam@xwt.org>
11344
11345         * java/io/natFileWin32.cc: Created a placeholder class with lots
11346         of FIXMEs.
11347
11348 2002-02-11  Adam Megacz <adam@xwt.org>
11349
11350         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11351         std::abort() to simply abort(). Also added "fake" std::abort() so
11352         we can #include unwind-pe.h without having to link against
11353         libstdc++-v3.
11354
11355 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11356
11357         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11358
11359 2002-02-08  Tom Tromey  <tromey@redhat.com>
11360
11361         * interpret.cc (convert): New function.
11362         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11363         convert.
11364         Include Long.h.
11365
11366 2002-02-08  Anthony Green  <green@redhat.com>
11367
11368         * configure.host: Add support for xscale-elf embedded target.
11369
11370 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11371
11372         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11373         dereferenced.
11374         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11375         frame.
11376
11377 2002-02-07  Tom Tromey  <tromey@redhat.com>
11378
11379         * java/io/natFile.cc (_access): Use __builtin_alloca.
11380         (_stat): Likewise.
11381         (attr): Likewise.
11382         (getCanonicalPath): Likewise.
11383         (performList): Likewise.
11384         (performMkdir): Likewise.
11385         (performSetReadOnly): Likewise.
11386         (performRenameTo): Likewise.
11387         (performSetLastModified): Likewise.
11388         (performCreate): Likewise.
11389         (performDelete): Likewise.
11390
11391 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11392
11393         * HACKING: Fix URL for the automake-gcj.
11394
11395 2002-02-07  Tom Tromey  <tromey@redhat.com>
11396
11397         * java/lang/natThrowable.cc: Updated copyright.
11398         * java/io/natFileWin32.cc: Updated copyright.
11399         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11400         * win32-threads.cc: Updated copyright.
11401         * name-finder.cc: Updated copyright.
11402         * include/name-finder.h: Updated copyright.
11403
11404         * include/name-finder.h: Conditionally include sys/wait.h.
11405         * include/config.h.in: Rebuilt.
11406
11407         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11408         Size buffer based on real size of string.
11409         (_stat): Likewise.
11410         (attr): Likewise.
11411         (getCanonicalPath): Likewise.
11412         (performList): Likewise.
11413         (performMkdir): Likewise.
11414         (performSetReadOnly): Likewise.
11415         (unixroot): Removed.
11416         (performRenameTo): Likewise.
11417         (performSetLastModified): Likewise.
11418         (performCreate): Likewise.
11419         (performDelete): Likewise.
11420         (performListRoots): Always return new array.
11421
11422         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11423         * win32.cc (win32_exception_handler): Now static.
11424         * include/win32.h (_Jv_platform_initialize): Declare.
11425         (win32_exception_handler): Don't declare.
11426         * java/lang/natSystem.cc (currentTimeMillis): Use
11427         _Jv_platform_gettimeofday.
11428         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11429         (_Jv_select): Use new name.
11430         (_Jv_platform_initialize): New function.
11431         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11432         _Jv_gettimeofday.
11433         (_Jv_platform_initialize): Declare.
11434
11435         * configure: Rebuilt.
11436         * configure.in: Removed unnecessary parens.
11437
11438 2002-02-06  Adam Megacz <adam@xwt.org>
11439
11440        * configure.in: Changed mingw) to *mingw*).
11441        * win32.cc: Created this file.
11442        * win32.h: Created this file.
11443        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11444        win32_exception_handler from prims.cc to win32.cc, added
11445        header in win32.h.
11446        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11447        longer needed now that we have platform.h
11448
11449 2002-02-06  Adam Megacz <adam@xwt.org>
11450
11451         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11452         use uint<n>_t instead of LONG and BYTE
11453
11454 2002-02-06  Adam Megacz <adam@xwt.org>
11455
11456         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11457
11458 2002-02-06  Anthony Green  <green@redhat.com>
11459
11460         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11461         Implement missing method stubs.
11462         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11463         targets.
11464         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11465         concept of timezones.
11466         (init_properties): Don't refer to _Jv_Environment_Properties
11467         when this feature is not available.
11468         * include/config.h.in: Rebuilt.
11469         * acconfig.h: Add DISABLE_MAIN_ARGS.
11470         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11471         * configure: Rebuilt.
11472         * configure.in: Add --disable-main-args option.  Test for
11473           opendir function.  Replace AC_CHECK_SIZEOF with
11474           AC_COMPILE_CHECK_SIZEOF.
11475         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11476         * aclocal.m4: Rebuilt.
11477         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11478
11479 2002-02-06  Tom Tromey  <tromey@redhat.com>
11480
11481         * verify.cc (require_array_type): If argument is a null array of
11482         references, return null as the element type.
11483
11484 2002-02-06  Mark Wielaard  <mark@klomp.org>
11485
11486         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11487         duplicate of a wide type.
11488
11489 2002-02-06  Tom Tromey  <tromey@redhat.com>
11490
11491         * verify.cc (type::isnull): New method.
11492         (require_array_type): Handle case where array is null.
11493         (verify_instructions_0) [op_arraylength]: Likewise.
11494
11495 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11496
11497         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11498         Symlink PLATFORMH to platform.h.
11499         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11500         PLATFORMOBJS.
11501         * java/lang/natSystem.cc: #include platform.h not posix.h.
11502         * Makefile.in: Rebuilt with libgcj automake.
11503         * configure: Rebuilt.
11504
11505 2002-02-05  Richard Henderson  <rth@redhat.com>
11506
11507         * Makefile.in: Undo munging last change.
11508
11509 2002-02-04  Adam Megacz <adam@xwt.org>
11510
11511         * win32.cc: Created it.
11512         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11513         which is set to posix.cc or win32.cc.
11514         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11515
11516 2002-02-04  Adam Megacz <adam@xwt.org>
11517
11518         * configure.in: Corrected mingw case branches; added * before
11519         and after.
11520
11521 2002-02-04  Adam Megacz <adam@xwt.org>
11522
11523         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11524         if compiling for win32
11525
11526 2002-02-04  Adam Megacz <adam@xwt.org>
11527
11528         * win32-threads.cc: #undef STRICT after gc.h inclusion
11529
11530 2002-02-02  Tom Tromey  <tromey@redhat.com>
11531
11532         * Makefile.in: Rebuilt.
11533
11534 2002-02-02  Jason Merrill  <jason@redhat.com>
11535
11536         * Makefile.am (clean-nat): New target.
11537
11538 2002-02-02  Tom Tromey  <tromey@redhat.com>
11539
11540         * java/io/natFile.cc: Removed old "FIXME" comments.
11541
11542 2002-02-01  Tom Tromey  <tromey@redhat.com>
11543
11544         * java/lang/natPosixProcess.cc (myclose): New function.
11545         (fail): Use it.
11546         (startProcess): Likewise.
11547
11548 2002-02-01  Adam Megacz <adam@xwt.org>
11549
11550         * prims.cc: Added #undef STRICT after #include<windows.h>.
11551
11552 2002-02-01  Adam Megacz <adam@xwt.org>
11553
11554         * prims.cc
11555         (_Jv_CreateJavaVM): We now use WIN32 instead of
11556         USE_WIN32_SIGNALLING and USE_WINSOCK.
11557         (win32_exception_handler): Now throws an exception out of
11558         the signal handler; assumes SJLJ.
11559
11560 2002-02-01  Adam Megacz <adam@xwt.org>
11561
11562         * win32-threads.cc:
11563         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11564         wait() algorithm to make it safe.
11565         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11566         Added lazy creation of Win32 Events for better performance
11567         (really_start): This now uses GC_CreateThread so boehm-gc
11568         knows about new threads even when statically linked.
11569
11570 2002-02-01  Adam Megacz <adam@xwt.org>
11571
11572         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11573         enable safer wait() algorithm.
11574         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11575         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11576         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11577         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11578         instead of mutex.
11579         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11580
11581 2002-02-01  Adam Megacz <adam@xwt.org>
11582
11583         * configure.in: Added support for mingw.
11584         * java/lang/Win32Process.java: Created as empty file.
11585         * java/lang/natWin32Process.cc: Created as empty file.
11586
11587 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11588
11589         PR java/4972
11590         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11591         for libiconv in LIBICONV variable.
11592         * configure: Regenerated.
11593
11594 2002-01-31  Tom Tromey  <tromey@redhat.com>
11595
11596         * verify.cc (state::enter_subroutine): New method.
11597         (handle_jsr_insn): Use it.
11598         (state::merge): When processing a `ret', correctly use
11599         subroutine's state to determine which local variables have
11600         changed.
11601         (push_exception_jump): Don't let stack overflow.
11602
11603 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11604
11605         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11606         --version output.
11607
11608 2002-01-30  Tom Tromey  <tromey@redhat.com>
11609
11610         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11611         parameter for `recv' return type.
11612
11613         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11614         (state::merge): ... not here.
11615         (subr_entry_info): New structure.
11616         (entry_points): New field.
11617         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11618         entry_points.
11619
11620 2002-01-29  Tom Tromey  <tromey@redhat.com>
11621
11622         * java/awt/List.java (addNotify): Correctly check to see if peer
11623         does not exist.
11624
11625         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11626         to compute height of each cell, and number of columns to compute
11627         width of each cell.
11628         * java/awt/Window.java (getOwnedWindows): Don't return null.
11629         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11630         of component.  Increment x using horizontal gap, not vertical
11631         gap.
11632
11633 2002-01-28  Tom Tromey  <tromey@redhat.com>
11634
11635         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11636         `nargs' byte is number of words, not number of arguments.
11637
11638 2002-01-27  Tom Tromey  <tromey@redhat.com>
11639
11640         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11641         (when): Likewise.
11642         * java/awt/event/InputEvent.java (modifiers, when): Now
11643         package-private.
11644
11645         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11646         and to-do list.
11647         (state::merge): Use current class' class loader.
11648         (state::print): Print subroutine.
11649         (state::merge): Don't look at subroutine of unmerged `ret'.
11650
11651 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11652
11653         * nogc.cc: Remove warnings.
11654         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11655         New functions.
11656
11657 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11658
11659         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11660         int, int):  Remove empty "if" statement to work around compiler bug.
11661         (newPixels(int[], ColorModel, int, int): Likewise.
11662
11663 2002-01-25  Per Bothner  <per@bothner.com>
11664
11665         * verify.cc (verify_fail):  Change from being a top-level function
11666         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11667         Pass the current verifier to type: and state: methods as needed,
11668         for better error messages, and for resolve.
11669         (resolve):  Pass current class's loader for Class.forName and
11670         _Jv_FindClassFromSignature, rather than using the default loader.
11671         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11672         (get_type_val_for_signature):  Make non-static.
11673         (various methods):  Pass start_PC implicitly, not explicitly.
11674
11675 2002-01-25  Tom Tromey  <tromey@redhat.com>
11676
11677         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11678         loop termination condition.
11679         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11680         width.
11681
11682 2002-01-24  Tom Tromey  <tromey@redhat.com>
11683
11684         * java/awt/Shape.java: Merged with Classpath.
11685         * java/awt/Scrollbar.java: Merged with Classpath.
11686
11687         * java/awt/Container.java (addNotify): Unconditionally call
11688         addNotifyContainerChildren and superclass addNotify.
11689
11690         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11691         getAlpha, not getBlue.
11692
11693 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11694
11695         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11696
11697         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11698         (grabPixels(long)): Wait to be notified that the ImageProducer has
11699         completed.
11700
11701 2002-01-24  Per Bothner  <per@bothner.com>
11702
11703         * verify.cc (is_assignable_from_slow): If target is an interface,
11704         we must still check the source's superclass before giving up.
11705
11706 2002-01-24  Tom Tromey  <tromey@redhat.com>
11707
11708         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11709
11710 2002-01-23  Tom Tromey  <tromey@redhat.com>
11711
11712         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11713         `else'.
11714
11715         * Makefile.in: Rebuilt.
11716         * Makefile.am (awt_java_source_files): Added new files.
11717         * java/awt/Toolkit.java: Merged with Classpath.
11718         * java/awt/PrintGraphics.java: New file from Classpath.
11719         * java/awt/PrintJob.java: New file from Classpath.
11720         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11721         * java/awt/datatransfer/ClipboardOwner.java: New file from
11722         Classpath.
11723         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11724         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11725         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11726         Classpath.
11727         * java/awt/datatransfer/StringSelection.java: New file from
11728         Classpath.
11729         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11730         Classpath.
11731         * java/awt/datatransfer/Transferable.java: New file from
11732         Classpath.
11733         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11734         from Classpath.
11735
11736         * Makefile.in: Rebuilt.
11737         * Makefile.am (awt_java_source_files): Added new files.
11738         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11739         Classpath.
11740         * java/awt/image/CropImageFilter.java: New file from Classpath.
11741         * java/awt/image/FilteredImageSource.java: New file from
11742         Classpath.
11743         * java/awt/image/ImageFilter.java: New file from Classpath.
11744         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11745         * java/awt/image/PixelGrabber.java: New file from Classpath.
11746         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11747         * java/awt/image/ReplicateScaleFilter.java: New file from
11748         Classpath.
11749         * java/awt/image/ImageProducer.java: Replaced with Classpath
11750         version.
11751         * java/awt/image/ImageObserver.java: Replaced with Classpath
11752         version.
11753         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11754         version.
11755         * java/awt/GridBagConstraints.java (clone): Catch
11756         CloneNotSupportedException.
11757
11758 2002-01-23  Per Bothner  <per@bothner.com>
11759
11760         * java/lang/reflect/natField.cc (setAddr):  New function.
11761         Calls getAddr and then checks that the field isn't final.
11762         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11763         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11764         (set):  Call setAddr before check that new value has right type,
11765         to better match specified semantics.
11766
11767 2002-01-22  Tom Tromey  <tromey@redhat.com>
11768
11769         * java/awt/TextField.java: Replaced with Classpath version.
11770         * java/awt/TextArea.java: Replaced with Classpath version.
11771         * java/awt/TextComponent.java: Replaced with Classpath version.
11772
11773         * java/awt/GridBagConstraints.java: Updated copyright.
11774
11775 2002-01-22  Mark Wielaard <mark@klomp.org>
11776
11777         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11778         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11779         java/awt/Dialog.java java/awt/FileDialog.java
11780         java/awt/Font.java java/awt/FontMetrics.java
11781         java/awt/Image.java java/awt/ImageMediaEntry.java
11782         java/awt/Insets.java java/awt/List.java
11783         java/awt/MediaEntry.java java/awt/MediaTracker.java
11784         java/awt/Menu.java java/awt/MenuBar.java
11785         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11786         java/awt/PaintContext.java java/awt/Panel.java
11787         java/awt/PopupMenu.java java/awt/SystemColor.java
11788         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11789         java/awt/peer/CheckboxMenuItemPeer.java
11790         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11791         java/awt/peer/ComponentPeer.java
11792         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11793         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11794         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11795         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11796         java/awt/peer/MenuBarPeer.java
11797         java/awt/peer/MenuComponentPeer.java
11798         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11799         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11800         java/awt/peer/ScrollPanePeer.java
11801         java/awt/peer/ScrollbarPeer.java
11802         java/awt/peer/TextAreaPeer.java
11803         java/awt/peer/TextComponentPeer.java
11804         java/awt/peer/TextFieldPeer.java
11805         java/awt/peer/WindowPeer.java: Add license clarification.
11806
11807 2002-01-22  Mark Wielaard <mark@klomp.org>
11808
11809         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11810         gnu/gcj/runtime/StringBuffer.java
11811         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11812         gnu/java/awt/ComponentDataBlitOp.java
11813         gnu/java/awt/GLightweightPeer.java
11814         gnu/java/beans/BeanInfoEmbryo.java
11815         gnu/java/beans/EmptyBeanInfo.java
11816         gnu/java/beans/ExplicitBeanInfo.java
11817         gnu/java/beans/IntrospectionIncubator.java
11818         gnu/java/beans/editors/ColorEditor.java
11819         gnu/java/beans/editors/FontEditor.java
11820         gnu/java/beans/editors/NativeBooleanEditor.java
11821         gnu/java/beans/editors/NativeByteEditor.java
11822         gnu/java/beans/editors/NativeDoubleEditor.java
11823         gnu/java/beans/editors/NativeFloatEditor.java
11824         gnu/java/beans/editors/NativeIntEditor.java
11825         gnu/java/beans/editors/NativeLongEditor.java
11826         gnu/java/beans/editors/NativeShortEditor.java
11827         gnu/java/beans/editors/StringEditor.java
11828         gnu/java/beans/info/ComponentBeanInfo.java
11829         gnu/java/io/ClassLoaderObjectInputStream.java
11830         gnu/java/io/NullOutputStream.java
11831         gnu/java/io/ObjectIdentityWrapper.java
11832         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11833         gnu/java/lang/reflect/TypeSignature.java
11834         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11835         gnu/java/locale/Calendar_en.java
11836         gnu/java/locale/Calendar_nl.java
11837         gnu/java/locale/LocaleInformation.java
11838         gnu/java/locale/LocaleInformation_de.java
11839         gnu/java/locale/LocaleInformation_en.java
11840         gnu/java/locale/LocaleInformation_nl.java
11841         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11842         gnu/java/rmi/registry/RegistryImpl.java
11843         gnu/java/rmi/rmic/Compile_gcj.java
11844         gnu/java/rmi/rmic/Compiler.java
11845         gnu/java/rmi/rmic/CompilerProcess.java
11846         gnu/java/rmi/rmic/RMIC.java
11847         gnu/java/rmi/rmic/TabbedWriter.java
11848         gnu/java/rmi/server/ProtocolConstants.java
11849         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11850         gnu/java/rmi/server/RMIHashes.java
11851         gnu/java/rmi/server/RMIObjectInputStream.java
11852         gnu/java/rmi/server/RMIObjectOutputStream.java
11853         gnu/java/rmi/server/UnicastConnection.java
11854         gnu/java/rmi/server/UnicastConnectionManager.java
11855         gnu/java/rmi/server/UnicastRef.java
11856         gnu/java/rmi/server/UnicastRemoteCall.java
11857         gnu/java/rmi/server/UnicastRemoteStub.java
11858         gnu/java/rmi/server/UnicastServer.java
11859         gnu/java/rmi/server/UnicastServerRef.java
11860         gnu/java/security/provider/DefaultPolicy.java
11861         gnu/java/security/provider/Gnu.java
11862         gnu/java/security/provider/SHA.java
11863         gnu/java/security/provider/SHA1PRNG.java
11864         gnu/java/text/BaseBreakIterator.java
11865         gnu/java/text/CharacterBreakIterator.java
11866         gnu/java/text/LineBreakIterator.java
11867         gnu/java/text/SentenceBreakIterator.java
11868         gnu/java/text/WordBreakIterator.java
11869         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11870         java/applet/AppletContext.java java/applet/AppletStub.java
11871         java/applet/AudioClip.java java/awt/AWTError.java
11872         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11873         java/awt/AWTException.java java/awt/AWTPermission.java
11874         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11875         java/awt/Button.java java/awt/Canvas.java
11876         java/awt/CardLayout.java java/awt/Checkbox.java
11877         java/awt/CheckboxGroup.java java/awt/Component.java
11878         java/awt/ComponentOrientation.java java/awt/Container.java
11879         java/awt/Dimension.java java/awt/Event.java
11880         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11881         java/awt/FlowLayout.java java/awt/Frame.java
11882         java/awt/Graphics.java java/awt/Graphics2D.java
11883         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11884         java/awt/IllegalComponentStateException.java
11885         java/awt/ItemSelectable.java java/awt/Label.java
11886         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11887         java/awt/MenuComponent.java java/awt/MenuItem.java
11888         java/awt/Paint.java java/awt/Point.java
11889         java/awt/Rectangle.java java/awt/RenderingHints.java
11890         java/awt/Transparency.java java/awt/Window.java
11891         java/awt/color/ColorSpace.java
11892         java/awt/color/ICC_ColorSpace.java
11893         java/awt/color/ICC_Profile.java
11894         java/awt/event/HierarchyBoundsAdapter.java
11895         java/awt/event/HierarchyBoundsListener.java
11896         java/awt/event/HierarchyEvent.java
11897         java/awt/event/HierarchyListener.java
11898         java/awt/geom/AffineTransform.java
11899         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11900         java/awt/geom/IllegalPathStateException.java
11901         java/awt/geom/Line2D.java
11902         java/awt/geom/NoninvertibleTransformException.java
11903         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11904         java/awt/geom/Rectangle2D.java
11905         java/awt/geom/RectangularShape.java
11906         java/awt/geom/RoundRectangle2D.java
11907         java/awt/image/BufferedImage.java
11908         java/awt/image/ColorModel.java
11909         java/awt/image/ComponentColorModel.java
11910         java/awt/image/ComponentSampleModel.java
11911         java/awt/image/DataBuffer.java
11912         java/awt/image/DataBufferByte.java
11913         java/awt/image/DataBufferInt.java
11914         java/awt/image/DataBufferUShort.java
11915         java/awt/image/DirectColorModel.java
11916         java/awt/image/PackedColorModel.java
11917         java/awt/image/Raster.java java/awt/image/RasterOp.java
11918         java/awt/image/SampleModel.java
11919         java/awt/image/SinglePixelPackedSampleModel.java
11920         java/awt/image/WritableRaster.java
11921         java/beans/AppletInitializer.java
11922         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11923         java/beans/Beans.java java/beans/Customizer.java
11924         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11925         java/beans/FeatureDescriptor.java
11926         java/beans/IndexedPropertyDescriptor.java
11927         java/beans/IntrospectionException.java
11928         java/beans/Introspector.java java/beans/MethodDescriptor.java
11929         java/beans/ParameterDescriptor.java
11930         java/beans/PropertyChangeEvent.java
11931         java/beans/PropertyChangeListener.java
11932         java/beans/PropertyChangeSupport.java
11933         java/beans/PropertyDescriptor.java
11934         java/beans/PropertyEditor.java
11935         java/beans/PropertyEditorManager.java
11936         java/beans/PropertyEditorSupport.java
11937         java/beans/PropertyVetoException.java
11938         java/beans/SimpleBeanInfo.java
11939         java/beans/VetoableChangeListener.java
11940         java/beans/VetoableChangeSupport.java
11941         java/beans/Visibility.java
11942         java/beans/beancontext/BeanContext.java
11943         java/beans/beancontext/BeanContextChild.java
11944         java/beans/beancontext/BeanContextChildComponentProxy.java
11945         java/beans/beancontext/BeanContextChildSupport.java
11946         java/beans/beancontext/BeanContextContainerProxy.java
11947         java/beans/beancontext/BeanContextEvent.java
11948         java/beans/beancontext/BeanContextMembershipEvent.java
11949         java/beans/beancontext/BeanContextMembershipListener.java
11950         java/beans/beancontext/BeanContextProxy.java
11951         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11952         java/beans/beancontext/BeanContextServiceProvider.java
11953         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11954         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11955         java/beans/beancontext/BeanContextServiceRevokedListener.java
11956         java/beans/beancontext/BeanContextServices.java
11957         java/beans/beancontext/BeanContextServicesListener.java
11958         java/io/BufferedInputStream.java
11959         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11960         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11961         java/io/ByteArrayOutputStream.java
11962         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11963         java/io/CharConversionException.java java/io/DataInput.java
11964         java/io/DataInputStream.java java/io/DataOutput.java
11965         java/io/EOFException.java java/io/Externalizable.java
11966         java/io/FileFilter.java java/io/FileNotFoundException.java
11967         java/io/FilePermission.java java/io/FileReader.java
11968         java/io/FileWriter.java java/io/FilenameFilter.java
11969         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11970         java/io/FilterReader.java java/io/FilterWriter.java
11971         java/io/IOException.java java/io/InputStream.java
11972         java/io/InterruptedIOException.java
11973         java/io/InvalidClassException.java
11974         java/io/InvalidObjectException.java
11975         java/io/NotActiveException.java
11976         java/io/NotSerializableException.java java/io/ObjectInput.java
11977         java/io/ObjectInputStream.java
11978         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11979         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11980         java/io/ObjectStreamConstants.java
11981         java/io/ObjectStreamException.java
11982         java/io/ObjectStreamField.java
11983         java/io/OptionalDataException.java java/io/OutputStream.java
11984         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11985         java/io/PipedReader.java java/io/PipedWriter.java
11986         java/io/PrintWriter.java java/io/PushbackInputStream.java
11987         java/io/PushbackReader.java java/io/Reader.java
11988         java/io/SequenceInputStream.java java/io/Serializable.java
11989         java/io/SerializablePermission.java
11990         java/io/StreamCorruptedException.java
11991         java/io/StreamTokenizer.java
11992         java/io/StringBufferInputStream.java java/io/StringReader.java
11993         java/io/StringWriter.java java/io/SyncFailedException.java
11994         java/io/UTFDataFormatException.java
11995         java/io/UnsupportedEncodingException.java
11996         java/io/WriteAbortedException.java java/io/Writer.java
11997         java/lang/AbstractMethodError.java
11998         java/lang/ArithmeticException.java
11999         java/lang/ArrayIndexOutOfBoundsException.java
12000         java/lang/ArrayStoreException.java java/lang/Boolean.java
12001         java/lang/Byte.java java/lang/CharSequence.java
12002         java/lang/ClassCastException.java
12003         java/lang/ClassCircularityError.java
12004         java/lang/ClassFormatError.java
12005         java/lang/ClassNotFoundException.java
12006         java/lang/CloneNotSupportedException.java
12007         java/lang/Cloneable.java java/lang/Comparable.java
12008         java/lang/Compiler.java java/lang/Double.java
12009         java/lang/Error.java java/lang/Exception.java
12010         java/lang/ExceptionInInitializerError.java
12011         java/lang/Float.java java/lang/IllegalAccessError.java
12012         java/lang/IllegalAccessException.java
12013         java/lang/IllegalArgumentException.java
12014         java/lang/IllegalMonitorStateException.java
12015         java/lang/IllegalStateException.java
12016         java/lang/IllegalThreadStateException.java
12017         java/lang/IncompatibleClassChangeError.java
12018         java/lang/IndexOutOfBoundsException.java
12019         java/lang/InheritableThreadLocal.java
12020         java/lang/InstantiationError.java
12021         java/lang/InstantiationException.java java/lang/Integer.java
12022         java/lang/InternalError.java
12023         java/lang/InterruptedException.java
12024         java/lang/LinkageError.java java/lang/Long.java
12025         java/lang/NegativeArraySizeException.java
12026         java/lang/NoClassDefFoundError.java
12027         java/lang/NoSuchFieldError.java
12028         java/lang/NoSuchFieldException.java
12029         java/lang/NoSuchMethodError.java
12030         java/lang/NoSuchMethodException.java
12031         java/lang/NullPointerException.java java/lang/Number.java
12032         java/lang/NumberFormatException.java
12033         java/lang/OutOfMemoryError.java java/lang/Package.java
12034         java/lang/Process.java java/lang/Runnable.java
12035         java/lang/RuntimeException.java
12036         java/lang/RuntimePermission.java
12037         java/lang/SecurityException.java
12038         java/lang/SecurityManager.java java/lang/Short.java
12039         java/lang/StackOverflowError.java java/lang/StringBuffer.java
12040         java/lang/StringIndexOutOfBoundsException.java
12041         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12042         java/lang/ThreadLocal.java java/lang/UnknownError.java
12043         java/lang/UnsatisfiedLinkError.java
12044         java/lang/UnsupportedClassVersionError.java
12045         java/lang/UnsupportedOperationException.java
12046         java/lang/VerifyError.java java/lang/VirtualMachineError.java
12047         java/lang/Void.java java/lang/ref/PhantomReference.java
12048         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12049         java/lang/ref/SoftReference.java
12050         java/lang/ref/WeakReference.java
12051         java/lang/reflect/AccessibleObject.java
12052         java/lang/reflect/InvocationTargetException.java
12053         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12054         java/lang/reflect/ReflectPermission.java
12055         java/math/BigDecimal.java java/math/BigInteger.java
12056         java/net/Authenticator.java java/net/BindException.java
12057         java/net/ConnectException.java java/net/ContentHandler.java
12058         java/net/ContentHandlerFactory.java
12059         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12060         java/net/FileNameMap.java java/net/MalformedURLException.java
12061         java/net/MulticastSocket.java java/net/NetPermission.java
12062         java/net/NoRouteToHostException.java
12063         java/net/PasswordAuthentication.java
12064         java/net/ProtocolException.java java/net/ServerSocket.java
12065         java/net/Socket.java java/net/SocketException.java
12066         java/net/SocketImpl.java java/net/SocketImplFactory.java
12067         java/net/SocketOptions.java java/net/SocketPermission.java
12068         java/net/URLDecoder.java java/net/URLEncoder.java
12069         java/net/URLStreamHandlerFactory.java
12070         java/net/UnknownHostException.java
12071         java/net/UnknownServiceException.java
12072         java/rmi/AccessException.java
12073         java/rmi/AlreadyBoundException.java
12074         java/rmi/ConnectException.java
12075         java/rmi/ConnectIOException.java
12076         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12077         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12078         java/rmi/NotBoundException.java
12079         java/rmi/RMISecurityException.java
12080         java/rmi/RMISecurityManager.java java/rmi/Remote.java
12081         java/rmi/RemoteException.java java/rmi/ServerError.java
12082         java/rmi/ServerException.java
12083         java/rmi/ServerRuntimeException.java
12084         java/rmi/StubNotFoundException.java
12085         java/rmi/UnexpectedException.java
12086         java/rmi/UnknownHostException.java
12087         java/rmi/UnmarshalException.java
12088         java/rmi/activation/Activatable.java
12089         java/rmi/activation/ActivateFailedException.java
12090         java/rmi/activation/ActivationDesc.java
12091         java/rmi/activation/ActivationException.java
12092         java/rmi/activation/ActivationGroup.java
12093         java/rmi/activation/ActivationGroupDesc.java
12094         java/rmi/activation/ActivationGroupID.java
12095         java/rmi/activation/ActivationID.java
12096         java/rmi/activation/ActivationInstantiator.java
12097         java/rmi/activation/ActivationMonitor.java
12098         java/rmi/activation/ActivationSystem.java
12099         java/rmi/activation/Activator.java
12100         java/rmi/activation/UnknownGroupException.java
12101         java/rmi/activation/UnknownObjectException.java
12102         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12103         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12104         java/rmi/registry/Registry.java
12105         java/rmi/registry/RegistryHandler.java
12106         java/rmi/server/ExportException.java
12107         java/rmi/server/LoaderHandler.java
12108         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12109         java/rmi/server/Operation.java
12110         java/rmi/server/RMIClassLoader.java
12111         java/rmi/server/RMIClientSocketFactory.java
12112         java/rmi/server/RMIFailureHandler.java
12113         java/rmi/server/RMIServerSocketFactory.java
12114         java/rmi/server/RMISocketFactory.java
12115         java/rmi/server/RemoteCall.java
12116         java/rmi/server/RemoteObject.java
12117         java/rmi/server/RemoteRef.java
12118         java/rmi/server/RemoteServer.java
12119         java/rmi/server/RemoteStub.java
12120         java/rmi/server/ServerCloneException.java
12121         java/rmi/server/ServerNotActiveException.java
12122         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12123         java/rmi/server/SkeletonMismatchException.java
12124         java/rmi/server/SkeletonNotFoundException.java
12125         java/rmi/server/SocketSecurityException.java
12126         java/rmi/server/UID.java
12127         java/rmi/server/UnicastRemoteObject.java
12128         java/rmi/server/Unreferenced.java
12129         java/security/AccessControlContext.java
12130         java/security/AccessControlException.java
12131         java/security/AccessController.java
12132         java/security/AlgorithmParameterGenerator.java
12133         java/security/AlgorithmParameterGeneratorSpi.java
12134         java/security/AlgorithmParameters.java
12135         java/security/AlgorithmParametersSpi.java
12136         java/security/AllPermission.java
12137         java/security/BasicPermission.java
12138         java/security/Certificate.java java/security/CodeSource.java
12139         java/security/DigestException.java
12140         java/security/DigestInputStream.java
12141         java/security/DigestOutputStream.java
12142         java/security/DomainCombiner.java
12143         java/security/DummyKeyPairGenerator.java
12144         java/security/DummyMessageDigest.java
12145         java/security/DummySignature.java
12146         java/security/GeneralSecurityException.java
12147         java/security/Guard.java java/security/GuardedObject.java
12148         java/security/Identity.java java/security/IdentityScope.java
12149         java/security/InvalidAlgorithmParameterException.java
12150         java/security/InvalidKeyException.java
12151         java/security/InvalidParameterException.java
12152         java/security/Key.java java/security/KeyException.java
12153         java/security/KeyFactory.java java/security/KeyFactorySpi.java
12154         java/security/KeyManagementException.java
12155         java/security/KeyPair.java java/security/KeyPairGenerator.java
12156         java/security/KeyPairGeneratorSpi.java
12157         java/security/KeyStore.java
12158         java/security/KeyStoreException.java
12159         java/security/KeyStoreSpi.java
12160         java/security/MessageDigest.java
12161         java/security/MessageDigestSpi.java
12162         java/security/NoSuchAlgorithmException.java
12163         java/security/NoSuchProviderException.java
12164         java/security/Permission.java
12165         java/security/PermissionCollection.java
12166         java/security/Permissions.java java/security/Policy.java
12167         java/security/Principal.java java/security/PrivateKey.java
12168         java/security/PrivilegedAction.java
12169         java/security/PrivilegedActionException.java
12170         java/security/PrivilegedExceptionAction.java
12171         java/security/ProtectionDomain.java
12172         java/security/Provider.java
12173         java/security/ProviderException.java
12174         java/security/PublicKey.java
12175         java/security/SecureClassLoader.java
12176         java/security/SecureRandom.java
12177         java/security/SecureRandomSpi.java java/security/Security.java
12178         java/security/SecurityPermission.java
12179         java/security/Signature.java
12180         java/security/SignatureException.java
12181         java/security/SignatureSpi.java
12182         java/security/SignedObject.java java/security/Signer.java
12183         java/security/UnrecoverableKeyException.java
12184         java/security/UnresolvedPermission.java
12185         java/security/acl/Acl.java java/security/acl/AclEntry.java
12186         java/security/acl/AclNotFoundException.java
12187         java/security/acl/Group.java
12188         java/security/acl/LastOwnerException.java
12189         java/security/acl/NotOwnerException.java
12190         java/security/acl/Owner.java java/security/acl/Permission.java
12191         java/security/cert/CRL.java
12192         java/security/cert/CRLException.java
12193         java/security/cert/Certificate.java
12194         java/security/cert/CertificateEncodingException.java
12195         java/security/cert/CertificateException.java
12196         java/security/cert/CertificateExpiredException.java
12197         java/security/cert/CertificateFactory.java
12198         java/security/cert/CertificateFactorySpi.java
12199         java/security/cert/CertificateNotYetValidException.java
12200         java/security/cert/CertificateParsingException.java
12201         java/security/cert/X509CRL.java
12202         java/security/cert/X509CRLEntry.java
12203         java/security/cert/X509Certificate.java
12204         java/security/cert/X509Extension.java
12205         java/security/interfaces/DSAKey.java
12206         java/security/interfaces/DSAKeyPairGenerator.java
12207         java/security/interfaces/DSAParams.java
12208         java/security/interfaces/DSAPrivateKey.java
12209         java/security/interfaces/DSAPublicKey.java
12210         java/security/interfaces/RSAKey.java
12211         java/security/interfaces/RSAPrivateCrtKey.java
12212         java/security/interfaces/RSAPrivateKey.java
12213         java/security/interfaces/RSAPublicKey.java
12214         java/security/spec/AlgorithmParameterSpec.java
12215         java/security/spec/DSAParameterSpec.java
12216         java/security/spec/DSAPrivateKeySpec.java
12217         java/security/spec/DSAPublicKeySpec.java
12218         java/security/spec/EncodedKeySpec.java
12219         java/security/spec/InvalidKeySpecException.java
12220         java/security/spec/InvalidParameterSpecException.java
12221         java/security/spec/KeySpec.java
12222         java/security/spec/PKCS8EncodedKeySpec.java
12223         java/security/spec/RSAKeyGenParameterSpec.java
12224         java/security/spec/RSAPrivateCrtKeySpec.java
12225         java/security/spec/RSAPrivateKeySpec.java
12226         java/security/spec/RSAPublicKeySpec.java
12227         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12228         java/sql/BatchUpdateException.java java/sql/Blob.java
12229         java/sql/CallableStatement.java java/sql/Clob.java
12230         java/sql/Connection.java java/sql/DataTruncation.java
12231         java/sql/DatabaseMetaData.java java/sql/Date.java
12232         java/sql/Driver.java java/sql/DriverManager.java
12233         java/sql/DriverPropertyInfo.java
12234         java/sql/PreparedStatement.java java/sql/Ref.java
12235         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12236         java/sql/SQLData.java java/sql/SQLException.java
12237         java/sql/SQLInput.java java/sql/SQLOutput.java
12238         java/sql/SQLWarning.java java/sql/Statement.java
12239         java/sql/Struct.java java/sql/Time.java
12240         java/sql/Timestamp.java java/sql/Types.java
12241         java/text/Annotation.java
12242         java/text/AttributedCharacterIterator.java
12243         java/text/AttributedString.java
12244         java/text/AttributedStringIterator.java
12245         java/text/BreakIterator.java java/text/CharacterIterator.java
12246         java/text/ChoiceFormat.java java/text/Collator.java
12247         java/text/DateFormat.java java/text/DateFormatSymbols.java
12248         java/text/DecimalFormat.java
12249         java/text/DecimalFormatSymbols.java
12250         java/text/FieldPosition.java java/text/Format.java
12251         java/text/MessageFormat.java java/text/NumberFormat.java
12252         java/text/ParseException.java java/text/ParsePosition.java
12253         java/text/SimpleDateFormat.java
12254         java/text/StringCharacterIterator.java
12255         java/util/AbstractCollection.java java/util/AbstractList.java
12256         java/util/AbstractMap.java
12257         java/util/AbstractSequentialList.java
12258         java/util/AbstractSet.java java/util/ArrayList.java
12259         java/util/Arrays.java java/util/BasicMapEntry.java
12260         java/util/BitSet.java java/util/Calendar.java
12261         java/util/Collection.java java/util/Collections.java
12262         java/util/Comparator.java
12263         java/util/ConcurrentModificationException.java
12264         java/util/Date.java java/util/Dictionary.java
12265         java/util/EmptyStackException.java java/util/Enumeration.java
12266         java/util/EventListener.java java/util/EventObject.java
12267         java/util/GregorianCalendar.java java/util/HashMap.java
12268         java/util/HashSet.java java/util/Hashtable.java
12269         java/util/IdentityHashMap.java java/util/Iterator.java
12270         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12271         java/util/LinkedList.java java/util/List.java
12272         java/util/ListIterator.java java/util/ListResourceBundle.java
12273         java/util/Locale.java java/util/Map.java
12274         java/util/MissingResourceException.java
12275         java/util/NoSuchElementException.java
12276         java/util/Observable.java java/util/Observer.java
12277         java/util/Properties.java java/util/PropertyPermission.java
12278         java/util/PropertyResourceBundle.java java/util/Random.java
12279         java/util/RandomAccess.java java/util/ResourceBundle.java
12280         java/util/Set.java java/util/SimpleTimeZone.java
12281         java/util/SortedMap.java java/util/SortedSet.java
12282         java/util/Stack.java java/util/StringTokenizer.java
12283         java/util/TimeZone.java java/util/Timer.java
12284         java/util/TimerTask.java
12285         java/util/TooManyListenersException.java
12286         java/util/TreeMap.java java/util/TreeSet.java
12287         java/util/Vector.java java/util/WeakHashMap.java
12288         java/util/jar/Attributes.java java/util/jar/JarEntry.java
12289         java/util/jar/JarException.java java/util/jar/JarFile.java
12290         java/util/jar/JarInputStream.java
12291         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12292         java/util/zip/Adler32.java java/util/zip/CRC32.java
12293         java/util/zip/CheckedInputStream.java
12294         java/util/zip/CheckedOutputStream.java
12295         java/util/zip/Checksum.java
12296         java/util/zip/DataFormatException.java
12297         java/util/zip/Deflater.java
12298         java/util/zip/DeflaterOutputStream.java
12299         java/util/zip/GZIPInputStream.java
12300         java/util/zip/GZIPOutputStream.java
12301         java/util/zip/Inflater.java
12302         java/util/zip/InflaterInputStream.java
12303         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12304         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12305         java/util/zip/ZipInputStream.java
12306         java/util/zip/ZipOutputStream.java
12307         javax/naming/BinaryRefAddr.java
12308         javax/naming/InvalidNameException.java javax/naming/Name.java
12309         javax/naming/NamingException.java javax/naming/RefAddr.java
12310         javax/naming/StringRefAddr.java: Add license clarification.
12311
12312 2002-01-22  Tom Tromey  <tromey@redhat.com>
12313
12314         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12315         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12316         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12317         version.
12318         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12319         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12320         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12321         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12322         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12323         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12324         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12325         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12326         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12327         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12328         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12329         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12330         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12331         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12332         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12333         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12334         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12335         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12336         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12337         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12338         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12339         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12340         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12341         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12342         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12343         (minimumSize, preferredSize, reshape): Likewise.
12344         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12345         getColorModel): New methods.
12346         * java/awt/PopupMenu.java: Merged with Classpath.
12347         * java/awt/MenuBar.java: Merged with Classpath.
12348         * java/awt/SystemColor.java: Replace with Classpath version.
12349         * java/awt/Panel.java: Merged with Classpath.
12350         * java/awt/PaintContext.java: Updated copyright.
12351         * java/awt/MenuShortcut.java: Merged with Classpath.
12352         * java/awt/MenuContainer.java: Merged with Classpath.
12353         * java/awt/Menu.java: Merged with Classpath.
12354         * java/awt/MediaEntry.java: New file from Classpath.
12355         * java/awt/MediaTracker.java: New file from Classpath.
12356         * java/awt/List.java: Merged with Classpath version.
12357         * java/awt/Insets.java: Merged with Classpath version.
12358         * java/awt/ImageMediaEntry.java: New file from Classpath.
12359         * java/awt/Image.java: Replaced with Classpath version.
12360         * java/awt/FontMetrics.java: Merged with Classpath version.
12361         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12362         constant.
12363         * java/awt/Font.java: Merged with Classpath version.
12364         * java/awt/Dialog.java: Merged with Classpath version.
12365         * java/awt/Color.java: Merged with Classpath version.
12366         * java/awt/Choice.java: Merged with Classpath version.
12367         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12368         * java/awt/Adjustable.java: Replace with Classpath version.
12369         * java/awt/MenuItem.java (paramString): Don't include class name
12370         or brackets.  Call superclass paramString.
12371         * java/awt/MenuComponent.java (toString): Call paramString.
12372         (paramString): Compute string; don't call toString.
12373         * java/awt/Label.java (paramString): Don't include class name
12374         or brackets.  Call superclass paramString.
12375         * java/awt/Checkbox.java (paramString): Don't include class name
12376         or brackets.  Call superclass paramString.
12377         * java/awt/Button.java (paramString): Don't include class name or
12378         brackets.  Call superclass paramString.
12379         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12380
12381 2002-01-20  Andreas Schwab  <schwab@suse.de>
12382
12383         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12384         function and of parameter recv_func to ssize_t, as specified by
12385         POSIX.
12386
12387 2002-01-19  Per Bothner  <per@bothner.com>
12388
12389         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12390         uncompressed_size in readiness for next entry.
12391
12392 2002-01-18  Tom Tromey  <tromey@redhat.com>
12393
12394         * java/net/natPlainSocketImpl.cc: Include
12395         IllegalArgumentException.h.
12396         (_Jv_recv): New template function.
12397         (BooleanClass): Removed.
12398         (read): Use _Jv_recv.
12399         (setOption): Use Boolean::class$.  Throw exception if object is
12400         not Boolean or Integer.
12401
12402 2002-01-17  Tom Tromey  <tromey@redhat.com>
12403
12404         * java/awt/MenuComponent.java: Merged with Classpath.
12405         * java/awt/MenuItem.java: Merged with Classpath.
12406         * java/awt/Button.java: Merged with Classpath.
12407
12408         * java/awt/ActiveEvent.java: Updated copyright.
12409
12410         * java/awt/AWTError.java: Replaced with Classpath version.
12411         * java/awt/AWTException.java: Replaced with Classpath version.
12412         * java/awt/IllegalComponentStateException.java: Replaced with
12413         Classpath version.
12414
12415 2002-01-16  Tom Tromey  <tromey@redhat.com>
12416
12417         * java/awt/Canvas.java (serialVersionUID): New constant.
12418         Updated copyright.  Added javadoc from Classpath.
12419         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12420
12421         * java/awt/CheckboxGroup.java: Merged with Classpath.
12422         * java/awt/Checkbox.java: Merged with Classpath.
12423
12424         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12425         Classpath.
12426         * java/awt/Point.java: Updated copyright.
12427
12428         * java/awt/Point.java (toString): Use getClass().getName().
12429         Added javadoc.
12430
12431         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12432         commented code.
12433         (hash): Correctly compute initial value for `h'.
12434
12435         * java/awt/Label.java: Merged with Classpath.
12436
12437 2002-01-15  Tom Tromey  <tromey@redhat.com>
12438
12439         * java/awt/AWTPermission.java: Updated copyright.
12440
12441         * java/awt/LayoutManager2.java: Merged with Classpath.
12442         * java/awt/LayoutManager.java: Merged with Classpath.
12443         * java/awt/GridLayout.java: Updated copyright and javadoc.
12444         (getSize): Use `parent.ncomponents'.  Handle insets.
12445         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12446         there are fewer children than columns.  Correctly compute size of
12447         each cell in the grid.  Handle case where there isn't enough
12448         space.
12449         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12450         all users.
12451         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12452         before calling setVisible() on it.  Last item is `num - 1', not
12453         `num'.
12454         (layoutContainer): Hoist invariants out of loop.
12455
12456         Start of AWT merge with Classpath:
12457         * Makefile.in: Rebuilt.
12458         * Makefile.am (awt_java_source_files): Reference files in
12459         gnu/java/awt, not gnu/gcj/awt.
12460         * java/awt/image/BufferedImage.java: Updated copyright.
12461         * java/awt/image/ComponentColorModel.java: Updated copyright.
12462         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12463         * java/awt/image/DataBuffer.java: Updated copyright.
12464         * java/awt/image/DataBufferByte.java: Updated copyright.
12465         * java/awt/image/DataBufferInt.java: Updated copyright.
12466         * java/awt/image/DataBufferUShort.java: Updated copyright.
12467         * java/awt/image/IndexColorModel.java: Updated copyright.
12468         * java/awt/image/PackedColorModel.java: Updated copyright.
12469         * java/awt/image/Raster.java: Updated copyright.
12470         * java/awt/image/RasterOp.java: Updated copyright.
12471         * java/awt/image/SampleModel.java: Updated copyright.
12472         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12473         * java/awt/image/WritableRaster.java: Updated copyright.
12474         * java/awt/color/ColorSpace.java: Updated copyright.
12475         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12476         * java/awt/color/ICC_Profile.java: Updated copyright.
12477         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12478         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12479         * java/awt/event/HierarchyEvent.java: Updated copyright.
12480         * java/awt/event/HierarchyListener.java: Updated copyright.
12481         * java/awt/geom/AffineTransform.java: Updated copyright.
12482         * java/awt/geom/Dimension2D.java: Updated copyright.
12483         * java/awt/geom/Ellipse2D.java: Updated copyright.
12484         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12485         * java/awt/geom/Line2D.java: Updated copyright.
12486         * java/awt/geom/NoninvertibleTransformException.java: Updated
12487         copyright.
12488         * java/awt/geom/PathIterator.java: Updated copyright.
12489         * java/awt/geom/Point2D.java: Updated copyright.
12490         * java/awt/geom/Rectangle2D.java: Updated copyright.
12491         * java/awt/geom/RectangularShape.java: Updated copyright.
12492         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12493         * java/awt/Toolkit.java: Updated import for file moves.
12494         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12495         Classpath.
12496         (hashCode): New method from Classpath.
12497         * java/awt/Graphics2D.java: Updated copyright.
12498         * java/awt/Transparency.java: Updated copyright.
12499         * java/awt/Paint.java: Updated copyright.
12500         * java/awt/Graphics.java: New version from Classpath.
12501         * java/awt/EventDispatchThread.java: Updated copyright.
12502         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12503         children.
12504         (gotoComponent): Wrap around on next/previous.
12505         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12506         * gnu/gcj/awt/Buffers.java: Removed.
12507         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12508         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12509         * gnu/java/awt/BitMaskExtent.java: Added.
12510         * gnu/java/awt/Buffers.java: Added.
12511         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12512         * gnu/java/awt/GLightweightPeer.java: Added.
12513         * java/awt/geom/Line2D.java (clone): Ignore
12514         CloneNotSupportedException.
12515         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12516         * java/awt/Frame.java: Merged with Classpath.
12517         * java/awt/RenderingHints.java: Copyright update.
12518         * java/awt/Paint.java: Copyright update.
12519         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12520         * java/awt/image/ColorModel.java: Merged with Classpath.
12521         * java/awt/Window.java (show): New Implementation from Classpath.
12522         (isShowing): Use super.isShowing().
12523         * java/awt/EventQueue.java: Merged with Classpath.
12524         * java/awt/AWTEventMulticaster.java (save): Throw
12525         RuntimeException.
12526         (saveInternal): Likewise.
12527         * java/awt/AWTEvent.java: Now implements Serializable.
12528         * java/awt/Event.java: Copyright update.
12529         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12530         * java/awt/image/BufferedImage.java: Copyright update.
12531         * java/awt/GraphicsConfiguration.java: Copyright update.
12532         * java/awt/Component.java: (addNotify): Don't call
12533         addNotifyContainerChildren().
12534         (addNotifyContainerChildren): Removed.
12535         (setPeer): New method from Classpath.
12536         (setTreeLock): Likewise.
12537         (setVisible): Rewrote.
12538         (show): Use it.
12539         (hide): Likewise.
12540         (validate): Set `valid'.
12541         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12542         (createImage(ImageProducer)): Likewise.
12543         (prepareImage): Likewise.
12544         * java/awt/Container.java (addImpl): Handle case where constraint
12545         is not a String.  Post event via system event queue.
12546         (remove): Post event via system event queue.
12547         (validateTree): Only validate child if it is invalid.
12548         (getAlignmentX): Call super method as default.
12549         (getAlignmentY): Likewise.
12550         (addContainerListener): Now synchronized.
12551         (removeContainerListener): Likewise.
12552         (addNotifyContainerChildren): Now private.
12553         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12554         @author.
12555         * java/awt/FlowLayout.java (serialVersionUID): New field.
12556         (setAlignment): Better exception message.
12557         (layoutContainer): Don't compute component's preferred size unless
12558         we're going to use it.
12559         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12560         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12561         (firstLine, lastLine, firstItem, lastItem): New fields.
12562         (addLayoutComponent): Handle case where constraints is null.
12563         Also, handle relative locations.
12564         (removeLayoutComponent): Handle relative locations.
12565         (MIN, MAX, PREF): New constants.
12566         (calcCompSize): New method.
12567         (calcSize): New method.
12568         (minimumLayoutSize): Use it.
12569         (preferredLayoutSize): Likewise.
12570         (maximumLayoutSize): Likewise.
12571         (toString): Include more information.
12572         (setBounds): New method.
12573         (layoutContainer): Use libgcj implementation; extended to handle
12574         relative locations.
12575
12576 2002-01-15  Tom Tromey  <tromey@redhat.com>
12577
12578         * java/lang/Float.java (equals): Preserve old code.
12579         * java/lang/Double.java (equals): Preserve old code.
12580
12581 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12582
12583         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12584         * java/lang/Float.java (equals, compare): Ditto.
12585
12586 2002-01-13  Mark Wielaard  <mark@klomp.org>
12587
12588         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12589         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12590         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12591         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12592
12593 2002-01-11  Mark Wielaard  <mark@klomp.org>
12594
12595         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12596         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12597         InetAddress.
12598         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12599         * java/net/Socket.java: Merge with Classpath.
12600         * java/net/ServerSocket.java: Likewise.
12601
12602 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12603
12604         * interpret.cc (NULLARRAYCHECK): New macro.
12605         (SAVE_PC): Just store `pc'.
12606         (find_exception): Subtract one from `pc' here.
12607         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12608         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12609         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12610         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12611         don't call SAVE_PC.
12612         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12613         call SAVE_PC.
12614
12615 2002-01-11  Tom Tromey  <tromey@redhat.com>
12616
12617         * java/lang/natSystem.cc (init_properties): Only look for default
12618         locale if LC_MESSAGES is defined.
12619         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12620         * configure.in: Call AM_LC_MESSAGES.
12621         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12622
12623 2002-01-10  Tom Tromey  <tromey@redhat.com>
12624
12625         For PR libgcj/5303:
12626         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12627         --version.  Recognize GNU-style long options.  Print GNU-style
12628         error messages.
12629         (usage): Print GNU-style help.  Exit with status 0.
12630         (error): New method.
12631         (run): Print error message if no class names found.
12632         (main): Don't print usage on error.
12633
12634 2002-01-09  Tom Tromey  <tromey@redhat.com>
12635
12636         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12637         property.
12638         (help, version): Use println(), not println("").
12639
12640         For PR libgcj/5303:
12641         * gnu/gcj/convert/Convert.java (error): Program is called
12642         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12643         -1.
12644         (main): Handle --help and --version.
12645         (help): New method.
12646         (version): Likewise.
12647
12648 2002-01-08  Tom Tromey  <tromey@redhat.com>
12649
12650         * Makefile.in: Rebuilt.
12651         * Makefile.am (ordinary_java_source_files): Added new files.
12652         * gnu/java/locale/LocaleInformation.java: Extend
12653         LocaleInformation_en.
12654         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12655         and time/date formats.
12656         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12657         generated.
12658         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12659         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12660         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12661         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12662         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12663         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12664         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12665         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12666         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12667         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12668         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12669         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12670         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12671         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12672         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12673         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12674         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12675         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12676         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12677         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12678         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12679         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12680         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12681         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12682         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12683         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12684         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12685         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12686         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12687         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12688         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12689         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12690         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12691         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12692         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12693         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12694         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12695         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12696         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12697         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12698         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12699         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12700         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12701         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12702         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12703         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12704         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12705         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12706         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12707         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12708         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12709         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12710         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12711         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12712         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12713         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12714         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12715         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12716         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12717         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12718         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12719         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12720         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12721         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12722         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12723         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12724         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12725         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12726         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12727         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12728         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12729         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12730         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12731         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12732         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12733         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12734         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12735         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12736         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12737         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12738         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12739         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12740         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12741         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12742         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12743         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12744         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12745         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12746         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12747         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12748         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12749         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12750         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12751         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12752         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12753         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12754         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12755         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12756         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12757         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12758         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12759         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12760         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12761         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12762         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12763         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12764         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12765         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12766         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12767         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12768         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12769         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12770         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12771         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12772         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12773         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12774         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12775         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12776         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12777         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12778         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12779         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12780         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12781         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12782         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12783         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12784         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12785         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12786         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12787         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12788
12789         For PR libgcj/5031:
12790         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12791         choose default locale.
12792
12793         * Makefile.in: Rebuilt.
12794         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12795
12796 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12797
12798         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12799         sockets.
12800         (close): New function closes the socket.
12801         (write): New functions for output to socket.
12802         (read): New functions for reading from socket.
12803         * java/net/PlainSocketImpl.java: Glue for new timeout
12804         implementation.
12805         (write): Call the native impl.
12806         (read): Likewise.
12807         (getInputStream): Get a stream to read from the socket.
12808         (getOutputStream): Get a stream to write to the socket.
12809
12810 2002-01-08  Tom Tromey  <tromey@redhat.com>
12811
12812         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12813
12814 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12815
12816         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12817         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12818
12819 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12820
12821         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12822         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12823         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12824         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12825         insn_bastore, insn_castore, insn_sastore]: Use it.
12826         (continue1) [insn_arraylength]: Check for null array.
12827
12828 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12829
12830         * configure, include/config.h.in: Rebuilt.
12831         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12832         * configure.in: Call AC_STRUCT_TIMEZONE.
12833
12834 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12835
12836         * configure.host: Disable the interpreter for Darwin.
12837
12838 2002-01-04  Tom Tromey  <tromey@redhat.com>
12839
12840         * java/lang/Thread.java (stop): No longer synchronized.
12841         (start): Likewise.
12842
12843 2002-01-02  Tom Tromey  <tromey@redhat.com>
12844
12845         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12846         patch.
12847
12848 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12849
12850         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12851         PPC Darwin, not for all of Darwin.