OSDN Git Service

2003-08-02 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-08-02  Michael Koch  <konqueror@gmx.de>
2
3         * java/net/URL.java
4         (URL): Added paragraph about the
5         gnu.java.net.nocache_protocol_handlers property.
6         (ph_cache): Renamed from handlers to match classpath's implementation.
7         Reordered it with factory and serialVersionUID member variables.
8         (cache_handlers): New member variable.
9         (static): New static initializer to initialize cache_handlers from
10         gnu.java.net.nocache_protocol_handlers property.
11         (URL): Use ph_cache instead of handlers, reformatted some code to
12         match classpath's implementation.
13
14 2003-08-01  Tom Tromey  <tromey@redhat.com>
15
16         Fix for PR libgcj/11241:
17         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
18         initialCapacity is 0, set it to 1.
19
20 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
21
22         * java/net/SocketImpl.java (toString): Display the remote address
23         of an unconnected server socket as "0.0.0.0/0.0.0.0".
24
25 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
26
27         * javax/swing/border/BevelBorder.java,
28         javax/swing/border/EtchedBorder.java,
29         javax/swing/border/LineBorder.java,
30         javax/swing/border/MatteBorder.java,
31         javax/swing/border/SoftBevelBorder.java,
32         javax/swing/plaf/BorderUIResource.java,
33         javax/swing/plaf/ComponentUI.java,
34         javax/swing/plaf/TreeUI.java,
35         javax/swing/plaf/basic/BasicBorders.java,
36         javax/swing/plaf/basic/BasicGraphicsUtils.java,
37         javax/swing/plaf/basic/BasicTreeUI.java:
38         Prepend "doc-files" to all paths to embedded Javadoc images, so
39         that the generated documentation contains the correct URL.
40
41 2003-08-01  Tom Tromey  <tromey@redhat.com>
42
43         * configure: Rebuilt.
44         * configure.in (tool_include_dir): Redefine to match gcc.
45
46 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
47             Mark Wielaard  <mark@klomp.org>
48             
49         * java/math/BigDecimal (divide): Correctly handle
50         ROUND_HALF_EVEN when amount is greater than 0.5.
51         Simplify and optimize code.
52
53 2003-07-31  Tom Tromey  <tromey@redhat.com>
54
55         More for PR libgcj/11737:
56         * java/io/ObjectInputStream.java (processResolution): Use
57         getMethod.
58         (getMethod): Make method accessible.
59         (getField): Make field accessible.
60         (setBooleanField): Don't call setAccessible here.
61         (setByteField, setCharField, setDoubleField, setFloatField,
62         setIntField, setLongField, setShortField, setObjectField):
63         Likewise.
64         (callReadMethod): Don't check whether method is null.  Catch
65         NoSuchMethodException.
66         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
67         cause on thrown exceptions.
68
69 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
70
71         Fix for PR libgcj/11728:
72         * java/util/HashMap.java (readObject): Set size.
73
74 2003-07-31  Tom Tromey  <tromey@redhat.com>
75
76         Fix for PR libgcj/11737:
77         * java/io/ObjectOutputStream.java (getMethod): Make method
78         accessible.
79         (getField): Likewise.
80         (writeObject): Use getMethod.
81         Import PrivilegedAction and AccessController.
82         (callWriteMethod): Don't check whether m is null.  Catch
83         NoSuchMethodException.
84
85         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
86         (containsAngle): Likewise.
87         (getStartPoint): Rewrote.
88         (getEndPoint): Likewise.
89         (setAngleStart(Point2D)): Likewise.
90
91 2003-07-31  Roger Sayle  <roger@eyesopen.com>
92             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
93
94         * configure.in: Add new THREADCXXFLAGS variable.
95         Handle POSIX threads on alpha*-dec-osf*.
96         * configure: Regenerate.
97         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
98         * Makefile.in: Regenerate.
99
100 2003-07-08  Andrew Haley  <aph@redhat.com>
101
102         * include/i386-signal.h (RESTORE): New.
103         (INIT_SEGV): Set restorer.
104         (INIT_FPE): Likewise.
105
106 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
107
108         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
109         than getXLFD.
110         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
111         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
112         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
113         (gtkSetFont): Scale size parameter by PANGO_SCALE.
114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
115         Likewise.
116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
117         Likewise.
118
119 2003-07-29  Tom Tromey  <tromey@redhat.com>
120
121         * defineclass.cc (handleField): Throw exception if field name is
122         duplicated.
123         (handleMethod): Throw exception for duplicate method.
124
125 2003-07-29  Tom Tromey  <tromey@redhat.com>
126
127         * gnu/gcj/convert/natIconv.cc (write): Handle case where
128         output buffer is too small.
129
130 2003-07-28  Tom Tromey  <tromey@redhat.com>
131
132         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
133         New method.
134         Include gnu/gcj/runtime/StringBuffer.h.
135         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
136         native method.
137         (String(gnu.gcj.runtime.StringBuffer)): Use it.
138
139 2003-07-27  Anthony Green  <green@redhat.com>
140
141         * configure.in: Fix newlib check.
142         * configure: Rebuilt.
143
144 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
145
146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
147         Create vbox and layout for GtkPlug.
148
149 2003-07-27  Michael Koch  <konqueror@gmx.de>
150
151         * java/awt/Window.java
152         (Window): Removed now unused constructor. It became oboslete with the
153         new embedded window patch.
154
155 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
156             Michael Koch  <konqueror@gmx.de>
157
158         * gnu/java/awt/EmbeddedWindow.java
159         (EmbeddedWindow): Extends Frame instead of Window.
160         (window_id): New member variable to store the native window handle.
161         (create): Removed.
162         (EmbeddedWindow): New constructor.
163         (addNotify): New method.
164         (getHandler): Likewise.
165         (setWindowPeer): New native method.
166         * gnu/java/awt/EmbeddedWindowSupport.java
167         (EmbeddedWindowSupport): Fixed documentation.
168         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
169         WindowPeer, give it an EmbeddedWindow instance instead of the raw
170         window data.
171         * gnu/java/awt/natEmbeddedWindow.cc
172         (create): Removed.
173         (setWindowPeer): New method.
174         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
175         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
176         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
177         New files
178         * gnu/java/awt/peer/gtk/GtkToolkit.java
179         (GtkToolkit): Implements EmbeddedWindowSupport.
180         (createEmbeddedWindow): New method.
181         * java/awt/Window.java
182         (Window): Removed.
183         * Makefile.am
184         (java_source_files): Added EmbeddedWindowPeer.java.
185         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
186         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
187         * Makefile.in: Regenerated.
188
189 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
190
191         * java/lang/Win32Process.java (ConcreteProcess): Surround
192         a command line element with quotes if it contains an
193         embedded space or tab.
194         * java/lang/natWin32Process.cc (startProcess): Do not
195         surround command line elements with quotes here.
196
197         * configure.host: Use -fcheck-references and 
198         -fuse-divide-subroutine for MinGW until we fix
199         win32_exception_handler( ) in win32.cc w.r.t. Win32 
200         Structured Exception Handling (SEH).
201
202         * win32.cc (_Jv_platform_initProperties): Use generic names
203         like "x86" for the "os.arch" property to be consistent with
204         what Sun's JDK produces. Use the wProcessorArchitecture
205         member of the Win32 SYSTEM_INFO structure, filled in a call 
206         to GetSystemInfo( ), instead of dwProcessorType.
207
208 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
209             Ranjit Mathew  <rmathew@hotmail.com>
210
211         * Makefile.am: Use cross-compiling gcjh from the path for
212         a crossed-native build.
213         * Makefile.in: Rebuilt.
214         * configure.in: Include libltdl in non-newlib builds.
215         Moved determination of gcj used to build libraries to
216         its own section. Fixed cross-compilation issues for
217         non-newlib builds.
218         * configure: Rebuilt.
219
220 2003-07-25  Tom Tromey  <tromey@redhat.com>
221
222         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
223         (write): Likewise.
224         (read): Likewise.
225         (read): Likewise.
226
227 2003-07-25  Mark Wielaard  <mark@klomp.org>
228
229         * java/lang/natRuntime.cc (_load): Add library name to
230         UnsatisfiedLinkError when thrown.
231
232 2003-07-25  Mark Wielaard  <mark@klomp.org>
233
234         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
235         added.
236         * Makefile.in: Likewise.
237
238 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
239
240         * java/awt/Component.java
241         (getPreferredSize): Call preferredSize.
242         (preferredSize): Moved body of getPreferredSize here.
243         (getMinimumSize): Call minimumSize.
244         (minimumSize): Moved body of getMinimumSize here.
245         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
246         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
247         pass -1
248         * java/awt/Container.java
249         (validate): Don't validate if there is no peer.
250         (update): Clear background before calling paint.
251         * java/awt/GridBagLayout.java
252         Completed the implementation and fixed several bugs.
253         * java/awt/MediaTracker.java
254         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
255         combine flags.
256         * java/awt/Window.java
257         (Window): Don't call setVisible(false). Windows are invisible by
258         default and calling virtual methods from constructor causes
259         compatibility problems (e.g. subclasses may assume that the peer
260         already exists).
261
262 2003-07-25  Michael Koch  <konqueror@gmx.de>
263
264         * java/awt/GridBagLayout.java:
265         Totally reworked and partly implemented.
266         * java/awt/GridBagLayoutInfo.java:
267         New file.
268
269 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
270
271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
272         Don't pack label in an event box.
273
274 2003-07-24  Tom Tromey  <tromey@redhat.com>
275
276         For PR libgcj/7482:
277         * verify.cc (ref_intersection): New class.
278         (type_val): Removed unresolved_reference_type,
279         uninitialized_unresolved_reference_type.
280         (is_assignable_from_slow): Rewrote.
281         (type::data): Removed.
282         (type::klass): New field.
283         (type::type): Added verifier argument.
284         (type::resolve): Removed.
285         (type::set_uninitialized): Updated for change to type_val.
286         (type::set_initialized): Likewise.
287         (type::isinitialized): Likewise.
288         (type::print): Likewise.
289         (construct_primitive_array_type): Likewise.
290         (type::compatible): Updated for change to type_val and to use
291         ref_intersection.
292         (type::isarray): Updated to use ref_intersection.
293         (type::isinterface): Likewise.
294         (type::element_type): Likewise.
295         (type::to_array): Likewise.
296         (type::verify_dimensions): Rewrote.
297         (type::merge): Likewise.
298         (check_class_constant): Updated for type constructor change.
299         (check_constant): Likewise.
300         (check_field_constant): Likewise.
301         (get_one_type): Likewise.
302         (initialize_stack): Likewise.
303         (verify_instructions_0): Likewise.
304         (verify_instructions_0) [op_invokeinterface]: Removed special
305         case.
306         (isect_list): New field.
307         (_Jv_BytecodeVerifier): Initialize it.
308         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
309
310 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
311
312         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
313         unless field size is 2.
314
315 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
316
317         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
318         (connectHooks): New method.
319         (handleEvent): Remove.
320         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
321         (createHooks): Remove declaration.
322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
323         (generates_key_typed_event): Change to handle only certain
324         keyvals.
325         (awt_event_handler): Add special handling for GtkTextView.
326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
327         (textcomponent_commit_cb): New function.
328         (textcomponent_changed_cb): Likewise.
329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
330         (connectHooks): Remove.
331
332 2003-07-23  Tom Tromey  <tromey@redhat.com>
333
334         * java/lang/natSystem.cc (arraycopy): Check for overflow.
335
336         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
337
338 2003-07-22  Tom Tromey  <tromey@redhat.com>
339
340         * boehm.cc (_Jv_BuildGCDescr): Wrote.
341         Include limits.h.
342
343 2003-07-22  Tom Tromey  <tromey@redhat.com>
344
345         * java/awt/Window.java (getWarningString): Just return the
346         string.
347         (Window): Set warningString; check with security manager.
348
349 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
350
351         * gnu/awt/xlib/XGraphicsConfiguration.java
352         (FontMetricsCache): Made static.
353  
354 2003-07-22  Tom Tromey  <tromey@redhat.com>
355
356         * java/net/URLEncoder.java (encode(String)): Use platform default
357         encoding.
358         (encode(String,String)): Convert to 2-digit upper-case hex
359         number.
360         (hex): New field.
361
362 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
363
364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
365         (create): Remove unused method implementation.
366         (connectHooks): Remove debug messages.
367
368 2003-07-20  Anthony Green  <green@redhat.com>
369
370         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
371         CloneNotSupportedException.
372         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
373         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
374         * gnu/gcj/xlib/GC.java (clone): Ditto.
375         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
376         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
377
378         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
379         handler.
380         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
381
382 2003-07-20  Steve Pribyl <steve@netfuel.com.>
383
384         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
385         String.  Put dlerror() message into exception.
386         Include UnsatisfiedLinkError.
387         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
388         String.  Now native.
389
390 2003-07-20  Tom Tromey  <tromey@redhat.com>
391
392         * java/lang/Runtime.java: Comment fix.
393         * java/lang/ClassLoader.java (isAncestorOf): New method.
394         (getParent): Uncommented security check.  Use isAncestorOf.
395         * include/jvm.h (_Jv_CheckAccess): Declare.
396         * java/lang/reflect/natConstructor.cc (newInstance): Perform
397         access check.
398         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
399         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
400         class loader to _Jv_GetArrayClass.
401         Include ArrayIndexOutOfBoundsException.h.
402         * java/lang/reflect/Field.java: Update comment to reflect status.
403         (equals): Fixed indentation.
404         * java/lang/Class.h (Class): Declare memberAccessCheck, not
405         checkMemberAccess.  Make _Jv_CheckAccess a friend.
406         * java/lang/Class.java (memberAccessCheck): New method from
407         Classpath.
408         (checkMemberAccess): Removed.
409         (getDeclaredMethod): Use memberAccessCheck.
410         (getField): Likewise.
411         (getMethod): Likewise.
412         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
413         (_Jv_SearchMethodInClass): Likewise.
414         * prims.cc (_Jv_CheckAccess): New function.
415         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
416         (_Jv_JNI_GetAnyFieldID): Likewise.
417         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
418         (getClassLoader): Added security check.
419         (getConstructor): Call memberAccessCheck.
420         (getDeclaredClasses): Likewise.
421         (getDeclaredField): Likewise.
422         (getDeclaredFields): Likewise.
423         (_getConstructors): Likewise.
424         (getDeclaredConstructor): Likewise.
425         (getDeclaredMethods): Likewise.
426         (getFields): Likewise.
427         (getMethods): Likewise.
428         (newInstance): Likewise.
429         (_Jv_MakeVTable): Put method name in exception.
430         * java/lang/reflect/natMethod.cc (getType): Use
431         getClassLoaderInternal.
432         (_Jv_GetTypesFromSignature): Likewise.
433         (invoke): Perform access check.
434         (_Jv_CallAnyMethodA): Removed old FIXME comments.
435         Include ArrayIndexOutOfBoundsException.h.
436         * java/lang/reflect/natField.cc (getType): Use
437         getClassLoaderInternal.
438         (_Jv_CheckFieldAccessibility): Removed.
439         (getAddr): Use _Jv_CheckAccess; find caller.
440         Include ArrayIndexOutOfBoundsException.h.
441
442 2003-07-20  Michael Koch  <konqueror@gmx.de>
443
444         * java/net/URL.java
445         (URL): Fixed documentation to name an argument correcty, Reformatted
446         one method declaration.
447         (getURLStreamHandler): Added documentation from classpath.
448
449 2003-07-19  Tom Tromey  <tromey@redhat.com>
450
451         * mauve-libgcj: Don't run CollationElementIterator tests.
452
453 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
454
455         * java/net/URLClassLoader.java (addURL): Moved implementation to
456         private addURLImpl() to avoid calling addURL from the constructor.
457         (addURLImpl): Contains the code that was previously in addURL.
458         (addURLs): Call addURLImpl(), not addURL().
459
460 2003-07-18  Graydon Hoare  <graydon@redhat.com>
461
462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
463         Handle missing event cases, connect to "value-changed" signal.
464
465 2003-07-18  Graydon Hoare  <graydon@redhat.com>
466
467         * java/awt/geom/CubicCurve2D.java,
468         java/awt/geom/Line2D.java,
469         java/awt/geom/QuadCurve2D.java,
470         java/awt/geom/Rectangle2D.java: 
471         Fix path some calculations, make path iterators follow
472         a consistent style.
473
474 2003-07-18  Mark Wielaard  <mark@klomp.org>
475
476         * java/util/logging/Handler.java (isLoggable): Check record level
477         smaller or equal.
478
479 2003-07-17  Michael Koch  <konqueror@gmx.de>
480
481         * gnu/java/awt/peer/gtk/GtkToolkit.java:
482         Reworked imports.
483
484 2003-07-14  Michael Koch  <konqueror@gmx.de>
485
486         * gnu/java/rmi/server/UnicastServerRef.java:
487         New version from classpath.
488
489 2003-07-14  Michael Koch  <konqueror@gmx.de>
490
491         * java/awt/image/MemoryImageSource.java,
492         java/beans/PropertyEditorManager.java,
493         javax/naming/CompoundName.java,
494         javax/naming/spi/NamingManager.java,
495         javax/swing/AbstractButton.java,
496         javax/swing/ButtonModel.java,
497         javax/swing/SwingUtilities.java,
498         javax/swing/UIManager.java,
499         javax/swing/colorchooser/DefaultColorSelectionModel.java,
500         javax/swing/event/AncestorEvent.java,
501         javax/swing/event/InternalFrameEvent.java,
502         java/util/zip/ZipFile.java:
503         New versions from classpath.
504
505 2003-07-13  Michael Koch  <konqueror@gmx.de>
506
507         * gnu/java/nio/FileChannelImpl.java,
508         gnu/java/nio/natFileChannelImpl.cc: Removed.
509         * java/io/FileInputStream.java,
510         java/io/FileOutputStream.java,
511         java/io/RandomAccessFile.java,
512         java/nio/MappedByteBufferImpl.java:
513         Import java.nio.channels.FileChannelImpl instead of
514         gnu.java.nio.FileChannelImpl.
515         * java/nio/channels/FileChannelImpl.java,
516         java/nio/channels/natFileChannelImpl.cc:
517         New files.
518         * Makefile.am
519         (ordinary_java_source_files):
520         Removed gnu/java/nio/FileChannelImpl.java and added
521         java/nio/channels/FileChannelImpl.java.
522         (nat source_files):
523         Removed gnu/java/nio/natFileChannelImpl.cc and added
524         java/nio/channels/natFileChannelImpl.cc.
525         * Makefile.in: Regenerated.
526
527 2003-07-13  Michael Koch  <konqueror@gmx.de>
528
529         * javax/swing/plaf/basic/BasicBorders.java,
530         javax/swing/plaf/basic/BasicLabelUI.java,
531         javax/swing/plaf/basic/BasicLookAndFeel.java,
532         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
533         javax/swing/plaf/basic/BasicTextUI.java,
534         javax/swing/plaf/metal/MetalLookAndFeel.java:
535         New versions from classpath.
536
537 2003-07-13  Michael Koch  <konqueror@gmx.de>
538
539         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
540         * gnu/java/awt/peer/gtk/GdkGraphics.java
541         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
542         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
543         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
544         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
545         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
546         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
547         * gnu/java/awt/peer/gtk/GtkClipboard.java
548         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
549         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
550         * gnu/java/awt/peer/gtk/GtkFramePeer.java
551         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
552         * gnu/java/awt/peer/gtk/GtkImage.java
553         * gnu/java/awt/peer/gtk/GtkImagePainter.java
554         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
555         * gnu/java/awt/peer/gtk/GtkListPeer.java
556         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
557         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
558         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
559         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
560         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
561         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
562         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
563         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
564         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
565         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
566         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
567         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
568
569 2003-07-13  Michael Koch  <konqueror@gmx.de>
570
571         * gnu/java/locale/LocaleInformation_de.java
572         * gnu/java/locale/LocaleInformation_en.java
573         * gnu/java/locale/LocaleInformation_nl.java
574
575 2003-07-13  Michael Koch  <konqueror@gmx.de>
576
577         * gnu/java/awt/EmbeddedWindow.java,
578         gnu/java/awt/EmbeddedWindowSupport.java,
579         gnu/java/awt/natEmbeddedWindow.cc:
580         New files.
581         * java/awt/Window.java
582         (Window): New constructor to support embedded windows.
583         * Makefile.am
584         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
585         gnu/java/awt/EmbeddedWindowSupport.java.
586         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
587         * Makefile.in: Regenerated.
588
589 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
590
591         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
592         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
593         * java/awt/im/InputContext.java: Remove a redundant
594         partial line.
595
596 2003-07-09  Tom Tromey  <tromey@redhat.com>
597
598         * Makefile.in: Rebuilt.
599         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
600
601 2003-07-09  Mark Wielaard  <mark@klomp.org>
602
603         * java/io/ObjectOutputStream.java (writeObject): break after
604         calling writeClassDescriptor().
605
606 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
607
608         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
609
610 2003-07-09  Michael Koch  <konqueror@gmx.de>
611
612         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
613         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
614         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
615         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
616         Explicitly import used classes.
617         * java/awt/Container.java: New version from classpath.
618
619 2003-07-09  Michael Koch  <konqueror@gmx.de>
620
621         * libgcj.pc.in: New file.
622         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
623         * Makefile.in: Regenerated.
624         * configure: Regenrated.
625         * configure.in: Create libgcj.pc from libgcj.pc.in.
626
627 2003-07-08  Mark Wielaard <mark@klomp.org>
628
629         * gcj/cni.h: CNI now expands to Compiled Native Interface.
630
631         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
632         * java/lang/fdlibm.h: Likewise.
633
634 2003-07-07  Adam Megacz <adam@xwt.org>
635
636         * posix.cc: added #include<stdio.h>
637                 
638 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
639
640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
641         formatting.
642
643         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
644         (setCaretPosition, setEditable): Rely entirely on native
645         implementation.
646         (getArgs): Remove.
647         (postTextEvent): New method.
648         (handleEvent): New method.
649         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
650         method.
651         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
653         (keysym_to_awt_keycode): Fix range checks.
654         (generates_key_typed_event): New function.
655         (awt_event_handler): Post AWT_KEY_RELEASED events to event
656         queue.
657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
658         (gtkInit): Store TextComponent's postTextEvent method ID.
659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
660         (setText): Post TEXT_VALUE_CHANGED event to event queue.
661
662 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
663
664         * configure.in: Check for usleep declaration.
665         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
666         * configure: Regenerate.
667         * include/config.h.in: Likewise.
668         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
669
670 2003-07-01  Michael Koch  <konqueror@gmx.de>
671
672         * gnu/gcj/convert/natIconv.cc
673         (iconv_init): Fixed possible memory leak by releasing allocated iconv
674         handle.
675
676 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
677
678         * glib-2.0.m4: New file.
679         * gtk-2.0.m4: New file.
680         * glib.m4: Remove.
681         * gtk.m4: Remove.
682         * configure.in: Update AM_PATH_GTK macro call to
683         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
685         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
686         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
687         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
688         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
689         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
690         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
693         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
695         jni/gtk-peer/gthread-jni.c,
696         jni/gtk-peer/gthread-jni.h:
697         New versions from classpath.
698         * aclocal.m4: Regenerate.
699         * configure: Regenerate.
700         * Makefile.in: Regenerate.
701         * gcj/Makefile.in: Regenerate.
702         * include/Makefile.in: Regenerate.
703         * testsuite/Makefile.in: Regenerate.
704
705 2003-06-30  Gary Benson  <gbenson@redhat.com>
706
707         For PR libgcj/11349:
708         * javax/naming/spi/NamingManager.java (getURLContext): Use
709         correct name for factory class.
710
711 2003-06-28  Michael Koch  <konqueror@gmx.de>
712
713         * java/io/PrintStream.java
714         (checkError): Call flush() instead of direct flushing of the Writer
715         object.
716         (print): Call print(String) instead of direct print method of the
717         Writer Object.
718         (println): Call println(String) instead of direct println method of the
719         Writer Object.
720         (write): Simplified.
721
722 2003-06-28  Michael Koch  <konqueror@gmx.de>
723
724         * java/net/ServerSocket.java
725         (setChannel): New method.
726         * java/net/Socket.java
727         (setChannel): New method.
728
729 2003-06-27  Michael Koch  <konqueror@gmx.de>
730
731         * java/beans/beancontext/BeanContextSupport.java:
732         New version from classpath.
733
734 2003-06-27  Michael Koch  <konqueror@gmx.de>
735
736         * java/awt/Window.java,
737         java/awt/font/GraphicAttribute.java,
738         java/awt/font/ImageGraphicAttribute.java,
739         java/awt/image/DataBufferByte.java,
740         java/awt/image/DataBufferInt.java,
741         java/awt/image/DataBufferUShort.java,
742         java/awt/image/DirectColorModel.java,
743         java/awt/image/PixelGrabber.java:
744         New versions from classpath.
745
746 2003-06-27  Michael Koch  <konqueror@gmx.de>
747
748         * java/security/Certificate.java
749         (getGuarantor): Removed wrong @deprecated tag.
750         (getPrincipal): Likewise.
751         (getPublicKey): Likewise.
752         (encode): Likewise.
753         (decode): Likewise.
754         (getFormat): Likewise.
755         (toString): Likewise.
756         * java/security/cert/PolicyQualifierInfo.java
757         (PolicyQualifierInfo): Made final.
758         * javax/security/auth/x500/X500Principal.java
759         (serialVersionUID): New member variable.
760
761 2003-06-27  Michael Koch  <konqueror@gmx.de>
762
763         * java/text/Format.java
764         (serialVersionUID): Fixed value.
765
766 2003-06-27  Michael Koch  <konqueror@gmx.de>
767
768         * java/net/Inet4Address.java
769         (Inet4Address): Made package-private.
770         * java/net/Inet6Address.java
771         (Inet4Address): Made package-private.
772
773 2003-06-27  Michael Koch  <konqueror@gmx.de>
774
775         * java/io/RandomAccessFile.java
776         (readLine): Removed wrong @deprecated tag.
777         (getChannel): Made final.
778
779 2003-06-27  Michael Koch  <konqueror@gmx.de>
780
781         * gnu/java/nio/FileChannelImpl.java
782         (write): Removed.
783
784 2003-06-27  Michael Koch  <konqueror@gmx.de>
785
786         * java/nio/ByteBufferImpl.java
787         (ByteBufferImpl): Made it a package-private class
788         * java/nio/CharBufferImpl.java
789         (CharBufferImpl): Made it a package-private class
790         * java/nio/DirectByteBufferImpl.java
791         (DirectByteBufferImpl): Made it a package-private class
792         * java/nio/DoubleBufferImpl.java
793         (DoubleBufferImpl): Made it a package-private class
794         * java/nio/FloatBufferImpl.java
795         (FloatBufferImpl): Made it a package-private class
796         * java/nio/IntBufferImpl.java
797         (IntBufferImpl): Made it a package-private class
798         * java/nio/LongBufferImpl.java
799         (LongBufferImpl): Made it a package-private class
800         * java/nio/ShortBufferImpl.java
801         (ShortBufferImpl): Made it a package-private class
802         * java/nio/channels/FileChannel.java
803         (write): Made final.
804         * java/nio/channels/ServerSocketChannel.java
805         (ServerSocketChanne): Made protected.
806
807 2003-06-27  Michael Koch  <konqueror@gmx.de>
808
809         * javax/naming/CompositeName.java
810         (serialVersionUID): New member variable.
811         * javax/naming/CompoundName.java
812         (serialVersionUID): New member variable.
813         * javax/naming/InitialContext.java
814         (InitialContext): Throws NamingException.
815         (init): Likewise.
816         * javax/naming/LinkRef.java
817         (serialVersionUID): New member variable.
818         (gteLinkName): Throws NamingException.
819         * javax/naming/NamingException.java
820         (serialVersionUID): New member variable.
821         * javax/naming/NamingSecurityException.java
822         (NamingSecurityException): Made abstract.
823         (serialVersionUID): New member variable.
824         * javax/naming/ReferralException.java
825         (serialVersionUID): New member variable.
826         * javax/naming/StringRefAddr.java
827         (serialVersionUID): New member variable.
828         * javax/naming/directory/BasicAttribute.java:
829         Reworked imports.
830         (serialVersionUID): New member variable.
831         (get): Throws NamingException.
832         (getAll): Throws NamingException.
833         * javax/naming/directory/BasicAttributes.java:
834         Reworked imports.
835         (serialVersionUID): New member variable.
836         * javax/naming/ldap/UnsolicitedNotificationEvent.java
837         (serialVersionUID): New member variable.
838
839 2003-06-27  Michael Koch  <konqueror@gmx.de>
840
841         * Makefile.am
842         (awt_java_source_files): Added new files:
843         javax/swing/Popup.java,
844         javax/swing/PopupFactory.java
845         * Makefile.in: Regenerated.
846
847 2003-06-27  Michael Koch  <konqueror@gmx.de>
848
849         * javax/swing/JWindow.java,
850         javax/swing/event/AncestorEvent.java,
851         javax/swing/event/HyperlinkEvent.java,
852         javax/swing/event/InternalFrameEvent.java,
853         javax/swing/event/ListDataEvent.java,
854         javax/swing/event/TableModelEvent.java,
855         javax/swing/plaf/PopupMenuUI.java,
856         javax/swing/plaf/SplitPaneUI.java,
857         javax/swing/plaf/TabbedPaneUI.java,
858         javax/swing/plaf/TextUI.java,
859         javax/swing/plaf/TreeUI.java,
860         javax/swing/plaf/basic/BasicTextUI.java,
861         javax/swing/plaf/basic/BasicTreeUI.java:
862         New versions from classpath.
863         * javax/swing/Popup.java,
864         javax/swing/PopupFactory.jav:
865         New source files from classpath.
866         * javax/swing/plaf/doc-files/TreeUI-1.png:
867         New binary files from classpath.
868
869 2003-06-25  Michael Koch  <konqueror@gmx.de>
870
871         * Makefile.am
872         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
873         * Makefile.in: Regenerated.
874
875 2003-06-25  Michael Koch  <konqueror@gmx.de>
876
877         * javax/swing/plaf/ActionMapUIResource.java,
878         javax/swing/plaf/BorderUIResource.java,
879         javax/swing/plaf/ButtonUI.java,
880         javax/swing/plaf/ColorChooserUI.java,
881         javax/swing/plaf/ColorUIResource.java,
882         javax/swing/plaf/ComboBoxUI.java,
883         javax/swing/plaf/ComponentInputMapUIResource.java,
884         javax/swing/plaf/ComponentUI.java,
885         javax/swing/plaf/DesktopIconUI.java,
886         javax/swing/plaf/DesktopPaneUI.java,
887         javax/swing/plaf/DimensionUIResource.java,
888         javax/swing/plaf/FileChooserUI.java,
889         javax/swing/plaf/FontUIResource.java,
890         javax/swing/plaf/IconUIResource.java,
891         javax/swing/plaf/InputMapUIResource.java,
892         javax/swing/plaf/InsetsUIResource.java,
893         javax/swing/plaf/InternalFrameUI.java,
894         javax/swing/plaf/LabelUI.java,
895         javax/swing/plaf/ListUI.java,
896         javax/swing/plaf/MenuBarUI.java,
897         javax/swing/plaf/MenuItemUI.java,
898         javax/swing/plaf/OptionPaneUI.java,
899         javax/swing/plaf/PanelUI.java,
900         javax/swing/plaf/ProgressBarUI.java,
901         javax/swing/plaf/RootPaneUI.java,
902         javax/swing/plaf/ScrollBarUI.java,
903         javax/swing/plaf/ScrollPaneUI.java,
904         javax/swing/plaf/SeparatorUI.java,
905         javax/swing/plaf/SliderUI.java,
906         javax/swing/plaf/TableHeaderUI.java,
907         javax/swing/plaf/TableUI.java,
908         javax/swing/plaf/ToolBarUI.java,
909         javax/swing/plaf/ToolTipUI.java,
910         javax/swing/plaf/ViewportUI.java:
911         New versions from classpath.
912         * javax/swing/plaf/SpinnerUI.java: 
913         New file from classpath
914
915 2003-06-25  Michael Koch  <konqueror@gmx.de>
916
917         * java/awt/image/ColorModel.java:
918         New version from classpath.
919
920 2003-06-25  Michael Koch  <konqueror@gmx.de>
921
922         * java/net/PlainDatagramSocketImpl.java:
923         Partly merged with classpath, this mainly adds documentation.
924
925 2003-06-25  Michael Koch  <konqueror@gmx.de>
926
927         * java/io/ObjectInputStream.java
928         (readClassDescriptor): New method.
929         (readObject): Moved functionality to readClassDescriptor().
930         * java/io/ObjectOutputStream.java
931         (writeClassDescriptor): New method.
932         (writeObject): Moved functionality to writeClassDescriptor().
933
934 2003-06-25  Michael Koch  <konqueror@gmx.de>
935
936         * javax/swing/plaf/basic/BasicListUI.java,
937         javax/swing/plaf/basic/BasicOptionPaneUI.java:
938         Added missing methods.
939
940 2003-06-25  Michael Koch  <konqueror@gmx.de>
941
942         * javax/swing/event/AncestorEvent.java
943         javax/swing/event/HyperlinkEvent.java
944         javax/swing/event/InternalFrameEvent.java
945         javax/swing/event/ListDataEvent.java
946         javax/swing/event/TableModelEvent.java:
947         Compile fixes.
948
949 2003-06-24  Michael Koch  <konqueror@gmx.de>
950
951         * java/net/URL.java:
952         Renamed "handler" to "ph" in the whole file to match classpaths
953         version.
954         * java/net/URLStreamHandler.java:
955         (equals): Renamed "handler" to "ph".
956
957 2003-06-24  Michael Koch  <konqueror@gmx.de>
958
959         * javax/swing/event/AncestorEvent.java,
960         javax/swing/event/HyperlinkEvent.java,
961         javax/swing/event/InternalFrameEvent.java,
962         javax/swing/event/ListDataEvent.java,
963         javax/swing/event/TableModelEvent.java,
964         javax/swing/event/TreeWillExpandListener.java,
965         javax/swing/plaf/ComponentUI.java,
966         javax/swing/plaf/DesktopIconUI.java,
967         javax/swing/plaf/DesktopPaneUI.java,
968         javax/swing/plaf/DimensionUIResource.java,
969         javax/swing/plaf/FileChooserUI.java,
970         javax/swing/plaf/FontUIResource.java,
971         javax/swing/plaf/IconUIResource.java,
972         javax/swing/plaf/InputMapUIResource.java,
973         javax/swing/plaf/InsetsUIResource.java,
974         javax/swing/plaf/InternalFrameUI.java,
975         javax/swing/plaf/LabelUI.java,
976         javax/swing/plaf/ListUI.java,
977         javax/swing/plaf/MenuBarUI.java,
978         javax/swing/plaf/MenuItemUI.java,
979         javax/swing/plaf/OptionPaneUI.java,
980         javax/swing/plaf/PanelUI.java,
981         javax/swing/plaf/ProgressBarUI.java,
982         javax/swing/plaf/doc-files/ComponentUI-1.dia,
983         javax/swing/plaf/doc-files/ComponentUI-1.png:
984         New versions from classpath.
985
986 2003-06-24  Michael Koch  <konqueror@gmx.de>
987
988         * java/nio/Buffer.java
989         (cap): Made package-private.
990         (pos): Likewise.
991         (limit): Likewise.
992         (mark): Likewise.
993
994 2003-06-24  Michael Koch  <konqueror@gmx.de>
995
996         * java/net/SocketImpl.java
997         (shutdownInput): Made it non-abstract method throwing an exception
998         like in SUNs JRE.
999         (shutdownOutput): Likewise.
1000         * java/net/SocketInputStream.java,
1001         java/net/SocketOutputStream.java:
1002         New files from classpath.
1003
1004 2003-06-24  Michael Koch  <konqueror@gmx.de>
1005
1006         * java/awt/Font.java,
1007         java/awt/Window.java,
1008         java/awt/color/ColorSpace.java,
1009         java/awt/datatransfer/StringSelection.java,
1010         java/awt/image/ColorModel.java:
1011         New versions from classpath.
1012
1013 2003-06-24  Michael Koch  <konqueror@gmx.de>
1014
1015         * Makefile.am
1016         (awt_java_source_files): Added new files:
1017         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1018         javax/swing/plaf/basic/BasicSplitPaneUI.java
1019         * Makefile.in: Regenerated.
1020
1021 2003-06-24  Michael Koch  <konqueror@gmx.de>
1022
1023         * javax/swing/text/JTextComponent.java:
1024         New version from classpath.
1025
1026 2003-06-24  Michael Koch  <konqueror@gmx.de>
1027
1028         * javax/swing/Timer.java,
1029         javax/swing/plaf/ActionMapUIResource.java,
1030         javax/swing/plaf/ButtonUI.java,
1031         javax/swing/plaf/ColorChooserUI.java,
1032         javax/swing/plaf/ColorUIResource.java,
1033         javax/swing/plaf/ComboBoxUI.java,
1034         javax/swing/plaf/ComponentInputMapUIResource.java,
1035         javax/swing/plaf/basic/BasicBorders.java:
1036         New versions from classpath.
1037         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1038         javax/swing/plaf/basic/BasicSplitPaneUI.java:
1039         New file from classpath.
1040         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1041         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1042         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1043         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1044         javax/swing/plaf/doc-files/ComponentUI-1.png:
1045         New binary files from classpath.
1046
1047 2003-06-24  Michael Koch  <konqueror@gmx.de>
1048
1049         * java/io/LineNumberReader.java
1050         (skip): Dont do line number accounting here as this is already done in
1051         read(), simplified.
1052
1053 2003-06-21  Michael Koch  <konqueror@gmx.de>
1054
1055         * java/io/File.java
1056         (static): Load javaio lib if existing (only in classpath).
1057         (File): Revised documentation to show the correct argument name.
1058         (createTempFile): Partly merged with classpath.
1059         (compareTo): Simplified.
1060         (lastModified): Throw exception if time < 0.
1061         (deleteOnExit): Revised documentation.
1062
1063 2003-06-21  Michael Koch  <konqueror@gmx.de>
1064
1065         * java/net/PlainSocketImpl.java:
1066         Reformatted.
1067         (PlainSocketImpl): Merged class documentaion with classpath.
1068         (in): Moved.
1069         (out): Moved.
1070         (PlainSocketImpl): New empty constructor.
1071         (finalize): Moved.
1072         (setOption): Merged documentation from classpath.
1073         (getOption): Likewise.
1074         (create): Likewise.
1075         (connect): Likewise.
1076         (bind): Likewise.
1077         (listen): Likewise.
1078         (accept): Likewise.
1079         (available): Likewise.
1080         (close): Likewise.
1081         (read): Likewise.
1082         (write): Likewise.
1083         (getInputStream): Made synchronozed to get sure that only one stream
1084         object can be created for this socket, merged documentation from
1085         classpath.
1086         (getOutputStream): Likewise.
1087
1088 2003-06-21  Michael Koch  <konqueror@gmx.de>
1089
1090         * java/net/PlainSocketImpl.java:
1091         Reformatting.
1092         (static): New implicit method.
1093         (read): Made package private.
1094         (write): Likewise.
1095
1096 2003-06-21  Michael Koch  <konqueror@gmx.de>
1097
1098         * java/util/SimpleTimeZone.java:
1099         Removed unneeded import, reformatting.
1100
1101 2003-06-21  Michael Koch  <konqueror@gmx.de>
1102
1103         * java/text/DateFormat.java,
1104         java/text/SimpleDateFormat.java,
1105         java/util/Locale.java:
1106         New versions from classpath.
1107
1108 2003-06-21  Michael Koch  <konqueror@gmx.de>
1109
1110         * javax/swing/SpinnerModel.java:
1111         New file from classpath.
1112         * javax/swing/border/LineBorder.java,
1113         javax/swing/border/SoftBevelBorder.java,
1114         javax/swing/plaf/BorderUIResource.java,
1115         javax/swing/plaf/basic/BasicBorders.java:
1116         New versions from classpath.
1117         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1118         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1119         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1120         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1121         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1122         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1123         New binary files from classpath.
1124
1125 2003-06-21  Michael Koch  <konqueror@gmx.de>
1126
1127         * java/util/logging/LogRecord.java,
1128         java/util/logging/Logger.java,
1129         java/util/logging/SocketHandler.java,
1130         java/util/logging/SimpleFormatter.java,
1131         java/util/logging/Formatter.java,
1132         java/util/logging/ErrorManager.java,
1133         java/util/logging/Handler.java,
1134         java/util/logging/FileHandler.java,
1135         java/util/logging/LogManager.java,
1136         java/util/logging/Level.java,
1137         java/util/logging/ConsoleHandler.java,
1138         java/util/logging/StreamHandler.java,
1139         java/util/logging/LoggingPermission.java,
1140         java/util/logging/Filter.java,
1141         java/util/logging/MemoryHandler.java,
1142         java/util/logging/XMLFormatter.java:
1143         New files from classpath.
1144
1145 2003-06-20  Michael Koch  <konqueror@gmx.de>
1146
1147         * java/io/ObjectStreamField.java
1148         (unshared): new member variable.
1149         (ObjectStreamField): New constructor.
1150         (isUnshared): New method.
1151
1152 2003-06-20  Michael Koch  <konqueror@gmx.de>
1153
1154         * java/net/URLStreamHandler.java
1155         (hostsEqual): Rewritten.
1156
1157 2003-06-20  Michael Koch  <konqueror@gmx.de>
1158
1159         * gnu/java/nio/MappedByteFileBuffer.java,
1160         gnu/java/nio/natMappedByteFileBuffer.cc:
1161         Removed
1162         * java/nio/MappedByteBufferImpl.java:
1163         New file.
1164         * gnu/java/nio/FileChannelImpl.java:
1165         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1166         * Makefile.am
1167         (ordinary_java_source_files): Removed
1168         gnu/java/nio/MappedByteFileBuffer.java and added
1169         java/nio/MappedByteBufferImpl.java.
1170         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1171         * Makefile.in: Regenerated.
1172
1173 2003-06-19  Michael Koch  <konqueror@gmx.de>
1174
1175         * gnu/java/nio/DatagramChannelImpl.java
1176         (fd): Removed.
1177         (blocking): New member variable.
1178         (socket): Likewise.
1179         (DatagramChannelImpl): Throws IOException, initialize socket.
1180         (socket):Implemented.
1181         (implCloseSelectableChannel): Throws IOException, implemented.
1182         (implConfigureBlocking): Likewise.
1183         (connect): Likewise.
1184         (disconnect): Likewise.
1185         (isConnected): Likewise.
1186         (write): Likewise.
1187         (read): Likewise.
1188         (receive): Throws IOException.
1189         (send): Likewise.
1190         * gnu/java/nio/SocketChannelImpl.java
1191         (read): Implemented.
1192         (write): Implemented.
1193
1194 2003-06-19  Michael Koch  <konqueror@gmx.de>
1195
1196         * javax/swing/JComponent.java,
1197         javax/swing/JInternalFrame.java,
1198         javax/swing/MenuSelectionManager.java,
1199         javax/swing/SwingUtilities.java,
1200         javax/swing/ToggleButtonModel.java:
1201         New versions from classpath.
1202
1203 2003-06-19  Michael Koch  <konqueror@gmx.de>
1204
1205         * java/text/CollationElementIterator.java
1206         (NULLORDER): Initialize with -1 as JDK documentation says.
1207
1208 2003-06-19  Michael Koch  <konqueror@gmx.de>
1209
1210         * java/net/HttpURLConnection.java,
1211         java/net/Inet4Address.java,
1212         java/net/Inet6Address.java,
1213         java/net/SocketImpl.java,
1214         java/net/URLClassLoader.java:
1215         Reworked import statements.
1216         * java/net/InetAddress.java
1217         (getByAddress): Simplified.
1218         * java/net/ServerSocket.java
1219         (ServerSocket): Moved special handling during bind operation to
1220         bind().
1221         (bind): Handle different cases when trying to bind a socket.
1222         * java/net/URLConnection.java
1223         (getHeaderFieldDate): Merged with classpath.
1224         (getHeaderFieldInt): Likewise.
1225
1226 2003-06-19  Michael Koch  <konqueror@gmx.de>
1227
1228         * java/util/zip/InflaterInputStream.java
1229         (InflaterInputStream): Throw NullPointerException if in is null (as
1230         JDK does).
1231
1232 2003-06-19  Michael Koch  <konqueror@gmx.de>
1233
1234         * java/awt/Font.java
1235         javax/swing/UIManager.java
1236         javax/swing/border/AbstractBorder.java
1237         javax/swing/border/BevelBorder.java
1238         javax/swing/border/Border.java
1239         javax/swing/border/CompoundBorder.java
1240         javax/swing/border/EmptyBorder.java
1241         javax/swing/border/EtchedBorder.java
1242         javax/swing/border/LineBorder.java
1243         javax/swing/border/MatteBorder.java
1244         javax/swing/border/TitledBorder.java
1245         javax/swing/plaf/BorderUIResource.java
1246         javax/swing/plaf/basic/BasicBorders.java
1247         javax/swing/plaf/basic/BasicButtonUI.java
1248         javax/swing/plaf/basic/BasicCheckBoxUI.java
1249         javax/swing/plaf/basic/BasicGraphicsUtils.java
1250         javax/swing/plaf/basic/BasicLabelUI.java
1251         javax/swing/plaf/basic/BasicRadioButtonUI.java
1252         javax/swing/plaf/basic/BasicToggleButtonUI.java:
1253         New versions from classpath.
1254         * javax/swing/border/SoftBevelBorder.java:
1255         New file from classpath.
1256         * javax/swing/border/doc-files/LineBorder-1.png,
1257         javax/swing/border/doc-files/BevelBorder-1.png,
1258         javax/swing/border/doc-files/BevelBorder-2.png,
1259         javax/swing/border/doc-files/BevelBorder-3.png,
1260         javax/swing/border/doc-files/EmptyBorder-1.png,
1261         javax/swing/border/doc-files/EtchedBorder-1.png,
1262         javax/swing/border/doc-files/EtchedBorder-2.png,
1263         javax/swing/border/doc-files/MatteBorder-1.png,
1264         javax/swing/border/doc-files/MatteBorder-2.png,
1265         javax/swing/border/doc-files/MatteBorder-3.png,
1266         javax/swing/border/doc-files/MatteBorder-4.png,
1267         javax/swing/border/doc-files/MatteBorder-5.png,
1268         javax/swing/border/doc-files/MatteBorder-6.png,
1269         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1270         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1271         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1272         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1273         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1274         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1275         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1276         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1277         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1278         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1279         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1280         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1281         New binary files from classpath.
1282         * Makefile.am
1283         (awt_java_source_files): Added
1284         javax/swing/border/SoftBevelBorder.java.
1285         * Makefile.in: Regenerated.
1286
1287 2003-06-19  Michael Koch  <konqueror@gmx.de>
1288
1289         * gnu/java/security/x509/X509Certificate.java
1290         (writeReplace): Merged from classpath.
1291
1292 2003-06-19  Michael Koch  <konqueror@gmx.de>
1293
1294         * gnu/java/nio/FileChannelImpl.java
1295         (map_address): Made public.
1296         (FileChannelImpl): Merged with classpath.
1297         * gnu/java/nio/natFileChannelImpl.cc
1298         (nio_mmap_file): Commented out unused arguments.
1299         (nio_unmmap_file): Likewise.
1300         (niu_msync): Likewise.
1301
1302 2003-06-19  Michael Koch  <konqueror@gmx.de>
1303
1304         * java/awt/image/IndexColorModel.java:
1305         New version from classpath.
1306
1307 2003-06-18  Tom Tromey  <tromey@redhat.com>
1308
1309         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1310         on arrays.
1311         (isLoopbackAddress): Likewise.
1312         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1313         on arrays.
1314
1315 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
1316
1317         * java/lang/natVMSecurityManager.cc (getClassContext):
1318         Use maxlen instead of len for loop bound.
1319
1320 2003-06-18  Michael Koch  <konqueror@gmx.de>
1321
1322         * gnu/java/nio/SelectorImpl.java
1323         (register): Use fd with value 0 for now, will be fixed later.
1324         * gnu/java/nio/ServerSocketChannelImpl.java
1325         (fd): Removed.
1326         (local_port): Removed.
1327         (InetSocketAddress): Removed.
1328         (ServerSocketChannelImpl): Just initialize internal socket object.
1329         (implCloseSelectableChannel): Close internal socket object.
1330         (implConfigureBlocking): Added comment.
1331         (accept): Use jaba.net stuff to accept socket.
1332         * gnu/java/nio/SocketChannelImpl.java
1333         (fd): Removed.
1334         (local_port): Removed.
1335         (InetSocketAddress): Removed.
1336         (SocketCreate): Removed.
1337         (SocketConnect): Removed.
1338         (SocketBind): Removed.
1339         (SocketListen): Removed.
1340         (SocketAvailable): Removed.
1341         (SocketClose): Removed.
1342         (SocketRead): Removed.
1343         (SocketWrite): Removed.
1344         (SocketChannelImpl): Just initialize internal socket object.
1345         (implCloseSelectableChannel): Close internal socket object.
1346         (implConfigureBlocking): Fixed implementation, added comment.
1347         (connect): Use internal socket object to connect.
1348         (socket): No need for sanity checks.
1349         (read): Comment out some stuff, this will be reimplemented in the next
1350         commit.
1351         (write): Likewise.
1352         * gnu/java/nio/natFileChannelImpl.cc
1353         (nio_mmap_file): Line wrapped.
1354         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1355         * Makefile.am
1356         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1357         * Makefile.in: Regenerated.
1358
1359 2003-06-18  Michael Koch  <konqueror@gmx.de>
1360
1361         * java/util/Locale.java
1362         (equals): Merged from classpath.
1363
1364 2003-06-18  Michael Koch  <konqueror@gmx.de>
1365
1366         * java/net/InetAddress.java:
1367         Reformatted to better match classpath's version.
1368         * java/net/URL.java
1369         (equals): Simplified.
1370         * java/net/URLConnection.java
1371         (setDoInput): Revised documentation.
1372         (getDefaultUseCaches): Likewise.
1373         (setRequestProperty): Added @since tag.
1374
1375 2003-06-17  Michael Koch  <konqueror@gmx.de>
1376
1377         * java/net/InetSocketAddress.java
1378         (InetSocketAddress): Use wildcard address if addr is null.
1379         (InetSocketAddress): Dont duplicate implementation.
1380         (InetSocketAddress): Throw exception when hostname is null.
1381         * java/net/Socket.java:
1382         Reworked imports.
1383         (Socket): Throw exception when raddr is null, handle case when laddr
1384         is null.
1385
1386 2003-06-17  Michael Koch  <konqueror@gmx.de>
1387
1388         * java/nio/DirectByteBufferImpl.java
1389         (address): Made package private.
1390         (DirectByteBufferImpl): New constructor.
1391         * java/nio/natDirectByteBufferImpl.cc
1392         (allocateImpl): Moved to java.nio namespace, implemented.
1393         (freeImpl): Likewise.
1394         (getImpl): Likewise.
1395         (putImpl): Likewise.
1396         * jni.cc
1397         (_Jv_JNI_NewDirectByteBuffer): Implemented.
1398         (_Jv_JNI_GetDirectBufferAddress): Implemented.
1399         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1400
1401 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1402
1403         * include/powerpc-signal.h: New File.
1404         * configure.in: Use it.
1405         * configure: Regenerated.
1406
1407 2003-06-17  Michael Koch  <konqueror@gmx.de>
1408
1409         * java/util/Locale.java
1410         (getDisplayLanguage): Made it final.
1411         (getDisplayCountry): Likewise.
1412         (getDisplayVariant): Likewise.
1413         (getDisplayName): Likewise.
1414
1415 2003-06-17  Michael Koch  <konqueror@gmx.de>
1416
1417         * java/util/PropertyResourceBundle.java:
1418         Removed unneeded import.
1419
1420 2003-06-17  Michael Koch  <konqueror@gmx.de>
1421
1422         * java/util/prefs/AbstractPreferences.java,
1423         java/util/prefs/PreferencesFactory.java:
1424         Reworked imports, removed unused imports.
1425         * java/util/prefs/Preferences.java
1426         (systemNodeForPackage): Method takes a Class not an Object.
1427         (userNodeForPackage): Likewise.
1428         (nodeForPackage): Likewise.
1429
1430 2003-06-17  Michael Koch  <konqueror@gmx.de>
1431
1432         * gnu/java/security/x509/X509Certificate.java:
1433         Explicitely import used classes.
1434
1435 2003-06-17  Michael Koch  <konqueror@gmx.de>
1436
1437         * java/util/zip/ZipEntry.java,
1438         java/util/zip/ZipFile.java,
1439         java/util/zip/ZipInputStream.java,
1440         java/util/zip/ZipOutputStream.java:
1441         Reworked imports, only import used classes.
1442
1443 2003-06-17  Michael Koch  <konqueror@gmx.de>
1444
1445         * gnu/java/lang/ArrayHelper.java,
1446         gnu/java/lang/ClassHelper.java:
1447         Reformatted to match classpath's versions.
1448
1449 2003-06-14  Michael Koch  <konqueror@gmx.de>
1450
1451         * gnu/java/nio/FileChannelImpl.java
1452         (map_address): Removed incorrect comment.        
1453         * gnu/java/nio/SelectorImpl.java
1454         (register): Remove code duplication and code for file channel handling.        
1455         * gnu/java/nio/ServerSocketChannelImpl.java
1456         (serverSocket): Renamed from sock_object.
1457         (ServerSocketChannel): Initialize serverSocket.
1458         (socket): Return serverSocket.
1459         * gnu/java/nio/SocketChannelImpl.java
1460         (socket): Renamed from sock_object.
1461         (isConnectionPenging): Simplified.
1462         (socket): Return socket.
1463 2003-06-14  Michael Koch  <konqueror@gmx.de>
1464
1465         * java/security/BasicPermission.java:
1466         New version from classpath.
1467
1468 2003-06-14  Michael Koch  <konqueror@gmx.de>
1469
1470         * javax/naming/directory/Attribute.java:
1471         New version from classpath.
1472
1473 2003-06-14  Michael Koch  <konqueror@gmx.de>
1474
1475         * java/io/BufferedReader.java,
1476         java/io/FileOutputStream.java:
1477         New versions from classpath.
1478
1479 2003-06-12  Andrew Haley  <aph@redhat.com>
1480
1481         * prims.cc (catch_segv): Create exception in handler.
1482         (catch_fpe): Likewise.  
1483         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1484         (_Jv_ThrowSignal): Remove.
1485
1486         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1487         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1488         to nullp and arithexception.
1489         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1490         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1491         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1492         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1493         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1494
1495 2003-06-11  Andrew Haley  <aph@redhat.com>
1496
1497         * jni.cc (_Jv_JNI_check_types): New.
1498         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1499         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1500         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1501         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1502         
1503         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1504         infinite loop.
1505
1506 2003-06-11  Tom Tromey  <tromey@redhat.com>
1507
1508         * java/lang/ClassLoader.java (loadClass): Not deprecated.
1509         * java/io/PrintStream.java: Not deprecated.
1510
1511 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
1512
1513         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1514         (fillOval): implemented
1515         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1516         (fillArc): implemented.
1517         * gnu/gcj/xlib/GC.java (drawArc): added native method.
1518         (fillArc): added native method.
1519         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1520         (fillArc): added native method.
1521
1522 2003-06-11  Michael Koch  <konqueror@gmx.de>
1523
1524         * java/awt/im/InputSubset.java:
1525         New version from classpath.
1526
1527 2003-06-11  Michael Koch  <konqueror@gmx.de>
1528
1529         * javax/swing/AbstractAction.java,
1530         javax/swing/AbstractButton.java,
1531         javax/swing/AbstractCellEditor.java,
1532         javax/swing/AbstractListModel.java,
1533         javax/swing/BorderFactory.java,
1534         javax/swing/Box.java,
1535         javax/swing/BoxLayout.java,
1536         javax/swing/ButtonGroup.java,
1537         javax/swing/DefaultButtonModel.java,
1538         javax/swing/DefaultListModel.java,
1539         javax/swing/DefaultListSelectionModel.java,
1540         javax/swing/FocusManager.java,
1541         javax/swing/ImageIcon.java,
1542         javax/swing/InputMap.java,
1543         javax/swing/JApplet.java,
1544         javax/swing/JButton.java,
1545         javax/swing/JCheckBox.java,
1546         javax/swing/JCheckBoxMenuItem.java,
1547         javax/swing/JColorChooser.java,
1548         javax/swing/JComboBox.java,
1549         javax/swing/JComponent.java,
1550         javax/swing/JDesktopPane.java,
1551         javax/swing/JDialog.java,
1552         javax/swing/JEditorPane.java,
1553         javax/swing/JFileChooser.java,
1554         javax/swing/JFormattedTextField.java,
1555         javax/swing/JFrame.java,
1556         javax/swing/JLabel.java,
1557         javax/swing/JLayeredPane.java,
1558         javax/swing/JList.java,
1559         javax/swing/JMenuBar.java,
1560         javax/swing/JMenuItem.java,
1561         javax/swing/JOptionPane.java,
1562         javax/swing/JPanel.java,
1563         javax/swing/JPasswordField.java,
1564         javax/swing/JPopupMenu.java,
1565         javax/swing/JProgressBar.java,
1566         javax/swing/JRadioButton.java,
1567         javax/swing/JRadioButtonMenuItem.java,
1568         javax/swing/JRootPane.java,
1569         javax/swing/JScrollBar.java,
1570         javax/swing/JScrollPane.java,
1571         javax/swing/JSeparator.java,
1572         javax/swing/JSlider.java,
1573         javax/swing/JTabbedPane.java,
1574         javax/swing/JTable.java,
1575         javax/swing/JTextField.java,
1576         javax/swing/JToggleButton.java,
1577         javax/swing/JToolBar.java,
1578         javax/swing/JToolTip.java,
1579         javax/swing/JTree.java,
1580         javax/swing/JViewport.java,
1581         javax/swing/JWindow.java,
1582         javax/swing/KeyStroke.java,
1583         javax/swing/ListSelectionModel.java,
1584         javax/swing/LookAndFeel.java,
1585         javax/swing/RepaintManager.java,
1586         javax/swing/ScrollPaneLayout.java,
1587         javax/swing/SizeRequirements.java,
1588         javax/swing/SwingConstants.java,
1589         javax/swing/Timer.java,
1590         javax/swing/UIDefaults.java,
1591         javax/swing/UIManager.java,
1592         javax/swing/border/AbstractBorder.java,
1593         javax/swing/border/CompoundBorder.java,
1594         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1595         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1596         javax/swing/colorchooser/ColorSelectionModel.java,
1597         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1598         javax/swing/event/AncestorEvent.java,
1599         javax/swing/event/HyperlinkEvent.java,
1600         javax/swing/event/InternalFrameAdapter.java,
1601         javax/swing/event/InternalFrameEvent.java,
1602         javax/swing/event/ListDataEvent.java,
1603         javax/swing/event/MouseInputAdapter.java,
1604         javax/swing/event/SwingPropertyChangeSupport.java,
1605         javax/swing/event/TableModelEvent.java,
1606         javax/swing/event/TreeWillExpandListener.java,
1607         javax/swing/event/UndoableEditEvent.java,
1608         javax/swing/filechooser/FileFilter.java,
1609         javax/swing/filechooser/FileSystemView.java,
1610         javax/swing/filechooser/FileView.java,
1611         javax/swing/plaf/BorderUIResource.java,
1612         javax/swing/plaf/basic/BasicDefaults.java,
1613         javax/swing/table/AbstractTableModel.java,
1614         javax/swing/table/DefaultTableCellRenderer.java,
1615         javax/swing/table/DefaultTableColumnModel.java,
1616         javax/swing/table/DefaultTableModel.java,
1617         javax/swing/table/TableColumn.java,
1618         javax/swing/text/JTextComponent.java,
1619         javax/swing/tree/AbstractLayoutCache.java,
1620         javax/swing/tree/DefaultMutableTreeNode.java,
1621         javax/swing/tree/DefaultTreeCellEditor.java,
1622         javax/swing/tree/DefaultTreeCellRenderer.java,
1623         javax/swing/tree/DefaultTreeModel.java,
1624         javax/swing/tree/DefaultTreeSelectionModel.java,
1625         javax/swing/tree/FixedHeightLayoutCache.java,
1626         javax/swing/tree/TreeCellEditor.java,
1627         javax/swing/tree/TreeModel.java,
1628         javax/swing/tree/TreeNode.java,
1629         javax/swing/tree/TreePath.java,
1630         javax/swing/tree/TreeSelectionModel.java,
1631         javax/swing/tree/VariableHeightLayoutCache.java,
1632         javax/swing/undo/AbstractUndoableEdit.java,
1633         javax/swing/undo/CompoundEdit.java,
1634         javax/swing/undo/StateEdit.java,
1635         javax/swing/undo/UndoManager.java,
1636         javax/swing/undo/UndoableEditSupport.java:
1637         New versions from classpath.
1638         * javax/swing/table/JTableHeader.java:
1639         New file from classpath.
1640         * Makefile.am
1641         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1642         * Makefile.in: Regenerated.
1643
1644 2003-06-11  Michael Koch  <konqueror@gmx.de>
1645
1646         * java/nio/MappedByteBuffer.java,
1647         java/nio/channels/Channels.java,
1648         java/nio/channels/ServerSocketChannel.java,
1649         java/nio/channels/spi/AbstractSelector.java:
1650         Removed unneeded imports.
1651
1652 2003-06-11  Michael Koch  <konqueror@gmx.de>
1653
1654         * java/net/DatagramSocket.java:
1655         Partly merged with classpath.
1656
1657 2003-06-11  Michael Koch  <konqueror@gmx.de>
1658
1659         * java/awt/Frame.java,
1660         java/awt/Graphics.java,
1661         java/awt/Menu.java,
1662         java/awt/Robot.java,
1663         java/awt/image/ColorModel.java:
1664         New versions from classpath.
1665
1666 2003-06-10  Michael Koch  <konqueror@gmx.de>
1667
1668         * java/io/PrintStream.java:
1669         Merged version from classpath.
1670         (close): Removed sychronized keyword. This class is not garantied to
1671         be thread-safe.
1672         (write): Likewise.
1673
1674 2003-06-09  Tom Tromey  <tromey@redhat.com>
1675
1676         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1677         field.
1678         (getDescent): Likewise, for "descent".
1679
1680 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1681
1682         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1683         (getMaxDescent): adjusted return value.
1684         (getAscent): modified to use metrics for 'O'.
1685         (getDescent): modified to use metrics for 'y'.
1686
1687 2003-06-08  Anthony Green  <green@redhat.com>
1688
1689         * java/net/URLStreamHandler.java (sameFile): Fix port value
1690         comparison.
1691         * java/net/URL.java (handler): Make package private.
1692         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1693
1694 2003-06-07  Tom Tromey  <tromey@redhat.com>
1695
1696         For PR libgcj/11085:
1697         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1698         Limit number of characters in numeric field when required.
1699         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1700         Respect maximumIntegerDigits.
1701
1702 2003-06-08  Michael Koch  <konqueror@gmx.de>
1703
1704         * java/net/Socket.java
1705         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1706         call bind() and connect() to actually do the bind and connect tasks.
1707         (bind): Connect to canonical address if bindpoint is null, create
1708         socket and bind it to bindpoint.
1709         (connect): Check for exceptions.
1710
1711 2003-06-08  Michael Koch  <konqueror@gmx.de>
1712
1713         * java/net/DatagramSocket.java
1714         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1715         into the Multicast constructors.
1716         * java/net/DatagramSocketImpl.java
1717         (getOption): Removed.
1718         (setOption): Removed.
1719         * java/net/MulticastSocket.java
1720         (MulticastSocket): Call setReuseAddress (true).
1721         * java/net/SocketImpl.java
1722         (getOption): Removed.
1723         (setOption): Removed.
1724
1725 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1726
1727         PR libgcj/10886:
1728         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1729         Test for empty vector.
1730
1731 2003-06-06  Mark Wielaard  <mark@klomp.org>
1732
1733         * java/security/Security.java (secprops): Initialize.
1734         (loadProviders): Return boolean.
1735         (static): Check result of loadProvider calls. If necessary
1736         display WARNING and fallback to Gnu provider.
1737
1738 2002-06-06  James Clark  <jjc@jclark.com>
1739
1740         Fix for PR libgcj/8738:
1741         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1742         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1743         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1744         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1745         (write): Always decrease avail when count is increased.
1746         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1747         and whether output buffer is full before increasing size.
1748
1749 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1750
1751         * java/io/PrintStream.java (writeChars(char[],int, int)):
1752         Check converter.havePendingBytes().
1753         (writeChars(String,int,int)): Likewise.
1754         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1755         Check converter.havePendingBytes() and flush buffer when stalled.
1756
1757 2003-06-07  Michael Koch  <konqueror@gmx.de>
1758
1759         * include/posix.h
1760         (O_DSYNC): Define O_DSYNC on platforms not
1761         supporting O_FSYNC (newlib).
1762
1763 2003-06-06  Mark Wielaard  <mark@klomp.org>
1764
1765         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1766         AWTError.
1767
1768 2003-06-06  Michael Koch  <konqueror@gmx.de>
1769
1770         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1771         More compile fixes from my stupid work yesterday.
1772
1773 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1774
1775         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1776         if _IEEE_LIBM is undefined.
1777
1778 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1779
1780         * libjava/include/posix.h (O_SYNC): Define if not available
1781         and a reasonable, perhaps more conservative, replacement exists.
1782         (O_DSYNC): Likewise.
1783         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1784
1785 2003-06-05  Michael Koch  <konqueror@gmx.de>
1786
1787         * javax/swing/plaf/BorderUIResource.java,
1788         javax/swing/plaf/basic/BasicDefaults.java,
1789         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1790         More compile fixes for latest Border commit. I should not commit
1791         something in this heat here ...
1792
1793 2003-06-05  Michael Koch  <konqueror@gmx.de>
1794
1795         * javax/swing/border/BevelBorder.java
1796         (BevelBorder): Removed.
1797         * javax/swing/border/EmptyBorder.java:
1798         Reformatted.
1799         (EmptyBorder): Removed.
1800         (getBorderInsets): Dont use l, r, t and b.
1801         * javax/swing/border/EtchedBorder.java
1802         (EtchedBorder): Removed.
1803         * javax/swing/border/LineBorder.java
1804         (LineBorder): Removed.
1805         * javax/swing/border/MatteBorder.java
1806         (MatteBorder): Removed.
1807         * javax/swing/border/TitledBorder.java
1808         (defaultBorder): Use other default for now.
1809         (defaultFont): Likewise.
1810         (defaultColor): Likewise.
1811
1812 2003-06-05  Michael Koch  <konqueror@gmx.de>
1813
1814         * javax/swing/border/Border.java:
1815         New version from classpath.
1816
1817 2003-06-05  Michael Koch  <konqueror@gmx.de>
1818
1819         * javax/swing/border/AbstractBorder.java,
1820         javax/swing/border/BevelBorder.java,
1821         javax/swing/border/CompoundBorder.java,
1822         javax/swing/border/EmptyBorder.java,
1823         javax/swing/border/EtchedBorder.java,
1824         javax/swing/border/LineBorder.java,
1825         javax/swing/border/MatteBorder.java,
1826         javax/swing/border/TitledBorder.java:
1827         New versions from Classpath.
1828
1829 2003-06-05  Michael Koch  <konqueror@gmx.de>
1830
1831         * java/awt/Button.java,
1832         java/awt/Checkbox.java,
1833         java/awt/CheckboxMenuItem.java,
1834         java/awt/Choice.java,
1835         java/awt/Container.java,
1836         java/awt/Dialog.java,
1837         java/awt/EventQueue.java,
1838         java/awt/FileDialog.java,
1839         java/awt/Frame.java,
1840         java/awt/Label.java,
1841         java/awt/List.java,
1842         java/awt/Menu.java,
1843         java/awt/MenuItem.java,
1844         java/awt/Panel.java,
1845         java/awt/PopupMenu.java,
1846         java/awt/Rectangle.java,
1847         java/awt/ScrollPane.java,
1848         java/awt/Scrollbar.java,
1849         java/awt/TextArea.java,
1850         java/awt/TextField.java,
1851         java/awt/Window.java,
1852         java/awt/datatransfer/DataFlavor.java,
1853         java/awt/dnd/DragSource.java,
1854         java/awt/dnd/DragSourceContext.java,
1855         java/awt/event/HierarchyEvent.java,
1856         java/awt/event/MouseWheelEvent.java,
1857         java/awt/im/InputContext.java,
1858         java/awt/image/BufferedImage.java,
1859         java/awt/image/ComponentColorModel.java,
1860         java/awt/image/Raster.java,
1861         java/awt/image/WritableRaster.java,
1862         java/awt/peer/ComponentPeer.java,
1863         java/awt/print/PageFormat.java,
1864         java/awt/print/PrinterJob.java:
1865         New versions from Classpath.
1866
1867 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1868
1869         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1870         numberFormat.setParseIntegerOnly(true).
1871
1872 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1873
1874         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1875
1876 2003-06-03  Andrew Haley  <aph@redhat.com>
1877
1878         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1879         stack volatile to prevent optimization from removing it.
1880
1881 2003-05-27  Michael Koch  <konqueror@gmx.de>
1882
1883         * java/util/zip/Deflater.java
1884         (FILTERED): Merged documentation from classpath.
1885         * java/util/zip/DeflaterOutputStream.java
1886         (DeflaterOutputStream): Merged documentation and argument validity
1887         check from classpath.
1888         (deflate): Merged documentation from classpath.
1889         (finish): Likewise.
1890         * java/util/zip/Inflater.java
1891         (Inflater): Merged class documentation from classpath.
1892         (zstream): Reordered.
1893         (is_finished): Reordered.
1894         (dict_needed): Reordered.
1895         (Inflater): Reordered, merged documentation from classpath.
1896         (end): Likewise.
1897         (finalize): Merged documentation from classpath.
1898         (finished): Likewise.
1899         (getAdler): Likewise.
1900         (getRemaining): Likewise.
1901         (getTotalIn): Likewise.
1902         (getTotalOut): Likewise.
1903         (inflate): Likewise.
1904         (needsDictionary): Likewise.
1905         (needsInput): Likewise.
1906         (reset): Likewise.
1907         (setDictionary): Likewise.
1908         (setInput): Likewise.
1909
1910 2003-05-27  Michael Koch  <konqueror@gmx.de>
1911
1912         * java/net/URLConnection.java
1913         (getHeaderFieldInt): Merged with classpath.
1914
1915 2003-05-27  Michael Koch  <konqueror@gmx.de>
1916
1917         * java/io/PrintStream.java
1918         (PrintStream): Reformatted.
1919         (PrintStream): New method, merged from classpath.
1920         (write): Reformatted.
1921
1922 2003-05-27  Michael Koch  <konqueror@gmx.de>
1923
1924         * java/lang/System.java:
1925         Explicitely import needed classes.
1926
1927 2003-05-26  Michael Koch  <konqueror@gmx.de>
1928
1929         * java/net/NetPermission.java,
1930         java/net/NetworkInterface.java,
1931         java/net/PasswordAuthentication.java,
1932         java/net/SocketPermission.java:
1933         New versions from classpath.
1934
1935 2003-05-25  Michael Koch  <konqueror@gmx.de>
1936
1937         * java/io/PushbackInputStream.java,
1938         java/net/Authenticator.java,
1939         java/net/ContentHandler.java,
1940         java/net/ContentHandlerFactory.java,
1941         java/net/DatagramSocket.java,
1942         java/net/DatagramSocketImpl.java,
1943         java/net/DatagramSocketImplFactory.java,
1944         java/net/FileNameMap.java,
1945         java/net/SocketImplFactory.java,
1946         java/net/SocketOptions.java,
1947         java/net/URLStreamHandlerFactory.java:
1948         Merged new versions from classpath.
1949
1950 2003-05-25  Michael Koch  <konqueror@gmx.de>
1951
1952         * java/awt/Checkbox.java,
1953         java/awt/Dialog.java,
1954         java/awt/Font.java,
1955         java/awt/Frame.java,
1956         java/awt/ScrollPaneAdjustable.java,
1957         java/awt/Scrollbar.java,
1958         java/awt/Window.java:
1959         New versions from classpath.
1960
1961 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1962
1963         PR libgcj/10838:
1964         * java/io/ObjectInputStream (enableResolveObject):
1965         Fixed spelling of permission name.
1966
1967 2003-05-20  Michael Koch  <konqueror@gmx.de>
1968
1969         * java/io/DataInputStream.java
1970         (convertFromUTF): Merged comment from classpath.
1971         * java/io/PrintStream.java
1972         (error_occured): Renamed from error, merged comment from classpath.
1973         (PrintStream): No need to initialized error.
1974         (checkError): Replace error with error_occurred.
1975         (setError): Likewise.
1976
1977 2003-05-20  Michael Koch  <konqueror@gmx.de>
1978
1979         * java/io/DataInputStream.java:
1980         Reformatted, Replaced < and & with html entitites in documentation.
1981         * java/io/File.java:
1982         Reformatted.
1983         * java/io/PrintWriter.java:
1984         Moved class documentation.
1985
1986 2003-05-20  Michael Koch  <konqueror@gmx.de>
1987
1988         * gnu/java/nio/ByteBufferImpl.java,
1989         gnu/java/nio/CharBufferImpl.java,
1990         gnu/java/nio/CharViewBufferImpl.java,
1991         gnu/java/nio/DirectByteBufferImpl.java,
1992         gnu/java/nio/DoubleBufferImpl.java,
1993         gnu/java/nio/DoubleViewBufferImpl.java,
1994         gnu/java/nio/FloatBufferImpl.java,
1995         gnu/java/nio/FloatViewBufferImpl.java,
1996         gnu/java/nio/IntBufferImpl.java,
1997         gnu/java/nio/IntViewBufferImpl.java,
1998         gnu/java/nio/LongBufferImpl.java,
1999         gnu/java/nio/LongViewBufferImpl.java,
2000         gnu/java/nio/natDirectByteBufferImpl.cc,
2001         gnu/java/nio/ShortBufferImpl.java,
2002         gnu/java/nio/ShortViewBufferImpl.java:
2003         Moved files to java/nio.
2004         * gnu/java/nio/SocketChannelImpl.java
2005         
2006         * java/nio/ByteBuffer.java,
2007         java/nio/CharBuffer.java,
2008         java/nio/DoubleBuffer.java,
2009         java/nio/FloatBuffer.java,
2010         java/nio/IntBuffer.java,
2011         java/nio/LongBuffer.java,
2012         java/nio/ShortBuffer.java:
2013         Dont import anything.
2014         * java/nio/ByteBufferImpl.java,
2015         java/nio/CharBufferImpl.java,
2016         java/nio/CharViewBufferImpl.java,
2017         java/nio/DirectByteBufferImpl.java,
2018         java/nio/DoubleBufferImpl.java,
2019         java/nio/DoubleViewBufferImpl.java,
2020         java/nio/FloatBufferImpl.java,
2021         java/nio/FloatViewBufferImpl.java,
2022         java/nio/IntBufferImpl.java,
2023         java/nio/IntViewBufferImpl.java,
2024         java/nio/LongBufferImpl.java,
2025         java/nio/LongViewBufferImpl.java,
2026         java/nio/natDirectByteBufferImpl.cc,
2027         java/nio/ShortBufferImpl.java,
2028         java/nio/ShortViewBufferImpl.java:
2029         Moved from gnu/java/nio.
2030         * Makefile.am
2031         (ordinary_java_source_files): Moved files from gnu/java/nio to
2032         java/nio.
2033         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2034         to java/nio.
2035         * Makefile.in: Regenerated.
2036
2037 2003-05-19  Michael Koch  <konqueror@gmx.de>
2038
2039         * java/util/Calendar.java
2040         (get): Not final anymore since JDK 1.4
2041         (set): Likewise.
2042
2043 2003-05-19  Michael Koch  <konqueror@gmx.de>
2044
2045         * java/text/CollationKey.java:
2046         Merged copyright and dat from classpath.
2047         * java/text/RuleBasedCollator.java:
2048         Merged class documentation from classpath.
2049
2050 2003-05-19  Michael Koch  <konqueror@gmx.de>
2051
2052         * java/nio/CharBuffer.java
2053         (toString): Compile fix.
2054
2055 2003-05-19  Michael Koch  <konqueror@gmx.de>
2056
2057         * gnu/java/nio/ByteBufferImpl.java
2058         (putLong): Fixed conversion to bytes.
2059         (putDouble): Fixed conversion to bytes.
2060         * gnu/java/nio/DirectByteBufferImpl.java
2061         (putLong): Fixed conversion to bytes.
2062         (putDouble): Fixed conversion to bytes.
2063         * gnu/java/nio/FileLockImpl.java
2064         (isValid): Reformatted.
2065         * java/nio/Buffer.java
2066         (Buffer): Fixed off-by-one bug in handling mark.
2067         * java/nio/ByteBuffer.java:
2068         Added newline.
2069         * java/nio/CharBuffer.java
2070         (toString): Don't use relative get to get string data.
2071
2072 2003-05-16  Michael Koch  <konqueror@gmx.de>
2073
2074         * java/io/natFileDescriptorPosix.cc
2075         (open): Commented out the O_SYNC and O_DSYNC usage until its better
2076         tested.
2077
2078 2003-05-14  Michael Koch  <konqueror@gmx.de>
2079
2080         * gnu/java/nio/FileLockImpl.java
2081         (released): New member variable.
2082         (FileLockImpl): Initialize released.
2083         (releaseImpl): New native method.
2084         (release): Implemented.
2085         * gnu/java/nio/SelectorImpl.java: Reformatted.
2086         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2087         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2088         (accept): Throws IOException.
2089         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2090         (implConfigureBlocking): Throws IOException.
2091         (connect): Likewise.
2092         (read): Likewise.
2093         (write): Likewise.
2094         * gnu/java/nio/natFileLockImpl.cc: New file.
2095         * java/nio/channels/FileLock.java: Reformatted.
2096         * Makefile.am:
2097         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2098         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2099         * Makefile.in: Regenerated.
2100
2101 2003-05-13  Michael Koch  <konqueror@gmx.de>
2102
2103         * gnu/java/nio/CharViewBufferImpl.java
2104         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2105         (get): Shift bits to the right direction.
2106         (put): Likewise.
2107         * gnu/java/nio/DoubleViewBufferImpl.java
2108         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2109         (get): Shift bits to the right direction.
2110         (put): Likewise.
2111         * gnu/java/nio/FloatViewBufferImpl.java
2112         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2113         (get): Shift bits to the right direction.
2114         (put): Likewise.
2115         * gnu/java/nio/IntViewBufferImpl.java
2116         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2117         (get): Shift bits to the right direction.
2118         (put): Likewise.
2119         * gnu/java/nio/LongViewBufferImpl.java
2120         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2121         (get): Shift bits to the right direction.
2122         (put): Likewise.
2123         * gnu/java/nio/ShortViewBufferImpl.java
2124         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2125         (get): Shift bits to the right direction.
2126         (put): Likewise.
2127
2128 2003-05-13  Michael Koch  <konqueror@gmx.de>
2129
2130         * gnu/java/nio/natDirectByteBufferImpl.cc
2131         (allocateImpl): jlong -> RawData*.
2132         (freeImpl): Likewise.
2133
2134 2003-05-13  Michael Koch  <konqueror@gmx.de>
2135
2136         * java/nio/channels/FileChannel.java
2137         (MapMode.m): Made it package-private to match JDK 1.4.
2138         * java/nio/charset/Charset.java
2139         (decode): Made it final to match JDK 1.4.
2140
2141 2003-05-13  Michael Koch  <konqueror@gmx.de>
2142
2143        * java/io/FileDescriptor.java
2144        (SYNC): New constant.
2145        (DSYNC): Likewise.
2146        (getLength): Renamed from lenght() to match classpath's
2147        FileDescriptor.java.
2148        * java/io/RandomAccessFile.java
2149        (RandomAccessFile): Removed unneeded mode check, implemented mode
2150        "rws" and "rwd", merged documentation from classpath.
2151        (setLength): Reformatted.
2152        (length): Use new getLength() of FileDescriptor.
2153        * java/io/natFileDescriptorEcos.cc
2154        (getLength): Renamed from length().
2155        * java/io/natFileDescriptorPosix.cc
2156        (open): Implemented support for SYNC and DSYNC.
2157        (seek): Use getLength() instead of length().
2158        (getLength): Renamed from length().
2159        * java/io/natFileDescriptorWin32.cc
2160        (getLength): Renamed from length().
2161        (seek): Use getLength() instead of length().
2162        (available): Likewise.
2163        * gnu/java/nio/natFileChannelImpl.cc
2164        (size): Use getLength() instead of length().
2165
2166 2003-05-13  Michael Koch  <konqueror@gmx.de>
2167
2168         * gnu/java/nio/ByteBufferImpl.java
2169         (ByteBufferImpl): All constructors revised.
2170         (slice): Reimplemented.
2171         (duplicate): Reimplemented.
2172         (asReadOnlyBuffer): Reimplemented.
2173         * java/nio/ByteBuffer.java:
2174         Reformatted.
2175         (array_offset): Renamed from "offset" to match all other buffer
2176         classes.
2177         (ByteBuffer): All constructors revised.
2178         (allocateDirect): Implemented.
2179         (allocate): New implementation, documentation reworked.
2180         (wrap): Likewise.
2181         (get): Documentation reworked.
2182         (put): New implementation, documentation reworked.
2183         (hasArray): Documentation reworked.
2184         (arrayOffset): Likewise.
2185         (hashCode): Likewise.
2186         (equals): Likewise.
2187         (compareTo): Likewise.
2188         (order): Likewise.
2189         (compact): Likewise.
2190         (isDirect): Likewise.
2191         (slice): Likewise.
2192         (duplicate): Likewise.
2193         (asReadOnlyBuffer): Likewise.
2194         * Makefile.am
2195         (ordinary_java_source_files):
2196         Added gnu/java/nio/DirectByteBufferImpl.java.
2197         (nat_source_files):
2198         Added gnu/java/nio/natDirectByteBufferImpl.cc.
2199         * Makefile.in: Regenerated.
2200
2201 2003-05-12  Michael Koch  <konqueror@gmx.de>
2202
2203         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2204         (nio_get_*): Removed.
2205         (nio_put_*): Removed.
2206         (as*Buffer): Implemented.
2207         (compact): Implemented.
2208         (get): Documentation added.
2209         (put): Documentation added.
2210         (get*): Newly implemented.
2211         (put*): Newly implemented.
2212         * gnu/java/nio/CharBufferImpl.java: Reformatted.
2213         (CharBufferImpl): Revised.
2214         (slice): New implementation.
2215         (duplicate): New implementation.
2216         (compact): New implementation.
2217         (asReadOnlyBuffer): New implementation.
2218         (get): Documentation revised.
2219         (order): Return native byte order.
2220         * gnu/java/nio/DirectByteBufferImpl.java
2221         (allocateDirect): objects can be null not 0.
2222         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2223         (DoubleBufferImpl): Revised.
2224         (slice): New implementation.
2225         (duplicate): New implementation.
2226         (compact): New implementation.
2227         (asReadOnlyBuffer): New implementation.
2228         (get): Documentation revised.
2229         (order): Return native byte order.
2230         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2231         (FloatBufferImpl): Revised.
2232         (slice): New implementation.
2233         (duplicate): New implementation.
2234         (compact): New implementation.
2235         (asReadOnlyBuffer): New implementation.
2236         (get): Documentation revised.
2237         (order): Return native byte order.
2238         * gnu/java/nio/IntBufferImpl.java: Reformatted.
2239         (IntBufferImpl): Revised.
2240         (slice): New implementation.
2241         (duplicate): New implementation.
2242         (compact): New implementation.
2243         (asReadOnlyBuffer): New implementation.
2244         (get): Documentation revised.
2245         (order): Return native byte order.
2246         * gnu/java/nio/LongBufferImpl.java: Reformatted.
2247         (LongBufferImpl): Revised.
2248         (slice): New implementation.
2249         (duplicate): New implementation.
2250         (compact): New implementation.
2251         (asReadOnlyBuffer): New implementation.
2252         (get): Documentation revised.
2253         (order): Return native byte order.
2254         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2255         (ShortBufferImpl): Revised.
2256         (slice): New implementation.
2257         (duplicate): New implementation.
2258         (compact): New implementation.
2259         (asReadOnlyBuffer): New implementation.
2260         (get): Documentation revised.
2261         (order): Return native byte order.
2262         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2263         (CharBuffer): Revised.
2264         (order): Removed.
2265         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2266         (DoubleBuffer): Revised.
2267         (allocateDirect): Removed.
2268         (order): Removed.
2269         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2270         (FloatBuffer): Revised.
2271         (allocateDirect): Removed.
2272         (order): Removed.
2273         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2274         (IntBuffer): Revised.
2275         (allocateDirect): Removed.
2276         (order): Removed.
2277         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2278         (LongBuffer): Revised.
2279         (allocateDirect): Removed.
2280         (order): Removed.
2281         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2282         (ShortBuffer): Revised.
2283         (allocateDirect): Removed.
2284         (order): Removed.
2285         * gnu/java/nio/natByteBufferImpl.cc: Removed.
2286         * gnu/java/nio/natCharBufferImpl.cc: Removed.
2287         * Makefile.am
2288         (ordinary_java_source_files): Added the following files:
2289         gnu/java/nio/CharViewBufferImpl.java,
2290         gnu/java/nio/DoubleViewBufferImpl.java,
2291         gnu/java/nio/FloatViewBufferImpl.java,
2292         gnu/java/nio/IntViewBufferImpl.java,
2293         gnu/java/nio/LongViewBufferImpl.java,
2294         gnu/java/nio/ShortViewBufferImpl.java
2295         (nat_source_files): Removed the following files:
2296         gnu/java/nio/natByteBufferImpl.cc,
2297         gnu/java/nio/natCharBufferImpl.cc
2298         * Makefile.in: Regenerated.
2299
2300 2003-05-12  Michael Koch  <konqueror@gmx.de>
2301
2302         * gnu/java/nio/CharViewBufferImpl.java,
2303         gnu/java/nio/DirectByteBufferImpl.java,
2304         gnu/java/nio/DoubleViewBufferImpl.java,
2305         gnu/java/nio/FloatViewBufferImpl.java,
2306         gnu/java/nio/IntViewBufferImpl.java,
2307         gnu/java/nio/LongViewBufferImpl.java,
2308         gnu/java/nio/ShortViewBufferImpl.java,
2309         gnu/java/nio/natDirectByteBufferImpl.cc:
2310         New files, not yet to be compiled.
2311
2312 2003-05-10  Michael Koch  <konqueror@gmx.de>
2313
2314         * javax/swing/plaf/ButtonUI.java,
2315         javax/swing/plaf/ColorUIResource.java,
2316         javax/swing/plaf/ComponentUI.java,
2317         javax/swing/plaf/DimensionUIResource.java,
2318         javax/swing/plaf/FontUIResource.java,
2319         javax/swing/plaf/IconUIResource.java,
2320         javax/swing/plaf/InsetsUIResource.java,
2321         javax/swing/plaf/LabelUI.java,
2322         javax/swing/plaf/ListUI.java,
2323         javax/swing/plaf/OptionPaneUI.java,
2324         javax/swing/plaf/PanelUI.java,
2325         javax/swing/plaf/TabbedPaneUI.java,
2326         javax/swing/plaf/TextUI.java,
2327         javax/swing/plaf/TreeUI.java,
2328         javax/swing/plaf/ViewportUI.java,
2329         javax/swing/plaf/basic/BasicBorders.java,
2330         javax/swing/plaf/basic/BasicButtonUI.java,
2331         javax/swing/plaf/basic/BasicCheckBoxUI.java,
2332         javax/swing/plaf/basic/BasicDefaults.java,
2333         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2334         javax/swing/plaf/basic/BasicIconFactory.java,
2335         javax/swing/plaf/basic/BasicLabelUI.java,
2336         javax/swing/plaf/basic/BasicListUI.java,
2337         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2338         javax/swing/plaf/basic/BasicPanelUI.java,
2339         javax/swing/plaf/basic/BasicRadioButtonUI.java,
2340         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2341         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2342         javax/swing/plaf/basic/BasicTextUI.java,
2343         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2344         javax/swing/plaf/basic/BasicTreeUI.java,
2345         javax/swing/plaf/basic/BasicViewportUI.java,
2346         javax/swing/plaf/metal/MetalLookAndFeel.java:
2347         New versions from classpath. This adds copyrights to all files and
2348         some serialVersionUIDs.
2349
2350 2003-05-10  Michael Koch  <konqueror@gmx.de>
2351
2352         * java/nio/CharBuffer.java
2353         (offset): Make it package-private.
2354         (backing_buffer): Likewise.
2355         * java/nio/DoubleBuffer.java
2356         (offset): Make it package-private.
2357         (backing_buffer): Likewise.
2358         (put): Reformatted.
2359         * java/nio/FloatBuffer.java
2360         (offset): Make it package-private.
2361         (backing_buffer): Likewise.
2362         * java/nio/IntBuffer.java
2363         (offset): Make it package-private.
2364         (backing_buffer): Likewise.
2365         * java/nio/LongBuffer.java
2366         (offset): Make it package-private.
2367         (backing_buffer): Likewise.
2368         * java/nio/ShortBuffer.java
2369         (offset): Make it package-private.
2370         (backing_buffer): Likewise.
2371
2372 2003-05-10  Michael Koch  <konqueror@gmx.de>
2373
2374         * java/nio/CharBuffer.java
2375         (put): Fixed precondtion check.
2376         (toString): Make it work without backing array.
2377         (put): Skip one level of method calling.
2378
2379 2003-05-10  Michael Koch  <konqueror@gmx.de>
2380
2381         * java/security/Identity.java,
2382         java/security/IdentityScope.java,
2383         java/security/Key.java,
2384         java/security/KeyPair.java,
2385         java/security/PrivateKey.java,
2386         java/security/Provider.java,
2387         java/security/PublicKey.java,
2388         java/security/SecureRandom.java,
2389         java/security/SecureRandomSpi.java,
2390         java/security/SignedObject.java,
2391         java/security/Signer.java,
2392         java/security/cert/Certificate.java,
2393         java/security/cert/PKIXCertPathBuilderResult.java,
2394         java/security/cert/X509Certificate.java:
2395         New versions from classpath.
2396
2397 2003-05-09  Tom Tromey  <tromey@redhat.com>
2398
2399         * Makefile.in: Rebuilt.
2400         * Makefile.am (nat_source_files): Removed old files.
2401         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2402         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2403         * gnu/java/nio/natIntBufferImpl.cc: Removed.
2404         * gnu/java/nio/natLongBufferImpl.cc: Removed.
2405         * gnu/java/nio/natShortBufferImpl.cc: Removed.
2406
2407 2003-05-09  Michael Koch  <konqueror@gmx.de>
2408
2409         * gnu/java/nio/ByteBufferImpl.java
2410         (nio_cast): Removed.
2411         (ByteBufferImpl): Removed.
2412         (nio_get_Byte): Removed.
2413         (nio_put_Byte): Removed.
2414         (asByteBuffer): Removed.
2415         (asCharBuffer): Removed implementation and throw exception.
2416         (asShortBuffer): Likewise.
2417         (asIntBuffer): Likewise.
2418         (asLongBuffer): Likewise.
2419         (asFloatBuffer): Likewise.
2420         (asDoubleBuffer): Likewise.
2421         * gnu/java/nio/CharBufferImpl.java
2422         (CharBufferImpl): Removed.
2423         (nio_get_Byte): Removed.
2424         (nio_put_Byte): Removed.
2425         (asByteBuffer): Removed.
2426         * gnu/java/nio/DoubleBufferImpl.java
2427         (DoubleBufferImpl): Removed.
2428         (nio_get_Byte): Removed.
2429         (nio_put_Byte): Removed.
2430         (asByteBuffer): Removed.
2431         * gnu/java/nio/FloatBufferImpl.java
2432         (FloatBufferImpl): Removed.
2433         (nio_get_Byte): Removed.
2434         (nio_put_Byte): Removed.
2435         (asByteBuffer): Removed.
2436         * gnu/java/nio/IntBufferImpl.java
2437         (IntBufferImpl): Removed.
2438         (nio_get_Byte): Removed.
2439         (nio_put_Byte): Removed.
2440         (asByteBuffer): Removed.
2441         * gnu/java/nio/LongBufferImpl.java
2442         (LongBufferImpl): Removed.
2443         (nio_get_Byte): Removed.
2444         (nio_put_Byte): Removed.
2445         (asByteBuffer): Removed.
2446         * gnu/java/nio/ShortBufferImpl.java
2447         (ShortBufferImpl): Removed.
2448         (nio_get_Byte): Removed.
2449         (nio_put_Byte): Removed.
2450         (asByteBuffer): Removed.
2451         * gnu/java/nio/natByteBufferImpl.cc
2452         (nio_cast): Removed.
2453         (nio_get_Byte): Removed.
2454         (nio_put_Byte): Removed.
2455         * gnu/java/nio/natCharBufferImpl.cc
2456         (nio_get_Byte): Removed.
2457         (nio_put_Byte): Removed.
2458
2459 2003-05-09  Michael Koch  <konqueror@gmx.de>
2460
2461         * java/net/JarURLConnection.java
2462         (getJarEntry): Merged documentation from classpath.
2463         (getJarFile): Likewise.
2464         (getMainAttributes): Likewise.
2465         (getAttributes): Likewise.
2466         (getManifest): Likewise.
2467         (getCertificates): Reformatted.
2468         * java/net/URLConnection.java:
2469         Little classpath merge.
2470
2471 2003-05-09  Michael Koch  <konqueror@gmx.de>
2472
2473         * java/io/DataOutputStream.java
2474         (writeShort): Made it synchronized.
2475         (writeChar): Likewise.
2476         (writeInt): Likewise.
2477         (writeLong): Liekwise.
2478         (writeUTF): Made it synchronized, renamed argument to match classpath.
2479         * java/io/InputStreamReader.java
2480         (converter): Added documentation.
2481         (read): Merged documentation from classpath.
2482         * java/io/OutputStreamWriter.java
2483         (OutputStreamWriter): Merged documentation from classpath.
2484         (close): Reformatted.
2485         (getEncoding): Likewise.
2486         (flush): Likewise.
2487         (write): Merged documentation from classpath, reformatted.
2488
2489 2003-05-08  Tom Tromey  <tromey@redhat.com>
2490
2491         * configure.host <powerpc64*-*>: Set with_libffi_default and
2492         libgcj_interpreter to "yes".
2493
2494 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
2495
2496         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2497         
2498 2003-05-06  Tom Tromey  <tromey@redhat.com>
2499
2500         * verify.cc: Reverted previous patch.
2501
2502 2003-05-06  Michael Koch  <konqueror@gmx.de>
2503
2504         * java/io/DataOutputStream.java
2505         (write): Renamed argument to "value", merged documentation from
2506         classpath.
2507         (writeBoolean): Likewise.
2508         (writeByte): Likewise.
2509         (writeShort): Likewise.
2510         (writeChar): Likewise.
2511         (writeInt): Likewise.
2512         (writeLong): Likewise.
2513         (writeFloat): Likewise.
2514         (writeDouble): Likewise.
2515         (writeBytes): Likewise.
2516         (writeChars): Likewise.
2517         (writeUTF): Likewise.
2518         * java/io/File.java
2519         (performDelete): Added documentation.
2520         (performList): Likewise.
2521         (performMkdir): Likewise.
2522         (performSetReadOnly): Likewise.
2523         (performRenameTo): Likewise.
2524         (performSetLastModified): Likewise.
2525         (delete): Made it sychronized.
2526         (renameTo): Made it sychronized.
2527         (equals): Reformatted.
2528         (isHidden): Likewise.
2529         (listFiles): Likewise.
2530         (setReadOnly): Likewise.
2531         (listRoots): Likewise.
2532         (setLastModified): Likewise.
2533         (checkRead): Likewise.
2534         (checkWrite): Likewise.
2535         * java/io/FileInputStream.java
2536         (skip): Made it sychronized, merged from classpath.
2537         * java/io/FileOutputStream.java
2538         (write): Merged from classpath.
2539         * java/io/InputStreamReader.java:
2540         (InputStreamReader): Merged documentation from classpath.
2541
2542 2003-05-05  Michael Koch  <konqueror@gmx.de>
2543
2544         * java/net/NetworkInterface.java
2545         (networkInterfaces): Removed.
2546         (getByName): Use getRealNetworkInterfaces() instead of
2547         networkInterfaces.
2548         (getByInetAddress): Likewise.
2549         (getNetworkInterfaces): Likewise.
2550         (toString): Fix output of addresses of an interface.
2551
2552 2003-05-05  Michael Koch  <konqueror@gmx.de>
2553
2554         * java/io/DataInputStream.java:
2555         Merged new documentation from classpath.
2556
2557 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
2558
2559         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2560         "version".
2561         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2562         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2563         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2564         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2565         * gnu/awt/gtk/GtkMainThread.java: Likewise.
2566         * gnu/awt/gtk/GtkToolkit.java: Likewise.
2567         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2568         * java/security/Key.java: Likewise.
2569         * java/security/PrivateKey.java: Likewise.
2570         * java/security/Provider.java: Likewise.
2571         * java/security/PublicKey.java: Likewise.
2572
2573 2003-05-02  Michael Koch  <konqueror@gmx.de>
2574
2575         * java/net/URI.java
2576         (create): Doesnt throws any exceptions.
2577         * java/net/URLConnection.java
2578         (URLConnection): Commend added.
2579         (getExpiration): The header field is called "expires" not
2580         "expiration".
2581         (getHeaderField): Merged documentation with classpath.
2582         (getHeaderFieldInt): Likewise.
2583         (getHeaderFieldDate): Likewise.
2584         (getHeaderFieldKey): Likewise.
2585         (getPermission): Likewise.
2586         (setDefaultUseCaches): Likewise.
2587         (setRequestProperty): Likewise.
2588         (addRequestProperty): Likewise.
2589         (getRequestProperty): Likewise.
2590         (getRequestProperties): Likewise.
2591         (setDefaultRequestProperty): Likewise.
2592         (getDefaultRequestProperty): Likewise.
2593         (guessContentTypeFromStream): Likewise.
2594         (getFileNameMap): Likewise.
2595         (setFileNameMap): Likewise.
2596         (setDoInput): Merged implementation and documentation with classpath.
2597         (setDoOutput): Likewise.
2598         (setAllowUserInteraction): Likewise.
2599         (setDefaultAllowUserInteraction): Likewise.
2600         (setContentHandlerFactory): Made it synchronized, merged documentation
2601         with classpath.
2602         (guessContentTypeFromName): Renamed argument fname to filename to
2603         match classpath, merged documentation with classpath.
2604
2605 2003-05-02  Michael Koch  <konqueror@gmx.de>
2606
2607         * java/net/JarURLConnection.java
2608         (JarURLConnection): Class documentation merged with classpath.
2609         (getJarFileURL): Moved and documentation merged with classpath.
2610         (getEntryName): Likewise.
2611         (JarURLConnection): Documentation merged with classpath.
2612         (getJarEntry): Likewise.
2613         (getJarFile): Likewise.
2614         * java/net/PlainDatagramSocketImpl.java:
2615         Class documentation moved.
2616         * java/net/URLConnection.java
2617         (fileNameMap): Moved and documentation merged with classpath.
2618         (factory): Likewise.
2619         (defaultAllowUserInteraction): Likewis.
2620         (defaultUseCaches): Likewise.
2621         (allowUserInteraction): Likewise.
2622         (connected): Likewise.
2623         (url): Likewise.
2624         (connect): Documentation merged with classpath.
2625         (getURL): Likewise.
2626         (getContentLength): Likewise.
2627         (getContentType): Likewise.
2628         (getContentEncoding): Likewise.
2629         (getExpiration): Likewise.
2630         (getDate): Likewise.
2631         (getLastModified): Likewise.
2632         (getHeaderField): Likewise.
2633         (getContent): Likewise.
2634         (getPermission): Likewise.
2635         (getInputStream): Likewise.
2636         (getOutputStream): Likewise.
2637         (toString): Likewise.
2638         (getDoInput): Likewise.
2639         (getDoOutput): Likewise.
2640         (setAllowUserInteraction): Likewise.
2641         (getAllowUserInteraction): Likewise.
2642         (setDefaultAllowUserInteraction): Likewise.
2643         (getDefaultAllowUserInteraction): Likewise.
2644         (setUseCaches): Likewise.
2645         (getUseCaches): Likewise.
2646         (setIfModifiedSince): Likewise.
2647         (getIfModifiedSince): Likewise.
2648         (setDefaultRequestProperty): Likewise.
2649         (getDefaultRequestProperty): Likewise.
2650         (setContentHandlerFactory): Likewise.
2651         (setFileNameMap): Likewise.
2652
2653 2003-05-02  Michael Koch  <konqueror@gmx.de>
2654
2655         * java/net/InetAddress.java:
2656         Merged class documentation with classpath.
2657         * java/net/JarURLConnection.java:
2658         Explicitely import all used classes.
2659         * java/net/URL.java:
2660         Reformatting.
2661         * java/net/ServerSocket.java,
2662         java/net/Socket.java:
2663         New versions from classpath.
2664
2665 2003-05-02  Michael Koch  <konqueror@gmx.de>
2666
2667         * gnu/java/nio/FileChannelImpl.java
2668         (read): New implementation.
2669         (implRead): New methods.
2670         (write): New implementation, call other write insteal of read method.
2671         (implWrite): New methods.
2672         (map): Added comment.
2673         (transferFrom): Implemented.
2674         (transferTo): Implemented.
2675         (lock): Added checks to throw exceptions.
2676         (truncate): Added check to throw exception.
2677         * gnu/java/nio/natFileChannelImpl.cc
2678         (implRead): New method.
2679         (implWrite): New method.
2680         * java/nio/ByteBuffer.java
2681         (hashCode): Fixed comment.
2682         (get): Fixed exception documentation.
2683         (put): Fixed exception documentation.
2684         * java/nio/CharBuffer.java:
2685         Added comment for later optimizations.
2686
2687 2003-04-30  Tom Tromey  <tromey@redhat.com>
2688
2689         PR libgcj/10582:
2690         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2691         Removed.
2692         (type::compatible): Use _Jv_IsAssignableFrom.
2693         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2694         (_Jv_IsAssignableFrom): Work even when source or target class is
2695         not prepared.
2696
2697 2003-04-30  Michael Koch  <konqueror@gmx.de>
2698
2699         * java/text/BreakIterator.java
2700         (clone): New method.
2701
2702 2003-04-30  Michael Koch  <konqueror@gmx.de>
2703
2704         * java/text/CollationElementIterator.java,
2705         java/text/CollationKey.java,
2706         java/text/RuleBasedCollator.java:
2707         Merged copyright and documentation from classpath and
2708         rearranged some code. No code changes done.
2709
2710 2003-04-30  Michael Koch  <konqueror@gmx.de>
2711
2712         * java/util/regex/Matcher.java
2713         (pattern): New member variable.
2714         (appendReplacement): New method.
2715         (appendTail): New method.
2716         (end): New method.
2717         (find): New method.
2718         (group): New method.
2719         (replaceFirst): Added documentation.
2720         (replaceAll): Added documentation.
2721         (groupCount): New method.
2722         (lookingAt): New method.
2723         (matches): New method.
2724         (reset): New method.
2725         (start): New method.
2726         * java/util/regex/Pattern.java
2727         (serialVersionUID): New constant.
2728         (CANON_EQ): New constant.
2729         (CASE_INSENSITIVE): New constant.
2730         (COMMENTS): New constant.
2731         (DOTALL): New constant.
2732         (MULTILINE): New constant.
2733         (UNICODE_CASE): New constant.
2734         (UNIX_LINES): New constant.
2735         (regex): New member variable.
2736         (flags): New member variable.
2737         (Pattern): New method.
2738         (compile): Documentation added.
2739         (flags): New method.
2740         (matches): Documentation added.
2741         (matcher): Documentation added.
2742         (split): Documentation added.
2743         (pattern): New method.
2744
2745 2003-04-30  Michael Koch  <konqueror@gmx.de>
2746
2747         * gnu/java/security/Engine.java,
2748         gnu/java/security/OID.java,
2749         gnu/java/security/der/BitString.java,
2750         gnu/java/security/der/DER.java,
2751         gnu/java/security/der/DERReader.java,
2752         gnu/java/security/der/DERValue.java,
2753         gnu/java/security/der/DERWriter.java,
2754         gnu/java/security/provider/DSAKeyFactory.java,
2755         gnu/java/security/provider/X509CertificateFactory.java,
2756         gnu/java/security/x509/X500DistinguishedName.java,
2757         gnu/java/security/x509/X509CRL.java,
2758         gnu/java/security/x509/X509CRLEntry.java,
2759         gnu/java/security/x509/X509Certificate.java,
2760         java/security/cert/CRLSelector.java,
2761         java/security/cert/CertPathBuilder.java,
2762         java/security/cert/CertPathBuilderResult.java,
2763         java/security/cert/CertPathBuilderSpi.java,
2764         java/security/cert/CertPathParameters.java,
2765         java/security/cert/CertPathValidator.java,
2766         java/security/cert/CertPathValidatorResult.java,
2767         java/security/cert/CertPathValidatorSpi.java,
2768         java/security/cert/CertSelector.java,
2769         java/security/cert/CertStore.java,
2770         java/security/cert/CertStoreParameters.java,
2771         java/security/cert/CertStoreSpi.java,
2772         java/security/cert/CollectionCertStoreParameters.java,
2773         java/security/cert/LDAPCertStoreParameters.java,
2774         java/security/cert/PKIXBuilderParameters.java,
2775         java/security/cert/PKIXCertPathBuilderResult.java,
2776         java/security/cert/PKIXCertPathChecker.java,
2777         java/security/cert/PKIXCertPathValidatorResult.java,
2778         java/security/cert/PKIXParameters.java,
2779         java/security/cert/PolicyNode.java,
2780         java/security/cert/PolicyQualifierInfo.java,
2781         java/security/cert/TrustAnchor.java,
2782         javax/security/auth/x500/X500Principal.java:
2783         New files from classpath.
2784         * gnu/java/io/ASN1ParsingException.java,
2785         gnu/java/io/Base64InputStream.java,
2786         gnu/java/security/der/DEREncodingException.java,
2787         gnu/java/security/provider/DSAParameters.java,
2788         gnu/java/security/provider/DSASignature.java,
2789         gnu/java/security/provider/Gnu.java,
2790         gnu/java/security/provider/GnuDSAPrivateKey.java,
2791         gnu/java/security/provider/GnuDSAPublicKey.java,
2792         java/security/AlgorithmParameterGenerator.java,
2793         java/security/AlgorithmParameters.java,
2794         java/security/KeyFactory.java,
2795         java/security/KeyPairGenerator.java,
2796         java/security/KeyStore.java,
2797         java/security/MessageDigest.java,
2798         java/security/SecureClassLoader.java,
2799         java/security/SecureRandom.java,
2800         java/security/Security.java,
2801         java/security/Signature.java,
2802         java/security/cert/Certificate.java,
2803         java/security/cert/CertificateFactory.java,
2804         java/security/cert/CertificateFactorySpi.java,
2805         java/security/cert/X509CRL.java,
2806         java/security/cert/X509Certificate.java,
2807         java/security/spec/DSAPublicKeySpec.java:
2808         New versions from classpath.
2809         * gnu/java/security/provider/DERReader.java,
2810         gnu/java/security/provider/DERWriter.java,
2811         java/security/Engine.java: Removed.
2812         * Makefile.am
2813         (java_source_files, javax_source_files): Added new files.
2814         * Makefile.in: Regenerated.
2815
2816 2003-04-29  Michael Koch  <konqueror@gmx.de>
2817
2818         * javax/swing/JTable.java
2819         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2820         (AUTO_RESIZE_LAST_COLUMN): New constant.
2821         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2822         (AUTO_RESIZE_OFF): New constant.
2823         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2824         (JTable): New method.
2825         (columnAdded): New method.
2826         (columnMarginChanged): New method.
2827         (columnMoved): New method.
2828         (columnRemoved): New method.
2829         (columnSelectionChanged): New method.
2830         (editingCanceled): New method.
2831         (editingStopped): New method.
2832         (getColumnModel): New method.
2833         (getPreferredScrollableViewportSize): New method.
2834         (getScrollableBlockIncrement): New method.
2835         (getScrollableTracksViewportHeight): New method.
2836         (getScrollableTracksViewportWidth): New method.
2837         (getScrollableUnitIncrement): New method.
2838         (getSelectedRow): New method.
2839         (getSelectionModel): New method.
2840         (tableChanged): New method.
2841         (setModel): New method.
2842         (setSelectionMode): New method.
2843         (setSelectionModel): New method.
2844         (setShowGrid): New method.
2845         (valueChanged): New method.
2846         * javax/swing/text/DefaultEditorKit.java
2847         (backwardAction): New constant.
2848         (beepAction): New constant.
2849         (beginAction): New constant.
2850         (beginLineAction): New constant.
2851         (beginParagraphAction): New constant.
2852         (beginWordAction): New constant.
2853         (copyAction): New constant.
2854         (cutAction): New constant.
2855         (defaultKeyTypedAction): New constant.
2856         (deleteNextCharAction): New constant.
2857         (deletePrevCharAction): New constant.
2858         (downAction): New constant.
2859         (endAction): New constant.
2860         (endLineAction): New constant.
2861         (endOfLineStringProperty): New constant.
2862         (endParagraphAction): New constant.
2863         (endWordAction): New constant.
2864         (forwardAction): New constant.
2865         (insertBreakAction): New constant.
2866         (insertContentAction): New constant.
2867         (insertTabAction): New constant.
2868         (nextWordAction): New constant.
2869         (pageDownAction): New constant.
2870         (pageUpAction): New constant.
2871         (pasteAction): New constant.
2872         (previousWordAction): New constant.
2873         (readOnlyAction): New constant.
2874         (selectAllAction): New constant.
2875         (selectionBackwardAction): New constant.
2876         (selectionBeginAction): New constant.
2877         (selectionBeginLineAction): New constant.
2878         (selectionBeginParagraphAction): New constant.
2879         (selectionBeginWordAction): New constant.
2880         (selectionDownAction): New constant.
2881         (selectionEndAction): New constant.
2882         (selectionEndLineAction): New constant.
2883         (selectionEndParagraphAction): New constant.
2884         (selectionEndWordAction): New constant.
2885         (selectionForwardAction): New constant.
2886         (selectionNextWordAction): New constant.
2887         (selectionPreviousWordAction): New constant.
2888         (selectionUpAction): New constant.
2889         (selectLineAction): New constant.
2890         (selectParagraphAction): New constant.
2891         (selectWordAction): New constant.
2892         (upAction): New constant.
2893         (writableAction): New constant.
2894
2895 2003-04-29  Michael Koch  <konqueror@gmx.de>
2896
2897         * java/util/PropertyPermission.java:
2898         New version from classpath
2899         * java/util/ResourceBundle.java:
2900         Partly merged from classpath
2901         (getObject): Reformated.
2902         (tryBundle): Set foundBundle = null if no bundle found.
2903
2904 2003-04-29  Michael Koch  <konqueror@gmx.de>
2905
2906         * javax/swing/AbstractListModel.java,
2907         javax/swing/DefaultBoundedRangeModel.java,
2908         javax/swing/DefaultSingleSelectionModel.java:
2909         New Versions from classpath.
2910
2911 2003-04-29  Michael Koch  <konqueror@gmx.de>
2912
2913         * java/awt/Window.java
2914         (show): Call super.show() instead of setVisible() to avoid endless
2915         loop.
2916         (hide): Call super.hide() instead of setVisible() to avoid endless
2917         loop.
2918
2919 2003-04-29  Michael Koch  <konqueror@gmx.de>
2920
2921         * java/util/zip/Deflater.java,
2922         java/util/zip/DeflaterOutputStream.java:
2923         Partly merged with classpath.
2924
2925 2003-04-27  Tom Tromey  <tromey@redhat.com>
2926
2927         * java/lang/natString.cc (_Jv_AllocString): Initialize
2928         cachedHashCode.
2929         (init): Likewise.
2930         (_Jv_NewStringUtf8Const): Likewise.
2931
2932 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2933
2934         * include/jvm.h: (_Jv_GetNbArgs) added
2935         (_Jv_GetSafeArg) added
2936         (_Jv_SetArgs) added
2937         * prims.cc: (_Jv_GetNbArgs) implemented
2938         (_Jv_GetSafeArg) implemented
2939         (_Jv_SetArgs) implemented
2940         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2941         setting _Jv_argc and _Jv_argv
2942         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2943         instead of _Jv_argv
2944         * java/lang/natRuntime.cc: (insertSystemProperties) use
2945         _Jv_GetSafeArg() instead of _Jv_argv
2946
2947 2003-04-23  Tom Tromey  <tromey@redhat.com>
2948
2949         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2950         required by this object.  Search superclasses to find required
2951         alignment.
2952         (get_alignment_from_class): Use alignment of type as it appears
2953         in a struct.
2954         (ALIGNOF): New macro.
2955         (struct aligner): New helper structure.
2956
2957 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2958
2959         * java/awt/Container.java (addImpl): Enable paint events if adding
2960         a lightweight to a heavyweight.
2961         (addNotify): Ensure that peer is created before
2962         addNotifyContainerChildren.
2963         (addNotifyContainerChildren): Enable paint events if a heavyweight
2964         container contains a lightweight.
2965
2966 2003-04-20  Tom Tromey  <tromey@redhat.com>
2967
2968         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2969         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2970         Classpath.
2971
2972 2003-04-19  Tom Tromey  <tromey@redhat.com>
2973
2974         * java/sql/Date.java, java/sql/DriverManager.java,
2975         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2976         Classpath.
2977
2978         * Makefile.in: Rebuilt.
2979         * Makefile.am (ordinary_java_source_files): Added new files.
2980         * java/security/AlgorithmParameterGenerator.java,
2981         java/security/AlgorithmParameters.java, java/security/Engine.java,
2982         java/security/Identity.java, java/security/IdentityScope.java,
2983         java/security/KeyFactory.java,
2984         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2985         java/security/MessageDigest.java, java/security/Policy.java,
2986         java/security/ProtectionDomain.java,
2987         java/security/SecureRandom.java, java/security/Security.java,
2988         java/security/Signature.java, java/security/SignatureSpi.java,
2989         java/security/SignedObject.java, java/security/Signer.java,
2990         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2991         java/security/spec/PSSParameterSpec.java,
2992         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2993         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2994         Classpath.
2995
2996 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2997
2998         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2999         (dispose): Null metrics.
3000         * gnu/awt/xlib/XToolkit.java (sync): Implement.
3001         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3002         finalize.
3003         (finalize): Call dispose.
3004         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3005         (gcCachedCount): New field.
3006         (finalize): New method.
3007         (putGCInCache): New method.
3008         (getGCFromCache): New method.
3009         * gnu/gcj/xlib/GC.java (GC): Make protected.
3010         (clone): Get new GC from cache if possible.
3011         (create): New static method.
3012         (dispose): Save old GC in cache.
3013         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3014         deleting.
3015         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3016         is null.
3017         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3018         * java/awt/Container.java (visitChild): Dispose gfx2 when
3019         finished.
3020
3021 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
3022
3023         * java/math/BigInteger.java (probablePrime): New.
3024         * java/math/BigDecimal.java (unscaledValue): New.
3025
3026 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
3027
3028         * java/io/File.java (getAbsolutePath): On Windows, take care
3029         of paths like "C:", "G:foo\bar", etc.
3030         (getName): Make it work correctly on Windows.
3031         (getParent): Make it work correctly on Windows. For UNIX,
3032         fix bug that causes "/" to be returned as the parent of "/",
3033         instead of null as returned by Sun's JRE.
3034
3035         * java/io/natFileWin32.cc: Change copyright owner to FSF.
3036
3037 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3038
3039         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3040         inner class.
3041         (CACHE_SIZE_PER_DISPLAY): New field
3042         (fontMetricsCache): New field
3043         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3044         loading ISO10646-1 fonts.
3045
3046 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
3047
3048         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3049         characters.
3050         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3051         characters.
3052
3053 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
3054
3055         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3056         floating point.
3057
3058 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
3059
3060         * configure.host (*-linux*): Don't set slow_pthread_self if primary
3061         installed libpthread is either linuxthreads with floating stacks or
3062         NPTL.
3063
3064 2003-04-14  Tom Tromey  <tromey@redhat.com>
3065
3066         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3067         of alignment.
3068
3069 2003-04-10  Tom Tromey  <tromey@redhat.com>
3070
3071         * verify.cc (pop64): Removed.
3072         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
3073         exception if top-of-stack is narrow.
3074         (initialize_stack): Check to ensure that <init> is not static and
3075         <clinit> is.
3076
3077 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
3078
3079         * java/io/ObjectStreamException
3080         * java/io/FileFilter
3081         * java/io/FilenameFilter
3082         * java/io/ObjectInput
3083         * java/io/ObjectOutput
3084         * java/io/ObjectStreamConstants
3085         Minor doc fixes, format fixes, spelling corrections, etc.
3086         * java/io/DataInput
3087         Corrected code samples in Javadocs to match reality
3088         * java/io/DataOutput
3089         * java/io/ObjectInputValidation
3090         Major documentation fixes - all Javadocs re-written or updated
3091
3092 2003-04-06  Michael Koch  <konqueror@gmx.de>
3093
3094         * java/net/URLConnection.java:
3095         Import classes directly.
3096         (URLConnection): Merged class documentation with classpath.
3097         (url): Moved, documentation from classpath added.
3098         (doInput): Moved, documentation from classpath added.
3099         (doOutput): Moved, documentation from classpath added.
3100         (allowUserInteraction): Moved.
3101         (useCaches): Moved, documentation from classpath added.
3102         (ifModifiedSince): Moved, documentation from classpath added.
3103         (connected): Moved, documentation from classpath added.
3104
3105 2003-04-06  Michael Koch  <konqueror@gmx.de>
3106
3107         * java/io/FileInputStream.java
3108         (skip): Renamed some variables to match classpath, added
3109         checks from classpath.
3110
3111 2003-03-31  Michael Koch  <konqueror@gmx.de>
3112
3113         * javax/swing/AbstractAction.java
3114         (AbstractAction): Reformatted.
3115         (serialVersionUID): New private member variable.
3116         * javax/swing/plaf/BorderUIResource.java
3117         (serialVersionUID): New private member variable.
3118         * javax/swing/plaf/basic/BasicLookAndFeel.java
3119         (serialVersionUID): New private member variable.
3120
3121 2003-03-31  Michael Koch  <konqueror@gmx.de>
3122
3123         * java/sql/Date.java
3124         (valueOf): Deprecated, reformatted.
3125         (toString): Deprecated, reformatted.
3126         * java/sql/Time.java
3127         (valueOf): Deprecated, reformatted.
3128         (toString): Deprecated, reformatted.
3129
3130 2003-03-31  Michael Koch  <konqueror@gmx.de>
3131
3132         * java/rmi/dgc/VMID.java
3133         (isUnique): Deprecated.
3134
3135 2003-03-31  Michael Koch  <konqueror@gmx.de>
3136
3137         * java/io/File.java
3138         (separator): Merged documentation from classpath.
3139         (separatorChar): Merged documentation from classpath.
3140         (pathSeparator): Merged documentation from classpath.
3141         (pathSeparatorChar): Merged documentation from classpath.
3142         (path): Merged documentation from classpath.
3143         (canRead): Merged documentation from classpath.
3144         (canWrite): Merged documentation from classpath.
3145         (createNewFile): Merged documentation from classpath.
3146         (delete): Merged documentation from classpath.
3147         (equals): Merged documentation from classpath.
3148         (exists): Merged documentation from classpath.
3149         (File): Renamed p to name to match classpath, merged documentation
3150         from classpath.
3151         (getAbsolutePath): Merged documentation from classpath.
3152         (getCanonicalPath): Merged documentation from classpath.
3153         (getCanonicalFile): Merged documentation from classpath.
3154         (getName): Merged documentation from classpath.
3155         (getParent): Merged documentation from classpath.
3156         (getParentFile): Merged documentation from classpath.
3157         (getPath): Merged documentation from classpath.
3158         (hashCode): Merged documentation from classpath.
3159         (isAbsolute): Merged documentation from classpath.
3160         (isDirectory): Merged documentation from classpath.
3161         (isFile): Merged documentation from classpath.
3162         (isHidden): Merged documentation from classpath.
3163         (lastModified): Merged documentation from classpath.
3164         (length): Merged documentation from classpath.
3165         (list): Merged documentation from classpath.
3166         (listFiles): Merged documentation from classpath.
3167         (toString): Merged documentation from classpath.
3168         (toURL): Merged documentation from classpath.
3169         (mkdir): Merged documentation from classpath.
3170         (mkdirs): Merged documentation from classpath.
3171         (createTempFile): Merged documentation from classpath.
3172         (setReadOnly): Merged documentation from classpath.
3173         (listRoots): Merged documentation from classpath.
3174         (compareTo): Merged documentation from classpath.
3175         (renameTo): Merged documentation from classpath.
3176         (setLastModified): Merged documentation from classpath.
3177         * java/io/PrintStream.java
3178         (auto_flush): Merged documentation from classpath.
3179         (PrintStream): Merged documentation from classpath.
3180         (checkError): Merged documentation from classpath.
3181         (setError): Merged documentation from classpath.
3182         (close): Merged documentation from classpath.
3183         (flush): Merged documentation from classpath.
3184         (print): Merged documentation from classpath.
3185         (println):  Merged documentation from classpath.
3186         (write): Renamed count to len to match classpath,
3187         merged documentation from classpath.
3188         * java/io/RandomAccessFile.java
3189         (readShort): Merged documentation from classpath.
3190         (readUnsignedByte): Merged documentation from classpath.
3191         (readUnsignedShort): Merged documentation from classpath.
3192         (readUTF): Merged documentation from classpath.
3193         (seek): Reformatted, merged documentation from classpath.
3194         (skipBytes): Renamed some variables to match classpath, reformatted,
3195         merged documentation from classpath.
3196         (write): Merged documentation from classpath.
3197         (writeBoolean): Merged documentation from classpath.
3198         (writeByte): Merged documentation from classpath.
3199         (writeShort): Merged documentation from classpath.
3200         (writeChar): Merged documentation from classpath.
3201         (writeInt): Merged documentation from classpath.
3202         (writeLong): Merged documentation from classpath.
3203         (writeFloat): Merged documentation from classpath.
3204         (writeDouble): Merged documentation from classpath.
3205         (writeBytes): Merged documentation from classpath.
3206         (writeChars): Merged documentation from classpath.
3207         (writeUTF): Reformatted.
3208         (getChannel): Reformatted.
3209
3210 2003-03-31  Michael Koch  <konqueror@gmx.de>
3211
3212         * java/awt/font/TextAttribute.java
3213         (readResolve): Throws java.io.InvalidObjectException.
3214
3215 2003-03-31  Michael Koch  <konqueror@gmx.de>
3216
3217         * java/rmi/server/LoaderHandler.java
3218         (loadClass): Deprecated.
3219         (getSecurityContext): Deprecated.
3220         * java/rmi/server/LogStream.java
3221         (getDefaultStream): Deprecated.
3222         (setDefaultStream): Deprecated.
3223         (getOutputStream): Deprecated.
3224         (setOutputStream): Deprecated.
3225         (write): Deprecated.
3226         (toString): Deprecated.
3227         (parseLevel): Deprecated.
3228         * java/rmi/server/Operation.java
3229         (Operation): Deprecated.
3230         (getOperation): Deprecated.
3231         (toString): Deprecated.
3232         * java/rmi/server/RemoteCall.java
3233         (getOutputStream): Deprecated.
3234         (releaseOutputStream): Deprecated.
3235         (getInputStream): Deprecated.
3236         (releaseInputStream): Deprecated.
3237         (getResultStream): Deprecated.
3238         (executeCall): Deprecated.
3239         (done): Deprecated.
3240         * java/rmi/server/RemoteRef.java
3241         (invoke): Deprecated.
3242         (newCall): Deprecated.
3243         (done): Deprecated.
3244         * java/rmi/server/RemoteStub.java
3245         (setRef): Deprecated.
3246         * java/rmi/server/Skeleton.java:
3247         No need to import java.lang.Exception explicitly.
3248         (dispatch): Deprecated.
3249         (getOperations): Deprecated.
3250
3251 2003-03-31  Michael Koch  <konqueror@gmx.de>
3252
3253         * java/rmi/dgc/VMID.java,
3254         java/rmi/registry/RegistryHandler.java,
3255         java/rmi/server/LogStream.java,
3256         java/rmi/server/Operation.java,
3257         java/rmi/server/RemoteCall.java,
3258         java/rmi/server/RemoteRef.java,
3259         java/rmi/server/RemoteStub.java:
3260         Reformatted.
3261
3262 2003-03-31  Michael Koch  <konqueror@gmx.de>
3263
3264         * javax/swing/AbstractCellEditor.java,
3265         javax/swing/AbstractListModel.java,
3266         javax/swing/ActionMap.java,
3267         javax/swing/BorderFactory.java,
3268         javax/swing/ButtonGroup.java,
3269         javax/swing/DefaultBoundedRangeModel.java,
3270         javax/swing/DefaultButtonModel.java,
3271         javax/swing/DefaultCellEditor.java,
3272         javax/swing/DefaultComboBoxModel.java,
3273         javax/swing/DefaultDesktopManager.java,
3274         javax/swing/DefaultListCellRenderer.java,
3275         javax/swing/DefaultSingleSelectionModel.java,
3276         javax/swing/InputMap.java,
3277         javax/swing/JComponent.java,
3278         javax/swing/JMenu.java,
3279         javax/swing/JSlider.java,
3280         javax/swing/KeyStroke.java,
3281         javax/swing/OverlayLayout.java,
3282         javax/swing/ScrollPaneLayout.java,
3283         javax/swing/SizeRequirements.java,
3284         javax/swing/UIManager.java,
3285         javax/swing/ViewportLayout.java,
3286         javax/swing/border/AbstractBorder.java,
3287         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3288         javax/swing/event/EventListenerList.java,
3289         javax/swing/table/AbstractTableModel.java,
3290         javax/swing/table/DefaultTableCellRenderer.java,
3291         javax/swing/table/DefaultTableColumnModel.java,
3292         javax/swing/table/DefaultTableModel.java,
3293         javax/swing/table/TableColumn.java,
3294         javax/swing/text/StyledEditorKit.java,
3295         javax/swing/tree/DefaultMutableTreeNode.java,
3296         javax/swing/tree/DefaultTreeModel.java,
3297         javax/swing/tree/DefaultTreeSelectionModel.java,
3298         javax/swing/tree/TreePath.java,
3299         javax/swing/undo/AbstractUndoableEdit.java,
3300         javax/swing/undo/StateEdit.java,
3301         javax/swing/undo/StateEditable.java,
3302         javax/swing/undo/UndoableEditSupport.java:
3303         Merges from classpath.
3304
3305 2003-03-30  Tom Tromey  <tromey@redhat.com>
3306
3307         * java/lang/String.java (data, boffset, count): Documented.
3308         (String(byte[],String)): Reformatted.
3309         (String(byte[])): Likewise.
3310         (lastIndexOf(int)): Likewise.
3311         (lastIndexOf(String)): Likewise.
3312         (substring(int)): Renamed argument to match Classpath.
3313         (String(StringBuffer)): Don't share buffer if it is nearly empty.
3314
3315         * java/lang/String.java: Miscellaneous minor formatting changes
3316         to match Classpath more closely.
3317
3318 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
3319             Tom Tromey  <tromey@redhat.com>
3320
3321         * java/lang/natString.cc (hashCode): Use cachedHashCode.
3322         (init()): Removed.
3323         (charAt): Put index in exception.
3324         (contentEquals): New method.
3325         Include StringBuffer.h.
3326         * java/lang/String.java (cachedHashCode): New field.
3327         (String()): Follow classpath implementation.
3328         (init()): Removed.
3329         (contentEquals): Declare.
3330         (subSequence): Don't declare IndexOutIfBoundsException in throws
3331         clause.
3332         (matches, replaceFirst, replaceAll, split): New methods from
3333         Classpath.
3334
3335 2003-03-29  Tom Tromey  <tromey@redhat.com>
3336
3337         * java/lang/String.java: Reordered to follow Classpath; merged in
3338         javadoc.
3339
3340         * java/text/MessageFormat.java: Removed some whitespace.
3341
3342         * Makefile.in: Rebuilt.
3343         * Makefile.am (awt_java_source_files): Added new files.
3344         * gnu/javax/rmi/PortableServer.java,
3345         gnu/javax/rmi/CORBA/DelegateFactory.java,
3346         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3347         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3348         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3349         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3350         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3351         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3352         javax/rmi/PortableRemoteObject.java,
3353         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3354         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3355         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3356         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3357         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3358         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3359
3360         * java/lang/natClass.cc (newInstance): Put method name in
3361         exception.
3362         (getConstructor): Likewise.
3363         (getDeclaredConstructor): Likewise.
3364         (getPrivateMethod): Likewise.
3365
3366 2003-03-28  Tom Tromey  <tromey@redhat.com>
3367
3368         * java/lang/reflect/Proxy.java: New version from Classpath.
3369         * java/lang/Package.java: New version from Classpath.
3370
3371 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3372
3373         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3374         * configure: Regenerate.
3375
3376 2003-03-28  Michael Koch  <konqueror@gmx.de>
3377
3378         * java/io/File.java:
3379         Import needed classes instead of whole packages, merged class
3380         documentation with classpath, moved constants and variables to top of
3381         class.
3382         * java/io/PrintStream.java:
3383         Merged class documentation with classpath, moved constants and
3384         variables to top of class.
3385         * java/io/RandomAccessFile.java
3386         (RandomAccessFile): Merged with classpath.
3387         (read): Merged with classpath).
3388         (read*): Reformatted.
3389
3390 2003-03-28  Michael Koch  <konqueror@gmx.de>
3391
3392         * java/io/FileDescriptor.java
3393         (finalize): Throws Throwable, not IOException.
3394         * java/io/ObjectOutputStream.java
3395         (PutField.put): Doesnt throws anything.
3396
3397 2003­03-28  Michael Koch  <konqueror@gmx.de>
3398
3399         * java/io/FileOutputStream.java:
3400         Merged class documentation and authors with classpath.
3401         (FileOutputStream): Partly merged with classpath.
3402         (write): Merged with classpath.
3403         (getChannel): Make it synchronized instead of explicit block in this
3404         method.
3405         * java/io/RandomAccessFile.java:
3406         Merged class documentation and authors with classpath.
3407
3408 2003-03-26  Tom Tromey  <tromey@redhat.com>
3409
3410         * java/lang/natRuntime.cc (insertSystemProperties): Set
3411         gnu.classpath.home.url.
3412         * Makefile.in: Rebuilt.
3413         * Makefile.am: Define LIBDIR.
3414
3415 2003-03-25  Michael Koch  <konqueror@gmx.de>
3416
3417         * java/io/FileInputStream.java
3418         (read): Renamed b to buf and off to offset.
3419         * java/io/FileOutputStream.java
3420         (ch): Documentation added.
3421         (FileOutputStream): Documentation added.
3422         (getFD): Documentation added.
3423         (write): Documentation added.
3424         (close): Documentation added.
3425         (getChannel): Documentation added.
3426
3427 2003-03-24  Michael Koch  <konqueror@gmx.de>
3428
3429         * java/io/DataOutputStream.java
3430         (write): Merged from classpath.
3431         * java/io/File.java:
3432         Merged copyrigth with classpath.
3433         * java/io/FileInputStream.java
3434         (getChannel): Made it synchronized instead of using a synchronized
3435         block.
3436         * java/io/FileOutputStream.java: Reformatted.
3437         * java/io/InputStreamReader.java
3438         (InputStreamReader): Renamed enc to encoding_name.
3439         (close): Merged documentation from classpath.
3440         (getEncoding): Merged documentation from classpath.
3441         (ready): Merged documentation from classpath.
3442         (read): Merged documentation from classpath.
3443         * java/io/LineNumberReader.java
3444         (lineNumber): Made it private.
3445         (LineNumberReader): Use Constant instead of a direct value.
3446         * java/io/OutputStreamWriter.java
3447         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3448         documentation from classpath.
3449         (close): Merged documentation from classpath.
3450         (flush): Merged documentation from classpath.
3451         (write): Merged documentation from classpath.
3452         * java/io/PrintStream.java: Reformatted.
3453
3454 2003-03-24  Michael Koch  <konqueror@gmx.de>
3455
3456         * javax/swing/text/ComponentView.java
3457         (getComponent): Must be final.
3458         * javax/swing/tree/DefaultTreeCellRenderer.java:
3459         Reformatted.
3460         * javax/swing/undo/StateEditable.java:
3461         Reformatted.
3462
3463 2003-03-24  Michael Koch  <konqueror@gmx.de>
3464
3465         * java/rmi/activation/ActivationInstantiator.java:
3466         Reformatted.
3467         * java/rmi/activation/Activator.java:
3468         Reformatted.
3469         * java/rmi/registry/RegistryHandler.java:
3470         Remerged from classpath.
3471
3472 2003-03-24  Michael Koch  <konqueror@gmx.de>
3473
3474         * java/util/Date.java:
3475         Fixed documentation starting tag to make javadoc happy.
3476         * java/util/regex/Pattern.java
3477         (Pattern): Implements Serializable.
3478         * java/util/PatternSyntaxException.java
3479         (serialVersionUID): New member variable.
3480
3481 2003-03-24  Michael Koch  <koqnueror@gmx.de>
3482
3483         * java/awt/ContainerOrderFocusTraversalPolicy.java
3484         (getFirstComponent): Implemented.
3485         (getLastComponent): Implemented.
3486         (getDefaultComponent): Implemented.
3487         (setImplicitDownCycleTraversal): Fixed implementation.
3488         * java/awt/Robot.java
3489         (Robot): Added documentation.
3490         * java/awt/Toolkit.java
3491         (getFontList): Deprecated.
3492         (getFontMetrics): Deprecated.
3493         (getPrintJob): Added documentation.
3494         (getSystemSelection): Added documentation.
3495         (getLockingKeyState): Added documentation.
3496         (setLockingKeyState): Added documentation.
3497         (createCustomCursor): Added documentation.
3498         (getBestCursorSize): Added documentation.
3499         (getMaximumCursorColors): Added documentation.
3500         (isFrameStateSupported): Added documentation.
3501
3502 2003-03-24  Michael Koch  <konqueror@gmx.de>
3503
3504         * java/io/RandomAccessFile.java:
3505         More little merges with classpath. No code changes.
3506
3507 2003-03-24  Michael Koch  <konqueror@gmx.de>
3508
3509         * java/net/natInetAddressNoNet.cc:
3510         Include stddef.h.
3511         * java/net/natPlainDatagramSocketImplNoNet.cc:
3512         Fixed inlcude of java/net/DatagramPacket.h.
3513         * java/net/natPlainSocketImplNoNet.cc:
3514         Include some missing classes.
3515
3516 2003-03-24  Michael Koch  <konqueror@gmx.de>
3517
3518         * java/awt/dnd/DropTarget.java
3519         (DropTargetAutoScroller): According to the online documentation, this
3520         is protected, but in reality it is public.
3521         * java/awt/dnd/DropTargetContext.java
3522         (TransferableProxy): According to the online documentation, this
3523         is protected, but in reality it is public.
3524
3525 2003-03-24  Michael Koch  <konqueror@gmx.de>
3526
3527         * java/io/DataInputStream.java
3528         (): Wrapped documentation line.
3529         (): Fixed @return tag.
3530         * java/io/DataOutputStream.java
3531         (written): Moved to top of class.
3532         (all methods): Merged documentation from classpath.
3533         * java/io/File.java:
3534         Merged copyright year with classpath.
3535         * java/io/FileInputStream.java
3536         (all methods): Merged documentation from classpath.
3537         * java/io/LineNumberReader.java
3538         (getLineNumber): Fixed @return tag.
3539         * java/io/ObjectInputStream.java.
3540         Reformatted.
3541         * java/io/ObjectOutputStream.java:
3542         Reformatted, fixed some @see tags.
3543         * java/io/OutputStreamWriter.java:
3544         Deleted empty line.
3545         * java/io/Writer.java:
3546         Reformatted.
3547
3548 2003-03-24  Michael Koch  <konqueror@gmx.de>
3549
3550         * java/awt/Frame.java
3551         (DEFAULT_CURSOR): Fixed @deprecated tag.
3552         (setCursor): Fixed @deprecated tag.
3553
3554 2003-03-24  Michael Koch  <konqueror@gmx.de>
3555
3556         * java/beans/beancontext/BeanContextEvent.java:
3557         Reformated.
3558
3559 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
3560
3561         * java/lang/natStringBuffer.cc (regionMatches): New function.
3562         * java/lang/String.java (count): Now package-private.
3563         * java/lang/StringBuffer.java: Merged with Classpath.
3564
3565 2003-03-23  Michael Koch  <konqueror@gmx.de>
3566
3567         * java/io/BufferedOutputStream.java:
3568         Reformated.
3569         * java/io/BufferedReader.java:
3570         Reformated.
3571         * java/io/ByteArrayOutputStream.java
3572         (size): Fixed @see tag.
3573         * java/io/CharArrayWriter.java
3574         (size): Fixed @see tag.
3575         * java/io/DataInput.java:
3576         Reformated.
3577         * java/io/DataOutput.java:
3578         Reformated.
3579         * java/io/DataOutputStream.java:
3580         Merged copyright years with classpath.
3581         * java/io/Externalizable.java:
3582         Reformated.
3583         * java/io/FileFilter.java:
3584         Reformated.
3585         * java/io/FileInputStream.java:
3586         Merged copyright years with classpath.
3587         * java/io/FileOutputStream.java:
3588         Merged copyright years with classpath.
3589         * java/io/FilePermission.java
3590         (FilePermission): Replaced @XXX with FIXME:.
3591         * java/io/FileWriter.java:
3592         Reformated.
3593         * java/io/FilenameFilter.java:
3594         Reformated.
3595         * java/io/FilterInputStream.java:
3596         Reformated.
3597         * java/io/FilterOutputStream.java:
3598         Reformated.
3599         * java/io/FilterReader.java:
3600         Reformated.
3601         * java/io/FilterWriter.java:
3602         Reformated.
3603         * java/io/LineNumberInputStream.java
3604         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3605         happy.
3606         (getLineNumber): Fixed @return tag.
3607         * java/io/ObjectInput.java:
3608         Reformated.
3609         * java/io/ObjectOutput.java:
3610         Reformated.
3611         * java/io/ObjectStreamClass.java:
3612         Reformated.
3613         * java/io/PrintStream.java:
3614         Merged copyright years with classpath.
3615         * java/io/PushbackReader.java
3616         (PushbackReader): Replaced @code with @param.
3617         * java/io/SerializablePermission.java:
3618         Reformated.
3619         * java/io/StreamTokenizer.java
3620         (resetSyntax): Fixed @see tag.
3621
3622 2003-03-22  Richard Henderson  <rth@redhat.com>
3623
3624         * sysdep/ia64/locks.h: Include ia64intrin.h.
3625         (compare_and_swap): Use __sync_bool_compare_and_swap.
3626         (compare_and_swap_release): Expose ar.ccv assignment.
3627
3628 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3629
3630         * include/posix.h: Add suffix for darwin dynamic libraries.
3631
3632 2003-03-21  Michael Koch  <konqueror@gmx.de>
3633
3634         * javax/swing/Action.java
3635         (ACCELERATOR_KEY): New constant.
3636         (ACTION_COMMAND_KEY): Likewise.
3637         (MNEMONIC_KEY): Likewise.
3638         * javax/swing/UnsupportedLookAndFeelException.java
3639         (UnsupportedLookAndFeelException): Must be public.
3640         * javax/swing/WindowConstants.java
3641         (EXIT_ON_CLOSE): New constant.
3642         * javax/swing/text/BadLocationException.java
3643         (offset): New member variable.
3644         (BadLocationException): New implementation, documentation added.
3645         (offsetRequested): New method.
3646         * javax/swing/text/Caret.java:
3647         Reformated.
3648         * javax/swing/text/Document.java:
3649         Reformated.
3650
3651 2003-03-21  Michael Koch  <konqueror@gmx.de>
3652
3653         * java/rmi/activation/Activatable.java
3654         (serialVersionUID): New member variable.
3655         * java/rmi/activation/ActivationGroup.java
3656         (serialVersionUID): New member variable.
3657         * java/rmi/activation/ActivationGroupDesc.java
3658         (serialVersionUID): New member variable.
3659         * java/rmi/registry/Registry.java:
3660         Reformated.
3661         (Registry): Deprecated.
3662         * java/rmi/server/LoaderHandler.java
3663         Reformated.
3664         (LoaderHandler): Deprecated.
3665         * java/rmi/server/LogStream.java
3666         Reformated.
3667         (LogStream): Deprecated.
3668         * java/rmi/server/Operation.java
3669         (Operation): Deprecated.
3670         * java/rmi/server/RMIFailureHandler.java:
3671         Reformated.
3672         * java/rmi/server/RMISocketFactory.java:
3673         Reformated.
3674         * java/rmi/server/RemoteCall.java
3675         (RemoteCall): Deprecated.
3676         * java/rmi/server/RemoteStub.java:
3677         Reformated.
3678         * java/rmi/server/Skeleton.java
3679         Reformated.
3680         (Skeleton): Deprecated.
3681
3682 2003-03-21  Michael Koch  <konqueror@gmx.de>
3683
3684         * java/io/LineNumberReader.java
3685         (LineNumberReader): Merged documentation with classpath.
3686         (getLineNumber): Likewise.
3687         (setLineNumber): Likewise.
3688         (mark): Likewise.
3689         (reset): Likewise.
3690         (read): Likewise.
3691         (readLine): Likewise.
3692         (skip): Likewise.
3693
3694 2003-03-21  Michael Koch  <konqueror@gmx.de>
3695
3696         * java/rmi/RMISecurityManager.java
3697         (checkAccept): Removed.
3698         (checkAccess): Likewise.
3699         (checkAccess): Likewise.
3700         (checkAwtEventQueueAccess): Likewise.
3701         (checkConnect): Likewise.
3702         (checkCreateClassLoader): Likewise.
3703         (checkDelete): Likewise.
3704         (checkExec): Likewise.
3705         (checkExit): Likewise.
3706         (checkLink): Likewise.
3707         (checkListen): Likewise.
3708         (checkMemberAccess): Likewise.
3709         (checkMulticast): Likewise.
3710         (checkPackageAccess): Likewise.
3711         (checkPackageDefinition): Likewise.
3712         (checkPermission): Likewise.
3713         (checkPrintJobAccess): Likewise.
3714         (checkPropertiesAccess): Likewise.
3715         (checkPropertyAccess): Likewise.
3716         (checkRead): Likewise.
3717         (checkSecurityAccess): Likewise.
3718         (checkSetFactory): Likewise.
3719         (checkSystemClipboardAccess): Likewise.
3720         (checkTopLevelWindow): Likewise.
3721         (checkWrite): Likewise.
3722
3723 2003-03-20  Michael Koch  <konqueror@gmx.de>
3724
3725         * gnu/java/nio/FileChannelImpl.java
3726         (address): Removed.
3727         (map_address): New member variable.
3728         (length): Make it package private.
3729         (fd): Make it package private.
3730         (buf): Make it package private.
3731         (file_obj): Make it package private.
3732         (FileChannelImpl): New constructor.
3733         (nio_mmap_file): Use RawData instead of long.
3734         (nio_munmap_file): Use RawData instead of long.
3735         (nio_msync): Use RawData instead of long.
3736         (implCloseChannel): New implementation using map_address.
3737         (read): Reformated.
3738         (map): Implemented.
3739         (create_direct_mapped_buffer): Implemented, use RawData, throws
3740         IOException.
3741         (force): Use map_address instead of address.
3742         * gnu/java/nio/MappedByteFileBuffer.java
3743         (address): Removed.
3744         (map_address): New member variable.
3745         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3746         (several methods): Use map_address instead of address, replaced long
3747         with RawData where appropriate.
3748         * gnu/java/nio/natFileChannelImpl.cc
3749         (nio_mmap_file): Replaced long with RawData.
3750         (nio_munmap_file): Replaced long with RawData.
3751         (nio_msync): Replaced long with RawData.
3752         * gnu/java/nio/natMappedByteFileBuffer.cc
3753         (several methods): Replaced long with RawData where appropriate.
3754
3755 2003-03-20  Michael Koch  <konqueror@gmx.de>
3756
3757         * java/net/InetAddress.java,
3758         java/net/JarURLConnection.java,
3759         java/net/PlainDatagramSocketImpl.java,
3760         java/net/PlainSocketImpl.java,
3761         java/net/URLConnection.java:
3762         Merged copyright statements with classpath for easier merging.
3763
3764 2003-03-20  Michael Koch  <konqueror@gmx.de>
3765
3766         * java/io/FileInputStream.java
3767         (getChannel): New implementation.
3768         * java/io/FileOutputStream.java
3769         (ch): New member variable.
3770         (getChannel): Implemented.
3771         * java/io/RandomAccessFile.java
3772         (RandomAccessFile): Throws FileNotFoundException instead of
3773         IOException.
3774         (getChannel): New method.
3775         (ch): New member variable.
3776
3777 2003-03-20  Michael Koch  <konqueror@gmx.de>
3778
3779         * java/io/DataOutputStream.java,
3780         java/io/File.java,
3781         java/io/FileInputStream.java,
3782         java/io/FileOutputStream.java,
3783         java/io/InputStreamReader.java,
3784         java/io/LineNumberReader.java,
3785         java/io/OutputStreamWriter.java,
3786         java/io/PrintStream.java,
3787         java/io/RandomAccessFile.java:
3788         Merged copyright statements with classpath for easier merging.
3789
3790 2003-03-19  Michael Koch  <konqueror@gmx.de>
3791
3792         * java/lang/Process.java:
3793         Merged from classpath.
3794
3795 2003-03-19  Michael Koch  <konqueror@gmx.de>
3796
3797         * java/io/FileOutputStream.java
3798         (FileOutputStream): New constructor, merged from classpath.
3799         * java/io/FileWriter.java
3800         (FileWriter): New constructor, merged from classpath.
3801
3802 2003-03-18  Michael Koch  <konqueror@gmx.de>
3803
3804         * java/awt/ScrollPane.java
3805         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3806         (getViewportSize): Likewise.
3807         (addNotify): Likewise.
3808         (removeNotify): Likewise.
3809         * java/awt/ScrollPaneAdjustable.java
3810         (ScrollPaneAdjustable): No longer extends Scrollbar.
3811         * java/beans/beancontext/BeanContextServices.java:
3812         Reformated.
3813         (getService): Added throws TooManyListenersException;
3814         * java/beans/beancontext/BeanContextServicesSupport.java:
3815         Reformated.
3816
3817 2003-03-18  Michael Koch  <konqueror@gmx.de>
3818
3819         * java/io/BufferedOutputStream.java,
3820         java/io/DataInput.java,
3821         java/io/DataInputStream.java,
3822         java/io/DataOutput.java,
3823         java/io/Externalizable.java:
3824         More merges from classpath.
3825
3826 2003-03-18  Michael Koch  <konqueror@gmx.de>
3827
3828         * configure.in: Fixed links to platform dependant java.net files.
3829         * configure: Regenerated.
3830         * java/net/natInetAddress.cc,
3831         java/net/natNetworkInterface.cc,
3832         java/net/natPlainDatagramSocketImpl.cc,
3833         java/net/natPlainSocketImpl.cc:
3834         Removed.
3835
3836 2003-03-18  Michael Koch  <konqueror@gmx.de>
3837
3838         * configure.in: Create links to architecture dependent files,
3839         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3840         * configure: Regenerated.
3841         * java/net/natInetAddressNoNet.cc,
3842         java/net/natInetAddressPosix.cc,
3843         java/net/natInetAddressWin32.cc,
3844         java/net/natNetworkInterfaceNoNet.cc,
3845         java/net/natNetworkInterfacePosix.cc,
3846         java/net/natNetworkInterfaceWin32.cc,
3847         java/net/natPlainDatagramSocketImplNoNet.cc,
3848         java/net/natPlainDatagramSocketImplPosix.cc,
3849         java/net/natPlainDatagramSocketImplWin32.cc,
3850         java/net/natPlainSocketImplNoNet.cc,
3851         java/net/natPlainSocketImplPosix.cc,
3852         java/net/natPlainSocketImplWin32.cc: New files.
3853
3854 2003-03-18  Michael Koch  <konqueror@gmx.de>
3855
3856         * java/io/BufferedReader.java,
3857         java/io/BufferedWriter.java,
3858         java/io/ByteArrayOutputStream.java,
3859         java/io/FileFilter.java,
3860         java/io/FilePermission.java,
3861         java/io/FileReader.java,
3862         java/io/FileWriter.java,
3863         java/io/FilenameFilter.java,
3864         java/io/FilterInputStream.java,
3865         java/io/FilterOutputStream.java,
3866         java/io/FilterReader.java,
3867         java/io/FilterWriter.java,
3868         java/io/ObjectInput.java,
3869         java/io/ObjectInputValidation.java,
3870         java/io/ObjectOutput.java,
3871         java/io/ObjectStreamField.java,
3872         java/io/PipedInputStream.java,
3873         java/io/PipedReader.java,
3874         java/io/PrintWriter.java,
3875         java/io/PushbackReader.java,
3876         java/io/Reader.java,
3877         java/io/SerializablePermission.java,
3878         java/io/StringReader.java,
3879         java/io/Writer.java:
3880         Merged from classpath.
3881
3882 2003-03-17  Michael Koch  <konqueror@gmx.de>
3883
3884         * java/awt/ScrollPaneAdjustable.java:
3885         Compile fixes.
3886         
3887 2003-03-17  Michael Koch  <konqueror@gmx.de>
3888
3889         * java/net/DatagramSocket.java
3890         (connect): Fixed comment.
3891         * java/nio/ByteBuffer.java
3892         (hasArray): Fixed comment.
3893
3894 2003-03-17  Michael Koch  <konqueror@gmx.de>
3895
3896         * java/beans/Beans.java:
3897         Explicitely import classes not packages.
3898         * java/beans/FeatureDescriptor.java
3899         (preferred): New member variable.
3900         (isPreferred): New method.
3901         (setPreferred): New method.
3902         * java/beans/PropertyEditorManager.java:
3903         Explicitely import used classes.
3904         * java/beans/beancontext/BeanContextChild.java:
3905         Added line wrapping.
3906         * java/beans/beancontext/BeanContextChildSupport.java:
3907         Reindented.
3908         * java/beans/beancontext/BeanContextEvent.java:
3909         Reindented.
3910
3911 2003-03-17  Michael Koch  <konqueror@gmx.de>
3912
3913         * java/awt/Dialog.java
3914         (Dialog): New constructor, changed implementations, added
3915         documentation.
3916         * java/awt/ScrollPaneAdjustable.java
3917         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3918         Serializable.
3919         (serialVersionUID): New member variable.
3920         (sp): New member variable.
3921         (orientation): New member variable.
3922         (value): New member variable.
3923         (minimum): New member variable.
3924         (maximum): New member variable.
3925         (visibleAmount): New member variable.
3926         (unitIncrement): New member variable.
3927         (blockIncrement): New member variable.
3928         (AdjustmentListener): New member variable.
3929         (ScrollPaneAdjustable): New implementation.
3930         (addAdjustmentListener): New method.
3931         (removeAdjustmentListener): New method.
3932         (getAdjustmentListeners): New method.
3933         (getBlockIncrement): New method.
3934         (getMaximum): New method.
3935         (getMinimum): New method.
3936         (getOrientation): New method.
3937         (getUnitIncrement): New method.
3938         (getValue): New method.
3939         (getVisibleAmount): New method.
3940         (setBlockIncrement): New method.
3941         (setMaximum): Implemented.
3942         (setMinimum): Implemented.
3943         (setUnitIncrement): New method.
3944         (setValue): New method.
3945         (setVisibleAmount): Implemented. 
3946         (paramString): New stubbed method.
3947         * java/awt/Window.java
3948         (show): Call setVisible().
3949         (hide): Call setVisible().
3950         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3951         and WINDOW_STATE_CHANGED.
3952         (processWindowFocusEvent): New method.
3953         (processWindowStateEvent): New method.
3954         (postEvent): Deprecated.
3955         (applyResourceBundle): Deprecated.
3956         * java/awt/datatransfer/DataFlavor.java
3957         (DataFlavor): Doesn't thow ClassNotFoundException.
3958
3959 2003-03-17  Michael Koch
3960
3961         * javax/print/attribute/Attribute.java,
3962         javax/print/attribute/AttributeSet.java,
3963         javax/print/attribute/PrintRequestAttributeSet.java:
3964         New files.
3965         * Makefile.am
3966         (javax_source_files): Added new files:
3967         javax/print/attribute/Attribute.java
3968         javax/print/attribute/AttributeSet.java
3969         javax/print/attribute/PrintRequestAttributeSet.java
3970         * Makefile.in: Regenerated.
3971
3972 2003-03-17  Michael Koch
3973
3974         * javax/print/attribute/Attribute.java,
3975         javax/print/attribute/AttributeSet.java,
3976         javax/print/attribute/PrintRequestAttributeSet.java:
3977         New files.
3978         * Makefile.am
3979         (awt_java_source_files): Added new files:
3980         javax/print/attribute/Attribute.java
3981         javax/print/attribute/AttributeSet.java
3982         javax/print/attribute/PrintRequestAttributeSet.java
3983         * Makefile.in: Regenerated.
3984
3985 2003-03-16  Tom Tromey  <tromey@redhat.com>
3986
3987         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3988         Include platform.h.
3989         * java/lang/natRuntime.cc (insertSystemProperties): Use
3990         _Jv_platform_path_separator.
3991         (nativeGetLibname): Use _Jv_platform_file_separator.
3992         (_load): Use _Jv_platform_onload_names.
3993         (onload_names): New global.
3994         * include/win32.h (_Jv_platform_file_separator): New define.
3995         (_Jv_platform_path_separator): Likewise.
3996         (_Jv_platform_onload_names): Likewise.
3997         (_Jv_platform_ffi_abi): Likewise.
3998         * include/posix.h (_Jv_platform_file_separator): New define.
3999         (_Jv_platform_path_separator): Likewise.
4000         (_Jv_platform_onload_names): Likewise.
4001         (_Jv_platform_ffi_abi): Likewise.
4002
4003 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
4004
4005         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4006
4007 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
4008
4009         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4010         hierarchy loop.
4011         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4012         list to Object,ObjectStreamClass, moved callReadMethod code up into
4013         readObject and added Class argument to all setXxxField calls.
4014         (callReadMethod): Changed Class argument to ObjectStreamClass to be
4015         consistent with ObjectOutputStream and to facilitate caching the
4016         Method in the future.
4017         (setBooleanField): Added Class argument.
4018         (setByteField): Likewise.
4019         (setCharField): Likewise.
4020         (setDoubleField): Likewise.
4021         (setFloatField): Likewise.
4022         (setIntField): Likewise.
4023         (setLongField): Likewise.
4024         (setShortField): Likewise.
4025         (setObjectField): Likewise.
4026         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4027         class hierarchy loop.
4028         (defaultWriteObject): Call writeFields with new argument list.
4029         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4030         list to Object,ObjectStreamClass, moved callWriteMethod up into
4031         writeObject and added Class argument to all getXxxField calls.
4032         (callWriteMethod): Added ObjectStreamClass argument to be able to
4033         get the proper class to call getMethod on (each class can have (or
4034         not have) its own writeObject method).
4035         (getBooleanField): Added Class argument.
4036         (getByteField): Likewise.
4037         (getCharField): Likewise.
4038         (getDoubleField): Likewise.
4039         (getFloatField): Likewise.
4040         (getIntField): Likewise.
4041         (getLongField): Likewise.
4042         (getShortField): Likewise.
4043         (getObjectField): Likewise.
4044         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4045         facilitate caching the Method object in the future.
4046
4047 2003-03-12  Andreas Schwab  <schwab@suse.de>
4048
4049         * configure.in: Avoid trailing /. in toolexeclibdir.
4050         * configure: Rebuilt.
4051
4052 2003-03-11  Michael Koch  <konqueror@gmx.de>
4053
4054         * gnu/java/nio/ByteBufferImpl.java
4055         (putInt): Use limit() instead of limit.
4056         * gnu/java/nio/CharBufferImpl.java
4057         (slice): Fixed implementation.
4058         (subSequence): Better bounds checking.
4059         * gnu/java/nio/MappedByteFileBuffer.java:
4060         Import all needed classes directly.
4061         * java/nio/ByteBuffer.java
4062         (hashCode): New dummy method.
4063         * java/nio/CharBuffer.java
4064         (array_offset): New member variable.
4065         (hasArray): Fixed documentation.
4066         (arrayOffset): Return array_offset.
4067
4068 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
4069
4070         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4071         setter; made return value of getter const char* instead of char*
4072         * prims.cc: removed all references to _Jv_ThisExecutable().
4073         These are in the platform-specific sections now.
4074         * posix.cc: define platform-specific _Jv_ThisExecutable().
4075         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4076         * win32.cc: define platform-specific _Jv_ThisExecutable()
4077         using GetModuleFilename()
4078         * java/lang/natRuntime.cc: set gnu.gcj.progname property
4079         to argv[0] instead of _Jv_ThisExecutable()
4080
4081 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4082
4083         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4084         that is set if we are using addr2name.awk instead of addr2line.
4085         (NameFinder): Set usingAddr2name if using addr2name.awk.
4086         (getExternalLabel): New native method to convert a method 
4087         name to an external label.
4088         (lookup): Convert name given by addr2line to an external label
4089         before demangling.
4090
4091         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4092         constant representing the prefix attached to method names to
4093         convert them to an external label.
4094         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
4095         using LABEL_PREFIX.
4096
4097 2003-03-10  Tom Tromey  <tromey@redhat.com>
4098
4099         * Makefile.in: Rebuilt.
4100         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4101         (JC1FLAGS): Removed -Wno-deprecated.
4102
4103 2003-03-10  Michael Koch  <konqueror@gmx.de>
4104
4105         * java/nio/ByteOrder.java
4106         (nativeOrder): Working implementation, added documentation.
4107         (toString): Added documentation.
4108
4109 2003-03-10  Michael Koch  <konqueror@gmx.de>
4110
4111         * java/net/DatagramSocket.java,
4112         java/net/MulticastSocket.java,
4113         java/net/Socket.java,
4114         java/net/URL.java,
4115         java/net/URLConnection.java:
4116         Fixed some documentation tags to make javadoc and friends happy.
4117
4118 2003-03-10  Michael Koch  <koqnueror@gmx.de>
4119
4120         * java/beans/beancontext/BeanContextServicesSupport.java,
4121         java/beans/beancontext/BeanContextSupport.java: New files.
4122         * Makefile.am
4123         (awt_source_files): Added new files.
4124         * Makefile.in: Regenerated.
4125
4126 2003-03-10  Michael Koch  <konqueror@gmx.de>
4127
4128         * java/awt/FocusTraversalPolicy.java
4129         (FocusTraversalPolicy): Documentation added.
4130         (getComponentAfter): Documentation added.
4131         (getComponentBefore): Documentation added.
4132         (getFirstComponent): Documentation added.
4133         (getLastComponent): Documentation added.
4134         (getDefaultComponent): Documentation added.
4135         (getInitialComponent): Documentation added.
4136         * java/awt/ScrollPaneAdjustable.java
4137         (sp): New member variable.
4138         (orientation): New member variable.
4139         (value): New member variable.
4140         (minimum): New member variable.
4141         (maximum): New member variable.
4142         (visibleAmount): New member variable.
4143         (unitIncrement): New member variable.
4144         (blockIncrement): New member variable.
4145         (adjustmentListener): New member variable.
4146         (ScrollPaneAdjustable): Rewrote.
4147         (addAdjustmentListener): New method.
4148         (removeAdjustmentListener): New method.
4149         (getAdjustmentListeners): New method.
4150         (getBlockIncrement): New method.
4151         (getMaximum): New method.
4152         (getMinimum): New method.
4153         (getOrientation): New method.
4154         (getUnitIncrement): New method.
4155         (getValue): New method.
4156         (getVisibleAmount): New method.
4157         (setBlockIncrement): New method.
4158         (setUnitIncrement): New method.
4159         (setMaximum): Implemented.
4160         (setMinimum): Implemented.
4161         (setValue): New method.
4162         (setVisibleAmount): Implemented.
4163         (paramString): New method.
4164         * java/awt/Window.java
4165         (show): Use setVisible(true) instead of super.show().
4166         (hide): Use sevVisible(false) instead of super.hide().
4167         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4168         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4169         (postEvent): Deprecated.
4170         (applyResourceBundle): Deprecated.
4171         (processWindowFocusEvent): New method.
4172         (processWindowStateEvent): New method.
4173         * java/awt/datatransfer/DataFlavor.java: Reindented.
4174         * java/awt/font/TextHitInfo.java
4175         (charIndex): New member variable.
4176         (leadingEdge): New member variable.
4177         (TextHitInfo): New constructor.
4178         (getCharIndex): Implemented.
4179         (isLeadingEdge): Implemented.
4180         (getInsertionIndex): Implemented.
4181         (hashCode): Access charIndex directly.
4182         (equals): Reformated.
4183         (leading): Implemented.
4184         (trailing): Implemented.
4185         (beforeOffset): Implemented.
4186         (afterOffset): Implemented.
4187         (getOtherHit): Implemented.
4188         (getOffsetHit): Implemented.
4189         (toString): Implemented.
4190         * java/awt/image/BufferedImage.java
4191         (BufferedImage): Implements WritableRenderedImage.
4192         (observers): New member variable.
4193         (addTileObserver): New method.
4194         (removeTileObserver): New method.
4195
4196 2003-03-09  Tom Tromey  <tromey@redhat.com>
4197
4198         PR libgcj/9934:
4199         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4200         to lseek.  Return 0 if we can't compute the value.
4201
4202 2003-03-03  Michael Koch  <konqueror@gmx.de>
4203
4204         * java/net/NetworkInterface.java: Merged with classpath.
4205
4206 2003-03-03  Tom Tromey  <tromey@redhat.com>
4207
4208         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4209         of bytecode.
4210         (handle_ret_insn): Fail if returning to jsr that appears at end of
4211         bytecode.
4212
4213 2003-03-03  Michael Koch  <konqueror@gmx.de>
4214
4215         * Makefile.am
4216         (ordinary_java_source_files):
4217         Added gnu/java/nio/MappedByteFileBuffer.java.
4218         (nat_source_files):
4219         Added gnu/java/nio/natMappedByteFileBuffer.cc.
4220         * Makefile.in: Regenerated.
4221
4222 2003-03-03  Michael Koch  <konqueror@gmx.de>
4223
4224         * java/net/DatagramSocket.java
4225         (connect): Merged comment from classpath.
4226         (receive): Merged documentation from classpath.
4227         * java/net/Socket.java
4228         (setSoTimeout): Clarified documentation.
4229         * java/net/URL.java
4230         (getPath): Merged from classpath.
4231         (getUserInfo): Merged from classpath.
4232         (getQuery): Merged from classpath.
4233         * java/net/URLStreamHandler.java
4234         (toExternalForm): Merged from classpath.
4235
4236 2003-03-02  Mark Wielaard  <mark@klomp.org>
4237
4238         * java/util/Properties.java (load): Only skip line if the first
4239         character is a comment, whitespaces don't count.
4240
4241 2003-03-02  Michael Koch  <konqueror@gmx.de>
4242
4243         * java/net/NetPermission.java:
4244         Merged copyright with classpath.
4245
4246 2003-03-02  Michael Koch  <konqueror@gmx.de>
4247
4248         * java/lang/Package.java:
4249         Remerged from classpath.
4250
4251 2003-03-02  Michael Koch  <konqueror@gmx.de>
4252
4253         * java/net/HttpURLConnection.java
4254         (HTTP_SERVER_ERROR): Deprecated.
4255         * java/net/MulticastSocket.java
4256         (send): Replaced checkMulticast with appropriate checkPermission call,
4257         deprecated.
4258         * java/net/URLDecoder.java
4259         (decode): Deprecated.
4260         * java/net/URLEncoder.java
4261         (encode): Deprecated.
4262
4263 2003-03-02  Michael Koch  <konqueror@gmx.de>
4264
4265         * javax/swing/text/Caret.java
4266         (getMagicCaretPosition): Fixed typo in method name.
4267         * javax/swing/text/DefaultCaret.java
4268         (getMagicCaretPosition): Fixed typo in method name.
4269
4270 2003-03-02  Michael Koch  <konqueror@gmx.de>
4271
4272         * java/awt/List.java
4273         (setMultipleSelections): Deprecated.
4274         (delItem): Deprecated.
4275         * java/awt/MenuComponent.java
4276         (getPeer): Deprecated.
4277         * java/awt/ScrollPane.java
4278         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4279         * java/awt/dnd/MouseDragGestureRecognizer.java
4280         (mouseClicked): Added comment.
4281         (mousePressed): Added comment.
4282         (mouseReleased): Added comment.
4283         (mouseEntered): Added comment.
4284         (mouseExited): Added comment.
4285         (mouseDragged): Added comment.
4286         (mouseMoved): Added comment.
4287         * java/awt/event/KeyEvent.java
4288         (KeyEvent): Deprecated.
4289         (setModifiers): Deprecated.
4290         
4291 2003-03-02  Michael Koch  <konqueror@gmx.de>
4292
4293         * gnu/java/nio/FileChannelImpl.java
4294         (fd): Type FileDescriptor instead of int.
4295         (lengthInternal): Removed.
4296         (FileChannelImpl): Fixed arguments, check type of file object.
4297         (size): Made it native.
4298         (implPosition): New native method.
4299         (implTruncate): New native method.
4300         (position): Implemented.
4301         (truncate): Implemented.
4302         (nio_mmap_file): Changed arguments.
4303         (nio_munmap_file): Changed arguments.
4304         (nio_msync): Changed arguments.
4305         * gnu/java/nio/natFileChannelImpl.cc
4306         (lengthInternal): Removed.
4307         (size): New method.
4308         (implPosition): New method.
4309         (implTruncate): New method.
4310         (nio_mmap_file): Changed arguments.
4311         (nio_munmap_file): Changed arguments.
4312         (nio_msync): Changed arguments.
4313
4314 2003-03-02  Michael Koch  <konqueror@gmx.de>
4315
4316         * java/awt/dnd/DropTargetContext.java:
4317         Compile fix: Forgot to commit import.
4318         
4319 2003-03-02  Michael Koch  <konqueror@gmx.de>
4320
4321         * java/awt/Component.java,
4322         java/awt/ScrollPane.java:
4323         Fixed typos.
4324
4325 2003-03-02  Michael Koch  <konqueror@gmx.de>
4326
4327         * java/awt/dnd/DnDEventMulticaster.java: New file.
4328         * java/awt/dnd/DragSource.java
4329         (flavorMap): New member variable.
4330         (dragSourceListener): New member variable.
4331         (dragSourceMotionListener): New member variable.
4332         (getFlavorMap): Implemented.
4333         (createDragGestureRecognizer): Implemented.
4334         (addDragSourceListener): Implemented.
4335         (removeDragSourceListener): Implemented.
4336         (getDragSourceListeners): Implemented.
4337         (addDragSourceMotionListener): Implemented.
4338         (removeDragSourceMotionListener): Implemented.
4339         (getDragSourceMotionListeners): Implemented.
4340         (getListeners): Implemented.
4341         * java/awt/dnd/DragSourceContext.java
4342         (peer): New member variable.
4343         (cursor): New member variable.
4344         (transferable): New member variable.
4345         (trigger): New member variable.
4346         (dragSourceListener): New member variable.
4347         (image): New member variable.
4348         (offset): New member variable.
4349         (DragSourceContext): Implemented.
4350         (getDragSource): Implemented.
4351         (getComponent): Implemented.
4352         (getTrigger): Implemented.
4353         (getSourceActions): Implemented.
4354         (setCursor): Implemented.
4355         (getCursor): Implemented.
4356         (addDragSourceListener): Implemented.
4357         (removeDragSourceListener): Implemented.
4358         (getTransferable): Implemented.
4359         * java/awt/dnd/DropTarget.java
4360         (DropTargetAutoScroller.component): New member variable.
4361         (DropTargetAutoScroller.point): New member variable.
4362         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4363         (DropTargetAutoScroller.updateLocation): Implemented.
4364         (active): Renamed from isActive, defaults to true now.
4365         (component): New member variable.
4366         (flavorMap): New member variable.
4367         (actions): New member variable.
4368         (dropTargetContext): New member variable.
4369         (dropTargetListener): New member variable.
4370         (DropTarget): Implemented.
4371         (getComponent): Implemented.
4372         (setComponent): Implemented.
4373         (setDefaultActions): Implemented.
4374         (getDefaultActions): Implemented.
4375         (setActive): Use active instead of isActive.
4376         (isActive): Use active instead of isActive.
4377         (addDropTargetListener): Implemented.
4378         (removeDropTargetListener): Implemented.
4379         (getFlavorMap): Implemented.
4380         (setFlavorMap): Implemented.
4381         (getDropTargetContext): Implemented.
4382         (createDropTargetContext): Implemented.
4383         (createDropTargetAutoScroller): Implemented.
4384         * java/awt/dnd/DropTargetContext.java
4385         (TransferableProxy.getTransferDataFlavors): Implemented.
4386         (TransferableProxy.isDataFlavorSupported): Implemented.
4387         (TransferableProxy.getTransferData): Implemented.
4388         (dropTarget):  New member variable.
4389         (dtcp): New member variable.
4390         (DropTargetContext): New package private constructor.
4391         (getDropTarget): Implemented.
4392         (getComponent): Implemented.
4393         (addNotify): Implemented.
4394         (removeNotify): Implemented.
4395         (getCurrentDataFlavorsAsList): Implemented.
4396         (isDataFlavorSupported): Implemented.
4397         * java/awt/dnd/MouseDragGestureRecognizer.java
4398         (registerListeners): Implemented.
4399         (unregisterListeners): Implemented.
4400         * Makefile.am
4401         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4402         * Makefile.in: Regenerated.
4403
4404 2003-03-02  Michael Koch  <konqueror@gmx.de>
4405
4406         * java/awt/Component.java
4407         (eventTypeEnabled): New method.
4408         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4409         * java/awt/Container.java
4410         (changeSupport): New member variable.
4411         (addPropertyChangeListener): New methods.
4412         * java/awt/ContainerOrderFocusTraversalPolicy.java
4413         (ContainerOrderFocusTraversalPolicy): Added comment.
4414         (getComponentAfter): Throw exception, documentation added.
4415         (getComponentBefore): Throw exception, documentation added.
4416         (getFirstComponent): Throw exception, documentation added.
4417         (getLastComponent): Throw exception, documentation added.
4418         (getDefaultComponent): Throw exception, documentation added.
4419         * java/awt/EventQueue.java: Reindented.
4420         * java/awt/FocusTraversalPolicy.java:
4421         (FocusTraversalPolicy): Added comment.
4422         (getComponentAfter): Documentation added.
4423         (getComponentBefore): Documentation added.
4424         (getFirstComponent): Documentation added.
4425         (getLastComponent): Documentation added.
4426         (getDefaultComponent): Documentation added.
4427         (getInitialComponent): Documentation added.
4428         * java/awt/ScrollPane.java
4429         (wheelScrollingEnabled): New member variable.
4430         (ScrollPane): Initialize wheelScollingEnabled.
4431         (eventTypeEnabled): New method.
4432         (isWheelScrollingEnabled): New method.
4433         (setWheelScrollingEnabled): New method.
4434
4435 2003-03-02  Michael Koch  <konqueror@gmx.de>
4436
4437         * java/net/DatagramSocket.java
4438         (closed): New member variable.
4439         (close): Use closed variable.
4440         (getInetAddress): No need to call isConnected().
4441         (getPort): No need to call isConnected().
4442         (disconnect): Reset remoteAddress and remotePort, fixed typo.
4443         (isClosed): Reimplemented.
4444         
4445 2003-03-02  Michael Koch  <konqueror@gmx.de>
4446
4447         * configure.in: Added check for memory mapping of files.
4448         * configure: Regenerated.
4449         * config.h.in: Regenerated.
4450
4451 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4452
4453         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4454         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4455
4456 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4457
4458         * java/io/File.java (normalizePath): Remove trailing separator
4459         on Windows only if path is not of the form "x:\".
4460
4461         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4462         (java::io::File::attr): Change formatting a bit and use
4463         WIN32_EPOCH_MILLIS instead of magic numbers.
4464         (java::io::File::isAbsolute): Path must have at least 3 
4465         characters for a UNC network path.
4466         (java::io::File::init_native): Define.
4467         (java::io::File::performCreate): Likewise.
4468         (java::io::File::performSetReadOnly): Likewise.
4469         (java::io::File::performSetLastModified): Likewise.
4470         (java::io::File::performListRoots): Likewise.
4471
4472 2003-03-01  Tom Tromey  <tromey@redhat.com>
4473
4474         * java/lang/natObject.cc: Don't include assert.h.
4475         (heavy_lock_obj_finalization_proc): Use JvAssert.
4476         (remove_all_heavy): Likewise.
4477         (_Jv_MonitorEnter): Likewise.
4478         (_Jv_MonitorExit): Likewise.
4479         (wait): Likewise.
4480
4481 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
4482
4483         * java/io/File (getAbsolutePath): Prefix drive specifier on
4484         Windows for paths starting with a '\'.
4485         (toURL): Make URL more consistent with what Sun's JDK returns.
4486
4487         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4488         true only if the path is a UNC network path or it starts with a
4489         drive specifier.
4490
4491         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4492         Be prepared to handle either '/' or '\\' in the file path for
4493         Windows if using the "file" protocol.
4494         Canonicalise the file path if using a relative path in the given
4495         context and the "file" protocol.
4496
4497 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
4498
4499         * java/lang/natWin32Process.cc (startProcess): Double-quote each
4500         program array element passed to CreateProcess.
4501
4502 2003-03-01  Tom Tromey  <tromey@redhat.com>
4503
4504         * java/rmi/registry/RegistryHandler.java: Deprecate.
4505
4506 2003-03-01  Tom Tromey  <tromey@redhat.com>
4507
4508         * javax/accessibility/AccessibleEditableText.java,
4509         javax/accessibility/AccessibleHyperlink.java: New versions from
4510         Classpath.
4511
4512         * gnu/java/locale/LocaleInformation_af_ZA.java,
4513         gnu/java/locale/LocaleInformation_ar_AE.java,
4514         gnu/java/locale/LocaleInformation_ar_BH.java,
4515         gnu/java/locale/LocaleInformation_ar_DZ.java,
4516         gnu/java/locale/LocaleInformation_ar_EG.java,
4517         gnu/java/locale/LocaleInformation_ar_IN.java,
4518         gnu/java/locale/LocaleInformation_ar_IQ.java,
4519         gnu/java/locale/LocaleInformation_ar_JO.java,
4520         gnu/java/locale/LocaleInformation_ar_KW.java,
4521         gnu/java/locale/LocaleInformation_ar_LB.java,
4522         gnu/java/locale/LocaleInformation_ar_LY.java,
4523         gnu/java/locale/LocaleInformation_ar_MA.java,
4524         gnu/java/locale/LocaleInformation_ar_OM.java,
4525         gnu/java/locale/LocaleInformation_ar_QA.java,
4526         gnu/java/locale/LocaleInformation_ar_SD.java,
4527         gnu/java/locale/LocaleInformation_ar_SY.java,
4528         gnu/java/locale/LocaleInformation_ar_TN.java,
4529         gnu/java/locale/LocaleInformation_ar_YE.java,
4530         gnu/java/locale/LocaleInformation_be_BY.java,
4531         gnu/java/locale/LocaleInformation_bn_IN.java,
4532         gnu/java/locale/LocaleInformation_br_FR.java,
4533         gnu/java/locale/LocaleInformation_bs_BA.java,
4534         gnu/java/locale/LocaleInformation_ca_ES.java,
4535         gnu/java/locale/LocaleInformation_cs_CZ.java,
4536         gnu/java/locale/LocaleInformation_cy_GB.java,
4537         gnu/java/locale/LocaleInformation_da_DK.java,
4538         gnu/java/locale/LocaleInformation_de_AT.java,
4539         gnu/java/locale/LocaleInformation_de_BE.java,
4540         gnu/java/locale/LocaleInformation_de_CH.java,
4541         gnu/java/locale/LocaleInformation_de_DE.java,
4542         gnu/java/locale/LocaleInformation_de_LU.java,
4543         gnu/java/locale/LocaleInformation_el_GR.java,
4544         gnu/java/locale/LocaleInformation_en_AU.java,
4545         gnu/java/locale/LocaleInformation_en_BW.java,
4546         gnu/java/locale/LocaleInformation_en_CA.java,
4547         gnu/java/locale/LocaleInformation_en_DK.java,
4548         gnu/java/locale/LocaleInformation_en_GB.java,
4549         gnu/java/locale/LocaleInformation_en_HK.java,
4550         gnu/java/locale/LocaleInformation_en_IE.java,
4551         gnu/java/locale/LocaleInformation_en_IN.java,
4552         gnu/java/locale/LocaleInformation_en_NZ.java,
4553         gnu/java/locale/LocaleInformation_en_PH.java,
4554         gnu/java/locale/LocaleInformation_en_SG.java,
4555         gnu/java/locale/LocaleInformation_en_US.java,
4556         gnu/java/locale/LocaleInformation_en_ZA.java,
4557         gnu/java/locale/LocaleInformation_en_ZW.java,
4558         gnu/java/locale/LocaleInformation_es_AR.java,
4559         gnu/java/locale/LocaleInformation_es_BO.java,
4560         gnu/java/locale/LocaleInformation_es_CL.java,
4561         gnu/java/locale/LocaleInformation_es_CO.java,
4562         gnu/java/locale/LocaleInformation_es_CR.java,
4563         gnu/java/locale/LocaleInformation_es_DO.java,
4564         gnu/java/locale/LocaleInformation_es_EC.java,
4565         gnu/java/locale/LocaleInformation_es_ES.java,
4566         gnu/java/locale/LocaleInformation_es_GT.java,
4567         gnu/java/locale/LocaleInformation_es_HN.java,
4568         gnu/java/locale/LocaleInformation_es_MX.java,
4569         gnu/java/locale/LocaleInformation_es_NI.java,
4570         gnu/java/locale/LocaleInformation_es_PA.java,
4571         gnu/java/locale/LocaleInformation_es_PE.java,
4572         gnu/java/locale/LocaleInformation_es_PR.java,
4573         gnu/java/locale/LocaleInformation_es_PY.java,
4574         gnu/java/locale/LocaleInformation_es_SV.java,
4575         gnu/java/locale/LocaleInformation_es_US.java,
4576         gnu/java/locale/LocaleInformation_es_UY.java,
4577         gnu/java/locale/LocaleInformation_es_VE.java,
4578         gnu/java/locale/LocaleInformation_et_EE.java,
4579         gnu/java/locale/LocaleInformation_eu_ES.java,
4580         gnu/java/locale/LocaleInformation_fa_IR.java,
4581         gnu/java/locale/LocaleInformation_fi_FI.java,
4582         gnu/java/locale/LocaleInformation_fo_FO.java,
4583         gnu/java/locale/LocaleInformation_fr_BE.java,
4584         gnu/java/locale/LocaleInformation_fr_CA.java,
4585         gnu/java/locale/LocaleInformation_fr_CH.java,
4586         gnu/java/locale/LocaleInformation_fr_FR.java,
4587         gnu/java/locale/LocaleInformation_fr_LU.java,
4588         gnu/java/locale/LocaleInformation_ga_IE.java,
4589         gnu/java/locale/LocaleInformation_gd_GB.java,
4590         gnu/java/locale/LocaleInformation_gl_ES.java,
4591         gnu/java/locale/LocaleInformation_gv_GB.java,
4592         gnu/java/locale/LocaleInformation_he_IL.java,
4593         gnu/java/locale/LocaleInformation_hi_IN.java,
4594         gnu/java/locale/LocaleInformation_hr_HR.java,
4595         gnu/java/locale/LocaleInformation_hu_HU.java,
4596         gnu/java/locale/LocaleInformation_id_ID.java,
4597         gnu/java/locale/LocaleInformation_it_CH.java,
4598         gnu/java/locale/LocaleInformation_it_IT.java,
4599         gnu/java/locale/LocaleInformation_iw_IL.java,
4600         gnu/java/locale/LocaleInformation_ja_JP.java,
4601         gnu/java/locale/LocaleInformation_ka_GE.java,
4602         gnu/java/locale/LocaleInformation_kl_GL.java,
4603         gnu/java/locale/LocaleInformation_ko_KR.java,
4604         gnu/java/locale/LocaleInformation_kw_GB.java,
4605         gnu/java/locale/LocaleInformation_lt_LT.java,
4606         gnu/java/locale/LocaleInformation_lv_LV.java,
4607         gnu/java/locale/LocaleInformation_mi_NZ.java,
4608         gnu/java/locale/LocaleInformation_mk_MK.java,
4609         gnu/java/locale/LocaleInformation_mr_IN.java,
4610         gnu/java/locale/LocaleInformation_mt_MT.java,
4611         gnu/java/locale/LocaleInformation_nl_BE.java,
4612         gnu/java/locale/LocaleInformation_nl_NL.java,
4613         gnu/java/locale/LocaleInformation_nn_NO.java,
4614         gnu/java/locale/LocaleInformation_no_NO.java,
4615         gnu/java/locale/LocaleInformation_oc_FR.java,
4616         gnu/java/locale/LocaleInformation_pl_PL.java,
4617         gnu/java/locale/LocaleInformation_pt_BR.java,
4618         gnu/java/locale/LocaleInformation_pt_PT.java,
4619         gnu/java/locale/LocaleInformation_ro_RO.java,
4620         gnu/java/locale/LocaleInformation_ru_RU.java,
4621         gnu/java/locale/LocaleInformation_ru_UA.java,
4622         gnu/java/locale/LocaleInformation_se_NO.java,
4623         gnu/java/locale/LocaleInformation_sk_SK.java,
4624         gnu/java/locale/LocaleInformation_sl_SI.java,
4625         gnu/java/locale/LocaleInformation_sq_AL.java,
4626         gnu/java/locale/LocaleInformation_sr_YU.java,
4627         gnu/java/locale/LocaleInformation_sv_FI.java,
4628         gnu/java/locale/LocaleInformation_sv_SE.java,
4629         gnu/java/locale/LocaleInformation_ta_IN.java,
4630         gnu/java/locale/LocaleInformation_te_IN.java,
4631         gnu/java/locale/LocaleInformation_tg_TJ.java,
4632         gnu/java/locale/LocaleInformation_tl_PH.java,
4633         gnu/java/locale/LocaleInformation_tr_TR.java,
4634         gnu/java/locale/LocaleInformation_uk_UA.java,
4635         gnu/java/locale/LocaleInformation_ur_PK.java,
4636         gnu/java/locale/LocaleInformation_uz_UZ.java,
4637         gnu/java/locale/LocaleInformation_vi_VN.java,
4638         gnu/java/locale/LocaleInformation_yi_US.java,
4639         gnu/java/locale/LocaleInformation_zh_CN.java,
4640         gnu/java/locale/LocaleInformation_zh_HK.java,
4641         gnu/java/locale/LocaleInformation_zh_SG.java,
4642         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4643         info; from Classpath.
4644
4645         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4646         isPaintPending): New methods.
4647         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4648         setMaximizedBounds): New methods.
4649         (beginLayout, endLayout, isPaintPending): Likewise.
4650         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4651         (requestFocus): Likewise.
4652         (isObscured): Likewise.
4653         (canDetermineObscurity): Likewise.
4654         (coalescePaintEvent): Likewise.
4655         (updateCursorImmediately): Likewise.
4656         (createVolatileImage): Likewise.
4657         (handlesWheelScrolling): Likewise.
4658         (createBuffers): Likewise.
4659         (getBackBuffer): Likewise.
4660         (flip): Likewise.
4661         (destroyBuffers): Likewise.
4662
4663         * Makefile.in: Rebuilt.
4664         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4665         RobotPeer.java.
4666         * gnu/java/awt/GLightweightPeer.java,
4667         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4668         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4669         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4670         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4671         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4672         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4673         java/awt/dnd/peer/DragSourceContextPeer.java,
4674         java/awt/dnd/peer/DropTargetContextPeer.java,
4675         java/awt/peer/ButtonPeer.java,
4676         java/awt/peer/CheckboxMenuItemPeer.java,
4677         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4678         java/awt/peer/ComponentPeer.java,
4679         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4680         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4681         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4682         java/awt/peer/MenuBarPeer.java,
4683         java/awt/peer/MenuComponentPeer.java,
4684         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4685         java/awt/peer/PopupMenuPeer.java,
4686         java/awt/peer/ScrollPanePeer.java,
4687         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4688         java/awt/peer/TextComponentPeer.java,
4689         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4690         New versions from Classpath.
4691         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4692         * java/awt/peer/RobotPeer.java: Likewise.
4693
4694 2003-03-01  Mark Wielaard  <mark@klomp.org>
4695
4696         * java/io/ObjectInputStream.java: Reindent.
4697         * java/io/ObjectOutputStream.java: Likewise.
4698
4699 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4700
4701         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4702         jvalue for each argument. Simplify.
4703         * testsuite/libjava.jni/calls.c (docall),
4704         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4705         misalignment.
4706
4707 2003-02-28  Mark Wielaard  <mark@klomp.org>
4708
4709         * Makefile.am (nat_source_files): Remove
4710         java/io/natObjectOutputStream.cc.
4711         * Makefile.in: Regenerated.
4712         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4713         * java/io/ObjectStreamField.java (typename): New field.
4714         (ObjectStreamField(String, Class)): Initialize new field.
4715         (ObjectStreamField(String, String)): New Constructor.
4716         (getTypeCode): Use new field.
4717         (getTypeString): Use new field.
4718         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4719         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4720         Handle reading of Proxy classes. Never drain(), just write
4721         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4722         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4723         (flush): Call flush(), not just drain().
4724         (writeBoolean): Always use blockDataOutput.
4725         (writeByte): Likewise.
4726         (writeShort): Likewise.
4727         (writeChar): Likewise.
4728         (writeInt): Likewise.
4729         (writeLong): Likewise.
4730         (writeFloat): Likewise.
4731         (writeDouble): Likewise.
4732         (writeBytes): Likewise.
4733         (putfield (put(String,Object))): Throw IllegalArgumentException if
4734         field cannot be found.
4735         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4736         (writeArraySizeAndElements): Write byte[] in one go.
4737         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4738         set BlockDataMode to false.
4739         (annotateProxyClass): New method.
4740         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4741         (getField): No longer native.
4742         (getMethod): Likewise.
4743         (setBlockDataMode): Always drain() on switch, return old mode.
4744         (static): New static code block.
4745         * java/io/natObjectOutputStream.cc: Removed.
4746         * java/io/ObjectInputStream.java (getField): No longer native.
4747         (getMethod): Likewise.
4748         (readObject): Remember and reset old BlockDataMode. Track whether
4749         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4750         TC_LONGSTRING.
4751         (defaultReadObject): Set BlockDataMode to false during readFields.
4752         (resolveClass): Create new SecurityManager if necessary.
4753         Use Class.forName() if null ClassLoader found.
4754         (read(byte[],int,int): Copy remaining bytes to data before calling
4755         readNextBlock().
4756         (readFields): Set and reset BlockDataMode on call_read_method.
4757         Catch NoSuchFieldErrors.
4758         (setBlockDataMode): Return old mode.
4759         (static): New static code block.
4760         * java/io/natObjectInputStream.cc (getField): Removed.
4761         (getMethod): Likewise.
4762
4763 2003-02-27  Michael Koch  <konqueror@gmx.de>
4764
4765         * java/beans/Beans.java,
4766         java/beans/FeatureDescriptor.java
4767         java/beans/PropertyEditorManager.java:
4768         Reformated to GNU style.
4769
4770 2003-02-25  Michael Koch  <konqueror@gmx.de>
4771
4772         * gnu/java/nio/MappedByteFileBuffer.java,
4773         gnu/java/nio/natMappedByteFileBuffer.cc:
4774         New files, both are not compiled yet to get not noncompiling CVS.
4775
4776 2003-02-24  Tom Tromey  <tromey@redhat.com>
4777
4778         * java/util/prefs/AbstractPreferences.java (isUserNode):
4779         Implemented.
4780
4781 2003-02-24  Tom Tromey  <tromey@redhat.com>
4782
4783         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4784         Deprecate.
4785         * java/lang/Thread.java (resume): Deprecate.
4786         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4787         in @deprecated.
4788
4789 2003-02-23  Tom Tromey  <tromey@redhat.com>
4790
4791         * Makefile.in: Rebuilt.
4792         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4793
4794 2003-02-23  Tom Tromey  <tromey@redhat.com>
4795
4796         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4797         libraries): Removed.
4798         (add_library): Removed.
4799         (_load): Don't call add_library.
4800         (loadLibraryInternal): Likewise.
4801         (init): Likewise.
4802         (lookup_data): New struct.
4803         (find_symbol): New function.
4804         (_Jv_FindSymbolInExecutable): Use it.
4805
4806 2002-02-21  Anthony Green  <green@redhat.com>
4807
4808         * java/lang/Thread.java (Thread): New constructor taking stack
4809         size parameter (ignored for now).
4810         * Many methods: Merged GNU Classpath documentation.
4811
4812         * java/lang/Class.java (finalize): throws a Throwable.
4813
4814 2003-02-21  Mark Wielaard  <mark@klomp.org>
4815
4816         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4817         argument is null.
4818
4819 2003-02-21  Mark Wielaard  <mark@klomp.org>
4820
4821         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4822         then 65535 chars throw IllegalArgumentException.
4823
4824 2003-02-21  Mark Wielaard  <mark@klomp.org>
4825
4826         * java/util/zip/ZipFile.java (finalize): New method.
4827
4828 2003-02-21  Michael Koch  <konqueror@gmx.de>
4829
4830         * gnu/java/nio/natSocketChannelImpl.cc:
4831         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4832         <cato@df.lth.se> for pointing to it.
4833
4834 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4835
4836         * java/math/BigInteger.java (euclidInv): Take result array as an
4837         argument.  Updated all callers.
4838         (modInverse): Removed unused variables.
4839
4840 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4841
4842         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4843         config.status.
4844         * configure: Rebuilt.
4845
4846 2003-02-19  Michael Koch  <konqueror@gmx.de>
4847
4848         * gnu/java/nio/natSocketChannelImpl.cc:
4849         Added support for platforms without network support.
4850
4851 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4852
4853         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4854         after config.h.  Use <> for consistency.
4855         * java/lang/natObject.cc: Likewise.
4856         * java/lang/natRuntime.cc: Likewise.
4857         * java/lang/natSystem.cc: Likewise.
4858         * java/util/natTimeZone.cc: Likewise.
4859         * win32.cc: Likewise.
4860         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4861         listen, write, read): Undef to avoid interference from OS macros.
4862
4863 2003-02-19  Michael Koch  <konqueror@gmx.de>
4864
4865         * gnu/java/nio/ByteBufferImpl.java
4866         (ByteBufferImpl): Renamed two variables.
4867         * gnu/java/nio/CharBufferImpl.java
4868         (CharBufferImpl): Renamed two variables.
4869         * gnu/java/nio/DoubleBufferImpl.java
4870         (DoubleBufferImpl): Renamed two variables.
4871         * gnu/java/nio/FloatBufferImpl.java
4872         (FloatBufferImpl): Renamed two variables.
4873         * gnu/java/nio/IntBufferImpl.java
4874         (IntBufferImpl): Renamed two variables.
4875         * gnu/java/nio/LongBufferImpl.java
4876         (LongBufferImpl): Renamed two variables.
4877         * gnu/java/nio/ShortBufferImpl.java
4878         (ShortBufferImpl): Renamed two variables.
4879         * java/nio/CharBuffer.java
4880         (wrap): Fixed arguments to CharBufferImpl constructor.
4881         (hasArray): Only not read-only buffers have backing arrays.
4882         (length): Documentation added.
4883         (subSequence): Documentation added.
4884         * java/nio/DoubleBuffer.java
4885         (hasArray): Only not read-only buffers have backing arrays.
4886         * java/nio/FloatBuffer.java
4887         (hasArray): Only not read-only buffers have backing arrays.
4888         * java/nio/IntBuffer.java
4889         (hasArray): Only not read-only buffers have backing arrays.
4890         * java/nio/LongBuffer.java
4891         (hasArray): Only not read-only buffers have backing arrays.
4892         * java/nio/ShortBuffer.java
4893         (hasArray): Only not read-only buffers have backing arrays.
4894         
4895 2003-02-19  Michael Koch  <konqueror@gmx.de>
4896
4897         * javax/accessibility/AccessibleContext.java
4898         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4899
4900 2003-02-19  Michael Koch  <konqueror@gmx.de>
4901
4902         * java/awt/ScrollPaneAdjustable.java: Reformated.
4903
4904 2003-02-19  Michael Koch <konqueror@gmx.de>
4905
4906         * gnu/awt/j2d/Graphics2DImpl.java
4907         (getFontRenderContext): New method.
4908         (drawGlyphVector): New method.
4909         * java/awt/Graphics2D.java
4910         (getFontRenderContext): New abstract method.
4911         (drawGlyphVector): New abstract method.
4912         
4913 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4914
4915         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4916         if necessary.
4917         
4918         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4919         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4920         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4921         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4922         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4923         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4924         (setFont, gtkSetFont): add.
4925         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4926         Propagate font to peer.  (setFont): add FIXME comment.
4927
4928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4929         (gtkTextGetSize): fix height, width computation.
4930
4931         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4932         Make X font name a bit less bogus.
4933
4934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4935         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4936
4937         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4938         (processAdjustmentEvent): Adjust value.
4939
4940         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4941         logic errors.
4942
4943         * java/awt/Component.java (setVisible, show, hide): Call show and
4944         hide methods in subclasses.
4945         (getPreferredSize): don't set prefSize before we have peer.
4946
4947         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4948         Guess (0,0) if we don't have peer.
4949
4950
4951 2003-02-18  Michael Koch  <konqueror@gmx.de>
4952
4953         * java/nio/channels/FileChannel.java
4954         (toString): New implementation, added documentation.
4955         (map): Added exception documentation.
4956         (size): Added exception documentation.
4957         (write): New methods, documentation work.
4958         (read): New methods, documentation work.
4959         (implCloseChannel): Rewrote exception documentation.
4960         (force): Throws IOException, added documentation.
4961         (lock): New methods.
4962         (tryLock): New methods.
4963         (position): New methods.
4964         (transferTo): New method.
4965         (transferFrom): New method.
4966         (truncate): New method.
4967         * java/nio/channels/spi/SelectorProvider.java
4968         (provider): Implemented.
4969         * Makefile.am
4970         (ordinary_java_source_files): Added the following files:
4971         gnu/java/nio/DatagramChannelImpl.java
4972         gnu/java/nio/FileChannelImpl.java
4973         gnu/java/nio/PipeImpl.java
4974         gnu/java/nio/SelectionKeyImpl.java
4975         gnu/java/nio/SelectorImpl.java
4976         gnu/java/nio/SelectorProviderImpl.java
4977         gnu/java/nio/ServerSocketChannelImpl.java
4978         gnu/java/nio/SocketChannelImpl.java
4979         java/nio/channels/FileLock.java
4980         (nat_java_source_files): Added the following files:
4981         gnu/java/nio/natFileChannelImpl.cc
4982         gnu/java/nio/natSelectorImpl.cc
4983         gnu/java/nio/natSocketChannelImpl.cc
4984         * Makefile.in: Regenerated.
4985
4986 2003-02-17  Tom Tromey  <tromey@redhat.com>
4987
4988         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4989         * java/awt/image/ImageFilter.java: Likewise.
4990
4991 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4992
4993         * java/math/BigInteger.java (euclidInv): Return array of
4994         `BigInteger's.  Changed all callers.
4995
4996 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4997
4998         * java/util/Properties.java (store): Move the code formerly in
4999         list(), into this method.
5000         (list (PrintStream)): Just call list (PrintWriter) with a 
5001         PrintWriter object constructed from the given PrintStream object.
5002         (list (PrintWriter)): Emulate the output of Properties.list()
5003         as found in JDK 1.3/1.4.
5004
5005 2003-02-17  Michael Koch  <konqueror@gmx.de>
5006
5007         * java/net/DatagramSocket.java
5008         (connect): Merged with classpath.
5009         (disconnect): Merged documentation with classpath.
5010         (receice): Merged documentation with classpath.
5011         (send): Merged documentation with classpath.
5012         
5013 2003-02-17  Michael Koch  <konqueror@gmx.de>
5014
5015         * java/awt/dnd/DragSourceContext.java
5016         (addDragSourceListener): Added documentation.
5017         * java/awt/dnd/DragSourceDragEvent.java
5018         (serialVersionUID): New member variable.
5019         (getDropAction): Reformated.
5020         * java/awt/dnd/DragSourceDropEvent.java
5021         (serialVersionUID): New member variable.
5022         (dropSuccess): Renamed from success for serialization issues.
5023         * java/awt/dnd/DragSourceEvent.java
5024         (serialVersionUID): New member variable.
5025         * java/awt/dnd/DropTarget.java
5026         (serialVersionUID): New member variable.
5027         (DropTarget): Implemented, documentation reworked.
5028         (setComponent): Documentation added.
5029         (getComponent): Documentation added.
5030         (setDefaultActions): Documentation added.
5031         (getDefaultActions): Documentation added.
5032         (addDropTargetListener): Documentation added.
5033         * java/awt/dnd/DropTargetContext.java
5034         (DropTargetContext): Documentation added.
5035         (TransferableProxy.TransferableProxy): New method.
5036         (dropComplete): Fixed documentation.
5037         (getTransferable): Fixed documentation.
5038         (createTransferableProxy): Implemented.
5039         * java/awt/dnd/DropTargetDragEvent.java
5040         (DropTargetDragEvent): Documentation added.
5041         (serialVersionUID): New member variable.
5042         (DropTargetDragEvent): Throw exceptions, documentation added.
5043         (acceptDrag): Implemented.
5044         (getCurrentDataFlavors): Implemented.3yy
5045         (getCurrentDataFlavorsAsList): Implemented.
5046         (isDataFlavorSupported): Implemented.
5047         (rejectDrag): Implemented.
5048         * java/awt/dnd/DropTargetDropEvent.java
5049         (DropTargetDropEvent): Documentation added.
5050         (serialVersionUID): New member variable.
5051         (actions): Renamed from srcActions for serialization issues.
5052         (isLocalTx): Renamed from isLocalTx for serialization issues.
5053         (DropTargetDropEvent): New implementation, throw exceptions,
5054         documentation added.
5055         (getCurrentDataFlavors): Implemented.
5056         (getCurrentDataFlavorsAsList): Implemented.
5057         (isDataFlavorSupported): Implemented.
5058         (getSourceActions): Implemented.
5059         (getDropAction): Implemented.
5060         (getTransferable): Implemented.
5061         (acceptDrop): Implemented.
5062         (rejectDrop): Implemented.
5063         * java/awt/dnd/DropTargetListener.java
5064         (drop): Fixed documentation.
5065         * java/awt/dnd/MouseDragGestureRecognizer.java
5066         (MouseDragGestureRecognizer): Documentation added.
5067
5068 2003-02-17  Michael Koch  <konqueror@gmx.de>
5069
5070         * java/awt/font/FontRenderContext.java,
5071         java/awt/font/ShapeGraphicAttribute.java,
5072         java/awt/font/MultipleMaster.java,
5073         java/awt/font/TransformAttribute.java,
5074         java/awt/font/GlyphJustificationInfo.java,
5075         java/awt/font/LineBreakMeasurer.java,
5076         java/awt/font/TextMeasurer.java,
5077         java/awt/font/TextLayout.java,
5078         java/awt/font/LineMetrics.java,
5079         java/awt/font/TextAttribute.java,
5080         java/awt/font/GlyphMetrics.java,
5081         java/awt/font/OpenType.java,
5082         java/awt/font/GlyphVector.java,
5083         java/awt/font/GraphicAttribute.java,
5084         java/awt/font/ImageGraphicAttribute.java,
5085         java/awt/font/NumericShaper.java: New files.
5086         * Makefile.am
5087         (awt_java_source_files): Added the following files:
5088         java/awt/font/FontRenderContext.java
5089         java/awt/font/ShapeGraphicAttribute.java
5090         java/awt/font/MultipleMaster.java
5091         java/awt/font/TransformAttribute.java
5092         java/awt/font/GlyphJustificationInfo.java
5093         java/awt/font/LineBreakMeasurer.java
5094         java/awt/font/TextMeasurer.java
5095         java/awt/font/TextLayout.java
5096         java/awt/font/LineMetrics.java
5097         java/awt/font/TextAttribute.java
5098         java/awt/font/GlyphMetrics.java
5099         java/awt/font/OpenType.java
5100         java/awt/font/GlyphVector.java
5101         java/awt/font/GraphicAttribute.java
5102         java/awt/font/ImageGraphicAttribute.java
5103         java/awt/font/NumericShaper.java
5104         * Makefile.in: Regenerated.
5105
5106 2003-02-17  Michael Koch  <konqueror@gmx.de>
5107
5108         * java/awt/print/Paper.java
5109         (Paper): Implements Cloneable.
5110         * java/awt/print/PrinterJob.java
5111         (setJobName): Return value must be void.
5112         (print): Throws PrinterException.
5113         
5114 2003-02-16  Tom Tromey  <tromey@redhat.com>
5115
5116         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5117         variable.
5118
5119 2003-02-15  Michael Koch  <konqueror@gmx.de>
5120
5121         * java/awt/datatransfer/DataFlavor.java
5122         (isRepresentationClassByteBuffer): Removed try-catch block.
5123         (isRepresentationClassCharBuffer): Removed try-catch block.
5124         (isRepresentationClassReader): Removed try-catch block.
5125
5126 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
5127
5128         * java/nio/charset/Charset.java
5129         (isRegistered): Fixed method args and implementation.
5130         * java/nio/charset/CharsetEncoder.java
5131         (unmappableCharacterAction): New method.
5132
5133 2003-02-15  Michael Koch  <konqueror@gmx.de>
5134
5135         * java/awt/CheckboxMenuItem.java
5136         (CheckBoxMenuItem): Dont implement Serializable.
5137         (getListeners): New method,
5138         (getItemListeners): New method.
5139         * java/awt/Choice.java
5140         (getListeners): New method,
5141         (getItemListeners): New method.
5142         * java/awt/Container.java
5143         (getListeners): Added exception documentation.
5144         (setFocusTraversalKeys): Throw exceptions, added documentattion.
5145         (getFocusTraversalKeys): Added documentation.
5146         (areFocusTraversalKeysSet): Added documentation.
5147         (applyComponentOrientation): Added documentation.
5148         * java/awt/ContainerOrderFocusTraversalPolicy.java
5149         (implicitDownCycleTraversal): Renamed from downCycle for
5150         serialization.
5151         (ContainerOrderFocusTraversalPolicy): Added documentation.
5152         (accept): Reformated.
5153         * java/awt/Dialog.java
5154         (Dialog): Dont implement Serializable.
5155         (Dialog): Added documentation.
5156         * java/awt/Font.java
5157         (Font): Dont use absolute class name.
5158         * java/awt/Frame.java
5159         (Frame): Font implement Serializable.
5160         * java/awt/List.java
5161         (getListeners): New method,
5162         (getActionListeners): New method.       
5163         (getItemListeners): New method.
5164         * java/awt/Menu.java
5165         (countItems): New deprecated method.
5166         * java/awt/Scrollbar.java
5167         (getListeners): New method,
5168         (getAdjustmentListeners): New method,
5169         * java/awt/TextComponent.java
5170         (getListeners): New method,
5171         (getTextListeners): New method,
5172         * java/awt/TextField.java
5173         (getListeners): New method,
5174         (getActionListeners): New method.       
5175         * java/awt/Window.java
5176         (windowFocusListener): New member variable.
5177         (windowStateListener): New member variable.
5178         (getWindowFocusListeners): New method.
5179         (getWindowStateListeners): New method.
5180         (addWindowFocusListener): New method.
5181         (addWindowStateListener): New method.
5182         (removeWindowFocusListener): New method.
5183         (removeWindowStateListener): New method.
5184         * java/awt/datatransfer/DataFlavor.java
5185         (isRepresentationClassByteBuffer): New method.
5186         (isRepresentationClassCharBuffer): New method.
5187         (isRepresentationClassReader): New method.
5188
5189 2003-02-14  Mark Wielaard  <mark@klomp.org>
5190
5191         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5192         zero when there is an exponent and the significant is zero.
5193         (divide): Always set scale to newScale even in special ZERO case.
5194
5195 2003-02-14  Tom Tromey  <tromey@redhat.com>
5196
5197         * java/lang/System.java (properties): Use Properties.clone.
5198         (setProperties): Likewise.
5199
5200 2003-02-14  Michael Koch  <konqueror@gmx.de>
5201
5202         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5203         * gnu/java/nio/ServerSocketChannelImpl.java
5204         (SocketAccept): Removed.
5205         (accept): Commented out use of SocketAccept.
5206
5207 2003-02-13  Tom Tromey  <tromey@redhat.com>
5208
5209         * verify.cc (state::seen_subrs): New field.
5210         (state::state): Initialize it.
5211         (state::clean_subrs): New method.
5212         (state::~state): Call it.
5213         (state::copy): Copy subroutine list.
5214         (state::add_subr): New method.
5215         (state::merge): Only register a change if the current subroutine
5216         hasn't yet been noted.
5217
5218 2003-02-13  Mark Wielaard  <mark@klomp.org>
5219
5220         * java/io/InputStreamReader.java (getEncoding): Return null when
5221         closed.
5222         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5223
5224 2003-02-13  Mark Wielaard  <mark@klomp.org>
5225  
5226         * java/util/zip/InflaterInputStream.java (read): Return zero when len
5227         is zero.
5228
5229 2003-02-13  Mark Wielaard  <mark@klomp.org>
5230
5231         * java/io/BufferedOutputStream.java (write(int)): Only flush when
5232         next byte cannot be buffered.
5233
5234 2003-02-13  Michael Koch  <konqueror@gmx.de>
5235  
5236         * java/awt/Label.java
5237         (Label): Don't implement Serializable directly.
5238         (addNotify): Fixed typo in documentation.
5239         * java/awt/List.java
5240         (List): Don't implement Serializable directly.
5241         * java/awt/PopupMenu.java
5242         (PopupMenu): Don't implement Serializable directly.
5243         * java/awt/ScrollPane.java
5244         (ScrollPane): Don't implement Serializable directly.
5245         * java/awt/Scrollbar.java
5246         (Scrollbar): Don't implement Serializable directly.
5247         * java/awt/TextArea.java
5248         (preferredSize): Fixed method arguments.
5249         * java/awt/TextField.java
5250         (TextField): Don't implement Serializable directly.
5251         * java/awt/color/ICC_ColorSpace.java
5252         (fromCIOXYZ): Documentation added.
5253         (getMinValue): Documentation added.
5254         (getMaxValue): Documentation added.
5255         * java/awt/datatransfer/DataFlavor.java
5256         (isMimeTypeEqual): May not be final.
5257         (clone): Throws CloneNotSupportedException.
5258         (getReaderForText): Don't throws UnsupportedEncodingException.
5259
5260 2003-02-13  Michael Koch  <konqueror@gmx.de>
5261  
5262         * gnu/java/awt/peer/gtk/GdkGraphics.java
5263         (drawString): New stubbed method.
5264         * java/awt/Graphics.java
5265         (drawString): New method.
5266
5267 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
5268
5269         PR libgcj/9271:
5270         * java/security/SecureRandom.java (next): Avoid bias in results.
5271
5272 2003-02-13  Michael  <konqueror@gmx.de>
5273
5274         * gnu/java/nio/FileChannelImpl.java
5275         (lengthInternal): Must be native.
5276         (size): Check if channel is already closed.
5277         (implCloseChannel): Reformated.
5278         (read): w was unused, removed it.
5279         (read): Removed.
5280         (read): New method.
5281         (write): New method.
5282         (map): Check arguments.
5283         (force): Throws IOException, check if channel is closed.
5284         (transferTo): New method.
5285         (transferFrom): New method.
5286         (lock): New method.
5287         (tryLock): New method.
5288         (position): New method.
5289         (truncate): New method.
5290         (nio_mmap_file): Uncommented.
5291         (nio_munmap_file): Uncommented.
5292         (nio_msync): Uncommented.
5293         * gnu/java/nio/natFileChannelImpl.cc: New file.
5294         
5295 2003-02-13  Michael Koch  <konqueror@gmx.de>
5296
5297         * java/nio/ByteBuffer.java
5298         (endian): New member variable.
5299         (get): New methods.
5300         (equals): New method.
5301         (compareTo): New method.
5302         (order): New methods.
5303         (compact): New method.
5304         (isDirect): New method.
5305         (slice): New method.
5306         (duplicate): New method.
5307         (asReadOnlyBuffer): New method.
5308         (asCharBuffer): New method.
5309         (asDoubleBuffer): New method.
5310         (asFloatBuffer): New method.
5311         (asIntBuffer): New method.
5312         (asLongBuffer): New method.
5313         (asShortBuffer): New method.
5314         (get*): New methods.
5315         (put*): New methods.
5316         (toString): New method.
5317         * java/nio/CharBuffer.java
5318         (CharBuffer): Implement Comparable instead of Cloneable.
5319         (get): May not be final.
5320         (put): May not be final.
5321         
5322 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
5323
5324         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5325         lastIndexOf( ) instead of indexOf( ) to find the colon before
5326         the line number, because Win32 file names might contain a 
5327         drive letter and a colon at the start of an absolute path.
5328
5329 2003-02-13  Michael Koch  <konqueror@gmx.de>
5330
5331         * gnu/java/nio/natSocketChannelImpl.cc
5332         (SocketConnect): This is not implemented yet.
5333         (SocketBind): This is not implemented yet.
5334
5335 2003-02-13  Michael Koch  <konqueror@gmx.de>
5336
5337         * gnu/java/nio/natByteBufferImpl.cc,
5338         gnu/java/nio/natCharBufferImpl.cc,
5339         gnu/java/nio/natDoubleBufferImpl.cc,
5340         gnu/java/nio/natFloatBufferImpl.cc,
5341         gnu/java/nio/natIntBufferImpl.cc,
5342         gnu/java/nio/natLongBufferImpl.cc,
5343         gnu/java/nio/natShortBufferImpl.cc:
5344         Added copyright and license.
5345         * java/nio/DoubleBuffer.java,
5346         java/nio/FloatBuffer.java,
5347         java/nio/IntBuffer.java,
5348         java/nio/LongBuffer.java,
5349         java/nio/ShortBuffer.java
5350         (array): Throw exceptions.
5351         (arrayOffset): Throw exceptions.
5352
5353 2003-02-13  Michael Koch  <konqueror@gmx.de>
5354  
5355         * gnu/java/util/prefs/FileBasedFactory.java,
5356         gnu/java/util/prefs/MemmoryBasedFactory.java,
5357         gnu/java/util/prefs/MemoryBasedPreferences.java,
5358         gnu/java/util/prefs/NodeReader.java,
5359         gnu/java/util/prefs/NodeWriter.java,
5360         java/util/prefs/AbstractPreferences.java,
5361         java/util/prefs/BackingStoreException.java,
5362         java/util/prefs/InvalidPreferencesFormatException.java,
5363         java/util/prefs/NodeChangeEvent.java,
5364         java/util/prefs/NodeChangeListener.java,
5365         java/util/prefs/PreferenceChangeEvent.java,
5366         java/util/prefs/PreferenceChangeListener.java,
5367         java/util/prefs/Preferences.java,
5368         java/util/prefs/PreferencesFactory.java:
5369         New files, all merged from classpath.
5370         * Makefile.am
5371         (ordinary_java_source_files): Added the following files:
5372         gnu/java/util/prefs/FileBasedFactory.java,
5373         gnu/java/util/prefs/MemmoryBasedFactory.java,
5374         gnu/java/util/prefs/MemoryBasedPreferences.java,
5375         gnu/java/util/prefs/NodeReader.java,
5376         gnu/java/util/prefs/NodeWriter.java,
5377         (core_java_source_files): Added the following files:
5378         java/util/prefs/AbstractPreferences.java,
5379         java/util/prefs/BackingStoreException.java,
5380         java/util/prefs/InvalidPreferencesFormatException.java,
5381         java/util/prefs/NodeChangeEvent.java,
5382         java/util/prefs/NodeChangeListener.java,
5383         java/util/prefs/PreferenceChangeEvent.java,
5384         java/util/prefs/PreferenceChangeListener.java,
5385         java/util/prefs/Preferences.java,
5386         java/util/prefs/PreferencesFactory.java
5387         * Makefile.in: Regenerated.
5388  
5389 2003-02-13  Michael Koch  <konqueror@gmx.de>
5390
5391         * java/net/NetPermission.java
5392         (NetPermission): Make doucmentation match the method declaration.
5393         * java/net/NetworkInterface.java
5394         (equals): Reformated for GNU coding style.
5395         * java/net/ServerSocket.java: Merged with classpath.
5396         * java/net/Socket.java: Partly merged with classpath (Added some @since).
5397         * java/net/SocketImpl.java
5398         (localPort): Merged with classpath (initialize with -1).
5399         * java/net/SocketPermission.java: Merged with classpath (reindented).
5400         * java/net/URLDecoder.java: Merged with classpath (reindented).
5401
5402 2003-02-13  Michael Koch  <konqueror@gmx.de>
5403
5404         * java/awt/GridBagConstraints.java
5405         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5406         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5407         * java/awt/KeyboardFocusManager.java
5408         (setGlobalCurrentFocusCycleRoot): Must be public.
5409         * java/awt/MenuComponent.java
5410         (MenuComponent): Must be public.
5411         * java/awt/Toolkit.java:
5412         Added some empty lines to make documentation more readable.
5413         (getFontPeer): Added @deprecated.
5414         (getColorModel): Added exception documentation.
5415         (getProperty): Fixed documentation.
5416  
5417 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
5418
5419         * configure.host (alpha*-*): Default to -mieee.
5420         * configure.in (IEEESPEC): New.
5421         * libgcj.spec.in (jc1): Add IEEESPEC.
5422         * configure: Rebuild.
5423
5424 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5425
5426         * include/win32.h: Include ws2tcpip.h instead of
5427         winsock.h to obtain definition of the socklen_t type.
5428         Remove IP_TOS definition - not needed with ws2tcpip.h
5429         (_Jv_connect): Correct slight formatting error.
5430
5431 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5432
5433         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5434         size of the arguments for a JNI function. For Win32,
5435         modify to search for all forms of possible exported
5436         names of an stdcall JNI function.
5437         (_Jv_JNIMethod::call): Modify to calculate the size
5438         of the arguments passed to a JNI function and pass
5439         it to _Jv_LookupJNIMethod.
5440
5441 2003-02-12  Michael Koch  <konqueror@gmx.de>
5442
5443         * java/nio/channels/Channels.java: New file.
5444         * Makefile.am
5445         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5446         * Makefile.in: Regenerated.
5447
5448 2003-02-12  Michael Koch  <konqueror@gmx.de>
5449
5450         * java/nio/ByteBuffer.java
5451         (allocate): Implemented.
5452         (wrap): Implemented.
5453         * java/nio/CharBuffer.java:
5454         Some documentation added and reworked.
5455         (endian): Removed.
5456         (allocate): Implemented.
5457         (wrap): Implemented.
5458         (array): Throw exceptions.
5459         (arrayOffset): Throw exceptions.
5460         (toString): Implemented.
5461         (length): Implemented.
5462         (put): Implemented.
5463         (charAt): Implemented.
5464
5465 2003-02-11  John Leuner  <jewel@debian.org>
5466
5467         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
5468         reads from end of file.
5469
5470 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
5471
5472         * java/io/natFileDescriptorWin32.cc 
5473         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5474         returns with Win32 error code ERROR_BROKEN_PIPE.
5475
5476 2003-02-11  Michael Koch  <konqueror@gmx.de>
5477
5478         * Makefile.in
5479         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5480
5481 2003-02-11  Michael Koch  <konqueror@gmx.de>
5482
5483         * gnu/java/nio/ByteBufferImpl.java:
5484         Reformated and removed some code.
5485         (backing_buffer): Removed.      
5486         (array_offset): Removed.
5487         (ro): Renamed to readOnly.
5488         (ByteBufferImpl): Use parent constructor, initialize readOnly.
5489         * gnu/java/nio/CharBufferImpl.java:
5490         Reformated and removed some code.
5491         (array_offset): Removed.
5492         (ro): Renamed to readOnly.
5493         (CharBufferImpl): Use parent constructor, initialize readOnly.
5494         (inc_pos): Removed.
5495         (order): New method.
5496         * gnu/java/nio/DoubleBufferImpl.java:
5497         Reformated and removed some code.
5498         (array_offset): Removed.
5499         (ro): Renamed to readOnly.
5500         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5501         (inc_pos): Removed.
5502         (order): New method.
5503         * gnu/java/nio/FloatBufferImpl.java:
5504         Reformated and removed some code.
5505         (array_offset): Removed.
5506         (ro): Renamed to readOnly.
5507         (FloatBufferImpl): Use parent constructor, initialize readOnly.
5508         (inc_pos): Removed.
5509         (order): New method.
5510         * gnu/java/nio/IntBufferImpl.java:
5511         Reformated and removed some code.
5512         (array_offset): Removed.
5513         (ro): Renamed to readOnly.
5514         (IntBufferImpl): Use parent constructor, initialize readOnly.
5515         (inc_pos): Removed.
5516         (order): New method.
5517         * gnu/java/nio/LongBufferImpl.java:
5518         Reformated and removed some code.
5519         (array_offset): Removed.
5520         (ro): Renamed to readOnly.
5521         (LongBufferImpl): Use parent constructor, initialize readOnly.
5522         (inc_pos): Removed.
5523         (order): New method.
5524         * gnu/java/nio/ShortBufferImpl.java:
5525         Reformated and removed some code.
5526         (array_offset): Removed.
5527         (ro): Renamed to readOnly.
5528         (ShortBufferImpl): Use parent constructor, initialize readOnly.
5529         (inc_pos): Removed.
5530         (order): New method.
5531         * Makefile.am
5532         (ordinary_java_source_files): Added the following files:
5533         gnu/java/nio/ByteBufferImpl.java
5534         gnu/java/nio/CharBufferImpl.java
5535         gnu/java/nio/DoubleBufferImpl.java
5536         gnu/java/nio/FloatBufferImpl.java
5537         gnu/java/nio/IntBufferImpl.java
5538         gnu/java/nio/LongBufferImpl.java
5539         gnu/java/nio/ShortBufferImpl.java
5540         java/nio/DoubleBuffer.java
5541         java/nio/FloatBuffer.java
5542         java/nio/IntBuffer.java
5543         java/nio/LongBuffer.java
5544         java/nio/ShortBuffer.java
5545         (nat_source_files): Added the following files:
5546         gnu/java/nio/natByteBufferImpl.cc
5547         gnu/java/nio/natCharBufferImpl.cc
5548         gnu/java/nio/natDoubleBufferImpl.cc
5549         gnu/java/nio/natFloatBufferImpl.cc
5550         gnu/java/nio/natIntBufferImpl.cc
5551         gnu/java/nio/natLongBufferImpl.cc
5552         gnu/java/nio/natShortBufferImpl.cc
5553         * Makefile.in: Regenerated.
5554
5555 2003-02-11  Michael Koch  <konqueror@gmx.de>
5556
5557         * gnu/java/nio/natCharBufferImpl.cc
5558         (nio_cast): Removed.
5559         (nio_put_*): Removed.
5560         (nio_get_*): Removed.
5561         * gnu/java/nio/natDoubleBufferImpl.cc
5562         (nio_cast): Removed.
5563         (nio_put_*): Removed.
5564         (nio_get_*): Removed.
5565         * gnu/java/nio/natFloatBufferImpl.cc
5566         (nio_cast): Removed.
5567         (nio_put_*): Removed.
5568         (nio_get_*): Removed.
5569         * gnu/java/nio/natIntBufferImpl.cc
5570         (nio_cast): Removed.
5571         (nio_put_*): Removed.
5572         (nio_get_*): Removed.
5573         * gnu/java/nio/natLongBufferImpl.cc
5574         (nio_cast): Removed.
5575         (nio_put_*): Removed.
5576         (nio_get_*): Removed.
5577         * gnu/java/nio/natShortBufferImpl.cc
5578         (nio_cast): Removed.
5579         (nio_put_*): Removed.
5580         (nio_get_*): Removed.
5581         * gnu/java/nio/SelectorProviderImpl.java
5582         (openDatagramChannel): Throws IOException.
5583         (openPipe): Throws IOException.
5584         (openSelector): Throws IOException.
5585         (openServerSocketChannel): Throws IOException.
5586         (openSocketChannel): Throws IOException.
5587         * gnu/java/nio/ServerSocketChannelImpl.java
5588         (ServerSocketChannelImpl): Throws IOException.
5589         (implCloseSelectableChannel): Throws IOException.
5590         (implConfigureBlocking): Throws IOException.
5591         * java/nio/ByteBuffer.java
5592         (readOnly): Removed.
5593         (hasArray): Use isReadOnly() instead of readOnly.
5594         (array): Use isReadOnly() instead of readOnly.
5595         (arrayOffset): Use isReadOnly() instead of readOnly.
5596         * java/nio/CharBuffer.java
5597         (CharBuffer): Implements Cloneable and CharSequence.
5598
5599 2003-02-11  Michael Koch  <konqueror@gmx.de>
5600
5601         * java/nio/DoubleBuffer.java
5602         (DoubleBuffer): Implements Comparable.
5603         (endian): Removed.
5604         (array_offset): New member variable.
5605         (DoubleBuffer): New constuctor.
5606         (get): May not be final.
5607         (put): May not be final.
5608         (arrayOffset): Implemented.
5609         (order): Made abstract.
5610         (order): Removed.
5611         (as*Buffer): Removed.
5612         (get*): Removed.
5613         (put*): Removed.
5614         * java/nio/FloatBuffer.java
5615         (FloatBuffer): Implements Comparable.
5616         (endian): Removed.
5617         (array_offset): New member variable.
5618         (FloatBuffer): New constuctor.
5619         (get): May not be final.
5620         (put): May not be final.
5621         (arrayOffset): Implemented.
5622         (order): Made abstract.
5623         (order): Removed.
5624         (as*Buffer): Removed.
5625         (get*): Removed.
5626         (put*): Removed.
5627         * java/nio/IntBuffer.java
5628         (IntBuffer): Implements Comparable.
5629         (endian): Removed.
5630         (array_offset): New member variable.
5631         (IntBuffer): New constuctor.
5632         (get): May not be final.
5633         (put): May not be final.
5634         (arrayOffset): Implemented.
5635         (order): Made abstract.
5636         (order): Removed.
5637         (as*Buffer): Removed.
5638         (get*): Removed.
5639         (put*): Removed.
5640         * java/nio/LongBuffer.java
5641         (LongBuffer): Implements Comparable.
5642         (endian): Removed.
5643         (array_offset): New member variable.
5644         (LongBuffer): New constuctor.
5645         (get): May not be final.
5646         (put): May not be final.
5647         (arrayOffset): Implemented.
5648         (order): Made abstract.
5649         (order): Removed.
5650         (as*Buffer): Removed.
5651         (get*): Removed.
5652         (put*): Removed.
5653         * java/nio/ShortBuffer.java
5654         (ShortBuffer): Implements Comparable.
5655         (endian): Removed.
5656         (array_offset): New member variable.
5657         (ShortBuffer): New constuctor.
5658         (get): May not be final.
5659         (put): May not be final.
5660         (arrayOffset): Implemented.
5661         (order): Made abstract.
5662         (order): Removed.
5663         (as*Buffer): Removed.
5664         (get*): Removed.
5665         (put*): Removed.
5666
5667 2003-02-11   Michael Koch  <konqueror@gmx.de>
5668
5669         * java/nio/channels/SelectionKey.java
5670         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5671         values.
5672
5673 2003-02-11  Michael Koch  <konqueror@gmx.de>
5674
5675         * java/nio/channels/DatagramChannel.java
5676         (write): Throws IOException.
5677         (connect): Throws IOException.
5678         (disconnect): Throws IOException.
5679         (read): Throws IOException.
5680         (receive): Throws IOException.
5681         (send): Throws IOException.
5682         * java/nio/channels/Pipe.java
5683         (open): Throws IOException.
5684         * java/nio/channels/SelectableChannel.java
5685         (configureBlocking): Throws IOException.
5686         * java/nio/channels/ServerSocketChannel.java
5687         (accept): Throws IOException.
5688         * java/nio/channels/SocketChannel.java
5689         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5690         GatheringByteChannel.
5691         (read): Throws IOException.
5692         (write): Throws IOException.
5693         (finishConnect): Throws IOException.
5694         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5695         (end): Throws AsynchronousCloseException.
5696         * java/nio/channels/spi/AbstractSelectableChannel.java
5697         (configureBlocking): Throws IOException.
5698         (implCloseChannel): Throws IOException.
5699         (implCloseSelectableChannel): Throws IOException.
5700         (implConfigureBlocking): Throws IOException.
5701         * java/nio/channels/spi/SelectorProvider.java
5702         (openDatagramChannel): Throws IOException.
5703         (openPipe): Throws IOException.
5704         (openSelector): Throws IOException.
5705         (openServerSocketChannel): Throws IOException.
5706         (openSocketChannel): Throws IOException.
5707
5708 2003-02-11  Michael Koch  <konqueror@gmx.de>
5709
5710         * gnu/java/nio/FileLockImpl.java,
5711         java/nio/channels/FileLock.java: New files.
5712
5713 2003-02-11  Michael Koch  <konqueror@gmx.de>
5714
5715         * java/nio/charset/IllegalCharsetNameException.java
5716         (serialVersionUID): New member variable.
5717         (charsetName): New member variable.
5718         (IllegalCharsetException): New implementation.
5719         (getCharsetName): New implementation.
5720         * java/nio/charset/UnsupportedCharsetException.java
5721         (serialVersionUID): New member variable.
5722         (charsetName): New member variable.
5723         (UnsupportedCharsetException): New implementation.
5724         (getCharsetName): New implementation.
5725
5726 2003-02-10  Tom Tromey  <tromey@redhat.com>
5727
5728         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5729         (ex): Renamed from sqlException.
5730
5731 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5732
5733         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5734         method used to ensure seeding has occurred and that a specific 
5735         seed can be set and used.
5736
5737 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5738
5739         * java/lang/Win32Process.java (destroy): Declare as native.
5740         (hasExited): New native method.
5741         (exitValue): Define.
5742         (getErrorStream): Likewise.
5743         (getInputStream): Likewise.
5744         (getOutputStream): Likewise.
5745         (waitFor): Declare as native.
5746         (startProcess): New native method.
5747         (cleanup): Likewise.
5748         (ConcreteProcess): Define.
5749         (outputStream, inputStream, errorStream): New members.
5750         (procHandle, exitCode): Likewise.
5751
5752         * java/lang/natWin32Process.cc
5753         (java::lang::ConcreteProcess::cleanup): Define.
5754         (java::lang::ConcreteProcess::destroy): Likewise.
5755         (java::lang::ConcreteProcess::hasExited): Likewise.
5756         (java::lang::ConcreteProcess::waitFor): Likewise.
5757         (new_string): Likewise.
5758         (java::lang::ConcreteProcess::startProcess): Likewise.
5759
5760 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5761
5762         * java/math/BigInteger.java:
5763         Updated notice to include years 2002 and 3.
5764         Added 2 private (int) arrays with values from the HAC (Handbook of
5765         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5766         and t[] that contains nbr. of tests --used in isProbablePrime().
5767
5768         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5769
5770         * java/math/BigInteger.java (make(int[],int), add(int,int),
5771         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5772         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5773         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5774         make(long).
5775
5776         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5777         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5778         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5779         BIs and returns void.
5780         (modInverse(BI)): Use new signatures of euclidInv().
5781
5782         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5783         static small primes instead of remainder().
5784         Use pre-computed max nbr of trials based on bitlength of BI to test.
5785         Use pre-computed small primes for the trial tests instead of random
5786         numbers.
5787
5788         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5789         not used.
5790
5791         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5792         invoacation of MPN.chars_per_word().  not used.
5793
5794         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5795         local var and used where needed.
5796
5797         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5798         Combined declaration with initialisation of locals.
5799         Removed unused var.
5800
5801         * java/math/BigInteger.java: Style changes
5802         (pow(int)): Removed 'else' keyword.
5803         (toString(int)): idem.
5804         (doubleValue()): idem.
5805         (bitLength()): idem.
5806         (equals(Object)): Use static methods name in same class w/o prepending
5807         class name.
5808         (doubleValue()): idem.
5809         (setNegative(BI)): idem.
5810         (negate()): idem.
5811         (and(BI,int)): idem.
5812         (and(BI)): idem.
5813         (gcd(BI)): idem.
5814         (byteArrayToIntArray()): Removed casting to (int). this is
5815         std. behaviour.
5816         (canonicalize()): idem.
5817         (alloc(int)): Always instantiate a new BI.
5818
5819 2003-02-10  Tom Tromey  <tromey@redhat.com>
5820
5821         * java/sql/Timestamp.java (compareTo(Object)): New method.
5822         (compareTo(Timestamp)): Likewise.
5823         (serialVersionUID): Updated.
5824
5825 2003-02-07  Mark Wielaard  <mark@klomp.org>
5826
5827         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5828         when verify is true.
5829         (JarFile(File, boolean)): Likewise.
5830         (manifestRead): Set manifestRead field correctly.
5831
5832 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5833
5834         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5835         tests; see patch #1016 on Savannah.
5836
5837 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5838
5839         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5840         (toString): do not return Strings starting with . and - erroneously.
5841         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5842         DiagBigDecimal.
5843
5844 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5845
5846         * java/beans/PropertyDescriptor.java
5847         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5848         methods.
5849         (PropertyDescriptor(String, Class, String, String)): Likewise.
5850         (PropertyDescriptor(String, Method, Method): Factor out getter and
5851         setter method sanity checks into new method.
5852         (findMethods): Don't do parameter sanity checking of get method here.
5853         (checkMethods): New method.
5854
5855 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5856
5857         * java/beans/PropertyDescriptor.java: Reformat.
5858
5859 2003-02-04  Tom Tromey  <tromey@redhat.com>
5860
5861         * java/io/PipedOutputStream.java (flush): Declare as throwing
5862         IOException.
5863         (close): Likewise.
5864         * java/io/PipedWriter.java (close): Declare as throwing
5865         IOException.
5866         * java/io/StringWriter.java (close): Declare as throwing
5867         IOException.
5868
5869 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5870
5871         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5872         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5873         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5874         "_JNI_OnLoad@8" (MSVC).
5875
5876 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5877
5878         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5879         convention on Win32 to invoke native JNI methods.
5880
5881 2003-02-03  Andrew Haley  <aph@redhat.com>
5882
5883         * configure.host (x86_64): Enable interpreter.
5884
5885 2003-02-03  Andrew Haley  <aph@redhat.com>
5886
5887         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5888         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5889         * configure.in (BACKTRACESPEC): New.
5890         * configure: Regenerate.
5891
5892 2003-02-02  Tom Tromey  <tromey@redhat.com>
5893
5894         * configure: Rebuilt.
5895         * configure.in (TOOLKIT) [xlib]: Set correctly.
5896
5897         * Makefile.in: Rebuilt.
5898         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5899         libstdc++.
5900
5901 2003-01-31  Mark WIelaard  <mark@klomp.org>
5902
5903         * Makefile.in: Rebuilt.
5904         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5905
5906 2003-01-31  Tom Tromey  <tromey@redhat.com>
5907
5908         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5909         cast to element type.
5910         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5911         (_Jv_JNI_GetObjectArrayElement): Likewise.
5912
5913         * Makefile.in: Rebuilt.
5914         * Makefile.am (cond_x_ltlibrary): Renamed library to
5915         lib-gnu-awt-xlib.la.
5916         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5917         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5918         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5919         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5920         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5921         (lib_gnu_awt_xlib_la_LINK): Likewise.
5922         (install-exec-hook): Removed.
5923         (lib-gnu-awt-xlib.la): Renamed.
5924
5925 2003-01-31  Tom Tromey  <tromey@redhat.com>
5926
5927         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5928         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5929         aclocal.m4 and lost in some merge.
5930
5931         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5932         Don't try to find graphics configuration.
5933         * java/awt/Toolkit.java (default_toolkit_name): Use new
5934         Configuration entry.
5935         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5936         New global.
5937         * configure: Rebuilt.
5938         * configure.in (TOOLKIT): New subst.
5939         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5940         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5941         directory.  Make output directories for .c files.
5942         * Makefile.in: Rebuilt.
5943         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5944         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5945         (all_java_source_files): Added new sources.
5946         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5947         (gtk_c_files): New macro.
5948         (gtk_c_source_files): New macro.
5949         (cond_gtk_ltlibrary): New macro.
5950         ($(gtk_c_files)): New target.
5951         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5952         (gtk_awt_peer_sources): New macro.
5953         (gtk_c_headers): New macro.
5954         ($(gtk_c_headers)): New target.
5955         (ACLOCAL_AMFLAGS): New macro.
5956         * gtk.m4, glib.m4, libart.m4: New files.
5957         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5958         gnu/java/awt/peer/gtk/GdkGraphics.java,
5959         gnu/java/awt/peer/gtk/GtkArg.java,
5960         gnu/java/awt/peer/gtk/GtkArgList.java,
5961         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5962         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5963         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5964         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5965         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5966         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5967         gnu/java/awt/peer/gtk/GtkClipboard.java,
5968         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5969         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5970         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5971         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5972         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5973         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5974         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5975         gnu/java/awt/peer/gtk/GtkImage.java,
5976         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5977         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5978         gnu/java/awt/peer/gtk/GtkListPeer.java,
5979         gnu/java/awt/peer/gtk/GtkMainThread.java,
5980         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5981         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5982         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5983         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5984         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5985         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5986         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5987         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5988         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5989         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5990         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5991         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5992         gnu/java/awt/peer/gtk/GtkToolkit.java,
5993         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5994         gnu/java/awt/peer/gtk/TestAWT.java,
5995         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5996         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5997         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5998         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5999         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6000         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6001         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6002         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6004         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6005         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6006         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6007         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6008         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6009         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6010         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6011         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6012         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6013         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6014         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6015         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6016         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6017         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6018         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6019         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6020         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6021         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6022         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6023         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6024         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6025         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6026         jni/classpath/native_state.c, jni/classpath/native_state.h,
6027         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6028
6029 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
6030
6031         * java/util/Properties.java (load): Ignore backslash before EOF.
6032
6033 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
6034
6035         * java/lang/natClass.cc (initializeClass): Check tables when
6036         (state == JV_STATE_IN_PROGRESS).
6037         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6038         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6039         interpreted classes.
6040         (linkClass0): Use _Jv_WaitForState.
6041
6042 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
6043
6044         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6045         object when finished.
6046
6047 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
6048
6049         * libjava/configure.host: Disable can_unwind_signal on darwin.
6050
6051 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
6052
6053         Fixes PR java/9254:
6054         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6055         additionally containing id of the owner thread as well as
6056         the number of nested times the thread has acquired the mutex.
6057         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6058         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6059         (_Jv_MutexUnlock): Check if really the owner thread, reset
6060         owner thread id to 0 before leaving, if leaving for the last
6061         time.
6062         (_Jv_MutexLock): Set owner thread id in the mutex and increment
6063         refcount.
6064         (_Jv_ThreadYield): Yield using a call to Sleep(0).
6065         * win32-threads.cc (_Jv_CondWait): Check if really owner of
6066         the passed mutex.
6067         Pass handle of the broadcast event, instead of a pointer to it
6068         in Win32 ResetEvent( ) call.
6069         Remove incorrect return values.
6070         (_Jv_CondDestroy): Close both event handles and delete
6071         critical section.
6072         (_Jv_CondNotify): Check if really the owner thread.
6073         (_Jv_CondNotifyAll): Check if really the owner thread.
6074         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6075         (really_start): Use SetEvent( ) to signal daemon_cond.
6076         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6077         WaitForSingleObject( ) instead to wait for daemon_cond to be
6078         signalled.
6079
6080 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
6081
6082         * configure.in: Specifically define HAVE_BACKTRACE if building
6083         for MinGW.
6084         * include/win32.h: Remove HAVE_BACKTRACE definition.
6085         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6086         * configure: Rebuilt.
6087
6088 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
6089
6090         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6091         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
6092         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6093         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6094         * Makefile.in, configure: Rebuilt.
6095
6096 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
6097
6098         Fixes PR java/9253:
6099         * java/io/natFileWin32.cc (performList): Append only "*.*"
6100         if the canonical file path already has a "\" at the end.
6101
6102 2003-01-24  Tom Tromey  <tromey@redhat.com>
6103
6104         * defineclass.cc (handleMethodsEnd): Precompute code for static
6105         method.
6106         (handleCodeAttribute): Likewise.
6107         * resolve.cc (ncode): Use run_class for unsynchronized static
6108         methods.
6109         * include/java-interp.h (class _Jv_InterpMethod): Declare
6110         run_class.
6111         * interpret.cc (run_synch_class): Initialize class.
6112         (run) [insn_invokestatic]: Don't initialize class.
6113         [insn_anewarray]: Likewise.
6114         [insn_multianewarray]: Likewise.
6115         (run_class): New function.
6116
6117 2003-01-24  Tom Tromey  <tromey@redhat.com>
6118
6119         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6120         comment.
6121
6122 2003-01-22  Andrew Haley  <aph@redhat.com>
6123
6124         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6125         * configure.host (CHECKREFSPEC): Define for x86_64.
6126
6127 2003-01-21  Tom Tromey  <tromey@redhat.com>
6128
6129         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6130         search at 2, not 3.
6131
6132 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
6133
6134         * java/io/natFileWin32.cc (isAbsolute): Check path length before
6135         looking at any characters.
6136         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6137         be used.
6138         (isAbsolute): Check path's length as well.
6139
6140 2003-01-17  Mark Wielaard  <mark@klomp.org>
6141
6142         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6143         (nat_source_files): Add natVMObjectStreamClass.cc.
6144         * Makefile.in: Regenerated.
6145         * gcj/javaprims.h (namespace java): Regenerated.
6146         * java/io/ObjectStreamClass.java (getClassUID): Call
6147         VMObjectStreamClass.hasClassInitializer().
6148         (hasClassInitializer): Removed.
6149         * java/io/VMObjectStreamClass.java: New class.
6150         * java/io/natVMObjectStreamClass.cc: New file.
6151         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6152
6153 2003-01-16  Mark Wielaard  <mark@klomp.org>
6154
6155         * java/net/SocketImpl.java (toString): Don't explicitly call
6156         toString() on possible null address.
6157
6158 2003-01-16  Michael Koch  <konqueror@gmx.de>
6159
6160         * java/net/MulticastSocket.java
6161         (setInterface): Reindented.
6162
6163 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6164
6165         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6166         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6167         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6168         translateY arguments.  Implement.
6169         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6170         down translation arguments.
6171         (drawPolyline, drawPolygon): Fix incorrect tests.
6172         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6173         translateX and translateY arguments.
6174
6175 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6176
6177         * Makefile.in: Rebuilt.
6178         * Makefile.am (xlib_includes): New macro.
6179         (INCLUDES): Use it.
6180
6181 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6182
6183         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6184         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6185         16-bit display mode.
6186
6187 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
6188
6189         * java/awt/CardLayout.java (show): Rewrote.
6190         (gotoComponent): Removed `target' argument.  Simplified code.
6191         Don't pre-compute `choice' unless `what' is FIRST or LAST.
6192         Changed all callers.
6193         (NONE): Removed.
6194         
6195 2003-01-14  Michael Koch  <konqueror@gmx.de>
6196
6197         * java/net/InetSocketAddress.java
6198         (serialVersionUID): New member variable.
6199         * java/net/NetPermission.java
6200         (NetPermission): Dont implement java.io.Serialization directly.
6201         * java/net/SocketAddress.java:
6202         (serialVersionUID): Documentation added.
6203         
6204 2003-01-14  Michael Koch  <konqueror@gmx.de>
6205
6206         * java/awt/Label.java
6207         (Label): Implements javax.accessibility.Accessible;
6208         * java/awt/List.java
6209         (List): Implements javax.accessibility.Accessible;
6210         * java/awt/ScrollPane.java
6211         (ScrollPane): Implements javax.accessibility.Accessible;
6212         * java/awt/Scrollbar.java
6213         (Scrollbar): Implements javax.accessibility.Accessible;
6214         * java/awt/TextComponent.java
6215         (setCaretPosition): Throw exception, documentation added.
6216         * java/awt/Toolkit.java:
6217         Added some newlines in method documentations.
6218         (createButton): Exception documentation added.
6219         (createTextField): Exception documentation added.
6220         (createLabel): Exception documentation added.
6221         (createList): Exception documentation added.
6222         (createCheckbox): Exception documentation added.
6223         (createScrollbar): Exception documentation added.
6224         (createScrollPane): Exception documentation added.
6225         (createTextArea): Exception documentation added.
6226         (createChoice): Exception documentation added.
6227         (createFrame): Exception documentation added.
6228         (createWindow): Exception documentation added.
6229         (createDialog): Exception documentation added.
6230         (createMenuBar): Exception documentation added.
6231         (createMenu): Exception documentation added.
6232         (createMenuItem): Exception documentation added.
6233         (createFileDialog): Exception documentation added.
6234         (createCheckboxMenuItem): Exception documentation added.
6235         (loadSystemColors): Exception documentation added.
6236         (setDynamicLayout): Exception documentation added.
6237         (isDynamicLayoutSet): Exception documentation added.
6238         (isDynamicLayoutActive): Exception documentation added.
6239         (getScreenSize): Exception documentation added.
6240         (getScreenResolution): Exception documentation added.
6241         (getScreenInsets): Exception documentation added.
6242         (getColorModel): Exception documentation added.
6243         (getSystemClipboard): Exception documentation added.
6244         (getSystemSelection): Exception documentation added.
6245         (getMenuShortcutKeyMask): Exception documentation added.
6246         (getSystemEventQueue): Exception documentation added.
6247         * java/awt/Window.java:
6248         Reindented some code.
6249         (Window): Centralized implementation, documentation added.
6250         (finalize): Documentation added.
6251         (hide): Fixed typo in comment.
6252         (getWindowListeners): Documentation added.
6253         * java/awt/color/ColorSpace.java
6254         (toRGB): Documentation added.
6255         * java/awt/color/ICC_ColorSpace.java
6256         (ICC_ColorSpace): Documentation added.
6257         (toRGB): Throw exception, documentation added.
6258         (fromRGB): Throw exception, documentation added.
6259         (toCIEXYZ): Documentation added.
6260         (fromCIEXYZ): Documentation added.
6261         (getMinValue): Documentation added.
6262         (getMaxValue): Documentation added.
6263         * java/awt/geom/Dimension2D.java
6264         (clone): Documentation added.
6265         * java/awt/geom/GeneralPath.java
6266         (clone): Documentation added.
6267         * java/awt/geom/Line2D.java
6268         (clone): Documentation added.
6269         * java/awt/geom/QuadCurve2D.java
6270         (clone): Documentation added.
6271         * java/awt/image/ColorModel.java
6272         (ColorModel): Throw exception, documentation added.
6273         * java/awt/image/ImageFilter.java
6274         (clone): Doesnt throw CloneNotSupportedException.
6275
6276 2003-01-14  Andrew Haley  <aph@redhat.com>
6277
6278         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6279         in a try block.
6280
6281 2003-01-10  Andrew Haley  <aph@redhat.com>
6282
6283         * include/dwarf2-signal.h: Remove x86_64.
6284         * configure.host (x86_64 DIVIDESPEC): Remove.
6285         * include/x86_64-signal.h: New file.
6286         * configure.in: Regenerate.
6287
6288 2003-01-10  Michael Koch  <konqueror@gmx.de>
6289
6290         * java/net/DatagramSocket.java
6291         (ch): Description added.
6292         (remotePort): Initialize with -1.
6293         (connect): Doesnt throws SocketException.
6294         * java/net/MulticastSocket.java
6295         (setInterface): Merge with Classpath.
6296         * java/net/ServerSocket.java
6297         (closed): New member variable.
6298         (bind): Check if socket is closed.
6299         (close): Close an associated channel too, set new value to closed.
6300         (isBound): Reindented.
6301         (isClosed): Implemented.
6302         * java/net/Socket.java
6303         (closed): New member variable.
6304         (bind): Check if socket is closed.
6305         (connect): Check if socket is closed.
6306         (close): Close an associated channel too, set new value to closed.
6307         (isClosed): Implemented.
6308
6309 2003-01-10  Michael Koch  <konqueror@gmx.de>
6310
6311         * java/awt/DisplayMode.java
6312         (equals): Fixed argument type and implementation.
6313
6314 2003-01-07  Tom Tromey  <tromey@redhat.com>
6315
6316         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6317         JV_HASH_SYNCHRONIZATION.
6318         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6319         JV_HASH_SYNCHRONIZATION.
6320
6321 2003-01-07  Michael Koch  <konqueror@gmx.de>
6322  
6323         * java/net/DatagramSocket.java:
6324         Added classpath license info.
6325         (DatagramSocket): Merged description with classpath.
6326         (close): Merged description with classpath.
6327         (getChannel): Merged description with classpath.
6328         (getInetAddress): Merged description with classpath.
6329         (getPort): Merged description with classpath.
6330         (getLocalAddress): Merged description with classpath.
6331         (getLocalPort): Merged description with classpath.
6332         (getSoTimeout): Merged description with classpath.
6333         (setSoTimeout): Merged description with classpath.
6334         (getSendBufferSize): Merged description with classpath.
6335         (setSendBufferSize): Merged description with classpath.
6336         (getReceiveBufferSize): Merged description with classpath.
6337         (setReceiveBufferSize): Merged description with classpath.
6338         
6339 2003-01-04  Tom Tromey  <tromey@redhat.com>
6340
6341         * java/awt/List.java: Merged with Classpath.
6342
6343 2003-01-03  Mark Wielaard  <mark@klomp.org>
6344
6345         * java/io/FileDescriptor.java (position): New private field.
6346         * java/io/natFileDescriptorPosix.cc (write): Up position.
6347         (setLength): Use and set position.
6348         (seek): Set position.
6349         (getFilePointer): Return position.
6350         (read): Up position.
6351
6352 2003-01-03  Mark Wielaard  <mark@klomp.org>
6353
6354         Merge with Classpath:
6355         * java/io/ObjectStreamClass.java (lookup): Split method and call
6356         lookupForClassObject().
6357         (lookupForClassObject): New method.
6358         (isProxyClass): New field.
6359         (setClass): Set isProxyClass, add object to classLookupTable, set
6360         superClass and calculateOffsets.
6361         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6362         and not a proxy class.
6363         (setFields): Set accessible true for serialPersistentFields.
6364         (getClassUID): Same for suid. And check if suid is of type long.
6365         (hasClassInitializer): Don't throw NoSuchMethodError.
6366
6367 2003-01-03  Mark Wielaard  <mark@klomp.org>
6368
6369         * java/io/FileInputStream.java (finalize): Don't explicitly
6370         finalize FileDescriptor.
6371
6372 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
6373
6374         * configure.host (sparc*-*): Enable bytecode interpreter.
6375
6376 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
6377
6378         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6379         Don't throw RemoteException.
6380         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6381         throw RemoteException.
6382
6383 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6384
6385         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6386         proxyHost): New static fields.
6387         (<clinit>): Initialize new fields.
6388         (connect): Use proxy if necessary.
6389         (usingProxy): Implement.
6390
6391 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
6392
6393         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6394         (TreeIterator.remove): Prefer IllegalStateException over
6395         ConcurrentModificationException, to match Sun.
6396
6397 2002-12-22  Anthony Green  <green@redhat.com>
6398
6399         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6400
6401 2003-01-02  Mark Wielaard  <mark@klomp.org>
6402
6403         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6404         public.
6405         (HTTP_USE_PROXY): Add field.
6406         (getResponseVals): Only set responseCode when not yet explicitly
6407         set by subclass.
6408
6409 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
6410             Mark Wielaard  <mark@klomp.org>
6411
6412         * java/util/zip/ZipFile.java (entries): Now HashMap.
6413         (readLeShort(DataInput, byte[])): Read from given byte array.
6414         (readLeInt(DataInput, byte[]): Likewise.
6415         (readLeShort(byte[] b, int off)): New method.
6416         (readLeInt(byte[] b, int off)): Likewise.
6417         (readEntries): Use byte arrays to read info in bigger chunks.
6418         (getEntries): Return HashMap.
6419         (getEntry): Use HashMap.
6420         (locBuf): New private field.
6421         (checkLocalHeader): Use locBuf to read info in one chunk.
6422         (getInputStream): Use entries HashMap, wrap PartialInputStream
6423         in BufferedInputStream.
6424         (ZipEntryEnumeration): Use HashMap and Interator.
6425
6426 2003-01-02  Mark Wielaard  <mark@klomp.org>
6427             Jeroen Frijters  <jeroen@sumatra.nl>
6428
6429         * java/net/URLClassLoader.java (Resource.getCodeSource):
6430         Fix check certs == null.
6431         (getCanonicalFileURL): Removed method.
6432         (JarURLLoader): Don't call removed method.
6433         (FileURLLoader): Likewise.
6434         (FileURLLoader.getResource): Don't canonicalize file name.
6435
6436 2003-01-01  Tom Tromey  <tromey@redhat.com>
6437
6438         * Makefile.in: Rebuilt.
6439         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6440         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6441         java/awt/BufferCapabilities.java, java/awt/Button.java,
6442         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6443         java/awt/Container.java, java/awt/Cursor.java,
6444         java/awt/EventQueue.java, java/awt/FileDialog.java,
6445         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6446         java/awt/MenuBar.java, java/awt/MenuComponent.java,
6447         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6448         java/awt/Scrollbar.java, java/awt/TextArea.java,
6449         java/awt/TextField.java, java/awt/color/CMMException.java,
6450         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6451         java/awt/color/ProfileDataException.java,
6452         java/awt/datatransfer/Clipboard.java,
6453         java/awt/datatransfer/DataFlavor.java,
6454         java/awt/datatransfer/FlavorMap.java,
6455         java/awt/datatransfer/SystemFlavorMap.java,
6456         java/awt/dnd/DragGestureEvent.java,
6457         java/awt/dnd/DragGestureRecognizer.java,
6458         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6459         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6460         java/awt/im/InputMethodHighlight.java,
6461         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6462         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6463
6464         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6465         `op' to BufferedImageOp.
6466
6467 2002-12-31  Tom Tromey  <tromey@redhat.com>
6468
6469         Fix for PR libgcj/7416:
6470         * javax/naming/InitialContext.java (init): Use
6471         gnu.classpath.home.url.
6472         * java/security/Security.java: Use new properties.
6473         (loadProviders): Accept base url; use it.
6474         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6475         gnu.classpath.home.url.
6476         (gnu.classpath.home.url): Define.
6477         (gnu.classpath.vm.shortname): Likewise.
6478
6479 2002-12-31  Tom Tromey  <tromey@redhat.com>
6480             Ranjit Mathew  <rmathew@hotmail.com>
6481
6482         Fix for PR libgcj/8997:
6483         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6484         Include platform.h.
6485         * include/posix.h (_Jv_platform_usleep): New function.
6486         * include/win32.h (_Jv_platform_usleep): New function.
6487
6488 2002-12-29  Tom Tromey  <tromey@redhat.com>
6489
6490         * gcj/javaprims.h: Updated.
6491         * scripts/classes.pl (scan): Removed stray semicolon.
6492
6493 2002-12-30  Mark Wielaard  <mark@klomp.org>
6494
6495         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6496         if zero or smaller.
6497
6498 2002-12-30  Mark Wielaard  <mark@klomp.org>
6499
6500         * java/util/Properties (formatForOutput): Don't fall through to
6501         default case after escaping character.
6502
6503 2002-12-30  Mark Wielaard  <mark@klomp.org>
6504
6505         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6506         against count.
6507
6508 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
6509
6510         * boehm.cc: Remove stray semicolon.
6511         * interpret.cc: Likewise.
6512         * prims.cc: Likewise.
6513         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6514         earlier to ensure default arguments are processed.
6515         * gcj/array.h (JArray): Add forward declaration.
6516         (elements): Likewise.
6517         * gcj/javaprim.h: Remove stray semicolons.
6518         * include/bohm-gc.h: Likewise.
6519         * include/jni.h: Likewise.
6520         * include/jvm.h: Likewise.
6521         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6522         
6523 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
6524
6525         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6526         of catch_type.
6527         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6528         idt tables after initializing superclass.
6529         * java/lang/natClassLoader.cc (uaddr): New typedef.
6530         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6531         if they are constant pool indicies.  Don't link vtable, otable yet.
6532
6533 2002-12-21  Anthony Green  <green@redhat.com>
6534
6535         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6536         libraries.
6537         * Makefile.in: Rebuilt.
6538
6539 2002-12-19  Anthony Green  <green@redhat.com>
6540
6541         * Makefile.am (ordinary_java_source_files): Add
6542         org/xml/sax/helpers/NewInstance.java.
6543         * Makefile.in: Rebuilt.
6544         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6545         org/xml/sax/helpers/package.html: New files.
6546         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6547         http://www.saxproject.org.
6548
6549 2002-12-19  Andrew Haley  <aph@redhat.com>
6550
6551         * java/util/natResourceBundle.cc: Include
6552         ArrayIndexOutOfBoundsException.h.
6553         (getCallingClassLoader): Don't put upper bound on stack search.
6554         Catch ArrayIndexOutOfBoundsException.
6555
6556 2002-12-19  Tom Tromey  <tromey@redhat.com>
6557
6558         * libtool-version: Increased `current'.
6559
6560 2002-12-19  Tom Tromey  <tromey@redhat.com>
6561
6562         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6563         comment.
6564         * java/lang/ClassLoader.java (defineClass): Use chained
6565         exception when rethrowing.
6566         * defineclass.cc (handleClassBegin): Mark class as interpreted.
6567         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6568         constants.
6569         * resolve.cc (_Jv_PrepareMissingMethods): New function.
6570         (_Jv_PrepareClass): Use it.
6571         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6572         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6573         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6574         (Class): _Jv_PrepareMissingMethods now friend.
6575         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6576         Record `NULL' for system class loader.
6577         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
6578         system class loader.
6579         (_Jv_FindClassInCache): Likewise.
6580         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
6581         (_Jv_FindClass): Special case system class loader.
6582         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6583         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6584         vtable slots.
6585         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6586         in a final class.
6587         (_getDeclaredMethod): Don't return synthetic methods.
6588         (getDeclaredMethods): Likewise.
6589         (_getMethod): Likewise.
6590         (_getMethods): Likewise.
6591
6592 2002-12-18  Raif Naffah  <raif@fl.net.au>
6593
6594         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6595         canonical form after divide().
6596         (modInverse): Likewise.
6597
6598 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6599             Mark Wielaard  <mark@klomp.org>
6600
6601         * java/security/SecurityRandom (digest): Removed field.
6602         (SecureRandom): Check all providers for case-insensitive SecureRandom
6603         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6604         if necessary.
6605         (getInstance(String,Provider,boolean): New method.
6606         (getInstance(String)): Use new method.
6607         (getInstance(String,String)): Likewise.
6608         (getInstance(String,Provider)): Likewise.
6609
6610 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6611
6612         * java/security/Security.java (loadProviders): Increment i only once.
6613
6614 2002-12-12  Mark Wielaard  <mark@klomp.org>
6615
6616         * java/lang/ClassLoader.java (resolveClass0): Transform
6617         ClassNotFoundException to NoClassDefFoundError. Transform all other
6618         throwables to LinkageError.
6619
6620 2002-12-11  Tom Tromey  <tromey@redhat.com>
6621
6622         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6623
6624         * java/lang/ClassLoader.java (loadedClasses): New field.
6625         (defineClass): Fixed indentation.  Put new class in
6626         loadedClasses.
6627         (findLoadedClass): Implement here.
6628         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6629
6630 2002-12-10  Tom Tromey  <tromey@redhat.com>
6631
6632         * Makefile.in: Rebuilt.
6633         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6634         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6635         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6636         * java/lang/natClassLoader.cc
6637         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6638
6639 2002-12-10  Mark Wielaard  <mark@klomp.org>
6640             Tom Tromey  <tromey@redhat.com>
6641
6642         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6643         (JarURLLoader): Use it.
6644         (FileURLLoader): Likewise.
6645         (JarURLResource.getURL): Use chained exception.
6646         (FileResource.getURL): Likewise.
6647         (FileURLLoader.getResource): Use canonical file name.
6648         (addURL): Indentation fix.
6649
6650 2002-12-10  Tom Tromey  <tromey@redhat.com>
6651
6652         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6653         From Laurent Bardet <l.bardet@magic.fr>.
6654
6655 2002-12-09  Tom Tromey  <tromey@redhat.com>
6656
6657         * include/win32.h (_Jv_platform_solib_prefix): New define.
6658         (_Jv_platform_solib_suffix): Likewise.
6659         * include/posix.h (_Jv_platform_solib_prefix): New define.
6660         (_Jv_platform_solib_suffix): Likewise.
6661         * java/lang/natRuntime.cc: Include StackTrace.h.
6662         (_load): Use findLibrary and new platform defines.
6663         (nativeGetLibname): Use new platform defines.
6664
6665         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6666         `t' won't be null.
6667
6668 2002-12-08  Mark Wielaard  <mark@klomp.org>
6669
6670         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6671         cache remote jar files.
6672         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6673         add File.separator to URL when it is a directory.
6674         * java/lang/ClassLoader.java: Add Classpath javadoc.
6675         (parent): final.
6676         (getParent): Add (disabled) security check.
6677         (findLibrary): New default method.
6678         * java/net/JarURLConnection.java (getManifest): Implement.
6679         (getInputStream): Only create InputStream when entry exists.
6680         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6681         when they exist.
6682         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6683
6684 2002-12-08  Mark Wielaard  <mark@klomp.org>
6685
6686         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6687         (lastDefaultLocale): New field.
6688         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6689         resourceBundleCache.
6690
6691 2002-12-06  Mark Wielaard  <mark@klomp.org>
6692
6693         * java/net/InetAddress.java (toString): Use hostname when not null,
6694         don't do an explicit reverse getHostName() lookup.
6695         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6696         NullPointerException.
6697
6698 2002-12-06  Tom Tromey  <tromey@redhat.com>
6699
6700         * include/java-interp.h (class _Jv_InterpMethod): Added
6701         JV_MARKOBJ_DECL.
6702         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6703         mark `prepared' field of interpreted method.
6704         * interpret.cc (compile): Use _Jv_AllocBytes.
6705
6706 2002-12-05  Andrew Haley  <aph@redhat.com>
6707
6708         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6709         #ifdef (HAVE_BACKTRACE) around the whole function body.
6710
6711 2002-12-05  Tom Tromey  <tromey@redhat.com>
6712
6713         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6714         * resolve.cc: Don't include AbstractMethodError.h.
6715         (_Jv_abstractMethodError): Removed.
6716         * defineclass.cc (handleMethodsBegin): Initialize method index to
6717         -1.
6718         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6719         method index for "new" final method.
6720         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6721         isVirtualMethod.  Added `flags' argument.
6722         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6723         class.
6724
6725 2002-12-04  Tom Tromey  <tromey@redhat.com>
6726
6727         * java/net/SocketPermission.java (hashCode): Rewrote.
6728
6729 2002-12-04  Tom Tromey  <tromey@redhat.com>
6730
6731         * Makefile.in: Rebuilt.
6732         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6733         natResourceBundle.
6734         * java/util/ResourceBundle.java (Security): Removed.
6735         (getCallingClassLoader): Now native.
6736         * java/util/natResourceBundle.cc: New file.
6737         * java/lang/natVMSecurityManager.cc: New file.
6738         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6739
6740 2002-12-03  Mark Wielaard  <mark@klomp.org>
6741
6742         * java/util/jar/JarFile.java (manifest): Not final.
6743         (manifestRead): New field.
6744         (JarFile): Don't read Manifest in constructor.
6745         (getManifest): New method.
6746         (JarEnumeration.nextElement): Use new method.
6747         (getEntry): Likewise.
6748         * java/util/zip/ZipFile.java (name): Final.
6749         (raf): Likewsie.
6750         (entries): Change type to Hashtable.
6751         (closed): New field.
6752         (ZipFile): Don't read enties in constructor.
6753         (readEntries): Use Hashtable.
6754         (close): Set new close flag and set entries to null inside
6755         synchronized block.
6756         (entries): Contruct enumeration using new getEntries() method and
6757         entries Hashtable.
6758         (getEntryIndex): Removed.
6759         (getEntries): New method.
6760         (getEntry): Use new getEntries() method and entries Hastable.
6761         (getInputStream): Likewise.
6762         (size): Return getEntries().size().
6763         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6764         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6765         (time): Removed
6766         (dostime): New field.
6767         (zipFileIndex): Removed.
6768         (ZipEntry(ZipEntry)): Copy dostime.
6769         (setDOSTime): Now final and doesn't convert dos time.
6770         (getDOSTime): Likewise.
6771         (setTime): Convert dos time.
6772         (getTime): Likewise.
6773         (getCalendar): New method.
6774         (setExtra): Use setTime().
6775         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6776
6777 2002-12-03  Tom Tromey  <tromey@redhat.com>
6778
6779         * java/lang/Character.java (forDigit): Formatting fix.
6780
6781 2002-12-03  Raif Naffah  <raif@fl.net.au>
6782
6783         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6784         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6785         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6786
6787 2002-12-03  Andrew Haley  <aph@redhat.com>
6788
6789         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6790         _Jv_PushClass.
6791         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6792         (_Jv_PopClass): New.
6793         (_Jv_PushClass): New.
6794         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6795         discover the ClassLoader of our caller.
6796         (_Jv_CheckArrayStore): Don't check that a class is assignment
6797         compatible with Object.
6798         * java/lang/natVMTHrowable.cc: Delete.
6799         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6800         java.lang.VMThrowable.
6801         (StackTrace(), StackTrace(int)): New constructors.
6802         (classAt, methodAt, update, methodAtAddress): New methods.
6803         (map): New field.
6804         * java/lang/VMThrowable.java: Use StackTrace instead of
6805         natVMTHrowable.
6806         * java/lang/Class.h (getClassLoaderInternal): New.
6807         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6808         Be friendly with gnu::gcj::runtime::StackTrace.
6809         (Object.chain): New field.
6810         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6811         gnu::gcj::runtime::StackTrace.
6812         * gnu/gcj/runtime/natStackTrace.cc: New file.
6813         * gnu/gcj/runtime/MethodRef.java: New file.
6814         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6815         instead of getClassLoader().
6816         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6817         java::lang::VMThrowable.
6818         * Makefile.am (core_java_source_files): Add MethodRef.java,
6819         StackTrace.java.
6820         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6821         * Makefile.in: Rebuild.
6822
6823 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6824
6825         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6826         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6827         yes also for sh-linux* and sh[34]*-linux*.
6828         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6829         set SIGNAL_HANDLER to use DWARF2 exception for them.
6830         * configure: Regenerate.
6831
6832 2002-12-02  Tom Tromey  <tromey@redhat.com>
6833
6834         * jni.cc: Added `name' argument.
6835         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6836         `const char *' argument.
6837         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6838
6839 2002-12-01  Tom Tromey  <tromey@redhat.com>
6840
6841         Bug compatibility, for PR libgcj/8738:
6842         * java/io/CharArrayWriter.java (close): Do nothing.
6843         (flush): Likewise.
6844         (reset): Don't touch `closed'.
6845         (write(int)): Don't throw IOException.
6846         (write(char[],int,int)): Likewise.
6847         (write(String,int,int)): Likewise.
6848         (closed): Removed.
6849
6850 2002-12-01  Mark Wielaard  <mark@klomp.org>
6851
6852         * java/lang/SecurityManager.java: Remerge comments, indenting and
6853         checkXXX methods with Classpath.
6854
6855 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6856
6857         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6858         getNormalizedComponents): Fix calculation which was using one too
6859         many bits in the unnormalized format.
6860
6861 2002-11-29  Gary Benson  <gbenson@redhat.com>
6862
6863         For PR libgcj/8759:
6864         * java/beans/Introspector.java (flushCaches): New method.
6865         (flushFromCaches): Likewise.
6866
6867 2002-11-29  Michael Koch <konqueror@gmx.de>
6868
6869         * java/nio/channels/DatagramChannel.java
6870         (open): Added exception documentation.
6871         (write): Added exception documentation.
6872         (connect): Added exception documentation.
6873         (disconnect): Added exception documentation.
6874         (isConnected): Added exception documentation.
6875         (read): Added exception documentation.
6876         (receive): Added exception documentation.
6877         (send): Added exception documentation.
6878         (validOps): Added exception documentation.
6879         * java/nio/channels/SocketChannel.java
6880         (open): Added exception documentation.
6881         (read): Added exception documentation.
6882         (write): Added exception documentation.
6883         (connect): Added exception documentation.
6884         (finishConnect): Added exception documentation.
6885
6886 2002-11-29  Michael Koch <konqueror@gmx.de>
6887
6888         * gnu/java/nio/DatagramChannelImpl:
6889         (fd): New member variable to store file descriptor of socket.
6890         * gnu/java/nio/SelectionKeyImpl.java:
6891         (ops): Removed.
6892         (readyOps): New member variable.
6893         (interestOps): New member variable.
6894         (readyOps): Implemented.
6895         (readyOps): New method to set member variable readyOps.
6896         (interestOps): Replaced ops by interestOps.
6897         * gnu/java/nio/SelectorImpl.java:
6898         (SelectorImpl): Initialize key sets.
6899         (select): Call select with -1 instead of Long.MAX_VALUE).
6900         (java_do_select): Make it a native method.
6901         (getFDsAsArray): New helper method.
6902         (select): Remove canceled keys, give only interested file discriptors
6903         to java_do_select, set ready ops.
6904         (add): No need to initialize keys set here.
6905         (add_selected): No need to initialize selected set here.
6906         (deregisterCanceledKeys): New helper method.
6907         (register): Set interest ops, set attachments, added handling of datagram
6908         channels.
6909         * gnu/java/nio/ServerSocketChannelImpl:
6910         (SocketAccept): Renamed from NioSocketAccept.
6911         (implConfigureBlocking): Implemented.
6912         (accept): Use SocketAccept instead of NioSocketAccept.
6913         * gnu/java/nio/SocketChannelImpl:
6914         Reactivate native methods.
6915
6916 2002-11-29  Michael Koch <konqueror@gmx.de>
6917
6918         * gnu/java/nio/natByteBufferImpl.cc,
6919         gnu/java/nio/natCharBufferImpl.cc,
6920         gnu/java/nio/natDoubleBufferImpl.cc,
6921         gnu/java/nio/natFloatBufferImpl.cc,
6922         gnu/java/nio/natIntBufferImpl.cc,
6923         gnu/java/nio/natLongBufferImpl.cc,
6924         gnu/java/nio/natSelectorImpl.cc,
6925         gnu/java/nio/natServerSocketChannelImpl.cc,
6926         gnu/java/nio/natShortBufferImpl.cc,
6927         gnu/java/nio/natSocketChannelImpl.cc:
6928         New files that implement native functionalities.
6929
6930 2002-11-29  Michael Koch <konqueror@gmx.de>
6931
6932         * gnu/java/nio/ByteBufferImpl.java
6933         (ByteBufferImpl): Moved position() after limit.
6934         (nio_*): Use native implementation.
6935         * gnu/java/nio/CharBufferImpl.java:
6936         Reformated.
6937         (endian): New member variable string endianess of buffer.
6938         (CharBufferImpl): Moved position() after limit.
6939         (nio_*): Use native implementation.
6940         (subSequence): Implemented.
6941         * gnu/java/nio/DoubleBufferImpl.java
6942         (DoubleBufferImpl): Moved position() after limit.
6943         (nio_*): Use native implementation.
6944         * gnu/java/nio/FloatBufferImpl.java
6945         Reformated.
6946         (FloatBufferImpl): Moved position() after limit.
6947         (nio_*): Use native implementation.
6948         * gnu/java/nio/IntBufferImpl.java
6949         Added needed imports, Reformated.
6950         (IntBufferImpl): Moved position() after limit.
6951         (nio_*): Use native implementation.
6952         * gnu/java/nio/LongBufferImpl.java
6953         Reformated.
6954         (LongBufferImpl): Moved position() after limit.
6955         (nio_*): Use native implementation.
6956         * gnu/java/nio/ShortBufferImpl.java
6957         Reformated.
6958         (ShortBufferImpl): Moved position() after limit.
6959         (nio_*): Use native implementation.
6960
6961 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6962
6963         * java/util/Locale.java (toString): Improve efficiency if country
6964         and variant are both empty.
6965
6966 2002-11-26  Tom Tromey  <tromey@redhat.com>
6967
6968         * verify.cc (pop_init_ref): New method.
6969         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6970         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6971         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6972         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6973         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6974         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6975         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6976         let `this' argument be uninitialized.  Don't let `null' be passed
6977         as `this' to construtor.
6978
6979 2002-11-26  Mark Wielaard  <mark@klomp.org>
6980
6981         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6982         * javax/transaction/HeuristicMixedException.java: Likewise.
6983         * javax/transaction/HeuristicRollbackException.java: Likewise.
6984         * javax/transaction/InvalidTransactionException.java: Likewise.
6985         * javax/transaction/NotSupportedException.java: Likewise.
6986         * javax/transaction/RollbackException.java: Likewise.
6987         * javax/transaction/Status.java: Likewise.
6988         * javax/transaction/Synchronization.java: Likewise.
6989         * javax/transaction/SystemException.java: Likewise.
6990         * javax/transaction/Transaction.java: Likewise.
6991         * javax/transaction/TransactionManager.java: Likewise.
6992         * javax/transaction/TransactionRequiredException.java: Likewise.
6993         * javax/transaction/TransactionRolledbackException.java: Likewise.
6994         * javax/transaction/UserTransaction.java: Likewise.
6995         * javax/transaction/xa/XAException.java: Likewise.
6996         * javax/transaction/xa/XAResource.java: Likewise.
6997         * javax/transaction/xa/Xid.java: Likewise.
6998
6999 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
7000
7001         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7002         define.
7003         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7004         * include/posix.h (socklen_t): Define if not already defined.
7005
7006 2002-11-25  Tom Tromey  <tromey@redhat.com>
7007
7008         * verify.cc (type::compatible): Backed out broken change.
7009
7010         * verify.cc (type::compatible): Check initialization status
7011         first.
7012         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7013         Don't use NULLCHECK.
7014
7015 2002-11-23  H.J. Lu <hjl@gnu.org>
7016
7017         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7018         Include ../config/accross.m4.
7019         * aclocal.m4; Rebuild.
7020         * configure: Likewise.
7021
7022 2002-11-23  Mark Wielaard  <mark@klomp.org>
7023
7024         * javax/naming/AuthenticationException.java: Update copyright header.
7025         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7026         * javax/naming/Binding.java: Likewise.
7027         * javax/naming/CannotProceedException.java: Likewise.
7028         * javax/naming/CommunicationException.java: Likewise.
7029         * javax/naming/CompositeName.java: Likewise.
7030         * javax/naming/CompoundName.java: Likewise.
7031         * javax/naming/ConfigurationException.java: Likewise.
7032         * javax/naming/Context.java: Likewise.
7033         * javax/naming/ContextNotEmptyException.java: Likewise.
7034         * javax/naming/InitialContext.java: Likewise.
7035         * javax/naming/InsufficientResourcesException.java: Likewise.
7036         * javax/naming/InterruptedNamingException.java: Likewise.
7037         * javax/naming/LimitExceededException.java: Likewise.
7038         * javax/naming/LinkException.java: Likewise.
7039         * javax/naming/LinkLoopException.java: Likewise.
7040         * javax/naming/LinkRef.java: Likewise.
7041         * javax/naming/MalformedLinkException.java: Likewise.
7042         * javax/naming/NameAlreadyBoundException.java: Likewise.
7043         * javax/naming/NameClassPair.java: Likewise.
7044         * javax/naming/NameNotFoundException.java: Likewise.
7045         * javax/naming/NameParser.java: Likewise.
7046         * javax/naming/NamingEnumeration.java: Likewise.
7047         * javax/naming/NamingSecurityException.java: Likewise.
7048         * javax/naming/NoInitialContextException.java: Likewise.
7049         * javax/naming/NoPermissionException.java: Likewise.
7050         * javax/naming/NotContextException.java: Likewise.
7051         * javax/naming/OperationNotSupportedException.java: Likewise.
7052         * javax/naming/PartialResultException.java: Likewise.
7053         * javax/naming/Reference.java: Likewise.
7054         * javax/naming/Referenceable.java: Likewise.
7055         * javax/naming/ReferralException.java: Likewise.
7056         * javax/naming/ServiceUnavailableException.java: Likewise.
7057         * javax/naming/SizeLimitExceededException.java: Likewise.
7058         * javax/naming/TimeLimitExceededException.java: Likewise.
7059         * javax/naming/directory/Attribute.java: Likewise.
7060         * javax/naming/directory/AttributeInUseException.java: Likewise.
7061         * javax/naming/directory/AttributeModificationException.java: Likewise.
7062         * javax/naming/directory/Attributes.java: Likewise.
7063         * javax/naming/directory/BasicAttribute.java: Likewise.
7064         * javax/naming/directory/BasicAttributes.java: Likewise.
7065         * javax/naming/directory/DirContext.java: Likewise.
7066         * javax/naming/directory/InitialDirContext.java: Likewise.
7067         * javax/naming/directory/InvalidAttributeIdentifierException.java:
7068         Likewise.
7069         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7070         * javax/naming/directory/InvalidAttributesException.java: Likewise.
7071         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7072         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7073         * javax/naming/directory/ModificationItem.java: Likewise.
7074         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7075         * javax/naming/directory/SchemaViolationException.java: Likewise.
7076         * javax/naming/directory/SearchControls.java: Likewise.
7077         * javax/naming/directory/SearchResult.java: Likewise.
7078         * javax/naming/event/EventContext.java: Likewise.
7079         * javax/naming/event/EventDirContext.java: Likewise.
7080         * javax/naming/event/NamespaceChangeListener.java: Likewise.
7081         * javax/naming/event/NamingEvent.java: Likewise.
7082         * javax/naming/event/NamingExceptionEvent.java: Likewise.
7083         * javax/naming/event/NamingListener.java: Likewise.
7084         * javax/naming/event/ObjectChangeListener.java: Likewise.
7085         * javax/naming/ldap/Control.java: Likewise.
7086         * javax/naming/ldap/ControlFactory.java: Likewise.
7087         * javax/naming/ldap/ExtendedRequest.java: Likewise.
7088         * javax/naming/ldap/ExtendedResponse.java: Likewise.
7089         * javax/naming/ldap/HasControls.java: Likewise.
7090         * javax/naming/ldap/InitialLdapContext.java: Likewise.
7091         * javax/naming/ldap/LdapContext.java: Likewise.
7092         * javax/naming/ldap/LdapReferralException.java: Likewise.
7093         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7094         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7095         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7096         * javax/naming/spi/DirObjectFactory.java: Likewise.
7097         * javax/naming/spi/DirStateFactory.java: Likewise.
7098         * javax/naming/spi/DirectoryManager.java: Likewise.
7099         * javax/naming/spi/InitialContextFactory.java: Likewise.
7100         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7101         * javax/naming/spi/NamingManager.java: Likewise.
7102         * javax/naming/spi/ObjectFactory.java: Likewise.
7103         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7104         * javax/naming/spi/ResolveResult.java: Likewise.
7105         * javax/naming/spi/Resolver.java: Likewise.
7106         * javax/naming/spi/StateFactory.java: Likewise.
7107
7108         * javax/naming/spi/NamingManager.java (ofb): Package private.
7109
7110 2002-11-21  Mark Wielaard  <mark@klomp.org>
7111
7112         * java/net/URL.java: Merge with Classpath (partly).
7113         * java/net/URLStreamHandler: Merge with Classpath.
7114
7115 2002-11-22  Michael Koch <konqueror@gmx.de>
7116
7117         * include/posix.h:
7118         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7119         * include/win32.h:
7120         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7121         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7122
7123 2002-11-21  Michael Koch <konqueror@gmx.de>
7124
7125         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7126         Only the new network functions should be in it.
7127
7128 2002-11-21  Michael Koch <konqueror@gmx.de>
7129
7130         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7131         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7132
7133 2002-11-21  Michael Koch <konqueror@gmx.de>
7134
7135         * java/nio/channels/AsynchronousCloseException.java,
7136         java/nio/channels/CancelledKeyException.java,
7137         java/nio/channels/ClosedByInterruptException.java,
7138         java/nio/channels/ConnectionPendingException.java,
7139         java/nio/channels/FileLockInterruptionException.java,
7140         java/nio/channels/IllegalSelectorException.java,
7141         java/nio/channels/NoConnectionPendingException.java,
7142         java/nio/channels/NonReadableChannelException.java,
7143         java/nio/channels/NonWritableChannelException.java,
7144         java/nio/channels/NotYetBoundException.java,
7145         java/nio/channels/NotYetConnectedException.java,
7146         java/nio/channels/OverlappingFileLockException.java,
7147         java/nio/channels/UnresolvedAddressException.java,
7148         java/nio/channels/UnsupportedAddressTypeException.java:
7149         New files.
7150         * Makefile.am (ordinary_java_source_files): Added new files.
7151         * Makefile.in: Regenerated.
7152
7153 2002-11-21  Michael Koch <konqueror@gmx.de>
7154
7155         * include/posix.h
7156         (_Jv_socket): New method.
7157         (_Jv_connect): New method.
7158         (_Jv_close): New method.
7159         (_Jv_platform_close_on_exec): Prefixed system function with "::".
7160         (_Jv_bind): New method.
7161         (_Jv_listen): New method.
7162         (_Jv_write): New method.
7163         (_Jv_read): New method.
7164         * include/win32.h
7165         (_Jv_socket): New method.
7166         (_Jv_connect): New method.
7167         (_Jv_close): New method.
7168         (_Jv_bind): New method.
7169         (_Jv_listen): New method.
7170         (_Jv_write): New method.
7171         (_Jv_read): New method.
7172         * java/net/natNetworkInterface.cc:
7173         Include platform.h, removed inclusion of socket.h
7174         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7175         ::close() by _Jv_close().
7176         * java/net/natPlainDatagramSocketImpl.cc:
7177         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7178         added some new lines to make code more readable.
7179         (create): Replaced ::socket() by _Jv_socket().
7180         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7181         * java/net/natPlainSocketImpl.cc:
7182         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7183         removed include of socket.h, removed some windows defines
7184         (now in include/win32.h).
7185         (create): Replaced ::socket() by _Jv_socket().
7186         (close): Replaced NATIVE_CLOSE() by _Jv_close().
7187         (write): Replaced ::read by _Jv_write().
7188         (read): Replaced ::read by _Jv_read().
7189
7190 2002-11-20  Michael Koch <konqueror@gmx.de>
7191
7192         * Makefile.am (ordinary_java_source_files):
7193         Added java/nio/channels/FileChannel.java.
7194         * Makefile.in: Regenerated.
7195
7196 2002-11-20  Michael Koch <konqueror@gmx.de>
7197
7198         * java/io/FileInputStream.java
7199         (getChannel): New method.
7200         * java/io/FileOutputStream.java
7201         (getChannel): New method.
7202         * java/net/ServerSocket.java
7203         (bind): Removed duplicate code and called another bind method instead.
7204         * java/nio/channels/SelectionKey.java
7205         (isValid): Removed wrong exception documentation.
7206         * java/nio/channels/ServerSocketChannel.java
7207         (accept): Added exception documentation.
7208         (open): Fixed typo, added exception documentation.
7209         * java/nio/channels/spi/AbstractSelectableChannel.java
7210         (implCloseChannel): Added exception documentation.
7211         (add): Reformated.
7212         (register): Added exception documentation.
7213
7214 2002-11-20  Andreas Jaeger  <aj@suse.de>
7215
7216         * configure: Regenerated with new libtool.m4.
7217
7218 2002-11-19  Tom Tromey  <tromey@redhat.com>
7219
7220         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7221         `referent'.
7222         (finalize_referred_to_object): Don't modify `referent' or `copy'
7223         fields.
7224         (add_to_hash): Correctly set `n->next' when updating list.
7225         * java/lang/ref/Reference.java (enqueue): Return false if already
7226         enqueued.
7227
7228 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
7229
7230         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7231         to function and function pointer declarations in accordance with
7232         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7233         based on whether __GCJ_JNI_IMPL__ has been defined or not.
7234         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7235         JNI function definitions.
7236
7237 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7238
7239         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7240         that was causing CoderResults to be cached, not WeakReferences
7241         to CoderResults.
7242
7243 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
7244
7245         * java/security/KeyStore.java (getInstance): Fix
7246         comment and throw IllegalArgumentException if
7247         given provider is null.
7248         (getInstance): New method for jdk1.4 compatibility.
7249
7250 2002-11-18  Michael Koch <konqueror@gmx.de>
7251
7252         * java/net/PlainSocketImpl.java: Fix imports.
7253
7254 2002-11-18  Michael Koch <konqueror@gmx.de>
7255
7256         * java/nio/channels/SelectionKey.java
7257         (isValid): Added exception documentation.
7258         * java/nio/channels/Selector.java
7259         (open): Declare "throws IOException".
7260
7261 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
7262
7263         * java/nio/charset/Charset.java
7264         (<clinit>): New method.
7265         (encode): Synchronize use of cached encoder object.
7266         (decode): Synchronize use of cached encoder object.
7267
7268 2002-11-18  Michael Koch <konqueror@gmx.de>
7269
7270         * gnu/java/nio/ByteBufferImpl.java,
7271         gnu/java/nio/CharBufferImpl.java,
7272         gnu/java/nio/DatagramChannelImpl.java,
7273         gnu/java/nio/DoubleBufferImpl.java,
7274         gnu/java/nio/FileChannelImpl.java,
7275         gnu/java/nio/FloatBufferImpl.java,
7276         gnu/java/nio/IntBufferImpl.java,
7277         gnu/java/nio/LongBufferImpl.java,
7278         gnu/java/nio/PipeImpl.java,
7279         gnu/java/nio/SelectionKeyImpl.java,
7280         gnu/java/nio/SelectorImpl.java,
7281         gnu/java/nio/SelectorProviderImpl.java,
7282         gnu/java/nio/ServerSocketChannelImpl.java,
7283         gnu/java/nio/ShortBufferImpl.java,
7284         gnu/java/nio/SocketChannelImpl.java,
7285         java/nio/DoubleBuffer.java,
7286         java/nio/FloatBuffer.java,
7287         java/nio/IntBuffer.java,
7288         java/nio/LongBuffer.java,
7289         java/nio/ShortBuffer.java,
7290         java/nio/channels/FileChannel.java: New files.
7291
7292 2002-11-18  Michael Koch <konqueror@gmx.de>
7293
7294         * Makefile.am (ordinary_java_source_files):
7295         Added java/nio/ReadOnlyBufferException.java and
7296         java/nio/channels/ClosedSelectorException.java.
7297         * Makefile.in: Regenerated.
7298
7299 2002-11-18  Michael Koch <konqueror@gmx.de>
7300
7301         * java/net/PlainSocketImpl.java: Reworked imports.
7302         * java/net/ServerSocket.java
7303         (ServerSocket): Create socket.
7304         * java/net/SocketAddress.java: Documentation added.
7305         * java/net/natPlainSocketImpl.cc: Reindented.
7306         * java/nio/ReadOnlyBufferException.java: New file
7307         * java/nio/channels/ClosedChannelException.java: Documentation added.
7308         * java/nio/channels/ClosedSelectorException.java: New file.
7309
7310 2002-11-17  Mark Wielaard  <mark@klomp.org>
7311
7312         * java/net/HttpURLConnection.java ((getPermission): Take port
7313         into consideration.
7314         (getErrorStream): Implement.
7315
7316 2002-11-17  Mark Wielaard  <mark@klomp.org>
7317
7318         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7319
7320 2002-11-16  Mark Wielaard  <mark@klomp.org>
7321
7322         Integrate work by Raif S. Naffah (raif@fl.net.au)
7323         * java/security/DummyKeyPairGenerator.java (clone): New method.
7324         * java/security/DummyMessageDigest.java (clone): New method.
7325         (engineUpdate): Now public.
7326         (engineReset): Likewise.
7327         (engineDigest): Likewise.
7328         (engineGetDigestLength): New method.
7329         * java/security/DummySignature.java (clone): New method.
7330         * java/security/KeyPairGenerator.java (provider): Now package private.
7331         (getInstance(String)): Use getInstance(String,Provider).
7332         (getInstance(String,String): Use getInstance(String,Provider)
7333         (getInstance(String,Provider): New method.
7334         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7335         * java/security/KeyPairGeneratorSpi.java (clone): New method.
7336         * java/security/MessageDigest.java (provider): Now package private.
7337         (getInstance(String): Use getInstance(String,Provider).
7338         (getInstance(String,String): Use getInstance(String,Provider)
7339         (getInstance(String,Provider): New method.
7340         * java/security/Provider.java (toCanonicalKey): New method.
7341         (get): New method that uses toCanonicalKey().
7342         (put): Use toCanonicalKey().
7343         (remove): Likewise.
7344         * java/security/Security.java (insertProviderAt): Provider index is one
7345         based, not zero based.
7346         (addProvider): Likewise.
7347         (removeProvider): Likewise.
7348         * java/security/Signature.java (provider): Now package private.
7349         (getInstance(String)): Use getInstance(String,Provider).
7350         (getInstance(String,String): Use getInstance(String,Provider)
7351         (getInstance(String,Provider): New method.
7352         (getInstance(String,String,Provider): Don't cast DummySignature.
7353
7354 2002-11-15  Tom Tromey  <tromey@redhat.com>
7355
7356         For PR libgcj/8593:
7357         * java/util/zip/GZIPInputStream.java (read): Check file size.
7358         Look in inflater for remaining input bytes.
7359         (read4): Added buf and offset arguments.
7360
7361 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
7362
7363         * java/applet/AppletContext.java: Fix typo and remove redundant
7364         modifiers.
7365
7366 2002-11-14  Tom Tromey  <tromey@redhat.com>
7367
7368         * java/lang/natRuntime.cc (insertSystemProperties): Set
7369         gnu.classpath.home.
7370
7371 2002-11-13  Michael Koch <konqueror@gmx.de>
7372
7373         * java/nio/ByteBuffer.java
7374         (allocate): New method.
7375         (wrap): New method.
7376         (put): New method.
7377         (get): New method.
7378
7379 2002-11-13  Michael Koch <konqueror@gmx.de>
7380
7381         * java/nio/channels/AlreadyConnectedException.java:
7382         Removed unneeded import.
7383         (AlreadyConnectedException): Documentation added.
7384         * java/nio/channels/Pipe.java
7385         (SinkChannel.SinkChannel): Documentation added.
7386         (SinkChannel.validOps): New method.
7387         (SourceChannel.SourceChannel): Documentation added.
7388         (SourceChannel.validOps): New method.
7389         (Pipe): Documentation added.
7390         (open): Documentation added.
7391         (SinkChannel.channel): Documentation added.
7392         (SourceChannel.channel): Documentation added.
7393         * java/nio/channel/SelectableChannel.java
7394         (SelectableChannel): Documentation added.
7395         (blockingLock): Documentation added.
7396         (configureBlocking):Documentation added.
7397         (isBlocking):Documentation added.
7398         (isRegistered):Documentation added.
7399         (keyFor):Documentation added.
7400         (provider):Documentation added.
7401         (register): Documentation added.
7402         (validOps): Documentation added.
7403         * jaba/nio/channels/SelectionKey.java
7404         (SelectionKey): Documentation added.
7405         (attach): Documentation added.
7406         (attachment): Documentation added.
7407         (isAcceptable): Documentation added.
7408         (isConnetable): Documentation added.
7409         (isReadable): Documentation added.
7410         (isWritable): Documentation added.
7411         (cancel): Documentation added.
7412         (channel): Documentation added.
7413         (interestOps): Documentation added.
7414         (isValid): Documentation added.
7415         (readyOps): Documentation added.
7416         (selector): Documentation added.
7417         * jaba/nio/channels/Selector.java
7418         (Selector): Documentation added.
7419         (open): Documentation added.
7420         (close): Documentation added.
7421         (isOpen): Documentation added.
7422         (keys): Documentation added.
7423         (provider): Documentation added.
7424         (select): Documentation added.
7425         (selectedKeys): Documentation added.
7426         (selectNow): Documentation added.
7427         (wakeup): Documentation added.
7428         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7429         (AbstractInterruptibleChannel): Documentation added.
7430         (opened): Default to true;
7431         (begin): Documentation added.
7432         (close): Set opened to false, documentation added.
7433         (isOpen): Documentation added.
7434         * java/nio/channels/spi/AbstractSelectionKey.java
7435         (AbstractSelectionKey): Documentation added.
7436         (cancel): Documentation added.
7437         (isValid): Documentation added.
7438         * java/nio/channels/spi/AbstractSelector.java
7439         (AbstractSelector): Documentation added.
7440         (begin): Documentation added.
7441         (close): Documentation added.
7442         (isOpen): Documentation added.
7443         (deregister): Documentation added.
7444         (end): Documentation added.
7445         (provider): Documentation added.
7446         (implCloseSelector): Documentation added.
7447         (register): Documentation added.
7448         * java/nio/channels/spi/SelectorProvider.java
7449         (SelectorProvider): Documentation added.
7450         (openDatagramChannel): Documentation added.
7451         (openPipe): Documentation added.
7452         (openSelector): Documentation added.
7453         (openServerSocketChannel): Documentation added.
7454         (openSocketChannel): Documentation added.
7455         (provider): Documentation added.
7456
7457 2002-11-12  Michael Koch <konqueror@gmx.de>
7458
7459         * java/nio/Buffer.java: Implemented.
7460         * java/nio/CharBuffer.java: New file.
7461         * java/nio/InvalidMarkException.java: New file.
7462         * java/nio/channels/DatagramChannel.java: Implemented.
7463         * java/nio/channels/ServerSocketChannel.java: Implemented.
7464         * java/nio/channels/SocketChannel.java: Implemented.
7465         * java/nio/channels/spi/AbstractChannel.java: Removed.
7466         * java/nio/channels/spi/AbstractSelectableChannel.java:
7467         Implemented.
7468         * java/nio/charset/Charset.java:
7469         Merge from Classpath.
7470         * java/nio/charset/CharsetDecoder.java: New file.
7471         * java/nio/charset/CharsetEncoder.java: New file.
7472         * java/nio/charset/CoderResult.java: New file.
7473         * Makefile.am (ordinary_java_source_files): Added new files.
7474         * Makefile.in: Regenerated.
7475
7476 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7477
7478         * gnu/java/nio/charset/ISO_8859_1.java,
7479         gnu/java/nio/charset/Provider.java,
7480         gnu/java/nio/charset/US_ASCII.java,
7481         gnu/java/nio/charset/UTF_16.java,
7482         gnu/java/nio/charset/UTF_16BE.java,
7483         gnu/java/nio/charset/UTF_16Decoder.java,
7484         gnu/java/nio/charset/UTF_16Encoder.java,
7485         gnu/java/nio/charset/UTF_16LE.java,
7486         gnu/java/nio/charset/UTF_8.java: New files.
7487
7488 2002-11-11  Michael Koch <konqueror@gmx.de>
7489
7490         * java/nio/charset/CharacterCodingException.java:
7491         This class must be public.
7492         * java/nio/charset/CoderMalfunctionError.java:
7493         This class must be public.
7494         * java/nio/charset/CodingErrorAction.java:
7495         This class must be public.
7496         * java/nio/charset/IllegalCharsetNameException.java:
7497         This class must be public, better implementation.
7498         * java/nio/charset/MalformedInputException.java:
7499         This class must be public, better implementation.
7500         * java/nio/charset/UnmappableCharacterException.java:
7501         This class must be public, better implementation.
7502         * java/nio/charset/UnsupportedCharsetException.java:
7503         This class must be public, better implementation.
7504
7505 2002-11-11  Michael Koch <konqueror@gmx.de>
7506
7507         * java/nio/BufferOverflowException.java,
7508         java/nio/BufferUnderflowException.java: New file.
7509         * Makefile.am (ordinary_java_source_files):
7510         Added new files.
7511         * Makefile.in: Regenerated.
7512
7513 2002-11-10  Tom Tromey  <tromey@redhat.com>
7514
7515         * java/awt/Container.java (validate): Use tree lock.
7516         (getComponent): Likewise.
7517         (getComponents): Likewise.
7518         (addImpl): Likewise.
7519         (remove): Likewise.
7520         (removeAll): Likewise.
7521         (processEvent): Fixed indentation.
7522         (getComponentAt): Use tree lock.
7523         (findComponentAt): Likewise.
7524         (removeNotify): Likewise.
7525         (isAncestorOf): Likewise.
7526         (list): Likewise.
7527         (visitChildren): Likewise.
7528         (findNextFocusComponent): Likewise.
7529         (addNotifyContainerChildren): Likewise.
7530         (getAccessibleChildrenCount): Likewise.
7531         (getAccessibleChild): Likewise.
7532
7533         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7534         (getSize): Likewise.
7535         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7536         (getSize): Likewise.
7537         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7538         (calcSize): Likewise.
7539         * java/awt/CardLayout.java (getSize): Use tree lock.
7540         (gotoComponent): Likewise.
7541         (layoutContainer): Likewise.
7542
7543         * java/io/natFileDescriptorWin32.cc (read): Handle case where
7544         count is 0.
7545         * java/io/natFileDescriptorPosix.cc (read): Handle case where
7546         count is 0.
7547
7548         * java/io/Externalizable.java, java/io/FilePermission.java,
7549         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7550         java/io/SerializablePermission.java, java/text/Format.java,
7551         java/util/AbstractMap.java, java/util/HashMap.java,
7552         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7553         versions from Classpath.
7554
7555 2002-11-10  Anthony Green  <green@redhat.com>
7556
7557         * java/util/jar/Attributes.java (Name): Fix name check.
7558
7559 2002-11-10  Mark Wielaard  <mark@klomp.org>
7560
7561         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7562         with getName() as message.
7563         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7564         type as message.
7565
7566         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7567         unused.
7568
7569 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
7570
7571         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7572         for Win32. JNICALL has been defined to __stdcall to be compatible
7573         with Sun's JDKs.
7574
7575 2002-11-10  Tom Tromey  <tromey@redhat.com>
7576
7577         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7578         (setRows): Check newRows, not rows.
7579
7580         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7581
7582 2002-11-09  Tom Tromey  <tromey@redhat.com>
7583
7584         * java/applet/Applet.java, java/applet/AppletContext.java,
7585         java/applet/AppletStub.java, java/applet/AudioClip.java,
7586         java/awt/CardLayout.java,
7587         java/awt/ContainerOrderFocusTraversalPolicy.java,
7588         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7589         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7590         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7591         java/awt/color/ICC_ColorSpace.java,
7592         java/awt/color/ICC_Profile.java,
7593         java/awt/color/ICC_ProfileGray.java,
7594         java/awt/color/ICC_ProfileRGB.java,
7595         java/awt/datatransfer/DataFlavor.java,
7596         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7597         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7598         New versions from Classpath.
7599         * Makefile.in: Rebuilt.
7600         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7601         ICC_ProfileRGB.
7602
7603         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7604         display policy.
7605
7606         * java/awt/List.java (processEvent): Added missing `else's.
7607
7608         * java/awt/Window.java (show): validate() before showing.  Make
7609         parent displayable.
7610         (isDisplayable): New method.
7611
7612 2002-11-07  Mark Wielaard  <mark@klomp.org>
7613
7614         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7615         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7616
7617         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7618         annotation.
7619         (loadClass): Take String as codebases.
7620         (getClassAnnotation): Use MyClassLoader annotations.
7621         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7622         call exportObject(this).
7623
7624         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7625         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7626         (setAnnotation): Don't set locBytesStream and locStream.
7627         (replaceObject): Removed.
7628         (flush): Don't test locStream.
7629         (getLocBytes): LikeWise.
7630         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7631         (leaseCache): New field.
7632         (dirty): Use leaseCache.
7633         (LeaseRecord): New inner class.
7634         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7635         explicitly call exportObject().
7636         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7637         false to communicate with Sun JDK130.
7638         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7639         * gnu/java/rmi/server/RMIObjectInputStream.java
7640         (UnicastConnectionManager): Removed field.
7641         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7642         Use UnicastServer.getExportedRef().
7643         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7644         (expireTime): Likewise.
7645         (CONNECTION_TIMEOUT): Likewise.
7646         (disconnect): Call sock.close().
7647         (isExpired): New method.
7648         (resetTime): Likewise.
7649         (run): Use do while loop and catch Exception for discardConnection().
7650         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7651         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7652         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7653         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7654         (exportObject): Use refcache.
7655         (unexportObject): Likewise.
7656         (getExportedRef): New method.
7657         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7658         constructor.
7659         (exportObject): Save manager.serverobj.
7660         (getStub): New method.
7661
7662 2002-11-07  Mark Wielaard  <mark@klomp.org>
7663
7664         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7665         (getByte): Likewise.
7666         (getShort): Likewise.
7667         (getInt): Likewise.
7668         (getLong): Likewise.
7669         (getFloat): Likewise.
7670         (getDouble): Likewise.
7671         (get): Likewise.
7672         (setChar): Likewise.
7673         (setByte): Likewise.
7674         (setShort): Likewise.
7675         (setInt): Likewise.
7676         (setLong): Likewise.
7677         (setFloat): Likewise.
7678         (setDouble): Likewise.
7679
7680 2002-11-07  Michael Koch <konqueror@gmx.de>
7681
7682         * java/awt/Choice.java,
7683         java/awt/Container.java,
7684         java/awt/GridBagLayout.java:
7685         Fixed documentation.
7686         * java/awt/peer/ContainerPeer.java:
7687         Reindented.
7688
7689 2002-11-07  Michael Koch <konqueror@gmx.de>
7690
7691         * java/awt/color/ICC_Profile.java:
7692         Added missing constants.
7693         * java/awt/color/ICC_ColorSpace.java
7694         (getMinValue): Added dummy implementation.
7695         (getMaxValue): Added dummy implementation.
7696         * java/awt/datatransfer/DataFlavor.java
7697         (imageFlavor): Added.
7698         (isMimeTypeEqual): Must be final.
7699         (getDefaultRepresentationClass): Must be non-static.
7700         (getDefaultRepresentationClassAsString): Must be non-static.
7701         * java/awt/dnd/DragSourceContext.java
7702         (dragExit): Corrected argument.
7703         (dragDropEnd): Corrected argument.
7704         * java/awt/dnd/DragSourceListener.java.java
7705         (dragExit): Corrected argument.
7706         (dragDropEnd): Corrected argument.
7707         * java/awt/font/TextHitInfo.java
7708         (toString): Added stubbed implementation.
7709         * java/awt/geom/PathIterator.java:
7710         The constants must be static.
7711         * java/awt/image/VolatileImage.java
7712         (IMAGE_INCOMPATIBLE): Fixed typo.
7713         * java/awt/image/renderable/RenderableImage.java
7714         (HINTS_OBSERVED): Must be static.
7715         * java/beans/BeanInfo.java:
7716         Constants must be final.
7717
7718 2002-11-06  Tom Tromey  <tromey@redhat.com>
7719
7720         From svens@it.uu.se.  For PR libgcj/8481.
7721         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7722
7723 2002-11-06  Tom Tromey  <tromey@redhat.com>
7724
7725         * jni.cc (array_from_valist): Assume that jlong won't be
7726         promoted.
7727
7728 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7729
7730         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7731         Return 20.
7732         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7733         Return 16.
7734
7735 2002-11-03  Tom Tromey  <tromey@redhat.com>
7736
7737         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7738         VMClassLoader, not findClass.
7739
7740 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7741
7742         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7743         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7744         _Jv_DetermineVTableIndex, to determine vtable offset.
7745         (_Jv_DetermineVTableIndex): Remove.
7746         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7747
7748         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7749
7750 2002-11-03  Tom Tromey  <tromey@redhat.com>
7751
7752         * java/nio/channels/AlreadyConnectedException.java: Extend
7753         IllegalStateException, per spec.
7754
7755 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7756
7757         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7758
7759 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7760
7761         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7762         size items.
7763
7764 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7765
7766         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7767         initial estimated size to avoid enlarge buffer frequently.
7768
7769 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7770
7771         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7772         ClassLoader when null.
7773         (ProxyType.hashCode): Loader null check no longer needed.
7774         (ProxyType.sameTypes): New method.
7775         (ProxyType.equals): Use new method.
7776
7777 2002-10-31  Mark Wielaard  <mark@klomp.org>
7778
7779         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7780         length of String.
7781         * java/net/URLEncoder.java (encode): Likewise.
7782
7783 2002-10-31  Mark Wielaard  <mark@klomp.org>
7784
7785         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7786         when stream is closed.
7787         (closeEntry): Likewise.
7788         (read): Likewise.
7789         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7790         ZipException when no entry active.
7791         (closeEntry): Likewise.
7792         (write): Likewise.
7793
7794 2002-11-02  Tom Tromey  <tromey@redhat.com>
7795
7796         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7797         * java/lang/natClass.cc (initializeClass): Don't return just
7798         because self==thread.
7799
7800         For PR java/8415:
7801         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7802         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7803
7804 2002-11-02  Andreas Schwab  <schwab@suse.de>
7805
7806         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7807         pass GCJFLAGS.
7808         (FLAGS_TO_PASS): Define.
7809         * Makefile.in: Regenerated.
7810
7811 2002-11-01  Michael Koch  <konqueror@gmx.de>
7812
7813         * java/nio/ByteOrder.java: New file.
7814         * java/nio/channels/DatagramChannel.java:
7815         (DatagramChannel): New constructor.
7816         * java/nio/channels/Pipe.java: New file.
7817         * java/nio/channels/SelectableChannel.java: New file.
7818         * java/nio/channels/SelectionKey.java: New file.
7819         * java/nio/channels/Selector.java: New file.
7820         * java/nio/channels/ServerSocketChannel.java
7821         (ServerSocketChannel): New constructor.
7822         * java/nio/channels/SocketChannel.java
7823         (SocketChannel): New constructor.
7824         * java/nio/channels/Pipe.java: New file.
7825         * java/nio/channels/spi/AbstractChannel.java: New file.
7826         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7827         * java/nio/channels/spi/AbstractSelectableChannel.java:
7828         License added
7829         (AbstractSelectableChannel): New stubbed method.
7830         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7831         * java/nio/channels/spi/AbstractSelector.java: New file.
7832         * java/nio/channels/spi/SelectorProvider.java: New file.
7833         * java/nio/charset/Charset.java: New file.
7834         * java/nio/charset/CoderMalfunctionError.java: New file.
7835         * java/nio/charset/CodingErrorAction.java: New file.
7836         * java/nio/charset/spi/CharsetProvider.java
7837         (charsetForName): Uncommented.
7838         * Makefile.am (java_native_source_files): Added new files.
7839         * Makefile.in: Regenerated.
7840
7841 2002-11-01  Michael Koch  <konqueror@gmx.de>
7842
7843         * java/net/InetAddress.java:
7844         (isAnyLocalAddress): Implemented.
7845         (isLoopbackAddress): Implemented, comment added.
7846         (isLinkLocalAddress): Implemented, documentation added.
7847         (isSiteLocalAddress): Implemented, documentation added.
7848         (isMCGlobal): Implemented, documentation added.
7849         (isMCNodeLocal): Implemented, documentation added.
7850         (isMCLinkLocal): Implemented, documentation added.
7851         (isMCSiteLocal): Implemented, documentation added.
7852         (isMCOrgLocal): Implemented, documentation added.
7853         (getHostName): Documentation added.
7854         (getCanonicalHostName): Implemented, documentation added.
7855         (getAddress): Documentation added.
7856         (hashCode): Documentation added.
7857         (equals): Documentation added.
7858         (toString): Fixed implementation.
7859         (getByAddress): Use Inet4Address and Inet6Address.
7860         (lookup): New linewrap.
7861         (getByName): SecurityManager check added, support Inet4Address and
7862         Inet6address, comments added.
7863         (getAllByName): SecurityManager check added, comments added.
7864         * java/net/Inet6Address.java:
7865         (Inet6Address): Initialize parent class with addr instead of null.
7866         * java/net/URL.java
7867         (equals): Documentation added.
7868         (getFile): Documentation added.
7869         (hashCode): Documentation added.
7870         * java/net/natInetAddress.cc:
7871         (aton): Fix IPv6 support.
7872         * java/net/natPlainDatagramSocketImpl.cc:
7873         (peek): Throw PortUnreachableException when suitable.
7874         (peekData): Throw PortUnreachableException when suitable.
7875         (send): Throw PortUnreachableException when suitable.
7876         (receive): Throw PortUnreachableException when suitable.
7877
7878 2002-10-27  Mark Wielaard  <mark@klomp.org>
7879
7880         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7881         argument.
7882         (readLeShort): Likewise and use byte[].
7883         (readLeInt): Likewise.
7884         (readEntries): Use new versions of methods and use byte[] for reading
7885         a complete zip entry. Add ZipFile name to exceptions.
7886         (entries): Add ZipFile name to exceptions.
7887         (getEntry): Likewise.
7888         (checkLocalHeader): Use new versions of methods and add ZipFile name
7889         to exceptions.
7890
7891 2002-10-31  Mark Anderson  <mark@panonet.net>
7892
7893         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7894         added
7895
7896 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7897
7898         * configure.in: Disable hash sync when not using threads.
7899         * configure: Regenerated.
7900
7901 2002-10-24  Tom Tromey  <tromey@redhat.com>
7902
7903         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7904         (_Jv_FindSymbolInExecutable): Removed argument name.
7905         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7906         java.library.path is set.
7907
7908         * gij.cc (help): Document --showversion.
7909         (version): Don't exit.
7910         (main): Handle --showversion.  Exit if --version given.
7911
7912 2002-10-23  Tom Tromey  <tromey@redhat.com>
7913
7914         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7915         (array_from_valist): Correctly handle promotion for jint, jlong,
7916         jfloat, and jdouble.
7917
7918 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7919
7920         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7921         GetFileAttributesEx( ) to find file length and modification times,
7922         as the latter is not present on Windows 95.
7923
7924 2002-10-21  Michael Koch  <konqueror@gmx.de>
7925
7926         * java/net/URL.java
7927         (URL): Activate SecurityManager checks.
7928         (equals): Use URLStreamHandler implementation instead of doing it
7929         alone. This allows special protocol stream handlers to change default
7930         behaviour.
7931         (hashCode): Use URLStreamHandler implementation instead of doing it
7932         alone. This allows special protocol stream handlers to change default
7933         behaviour.
7934         * java/net/URLStreamHandler.java
7935         (equals): Implemented default URL equality check.
7936         (hostsEqual): Implemented default URL equality check.
7937         (hashCode): Implemented default URL hashCode algorithm.
7938         * java/net/natPlainDatagramSocketImpl.cc:
7939         No lines longer then 80 characters.
7940
7941 2002-10-20  Adam Megacz <adam@xwt.org>
7942
7943         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7944         * configure.in: enabled hash sync on Win32
7945         * include/win32-threads.h (_Jv_ThreadId_t): added.
7946         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7947         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7948         removed some posix-isms, use Thread::sleep() instead of usleep,
7949         added code to clear bottom three bits if platform has a broken
7950         linker.
7951         * include/win32-threads.h (_Jv_ThreadId_t): added.
7952
7953 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7954
7955         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7956         runtime property "gnu.gcj.progname" containing the name used to
7957         invoke the current Java program (similar to argv[0] for C
7958         programs).
7959
7960 2002-10-15  Tom Tromey  <tromey@redhat.com>
7961
7962         Fix for PR libgcj/8234:
7963         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7964         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7965
7966 2002-10-13  Mark Wielaard  <mark@klomp.org>
7967
7968         * mauve-libgcj: Enable Mauve tests that compile now.
7969
7970 2002-10-11  Mark Wielaard  <mark@klomp.org>
7971
7972         Fix for PR libgcj/8142
7973         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7974         loading native modules.
7975
7976 2002-10-10  Michael Koch  <konqueror@gmx.de>
7977
7978         * javax/swing/AbstractListModel.java
7979         (getListDataListeners): New stubbed method.
7980         javax/swing/DefaultBoundedRangeModel.java
7981         (getChangeListeners): New stubbed method.
7982         javax/swing/DefaultSingleSelectionModel.java
7983         (getChangeListeners): New stubbed method.
7984
7985 2002-10-10  Michael Koch  <konqueror@gmx.de>
7986
7987         * gcj/.cvsignore: New file to ignore files generated during build.
7988         * include/.cvsignore: New file to ignore files generated during build.
7989
7990 2002-10-10  Michael Koch  <konqueror@gmx.de>
7991
7992         * java/net/HttpURLConnection.java
7993         (getPermission): New method.
7994         (getErrorStream): New stub method.
7995         (getHeaderFieldDate): New stub method.
7996         * java/net/Inet4Address.java:
7997         (isLinkLocalAddress): Typo fixed.
7998         * java/net/InetAddress.java:
7999         (readResolve): New stubbed method (for serialization).
8000         (isAnyLocalAddress): New stubbed method.
8001         (isLoopbackAddress): New stubbed method.
8002         (isLinkLocalAddress): New stubbed method.
8003         (isSiteLocalAddress): New stubbed method.
8004         (isMCGlobal): New stubbed method.
8005         (isMCNodeGlobal): New stubbed method.
8006         (isMCLinkLocal): New stubbed method.
8007         (isMCSiteLocal): New stubbed method.
8008         (isMCOrgLocal): New stubbed method.
8009         (getCanonicalHostName): New stubbed method.
8010         (getByAddress): Create instances of Inet4Address/Inet6Address,
8011         instead of InetAddress, documentation added.
8012         * java/net/MulticastSocket.java
8013         (getInterface): Removed FIXME.
8014         (getNetworkInterface): New method.
8015         (setNetworkInterface): New method.
8016         * java/net/NetworkInterface.java:
8017         (toString): Use property "line.separator" instead of "\n".
8018         * java/net/URLConnection.java
8019         (getContent): New stubbed method.
8020         * java/net/URLStreamHandler.java:
8021         (equals): New stubbed method.
8022         (hostsEqual): New stubbed method.
8023         (hashCode): New stubbed method.
8024         * java/net/natNetworkInterface.cc:
8025         (getRealNetworkInterfaces): Create Inet4Address object
8026         instead of InetAddress.
8027
8028 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8029
8030         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8031         unsigned long temporary to implement insn_iushr shifts.
8032
8033 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8034
8035         * configure.host [s390*-*]: Enable Java interpreter.
8036         Enable hash synchronization.  Add sysdeps dir.
8037         * sysdep/s390/locks.h: New file.
8038
8039 2002-10-06  Mark Wielaard  <mark@klomp.org>
8040
8041         * java/lang/Thread.java (setDaemon): Check startable_flag,
8042         not isAlive().
8043
8044 2002-10-07  Michael Koch  <konqueror@gmx.de>
8045
8046         * java/nio/Buffer.java: New stub file.
8047         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8048         of class Charset.
8049         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8050         * Makefile.in: Regenerated.
8051
8052 2002-10-07  Michael Koch  <konqueror@gmx.de>
8053
8054         * java/nio/ByteBuffer.java:
8055         removed import of not commited class.
8056
8057 2002-10-07  Michael Koch  <konqueror@gmx.de>
8058
8059         * java/nio/ByteBuffer.java,
8060         java/nio/MappedByteBuffer.java:
8061         New files, forgot to add these dummies.
8062         * Makefile.am (java_native_source_files): Added new files.
8063         * Makefile.in: Regenerated.
8064
8065 2002-10-07  Michael Koch  <konqueror@gmx.de>
8066
8067         * java/nio/channels/AlreadyConnectedException.java,
8068         java/nio/channels/ClosedChannelException.java,
8069         java/nio/channels/ReadableByteChannel.java,
8070         java/nio/channels/InterruptibleChannel.java,
8071         java/nio/channels/Channel.java,
8072         java/nio/channels/ByteChannel.java,
8073         java/nio/channels/GatheringByteChannel.java,
8074         java/nio/channels/ScatteringByteChannel.java,
8075         java/nio/channels/WritableByteChannel.java,
8076         java/nio/charset/CharacterCodingException.java,
8077         java/nio/charset/IllegalCharsetNameException.java,
8078         java/nio/charset/MalformedInputException.java,
8079         java/nio/charset/UnmappableCharacterException.java,
8080         java/nio/charset/UnsupportedCharsetException.java,
8081         java/nio/charset/spi/CharsetProvider.java: New file.
8082         These files are exceptions or interfaces,
8083         no real or abstract classes.
8084         * Makefile.am (java_native_source_files): Added new files.
8085         * Makefile.in: Regenerated.
8086
8087 2002-10-05  Michael Koch  <konqueror@gmx.de>
8088
8089         * java/net/InetAddress.java
8090         (getByAddress): Fixed documentation.
8091         (getByAddress): New method.
8092         * java/net/Inet4Address.java: New file.
8093         * java/net/URL.java
8094         (URL): Documentation added.
8095         (getContent): Documentation added.
8096         (getContent): New stubbed method.
8097         (getQuery): New method.
8098         (openConnection): Documentation added.
8099         (openStream): Documentation added.
8100         (setURLStreamHandlerFactory): Documentation added.
8101         * java/net/URI.java: New stub file.
8102         * Makefile.am
8103         (java_native_source_files): Added java/net/Inet4Address.java,
8104         java/net/Inet6Address.java and java/net/URI.java.
8105         * Makefile.in: Regenerated.
8106
8107 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8108
8109         * java/lang/ProtectionDomain.java (linesep): Remove field.
8110         (toString): Use System.getProperty("line.separator").
8111
8112 2002-10-04  Michael Koch  <konqueror@gmx.de>
8113
8114         * java/security/Identity.java: Added serialVersionUID.
8115         * java/security/KeyPair.java: Added serialVersionUID.
8116         * java/security/Provider.java: Added serialVersionUID.
8117         * java/security/SecureRandom.java: Added serialVersionUID.
8118         * java/security/SecureRandomSpi.java: Added serialVersionUID.
8119         * java/security/SignedObject.java: Added serialVersionUID.
8120         * java/security/cert/Certificate.java: Added serialVersionUID.
8121
8122 2002-10-04  Mark Wielaard <mark@klomp.org>
8123
8124         * java/security/Security.java: Use java.home or gnu.classpath.home
8125         to load providers.
8126         (loadProviders): Extra dir argument.
8127         (getProvider): Return null when not found.
8128
8129 2002-10-04  Mark Wielaard  <mark@klomp.org>
8130
8131         * java/lang/Throwable.java: Remerge with Classpath.
8132
8133 2002-10-04  Michael Koch  <konqueror@gmx.de>
8134
8135         * java/net/InetAddress.java:
8136         (isMulticastAddress): Added documentation.
8137         (getHostAddress): Added documentation.
8138         (toString): Added documentation.
8139         (getByAddress): Fixed documentation.
8140         (getByName): Added documentation.
8141         (getAllByName): Added documentation.
8142         (getLocalHost): Added documentation.
8143
8144 2002-10-04  Michael Koch  <konqueror@gmx.de>
8145
8146         * java/beans/beancontext/BeanContextChildSupport.java:
8147         Added serialVersionUID.
8148         * java/text/Collator.java: (compare): Made documentation HTML-aware.
8149         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8150         * javax/naming/Name.java: Added serialVersionUID.
8151
8152 2002-10-03  Adam Megacz <adam@xwt.org>
8153
8154         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8155         some functionality that isn't supported yet on WIN32.
8156
8157 2002-10-03  Tom Tromey  <tromey@redhat.com>
8158
8159         * Makefile.in: Rebuilt.
8160         * Makefile.am (awt_java_source_files): Added new files.
8161
8162 2002-10-03  Michael Koch  <konqueror@gmx.de>
8163
8164         * java/net/InetAddress.java
8165         (class InetAddress): Removed final keyword.
8166         (equals): Fixed typo.
8167         (getByAddress): New method.
8168
8169 2002-10-03  Michael Koch  <konqueror@gmx.de>
8170
8171         * java/awt/dnd/Autoscroll.java:
8172         New file, merge from Classpath.
8173         * java/awt/dnd/DragSourceAdapter.java:
8174         (dragExit): Fixed typos in argument type.
8175         (dragDropEnd): Fixed typos in argument type.
8176         * java/awt/dnd/DragSourceDropEvent.java:
8177         New file, merge from Classpath.
8178         * java/awt/dnd/DropTarget.java:
8179         Added stubs, merge from Classpath.
8180         * java/awt/dnd/DropTargetAdapter.java:
8181         New file, merge from Classpath.
8182         * java/awt/dnd/DropTargetContext.java:
8183         New file, merge from Classpath.
8184         * java/awt/dnd/DropTargetDragEvent.java:
8185         New file, merge from Classpath.
8186         * java/awt/dnd/DropTargetDropEvent.java:
8187         New file, merge from Classpath.
8188         * java/awt/dnd/DropTargetEvent.java:
8189         New file, merge from Classpath.
8190         * java/awt/dnd/DropTargetListener.java:
8191         New file, merge from Classpath.
8192         * java/awt/dnd/MouseDragGestureRecognizer.java:
8193         New file, merge from Classpath.
8194         * java/awt/dnd/peer/DropTargetContextPeer.java:
8195         New file, merge from Classpath.
8196
8197 2002-10-03  Michael Koch  <konqueror@gmx.de>
8198
8199         * java/net/DatagramPacket.java
8200         (setLength): Fixed typo and be HTML-aware.
8201         * java/net/InetSocketAddress.java
8202         (InetSocketAddress): Correct initialization of hostname, fixed typo.
8203         (equals): Added comment about equality of InetSocketAddress objects.
8204         * java/net/ServerSocket.java
8205         (accept): Added checks.
8206         (isClosed): New stubbed method.
8207         * java/net/SocketOptions.java: Reindention.
8208         * java/net/SocketPermission
8209         (SocketPermission): Documentation fixed.
8210
8211 2002-10-03  Michael Koch  <konqueror@gmx.de>
8212
8213         * java/net/DatagramSocket.java
8214         (receive): Check with SecurityManager AFTER the packet is received,
8215         check if connected to multicast address, documentation added.
8216         (send): Only check SecurityManager if connected, check address of
8217         packet to send.
8218         (connect): Implemented, documentation added.
8219         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8220         * java/net/InetSocketAddress.java
8221         (whole file): Reindented.
8222         (hostname): New attribute.
8223         (InetSocketAddress): Initialize new attribute.
8224         (getAddress): Documentation added.
8225         (getHostName): Documentation added.
8226         (getPort): Documentation added.
8227         (hashCode): Documentation added.
8228         (isUnresolved): Documentation added.
8229         (toString): Conform to output of JDK 1.4.1, documentation added.
8230         * java/net/MulticastSocket.java
8231         (joinGroup): Removed FIXME, documentation added.
8232         (leaveGroup): Removed FIXME, documentation added.
8233         (send): Documentation added.
8234         * java/net/Socket.java
8235         (inputShutdown): New variable.
8236         (outputShutdown): New variable.
8237         (Socket): Initialize new variables.
8238         (getRemoteSocketAddress): Check if connected.
8239         (shutdownInput): Set new variable.
8240         (shutdownOutput): Set new variable.
8241         (isConnected): New method.
8242         (isClosed): New method.
8243         (isInputShutdown): New method.
8244         (isOutputShutdown): New method.
8245         * java/net/URLStreamHandler.java
8246         (URLStreamHandler): New method.
8247         (openConnection): Added documentation.
8248         (parseURL): Added documentation.
8249         (getHostAddress): New method.
8250         (getDefaultPort): New method.
8251
8252 2002-10-02  Tom Tromey  <tromey@redhat.com>
8253
8254         * java/rmi/activation/ActivationDesc.java,
8255         java/rmi/activation/ActivationGroupDesc.java,
8256         java/rmi/activation/ActivationGroupID.java,
8257         java/rmi/activation/ActivationID.java: New versions from
8258         Classpath.
8259
8260 2002-09-30  Bo Thorsen  <bo@suse.de>
8261
8262         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8263
8264 2002-09-30  Tom Tromey  <tromey@redhat.com>
8265
8266         * java/io/ObjectInputStream.java (resolveProxyClass): New method
8267         from Classpath.
8268         * Makefile.in: Rebuilt.
8269         * Makefile.am (rmi_java_source_files): Added new files.
8270         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8271         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8272         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8273         Classpath.
8274         * gnu/java/rmi/dgc/DGCImpl.java,
8275         gnu/java/rmi/dgc/DGCImpl_Skel.java,
8276         gnu/java/rmi/dgc/DGCImpl_Stub.java,
8277         gnu/java/rmi/registry/RegistryImpl_Skel.java,
8278         gnu/java/rmi/registry/RegistryImpl_Stub.java,
8279         gnu/java/rmi/server/RMIHashes.java,
8280         gnu/java/rmi/server/RMIObjectInputStream.java,
8281         gnu/java/rmi/server/RMIObjectOutputStream.java,
8282         gnu/java/rmi/server/UnicastConnection.java,
8283         gnu/java/rmi/server/UnicastConnectionManager.java,
8284         gnu/java/rmi/server/UnicastRef.java,
8285         gnu/java/rmi/server/UnicastServer.java,
8286         gnu/java/rmi/server/UnicastServerRef.java,
8287         java/rmi/MarshalledObject.java,
8288         java/rmi/server/RMIClassLoader.java,
8289         java/rmi/server/RemoteObject.java,
8290         java/rmi/server/UnicastRemoteObject.java,
8291         java/security/SecureClassLoader.java: Merged from Classpath.
8292
8293 2002-09-29  Anthony Green  <green@redhat.com>
8294
8295         * java/lang/reflect/UndeclaredThrowableException.java: New file.
8296         Imported from GNU Classpath.
8297         * java/lang/reflect/natProxy.cc: New file.
8298         * java/lang/reflect/InvocationHandler.java: New file.  Imported
8299         from GNU Classpath.
8300         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
8301         Classpath.
8302         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8303         Classpath.
8304         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8305         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8306         New statics.
8307         * gcj/javaprims.h ("Java"): Add new classes.
8308         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8309         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8310         java/lang/reflect/Proxy$$ProxyType.h): And this.
8311         (inner_nat_headers): Add these new headers.
8312         (ordinary_java_source_files): Add new files.
8313         (nat_source_files): Add new file.
8314         * Makefile.in: Rebuilt.
8315
8316 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
8317
8318         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8319         a single configuration.
8320
8321 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8322
8323         * java/util/TimeZone.java (getDSTSavings): New method.
8324         Fixes PR libgcj/7786.
8325
8326 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8327
8328         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8329         to see if `the_method == 0' before looking up vtable index.
8330         Fixes PR libgcj/7709.
8331
8332 2002-09-25  Tom Tromey  <tromey@redhat.com>
8333
8334         * java/lang/natClassLoader.cc:
8335         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8336         * resolve.cc: Include NoClassDefFoundError.h, not
8337         ClassNotFoundException.h.
8338         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8339
8340         * defineclass.cc: Don't include ClassNotFoundException.h.
8341
8342         * resolve.cc: Include StringBuffer.
8343         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8344
8345         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8346         allocated but not initialized.
8347
8348 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8349
8350         Fix for PR libgcj/7766:
8351         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8352         (getNextEntry): Set it.
8353         (closeEntry): Likewise.
8354         (read): Likewise.
8355         (close): Likewise.
8356         (available): Use it.
8357
8358 2002-09-25  Michael Koch  <konqueror@gmx.de>
8359
8360         * java/net/DatagramSocket.java
8361         (DatagramSocket): Initialize new instance variables.
8362         (close): Reset new instance variables.
8363         (getLocalAddress): Remove unneeded SecurityManager usage.
8364         (getLocalPort): Check if socket is already bound.
8365         (isConnected): New method.
8366         (getInetAddress): Implemented.
8367         (getPort): Better Implementation, documentation fixed.
8368         (getRemoteSocketAddress): New method.
8369         * java/net/JarURLConnection.java
8370         (element): Typo fixed.
8371         (getMainAttributes): New method.
8372         (getAttributes): New method (stub only).
8373         (getManifest): New method (stub only).
8374         * java/net/NetPermission.java: Added serialVersionsUID.
8375         * java/net/Socket.java
8376         (connect): Check blocking mode of associated channel,
8377         documentation added.
8378         (getLocalSocketAddress): Better implementation.
8379         (getRemoteSocketAddress): Implemented.
8380         (isBound): New method.
8381         (setSendBufferSize): Documentation added.
8382         * java/net/SocketAddress.java: Added serialVersionsUID.
8383         * java/net/SocketPermission.java: Added serialVersionsUID.
8384         * java/net/URL.java
8385         (URL): Wrap for shorter lines, initialize new instance variables,
8386         documentation added.
8387         (equals): Check new instance variables too.
8388         (getContent): Documentation added.
8389         (getPath): Documentation added.
8390         (getAuthority): New method.
8391         (getHost): Documentation added.
8392         (getPort): Documentation added.
8393         (getDefaultPort): New method.
8394         (getProtocol): Documentation added.
8395         (getUserInfo): Documentation added.
8396         (set): Initialize new instance variables, documentation added.
8397         * java/net/URLStreamHandler.java
8398         (setURL): New method.
8399         * java/net/natPlainDatagramSocketImpl.cc
8400         (connect): Fix exception name.
8401         (disconnect): Fix exception name.
8402
8403 2002-09-25  Michael Koch  <konqueror@gmx.de>
8404
8405         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8406         * java/nio/channels/DatagramChannel.java:
8407         extends AbstractSelectableChannel
8408         * java/nio/channels/ServerSocketChannel.java:
8409         extends AbstractSelectableChannel
8410         * java/nio/channels/SocketChannel.java:
8411         extends AbstractSelectableChannel
8412         * Makefile.am (ordinary_java_source_files):
8413         java/nio/channels/spi/AbstractSelectableChannel.java added.
8414         * Makefile.in: Regenerated.
8415
8416 2002-09-25  Michael Koch  <konqueror@gmx.de>
8417
8418         * java/net/DatagramSocket.java
8419         (DatagramSocket): Exception documentation added.
8420         (bind): Exception documentation added, addded SecurityManager check,
8421         added SocketAddress type check.
8422         (getSoTimeout): Check impl.
8423         (receive): Fix SecurityManager check, check impl, documentation added.
8424         (send): Check channel mode, documentation added.
8425         (connect): New method.
8426         (disconnect): Implemented.
8427         (getLocalSocketAddress): New method.
8428         (getReceiveBufferSize): Check impl.
8429         (setReuseAddress): Check impl.
8430         (getReuseAddress): Check impl.
8431         (setBroadcast): Check impl.
8432         (getBroadcast): Check impl.
8433         (setTrafficClass): Check impl, Documentation cleared.
8434         (getTrafficClass): Check impl.
8435         (getSendBufferSize): Check impl.
8436         (setReceiveBufferSize): Check impl, documentation added.
8437         (setSendBufferSize): Documentation added.
8438         (setDatagramSocketImplFactory): New method.
8439         * java/net/HttpURLConnection.java
8440         (HTTP_INTERNAL_ERROR): The correct code is 500.
8441         (HTTP_NOT_IMPLEMENTED): Added new constant.
8442         (setFollowRedirects): Documentation added.
8443         (getInstanceFollowRedirects): New method.
8444         (setInstanceFollowRedirects): New method.
8445         (setRequestMethod): Documentation added.
8446         (getResponseCode): Documentation added.
8447         (getResponseMessage): Documentation added.
8448         * java/net/JarURLConnection.java
8449         (JarURLConnection): protected since JDK 1.4.
8450         (getJarEntry): java.io.IOException to IOException, documentation added.
8451         (getJarFile): Documentation added.
8452         * java/net/ServerSocket.java
8453         (ServerSocket): Private to public, exception added.
8454         (ServerSocket): java.io.IOException to IOException, documentation added.
8455         (bind): Check socket address type, documentation added.
8456         (bind): java.io.IOException to IOException, documentation added.
8457         (accept): Documentation added.
8458         (implAccept): Check ch is not non-blocking, documentation added.
8459         (setSoTimeout): Documentation fixed.
8460         (setReceiveBufferSize): Documentation added.
8461         * java/net/Socket.java
8462         (Socket): Documentation added.
8463         (bind): Documentation added.
8464         (connect): Check socket address type, documentation added.
8465         (getRemoteSocketAddress): New method.
8466         (getLocalSocketAddress): New method.
8467         (setSoLinger): Documentation added.
8468         (getReuseAddress): New method.
8469         (setReuseAddress): New method.
8470         (getTrafficClass): New method.
8471         (setTrafficClass): New method.
8472         * java/net/URLStreamHandler.java
8473         (openConnection): java.io.IOException to IOException.
8474         (parseURL): Documentation added.
8475         (sameFile): public to protected, documentation added.
8476         (setURL): Documentation added.
8477         * java/nio/IllegalBlockingModeException.java: New file.
8478         * Makefile.am (ordinary_java_source_files):
8479         added java/nio/IllegalBlockingModeException.java
8480         * Makefile.in: Regenerated.
8481
8482 2002-09-25  Michael Koch  <konqueror@gmx.de>
8483
8484         * java/net/DatagramPacket
8485         (DatagramPacket): Exception documentation added.
8486         (setData): Likewise.
8487         (setSocketAddress): Likewise.
8488         * java/net/DatagramSocketImpl.java
8489         (peek): Documentation addded.
8490         (peekData): Documentation addded.
8491         (send): Documentation addded.
8492         (receive): Documentation addded.
8493         (connect): New method.
8494         (disconnect): New method.
8495         (joinGroup): New abstract method.
8496         (leaveGroup): New abstract method.
8497         * java/net/InetSocketAddress.java
8498         (InetSocketAddress): Documentation added.
8499         (equals): final keyword added.
8500         (getAddress): final keyword added.
8501         (getHostName): final keyword added.
8502         (getPort): final keyword added.
8503         (hashCode): final keyword added.
8504         (isUnresolved): final keyword added.
8505         * java/net/MulticastSocket.java
8506         (MulticastSocket): Documentation added.
8507         (MulticastSocket): New method.
8508         (joinGroup): Documentation added.
8509         (joinGroup): New method.
8510         (leaveGroup): Documentation added.
8511         (leaveGroup): New method.
8512         (send): Documentation added.
8513         * java/net/NetworkInterface.java
8514         (getByName): Documentation added.
8515         (getByInetAddress): Documentation added.
8516         (getNetworkInterfaces): Documentation added.
8517         * java/net/PlainDatagramSocketImpl.java
8518         (connect): New method.
8519         (disconnect): New method.
8520         * java/net/SocketImpl.java
8521         (create): Documentation added.
8522         (shutdownInput): Convert public to protected, as it always was.
8523         (shutdownOutput): Convert public to protected, as it always was.
8524         * java/net/SocketOptions.java
8525         (whole file): Reintented.
8526         * java/net/URLClassLoader.java
8527         (URLClassLoader): SecurityManager check added, documentation added.
8528         (findResources): Documentation added.
8529         (findClass): Documentation added.
8530         (newInstance): More correct method arguments.
8531         * java/net/URLConnection.java
8532         (connect): Documentation added.
8533         (getContent): Documentation added.
8534         (getPermission): Documentation added.
8535         (getInputStream): Documentation added.
8536         (getOutputStream): Documentation added.
8537         (setDoInput): Throw correct exception, documentation added.
8538         (setDoOutput): Throw correct exception, documentation added.
8539         (setAllowUserInteraction): Throw correct exception, documentation added.
8540         (setUseCaches): Throw correct exception, documentation added.
8541         (setIfModifiedSince): Throw correct exception, documentation added.
8542         (setRequestProperty): Throw exception, documentation added.
8543         (addRequestProperty): Throw exception, documentation added.
8544         (getRequestProperty): Throw exception, documentation added.
8545         (getRequestProperties): Documentation added.
8546         (setContentHandlerFactory): Documentation added.
8547         (guessContentTypeFromName): protected to public.
8548         (setFileNameMap): Documentation added.
8549         * java/net/URLDecoder.java
8550         (URLDecoder): New method.
8551         (decode): Documentation added.
8552         (whole file): Reindented.
8553         * java/net/URLEncoder.java
8554         (encode): Documentation added.
8555         * java/net/natPlainDatagramSocketImpl.cc
8556         (connect): New method.
8557         (disconnect): New method.
8558         * javax/naming/RefAddr:
8559         (addrType): addrType was never final.
8560         (equals): Fix typo in method name.
8561         * javax/naming/BinaryRefAddr:
8562         (equals): Fix typo in method name.
8563
8564 2002-09-22  Tom Tromey  <tromey@redhat.com>
8565
8566         Fix for PR libgcj/6576:
8567         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8568         didn't find a given bundle.
8569         (getBundle): Don't require base bundle.
8570         (setParent): Removed old comment.
8571         (tryLocalBundle): Try components even if preceding components were
8572         empty.
8573
8574 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8575
8576         * Makefile.am (all-multi): Fix multilib parallel build.
8577
8578 2002-09-21  Michael Koch  <konqueror@gmx.de>
8579
8580         * java/net/Socket.java
8581         (sendUrgentData): New method.
8582         (getChannel): New method.
8583         * java/net/ServerSocket.java
8584         (getChannel): New method.
8585         (isBound): New method.
8586         * java/net/DatagramSocket.java
8587         (DatagramSocket): Two new methods.
8588         (bind): New method.
8589         (getChannel): New method.
8590         (isBound): New method.
8591         (send): Added newline to to make shorter lines.
8592         * java/net/PlainDatagramSocketImpl.java
8593         (mcastGrp): Added argument.
8594         (join): Use new mcastGrp.
8595         (leave): Use new mcastGrp.
8596         (joinGroup): New method.
8597         (leaveGroup): New method.
8598         * java/net/natPlainDatagramSocketImpl.cc
8599         (mcastGrp): Added argument, no yet really implemented.
8600         (getOption): Added newline for shorter lines.
8601         * java/net/natPlainSocketImpl.cc
8602         (read, setOption, getOption): Added newline for shorter lines.
8603
8604 2002-09-19  Tom Tromey  <tromey@redhat.com>
8605
8606        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8607        newly-created exception.
8608
8609 2002-09-18  Michael Koch  <konqueror@gmx.de>
8610
8611         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8612         java/util/regex/PatternSyntaxException.java:
8613         Merge with classpath, new files.
8614         * Makefile.am (core_java_source_files):
8615         Added java/util/regex/Matcher.java,
8616         java/util/regex/Pattern.java,
8617         java/util/regex/PatternSyntaxException.java
8618         * Makefile.in: Regenerated.
8619         * include/config.h.in: Added HAVE_NET_IF_H.
8620         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8621         Removed #if 0 ... #endif.
8622
8623 2002-09-17  Michael Koch  <konqueror@gmx.de>
8624
8625         * java/net/natNetworkInterface.cc:
8626         Removed unneed and yet wrong includes.
8627
8628 2002-09-17  Michael Koch  <konqueror@gmx.de>
8629
8630         * java/net/NetworkInterface.java: New file.
8631         * java/net/natNetworkInterface.java: New file.
8632         * configure.in: Added check for net/if.h.
8633         * configure: Regenerated.
8634         * Makefile.am
8635         (ordinary_java_source_files): Added NetworkInterface.java.
8636         (nat_source_files): Added natNetworkInterface.cc.
8637         * Makefile.in: Regenerated.
8638
8639 2002-09-16  Tom Tromey  <tromey@redhat.com>
8640
8641         * java/net/URLClassLoader.java (findClass): Code source for a
8642         class from a jar is not necessarily a jar: URL.
8643
8644 2002-09-16  Michael Koch  <konqueror@gmx.de>
8645
8646         * java/lang/AssertionError.java:
8647         Merge with classpath, fixes HTML.
8648         * java/rmi/server/LogStream.java:
8649         Merge with classpath, fixes some constants.
8650         * java/net/server/RemoteServer.java:
8651         Merge with classpath, adds serialVersionUID.
8652         * javax/naming/BinaryRefAddr.java:
8653         Merge with classpath, s/equal/equals/.
8654         * javax/naming/NamingException.java:
8655         Merge with classpath, fixed typo.
8656         * javax/naming/RefAddr.java:
8657         Merge with classpath, s/equal/equals/.
8658         * java/awt/Toolkit.java:
8659         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8660         and typo fixed.
8661
8662 2002-09-15  Adam Megacz <adam@xwt.org>
8663
8664         * java/net/natPlainSocketImpl.cc: fixed typo.
8665
8666 2002-09-15  Adam Megacz <adam@xwt.org>
8667
8668         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8669         which don't work on Win32 (yet).
8670
8671 2002-09-14  Adam Megacz <adam@xwt.org>
8672
8673         * java/net/natPlainDatagramSocket.cc: removed #include
8674         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8675         * include/win32.h: included definition for IP_TOS to satisfy
8676         natPlainDatagramSocket.cc
8677
8678 2002-09-13  Michael Koch  <konqueror@gmx.de>
8679
8680         * java/net/DatagramPacket.java (DatagramPacket):
8681         Added linebreak for 80 chars per line.
8682         * java/net/JarURLConection.java
8683         (getInputStreami, getJarEntry): Likewise.
8684         * java/net/SocketPErmission.java
8685         (SocketPermission class docu, implies): Likewise.
8686         * java/net/URLClassLoader.java (findResources): Likewise.
8687         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8688
8689 2002-09-13  Michael Koch  <konqueror@gmx.de>
8690
8691         * java/nio/channels/DatagramChannel.java,
8692         java/nio/channels/ServerSocketChannel.java
8693         java/nio/channels/SocketChannel.java:
8694         New dummy files to make java.net fully JDK 1.4 compatible
8695         * Makefile.am (ordinary_java_source_files): Added
8696         java/net/DatagramSocketImplFactory.java (long forgotten),
8697         java/nio/SocketChannel.java,
8698         java/nio/ServerSocketChannel.java,
8699         java/nio/DatagramChannel.java
8700         * Makefile.in: Regenrated.
8701
8702 2002-09-12  Michael Koch  <konqueror@gmx.de>
8703
8704         * java/net/DatagramSocketImpl.java
8705         (peekData): New method.
8706         * java/net/PlainDatagramSocketImpl.java
8707         (peekData): New method.
8708         * java/net/natPlainDatagramSocketImpl.cc
8709         (peekData): New method.
8710         * java/net/URLConnection
8711         (getPermission): New method.
8712         (addRequestProperty): New method.
8713         (getRequestProperties): New method.
8714         (guessContentTypeFromStream): New method, not really implemented.
8715         (URLConnection): Added/updated documentation.
8716         (connect): Added/updated documentation.
8717         (getURL): Added/updated documentation.
8718         (getContentLength): Added/updated documentation.
8719         (getContentType: Added/updated documentation.
8720         (getContentEncoding): Added/updated documentation.
8721         (getExpiration): Added/updated documentation.
8722         (getDate): Added/updated documentation.
8723         (getLastModified): Added/updated documentation.
8724         (getHeaderField): Added/updated documentation.
8725         (getHeaderFields): Added/updated documentation.
8726         (getHeaderFieldInt): Added/updated documentation.
8727         (getHeaderFieldDate): Added/updated documentation.
8728         (getHeaderFieldKey): Added/updated documentation.
8729         (getContent): Added/updated documentation.
8730         (getInputStream): Added/updated documentation.
8731         (getOutputStream): Added/updated documentation.
8732         (toString): Added/updated documentation.
8733         (setDoInput): Added/updated documentation.
8734         (getDoInput): Added/updated documentation.
8735         (setDoOutput): Added/updated documentation.
8736         (getDoOutput): Added/updated documentation.
8737         (setAllowUserInteraction): Added/updated documentation.
8738         (getAllowUserInteraction): Added/updated documentation.
8739         (setDefaultAllowUserInteraction): Added/updated documentation.
8740         (getDefaultAllowUserInteraction): Added/updated documentation.
8741         (setUseCaches): Added/updated documentation.
8742         (getUseCaches): Added/updated documentation.
8743         (setIfModifiedSince): Added/updated documentation.
8744         (getIfModifiedSince): Added/updated documentation.
8745         (getDefaultUseCaches): Added/updated documentation.
8746         (setDefaultUseCaches): Added/updated documentation.
8747         (setRequestProperty): Added/updated documentation.
8748         (getRequestProperty): Added/updated documentation.
8749         (setDefaultRequestProperty): Added/updated documentation.
8750         (getDefaultRequestProperty): Added/updated documentation.
8751         (setContentHandlerFactory): Added/updated documentation.
8752         (guessContentTypeFromName): Added/updated documentation.
8753         (getFileNameMap): Added/updated documentation.
8754         (setFileNameMap): Added/updated documentation.
8755
8756 2002-09-11  Michael Koch  <konqueror@gmx.de>
8757
8758         * java/net/Socket.java
8759         (Socket): protected to public (since JDK 1.4). Added @specnote.
8760         (bind): New method.
8761         (connect): Two new methods.
8762         (getKeepalive): Get correct socket option.
8763         (setKeepalive): Set correct socket option.
8764         (getOOBInline): New method.
8765         (setOOBInline): New method.
8766         * java/net/ServerSocket.java
8767         (bind): Two new methods.
8768         (getInetAddress): Reimplemented, catch exception.
8769         (getLocalSocketAddress): New method.
8770         (setReuseAddress): New method.
8771         (getReuseAdress): New method.
8772         (setReceiveBufferSize): New method.
8773         (getReceiveBufferSize): New method.
8774         (toString): Made string JDK 1.4 compliant.
8775
8776 2002-09-10  Michael Koch  <konqueror@gmx.de>
8777
8778         * java/net/SocketImpl.java
8779         (connect): New method.
8780         (supportsUrgentData): New method.
8781         (sendUrgentData): New method.
8782         * java/net/PlainSocketImpl.java
8783         (connect): One new method and two new implementation.
8784         (sendUrgentData): New method.
8785         * java/natPlainSocketImpl.cc
8786         (connect): Arguments changed, added support for timeouts.
8787         (getOption): Another __java_boolean to jboolean.
8788
8789 2002-09-07  Adam Megacz <adam@xwt.org>
8790
8791         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8792         definition of IP_TOS.
8793
8794 2002-09-04  Michael Koch  <konqueror@gmx.de>
8795
8796         * java/net/DatagramSocket.java
8797         (DatagramSocket): Added documentation.
8798         (close): Likewise.
8799         (getLocalAddress): Likewise.
8800         (getLocalPort): Likewise.
8801         (receive): Likewise.
8802         (send): Likewise.
8803         (setSoTimeout): Likewise.
8804         (connect): New method.
8805         (disconnect): New method.
8806         (getInetAddress): New method (FIXME)
8807         (getPort): New method.
8808         (setReuseAddress): New method.
8809         (getReuseAddress): New method.
8810         (setBroadcast): New method.
8811         (getBroadcast): New method.
8812         (setTrafficClass): New method.
8813         (getTrafficClass): New method.
8814         * java/net/MulticastSocket.java):
8815         (getTTL): Added @see in documentation.
8816         (setTTL): Added @see in documentation.
8817         (setLoopbackMode): New method.
8818         (getLoopbackMode): New method.
8819         * java/net/PlainSocketImpl.java:
8820         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8821         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8822         * java/net/PlainDatagramSocketImpl.java
8823         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8824         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8825         * java/net/natPlainSocketImpl.cc
8826         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8827         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8828         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8829         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8830         This should also fix SO_KEEPALIVE
8831         * java/net/natPlainDatagramSocketImpl.cc
8832         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8833         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8834         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8835         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8836
8837 2002-09-04  Michael Koch  <konqueror@gmx.de>
8838
8839         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8840         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8841         IP_MULTICAST_LOOP, IP_TOS
8842
8843 2002-09-03  Tom Tromey  <tromey@redhat.com>
8844
8845         * java/lang/Class.h (_getDeclaredMethod): Declare.
8846         (_getMethod): Now private.
8847         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8848         getDeclaredMethod.  Now returns NULL on failure.
8849         * java/lang/Class.java (_getDeclaredMethod): Declare.
8850         (getDeclaredMethod): No longer native; implements access checks.
8851
8852 2002-09-01  Mark Wielaard  <mark@klomp.org>
8853
8854         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8855         (sanitizeStack): Correctly reset unknown and interpreter counters,
8856         detect interpreter runtime frames.
8857         (demangleInterpreterMethod): New method.
8858         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8859         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8860         filling in addrs[].
8861
8862 2002-09-02  Michael Koch  <konqueror@gmx.de>
8863
8864         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8865         re-indented documentation.
8866
8867 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8868
8869         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8870         public, per 1.4 spec.  Fixes PR libgcj/7785.
8871
8872 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8873
8874         * Makefile.in: Rebuilt.
8875         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8876
8877 2002-08-29  Tom Tromey  <tromey@redhat.com>
8878
8879         * java/net/JarURLConnection.java (getCertificates): New method
8880         from Classpath.
8881         * java/net/URLClassLoader.java (URLClassLoader): Extends
8882         SecureClassLoader.
8883         (definePackage): New method from Classpath.
8884         (getPermissions): Likewise.
8885         (newInstance): Likewise.
8886         (findClass): Construct CodeSource for new class (from Classpath).
8887         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8888         methods.
8889         * java/net/URL.java (getUserInfo): New method.
8890         (set(String,String,int,String,String,String,String,String)): New
8891         method.
8892         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8893         (shutdownInput, shutdownOutput): Declare.
8894         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8895         Define.
8896         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8897         (getOption): Likewise.
8898         (shutdownInput): New method.
8899         (shutdownOutput): Likewise.
8900         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8901         keepalive.
8902         (getOption): Likewise.
8903         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8904         * java/net/Socket.java (setKeepAlive): New method.
8905         (getKeepAlive): Likewise.
8906         (shutdownInput, shutdownOutput): New methods.
8907
8908 2002-08-29  Michael Koch  <konqueror@gmx.de>
8909
8910         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8911         new methods are:
8912         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8913           address),
8914         DatagramPacket(byte[] buf, int length, SocketAddress address),
8915         void setSocketAddress(SocketAddress address)
8916         public SocketAddress getSocketAddress()
8917
8918 2002-08-29  Tom Tromey  <tromey@redhat.com>
8919
8920         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8921         ftruncate is missing.
8922         * configure, include/config.h.in: Rebuilt.
8923         * acconfig.h (HAVE_FTRUNCATE): Mention.
8924         * configure.in: Check for ftruncate.
8925
8926 2002-08-29  Tom Tromey  <tromey@redhat.com>
8927
8928         * include/jvm.h (struct _Jv_frame_info): New structure.
8929         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8930         java-interp.h.
8931         (lookupInterp): New method.
8932         (getAddrAsString): Use _Jv_frame_info.
8933         (dladdrLookup): Likewise.
8934         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8935         interpreted frame.
8936         (lookupInterp): Declare.
8937         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8938         (fillInStackTrace): Collect information on interpreted frames.
8939         Use _Jv_frame_info.
8940         * interpret.cc: Include Thread.h.
8941         (run): Create and push _Jv_MethodChain object.
8942         (_Jv_EndOfInterpreter): New global.
8943         * java/lang/Thread.java (interp_frame): New field.
8944         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8945         Include NameFinder.h.
8946
8947 2002-08-28  Tom Tromey  <tromey@redhat.com>
8948
8949         * java/lang/Class.h: Include Package.h.
8950         (Class::getProtectionDomain): Declare.
8951         (Class::getPackage): Declare.
8952
8953 2002-08-28  Michael Koch <konqueror@gmx.de>
8954
8955         * java/net/InetSocketAddress.java: Added some documentation and argument
8956         checks for the port numbers.
8957         * java/net/DatagramSocketImplFactory.java: New file.
8958
8959 2002-08-28  Michael Koch <konqueror@gmx.de>
8960
8961         * java/net/Authenticator.java: added some documentation.
8962
8963 2002-08-27  Tom Tromey  <tromey@redhat.com>
8964
8965         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8966         class.
8967         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8968
8969 2002-08-27  Michael Koch <konqueror@gmx.de>
8970
8971         * java/net/BindException.java,
8972         java/net/JarURLConnection.java,
8973         java/net/FileNameMap.java,
8974         java/net/HttpURLConnection.java,
8975         java/net/InetSocketAddress.java,
8976         java/net/DatagramPacket.java,
8977         java/net/DatagramSocket.java,
8978         java/net/DatagramSocketImpl.java,
8979         java/net/MulticastSocket.java,
8980         java/net/PasswordAuthentication.java,
8981         java/net/ServerSocket.java,
8982         java/net/Socket.java,
8983         java/net/URLClassLoader.java,
8984         java/net/URLConnection.java: add/update of some @since/@deprecated
8985
8986 2002-08-27  Tony Kimball <alk@pobox.com>
8987             Tom Tromey  <tromey@redhat.com>
8988
8989         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8990         define.
8991         (::close): Removed.
8992         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8993         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8994         (::close): Removed.
8995         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8996         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8997
8998 2002-08-25  Adam Megacz <adam@xwt.org>
8999
9000         * include/win32.h (getcwd): copied function declaration as
9001         temporary fix for header confusion.
9002
9003 2002-08-24  Mark Wielaard <mark@klomp.org>
9004
9005         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9006         (core_java_source_files): Add VMThrowable.java and NameFinder.java
9007         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9008         and natNameFinder.cc.
9009         * Makefile.in: Regenerate.
9010         * prims.cc: Use trace_enabled from VMThrowable.
9011         * name-finder.cc: Removed.
9012         * gcj/javaprims.h: Add class VMThrowable.
9013         * gnu/gcj/runtime/NameFinder.java: New file.
9014         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9015         * include/name-finder.h: Removed.
9016         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9017         method stackTraceString().
9018         (printStackTrace (PrintWriter)): Likewise.
9019         (stackTraceString): Complete rewrite of old printStackTrace using
9020         StringBuffer.
9021         (stackTraceStringBuffer): New helper method for stackTraceString().
9022         (fillInStackTrace): Delegate to VMTrowable.
9023         (getStackTrace): Likewise.
9024         (getStackTrace0): Removed.
9025         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9026         (setStackTrace): Copy given array.
9027         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9028         * java/lang/VMThrowable.java: New class.
9029         * java/lang/natVMThrowable.cc: New file.
9030
9031 2003-08-23  Michael Koch  <konqueror@gmx.de>
9032
9033         * java/net/URLConnection.java,
9034         java/netJarURLConnection.java,
9035         gnu/gcj/protocol/core/Connection.java,
9036         gnu/gcj/protocol/file/Connection.java,
9037         gnu/gcj/protocol/http/Connection.java: Added implementation of
9038         getHeaderFields().
9039
9040 2002-08-22  Tom Tromey  <tromey@redhat.com>
9041
9042         * gij.cc (help): Document -cp and -classpath.
9043         (main): Handle -classpath.
9044
9045 2002-08-21  Tom Tromey  <tromey@redhat.com>
9046
9047         * Makefile.in: Rebuilt.
9048         * Makefile.am (ordinary_java_source_files): Added
9049         SocketAddress.java, InetSocketAddress.java.
9050         * java/net/PortUnreachableException.java: Merged with Classpath.
9051         * java/net/SocketTimeoutException.java: Likewise.
9052         * java/net/URISyntaxException.java: Likewise.
9053         * java/net/SocketAddress.java: New class from Classpath.
9054         * java/net/InetSocketAddress.java: Likewise.
9055
9056 2003-08-21  Michael Koch  <konqueror@gmx.de>
9057
9058         * java/net/Authenticator.java: updated JDK 1.4
9059         * java/net/ContentHandler.java: updated JDK 1.4
9060
9061 2002-08-20  Michael Koch  <konqueror@gmx.de>
9062
9063         * java/net/URISyntaxException.java: New file.
9064         * java/net/SocketTimeoutException.java: New file.
9065         * java/net/PortUnreachableException.java: New file.
9066         * Makefile.am: Updated.
9067         * Makefile.in: Rebuilt.
9068
9069 2002-08-18  Mark Wielaard  <mark@klomp.org>
9070
9071         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9072         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9073         MessageDigestSpi (fixes Classpath bug #783).
9074
9075 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9076
9077         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9078         (startProcess): Allocate path for chdir in async-signal-safe way.
9079
9080 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9081
9082         Fix for PR libgcj/7570 and PR libgcj/7578:
9083         * java/lang/natPosixProcess.cc: Include java/io/File.h.
9084         (startProcess): Handle new `dir' argument.
9085         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9086         argument.
9087         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9088         argument.
9089         (startProcess): Likewise.
9090         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9091         argument.
9092         * java/lang/Runtime.java (execInternal): Added `dir' argument.
9093         (exec): Don't create new environment if ENV==null.  Pass DIR to
9094         execInternal.
9095         * java/lang/natRuntime.cc: Include java/io/File.h.
9096         (execInternal): Added `dir' argument.
9097
9098 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
9099
9100         * java/io/RandomAccessFile.java (skipBytes): Return number of
9101         bytes skipped.
9102
9103 2002-08-01  Mark Wielaard  <mark@klomp.org>
9104
9105         Reenable patch since shared library troubles on powerpc are solved:
9106         * gnu/java/security/provider/Gnu.java: Reference all implementation
9107         classes by using Class.getName().
9108         * gnu/java/security/der/DEREncodingException.java,
9109         gnu/java/security/provider/DERReader.java,
9110         gnu/java/security/provider/DERWriter.java,
9111         gnu/java/security/provider/DSAKeyPairGenerator.java,
9112         gnu/java/security/provider/DSAParameterGenerator.java,
9113         gnu/java/security/provider/DSAParameters.java,
9114         gnu/java/security/provider/DSASignature.java,
9115         gnu/java/security/provider/GnuDSAPrivateKey.java,
9116         gnu/java/security/provider/GnuDSAPublicKey.java,
9117         gnu/java/security/provider/MD5.java,
9118         gnu/java/security/util/Prime.java: New classes
9119         * Makefile.am (ordinary_java_source_files): Add above files.
9120         * Makefile.in: Regenerate.
9121         * gnu/java/security/provider/DefaultPolicy.java
9122         (getPermissions): Don't maintain static class variable of Permissions.
9123         * gnu/java/security/provider/SHA.java
9124         (engineUpdate): algorithm change.
9125         (engineDigest): algorithm change.
9126
9127 2002-08-09  Mark Wielaard  <mark@klomp.org>
9128
9129         * java/awt/image/MemoryImageSource.java: Change constructor to take
9130         int[] not byte[].
9131         * java/awt/Graphics2D.java: Uncomment methods that can now be
9132         compiled.
9133         * java/awt/GridBagLayout.java: New stub implementation.
9134         * javax/swing/text/html/HTML.java: Stub implementation.
9135         * javax/swing/text/html/parser/ParserDelegator.java: New stub
9136         implementation.
9137
9138         * Makefile.am: Add new files.
9139         * Makefile.in: Rebuilt.
9140
9141 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9142
9143         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9144         methods in Graphics2D.
9145
9146 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9147
9148         AWT/Swing merge from GNU Classpath.
9149
9150         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9151         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9152         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9153         java/awt/color/ProfileDataException.java,
9154         java/awt/CompositeContext.java, java/awt/Composite.java,
9155         java/awt/ContainerOrderFocusTraversalPolicy.java,
9156         java/awt/datatransfer/FlavorTable.java,
9157         java/awt/DefaultFocusTraversalPolicy.java,
9158         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9159         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9160         java/awt/dnd/DragGestureListener.java,
9161         java/awt/dnd/DragGestureRecognizer.java,
9162         java/awt/dnd/DragSourceAdapter.java,
9163         java/awt/dnd/DragSourceContext.java,
9164         java/awt/dnd/DragSourceDragEvent.java,
9165         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9166         java/awt/dnd/DragSourceListener.java,
9167         java/awt/dnd/DragSourceMotionListener.java,
9168         java/awt/dnd/DropTarget.java,
9169         java/awt/dnd/InvalidDnDOperationException.java,
9170         java/awt/dnd/peer/DragSourceContextPeer.java,
9171         java/awt/event/AWTEventListenerProxy.java,
9172         java/awt/event/MouseWheelEvent.java,
9173         java/awt/event/MouseWheelListener.java,
9174         java/awt/event/WindowFocusListener.java,
9175         java/awt/event/WindowStateListener.java,
9176         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9177         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9178         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9179         java/awt/geom/FlatteningPathIterator.java,
9180         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9181         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9182         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9183         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9184         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9185         java/awt/image/ImagingOpException.java,
9186         java/awt/image/RasterFormatException.java,
9187         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9188         java/awt/image/VolatileImage.java,
9189         java/awt/image/WritableRenderedImage.java,
9190         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9191         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9192         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9193         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9194         java/awt/PageAttributes.java, java/awt/print/Book.java,
9195         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9196         java/awt/print/Paper.java, java/awt/print/Printable.java,
9197         java/awt/print/PrinterAbortException.java,
9198         java/awt/print/PrinterException.java,
9199         java/awt/print/PrinterGraphics.java,
9200         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9201         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9202         java/awt/Stroke.java, java/awt/TexturePaint.java,
9203         javax/accessibility/AccessibleAction.java,
9204         javax/accessibility/AccessibleBundle.java,
9205         javax/accessibility/AccessibleComponent.java,
9206         javax/accessibility/AccessibleContext.java,
9207         javax/accessibility/AccessibleEditableText.java,
9208         javax/accessibility/AccessibleExtendedComponent.java,
9209         javax/accessibility/AccessibleExtendedTable.java,
9210         javax/accessibility/AccessibleHyperlink.java,
9211         javax/accessibility/AccessibleHypertext.java,
9212         javax/accessibility/AccessibleIcon.java,
9213         javax/accessibility/Accessible.java,
9214         javax/accessibility/AccessibleKeyBinding.java,
9215         javax/accessibility/AccessibleRelation.java,
9216         javax/accessibility/AccessibleRelationSet.java,
9217         javax/accessibility/AccessibleResourceBundle.java,
9218         javax/accessibility/AccessibleRole.java,
9219         javax/accessibility/AccessibleSelection.java,
9220         javax/accessibility/AccessibleState.java,
9221         javax/accessibility/AccessibleStateSet.java,
9222         javax/accessibility/AccessibleTable.java,
9223         javax/accessibility/AccessibleTableModelChange.java,
9224         javax/accessibility/AccessibleText.java,
9225         javax/accessibility/AccessibleValue.java,
9226         javax/swing/AbstractAction.java,
9227         javax/swing/AbstractButton.java,
9228         javax/swing/AbstractCellEditor.java,
9229         javax/swing/AbstractListModel.java,
9230         javax/swing/AbstractSet.java, javax/swing/Action.java,
9231         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9232         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9233         javax/swing/border/CompoundBorder.java,
9234         javax/swing/border/EmptyBorder.java,
9235         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9236         javax/swing/border/LineBorder.java,
9237         javax/swing/border/MatteBorder.java,
9238         javax/swing/border/TitledBorder.java,
9239         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9240         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9241         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9242         javax/swing/CellRendererPane.java,
9243         javax/swing/colorchooser/AbstractColorChooserPanel.java,
9244         javax/swing/colorchooser/ColorChooserComponentFactory.java,
9245         javax/swing/colorchooser/ColorSelectionModel.java,
9246         javax/swing/colorchooser/DefaultColorSelectionModel.java,
9247         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9248         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9249         javax/swing/DefaultBoundedRangeModel.java,
9250         javax/swing/DefaultButtonModel.java,
9251         javax/swing/DefaultCellEditor.java,
9252         javax/swing/DefaultCellRenderer.java,
9253         javax/swing/DefaultComboBoxModel.java,
9254         javax/swing/DefaultDesktopManager.java,
9255         javax/swing/DefaultFocusManager.java,
9256         javax/swing/DefaultListCellRenderer.java,
9257         javax/swing/DefaultListModel.java,
9258         javax/swing/DefaultListSelectionModel.java,
9259         javax/swing/DefaultSingleSelectionModel.java,
9260         javax/swing/DesktopManager.java,
9261         javax/swing/event/AncestorEvent.java,
9262         javax/swing/event/AncestorListener.java,
9263         javax/swing/event/CaretEvent.java,
9264         javax/swing/event/CaretListener.java,
9265         javax/swing/event/CellEditorListener.java,
9266         javax/swing/event/ChangeEvent.java,
9267         javax/swing/event/ChangeListener.java,
9268         javax/swing/event/DocumentEvent.java,
9269         javax/swing/event/DocumentListener.java,
9270         javax/swing/event/EventListenerList.java,
9271         javax/swing/event/HyperlinkEvent.java,
9272         javax/swing/event/HyperlinkListener.java,
9273         javax/swing/event/InternalFrameAdapter.java,
9274         javax/swing/event/InternalFrameEvent.java,
9275         javax/swing/event/InternalFrameListener.java,
9276         javax/swing/event/ListDataEvent.java,
9277         javax/swing/event/ListDataListener.java,
9278         javax/swing/event/ListSelectionEvent.java,
9279         javax/swing/event/ListSelectionListener.java,
9280         javax/swing/event/MenuDragMouseEvent.java,
9281         javax/swing/event/MenuDragMouseListener.java,
9282         javax/swing/event/MenuEvent.java,
9283         javax/swing/event/MenuKeyEvent.java,
9284         javax/swing/event/MenuKeyListener.java,
9285         javax/swing/event/MenuListener.java,
9286         javax/swing/event/MouseInputAdapter.java,
9287         javax/swing/event/MouseInputListener.java,
9288         javax/swing/event/PopupMenuEvent.java,
9289         javax/swing/event/PopupMenuListener.java,
9290         javax/swing/event/SwingPropertyChangeSupport.java,
9291         javax/swing/event/TableColumnModelEvent.java,
9292         javax/swing/event/TableColumnModelListener.java,
9293         javax/swing/event/TableModelEvent.java,
9294         javax/swing/event/TableModelListener.java,
9295         javax/swing/event/TreeExpansionEvent.java,
9296         javax/swing/event/TreeExpansionListener.java,
9297         javax/swing/event/TreeModelEvent.java,
9298         javax/swing/event/TreeModelListener.java,
9299         javax/swing/event/TreeSelectionEvent.java,
9300         javax/swing/event/TreeSelectionListener.java,
9301         javax/swing/event/TreeWillExpandListener.java,
9302         javax/swing/event/UndoableEditEvent.java,
9303         javax/swing/event/UndoableEditListener.java,
9304         javax/swing/filechooser/FileFilter.java,
9305         javax/swing/filechooser/FileSystemView.java,
9306         javax/swing/filechooser/FileView.java,
9307         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9308         javax/swing/Icon.java, javax/swing/ImageIcon.java,
9309         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9310         javax/swing/JApplet.java, javax/swing/JButton.java,
9311         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9312         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9313         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9314         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9315         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9316         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9317         javax/swing/JLayeredPane.java, javax/swing/JList.java,
9318         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9319         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9320         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9321         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9322         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9323         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9324         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9325         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9326         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9327         javax/swing/JTextField.java, javax/swing/JTextPane.java,
9328         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9329         javax/swing/JToolTip.java, javax/swing/JTree.java,
9330         javax/swing/JViewport.java, javax/swing/JWindow.java,
9331         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9332         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9333         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9334         javax/swing/MenuSelectionManager.java,
9335         javax/swing/MutableComboBoxModel.java,
9336         javax/swing/OverlayLayout.java,
9337         javax/swing/plaf/ActionMapUIResource.java,
9338         javax/swing/plaf/basic/BasicBorders.java,
9339         javax/swing/plaf/basic/BasicButtonUI.java,
9340         javax/swing/plaf/basic/BasicCheckBoxUI.java,
9341         javax/swing/plaf/basic/BasicDefaults.java,
9342         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9343         javax/swing/plaf/basic/BasicIconFactory.java,
9344         javax/swing/plaf/basic/BasicLabelUI.java,
9345         javax/swing/plaf/basic/BasicListUI.java,
9346         javax/swing/plaf/basic/BasicLookAndFeel.java,
9347         javax/swing/plaf/basic/BasicOptionPaneUI.java,
9348         javax/swing/plaf/basic/BasicPanelUI.java,
9349         javax/swing/plaf/basic/BasicRadioButtonUI.java,
9350         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9351         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9352         javax/swing/plaf/basic/BasicTextUI.java,
9353         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9354         javax/swing/plaf/basic/BasicTreeUI.java,
9355         javax/swing/plaf/basic/BasicViewportUI.java,
9356         javax/swing/plaf/BorderUIResource.java,
9357         javax/swing/plaf/ButtonUI.java,
9358         javax/swing/plaf/ColorChooserUI.java,
9359         javax/swing/plaf/ColorUIResource.java,
9360         javax/swing/plaf/ComboBoxUI.java,
9361         javax/swing/plaf/ComponentInputMapUIResource.java,
9362         javax/swing/plaf/ComponentUI.java,
9363         javax/swing/plaf/DesktopIconUI.java,
9364         javax/swing/plaf/DesktopPaneUI.java,
9365         javax/swing/plaf/DimensionUIResource.java,
9366         javax/swing/plaf/FileChooserUI.java,
9367         javax/swing/plaf/FontUIResource.java,
9368         javax/swing/plaf/IconUIResource.java,
9369         javax/swing/plaf/InputMapUIResource.java,
9370         javax/swing/plaf/InsetsUIResource.java,
9371         javax/swing/plaf/InternalFrameUI.java,
9372         javax/swing/plaf/LabelUI.java,
9373         javax/swing/plaf/ListUI.java,
9374         javax/swing/plaf/MenuBarUI.java,
9375         javax/swing/plaf/MenuItemUI.java,
9376         javax/swing/plaf/OptionPaneUI.java,
9377         javax/swing/plaf/PanelUI.java,
9378         javax/swing/plaf/PopupMenuUI.java,
9379         javax/swing/plaf/ProgressBarUI.java,
9380         javax/swing/plaf/RootPaneUI.java,
9381         javax/swing/plaf/ScrollBarUI.java,
9382         javax/swing/plaf/ScrollPaneUI.java,
9383         javax/swing/plaf/SeparatorUI.java,
9384         javax/swing/plaf/SliderUI.java,
9385         javax/swing/plaf/SplitPaneUI.java,
9386         javax/swing/plaf/TabbedPaneUI.java,
9387         javax/swing/plaf/TableHeaderUI.java,
9388         javax/swing/plaf/TableUI.java,
9389         javax/swing/plaf/TextUI.java,
9390         javax/swing/plaf/ToolBarUI.java,
9391         javax/swing/plaf/ToolTipUI.java,
9392         javax/swing/plaf/TreeUI.java,
9393         javax/swing/plaf/UIResource.java,
9394         javax/swing/plaf/ViewportUI.java,
9395         javax/swing/ProgressMonitorInputStream.java,
9396         javax/swing/ProgressMonitor.java,
9397         javax/swing/Renderer.java,
9398         javax/swing/RepaintManager.java,
9399         javax/swing/RootPaneContainer.java,
9400         javax/swing/Scrollable.java,
9401         javax/swing/ScrollPaneConstants.java,
9402         javax/swing/ScrollPaneLayout.java,
9403         javax/swing/SingleSelectionModel.java,
9404         javax/swing/SizeRequirements.java,
9405         javax/swing/SizeSequence.java,
9406         javax/swing/SwingConstants.java,
9407         javax/swing/SwingUtilities.java,
9408         javax/swing/table/AbstractTableModel.java,
9409         javax/swing/table/DefaultTableCellRenderer.java,
9410         javax/swing/table/DefaultTableColumnModel.java,
9411         javax/swing/table/DefaultTableModel.java,
9412         javax/swing/table/TableCellEditor.java,
9413         javax/swing/table/TableCellRenderer.java,
9414         javax/swing/table/TableColumn.java,
9415         javax/swing/table/TableColumnModel.java,
9416         javax/swing/table/TableModel.java,
9417         javax/swing/text/AbstractDocument.java,
9418         javax/swing/text/AttributeSet.java,
9419         javax/swing/text/BadLocationException.java,
9420         javax/swing/text/Caret.java,
9421         javax/swing/text/CharacterIterator.java,
9422         javax/swing/text/ComponentView.java,
9423         javax/swing/text/DefaultCaret.java,
9424         javax/swing/text/DefaultEditorKit.java,
9425         javax/swing/text/Document.java,
9426         javax/swing/text/EditorKit.java,
9427         javax/swing/text/Element.java,
9428         javax/swing/text/GapContent.java,
9429         javax/swing/text/JTextComponent.java,
9430         javax/swing/text/Keymap.java,
9431         javax/swing/text/MutableAttributeSet.java,
9432         javax/swing/text/PlainDocument.java,
9433         javax/swing/text/PlainEditorKit.java,
9434         javax/swing/text/Position.java,
9435         javax/swing/text/Segment.java,
9436         javax/swing/text/StyledDocument.java,
9437         javax/swing/text/StyledEditorKit.java,
9438         javax/swing/text/Style.java,
9439         javax/swing/text/TextAction.java,
9440         javax/swing/text/ViewFactory.java,
9441         javax/swing/text/View.java,
9442         javax/swing/Timer.java,
9443         javax/swing/ToggleButtonModel.java,
9444         javax/swing/ToolTipManager.java,
9445         javax/swing/tree/AbstractLayoutCache.java,
9446         javax/swing/tree/DefaultMutableTreeNode.java,
9447         javax/swing/tree/DefaultTreeCellEditor.java,
9448         javax/swing/tree/DefaultTreeCellRenderer.java,
9449         javax/swing/tree/DefaultTreeModel.java,
9450         javax/swing/tree/DefaultTreeSelectionModel.java,
9451         javax/swing/tree/ExpandVetoException.java,
9452         javax/swing/tree/FixedHeightLayoutCache.java,
9453         javax/swing/tree/MutableTreeNode.java,
9454         javax/swing/tree/RowMapper.java,
9455         javax/swing/tree/TreeCellEditor.java,
9456         javax/swing/tree/TreeCellRenderer.java,
9457         javax/swing/tree/TreeModel.java,
9458         javax/swing/tree/TreeNode.java,
9459         javax/swing/tree/TreePath.java,
9460         javax/swing/tree/TreeSelectionModel.java,
9461         javax/swing/tree/VariableHeightLayoutCache.java,
9462         javax/swing/UIDefaults.java,
9463         javax/swing/UIManager.java,
9464         javax/swing/undo/AbstractUndoableEdit.java,
9465         javax/swing/undo/CannotRedoException.java,
9466         javax/swing/undo/CannotUndoException.java,
9467         javax/swing/undo/CompoundEdit.java,
9468         javax/swing/undo/StateEditable.java,
9469         javax/swing/undo/StateEdit.java,
9470         javax/swing/undo/UndoableEdit.java,
9471         javax/swing/undo/UndoableEditSupport.java,
9472         javax/swing/undo/UndoManager.java,
9473         javax/swing/UnsupportedLookAndFeelException.java,
9474         javax/swing/ViewportLayout.java,
9475         javax/swing/WindowConstants.java: New files, from GNU Classpath.
9476
9477         * java/awt/ActiveEvent.java,
9478         java/awt/Adjustable.java, java/awt/AWTError.java,
9479         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9480         java/awt/AWTException.java, java/awt/AWTPermission.java,
9481         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9482         java/awt/Color.java, java/awt/Component.java,
9483         java/awt/ComponentOrientation.java, java/awt/Container.java,
9484         java/awt/datatransfer/MimeTypeParseException.java,
9485         java/awt/datatransfer/Transferable.java,
9486         java/awt/datatransfer/UnsupportedFlavorException.java,
9487         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9488         java/awt/event/ActionListener.java,
9489         java/awt/event/AdjustmentEvent.java,
9490         java/awt/event/AdjustmentListener.java,
9491         java/awt/event/AWTEventListener.java,
9492         java/awt/event/ComponentAdapter.java,
9493         java/awt/event/ComponentEvent.java,
9494         java/awt/event/ComponentListener.java,
9495         java/awt/event/ContainerAdapter.java,
9496         java/awt/event/ContainerEvent.java,
9497         java/awt/event/ContainerListener.java,
9498         java/awt/event/FocusAdapter.java,
9499         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9500         java/awt/event/HierarchyBoundsAdapter.java,
9501         java/awt/event/HierarchyBoundsListener.java,
9502         java/awt/event/HierarchyEvent.java,
9503         java/awt/event/HierarchyListener.java,
9504         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9505         java/awt/event/InputMethodListener.java,
9506         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9507         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9508         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9509         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9510         java/awt/event/MouseListener.java,
9511         java/awt/event/MouseMotionAdapter.java,
9512         java/awt/event/MouseMotionListener.java,
9513         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9514         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9515         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9516         java/awt/event/WindowListener.java, java/awt/Font.java,
9517         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9518         java/awt/geom/Ellipse2D.java,
9519         java/awt/geom/IllegalPathStateException.java,
9520         java/awt/geom/Line2D.java,
9521         java/awt/geom/NoninvertibleTransformException.java,
9522         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9523         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9524         java/awt/geom/RoundRectangle2D.java,
9525         java/awt/GraphicsConfiguration.java,
9526         java/awt/IllegalComponentStateException.java,
9527         java/awt/image/IndexColorModel.java,
9528         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9529         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9530         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9531         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9532         java/awt/MenuItem.java, java/awt/PaintContext.java,
9533         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9534         java/awt/Polygon.java, java/awt/PrintGraphics.java,
9535         java/awt/PrintJob.java, java/awt/Rectangle.java,
9536         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9537         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9538         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9539
9540         * java/awt/im/spi/InputMethod.java,
9541         java/awt/im/spi/InputMethodContext.java,
9542         java/awt/im/spi/InputMethodDescriptor.java,
9543         java/awt/image/renderable/ContextualRenderedImageFactory.java,
9544         java/awt/image/renderable/ParameterBlock.java,
9545         java/awt/image/renderable/RenderContext.java,
9546         java/awt/image/renderable/RenderableImage.java,
9547         java/awt/image/renderable/RenderableImageOp.java,
9548         java/awt/image/renderable/RenderableImageProducer.java,
9549         java/awt/image/renderable/RenderedImageFactory.java: New files from
9550         classpath.
9551
9552         * gnu/java/awt/EventModifier.java,
9553         gnu/java/awt/image/ImageDecoder.java,
9554         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9555
9556         * gnu/awt/xlib/XGraphicsConfiguration.java,
9557         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9558         API.
9559
9560         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9561         GNU Classpath.
9562
9563         * Makefile.am: Add new files.
9564         * Makefile.in: Rebuilt.
9565
9566 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9567
9568         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9569         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9570         findResource, getResources, findResources): Add javadoc from classpath.
9571         (getSystemResources): Implemented.
9572
9573 2002-08-01  Mark Wielaard  <mark@klomp.org>
9574
9575         Revert patch that breaks libgcj shared library on powerpc:
9576         * gnu/java/security/provider/Gnu.java: Reverse referencing all
9577         implementation classes by using Class.getName(). Uses Strings again.
9578         * gnu/java/security/der/DEREncodingException.java,
9579         gnu/java/security/provider/DERReader.java,
9580         gnu/java/security/provider/DERWriter.java,
9581         gnu/java/security/provider/DSAKeyPairGenerator.java,
9582         gnu/java/security/provider/DSAParameterGenerator.java,
9583         gnu/java/security/provider/DSAParameters.java,
9584         gnu/java/security/provider/DSASignature.java,
9585         gnu/java/security/provider/GnuDSAPrivateKey.java,
9586         gnu/java/security/provider/GnuDSAPublicKey.java,
9587         gnu/java/security/provider/MD5.java,
9588         gnu/java/security/util/Prime.java: Removed.
9589         * Makefile.am (ordinary_java_source_files): Remove above files.
9590         * Makefile.in: Regenerate.
9591         * gnu/java/security/provider/DefaultPolicy.java
9592         (getPermissions): Revert to maintaining static class variable of
9593         Permissions.
9594         * gnu/java/security/provider/SHA.java
9595         (engineUpdate): Revert algorithm change.
9596         (engineDigest): Revert algorithm change.
9597
9598 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9599
9600         * configure.host: Add SH support.
9601         * sysdep/sh/locks.h: New file.
9602
9603 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9604
9605         * java/awt/Frame.java (Frame): Remove println calls.
9606
9607 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9608
9609         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9610         * configure: Rebuilt.
9611
9612 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9613
9614         * sysdep/powerpc/locks.h: Formatting.
9615         (_LARX): Define.
9616         (_STCX): Define.
9617         (compare_and_swap): Use _LARX and _STCX.
9618         (compare_and_swap_release): Likewise.
9619
9620 2002-07-26  Tom Tromey  <tromey@redhat.com>
9621
9622         * java/net/Authenticator.java: New version from Classpath.
9623         * java/net/DatagramSocketImpl.java: New version from Classpath.
9624
9625 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9626
9627         * configure.host: Add powerpc64*-* entry.
9628
9629 2002-07-26  Tom Tromey  <tromey@redhat.com>
9630
9631         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9632         fcntl.h.
9633
9634 2002-07-24  Tom Tromey  <tromey@redhat.com>
9635
9636         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9637         argument to _load.
9638
9639 2002-07-24  Tom Tromey  <tromey@redhat.com>
9640             Tony Kimball <alk@pobox.com>
9641
9642         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9643         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9644         * java/io/RandomAccessFile.java (setLength): New method.
9645         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9646         * java/io/FileDescriptor.java (setLength): New method.
9647
9648 2002-07-24  Mark Wielaard  <mark@klomp.org>
9649
9650         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9651         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9652         field call setAccessible(true).
9653         (setByteField): Likewise.
9654         (setCharField): Likewise.
9655         (setDoubleField): Likewise.
9656         (setFloatField): Likewise.
9657         (setIntField): Likewise.
9658         (setLongField): Likewise.
9659         (setShortField): Likewise.
9660         (setObjectField): Likewise.
9661
9662 2002-07-24  Tom Tromey  <tromey@redhat.com>
9663
9664         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9665         use toString() to format array element.
9666
9667 2002-07-23  Mark Wielaard  <mark@klomp.org>
9668
9669         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9670         MessageDigestSpi (fixes Classpath bug #783).
9671
9672 2002-07-21  Mark Wielaard  <mark@klomp.org>
9673
9674         * gnu/java/security/provider/Gnu.java: Reference all implementation
9675         classes by using Class.getName().
9676
9677 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9678
9679         * java/lang/ieeefp.h: Add x86-64 support.
9680         * configure.in: Likewise.
9681         * configure.host: Likewise.
9682         * configure: Regenerated.
9683         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9684
9685 2002-07-16  Mark Wielaard  <mark@klomp.org>
9686
9687         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9688         (whitespaceChars): call resetChar().
9689
9690 2002-07-15  Tom Tromey  <tromey@redhat.com>
9691
9692         * Makefile.in: Rebuilt.
9693         * Makefile.am (awt_java_source_files): Added new files.
9694         * java/beans/ExceptionListener.java: Merged with Classpath.
9695         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9696         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9697         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9698         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9699         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9700         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9701         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9702
9703 2002-07-14  Mark Wielaard  <mark@klomp.org>
9704
9705         * gnu/java/security/der/DEREncodingException.java,
9706         gnu/java/security/provider/DERReader.java,
9707         gnu/java/security/provider/DERWriter.java,
9708         gnu/java/security/provider/DSAKeyPairGenerator.java,
9709         gnu/java/security/provider/DSAParameterGenerator.java,
9710         gnu/java/security/provider/DSAParameters.java,
9711         gnu/java/security/provider/DSASignature.java,
9712         gnu/java/security/provider/GnuDSAPrivateKey.java,
9713         gnu/java/security/provider/GnuDSAPublicKey.java,
9714         gnu/java/security/provider/MD5.java,
9715         gnu/java/security/util/Prime.java: New files from Classpath.
9716         * Makefile.am (ordinary_java_source_files): Add new files.
9717         * Makefile.in: Regenerate.
9718
9719 2002-07-14  C. Brian Jones <cbj@gnu.org>
9720
9721         * gnu/java/security/provider/DefaultPolicy.java
9722         (getPermissions): do not maintain static class variable of
9723         Permissions
9724         * gnu/java/security/provider/SHA.java
9725         (engineUpdate): algorithm change
9726         (engineDigest): algorithm change
9727
9728 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9729
9730         For PR libgcj/7292:
9731         * java/lang/Character.java (toString(char)): Now static.
9732
9733 2002-07-12  Mark Wielaard  <mark@klomp.org>
9734
9735         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9736         (getStackTrace0): new method.
9737         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9738         (printStackTrace(PrintWriter)): replace with pure java implementation.
9739         (printRawStackTrace): removed.
9740         (getStackTrace0): new method.
9741         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9742         * gcj/javaprims.h: regenerate class list.
9743         * include/name-finder.h (lookup): new returns StackTraceElement*.
9744         (method_name, file_name): fields removed.
9745         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9746         (~_Jv_name_finder): close new descriptors.
9747         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9748         (createStackTraceElement): new method.
9749         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9750
9751 2002-07-10  Tom Tromey  <tromey@redhat.com>
9752
9753         * configure: Rebuilt.
9754         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9755
9756 2002-07-08  Mark Wielaard  <mark@klomp.org>
9757
9758         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9759         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9760         java.sql.DatabaseMetaData.TestJdbc20
9761
9762 2002-07-05  Tony Kimball  <alk@pobox.com>
9763
9764         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9765
9766 2002-07-04  Tom Tromey  <tromey@redhat.com>
9767             Jeff Sturm  <jsturm@one-point.com>
9768
9769         Fix for PR libgcj/7060:
9770         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9771         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9772         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9773         * java/lang/Class.java (getMethod): New Java implementation;
9774         complies with spec.
9775         (_getMethod): New native method.
9776
9777 2002-07-02  Tom Tromey  <tromey@redhat.com>
9778             David Hovemeyer  <daveho@cs.umd.edu>
9779
9780         * java/text/ChoiceFormat.java
9781         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9782         in check loop.
9783         * java/text/MessageFormat.java
9784         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9785         to MessageFormat.
9786
9787 2002-07-01  Tom Tromey  <tromey@redhat.com>
9788
9789         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9790         StringTokenizer on null string.  For PR libgcj/7180.
9791         From daveho@cs.umd.edu.
9792
9793 2002-06-24  Tom Tromey  <tromey@redhat.com>
9794
9795         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9796         (IntegerClass): Likewise.
9797         * java/lang/natClass.cc (CloneableClass): Removed.
9798         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9799         ConstructorClass): Likewise.
9800         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9801         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9802         SerializableClass): Likewise.
9803         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9804         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9805         LongClass, FloatClass, DoubleClass): Likewise.
9806
9807         * verify.cc (branch_prepass): Updated for change to exception
9808         handler type.
9809         (verify_instructions_0): Likewise.
9810         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9811         (handleExceptionTableEntry): Updated for change to exception
9812         handler type.
9813         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9814         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9815         (union _Jv_InterpPC): New.
9816         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9817         (class _Jv_InterpMethod): Added new `prepared' field.
9818         (class _Jv_InterpMethod): Added `compile' method.  Removed
9819         `continue1' and `find_exception'.  Changed arguments to `run'.
9820         * interpret.cc (union insn_slot): New.
9821         (find_exception): Removed.
9822         (run_normal): Removed most logic.
9823         (run_synch_object): Likewise; also, use JvSynchronize.
9824         (run_synch_class): Likewise.
9825         (run): Removed.
9826         (continue1): Renamed as `run'.  Compile bytecode if required.
9827         Add new code to allow refinement of direct-threaded code at
9828         runtime.  Handle exceptions.
9829         (SAVE_PC): Removed.
9830         (compile): New method.
9831         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9832         (NULLARRAYCHECK): Don't use SAVE_PC.
9833         (pc_t): New typedef.
9834         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9835         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9836
9837 2002-06-23  Tom Tromey  <tromey@redhat.com>
9838
9839         * configure: Rebuilt.
9840         * configure.in (INTERPRETER): New subst.
9841         (AM_RUNTESTFLAGS): Don't subst.
9842
9843         * Makefile.in: Rebuilt.
9844         * Makefile.am ($(srcdir)/java/lang/Object.h,
9845         $(srcdir)/java/lang/Class.h): Added dummy targets.
9846
9847 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9848
9849         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9850
9851         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9852         java/sql/Savepoint.java: New files.
9853         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9854         java/sql/Blob.java, java/sql/CallableStatement.java,
9855         java/sql/Clob.java, java/sql/Connection.java,
9856         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9857         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9858         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9859         java/sql/Ref.java, java/sql/ResultSet.java,
9860         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9861         java/sql/SQLException.java, java/sql/SQLInput.java,
9862         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9863         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9864         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9865         (JDK 1.4) specification.
9866         * javax/sql/ConnectionEvent.java,
9867         javax/sql/ConnectionEventListener.java,
9868         javax/sql/ConnectionPoolDataSource.java,
9869         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9870         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9871         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9872         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9873         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9874         javax/sql/XADataSource.java: New files.
9875         * Makefile.am: Add new files.
9876         * Makefile.in: Rebuilt.
9877
9878 2002-06-20  Tom Tromey  <tromey@redhat.com>
9879
9880         For PR libgcj/7073:
9881         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9882         exists.
9883         * defineclass.cc (handleClassBegin): Superclass for interface is
9884         `null'.
9885
9886 2002-06-18  Tom Tromey  <tromey@redhat.com>
9887
9888         * gcj/javaprims.h: Updated class declaration list.
9889         * Makefile.in: Rebuilt.
9890         * Makefile.am (core_java_source_files): Removed
9891         BasicMapEntry.java.
9892         * java/util/BasicMapEntry.java: Removed.
9893
9894 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9895
9896         * java/net/natPlainDatagramSocketImpl.cc (receive):
9897         Check bounds of argument to FD_SET.
9898         (setOption): Throw exception if socket is closed.
9899
9900         * java/net/natPlainSocketImpl.cc (accept, read):
9901         Check bounds of argument to FD_SET.
9902         (setOption): Throw exception if socket is closed.
9903
9904 2002-06-18  Tom Tromey  <tromey@redhat.com>
9905
9906         * gcj/javaprims.h: Updated class declaration list.
9907         * Makefile.in: Rebuilt.
9908         * Makefile.am (core_java_source_files): Added
9909         PropertyPermissionCollection.java.
9910         * java/lang/Thread.java (group, name): Now package-private.
9911         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9912         * java/util/AbstractList.java: Likewise.
9913         * java/util/AbstractMap.java: Likewise.
9914         * java/util/Calendar.java: Likewise.
9915         * java/util/Collections.java: Likewise.
9916         * java/util/HashMap.java: Likewise.
9917         * java/util/Hashtable.java: Likewise.
9918         * java/util/LinkedHashMap.java: Likewise.
9919         * java/util/LinkedList.java: Likewise.
9920         * java/util/List.java: Likewise.
9921         * java/util/ListResourceBundle.java: Likewise.
9922         * java/util/Map.java: Likewise.
9923         * java/util/Observable.java: Likewise.
9924         * java/util/Properties.java: Likewise.
9925         * java/util/PropertyPermission.java: Likewise.
9926         * java/util/PropertyPermissionCollection.java: Likewise.
9927         * java/util/PropertyResourceBundle.java: Likewise.
9928         * java/util/Random.java: Likewise.
9929         * java/util/SimpleTimeZone.java: Likewise.
9930         * java/util/StringTokenizer.java: Likewise.
9931         * java/util/TimerTask.java: Likewise.
9932         * java/util/TreeMap.java: Likewise.
9933         * java/util/WeakHashMap.java: Likewise.
9934         * java/util/jar/Attributes.java: Likewise.
9935         * java/util/jar/JarException.java: Likewise.
9936         * java/util/jar/Manifest.java: Likewise.
9937
9938 2002-06-17  Tom Tromey  <tromey@redhat.com>
9939
9940         * gcj/javaprims.h: Updated class declaration list.
9941         * Makefile.in: Rebuilt.
9942         * Makefile.am (core_java_source_files): Added new file.
9943         * java/util/EventListenerProxy.java: New file.
9944         * java/util/EventListener.java: Re-merge with Classpath.
9945         * java/util/EventObject.java: Re-merge with Classpath.
9946
9947 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9948
9949         * java/lang/ClassNotFoundException.java: New Classpath version.
9950
9951 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9952
9953         * java/rmi/activation/ActivateFailedException.java: Remerge from
9954         Classpath version.
9955         * java/rmi/activation/ActivationException.java: Ditto.
9956         * java/rmi/activation/UnknownGroupException.java: Ditto.
9957         * java/rmi/activation/UnknownObjectException.java: Ditto.
9958         * java/rmi/server/ExportException: Ditto.
9959         * java/rmi/server/ServerCloneException: Ditto.
9960         * java/rmi/server/ServerNotActiveException: Ditto.
9961         * java/rmi/server/SkeletonMismatchException: Ditto.
9962         * java/rmi/server/SkeletonNotFoundException: Ditto.
9963         * java/rmi/server/SocketSecurityException: Ditto.
9964
9965 2002-06-16  Tom Tromey  <tromey@redhat.com>
9966
9967         * gcj/javaprims.h: Updated class declaration list.
9968
9969         * java/io/LineNumberInputStream.java: Merged with Classpath.
9970
9971         * java/lang/RuntimeException.java: Re-merge with Classpath.
9972         * java/util/ArrayList.java: Likewise.
9973         * java/util/Arrays.java: Likewise.
9974         * java/util/BitSet.java: Likewise.
9975         * java/util/Dictionary.java: Likewise.
9976         * java/util/IdentityHashMap.java: Likewise.
9977         * java/util/MissingResourceException.java: Likewise.
9978         * java/util/Observer.java: Likewise.
9979         * java/util/TooManyListenersException.java: Likewise.
9980         * java/util/zip/DataFormatException.java: Likewise.
9981         * java/util/zip/ZipException.java: Likewise.
9982
9983 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9984
9985         * java/rmi/AccessException.java: Remerge from Classpath.
9986         * java/rmi/AlreadyBoundException.java: Ditto.
9987         * java/rmi/ConnectException.java: Ditto.
9988         * java/rmi/ConnectIOException.java: Ditto.
9989         * java/rmi/MarshalException.java: Ditto.
9990         * java/rmi/NoSuchObjectException.java: Ditto.
9991         * java/rmi/NotBoundException.java: Ditto.
9992         * java/rmi/RemoteException.java: Ditto.
9993         * java/rmi/RMISecurityException.java: Ditto.
9994         * java/rmi/ServerError.java: Ditto.
9995         * java/rmi/ServerException.java: Ditto.
9996         * java/rmi/ServerRuntimeException.java: Ditto.
9997         * java/rmi/StubNotFoundException.java: Ditto.
9998         * java/rmi/UnexpectedExcpetion.java: Ditto.
9999         * java/rmi/UnknownHostException.java: Ditto.
10000         * java/rmi/UnmarshalException.java: Ditto.
10001
10002 2002-06-15  Tom Tromey  <tromey@redhat.com>
10003
10004         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10005         * java/lang/ArithmeticException.java: Likewise.
10006         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10007         * java/lang/ArrayStoreException.java: Likewise.
10008         * java/lang/Byte.java: Likewise.
10009         * java/lang/CharSequence.java: Likewise.
10010         * java/lang/ClassCastException.java: Likewise.
10011         * java/lang/ClassCircularityError.java: Likewise.
10012         * java/lang/ClassFormatError.java: Likewise.
10013         * java/lang/CloneNotSupportedException.java: Likewise.
10014         * java/lang/Cloneable.java: Likewise.
10015         * java/lang/Comparable.java: Likewise.
10016         * java/lang/Compiler.java: Likewise.
10017         * java/lang/Error.java: Likewise.
10018         * java/lang/ExceptionInInitializerError.java: Likewise.
10019         * java/lang/IllegalAccessError.java: Likewise.
10020         * java/lang/IllegalAccessException.java: Likewise.
10021         * java/lang/IllegalArgumentException.java: Likewise.
10022         * java/lang/IllegalMonitorStateException.java: Likewise.
10023         * java/lang/IllegalStateException.java: Likewise.
10024         * java/lang/IllegalThreadStateException.java: Likewise.
10025         * java/lang/IncompatibleClassChangeError.java: Likewise.
10026         * java/lang/IndexOutOfBoundsException.java: Likewise.
10027         * java/lang/InheritableThreadLocal.java: Likewise.
10028         * java/lang/InstantiationError.java: Likewise.
10029         * java/lang/InstantiationException.java: Likewise.
10030         * java/lang/InternalError.java: Likewise.
10031         * java/lang/InterruptedException.java: Likewise.
10032         * java/lang/LinkageError.java: Likewise.
10033         * java/lang/NegativeArraySizeException.java: Likewise.
10034         * java/lang/NoClassDefFoundError.java: Likewise.
10035         * java/lang/NoSuchFieldError.java: Likewise.
10036         * java/lang/NoSuchFieldException.java: Likewise.
10037         * java/lang/NoSuchMethodError.java: Likewise.
10038         * java/lang/NoSuchMethodException.java: Likewise.
10039         * java/lang/NullPointerException.java: Likewise.
10040         * java/lang/NumberFormatException.java: Likewise.
10041         * java/lang/OutOfMemoryError.java: Likewise.
10042         * java/lang/Process.java: Likewise.
10043         * java/lang/Runnable.java: Likewise.
10044         * java/lang/RuntimePermission.java: Likewise.
10045         * java/lang/SecurityException.java: Likewise.
10046         * java/lang/Short.java: Likewise.
10047         * java/lang/StackOverflowError.java: Likewise.
10048         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10049         * java/lang/ThreadDeath.java: Likewise.
10050         * java/lang/ThreadLocal.java: Likewise.
10051         * java/lang/UnknownError.java: Likewise.
10052         * java/lang/UnsatisfiedLinkError.java: Likewise.
10053         * java/lang/UnsupportedClassVersionError.java: Likewise.
10054         * java/lang/UnsupportedOperationException.java: Likewise.
10055         * java/lang/VerifyError.java: Likewise.
10056         * java/lang/VirtualMachineError.java: Likewise.
10057         * java/lang/reflect/InvocationTargetException.java: Likewise.
10058         * java/net/BindException.java: Likewise.
10059         * java/net/ConnectException.java: Likewise.
10060         * java/net/MalformedURLException.java: Likewise.
10061         * java/net/NoRouteToHostException.java: Likewise.
10062         * java/net/ProtocolException.java: Likewise.
10063         * java/net/SocketException.java: Likewise.
10064         * java/net/UnknownHostException.java: Likewise.
10065         * java/net/UnknownServiceException.java: Likewise.
10066
10067         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10068         * java/io/CharConversionException.java: Likewise.
10069         * java/io/EOFException.java: Likewise.
10070         * java/io/FileNotFoundException.java: Likewise.
10071         * java/io/IOException.java: Likewise.
10072         * java/io/InterruptedIOException.java: Likewise.
10073         * java/io/InvalidClassException.java: Likewise.
10074         * java/io/InvalidObjectException.java: Likewise.
10075         * java/io/NotActiveException.java: Likewise.
10076         * java/io/NotSerializableException.java: Likewise.
10077         * java/io/ObjectStreamException.java: Likewise.
10078         * java/io/ObjectStreamConstants.java: Likewise.
10079         * java/io/OptionalDataException.java: Likewise.
10080         * java/io/PipedInputStream.java: Likewise.
10081         * java/io/PushbackInputStream.java: Likewise.
10082         * java/io/StreamCorruptedException.java: Likewise.
10083         * java/io/SyncFailedException.java: Likewise.
10084         * java/io/UTFDataFormatException.java: Likewise.
10085         * java/io/UnsupportedEncodingException.java: Likewise.
10086         * java/io/WriteAbortedException.java: Likewise.
10087
10088 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
10089
10090         * java/text/ChoiceFormat.java: Update comments from Classpath.
10091         * java/text/ParseException.java (serialVersionUID): New
10092         field from Classpath.
10093         * java/text/ParseException.java: Update formatting & comments
10094         from Classpath.
10095
10096 2002-06-15  Tom Tromey  <tromey@redhat.com>
10097
10098         * java/util/zip/InflaterInputStream.java (read): Loop if data has
10099         been read but none output by inflater.
10100         * java/util/zip/natDeflater.cc (reset): Set is_finished.
10101         * java/util/zip/natInflater.cc (reset): Set dist_needed and
10102         is_finished.
10103         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10104         version.
10105         * java/util/zip/ZipFile.java: Replaced with Classpath version.
10106         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10107         * java/util/zip/ZipInputStream.java: Replaced with Classpath
10108         version.
10109         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10110
10111 2002-06-13  Tom Tromey  <tromey@redhat.com>
10112
10113         * java/lang/natString.cc (init): Handle case where DONT_COPY is
10114         true and OFFSET!=0.
10115         * java/lang/String.java (String(char[],int,int,boolean): New
10116         constructor.
10117         * java/lang/Long.java: Imported new version from Classpath.
10118         * java/lang/Number.java: Likewise.
10119         * java/lang/Integer.java: Likewise.
10120         * java/lang/Long.java: Likewise.
10121         * java/lang/Float.java: Likewise.
10122         * java/lang/Boolean.java: Likewise.
10123         * java/lang/Double.java: Likewise.
10124         * java/lang/Void.java: Likewise.
10125
10126 2002-06-12  Tom Tromey  <tromey@redhat.com>
10127
10128         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10129         Fixes PR libgcj/6652.
10130
10131 2002-06-10  Tom Tromey  <tromey@redhat.com>
10132
10133         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10134         (Class::getPackagePortion): Likewise.
10135         * java/lang/Class.java (desiredAssertionStatus): New method from
10136         Classpath.
10137         (getPackagePortion): Likewise.
10138         * java/lang/VMClassLoader.java (defaultAssertionStatus,
10139         packageAssertionStatus, classAssertionStatus): New methods from
10140         Classpath.
10141         * java/lang/ClassLoader.java (defaultAssertionStatus,
10142         systemPackageAssertionStatus, packageAssertionStatus,
10143         systemClassAssertionStatus, classAssertionStatus): New fields from
10144         Classpath.
10145         (setDefaultAssertionStatus, setPackageAssertionStatus,
10146         setClassAssertionStatus, clearAssertionStatus): New methods from
10147         Classpath.
10148         * Makefile.in: Rebuilt.
10149         * Makefile.am (core_java_source_files): Added AssertionError.java.
10150         * java/lang/AssertionError.java: New from Classpath.
10151
10152 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10153
10154         * configure.host: Disable hash synchronization and slow_pthread_self
10155         for cygwin.
10156
10157 2002-06-06  Adam Megacz <adam@xwt.org>
10158
10159         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10160         locking, just like the Sun JVM does.
10161
10162 2002-06-05  H.J. Lu  (hjl@gnu.org)
10163
10164         * Makefile.am (libgcj_convenience.la): Revert the last change.
10165         (libgcj.la): Likewise.
10166         * Makefile.in: Regenerated.
10167
10168 2002-06-04  H.J. Lu  (hjl@gnu.org)
10169
10170         * Makefile.am (libgcj_convenience.la): New target.
10171         (libgcj.la): Depend on libgcj_convenience.la.
10172         * Makefile.in: Regenerated.
10173
10174 2002-06-04  H.J. Lu  (hjl@gnu.org)
10175
10176         * configure.in (--with-newlib): New option:
10177         Check ${with_newlib} instead of ${with_cross_host} for newlib.
10178         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10179         Linux.
10180         * configure: Regenerated.
10181
10182 2002-06-04  Tom Tromey  <tromey@redhat.com>
10183
10184         * java/util/natTimeZone.cc: Include <stdio.h>.
10185
10186 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
10187
10188         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10189         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10190         Set SIGNAL_HANDLER=include/s390-linux.h.
10191         * configure: Regenerate.
10192         * include/s390-linux.h: New file.
10193
10194 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10195
10196         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10197         not "stackTrace".
10198
10199 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10200
10201         Merge JDK 1.4 java.security changes from classpath.
10202
10203         * java/security/AccessControlException.java: Merge from Classpath.
10204         * java/security/AccessController.java: Likewise.
10205         * java/security/AllPermission.java: Likewise.
10206         * java/security/BasicPermission.java: Likewise.
10207         * java/security/Certificate.java: Likewise.
10208         * java/security/CodeSource.java: Likewise.
10209         * java/security/DigestException.java: Likewise.
10210         * java/security/DigestOutputStream.java: Likewise.
10211         * java/security/DomainCombiner.java: Likewise.
10212         * java/security/GeneralSecurityException.java: Likewise.
10213         * java/security/Guard.java: Likewise.
10214         * java/security/GuardedObject.java: Likewise.
10215         * java/security/InvalidAlgorithmParameterException.java: Likewise.
10216         * java/security/InvalidKeyException.java: Likewise.
10217         * java/security/InvalidParameterException.java: Likewise.
10218         * java/security/Key.java: Likewise.
10219         * java/security/KeyException.java: Likewise.
10220         * java/security/KeyManagementException.java: Likewise.
10221         * java/security/KeyStoreException.java: Likewise.
10222         * java/security/MessageDigest.java: Likewise.
10223         * java/security/NoSuchAlgorithmException.java: Likewise.
10224         * java/security/NoSuchProviderException.java: Likewise.
10225         * java/security/Permission.java: Likewise.
10226         * java/security/PermissionCollection.java: Likewise.
10227         * java/security/Permissions.java: Likewise.
10228         * java/security/Policy.java: Likewise.
10229         * java/security/Principal.java: Likewise.
10230         * java/security/PrivateKey.java: Likewise.
10231         * java/security/PrivilegedAction.java: Likewise.
10232         * java/security/PrivilegedActionException.java: Likewise.
10233         * java/security/PrivilegedExceptionAction.java: Likewise.
10234         * java/security/ProtectionDomain.java: Likewise.
10235         * java/security/ProviderException.java: Likewise.
10236         * java/security/PublicKey.java: Likewise.
10237         * java/security/SecureClassLoader.java: Likewise.
10238         * java/security/SecurityPermission.java: Likewise.
10239         * java/security/SignatureException.java: Likewise.
10240         * java/security/UnrecoverableKeyException.java: Likewise.
10241         * java/security/UnresolvedPermission.java: Likewise.
10242         * java/security/acl/AclNotFoundException.java: Likewise.
10243         * java/security/acl/LastOwnerException.java: Likewise.
10244         * java/security/acl/NotOwnerException.java: Likewise.
10245         * java/security/cert/CRLException.java: Likewise.
10246         * java/security/cert/CertificateEncodingException.java: Likewise.
10247         * java/security/cert/CertificateException.java: Likewise.
10248         * java/security/cert/CertificateExpiredException.java: Likewise.
10249         * java/security/cert/CertificateFactory.java: Likewise.
10250         * java/security/cert/CertificateNotYetValidException.java: Likewise.
10251         * java/security/cert/CertificateParsingException.java: Likewise.
10252         * java/security/spec/InvalidKeySpecException.java: Likewise.
10253         * java/security/spec/InvalidParameterSpecException.java: Likewise.
10254
10255         * java/security/cert/CertPath.java: New file.
10256         * java/security/cert/CertPathBuilderException.java: New file.
10257         * java/security/cert/CertPathValidatorException.java: New file.
10258         * java/security/cert/CertStoreException.java: New file.
10259
10260         * Makefile.am: Add new CertPath classes.
10261         * Makefile.in: Rebuilt.
10262
10263         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10264
10265 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10266
10267         Merge JDK 1.4 exception chaining support from classpath.
10268
10269         * java/lang/Throwable.java: Merge 1.4 support from classpath.
10270         (stackTraceBytes): Rename from stackTrace.
10271         * java/lang/Exception.java: Merge from classpath.
10272         * java/lang/StackTraceElement: New file from classpath.
10273         * gcj/javaprims.h: Rebuild CNI namespace declarations.
10274         * Makefile.am: Add StackTraceElement.
10275         * Makefile.in: Rebuilt.
10276
10277 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10278
10279         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10280         they build first.
10281         * Makefile.in: Rebuilt.
10282
10283 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10284
10285         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10286         * configure.in: Likewise.
10287         * aclocal.m4: Regenerate.
10288         * configure: Regenerate.
10289
10290 2002-05-13  Tom Tromey  <tromey@redhat.com>
10291
10292         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10293         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10294         Include platform.h.
10295
10296         Fixes PR libgcj/6389:
10297         * Makefile.in: Rebuilt.
10298         * Makefile.am (nat_source_files): Added natTimeZone.cc.
10299         * java/util/natTimeZone.cc: New file.
10300         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10301         * java/lang/System.java: Merged with Classpath.
10302         * java/lang/Runtime.java: Merged with Classpath.
10303         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10304         security check.
10305         (setIn0): Renamed from setIn; don't run security check.
10306         (setOut0): Renamed from setOut; don't run security check.
10307         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10308         init_properties): Moved to natRuntime.cc.
10309         Moved many includes to natRuntime.cc.
10310         (isWordsBigEndian): New method.
10311         * java/lang/natRuntime.cc: Include Long.h, also other includes
10312         previously in natSystem.cc.
10313         (maxMemory): New function.
10314         (exitInternal): Renamed from `_exit'.
10315         (exit): Removed.
10316         (init): Don't set finalize_on_exit.
10317         (exitInternal): Use `finalizeOnExit'.
10318         (file_encoding, getpwuid_adaptor): New functions from
10319         natSystem.cc.
10320         (insertSystemProperties): New method, renamed from
10321         System::init_properties.  Don't set user.timezone.
10322         (_load): Don't call checkLink.
10323         (execInternal): New method.
10324         (availableProcessors): Likewise.
10325         (nativeGetLibname): Likewise.
10326
10327 2002-05-11  Mark Wielaard  <mark@klomp.org>
10328
10329         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10330         space characters.
10331         (previous_internal): Likewise.
10332
10333 2002-05-09  Tom Tromey  <tromey@redhat.com>
10334
10335         * jni.cc (_Jv_JNIFunctions): Fixed typo.
10336
10337         * java/util/ResourceBundle.java: New version from Classpath.
10338         * java/util/Locale.java: Likewise.
10339
10340 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
10341
10342         * testsuite/lib/libjava.exp (libjava_arguments): Append all
10343         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10344         LD_LIBRARY_PATH.
10345
10346 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
10347
10348         * libjava/Makefile.am (all_java_source_files): New variable.
10349         (all_java_class_files): Likewise.
10350         .java.class: New rule.
10351         (CLEANFILES): Remove tmp-list.
10352         * libjava/Makefile.in: Regenerated.
10353
10354 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
10355
10356         * testsuite/lib/libjava.exp (test_libjava_from_javac):
10357         Append .exe to executable names.  Fix for cygwin.
10358
10359 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
10360
10361         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10362         script entry, and set LD to it when configuring multilibs.
10363         * configure: Rebuilt.
10364
10365 2002-05-07  Tom Tromey  <tromey@redhat.com>
10366
10367         * java/lang/natString.cc (unintern): Fixed typo.
10368
10369 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10370
10371         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10372         with -no-install on *-*-cygwin*.
10373
10374 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
10375
10376         * testsuite/lib/libjava.exp (test_libjava_from_source):
10377         Add comment explaining last patch
10378
10379 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
10380
10381         * testsuite/lib/libjava.exp (test_libjava_from_source):
10382         Append .exe to executable names.  If no suffix is present,
10383         then ".exe" is added by default on win32.  Harmless
10384         elsewhere so always do it.
10385
10386 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
10387             Tom Tromey  <tromey@redhat.com>
10388
10389         * java/lang/natSystem.cc (getSystemTimeZone): Use
10390         HAVE_UNDERSCORE_TIMEZONE.
10391         * include/config.h.in: Rebuilt.
10392         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10393         * aclocal.m4, configure: Rebuilt.
10394         * acinclude.m4: Run AC_EXEEXT.
10395         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10396         Add test for `_timezone'.
10397
10398 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
10399
10400         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10401         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10402         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10403         * Makefile.in: Rebuilt.
10404
10405 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
10406
10407         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10408         use sigaction instead of __libc_sigaction.
10409
10410 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10411
10412         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10413         (libjava_init): Use it to find libgcj.spec.
10414         (libjava_arguments): Likewise.
10415
10416 2002-05-02  David S. Miller  <davem@redhat.com>
10417
10418         PR bootstrap/6525
10419         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10420         __libc_sigaction on Sparc.
10421
10422 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
10423
10424         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10425         sys/filio.h, if present.
10426
10427 2002-04-30  Tom Tromey  <tromey@redhat.com>
10428
10429         * java/io/BufferedReader.java (fill): Handle case where markPos
10430         point to ignored \n.  Fixes PR libgcj/6301.
10431
10432 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
10433
10434         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10435
10436 2002-04-29  Adam King <aking@dreammechanics.com>
10437
10438         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10439         of file in APPEND mode.
10440
10441 2002-04-25  David S. Miller  <davem@redhat.com>
10442
10443         PR target/6422
10444         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10445         program counter to next program counter minus 8.  Update
10446         comments in this macro to explain why.
10447
10448 2002-04-26  Tom Tromey  <tromey@redhat.com>
10449
10450         * verify.cc (construct_primitive_array_type) [void_type]: New
10451         case.
10452         (branch_prepass): Added dummy entries for unused instruction
10453         values.
10454         (verify_instructions_0): Likewise.
10455         * interpret.cc (continue1): Comment fix.
10456         * include/java-insns.h (op_xxxunusedxxx1): Removed.
10457         * Makefile.in: Rebuilt.
10458         * Makefile.am: Added -Wswitch-enum.
10459
10460 2002-04-24  Tom Tromey  <tromey@redhat.com>
10461
10462         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10463         correct length of UTF-8 encoded name.  Strip leading `/'.
10464         (_Jv_RegisterResource): Use _Jv_Malloc.
10465
10466 2002-04-23  Adam Megacz <adam@xwt.org>
10467
10468         * win32.cc, include/win32.cc (backtrace): Added this function
10469         because Win32 does not supply it.
10470
10471 2002-04-21  David S. Miller  <davem@redhat.com>
10472
10473         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10474         magic instruction reading sequence.
10475
10476 2002-04-21  Mark Wielaard  <mark@klomp.org>
10477
10478         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10479
10480 2002-04-19  David S. Miller  <davem@redhat.com>
10481
10482         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10483         arg.
10484         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10485         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10486         on Sparc too.
10487         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10488         for 64-bit sparc.
10489         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10490         * sysdeps/sparc/locks.h: New file.
10491         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10492         on all sparc Solaris configurations.  Set to
10493         include/dwarf2-signal.h on sparc Linux.
10494         * configure: Regenerate
10495         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10496
10497 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
10498
10499         * configure: Rebuilt.
10500         * configure.in (backtrace): Function doesn't work on IA-64.
10501
10502 2002-04-17  Adam King <aking@dreammechanics.com>
10503
10504         * java/io/File.java (normalizePath): Add Win32 support for auto
10505         conversion of a '/' path separator to Win32's '\' separator.
10506
10507 2002-04-16  Tom Tromey  <tromey@redhat.com>
10508
10509         Fix for PR libgcj/6081:
10510         * Makefile.in: Rebuilt.
10511         * Makefile.am (install-data-local): Use GNU make trick to avoid
10512         shell limit.
10513
10514 2002-04-16  Adam King <aking@dreammechanics.com>
10515             Tom Tromey  <tromey@redhat.com>
10516
10517         * java/io/natFileWin32.cc (performList): Return the correct array
10518         type.  Don't duplicate the creation of a File since it's already
10519         done earlier in the method and the existing code would cause a
10520         ArrayStoreException.  Don't use fixed-size array.
10521         (_access, _stat, attr, getCanonicalPath, performMkdir,
10522         performRenameTo): Don't use fixed-size array.
10523         (getCanonicalPath): Use throw, not _Jv_Throw.
10524
10525 2002-04-15  DJ Delorie  <dj@redhat.com>
10526
10527         * configure.in: Allow building in $srcdir.
10528         * configure: Regenerated.
10529
10530 2002-04-14  Mark Wielaard <mark@klomp.org>
10531
10532         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10533         * java/net/natSocketImpl.cc (close): Likewise.
10534
10535 2002-04-14  Mark Wielaard <mark@klomp.org>
10536
10537         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10538
10539 2002-04-13  Adam King <aking@dreammechanics.com>
10540
10541         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10542         the f/F/d/D modifiers.
10543
10544 2002-04-12  Anthony Green  <green@redhat.com>
10545
10546         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10547         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10548         * Makefile.in: Rebuilt.
10549         * configure.in: Substitute gcc_version.
10550         * configure: Rebuilt.
10551
10552 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10553
10554         * configure.host: Set can_unwind_signal on hosts which support it.
10555         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10556         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10557         exceptions and can_unwind_signal isn't set.
10558         * configure: Rebuilt.
10559
10560 2002-04-11  Tom Tromey  <tromey@redhat.com>
10561
10562         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10563
10564 2002-04-11  Adam King <aking@dreammechanics.com>
10565             Tom Tromey  <tromey@redhat.com>
10566
10567         * include/jvm.h (_Jv_ThrowBadArrayIndex,
10568         _Jv_ThrowNullPointerException): Mark as noreturn.
10569         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10570         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
10571         fixes.
10572
10573 2002-04-10  Tom Tromey  <tromey@redhat.com>
10574
10575         * Makefile.in: Rebuilt.
10576         * Makefile.am (java/lang/Thread.h): Mark
10577         _Jv_AttachCurrentThreadAsDaemon as friend.
10578         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10579         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10580         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10581         function.
10582         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10583         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10584         (_Jv_JNI_InvokeFunctions): Added
10585         _Jv_JNI_AttachCurrentThreadAsDaemon.
10586         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10587         (JNI_GetDefaultJavaVMInitArgs): Likewise.
10588         (JNI_CreateJavaVM): Likewise.
10589         (_Jv_JNI_AttachCurrentThread): Likewise.
10590         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10591         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10592         (_Jv_JNIFunctions): Initialize new fields.
10593         (_Jv_JNI_NewDirectByteBuffer): New function.
10594         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10595         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10596         * include/jni.h (JNI_VERSION_1_4): New macro.
10597         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10598         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10599         (JNINativeInterface::NewDirectByteBuffer): New field.
10600         (JNINativeInterface::GetDirectBufferAddress): New field.
10601         (JNINativeInterface::GetDirectBufferCapacity): New field.
10602         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10603         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10604         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10605
10606 2002-04-09  Tom Tromey  <tromey@redhat.com>
10607
10608         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10609
10610 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10611
10612         Fix for PR libgcj/6187:
10613         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10614         distance.
10615
10616 2002-04-07  Mark Wielaard <mark@klomp.org>
10617
10618         * java/util/AbstractMap.java (putAll): Use entrySet size.
10619         (toString): Explicitly use getKey() and getValue().
10620
10621 2002-04-07  Mark Wielaard <mark@klomp.org>
10622
10623         * java/util/Hashtable.java (contains): Remove NullPointer check.
10624         (containsValue): Add NullPointer check.
10625         (remove): Always throw NullPointerException when key
10626         is null.
10627
10628 2002-04-07  Adam King <aking@dreammechanics.com>
10629
10630         * java/lang/natSystem.cc (init_properties): Call new function
10631         _Jv_platform_initProperties.
10632         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10633         support for the System properties os.name, os.arch, os.version,
10634         user.name, user.home, and user.dir.
10635         * include/posix.h, include/win32.h, posix.cc: New function
10636         _Jv_platform_initProperties.
10637
10638 2002-04-06  Mark Wielaard <mark@klomp.org>
10639
10640         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10641
10642 2002-04-06  Mark Wielaard <mark@klomp.org>
10643
10644         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10645         all of the remaining elements.
10646         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10647         (removeRange): If toIndex == fromIndex do
10648         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10649         (removeAll): Always throw NullPointerException when collection is
10650         null.
10651         (retrainAll): Likewise.
10652
10653 2002-04-05  Mark Wielaard <mark@klomp.org>
10654
10655         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10656         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10657
10658 2002-04-05  Adam Megacz <adam@xwt.org>
10659
10660         * exception.cc (abort): added static modifier
10661
10662 2002-04-04  Adam Megacz <adam@xwt.org>
10663
10664         * include/win32.h (_Jv_platform_close_on_exec): added inline
10665         modifier.
10666
10667 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10668
10669         * configure.host: Add case statement to support generic port
10670         properties.  Add *-*-freebsd* section.
10671
10672 2002-04-04  Mark Wielaard  <mark@klomp.org>
10673
10674         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10675         test.
10676         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10677         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10678         that depend on awt code and BufferedByteOutputStream.interrupt.
10679
10680 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10681
10682         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10683         incorrect "hi" value when count > 40.
10684
10685 2002-04-03  Mark Wielaard  <mark@klomp.org>
10686
10687         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10688         ordering.
10689
10690 2002-04-02  Tom Tromey  <tromey@redhat.com>
10691
10692         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10693         not `0'.
10694
10695 2002-04-02  Mark Wielaard  <mark@klomp.org>
10696
10697         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10698         list of testsuite crashers.
10699
10700 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10701
10702         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10703         when resizing table.
10704
10705 2002-04-01  Mark Wielaard  <mark@klomp.org>
10706
10707         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10708         NegativeArraySizeException
10709         (clear(int)): Use sign extended shift.
10710         (flip(int)): Likewise.
10711         (get(int)): Likewise.
10712         (nextClearBit(int)): Likewise.
10713         (nextSetBit(int)): Likewise.
10714         (set(int)): Likewise.
10715
10716 2002-04-01  Mark Wielaard  <mark@klomp.org>
10717
10718         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10719         that can be compiled now and add testsuite crashers to ignore list.
10720
10721 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10722
10723         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10724
10725         * libgcj.spec.in: Override libgcc, not lib.
10726         * libgcj-test.spec.in: Likewise.
10727
10728 2002-03-29  Tom Tromey  <tromey@redhat.com>
10729
10730         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10731         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10732
10733 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10734
10735         * java/net/PlainDatagramSocketImpl.java
10736         (close): Use native implementation.
10737         (finalize): New method.
10738
10739         * java/net/PlainSocketImpl.java (finalize): New method.
10740
10741         * java/net/natPlainDatagramSocketImpl.cc
10742         (java/io/FileDescriptor.h): Don't include.
10743         (close): Implement method here.
10744         (create): Don't assign fd.
10745
10746         * java/net/natPlainSocketImpl.cc
10747         (java/io/FileDescriptor.h): Don't include.
10748         (create): Don't assign fd.
10749         (accept): Likewise.
10750         (close): Synchronize.
10751
10752 2002-03-27  Richard Henderson  <rth@redhat.com>
10753
10754         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10755
10756 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10757
10758         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10759         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10760         instead of syscall on IA-64.
10761         Add FIXME comment.
10762
10763 2002-03-27  Anthony Green  <green@redhat.com>
10764
10765         * libgcj.spec.in: Add CHECKREFSPEC.
10766         * configure.in: Ditto.
10767         * configure.host: Ditto.  Check references for xscale-elf.
10768         * configure: Rebuilt.
10769
10770 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10771
10772         * include/dwarf2-signal.h: Temporarily back out last change.
10773
10774 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10775
10776         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10777
10778 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10779
10780         * configure.in, configure: enable dwarf2-exception-style
10781         exception handling on IA-64.
10782         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10783         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10784         Add FIXME comment.
10785
10786 2002-03-25  Tom Tromey  <tromey@redhat.com>
10787
10788         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10789         (jv_convert_LDFLAGS): Likewise.
10790         (gij_LDFLAGS): Likewise.
10791         (rmic_LDFLAGS): Likewise.
10792         (rmiregistry_LDFLAGS): Likewise.
10793         * configure.in (THREADLDFLAGS): New subst; set correctly for
10794         *BSD.
10795
10796 2002-03-25  Tom Tromey  <tromey@redhat.com>
10797
10798         For PR libgcj/5303:
10799         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10800         and --version.
10801         (help): New method.
10802         (version): Likewise.
10803         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10804         "GNU".
10805         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10806         "GNU".
10807
10808 2002-03-25  Tom Tromey  <tromey@redhat.com>
10809
10810         * java/awt/Component.java (processEvent): Check ComponentEvent
10811         after KeyEvent.
10812
10813 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10814
10815         * java/io/PushbackReader.java: Reformat.
10816
10817         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10818         calculate correct number of bytes skipped.
10819
10820         Based on patch from Intel's ORP team:
10821         * java/io/PushbackInputStream.java (available): Calculate correct
10822         number of bytes in buffer.
10823         (read): Remove redundant bound check. Return bytes from both the
10824         buffer and the stream.
10825
10826 2002-03-24  Tom Tromey  <tromey@redhat.com>
10827
10828         * java/awt/TextComponent.java (TextComponent): Editable by
10829         default.
10830
10831         * java/awt/MenuItem.java (eventMask): No longer private.
10832         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10833         superclass if we didn't handle event.
10834         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10835         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10836         * java/awt/Choice.java (dispatchEventImpl): New method.
10837         * java/awt/List.java (dispatchEventImpl): New method.
10838         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10839         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10840         * java/awt/TextField.java (dispatchEventImpl): New method.
10841
10842 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10843
10844         * java/beans/IntrospectionException.java: Update to 1.4.
10845         * java/beans/PropertyVetoException.java: Ditto.
10846
10847 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10848
10849         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10850         Arrays.equals instead of ArrayHelper.equalsArray.
10851
10852 2002-03-24  C. Brian Jones <cbj@gnu.org>
10853
10854         * java/beans/Introspector.java: added new static final fields
10855         introduced in 1.2, lots of other updates remain to be done
10856
10857 2002-03-24  C. Brian Jones <cbj@gnu.org>
10858
10859         * java/beans/Introspector.java: reformatting
10860
10861 2002-03-24  C. Brian Jones <cbj@gnu.org>
10862
10863         * java/beans/Introspector.java: default beanInfoSearchPath will
10864         not include sun.beans.infos given we provide no such package and
10865         the API doesn't really require it; gnu.java.beans.info is the
10866         default.
10867
10868 2002-03-24  Mark Wielaard  <mark@klomp.org>
10869
10870         Thanks to Orp developers
10871         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10872         switch TRUE and FALSE return values.
10873
10874 2002-03-23  Tom Tromey  <tromey@redhat.com>
10875
10876         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10877         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10878
10879 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10880
10881         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10882         MONTH entry.  Fixes PR libgcj/6045.
10883
10884 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10885
10886         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10887
10888 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10889
10890         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10891         not release_set.
10892         * sysdep/powerpc/locks.h (write_barrier): New function.
10893         * sysdep/i386/locks.h (write_barrier): New function.
10894
10895 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10896
10897         * include/jni.h Use correct C comments.
10898
10899 2002-03-18  Tom Tromey  <tromey@redhat.com>
10900
10901         * include/jni.h (JNIIMPORT): New macro.
10902         (JNIEXPORT): Likewise.
10903         (JNICALL): Likewise.
10904
10905 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10906
10907         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10908         systems.
10909
10910 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10911
10912         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10913         INIT_SEGV: Use old_i386_kernel_sigaction.
10914         INIT_FP: Likewise.
10915
10916 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10917
10918         * java/lang/natSystem.cc (init_properties): Update VM version
10919         properties.
10920         * configure.in: Set GCJVERSION.
10921         * acconfig.h: Add GCJVERSION.
10922         * configure: Rebuilt.
10923         * include/config.h.in: Rebuilt.
10924
10925 2002-03-17  Anthony Green  <green@redhat.com>
10926
10927         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10928
10929 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10930
10931         Build a single libgcj.so, without separate gc and zlib libraries.
10932         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10933         SYS_ZLIBS if system zlib is used.
10934         * configure: Rebuilt.
10935         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10936         * Makefile.in: Rebuilt.
10937         * libtool-version: Increment .so version number.
10938
10939         * Makefile.am: Escape quotes in echo.
10940         * Makefile.in: Rebuilt.
10941
10942 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10943
10944         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10945         * Makefile.in: Rebuilt.
10946
10947 2002-03-15  Anthony Green  <green@redhat.com>
10948
10949         * configure.host (FILE): New macro for specifing File
10950         implementation.
10951         * configure: Rebuilt.
10952         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10953
10954 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10955
10956         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10957         already implicitly brought in from libgcj.la.
10958         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10959         * Makefile.in: Rebuilt.
10960
10961 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10962
10963         * THANKS: Fix punctuation, alphabetization.
10964
10965 2002-03-15  Tom Tromey  <tromey@redhat.com>
10966             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10967
10968         Fix for PR libgcj/5944.
10969         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10970
10971 2002-03-15  Anthony Green  <green@redhat.com>
10972
10973         * configure.in (tool_include_dir): Define.
10974         * configure: Rebuilt.
10975         * gcj/Makefile.am: Install libgcj-config.h relative to
10976         tool_include_dir.
10977         * gcj/Makefile: Rebuilt.
10978         * gcj/libgcj-config.h: Add warning comment.
10979
10980 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10981
10982         * configure.host (powerpc*-darwin*): Enable interpreter.
10983
10984 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10985
10986         * include/posix.h: Add multiple include header protection.
10987         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10988
10989 2002-03-10  Adam Megacz <adam@xwt.org>
10990
10991         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10992
10993 2002-03-10  Tom Tromey  <tromey@redhat.com>
10994
10995         * java/awt/GridLayout.java (layoutContainer): Handle case where
10996         there are no items in container.
10997
10998         * java/lang/Win32Process.java: Added comment.
10999         * include/posix.h (_Jv_platform_close_on_exec): New function.
11000         Include fcntl.h.
11001         * include/win32.h (_Jv_platform_close_on_exec): New function.
11002         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11003         flag.
11004         (accept): Likewise.
11005         * java/net/natPlainDatagramSocketImpl.cc (create): Set
11006         close-on-exec flag.
11007         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11008         flag.
11009
11010 2002-03-09  Tom Tromey  <tromey@redhat.com>
11011
11012         * verify.cc (state::NO_STACK): New constant.
11013         (state::is_unmerged_ret_state): Handle case where stacktop is
11014         NO_STACK.
11015         (state::merge): Handle NO_STACK merges.
11016         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11017         for instruction following jsr.
11018         (stacktop, stackdepth): Removed unused variables.
11019         (pop_jump): Ignore case where all remaining states are skipped.
11020
11021 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11022
11023         * java/awt/ImageMediaEntry: Removed.
11024         * java/awt/MediaEntry: Removed.
11025
11026 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11027
11028         Hashtable synchronization for PowerPC.
11029         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11030         slow_pthread_self. Set up symlink for sysdeps directory.
11031         * configure: Rebuild.
11032         * configure.host: Document more shell variables. Set sysdeps_dir
11033         for most platforms. Set slow_pthread_self for i686. Set
11034         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11035         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11036         that memory barrier is emitted where required.
11037         * prims.cc: 64-bit align static primitive class instances.
11038         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11039         read_barrier() to enforce ordering of reads.
11040         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11041         primitives for PowerPC.
11042         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11043         moved from natObject.cc.
11044         * sysdep/alpha/locks.h: Likewise.
11045         * sysdep/ia64/locks.h: Likewise.
11046         * sysdep/generic/locks.h: Likewise.
11047         * java/lang/natObject.cc: Move thread synchronization primitives to
11048         system-dependent headers.
11049
11050 2002-03-09  Adam Megacz  <adam@xwt.org>
11051
11052         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11053         bytes read and no failure code returned.
11054
11055 2002-03-09  Adam Megacz  <adam@xwt.org>
11056
11057         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11058         definitions to simulate -mthreads.
11059
11060 2002-03-09  Adam Megacz  <adam@xwt.org>
11061
11062         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11063         avoid precision loss.
11064
11065 2002-03-09  Per Bothner  <per@bothner.com>
11066
11067         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
11068         * gnu/gcj/xlib/XImage.java:  Likewise.
11069         * gnu/gcj/xlib/XColor.java:  Likewise.
11070
11071 2002-03-09  Adam Megacz  <adam@xwt.org>
11072
11073         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11074         IOException so that Throwable.printStackTrace fails correctly.
11075
11076 2002-03-08  Adam Megacz  <adam@xwt.org>
11077
11078         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11079         fixed.
11080
11081 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11082
11083         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11084         truncated to int.
11085
11086 2002-03-08  Tom Tromey  <tromey@redhat.com>
11087
11088         * include/jni.h: Include stdio.h.
11089
11090 2002-03-08  Tom Tromey  <tromey@redhat.com>
11091
11092         * posix.cc (internal_gettimeofday): New function.
11093         (_Jv_select): Use it.
11094
11095 2002-03-07  Adam Megacz  <adam@xwt.org>
11096
11097         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11098         WIN32, and added thunks for read(), write(), and close().
11099         * java/net/natPlainSocketImpl.cc (accept, read, read):
11100         Disabled timeouts on WIN32 pending discussion.
11101
11102 2002-03-07  Adam Megacz  <adam@xwt.org>
11103
11104         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11105         returns jlong. Added implementation
11106         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11107         returns jlong.
11108         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11109         returns jlong.
11110         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11111         returns jlong.
11112         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11113         _Jv_platform_gettimeofday signature.
11114
11115 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11116
11117         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11118         (read): Call recv() directly, not _Jv_recv().
11119
11120 2002-03-06  Tom Tromey  <tromey@redhat.com>
11121
11122         * java/io/natFileDescriptorEcos.cc (init): Don't use
11123         GetStdHandle.
11124         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11125         is negative.
11126         (init): Don't use GetStdHandle.
11127
11128         * include/config.h.in: Rebuilt.
11129         * configure: Rebuilt.
11130         * Makefile.in: Rebuilt.
11131
11132 2002-03-06  Adam Megacz  <adam@xwt.org>
11133
11134         * java/io/FileDescriptor.java: Initialize in/out/err in init().
11135         * java/io/natFileDescriptorWin32.cc (init()): Added function.
11136         * java/io/natFileDescriptorPosix.cc (init()): Added function.
11137         * java/io/natFileDescriptorEcos.cc (init()): Added function.
11138
11139 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
11140
11141         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11142         the code for generating include/java-chartables.h.
11143         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11144         merge with Classpath.
11145         * scripts/unicode-muncher.pl: Copy from Classpath.
11146         * scritps/MakeCharTables.java: New file.
11147         * gnu/gcj/convert/Blocks-3.txt: New file.
11148         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11149         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11150         * gnu/java/lang/CharData.java: Copy from Classpath.
11151         * Makefile.am (ordinary_java_source_files): Add
11152         gnu/java/lang/CharData.java.
11153         * configure.in: Remove --enable-fast-character option.
11154         * java/lang/Character.java: Merge algorithms and Javadoc with
11155         Classpath.
11156         * java/lang/natCharacter.cc: Implement Unicode lookup table more
11157         efficiently.
11158         * include/java-chardecomp.h: Regenerate.
11159         * include/java-chartables.h: Regenerate.
11160
11161 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11162
11163         * java/awt/MediaTracker.java: Implemented.
11164         * Makefile.am: Add MediaTracker.
11165         * Makefile.in: Rebuilt.
11166
11167 2002-03-05  Tom Tromey  <tromey@redhat.com>
11168
11169         * java/lang/natPosixProcess.cc (fail): Removed.
11170         (startProcess): Simplified error-handling.  Preserve
11171         LD_LIBRARY_PATH across exec.
11172
11173         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11174         AbstractMethodError.
11175
11176 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11177
11178         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11179         * Makefile.in: Rebuilt.
11180
11181 2002-03-03 Mark Wielaard <mark@klomp.org>
11182
11183         * java/util/Timer (TaskQueue.stop): set elements to zero.
11184
11185 2002-02-28  Anthony Green  <green@redhat.com>
11186
11187         * java/lang/reflect/natMethod.cc (result): Add void* element.
11188         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
11189         constructor test.
11190
11191 2002-02-27  Adam Megacz <adam@xwt.org>
11192
11193         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11194         '#undef STRICT'.
11195
11196 2002-02-26  Tom Tromey  <tromey@redhat.com>
11197
11198         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11199         * gij.cc (version): Use __VERSION__.
11200         * include/config.h.in: Rebuilt.
11201         * acconfig.h (GCJVERSION): Removed.
11202         * configure: Rebuilt.
11203         * configure.in (GCJVERSION): Removed.
11204
11205 2002-02-26  Andreas Schwab  <schwab@suse.de>
11206
11207         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11208         glibcpp_CXX, since libjava uses even another CXX.
11209         * aclocal.m4, configure: Regenerated.
11210
11211 2002-02-26  Tom Tromey  <tromey@redhat.com>
11212
11213         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11214         `1'.
11215
11216 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11217
11218         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11219         dependency tracking for .java files.
11220         * Makefile.in: Rebuilt.
11221
11222 2002-02-24  Adam Megacz  <adam@xwt.org>
11223
11224         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11225         typo. Sorry.
11226
11227 2002-02-24  Adam Megacz  <adam@xwt.org>
11228
11229         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11230         for Win32, changed #ifdefs to check WIN32 instead of the
11231         (now-obsolete) USE_WINSOCK, and removed support for socket
11232         timeouts on Win32 pending further discussion.
11233
11234 2002-02-24  Adam Megacz  <adam@xwt.org>
11235
11236         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11237         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11238         delete
11239
11240 2002-02-24  Adam Megacz  <adam@xwt.org>
11241
11242         * java/lang/Win32Process.java: Created a dummy class to allow
11243         build process to run to completion.
11244
11245 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
11246
11247         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11248         Define ffi_result union for ffi_call result.  Cast
11249         ffi_result members to jvalue.
11250
11251 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
11252
11253         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11254         * testsuite/Makefile.in: Likewise.
11255
11256 2002-02-20  Per Bothner  <per@bothner.com>
11257
11258         * java/net/URL.java (getPath):  New JDK 1.3 method.
11259
11260         * java/net/URLStreamHandler.java (parseURL):
11261         It is wrong to prepend '/' to the file part of a relative url.
11262
11263         * java/net/URLStreamHandler.java (parseURL):
11264         Minor optizations - append '/' rather than "/".
11265
11266         * java/net/URLStreamHandler.java (parseURL):
11267         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11268         We probably should canonicalize for a context-relative url, though.
11269         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
11270         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
11271         (sameFile):  New method.  Uses canonicalizeFilename.
11272
11273 2002-02-22  Tom Tromey  <tromey@redhat.com>
11274
11275         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11276         java.vendor and java.vm.vendor.
11277         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11278         recent copyright date.
11279         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11280         * gij.cc (version): Print `Inc'.
11281
11282 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11283
11284         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11285         * aclocal.m4, configure: Rebuilt.
11286
11287 2002-02-20  Per Bothner  <per@bothner.com>
11288
11289         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
11290         and/or output streams immediately here, instead of using File.exists.
11291         (inputStream, outputStream):  New fields to save open streams.
11292         (getInputStream, getOutputStream):  Use already-opened streams.
11293
11294 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
11295
11296         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11297         Use it.
11298         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11299         * aclocal.m4, configure, Makefile.in: Rebuilt.
11300
11301 2002-02-19  Tom Tromey  <tromey@redhat.com>
11302
11303         Fix for PR libgcj/5696:
11304         * verify.cc (is_assignable_from_slow): Never call
11305         _Jv_IsAssignableFrom.
11306         (verify_instructions_0): Added new debug statement.
11307         (state::print): Print information about whether local has
11308         changed.
11309         (state::merge): Don't call note_variable when merging locals.
11310         (state::set_exception): Removed old FIXME comment.
11311
11312 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11313
11314         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11315         enable SO_BROADCAST.
11316
11317 2002-02-18  Jason Merrill  <jason@redhat.com>
11318
11319         * name-finder.cc (toHex): Use word mode, not long long.
11320
11321         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11322
11323 2002-02-15  Tom Tromey  <tromey@redhat.com>
11324
11325         Fix for PR libgcj/5695:
11326         * verify.cc (is_assignable_from_slow): Check to see if target is
11327         an Object before checking to see if source is an interface.
11328         (verify_instructions_0) [op_invokeinterface]: Handle case where
11329         we're making an interface call on Object.
11330
11331 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11332
11333         * Makefile.in: Rebuilt with Eric's change below.
11334
11335         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11336         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11337         Removed functions which are now implemented in Math.java.
11338
11339 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11340
11341         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11342         * Makefile.am (core_java_source_files): Add
11343         java/lang/StrictMath.java.
11344         * java/lang/Math.java: Merge with Classpath.
11345         * java/lang/StrictMath.java: New file - merge with Classpath.
11346
11347 2002-02-14  Mark Wielaard  <mark@klomp.org>
11348
11349         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11350         package as a workaround for gcj 3.0.x
11351
11352 2002-02-14  Mark Wielaard <mark@klomp.org>
11353
11354         * java/security/BasicPermission.java: extends with fully qualified
11355         classname as workaround for gcj 3.0.4.
11356
11357 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11358
11359         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11360         around gcj bug of wrong emitted qualifier for inherited method.
11361         * java/net/SocketImpl.java (setOption, getOption): Ditto.
11362         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11363         constructor to reduce amount of emitted bytecode. While this
11364         happens to work around a jikes 1.15 bug, it is still a useful
11365         patch even for correct compilers.
11366         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11367         * gnu/java/rmi/server/UnicastRemoteCall.java
11368         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11369
11370 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
11371
11372         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11373         * java/net/SocketImpl.java: Ditto.
11374         * java/rmi/server/RMIClassLoader.java: Ditto.
11375         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11376
11377 2002-02-14  Mark Wielaard <mark@klomp.org>
11378
11379         Thanks to Takashi Okamoto
11380         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11381         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11382         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11383
11384 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11385
11386         Fix for PR libgcj/5670:
11387         * verify.cc (is_assignable_from_slow): If `source' is interface,
11388         recursively look for merge with `target'.
11389
11390 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
11391
11392         * include/jni.h: Fix typo.
11393
11394 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
11395
11396         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11397         correctly.
11398
11399 2002-02-13  Todd Stock  <toddastock@yahoo.com>
11400
11401         Fix for PR libgcj/5671:
11402         * verify.cc (state::merge): Handle case where we're merging
11403         against an interface.
11404
11405 2002-02-12  Tom Tromey  <tromey@redhat.com>
11406
11407         * exception.cc (std::abort): Mark as noreturn.
11408
11409 2002-02-12  Adam Megacz <adam@xwt.org>
11410
11411         * java/lang/Win32Process.java: Filled in a placeholder
11412         implementation so Win32 will build.
11413
11414 2002-02-12  Adam Megacz <adam@xwt.org>
11415
11416         * java/io/natFilePosix.cc: Copied this from natFile.cc.
11417         * java/io/natFile.cc: Removed from repository.
11418         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11419
11420 2002-02-12  Adam Megacz <adam@xwt.org>
11421
11422         * win32.cc: Added two #includes to make win32.cc compile.
11423
11424 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11425
11426         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11427         declarations.
11428         (_Jv_InitGC): Don't bother locking, as this is always called from a
11429         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11430
11431 2002-02-11  Adam Megacz <adam@xwt.org>
11432
11433         * include/win32.h: Added _Jv_platform_gettimeofday.
11434         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11435
11436 2002-02-11  Adam Megacz <adam@xwt.org>
11437
11438         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11439         Added #undef STRICT to make windows.h and
11440         java/lang/reflect/Modifier.h cooperate.
11441
11442 2002-02-11  Adam Megacz <adam@xwt.org>
11443
11444         * java/io/natFileWin32.cc: Created a placeholder class with lots
11445         of FIXMEs.
11446
11447 2002-02-11  Adam Megacz <adam@xwt.org>
11448
11449         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11450         std::abort() to simply abort(). Also added "fake" std::abort() so
11451         we can #include unwind-pe.h without having to link against
11452         libstdc++-v3.
11453
11454 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
11455
11456         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11457
11458 2002-02-08  Tom Tromey  <tromey@redhat.com>
11459
11460         * interpret.cc (convert): New function.
11461         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11462         convert.
11463         Include Long.h.
11464
11465 2002-02-08  Anthony Green  <green@redhat.com>
11466
11467         * configure.host: Add support for xscale-elf embedded target.
11468
11469 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
11470
11471         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11472         dereferenced.
11473         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11474         frame.
11475
11476 2002-02-07  Tom Tromey  <tromey@redhat.com>
11477
11478         * java/io/natFile.cc (_access): Use __builtin_alloca.
11479         (_stat): Likewise.
11480         (attr): Likewise.
11481         (getCanonicalPath): Likewise.
11482         (performList): Likewise.
11483         (performMkdir): Likewise.
11484         (performSetReadOnly): Likewise.
11485         (performRenameTo): Likewise.
11486         (performSetLastModified): Likewise.
11487         (performCreate): Likewise.
11488         (performDelete): Likewise.
11489
11490 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11491
11492         * HACKING: Fix URL for the automake-gcj.
11493
11494 2002-02-07  Tom Tromey  <tromey@redhat.com>
11495
11496         * java/lang/natThrowable.cc: Updated copyright.
11497         * java/io/natFileWin32.cc: Updated copyright.
11498         * java/io/natFileDescriptorWin32.cc: Updated copyright.
11499         * win32-threads.cc: Updated copyright.
11500         * name-finder.cc: Updated copyright.
11501         * include/name-finder.h: Updated copyright.
11502
11503         * include/name-finder.h: Conditionally include sys/wait.h.
11504         * include/config.h.in: Rebuilt.
11505
11506         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11507         Size buffer based on real size of string.
11508         (_stat): Likewise.
11509         (attr): Likewise.
11510         (getCanonicalPath): Likewise.
11511         (performList): Likewise.
11512         (performMkdir): Likewise.
11513         (performSetReadOnly): Likewise.
11514         (unixroot): Removed.
11515         (performRenameTo): Likewise.
11516         (performSetLastModified): Likewise.
11517         (performCreate): Likewise.
11518         (performDelete): Likewise.
11519         (performListRoots): Always return new array.
11520
11521         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11522         * win32.cc (win32_exception_handler): Now static.
11523         * include/win32.h (_Jv_platform_initialize): Declare.
11524         (win32_exception_handler): Don't declare.
11525         * java/lang/natSystem.cc (currentTimeMillis): Use
11526         _Jv_platform_gettimeofday.
11527         * posix.cc (_Jv_platform_gettimeofday): Renamed.
11528         (_Jv_select): Use new name.
11529         (_Jv_platform_initialize): New function.
11530         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11531         _Jv_gettimeofday.
11532         (_Jv_platform_initialize): Declare.
11533
11534         * configure: Rebuilt.
11535         * configure.in: Removed unnecessary parens.
11536
11537 2002-02-06  Adam Megacz <adam@xwt.org>
11538
11539        * configure.in: Changed mingw) to *mingw*).
11540        * win32.cc: Created this file.
11541        * win32.h: Created this file.
11542        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11543        win32_exception_handler from prims.cc to win32.cc, added
11544        header in win32.h.
11545        * prims.cc: removed some #ifdef-WIN32'd headers which are no
11546        longer needed now that we have platform.h
11547
11548 2002-02-06  Adam Megacz <adam@xwt.org>
11549
11550         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11551         use uint<n>_t instead of LONG and BYTE
11552
11553 2002-02-06  Adam Megacz <adam@xwt.org>
11554
11555         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11556
11557 2002-02-06  Anthony Green  <green@redhat.com>
11558
11559         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11560         Implement missing method stubs.
11561         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11562         targets.
11563         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11564         concept of timezones.
11565         (init_properties): Don't refer to _Jv_Environment_Properties
11566         when this feature is not available.
11567         * include/config.h.in: Rebuilt.
11568         * acconfig.h: Add DISABLE_MAIN_ARGS.
11569         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11570         * configure: Rebuilt.
11571         * configure.in: Add --disable-main-args option.  Test for
11572           opendir function.  Replace AC_CHECK_SIZEOF with
11573           AC_COMPILE_CHECK_SIZEOF.
11574         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11575         * aclocal.m4: Rebuilt.
11576         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11577
11578 2002-02-06  Tom Tromey  <tromey@redhat.com>
11579
11580         * verify.cc (require_array_type): If argument is a null array of
11581         references, return null as the element type.
11582
11583 2002-02-06  Mark Wielaard  <mark@klomp.org>
11584
11585         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11586         duplicate of a wide type.
11587
11588 2002-02-06  Tom Tromey  <tromey@redhat.com>
11589
11590         * verify.cc (type::isnull): New method.
11591         (require_array_type): Handle case where array is null.
11592         (verify_instructions_0) [op_arraylength]: Likewise.
11593
11594 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11595
11596         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11597         Symlink PLATFORMH to platform.h.
11598         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11599         PLATFORMOBJS.
11600         * java/lang/natSystem.cc: #include platform.h not posix.h.
11601         * Makefile.in: Rebuilt with libgcj automake.
11602         * configure: Rebuilt.
11603
11604 2002-02-05  Richard Henderson  <rth@redhat.com>
11605
11606         * Makefile.in: Undo munging last change.
11607
11608 2002-02-04  Adam Megacz <adam@xwt.org>
11609
11610         * win32.cc: Created it.
11611         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11612         which is set to posix.cc or win32.cc.
11613         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11614
11615 2002-02-04  Adam Megacz <adam@xwt.org>
11616
11617         * configure.in: Corrected mingw case branches; added * before
11618         and after.
11619
11620 2002-02-04  Adam Megacz <adam@xwt.org>
11621
11622         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11623         if compiling for win32
11624
11625 2002-02-04  Adam Megacz <adam@xwt.org>
11626
11627         * win32-threads.cc: #undef STRICT after gc.h inclusion
11628
11629 2002-02-02  Tom Tromey  <tromey@redhat.com>
11630
11631         * Makefile.in: Rebuilt.
11632
11633 2002-02-02  Jason Merrill  <jason@redhat.com>
11634
11635         * Makefile.am (clean-nat): New target.
11636
11637 2002-02-02  Tom Tromey  <tromey@redhat.com>
11638
11639         * java/io/natFile.cc: Removed old "FIXME" comments.
11640
11641 2002-02-01  Tom Tromey  <tromey@redhat.com>
11642
11643         * java/lang/natPosixProcess.cc (myclose): New function.
11644         (fail): Use it.
11645         (startProcess): Likewise.
11646
11647 2002-02-01  Adam Megacz <adam@xwt.org>
11648
11649         * prims.cc: Added #undef STRICT after #include<windows.h>.
11650
11651 2002-02-01  Adam Megacz <adam@xwt.org>
11652
11653         * prims.cc
11654         (_Jv_CreateJavaVM): We now use WIN32 instead of
11655         USE_WIN32_SIGNALLING and USE_WINSOCK.
11656         (win32_exception_handler): Now throws an exception out of
11657         the signal handler; assumes SJLJ.
11658
11659 2002-02-01  Adam Megacz <adam@xwt.org>
11660
11661         * win32-threads.cc:
11662         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11663         wait() algorithm to make it safe.
11664         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11665         Added lazy creation of Win32 Events for better performance
11666         (really_start): This now uses GC_CreateThread so boehm-gc
11667         knows about new threads even when statically linked.
11668
11669 2002-02-01  Adam Megacz <adam@xwt.org>
11670
11671         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11672         enable safer wait() algorithm.
11673         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11674         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11675         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11676         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11677         instead of mutex.
11678         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11679
11680 2002-02-01  Adam Megacz <adam@xwt.org>
11681
11682         * configure.in: Added support for mingw.
11683         * java/lang/Win32Process.java: Created as empty file.
11684         * java/lang/natWin32Process.cc: Created as empty file.
11685
11686 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11687
11688         PR java/4972
11689         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11690         for libiconv in LIBICONV variable.
11691         * configure: Regenerated.
11692
11693 2002-01-31  Tom Tromey  <tromey@redhat.com>
11694
11695         * verify.cc (state::enter_subroutine): New method.
11696         (handle_jsr_insn): Use it.
11697         (state::merge): When processing a `ret', correctly use
11698         subroutine's state to determine which local variables have
11699         changed.
11700         (push_exception_jump): Don't let stack overflow.
11701
11702 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11703
11704         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11705         --version output.
11706
11707 2002-01-30  Tom Tromey  <tromey@redhat.com>
11708
11709         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11710         parameter for `recv' return type.
11711
11712         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11713         (state::merge): ... not here.
11714         (subr_entry_info): New structure.
11715         (entry_points): New field.
11716         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11717         entry_points.
11718
11719 2002-01-29  Tom Tromey  <tromey@redhat.com>
11720
11721         * java/awt/List.java (addNotify): Correctly check to see if peer
11722         does not exist.
11723
11724         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11725         to compute height of each cell, and number of columns to compute
11726         width of each cell.
11727         * java/awt/Window.java (getOwnedWindows): Don't return null.
11728         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11729         of component.  Increment x using horizontal gap, not vertical
11730         gap.
11731
11732 2002-01-28  Tom Tromey  <tromey@redhat.com>
11733
11734         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11735         `nargs' byte is number of words, not number of arguments.
11736
11737 2002-01-27  Tom Tromey  <tromey@redhat.com>
11738
11739         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11740         (when): Likewise.
11741         * java/awt/event/InputEvent.java (modifiers, when): Now
11742         package-private.
11743
11744         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11745         and to-do list.
11746         (state::merge): Use current class' class loader.
11747         (state::print): Print subroutine.
11748         (state::merge): Don't look at subroutine of unmerged `ret'.
11749
11750 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11751
11752         * nogc.cc: Remove warnings.
11753         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11754         New functions.
11755
11756 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11757
11758         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11759         int, int):  Remove empty "if" statement to work around compiler bug.
11760         (newPixels(int[], ColorModel, int, int): Likewise.
11761
11762 2002-01-25  Per Bothner  <per@bothner.com>
11763
11764         * verify.cc (verify_fail):  Change from being a top-level function
11765         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11766         Pass the current verifier to type: and state: methods as needed,
11767         for better error messages, and for resolve.
11768         (resolve):  Pass current class's loader for Class.forName and
11769         _Jv_FindClassFromSignature, rather than using the default loader.
11770         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11771         (get_type_val_for_signature):  Make non-static.
11772         (various methods):  Pass start_PC implicitly, not explicitly.
11773
11774 2002-01-25  Tom Tromey  <tromey@redhat.com>
11775
11776         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11777         loop termination condition.
11778         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11779         width.
11780
11781 2002-01-24  Tom Tromey  <tromey@redhat.com>
11782
11783         * java/awt/Shape.java: Merged with Classpath.
11784         * java/awt/Scrollbar.java: Merged with Classpath.
11785
11786         * java/awt/Container.java (addNotify): Unconditionally call
11787         addNotifyContainerChildren and superclass addNotify.
11788
11789         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11790         getAlpha, not getBlue.
11791
11792 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11793
11794         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11795
11796         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11797         (grabPixels(long)): Wait to be notified that the ImageProducer has
11798         completed.
11799
11800 2002-01-24  Per Bothner  <per@bothner.com>
11801
11802         * verify.cc (is_assignable_from_slow): If target is an interface,
11803         we must still check the source's superclass before giving up.
11804
11805 2002-01-24  Tom Tromey  <tromey@redhat.com>
11806
11807         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11808
11809 2002-01-23  Tom Tromey  <tromey@redhat.com>
11810
11811         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11812         `else'.
11813
11814         * Makefile.in: Rebuilt.
11815         * Makefile.am (awt_java_source_files): Added new files.
11816         * java/awt/Toolkit.java: Merged with Classpath.
11817         * java/awt/PrintGraphics.java: New file from Classpath.
11818         * java/awt/PrintJob.java: New file from Classpath.
11819         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11820         * java/awt/datatransfer/ClipboardOwner.java: New file from
11821         Classpath.
11822         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11823         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11824         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11825         Classpath.
11826         * java/awt/datatransfer/StringSelection.java: New file from
11827         Classpath.
11828         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11829         Classpath.
11830         * java/awt/datatransfer/Transferable.java: New file from
11831         Classpath.
11832         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11833         from Classpath.
11834
11835         * Makefile.in: Rebuilt.
11836         * Makefile.am (awt_java_source_files): Added new files.
11837         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11838         Classpath.
11839         * java/awt/image/CropImageFilter.java: New file from Classpath.
11840         * java/awt/image/FilteredImageSource.java: New file from
11841         Classpath.
11842         * java/awt/image/ImageFilter.java: New file from Classpath.
11843         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11844         * java/awt/image/PixelGrabber.java: New file from Classpath.
11845         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11846         * java/awt/image/ReplicateScaleFilter.java: New file from
11847         Classpath.
11848         * java/awt/image/ImageProducer.java: Replaced with Classpath
11849         version.
11850         * java/awt/image/ImageObserver.java: Replaced with Classpath
11851         version.
11852         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11853         version.
11854         * java/awt/GridBagConstraints.java (clone): Catch
11855         CloneNotSupportedException.
11856
11857 2002-01-23  Per Bothner  <per@bothner.com>
11858
11859         * java/lang/reflect/natField.cc (setAddr):  New function.
11860         Calls getAddr and then checks that the field isn't final.
11861         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11862         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11863         (set):  Call setAddr before check that new value has right type,
11864         to better match specified semantics.
11865
11866 2002-01-22  Tom Tromey  <tromey@redhat.com>
11867
11868         * java/awt/TextField.java: Replaced with Classpath version.
11869         * java/awt/TextArea.java: Replaced with Classpath version.
11870         * java/awt/TextComponent.java: Replaced with Classpath version.
11871
11872         * java/awt/GridBagConstraints.java: Updated copyright.
11873
11874 2002-01-22  Mark Wielaard <mark@klomp.org>
11875
11876         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11877         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11878         java/awt/Dialog.java java/awt/FileDialog.java
11879         java/awt/Font.java java/awt/FontMetrics.java
11880         java/awt/Image.java java/awt/ImageMediaEntry.java
11881         java/awt/Insets.java java/awt/List.java
11882         java/awt/MediaEntry.java java/awt/MediaTracker.java
11883         java/awt/Menu.java java/awt/MenuBar.java
11884         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11885         java/awt/PaintContext.java java/awt/Panel.java
11886         java/awt/PopupMenu.java java/awt/SystemColor.java
11887         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11888         java/awt/peer/CheckboxMenuItemPeer.java
11889         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11890         java/awt/peer/ComponentPeer.java
11891         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11892         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11893         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11894         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11895         java/awt/peer/MenuBarPeer.java
11896         java/awt/peer/MenuComponentPeer.java
11897         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11898         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11899         java/awt/peer/ScrollPanePeer.java
11900         java/awt/peer/ScrollbarPeer.java
11901         java/awt/peer/TextAreaPeer.java
11902         java/awt/peer/TextComponentPeer.java
11903         java/awt/peer/TextFieldPeer.java
11904         java/awt/peer/WindowPeer.java: Add license clarification.
11905
11906 2002-01-22  Mark Wielaard <mark@klomp.org>
11907
11908         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11909         gnu/gcj/runtime/StringBuffer.java
11910         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11911         gnu/java/awt/ComponentDataBlitOp.java
11912         gnu/java/awt/GLightweightPeer.java
11913         gnu/java/beans/BeanInfoEmbryo.java
11914         gnu/java/beans/EmptyBeanInfo.java
11915         gnu/java/beans/ExplicitBeanInfo.java
11916         gnu/java/beans/IntrospectionIncubator.java
11917         gnu/java/beans/editors/ColorEditor.java
11918         gnu/java/beans/editors/FontEditor.java
11919         gnu/java/beans/editors/NativeBooleanEditor.java
11920         gnu/java/beans/editors/NativeByteEditor.java
11921         gnu/java/beans/editors/NativeDoubleEditor.java
11922         gnu/java/beans/editors/NativeFloatEditor.java
11923         gnu/java/beans/editors/NativeIntEditor.java
11924         gnu/java/beans/editors/NativeLongEditor.java
11925         gnu/java/beans/editors/NativeShortEditor.java
11926         gnu/java/beans/editors/StringEditor.java
11927         gnu/java/beans/info/ComponentBeanInfo.java
11928         gnu/java/io/ClassLoaderObjectInputStream.java
11929         gnu/java/io/NullOutputStream.java
11930         gnu/java/io/ObjectIdentityWrapper.java
11931         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11932         gnu/java/lang/reflect/TypeSignature.java
11933         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11934         gnu/java/locale/Calendar_en.java
11935         gnu/java/locale/Calendar_nl.java
11936         gnu/java/locale/LocaleInformation.java
11937         gnu/java/locale/LocaleInformation_de.java
11938         gnu/java/locale/LocaleInformation_en.java
11939         gnu/java/locale/LocaleInformation_nl.java
11940         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11941         gnu/java/rmi/registry/RegistryImpl.java
11942         gnu/java/rmi/rmic/Compile_gcj.java
11943         gnu/java/rmi/rmic/Compiler.java
11944         gnu/java/rmi/rmic/CompilerProcess.java
11945         gnu/java/rmi/rmic/RMIC.java
11946         gnu/java/rmi/rmic/TabbedWriter.java
11947         gnu/java/rmi/server/ProtocolConstants.java
11948         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11949         gnu/java/rmi/server/RMIHashes.java
11950         gnu/java/rmi/server/RMIObjectInputStream.java
11951         gnu/java/rmi/server/RMIObjectOutputStream.java
11952         gnu/java/rmi/server/UnicastConnection.java
11953         gnu/java/rmi/server/UnicastConnectionManager.java
11954         gnu/java/rmi/server/UnicastRef.java
11955         gnu/java/rmi/server/UnicastRemoteCall.java
11956         gnu/java/rmi/server/UnicastRemoteStub.java
11957         gnu/java/rmi/server/UnicastServer.java
11958         gnu/java/rmi/server/UnicastServerRef.java
11959         gnu/java/security/provider/DefaultPolicy.java
11960         gnu/java/security/provider/Gnu.java
11961         gnu/java/security/provider/SHA.java
11962         gnu/java/security/provider/SHA1PRNG.java
11963         gnu/java/text/BaseBreakIterator.java
11964         gnu/java/text/CharacterBreakIterator.java
11965         gnu/java/text/LineBreakIterator.java
11966         gnu/java/text/SentenceBreakIterator.java
11967         gnu/java/text/WordBreakIterator.java
11968         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11969         java/applet/AppletContext.java java/applet/AppletStub.java
11970         java/applet/AudioClip.java java/awt/AWTError.java
11971         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11972         java/awt/AWTException.java java/awt/AWTPermission.java
11973         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11974         java/awt/Button.java java/awt/Canvas.java
11975         java/awt/CardLayout.java java/awt/Checkbox.java
11976         java/awt/CheckboxGroup.java java/awt/Component.java
11977         java/awt/ComponentOrientation.java java/awt/Container.java
11978         java/awt/Dimension.java java/awt/Event.java
11979         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11980         java/awt/FlowLayout.java java/awt/Frame.java
11981         java/awt/Graphics.java java/awt/Graphics2D.java
11982         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11983         java/awt/IllegalComponentStateException.java
11984         java/awt/ItemSelectable.java java/awt/Label.java
11985         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11986         java/awt/MenuComponent.java java/awt/MenuItem.java
11987         java/awt/Paint.java java/awt/Point.java
11988         java/awt/Rectangle.java java/awt/RenderingHints.java
11989         java/awt/Transparency.java java/awt/Window.java
11990         java/awt/color/ColorSpace.java
11991         java/awt/color/ICC_ColorSpace.java
11992         java/awt/color/ICC_Profile.java
11993         java/awt/event/HierarchyBoundsAdapter.java
11994         java/awt/event/HierarchyBoundsListener.java
11995         java/awt/event/HierarchyEvent.java
11996         java/awt/event/HierarchyListener.java
11997         java/awt/geom/AffineTransform.java
11998         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11999         java/awt/geom/IllegalPathStateException.java
12000         java/awt/geom/Line2D.java
12001         java/awt/geom/NoninvertibleTransformException.java
12002         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12003         java/awt/geom/Rectangle2D.java
12004         java/awt/geom/RectangularShape.java
12005         java/awt/geom/RoundRectangle2D.java
12006         java/awt/image/BufferedImage.java
12007         java/awt/image/ColorModel.java
12008         java/awt/image/ComponentColorModel.java
12009         java/awt/image/ComponentSampleModel.java
12010         java/awt/image/DataBuffer.java
12011         java/awt/image/DataBufferByte.java
12012         java/awt/image/DataBufferInt.java
12013         java/awt/image/DataBufferUShort.java
12014         java/awt/image/DirectColorModel.java
12015         java/awt/image/PackedColorModel.java
12016         java/awt/image/Raster.java java/awt/image/RasterOp.java
12017         java/awt/image/SampleModel.java
12018         java/awt/image/SinglePixelPackedSampleModel.java
12019         java/awt/image/WritableRaster.java
12020         java/beans/AppletInitializer.java
12021         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12022         java/beans/Beans.java java/beans/Customizer.java
12023         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12024         java/beans/FeatureDescriptor.java
12025         java/beans/IndexedPropertyDescriptor.java
12026         java/beans/IntrospectionException.java
12027         java/beans/Introspector.java java/beans/MethodDescriptor.java
12028         java/beans/ParameterDescriptor.java
12029         java/beans/PropertyChangeEvent.java
12030         java/beans/PropertyChangeListener.java
12031         java/beans/PropertyChangeSupport.java
12032         java/beans/PropertyDescriptor.java
12033         java/beans/PropertyEditor.java
12034         java/beans/PropertyEditorManager.java
12035         java/beans/PropertyEditorSupport.java
12036         java/beans/PropertyVetoException.java
12037         java/beans/SimpleBeanInfo.java
12038         java/beans/VetoableChangeListener.java
12039         java/beans/VetoableChangeSupport.java
12040         java/beans/Visibility.java
12041         java/beans/beancontext/BeanContext.java
12042         java/beans/beancontext/BeanContextChild.java
12043         java/beans/beancontext/BeanContextChildComponentProxy.java
12044         java/beans/beancontext/BeanContextChildSupport.java
12045         java/beans/beancontext/BeanContextContainerProxy.java
12046         java/beans/beancontext/BeanContextEvent.java
12047         java/beans/beancontext/BeanContextMembershipEvent.java
12048         java/beans/beancontext/BeanContextMembershipListener.java
12049         java/beans/beancontext/BeanContextProxy.java
12050         java/beans/beancontext/BeanContextServiceAvailableEvent.java
12051         java/beans/beancontext/BeanContextServiceProvider.java
12052         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12053         java/beans/beancontext/BeanContextServiceRevokedEvent.java
12054         java/beans/beancontext/BeanContextServiceRevokedListener.java
12055         java/beans/beancontext/BeanContextServices.java
12056         java/beans/beancontext/BeanContextServicesListener.java
12057         java/io/BufferedInputStream.java
12058         java/io/BufferedOutputStream.java java/io/BufferedReader.java
12059         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12060         java/io/ByteArrayOutputStream.java
12061         java/io/CharArrayReader.java java/io/CharArrayWriter.java
12062         java/io/CharConversionException.java java/io/DataInput.java
12063         java/io/DataInputStream.java java/io/DataOutput.java
12064         java/io/EOFException.java java/io/Externalizable.java
12065         java/io/FileFilter.java java/io/FileNotFoundException.java
12066         java/io/FilePermission.java java/io/FileReader.java
12067         java/io/FileWriter.java java/io/FilenameFilter.java
12068         java/io/FilterInputStream.java java/io/FilterOutputStream.java
12069         java/io/FilterReader.java java/io/FilterWriter.java
12070         java/io/IOException.java java/io/InputStream.java
12071         java/io/InterruptedIOException.java
12072         java/io/InvalidClassException.java
12073         java/io/InvalidObjectException.java
12074         java/io/NotActiveException.java
12075         java/io/NotSerializableException.java java/io/ObjectInput.java
12076         java/io/ObjectInputStream.java
12077         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12078         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12079         java/io/ObjectStreamConstants.java
12080         java/io/ObjectStreamException.java
12081         java/io/ObjectStreamField.java
12082         java/io/OptionalDataException.java java/io/OutputStream.java
12083         java/io/PipedInputStream.java java/io/PipedOutputStream.java
12084         java/io/PipedReader.java java/io/PipedWriter.java
12085         java/io/PrintWriter.java java/io/PushbackInputStream.java
12086         java/io/PushbackReader.java java/io/Reader.java
12087         java/io/SequenceInputStream.java java/io/Serializable.java
12088         java/io/SerializablePermission.java
12089         java/io/StreamCorruptedException.java
12090         java/io/StreamTokenizer.java
12091         java/io/StringBufferInputStream.java java/io/StringReader.java
12092         java/io/StringWriter.java java/io/SyncFailedException.java
12093         java/io/UTFDataFormatException.java
12094         java/io/UnsupportedEncodingException.java
12095         java/io/WriteAbortedException.java java/io/Writer.java
12096         java/lang/AbstractMethodError.java
12097         java/lang/ArithmeticException.java
12098         java/lang/ArrayIndexOutOfBoundsException.java
12099         java/lang/ArrayStoreException.java java/lang/Boolean.java
12100         java/lang/Byte.java java/lang/CharSequence.java
12101         java/lang/ClassCastException.java
12102         java/lang/ClassCircularityError.java
12103         java/lang/ClassFormatError.java
12104         java/lang/ClassNotFoundException.java
12105         java/lang/CloneNotSupportedException.java
12106         java/lang/Cloneable.java java/lang/Comparable.java
12107         java/lang/Compiler.java java/lang/Double.java
12108         java/lang/Error.java java/lang/Exception.java
12109         java/lang/ExceptionInInitializerError.java
12110         java/lang/Float.java java/lang/IllegalAccessError.java
12111         java/lang/IllegalAccessException.java
12112         java/lang/IllegalArgumentException.java
12113         java/lang/IllegalMonitorStateException.java
12114         java/lang/IllegalStateException.java
12115         java/lang/IllegalThreadStateException.java
12116         java/lang/IncompatibleClassChangeError.java
12117         java/lang/IndexOutOfBoundsException.java
12118         java/lang/InheritableThreadLocal.java
12119         java/lang/InstantiationError.java
12120         java/lang/InstantiationException.java java/lang/Integer.java
12121         java/lang/InternalError.java
12122         java/lang/InterruptedException.java
12123         java/lang/LinkageError.java java/lang/Long.java
12124         java/lang/NegativeArraySizeException.java
12125         java/lang/NoClassDefFoundError.java
12126         java/lang/NoSuchFieldError.java
12127         java/lang/NoSuchFieldException.java
12128         java/lang/NoSuchMethodError.java
12129         java/lang/NoSuchMethodException.java
12130         java/lang/NullPointerException.java java/lang/Number.java
12131         java/lang/NumberFormatException.java
12132         java/lang/OutOfMemoryError.java java/lang/Package.java
12133         java/lang/Process.java java/lang/Runnable.java
12134         java/lang/RuntimeException.java
12135         java/lang/RuntimePermission.java
12136         java/lang/SecurityException.java
12137         java/lang/SecurityManager.java java/lang/Short.java
12138         java/lang/StackOverflowError.java java/lang/StringBuffer.java
12139         java/lang/StringIndexOutOfBoundsException.java
12140         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12141         java/lang/ThreadLocal.java java/lang/UnknownError.java
12142         java/lang/UnsatisfiedLinkError.java
12143         java/lang/UnsupportedClassVersionError.java
12144         java/lang/UnsupportedOperationException.java
12145         java/lang/VerifyError.java java/lang/VirtualMachineError.java
12146         java/lang/Void.java java/lang/ref/PhantomReference.java
12147         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12148         java/lang/ref/SoftReference.java
12149         java/lang/ref/WeakReference.java
12150         java/lang/reflect/AccessibleObject.java
12151         java/lang/reflect/InvocationTargetException.java
12152         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12153         java/lang/reflect/ReflectPermission.java
12154         java/math/BigDecimal.java java/math/BigInteger.java
12155         java/net/Authenticator.java java/net/BindException.java
12156         java/net/ConnectException.java java/net/ContentHandler.java
12157         java/net/ContentHandlerFactory.java
12158         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12159         java/net/FileNameMap.java java/net/MalformedURLException.java
12160         java/net/MulticastSocket.java java/net/NetPermission.java
12161         java/net/NoRouteToHostException.java
12162         java/net/PasswordAuthentication.java
12163         java/net/ProtocolException.java java/net/ServerSocket.java
12164         java/net/Socket.java java/net/SocketException.java
12165         java/net/SocketImpl.java java/net/SocketImplFactory.java
12166         java/net/SocketOptions.java java/net/SocketPermission.java
12167         java/net/URLDecoder.java java/net/URLEncoder.java
12168         java/net/URLStreamHandlerFactory.java
12169         java/net/UnknownHostException.java
12170         java/net/UnknownServiceException.java
12171         java/rmi/AccessException.java
12172         java/rmi/AlreadyBoundException.java
12173         java/rmi/ConnectException.java
12174         java/rmi/ConnectIOException.java
12175         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12176         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12177         java/rmi/NotBoundException.java
12178         java/rmi/RMISecurityException.java
12179         java/rmi/RMISecurityManager.java java/rmi/Remote.java
12180         java/rmi/RemoteException.java java/rmi/ServerError.java
12181         java/rmi/ServerException.java
12182         java/rmi/ServerRuntimeException.java
12183         java/rmi/StubNotFoundException.java
12184         java/rmi/UnexpectedException.java
12185         java/rmi/UnknownHostException.java
12186         java/rmi/UnmarshalException.java
12187         java/rmi/activation/Activatable.java
12188         java/rmi/activation/ActivateFailedException.java
12189         java/rmi/activation/ActivationDesc.java
12190         java/rmi/activation/ActivationException.java
12191         java/rmi/activation/ActivationGroup.java
12192         java/rmi/activation/ActivationGroupDesc.java
12193         java/rmi/activation/ActivationGroupID.java
12194         java/rmi/activation/ActivationID.java
12195         java/rmi/activation/ActivationInstantiator.java
12196         java/rmi/activation/ActivationMonitor.java
12197         java/rmi/activation/ActivationSystem.java
12198         java/rmi/activation/Activator.java
12199         java/rmi/activation/UnknownGroupException.java
12200         java/rmi/activation/UnknownObjectException.java
12201         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12202         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12203         java/rmi/registry/Registry.java
12204         java/rmi/registry/RegistryHandler.java
12205         java/rmi/server/ExportException.java
12206         java/rmi/server/LoaderHandler.java
12207         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12208         java/rmi/server/Operation.java
12209         java/rmi/server/RMIClassLoader.java
12210         java/rmi/server/RMIClientSocketFactory.java
12211         java/rmi/server/RMIFailureHandler.java
12212         java/rmi/server/RMIServerSocketFactory.java
12213         java/rmi/server/RMISocketFactory.java
12214         java/rmi/server/RemoteCall.java
12215         java/rmi/server/RemoteObject.java
12216         java/rmi/server/RemoteRef.java
12217         java/rmi/server/RemoteServer.java
12218         java/rmi/server/RemoteStub.java
12219         java/rmi/server/ServerCloneException.java
12220         java/rmi/server/ServerNotActiveException.java
12221         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12222         java/rmi/server/SkeletonMismatchException.java
12223         java/rmi/server/SkeletonNotFoundException.java
12224         java/rmi/server/SocketSecurityException.java
12225         java/rmi/server/UID.java
12226         java/rmi/server/UnicastRemoteObject.java
12227         java/rmi/server/Unreferenced.java
12228         java/security/AccessControlContext.java
12229         java/security/AccessControlException.java
12230         java/security/AccessController.java
12231         java/security/AlgorithmParameterGenerator.java
12232         java/security/AlgorithmParameterGeneratorSpi.java
12233         java/security/AlgorithmParameters.java
12234         java/security/AlgorithmParametersSpi.java
12235         java/security/AllPermission.java
12236         java/security/BasicPermission.java
12237         java/security/Certificate.java java/security/CodeSource.java
12238         java/security/DigestException.java
12239         java/security/DigestInputStream.java
12240         java/security/DigestOutputStream.java
12241         java/security/DomainCombiner.java
12242         java/security/DummyKeyPairGenerator.java
12243         java/security/DummyMessageDigest.java
12244         java/security/DummySignature.java
12245         java/security/GeneralSecurityException.java
12246         java/security/Guard.java java/security/GuardedObject.java
12247         java/security/Identity.java java/security/IdentityScope.java
12248         java/security/InvalidAlgorithmParameterException.java
12249         java/security/InvalidKeyException.java
12250         java/security/InvalidParameterException.java
12251         java/security/Key.java java/security/KeyException.java
12252         java/security/KeyFactory.java java/security/KeyFactorySpi.java
12253         java/security/KeyManagementException.java
12254         java/security/KeyPair.java java/security/KeyPairGenerator.java
12255         java/security/KeyPairGeneratorSpi.java
12256         java/security/KeyStore.java
12257         java/security/KeyStoreException.java
12258         java/security/KeyStoreSpi.java
12259         java/security/MessageDigest.java
12260         java/security/MessageDigestSpi.java
12261         java/security/NoSuchAlgorithmException.java
12262         java/security/NoSuchProviderException.java
12263         java/security/Permission.java
12264         java/security/PermissionCollection.java
12265         java/security/Permissions.java java/security/Policy.java
12266         java/security/Principal.java java/security/PrivateKey.java
12267         java/security/PrivilegedAction.java
12268         java/security/PrivilegedActionException.java
12269         java/security/PrivilegedExceptionAction.java
12270         java/security/ProtectionDomain.java
12271         java/security/Provider.java
12272         java/security/ProviderException.java
12273         java/security/PublicKey.java
12274         java/security/SecureClassLoader.java
12275         java/security/SecureRandom.java
12276         java/security/SecureRandomSpi.java java/security/Security.java
12277         java/security/SecurityPermission.java
12278         java/security/Signature.java
12279         java/security/SignatureException.java
12280         java/security/SignatureSpi.java
12281         java/security/SignedObject.java java/security/Signer.java
12282         java/security/UnrecoverableKeyException.java
12283         java/security/UnresolvedPermission.java
12284         java/security/acl/Acl.java java/security/acl/AclEntry.java
12285         java/security/acl/AclNotFoundException.java
12286         java/security/acl/Group.java
12287         java/security/acl/LastOwnerException.java
12288         java/security/acl/NotOwnerException.java
12289         java/security/acl/Owner.java java/security/acl/Permission.java
12290         java/security/cert/CRL.java
12291         java/security/cert/CRLException.java
12292         java/security/cert/Certificate.java
12293         java/security/cert/CertificateEncodingException.java
12294         java/security/cert/CertificateException.java
12295         java/security/cert/CertificateExpiredException.java
12296         java/security/cert/CertificateFactory.java
12297         java/security/cert/CertificateFactorySpi.java
12298         java/security/cert/CertificateNotYetValidException.java
12299         java/security/cert/CertificateParsingException.java
12300         java/security/cert/X509CRL.java
12301         java/security/cert/X509CRLEntry.java
12302         java/security/cert/X509Certificate.java
12303         java/security/cert/X509Extension.java
12304         java/security/interfaces/DSAKey.java
12305         java/security/interfaces/DSAKeyPairGenerator.java
12306         java/security/interfaces/DSAParams.java
12307         java/security/interfaces/DSAPrivateKey.java
12308         java/security/interfaces/DSAPublicKey.java
12309         java/security/interfaces/RSAKey.java
12310         java/security/interfaces/RSAPrivateCrtKey.java
12311         java/security/interfaces/RSAPrivateKey.java
12312         java/security/interfaces/RSAPublicKey.java
12313         java/security/spec/AlgorithmParameterSpec.java
12314         java/security/spec/DSAParameterSpec.java
12315         java/security/spec/DSAPrivateKeySpec.java
12316         java/security/spec/DSAPublicKeySpec.java
12317         java/security/spec/EncodedKeySpec.java
12318         java/security/spec/InvalidKeySpecException.java
12319         java/security/spec/InvalidParameterSpecException.java
12320         java/security/spec/KeySpec.java
12321         java/security/spec/PKCS8EncodedKeySpec.java
12322         java/security/spec/RSAKeyGenParameterSpec.java
12323         java/security/spec/RSAPrivateCrtKeySpec.java
12324         java/security/spec/RSAPrivateKeySpec.java
12325         java/security/spec/RSAPublicKeySpec.java
12326         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12327         java/sql/BatchUpdateException.java java/sql/Blob.java
12328         java/sql/CallableStatement.java java/sql/Clob.java
12329         java/sql/Connection.java java/sql/DataTruncation.java
12330         java/sql/DatabaseMetaData.java java/sql/Date.java
12331         java/sql/Driver.java java/sql/DriverManager.java
12332         java/sql/DriverPropertyInfo.java
12333         java/sql/PreparedStatement.java java/sql/Ref.java
12334         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12335         java/sql/SQLData.java java/sql/SQLException.java
12336         java/sql/SQLInput.java java/sql/SQLOutput.java
12337         java/sql/SQLWarning.java java/sql/Statement.java
12338         java/sql/Struct.java java/sql/Time.java
12339         java/sql/Timestamp.java java/sql/Types.java
12340         java/text/Annotation.java
12341         java/text/AttributedCharacterIterator.java
12342         java/text/AttributedString.java
12343         java/text/AttributedStringIterator.java
12344         java/text/BreakIterator.java java/text/CharacterIterator.java
12345         java/text/ChoiceFormat.java java/text/Collator.java
12346         java/text/DateFormat.java java/text/DateFormatSymbols.java
12347         java/text/DecimalFormat.java
12348         java/text/DecimalFormatSymbols.java
12349         java/text/FieldPosition.java java/text/Format.java
12350         java/text/MessageFormat.java java/text/NumberFormat.java
12351         java/text/ParseException.java java/text/ParsePosition.java
12352         java/text/SimpleDateFormat.java
12353         java/text/StringCharacterIterator.java
12354         java/util/AbstractCollection.java java/util/AbstractList.java
12355         java/util/AbstractMap.java
12356         java/util/AbstractSequentialList.java
12357         java/util/AbstractSet.java java/util/ArrayList.java
12358         java/util/Arrays.java java/util/BasicMapEntry.java
12359         java/util/BitSet.java java/util/Calendar.java
12360         java/util/Collection.java java/util/Collections.java
12361         java/util/Comparator.java
12362         java/util/ConcurrentModificationException.java
12363         java/util/Date.java java/util/Dictionary.java
12364         java/util/EmptyStackException.java java/util/Enumeration.java
12365         java/util/EventListener.java java/util/EventObject.java
12366         java/util/GregorianCalendar.java java/util/HashMap.java
12367         java/util/HashSet.java java/util/Hashtable.java
12368         java/util/IdentityHashMap.java java/util/Iterator.java
12369         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12370         java/util/LinkedList.java java/util/List.java
12371         java/util/ListIterator.java java/util/ListResourceBundle.java
12372         java/util/Locale.java java/util/Map.java
12373         java/util/MissingResourceException.java
12374         java/util/NoSuchElementException.java
12375         java/util/Observable.java java/util/Observer.java
12376         java/util/Properties.java java/util/PropertyPermission.java
12377         java/util/PropertyResourceBundle.java java/util/Random.java
12378         java/util/RandomAccess.java java/util/ResourceBundle.java
12379         java/util/Set.java java/util/SimpleTimeZone.java
12380         java/util/SortedMap.java java/util/SortedSet.java
12381         java/util/Stack.java java/util/StringTokenizer.java
12382         java/util/TimeZone.java java/util/Timer.java
12383         java/util/TimerTask.java
12384         java/util/TooManyListenersException.java
12385         java/util/TreeMap.java java/util/TreeSet.java
12386         java/util/Vector.java java/util/WeakHashMap.java
12387         java/util/jar/Attributes.java java/util/jar/JarEntry.java
12388         java/util/jar/JarException.java java/util/jar/JarFile.java
12389         java/util/jar/JarInputStream.java
12390         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12391         java/util/zip/Adler32.java java/util/zip/CRC32.java
12392         java/util/zip/CheckedInputStream.java
12393         java/util/zip/CheckedOutputStream.java
12394         java/util/zip/Checksum.java
12395         java/util/zip/DataFormatException.java
12396         java/util/zip/Deflater.java
12397         java/util/zip/DeflaterOutputStream.java
12398         java/util/zip/GZIPInputStream.java
12399         java/util/zip/GZIPOutputStream.java
12400         java/util/zip/Inflater.java
12401         java/util/zip/InflaterInputStream.java
12402         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12403         java/util/zip/ZipException.java java/util/zip/ZipFile.java
12404         java/util/zip/ZipInputStream.java
12405         java/util/zip/ZipOutputStream.java
12406         javax/naming/BinaryRefAddr.java
12407         javax/naming/InvalidNameException.java javax/naming/Name.java
12408         javax/naming/NamingException.java javax/naming/RefAddr.java
12409         javax/naming/StringRefAddr.java: Add license clarification.
12410
12411 2002-01-22  Tom Tromey  <tromey@redhat.com>
12412
12413         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12414         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12415         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12416         version.
12417         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12418         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12419         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12420         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12421         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12422         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12423         * java/awt/peer/FontPeer.java: Replace with Classpath version.
12424         * java/awt/peer/FramePeer.java: Replace with Classpath version.
12425         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12426         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12427         * java/awt/peer/ListPeer.java: Replace with Classpath version.
12428         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12429         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12430         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12431         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12432         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12433         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12434         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12435         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12436         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12437         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12438         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12439         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12440         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12441         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12442         (minimumSize, preferredSize, reshape): Likewise.
12443         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12444         getColorModel): New methods.
12445         * java/awt/PopupMenu.java: Merged with Classpath.
12446         * java/awt/MenuBar.java: Merged with Classpath.
12447         * java/awt/SystemColor.java: Replace with Classpath version.
12448         * java/awt/Panel.java: Merged with Classpath.
12449         * java/awt/PaintContext.java: Updated copyright.
12450         * java/awt/MenuShortcut.java: Merged with Classpath.
12451         * java/awt/MenuContainer.java: Merged with Classpath.
12452         * java/awt/Menu.java: Merged with Classpath.
12453         * java/awt/MediaEntry.java: New file from Classpath.
12454         * java/awt/MediaTracker.java: New file from Classpath.
12455         * java/awt/List.java: Merged with Classpath version.
12456         * java/awt/Insets.java: Merged with Classpath version.
12457         * java/awt/ImageMediaEntry.java: New file from Classpath.
12458         * java/awt/Image.java: Replaced with Classpath version.
12459         * java/awt/FontMetrics.java: Merged with Classpath version.
12460         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12461         constant.
12462         * java/awt/Font.java: Merged with Classpath version.
12463         * java/awt/Dialog.java: Merged with Classpath version.
12464         * java/awt/Color.java: Merged with Classpath version.
12465         * java/awt/Choice.java: Merged with Classpath version.
12466         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12467         * java/awt/Adjustable.java: Replace with Classpath version.
12468         * java/awt/MenuItem.java (paramString): Don't include class name
12469         or brackets.  Call superclass paramString.
12470         * java/awt/MenuComponent.java (toString): Call paramString.
12471         (paramString): Compute string; don't call toString.
12472         * java/awt/Label.java (paramString): Don't include class name
12473         or brackets.  Call superclass paramString.
12474         * java/awt/Checkbox.java (paramString): Don't include class name
12475         or brackets.  Call superclass paramString.
12476         * java/awt/Button.java (paramString): Don't include class name or
12477         brackets.  Call superclass paramString.
12478         * java/awt/MenuComponent.java (getTreeLock): Now protected.
12479
12480 2002-01-20  Andreas Schwab  <schwab@suse.de>
12481
12482         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12483         function and of parameter recv_func to ssize_t, as specified by
12484         POSIX.
12485
12486 2002-01-19  Per Bothner  <per@bothner.com>
12487
12488         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
12489         uncompressed_size in readiness for next entry.
12490
12491 2002-01-18  Tom Tromey  <tromey@redhat.com>
12492
12493         * java/net/natPlainSocketImpl.cc: Include
12494         IllegalArgumentException.h.
12495         (_Jv_recv): New template function.
12496         (BooleanClass): Removed.
12497         (read): Use _Jv_recv.
12498         (setOption): Use Boolean::class$.  Throw exception if object is
12499         not Boolean or Integer.
12500
12501 2002-01-17  Tom Tromey  <tromey@redhat.com>
12502
12503         * java/awt/MenuComponent.java: Merged with Classpath.
12504         * java/awt/MenuItem.java: Merged with Classpath.
12505         * java/awt/Button.java: Merged with Classpath.
12506
12507         * java/awt/ActiveEvent.java: Updated copyright.
12508
12509         * java/awt/AWTError.java: Replaced with Classpath version.
12510         * java/awt/AWTException.java: Replaced with Classpath version.
12511         * java/awt/IllegalComponentStateException.java: Replaced with
12512         Classpath version.
12513
12514 2002-01-16  Tom Tromey  <tromey@redhat.com>
12515
12516         * java/awt/Canvas.java (serialVersionUID): New constant.
12517         Updated copyright.  Added javadoc from Classpath.
12518         * java/awt/ItemSelectable.java: Replaced with Classpath version.
12519
12520         * java/awt/CheckboxGroup.java: Merged with Classpath.
12521         * java/awt/Checkbox.java: Merged with Classpath.
12522
12523         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
12524         Classpath.
12525         * java/awt/Point.java: Updated copyright.
12526
12527         * java/awt/Point.java (toString): Use getClass().getName().
12528         Added javadoc.
12529
12530         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12531         commented code.
12532         (hash): Correctly compute initial value for `h'.
12533
12534         * java/awt/Label.java: Merged with Classpath.
12535
12536 2002-01-15  Tom Tromey  <tromey@redhat.com>
12537
12538         * java/awt/AWTPermission.java: Updated copyright.
12539
12540         * java/awt/LayoutManager2.java: Merged with Classpath.
12541         * java/awt/LayoutManager.java: Merged with Classpath.
12542         * java/awt/GridLayout.java: Updated copyright and javadoc.
12543         (getSize): Use `parent.ncomponents'.  Handle insets.
12544         (layoutContainer): Use `parent.ncomponents'.  Handle case where
12545         there are fewer children than columns.  Correctly compute size of
12546         each cell in the grid.  Handle case where there isn't enough
12547         space.
12548         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
12549         all users.
12550         (gotoComponent): Use parent.ncomponents.  Ensure child exists
12551         before calling setVisible() on it.  Last item is `num - 1', not
12552         `num'.
12553         (layoutContainer): Hoist invariants out of loop.
12554
12555         Start of AWT merge with Classpath:
12556         * Makefile.in: Rebuilt.
12557         * Makefile.am (awt_java_source_files): Reference files in
12558         gnu/java/awt, not gnu/gcj/awt.
12559         * java/awt/image/BufferedImage.java: Updated copyright.
12560         * java/awt/image/ComponentColorModel.java: Updated copyright.
12561         * java/awt/image/ComponentSampleModel.java: Updated copyright.
12562         * java/awt/image/DataBuffer.java: Updated copyright.
12563         * java/awt/image/DataBufferByte.java: Updated copyright.
12564         * java/awt/image/DataBufferInt.java: Updated copyright.
12565         * java/awt/image/DataBufferUShort.java: Updated copyright.
12566         * java/awt/image/IndexColorModel.java: Updated copyright.
12567         * java/awt/image/PackedColorModel.java: Updated copyright.
12568         * java/awt/image/Raster.java: Updated copyright.
12569         * java/awt/image/RasterOp.java: Updated copyright.
12570         * java/awt/image/SampleModel.java: Updated copyright.
12571         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12572         * java/awt/image/WritableRaster.java: Updated copyright.
12573         * java/awt/color/ColorSpace.java: Updated copyright.
12574         * java/awt/color/ICC_ColorSpace.java: Updated copyright
12575         * java/awt/color/ICC_Profile.java: Updated copyright.
12576         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12577         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12578         * java/awt/event/HierarchyEvent.java: Updated copyright.
12579         * java/awt/event/HierarchyListener.java: Updated copyright.
12580         * java/awt/geom/AffineTransform.java: Updated copyright.
12581         * java/awt/geom/Dimension2D.java: Updated copyright.
12582         * java/awt/geom/Ellipse2D.java: Updated copyright.
12583         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12584         * java/awt/geom/Line2D.java: Updated copyright.
12585         * java/awt/geom/NoninvertibleTransformException.java: Updated
12586         copyright.
12587         * java/awt/geom/PathIterator.java: Updated copyright.
12588         * java/awt/geom/Point2D.java: Updated copyright.
12589         * java/awt/geom/Rectangle2D.java: Updated copyright.
12590         * java/awt/geom/RectangularShape.java: Updated copyright.
12591         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12592         * java/awt/Toolkit.java: Updated import for file moves.
12593         * java/awt/Rectangle.java: Updated copyright; added javadoc from
12594         Classpath.
12595         (hashCode): New method from Classpath.
12596         * java/awt/Graphics2D.java: Updated copyright.
12597         * java/awt/Transparency.java: Updated copyright.
12598         * java/awt/Paint.java: Updated copyright.
12599         * java/awt/Graphics.java: New version from Classpath.
12600         * java/awt/EventDispatchThread.java: Updated copyright.
12601         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12602         children.
12603         (gotoComponent): Wrap around on next/previous.
12604         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12605         * gnu/gcj/awt/Buffers.java: Removed.
12606         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12607         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12608         * gnu/java/awt/BitMaskExtent.java: Added.
12609         * gnu/java/awt/Buffers.java: Added.
12610         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12611         * gnu/java/awt/GLightweightPeer.java: Added.
12612         * java/awt/geom/Line2D.java (clone): Ignore
12613         CloneNotSupportedException.
12614         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12615         * java/awt/Frame.java: Merged with Classpath.
12616         * java/awt/RenderingHints.java: Copyright update.
12617         * java/awt/Paint.java: Copyright update.
12618         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12619         * java/awt/image/ColorModel.java: Merged with Classpath.
12620         * java/awt/Window.java (show): New Implementation from Classpath.
12621         (isShowing): Use super.isShowing().
12622         * java/awt/EventQueue.java: Merged with Classpath.
12623         * java/awt/AWTEventMulticaster.java (save): Throw
12624         RuntimeException.
12625         (saveInternal): Likewise.
12626         * java/awt/AWTEvent.java: Now implements Serializable.
12627         * java/awt/Event.java: Copyright update.
12628         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12629         * java/awt/image/BufferedImage.java: Copyright update.
12630         * java/awt/GraphicsConfiguration.java: Copyright update.
12631         * java/awt/Component.java: (addNotify): Don't call
12632         addNotifyContainerChildren().
12633         (addNotifyContainerChildren): Removed.
12634         (setPeer): New method from Classpath.
12635         (setTreeLock): Likewise.
12636         (setVisible): Rewrote.
12637         (show): Use it.
12638         (hide): Likewise.
12639         (validate): Set `valid'.
12640         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12641         (createImage(ImageProducer)): Likewise.
12642         (prepareImage): Likewise.
12643         * java/awt/Container.java (addImpl): Handle case where constraint
12644         is not a String.  Post event via system event queue.
12645         (remove): Post event via system event queue.
12646         (validateTree): Only validate child if it is invalid.
12647         (getAlignmentX): Call super method as default.
12648         (getAlignmentY): Likewise.
12649         (addContainerListener): Now synchronized.
12650         (removeContainerListener): Likewise.
12651         (addNotifyContainerChildren): Now private.
12652         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12653         @author.
12654         * java/awt/FlowLayout.java (serialVersionUID): New field.
12655         (setAlignment): Better exception message.
12656         (layoutContainer): Don't compute component's preferred size unless
12657         we're going to use it.
12658         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12659         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12660         (firstLine, lastLine, firstItem, lastItem): New fields.
12661         (addLayoutComponent): Handle case where constraints is null.
12662         Also, handle relative locations.
12663         (removeLayoutComponent): Handle relative locations.
12664         (MIN, MAX, PREF): New constants.
12665         (calcCompSize): New method.
12666         (calcSize): New method.
12667         (minimumLayoutSize): Use it.
12668         (preferredLayoutSize): Likewise.
12669         (maximumLayoutSize): Likewise.
12670         (toString): Include more information.
12671         (setBounds): New method.
12672         (layoutContainer): Use libgcj implementation; extended to handle
12673         relative locations.
12674
12675 2002-01-15  Tom Tromey  <tromey@redhat.com>
12676
12677         * java/lang/Float.java (equals): Preserve old code.
12678         * java/lang/Double.java (equals): Preserve old code.
12679
12680 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12681
12682         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12683         * java/lang/Float.java (equals, compare): Ditto.
12684
12685 2002-01-13  Mark Wielaard  <mark@klomp.org>
12686
12687         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12688         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12689         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12690         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12691
12692 2002-01-11  Mark Wielaard  <mark@klomp.org>
12693
12694         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12695         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12696         InetAddress.
12697         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12698         * java/net/Socket.java: Merge with Classpath.
12699         * java/net/ServerSocket.java: Likewise.
12700
12701 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12702
12703         * interpret.cc (NULLARRAYCHECK): New macro.
12704         (SAVE_PC): Just store `pc'.
12705         (find_exception): Subtract one from `pc' here.
12706         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12707         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12708         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12709         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12710         don't call SAVE_PC.
12711         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12712         call SAVE_PC.
12713
12714 2002-01-11  Tom Tromey  <tromey@redhat.com>
12715
12716         * java/lang/natSystem.cc (init_properties): Only look for default
12717         locale if LC_MESSAGES is defined.
12718         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12719         * configure.in: Call AM_LC_MESSAGES.
12720         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12721
12722 2002-01-10  Tom Tromey  <tromey@redhat.com>
12723
12724         For PR libgcj/5303:
12725         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12726         --version.  Recognize GNU-style long options.  Print GNU-style
12727         error messages.
12728         (usage): Print GNU-style help.  Exit with status 0.
12729         (error): New method.
12730         (run): Print error message if no class names found.
12731         (main): Don't print usage on error.
12732
12733 2002-01-09  Tom Tromey  <tromey@redhat.com>
12734
12735         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12736         property.
12737         (help, version): Use println(), not println("").
12738
12739         For PR libgcj/5303:
12740         * gnu/gcj/convert/Convert.java (error): Program is called
12741         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12742         -1.
12743         (main): Handle --help and --version.
12744         (help): New method.
12745         (version): Likewise.
12746
12747 2002-01-08  Tom Tromey  <tromey@redhat.com>
12748
12749         * Makefile.in: Rebuilt.
12750         * Makefile.am (ordinary_java_source_files): Added new files.
12751         * gnu/java/locale/LocaleInformation.java: Extend
12752         LocaleInformation_en.
12753         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12754         and time/date formats.
12755         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12756         generated.
12757         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12758         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12759         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12760         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12761         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12762         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12763         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12764         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12765         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12766         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12767         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12768         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12769         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12770         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12771         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12772         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12773         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12774         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12775         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12776         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12777         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12778         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12779         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12780         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12781         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12782         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12783         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12784         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12785         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12786         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12787         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12788         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12789         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12790         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12791         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12792         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12793         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12794         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12795         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12796         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12797         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12798         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12799         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12800         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12801         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12802         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12803         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12804         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12805         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12806         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12807         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12808         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12809         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12810         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12811         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12812         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12813         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12814         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12815         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12816         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12817         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12818         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12819         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12820         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12821         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12822         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12823         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12824         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12825         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12826         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12827         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12828         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12829         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12830         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12831         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12832         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12833         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12834         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12835         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12836         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12837         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12838         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12839         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12840         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12841         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12842         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12843         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12844         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12845         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12846         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12847         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12848         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12849         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12850         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12851         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12852         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12853         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12854         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12855         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12856         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12857         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12858         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12859         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12860         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12861         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12862         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12863         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12864         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12865         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12866         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12867         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12868         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12869         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12870         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12871         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12872         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12873         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12874         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12875         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12876         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12877         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12878         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12879         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12880         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12881         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12882         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12883         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12884         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12885         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12886         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12887
12888         For PR libgcj/5031:
12889         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12890         choose default locale.
12891
12892         * Makefile.in: Rebuilt.
12893         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12894
12895 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12896
12897         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12898         sockets.
12899         (close): New function closes the socket.
12900         (write): New functions for output to socket.
12901         (read): New functions for reading from socket.
12902         * java/net/PlainSocketImpl.java: Glue for new timeout
12903         implementation.
12904         (write): Call the native impl.
12905         (read): Likewise.
12906         (getInputStream): Get a stream to read from the socket.
12907         (getOutputStream): Get a stream to write to the socket.
12908
12909 2002-01-08  Tom Tromey  <tromey@redhat.com>
12910
12911         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12912
12913 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12914
12915         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12916         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12917
12918 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12919
12920         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12921         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12922         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12923         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12924         insn_bastore, insn_castore, insn_sastore]: Use it.
12925         (continue1) [insn_arraylength]: Check for null array.
12926
12927 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12928
12929         * configure, include/config.h.in: Rebuilt.
12930         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12931         * configure.in: Call AC_STRUCT_TIMEZONE.
12932
12933 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12934
12935         * configure.host: Disable the interpreter for Darwin.
12936
12937 2002-01-04  Tom Tromey  <tromey@redhat.com>
12938
12939         * java/lang/Thread.java (stop): No longer synchronized.
12940         (start): Likewise.
12941
12942 2002-01-02  Tom Tromey  <tromey@redhat.com>
12943
12944         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12945         patch.
12946
12947 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12948
12949         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12950         PPC Darwin, not for all of Darwin.