natSharedLibLoader.cc (init): `libname' now a String.
[gcc.git] / libjava / ChangeLog
1 2003-07-20 Steve Pribyl <steve@netfuel.com.>
2
3 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
4 String. Put dlerror() message into exception.
5 Include UnsatisfiedLinkError.
6 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
7 String. Now native.
8
9 2003-07-20 Tom Tromey <tromey@redhat.com>
10
11 * java/lang/Runtime.java: Comment fix.
12 * java/lang/ClassLoader.java (isAncestorOf): New method.
13 (getParent): Uncommented security check. Use isAncestorOf.
14 * include/jvm.h (_Jv_CheckAccess): Declare.
15 * java/lang/reflect/natConstructor.cc (newInstance): Perform
16 access check.
17 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
18 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
19 class loader to _Jv_GetArrayClass.
20 Include ArrayIndexOutOfBoundsException.h.
21 * java/lang/reflect/Field.java: Update comment to reflect status.
22 (equals): Fixed indentation.
23 * java/lang/Class.h (Class): Declare memberAccessCheck, not
24 checkMemberAccess. Make _Jv_CheckAccess a friend.
25 * java/lang/Class.java (memberAccessCheck): New method from
26 Classpath.
27 (checkMemberAccess): Removed.
28 (getDeclaredMethod): Use memberAccessCheck.
29 (getField): Likewise.
30 (getMethod): Likewise.
31 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
32 (_Jv_SearchMethodInClass): Likewise.
33 * prims.cc (_Jv_CheckAccess): New function.
34 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
35 (_Jv_JNI_GetAnyFieldID): Likewise.
36 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
37 (getClassLoader): Added security check.
38 (getConstructor): Call memberAccessCheck.
39 (getDeclaredClasses): Likewise.
40 (getDeclaredField): Likewise.
41 (getDeclaredFields): Likewise.
42 (_getConstructors): Likewise.
43 (getDeclaredConstructor): Likewise.
44 (getDeclaredMethods): Likewise.
45 (getFields): Likewise.
46 (getMethods): Likewise.
47 (newInstance): Likewise.
48 (_Jv_MakeVTable): Put method name in exception.
49 * java/lang/reflect/natMethod.cc (getType): Use
50 getClassLoaderInternal.
51 (_Jv_GetTypesFromSignature): Likewise.
52 (invoke): Perform access check.
53 (_Jv_CallAnyMethodA): Removed old FIXME comments.
54 Include ArrayIndexOutOfBoundsException.h.
55 * java/lang/reflect/natField.cc (getType): Use
56 getClassLoaderInternal.
57 (_Jv_CheckFieldAccessibility): Removed.
58 (getAddr): Use _Jv_CheckAccess; find caller.
59 Include ArrayIndexOutOfBoundsException.h.
60
61 2003-07-20 Michael Koch <konqueror@gmx.de>
62
63 * java/net/URL.java
64 (URL): Fixed documentation to name an argument correcty, Reformatted
65 one method declaration.
66 (getURLStreamHandler): Added documentation from classpath.
67
68 2003-07-19 Tom Tromey <tromey@redhat.com>
69
70 * mauve-libgcj: Don't run CollationElementIterator tests.
71
72 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
73
74 * java/net/URLClassLoader.java (addURL): Moved implementation to
75 private addURLImpl() to avoid calling addURL from the constructor.
76 (addURLImpl): Contains the code that was previously in addURL.
77 (addURLs): Call addURLImpl(), not addURL().
78
79 2003-07-18 Graydon Hoare <graydon@redhat.com>
80
81 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
82 Handle missing event cases, connect to "value-changed" signal.
83
84 2003-07-18 Graydon Hoare <graydon@redhat.com>
85
86 * java/awt/geom/CubicCurve2D.java,
87 java/awt/geom/Line2D.java,
88 java/awt/geom/QuadCurve2D.java,
89 java/awt/geom/Rectangle2D.java:
90 Fix path some calculations, make path iterators follow
91 a consistent style.
92
93 2003-07-18 Mark Wielaard <mark@klomp.org>
94
95 * java/util/logging/Handler.java (isLoggable): Check record level
96 smaller or equal.
97
98 2003-07-17 Michael Koch <konqueror@gmx.de>
99
100 * gnu/java/awt/peer/gtk/GtkToolkit.java:
101 Reworked imports.
102
103 2003-07-14 Michael Koch <konqueror@gmx.de>
104
105 * gnu/java/rmi/server/UnicastServerRef.java:
106 New version from classpath.
107
108 2003-07-14 Michael Koch <konqueror@gmx.de>
109
110 * java/awt/image/MemoryImageSource.java,
111 java/beans/PropertyEditorManager.java,
112 javax/naming/CompoundName.java,
113 javax/naming/spi/NamingManager.java,
114 javax/swing/AbstractButton.java,
115 javax/swing/ButtonModel.java,
116 javax/swing/SwingUtilities.java,
117 javax/swing/UIManager.java,
118 javax/swing/colorchooser/DefaultColorSelectionModel.java,
119 javax/swing/event/AncestorEvent.java,
120 javax/swing/event/InternalFrameEvent.java,
121 java/util/zip/ZipFile.java:
122 New versions from classpath.
123
124 2003-07-13 Michael Koch <konqueror@gmx.de>
125
126 * gnu/java/nio/FileChannelImpl.java,
127 gnu/java/nio/natFileChannelImpl.cc: Removed.
128 * java/io/FileInputStream.java,
129 java/io/FileOutputStream.java,
130 java/io/RandomAccessFile.java,
131 java/nio/MappedByteBufferImpl.java:
132 Import java.nio.channels.FileChannelImpl instead of
133 gnu.java.nio.FileChannelImpl.
134 * java/nio/channels/FileChannelImpl.java,
135 java/nio/channels/natFileChannelImpl.cc:
136 New files.
137 * Makefile.am
138 (ordinary_java_source_files):
139 Removed gnu/java/nio/FileChannelImpl.java and added
140 java/nio/channels/FileChannelImpl.java.
141 (nat source_files):
142 Removed gnu/java/nio/natFileChannelImpl.cc and added
143 java/nio/channels/natFileChannelImpl.cc.
144 * Makefile.in: Regenerated.
145
146 2003-07-13 Michael Koch <konqueror@gmx.de>
147
148 * javax/swing/plaf/basic/BasicBorders.java,
149 javax/swing/plaf/basic/BasicLabelUI.java,
150 javax/swing/plaf/basic/BasicLookAndFeel.java,
151 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
152 javax/swing/plaf/basic/BasicTextUI.java,
153 javax/swing/plaf/metal/MetalLookAndFeel.java:
154 New versions from classpath.
155
156 2003-07-13 Michael Koch <konqueror@gmx.de>
157
158 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
159 * gnu/java/awt/peer/gtk/GdkGraphics.java
160 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
161 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
162 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
163 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
164 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
165 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
166 * gnu/java/awt/peer/gtk/GtkClipboard.java
167 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
168 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
169 * gnu/java/awt/peer/gtk/GtkFramePeer.java
170 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
171 * gnu/java/awt/peer/gtk/GtkImage.java
172 * gnu/java/awt/peer/gtk/GtkImagePainter.java
173 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
174 * gnu/java/awt/peer/gtk/GtkListPeer.java
175 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
176 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
177 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
178 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
179 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
180 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
181 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
182 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
183 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
184 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
185 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
186 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
187
188 2003-07-13 Michael Koch <konqueror@gmx.de>
189
190 * gnu/java/locale/LocaleInformation_de.java
191 * gnu/java/locale/LocaleInformation_en.java
192 * gnu/java/locale/LocaleInformation_nl.java
193
194 2003-07-13 Michael Koch <konqueror@gmx.de>
195
196 * gnu/java/awt/EmbeddedWindow.java,
197 gnu/java/awt/EmbeddedWindowSupport.java,
198 gnu/java/awt/natEmbeddedWindow.cc:
199 New files.
200 * java/awt/Window.java
201 (Window): New constructor to support embedded windows.
202 * Makefile.am
203 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
204 gnu/java/awt/EmbeddedWindowSupport.java.
205 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
206 * Makefile.in: Regenerated.
207
208 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
209
210 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
211 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
212 * java/awt/im/InputContext.java: Remove a redundant
213 partial line.
214
215 2003-07-09 Tom Tromey <tromey@redhat.com>
216
217 * Makefile.in: Rebuilt.
218 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
219
220 2003-07-09 Mark Wielaard <mark@klomp.org>
221
222 * java/io/ObjectOutputStream.java (writeObject): break after
223 calling writeClassDescriptor().
224
225 2003-07-09 Mark Mitchell <mark@codesourcery.com>
226
227 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
228
229 2003-07-09 Michael Koch <konqueror@gmx.de>
230
231 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
232 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
233 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
234 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
235 Explicitly import used classes.
236 * java/awt/Container.java: New version from classpath.
237
238 2003-07-09 Michael Koch <konqueror@gmx.de>
239
240 * libgcj.pc.in: New file.
241 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
242 * Makefile.in: Regenerated.
243 * configure: Regenrated.
244 * configure.in: Create libgcj.pc from libgcj.pc.in.
245
246 2003-07-08 Mark Wielaard <mark@klomp.org>
247
248 * gcj/cni.h: CNI now expands to Compiled Native Interface.
249
250 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
251 * java/lang/fdlibm.h: Likewise.
252
253 2003-07-07 Adam Megacz <adam@xwt.org>
254
255 * posix.cc: added #include<stdio.h>
256
257 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
258
259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
260 formatting.
261
262 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
263 (setCaretPosition, setEditable): Rely entirely on native
264 implementation.
265 (getArgs): Remove.
266 (postTextEvent): New method.
267 (handleEvent): New method.
268 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
269 method.
270 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
271 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
272 (keysym_to_awt_keycode): Fix range checks.
273 (generates_key_typed_event): New function.
274 (awt_event_handler): Post AWT_KEY_RELEASED events to event
275 queue.
276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
277 (gtkInit): Store TextComponent's postTextEvent method ID.
278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
279 (setText): Post TEXT_VALUE_CHANGED event to event queue.
280
281 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
282
283 * configure.in: Check for usleep declaration.
284 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
285 * configure: Regenerate.
286 * include/config.h.in: Likewise.
287 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
288
289 2003-07-01 Michael Koch <konqueror@gmx.de>
290
291 * gnu/gcj/convert/natIconv.cc
292 (iconv_init): Fixed possible memory leak by releasing allocated iconv
293 handle.
294
295 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
296
297 * glib-2.0.m4: New file.
298 * gtk-2.0.m4: New file.
299 * glib.m4: Remove.
300 * gtk.m4: Remove.
301 * configure.in: Update AM_PATH_GTK macro call to
302 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
304 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
305 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
306 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
307 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
308 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
309 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
310 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
311 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
312 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
313 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
314 jni/gtk-peer/gthread-jni.c,
315 jni/gtk-peer/gthread-jni.h:
316 New versions from classpath.
317 * aclocal.m4: Regenerate.
318 * configure: Regenerate.
319 * Makefile.in: Regenerate.
320 * gcj/Makefile.in: Regenerate.
321 * include/Makefile.in: Regenerate.
322 * testsuite/Makefile.in: Regenerate.
323
324 2003-06-30 Gary Benson <gbenson@redhat.com>
325
326 For PR libgcj/11349:
327 * javax/naming/spi/NamingManager.java (getURLContext): Use
328 correct name for factory class.
329
330 2003-06-28 Michael Koch <konqueror@gmx.de>
331
332 * java/io/PrintStream.java
333 (checkError): Call flush() instead of direct flushing of the Writer
334 object.
335 (print): Call print(String) instead of direct print method of the
336 Writer Object.
337 (println): Call println(String) instead of direct println method of the
338 Writer Object.
339 (write): Simplified.
340
341 2003-06-28 Michael Koch <konqueror@gmx.de>
342
343 * java/net/ServerSocket.java
344 (setChannel): New method.
345 * java/net/Socket.java
346 (setChannel): New method.
347
348 2003-06-27 Michael Koch <konqueror@gmx.de>
349
350 * java/beans/beancontext/BeanContextSupport.java:
351 New version from classpath.
352
353 2003-06-27 Michael Koch <konqueror@gmx.de>
354
355 * java/awt/Window.java,
356 java/awt/font/GraphicAttribute.java,
357 java/awt/font/ImageGraphicAttribute.java,
358 java/awt/image/DataBufferByte.java,
359 java/awt/image/DataBufferInt.java,
360 java/awt/image/DataBufferUShort.java,
361 java/awt/image/DirectColorModel.java,
362 java/awt/image/PixelGrabber.java:
363 New versions from classpath.
364
365 2003-06-27 Michael Koch <konqueror@gmx.de>
366
367 * java/security/Certificate.java
368 (getGuarantor): Removed wrong @deprecated tag.
369 (getPrincipal): Likewise.
370 (getPublicKey): Likewise.
371 (encode): Likewise.
372 (decode): Likewise.
373 (getFormat): Likewise.
374 (toString): Likewise.
375 * java/security/cert/PolicyQualifierInfo.java
376 (PolicyQualifierInfo): Made final.
377 * javax/security/auth/x500/X500Principal.java
378 (serialVersionUID): New member variable.
379
380 2003-06-27 Michael Koch <konqueror@gmx.de>
381
382 * java/text/Format.java
383 (serialVersionUID): Fixed value.
384
385 2003-06-27 Michael Koch <konqueror@gmx.de>
386
387 * java/net/Inet4Address.java
388 (Inet4Address): Made package-private.
389 * java/net/Inet6Address.java
390 (Inet4Address): Made package-private.
391
392 2003-06-27 Michael Koch <konqueror@gmx.de>
393
394 * java/io/RandomAccessFile.java
395 (readLine): Removed wrong @deprecated tag.
396 (getChannel): Made final.
397
398 2003-06-27 Michael Koch <konqueror@gmx.de>
399
400 * gnu/java/nio/FileChannelImpl.java
401 (write): Removed.
402
403 2003-06-27 Michael Koch <konqueror@gmx.de>
404
405 * java/nio/ByteBufferImpl.java
406 (ByteBufferImpl): Made it a package-private class
407 * java/nio/CharBufferImpl.java
408 (CharBufferImpl): Made it a package-private class
409 * java/nio/DirectByteBufferImpl.java
410 (DirectByteBufferImpl): Made it a package-private class
411 * java/nio/DoubleBufferImpl.java
412 (DoubleBufferImpl): Made it a package-private class
413 * java/nio/FloatBufferImpl.java
414 (FloatBufferImpl): Made it a package-private class
415 * java/nio/IntBufferImpl.java
416 (IntBufferImpl): Made it a package-private class
417 * java/nio/LongBufferImpl.java
418 (LongBufferImpl): Made it a package-private class
419 * java/nio/ShortBufferImpl.java
420 (ShortBufferImpl): Made it a package-private class
421 * java/nio/channels/FileChannel.java
422 (write): Made final.
423 * java/nio/channels/ServerSocketChannel.java
424 (ServerSocketChanne): Made protected.
425
426 2003-06-27 Michael Koch <konqueror@gmx.de>
427
428 * javax/naming/CompositeName.java
429 (serialVersionUID): New member variable.
430 * javax/naming/CompoundName.java
431 (serialVersionUID): New member variable.
432 * javax/naming/InitialContext.java
433 (InitialContext): Throws NamingException.
434 (init): Likewise.
435 * javax/naming/LinkRef.java
436 (serialVersionUID): New member variable.
437 (gteLinkName): Throws NamingException.
438 * javax/naming/NamingException.java
439 (serialVersionUID): New member variable.
440 * javax/naming/NamingSecurityException.java
441 (NamingSecurityException): Made abstract.
442 (serialVersionUID): New member variable.
443 * javax/naming/ReferralException.java
444 (serialVersionUID): New member variable.
445 * javax/naming/StringRefAddr.java
446 (serialVersionUID): New member variable.
447 * javax/naming/directory/BasicAttribute.java:
448 Reworked imports.
449 (serialVersionUID): New member variable.
450 (get): Throws NamingException.
451 (getAll): Throws NamingException.
452 * javax/naming/directory/BasicAttributes.java:
453 Reworked imports.
454 (serialVersionUID): New member variable.
455 * javax/naming/ldap/UnsolicitedNotificationEvent.java
456 (serialVersionUID): New member variable.
457
458 2003-06-27 Michael Koch <konqueror@gmx.de>
459
460 * Makefile.am
461 (awt_java_source_files): Added new files:
462 javax/swing/Popup.java,
463 javax/swing/PopupFactory.java
464 * Makefile.in: Regenerated.
465
466 2003-06-27 Michael Koch <konqueror@gmx.de>
467
468 * javax/swing/JWindow.java,
469 javax/swing/event/AncestorEvent.java,
470 javax/swing/event/HyperlinkEvent.java,
471 javax/swing/event/InternalFrameEvent.java,
472 javax/swing/event/ListDataEvent.java,
473 javax/swing/event/TableModelEvent.java,
474 javax/swing/plaf/PopupMenuUI.java,
475 javax/swing/plaf/SplitPaneUI.java,
476 javax/swing/plaf/TabbedPaneUI.java,
477 javax/swing/plaf/TextUI.java,
478 javax/swing/plaf/TreeUI.java,
479 javax/swing/plaf/basic/BasicTextUI.java,
480 javax/swing/plaf/basic/BasicTreeUI.java:
481 New versions from classpath.
482 * javax/swing/Popup.java,
483 javax/swing/PopupFactory.jav:
484 New source files from classpath.
485 * javax/swing/plaf/doc-files/TreeUI-1.png:
486 New binary files from classpath.
487
488 2003-06-25 Michael Koch <konqueror@gmx.de>
489
490 * Makefile.am
491 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
492 * Makefile.in: Regenerated.
493
494 2003-06-25 Michael Koch <konqueror@gmx.de>
495
496 * javax/swing/plaf/ActionMapUIResource.java,
497 javax/swing/plaf/BorderUIResource.java,
498 javax/swing/plaf/ButtonUI.java,
499 javax/swing/plaf/ColorChooserUI.java,
500 javax/swing/plaf/ColorUIResource.java,
501 javax/swing/plaf/ComboBoxUI.java,
502 javax/swing/plaf/ComponentInputMapUIResource.java,
503 javax/swing/plaf/ComponentUI.java,
504 javax/swing/plaf/DesktopIconUI.java,
505 javax/swing/plaf/DesktopPaneUI.java,
506 javax/swing/plaf/DimensionUIResource.java,
507 javax/swing/plaf/FileChooserUI.java,
508 javax/swing/plaf/FontUIResource.java,
509 javax/swing/plaf/IconUIResource.java,
510 javax/swing/plaf/InputMapUIResource.java,
511 javax/swing/plaf/InsetsUIResource.java,
512 javax/swing/plaf/InternalFrameUI.java,
513 javax/swing/plaf/LabelUI.java,
514 javax/swing/plaf/ListUI.java,
515 javax/swing/plaf/MenuBarUI.java,
516 javax/swing/plaf/MenuItemUI.java,
517 javax/swing/plaf/OptionPaneUI.java,
518 javax/swing/plaf/PanelUI.java,
519 javax/swing/plaf/ProgressBarUI.java,
520 javax/swing/plaf/RootPaneUI.java,
521 javax/swing/plaf/ScrollBarUI.java,
522 javax/swing/plaf/ScrollPaneUI.java,
523 javax/swing/plaf/SeparatorUI.java,
524 javax/swing/plaf/SliderUI.java,
525 javax/swing/plaf/TableHeaderUI.java,
526 javax/swing/plaf/TableUI.java,
527 javax/swing/plaf/ToolBarUI.java,
528 javax/swing/plaf/ToolTipUI.java,
529 javax/swing/plaf/ViewportUI.java:
530 New versions from classpath.
531 * javax/swing/plaf/SpinnerUI.java:
532 New file from classpath
533
534 2003-06-25 Michael Koch <konqueror@gmx.de>
535
536 * java/awt/image/ColorModel.java:
537 New version from classpath.
538
539 2003-06-25 Michael Koch <konqueror@gmx.de>
540
541 * java/net/PlainDatagramSocketImpl.java:
542 Partly merged with classpath, this mainly adds documentation.
543
544 2003-06-25 Michael Koch <konqueror@gmx.de>
545
546 * java/io/ObjectInputStream.java
547 (readClassDescriptor): New method.
548 (readObject): Moved functionality to readClassDescriptor().
549 * java/io/ObjectOutputStream.java
550 (writeClassDescriptor): New method.
551 (writeObject): Moved functionality to writeClassDescriptor().
552
553 2003-06-25 Michael Koch <konqueror@gmx.de>
554
555 * javax/swing/plaf/basic/BasicListUI.java,
556 javax/swing/plaf/basic/BasicOptionPaneUI.java:
557 Added missing methods.
558
559 2003-06-25 Michael Koch <konqueror@gmx.de>
560
561 * javax/swing/event/AncestorEvent.java
562 javax/swing/event/HyperlinkEvent.java
563 javax/swing/event/InternalFrameEvent.java
564 javax/swing/event/ListDataEvent.java
565 javax/swing/event/TableModelEvent.java:
566 Compile fixes.
567
568 2003-06-24 Michael Koch <konqueror@gmx.de>
569
570 * java/net/URL.java:
571 Renamed "handler" to "ph" in the whole file to match classpaths
572 version.
573 * java/net/URLStreamHandler.java:
574 (equals): Renamed "handler" to "ph".
575
576 2003-06-24 Michael Koch <konqueror@gmx.de>
577
578 * javax/swing/event/AncestorEvent.java,
579 javax/swing/event/HyperlinkEvent.java,
580 javax/swing/event/InternalFrameEvent.java,
581 javax/swing/event/ListDataEvent.java,
582 javax/swing/event/TableModelEvent.java,
583 javax/swing/event/TreeWillExpandListener.java,
584 javax/swing/plaf/ComponentUI.java,
585 javax/swing/plaf/DesktopIconUI.java,
586 javax/swing/plaf/DesktopPaneUI.java,
587 javax/swing/plaf/DimensionUIResource.java,
588 javax/swing/plaf/FileChooserUI.java,
589 javax/swing/plaf/FontUIResource.java,
590 javax/swing/plaf/IconUIResource.java,
591 javax/swing/plaf/InputMapUIResource.java,
592 javax/swing/plaf/InsetsUIResource.java,
593 javax/swing/plaf/InternalFrameUI.java,
594 javax/swing/plaf/LabelUI.java,
595 javax/swing/plaf/ListUI.java,
596 javax/swing/plaf/MenuBarUI.java,
597 javax/swing/plaf/MenuItemUI.java,
598 javax/swing/plaf/OptionPaneUI.java,
599 javax/swing/plaf/PanelUI.java,
600 javax/swing/plaf/ProgressBarUI.java,
601 javax/swing/plaf/doc-files/ComponentUI-1.dia,
602 javax/swing/plaf/doc-files/ComponentUI-1.png:
603 New versions from classpath.
604
605 2003-06-24 Michael Koch <konqueror@gmx.de>
606
607 * java/nio/Buffer.java
608 (cap): Made package-private.
609 (pos): Likewise.
610 (limit): Likewise.
611 (mark): Likewise.
612
613 2003-06-24 Michael Koch <konqueror@gmx.de>
614
615 * java/net/SocketImpl.java
616 (shutdownInput): Made it non-abstract method throwing an exception
617 like in SUNs JRE.
618 (shutdownOutput): Likewise.
619 * java/net/SocketInputStream.java,
620 java/net/SocketOutputStream.java:
621 New files from classpath.
622
623 2003-06-24 Michael Koch <konqueror@gmx.de>
624
625 * java/awt/Font.java,
626 java/awt/Window.java,
627 java/awt/color/ColorSpace.java,
628 java/awt/datatransfer/StringSelection.java,
629 java/awt/image/ColorModel.java:
630 New versions from classpath.
631
632 2003-06-24 Michael Koch <konqueror@gmx.de>
633
634 * Makefile.am
635 (awt_java_source_files): Added new files:
636 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
637 javax/swing/plaf/basic/BasicSplitPaneUI.java
638 * Makefile.in: Regenerated.
639
640 2003-06-24 Michael Koch <konqueror@gmx.de>
641
642 * javax/swing/text/JTextComponent.java:
643 New version from classpath.
644
645 2003-06-24 Michael Koch <konqueror@gmx.de>
646
647 * javax/swing/Timer.java,
648 javax/swing/plaf/ActionMapUIResource.java,
649 javax/swing/plaf/ButtonUI.java,
650 javax/swing/plaf/ColorChooserUI.java,
651 javax/swing/plaf/ColorUIResource.java,
652 javax/swing/plaf/ComboBoxUI.java,
653 javax/swing/plaf/ComponentInputMapUIResource.java,
654 javax/swing/plaf/basic/BasicBorders.java:
655 New versions from classpath.
656 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
657 javax/swing/plaf/basic/BasicSplitPaneUI.java:
658 New file from classpath.
659 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
660 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
661 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
662 javax/swing/plaf/doc-files/ComponentUI-1.dia,
663 javax/swing/plaf/doc-files/ComponentUI-1.png:
664 New binary files from classpath.
665
666 2003-06-24 Michael Koch <konqueror@gmx.de>
667
668 * java/io/LineNumberReader.java
669 (skip): Dont do line number accounting here as this is already done in
670 read(), simplified.
671
672 2003-06-21 Michael Koch <konqueror@gmx.de>
673
674 * java/io/File.java
675 (static): Load javaio lib if existing (only in classpath).
676 (File): Revised documentation to show the correct argument name.
677 (createTempFile): Partly merged with classpath.
678 (compareTo): Simplified.
679 (lastModified): Throw exception if time < 0.
680 (deleteOnExit): Revised documentation.
681
682 2003-06-21 Michael Koch <konqueror@gmx.de>
683
684 * java/net/PlainSocketImpl.java:
685 Reformatted.
686 (PlainSocketImpl): Merged class documentaion with classpath.
687 (in): Moved.
688 (out): Moved.
689 (PlainSocketImpl): New empty constructor.
690 (finalize): Moved.
691 (setOption): Merged documentation from classpath.
692 (getOption): Likewise.
693 (create): Likewise.
694 (connect): Likewise.
695 (bind): Likewise.
696 (listen): Likewise.
697 (accept): Likewise.
698 (available): Likewise.
699 (close): Likewise.
700 (read): Likewise.
701 (write): Likewise.
702 (getInputStream): Made synchronozed to get sure that only one stream
703 object can be created for this socket, merged documentation from
704 classpath.
705 (getOutputStream): Likewise.
706
707 2003-06-21 Michael Koch <konqueror@gmx.de>
708
709 * java/net/PlainSocketImpl.java:
710 Reformatting.
711 (static): New implicit method.
712 (read): Made package private.
713 (write): Likewise.
714
715 2003-06-21 Michael Koch <konqueror@gmx.de>
716
717 * java/util/SimpleTimeZone.java:
718 Removed unneeded import, reformatting.
719
720 2003-06-21 Michael Koch <konqueror@gmx.de>
721
722 * java/text/DateFormat.java,
723 java/text/SimpleDateFormat.java,
724 java/util/Locale.java:
725 New versions from classpath.
726
727 2003-06-21 Michael Koch <konqueror@gmx.de>
728
729 * javax/swing/SpinnerModel.java:
730 New file from classpath.
731 * javax/swing/border/LineBorder.java,
732 javax/swing/border/SoftBevelBorder.java,
733 javax/swing/plaf/BorderUIResource.java,
734 javax/swing/plaf/basic/BasicBorders.java:
735 New versions from classpath.
736 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
737 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
738 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
739 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
740 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
741 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
742 New binary files from classpath.
743
744 2003-06-21 Michael Koch <konqueror@gmx.de>
745
746 * java/util/logging/LogRecord.java,
747 java/util/logging/Logger.java,
748 java/util/logging/SocketHandler.java,
749 java/util/logging/SimpleFormatter.java,
750 java/util/logging/Formatter.java,
751 java/util/logging/ErrorManager.java,
752 java/util/logging/Handler.java,
753 java/util/logging/FileHandler.java,
754 java/util/logging/LogManager.java,
755 java/util/logging/Level.java,
756 java/util/logging/ConsoleHandler.java,
757 java/util/logging/StreamHandler.java,
758 java/util/logging/LoggingPermission.java,
759 java/util/logging/Filter.java,
760 java/util/logging/MemoryHandler.java,
761 java/util/logging/XMLFormatter.java:
762 New files from classpath.
763
764 2003-06-20 Michael Koch <konqueror@gmx.de>
765
766 * java/io/ObjectStreamField.java
767 (unshared): new member variable.
768 (ObjectStreamField): New constructor.
769 (isUnshared): New method.
770
771 2003-06-20 Michael Koch <konqueror@gmx.de>
772
773 * java/net/URLStreamHandler.java
774 (hostsEqual): Rewritten.
775
776 2003-06-20 Michael Koch <konqueror@gmx.de>
777
778 * gnu/java/nio/MappedByteFileBuffer.java,
779 gnu/java/nio/natMappedByteFileBuffer.cc:
780 Removed
781 * java/nio/MappedByteBufferImpl.java:
782 New file.
783 * gnu/java/nio/FileChannelImpl.java:
784 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
785 * Makefile.am
786 (ordinary_java_source_files): Removed
787 gnu/java/nio/MappedByteFileBuffer.java and added
788 java/nio/MappedByteBufferImpl.java.
789 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
790 * Makefile.in: Regenerated.
791
792 2003-06-19 Michael Koch <konqueror@gmx.de>
793
794 * gnu/java/nio/DatagramChannelImpl.java
795 (fd): Removed.
796 (blocking): New member variable.
797 (socket): Likewise.
798 (DatagramChannelImpl): Throws IOException, initialize socket.
799 (socket):Implemented.
800 (implCloseSelectableChannel): Throws IOException, implemented.
801 (implConfigureBlocking): Likewise.
802 (connect): Likewise.
803 (disconnect): Likewise.
804 (isConnected): Likewise.
805 (write): Likewise.
806 (read): Likewise.
807 (receive): Throws IOException.
808 (send): Likewise.
809 * gnu/java/nio/SocketChannelImpl.java
810 (read): Implemented.
811 (write): Implemented.
812
813 2003-06-19 Michael Koch <konqueror@gmx.de>
814
815 * javax/swing/JComponent.java,
816 javax/swing/JInternalFrame.java,
817 javax/swing/MenuSelectionManager.java,
818 javax/swing/SwingUtilities.java,
819 javax/swing/ToggleButtonModel.java:
820 New versions from classpath.
821
822 2003-06-19 Michael Koch <konqueror@gmx.de>
823
824 * java/text/CollationElementIterator.java
825 (NULLORDER): Initialize with -1 as JDK documentation says.
826
827 2003-06-19 Michael Koch <konqueror@gmx.de>
828
829 * java/net/HttpURLConnection.java,
830 java/net/Inet4Address.java,
831 java/net/Inet6Address.java,
832 java/net/SocketImpl.java,
833 java/net/URLClassLoader.java:
834 Reworked import statements.
835 * java/net/InetAddress.java
836 (getByAddress): Simplified.
837 * java/net/ServerSocket.java
838 (ServerSocket): Moved special handling during bind operation to
839 bind().
840 (bind): Handle different cases when trying to bind a socket.
841 * java/net/URLConnection.java
842 (getHeaderFieldDate): Merged with classpath.
843 (getHeaderFieldInt): Likewise.
844
845 2003-06-19 Michael Koch <konqueror@gmx.de>
846
847 * java/util/zip/InflaterInputStream.java
848 (InflaterInputStream): Throw NullPointerException if in is null (as
849 JDK does).
850
851 2003-06-19 Michael Koch <konqueror@gmx.de>
852
853 * java/awt/Font.java
854 javax/swing/UIManager.java
855 javax/swing/border/AbstractBorder.java
856 javax/swing/border/BevelBorder.java
857 javax/swing/border/Border.java
858 javax/swing/border/CompoundBorder.java
859 javax/swing/border/EmptyBorder.java
860 javax/swing/border/EtchedBorder.java
861 javax/swing/border/LineBorder.java
862 javax/swing/border/MatteBorder.java
863 javax/swing/border/TitledBorder.java
864 javax/swing/plaf/BorderUIResource.java
865 javax/swing/plaf/basic/BasicBorders.java
866 javax/swing/plaf/basic/BasicButtonUI.java
867 javax/swing/plaf/basic/BasicCheckBoxUI.java
868 javax/swing/plaf/basic/BasicGraphicsUtils.java
869 javax/swing/plaf/basic/BasicLabelUI.java
870 javax/swing/plaf/basic/BasicRadioButtonUI.java
871 javax/swing/plaf/basic/BasicToggleButtonUI.java:
872 New versions from classpath.
873 * javax/swing/border/SoftBevelBorder.java:
874 New file from classpath.
875 * javax/swing/border/doc-files/LineBorder-1.png,
876 javax/swing/border/doc-files/BevelBorder-1.png,
877 javax/swing/border/doc-files/BevelBorder-2.png,
878 javax/swing/border/doc-files/BevelBorder-3.png,
879 javax/swing/border/doc-files/EmptyBorder-1.png,
880 javax/swing/border/doc-files/EtchedBorder-1.png,
881 javax/swing/border/doc-files/EtchedBorder-2.png,
882 javax/swing/border/doc-files/MatteBorder-1.png,
883 javax/swing/border/doc-files/MatteBorder-2.png,
884 javax/swing/border/doc-files/MatteBorder-3.png,
885 javax/swing/border/doc-files/MatteBorder-4.png,
886 javax/swing/border/doc-files/MatteBorder-5.png,
887 javax/swing/border/doc-files/MatteBorder-6.png,
888 javax/swing/border/doc-files/SoftBevelBorder-1.png,
889 javax/swing/border/doc-files/SoftBevelBorder-2.png,
890 javax/swing/border/doc-files/SoftBevelBorder-3.png,
891 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
892 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
893 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
894 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
895 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
896 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
897 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
898 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
899 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
900 New binary files from classpath.
901 * Makefile.am
902 (awt_java_source_files): Added
903 javax/swing/border/SoftBevelBorder.java.
904 * Makefile.in: Regenerated.
905
906 2003-06-19 Michael Koch <konqueror@gmx.de>
907
908 * gnu/java/security/x509/X509Certificate.java
909 (writeReplace): Merged from classpath.
910
911 2003-06-19 Michael Koch <konqueror@gmx.de>
912
913 * gnu/java/nio/FileChannelImpl.java
914 (map_address): Made public.
915 (FileChannelImpl): Merged with classpath.
916 * gnu/java/nio/natFileChannelImpl.cc
917 (nio_mmap_file): Commented out unused arguments.
918 (nio_unmmap_file): Likewise.
919 (niu_msync): Likewise.
920
921 2003-06-19 Michael Koch <konqueror@gmx.de>
922
923 * java/awt/image/IndexColorModel.java:
924 New version from classpath.
925
926 2003-06-18 Tom Tromey <tromey@redhat.com>
927
928 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
929 on arrays.
930 (isLoopbackAddress): Likewise.
931 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
932 on arrays.
933
934 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
935
936 * java/lang/natVMSecurityManager.cc (getClassContext):
937 Use maxlen instead of len for loop bound.
938
939 2003-06-18 Michael Koch <konqueror@gmx.de>
940
941 * gnu/java/nio/SelectorImpl.java
942 (register): Use fd with value 0 for now, will be fixed later.
943 * gnu/java/nio/ServerSocketChannelImpl.java
944 (fd): Removed.
945 (local_port): Removed.
946 (InetSocketAddress): Removed.
947 (ServerSocketChannelImpl): Just initialize internal socket object.
948 (implCloseSelectableChannel): Close internal socket object.
949 (implConfigureBlocking): Added comment.
950 (accept): Use jaba.net stuff to accept socket.
951 * gnu/java/nio/SocketChannelImpl.java
952 (fd): Removed.
953 (local_port): Removed.
954 (InetSocketAddress): Removed.
955 (SocketCreate): Removed.
956 (SocketConnect): Removed.
957 (SocketBind): Removed.
958 (SocketListen): Removed.
959 (SocketAvailable): Removed.
960 (SocketClose): Removed.
961 (SocketRead): Removed.
962 (SocketWrite): Removed.
963 (SocketChannelImpl): Just initialize internal socket object.
964 (implCloseSelectableChannel): Close internal socket object.
965 (implConfigureBlocking): Fixed implementation, added comment.
966 (connect): Use internal socket object to connect.
967 (socket): No need for sanity checks.
968 (read): Comment out some stuff, this will be reimplemented in the next
969 commit.
970 (write): Likewise.
971 * gnu/java/nio/natFileChannelImpl.cc
972 (nio_mmap_file): Line wrapped.
973 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
974 * Makefile.am
975 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
976 * Makefile.in: Regenerated.
977
978 2003-06-18 Michael Koch <konqueror@gmx.de>
979
980 * java/util/Locale.java
981 (equals): Merged from classpath.
982
983 2003-06-18 Michael Koch <konqueror@gmx.de>
984
985 * java/net/InetAddress.java:
986 Reformatted to better match classpath's version.
987 * java/net/URL.java
988 (equals): Simplified.
989 * java/net/URLConnection.java
990 (setDoInput): Revised documentation.
991 (getDefaultUseCaches): Likewise.
992 (setRequestProperty): Added @since tag.
993
994 2003-06-17 Michael Koch <konqueror@gmx.de>
995
996 * java/net/InetSocketAddress.java
997 (InetSocketAddress): Use wildcard address if addr is null.
998 (InetSocketAddress): Dont duplicate implementation.
999 (InetSocketAddress): Throw exception when hostname is null.
1000 * java/net/Socket.java:
1001 Reworked imports.
1002 (Socket): Throw exception when raddr is null, handle case when laddr
1003 is null.
1004
1005 2003-06-17 Michael Koch <konqueror@gmx.de>
1006
1007 * java/nio/DirectByteBufferImpl.java
1008 (address): Made package private.
1009 (DirectByteBufferImpl): New constructor.
1010 * java/nio/natDirectByteBufferImpl.cc
1011 (allocateImpl): Moved to java.nio namespace, implemented.
1012 (freeImpl): Likewise.
1013 (getImpl): Likewise.
1014 (putImpl): Likewise.
1015 * jni.cc
1016 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1017 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1018 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1019
1020 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1021
1022 * include/powerpc-signal.h: New File.
1023 * configure.in: Use it.
1024 * configure: Regenerated.
1025
1026 2003-06-17 Michael Koch <konqueror@gmx.de>
1027
1028 * java/util/Locale.java
1029 (getDisplayLanguage): Made it final.
1030 (getDisplayCountry): Likewise.
1031 (getDisplayVariant): Likewise.
1032 (getDisplayName): Likewise.
1033
1034 2003-06-17 Michael Koch <konqueror@gmx.de>
1035
1036 * java/util/PropertyResourceBundle.java:
1037 Removed unneeded import.
1038
1039 2003-06-17 Michael Koch <konqueror@gmx.de>
1040
1041 * java/util/prefs/AbstractPreferences.java,
1042 java/util/prefs/PreferencesFactory.java:
1043 Reworked imports, removed unused imports.
1044 * java/util/prefs/Preferences.java
1045 (systemNodeForPackage): Method takes a Class not an Object.
1046 (userNodeForPackage): Likewise.
1047 (nodeForPackage): Likewise.
1048
1049 2003-06-17 Michael Koch <konqueror@gmx.de>
1050
1051 * gnu/java/security/x509/X509Certificate.java:
1052 Explicitely import used classes.
1053
1054 2003-06-17 Michael Koch <konqueror@gmx.de>
1055
1056 * java/util/zip/ZipEntry.java,
1057 java/util/zip/ZipFile.java,
1058 java/util/zip/ZipInputStream.java,
1059 java/util/zip/ZipOutputStream.java:
1060 Reworked imports, only import used classes.
1061
1062 2003-06-17 Michael Koch <konqueror@gmx.de>
1063
1064 * gnu/java/lang/ArrayHelper.java,
1065 gnu/java/lang/ClassHelper.java:
1066 Reformatted to match classpath's versions.
1067
1068 2003-06-14 Michael Koch <konqueror@gmx.de>
1069
1070 * gnu/java/nio/FileChannelImpl.java
1071 (map_address): Removed incorrect comment.
1072 * gnu/java/nio/SelectorImpl.java
1073 (register): Remove code duplication and code for file channel handling.
1074 * gnu/java/nio/ServerSocketChannelImpl.java
1075 (serverSocket): Renamed from sock_object.
1076 (ServerSocketChannel): Initialize serverSocket.
1077 (socket): Return serverSocket.
1078 * gnu/java/nio/SocketChannelImpl.java
1079 (socket): Renamed from sock_object.
1080 (isConnectionPenging): Simplified.
1081 (socket): Return socket.
1082 2003-06-14 Michael Koch <konqueror@gmx.de>
1083
1084 * java/security/BasicPermission.java:
1085 New version from classpath.
1086
1087 2003-06-14 Michael Koch <konqueror@gmx.de>
1088
1089 * javax/naming/directory/Attribute.java:
1090 New version from classpath.
1091
1092 2003-06-14 Michael Koch <konqueror@gmx.de>
1093
1094 * java/io/BufferedReader.java,
1095 java/io/FileOutputStream.java:
1096 New versions from classpath.
1097
1098 2003-06-12 Andrew Haley <aph@redhat.com>
1099
1100 * prims.cc (catch_segv): Create exception in handler.
1101 (catch_fpe): Likewise.
1102 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1103 (_Jv_ThrowSignal): Remove.
1104
1105 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1106 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1107 to nullp and arithexception.
1108 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1109 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1110 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1111 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1112 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1113
1114 2003-06-11 Andrew Haley <aph@redhat.com>
1115
1116 * jni.cc (_Jv_JNI_check_types): New.
1117 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1118 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1119 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1120 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1121
1122 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1123 infinite loop.
1124
1125 2003-06-11 Tom Tromey <tromey@redhat.com>
1126
1127 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1128 * java/io/PrintStream.java: Not deprecated.
1129
1130 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1131
1132 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1133 (fillOval): implemented
1134 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1135 (fillArc): implemented.
1136 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1137 (fillArc): added native method.
1138 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1139 (fillArc): added native method.
1140
1141 2003-06-11 Michael Koch <konqueror@gmx.de>
1142
1143 * java/awt/im/InputSubset.java:
1144 New version from classpath.
1145
1146 2003-06-11 Michael Koch <konqueror@gmx.de>
1147
1148 * javax/swing/AbstractAction.java,
1149 javax/swing/AbstractButton.java,
1150 javax/swing/AbstractCellEditor.java,
1151 javax/swing/AbstractListModel.java,
1152 javax/swing/BorderFactory.java,
1153 javax/swing/Box.java,
1154 javax/swing/BoxLayout.java,
1155 javax/swing/ButtonGroup.java,
1156 javax/swing/DefaultButtonModel.java,
1157 javax/swing/DefaultListModel.java,
1158 javax/swing/DefaultListSelectionModel.java,
1159 javax/swing/FocusManager.java,
1160 javax/swing/ImageIcon.java,
1161 javax/swing/InputMap.java,
1162 javax/swing/JApplet.java,
1163 javax/swing/JButton.java,
1164 javax/swing/JCheckBox.java,
1165 javax/swing/JCheckBoxMenuItem.java,
1166 javax/swing/JColorChooser.java,
1167 javax/swing/JComboBox.java,
1168 javax/swing/JComponent.java,
1169 javax/swing/JDesktopPane.java,
1170 javax/swing/JDialog.java,
1171 javax/swing/JEditorPane.java,
1172 javax/swing/JFileChooser.java,
1173 javax/swing/JFormattedTextField.java,
1174 javax/swing/JFrame.java,
1175 javax/swing/JLabel.java,
1176 javax/swing/JLayeredPane.java,
1177 javax/swing/JList.java,
1178 javax/swing/JMenuBar.java,
1179 javax/swing/JMenuItem.java,
1180 javax/swing/JOptionPane.java,
1181 javax/swing/JPanel.java,
1182 javax/swing/JPasswordField.java,
1183 javax/swing/JPopupMenu.java,
1184 javax/swing/JProgressBar.java,
1185 javax/swing/JRadioButton.java,
1186 javax/swing/JRadioButtonMenuItem.java,
1187 javax/swing/JRootPane.java,
1188 javax/swing/JScrollBar.java,
1189 javax/swing/JScrollPane.java,
1190 javax/swing/JSeparator.java,
1191 javax/swing/JSlider.java,
1192 javax/swing/JTabbedPane.java,
1193 javax/swing/JTable.java,
1194 javax/swing/JTextField.java,
1195 javax/swing/JToggleButton.java,
1196 javax/swing/JToolBar.java,
1197 javax/swing/JToolTip.java,
1198 javax/swing/JTree.java,
1199 javax/swing/JViewport.java,
1200 javax/swing/JWindow.java,
1201 javax/swing/KeyStroke.java,
1202 javax/swing/ListSelectionModel.java,
1203 javax/swing/LookAndFeel.java,
1204 javax/swing/RepaintManager.java,
1205 javax/swing/ScrollPaneLayout.java,
1206 javax/swing/SizeRequirements.java,
1207 javax/swing/SwingConstants.java,
1208 javax/swing/Timer.java,
1209 javax/swing/UIDefaults.java,
1210 javax/swing/UIManager.java,
1211 javax/swing/border/AbstractBorder.java,
1212 javax/swing/border/CompoundBorder.java,
1213 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1214 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1215 javax/swing/colorchooser/ColorSelectionModel.java,
1216 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1217 javax/swing/event/AncestorEvent.java,
1218 javax/swing/event/HyperlinkEvent.java,
1219 javax/swing/event/InternalFrameAdapter.java,
1220 javax/swing/event/InternalFrameEvent.java,
1221 javax/swing/event/ListDataEvent.java,
1222 javax/swing/event/MouseInputAdapter.java,
1223 javax/swing/event/SwingPropertyChangeSupport.java,
1224 javax/swing/event/TableModelEvent.java,
1225 javax/swing/event/TreeWillExpandListener.java,
1226 javax/swing/event/UndoableEditEvent.java,
1227 javax/swing/filechooser/FileFilter.java,
1228 javax/swing/filechooser/FileSystemView.java,
1229 javax/swing/filechooser/FileView.java,
1230 javax/swing/plaf/BorderUIResource.java,
1231 javax/swing/plaf/basic/BasicDefaults.java,
1232 javax/swing/table/AbstractTableModel.java,
1233 javax/swing/table/DefaultTableCellRenderer.java,
1234 javax/swing/table/DefaultTableColumnModel.java,
1235 javax/swing/table/DefaultTableModel.java,
1236 javax/swing/table/TableColumn.java,
1237 javax/swing/text/JTextComponent.java,
1238 javax/swing/tree/AbstractLayoutCache.java,
1239 javax/swing/tree/DefaultMutableTreeNode.java,
1240 javax/swing/tree/DefaultTreeCellEditor.java,
1241 javax/swing/tree/DefaultTreeCellRenderer.java,
1242 javax/swing/tree/DefaultTreeModel.java,
1243 javax/swing/tree/DefaultTreeSelectionModel.java,
1244 javax/swing/tree/FixedHeightLayoutCache.java,
1245 javax/swing/tree/TreeCellEditor.java,
1246 javax/swing/tree/TreeModel.java,
1247 javax/swing/tree/TreeNode.java,
1248 javax/swing/tree/TreePath.java,
1249 javax/swing/tree/TreeSelectionModel.java,
1250 javax/swing/tree/VariableHeightLayoutCache.java,
1251 javax/swing/undo/AbstractUndoableEdit.java,
1252 javax/swing/undo/CompoundEdit.java,
1253 javax/swing/undo/StateEdit.java,
1254 javax/swing/undo/UndoManager.java,
1255 javax/swing/undo/UndoableEditSupport.java:
1256 New versions from classpath.
1257 * javax/swing/table/JTableHeader.java:
1258 New file from classpath.
1259 * Makefile.am
1260 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1261 * Makefile.in: Regenerated.
1262
1263 2003-06-11 Michael Koch <konqueror@gmx.de>
1264
1265 * java/nio/MappedByteBuffer.java,
1266 java/nio/channels/Channels.java,
1267 java/nio/channels/ServerSocketChannel.java,
1268 java/nio/channels/spi/AbstractSelector.java:
1269 Removed unneeded imports.
1270
1271 2003-06-11 Michael Koch <konqueror@gmx.de>
1272
1273 * java/net/DatagramSocket.java:
1274 Partly merged with classpath.
1275
1276 2003-06-11 Michael Koch <konqueror@gmx.de>
1277
1278 * java/awt/Frame.java,
1279 java/awt/Graphics.java,
1280 java/awt/Menu.java,
1281 java/awt/Robot.java,
1282 java/awt/image/ColorModel.java:
1283 New versions from classpath.
1284
1285 2003-06-10 Michael Koch <konqueror@gmx.de>
1286
1287 * java/io/PrintStream.java:
1288 Merged version from classpath.
1289 (close): Removed sychronized keyword. This class is not garantied to
1290 be thread-safe.
1291 (write): Likewise.
1292
1293 2003-06-09 Tom Tromey <tromey@redhat.com>
1294
1295 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1296 field.
1297 (getDescent): Likewise, for "descent".
1298
1299 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1300
1301 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1302 (getMaxDescent): adjusted return value.
1303 (getAscent): modified to use metrics for 'O'.
1304 (getDescent): modified to use metrics for 'y'.
1305
1306 2003-06-08 Anthony Green <green@redhat.com>
1307
1308 * java/net/URLStreamHandler.java (sameFile): Fix port value
1309 comparison.
1310 * java/net/URL.java (handler): Make package private.
1311 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1312
1313 2003-06-07 Tom Tromey <tromey@redhat.com>
1314
1315 For PR libgcj/11085:
1316 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1317 Limit number of characters in numeric field when required.
1318 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1319 Respect maximumIntegerDigits.
1320
1321 2003-06-08 Michael Koch <konqueror@gmx.de>
1322
1323 * java/net/Socket.java
1324 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1325 call bind() and connect() to actually do the bind and connect tasks.
1326 (bind): Connect to canonical address if bindpoint is null, create
1327 socket and bind it to bindpoint.
1328 (connect): Check for exceptions.
1329
1330 2003-06-08 Michael Koch <konqueror@gmx.de>
1331
1332 * java/net/DatagramSocket.java
1333 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1334 into the Multicast constructors.
1335 * java/net/DatagramSocketImpl.java
1336 (getOption): Removed.
1337 (setOption): Removed.
1338 * java/net/MulticastSocket.java
1339 (MulticastSocket): Call setReuseAddress (true).
1340 * java/net/SocketImpl.java
1341 (getOption): Removed.
1342 (setOption): Removed.
1343
1344 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1345
1346 PR libgcj/10886:
1347 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1348 Test for empty vector.
1349
1350 2003-06-06 Mark Wielaard <mark@klomp.org>
1351
1352 * java/security/Security.java (secprops): Initialize.
1353 (loadProviders): Return boolean.
1354 (static): Check result of loadProvider calls. If necessary
1355 display WARNING and fallback to Gnu provider.
1356
1357 2002-06-06 James Clark <jjc@jclark.com>
1358
1359 Fix for PR libgcj/8738:
1360 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1361 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1362 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1363 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1364 (write): Always decrease avail when count is increased.
1365 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1366 and whether output buffer is full before increasing size.
1367
1368 2002-06-06 Mark Wielaard <mark@klomp dot org>
1369
1370 * java/io/PrintStream.java (writeChars(char[],int, int)):
1371 Check converter.havePendingBytes().
1372 (writeChars(String,int,int)): Likewise.
1373 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1374 Check converter.havePendingBytes() and flush buffer when stalled.
1375
1376 2003-06-07 Michael Koch <konqueror@gmx.de>
1377
1378 * include/posix.h
1379 (O_DSYNC): Define O_DSYNC on platforms not
1380 supporting O_FSYNC (newlib).
1381
1382 2003-06-06 Mark Wielaard <mark@klomp.org>
1383
1384 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1385 AWTError.
1386
1387 2003-06-06 Michael Koch <konqueror@gmx.de>
1388
1389 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1390 More compile fixes from my stupid work yesterday.
1391
1392 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1393
1394 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1395 if _IEEE_LIBM is undefined.
1396
1397 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1398
1399 * libjava/include/posix.h (O_SYNC): Define if not available
1400 and a reasonable, perhaps more conservative, replacement exists.
1401 (O_DSYNC): Likewise.
1402 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1403
1404 2003-06-05 Michael Koch <konqueror@gmx.de>
1405
1406 * javax/swing/plaf/BorderUIResource.java,
1407 javax/swing/plaf/basic/BasicDefaults.java,
1408 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1409 More compile fixes for latest Border commit. I should not commit
1410 something in this heat here ...
1411
1412 2003-06-05 Michael Koch <konqueror@gmx.de>
1413
1414 * javax/swing/border/BevelBorder.java
1415 (BevelBorder): Removed.
1416 * javax/swing/border/EmptyBorder.java:
1417 Reformatted.
1418 (EmptyBorder): Removed.
1419 (getBorderInsets): Dont use l, r, t and b.
1420 * javax/swing/border/EtchedBorder.java
1421 (EtchedBorder): Removed.
1422 * javax/swing/border/LineBorder.java
1423 (LineBorder): Removed.
1424 * javax/swing/border/MatteBorder.java
1425 (MatteBorder): Removed.
1426 * javax/swing/border/TitledBorder.java
1427 (defaultBorder): Use other default for now.
1428 (defaultFont): Likewise.
1429 (defaultColor): Likewise.
1430
1431 2003-06-05 Michael Koch <konqueror@gmx.de>
1432
1433 * javax/swing/border/Border.java:
1434 New version from classpath.
1435
1436 2003-06-05 Michael Koch <konqueror@gmx.de>
1437
1438 * javax/swing/border/AbstractBorder.java,
1439 javax/swing/border/BevelBorder.java,
1440 javax/swing/border/CompoundBorder.java,
1441 javax/swing/border/EmptyBorder.java,
1442 javax/swing/border/EtchedBorder.java,
1443 javax/swing/border/LineBorder.java,
1444 javax/swing/border/MatteBorder.java,
1445 javax/swing/border/TitledBorder.java:
1446 New versions from Classpath.
1447
1448 2003-06-05 Michael Koch <konqueror@gmx.de>
1449
1450 * java/awt/Button.java,
1451 java/awt/Checkbox.java,
1452 java/awt/CheckboxMenuItem.java,
1453 java/awt/Choice.java,
1454 java/awt/Container.java,
1455 java/awt/Dialog.java,
1456 java/awt/EventQueue.java,
1457 java/awt/FileDialog.java,
1458 java/awt/Frame.java,
1459 java/awt/Label.java,
1460 java/awt/List.java,
1461 java/awt/Menu.java,
1462 java/awt/MenuItem.java,
1463 java/awt/Panel.java,
1464 java/awt/PopupMenu.java,
1465 java/awt/Rectangle.java,
1466 java/awt/ScrollPane.java,
1467 java/awt/Scrollbar.java,
1468 java/awt/TextArea.java,
1469 java/awt/TextField.java,
1470 java/awt/Window.java,
1471 java/awt/datatransfer/DataFlavor.java,
1472 java/awt/dnd/DragSource.java,
1473 java/awt/dnd/DragSourceContext.java,
1474 java/awt/event/HierarchyEvent.java,
1475 java/awt/event/MouseWheelEvent.java,
1476 java/awt/im/InputContext.java,
1477 java/awt/image/BufferedImage.java,
1478 java/awt/image/ComponentColorModel.java,
1479 java/awt/image/Raster.java,
1480 java/awt/image/WritableRaster.java,
1481 java/awt/peer/ComponentPeer.java,
1482 java/awt/print/PageFormat.java,
1483 java/awt/print/PrinterJob.java:
1484 New versions from Classpath.
1485
1486 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1487
1488 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1489 numberFormat.setParseIntegerOnly(true).
1490
1491 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1492
1493 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1494
1495 2003-06-03 Andrew Haley <aph@redhat.com>
1496
1497 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1498 stack volatile to prevent optimization from removing it.
1499
1500 2003-05-27 Michael Koch <konqueror@gmx.de>
1501
1502 * java/util/zip/Deflater.java
1503 (FILTERED): Merged documentation from classpath.
1504 * java/util/zip/DeflaterOutputStream.java
1505 (DeflaterOutputStream): Merged documentation and argument validity
1506 check from classpath.
1507 (deflate): Merged documentation from classpath.
1508 (finish): Likewise.
1509 * java/util/zip/Inflater.java
1510 (Inflater): Merged class documentation from classpath.
1511 (zstream): Reordered.
1512 (is_finished): Reordered.
1513 (dict_needed): Reordered.
1514 (Inflater): Reordered, merged documentation from classpath.
1515 (end): Likewise.
1516 (finalize): Merged documentation from classpath.
1517 (finished): Likewise.
1518 (getAdler): Likewise.
1519 (getRemaining): Likewise.
1520 (getTotalIn): Likewise.
1521 (getTotalOut): Likewise.
1522 (inflate): Likewise.
1523 (needsDictionary): Likewise.
1524 (needsInput): Likewise.
1525 (reset): Likewise.
1526 (setDictionary): Likewise.
1527 (setInput): Likewise.
1528
1529 2003-05-27 Michael Koch <konqueror@gmx.de>
1530
1531 * java/net/URLConnection.java
1532 (getHeaderFieldInt): Merged with classpath.
1533
1534 2003-05-27 Michael Koch <konqueror@gmx.de>
1535
1536 * java/io/PrintStream.java
1537 (PrintStream): Reformatted.
1538 (PrintStream): New method, merged from classpath.
1539 (write): Reformatted.
1540
1541 2003-05-27 Michael Koch <konqueror@gmx.de>
1542
1543 * java/lang/System.java:
1544 Explicitely import needed classes.
1545
1546 2003-05-26 Michael Koch <konqueror@gmx.de>
1547
1548 * java/net/NetPermission.java,
1549 java/net/NetworkInterface.java,
1550 java/net/PasswordAuthentication.java,
1551 java/net/SocketPermission.java:
1552 New versions from classpath.
1553
1554 2003-05-25 Michael Koch <konqueror@gmx.de>
1555
1556 * java/io/PushbackInputStream.java,
1557 java/net/Authenticator.java,
1558 java/net/ContentHandler.java,
1559 java/net/ContentHandlerFactory.java,
1560 java/net/DatagramSocket.java,
1561 java/net/DatagramSocketImpl.java,
1562 java/net/DatagramSocketImplFactory.java,
1563 java/net/FileNameMap.java,
1564 java/net/SocketImplFactory.java,
1565 java/net/SocketOptions.java,
1566 java/net/URLStreamHandlerFactory.java:
1567 Merged new versions from classpath.
1568
1569 2003-05-25 Michael Koch <konqueror@gmx.de>
1570
1571 * java/awt/Checkbox.java,
1572 java/awt/Dialog.java,
1573 java/awt/Font.java,
1574 java/awt/Frame.java,
1575 java/awt/ScrollPaneAdjustable.java,
1576 java/awt/Scrollbar.java,
1577 java/awt/Window.java:
1578 New versions from classpath.
1579
1580 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1581
1582 PR libgcj/10838:
1583 * java/io/ObjectInputStream (enableResolveObject):
1584 Fixed spelling of permission name.
1585
1586 2003-05-20 Michael Koch <konqueror@gmx.de>
1587
1588 * java/io/DataInputStream.java
1589 (convertFromUTF): Merged comment from classpath.
1590 * java/io/PrintStream.java
1591 (error_occured): Renamed from error, merged comment from classpath.
1592 (PrintStream): No need to initialized error.
1593 (checkError): Replace error with error_occurred.
1594 (setError): Likewise.
1595
1596 2003-05-20 Michael Koch <konqueror@gmx.de>
1597
1598 * java/io/DataInputStream.java:
1599 Reformatted, Replaced < and & with html entitites in documentation.
1600 * java/io/File.java:
1601 Reformatted.
1602 * java/io/PrintWriter.java:
1603 Moved class documentation.
1604
1605 2003-05-20 Michael Koch <konqueror@gmx.de>
1606
1607 * gnu/java/nio/ByteBufferImpl.java,
1608 gnu/java/nio/CharBufferImpl.java,
1609 gnu/java/nio/CharViewBufferImpl.java,
1610 gnu/java/nio/DirectByteBufferImpl.java,
1611 gnu/java/nio/DoubleBufferImpl.java,
1612 gnu/java/nio/DoubleViewBufferImpl.java,
1613 gnu/java/nio/FloatBufferImpl.java,
1614 gnu/java/nio/FloatViewBufferImpl.java,
1615 gnu/java/nio/IntBufferImpl.java,
1616 gnu/java/nio/IntViewBufferImpl.java,
1617 gnu/java/nio/LongBufferImpl.java,
1618 gnu/java/nio/LongViewBufferImpl.java,
1619 gnu/java/nio/natDirectByteBufferImpl.cc,
1620 gnu/java/nio/ShortBufferImpl.java,
1621 gnu/java/nio/ShortViewBufferImpl.java:
1622 Moved files to java/nio.
1623 * gnu/java/nio/SocketChannelImpl.java
1624
1625 * java/nio/ByteBuffer.java,
1626 java/nio/CharBuffer.java,
1627 java/nio/DoubleBuffer.java,
1628 java/nio/FloatBuffer.java,
1629 java/nio/IntBuffer.java,
1630 java/nio/LongBuffer.java,
1631 java/nio/ShortBuffer.java:
1632 Dont import anything.
1633 * java/nio/ByteBufferImpl.java,
1634 java/nio/CharBufferImpl.java,
1635 java/nio/CharViewBufferImpl.java,
1636 java/nio/DirectByteBufferImpl.java,
1637 java/nio/DoubleBufferImpl.java,
1638 java/nio/DoubleViewBufferImpl.java,
1639 java/nio/FloatBufferImpl.java,
1640 java/nio/FloatViewBufferImpl.java,
1641 java/nio/IntBufferImpl.java,
1642 java/nio/IntViewBufferImpl.java,
1643 java/nio/LongBufferImpl.java,
1644 java/nio/LongViewBufferImpl.java,
1645 java/nio/natDirectByteBufferImpl.cc,
1646 java/nio/ShortBufferImpl.java,
1647 java/nio/ShortViewBufferImpl.java:
1648 Moved from gnu/java/nio.
1649 * Makefile.am
1650 (ordinary_java_source_files): Moved files from gnu/java/nio to
1651 java/nio.
1652 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1653 to java/nio.
1654 * Makefile.in: Regenerated.
1655
1656 2003-05-19 Michael Koch <konqueror@gmx.de>
1657
1658 * java/util/Calendar.java
1659 (get): Not final anymore since JDK 1.4
1660 (set): Likewise.
1661
1662 2003-05-19 Michael Koch <konqueror@gmx.de>
1663
1664 * java/text/CollationKey.java:
1665 Merged copyright and dat from classpath.
1666 * java/text/RuleBasedCollator.java:
1667 Merged class documentation from classpath.
1668
1669 2003-05-19 Michael Koch <konqueror@gmx.de>
1670
1671 * java/nio/CharBuffer.java
1672 (toString): Compile fix.
1673
1674 2003-05-19 Michael Koch <konqueror@gmx.de>
1675
1676 * gnu/java/nio/ByteBufferImpl.java
1677 (putLong): Fixed conversion to bytes.
1678 (putDouble): Fixed conversion to bytes.
1679 * gnu/java/nio/DirectByteBufferImpl.java
1680 (putLong): Fixed conversion to bytes.
1681 (putDouble): Fixed conversion to bytes.
1682 * gnu/java/nio/FileLockImpl.java
1683 (isValid): Reformatted.
1684 * java/nio/Buffer.java
1685 (Buffer): Fixed off-by-one bug in handling mark.
1686 * java/nio/ByteBuffer.java:
1687 Added newline.
1688 * java/nio/CharBuffer.java
1689 (toString): Don't use relative get to get string data.
1690
1691 2003-05-16 Michael Koch <konqueror@gmx.de>
1692
1693 * java/io/natFileDescriptorPosix.cc
1694 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1695 tested.
1696
1697 2003-05-14 Michael Koch <konqueror@gmx.de>
1698
1699 * gnu/java/nio/FileLockImpl.java
1700 (released): New member variable.
1701 (FileLockImpl): Initialize released.
1702 (releaseImpl): New native method.
1703 (release): Implemented.
1704 * gnu/java/nio/SelectorImpl.java: Reformatted.
1705 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1706 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1707 (accept): Throws IOException.
1708 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1709 (implConfigureBlocking): Throws IOException.
1710 (connect): Likewise.
1711 (read): Likewise.
1712 (write): Likewise.
1713 * gnu/java/nio/natFileLockImpl.cc: New file.
1714 * java/nio/channels/FileLock.java: Reformatted.
1715 * Makefile.am:
1716 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1717 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1718 * Makefile.in: Regenerated.
1719
1720 2003-05-13 Michael Koch <konqueror@gmx.de>
1721
1722 * gnu/java/nio/CharViewBufferImpl.java
1723 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1724 (get): Shift bits to the right direction.
1725 (put): Likewise.
1726 * gnu/java/nio/DoubleViewBufferImpl.java
1727 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1728 (get): Shift bits to the right direction.
1729 (put): Likewise.
1730 * gnu/java/nio/FloatViewBufferImpl.java
1731 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1732 (get): Shift bits to the right direction.
1733 (put): Likewise.
1734 * gnu/java/nio/IntViewBufferImpl.java
1735 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1736 (get): Shift bits to the right direction.
1737 (put): Likewise.
1738 * gnu/java/nio/LongViewBufferImpl.java
1739 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1740 (get): Shift bits to the right direction.
1741 (put): Likewise.
1742 * gnu/java/nio/ShortViewBufferImpl.java
1743 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1744 (get): Shift bits to the right direction.
1745 (put): Likewise.
1746
1747 2003-05-13 Michael Koch <konqueror@gmx.de>
1748
1749 * gnu/java/nio/natDirectByteBufferImpl.cc
1750 (allocateImpl): jlong -> RawData*.
1751 (freeImpl): Likewise.
1752
1753 2003-05-13 Michael Koch <konqueror@gmx.de>
1754
1755 * java/nio/channels/FileChannel.java
1756 (MapMode.m): Made it package-private to match JDK 1.4.
1757 * java/nio/charset/Charset.java
1758 (decode): Made it final to match JDK 1.4.
1759
1760 2003-05-13 Michael Koch <konqueror@gmx.de>
1761
1762 * java/io/FileDescriptor.java
1763 (SYNC): New constant.
1764 (DSYNC): Likewise.
1765 (getLength): Renamed from lenght() to match classpath's
1766 FileDescriptor.java.
1767 * java/io/RandomAccessFile.java
1768 (RandomAccessFile): Removed unneeded mode check, implemented mode
1769 "rws" and "rwd", merged documentation from classpath.
1770 (setLength): Reformatted.
1771 (length): Use new getLength() of FileDescriptor.
1772 * java/io/natFileDescriptorEcos.cc
1773 (getLength): Renamed from length().
1774 * java/io/natFileDescriptorPosix.cc
1775 (open): Implemented support for SYNC and DSYNC.
1776 (seek): Use getLength() instead of length().
1777 (getLength): Renamed from length().
1778 * java/io/natFileDescriptorWin32.cc
1779 (getLength): Renamed from length().
1780 (seek): Use getLength() instead of length().
1781 (available): Likewise.
1782 * gnu/java/nio/natFileChannelImpl.cc
1783 (size): Use getLength() instead of length().
1784
1785 2003-05-13 Michael Koch <konqueror@gmx.de>
1786
1787 * gnu/java/nio/ByteBufferImpl.java
1788 (ByteBufferImpl): All constructors revised.
1789 (slice): Reimplemented.
1790 (duplicate): Reimplemented.
1791 (asReadOnlyBuffer): Reimplemented.
1792 * java/nio/ByteBuffer.java:
1793 Reformatted.
1794 (array_offset): Renamed from "offset" to match all other buffer
1795 classes.
1796 (ByteBuffer): All constructors revised.
1797 (allocateDirect): Implemented.
1798 (allocate): New implementation, documentation reworked.
1799 (wrap): Likewise.
1800 (get): Documentation reworked.
1801 (put): New implementation, documentation reworked.
1802 (hasArray): Documentation reworked.
1803 (arrayOffset): Likewise.
1804 (hashCode): Likewise.
1805 (equals): Likewise.
1806 (compareTo): Likewise.
1807 (order): Likewise.
1808 (compact): Likewise.
1809 (isDirect): Likewise.
1810 (slice): Likewise.
1811 (duplicate): Likewise.
1812 (asReadOnlyBuffer): Likewise.
1813 * Makefile.am
1814 (ordinary_java_source_files):
1815 Added gnu/java/nio/DirectByteBufferImpl.java.
1816 (nat_source_files):
1817 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1818 * Makefile.in: Regenerated.
1819
1820 2003-05-12 Michael Koch <konqueror@gmx.de>
1821
1822 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1823 (nio_get_*): Removed.
1824 (nio_put_*): Removed.
1825 (as*Buffer): Implemented.
1826 (compact): Implemented.
1827 (get): Documentation added.
1828 (put): Documentation added.
1829 (get*): Newly implemented.
1830 (put*): Newly implemented.
1831 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1832 (CharBufferImpl): Revised.
1833 (slice): New implementation.
1834 (duplicate): New implementation.
1835 (compact): New implementation.
1836 (asReadOnlyBuffer): New implementation.
1837 (get): Documentation revised.
1838 (order): Return native byte order.
1839 * gnu/java/nio/DirectByteBufferImpl.java
1840 (allocateDirect): objects can be null not 0.
1841 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1842 (DoubleBufferImpl): Revised.
1843 (slice): New implementation.
1844 (duplicate): New implementation.
1845 (compact): New implementation.
1846 (asReadOnlyBuffer): New implementation.
1847 (get): Documentation revised.
1848 (order): Return native byte order.
1849 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1850 (FloatBufferImpl): Revised.
1851 (slice): New implementation.
1852 (duplicate): New implementation.
1853 (compact): New implementation.
1854 (asReadOnlyBuffer): New implementation.
1855 (get): Documentation revised.
1856 (order): Return native byte order.
1857 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1858 (IntBufferImpl): Revised.
1859 (slice): New implementation.
1860 (duplicate): New implementation.
1861 (compact): New implementation.
1862 (asReadOnlyBuffer): New implementation.
1863 (get): Documentation revised.
1864 (order): Return native byte order.
1865 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1866 (LongBufferImpl): Revised.
1867 (slice): New implementation.
1868 (duplicate): New implementation.
1869 (compact): New implementation.
1870 (asReadOnlyBuffer): New implementation.
1871 (get): Documentation revised.
1872 (order): Return native byte order.
1873 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1874 (ShortBufferImpl): Revised.
1875 (slice): New implementation.
1876 (duplicate): New implementation.
1877 (compact): New implementation.
1878 (asReadOnlyBuffer): New implementation.
1879 (get): Documentation revised.
1880 (order): Return native byte order.
1881 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1882 (CharBuffer): Revised.
1883 (order): Removed.
1884 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1885 (DoubleBuffer): Revised.
1886 (allocateDirect): Removed.
1887 (order): Removed.
1888 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1889 (FloatBuffer): Revised.
1890 (allocateDirect): Removed.
1891 (order): Removed.
1892 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1893 (IntBuffer): Revised.
1894 (allocateDirect): Removed.
1895 (order): Removed.
1896 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1897 (LongBuffer): Revised.
1898 (allocateDirect): Removed.
1899 (order): Removed.
1900 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1901 (ShortBuffer): Revised.
1902 (allocateDirect): Removed.
1903 (order): Removed.
1904 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1905 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1906 * Makefile.am
1907 (ordinary_java_source_files): Added the following files:
1908 gnu/java/nio/CharViewBufferImpl.java,
1909 gnu/java/nio/DoubleViewBufferImpl.java,
1910 gnu/java/nio/FloatViewBufferImpl.java,
1911 gnu/java/nio/IntViewBufferImpl.java,
1912 gnu/java/nio/LongViewBufferImpl.java,
1913 gnu/java/nio/ShortViewBufferImpl.java
1914 (nat_source_files): Removed the following files:
1915 gnu/java/nio/natByteBufferImpl.cc,
1916 gnu/java/nio/natCharBufferImpl.cc
1917 * Makefile.in: Regenerated.
1918
1919 2003-05-12 Michael Koch <konqueror@gmx.de>
1920
1921 * gnu/java/nio/CharViewBufferImpl.java,
1922 gnu/java/nio/DirectByteBufferImpl.java,
1923 gnu/java/nio/DoubleViewBufferImpl.java,
1924 gnu/java/nio/FloatViewBufferImpl.java,
1925 gnu/java/nio/IntViewBufferImpl.java,
1926 gnu/java/nio/LongViewBufferImpl.java,
1927 gnu/java/nio/ShortViewBufferImpl.java,
1928 gnu/java/nio/natDirectByteBufferImpl.cc:
1929 New files, not yet to be compiled.
1930
1931 2003-05-10 Michael Koch <konqueror@gmx.de>
1932
1933 * javax/swing/plaf/ButtonUI.java,
1934 javax/swing/plaf/ColorUIResource.java,
1935 javax/swing/plaf/ComponentUI.java,
1936 javax/swing/plaf/DimensionUIResource.java,
1937 javax/swing/plaf/FontUIResource.java,
1938 javax/swing/plaf/IconUIResource.java,
1939 javax/swing/plaf/InsetsUIResource.java,
1940 javax/swing/plaf/LabelUI.java,
1941 javax/swing/plaf/ListUI.java,
1942 javax/swing/plaf/OptionPaneUI.java,
1943 javax/swing/plaf/PanelUI.java,
1944 javax/swing/plaf/TabbedPaneUI.java,
1945 javax/swing/plaf/TextUI.java,
1946 javax/swing/plaf/TreeUI.java,
1947 javax/swing/plaf/ViewportUI.java,
1948 javax/swing/plaf/basic/BasicBorders.java,
1949 javax/swing/plaf/basic/BasicButtonUI.java,
1950 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1951 javax/swing/plaf/basic/BasicDefaults.java,
1952 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1953 javax/swing/plaf/basic/BasicIconFactory.java,
1954 javax/swing/plaf/basic/BasicLabelUI.java,
1955 javax/swing/plaf/basic/BasicListUI.java,
1956 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1957 javax/swing/plaf/basic/BasicPanelUI.java,
1958 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1959 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1960 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1961 javax/swing/plaf/basic/BasicTextUI.java,
1962 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1963 javax/swing/plaf/basic/BasicTreeUI.java,
1964 javax/swing/plaf/basic/BasicViewportUI.java,
1965 javax/swing/plaf/metal/MetalLookAndFeel.java:
1966 New versions from classpath. This adds copyrights to all files and
1967 some serialVersionUIDs.
1968
1969 2003-05-10 Michael Koch <konqueror@gmx.de>
1970
1971 * java/nio/CharBuffer.java
1972 (offset): Make it package-private.
1973 (backing_buffer): Likewise.
1974 * java/nio/DoubleBuffer.java
1975 (offset): Make it package-private.
1976 (backing_buffer): Likewise.
1977 (put): Reformatted.
1978 * java/nio/FloatBuffer.java
1979 (offset): Make it package-private.
1980 (backing_buffer): Likewise.
1981 * java/nio/IntBuffer.java
1982 (offset): Make it package-private.
1983 (backing_buffer): Likewise.
1984 * java/nio/LongBuffer.java
1985 (offset): Make it package-private.
1986 (backing_buffer): Likewise.
1987 * java/nio/ShortBuffer.java
1988 (offset): Make it package-private.
1989 (backing_buffer): Likewise.
1990
1991 2003-05-10 Michael Koch <konqueror@gmx.de>
1992
1993 * java/nio/CharBuffer.java
1994 (put): Fixed precondtion check.
1995 (toString): Make it work without backing array.
1996 (put): Skip one level of method calling.
1997
1998 2003-05-10 Michael Koch <konqueror@gmx.de>
1999
2000 * java/security/Identity.java,
2001 java/security/IdentityScope.java,
2002 java/security/Key.java,
2003 java/security/KeyPair.java,
2004 java/security/PrivateKey.java,
2005 java/security/Provider.java,
2006 java/security/PublicKey.java,
2007 java/security/SecureRandom.java,
2008 java/security/SecureRandomSpi.java,
2009 java/security/SignedObject.java,
2010 java/security/Signer.java,
2011 java/security/cert/Certificate.java,
2012 java/security/cert/PKIXCertPathBuilderResult.java,
2013 java/security/cert/X509Certificate.java:
2014 New versions from classpath.
2015
2016 2003-05-09 Tom Tromey <tromey@redhat.com>
2017
2018 * Makefile.in: Rebuilt.
2019 * Makefile.am (nat_source_files): Removed old files.
2020 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2021 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2022 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2023 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2024 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2025
2026 2003-05-09 Michael Koch <konqueror@gmx.de>
2027
2028 * gnu/java/nio/ByteBufferImpl.java
2029 (nio_cast): Removed.
2030 (ByteBufferImpl): Removed.
2031 (nio_get_Byte): Removed.
2032 (nio_put_Byte): Removed.
2033 (asByteBuffer): Removed.
2034 (asCharBuffer): Removed implementation and throw exception.
2035 (asShortBuffer): Likewise.
2036 (asIntBuffer): Likewise.
2037 (asLongBuffer): Likewise.
2038 (asFloatBuffer): Likewise.
2039 (asDoubleBuffer): Likewise.
2040 * gnu/java/nio/CharBufferImpl.java
2041 (CharBufferImpl): Removed.
2042 (nio_get_Byte): Removed.
2043 (nio_put_Byte): Removed.
2044 (asByteBuffer): Removed.
2045 * gnu/java/nio/DoubleBufferImpl.java
2046 (DoubleBufferImpl): Removed.
2047 (nio_get_Byte): Removed.
2048 (nio_put_Byte): Removed.
2049 (asByteBuffer): Removed.
2050 * gnu/java/nio/FloatBufferImpl.java
2051 (FloatBufferImpl): Removed.
2052 (nio_get_Byte): Removed.
2053 (nio_put_Byte): Removed.
2054 (asByteBuffer): Removed.
2055 * gnu/java/nio/IntBufferImpl.java
2056 (IntBufferImpl): Removed.
2057 (nio_get_Byte): Removed.
2058 (nio_put_Byte): Removed.
2059 (asByteBuffer): Removed.
2060 * gnu/java/nio/LongBufferImpl.java
2061 (LongBufferImpl): Removed.
2062 (nio_get_Byte): Removed.
2063 (nio_put_Byte): Removed.
2064 (asByteBuffer): Removed.
2065 * gnu/java/nio/ShortBufferImpl.java
2066 (ShortBufferImpl): Removed.
2067 (nio_get_Byte): Removed.
2068 (nio_put_Byte): Removed.
2069 (asByteBuffer): Removed.
2070 * gnu/java/nio/natByteBufferImpl.cc
2071 (nio_cast): Removed.
2072 (nio_get_Byte): Removed.
2073 (nio_put_Byte): Removed.
2074 * gnu/java/nio/natCharBufferImpl.cc
2075 (nio_get_Byte): Removed.
2076 (nio_put_Byte): Removed.
2077
2078 2003-05-09 Michael Koch <konqueror@gmx.de>
2079
2080 * java/net/JarURLConnection.java
2081 (getJarEntry): Merged documentation from classpath.
2082 (getJarFile): Likewise.
2083 (getMainAttributes): Likewise.
2084 (getAttributes): Likewise.
2085 (getManifest): Likewise.
2086 (getCertificates): Reformatted.
2087 * java/net/URLConnection.java:
2088 Little classpath merge.
2089
2090 2003-05-09 Michael Koch <konqueror@gmx.de>
2091
2092 * java/io/DataOutputStream.java
2093 (writeShort): Made it synchronized.
2094 (writeChar): Likewise.
2095 (writeInt): Likewise.
2096 (writeLong): Liekwise.
2097 (writeUTF): Made it synchronized, renamed argument to match classpath.
2098 * java/io/InputStreamReader.java
2099 (converter): Added documentation.
2100 (read): Merged documentation from classpath.
2101 * java/io/OutputStreamWriter.java
2102 (OutputStreamWriter): Merged documentation from classpath.
2103 (close): Reformatted.
2104 (getEncoding): Likewise.
2105 (flush): Likewise.
2106 (write): Merged documentation from classpath, reformatted.
2107
2108 2003-05-08 Tom Tromey <tromey@redhat.com>
2109
2110 * configure.host <powerpc64*-*>: Set with_libffi_default and
2111 libgcj_interpreter to "yes".
2112
2113 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2114
2115 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2116
2117 2003-05-06 Tom Tromey <tromey@redhat.com>
2118
2119 * verify.cc: Reverted previous patch.
2120
2121 2003-05-06 Michael Koch <konqueror@gmx.de>
2122
2123 * java/io/DataOutputStream.java
2124 (write): Renamed argument to "value", merged documentation from
2125 classpath.
2126 (writeBoolean): Likewise.
2127 (writeByte): Likewise.
2128 (writeShort): Likewise.
2129 (writeChar): Likewise.
2130 (writeInt): Likewise.
2131 (writeLong): Likewise.
2132 (writeFloat): Likewise.
2133 (writeDouble): Likewise.
2134 (writeBytes): Likewise.
2135 (writeChars): Likewise.
2136 (writeUTF): Likewise.
2137 * java/io/File.java
2138 (performDelete): Added documentation.
2139 (performList): Likewise.
2140 (performMkdir): Likewise.
2141 (performSetReadOnly): Likewise.
2142 (performRenameTo): Likewise.
2143 (performSetLastModified): Likewise.
2144 (delete): Made it sychronized.
2145 (renameTo): Made it sychronized.
2146 (equals): Reformatted.
2147 (isHidden): Likewise.
2148 (listFiles): Likewise.
2149 (setReadOnly): Likewise.
2150 (listRoots): Likewise.
2151 (setLastModified): Likewise.
2152 (checkRead): Likewise.
2153 (checkWrite): Likewise.
2154 * java/io/FileInputStream.java
2155 (skip): Made it sychronized, merged from classpath.
2156 * java/io/FileOutputStream.java
2157 (write): Merged from classpath.
2158 * java/io/InputStreamReader.java:
2159 (InputStreamReader): Merged documentation from classpath.
2160
2161 2003-05-05 Michael Koch <konqueror@gmx.de>
2162
2163 * java/net/NetworkInterface.java
2164 (networkInterfaces): Removed.
2165 (getByName): Use getRealNetworkInterfaces() instead of
2166 networkInterfaces.
2167 (getByInetAddress): Likewise.
2168 (getNetworkInterfaces): Likewise.
2169 (toString): Fix output of addresses of an interface.
2170
2171 2003-05-05 Michael Koch <konqueror@gmx.de>
2172
2173 * java/io/DataInputStream.java:
2174 Merged new documentation from classpath.
2175
2176 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2177
2178 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2179 "version".
2180 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2181 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2182 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2183 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2184 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2185 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2186 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2187 * java/security/Key.java: Likewise.
2188 * java/security/PrivateKey.java: Likewise.
2189 * java/security/Provider.java: Likewise.
2190 * java/security/PublicKey.java: Likewise.
2191
2192 2003-05-02 Michael Koch <konqueror@gmx.de>
2193
2194 * java/net/URI.java
2195 (create): Doesnt throws any exceptions.
2196 * java/net/URLConnection.java
2197 (URLConnection): Commend added.
2198 (getExpiration): The header field is called "expires" not
2199 "expiration".
2200 (getHeaderField): Merged documentation with classpath.
2201 (getHeaderFieldInt): Likewise.
2202 (getHeaderFieldDate): Likewise.
2203 (getHeaderFieldKey): Likewise.
2204 (getPermission): Likewise.
2205 (setDefaultUseCaches): Likewise.
2206 (setRequestProperty): Likewise.
2207 (addRequestProperty): Likewise.
2208 (getRequestProperty): Likewise.
2209 (getRequestProperties): Likewise.
2210 (setDefaultRequestProperty): Likewise.
2211 (getDefaultRequestProperty): Likewise.
2212 (guessContentTypeFromStream): Likewise.
2213 (getFileNameMap): Likewise.
2214 (setFileNameMap): Likewise.
2215 (setDoInput): Merged implementation and documentation with classpath.
2216 (setDoOutput): Likewise.
2217 (setAllowUserInteraction): Likewise.
2218 (setDefaultAllowUserInteraction): Likewise.
2219 (setContentHandlerFactory): Made it synchronized, merged documentation
2220 with classpath.
2221 (guessContentTypeFromName): Renamed argument fname to filename to
2222 match classpath, merged documentation with classpath.
2223
2224 2003-05-02 Michael Koch <konqueror@gmx.de>
2225
2226 * java/net/JarURLConnection.java
2227 (JarURLConnection): Class documentation merged with classpath.
2228 (getJarFileURL): Moved and documentation merged with classpath.
2229 (getEntryName): Likewise.
2230 (JarURLConnection): Documentation merged with classpath.
2231 (getJarEntry): Likewise.
2232 (getJarFile): Likewise.
2233 * java/net/PlainDatagramSocketImpl.java:
2234 Class documentation moved.
2235 * java/net/URLConnection.java
2236 (fileNameMap): Moved and documentation merged with classpath.
2237 (factory): Likewise.
2238 (defaultAllowUserInteraction): Likewis.
2239 (defaultUseCaches): Likewise.
2240 (allowUserInteraction): Likewise.
2241 (connected): Likewise.
2242 (url): Likewise.
2243 (connect): Documentation merged with classpath.
2244 (getURL): Likewise.
2245 (getContentLength): Likewise.
2246 (getContentType): Likewise.
2247 (getContentEncoding): Likewise.
2248 (getExpiration): Likewise.
2249 (getDate): Likewise.
2250 (getLastModified): Likewise.
2251 (getHeaderField): Likewise.
2252 (getContent): Likewise.
2253 (getPermission): Likewise.
2254 (getInputStream): Likewise.
2255 (getOutputStream): Likewise.
2256 (toString): Likewise.
2257 (getDoInput): Likewise.
2258 (getDoOutput): Likewise.
2259 (setAllowUserInteraction): Likewise.
2260 (getAllowUserInteraction): Likewise.
2261 (setDefaultAllowUserInteraction): Likewise.
2262 (getDefaultAllowUserInteraction): Likewise.
2263 (setUseCaches): Likewise.
2264 (getUseCaches): Likewise.
2265 (setIfModifiedSince): Likewise.
2266 (getIfModifiedSince): Likewise.
2267 (setDefaultRequestProperty): Likewise.
2268 (getDefaultRequestProperty): Likewise.
2269 (setContentHandlerFactory): Likewise.
2270 (setFileNameMap): Likewise.
2271
2272 2003-05-02 Michael Koch <konqueror@gmx.de>
2273
2274 * java/net/InetAddress.java:
2275 Merged class documentation with classpath.
2276 * java/net/JarURLConnection.java:
2277 Explicitely import all used classes.
2278 * java/net/URL.java:
2279 Reformatting.
2280 * java/net/ServerSocket.java,
2281 java/net/Socket.java:
2282 New versions from classpath.
2283
2284 2003-05-02 Michael Koch <konqueror@gmx.de>
2285
2286 * gnu/java/nio/FileChannelImpl.java
2287 (read): New implementation.
2288 (implRead): New methods.
2289 (write): New implementation, call other write insteal of read method.
2290 (implWrite): New methods.
2291 (map): Added comment.
2292 (transferFrom): Implemented.
2293 (transferTo): Implemented.
2294 (lock): Added checks to throw exceptions.
2295 (truncate): Added check to throw exception.
2296 * gnu/java/nio/natFileChannelImpl.cc
2297 (implRead): New method.
2298 (implWrite): New method.
2299 * java/nio/ByteBuffer.java
2300 (hashCode): Fixed comment.
2301 (get): Fixed exception documentation.
2302 (put): Fixed exception documentation.
2303 * java/nio/CharBuffer.java:
2304 Added comment for later optimizations.
2305
2306 2003-04-30 Tom Tromey <tromey@redhat.com>
2307
2308 PR libgcj/10582:
2309 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2310 Removed.
2311 (type::compatible): Use _Jv_IsAssignableFrom.
2312 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2313 (_Jv_IsAssignableFrom): Work even when source or target class is
2314 not prepared.
2315
2316 2003-04-30 Michael Koch <konqueror@gmx.de>
2317
2318 * java/text/BreakIterator.java
2319 (clone): New method.
2320
2321 2003-04-30 Michael Koch <konqueror@gmx.de>
2322
2323 * java/text/CollationElementIterator.java,
2324 java/text/CollationKey.java,
2325 java/text/RuleBasedCollator.java:
2326 Merged copyright and documentation from classpath and
2327 rearranged some code. No code changes done.
2328
2329 2003-04-30 Michael Koch <konqueror@gmx.de>
2330
2331 * java/util/regex/Matcher.java
2332 (pattern): New member variable.
2333 (appendReplacement): New method.
2334 (appendTail): New method.
2335 (end): New method.
2336 (find): New method.
2337 (group): New method.
2338 (replaceFirst): Added documentation.
2339 (replaceAll): Added documentation.
2340 (groupCount): New method.
2341 (lookingAt): New method.
2342 (matches): New method.
2343 (reset): New method.
2344 (start): New method.
2345 * java/util/regex/Pattern.java
2346 (serialVersionUID): New constant.
2347 (CANON_EQ): New constant.
2348 (CASE_INSENSITIVE): New constant.
2349 (COMMENTS): New constant.
2350 (DOTALL): New constant.
2351 (MULTILINE): New constant.
2352 (UNICODE_CASE): New constant.
2353 (UNIX_LINES): New constant.
2354 (regex): New member variable.
2355 (flags): New member variable.
2356 (Pattern): New method.
2357 (compile): Documentation added.
2358 (flags): New method.
2359 (matches): Documentation added.
2360 (matcher): Documentation added.
2361 (split): Documentation added.
2362 (pattern): New method.
2363
2364 2003-04-30 Michael Koch <konqueror@gmx.de>
2365
2366 * gnu/java/security/Engine.java,
2367 gnu/java/security/OID.java,
2368 gnu/java/security/der/BitString.java,
2369 gnu/java/security/der/DER.java,
2370 gnu/java/security/der/DERReader.java,
2371 gnu/java/security/der/DERValue.java,
2372 gnu/java/security/der/DERWriter.java,
2373 gnu/java/security/provider/DSAKeyFactory.java,
2374 gnu/java/security/provider/X509CertificateFactory.java,
2375 gnu/java/security/x509/X500DistinguishedName.java,
2376 gnu/java/security/x509/X509CRL.java,
2377 gnu/java/security/x509/X509CRLEntry.java,
2378 gnu/java/security/x509/X509Certificate.java,
2379 java/security/cert/CRLSelector.java,
2380 java/security/cert/CertPathBuilder.java,
2381 java/security/cert/CertPathBuilderResult.java,
2382 java/security/cert/CertPathBuilderSpi.java,
2383 java/security/cert/CertPathParameters.java,
2384 java/security/cert/CertPathValidator.java,
2385 java/security/cert/CertPathValidatorResult.java,
2386 java/security/cert/CertPathValidatorSpi.java,
2387 java/security/cert/CertSelector.java,
2388 java/security/cert/CertStore.java,
2389 java/security/cert/CertStoreParameters.java,
2390 java/security/cert/CertStoreSpi.java,
2391 java/security/cert/CollectionCertStoreParameters.java,
2392 java/security/cert/LDAPCertStoreParameters.java,
2393 java/security/cert/PKIXBuilderParameters.java,
2394 java/security/cert/PKIXCertPathBuilderResult.java,
2395 java/security/cert/PKIXCertPathChecker.java,
2396 java/security/cert/PKIXCertPathValidatorResult.java,
2397 java/security/cert/PKIXParameters.java,
2398 java/security/cert/PolicyNode.java,
2399 java/security/cert/PolicyQualifierInfo.java,
2400 java/security/cert/TrustAnchor.java,
2401 javax/security/auth/x500/X500Principal.java:
2402 New files from classpath.
2403 * gnu/java/io/ASN1ParsingException.java,
2404 gnu/java/io/Base64InputStream.java,
2405 gnu/java/security/der/DEREncodingException.java,
2406 gnu/java/security/provider/DSAParameters.java,
2407 gnu/java/security/provider/DSASignature.java,
2408 gnu/java/security/provider/Gnu.java,
2409 gnu/java/security/provider/GnuDSAPrivateKey.java,
2410 gnu/java/security/provider/GnuDSAPublicKey.java,
2411 java/security/AlgorithmParameterGenerator.java,
2412 java/security/AlgorithmParameters.java,
2413 java/security/KeyFactory.java,
2414 java/security/KeyPairGenerator.java,
2415 java/security/KeyStore.java,
2416 java/security/MessageDigest.java,
2417 java/security/SecureClassLoader.java,
2418 java/security/SecureRandom.java,
2419 java/security/Security.java,
2420 java/security/Signature.java,
2421 java/security/cert/Certificate.java,
2422 java/security/cert/CertificateFactory.java,
2423 java/security/cert/CertificateFactorySpi.java,
2424 java/security/cert/X509CRL.java,
2425 java/security/cert/X509Certificate.java,
2426 java/security/spec/DSAPublicKeySpec.java:
2427 New versions from classpath.
2428 * gnu/java/security/provider/DERReader.java,
2429 gnu/java/security/provider/DERWriter.java,
2430 java/security/Engine.java: Removed.
2431 * Makefile.am
2432 (java_source_files, javax_source_files): Added new files.
2433 * Makefile.in: Regenerated.
2434
2435 2003-04-29 Michael Koch <konqueror@gmx.de>
2436
2437 * javax/swing/JTable.java
2438 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2439 (AUTO_RESIZE_LAST_COLUMN): New constant.
2440 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2441 (AUTO_RESIZE_OFF): New constant.
2442 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2443 (JTable): New method.
2444 (columnAdded): New method.
2445 (columnMarginChanged): New method.
2446 (columnMoved): New method.
2447 (columnRemoved): New method.
2448 (columnSelectionChanged): New method.
2449 (editingCanceled): New method.
2450 (editingStopped): New method.
2451 (getColumnModel): New method.
2452 (getPreferredScrollableViewportSize): New method.
2453 (getScrollableBlockIncrement): New method.
2454 (getScrollableTracksViewportHeight): New method.
2455 (getScrollableTracksViewportWidth): New method.
2456 (getScrollableUnitIncrement): New method.
2457 (getSelectedRow): New method.
2458 (getSelectionModel): New method.
2459 (tableChanged): New method.
2460 (setModel): New method.
2461 (setSelectionMode): New method.
2462 (setSelectionModel): New method.
2463 (setShowGrid): New method.
2464 (valueChanged): New method.
2465 * javax/swing/text/DefaultEditorKit.java
2466 (backwardAction): New constant.
2467 (beepAction): New constant.
2468 (beginAction): New constant.
2469 (beginLineAction): New constant.
2470 (beginParagraphAction): New constant.
2471 (beginWordAction): New constant.
2472 (copyAction): New constant.
2473 (cutAction): New constant.
2474 (defaultKeyTypedAction): New constant.
2475 (deleteNextCharAction): New constant.
2476 (deletePrevCharAction): New constant.
2477 (downAction): New constant.
2478 (endAction): New constant.
2479 (endLineAction): New constant.
2480 (endOfLineStringProperty): New constant.
2481 (endParagraphAction): New constant.
2482 (endWordAction): New constant.
2483 (forwardAction): New constant.
2484 (insertBreakAction): New constant.
2485 (insertContentAction): New constant.
2486 (insertTabAction): New constant.
2487 (nextWordAction): New constant.
2488 (pageDownAction): New constant.
2489 (pageUpAction): New constant.
2490 (pasteAction): New constant.
2491 (previousWordAction): New constant.
2492 (readOnlyAction): New constant.
2493 (selectAllAction): New constant.
2494 (selectionBackwardAction): New constant.
2495 (selectionBeginAction): New constant.
2496 (selectionBeginLineAction): New constant.
2497 (selectionBeginParagraphAction): New constant.
2498 (selectionBeginWordAction): New constant.
2499 (selectionDownAction): New constant.
2500 (selectionEndAction): New constant.
2501 (selectionEndLineAction): New constant.
2502 (selectionEndParagraphAction): New constant.
2503 (selectionEndWordAction): New constant.
2504 (selectionForwardAction): New constant.
2505 (selectionNextWordAction): New constant.
2506 (selectionPreviousWordAction): New constant.
2507 (selectionUpAction): New constant.
2508 (selectLineAction): New constant.
2509 (selectParagraphAction): New constant.
2510 (selectWordAction): New constant.
2511 (upAction): New constant.
2512 (writableAction): New constant.
2513
2514 2003-04-29 Michael Koch <konqueror@gmx.de>
2515
2516 * java/util/PropertyPermission.java:
2517 New version from classpath
2518 * java/util/ResourceBundle.java:
2519 Partly merged from classpath
2520 (getObject): Reformated.
2521 (tryBundle): Set foundBundle = null if no bundle found.
2522
2523 2003-04-29 Michael Koch <konqueror@gmx.de>
2524
2525 * javax/swing/AbstractListModel.java,
2526 javax/swing/DefaultBoundedRangeModel.java,
2527 javax/swing/DefaultSingleSelectionModel.java:
2528 New Versions from classpath.
2529
2530 2003-04-29 Michael Koch <konqueror@gmx.de>
2531
2532 * java/awt/Window.java
2533 (show): Call super.show() instead of setVisible() to avoid endless
2534 loop.
2535 (hide): Call super.hide() instead of setVisible() to avoid endless
2536 loop.
2537
2538 2003-04-29 Michael Koch <konqueror@gmx.de>
2539
2540 * java/util/zip/Deflater.java,
2541 java/util/zip/DeflaterOutputStream.java:
2542 Partly merged with classpath.
2543
2544 2003-04-27 Tom Tromey <tromey@redhat.com>
2545
2546 * java/lang/natString.cc (_Jv_AllocString): Initialize
2547 cachedHashCode.
2548 (init): Likewise.
2549 (_Jv_NewStringUtf8Const): Likewise.
2550
2551 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2552
2553 * include/jvm.h: (_Jv_GetNbArgs) added
2554 (_Jv_GetSafeArg) added
2555 (_Jv_SetArgs) added
2556 * prims.cc: (_Jv_GetNbArgs) implemented
2557 (_Jv_GetSafeArg) implemented
2558 (_Jv_SetArgs) implemented
2559 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2560 setting _Jv_argc and _Jv_argv
2561 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2562 instead of _Jv_argv
2563 * java/lang/natRuntime.cc: (insertSystemProperties) use
2564 _Jv_GetSafeArg() instead of _Jv_argv
2565
2566 2003-04-23 Tom Tromey <tromey@redhat.com>
2567
2568 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2569 required by this object. Search superclasses to find required
2570 alignment.
2571 (get_alignment_from_class): Use alignment of type as it appears
2572 in a struct.
2573 (ALIGNOF): New macro.
2574 (struct aligner): New helper structure.
2575
2576 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2577
2578 * java/awt/Container.java (addImpl): Enable paint events if adding
2579 a lightweight to a heavyweight.
2580 (addNotify): Ensure that peer is created before
2581 addNotifyContainerChildren.
2582 (addNotifyContainerChildren): Enable paint events if a heavyweight
2583 container contains a lightweight.
2584
2585 2003-04-20 Tom Tromey <tromey@redhat.com>
2586
2587 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2588 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2589 Classpath.
2590
2591 2003-04-19 Tom Tromey <tromey@redhat.com>
2592
2593 * java/sql/Date.java, java/sql/DriverManager.java,
2594 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2595 Classpath.
2596
2597 * Makefile.in: Rebuilt.
2598 * Makefile.am (ordinary_java_source_files): Added new files.
2599 * java/security/AlgorithmParameterGenerator.java,
2600 java/security/AlgorithmParameters.java, java/security/Engine.java,
2601 java/security/Identity.java, java/security/IdentityScope.java,
2602 java/security/KeyFactory.java,
2603 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2604 java/security/MessageDigest.java, java/security/Policy.java,
2605 java/security/ProtectionDomain.java,
2606 java/security/SecureRandom.java, java/security/Security.java,
2607 java/security/Signature.java, java/security/SignatureSpi.java,
2608 java/security/SignedObject.java, java/security/Signer.java,
2609 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2610 java/security/spec/PSSParameterSpec.java,
2611 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2612 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2613 Classpath.
2614
2615 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2616
2617 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2618 (dispose): Null metrics.
2619 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2620 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2621 finalize.
2622 (finalize): Call dispose.
2623 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2624 (gcCachedCount): New field.
2625 (finalize): New method.
2626 (putGCInCache): New method.
2627 (getGCFromCache): New method.
2628 * gnu/gcj/xlib/GC.java (GC): Make protected.
2629 (clone): Get new GC from cache if possible.
2630 (create): New static method.
2631 (dispose): Save old GC in cache.
2632 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2633 deleting.
2634 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2635 is null.
2636 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2637 * java/awt/Container.java (visitChild): Dispose gfx2 when
2638 finished.
2639
2640 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2641
2642 * java/math/BigInteger.java (probablePrime): New.
2643 * java/math/BigDecimal.java (unscaledValue): New.
2644
2645 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2646
2647 * java/io/File.java (getAbsolutePath): On Windows, take care
2648 of paths like "C:", "G:foo\bar", etc.
2649 (getName): Make it work correctly on Windows.
2650 (getParent): Make it work correctly on Windows. For UNIX,
2651 fix bug that causes "/" to be returned as the parent of "/",
2652 instead of null as returned by Sun's JRE.
2653
2654 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2655
2656 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2657
2658 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2659 inner class.
2660 (CACHE_SIZE_PER_DISPLAY): New field
2661 (fontMetricsCache): New field
2662 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2663 loading ISO10646-1 fonts.
2664
2665 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2666
2667 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2668 characters.
2669 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2670 characters.
2671
2672 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2673
2674 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2675 floating point.
2676
2677 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2678
2679 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2680 installed libpthread is either linuxthreads with floating stacks or
2681 NPTL.
2682
2683 2003-04-14 Tom Tromey <tromey@redhat.com>
2684
2685 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2686 of alignment.
2687
2688 2003-04-10 Tom Tromey <tromey@redhat.com>
2689
2690 * verify.cc (pop64): Removed.
2691 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2692 exception if top-of-stack is narrow.
2693 (initialize_stack): Check to ensure that <init> is not static and
2694 <clinit> is.
2695
2696 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2697
2698 * java/io/ObjectStreamException
2699 * java/io/FileFilter
2700 * java/io/FilenameFilter
2701 * java/io/ObjectInput
2702 * java/io/ObjectOutput
2703 * java/io/ObjectStreamConstants
2704 Minor doc fixes, format fixes, spelling corrections, etc.
2705 * java/io/DataInput
2706 Corrected code samples in Javadocs to match reality
2707 * java/io/DataOutput
2708 * java/io/ObjectInputValidation
2709 Major documentation fixes - all Javadocs re-written or updated
2710
2711 2003-04-06 Michael Koch <konqueror@gmx.de>
2712
2713 * java/net/URLConnection.java:
2714 Import classes directly.
2715 (URLConnection): Merged class documentation with classpath.
2716 (url): Moved, documentation from classpath added.
2717 (doInput): Moved, documentation from classpath added.
2718 (doOutput): Moved, documentation from classpath added.
2719 (allowUserInteraction): Moved.
2720 (useCaches): Moved, documentation from classpath added.
2721 (ifModifiedSince): Moved, documentation from classpath added.
2722 (connected): Moved, documentation from classpath added.
2723
2724 2003-04-06 Michael Koch <konqueror@gmx.de>
2725
2726 * java/io/FileInputStream.java
2727 (skip): Renamed some variables to match classpath, added
2728 checks from classpath.
2729
2730 2003-03-31 Michael Koch <konqueror@gmx.de>
2731
2732 * javax/swing/AbstractAction.java
2733 (AbstractAction): Reformatted.
2734 (serialVersionUID): New private member variable.
2735 * javax/swing/plaf/BorderUIResource.java
2736 (serialVersionUID): New private member variable.
2737 * javax/swing/plaf/basic/BasicLookAndFeel.java
2738 (serialVersionUID): New private member variable.
2739
2740 2003-03-31 Michael Koch <konqueror@gmx.de>
2741
2742 * java/sql/Date.java
2743 (valueOf): Deprecated, reformatted.
2744 (toString): Deprecated, reformatted.
2745 * java/sql/Time.java
2746 (valueOf): Deprecated, reformatted.
2747 (toString): Deprecated, reformatted.
2748
2749 2003-03-31 Michael Koch <konqueror@gmx.de>
2750
2751 * java/rmi/dgc/VMID.java
2752 (isUnique): Deprecated.
2753
2754 2003-03-31 Michael Koch <konqueror@gmx.de>
2755
2756 * java/io/File.java
2757 (separator): Merged documentation from classpath.
2758 (separatorChar): Merged documentation from classpath.
2759 (pathSeparator): Merged documentation from classpath.
2760 (pathSeparatorChar): Merged documentation from classpath.
2761 (path): Merged documentation from classpath.
2762 (canRead): Merged documentation from classpath.
2763 (canWrite): Merged documentation from classpath.
2764 (createNewFile): Merged documentation from classpath.
2765 (delete): Merged documentation from classpath.
2766 (equals): Merged documentation from classpath.
2767 (exists): Merged documentation from classpath.
2768 (File): Renamed p to name to match classpath, merged documentation
2769 from classpath.
2770 (getAbsolutePath): Merged documentation from classpath.
2771 (getCanonicalPath): Merged documentation from classpath.
2772 (getCanonicalFile): Merged documentation from classpath.
2773 (getName): Merged documentation from classpath.
2774 (getParent): Merged documentation from classpath.
2775 (getParentFile): Merged documentation from classpath.
2776 (getPath): Merged documentation from classpath.
2777 (hashCode): Merged documentation from classpath.
2778 (isAbsolute): Merged documentation from classpath.
2779 (isDirectory): Merged documentation from classpath.
2780 (isFile): Merged documentation from classpath.
2781 (isHidden): Merged documentation from classpath.
2782 (lastModified): Merged documentation from classpath.
2783 (length): Merged documentation from classpath.
2784 (list): Merged documentation from classpath.
2785 (listFiles): Merged documentation from classpath.
2786 (toString): Merged documentation from classpath.
2787 (toURL): Merged documentation from classpath.
2788 (mkdir): Merged documentation from classpath.
2789 (mkdirs): Merged documentation from classpath.
2790 (createTempFile): Merged documentation from classpath.
2791 (setReadOnly): Merged documentation from classpath.
2792 (listRoots): Merged documentation from classpath.
2793 (compareTo): Merged documentation from classpath.
2794 (renameTo): Merged documentation from classpath.
2795 (setLastModified): Merged documentation from classpath.
2796 * java/io/PrintStream.java
2797 (auto_flush): Merged documentation from classpath.
2798 (PrintStream): Merged documentation from classpath.
2799 (checkError): Merged documentation from classpath.
2800 (setError): Merged documentation from classpath.
2801 (close): Merged documentation from classpath.
2802 (flush): Merged documentation from classpath.
2803 (print): Merged documentation from classpath.
2804 (println): Merged documentation from classpath.
2805 (write): Renamed count to len to match classpath,
2806 merged documentation from classpath.
2807 * java/io/RandomAccessFile.java
2808 (readShort): Merged documentation from classpath.
2809 (readUnsignedByte): Merged documentation from classpath.
2810 (readUnsignedShort): Merged documentation from classpath.
2811 (readUTF): Merged documentation from classpath.
2812 (seek): Reformatted, merged documentation from classpath.
2813 (skipBytes): Renamed some variables to match classpath, reformatted,
2814 merged documentation from classpath.
2815 (write): Merged documentation from classpath.
2816 (writeBoolean): Merged documentation from classpath.
2817 (writeByte): Merged documentation from classpath.
2818 (writeShort): Merged documentation from classpath.
2819 (writeChar): Merged documentation from classpath.
2820 (writeInt): Merged documentation from classpath.
2821 (writeLong): Merged documentation from classpath.
2822 (writeFloat): Merged documentation from classpath.
2823 (writeDouble): Merged documentation from classpath.
2824 (writeBytes): Merged documentation from classpath.
2825 (writeChars): Merged documentation from classpath.
2826 (writeUTF): Reformatted.
2827 (getChannel): Reformatted.
2828
2829 2003-03-31 Michael Koch <konqueror@gmx.de>
2830
2831 * java/awt/font/TextAttribute.java
2832 (readResolve): Throws java.io.InvalidObjectException.
2833
2834 2003-03-31 Michael Koch <konqueror@gmx.de>
2835
2836 * java/rmi/server/LoaderHandler.java
2837 (loadClass): Deprecated.
2838 (getSecurityContext): Deprecated.
2839 * java/rmi/server/LogStream.java
2840 (getDefaultStream): Deprecated.
2841 (setDefaultStream): Deprecated.
2842 (getOutputStream): Deprecated.
2843 (setOutputStream): Deprecated.
2844 (write): Deprecated.
2845 (toString): Deprecated.
2846 (parseLevel): Deprecated.
2847 * java/rmi/server/Operation.java
2848 (Operation): Deprecated.
2849 (getOperation): Deprecated.
2850 (toString): Deprecated.
2851 * java/rmi/server/RemoteCall.java
2852 (getOutputStream): Deprecated.
2853 (releaseOutputStream): Deprecated.
2854 (getInputStream): Deprecated.
2855 (releaseInputStream): Deprecated.
2856 (getResultStream): Deprecated.
2857 (executeCall): Deprecated.
2858 (done): Deprecated.
2859 * java/rmi/server/RemoteRef.java
2860 (invoke): Deprecated.
2861 (newCall): Deprecated.
2862 (done): Deprecated.
2863 * java/rmi/server/RemoteStub.java
2864 (setRef): Deprecated.
2865 * java/rmi/server/Skeleton.java:
2866 No need to import java.lang.Exception explicitly.
2867 (dispatch): Deprecated.
2868 (getOperations): Deprecated.
2869
2870 2003-03-31 Michael Koch <konqueror@gmx.de>
2871
2872 * java/rmi/dgc/VMID.java,
2873 java/rmi/registry/RegistryHandler.java,
2874 java/rmi/server/LogStream.java,
2875 java/rmi/server/Operation.java,
2876 java/rmi/server/RemoteCall.java,
2877 java/rmi/server/RemoteRef.java,
2878 java/rmi/server/RemoteStub.java:
2879 Reformatted.
2880
2881 2003-03-31 Michael Koch <konqueror@gmx.de>
2882
2883 * javax/swing/AbstractCellEditor.java,
2884 javax/swing/AbstractListModel.java,
2885 javax/swing/ActionMap.java,
2886 javax/swing/BorderFactory.java,
2887 javax/swing/ButtonGroup.java,
2888 javax/swing/DefaultBoundedRangeModel.java,
2889 javax/swing/DefaultButtonModel.java,
2890 javax/swing/DefaultCellEditor.java,
2891 javax/swing/DefaultComboBoxModel.java,
2892 javax/swing/DefaultDesktopManager.java,
2893 javax/swing/DefaultListCellRenderer.java,
2894 javax/swing/DefaultSingleSelectionModel.java,
2895 javax/swing/InputMap.java,
2896 javax/swing/JComponent.java,
2897 javax/swing/JMenu.java,
2898 javax/swing/JSlider.java,
2899 javax/swing/KeyStroke.java,
2900 javax/swing/OverlayLayout.java,
2901 javax/swing/ScrollPaneLayout.java,
2902 javax/swing/SizeRequirements.java,
2903 javax/swing/UIManager.java,
2904 javax/swing/ViewportLayout.java,
2905 javax/swing/border/AbstractBorder.java,
2906 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2907 javax/swing/event/EventListenerList.java,
2908 javax/swing/table/AbstractTableModel.java,
2909 javax/swing/table/DefaultTableCellRenderer.java,
2910 javax/swing/table/DefaultTableColumnModel.java,
2911 javax/swing/table/DefaultTableModel.java,
2912 javax/swing/table/TableColumn.java,
2913 javax/swing/text/StyledEditorKit.java,
2914 javax/swing/tree/DefaultMutableTreeNode.java,
2915 javax/swing/tree/DefaultTreeModel.java,
2916 javax/swing/tree/DefaultTreeSelectionModel.java,
2917 javax/swing/tree/TreePath.java,
2918 javax/swing/undo/AbstractUndoableEdit.java,
2919 javax/swing/undo/StateEdit.java,
2920 javax/swing/undo/StateEditable.java,
2921 javax/swing/undo/UndoableEditSupport.java:
2922 Merges from classpath.
2923
2924 2003-03-30 Tom Tromey <tromey@redhat.com>
2925
2926 * java/lang/String.java (data, boffset, count): Documented.
2927 (String(byte[],String)): Reformatted.
2928 (String(byte[])): Likewise.
2929 (lastIndexOf(int)): Likewise.
2930 (lastIndexOf(String)): Likewise.
2931 (substring(int)): Renamed argument to match Classpath.
2932 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2933
2934 * java/lang/String.java: Miscellaneous minor formatting changes
2935 to match Classpath more closely.
2936
2937 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2938 Tom Tromey <tromey@redhat.com>
2939
2940 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2941 (init()): Removed.
2942 (charAt): Put index in exception.
2943 (contentEquals): New method.
2944 Include StringBuffer.h.
2945 * java/lang/String.java (cachedHashCode): New field.
2946 (String()): Follow classpath implementation.
2947 (init()): Removed.
2948 (contentEquals): Declare.
2949 (subSequence): Don't declare IndexOutIfBoundsException in throws
2950 clause.
2951 (matches, replaceFirst, replaceAll, split): New methods from
2952 Classpath.
2953
2954 2003-03-29 Tom Tromey <tromey@redhat.com>
2955
2956 * java/lang/String.java: Reordered to follow Classpath; merged in
2957 javadoc.
2958
2959 * java/text/MessageFormat.java: Removed some whitespace.
2960
2961 * Makefile.in: Rebuilt.
2962 * Makefile.am (awt_java_source_files): Added new files.
2963 * gnu/javax/rmi/PortableServer.java,
2964 gnu/javax/rmi/CORBA/DelegateFactory.java,
2965 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2966 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2967 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2968 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2969 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2970 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2971 javax/rmi/PortableRemoteObject.java,
2972 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2973 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2974 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2975 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2976 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2977 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2978
2979 * java/lang/natClass.cc (newInstance): Put method name in
2980 exception.
2981 (getConstructor): Likewise.
2982 (getDeclaredConstructor): Likewise.
2983 (getPrivateMethod): Likewise.
2984
2985 2003-03-28 Tom Tromey <tromey@redhat.com>
2986
2987 * java/lang/reflect/Proxy.java: New version from Classpath.
2988 * java/lang/Package.java: New version from Classpath.
2989
2990 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2991
2992 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2993 * configure: Regenerate.
2994
2995 2003-03-28 Michael Koch <konqueror@gmx.de>
2996
2997 * java/io/File.java:
2998 Import needed classes instead of whole packages, merged class
2999 documentation with classpath, moved constants and variables to top of
3000 class.
3001 * java/io/PrintStream.java:
3002 Merged class documentation with classpath, moved constants and
3003 variables to top of class.
3004 * java/io/RandomAccessFile.java
3005 (RandomAccessFile): Merged with classpath.
3006 (read): Merged with classpath).
3007 (read*): Reformatted.
3008
3009 2003-03-28 Michael Koch <konqueror@gmx.de>
3010
3011 * java/io/FileDescriptor.java
3012 (finalize): Throws Throwable, not IOException.
3013 * java/io/ObjectOutputStream.java
3014 (PutField.put): Doesnt throws anything.
3015
3016 2003­03-28 Michael Koch <konqueror@gmx.de>
3017
3018 * java/io/FileOutputStream.java:
3019 Merged class documentation and authors with classpath.
3020 (FileOutputStream): Partly merged with classpath.
3021 (write): Merged with classpath.
3022 (getChannel): Make it synchronized instead of explicit block in this
3023 method.
3024 * java/io/RandomAccessFile.java:
3025 Merged class documentation and authors with classpath.
3026
3027 2003-03-26 Tom Tromey <tromey@redhat.com>
3028
3029 * java/lang/natRuntime.cc (insertSystemProperties): Set
3030 gnu.classpath.home.url.
3031 * Makefile.in: Rebuilt.
3032 * Makefile.am: Define LIBDIR.
3033
3034 2003-03-25 Michael Koch <konqueror@gmx.de>
3035
3036 * java/io/FileInputStream.java
3037 (read): Renamed b to buf and off to offset.
3038 * java/io/FileOutputStream.java
3039 (ch): Documentation added.
3040 (FileOutputStream): Documentation added.
3041 (getFD): Documentation added.
3042 (write): Documentation added.
3043 (close): Documentation added.
3044 (getChannel): Documentation added.
3045
3046 2003-03-24 Michael Koch <konqueror@gmx.de>
3047
3048 * java/io/DataOutputStream.java
3049 (write): Merged from classpath.
3050 * java/io/File.java:
3051 Merged copyrigth with classpath.
3052 * java/io/FileInputStream.java
3053 (getChannel): Made it synchronized instead of using a synchronized
3054 block.
3055 * java/io/FileOutputStream.java: Reformatted.
3056 * java/io/InputStreamReader.java
3057 (InputStreamReader): Renamed enc to encoding_name.
3058 (close): Merged documentation from classpath.
3059 (getEncoding): Merged documentation from classpath.
3060 (ready): Merged documentation from classpath.
3061 (read): Merged documentation from classpath.
3062 * java/io/LineNumberReader.java
3063 (lineNumber): Made it private.
3064 (LineNumberReader): Use Constant instead of a direct value.
3065 * java/io/OutputStreamWriter.java
3066 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3067 documentation from classpath.
3068 (close): Merged documentation from classpath.
3069 (flush): Merged documentation from classpath.
3070 (write): Merged documentation from classpath.
3071 * java/io/PrintStream.java: Reformatted.
3072
3073 2003-03-24 Michael Koch <konqueror@gmx.de>
3074
3075 * javax/swing/text/ComponentView.java
3076 (getComponent): Must be final.
3077 * javax/swing/tree/DefaultTreeCellRenderer.java:
3078 Reformatted.
3079 * javax/swing/undo/StateEditable.java:
3080 Reformatted.
3081
3082 2003-03-24 Michael Koch <konqueror@gmx.de>
3083
3084 * java/rmi/activation/ActivationInstantiator.java:
3085 Reformatted.
3086 * java/rmi/activation/Activator.java:
3087 Reformatted.
3088 * java/rmi/registry/RegistryHandler.java:
3089 Remerged from classpath.
3090
3091 2003-03-24 Michael Koch <konqueror@gmx.de>
3092
3093 * java/util/Date.java:
3094 Fixed documentation starting tag to make javadoc happy.
3095 * java/util/regex/Pattern.java
3096 (Pattern): Implements Serializable.
3097 * java/util/PatternSyntaxException.java
3098 (serialVersionUID): New member variable.
3099
3100 2003-03-24 Michael Koch <koqnueror@gmx.de>
3101
3102 * java/awt/ContainerOrderFocusTraversalPolicy.java
3103 (getFirstComponent): Implemented.
3104 (getLastComponent): Implemented.
3105 (getDefaultComponent): Implemented.
3106 (setImplicitDownCycleTraversal): Fixed implementation.
3107 * java/awt/Robot.java
3108 (Robot): Added documentation.
3109 * java/awt/Toolkit.java
3110 (getFontList): Deprecated.
3111 (getFontMetrics): Deprecated.
3112 (getPrintJob): Added documentation.
3113 (getSystemSelection): Added documentation.
3114 (getLockingKeyState): Added documentation.
3115 (setLockingKeyState): Added documentation.
3116 (createCustomCursor): Added documentation.
3117 (getBestCursorSize): Added documentation.
3118 (getMaximumCursorColors): Added documentation.
3119 (isFrameStateSupported): Added documentation.
3120
3121 2003-03-24 Michael Koch <konqueror@gmx.de>
3122
3123 * java/io/RandomAccessFile.java:
3124 More little merges with classpath. No code changes.
3125
3126 2003-03-24 Michael Koch <konqueror@gmx.de>
3127
3128 * java/net/natInetAddressNoNet.cc:
3129 Include stddef.h.
3130 * java/net/natPlainDatagramSocketImplNoNet.cc:
3131 Fixed inlcude of java/net/DatagramPacket.h.
3132 * java/net/natPlainSocketImplNoNet.cc:
3133 Include some missing classes.
3134
3135 2003-03-24 Michael Koch <konqueror@gmx.de>
3136
3137 * java/awt/dnd/DropTarget.java
3138 (DropTargetAutoScroller): According to the online documentation, this
3139 is protected, but in reality it is public.
3140 * java/awt/dnd/DropTargetContext.java
3141 (TransferableProxy): According to the online documentation, this
3142 is protected, but in reality it is public.
3143
3144 2003-03-24 Michael Koch <konqueror@gmx.de>
3145
3146 * java/io/DataInputStream.java
3147 (): Wrapped documentation line.
3148 (): Fixed @return tag.
3149 * java/io/DataOutputStream.java
3150 (written): Moved to top of class.
3151 (all methods): Merged documentation from classpath.
3152 * java/io/File.java:
3153 Merged copyright year with classpath.
3154 * java/io/FileInputStream.java
3155 (all methods): Merged documentation from classpath.
3156 * java/io/LineNumberReader.java
3157 (getLineNumber): Fixed @return tag.
3158 * java/io/ObjectInputStream.java.
3159 Reformatted.
3160 * java/io/ObjectOutputStream.java:
3161 Reformatted, fixed some @see tags.
3162 * java/io/OutputStreamWriter.java:
3163 Deleted empty line.
3164 * java/io/Writer.java:
3165 Reformatted.
3166
3167 2003-03-24 Michael Koch <konqueror@gmx.de>
3168
3169 * java/awt/Frame.java
3170 (DEFAULT_CURSOR): Fixed @deprecated tag.
3171 (setCursor): Fixed @deprecated tag.
3172
3173 2003-03-24 Michael Koch <konqueror@gmx.de>
3174
3175 * java/beans/beancontext/BeanContextEvent.java:
3176 Reformated.
3177
3178 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3179
3180 * java/lang/natStringBuffer.cc (regionMatches): New function.
3181 * java/lang/String.java (count): Now package-private.
3182 * java/lang/StringBuffer.java: Merged with Classpath.
3183
3184 2003-03-23 Michael Koch <konqueror@gmx.de>
3185
3186 * java/io/BufferedOutputStream.java:
3187 Reformated.
3188 * java/io/BufferedReader.java:
3189 Reformated.
3190 * java/io/ByteArrayOutputStream.java
3191 (size): Fixed @see tag.
3192 * java/io/CharArrayWriter.java
3193 (size): Fixed @see tag.
3194 * java/io/DataInput.java:
3195 Reformated.
3196 * java/io/DataOutput.java:
3197 Reformated.
3198 * java/io/DataOutputStream.java:
3199 Merged copyright years with classpath.
3200 * java/io/Externalizable.java:
3201 Reformated.
3202 * java/io/FileFilter.java:
3203 Reformated.
3204 * java/io/FileInputStream.java:
3205 Merged copyright years with classpath.
3206 * java/io/FileOutputStream.java:
3207 Merged copyright years with classpath.
3208 * java/io/FilePermission.java
3209 (FilePermission): Replaced @XXX with FIXME:.
3210 * java/io/FileWriter.java:
3211 Reformated.
3212 * java/io/FilenameFilter.java:
3213 Reformated.
3214 * java/io/FilterInputStream.java:
3215 Reformated.
3216 * java/io/FilterOutputStream.java:
3217 Reformated.
3218 * java/io/FilterReader.java:
3219 Reformated.
3220 * java/io/FilterWriter.java:
3221 Reformated.
3222 * java/io/LineNumberInputStream.java
3223 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3224 happy.
3225 (getLineNumber): Fixed @return tag.
3226 * java/io/ObjectInput.java:
3227 Reformated.
3228 * java/io/ObjectOutput.java:
3229 Reformated.
3230 * java/io/ObjectStreamClass.java:
3231 Reformated.
3232 * java/io/PrintStream.java:
3233 Merged copyright years with classpath.
3234 * java/io/PushbackReader.java
3235 (PushbackReader): Replaced @code with @param.
3236 * java/io/SerializablePermission.java:
3237 Reformated.
3238 * java/io/StreamTokenizer.java
3239 (resetSyntax): Fixed @see tag.
3240
3241 2003-03-22 Richard Henderson <rth@redhat.com>
3242
3243 * sysdep/ia64/locks.h: Include ia64intrin.h.
3244 (compare_and_swap): Use __sync_bool_compare_and_swap.
3245 (compare_and_swap_release): Expose ar.ccv assignment.
3246
3247 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3248
3249 * include/posix.h: Add suffix for darwin dynamic libraries.
3250
3251 2003-03-21 Michael Koch <konqueror@gmx.de>
3252
3253 * javax/swing/Action.java
3254 (ACCELERATOR_KEY): New constant.
3255 (ACTION_COMMAND_KEY): Likewise.
3256 (MNEMONIC_KEY): Likewise.
3257 * javax/swing/UnsupportedLookAndFeelException.java
3258 (UnsupportedLookAndFeelException): Must be public.
3259 * javax/swing/WindowConstants.java
3260 (EXIT_ON_CLOSE): New constant.
3261 * javax/swing/text/BadLocationException.java
3262 (offset): New member variable.
3263 (BadLocationException): New implementation, documentation added.
3264 (offsetRequested): New method.
3265 * javax/swing/text/Caret.java:
3266 Reformated.
3267 * javax/swing/text/Document.java:
3268 Reformated.
3269
3270 2003-03-21 Michael Koch <konqueror@gmx.de>
3271
3272 * java/rmi/activation/Activatable.java
3273 (serialVersionUID): New member variable.
3274 * java/rmi/activation/ActivationGroup.java
3275 (serialVersionUID): New member variable.
3276 * java/rmi/activation/ActivationGroupDesc.java
3277 (serialVersionUID): New member variable.
3278 * java/rmi/registry/Registry.java:
3279 Reformated.
3280 (Registry): Deprecated.
3281 * java/rmi/server/LoaderHandler.java
3282 Reformated.
3283 (LoaderHandler): Deprecated.
3284 * java/rmi/server/LogStream.java
3285 Reformated.
3286 (LogStream): Deprecated.
3287 * java/rmi/server/Operation.java
3288 (Operation): Deprecated.
3289 * java/rmi/server/RMIFailureHandler.java:
3290 Reformated.
3291 * java/rmi/server/RMISocketFactory.java:
3292 Reformated.
3293 * java/rmi/server/RemoteCall.java
3294 (RemoteCall): Deprecated.
3295 * java/rmi/server/RemoteStub.java:
3296 Reformated.
3297 * java/rmi/server/Skeleton.java
3298 Reformated.
3299 (Skeleton): Deprecated.
3300
3301 2003-03-21 Michael Koch <konqueror@gmx.de>
3302
3303 * java/io/LineNumberReader.java
3304 (LineNumberReader): Merged documentation with classpath.
3305 (getLineNumber): Likewise.
3306 (setLineNumber): Likewise.
3307 (mark): Likewise.
3308 (reset): Likewise.
3309 (read): Likewise.
3310 (readLine): Likewise.
3311 (skip): Likewise.
3312
3313 2003-03-21 Michael Koch <konqueror@gmx.de>
3314
3315 * java/rmi/RMISecurityManager.java
3316 (checkAccept): Removed.
3317 (checkAccess): Likewise.
3318 (checkAccess): Likewise.
3319 (checkAwtEventQueueAccess): Likewise.
3320 (checkConnect): Likewise.
3321 (checkCreateClassLoader): Likewise.
3322 (checkDelete): Likewise.
3323 (checkExec): Likewise.
3324 (checkExit): Likewise.
3325 (checkLink): Likewise.
3326 (checkListen): Likewise.
3327 (checkMemberAccess): Likewise.
3328 (checkMulticast): Likewise.
3329 (checkPackageAccess): Likewise.
3330 (checkPackageDefinition): Likewise.
3331 (checkPermission): Likewise.
3332 (checkPrintJobAccess): Likewise.
3333 (checkPropertiesAccess): Likewise.
3334 (checkPropertyAccess): Likewise.
3335 (checkRead): Likewise.
3336 (checkSecurityAccess): Likewise.
3337 (checkSetFactory): Likewise.
3338 (checkSystemClipboardAccess): Likewise.
3339 (checkTopLevelWindow): Likewise.
3340 (checkWrite): Likewise.
3341
3342 2003-03-20 Michael Koch <konqueror@gmx.de>
3343
3344 * gnu/java/nio/FileChannelImpl.java
3345 (address): Removed.
3346 (map_address): New member variable.
3347 (length): Make it package private.
3348 (fd): Make it package private.
3349 (buf): Make it package private.
3350 (file_obj): Make it package private.
3351 (FileChannelImpl): New constructor.
3352 (nio_mmap_file): Use RawData instead of long.
3353 (nio_munmap_file): Use RawData instead of long.
3354 (nio_msync): Use RawData instead of long.
3355 (implCloseChannel): New implementation using map_address.
3356 (read): Reformated.
3357 (map): Implemented.
3358 (create_direct_mapped_buffer): Implemented, use RawData, throws
3359 IOException.
3360 (force): Use map_address instead of address.
3361 * gnu/java/nio/MappedByteFileBuffer.java
3362 (address): Removed.
3363 (map_address): New member variable.
3364 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3365 (several methods): Use map_address instead of address, replaced long
3366 with RawData where appropriate.
3367 * gnu/java/nio/natFileChannelImpl.cc
3368 (nio_mmap_file): Replaced long with RawData.
3369 (nio_munmap_file): Replaced long with RawData.
3370 (nio_msync): Replaced long with RawData.
3371 * gnu/java/nio/natMappedByteFileBuffer.cc
3372 (several methods): Replaced long with RawData where appropriate.
3373
3374 2003-03-20 Michael Koch <konqueror@gmx.de>
3375
3376 * java/net/InetAddress.java,
3377 java/net/JarURLConnection.java,
3378 java/net/PlainDatagramSocketImpl.java,
3379 java/net/PlainSocketImpl.java,
3380 java/net/URLConnection.java:
3381 Merged copyright statements with classpath for easier merging.
3382
3383 2003-03-20 Michael Koch <konqueror@gmx.de>
3384
3385 * java/io/FileInputStream.java
3386 (getChannel): New implementation.
3387 * java/io/FileOutputStream.java
3388 (ch): New member variable.
3389 (getChannel): Implemented.
3390 * java/io/RandomAccessFile.java
3391 (RandomAccessFile): Throws FileNotFoundException instead of
3392 IOException.
3393 (getChannel): New method.
3394 (ch): New member variable.
3395
3396 2003-03-20 Michael Koch <konqueror@gmx.de>
3397
3398 * java/io/DataOutputStream.java,
3399 java/io/File.java,
3400 java/io/FileInputStream.java,
3401 java/io/FileOutputStream.java,
3402 java/io/InputStreamReader.java,
3403 java/io/LineNumberReader.java,
3404 java/io/OutputStreamWriter.java,
3405 java/io/PrintStream.java,
3406 java/io/RandomAccessFile.java:
3407 Merged copyright statements with classpath for easier merging.
3408
3409 2003-03-19 Michael Koch <konqueror@gmx.de>
3410
3411 * java/lang/Process.java:
3412 Merged from classpath.
3413
3414 2003-03-19 Michael Koch <konqueror@gmx.de>
3415
3416 * java/io/FileOutputStream.java
3417 (FileOutputStream): New constructor, merged from classpath.
3418 * java/io/FileWriter.java
3419 (FileWriter): New constructor, merged from classpath.
3420
3421 2003-03-18 Michael Koch <konqueror@gmx.de>
3422
3423 * java/awt/ScrollPane.java
3424 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3425 (getViewportSize): Likewise.
3426 (addNotify): Likewise.
3427 (removeNotify): Likewise.
3428 * java/awt/ScrollPaneAdjustable.java
3429 (ScrollPaneAdjustable): No longer extends Scrollbar.
3430 * java/beans/beancontext/BeanContextServices.java:
3431 Reformated.
3432 (getService): Added throws TooManyListenersException;
3433 * java/beans/beancontext/BeanContextServicesSupport.java:
3434 Reformated.
3435
3436 2003-03-18 Michael Koch <konqueror@gmx.de>
3437
3438 * java/io/BufferedOutputStream.java,
3439 java/io/DataInput.java,
3440 java/io/DataInputStream.java,
3441 java/io/DataOutput.java,
3442 java/io/Externalizable.java:
3443 More merges from classpath.
3444
3445 2003-03-18 Michael Koch <konqueror@gmx.de>
3446
3447 * configure.in: Fixed links to platform dependant java.net files.
3448 * configure: Regenerated.
3449 * java/net/natInetAddress.cc,
3450 java/net/natNetworkInterface.cc,
3451 java/net/natPlainDatagramSocketImpl.cc,
3452 java/net/natPlainSocketImpl.cc:
3453 Removed.
3454
3455 2003-03-18 Michael Koch <konqueror@gmx.de>
3456
3457 * configure.in: Create links to architecture dependent files,
3458 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3459 * configure: Regenerated.
3460 * java/net/natInetAddressNoNet.cc,
3461 java/net/natInetAddressPosix.cc,
3462 java/net/natInetAddressWin32.cc,
3463 java/net/natNetworkInterfaceNoNet.cc,
3464 java/net/natNetworkInterfacePosix.cc,
3465 java/net/natNetworkInterfaceWin32.cc,
3466 java/net/natPlainDatagramSocketImplNoNet.cc,
3467 java/net/natPlainDatagramSocketImplPosix.cc,
3468 java/net/natPlainDatagramSocketImplWin32.cc,
3469 java/net/natPlainSocketImplNoNet.cc,
3470 java/net/natPlainSocketImplPosix.cc,
3471 java/net/natPlainSocketImplWin32.cc: New files.
3472
3473 2003-03-18 Michael Koch <konqueror@gmx.de>
3474
3475 * java/io/BufferedReader.java,
3476 java/io/BufferedWriter.java,
3477 java/io/ByteArrayOutputStream.java,
3478 java/io/FileFilter.java,
3479 java/io/FilePermission.java,
3480 java/io/FileReader.java,
3481 java/io/FileWriter.java,
3482 java/io/FilenameFilter.java,
3483 java/io/FilterInputStream.java,
3484 java/io/FilterOutputStream.java,
3485 java/io/FilterReader.java,
3486 java/io/FilterWriter.java,
3487 java/io/ObjectInput.java,
3488 java/io/ObjectInputValidation.java,
3489 java/io/ObjectOutput.java,
3490 java/io/ObjectStreamField.java,
3491 java/io/PipedInputStream.java,
3492 java/io/PipedReader.java,
3493 java/io/PrintWriter.java,
3494 java/io/PushbackReader.java,
3495 java/io/Reader.java,
3496 java/io/SerializablePermission.java,
3497 java/io/StringReader.java,
3498 java/io/Writer.java:
3499 Merged from classpath.
3500
3501 2003-03-17 Michael Koch <konqueror@gmx.de>
3502
3503 * java/awt/ScrollPaneAdjustable.java:
3504 Compile fixes.
3505
3506 2003-03-17 Michael Koch <konqueror@gmx.de>
3507
3508 * java/net/DatagramSocket.java
3509 (connect): Fixed comment.
3510 * java/nio/ByteBuffer.java
3511 (hasArray): Fixed comment.
3512
3513 2003-03-17 Michael Koch <konqueror@gmx.de>
3514
3515 * java/beans/Beans.java:
3516 Explicitely import classes not packages.
3517 * java/beans/FeatureDescriptor.java
3518 (preferred): New member variable.
3519 (isPreferred): New method.
3520 (setPreferred): New method.
3521 * java/beans/PropertyEditorManager.java:
3522 Explicitely import used classes.
3523 * java/beans/beancontext/BeanContextChild.java:
3524 Added line wrapping.
3525 * java/beans/beancontext/BeanContextChildSupport.java:
3526 Reindented.
3527 * java/beans/beancontext/BeanContextEvent.java:
3528 Reindented.
3529
3530 2003-03-17 Michael Koch <konqueror@gmx.de>
3531
3532 * java/awt/Dialog.java
3533 (Dialog): New constructor, changed implementations, added
3534 documentation.
3535 * java/awt/ScrollPaneAdjustable.java
3536 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3537 Serializable.
3538 (serialVersionUID): New member variable.
3539 (sp): New member variable.
3540 (orientation): New member variable.
3541 (value): New member variable.
3542 (minimum): New member variable.
3543 (maximum): New member variable.
3544 (visibleAmount): New member variable.
3545 (unitIncrement): New member variable.
3546 (blockIncrement): New member variable.
3547 (AdjustmentListener): New member variable.
3548 (ScrollPaneAdjustable): New implementation.
3549 (addAdjustmentListener): New method.
3550 (removeAdjustmentListener): New method.
3551 (getAdjustmentListeners): New method.
3552 (getBlockIncrement): New method.
3553 (getMaximum): New method.
3554 (getMinimum): New method.
3555 (getOrientation): New method.
3556 (getUnitIncrement): New method.
3557 (getValue): New method.
3558 (getVisibleAmount): New method.
3559 (setBlockIncrement): New method.
3560 (setMaximum): Implemented.
3561 (setMinimum): Implemented.
3562 (setUnitIncrement): New method.
3563 (setValue): New method.
3564 (setVisibleAmount): Implemented.
3565 (paramString): New stubbed method.
3566 * java/awt/Window.java
3567 (show): Call setVisible().
3568 (hide): Call setVisible().
3569 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3570 and WINDOW_STATE_CHANGED.
3571 (processWindowFocusEvent): New method.
3572 (processWindowStateEvent): New method.
3573 (postEvent): Deprecated.
3574 (applyResourceBundle): Deprecated.
3575 * java/awt/datatransfer/DataFlavor.java
3576 (DataFlavor): Doesn't thow ClassNotFoundException.
3577
3578 2003-03-17 Michael Koch
3579
3580 * javax/print/attribute/Attribute.java,
3581 javax/print/attribute/AttributeSet.java,
3582 javax/print/attribute/PrintRequestAttributeSet.java:
3583 New files.
3584 * Makefile.am
3585 (javax_source_files): Added new files:
3586 javax/print/attribute/Attribute.java
3587 javax/print/attribute/AttributeSet.java
3588 javax/print/attribute/PrintRequestAttributeSet.java
3589 * Makefile.in: Regenerated.
3590
3591 2003-03-17 Michael Koch
3592
3593 * javax/print/attribute/Attribute.java,
3594 javax/print/attribute/AttributeSet.java,
3595 javax/print/attribute/PrintRequestAttributeSet.java:
3596 New files.
3597 * Makefile.am
3598 (awt_java_source_files): Added new files:
3599 javax/print/attribute/Attribute.java
3600 javax/print/attribute/AttributeSet.java
3601 javax/print/attribute/PrintRequestAttributeSet.java
3602 * Makefile.in: Regenerated.
3603
3604 2003-03-16 Tom Tromey <tromey@redhat.com>
3605
3606 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3607 Include platform.h.
3608 * java/lang/natRuntime.cc (insertSystemProperties): Use
3609 _Jv_platform_path_separator.
3610 (nativeGetLibname): Use _Jv_platform_file_separator.
3611 (_load): Use _Jv_platform_onload_names.
3612 (onload_names): New global.
3613 * include/win32.h (_Jv_platform_file_separator): New define.
3614 (_Jv_platform_path_separator): Likewise.
3615 (_Jv_platform_onload_names): Likewise.
3616 (_Jv_platform_ffi_abi): Likewise.
3617 * include/posix.h (_Jv_platform_file_separator): New define.
3618 (_Jv_platform_path_separator): Likewise.
3619 (_Jv_platform_onload_names): Likewise.
3620 (_Jv_platform_ffi_abi): Likewise.
3621
3622 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3623
3624 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3625
3626 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3627
3628 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3629 hierarchy loop.
3630 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3631 list to Object,ObjectStreamClass, moved callReadMethod code up into
3632 readObject and added Class argument to all setXxxField calls.
3633 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3634 consistent with ObjectOutputStream and to facilitate caching the
3635 Method in the future.
3636 (setBooleanField): Added Class argument.
3637 (setByteField): Likewise.
3638 (setCharField): Likewise.
3639 (setDoubleField): Likewise.
3640 (setFloatField): Likewise.
3641 (setIntField): Likewise.
3642 (setLongField): Likewise.
3643 (setShortField): Likewise.
3644 (setObjectField): Likewise.
3645 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3646 class hierarchy loop.
3647 (defaultWriteObject): Call writeFields with new argument list.
3648 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3649 list to Object,ObjectStreamClass, moved callWriteMethod up into
3650 writeObject and added Class argument to all getXxxField calls.
3651 (callWriteMethod): Added ObjectStreamClass argument to be able to
3652 get the proper class to call getMethod on (each class can have (or
3653 not have) its own writeObject method).
3654 (getBooleanField): Added Class argument.
3655 (getByteField): Likewise.
3656 (getCharField): Likewise.
3657 (getDoubleField): Likewise.
3658 (getFloatField): Likewise.
3659 (getIntField): Likewise.
3660 (getLongField): Likewise.
3661 (getShortField): Likewise.
3662 (getObjectField): Likewise.
3663 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3664 facilitate caching the Method object in the future.
3665
3666 2003-03-12 Andreas Schwab <schwab@suse.de>
3667
3668 * configure.in: Avoid trailing /. in toolexeclibdir.
3669 * configure: Rebuilt.
3670
3671 2003-03-11 Michael Koch <konqueror@gmx.de>
3672
3673 * gnu/java/nio/ByteBufferImpl.java
3674 (putInt): Use limit() instead of limit.
3675 * gnu/java/nio/CharBufferImpl.java
3676 (slice): Fixed implementation.
3677 (subSequence): Better bounds checking.
3678 * gnu/java/nio/MappedByteFileBuffer.java:
3679 Import all needed classes directly.
3680 * java/nio/ByteBuffer.java
3681 (hashCode): New dummy method.
3682 * java/nio/CharBuffer.java
3683 (array_offset): New member variable.
3684 (hasArray): Fixed documentation.
3685 (arrayOffset): Return array_offset.
3686
3687 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3688
3689 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3690 setter; made return value of getter const char* instead of char*
3691 * prims.cc: removed all references to _Jv_ThisExecutable().
3692 These are in the platform-specific sections now.
3693 * posix.cc: define platform-specific _Jv_ThisExecutable().
3694 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3695 * win32.cc: define platform-specific _Jv_ThisExecutable()
3696 using GetModuleFilename()
3697 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3698 to argv[0] instead of _Jv_ThisExecutable()
3699
3700 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3701
3702 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3703 that is set if we are using addr2name.awk instead of addr2line.
3704 (NameFinder): Set usingAddr2name if using addr2name.awk.
3705 (getExternalLabel): New native method to convert a method
3706 name to an external label.
3707 (lookup): Convert name given by addr2line to an external label
3708 before demangling.
3709
3710 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3711 constant representing the prefix attached to method names to
3712 convert them to an external label.
3713 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3714 using LABEL_PREFIX.
3715
3716 2003-03-10 Tom Tromey <tromey@redhat.com>
3717
3718 * Makefile.in: Rebuilt.
3719 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3720 (JC1FLAGS): Removed -Wno-deprecated.
3721
3722 2003-03-10 Michael Koch <konqueror@gmx.de>
3723
3724 * java/nio/ByteOrder.java
3725 (nativeOrder): Working implementation, added documentation.
3726 (toString): Added documentation.
3727
3728 2003-03-10 Michael Koch <konqueror@gmx.de>
3729
3730 * java/net/DatagramSocket.java,
3731 java/net/MulticastSocket.java,
3732 java/net/Socket.java,
3733 java/net/URL.java,
3734 java/net/URLConnection.java:
3735 Fixed some documentation tags to make javadoc and friends happy.
3736
3737 2003-03-10 Michael Koch <koqnueror@gmx.de>
3738
3739 * java/beans/beancontext/BeanContextServicesSupport.java,
3740 java/beans/beancontext/BeanContextSupport.java: New files.
3741 * Makefile.am
3742 (awt_source_files): Added new files.
3743 * Makefile.in: Regenerated.
3744
3745 2003-03-10 Michael Koch <konqueror@gmx.de>
3746
3747 * java/awt/FocusTraversalPolicy.java
3748 (FocusTraversalPolicy): Documentation added.
3749 (getComponentAfter): Documentation added.
3750 (getComponentBefore): Documentation added.
3751 (getFirstComponent): Documentation added.
3752 (getLastComponent): Documentation added.
3753 (getDefaultComponent): Documentation added.
3754 (getInitialComponent): Documentation added.
3755 * java/awt/ScrollPaneAdjustable.java
3756 (sp): New member variable.
3757 (orientation): New member variable.
3758 (value): New member variable.
3759 (minimum): New member variable.
3760 (maximum): New member variable.
3761 (visibleAmount): New member variable.
3762 (unitIncrement): New member variable.
3763 (blockIncrement): New member variable.
3764 (adjustmentListener): New member variable.
3765 (ScrollPaneAdjustable): Rewrote.
3766 (addAdjustmentListener): New method.
3767 (removeAdjustmentListener): New method.
3768 (getAdjustmentListeners): New method.
3769 (getBlockIncrement): New method.
3770 (getMaximum): New method.
3771 (getMinimum): New method.
3772 (getOrientation): New method.
3773 (getUnitIncrement): New method.
3774 (getValue): New method.
3775 (getVisibleAmount): New method.
3776 (setBlockIncrement): New method.
3777 (setUnitIncrement): New method.
3778 (setMaximum): Implemented.
3779 (setMinimum): Implemented.
3780 (setValue): New method.
3781 (setVisibleAmount): Implemented.
3782 (paramString): New method.
3783 * java/awt/Window.java
3784 (show): Use setVisible(true) instead of super.show().
3785 (hide): Use sevVisible(false) instead of super.hide().
3786 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3787 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3788 (postEvent): Deprecated.
3789 (applyResourceBundle): Deprecated.
3790 (processWindowFocusEvent): New method.
3791 (processWindowStateEvent): New method.
3792 * java/awt/datatransfer/DataFlavor.java: Reindented.
3793 * java/awt/font/TextHitInfo.java
3794 (charIndex): New member variable.
3795 (leadingEdge): New member variable.
3796 (TextHitInfo): New constructor.
3797 (getCharIndex): Implemented.
3798 (isLeadingEdge): Implemented.
3799 (getInsertionIndex): Implemented.
3800 (hashCode): Access charIndex directly.
3801 (equals): Reformated.
3802 (leading): Implemented.
3803 (trailing): Implemented.
3804 (beforeOffset): Implemented.
3805 (afterOffset): Implemented.
3806 (getOtherHit): Implemented.
3807 (getOffsetHit): Implemented.
3808 (toString): Implemented.
3809 * java/awt/image/BufferedImage.java
3810 (BufferedImage): Implements WritableRenderedImage.
3811 (observers): New member variable.
3812 (addTileObserver): New method.
3813 (removeTileObserver): New method.
3814
3815 2003-03-09 Tom Tromey <tromey@redhat.com>
3816
3817 PR libgcj/9934:
3818 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3819 to lseek. Return 0 if we can't compute the value.
3820
3821 2003-03-03 Michael Koch <konqueror@gmx.de>
3822
3823 * java/net/NetworkInterface.java: Merged with classpath.
3824
3825 2003-03-03 Tom Tromey <tromey@redhat.com>
3826
3827 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3828 of bytecode.
3829 (handle_ret_insn): Fail if returning to jsr that appears at end of
3830 bytecode.
3831
3832 2003-03-03 Michael Koch <konqueror@gmx.de>
3833
3834 * Makefile.am
3835 (ordinary_java_source_files):
3836 Added gnu/java/nio/MappedByteFileBuffer.java.
3837 (nat_source_files):
3838 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3839 * Makefile.in: Regenerated.
3840
3841 2003-03-03 Michael Koch <konqueror@gmx.de>
3842
3843 * java/net/DatagramSocket.java
3844 (connect): Merged comment from classpath.
3845 (receive): Merged documentation from classpath.
3846 * java/net/Socket.java
3847 (setSoTimeout): Clarified documentation.
3848 * java/net/URL.java
3849 (getPath): Merged from classpath.
3850 (getUserInfo): Merged from classpath.
3851 (getQuery): Merged from classpath.
3852 * java/net/URLStreamHandler.java
3853 (toExternalForm): Merged from classpath.
3854
3855 2003-03-02 Mark Wielaard <mark@klomp.org>
3856
3857 * java/util/Properties.java (load): Only skip line if the first
3858 character is a comment, whitespaces don't count.
3859
3860 2003-03-02 Michael Koch <konqueror@gmx.de>
3861
3862 * java/net/NetPermission.java:
3863 Merged copyright with classpath.
3864
3865 2003-03-02 Michael Koch <konqueror@gmx.de>
3866
3867 * java/lang/Package.java:
3868 Remerged from classpath.
3869
3870 2003-03-02 Michael Koch <konqueror@gmx.de>
3871
3872 * java/net/HttpURLConnection.java
3873 (HTTP_SERVER_ERROR): Deprecated.
3874 * java/net/MulticastSocket.java
3875 (send): Replaced checkMulticast with appropriate checkPermission call,
3876 deprecated.
3877 * java/net/URLDecoder.java
3878 (decode): Deprecated.
3879 * java/net/URLEncoder.java
3880 (encode): Deprecated.
3881
3882 2003-03-02 Michael Koch <konqueror@gmx.de>
3883
3884 * javax/swing/text/Caret.java
3885 (getMagicCaretPosition): Fixed typo in method name.
3886 * javax/swing/text/DefaultCaret.java
3887 (getMagicCaretPosition): Fixed typo in method name.
3888
3889 2003-03-02 Michael Koch <konqueror@gmx.de>
3890
3891 * java/awt/List.java
3892 (setMultipleSelections): Deprecated.
3893 (delItem): Deprecated.
3894 * java/awt/MenuComponent.java
3895 (getPeer): Deprecated.
3896 * java/awt/ScrollPane.java
3897 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3898 * java/awt/dnd/MouseDragGestureRecognizer.java
3899 (mouseClicked): Added comment.
3900 (mousePressed): Added comment.
3901 (mouseReleased): Added comment.
3902 (mouseEntered): Added comment.
3903 (mouseExited): Added comment.
3904 (mouseDragged): Added comment.
3905 (mouseMoved): Added comment.
3906 * java/awt/event/KeyEvent.java
3907 (KeyEvent): Deprecated.
3908 (setModifiers): Deprecated.
3909
3910 2003-03-02 Michael Koch <konqueror@gmx.de>
3911
3912 * gnu/java/nio/FileChannelImpl.java
3913 (fd): Type FileDescriptor instead of int.
3914 (lengthInternal): Removed.
3915 (FileChannelImpl): Fixed arguments, check type of file object.
3916 (size): Made it native.
3917 (implPosition): New native method.
3918 (implTruncate): New native method.
3919 (position): Implemented.
3920 (truncate): Implemented.
3921 (nio_mmap_file): Changed arguments.
3922 (nio_munmap_file): Changed arguments.
3923 (nio_msync): Changed arguments.
3924 * gnu/java/nio/natFileChannelImpl.cc
3925 (lengthInternal): Removed.
3926 (size): New method.
3927 (implPosition): New method.
3928 (implTruncate): New method.
3929 (nio_mmap_file): Changed arguments.
3930 (nio_munmap_file): Changed arguments.
3931 (nio_msync): Changed arguments.
3932
3933 2003-03-02 Michael Koch <konqueror@gmx.de>
3934
3935 * java/awt/dnd/DropTargetContext.java:
3936 Compile fix: Forgot to commit import.
3937
3938 2003-03-02 Michael Koch <konqueror@gmx.de>
3939
3940 * java/awt/Component.java,
3941 java/awt/ScrollPane.java:
3942 Fixed typos.
3943
3944 2003-03-02 Michael Koch <konqueror@gmx.de>
3945
3946 * java/awt/dnd/DnDEventMulticaster.java: New file.
3947 * java/awt/dnd/DragSource.java
3948 (flavorMap): New member variable.
3949 (dragSourceListener): New member variable.
3950 (dragSourceMotionListener): New member variable.
3951 (getFlavorMap): Implemented.
3952 (createDragGestureRecognizer): Implemented.
3953 (addDragSourceListener): Implemented.
3954 (removeDragSourceListener): Implemented.
3955 (getDragSourceListeners): Implemented.
3956 (addDragSourceMotionListener): Implemented.
3957 (removeDragSourceMotionListener): Implemented.
3958 (getDragSourceMotionListeners): Implemented.
3959 (getListeners): Implemented.
3960 * java/awt/dnd/DragSourceContext.java
3961 (peer): New member variable.
3962 (cursor): New member variable.
3963 (transferable): New member variable.
3964 (trigger): New member variable.
3965 (dragSourceListener): New member variable.
3966 (image): New member variable.
3967 (offset): New member variable.
3968 (DragSourceContext): Implemented.
3969 (getDragSource): Implemented.
3970 (getComponent): Implemented.
3971 (getTrigger): Implemented.
3972 (getSourceActions): Implemented.
3973 (setCursor): Implemented.
3974 (getCursor): Implemented.
3975 (addDragSourceListener): Implemented.
3976 (removeDragSourceListener): Implemented.
3977 (getTransferable): Implemented.
3978 * java/awt/dnd/DropTarget.java
3979 (DropTargetAutoScroller.component): New member variable.
3980 (DropTargetAutoScroller.point): New member variable.
3981 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3982 (DropTargetAutoScroller.updateLocation): Implemented.
3983 (active): Renamed from isActive, defaults to true now.
3984 (component): New member variable.
3985 (flavorMap): New member variable.
3986 (actions): New member variable.
3987 (dropTargetContext): New member variable.
3988 (dropTargetListener): New member variable.
3989 (DropTarget): Implemented.
3990 (getComponent): Implemented.
3991 (setComponent): Implemented.
3992 (setDefaultActions): Implemented.
3993 (getDefaultActions): Implemented.
3994 (setActive): Use active instead of isActive.
3995 (isActive): Use active instead of isActive.
3996 (addDropTargetListener): Implemented.
3997 (removeDropTargetListener): Implemented.
3998 (getFlavorMap): Implemented.
3999 (setFlavorMap): Implemented.
4000 (getDropTargetContext): Implemented.
4001 (createDropTargetContext): Implemented.
4002 (createDropTargetAutoScroller): Implemented.
4003 * java/awt/dnd/DropTargetContext.java
4004 (TransferableProxy.getTransferDataFlavors): Implemented.
4005 (TransferableProxy.isDataFlavorSupported): Implemented.
4006 (TransferableProxy.getTransferData): Implemented.
4007 (dropTarget): New member variable.
4008 (dtcp): New member variable.
4009 (DropTargetContext): New package private constructor.
4010 (getDropTarget): Implemented.
4011 (getComponent): Implemented.
4012 (addNotify): Implemented.
4013 (removeNotify): Implemented.
4014 (getCurrentDataFlavorsAsList): Implemented.
4015 (isDataFlavorSupported): Implemented.
4016 * java/awt/dnd/MouseDragGestureRecognizer.java
4017 (registerListeners): Implemented.
4018 (unregisterListeners): Implemented.
4019 * Makefile.am
4020 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4021 * Makefile.in: Regenerated.
4022
4023 2003-03-02 Michael Koch <konqueror@gmx.de>
4024
4025 * java/awt/Component.java
4026 (eventTypeEnabled): New method.
4027 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4028 * java/awt/Container.java
4029 (changeSupport): New member variable.
4030 (addPropertyChangeListener): New methods.
4031 * java/awt/ContainerOrderFocusTraversalPolicy.java
4032 (ContainerOrderFocusTraversalPolicy): Added comment.
4033 (getComponentAfter): Throw exception, documentation added.
4034 (getComponentBefore): Throw exception, documentation added.
4035 (getFirstComponent): Throw exception, documentation added.
4036 (getLastComponent): Throw exception, documentation added.
4037 (getDefaultComponent): Throw exception, documentation added.
4038 * java/awt/EventQueue.java: Reindented.
4039 * java/awt/FocusTraversalPolicy.java:
4040 (FocusTraversalPolicy): Added comment.
4041 (getComponentAfter): Documentation added.
4042 (getComponentBefore): Documentation added.
4043 (getFirstComponent): Documentation added.
4044 (getLastComponent): Documentation added.
4045 (getDefaultComponent): Documentation added.
4046 (getInitialComponent): Documentation added.
4047 * java/awt/ScrollPane.java
4048 (wheelScrollingEnabled): New member variable.
4049 (ScrollPane): Initialize wheelScollingEnabled.
4050 (eventTypeEnabled): New method.
4051 (isWheelScrollingEnabled): New method.
4052 (setWheelScrollingEnabled): New method.
4053
4054 2003-03-02 Michael Koch <konqueror@gmx.de>
4055
4056 * java/net/DatagramSocket.java
4057 (closed): New member variable.
4058 (close): Use closed variable.
4059 (getInetAddress): No need to call isConnected().
4060 (getPort): No need to call isConnected().
4061 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4062 (isClosed): Reimplemented.
4063
4064 2003-03-02 Michael Koch <konqueror@gmx.de>
4065
4066 * configure.in: Added check for memory mapping of files.
4067 * configure: Regenerated.
4068 * config.h.in: Regenerated.
4069
4070 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4071
4072 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4073 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4074
4075 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4076
4077 * java/io/File.java (normalizePath): Remove trailing separator
4078 on Windows only if path is not of the form "x:\".
4079
4080 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4081 (java::io::File::attr): Change formatting a bit and use
4082 WIN32_EPOCH_MILLIS instead of magic numbers.
4083 (java::io::File::isAbsolute): Path must have at least 3
4084 characters for a UNC network path.
4085 (java::io::File::init_native): Define.
4086 (java::io::File::performCreate): Likewise.
4087 (java::io::File::performSetReadOnly): Likewise.
4088 (java::io::File::performSetLastModified): Likewise.
4089 (java::io::File::performListRoots): Likewise.
4090
4091 2003-03-01 Tom Tromey <tromey@redhat.com>
4092
4093 * java/lang/natObject.cc: Don't include assert.h.
4094 (heavy_lock_obj_finalization_proc): Use JvAssert.
4095 (remove_all_heavy): Likewise.
4096 (_Jv_MonitorEnter): Likewise.
4097 (_Jv_MonitorExit): Likewise.
4098 (wait): Likewise.
4099
4100 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4101
4102 * java/io/File (getAbsolutePath): Prefix drive specifier on
4103 Windows for paths starting with a '\'.
4104 (toURL): Make URL more consistent with what Sun's JDK returns.
4105
4106 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4107 true only if the path is a UNC network path or it starts with a
4108 drive specifier.
4109
4110 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4111 Be prepared to handle either '/' or '\\' in the file path for
4112 Windows if using the "file" protocol.
4113 Canonicalise the file path if using a relative path in the given
4114 context and the "file" protocol.
4115
4116 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4117
4118 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4119 program array element passed to CreateProcess.
4120
4121 2003-03-01 Tom Tromey <tromey@redhat.com>
4122
4123 * java/rmi/registry/RegistryHandler.java: Deprecate.
4124
4125 2003-03-01 Tom Tromey <tromey@redhat.com>
4126
4127 * javax/accessibility/AccessibleEditableText.java,
4128 javax/accessibility/AccessibleHyperlink.java: New versions from
4129 Classpath.
4130
4131 * gnu/java/locale/LocaleInformation_af_ZA.java,
4132 gnu/java/locale/LocaleInformation_ar_AE.java,
4133 gnu/java/locale/LocaleInformation_ar_BH.java,
4134 gnu/java/locale/LocaleInformation_ar_DZ.java,
4135 gnu/java/locale/LocaleInformation_ar_EG.java,
4136 gnu/java/locale/LocaleInformation_ar_IN.java,
4137 gnu/java/locale/LocaleInformation_ar_IQ.java,
4138 gnu/java/locale/LocaleInformation_ar_JO.java,
4139 gnu/java/locale/LocaleInformation_ar_KW.java,
4140 gnu/java/locale/LocaleInformation_ar_LB.java,
4141 gnu/java/locale/LocaleInformation_ar_LY.java,
4142 gnu/java/locale/LocaleInformation_ar_MA.java,
4143 gnu/java/locale/LocaleInformation_ar_OM.java,
4144 gnu/java/locale/LocaleInformation_ar_QA.java,
4145 gnu/java/locale/LocaleInformation_ar_SD.java,
4146 gnu/java/locale/LocaleInformation_ar_SY.java,
4147 gnu/java/locale/LocaleInformation_ar_TN.java,
4148 gnu/java/locale/LocaleInformation_ar_YE.java,
4149 gnu/java/locale/LocaleInformation_be_BY.java,
4150 gnu/java/locale/LocaleInformation_bn_IN.java,
4151 gnu/java/locale/LocaleInformation_br_FR.java,
4152 gnu/java/locale/LocaleInformation_bs_BA.java,
4153 gnu/java/locale/LocaleInformation_ca_ES.java,
4154 gnu/java/locale/LocaleInformation_cs_CZ.java,
4155 gnu/java/locale/LocaleInformation_cy_GB.java,
4156 gnu/java/locale/LocaleInformation_da_DK.java,
4157 gnu/java/locale/LocaleInformation_de_AT.java,
4158 gnu/java/locale/LocaleInformation_de_BE.java,
4159 gnu/java/locale/LocaleInformation_de_CH.java,
4160 gnu/java/locale/LocaleInformation_de_DE.java,
4161 gnu/java/locale/LocaleInformation_de_LU.java,
4162 gnu/java/locale/LocaleInformation_el_GR.java,
4163 gnu/java/locale/LocaleInformation_en_AU.java,
4164 gnu/java/locale/LocaleInformation_en_BW.java,
4165 gnu/java/locale/LocaleInformation_en_CA.java,
4166 gnu/java/locale/LocaleInformation_en_DK.java,
4167 gnu/java/locale/LocaleInformation_en_GB.java,
4168 gnu/java/locale/LocaleInformation_en_HK.java,
4169 gnu/java/locale/LocaleInformation_en_IE.java,
4170 gnu/java/locale/LocaleInformation_en_IN.java,
4171 gnu/java/locale/LocaleInformation_en_NZ.java,
4172 gnu/java/locale/LocaleInformation_en_PH.java,
4173 gnu/java/locale/LocaleInformation_en_SG.java,
4174 gnu/java/locale/LocaleInformation_en_US.java,
4175 gnu/java/locale/LocaleInformation_en_ZA.java,
4176 gnu/java/locale/LocaleInformation_en_ZW.java,
4177 gnu/java/locale/LocaleInformation_es_AR.java,
4178 gnu/java/locale/LocaleInformation_es_BO.java,
4179 gnu/java/locale/LocaleInformation_es_CL.java,
4180 gnu/java/locale/LocaleInformation_es_CO.java,
4181 gnu/java/locale/LocaleInformation_es_CR.java,
4182 gnu/java/locale/LocaleInformation_es_DO.java,
4183 gnu/java/locale/LocaleInformation_es_EC.java,
4184 gnu/java/locale/LocaleInformation_es_ES.java,
4185 gnu/java/locale/LocaleInformation_es_GT.java,
4186 gnu/java/locale/LocaleInformation_es_HN.java,
4187 gnu/java/locale/LocaleInformation_es_MX.java,
4188 gnu/java/locale/LocaleInformation_es_NI.java,
4189 gnu/java/locale/LocaleInformation_es_PA.java,
4190 gnu/java/locale/LocaleInformation_es_PE.java,
4191 gnu/java/locale/LocaleInformation_es_PR.java,
4192 gnu/java/locale/LocaleInformation_es_PY.java,
4193 gnu/java/locale/LocaleInformation_es_SV.java,
4194 gnu/java/locale/LocaleInformation_es_US.java,
4195 gnu/java/locale/LocaleInformation_es_UY.java,
4196 gnu/java/locale/LocaleInformation_es_VE.java,
4197 gnu/java/locale/LocaleInformation_et_EE.java,
4198 gnu/java/locale/LocaleInformation_eu_ES.java,
4199 gnu/java/locale/LocaleInformation_fa_IR.java,
4200 gnu/java/locale/LocaleInformation_fi_FI.java,
4201 gnu/java/locale/LocaleInformation_fo_FO.java,
4202 gnu/java/locale/LocaleInformation_fr_BE.java,
4203 gnu/java/locale/LocaleInformation_fr_CA.java,
4204 gnu/java/locale/LocaleInformation_fr_CH.java,
4205 gnu/java/locale/LocaleInformation_fr_FR.java,
4206 gnu/java/locale/LocaleInformation_fr_LU.java,
4207 gnu/java/locale/LocaleInformation_ga_IE.java,
4208 gnu/java/locale/LocaleInformation_gd_GB.java,
4209 gnu/java/locale/LocaleInformation_gl_ES.java,
4210 gnu/java/locale/LocaleInformation_gv_GB.java,
4211 gnu/java/locale/LocaleInformation_he_IL.java,
4212 gnu/java/locale/LocaleInformation_hi_IN.java,
4213 gnu/java/locale/LocaleInformation_hr_HR.java,
4214 gnu/java/locale/LocaleInformation_hu_HU.java,
4215 gnu/java/locale/LocaleInformation_id_ID.java,
4216 gnu/java/locale/LocaleInformation_it_CH.java,
4217 gnu/java/locale/LocaleInformation_it_IT.java,
4218 gnu/java/locale/LocaleInformation_iw_IL.java,
4219 gnu/java/locale/LocaleInformation_ja_JP.java,
4220 gnu/java/locale/LocaleInformation_ka_GE.java,
4221 gnu/java/locale/LocaleInformation_kl_GL.java,
4222 gnu/java/locale/LocaleInformation_ko_KR.java,
4223 gnu/java/locale/LocaleInformation_kw_GB.java,
4224 gnu/java/locale/LocaleInformation_lt_LT.java,
4225 gnu/java/locale/LocaleInformation_lv_LV.java,
4226 gnu/java/locale/LocaleInformation_mi_NZ.java,
4227 gnu/java/locale/LocaleInformation_mk_MK.java,
4228 gnu/java/locale/LocaleInformation_mr_IN.java,
4229 gnu/java/locale/LocaleInformation_mt_MT.java,
4230 gnu/java/locale/LocaleInformation_nl_BE.java,
4231 gnu/java/locale/LocaleInformation_nl_NL.java,
4232 gnu/java/locale/LocaleInformation_nn_NO.java,
4233 gnu/java/locale/LocaleInformation_no_NO.java,
4234 gnu/java/locale/LocaleInformation_oc_FR.java,
4235 gnu/java/locale/LocaleInformation_pl_PL.java,
4236 gnu/java/locale/LocaleInformation_pt_BR.java,
4237 gnu/java/locale/LocaleInformation_pt_PT.java,
4238 gnu/java/locale/LocaleInformation_ro_RO.java,
4239 gnu/java/locale/LocaleInformation_ru_RU.java,
4240 gnu/java/locale/LocaleInformation_ru_UA.java,
4241 gnu/java/locale/LocaleInformation_se_NO.java,
4242 gnu/java/locale/LocaleInformation_sk_SK.java,
4243 gnu/java/locale/LocaleInformation_sl_SI.java,
4244 gnu/java/locale/LocaleInformation_sq_AL.java,
4245 gnu/java/locale/LocaleInformation_sr_YU.java,
4246 gnu/java/locale/LocaleInformation_sv_FI.java,
4247 gnu/java/locale/LocaleInformation_sv_SE.java,
4248 gnu/java/locale/LocaleInformation_ta_IN.java,
4249 gnu/java/locale/LocaleInformation_te_IN.java,
4250 gnu/java/locale/LocaleInformation_tg_TJ.java,
4251 gnu/java/locale/LocaleInformation_tl_PH.java,
4252 gnu/java/locale/LocaleInformation_tr_TR.java,
4253 gnu/java/locale/LocaleInformation_uk_UA.java,
4254 gnu/java/locale/LocaleInformation_ur_PK.java,
4255 gnu/java/locale/LocaleInformation_uz_UZ.java,
4256 gnu/java/locale/LocaleInformation_vi_VN.java,
4257 gnu/java/locale/LocaleInformation_yi_US.java,
4258 gnu/java/locale/LocaleInformation_zh_CN.java,
4259 gnu/java/locale/LocaleInformation_zh_HK.java,
4260 gnu/java/locale/LocaleInformation_zh_SG.java,
4261 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4262 info; from Classpath.
4263
4264 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4265 isPaintPending): New methods.
4266 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4267 setMaximizedBounds): New methods.
4268 (beginLayout, endLayout, isPaintPending): Likewise.
4269 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4270 (requestFocus): Likewise.
4271 (isObscured): Likewise.
4272 (canDetermineObscurity): Likewise.
4273 (coalescePaintEvent): Likewise.
4274 (updateCursorImmediately): Likewise.
4275 (createVolatileImage): Likewise.
4276 (handlesWheelScrolling): Likewise.
4277 (createBuffers): Likewise.
4278 (getBackBuffer): Likewise.
4279 (flip): Likewise.
4280 (destroyBuffers): Likewise.
4281
4282 * Makefile.in: Rebuilt.
4283 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4284 RobotPeer.java.
4285 * gnu/java/awt/GLightweightPeer.java,
4286 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4287 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4288 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4289 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4290 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4291 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4292 java/awt/dnd/peer/DragSourceContextPeer.java,
4293 java/awt/dnd/peer/DropTargetContextPeer.java,
4294 java/awt/peer/ButtonPeer.java,
4295 java/awt/peer/CheckboxMenuItemPeer.java,
4296 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4297 java/awt/peer/ComponentPeer.java,
4298 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4299 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4300 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4301 java/awt/peer/MenuBarPeer.java,
4302 java/awt/peer/MenuComponentPeer.java,
4303 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4304 java/awt/peer/PopupMenuPeer.java,
4305 java/awt/peer/ScrollPanePeer.java,
4306 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4307 java/awt/peer/TextComponentPeer.java,
4308 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4309 New versions from Classpath.
4310 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4311 * java/awt/peer/RobotPeer.java: Likewise.
4312
4313 2003-03-01 Mark Wielaard <mark@klomp.org>
4314
4315 * java/io/ObjectInputStream.java: Reindent.
4316 * java/io/ObjectOutputStream.java: Likewise.
4317
4318 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4319
4320 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4321 jvalue for each argument. Simplify.
4322 * testsuite/libjava.jni/calls.c (docall),
4323 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4324 misalignment.
4325
4326 2003-02-28 Mark Wielaard <mark@klomp.org>
4327
4328 * Makefile.am (nat_source_files): Remove
4329 java/io/natObjectOutputStream.cc.
4330 * Makefile.in: Regenerated.
4331 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4332 * java/io/ObjectStreamField.java (typename): New field.
4333 (ObjectStreamField(String, Class)): Initialize new field.
4334 (ObjectStreamField(String, String)): New Constructor.
4335 (getTypeCode): Use new field.
4336 (getTypeString): Use new field.
4337 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4338 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4339 Handle reading of Proxy classes. Never drain(), just write
4340 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4341 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4342 (flush): Call flush(), not just drain().
4343 (writeBoolean): Always use blockDataOutput.
4344 (writeByte): Likewise.
4345 (writeShort): Likewise.
4346 (writeChar): Likewise.
4347 (writeInt): Likewise.
4348 (writeLong): Likewise.
4349 (writeFloat): Likewise.
4350 (writeDouble): Likewise.
4351 (writeBytes): Likewise.
4352 (putfield (put(String,Object))): Throw IllegalArgumentException if
4353 field cannot be found.
4354 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4355 (writeArraySizeAndElements): Write byte[] in one go.
4356 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4357 set BlockDataMode to false.
4358 (annotateProxyClass): New method.
4359 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4360 (getField): No longer native.
4361 (getMethod): Likewise.
4362 (setBlockDataMode): Always drain() on switch, return old mode.
4363 (static): New static code block.
4364 * java/io/natObjectOutputStream.cc: Removed.
4365 * java/io/ObjectInputStream.java (getField): No longer native.
4366 (getMethod): Likewise.
4367 (readObject): Remember and reset old BlockDataMode. Track whether
4368 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4369 TC_LONGSTRING.
4370 (defaultReadObject): Set BlockDataMode to false during readFields.
4371 (resolveClass): Create new SecurityManager if necessary.
4372 Use Class.forName() if null ClassLoader found.
4373 (read(byte[],int,int): Copy remaining bytes to data before calling
4374 readNextBlock().
4375 (readFields): Set and reset BlockDataMode on call_read_method.
4376 Catch NoSuchFieldErrors.
4377 (setBlockDataMode): Return old mode.
4378 (static): New static code block.
4379 * java/io/natObjectInputStream.cc (getField): Removed.
4380 (getMethod): Likewise.
4381
4382 2003-02-27 Michael Koch <konqueror@gmx.de>
4383
4384 * java/beans/Beans.java,
4385 java/beans/FeatureDescriptor.java
4386 java/beans/PropertyEditorManager.java:
4387 Reformated to GNU style.
4388
4389 2003-02-25 Michael Koch <konqueror@gmx.de>
4390
4391 * gnu/java/nio/MappedByteFileBuffer.java,
4392 gnu/java/nio/natMappedByteFileBuffer.cc:
4393 New files, both are not compiled yet to get not noncompiling CVS.
4394
4395 2003-02-24 Tom Tromey <tromey@redhat.com>
4396
4397 * java/util/prefs/AbstractPreferences.java (isUserNode):
4398 Implemented.
4399
4400 2003-02-24 Tom Tromey <tromey@redhat.com>
4401
4402 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4403 Deprecate.
4404 * java/lang/Thread.java (resume): Deprecate.
4405 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4406 in @deprecated.
4407
4408 2003-02-23 Tom Tromey <tromey@redhat.com>
4409
4410 * Makefile.in: Rebuilt.
4411 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4412
4413 2003-02-23 Tom Tromey <tromey@redhat.com>
4414
4415 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4416 libraries): Removed.
4417 (add_library): Removed.
4418 (_load): Don't call add_library.
4419 (loadLibraryInternal): Likewise.
4420 (init): Likewise.
4421 (lookup_data): New struct.
4422 (find_symbol): New function.
4423 (_Jv_FindSymbolInExecutable): Use it.
4424
4425 2002-02-21 Anthony Green <green@redhat.com>
4426
4427 * java/lang/Thread.java (Thread): New constructor taking stack
4428 size parameter (ignored for now).
4429 * Many methods: Merged GNU Classpath documentation.
4430
4431 * java/lang/Class.java (finalize): throws a Throwable.
4432
4433 2003-02-21 Mark Wielaard <mark@klomp.org>
4434
4435 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4436 argument is null.
4437
4438 2003-02-21 Mark Wielaard <mark@klomp.org>
4439
4440 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4441 then 65535 chars throw IllegalArgumentException.
4442
4443 2003-02-21 Mark Wielaard <mark@klomp.org>
4444
4445 * java/util/zip/ZipFile.java (finalize): New method.
4446
4447 2003-02-21 Michael Koch <konqueror@gmx.de>
4448
4449 * gnu/java/nio/natSocketChannelImpl.cc:
4450 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4451 <cato@df.lth.se> for pointing to it.
4452
4453 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4454
4455 * java/math/BigInteger.java (euclidInv): Take result array as an
4456 argument. Updated all callers.
4457 (modInverse): Removed unused variables.
4458
4459 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4460
4461 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4462 config.status.
4463 * configure: Rebuilt.
4464
4465 2003-02-19 Michael Koch <konqueror@gmx.de>
4466
4467 * gnu/java/nio/natSocketChannelImpl.cc:
4468 Added support for platforms without network support.
4469
4470 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4471
4472 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4473 after config.h. Use <> for consistency.
4474 * java/lang/natObject.cc: Likewise.
4475 * java/lang/natRuntime.cc: Likewise.
4476 * java/lang/natSystem.cc: Likewise.
4477 * java/util/natTimeZone.cc: Likewise.
4478 * win32.cc: Likewise.
4479 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4480 listen, write, read): Undef to avoid interference from OS macros.
4481
4482 2003-02-19 Michael Koch <konqueror@gmx.de>
4483
4484 * gnu/java/nio/ByteBufferImpl.java
4485 (ByteBufferImpl): Renamed two variables.
4486 * gnu/java/nio/CharBufferImpl.java
4487 (CharBufferImpl): Renamed two variables.
4488 * gnu/java/nio/DoubleBufferImpl.java
4489 (DoubleBufferImpl): Renamed two variables.
4490 * gnu/java/nio/FloatBufferImpl.java
4491 (FloatBufferImpl): Renamed two variables.
4492 * gnu/java/nio/IntBufferImpl.java
4493 (IntBufferImpl): Renamed two variables.
4494 * gnu/java/nio/LongBufferImpl.java
4495 (LongBufferImpl): Renamed two variables.
4496 * gnu/java/nio/ShortBufferImpl.java
4497 (ShortBufferImpl): Renamed two variables.
4498 * java/nio/CharBuffer.java
4499 (wrap): Fixed arguments to CharBufferImpl constructor.
4500 (hasArray): Only not read-only buffers have backing arrays.
4501 (length): Documentation added.
4502 (subSequence): Documentation added.
4503 * java/nio/DoubleBuffer.java
4504 (hasArray): Only not read-only buffers have backing arrays.
4505 * java/nio/FloatBuffer.java
4506 (hasArray): Only not read-only buffers have backing arrays.
4507 * java/nio/IntBuffer.java
4508 (hasArray): Only not read-only buffers have backing arrays.
4509 * java/nio/LongBuffer.java
4510 (hasArray): Only not read-only buffers have backing arrays.
4511 * java/nio/ShortBuffer.java
4512 (hasArray): Only not read-only buffers have backing arrays.
4513
4514 2003-02-19 Michael Koch <konqueror@gmx.de>
4515
4516 * javax/accessibility/AccessibleContext.java
4517 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4518
4519 2003-02-19 Michael Koch <konqueror@gmx.de>
4520
4521 * java/awt/ScrollPaneAdjustable.java: Reformated.
4522
4523 2003-02-19 Michael Koch <konqueror@gmx.de>
4524
4525 * gnu/awt/j2d/Graphics2DImpl.java
4526 (getFontRenderContext): New method.
4527 (drawGlyphVector): New method.
4528 * java/awt/Graphics2D.java
4529 (getFontRenderContext): New abstract method.
4530 (drawGlyphVector): New abstract method.
4531
4532 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4533
4534 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4535 if necessary.
4536
4537 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4538 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4539 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4540 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4541 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4542 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4543 (setFont, gtkSetFont): add.
4544 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4545 Propagate font to peer. (setFont): add FIXME comment.
4546
4547 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4548 (gtkTextGetSize): fix height, width computation.
4549
4550 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4551 Make X font name a bit less bogus.
4552
4553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4554 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4555
4556 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4557 (processAdjustmentEvent): Adjust value.
4558
4559 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4560 logic errors.
4561
4562 * java/awt/Component.java (setVisible, show, hide): Call show and
4563 hide methods in subclasses.
4564 (getPreferredSize): don't set prefSize before we have peer.
4565
4566 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4567 Guess (0,0) if we don't have peer.
4568
4569
4570 2003-02-18 Michael Koch <konqueror@gmx.de>
4571
4572 * java/nio/channels/FileChannel.java
4573 (toString): New implementation, added documentation.
4574 (map): Added exception documentation.
4575 (size): Added exception documentation.
4576 (write): New methods, documentation work.
4577 (read): New methods, documentation work.
4578 (implCloseChannel): Rewrote exception documentation.
4579 (force): Throws IOException, added documentation.
4580 (lock): New methods.
4581 (tryLock): New methods.
4582 (position): New methods.
4583 (transferTo): New method.
4584 (transferFrom): New method.
4585 (truncate): New method.
4586 * java/nio/channels/spi/SelectorProvider.java
4587 (provider): Implemented.
4588 * Makefile.am
4589 (ordinary_java_source_files): Added the following files:
4590 gnu/java/nio/DatagramChannelImpl.java
4591 gnu/java/nio/FileChannelImpl.java
4592 gnu/java/nio/PipeImpl.java
4593 gnu/java/nio/SelectionKeyImpl.java
4594 gnu/java/nio/SelectorImpl.java
4595 gnu/java/nio/SelectorProviderImpl.java
4596 gnu/java/nio/ServerSocketChannelImpl.java
4597 gnu/java/nio/SocketChannelImpl.java
4598 java/nio/channels/FileLock.java
4599 (nat_java_source_files): Added the following files:
4600 gnu/java/nio/natFileChannelImpl.cc
4601 gnu/java/nio/natSelectorImpl.cc
4602 gnu/java/nio/natSocketChannelImpl.cc
4603 * Makefile.in: Regenerated.
4604
4605 2003-02-17 Tom Tromey <tromey@redhat.com>
4606
4607 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4608 * java/awt/image/ImageFilter.java: Likewise.
4609
4610 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4611
4612 * java/math/BigInteger.java (euclidInv): Return array of
4613 `BigInteger's. Changed all callers.
4614
4615 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4616
4617 * java/util/Properties.java (store): Move the code formerly in
4618 list(), into this method.
4619 (list (PrintStream)): Just call list (PrintWriter) with a
4620 PrintWriter object constructed from the given PrintStream object.
4621 (list (PrintWriter)): Emulate the output of Properties.list()
4622 as found in JDK 1.3/1.4.
4623
4624 2003-02-17 Michael Koch <konqueror@gmx.de>
4625
4626 * java/net/DatagramSocket.java
4627 (connect): Merged with classpath.
4628 (disconnect): Merged documentation with classpath.
4629 (receice): Merged documentation with classpath.
4630 (send): Merged documentation with classpath.
4631
4632 2003-02-17 Michael Koch <konqueror@gmx.de>
4633
4634 * java/awt/dnd/DragSourceContext.java
4635 (addDragSourceListener): Added documentation.
4636 * java/awt/dnd/DragSourceDragEvent.java
4637 (serialVersionUID): New member variable.
4638 (getDropAction): Reformated.
4639 * java/awt/dnd/DragSourceDropEvent.java
4640 (serialVersionUID): New member variable.
4641 (dropSuccess): Renamed from success for serialization issues.
4642 * java/awt/dnd/DragSourceEvent.java
4643 (serialVersionUID): New member variable.
4644 * java/awt/dnd/DropTarget.java
4645 (serialVersionUID): New member variable.
4646 (DropTarget): Implemented, documentation reworked.
4647 (setComponent): Documentation added.
4648 (getComponent): Documentation added.
4649 (setDefaultActions): Documentation added.
4650 (getDefaultActions): Documentation added.
4651 (addDropTargetListener): Documentation added.
4652 * java/awt/dnd/DropTargetContext.java
4653 (DropTargetContext): Documentation added.
4654 (TransferableProxy.TransferableProxy): New method.
4655 (dropComplete): Fixed documentation.
4656 (getTransferable): Fixed documentation.
4657 (createTransferableProxy): Implemented.
4658 * java/awt/dnd/DropTargetDragEvent.java
4659 (DropTargetDragEvent): Documentation added.
4660 (serialVersionUID): New member variable.
4661 (DropTargetDragEvent): Throw exceptions, documentation added.
4662 (acceptDrag): Implemented.
4663 (getCurrentDataFlavors): Implemented.3yy
4664 (getCurrentDataFlavorsAsList): Implemented.
4665 (isDataFlavorSupported): Implemented.
4666 (rejectDrag): Implemented.
4667 * java/awt/dnd/DropTargetDropEvent.java
4668 (DropTargetDropEvent): Documentation added.
4669 (serialVersionUID): New member variable.
4670 (actions): Renamed from srcActions for serialization issues.
4671 (isLocalTx): Renamed from isLocalTx for serialization issues.
4672 (DropTargetDropEvent): New implementation, throw exceptions,
4673 documentation added.
4674 (getCurrentDataFlavors): Implemented.
4675 (getCurrentDataFlavorsAsList): Implemented.
4676 (isDataFlavorSupported): Implemented.
4677 (getSourceActions): Implemented.
4678 (getDropAction): Implemented.
4679 (getTransferable): Implemented.
4680 (acceptDrop): Implemented.
4681 (rejectDrop): Implemented.
4682 * java/awt/dnd/DropTargetListener.java
4683 (drop): Fixed documentation.
4684 * java/awt/dnd/MouseDragGestureRecognizer.java
4685 (MouseDragGestureRecognizer): Documentation added.
4686
4687 2003-02-17 Michael Koch <konqueror@gmx.de>
4688
4689 * java/awt/font/FontRenderContext.java,
4690 java/awt/font/ShapeGraphicAttribute.java,
4691 java/awt/font/MultipleMaster.java,
4692 java/awt/font/TransformAttribute.java,
4693 java/awt/font/GlyphJustificationInfo.java,
4694 java/awt/font/LineBreakMeasurer.java,
4695 java/awt/font/TextMeasurer.java,
4696 java/awt/font/TextLayout.java,
4697 java/awt/font/LineMetrics.java,
4698 java/awt/font/TextAttribute.java,
4699 java/awt/font/GlyphMetrics.java,
4700 java/awt/font/OpenType.java,
4701 java/awt/font/GlyphVector.java,
4702 java/awt/font/GraphicAttribute.java,
4703 java/awt/font/ImageGraphicAttribute.java,
4704 java/awt/font/NumericShaper.java: New files.
4705 * Makefile.am
4706 (awt_java_source_files): Added the following files:
4707 java/awt/font/FontRenderContext.java
4708 java/awt/font/ShapeGraphicAttribute.java
4709 java/awt/font/MultipleMaster.java
4710 java/awt/font/TransformAttribute.java
4711 java/awt/font/GlyphJustificationInfo.java
4712 java/awt/font/LineBreakMeasurer.java
4713 java/awt/font/TextMeasurer.java
4714 java/awt/font/TextLayout.java
4715 java/awt/font/LineMetrics.java
4716 java/awt/font/TextAttribute.java
4717 java/awt/font/GlyphMetrics.java
4718 java/awt/font/OpenType.java
4719 java/awt/font/GlyphVector.java
4720 java/awt/font/GraphicAttribute.java
4721 java/awt/font/ImageGraphicAttribute.java
4722 java/awt/font/NumericShaper.java
4723 * Makefile.in: Regenerated.
4724
4725 2003-02-17 Michael Koch <konqueror@gmx.de>
4726
4727 * java/awt/print/Paper.java
4728 (Paper): Implements Cloneable.
4729 * java/awt/print/PrinterJob.java
4730 (setJobName): Return value must be void.
4731 (print): Throws PrinterException.
4732
4733 2003-02-16 Tom Tromey <tromey@redhat.com>
4734
4735 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4736 variable.
4737
4738 2003-02-15 Michael Koch <konqueror@gmx.de>
4739
4740 * java/awt/datatransfer/DataFlavor.java
4741 (isRepresentationClassByteBuffer): Removed try-catch block.
4742 (isRepresentationClassCharBuffer): Removed try-catch block.
4743 (isRepresentationClassReader): Removed try-catch block.
4744
4745 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4746
4747 * java/nio/charset/Charset.java
4748 (isRegistered): Fixed method args and implementation.
4749 * java/nio/charset/CharsetEncoder.java
4750 (unmappableCharacterAction): New method.
4751
4752 2003-02-15 Michael Koch <konqueror@gmx.de>
4753
4754 * java/awt/CheckboxMenuItem.java
4755 (CheckBoxMenuItem): Dont implement Serializable.
4756 (getListeners): New method,
4757 (getItemListeners): New method.
4758 * java/awt/Choice.java
4759 (getListeners): New method,
4760 (getItemListeners): New method.
4761 * java/awt/Container.java
4762 (getListeners): Added exception documentation.
4763 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4764 (getFocusTraversalKeys): Added documentation.
4765 (areFocusTraversalKeysSet): Added documentation.
4766 (applyComponentOrientation): Added documentation.
4767 * java/awt/ContainerOrderFocusTraversalPolicy.java
4768 (implicitDownCycleTraversal): Renamed from downCycle for
4769 serialization.
4770 (ContainerOrderFocusTraversalPolicy): Added documentation.
4771 (accept): Reformated.
4772 * java/awt/Dialog.java
4773 (Dialog): Dont implement Serializable.
4774 (Dialog): Added documentation.
4775 * java/awt/Font.java
4776 (Font): Dont use absolute class name.
4777 * java/awt/Frame.java
4778 (Frame): Font implement Serializable.
4779 * java/awt/List.java
4780 (getListeners): New method,
4781 (getActionListeners): New method.
4782 (getItemListeners): New method.
4783 * java/awt/Menu.java
4784 (countItems): New deprecated method.
4785 * java/awt/Scrollbar.java
4786 (getListeners): New method,
4787 (getAdjustmentListeners): New method,
4788 * java/awt/TextComponent.java
4789 (getListeners): New method,
4790 (getTextListeners): New method,
4791 * java/awt/TextField.java
4792 (getListeners): New method,
4793 (getActionListeners): New method.
4794 * java/awt/Window.java
4795 (windowFocusListener): New member variable.
4796 (windowStateListener): New member variable.
4797 (getWindowFocusListeners): New method.
4798 (getWindowStateListeners): New method.
4799 (addWindowFocusListener): New method.
4800 (addWindowStateListener): New method.
4801 (removeWindowFocusListener): New method.
4802 (removeWindowStateListener): New method.
4803 * java/awt/datatransfer/DataFlavor.java
4804 (isRepresentationClassByteBuffer): New method.
4805 (isRepresentationClassCharBuffer): New method.
4806 (isRepresentationClassReader): New method.
4807
4808 2003-02-14 Mark Wielaard <mark@klomp.org>
4809
4810 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4811 zero when there is an exponent and the significant is zero.
4812 (divide): Always set scale to newScale even in special ZERO case.
4813
4814 2003-02-14 Tom Tromey <tromey@redhat.com>
4815
4816 * java/lang/System.java (properties): Use Properties.clone.
4817 (setProperties): Likewise.
4818
4819 2003-02-14 Michael Koch <konqueror@gmx.de>
4820
4821 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4822 * gnu/java/nio/ServerSocketChannelImpl.java
4823 (SocketAccept): Removed.
4824 (accept): Commented out use of SocketAccept.
4825
4826 2003-02-13 Tom Tromey <tromey@redhat.com>
4827
4828 * verify.cc (state::seen_subrs): New field.
4829 (state::state): Initialize it.
4830 (state::clean_subrs): New method.
4831 (state::~state): Call it.
4832 (state::copy): Copy subroutine list.
4833 (state::add_subr): New method.
4834 (state::merge): Only register a change if the current subroutine
4835 hasn't yet been noted.
4836
4837 2003-02-13 Mark Wielaard <mark@klomp.org>
4838
4839 * java/io/InputStreamReader.java (getEncoding): Return null when
4840 closed.
4841 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4842
4843 2003-02-13 Mark Wielaard <mark@klomp.org>
4844
4845 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4846 is zero.
4847
4848 2003-02-13 Mark Wielaard <mark@klomp.org>
4849
4850 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4851 next byte cannot be buffered.
4852
4853 2003-02-13 Michael Koch <konqueror@gmx.de>
4854
4855 * java/awt/Label.java
4856 (Label): Don't implement Serializable directly.
4857 (addNotify): Fixed typo in documentation.
4858 * java/awt/List.java
4859 (List): Don't implement Serializable directly.
4860 * java/awt/PopupMenu.java
4861 (PopupMenu): Don't implement Serializable directly.
4862 * java/awt/ScrollPane.java
4863 (ScrollPane): Don't implement Serializable directly.
4864 * java/awt/Scrollbar.java
4865 (Scrollbar): Don't implement Serializable directly.
4866 * java/awt/TextArea.java
4867 (preferredSize): Fixed method arguments.
4868 * java/awt/TextField.java
4869 (TextField): Don't implement Serializable directly.
4870 * java/awt/color/ICC_ColorSpace.java
4871 (fromCIOXYZ): Documentation added.
4872 (getMinValue): Documentation added.
4873 (getMaxValue): Documentation added.
4874 * java/awt/datatransfer/DataFlavor.java
4875 (isMimeTypeEqual): May not be final.
4876 (clone): Throws CloneNotSupportedException.
4877 (getReaderForText): Don't throws UnsupportedEncodingException.
4878
4879 2003-02-13 Michael Koch <konqueror@gmx.de>
4880
4881 * gnu/java/awt/peer/gtk/GdkGraphics.java
4882 (drawString): New stubbed method.
4883 * java/awt/Graphics.java
4884 (drawString): New method.
4885
4886 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4887
4888 PR libgcj/9271:
4889 * java/security/SecureRandom.java (next): Avoid bias in results.
4890
4891 2003-02-13 Michael <konqueror@gmx.de>
4892
4893 * gnu/java/nio/FileChannelImpl.java
4894 (lengthInternal): Must be native.
4895 (size): Check if channel is already closed.
4896 (implCloseChannel): Reformated.
4897 (read): w was unused, removed it.
4898 (read): Removed.
4899 (read): New method.
4900 (write): New method.
4901 (map): Check arguments.
4902 (force): Throws IOException, check if channel is closed.
4903 (transferTo): New method.
4904 (transferFrom): New method.
4905 (lock): New method.
4906 (tryLock): New method.
4907 (position): New method.
4908 (truncate): New method.
4909 (nio_mmap_file): Uncommented.
4910 (nio_munmap_file): Uncommented.
4911 (nio_msync): Uncommented.
4912 * gnu/java/nio/natFileChannelImpl.cc: New file.
4913
4914 2003-02-13 Michael Koch <konqueror@gmx.de>
4915
4916 * java/nio/ByteBuffer.java
4917 (endian): New member variable.
4918 (get): New methods.
4919 (equals): New method.
4920 (compareTo): New method.
4921 (order): New methods.
4922 (compact): New method.
4923 (isDirect): New method.
4924 (slice): New method.
4925 (duplicate): New method.
4926 (asReadOnlyBuffer): New method.
4927 (asCharBuffer): New method.
4928 (asDoubleBuffer): New method.
4929 (asFloatBuffer): New method.
4930 (asIntBuffer): New method.
4931 (asLongBuffer): New method.
4932 (asShortBuffer): New method.
4933 (get*): New methods.
4934 (put*): New methods.
4935 (toString): New method.
4936 * java/nio/CharBuffer.java
4937 (CharBuffer): Implement Comparable instead of Cloneable.
4938 (get): May not be final.
4939 (put): May not be final.
4940
4941 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4942
4943 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4944 lastIndexOf( ) instead of indexOf( ) to find the colon before
4945 the line number, because Win32 file names might contain a
4946 drive letter and a colon at the start of an absolute path.
4947
4948 2003-02-13 Michael Koch <konqueror@gmx.de>
4949
4950 * gnu/java/nio/natSocketChannelImpl.cc
4951 (SocketConnect): This is not implemented yet.
4952 (SocketBind): This is not implemented yet.
4953
4954 2003-02-13 Michael Koch <konqueror@gmx.de>
4955
4956 * gnu/java/nio/natByteBufferImpl.cc,
4957 gnu/java/nio/natCharBufferImpl.cc,
4958 gnu/java/nio/natDoubleBufferImpl.cc,
4959 gnu/java/nio/natFloatBufferImpl.cc,
4960 gnu/java/nio/natIntBufferImpl.cc,
4961 gnu/java/nio/natLongBufferImpl.cc,
4962 gnu/java/nio/natShortBufferImpl.cc:
4963 Added copyright and license.
4964 * java/nio/DoubleBuffer.java,
4965 java/nio/FloatBuffer.java,
4966 java/nio/IntBuffer.java,
4967 java/nio/LongBuffer.java,
4968 java/nio/ShortBuffer.java
4969 (array): Throw exceptions.
4970 (arrayOffset): Throw exceptions.
4971
4972 2003-02-13 Michael Koch <konqueror@gmx.de>
4973
4974 * gnu/java/util/prefs/FileBasedFactory.java,
4975 gnu/java/util/prefs/MemmoryBasedFactory.java,
4976 gnu/java/util/prefs/MemoryBasedPreferences.java,
4977 gnu/java/util/prefs/NodeReader.java,
4978 gnu/java/util/prefs/NodeWriter.java,
4979 java/util/prefs/AbstractPreferences.java,
4980 java/util/prefs/BackingStoreException.java,
4981 java/util/prefs/InvalidPreferencesFormatException.java,
4982 java/util/prefs/NodeChangeEvent.java,
4983 java/util/prefs/NodeChangeListener.java,
4984 java/util/prefs/PreferenceChangeEvent.java,
4985 java/util/prefs/PreferenceChangeListener.java,
4986 java/util/prefs/Preferences.java,
4987 java/util/prefs/PreferencesFactory.java:
4988 New files, all merged from classpath.
4989 * Makefile.am
4990 (ordinary_java_source_files): Added the following files:
4991 gnu/java/util/prefs/FileBasedFactory.java,
4992 gnu/java/util/prefs/MemmoryBasedFactory.java,
4993 gnu/java/util/prefs/MemoryBasedPreferences.java,
4994 gnu/java/util/prefs/NodeReader.java,
4995 gnu/java/util/prefs/NodeWriter.java,
4996 (core_java_source_files): Added the following files:
4997 java/util/prefs/AbstractPreferences.java,
4998 java/util/prefs/BackingStoreException.java,
4999 java/util/prefs/InvalidPreferencesFormatException.java,
5000 java/util/prefs/NodeChangeEvent.java,
5001 java/util/prefs/NodeChangeListener.java,
5002 java/util/prefs/PreferenceChangeEvent.java,
5003 java/util/prefs/PreferenceChangeListener.java,
5004 java/util/prefs/Preferences.java,
5005 java/util/prefs/PreferencesFactory.java
5006 * Makefile.in: Regenerated.
5007
5008 2003-02-13 Michael Koch <konqueror@gmx.de>
5009
5010 * java/net/NetPermission.java
5011 (NetPermission): Make doucmentation match the method declaration.
5012 * java/net/NetworkInterface.java
5013 (equals): Reformated for GNU coding style.
5014 * java/net/ServerSocket.java: Merged with classpath.
5015 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5016 * java/net/SocketImpl.java
5017 (localPort): Merged with classpath (initialize with -1).
5018 * java/net/SocketPermission.java: Merged with classpath (reindented).
5019 * java/net/URLDecoder.java: Merged with classpath (reindented).
5020
5021 2003-02-13 Michael Koch <konqueror@gmx.de>
5022
5023 * java/awt/GridBagConstraints.java
5024 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5025 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5026 * java/awt/KeyboardFocusManager.java
5027 (setGlobalCurrentFocusCycleRoot): Must be public.
5028 * java/awt/MenuComponent.java
5029 (MenuComponent): Must be public.
5030 * java/awt/Toolkit.java:
5031 Added some empty lines to make documentation more readable.
5032 (getFontPeer): Added @deprecated.
5033 (getColorModel): Added exception documentation.
5034 (getProperty): Fixed documentation.
5035
5036 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5037
5038 * configure.host (alpha*-*): Default to -mieee.
5039 * configure.in (IEEESPEC): New.
5040 * libgcj.spec.in (jc1): Add IEEESPEC.
5041 * configure: Rebuild.
5042
5043 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5044
5045 * include/win32.h: Include ws2tcpip.h instead of
5046 winsock.h to obtain definition of the socklen_t type.
5047 Remove IP_TOS definition - not needed with ws2tcpip.h
5048 (_Jv_connect): Correct slight formatting error.
5049
5050 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5051
5052 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5053 size of the arguments for a JNI function. For Win32,
5054 modify to search for all forms of possible exported
5055 names of an stdcall JNI function.
5056 (_Jv_JNIMethod::call): Modify to calculate the size
5057 of the arguments passed to a JNI function and pass
5058 it to _Jv_LookupJNIMethod.
5059
5060 2003-02-12 Michael Koch <konqueror@gmx.de>
5061
5062 * java/nio/channels/Channels.java: New file.
5063 * Makefile.am
5064 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5065 * Makefile.in: Regenerated.
5066
5067 2003-02-12 Michael Koch <konqueror@gmx.de>
5068
5069 * java/nio/ByteBuffer.java
5070 (allocate): Implemented.
5071 (wrap): Implemented.
5072 * java/nio/CharBuffer.java:
5073 Some documentation added and reworked.
5074 (endian): Removed.
5075 (allocate): Implemented.
5076 (wrap): Implemented.
5077 (array): Throw exceptions.
5078 (arrayOffset): Throw exceptions.
5079 (toString): Implemented.
5080 (length): Implemented.
5081 (put): Implemented.
5082 (charAt): Implemented.
5083
5084 2003-02-11 John Leuner <jewel@debian.org>
5085
5086 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5087 reads from end of file.
5088
5089 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5090
5091 * java/io/natFileDescriptorWin32.cc
5092 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5093 returns with Win32 error code ERROR_BROKEN_PIPE.
5094
5095 2003-02-11 Michael Koch <konqueror@gmx.de>
5096
5097 * Makefile.in
5098 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5099
5100 2003-02-11 Michael Koch <konqueror@gmx.de>
5101
5102 * gnu/java/nio/ByteBufferImpl.java:
5103 Reformated and removed some code.
5104 (backing_buffer): Removed.
5105 (array_offset): Removed.
5106 (ro): Renamed to readOnly.
5107 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5108 * gnu/java/nio/CharBufferImpl.java:
5109 Reformated and removed some code.
5110 (array_offset): Removed.
5111 (ro): Renamed to readOnly.
5112 (CharBufferImpl): Use parent constructor, initialize readOnly.
5113 (inc_pos): Removed.
5114 (order): New method.
5115 * gnu/java/nio/DoubleBufferImpl.java:
5116 Reformated and removed some code.
5117 (array_offset): Removed.
5118 (ro): Renamed to readOnly.
5119 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5120 (inc_pos): Removed.
5121 (order): New method.
5122 * gnu/java/nio/FloatBufferImpl.java:
5123 Reformated and removed some code.
5124 (array_offset): Removed.
5125 (ro): Renamed to readOnly.
5126 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5127 (inc_pos): Removed.
5128 (order): New method.
5129 * gnu/java/nio/IntBufferImpl.java:
5130 Reformated and removed some code.
5131 (array_offset): Removed.
5132 (ro): Renamed to readOnly.
5133 (IntBufferImpl): Use parent constructor, initialize readOnly.
5134 (inc_pos): Removed.
5135 (order): New method.
5136 * gnu/java/nio/LongBufferImpl.java:
5137 Reformated and removed some code.
5138 (array_offset): Removed.
5139 (ro): Renamed to readOnly.
5140 (LongBufferImpl): Use parent constructor, initialize readOnly.
5141 (inc_pos): Removed.
5142 (order): New method.
5143 * gnu/java/nio/ShortBufferImpl.java:
5144 Reformated and removed some code.
5145 (array_offset): Removed.
5146 (ro): Renamed to readOnly.
5147 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5148 (inc_pos): Removed.
5149 (order): New method.
5150 * Makefile.am
5151 (ordinary_java_source_files): Added the following files:
5152 gnu/java/nio/ByteBufferImpl.java
5153 gnu/java/nio/CharBufferImpl.java
5154 gnu/java/nio/DoubleBufferImpl.java
5155 gnu/java/nio/FloatBufferImpl.java
5156 gnu/java/nio/IntBufferImpl.java
5157 gnu/java/nio/LongBufferImpl.java
5158 gnu/java/nio/ShortBufferImpl.java
5159 java/nio/DoubleBuffer.java
5160 java/nio/FloatBuffer.java
5161 java/nio/IntBuffer.java
5162 java/nio/LongBuffer.java
5163 java/nio/ShortBuffer.java
5164 (nat_source_files): Added the following files:
5165 gnu/java/nio/natByteBufferImpl.cc
5166 gnu/java/nio/natCharBufferImpl.cc
5167 gnu/java/nio/natDoubleBufferImpl.cc
5168 gnu/java/nio/natFloatBufferImpl.cc
5169 gnu/java/nio/natIntBufferImpl.cc
5170 gnu/java/nio/natLongBufferImpl.cc
5171 gnu/java/nio/natShortBufferImpl.cc
5172 * Makefile.in: Regenerated.
5173
5174 2003-02-11 Michael Koch <konqueror@gmx.de>
5175
5176 * gnu/java/nio/natCharBufferImpl.cc
5177 (nio_cast): Removed.
5178 (nio_put_*): Removed.
5179 (nio_get_*): Removed.
5180 * gnu/java/nio/natDoubleBufferImpl.cc
5181 (nio_cast): Removed.
5182 (nio_put_*): Removed.
5183 (nio_get_*): Removed.
5184 * gnu/java/nio/natFloatBufferImpl.cc
5185 (nio_cast): Removed.
5186 (nio_put_*): Removed.
5187 (nio_get_*): Removed.
5188 * gnu/java/nio/natIntBufferImpl.cc
5189 (nio_cast): Removed.
5190 (nio_put_*): Removed.
5191 (nio_get_*): Removed.
5192 * gnu/java/nio/natLongBufferImpl.cc
5193 (nio_cast): Removed.
5194 (nio_put_*): Removed.
5195 (nio_get_*): Removed.
5196 * gnu/java/nio/natShortBufferImpl.cc
5197 (nio_cast): Removed.
5198 (nio_put_*): Removed.
5199 (nio_get_*): Removed.
5200 * gnu/java/nio/SelectorProviderImpl.java
5201 (openDatagramChannel): Throws IOException.
5202 (openPipe): Throws IOException.
5203 (openSelector): Throws IOException.
5204 (openServerSocketChannel): Throws IOException.
5205 (openSocketChannel): Throws IOException.
5206 * gnu/java/nio/ServerSocketChannelImpl.java
5207 (ServerSocketChannelImpl): Throws IOException.
5208 (implCloseSelectableChannel): Throws IOException.
5209 (implConfigureBlocking): Throws IOException.
5210 * java/nio/ByteBuffer.java
5211 (readOnly): Removed.
5212 (hasArray): Use isReadOnly() instead of readOnly.
5213 (array): Use isReadOnly() instead of readOnly.
5214 (arrayOffset): Use isReadOnly() instead of readOnly.
5215 * java/nio/CharBuffer.java
5216 (CharBuffer): Implements Cloneable and CharSequence.
5217
5218 2003-02-11 Michael Koch <konqueror@gmx.de>
5219
5220 * java/nio/DoubleBuffer.java
5221 (DoubleBuffer): Implements Comparable.
5222 (endian): Removed.
5223 (array_offset): New member variable.
5224 (DoubleBuffer): New constuctor.
5225 (get): May not be final.
5226 (put): May not be final.
5227 (arrayOffset): Implemented.
5228 (order): Made abstract.
5229 (order): Removed.
5230 (as*Buffer): Removed.
5231 (get*): Removed.
5232 (put*): Removed.
5233 * java/nio/FloatBuffer.java
5234 (FloatBuffer): Implements Comparable.
5235 (endian): Removed.
5236 (array_offset): New member variable.
5237 (FloatBuffer): New constuctor.
5238 (get): May not be final.
5239 (put): May not be final.
5240 (arrayOffset): Implemented.
5241 (order): Made abstract.
5242 (order): Removed.
5243 (as*Buffer): Removed.
5244 (get*): Removed.
5245 (put*): Removed.
5246 * java/nio/IntBuffer.java
5247 (IntBuffer): Implements Comparable.
5248 (endian): Removed.
5249 (array_offset): New member variable.
5250 (IntBuffer): New constuctor.
5251 (get): May not be final.
5252 (put): May not be final.
5253 (arrayOffset): Implemented.
5254 (order): Made abstract.
5255 (order): Removed.
5256 (as*Buffer): Removed.
5257 (get*): Removed.
5258 (put*): Removed.
5259 * java/nio/LongBuffer.java
5260 (LongBuffer): Implements Comparable.
5261 (endian): Removed.
5262 (array_offset): New member variable.
5263 (LongBuffer): New constuctor.
5264 (get): May not be final.
5265 (put): May not be final.
5266 (arrayOffset): Implemented.
5267 (order): Made abstract.
5268 (order): Removed.
5269 (as*Buffer): Removed.
5270 (get*): Removed.
5271 (put*): Removed.
5272 * java/nio/ShortBuffer.java
5273 (ShortBuffer): Implements Comparable.
5274 (endian): Removed.
5275 (array_offset): New member variable.
5276 (ShortBuffer): New constuctor.
5277 (get): May not be final.
5278 (put): May not be final.
5279 (arrayOffset): Implemented.
5280 (order): Made abstract.
5281 (order): Removed.
5282 (as*Buffer): Removed.
5283 (get*): Removed.
5284 (put*): Removed.
5285
5286 2003-02-11 Michael Koch <konqueror@gmx.de>
5287
5288 * java/nio/channels/SelectionKey.java
5289 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5290 values.
5291
5292 2003-02-11 Michael Koch <konqueror@gmx.de>
5293
5294 * java/nio/channels/DatagramChannel.java
5295 (write): Throws IOException.
5296 (connect): Throws IOException.
5297 (disconnect): Throws IOException.
5298 (read): Throws IOException.
5299 (receive): Throws IOException.
5300 (send): Throws IOException.
5301 * java/nio/channels/Pipe.java
5302 (open): Throws IOException.
5303 * java/nio/channels/SelectableChannel.java
5304 (configureBlocking): Throws IOException.
5305 * java/nio/channels/ServerSocketChannel.java
5306 (accept): Throws IOException.
5307 * java/nio/channels/SocketChannel.java
5308 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5309 GatheringByteChannel.
5310 (read): Throws IOException.
5311 (write): Throws IOException.
5312 (finishConnect): Throws IOException.
5313 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5314 (end): Throws AsynchronousCloseException.
5315 * java/nio/channels/spi/AbstractSelectableChannel.java
5316 (configureBlocking): Throws IOException.
5317 (implCloseChannel): Throws IOException.
5318 (implCloseSelectableChannel): Throws IOException.
5319 (implConfigureBlocking): Throws IOException.
5320 * java/nio/channels/spi/SelectorProvider.java
5321 (openDatagramChannel): Throws IOException.
5322 (openPipe): Throws IOException.
5323 (openSelector): Throws IOException.
5324 (openServerSocketChannel): Throws IOException.
5325 (openSocketChannel): Throws IOException.
5326
5327 2003-02-11 Michael Koch <konqueror@gmx.de>
5328
5329 * gnu/java/nio/FileLockImpl.java,
5330 java/nio/channels/FileLock.java: New files.
5331
5332 2003-02-11 Michael Koch <konqueror@gmx.de>
5333
5334 * java/nio/charset/IllegalCharsetNameException.java
5335 (serialVersionUID): New member variable.
5336 (charsetName): New member variable.
5337 (IllegalCharsetException): New implementation.
5338 (getCharsetName): New implementation.
5339 * java/nio/charset/UnsupportedCharsetException.java
5340 (serialVersionUID): New member variable.
5341 (charsetName): New member variable.
5342 (UnsupportedCharsetException): New implementation.
5343 (getCharsetName): New implementation.
5344
5345 2003-02-10 Tom Tromey <tromey@redhat.com>
5346
5347 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5348 (ex): Renamed from sqlException.
5349
5350 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5351
5352 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5353 method used to ensure seeding has occurred and that a specific
5354 seed can be set and used.
5355
5356 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5357
5358 * java/lang/Win32Process.java (destroy): Declare as native.
5359 (hasExited): New native method.
5360 (exitValue): Define.
5361 (getErrorStream): Likewise.
5362 (getInputStream): Likewise.
5363 (getOutputStream): Likewise.
5364 (waitFor): Declare as native.
5365 (startProcess): New native method.
5366 (cleanup): Likewise.
5367 (ConcreteProcess): Define.
5368 (outputStream, inputStream, errorStream): New members.
5369 (procHandle, exitCode): Likewise.
5370
5371 * java/lang/natWin32Process.cc
5372 (java::lang::ConcreteProcess::cleanup): Define.
5373 (java::lang::ConcreteProcess::destroy): Likewise.
5374 (java::lang::ConcreteProcess::hasExited): Likewise.
5375 (java::lang::ConcreteProcess::waitFor): Likewise.
5376 (new_string): Likewise.
5377 (java::lang::ConcreteProcess::startProcess): Likewise.
5378
5379 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5380
5381 * java/math/BigInteger.java:
5382 Updated notice to include years 2002 and 3.
5383 Added 2 private (int) arrays with values from the HAC (Handbook of
5384 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5385 and t[] that contains nbr. of tests --used in isProbablePrime().
5386
5387 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5388
5389 * java/math/BigInteger.java (make(int[],int), add(int,int),
5390 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5391 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5392 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5393 make(long).
5394
5395 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5396 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5397 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5398 BIs and returns void.
5399 (modInverse(BI)): Use new signatures of euclidInv().
5400
5401 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5402 static small primes instead of remainder().
5403 Use pre-computed max nbr of trials based on bitlength of BI to test.
5404 Use pre-computed small primes for the trial tests instead of random
5405 numbers.
5406
5407 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5408 not used.
5409
5410 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5411 invoacation of MPN.chars_per_word(). not used.
5412
5413 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5414 local var and used where needed.
5415
5416 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5417 Combined declaration with initialisation of locals.
5418 Removed unused var.
5419
5420 * java/math/BigInteger.java: Style changes
5421 (pow(int)): Removed 'else' keyword.
5422 (toString(int)): idem.
5423 (doubleValue()): idem.
5424 (bitLength()): idem.
5425 (equals(Object)): Use static methods name in same class w/o prepending
5426 class name.
5427 (doubleValue()): idem.
5428 (setNegative(BI)): idem.
5429 (negate()): idem.
5430 (and(BI,int)): idem.
5431 (and(BI)): idem.
5432 (gcd(BI)): idem.
5433 (byteArrayToIntArray()): Removed casting to (int). this is
5434 std. behaviour.
5435 (canonicalize()): idem.
5436 (alloc(int)): Always instantiate a new BI.
5437
5438 2003-02-10 Tom Tromey <tromey@redhat.com>
5439
5440 * java/sql/Timestamp.java (compareTo(Object)): New method.
5441 (compareTo(Timestamp)): Likewise.
5442 (serialVersionUID): Updated.
5443
5444 2003-02-07 Mark Wielaard <mark@klomp.org>
5445
5446 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5447 when verify is true.
5448 (JarFile(File, boolean)): Likewise.
5449 (manifestRead): Set manifestRead field correctly.
5450
5451 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5452
5453 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5454 tests; see patch #1016 on Savannah.
5455
5456 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5457
5458 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5459 (toString): do not return Strings starting with . and - erroneously.
5460 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5461 DiagBigDecimal.
5462
5463 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5464
5465 * java/beans/PropertyDescriptor.java
5466 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5467 methods.
5468 (PropertyDescriptor(String, Class, String, String)): Likewise.
5469 (PropertyDescriptor(String, Method, Method): Factor out getter and
5470 setter method sanity checks into new method.
5471 (findMethods): Don't do parameter sanity checking of get method here.
5472 (checkMethods): New method.
5473
5474 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5475
5476 * java/beans/PropertyDescriptor.java: Reformat.
5477
5478 2003-02-04 Tom Tromey <tromey@redhat.com>
5479
5480 * java/io/PipedOutputStream.java (flush): Declare as throwing
5481 IOException.
5482 (close): Likewise.
5483 * java/io/PipedWriter.java (close): Declare as throwing
5484 IOException.
5485 * java/io/StringWriter.java (close): Declare as throwing
5486 IOException.
5487
5488 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5489
5490 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5491 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5492 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5493 "_JNI_OnLoad@8" (MSVC).
5494
5495 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5496
5497 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5498 convention on Win32 to invoke native JNI methods.
5499
5500 2003-02-03 Andrew Haley <aph@redhat.com>
5501
5502 * configure.host (x86_64): Enable interpreter.
5503
5504 2003-02-03 Andrew Haley <aph@redhat.com>
5505
5506 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5507 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5508 * configure.in (BACKTRACESPEC): New.
5509 * configure: Regenerate.
5510
5511 2003-02-02 Tom Tromey <tromey@redhat.com>
5512
5513 * configure: Rebuilt.
5514 * configure.in (TOOLKIT) [xlib]: Set correctly.
5515
5516 * Makefile.in: Rebuilt.
5517 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5518 libstdc++.
5519
5520 2003-01-31 Mark WIelaard <mark@klomp.org>
5521
5522 * Makefile.in: Rebuilt.
5523 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5524
5525 2003-01-31 Tom Tromey <tromey@redhat.com>
5526
5527 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5528 cast to element type.
5529 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5530 (_Jv_JNI_GetObjectArrayElement): Likewise.
5531
5532 * Makefile.in: Rebuilt.
5533 * Makefile.am (cond_x_ltlibrary): Renamed library to
5534 lib-gnu-awt-xlib.la.
5535 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5536 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5537 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5538 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5539 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5540 (lib_gnu_awt_xlib_la_LINK): Likewise.
5541 (install-exec-hook): Removed.
5542 (lib-gnu-awt-xlib.la): Renamed.
5543
5544 2003-01-31 Tom Tromey <tromey@redhat.com>
5545
5546 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5547 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5548 aclocal.m4 and lost in some merge.
5549
5550 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5551 Don't try to find graphics configuration.
5552 * java/awt/Toolkit.java (default_toolkit_name): Use new
5553 Configuration entry.
5554 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5555 New global.
5556 * configure: Rebuilt.
5557 * configure.in (TOOLKIT): New subst.
5558 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5559 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5560 directory. Make output directories for .c files.
5561 * Makefile.in: Rebuilt.
5562 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5563 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5564 (all_java_source_files): Added new sources.
5565 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5566 (gtk_c_files): New macro.
5567 (gtk_c_source_files): New macro.
5568 (cond_gtk_ltlibrary): New macro.
5569 ($(gtk_c_files)): New target.
5570 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5571 (gtk_awt_peer_sources): New macro.
5572 (gtk_c_headers): New macro.
5573 ($(gtk_c_headers)): New target.
5574 (ACLOCAL_AMFLAGS): New macro.
5575 * gtk.m4, glib.m4, libart.m4: New files.
5576 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5577 gnu/java/awt/peer/gtk/GdkGraphics.java,
5578 gnu/java/awt/peer/gtk/GtkArg.java,
5579 gnu/java/awt/peer/gtk/GtkArgList.java,
5580 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5581 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5582 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5583 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5584 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5585 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5586 gnu/java/awt/peer/gtk/GtkClipboard.java,
5587 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5588 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5589 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5590 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5591 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5592 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5593 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5594 gnu/java/awt/peer/gtk/GtkImage.java,
5595 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5596 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5597 gnu/java/awt/peer/gtk/GtkListPeer.java,
5598 gnu/java/awt/peer/gtk/GtkMainThread.java,
5599 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5600 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5601 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5602 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5603 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5604 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5605 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5606 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5607 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5608 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5609 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5610 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5611 gnu/java/awt/peer/gtk/GtkToolkit.java,
5612 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5613 gnu/java/awt/peer/gtk/TestAWT.java,
5614 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5616 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5617 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5618 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5619 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5620 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5621 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5622 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5623 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5624 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5625 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5626 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5627 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5628 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5629 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5630 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5631 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5632 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5633 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5634 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5635 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5636 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5637 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5638 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5639 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5640 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5641 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5642 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5643 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5644 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5645 jni/classpath/native_state.c, jni/classpath/native_state.h,
5646 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5647
5648 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5649
5650 * java/util/Properties.java (load): Ignore backslash before EOF.
5651
5652 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5653
5654 * java/lang/natClass.cc (initializeClass): Check tables when
5655 (state == JV_STATE_IN_PROGRESS).
5656 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5657 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5658 interpreted classes.
5659 (linkClass0): Use _Jv_WaitForState.
5660
5661 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5662
5663 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5664 object when finished.
5665
5666 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5667
5668 * libjava/configure.host: Disable can_unwind_signal on darwin.
5669
5670 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5671
5672 Fixes PR java/9254:
5673 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5674 additionally containing id of the owner thread as well as
5675 the number of nested times the thread has acquired the mutex.
5676 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5677 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5678 (_Jv_MutexUnlock): Check if really the owner thread, reset
5679 owner thread id to 0 before leaving, if leaving for the last
5680 time.
5681 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5682 refcount.
5683 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5684 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5685 the passed mutex.
5686 Pass handle of the broadcast event, instead of a pointer to it
5687 in Win32 ResetEvent( ) call.
5688 Remove incorrect return values.
5689 (_Jv_CondDestroy): Close both event handles and delete
5690 critical section.
5691 (_Jv_CondNotify): Check if really the owner thread.
5692 (_Jv_CondNotifyAll): Check if really the owner thread.
5693 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5694 (really_start): Use SetEvent( ) to signal daemon_cond.
5695 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5696 WaitForSingleObject( ) instead to wait for daemon_cond to be
5697 signalled.
5698
5699 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5700
5701 * configure.in: Specifically define HAVE_BACKTRACE if building
5702 for MinGW.
5703 * include/win32.h: Remove HAVE_BACKTRACE definition.
5704 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5705 * configure: Rebuilt.
5706
5707 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5708
5709 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5710 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5711 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5712 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5713 * Makefile.in, configure: Rebuilt.
5714
5715 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5716
5717 Fixes PR java/9253:
5718 * java/io/natFileWin32.cc (performList): Append only "*.*"
5719 if the canonical file path already has a "\" at the end.
5720
5721 2003-01-24 Tom Tromey <tromey@redhat.com>
5722
5723 * defineclass.cc (handleMethodsEnd): Precompute code for static
5724 method.
5725 (handleCodeAttribute): Likewise.
5726 * resolve.cc (ncode): Use run_class for unsynchronized static
5727 methods.
5728 * include/java-interp.h (class _Jv_InterpMethod): Declare
5729 run_class.
5730 * interpret.cc (run_synch_class): Initialize class.
5731 (run) [insn_invokestatic]: Don't initialize class.
5732 [insn_anewarray]: Likewise.
5733 [insn_multianewarray]: Likewise.
5734 (run_class): New function.
5735
5736 2003-01-24 Tom Tromey <tromey@redhat.com>
5737
5738 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5739 comment.
5740
5741 2003-01-22 Andrew Haley <aph@redhat.com>
5742
5743 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5744 * configure.host (CHECKREFSPEC): Define for x86_64.
5745
5746 2003-01-21 Tom Tromey <tromey@redhat.com>
5747
5748 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5749 search at 2, not 3.
5750
5751 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5752
5753 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5754 looking at any characters.
5755 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5756 be used.
5757 (isAbsolute): Check path's length as well.
5758
5759 2003-01-17 Mark Wielaard <mark@klomp.org>
5760
5761 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5762 (nat_source_files): Add natVMObjectStreamClass.cc.
5763 * Makefile.in: Regenerated.
5764 * gcj/javaprims.h (namespace java): Regenerated.
5765 * java/io/ObjectStreamClass.java (getClassUID): Call
5766 VMObjectStreamClass.hasClassInitializer().
5767 (hasClassInitializer): Removed.
5768 * java/io/VMObjectStreamClass.java: New class.
5769 * java/io/natVMObjectStreamClass.cc: New file.
5770 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5771
5772 2003-01-16 Mark Wielaard <mark@klomp.org>
5773
5774 * java/net/SocketImpl.java (toString): Don't explicitly call
5775 toString() on possible null address.
5776
5777 2003-01-16 Michael Koch <konqueror@gmx.de>
5778
5779 * java/net/MulticastSocket.java
5780 (setInterface): Reindented.
5781
5782 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5783
5784 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5785 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5786 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5787 translateY arguments. Implement.
5788 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5789 down translation arguments.
5790 (drawPolyline, drawPolygon): Fix incorrect tests.
5791 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5792 translateX and translateY arguments.
5793
5794 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5795
5796 * Makefile.in: Rebuilt.
5797 * Makefile.am (xlib_includes): New macro.
5798 (INCLUDES): Use it.
5799
5800 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5801
5802 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5803 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5804 16-bit display mode.
5805
5806 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5807
5808 * java/awt/CardLayout.java (show): Rewrote.
5809 (gotoComponent): Removed `target' argument. Simplified code.
5810 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5811 Changed all callers.
5812 (NONE): Removed.
5813
5814 2003-01-14 Michael Koch <konqueror@gmx.de>
5815
5816 * java/net/InetSocketAddress.java
5817 (serialVersionUID): New member variable.
5818 * java/net/NetPermission.java
5819 (NetPermission): Dont implement java.io.Serialization directly.
5820 * java/net/SocketAddress.java:
5821 (serialVersionUID): Documentation added.
5822
5823 2003-01-14 Michael Koch <konqueror@gmx.de>
5824
5825 * java/awt/Label.java
5826 (Label): Implements javax.accessibility.Accessible;
5827 * java/awt/List.java
5828 (List): Implements javax.accessibility.Accessible;
5829 * java/awt/ScrollPane.java
5830 (ScrollPane): Implements javax.accessibility.Accessible;
5831 * java/awt/Scrollbar.java
5832 (Scrollbar): Implements javax.accessibility.Accessible;
5833 * java/awt/TextComponent.java
5834 (setCaretPosition): Throw exception, documentation added.
5835 * java/awt/Toolkit.java:
5836 Added some newlines in method documentations.
5837 (createButton): Exception documentation added.
5838 (createTextField): Exception documentation added.
5839 (createLabel): Exception documentation added.
5840 (createList): Exception documentation added.
5841 (createCheckbox): Exception documentation added.
5842 (createScrollbar): Exception documentation added.
5843 (createScrollPane): Exception documentation added.
5844 (createTextArea): Exception documentation added.
5845 (createChoice): Exception documentation added.
5846 (createFrame): Exception documentation added.
5847 (createWindow): Exception documentation added.
5848 (createDialog): Exception documentation added.
5849 (createMenuBar): Exception documentation added.
5850 (createMenu): Exception documentation added.
5851 (createMenuItem): Exception documentation added.
5852 (createFileDialog): Exception documentation added.
5853 (createCheckboxMenuItem): Exception documentation added.
5854 (loadSystemColors): Exception documentation added.
5855 (setDynamicLayout): Exception documentation added.
5856 (isDynamicLayoutSet): Exception documentation added.
5857 (isDynamicLayoutActive): Exception documentation added.
5858 (getScreenSize): Exception documentation added.
5859 (getScreenResolution): Exception documentation added.
5860 (getScreenInsets): Exception documentation added.
5861 (getColorModel): Exception documentation added.
5862 (getSystemClipboard): Exception documentation added.
5863 (getSystemSelection): Exception documentation added.
5864 (getMenuShortcutKeyMask): Exception documentation added.
5865 (getSystemEventQueue): Exception documentation added.
5866 * java/awt/Window.java:
5867 Reindented some code.
5868 (Window): Centralized implementation, documentation added.
5869 (finalize): Documentation added.
5870 (hide): Fixed typo in comment.
5871 (getWindowListeners): Documentation added.
5872 * java/awt/color/ColorSpace.java
5873 (toRGB): Documentation added.
5874 * java/awt/color/ICC_ColorSpace.java
5875 (ICC_ColorSpace): Documentation added.
5876 (toRGB): Throw exception, documentation added.
5877 (fromRGB): Throw exception, documentation added.
5878 (toCIEXYZ): Documentation added.
5879 (fromCIEXYZ): Documentation added.
5880 (getMinValue): Documentation added.
5881 (getMaxValue): Documentation added.
5882 * java/awt/geom/Dimension2D.java
5883 (clone): Documentation added.
5884 * java/awt/geom/GeneralPath.java
5885 (clone): Documentation added.
5886 * java/awt/geom/Line2D.java
5887 (clone): Documentation added.
5888 * java/awt/geom/QuadCurve2D.java
5889 (clone): Documentation added.
5890 * java/awt/image/ColorModel.java
5891 (ColorModel): Throw exception, documentation added.
5892 * java/awt/image/ImageFilter.java
5893 (clone): Doesnt throw CloneNotSupportedException.
5894
5895 2003-01-14 Andrew Haley <aph@redhat.com>
5896
5897 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5898 in a try block.
5899
5900 2003-01-10 Andrew Haley <aph@redhat.com>
5901
5902 * include/dwarf2-signal.h: Remove x86_64.
5903 * configure.host (x86_64 DIVIDESPEC): Remove.
5904 * include/x86_64-signal.h: New file.
5905 * configure.in: Regenerate.
5906
5907 2003-01-10 Michael Koch <konqueror@gmx.de>
5908
5909 * java/net/DatagramSocket.java
5910 (ch): Description added.
5911 (remotePort): Initialize with -1.
5912 (connect): Doesnt throws SocketException.
5913 * java/net/MulticastSocket.java
5914 (setInterface): Merge with Classpath.
5915 * java/net/ServerSocket.java
5916 (closed): New member variable.
5917 (bind): Check if socket is closed.
5918 (close): Close an associated channel too, set new value to closed.
5919 (isBound): Reindented.
5920 (isClosed): Implemented.
5921 * java/net/Socket.java
5922 (closed): New member variable.
5923 (bind): Check if socket is closed.
5924 (connect): Check if socket is closed.
5925 (close): Close an associated channel too, set new value to closed.
5926 (isClosed): Implemented.
5927
5928 2003-01-10 Michael Koch <konqueror@gmx.de>
5929
5930 * java/awt/DisplayMode.java
5931 (equals): Fixed argument type and implementation.
5932
5933 2003-01-07 Tom Tromey <tromey@redhat.com>
5934
5935 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5936 JV_HASH_SYNCHRONIZATION.
5937 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5938 JV_HASH_SYNCHRONIZATION.
5939
5940 2003-01-07 Michael Koch <konqueror@gmx.de>
5941
5942 * java/net/DatagramSocket.java:
5943 Added classpath license info.
5944 (DatagramSocket): Merged description with classpath.
5945 (close): Merged description with classpath.
5946 (getChannel): Merged description with classpath.
5947 (getInetAddress): Merged description with classpath.
5948 (getPort): Merged description with classpath.
5949 (getLocalAddress): Merged description with classpath.
5950 (getLocalPort): Merged description with classpath.
5951 (getSoTimeout): Merged description with classpath.
5952 (setSoTimeout): Merged description with classpath.
5953 (getSendBufferSize): Merged description with classpath.
5954 (setSendBufferSize): Merged description with classpath.
5955 (getReceiveBufferSize): Merged description with classpath.
5956 (setReceiveBufferSize): Merged description with classpath.
5957
5958 2003-01-04 Tom Tromey <tromey@redhat.com>
5959
5960 * java/awt/List.java: Merged with Classpath.
5961
5962 2003-01-03 Mark Wielaard <mark@klomp.org>
5963
5964 * java/io/FileDescriptor.java (position): New private field.
5965 * java/io/natFileDescriptorPosix.cc (write): Up position.
5966 (setLength): Use and set position.
5967 (seek): Set position.
5968 (getFilePointer): Return position.
5969 (read): Up position.
5970
5971 2003-01-03 Mark Wielaard <mark@klomp.org>
5972
5973 Merge with Classpath:
5974 * java/io/ObjectStreamClass.java (lookup): Split method and call
5975 lookupForClassObject().
5976 (lookupForClassObject): New method.
5977 (isProxyClass): New field.
5978 (setClass): Set isProxyClass, add object to classLookupTable, set
5979 superClass and calculateOffsets.
5980 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5981 and not a proxy class.
5982 (setFields): Set accessible true for serialPersistentFields.
5983 (getClassUID): Same for suid. And check if suid is of type long.
5984 (hasClassInitializer): Don't throw NoSuchMethodError.
5985
5986 2003-01-03 Mark Wielaard <mark@klomp.org>
5987
5988 * java/io/FileInputStream.java (finalize): Don't explicitly
5989 finalize FileDescriptor.
5990
5991 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5992
5993 * configure.host (sparc*-*): Enable bytecode interpreter.
5994
5995 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5996
5997 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5998 Don't throw RemoteException.
5999 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6000 throw RemoteException.
6001
6002 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6003
6004 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6005 proxyHost): New static fields.
6006 (<clinit>): Initialize new fields.
6007 (connect): Use proxy if necessary.
6008 (usingProxy): Implement.
6009
6010 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6011
6012 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6013 (TreeIterator.remove): Prefer IllegalStateException over
6014 ConcurrentModificationException, to match Sun.
6015
6016 2002-12-22 Anthony Green <green@redhat.com>
6017
6018 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6019
6020 2003-01-02 Mark Wielaard <mark@klomp.org>
6021
6022 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6023 public.
6024 (HTTP_USE_PROXY): Add field.
6025 (getResponseVals): Only set responseCode when not yet explicitly
6026 set by subclass.
6027
6028 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6029 Mark Wielaard <mark@klomp.org>
6030
6031 * java/util/zip/ZipFile.java (entries): Now HashMap.
6032 (readLeShort(DataInput, byte[])): Read from given byte array.
6033 (readLeInt(DataInput, byte[]): Likewise.
6034 (readLeShort(byte[] b, int off)): New method.
6035 (readLeInt(byte[] b, int off)): Likewise.
6036 (readEntries): Use byte arrays to read info in bigger chunks.
6037 (getEntries): Return HashMap.
6038 (getEntry): Use HashMap.
6039 (locBuf): New private field.
6040 (checkLocalHeader): Use locBuf to read info in one chunk.
6041 (getInputStream): Use entries HashMap, wrap PartialInputStream
6042 in BufferedInputStream.
6043 (ZipEntryEnumeration): Use HashMap and Interator.
6044
6045 2003-01-02 Mark Wielaard <mark@klomp.org>
6046 Jeroen Frijters <jeroen@sumatra.nl>
6047
6048 * java/net/URLClassLoader.java (Resource.getCodeSource):
6049 Fix check certs == null.
6050 (getCanonicalFileURL): Removed method.
6051 (JarURLLoader): Don't call removed method.
6052 (FileURLLoader): Likewise.
6053 (FileURLLoader.getResource): Don't canonicalize file name.
6054
6055 2003-01-01 Tom Tromey <tromey@redhat.com>
6056
6057 * Makefile.in: Rebuilt.
6058 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6059 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6060 java/awt/BufferCapabilities.java, java/awt/Button.java,
6061 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6062 java/awt/Container.java, java/awt/Cursor.java,
6063 java/awt/EventQueue.java, java/awt/FileDialog.java,
6064 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6065 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6066 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6067 java/awt/Scrollbar.java, java/awt/TextArea.java,
6068 java/awt/TextField.java, java/awt/color/CMMException.java,
6069 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6070 java/awt/color/ProfileDataException.java,
6071 java/awt/datatransfer/Clipboard.java,
6072 java/awt/datatransfer/DataFlavor.java,
6073 java/awt/datatransfer/FlavorMap.java,
6074 java/awt/datatransfer/SystemFlavorMap.java,
6075 java/awt/dnd/DragGestureEvent.java,
6076 java/awt/dnd/DragGestureRecognizer.java,
6077 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6078 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6079 java/awt/im/InputMethodHighlight.java,
6080 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6081 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6082
6083 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6084 `op' to BufferedImageOp.
6085
6086 2002-12-31 Tom Tromey <tromey@redhat.com>
6087
6088 Fix for PR libgcj/7416:
6089 * javax/naming/InitialContext.java (init): Use
6090 gnu.classpath.home.url.
6091 * java/security/Security.java: Use new properties.
6092 (loadProviders): Accept base url; use it.
6093 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6094 gnu.classpath.home.url.
6095 (gnu.classpath.home.url): Define.
6096 (gnu.classpath.vm.shortname): Likewise.
6097
6098 2002-12-31 Tom Tromey <tromey@redhat.com>
6099 Ranjit Mathew <rmathew@hotmail.com>
6100
6101 Fix for PR libgcj/8997:
6102 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6103 Include platform.h.
6104 * include/posix.h (_Jv_platform_usleep): New function.
6105 * include/win32.h (_Jv_platform_usleep): New function.
6106
6107 2002-12-29 Tom Tromey <tromey@redhat.com>
6108
6109 * gcj/javaprims.h: Updated.
6110 * scripts/classes.pl (scan): Removed stray semicolon.
6111
6112 2002-12-30 Mark Wielaard <mark@klomp.org>
6113
6114 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6115 if zero or smaller.
6116
6117 2002-12-30 Mark Wielaard <mark@klomp.org>
6118
6119 * java/util/Properties (formatForOutput): Don't fall through to
6120 default case after escaping character.
6121
6122 2002-12-30 Mark Wielaard <mark@klomp.org>
6123
6124 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6125 against count.
6126
6127 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6128
6129 * boehm.cc: Remove stray semicolon.
6130 * interpret.cc: Likewise.
6131 * prims.cc: Likewise.
6132 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6133 earlier to ensure default arguments are processed.
6134 * gcj/array.h (JArray): Add forward declaration.
6135 (elements): Likewise.
6136 * gcj/javaprim.h: Remove stray semicolons.
6137 * include/bohm-gc.h: Likewise.
6138 * include/jni.h: Likewise.
6139 * include/jvm.h: Likewise.
6140 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6141
6142 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6143
6144 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6145 of catch_type.
6146 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6147 idt tables after initializing superclass.
6148 * java/lang/natClassLoader.cc (uaddr): New typedef.
6149 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6150 if they are constant pool indicies. Don't link vtable, otable yet.
6151
6152 2002-12-21 Anthony Green <green@redhat.com>
6153
6154 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6155 libraries.
6156 * Makefile.in: Rebuilt.
6157
6158 2002-12-19 Anthony Green <green@redhat.com>
6159
6160 * Makefile.am (ordinary_java_source_files): Add
6161 org/xml/sax/helpers/NewInstance.java.
6162 * Makefile.in: Rebuilt.
6163 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6164 org/xml/sax/helpers/package.html: New files.
6165 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6166 http://www.saxproject.org.
6167
6168 2002-12-19 Andrew Haley <aph@redhat.com>
6169
6170 * java/util/natResourceBundle.cc: Include
6171 ArrayIndexOutOfBoundsException.h.
6172 (getCallingClassLoader): Don't put upper bound on stack search.
6173 Catch ArrayIndexOutOfBoundsException.
6174
6175 2002-12-19 Tom Tromey <tromey@redhat.com>
6176
6177 * libtool-version: Increased `current'.
6178
6179 2002-12-19 Tom Tromey <tromey@redhat.com>
6180
6181 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6182 comment.
6183 * java/lang/ClassLoader.java (defineClass): Use chained
6184 exception when rethrowing.
6185 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6186 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6187 constants.
6188 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6189 (_Jv_PrepareClass): Use it.
6190 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6191 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6192 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6193 (Class): _Jv_PrepareMissingMethods now friend.
6194 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6195 Record `NULL' for system class loader.
6196 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6197 system class loader.
6198 (_Jv_FindClassInCache): Likewise.
6199 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6200 (_Jv_FindClass): Special case system class loader.
6201 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6202 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6203 vtable slots.
6204 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6205 in a final class.
6206 (_getDeclaredMethod): Don't return synthetic methods.
6207 (getDeclaredMethods): Likewise.
6208 (_getMethod): Likewise.
6209 (_getMethods): Likewise.
6210
6211 2002-12-18 Raif Naffah <raif@fl.net.au>
6212
6213 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6214 canonical form after divide().
6215 (modInverse): Likewise.
6216
6217 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6218 Mark Wielaard <mark@klomp.org>
6219
6220 * java/security/SecurityRandom (digest): Removed field.
6221 (SecureRandom): Check all providers for case-insensitive SecureRandom
6222 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6223 if necessary.
6224 (getInstance(String,Provider,boolean): New method.
6225 (getInstance(String)): Use new method.
6226 (getInstance(String,String)): Likewise.
6227 (getInstance(String,Provider)): Likewise.
6228
6229 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6230
6231 * java/security/Security.java (loadProviders): Increment i only once.
6232
6233 2002-12-12 Mark Wielaard <mark@klomp.org>
6234
6235 * java/lang/ClassLoader.java (resolveClass0): Transform
6236 ClassNotFoundException to NoClassDefFoundError. Transform all other
6237 throwables to LinkageError.
6238
6239 2002-12-11 Tom Tromey <tromey@redhat.com>
6240
6241 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6242
6243 * java/lang/ClassLoader.java (loadedClasses): New field.
6244 (defineClass): Fixed indentation. Put new class in
6245 loadedClasses.
6246 (findLoadedClass): Implement here.
6247 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6248
6249 2002-12-10 Tom Tromey <tromey@redhat.com>
6250
6251 * Makefile.in: Rebuilt.
6252 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6253 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6254 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6255 * java/lang/natClassLoader.cc
6256 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6257
6258 2002-12-10 Mark Wielaard <mark@klomp.org>
6259 Tom Tromey <tromey@redhat.com>
6260
6261 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6262 (JarURLLoader): Use it.
6263 (FileURLLoader): Likewise.
6264 (JarURLResource.getURL): Use chained exception.
6265 (FileResource.getURL): Likewise.
6266 (FileURLLoader.getResource): Use canonical file name.
6267 (addURL): Indentation fix.
6268
6269 2002-12-10 Tom Tromey <tromey@redhat.com>
6270
6271 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6272 From Laurent Bardet <l.bardet@magic.fr>.
6273
6274 2002-12-09 Tom Tromey <tromey@redhat.com>
6275
6276 * include/win32.h (_Jv_platform_solib_prefix): New define.
6277 (_Jv_platform_solib_suffix): Likewise.
6278 * include/posix.h (_Jv_platform_solib_prefix): New define.
6279 (_Jv_platform_solib_suffix): Likewise.
6280 * java/lang/natRuntime.cc: Include StackTrace.h.
6281 (_load): Use findLibrary and new platform defines.
6282 (nativeGetLibname): Use new platform defines.
6283
6284 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6285 `t' won't be null.
6286
6287 2002-12-08 Mark Wielaard <mark@klomp.org>
6288
6289 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6290 cache remote jar files.
6291 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6292 add File.separator to URL when it is a directory.
6293 * java/lang/ClassLoader.java: Add Classpath javadoc.
6294 (parent): final.
6295 (getParent): Add (disabled) security check.
6296 (findLibrary): New default method.
6297 * java/net/JarURLConnection.java (getManifest): Implement.
6298 (getInputStream): Only create InputStream when entry exists.
6299 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6300 when they exist.
6301 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6302
6303 2002-12-08 Mark Wielaard <mark@klomp.org>
6304
6305 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6306 (lastDefaultLocale): New field.
6307 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6308 resourceBundleCache.
6309
6310 2002-12-06 Mark Wielaard <mark@klomp.org>
6311
6312 * java/net/InetAddress.java (toString): Use hostname when not null,
6313 don't do an explicit reverse getHostName() lookup.
6314 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6315 NullPointerException.
6316
6317 2002-12-06 Tom Tromey <tromey@redhat.com>
6318
6319 * include/java-interp.h (class _Jv_InterpMethod): Added
6320 JV_MARKOBJ_DECL.
6321 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6322 mark `prepared' field of interpreted method.
6323 * interpret.cc (compile): Use _Jv_AllocBytes.
6324
6325 2002-12-05 Andrew Haley <aph@redhat.com>
6326
6327 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6328 #ifdef (HAVE_BACKTRACE) around the whole function body.
6329
6330 2002-12-05 Tom Tromey <tromey@redhat.com>
6331
6332 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6333 * resolve.cc: Don't include AbstractMethodError.h.
6334 (_Jv_abstractMethodError): Removed.
6335 * defineclass.cc (handleMethodsBegin): Initialize method index to
6336 -1.
6337 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6338 method index for "new" final method.
6339 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6340 isVirtualMethod. Added `flags' argument.
6341 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6342 class.
6343
6344 2002-12-04 Tom Tromey <tromey@redhat.com>
6345
6346 * java/net/SocketPermission.java (hashCode): Rewrote.
6347
6348 2002-12-04 Tom Tromey <tromey@redhat.com>
6349
6350 * Makefile.in: Rebuilt.
6351 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6352 natResourceBundle.
6353 * java/util/ResourceBundle.java (Security): Removed.
6354 (getCallingClassLoader): Now native.
6355 * java/util/natResourceBundle.cc: New file.
6356 * java/lang/natVMSecurityManager.cc: New file.
6357 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6358
6359 2002-12-03 Mark Wielaard <mark@klomp.org>
6360
6361 * java/util/jar/JarFile.java (manifest): Not final.
6362 (manifestRead): New field.
6363 (JarFile): Don't read Manifest in constructor.
6364 (getManifest): New method.
6365 (JarEnumeration.nextElement): Use new method.
6366 (getEntry): Likewise.
6367 * java/util/zip/ZipFile.java (name): Final.
6368 (raf): Likewsie.
6369 (entries): Change type to Hashtable.
6370 (closed): New field.
6371 (ZipFile): Don't read enties in constructor.
6372 (readEntries): Use Hashtable.
6373 (close): Set new close flag and set entries to null inside
6374 synchronized block.
6375 (entries): Contruct enumeration using new getEntries() method and
6376 entries Hashtable.
6377 (getEntryIndex): Removed.
6378 (getEntries): New method.
6379 (getEntry): Use new getEntries() method and entries Hastable.
6380 (getInputStream): Likewise.
6381 (size): Return getEntries().size().
6382 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6383 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6384 (time): Removed
6385 (dostime): New field.
6386 (zipFileIndex): Removed.
6387 (ZipEntry(ZipEntry)): Copy dostime.
6388 (setDOSTime): Now final and doesn't convert dos time.
6389 (getDOSTime): Likewise.
6390 (setTime): Convert dos time.
6391 (getTime): Likewise.
6392 (getCalendar): New method.
6393 (setExtra): Use setTime().
6394 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6395
6396 2002-12-03 Tom Tromey <tromey@redhat.com>
6397
6398 * java/lang/Character.java (forDigit): Formatting fix.
6399
6400 2002-12-03 Raif Naffah <raif@fl.net.au>
6401
6402 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6403 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6404 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6405
6406 2002-12-03 Andrew Haley <aph@redhat.com>
6407
6408 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6409 _Jv_PushClass.
6410 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6411 (_Jv_PopClass): New.
6412 (_Jv_PushClass): New.
6413 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6414 discover the ClassLoader of our caller.
6415 (_Jv_CheckArrayStore): Don't check that a class is assignment
6416 compatible with Object.
6417 * java/lang/natVMTHrowable.cc: Delete.
6418 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6419 java.lang.VMThrowable.
6420 (StackTrace(), StackTrace(int)): New constructors.
6421 (classAt, methodAt, update, methodAtAddress): New methods.
6422 (map): New field.
6423 * java/lang/VMThrowable.java: Use StackTrace instead of
6424 natVMTHrowable.
6425 * java/lang/Class.h (getClassLoaderInternal): New.
6426 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6427 Be friendly with gnu::gcj::runtime::StackTrace.
6428 (Object.chain): New field.
6429 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6430 gnu::gcj::runtime::StackTrace.
6431 * gnu/gcj/runtime/natStackTrace.cc: New file.
6432 * gnu/gcj/runtime/MethodRef.java: New file.
6433 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6434 instead of getClassLoader().
6435 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6436 java::lang::VMThrowable.
6437 * Makefile.am (core_java_source_files): Add MethodRef.java,
6438 StackTrace.java.
6439 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6440 * Makefile.in: Rebuild.
6441
6442 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6443
6444 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6445 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6446 yes also for sh-linux* and sh[34]*-linux*.
6447 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6448 set SIGNAL_HANDLER to use DWARF2 exception for them.
6449 * configure: Regenerate.
6450
6451 2002-12-02 Tom Tromey <tromey@redhat.com>
6452
6453 * jni.cc: Added `name' argument.
6454 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6455 `const char *' argument.
6456 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6457
6458 2002-12-01 Tom Tromey <tromey@redhat.com>
6459
6460 Bug compatibility, for PR libgcj/8738:
6461 * java/io/CharArrayWriter.java (close): Do nothing.
6462 (flush): Likewise.
6463 (reset): Don't touch `closed'.
6464 (write(int)): Don't throw IOException.
6465 (write(char[],int,int)): Likewise.
6466 (write(String,int,int)): Likewise.
6467 (closed): Removed.
6468
6469 2002-12-01 Mark Wielaard <mark@klomp.org>
6470
6471 * java/lang/SecurityManager.java: Remerge comments, indenting and
6472 checkXXX methods with Classpath.
6473
6474 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6475
6476 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6477 getNormalizedComponents): Fix calculation which was using one too
6478 many bits in the unnormalized format.
6479
6480 2002-11-29 Gary Benson <gbenson@redhat.com>
6481
6482 For PR libgcj/8759:
6483 * java/beans/Introspector.java (flushCaches): New method.
6484 (flushFromCaches): Likewise.
6485
6486 2002-11-29 Michael Koch <konqueror@gmx.de>
6487
6488 * java/nio/channels/DatagramChannel.java
6489 (open): Added exception documentation.
6490 (write): Added exception documentation.
6491 (connect): Added exception documentation.
6492 (disconnect): Added exception documentation.
6493 (isConnected): Added exception documentation.
6494 (read): Added exception documentation.
6495 (receive): Added exception documentation.
6496 (send): Added exception documentation.
6497 (validOps): Added exception documentation.
6498 * java/nio/channels/SocketChannel.java
6499 (open): Added exception documentation.
6500 (read): Added exception documentation.
6501 (write): Added exception documentation.
6502 (connect): Added exception documentation.
6503 (finishConnect): Added exception documentation.
6504
6505 2002-11-29 Michael Koch <konqueror@gmx.de>
6506
6507 * gnu/java/nio/DatagramChannelImpl:
6508 (fd): New member variable to store file descriptor of socket.
6509 * gnu/java/nio/SelectionKeyImpl.java:
6510 (ops): Removed.
6511 (readyOps): New member variable.
6512 (interestOps): New member variable.
6513 (readyOps): Implemented.
6514 (readyOps): New method to set member variable readyOps.
6515 (interestOps): Replaced ops by interestOps.
6516 * gnu/java/nio/SelectorImpl.java:
6517 (SelectorImpl): Initialize key sets.
6518 (select): Call select with -1 instead of Long.MAX_VALUE).
6519 (java_do_select): Make it a native method.
6520 (getFDsAsArray): New helper method.
6521 (select): Remove canceled keys, give only interested file discriptors
6522 to java_do_select, set ready ops.
6523 (add): No need to initialize keys set here.
6524 (add_selected): No need to initialize selected set here.
6525 (deregisterCanceledKeys): New helper method.
6526 (register): Set interest ops, set attachments, added handling of datagram
6527 channels.
6528 * gnu/java/nio/ServerSocketChannelImpl:
6529 (SocketAccept): Renamed from NioSocketAccept.
6530 (implConfigureBlocking): Implemented.
6531 (accept): Use SocketAccept instead of NioSocketAccept.
6532 * gnu/java/nio/SocketChannelImpl:
6533 Reactivate native methods.
6534
6535 2002-11-29 Michael Koch <konqueror@gmx.de>
6536
6537 * gnu/java/nio/natByteBufferImpl.cc,
6538 gnu/java/nio/natCharBufferImpl.cc,
6539 gnu/java/nio/natDoubleBufferImpl.cc,
6540 gnu/java/nio/natFloatBufferImpl.cc,
6541 gnu/java/nio/natIntBufferImpl.cc,
6542 gnu/java/nio/natLongBufferImpl.cc,
6543 gnu/java/nio/natSelectorImpl.cc,
6544 gnu/java/nio/natServerSocketChannelImpl.cc,
6545 gnu/java/nio/natShortBufferImpl.cc,
6546 gnu/java/nio/natSocketChannelImpl.cc:
6547 New files that implement native functionalities.
6548
6549 2002-11-29 Michael Koch <konqueror@gmx.de>
6550
6551 * gnu/java/nio/ByteBufferImpl.java
6552 (ByteBufferImpl): Moved position() after limit.
6553 (nio_*): Use native implementation.
6554 * gnu/java/nio/CharBufferImpl.java:
6555 Reformated.
6556 (endian): New member variable string endianess of buffer.
6557 (CharBufferImpl): Moved position() after limit.
6558 (nio_*): Use native implementation.
6559 (subSequence): Implemented.
6560 * gnu/java/nio/DoubleBufferImpl.java
6561 (DoubleBufferImpl): Moved position() after limit.
6562 (nio_*): Use native implementation.
6563 * gnu/java/nio/FloatBufferImpl.java
6564 Reformated.
6565 (FloatBufferImpl): Moved position() after limit.
6566 (nio_*): Use native implementation.
6567 * gnu/java/nio/IntBufferImpl.java
6568 Added needed imports, Reformated.
6569 (IntBufferImpl): Moved position() after limit.
6570 (nio_*): Use native implementation.
6571 * gnu/java/nio/LongBufferImpl.java
6572 Reformated.
6573 (LongBufferImpl): Moved position() after limit.
6574 (nio_*): Use native implementation.
6575 * gnu/java/nio/ShortBufferImpl.java
6576 Reformated.
6577 (ShortBufferImpl): Moved position() after limit.
6578 (nio_*): Use native implementation.
6579
6580 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6581
6582 * java/util/Locale.java (toString): Improve efficiency if country
6583 and variant are both empty.
6584
6585 2002-11-26 Tom Tromey <tromey@redhat.com>
6586
6587 * verify.cc (pop_init_ref): New method.
6588 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6589 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6590 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6591 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6592 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6593 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6594 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6595 let `this' argument be uninitialized. Don't let `null' be passed
6596 as `this' to construtor.
6597
6598 2002-11-26 Mark Wielaard <mark@klomp.org>
6599
6600 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6601 * javax/transaction/HeuristicMixedException.java: Likewise.
6602 * javax/transaction/HeuristicRollbackException.java: Likewise.
6603 * javax/transaction/InvalidTransactionException.java: Likewise.
6604 * javax/transaction/NotSupportedException.java: Likewise.
6605 * javax/transaction/RollbackException.java: Likewise.
6606 * javax/transaction/Status.java: Likewise.
6607 * javax/transaction/Synchronization.java: Likewise.
6608 * javax/transaction/SystemException.java: Likewise.
6609 * javax/transaction/Transaction.java: Likewise.
6610 * javax/transaction/TransactionManager.java: Likewise.
6611 * javax/transaction/TransactionRequiredException.java: Likewise.
6612 * javax/transaction/TransactionRolledbackException.java: Likewise.
6613 * javax/transaction/UserTransaction.java: Likewise.
6614 * javax/transaction/xa/XAException.java: Likewise.
6615 * javax/transaction/xa/XAResource.java: Likewise.
6616 * javax/transaction/xa/Xid.java: Likewise.
6617
6618 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6619
6620 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6621 define.
6622 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6623 * include/posix.h (socklen_t): Define if not already defined.
6624
6625 2002-11-25 Tom Tromey <tromey@redhat.com>
6626
6627 * verify.cc (type::compatible): Backed out broken change.
6628
6629 * verify.cc (type::compatible): Check initialization status
6630 first.
6631 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6632 Don't use NULLCHECK.
6633
6634 2002-11-23 H.J. Lu <hjl@gnu.org>
6635
6636 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6637 Include ../config/accross.m4.
6638 * aclocal.m4; Rebuild.
6639 * configure: Likewise.
6640
6641 2002-11-23 Mark Wielaard <mark@klomp.org>
6642
6643 * javax/naming/AuthenticationException.java: Update copyright header.
6644 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6645 * javax/naming/Binding.java: Likewise.
6646 * javax/naming/CannotProceedException.java: Likewise.
6647 * javax/naming/CommunicationException.java: Likewise.
6648 * javax/naming/CompositeName.java: Likewise.
6649 * javax/naming/CompoundName.java: Likewise.
6650 * javax/naming/ConfigurationException.java: Likewise.
6651 * javax/naming/Context.java: Likewise.
6652 * javax/naming/ContextNotEmptyException.java: Likewise.
6653 * javax/naming/InitialContext.java: Likewise.
6654 * javax/naming/InsufficientResourcesException.java: Likewise.
6655 * javax/naming/InterruptedNamingException.java: Likewise.
6656 * javax/naming/LimitExceededException.java: Likewise.
6657 * javax/naming/LinkException.java: Likewise.
6658 * javax/naming/LinkLoopException.java: Likewise.
6659 * javax/naming/LinkRef.java: Likewise.
6660 * javax/naming/MalformedLinkException.java: Likewise.
6661 * javax/naming/NameAlreadyBoundException.java: Likewise.
6662 * javax/naming/NameClassPair.java: Likewise.
6663 * javax/naming/NameNotFoundException.java: Likewise.
6664 * javax/naming/NameParser.java: Likewise.
6665 * javax/naming/NamingEnumeration.java: Likewise.
6666 * javax/naming/NamingSecurityException.java: Likewise.
6667 * javax/naming/NoInitialContextException.java: Likewise.
6668 * javax/naming/NoPermissionException.java: Likewise.
6669 * javax/naming/NotContextException.java: Likewise.
6670 * javax/naming/OperationNotSupportedException.java: Likewise.
6671 * javax/naming/PartialResultException.java: Likewise.
6672 * javax/naming/Reference.java: Likewise.
6673 * javax/naming/Referenceable.java: Likewise.
6674 * javax/naming/ReferralException.java: Likewise.
6675 * javax/naming/ServiceUnavailableException.java: Likewise.
6676 * javax/naming/SizeLimitExceededException.java: Likewise.
6677 * javax/naming/TimeLimitExceededException.java: Likewise.
6678 * javax/naming/directory/Attribute.java: Likewise.
6679 * javax/naming/directory/AttributeInUseException.java: Likewise.
6680 * javax/naming/directory/AttributeModificationException.java: Likewise.
6681 * javax/naming/directory/Attributes.java: Likewise.
6682 * javax/naming/directory/BasicAttribute.java: Likewise.
6683 * javax/naming/directory/BasicAttributes.java: Likewise.
6684 * javax/naming/directory/DirContext.java: Likewise.
6685 * javax/naming/directory/InitialDirContext.java: Likewise.
6686 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6687 Likewise.
6688 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6689 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6690 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6691 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6692 * javax/naming/directory/ModificationItem.java: Likewise.
6693 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6694 * javax/naming/directory/SchemaViolationException.java: Likewise.
6695 * javax/naming/directory/SearchControls.java: Likewise.
6696 * javax/naming/directory/SearchResult.java: Likewise.
6697 * javax/naming/event/EventContext.java: Likewise.
6698 * javax/naming/event/EventDirContext.java: Likewise.
6699 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6700 * javax/naming/event/NamingEvent.java: Likewise.
6701 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6702 * javax/naming/event/NamingListener.java: Likewise.
6703 * javax/naming/event/ObjectChangeListener.java: Likewise.
6704 * javax/naming/ldap/Control.java: Likewise.
6705 * javax/naming/ldap/ControlFactory.java: Likewise.
6706 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6707 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6708 * javax/naming/ldap/HasControls.java: Likewise.
6709 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6710 * javax/naming/ldap/LdapContext.java: Likewise.
6711 * javax/naming/ldap/LdapReferralException.java: Likewise.
6712 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6713 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6714 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6715 * javax/naming/spi/DirObjectFactory.java: Likewise.
6716 * javax/naming/spi/DirStateFactory.java: Likewise.
6717 * javax/naming/spi/DirectoryManager.java: Likewise.
6718 * javax/naming/spi/InitialContextFactory.java: Likewise.
6719 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6720 * javax/naming/spi/NamingManager.java: Likewise.
6721 * javax/naming/spi/ObjectFactory.java: Likewise.
6722 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6723 * javax/naming/spi/ResolveResult.java: Likewise.
6724 * javax/naming/spi/Resolver.java: Likewise.
6725 * javax/naming/spi/StateFactory.java: Likewise.
6726
6727 * javax/naming/spi/NamingManager.java (ofb): Package private.
6728
6729 2002-11-21 Mark Wielaard <mark@klomp.org>
6730
6731 * java/net/URL.java: Merge with Classpath (partly).
6732 * java/net/URLStreamHandler: Merge with Classpath.
6733
6734 2002-11-22 Michael Koch <konqueror@gmx.de>
6735
6736 * include/posix.h:
6737 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6738 * include/win32.h:
6739 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6740 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6741
6742 2002-11-21 Michael Koch <konqueror@gmx.de>
6743
6744 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6745 Only the new network functions should be in it.
6746
6747 2002-11-21 Michael Koch <konqueror@gmx.de>
6748
6749 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6750 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6751
6752 2002-11-21 Michael Koch <konqueror@gmx.de>
6753
6754 * java/nio/channels/AsynchronousCloseException.java,
6755 java/nio/channels/CancelledKeyException.java,
6756 java/nio/channels/ClosedByInterruptException.java,
6757 java/nio/channels/ConnectionPendingException.java,
6758 java/nio/channels/FileLockInterruptionException.java,
6759 java/nio/channels/IllegalSelectorException.java,
6760 java/nio/channels/NoConnectionPendingException.java,
6761 java/nio/channels/NonReadableChannelException.java,
6762 java/nio/channels/NonWritableChannelException.java,
6763 java/nio/channels/NotYetBoundException.java,
6764 java/nio/channels/NotYetConnectedException.java,
6765 java/nio/channels/OverlappingFileLockException.java,
6766 java/nio/channels/UnresolvedAddressException.java,
6767 java/nio/channels/UnsupportedAddressTypeException.java:
6768 New files.
6769 * Makefile.am (ordinary_java_source_files): Added new files.
6770 * Makefile.in: Regenerated.
6771
6772 2002-11-21 Michael Koch <konqueror@gmx.de>
6773
6774 * include/posix.h
6775 (_Jv_socket): New method.
6776 (_Jv_connect): New method.
6777 (_Jv_close): New method.
6778 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6779 (_Jv_bind): New method.
6780 (_Jv_listen): New method.
6781 (_Jv_write): New method.
6782 (_Jv_read): New method.
6783 * include/win32.h
6784 (_Jv_socket): New method.
6785 (_Jv_connect): New method.
6786 (_Jv_close): New method.
6787 (_Jv_bind): New method.
6788 (_Jv_listen): New method.
6789 (_Jv_write): New method.
6790 (_Jv_read): New method.
6791 * java/net/natNetworkInterface.cc:
6792 Include platform.h, removed inclusion of socket.h
6793 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6794 ::close() by _Jv_close().
6795 * java/net/natPlainDatagramSocketImpl.cc:
6796 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6797 added some new lines to make code more readable.
6798 (create): Replaced ::socket() by _Jv_socket().
6799 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6800 * java/net/natPlainSocketImpl.cc:
6801 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6802 removed include of socket.h, removed some windows defines
6803 (now in include/win32.h).
6804 (create): Replaced ::socket() by _Jv_socket().
6805 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6806 (write): Replaced ::read by _Jv_write().
6807 (read): Replaced ::read by _Jv_read().
6808
6809 2002-11-20 Michael Koch <konqueror@gmx.de>
6810
6811 * Makefile.am (ordinary_java_source_files):
6812 Added java/nio/channels/FileChannel.java.
6813 * Makefile.in: Regenerated.
6814
6815 2002-11-20 Michael Koch <konqueror@gmx.de>
6816
6817 * java/io/FileInputStream.java
6818 (getChannel): New method.
6819 * java/io/FileOutputStream.java
6820 (getChannel): New method.
6821 * java/net/ServerSocket.java
6822 (bind): Removed duplicate code and called another bind method instead.
6823 * java/nio/channels/SelectionKey.java
6824 (isValid): Removed wrong exception documentation.
6825 * java/nio/channels/ServerSocketChannel.java
6826 (accept): Added exception documentation.
6827 (open): Fixed typo, added exception documentation.
6828 * java/nio/channels/spi/AbstractSelectableChannel.java
6829 (implCloseChannel): Added exception documentation.
6830 (add): Reformated.
6831 (register): Added exception documentation.
6832
6833 2002-11-20 Andreas Jaeger <aj@suse.de>
6834
6835 * configure: Regenerated with new libtool.m4.
6836
6837 2002-11-19 Tom Tromey <tromey@redhat.com>
6838
6839 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6840 `referent'.
6841 (finalize_referred_to_object): Don't modify `referent' or `copy'
6842 fields.
6843 (add_to_hash): Correctly set `n->next' when updating list.
6844 * java/lang/ref/Reference.java (enqueue): Return false if already
6845 enqueued.
6846
6847 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6848
6849 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6850 to function and function pointer declarations in accordance with
6851 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6852 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6853 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6854 JNI function definitions.
6855
6856 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6857
6858 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6859 that was causing CoderResults to be cached, not WeakReferences
6860 to CoderResults.
6861
6862 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6863
6864 * java/security/KeyStore.java (getInstance): Fix
6865 comment and throw IllegalArgumentException if
6866 given provider is null.
6867 (getInstance): New method for jdk1.4 compatibility.
6868
6869 2002-11-18 Michael Koch <konqueror@gmx.de>
6870
6871 * java/net/PlainSocketImpl.java: Fix imports.
6872
6873 2002-11-18 Michael Koch <konqueror@gmx.de>
6874
6875 * java/nio/channels/SelectionKey.java
6876 (isValid): Added exception documentation.
6877 * java/nio/channels/Selector.java
6878 (open): Declare "throws IOException".
6879
6880 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6881
6882 * java/nio/charset/Charset.java
6883 (<clinit>): New method.
6884 (encode): Synchronize use of cached encoder object.
6885 (decode): Synchronize use of cached encoder object.
6886
6887 2002-11-18 Michael Koch <konqueror@gmx.de>
6888
6889 * gnu/java/nio/ByteBufferImpl.java,
6890 gnu/java/nio/CharBufferImpl.java,
6891 gnu/java/nio/DatagramChannelImpl.java,
6892 gnu/java/nio/DoubleBufferImpl.java,
6893 gnu/java/nio/FileChannelImpl.java,
6894 gnu/java/nio/FloatBufferImpl.java,
6895 gnu/java/nio/IntBufferImpl.java,
6896 gnu/java/nio/LongBufferImpl.java,
6897 gnu/java/nio/PipeImpl.java,
6898 gnu/java/nio/SelectionKeyImpl.java,
6899 gnu/java/nio/SelectorImpl.java,
6900 gnu/java/nio/SelectorProviderImpl.java,
6901 gnu/java/nio/ServerSocketChannelImpl.java,
6902 gnu/java/nio/ShortBufferImpl.java,
6903 gnu/java/nio/SocketChannelImpl.java,
6904 java/nio/DoubleBuffer.java,
6905 java/nio/FloatBuffer.java,
6906 java/nio/IntBuffer.java,
6907 java/nio/LongBuffer.java,
6908 java/nio/ShortBuffer.java,
6909 java/nio/channels/FileChannel.java: New files.
6910
6911 2002-11-18 Michael Koch <konqueror@gmx.de>
6912
6913 * Makefile.am (ordinary_java_source_files):
6914 Added java/nio/ReadOnlyBufferException.java and
6915 java/nio/channels/ClosedSelectorException.java.
6916 * Makefile.in: Regenerated.
6917
6918 2002-11-18 Michael Koch <konqueror@gmx.de>
6919
6920 * java/net/PlainSocketImpl.java: Reworked imports.
6921 * java/net/ServerSocket.java
6922 (ServerSocket): Create socket.
6923 * java/net/SocketAddress.java: Documentation added.
6924 * java/net/natPlainSocketImpl.cc: Reindented.
6925 * java/nio/ReadOnlyBufferException.java: New file
6926 * java/nio/channels/ClosedChannelException.java: Documentation added.
6927 * java/nio/channels/ClosedSelectorException.java: New file.
6928
6929 2002-11-17 Mark Wielaard <mark@klomp.org>
6930
6931 * java/net/HttpURLConnection.java ((getPermission): Take port
6932 into consideration.
6933 (getErrorStream): Implement.
6934
6935 2002-11-17 Mark Wielaard <mark@klomp.org>
6936
6937 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6938
6939 2002-11-16 Mark Wielaard <mark@klomp.org>
6940
6941 Integrate work by Raif S. Naffah (raif@fl.net.au)
6942 * java/security/DummyKeyPairGenerator.java (clone): New method.
6943 * java/security/DummyMessageDigest.java (clone): New method.
6944 (engineUpdate): Now public.
6945 (engineReset): Likewise.
6946 (engineDigest): Likewise.
6947 (engineGetDigestLength): New method.
6948 * java/security/DummySignature.java (clone): New method.
6949 * java/security/KeyPairGenerator.java (provider): Now package private.
6950 (getInstance(String)): Use getInstance(String,Provider).
6951 (getInstance(String,String): Use getInstance(String,Provider)
6952 (getInstance(String,Provider): New method.
6953 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6954 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6955 * java/security/MessageDigest.java (provider): Now package private.
6956 (getInstance(String): Use getInstance(String,Provider).
6957 (getInstance(String,String): Use getInstance(String,Provider)
6958 (getInstance(String,Provider): New method.
6959 * java/security/Provider.java (toCanonicalKey): New method.
6960 (get): New method that uses toCanonicalKey().
6961 (put): Use toCanonicalKey().
6962 (remove): Likewise.
6963 * java/security/Security.java (insertProviderAt): Provider index is one
6964 based, not zero based.
6965 (addProvider): Likewise.
6966 (removeProvider): Likewise.
6967 * java/security/Signature.java (provider): Now package private.
6968 (getInstance(String)): Use getInstance(String,Provider).
6969 (getInstance(String,String): Use getInstance(String,Provider)
6970 (getInstance(String,Provider): New method.
6971 (getInstance(String,String,Provider): Don't cast DummySignature.
6972
6973 2002-11-15 Tom Tromey <tromey@redhat.com>
6974
6975 For PR libgcj/8593:
6976 * java/util/zip/GZIPInputStream.java (read): Check file size.
6977 Look in inflater for remaining input bytes.
6978 (read4): Added buf and offset arguments.
6979
6980 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6981
6982 * java/applet/AppletContext.java: Fix typo and remove redundant
6983 modifiers.
6984
6985 2002-11-14 Tom Tromey <tromey@redhat.com>
6986
6987 * java/lang/natRuntime.cc (insertSystemProperties): Set
6988 gnu.classpath.home.
6989
6990 2002-11-13 Michael Koch <konqueror@gmx.de>
6991
6992 * java/nio/ByteBuffer.java
6993 (allocate): New method.
6994 (wrap): New method.
6995 (put): New method.
6996 (get): New method.
6997
6998 2002-11-13 Michael Koch <konqueror@gmx.de>
6999
7000 * java/nio/channels/AlreadyConnectedException.java:
7001 Removed unneeded import.
7002 (AlreadyConnectedException): Documentation added.
7003 * java/nio/channels/Pipe.java
7004 (SinkChannel.SinkChannel): Documentation added.
7005 (SinkChannel.validOps): New method.
7006 (SourceChannel.SourceChannel): Documentation added.
7007 (SourceChannel.validOps): New method.
7008 (Pipe): Documentation added.
7009 (open): Documentation added.
7010 (SinkChannel.channel): Documentation added.
7011 (SourceChannel.channel): Documentation added.
7012 * java/nio/channel/SelectableChannel.java
7013 (SelectableChannel): Documentation added.
7014 (blockingLock): Documentation added.
7015 (configureBlocking):Documentation added.
7016 (isBlocking):Documentation added.
7017 (isRegistered):Documentation added.
7018 (keyFor):Documentation added.
7019 (provider):Documentation added.
7020 (register): Documentation added.
7021 (validOps): Documentation added.
7022 * jaba/nio/channels/SelectionKey.java
7023 (SelectionKey): Documentation added.
7024 (attach): Documentation added.
7025 (attachment): Documentation added.
7026 (isAcceptable): Documentation added.
7027 (isConnetable): Documentation added.
7028 (isReadable): Documentation added.
7029 (isWritable): Documentation added.
7030 (cancel): Documentation added.
7031 (channel): Documentation added.
7032 (interestOps): Documentation added.
7033 (isValid): Documentation added.
7034 (readyOps): Documentation added.
7035 (selector): Documentation added.
7036 * jaba/nio/channels/Selector.java
7037 (Selector): Documentation added.
7038 (open): Documentation added.
7039 (close): Documentation added.
7040 (isOpen): Documentation added.
7041 (keys): Documentation added.
7042 (provider): Documentation added.
7043 (select): Documentation added.
7044 (selectedKeys): Documentation added.
7045 (selectNow): Documentation added.
7046 (wakeup): Documentation added.
7047 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7048 (AbstractInterruptibleChannel): Documentation added.
7049 (opened): Default to true;
7050 (begin): Documentation added.
7051 (close): Set opened to false, documentation added.
7052 (isOpen): Documentation added.
7053 * java/nio/channels/spi/AbstractSelectionKey.java
7054 (AbstractSelectionKey): Documentation added.
7055 (cancel): Documentation added.
7056 (isValid): Documentation added.
7057 * java/nio/channels/spi/AbstractSelector.java
7058 (AbstractSelector): Documentation added.
7059 (begin): Documentation added.
7060 (close): Documentation added.
7061 (isOpen): Documentation added.
7062 (deregister): Documentation added.
7063 (end): Documentation added.
7064 (provider): Documentation added.
7065 (implCloseSelector): Documentation added.
7066 (register): Documentation added.
7067 * java/nio/channels/spi/SelectorProvider.java
7068 (SelectorProvider): Documentation added.
7069 (openDatagramChannel): Documentation added.
7070 (openPipe): Documentation added.
7071 (openSelector): Documentation added.
7072 (openServerSocketChannel): Documentation added.
7073 (openSocketChannel): Documentation added.
7074 (provider): Documentation added.
7075
7076 2002-11-12 Michael Koch <konqueror@gmx.de>
7077
7078 * java/nio/Buffer.java: Implemented.
7079 * java/nio/CharBuffer.java: New file.
7080 * java/nio/InvalidMarkException.java: New file.
7081 * java/nio/channels/DatagramChannel.java: Implemented.
7082 * java/nio/channels/ServerSocketChannel.java: Implemented.
7083 * java/nio/channels/SocketChannel.java: Implemented.
7084 * java/nio/channels/spi/AbstractChannel.java: Removed.
7085 * java/nio/channels/spi/AbstractSelectableChannel.java:
7086 Implemented.
7087 * java/nio/charset/Charset.java:
7088 Merge from Classpath.
7089 * java/nio/charset/CharsetDecoder.java: New file.
7090 * java/nio/charset/CharsetEncoder.java: New file.
7091 * java/nio/charset/CoderResult.java: New file.
7092 * Makefile.am (ordinary_java_source_files): Added new files.
7093 * Makefile.in: Regenerated.
7094
7095 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7096
7097 * gnu/java/nio/charset/ISO_8859_1.java,
7098 gnu/java/nio/charset/Provider.java,
7099 gnu/java/nio/charset/US_ASCII.java,
7100 gnu/java/nio/charset/UTF_16.java,
7101 gnu/java/nio/charset/UTF_16BE.java,
7102 gnu/java/nio/charset/UTF_16Decoder.java,
7103 gnu/java/nio/charset/UTF_16Encoder.java,
7104 gnu/java/nio/charset/UTF_16LE.java,
7105 gnu/java/nio/charset/UTF_8.java: New files.
7106
7107 2002-11-11 Michael Koch <konqueror@gmx.de>
7108
7109 * java/nio/charset/CharacterCodingException.java:
7110 This class must be public.
7111 * java/nio/charset/CoderMalfunctionError.java:
7112 This class must be public.
7113 * java/nio/charset/CodingErrorAction.java:
7114 This class must be public.
7115 * java/nio/charset/IllegalCharsetNameException.java:
7116 This class must be public, better implementation.
7117 * java/nio/charset/MalformedInputException.java:
7118 This class must be public, better implementation.
7119 * java/nio/charset/UnmappableCharacterException.java:
7120 This class must be public, better implementation.
7121 * java/nio/charset/UnsupportedCharsetException.java:
7122 This class must be public, better implementation.
7123
7124 2002-11-11 Michael Koch <konqueror@gmx.de>
7125
7126 * java/nio/BufferOverflowException.java,
7127 java/nio/BufferUnderflowException.java: New file.
7128 * Makefile.am (ordinary_java_source_files):
7129 Added new files.
7130 * Makefile.in: Regenerated.
7131
7132 2002-11-10 Tom Tromey <tromey@redhat.com>
7133
7134 * java/awt/Container.java (validate): Use tree lock.
7135 (getComponent): Likewise.
7136 (getComponents): Likewise.
7137 (addImpl): Likewise.
7138 (remove): Likewise.
7139 (removeAll): Likewise.
7140 (processEvent): Fixed indentation.
7141 (getComponentAt): Use tree lock.
7142 (findComponentAt): Likewise.
7143 (removeNotify): Likewise.
7144 (isAncestorOf): Likewise.
7145 (list): Likewise.
7146 (visitChildren): Likewise.
7147 (findNextFocusComponent): Likewise.
7148 (addNotifyContainerChildren): Likewise.
7149 (getAccessibleChildrenCount): Likewise.
7150 (getAccessibleChild): Likewise.
7151
7152 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7153 (getSize): Likewise.
7154 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7155 (getSize): Likewise.
7156 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7157 (calcSize): Likewise.
7158 * java/awt/CardLayout.java (getSize): Use tree lock.
7159 (gotoComponent): Likewise.
7160 (layoutContainer): Likewise.
7161
7162 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7163 count is 0.
7164 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7165 count is 0.
7166
7167 * java/io/Externalizable.java, java/io/FilePermission.java,
7168 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7169 java/io/SerializablePermission.java, java/text/Format.java,
7170 java/util/AbstractMap.java, java/util/HashMap.java,
7171 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7172 versions from Classpath.
7173
7174 2002-11-10 Anthony Green <green@redhat.com>
7175
7176 * java/util/jar/Attributes.java (Name): Fix name check.
7177
7178 2002-11-10 Mark Wielaard <mark@klomp.org>
7179
7180 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7181 with getName() as message.
7182 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7183 type as message.
7184
7185 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7186 unused.
7187
7188 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7189
7190 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7191 for Win32. JNICALL has been defined to __stdcall to be compatible
7192 with Sun's JDKs.
7193
7194 2002-11-10 Tom Tromey <tromey@redhat.com>
7195
7196 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7197 (setRows): Check newRows, not rows.
7198
7199 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7200
7201 2002-11-09 Tom Tromey <tromey@redhat.com>
7202
7203 * java/applet/Applet.java, java/applet/AppletContext.java,
7204 java/applet/AppletStub.java, java/applet/AudioClip.java,
7205 java/awt/CardLayout.java,
7206 java/awt/ContainerOrderFocusTraversalPolicy.java,
7207 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7208 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7209 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7210 java/awt/color/ICC_ColorSpace.java,
7211 java/awt/color/ICC_Profile.java,
7212 java/awt/color/ICC_ProfileGray.java,
7213 java/awt/color/ICC_ProfileRGB.java,
7214 java/awt/datatransfer/DataFlavor.java,
7215 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7216 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7217 New versions from Classpath.
7218 * Makefile.in: Rebuilt.
7219 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7220 ICC_ProfileRGB.
7221
7222 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7223 display policy.
7224
7225 * java/awt/List.java (processEvent): Added missing `else's.
7226
7227 * java/awt/Window.java (show): validate() before showing. Make
7228 parent displayable.
7229 (isDisplayable): New method.
7230
7231 2002-11-07 Mark Wielaard <mark@klomp.org>
7232
7233 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7234 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7235
7236 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7237 annotation.
7238 (loadClass): Take String as codebases.
7239 (getClassAnnotation): Use MyClassLoader annotations.
7240 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7241 call exportObject(this).
7242
7243 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7244 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7245 (setAnnotation): Don't set locBytesStream and locStream.
7246 (replaceObject): Removed.
7247 (flush): Don't test locStream.
7248 (getLocBytes): LikeWise.
7249 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7250 (leaseCache): New field.
7251 (dirty): Use leaseCache.
7252 (LeaseRecord): New inner class.
7253 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7254 explicitly call exportObject().
7255 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7256 false to communicate with Sun JDK130.
7257 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7258 * gnu/java/rmi/server/RMIObjectInputStream.java
7259 (UnicastConnectionManager): Removed field.
7260 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7261 Use UnicastServer.getExportedRef().
7262 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7263 (expireTime): Likewise.
7264 (CONNECTION_TIMEOUT): Likewise.
7265 (disconnect): Call sock.close().
7266 (isExpired): New method.
7267 (resetTime): Likewise.
7268 (run): Use do while loop and catch Exception for discardConnection().
7269 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7270 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7271 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7272 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7273 (exportObject): Use refcache.
7274 (unexportObject): Likewise.
7275 (getExportedRef): New method.
7276 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7277 constructor.
7278 (exportObject): Save manager.serverobj.
7279 (getStub): New method.
7280
7281 2002-11-07 Mark Wielaard <mark@klomp.org>
7282
7283 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7284 (getByte): Likewise.
7285 (getShort): Likewise.
7286 (getInt): Likewise.
7287 (getLong): Likewise.
7288 (getFloat): Likewise.
7289 (getDouble): Likewise.
7290 (get): Likewise.
7291 (setChar): Likewise.
7292 (setByte): Likewise.
7293 (setShort): Likewise.
7294 (setInt): Likewise.
7295 (setLong): Likewise.
7296 (setFloat): Likewise.
7297 (setDouble): Likewise.
7298
7299 2002-11-07 Michael Koch <konqueror@gmx.de>
7300
7301 * java/awt/Choice.java,
7302 java/awt/Container.java,
7303 java/awt/GridBagLayout.java:
7304 Fixed documentation.
7305 * java/awt/peer/ContainerPeer.java:
7306 Reindented.
7307
7308 2002-11-07 Michael Koch <konqueror@gmx.de>
7309
7310 * java/awt/color/ICC_Profile.java:
7311 Added missing constants.
7312 * java/awt/color/ICC_ColorSpace.java
7313 (getMinValue): Added dummy implementation.
7314 (getMaxValue): Added dummy implementation.
7315 * java/awt/datatransfer/DataFlavor.java
7316 (imageFlavor): Added.
7317 (isMimeTypeEqual): Must be final.
7318 (getDefaultRepresentationClass): Must be non-static.
7319 (getDefaultRepresentationClassAsString): Must be non-static.
7320 * java/awt/dnd/DragSourceContext.java
7321 (dragExit): Corrected argument.
7322 (dragDropEnd): Corrected argument.
7323 * java/awt/dnd/DragSourceListener.java.java
7324 (dragExit): Corrected argument.
7325 (dragDropEnd): Corrected argument.
7326 * java/awt/font/TextHitInfo.java
7327 (toString): Added stubbed implementation.
7328 * java/awt/geom/PathIterator.java:
7329 The constants must be static.
7330 * java/awt/image/VolatileImage.java
7331 (IMAGE_INCOMPATIBLE): Fixed typo.
7332 * java/awt/image/renderable/RenderableImage.java
7333 (HINTS_OBSERVED): Must be static.
7334 * java/beans/BeanInfo.java:
7335 Constants must be final.
7336
7337 2002-11-06 Tom Tromey <tromey@redhat.com>
7338
7339 From svens@it.uu.se. For PR libgcj/8481.
7340 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7341
7342 2002-11-06 Tom Tromey <tromey@redhat.com>
7343
7344 * jni.cc (array_from_valist): Assume that jlong won't be
7345 promoted.
7346
7347 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7348
7349 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7350 Return 20.
7351 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7352 Return 16.
7353
7354 2002-11-03 Tom Tromey <tromey@redhat.com>
7355
7356 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7357 VMClassLoader, not findClass.
7358
7359 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7360
7361 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7362 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7363 _Jv_DetermineVTableIndex, to determine vtable offset.
7364 (_Jv_DetermineVTableIndex): Remove.
7365 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7366
7367 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7368
7369 2002-11-03 Tom Tromey <tromey@redhat.com>
7370
7371 * java/nio/channels/AlreadyConnectedException.java: Extend
7372 IllegalStateException, per spec.
7373
7374 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7375
7376 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7377
7378 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7379
7380 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7381 size items.
7382
7383 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7384
7385 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7386 initial estimated size to avoid enlarge buffer frequently.
7387
7388 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7389
7390 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7391 ClassLoader when null.
7392 (ProxyType.hashCode): Loader null check no longer needed.
7393 (ProxyType.sameTypes): New method.
7394 (ProxyType.equals): Use new method.
7395
7396 2002-10-31 Mark Wielaard <mark@klomp.org>
7397
7398 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7399 length of String.
7400 * java/net/URLEncoder.java (encode): Likewise.
7401
7402 2002-10-31 Mark Wielaard <mark@klomp.org>
7403
7404 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7405 when stream is closed.
7406 (closeEntry): Likewise.
7407 (read): Likewise.
7408 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7409 ZipException when no entry active.
7410 (closeEntry): Likewise.
7411 (write): Likewise.
7412
7413 2002-11-02 Tom Tromey <tromey@redhat.com>
7414
7415 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7416 * java/lang/natClass.cc (initializeClass): Don't return just
7417 because self==thread.
7418
7419 For PR java/8415:
7420 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7421 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7422
7423 2002-11-02 Andreas Schwab <schwab@suse.de>
7424
7425 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7426 pass GCJFLAGS.
7427 (FLAGS_TO_PASS): Define.
7428 * Makefile.in: Regenerated.
7429
7430 2002-11-01 Michael Koch <konqueror@gmx.de>
7431
7432 * java/nio/ByteOrder.java: New file.
7433 * java/nio/channels/DatagramChannel.java:
7434 (DatagramChannel): New constructor.
7435 * java/nio/channels/Pipe.java: New file.
7436 * java/nio/channels/SelectableChannel.java: New file.
7437 * java/nio/channels/SelectionKey.java: New file.
7438 * java/nio/channels/Selector.java: New file.
7439 * java/nio/channels/ServerSocketChannel.java
7440 (ServerSocketChannel): New constructor.
7441 * java/nio/channels/SocketChannel.java
7442 (SocketChannel): New constructor.
7443 * java/nio/channels/Pipe.java: New file.
7444 * java/nio/channels/spi/AbstractChannel.java: New file.
7445 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7446 * java/nio/channels/spi/AbstractSelectableChannel.java:
7447 License added
7448 (AbstractSelectableChannel): New stubbed method.
7449 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7450 * java/nio/channels/spi/AbstractSelector.java: New file.
7451 * java/nio/channels/spi/SelectorProvider.java: New file.
7452 * java/nio/charset/Charset.java: New file.
7453 * java/nio/charset/CoderMalfunctionError.java: New file.
7454 * java/nio/charset/CodingErrorAction.java: New file.
7455 * java/nio/charset/spi/CharsetProvider.java
7456 (charsetForName): Uncommented.
7457 * Makefile.am (java_native_source_files): Added new files.
7458 * Makefile.in: Regenerated.
7459
7460 2002-11-01 Michael Koch <konqueror@gmx.de>
7461
7462 * java/net/InetAddress.java:
7463 (isAnyLocalAddress): Implemented.
7464 (isLoopbackAddress): Implemented, comment added.
7465 (isLinkLocalAddress): Implemented, documentation added.
7466 (isSiteLocalAddress): Implemented, documentation added.
7467 (isMCGlobal): Implemented, documentation added.
7468 (isMCNodeLocal): Implemented, documentation added.
7469 (isMCLinkLocal): Implemented, documentation added.
7470 (isMCSiteLocal): Implemented, documentation added.
7471 (isMCOrgLocal): Implemented, documentation added.
7472 (getHostName): Documentation added.
7473 (getCanonicalHostName): Implemented, documentation added.
7474 (getAddress): Documentation added.
7475 (hashCode): Documentation added.
7476 (equals): Documentation added.
7477 (toString): Fixed implementation.
7478 (getByAddress): Use Inet4Address and Inet6Address.
7479 (lookup): New linewrap.
7480 (getByName): SecurityManager check added, support Inet4Address and
7481 Inet6address, comments added.
7482 (getAllByName): SecurityManager check added, comments added.
7483 * java/net/Inet6Address.java:
7484 (Inet6Address): Initialize parent class with addr instead of null.
7485 * java/net/URL.java
7486 (equals): Documentation added.
7487 (getFile): Documentation added.
7488 (hashCode): Documentation added.
7489 * java/net/natInetAddress.cc:
7490 (aton): Fix IPv6 support.
7491 * java/net/natPlainDatagramSocketImpl.cc:
7492 (peek): Throw PortUnreachableException when suitable.
7493 (peekData): Throw PortUnreachableException when suitable.
7494 (send): Throw PortUnreachableException when suitable.
7495 (receive): Throw PortUnreachableException when suitable.
7496
7497 2002-10-27 Mark Wielaard <mark@klomp.org>
7498
7499 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7500 argument.
7501 (readLeShort): Likewise and use byte[].
7502 (readLeInt): Likewise.
7503 (readEntries): Use new versions of methods and use byte[] for reading
7504 a complete zip entry. Add ZipFile name to exceptions.
7505 (entries): Add ZipFile name to exceptions.
7506 (getEntry): Likewise.
7507 (checkLocalHeader): Use new versions of methods and add ZipFile name
7508 to exceptions.
7509
7510 2002-10-31 Mark Anderson <mark@panonet.net>
7511
7512 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7513 added
7514
7515 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7516
7517 * configure.in: Disable hash sync when not using threads.
7518 * configure: Regenerated.
7519
7520 2002-10-24 Tom Tromey <tromey@redhat.com>
7521
7522 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7523 (_Jv_FindSymbolInExecutable): Removed argument name.
7524 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7525 java.library.path is set.
7526
7527 * gij.cc (help): Document --showversion.
7528 (version): Don't exit.
7529 (main): Handle --showversion. Exit if --version given.
7530
7531 2002-10-23 Tom Tromey <tromey@redhat.com>
7532
7533 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7534 (array_from_valist): Correctly handle promotion for jint, jlong,
7535 jfloat, and jdouble.
7536
7537 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7538
7539 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7540 GetFileAttributesEx( ) to find file length and modification times,
7541 as the latter is not present on Windows 95.
7542
7543 2002-10-21 Michael Koch <konqueror@gmx.de>
7544
7545 * java/net/URL.java
7546 (URL): Activate SecurityManager checks.
7547 (equals): Use URLStreamHandler implementation instead of doing it
7548 alone. This allows special protocol stream handlers to change default
7549 behaviour.
7550 (hashCode): Use URLStreamHandler implementation instead of doing it
7551 alone. This allows special protocol stream handlers to change default
7552 behaviour.
7553 * java/net/URLStreamHandler.java
7554 (equals): Implemented default URL equality check.
7555 (hostsEqual): Implemented default URL equality check.
7556 (hashCode): Implemented default URL hashCode algorithm.
7557 * java/net/natPlainDatagramSocketImpl.cc:
7558 No lines longer then 80 characters.
7559
7560 2002-10-20 Adam Megacz <adam@xwt.org>
7561
7562 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7563 * configure.in: enabled hash sync on Win32
7564 * include/win32-threads.h (_Jv_ThreadId_t): added.
7565 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7566 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7567 removed some posix-isms, use Thread::sleep() instead of usleep,
7568 added code to clear bottom three bits if platform has a broken
7569 linker.
7570 * include/win32-threads.h (_Jv_ThreadId_t): added.
7571
7572 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7573
7574 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7575 runtime property "gnu.gcj.progname" containing the name used to
7576 invoke the current Java program (similar to argv[0] for C
7577 programs).
7578
7579 2002-10-15 Tom Tromey <tromey@redhat.com>
7580
7581 Fix for PR libgcj/8234:
7582 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7583 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7584
7585 2002-10-13 Mark Wielaard <mark@klomp.org>
7586
7587 * mauve-libgcj: Enable Mauve tests that compile now.
7588
7589 2002-10-11 Mark Wielaard <mark@klomp.org>
7590
7591 Fix for PR libgcj/8142
7592 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7593 loading native modules.
7594
7595 2002-10-10 Michael Koch <konqueror@gmx.de>
7596
7597 * javax/swing/AbstractListModel.java
7598 (getListDataListeners): New stubbed method.
7599 javax/swing/DefaultBoundedRangeModel.java
7600 (getChangeListeners): New stubbed method.
7601 javax/swing/DefaultSingleSelectionModel.java
7602 (getChangeListeners): New stubbed method.
7603
7604 2002-10-10 Michael Koch <konqueror@gmx.de>
7605
7606 * gcj/.cvsignore: New file to ignore files generated during build.
7607 * include/.cvsignore: New file to ignore files generated during build.
7608
7609 2002-10-10 Michael Koch <konqueror@gmx.de>
7610
7611 * java/net/HttpURLConnection.java
7612 (getPermission): New method.
7613 (getErrorStream): New stub method.
7614 (getHeaderFieldDate): New stub method.
7615 * java/net/Inet4Address.java:
7616 (isLinkLocalAddress): Typo fixed.
7617 * java/net/InetAddress.java:
7618 (readResolve): New stubbed method (for serialization).
7619 (isAnyLocalAddress): New stubbed method.
7620 (isLoopbackAddress): New stubbed method.
7621 (isLinkLocalAddress): New stubbed method.
7622 (isSiteLocalAddress): New stubbed method.
7623 (isMCGlobal): New stubbed method.
7624 (isMCNodeGlobal): New stubbed method.
7625 (isMCLinkLocal): New stubbed method.
7626 (isMCSiteLocal): New stubbed method.
7627 (isMCOrgLocal): New stubbed method.
7628 (getCanonicalHostName): New stubbed method.
7629 (getByAddress): Create instances of Inet4Address/Inet6Address,
7630 instead of InetAddress, documentation added.
7631 * java/net/MulticastSocket.java
7632 (getInterface): Removed FIXME.
7633 (getNetworkInterface): New method.
7634 (setNetworkInterface): New method.
7635 * java/net/NetworkInterface.java:
7636 (toString): Use property "line.separator" instead of "\n".
7637 * java/net/URLConnection.java
7638 (getContent): New stubbed method.
7639 * java/net/URLStreamHandler.java:
7640 (equals): New stubbed method.
7641 (hostsEqual): New stubbed method.
7642 (hashCode): New stubbed method.
7643 * java/net/natNetworkInterface.cc:
7644 (getRealNetworkInterfaces): Create Inet4Address object
7645 instead of InetAddress.
7646
7647 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7648
7649 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7650 unsigned long temporary to implement insn_iushr shifts.
7651
7652 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7653
7654 * configure.host [s390*-*]: Enable Java interpreter.
7655 Enable hash synchronization. Add sysdeps dir.
7656 * sysdep/s390/locks.h: New file.
7657
7658 2002-10-06 Mark Wielaard <mark@klomp.org>
7659
7660 * java/lang/Thread.java (setDaemon): Check startable_flag,
7661 not isAlive().
7662
7663 2002-10-07 Michael Koch <konqueror@gmx.de>
7664
7665 * java/nio/Buffer.java: New stub file.
7666 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7667 of class Charset.
7668 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7669 * Makefile.in: Regenerated.
7670
7671 2002-10-07 Michael Koch <konqueror@gmx.de>
7672
7673 * java/nio/ByteBuffer.java:
7674 removed import of not commited class.
7675
7676 2002-10-07 Michael Koch <konqueror@gmx.de>
7677
7678 * java/nio/ByteBuffer.java,
7679 java/nio/MappedByteBuffer.java:
7680 New files, forgot to add these dummies.
7681 * Makefile.am (java_native_source_files): Added new files.
7682 * Makefile.in: Regenerated.
7683
7684 2002-10-07 Michael Koch <konqueror@gmx.de>
7685
7686 * java/nio/channels/AlreadyConnectedException.java,
7687 java/nio/channels/ClosedChannelException.java,
7688 java/nio/channels/ReadableByteChannel.java,
7689 java/nio/channels/InterruptibleChannel.java,
7690 java/nio/channels/Channel.java,
7691 java/nio/channels/ByteChannel.java,
7692 java/nio/channels/GatheringByteChannel.java,
7693 java/nio/channels/ScatteringByteChannel.java,
7694 java/nio/channels/WritableByteChannel.java,
7695 java/nio/charset/CharacterCodingException.java,
7696 java/nio/charset/IllegalCharsetNameException.java,
7697 java/nio/charset/MalformedInputException.java,
7698 java/nio/charset/UnmappableCharacterException.java,
7699 java/nio/charset/UnsupportedCharsetException.java,
7700 java/nio/charset/spi/CharsetProvider.java: New file.
7701 These files are exceptions or interfaces,
7702 no real or abstract classes.
7703 * Makefile.am (java_native_source_files): Added new files.
7704 * Makefile.in: Regenerated.
7705
7706 2002-10-05 Michael Koch <konqueror@gmx.de>
7707
7708 * java/net/InetAddress.java
7709 (getByAddress): Fixed documentation.
7710 (getByAddress): New method.
7711 * java/net/Inet4Address.java: New file.
7712 * java/net/URL.java
7713 (URL): Documentation added.
7714 (getContent): Documentation added.
7715 (getContent): New stubbed method.
7716 (getQuery): New method.
7717 (openConnection): Documentation added.
7718 (openStream): Documentation added.
7719 (setURLStreamHandlerFactory): Documentation added.
7720 * java/net/URI.java: New stub file.
7721 * Makefile.am
7722 (java_native_source_files): Added java/net/Inet4Address.java,
7723 java/net/Inet6Address.java and java/net/URI.java.
7724 * Makefile.in: Regenerated.
7725
7726 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7727
7728 * java/lang/ProtectionDomain.java (linesep): Remove field.
7729 (toString): Use System.getProperty("line.separator").
7730
7731 2002-10-04 Michael Koch <konqueror@gmx.de>
7732
7733 * java/security/Identity.java: Added serialVersionUID.
7734 * java/security/KeyPair.java: Added serialVersionUID.
7735 * java/security/Provider.java: Added serialVersionUID.
7736 * java/security/SecureRandom.java: Added serialVersionUID.
7737 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7738 * java/security/SignedObject.java: Added serialVersionUID.
7739 * java/security/cert/Certificate.java: Added serialVersionUID.
7740
7741 2002-10-04 Mark Wielaard <mark@klomp.org>
7742
7743 * java/security/Security.java: Use java.home or gnu.classpath.home
7744 to load providers.
7745 (loadProviders): Extra dir argument.
7746 (getProvider): Return null when not found.
7747
7748 2002-10-04 Mark Wielaard <mark@klomp.org>
7749
7750 * java/lang/Throwable.java: Remerge with Classpath.
7751
7752 2002-10-04 Michael Koch <konqueror@gmx.de>
7753
7754 * java/net/InetAddress.java:
7755 (isMulticastAddress): Added documentation.
7756 (getHostAddress): Added documentation.
7757 (toString): Added documentation.
7758 (getByAddress): Fixed documentation.
7759 (getByName): Added documentation.
7760 (getAllByName): Added documentation.
7761 (getLocalHost): Added documentation.
7762
7763 2002-10-04 Michael Koch <konqueror@gmx.de>
7764
7765 * java/beans/beancontext/BeanContextChildSupport.java:
7766 Added serialVersionUID.
7767 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7768 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7769 * javax/naming/Name.java: Added serialVersionUID.
7770
7771 2002-10-03 Adam Megacz <adam@xwt.org>
7772
7773 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7774 some functionality that isn't supported yet on WIN32.
7775
7776 2002-10-03 Tom Tromey <tromey@redhat.com>
7777
7778 * Makefile.in: Rebuilt.
7779 * Makefile.am (awt_java_source_files): Added new files.
7780
7781 2002-10-03 Michael Koch <konqueror@gmx.de>
7782
7783 * java/net/InetAddress.java
7784 (class InetAddress): Removed final keyword.
7785 (equals): Fixed typo.
7786 (getByAddress): New method.
7787
7788 2002-10-03 Michael Koch <konqueror@gmx.de>
7789
7790 * java/awt/dnd/Autoscroll.java:
7791 New file, merge from Classpath.
7792 * java/awt/dnd/DragSourceAdapter.java:
7793 (dragExit): Fixed typos in argument type.
7794 (dragDropEnd): Fixed typos in argument type.
7795 * java/awt/dnd/DragSourceDropEvent.java:
7796 New file, merge from Classpath.
7797 * java/awt/dnd/DropTarget.java:
7798 Added stubs, merge from Classpath.
7799 * java/awt/dnd/DropTargetAdapter.java:
7800 New file, merge from Classpath.
7801 * java/awt/dnd/DropTargetContext.java:
7802 New file, merge from Classpath.
7803 * java/awt/dnd/DropTargetDragEvent.java:
7804 New file, merge from Classpath.
7805 * java/awt/dnd/DropTargetDropEvent.java:
7806 New file, merge from Classpath.
7807 * java/awt/dnd/DropTargetEvent.java:
7808 New file, merge from Classpath.
7809 * java/awt/dnd/DropTargetListener.java:
7810 New file, merge from Classpath.
7811 * java/awt/dnd/MouseDragGestureRecognizer.java:
7812 New file, merge from Classpath.
7813 * java/awt/dnd/peer/DropTargetContextPeer.java:
7814 New file, merge from Classpath.
7815
7816 2002-10-03 Michael Koch <konqueror@gmx.de>
7817
7818 * java/net/DatagramPacket.java
7819 (setLength): Fixed typo and be HTML-aware.
7820 * java/net/InetSocketAddress.java
7821 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7822 (equals): Added comment about equality of InetSocketAddress objects.
7823 * java/net/ServerSocket.java
7824 (accept): Added checks.
7825 (isClosed): New stubbed method.
7826 * java/net/SocketOptions.java: Reindention.
7827 * java/net/SocketPermission
7828 (SocketPermission): Documentation fixed.
7829
7830 2002-10-03 Michael Koch <konqueror@gmx.de>
7831
7832 * java/net/DatagramSocket.java
7833 (receive): Check with SecurityManager AFTER the packet is received,
7834 check if connected to multicast address, documentation added.
7835 (send): Only check SecurityManager if connected, check address of
7836 packet to send.
7837 (connect): Implemented, documentation added.
7838 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7839 * java/net/InetSocketAddress.java
7840 (whole file): Reindented.
7841 (hostname): New attribute.
7842 (InetSocketAddress): Initialize new attribute.
7843 (getAddress): Documentation added.
7844 (getHostName): Documentation added.
7845 (getPort): Documentation added.
7846 (hashCode): Documentation added.
7847 (isUnresolved): Documentation added.
7848 (toString): Conform to output of JDK 1.4.1, documentation added.
7849 * java/net/MulticastSocket.java
7850 (joinGroup): Removed FIXME, documentation added.
7851 (leaveGroup): Removed FIXME, documentation added.
7852 (send): Documentation added.
7853 * java/net/Socket.java
7854 (inputShutdown): New variable.
7855 (outputShutdown): New variable.
7856 (Socket): Initialize new variables.
7857 (getRemoteSocketAddress): Check if connected.
7858 (shutdownInput): Set new variable.
7859 (shutdownOutput): Set new variable.
7860 (isConnected): New method.
7861 (isClosed): New method.
7862 (isInputShutdown): New method.
7863 (isOutputShutdown): New method.
7864 * java/net/URLStreamHandler.java
7865 (URLStreamHandler): New method.
7866 (openConnection): Added documentation.
7867 (parseURL): Added documentation.
7868 (getHostAddress): New method.
7869 (getDefaultPort): New method.
7870
7871 2002-10-02 Tom Tromey <tromey@redhat.com>
7872
7873 * java/rmi/activation/ActivationDesc.java,
7874 java/rmi/activation/ActivationGroupDesc.java,
7875 java/rmi/activation/ActivationGroupID.java,
7876 java/rmi/activation/ActivationID.java: New versions from
7877 Classpath.
7878
7879 2002-09-30 Bo Thorsen <bo@suse.de>
7880
7881 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7882
7883 2002-09-30 Tom Tromey <tromey@redhat.com>
7884
7885 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7886 from Classpath.
7887 * Makefile.in: Rebuilt.
7888 * Makefile.am (rmi_java_source_files): Added new files.
7889 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7890 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7891 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7892 Classpath.
7893 * gnu/java/rmi/dgc/DGCImpl.java,
7894 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7895 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7896 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7897 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7898 gnu/java/rmi/server/RMIHashes.java,
7899 gnu/java/rmi/server/RMIObjectInputStream.java,
7900 gnu/java/rmi/server/RMIObjectOutputStream.java,
7901 gnu/java/rmi/server/UnicastConnection.java,
7902 gnu/java/rmi/server/UnicastConnectionManager.java,
7903 gnu/java/rmi/server/UnicastRef.java,
7904 gnu/java/rmi/server/UnicastServer.java,
7905 gnu/java/rmi/server/UnicastServerRef.java,
7906 java/rmi/MarshalledObject.java,
7907 java/rmi/server/RMIClassLoader.java,
7908 java/rmi/server/RemoteObject.java,
7909 java/rmi/server/UnicastRemoteObject.java,
7910 java/security/SecureClassLoader.java: Merged from Classpath.
7911
7912 2002-09-29 Anthony Green <green@redhat.com>
7913
7914 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7915 Imported from GNU Classpath.
7916 * java/lang/reflect/natProxy.cc: New file.
7917 * java/lang/reflect/InvocationHandler.java: New file. Imported
7918 from GNU Classpath.
7919 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7920 Classpath.
7921 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7922 Classpath.
7923 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7924 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7925 New statics.
7926 * gcj/javaprims.h ("Java"): Add new classes.
7927 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7928 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7929 java/lang/reflect/Proxy$$ProxyType.h): And this.
7930 (inner_nat_headers): Add these new headers.
7931 (ordinary_java_source_files): Add new files.
7932 (nat_source_files): Add new file.
7933 * Makefile.in: Rebuilt.
7934
7935 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7936
7937 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7938 a single configuration.
7939
7940 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7941
7942 * java/util/TimeZone.java (getDSTSavings): New method.
7943 Fixes PR libgcj/7786.
7944
7945 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7946
7947 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7948 to see if `the_method == 0' before looking up vtable index.
7949 Fixes PR libgcj/7709.
7950
7951 2002-09-25 Tom Tromey <tromey@redhat.com>
7952
7953 * java/lang/natClassLoader.cc:
7954 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7955 * resolve.cc: Include NoClassDefFoundError.h, not
7956 ClassNotFoundException.h.
7957 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7958
7959 * defineclass.cc: Don't include ClassNotFoundException.h.
7960
7961 * resolve.cc: Include StringBuffer.
7962 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7963
7964 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7965 allocated but not initialized.
7966
7967 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7968
7969 Fix for PR libgcj/7766:
7970 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7971 (getNextEntry): Set it.
7972 (closeEntry): Likewise.
7973 (read): Likewise.
7974 (close): Likewise.
7975 (available): Use it.
7976
7977 2002-09-25 Michael Koch <konqueror@gmx.de>
7978
7979 * java/net/DatagramSocket.java
7980 (DatagramSocket): Initialize new instance variables.
7981 (close): Reset new instance variables.
7982 (getLocalAddress): Remove unneeded SecurityManager usage.
7983 (getLocalPort): Check if socket is already bound.
7984 (isConnected): New method.
7985 (getInetAddress): Implemented.
7986 (getPort): Better Implementation, documentation fixed.
7987 (getRemoteSocketAddress): New method.
7988 * java/net/JarURLConnection.java
7989 (element): Typo fixed.
7990 (getMainAttributes): New method.
7991 (getAttributes): New method (stub only).
7992 (getManifest): New method (stub only).
7993 * java/net/NetPermission.java: Added serialVersionsUID.
7994 * java/net/Socket.java
7995 (connect): Check blocking mode of associated channel,
7996 documentation added.
7997 (getLocalSocketAddress): Better implementation.
7998 (getRemoteSocketAddress): Implemented.
7999 (isBound): New method.
8000 (setSendBufferSize): Documentation added.
8001 * java/net/SocketAddress.java: Added serialVersionsUID.
8002 * java/net/SocketPermission.java: Added serialVersionsUID.
8003 * java/net/URL.java
8004 (URL): Wrap for shorter lines, initialize new instance variables,
8005 documentation added.
8006 (equals): Check new instance variables too.
8007 (getContent): Documentation added.
8008 (getPath): Documentation added.
8009 (getAuthority): New method.
8010 (getHost): Documentation added.
8011 (getPort): Documentation added.
8012 (getDefaultPort): New method.
8013 (getProtocol): Documentation added.
8014 (getUserInfo): Documentation added.
8015 (set): Initialize new instance variables, documentation added.
8016 * java/net/URLStreamHandler.java
8017 (setURL): New method.
8018 * java/net/natPlainDatagramSocketImpl.cc
8019 (connect): Fix exception name.
8020 (disconnect): Fix exception name.
8021
8022 2002-09-25 Michael Koch <konqueror@gmx.de>
8023
8024 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8025 * java/nio/channels/DatagramChannel.java:
8026 extends AbstractSelectableChannel
8027 * java/nio/channels/ServerSocketChannel.java:
8028 extends AbstractSelectableChannel
8029 * java/nio/channels/SocketChannel.java:
8030 extends AbstractSelectableChannel
8031 * Makefile.am (ordinary_java_source_files):
8032 java/nio/channels/spi/AbstractSelectableChannel.java added.
8033 * Makefile.in: Regenerated.
8034
8035 2002-09-25 Michael Koch <konqueror@gmx.de>
8036
8037 * java/net/DatagramSocket.java
8038 (DatagramSocket): Exception documentation added.
8039 (bind): Exception documentation added, addded SecurityManager check,
8040 added SocketAddress type check.
8041 (getSoTimeout): Check impl.
8042 (receive): Fix SecurityManager check, check impl, documentation added.
8043 (send): Check channel mode, documentation added.
8044 (connect): New method.
8045 (disconnect): Implemented.
8046 (getLocalSocketAddress): New method.
8047 (getReceiveBufferSize): Check impl.
8048 (setReuseAddress): Check impl.
8049 (getReuseAddress): Check impl.
8050 (setBroadcast): Check impl.
8051 (getBroadcast): Check impl.
8052 (setTrafficClass): Check impl, Documentation cleared.
8053 (getTrafficClass): Check impl.
8054 (getSendBufferSize): Check impl.
8055 (setReceiveBufferSize): Check impl, documentation added.
8056 (setSendBufferSize): Documentation added.
8057 (setDatagramSocketImplFactory): New method.
8058 * java/net/HttpURLConnection.java
8059 (HTTP_INTERNAL_ERROR): The correct code is 500.
8060 (HTTP_NOT_IMPLEMENTED): Added new constant.
8061 (setFollowRedirects): Documentation added.
8062 (getInstanceFollowRedirects): New method.
8063 (setInstanceFollowRedirects): New method.
8064 (setRequestMethod): Documentation added.
8065 (getResponseCode): Documentation added.
8066 (getResponseMessage): Documentation added.
8067 * java/net/JarURLConnection.java
8068 (JarURLConnection): protected since JDK 1.4.
8069 (getJarEntry): java.io.IOException to IOException, documentation added.
8070 (getJarFile): Documentation added.
8071 * java/net/ServerSocket.java
8072 (ServerSocket): Private to public, exception added.
8073 (ServerSocket): java.io.IOException to IOException, documentation added.
8074 (bind): Check socket address type, documentation added.
8075 (bind): java.io.IOException to IOException, documentation added.
8076 (accept): Documentation added.
8077 (implAccept): Check ch is not non-blocking, documentation added.
8078 (setSoTimeout): Documentation fixed.
8079 (setReceiveBufferSize): Documentation added.
8080 * java/net/Socket.java
8081 (Socket): Documentation added.
8082 (bind): Documentation added.
8083 (connect): Check socket address type, documentation added.
8084 (getRemoteSocketAddress): New method.
8085 (getLocalSocketAddress): New method.
8086 (setSoLinger): Documentation added.
8087 (getReuseAddress): New method.
8088 (setReuseAddress): New method.
8089 (getTrafficClass): New method.
8090 (setTrafficClass): New method.
8091 * java/net/URLStreamHandler.java
8092 (openConnection): java.io.IOException to IOException.
8093 (parseURL): Documentation added.
8094 (sameFile): public to protected, documentation added.
8095 (setURL): Documentation added.
8096 * java/nio/IllegalBlockingModeException.java: New file.
8097 * Makefile.am (ordinary_java_source_files):
8098 added java/nio/IllegalBlockingModeException.java
8099 * Makefile.in: Regenerated.
8100
8101 2002-09-25 Michael Koch <konqueror@gmx.de>
8102
8103 * java/net/DatagramPacket
8104 (DatagramPacket): Exception documentation added.
8105 (setData): Likewise.
8106 (setSocketAddress): Likewise.
8107 * java/net/DatagramSocketImpl.java
8108 (peek): Documentation addded.
8109 (peekData): Documentation addded.
8110 (send): Documentation addded.
8111 (receive): Documentation addded.
8112 (connect): New method.
8113 (disconnect): New method.
8114 (joinGroup): New abstract method.
8115 (leaveGroup): New abstract method.
8116 * java/net/InetSocketAddress.java
8117 (InetSocketAddress): Documentation added.
8118 (equals): final keyword added.
8119 (getAddress): final keyword added.
8120 (getHostName): final keyword added.
8121 (getPort): final keyword added.
8122 (hashCode): final keyword added.
8123 (isUnresolved): final keyword added.
8124 * java/net/MulticastSocket.java
8125 (MulticastSocket): Documentation added.
8126 (MulticastSocket): New method.
8127 (joinGroup): Documentation added.
8128 (joinGroup): New method.
8129 (leaveGroup): Documentation added.
8130 (leaveGroup): New method.
8131 (send): Documentation added.
8132 * java/net/NetworkInterface.java
8133 (getByName): Documentation added.
8134 (getByInetAddress): Documentation added.
8135 (getNetworkInterfaces): Documentation added.
8136 * java/net/PlainDatagramSocketImpl.java
8137 (connect): New method.
8138 (disconnect): New method.
8139 * java/net/SocketImpl.java
8140 (create): Documentation added.
8141 (shutdownInput): Convert public to protected, as it always was.
8142 (shutdownOutput): Convert public to protected, as it always was.
8143 * java/net/SocketOptions.java
8144 (whole file): Reintented.
8145 * java/net/URLClassLoader.java
8146 (URLClassLoader): SecurityManager check added, documentation added.
8147 (findResources): Documentation added.
8148 (findClass): Documentation added.
8149 (newInstance): More correct method arguments.
8150 * java/net/URLConnection.java
8151 (connect): Documentation added.
8152 (getContent): Documentation added.
8153 (getPermission): Documentation added.
8154 (getInputStream): Documentation added.
8155 (getOutputStream): Documentation added.
8156 (setDoInput): Throw correct exception, documentation added.
8157 (setDoOutput): Throw correct exception, documentation added.
8158 (setAllowUserInteraction): Throw correct exception, documentation added.
8159 (setUseCaches): Throw correct exception, documentation added.
8160 (setIfModifiedSince): Throw correct exception, documentation added.
8161 (setRequestProperty): Throw exception, documentation added.
8162 (addRequestProperty): Throw exception, documentation added.
8163 (getRequestProperty): Throw exception, documentation added.
8164 (getRequestProperties): Documentation added.
8165 (setContentHandlerFactory): Documentation added.
8166 (guessContentTypeFromName): protected to public.
8167 (setFileNameMap): Documentation added.
8168 * java/net/URLDecoder.java
8169 (URLDecoder): New method.
8170 (decode): Documentation added.
8171 (whole file): Reindented.
8172 * java/net/URLEncoder.java
8173 (encode): Documentation added.
8174 * java/net/natPlainDatagramSocketImpl.cc
8175 (connect): New method.
8176 (disconnect): New method.
8177 * javax/naming/RefAddr:
8178 (addrType): addrType was never final.
8179 (equals): Fix typo in method name.
8180 * javax/naming/BinaryRefAddr:
8181 (equals): Fix typo in method name.
8182
8183 2002-09-22 Tom Tromey <tromey@redhat.com>
8184
8185 Fix for PR libgcj/6576:
8186 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8187 didn't find a given bundle.
8188 (getBundle): Don't require base bundle.
8189 (setParent): Removed old comment.
8190 (tryLocalBundle): Try components even if preceding components were
8191 empty.
8192
8193 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8194
8195 * Makefile.am (all-multi): Fix multilib parallel build.
8196
8197 2002-09-21 Michael Koch <konqueror@gmx.de>
8198
8199 * java/net/Socket.java
8200 (sendUrgentData): New method.
8201 (getChannel): New method.
8202 * java/net/ServerSocket.java
8203 (getChannel): New method.
8204 (isBound): New method.
8205 * java/net/DatagramSocket.java
8206 (DatagramSocket): Two new methods.
8207 (bind): New method.
8208 (getChannel): New method.
8209 (isBound): New method.
8210 (send): Added newline to to make shorter lines.
8211 * java/net/PlainDatagramSocketImpl.java
8212 (mcastGrp): Added argument.
8213 (join): Use new mcastGrp.
8214 (leave): Use new mcastGrp.
8215 (joinGroup): New method.
8216 (leaveGroup): New method.
8217 * java/net/natPlainDatagramSocketImpl.cc
8218 (mcastGrp): Added argument, no yet really implemented.
8219 (getOption): Added newline for shorter lines.
8220 * java/net/natPlainSocketImpl.cc
8221 (read, setOption, getOption): Added newline for shorter lines.
8222
8223 2002-09-19 Tom Tromey <tromey@redhat.com>
8224
8225 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8226 newly-created exception.
8227
8228 2002-09-18 Michael Koch <konqueror@gmx.de>
8229
8230 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8231 java/util/regex/PatternSyntaxException.java:
8232 Merge with classpath, new files.
8233 * Makefile.am (core_java_source_files):
8234 Added java/util/regex/Matcher.java,
8235 java/util/regex/Pattern.java,
8236 java/util/regex/PatternSyntaxException.java
8237 * Makefile.in: Regenerated.
8238 * include/config.h.in: Added HAVE_NET_IF_H.
8239 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8240 Removed #if 0 ... #endif.
8241
8242 2002-09-17 Michael Koch <konqueror@gmx.de>
8243
8244 * java/net/natNetworkInterface.cc:
8245 Removed unneed and yet wrong includes.
8246
8247 2002-09-17 Michael Koch <konqueror@gmx.de>
8248
8249 * java/net/NetworkInterface.java: New file.
8250 * java/net/natNetworkInterface.java: New file.
8251 * configure.in: Added check for net/if.h.
8252 * configure: Regenerated.
8253 * Makefile.am
8254 (ordinary_java_source_files): Added NetworkInterface.java.
8255 (nat_source_files): Added natNetworkInterface.cc.
8256 * Makefile.in: Regenerated.
8257
8258 2002-09-16 Tom Tromey <tromey@redhat.com>
8259
8260 * java/net/URLClassLoader.java (findClass): Code source for a
8261 class from a jar is not necessarily a jar: URL.
8262
8263 2002-09-16 Michael Koch <konqueror@gmx.de>
8264
8265 * java/lang/AssertionError.java:
8266 Merge with classpath, fixes HTML.
8267 * java/rmi/server/LogStream.java:
8268 Merge with classpath, fixes some constants.
8269 * java/net/server/RemoteServer.java:
8270 Merge with classpath, adds serialVersionUID.
8271 * javax/naming/BinaryRefAddr.java:
8272 Merge with classpath, s/equal/equals/.
8273 * javax/naming/NamingException.java:
8274 Merge with classpath, fixed typo.
8275 * javax/naming/RefAddr.java:
8276 Merge with classpath, s/equal/equals/.
8277 * java/awt/Toolkit.java:
8278 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8279 and typo fixed.
8280
8281 2002-09-15 Adam Megacz <adam@xwt.org>
8282
8283 * java/net/natPlainSocketImpl.cc: fixed typo.
8284
8285 2002-09-15 Adam Megacz <adam@xwt.org>
8286
8287 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8288 which don't work on Win32 (yet).
8289
8290 2002-09-14 Adam Megacz <adam@xwt.org>
8291
8292 * java/net/natPlainDatagramSocket.cc: removed #include
8293 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8294 * include/win32.h: included definition for IP_TOS to satisfy
8295 natPlainDatagramSocket.cc
8296
8297 2002-09-13 Michael Koch <konqueror@gmx.de>
8298
8299 * java/net/DatagramPacket.java (DatagramPacket):
8300 Added linebreak for 80 chars per line.
8301 * java/net/JarURLConection.java
8302 (getInputStreami, getJarEntry): Likewise.
8303 * java/net/SocketPErmission.java
8304 (SocketPermission class docu, implies): Likewise.
8305 * java/net/URLClassLoader.java (findResources): Likewise.
8306 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8307
8308 2002-09-13 Michael Koch <konqueror@gmx.de>
8309
8310 * java/nio/channels/DatagramChannel.java,
8311 java/nio/channels/ServerSocketChannel.java
8312 java/nio/channels/SocketChannel.java:
8313 New dummy files to make java.net fully JDK 1.4 compatible
8314 * Makefile.am (ordinary_java_source_files): Added
8315 java/net/DatagramSocketImplFactory.java (long forgotten),
8316 java/nio/SocketChannel.java,
8317 java/nio/ServerSocketChannel.java,
8318 java/nio/DatagramChannel.java
8319 * Makefile.in: Regenrated.
8320
8321 2002-09-12 Michael Koch <konqueror@gmx.de>
8322
8323 * java/net/DatagramSocketImpl.java
8324 (peekData): New method.
8325 * java/net/PlainDatagramSocketImpl.java
8326 (peekData): New method.
8327 * java/net/natPlainDatagramSocketImpl.cc
8328 (peekData): New method.
8329 * java/net/URLConnection
8330 (getPermission): New method.
8331 (addRequestProperty): New method.
8332 (getRequestProperties): New method.
8333 (guessContentTypeFromStream): New method, not really implemented.
8334 (URLConnection): Added/updated documentation.
8335 (connect): Added/updated documentation.
8336 (getURL): Added/updated documentation.
8337 (getContentLength): Added/updated documentation.
8338 (getContentType: Added/updated documentation.
8339 (getContentEncoding): Added/updated documentation.
8340 (getExpiration): Added/updated documentation.
8341 (getDate): Added/updated documentation.
8342 (getLastModified): Added/updated documentation.
8343 (getHeaderField): Added/updated documentation.
8344 (getHeaderFields): Added/updated documentation.
8345 (getHeaderFieldInt): Added/updated documentation.
8346 (getHeaderFieldDate): Added/updated documentation.
8347 (getHeaderFieldKey): Added/updated documentation.
8348 (getContent): Added/updated documentation.
8349 (getInputStream): Added/updated documentation.
8350 (getOutputStream): Added/updated documentation.
8351 (toString): Added/updated documentation.
8352 (setDoInput): Added/updated documentation.
8353 (getDoInput): Added/updated documentation.
8354 (setDoOutput): Added/updated documentation.
8355 (getDoOutput): Added/updated documentation.
8356 (setAllowUserInteraction): Added/updated documentation.
8357 (getAllowUserInteraction): Added/updated documentation.
8358 (setDefaultAllowUserInteraction): Added/updated documentation.
8359 (getDefaultAllowUserInteraction): Added/updated documentation.
8360 (setUseCaches): Added/updated documentation.
8361 (getUseCaches): Added/updated documentation.
8362 (setIfModifiedSince): Added/updated documentation.
8363 (getIfModifiedSince): Added/updated documentation.
8364 (getDefaultUseCaches): Added/updated documentation.
8365 (setDefaultUseCaches): Added/updated documentation.
8366 (setRequestProperty): Added/updated documentation.
8367 (getRequestProperty): Added/updated documentation.
8368 (setDefaultRequestProperty): Added/updated documentation.
8369 (getDefaultRequestProperty): Added/updated documentation.
8370 (setContentHandlerFactory): Added/updated documentation.
8371 (guessContentTypeFromName): Added/updated documentation.
8372 (getFileNameMap): Added/updated documentation.
8373 (setFileNameMap): Added/updated documentation.
8374
8375 2002-09-11 Michael Koch <konqueror@gmx.de>
8376
8377 * java/net/Socket.java
8378 (Socket): protected to public (since JDK 1.4). Added @specnote.
8379 (bind): New method.
8380 (connect): Two new methods.
8381 (getKeepalive): Get correct socket option.
8382 (setKeepalive): Set correct socket option.
8383 (getOOBInline): New method.
8384 (setOOBInline): New method.
8385 * java/net/ServerSocket.java
8386 (bind): Two new methods.
8387 (getInetAddress): Reimplemented, catch exception.
8388 (getLocalSocketAddress): New method.
8389 (setReuseAddress): New method.
8390 (getReuseAdress): New method.
8391 (setReceiveBufferSize): New method.
8392 (getReceiveBufferSize): New method.
8393 (toString): Made string JDK 1.4 compliant.
8394
8395 2002-09-10 Michael Koch <konqueror@gmx.de>
8396
8397 * java/net/SocketImpl.java
8398 (connect): New method.
8399 (supportsUrgentData): New method.
8400 (sendUrgentData): New method.
8401 * java/net/PlainSocketImpl.java
8402 (connect): One new method and two new implementation.
8403 (sendUrgentData): New method.
8404 * java/natPlainSocketImpl.cc
8405 (connect): Arguments changed, added support for timeouts.
8406 (getOption): Another __java_boolean to jboolean.
8407
8408 2002-09-07 Adam Megacz <adam@xwt.org>
8409
8410 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8411 definition of IP_TOS.
8412
8413 2002-09-04 Michael Koch <konqueror@gmx.de>
8414
8415 * java/net/DatagramSocket.java
8416 (DatagramSocket): Added documentation.
8417 (close): Likewise.
8418 (getLocalAddress): Likewise.
8419 (getLocalPort): Likewise.
8420 (receive): Likewise.
8421 (send): Likewise.
8422 (setSoTimeout): Likewise.
8423 (connect): New method.
8424 (disconnect): New method.
8425 (getInetAddress): New method (FIXME)
8426 (getPort): New method.
8427 (setReuseAddress): New method.
8428 (getReuseAddress): New method.
8429 (setBroadcast): New method.
8430 (getBroadcast): New method.
8431 (setTrafficClass): New method.
8432 (getTrafficClass): New method.
8433 * java/net/MulticastSocket.java):
8434 (getTTL): Added @see in documentation.
8435 (setTTL): Added @see in documentation.
8436 (setLoopbackMode): New method.
8437 (getLoopbackMode): New method.
8438 * java/net/PlainSocketImpl.java:
8439 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8440 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8441 * java/net/PlainDatagramSocketImpl.java
8442 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8443 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8444 * java/net/natPlainSocketImpl.cc
8445 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8446 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8447 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8448 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8449 This should also fix SO_KEEPALIVE
8450 * java/net/natPlainDatagramSocketImpl.cc
8451 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8452 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8453 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8454 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8455
8456 2002-09-04 Michael Koch <konqueror@gmx.de>
8457
8458 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8459 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8460 IP_MULTICAST_LOOP, IP_TOS
8461
8462 2002-09-03 Tom Tromey <tromey@redhat.com>
8463
8464 * java/lang/Class.h (_getDeclaredMethod): Declare.
8465 (_getMethod): Now private.
8466 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8467 getDeclaredMethod. Now returns NULL on failure.
8468 * java/lang/Class.java (_getDeclaredMethod): Declare.
8469 (getDeclaredMethod): No longer native; implements access checks.
8470
8471 2002-09-01 Mark Wielaard <mark@klomp.org>
8472
8473 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8474 (sanitizeStack): Correctly reset unknown and interpreter counters,
8475 detect interpreter runtime frames.
8476 (demangleInterpreterMethod): New method.
8477 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8478 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8479 filling in addrs[].
8480
8481 2002-09-02 Michael Koch <konqueror@gmx.de>
8482
8483 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8484 re-indented documentation.
8485
8486 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8487
8488 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8489 public, per 1.4 spec. Fixes PR libgcj/7785.
8490
8491 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8492
8493 * Makefile.in: Rebuilt.
8494 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8495
8496 2002-08-29 Tom Tromey <tromey@redhat.com>
8497
8498 * java/net/JarURLConnection.java (getCertificates): New method
8499 from Classpath.
8500 * java/net/URLClassLoader.java (URLClassLoader): Extends
8501 SecureClassLoader.
8502 (definePackage): New method from Classpath.
8503 (getPermissions): Likewise.
8504 (newInstance): Likewise.
8505 (findClass): Construct CodeSource for new class (from Classpath).
8506 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8507 methods.
8508 * java/net/URL.java (getUserInfo): New method.
8509 (set(String,String,int,String,String,String,String,String)): New
8510 method.
8511 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8512 (shutdownInput, shutdownOutput): Declare.
8513 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8514 Define.
8515 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8516 (getOption): Likewise.
8517 (shutdownInput): New method.
8518 (shutdownOutput): Likewise.
8519 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8520 keepalive.
8521 (getOption): Likewise.
8522 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8523 * java/net/Socket.java (setKeepAlive): New method.
8524 (getKeepAlive): Likewise.
8525 (shutdownInput, shutdownOutput): New methods.
8526
8527 2002-08-29 Michael Koch <konqueror@gmx.de>
8528
8529 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8530 new methods are:
8531 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8532 address),
8533 DatagramPacket(byte[] buf, int length, SocketAddress address),
8534 void setSocketAddress(SocketAddress address)
8535 public SocketAddress getSocketAddress()
8536
8537 2002-08-29 Tom Tromey <tromey@redhat.com>
8538
8539 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8540 ftruncate is missing.
8541 * configure, include/config.h.in: Rebuilt.
8542 * acconfig.h (HAVE_FTRUNCATE): Mention.
8543 * configure.in: Check for ftruncate.
8544
8545 2002-08-29 Tom Tromey <tromey@redhat.com>
8546
8547 * include/jvm.h (struct _Jv_frame_info): New structure.
8548 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8549 java-interp.h.
8550 (lookupInterp): New method.
8551 (getAddrAsString): Use _Jv_frame_info.
8552 (dladdrLookup): Likewise.
8553 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8554 interpreted frame.
8555 (lookupInterp): Declare.
8556 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8557 (fillInStackTrace): Collect information on interpreted frames.
8558 Use _Jv_frame_info.
8559 * interpret.cc: Include Thread.h.
8560 (run): Create and push _Jv_MethodChain object.
8561 (_Jv_EndOfInterpreter): New global.
8562 * java/lang/Thread.java (interp_frame): New field.
8563 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8564 Include NameFinder.h.
8565
8566 2002-08-28 Tom Tromey <tromey@redhat.com>
8567
8568 * java/lang/Class.h: Include Package.h.
8569 (Class::getProtectionDomain): Declare.
8570 (Class::getPackage): Declare.
8571
8572 2002-08-28 Michael Koch <konqueror@gmx.de>
8573
8574 * java/net/InetSocketAddress.java: Added some documentation and argument
8575 checks for the port numbers.
8576 * java/net/DatagramSocketImplFactory.java: New file.
8577
8578 2002-08-28 Michael Koch <konqueror@gmx.de>
8579
8580 * java/net/Authenticator.java: added some documentation.
8581
8582 2002-08-27 Tom Tromey <tromey@redhat.com>
8583
8584 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8585 class.
8586 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8587
8588 2002-08-27 Michael Koch <konqueror@gmx.de>
8589
8590 * java/net/BindException.java,
8591 java/net/JarURLConnection.java,
8592 java/net/FileNameMap.java,
8593 java/net/HttpURLConnection.java,
8594 java/net/InetSocketAddress.java,
8595 java/net/DatagramPacket.java,
8596 java/net/DatagramSocket.java,
8597 java/net/DatagramSocketImpl.java,
8598 java/net/MulticastSocket.java,
8599 java/net/PasswordAuthentication.java,
8600 java/net/ServerSocket.java,
8601 java/net/Socket.java,
8602 java/net/URLClassLoader.java,
8603 java/net/URLConnection.java: add/update of some @since/@deprecated
8604
8605 2002-08-27 Tony Kimball <alk@pobox.com>
8606 Tom Tromey <tromey@redhat.com>
8607
8608 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8609 define.
8610 (::close): Removed.
8611 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8612 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8613 (::close): Removed.
8614 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8615 * include/win32.h (getcwd): Removed declaration. Include io.h.
8616
8617 2002-08-25 Adam Megacz <adam@xwt.org>
8618
8619 * include/win32.h (getcwd): copied function declaration as
8620 temporary fix for header confusion.
8621
8622 2002-08-24 Mark Wielaard <mark@klomp.org>
8623
8624 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8625 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8626 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8627 and natNameFinder.cc.
8628 * Makefile.in: Regenerate.
8629 * prims.cc: Use trace_enabled from VMThrowable.
8630 * name-finder.cc: Removed.
8631 * gcj/javaprims.h: Add class VMThrowable.
8632 * gnu/gcj/runtime/NameFinder.java: New file.
8633 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8634 * include/name-finder.h: Removed.
8635 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8636 method stackTraceString().
8637 (printStackTrace (PrintWriter)): Likewise.
8638 (stackTraceString): Complete rewrite of old printStackTrace using
8639 StringBuffer.
8640 (stackTraceStringBuffer): New helper method for stackTraceString().
8641 (fillInStackTrace): Delegate to VMTrowable.
8642 (getStackTrace): Likewise.
8643 (getStackTrace0): Removed.
8644 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8645 (setStackTrace): Copy given array.
8646 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8647 * java/lang/VMThrowable.java: New class.
8648 * java/lang/natVMThrowable.cc: New file.
8649
8650 2003-08-23 Michael Koch <konqueror@gmx.de>
8651
8652 * java/net/URLConnection.java,
8653 java/netJarURLConnection.java,
8654 gnu/gcj/protocol/core/Connection.java,
8655 gnu/gcj/protocol/file/Connection.java,
8656 gnu/gcj/protocol/http/Connection.java: Added implementation of
8657 getHeaderFields().
8658
8659 2002-08-22 Tom Tromey <tromey@redhat.com>
8660
8661 * gij.cc (help): Document -cp and -classpath.
8662 (main): Handle -classpath.
8663
8664 2002-08-21 Tom Tromey <tromey@redhat.com>
8665
8666 * Makefile.in: Rebuilt.
8667 * Makefile.am (ordinary_java_source_files): Added
8668 SocketAddress.java, InetSocketAddress.java.
8669 * java/net/PortUnreachableException.java: Merged with Classpath.
8670 * java/net/SocketTimeoutException.java: Likewise.
8671 * java/net/URISyntaxException.java: Likewise.
8672 * java/net/SocketAddress.java: New class from Classpath.
8673 * java/net/InetSocketAddress.java: Likewise.
8674
8675 2003-08-21 Michael Koch <konqueror@gmx.de>
8676
8677 * java/net/Authenticator.java: updated JDK 1.4
8678 * java/net/ContentHandler.java: updated JDK 1.4
8679
8680 2002-08-20 Michael Koch <konqueror@gmx.de>
8681
8682 * java/net/URISyntaxException.java: New file.
8683 * java/net/SocketTimeoutException.java: New file.
8684 * java/net/PortUnreachableException.java: New file.
8685 * Makefile.am: Updated.
8686 * Makefile.in: Rebuilt.
8687
8688 2002-08-18 Mark Wielaard <mark@klomp.org>
8689
8690 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8691 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8692 MessageDigestSpi (fixes Classpath bug #783).
8693
8694 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8695
8696 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8697 (startProcess): Allocate path for chdir in async-signal-safe way.
8698
8699 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8700
8701 Fix for PR libgcj/7570 and PR libgcj/7578:
8702 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8703 (startProcess): Handle new `dir' argument.
8704 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8705 argument.
8706 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8707 argument.
8708 (startProcess): Likewise.
8709 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8710 argument.
8711 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8712 (exec): Don't create new environment if ENV==null. Pass DIR to
8713 execInternal.
8714 * java/lang/natRuntime.cc: Include java/io/File.h.
8715 (execInternal): Added `dir' argument.
8716
8717 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8718
8719 * java/io/RandomAccessFile.java (skipBytes): Return number of
8720 bytes skipped.
8721
8722 2002-08-01 Mark Wielaard <mark@klomp.org>
8723
8724 Reenable patch since shared library troubles on powerpc are solved:
8725 * gnu/java/security/provider/Gnu.java: Reference all implementation
8726 classes by using Class.getName().
8727 * gnu/java/security/der/DEREncodingException.java,
8728 gnu/java/security/provider/DERReader.java,
8729 gnu/java/security/provider/DERWriter.java,
8730 gnu/java/security/provider/DSAKeyPairGenerator.java,
8731 gnu/java/security/provider/DSAParameterGenerator.java,
8732 gnu/java/security/provider/DSAParameters.java,
8733 gnu/java/security/provider/DSASignature.java,
8734 gnu/java/security/provider/GnuDSAPrivateKey.java,
8735 gnu/java/security/provider/GnuDSAPublicKey.java,
8736 gnu/java/security/provider/MD5.java,
8737 gnu/java/security/util/Prime.java: New classes
8738 * Makefile.am (ordinary_java_source_files): Add above files.
8739 * Makefile.in: Regenerate.
8740 * gnu/java/security/provider/DefaultPolicy.java
8741 (getPermissions): Don't maintain static class variable of Permissions.
8742 * gnu/java/security/provider/SHA.java
8743 (engineUpdate): algorithm change.
8744 (engineDigest): algorithm change.
8745
8746 2002-08-09 Mark Wielaard <mark@klomp.org>
8747
8748 * java/awt/image/MemoryImageSource.java: Change constructor to take
8749 int[] not byte[].
8750 * java/awt/Graphics2D.java: Uncomment methods that can now be
8751 compiled.
8752 * java/awt/GridBagLayout.java: New stub implementation.
8753 * javax/swing/text/html/HTML.java: Stub implementation.
8754 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8755 implementation.
8756
8757 * Makefile.am: Add new files.
8758 * Makefile.in: Rebuilt.
8759
8760 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8761
8762 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8763 methods in Graphics2D.
8764
8765 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8766
8767 AWT/Swing merge from GNU Classpath.
8768
8769 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8770 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8771 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8772 java/awt/color/ProfileDataException.java,
8773 java/awt/CompositeContext.java, java/awt/Composite.java,
8774 java/awt/ContainerOrderFocusTraversalPolicy.java,
8775 java/awt/datatransfer/FlavorTable.java,
8776 java/awt/DefaultFocusTraversalPolicy.java,
8777 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8778 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8779 java/awt/dnd/DragGestureListener.java,
8780 java/awt/dnd/DragGestureRecognizer.java,
8781 java/awt/dnd/DragSourceAdapter.java,
8782 java/awt/dnd/DragSourceContext.java,
8783 java/awt/dnd/DragSourceDragEvent.java,
8784 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8785 java/awt/dnd/DragSourceListener.java,
8786 java/awt/dnd/DragSourceMotionListener.java,
8787 java/awt/dnd/DropTarget.java,
8788 java/awt/dnd/InvalidDnDOperationException.java,
8789 java/awt/dnd/peer/DragSourceContextPeer.java,
8790 java/awt/event/AWTEventListenerProxy.java,
8791 java/awt/event/MouseWheelEvent.java,
8792 java/awt/event/MouseWheelListener.java,
8793 java/awt/event/WindowFocusListener.java,
8794 java/awt/event/WindowStateListener.java,
8795 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8796 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8797 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8798 java/awt/geom/FlatteningPathIterator.java,
8799 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8800 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8801 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8802 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8803 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8804 java/awt/image/ImagingOpException.java,
8805 java/awt/image/RasterFormatException.java,
8806 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8807 java/awt/image/VolatileImage.java,
8808 java/awt/image/WritableRenderedImage.java,
8809 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8810 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8811 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8812 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8813 java/awt/PageAttributes.java, java/awt/print/Book.java,
8814 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8815 java/awt/print/Paper.java, java/awt/print/Printable.java,
8816 java/awt/print/PrinterAbortException.java,
8817 java/awt/print/PrinterException.java,
8818 java/awt/print/PrinterGraphics.java,
8819 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8820 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8821 java/awt/Stroke.java, java/awt/TexturePaint.java,
8822 javax/accessibility/AccessibleAction.java,
8823 javax/accessibility/AccessibleBundle.java,
8824 javax/accessibility/AccessibleComponent.java,
8825 javax/accessibility/AccessibleContext.java,
8826 javax/accessibility/AccessibleEditableText.java,
8827 javax/accessibility/AccessibleExtendedComponent.java,
8828 javax/accessibility/AccessibleExtendedTable.java,
8829 javax/accessibility/AccessibleHyperlink.java,
8830 javax/accessibility/AccessibleHypertext.java,
8831 javax/accessibility/AccessibleIcon.java,
8832 javax/accessibility/Accessible.java,
8833 javax/accessibility/AccessibleKeyBinding.java,
8834 javax/accessibility/AccessibleRelation.java,
8835 javax/accessibility/AccessibleRelationSet.java,
8836 javax/accessibility/AccessibleResourceBundle.java,
8837 javax/accessibility/AccessibleRole.java,
8838 javax/accessibility/AccessibleSelection.java,
8839 javax/accessibility/AccessibleState.java,
8840 javax/accessibility/AccessibleStateSet.java,
8841 javax/accessibility/AccessibleTable.java,
8842 javax/accessibility/AccessibleTableModelChange.java,
8843 javax/accessibility/AccessibleText.java,
8844 javax/accessibility/AccessibleValue.java,
8845 javax/swing/AbstractAction.java,
8846 javax/swing/AbstractButton.java,
8847 javax/swing/AbstractCellEditor.java,
8848 javax/swing/AbstractListModel.java,
8849 javax/swing/AbstractSet.java, javax/swing/Action.java,
8850 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8851 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8852 javax/swing/border/CompoundBorder.java,
8853 javax/swing/border/EmptyBorder.java,
8854 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8855 javax/swing/border/LineBorder.java,
8856 javax/swing/border/MatteBorder.java,
8857 javax/swing/border/TitledBorder.java,
8858 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8859 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8860 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8861 javax/swing/CellRendererPane.java,
8862 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8863 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8864 javax/swing/colorchooser/ColorSelectionModel.java,
8865 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8866 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8867 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8868 javax/swing/DefaultBoundedRangeModel.java,
8869 javax/swing/DefaultButtonModel.java,
8870 javax/swing/DefaultCellEditor.java,
8871 javax/swing/DefaultCellRenderer.java,
8872 javax/swing/DefaultComboBoxModel.java,
8873 javax/swing/DefaultDesktopManager.java,
8874 javax/swing/DefaultFocusManager.java,
8875 javax/swing/DefaultListCellRenderer.java,
8876 javax/swing/DefaultListModel.java,
8877 javax/swing/DefaultListSelectionModel.java,
8878 javax/swing/DefaultSingleSelectionModel.java,
8879 javax/swing/DesktopManager.java,
8880 javax/swing/event/AncestorEvent.java,
8881 javax/swing/event/AncestorListener.java,
8882 javax/swing/event/CaretEvent.java,
8883 javax/swing/event/CaretListener.java,
8884 javax/swing/event/CellEditorListener.java,
8885 javax/swing/event/ChangeEvent.java,
8886 javax/swing/event/ChangeListener.java,
8887 javax/swing/event/DocumentEvent.java,
8888 javax/swing/event/DocumentListener.java,
8889 javax/swing/event/EventListenerList.java,
8890 javax/swing/event/HyperlinkEvent.java,
8891 javax/swing/event/HyperlinkListener.java,
8892 javax/swing/event/InternalFrameAdapter.java,
8893 javax/swing/event/InternalFrameEvent.java,
8894 javax/swing/event/InternalFrameListener.java,
8895 javax/swing/event/ListDataEvent.java,
8896 javax/swing/event/ListDataListener.java,
8897 javax/swing/event/ListSelectionEvent.java,
8898 javax/swing/event/ListSelectionListener.java,
8899 javax/swing/event/MenuDragMouseEvent.java,
8900 javax/swing/event/MenuDragMouseListener.java,
8901 javax/swing/event/MenuEvent.java,
8902 javax/swing/event/MenuKeyEvent.java,
8903 javax/swing/event/MenuKeyListener.java,
8904 javax/swing/event/MenuListener.java,
8905 javax/swing/event/MouseInputAdapter.java,
8906 javax/swing/event/MouseInputListener.java,
8907 javax/swing/event/PopupMenuEvent.java,
8908 javax/swing/event/PopupMenuListener.java,
8909 javax/swing/event/SwingPropertyChangeSupport.java,
8910 javax/swing/event/TableColumnModelEvent.java,
8911 javax/swing/event/TableColumnModelListener.java,
8912 javax/swing/event/TableModelEvent.java,
8913 javax/swing/event/TableModelListener.java,
8914 javax/swing/event/TreeExpansionEvent.java,
8915 javax/swing/event/TreeExpansionListener.java,
8916 javax/swing/event/TreeModelEvent.java,
8917 javax/swing/event/TreeModelListener.java,
8918 javax/swing/event/TreeSelectionEvent.java,
8919 javax/swing/event/TreeSelectionListener.java,
8920 javax/swing/event/TreeWillExpandListener.java,
8921 javax/swing/event/UndoableEditEvent.java,
8922 javax/swing/event/UndoableEditListener.java,
8923 javax/swing/filechooser/FileFilter.java,
8924 javax/swing/filechooser/FileSystemView.java,
8925 javax/swing/filechooser/FileView.java,
8926 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8927 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8928 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8929 javax/swing/JApplet.java, javax/swing/JButton.java,
8930 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8931 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8932 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8933 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8934 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8935 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8936 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8937 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8938 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8939 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8940 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8941 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8942 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8943 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8944 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8945 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8946 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8947 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8948 javax/swing/JToolTip.java, javax/swing/JTree.java,
8949 javax/swing/JViewport.java, javax/swing/JWindow.java,
8950 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8951 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8952 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8953 javax/swing/MenuSelectionManager.java,
8954 javax/swing/MutableComboBoxModel.java,
8955 javax/swing/OverlayLayout.java,
8956 javax/swing/plaf/ActionMapUIResource.java,
8957 javax/swing/plaf/basic/BasicBorders.java,
8958 javax/swing/plaf/basic/BasicButtonUI.java,
8959 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8960 javax/swing/plaf/basic/BasicDefaults.java,
8961 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8962 javax/swing/plaf/basic/BasicIconFactory.java,
8963 javax/swing/plaf/basic/BasicLabelUI.java,
8964 javax/swing/plaf/basic/BasicListUI.java,
8965 javax/swing/plaf/basic/BasicLookAndFeel.java,
8966 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8967 javax/swing/plaf/basic/BasicPanelUI.java,
8968 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8969 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8970 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8971 javax/swing/plaf/basic/BasicTextUI.java,
8972 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8973 javax/swing/plaf/basic/BasicTreeUI.java,
8974 javax/swing/plaf/basic/BasicViewportUI.java,
8975 javax/swing/plaf/BorderUIResource.java,
8976 javax/swing/plaf/ButtonUI.java,
8977 javax/swing/plaf/ColorChooserUI.java,
8978 javax/swing/plaf/ColorUIResource.java,
8979 javax/swing/plaf/ComboBoxUI.java,
8980 javax/swing/plaf/ComponentInputMapUIResource.java,
8981 javax/swing/plaf/ComponentUI.java,
8982 javax/swing/plaf/DesktopIconUI.java,
8983 javax/swing/plaf/DesktopPaneUI.java,
8984 javax/swing/plaf/DimensionUIResource.java,
8985 javax/swing/plaf/FileChooserUI.java,
8986 javax/swing/plaf/FontUIResource.java,
8987 javax/swing/plaf/IconUIResource.java,
8988 javax/swing/plaf/InputMapUIResource.java,
8989 javax/swing/plaf/InsetsUIResource.java,
8990 javax/swing/plaf/InternalFrameUI.java,
8991 javax/swing/plaf/LabelUI.java,
8992 javax/swing/plaf/ListUI.java,
8993 javax/swing/plaf/MenuBarUI.java,
8994 javax/swing/plaf/MenuItemUI.java,
8995 javax/swing/plaf/OptionPaneUI.java,
8996 javax/swing/plaf/PanelUI.java,
8997 javax/swing/plaf/PopupMenuUI.java,
8998 javax/swing/plaf/ProgressBarUI.java,
8999 javax/swing/plaf/RootPaneUI.java,
9000 javax/swing/plaf/ScrollBarUI.java,
9001 javax/swing/plaf/ScrollPaneUI.java,
9002 javax/swing/plaf/SeparatorUI.java,
9003 javax/swing/plaf/SliderUI.java,
9004 javax/swing/plaf/SplitPaneUI.java,
9005 javax/swing/plaf/TabbedPaneUI.java,
9006 javax/swing/plaf/TableHeaderUI.java,
9007 javax/swing/plaf/TableUI.java,
9008 javax/swing/plaf/TextUI.java,
9009 javax/swing/plaf/ToolBarUI.java,
9010 javax/swing/plaf/ToolTipUI.java,
9011 javax/swing/plaf/TreeUI.java,
9012 javax/swing/plaf/UIResource.java,
9013 javax/swing/plaf/ViewportUI.java,
9014 javax/swing/ProgressMonitorInputStream.java,
9015 javax/swing/ProgressMonitor.java,
9016 javax/swing/Renderer.java,
9017 javax/swing/RepaintManager.java,
9018 javax/swing/RootPaneContainer.java,
9019 javax/swing/Scrollable.java,
9020 javax/swing/ScrollPaneConstants.java,
9021 javax/swing/ScrollPaneLayout.java,
9022 javax/swing/SingleSelectionModel.java,
9023 javax/swing/SizeRequirements.java,
9024 javax/swing/SizeSequence.java,
9025 javax/swing/SwingConstants.java,
9026 javax/swing/SwingUtilities.java,
9027 javax/swing/table/AbstractTableModel.java,
9028 javax/swing/table/DefaultTableCellRenderer.java,
9029 javax/swing/table/DefaultTableColumnModel.java,
9030 javax/swing/table/DefaultTableModel.java,
9031 javax/swing/table/TableCellEditor.java,
9032 javax/swing/table/TableCellRenderer.java,
9033 javax/swing/table/TableColumn.java,
9034 javax/swing/table/TableColumnModel.java,
9035 javax/swing/table/TableModel.java,
9036 javax/swing/text/AbstractDocument.java,
9037 javax/swing/text/AttributeSet.java,
9038 javax/swing/text/BadLocationException.java,
9039 javax/swing/text/Caret.java,
9040 javax/swing/text/CharacterIterator.java,
9041 javax/swing/text/ComponentView.java,
9042 javax/swing/text/DefaultCaret.java,
9043 javax/swing/text/DefaultEditorKit.java,
9044 javax/swing/text/Document.java,
9045 javax/swing/text/EditorKit.java,
9046 javax/swing/text/Element.java,
9047 javax/swing/text/GapContent.java,
9048 javax/swing/text/JTextComponent.java,
9049 javax/swing/text/Keymap.java,
9050 javax/swing/text/MutableAttributeSet.java,
9051 javax/swing/text/PlainDocument.java,
9052 javax/swing/text/PlainEditorKit.java,
9053 javax/swing/text/Position.java,
9054 javax/swing/text/Segment.java,
9055 javax/swing/text/StyledDocument.java,
9056 javax/swing/text/StyledEditorKit.java,
9057 javax/swing/text/Style.java,
9058 javax/swing/text/TextAction.java,
9059 javax/swing/text/ViewFactory.java,
9060 javax/swing/text/View.java,
9061 javax/swing/Timer.java,
9062 javax/swing/ToggleButtonModel.java,
9063 javax/swing/ToolTipManager.java,
9064 javax/swing/tree/AbstractLayoutCache.java,
9065 javax/swing/tree/DefaultMutableTreeNode.java,
9066 javax/swing/tree/DefaultTreeCellEditor.java,
9067 javax/swing/tree/DefaultTreeCellRenderer.java,
9068 javax/swing/tree/DefaultTreeModel.java,
9069 javax/swing/tree/DefaultTreeSelectionModel.java,
9070 javax/swing/tree/ExpandVetoException.java,
9071 javax/swing/tree/FixedHeightLayoutCache.java,
9072 javax/swing/tree/MutableTreeNode.java,
9073 javax/swing/tree/RowMapper.java,
9074 javax/swing/tree/TreeCellEditor.java,
9075 javax/swing/tree/TreeCellRenderer.java,
9076 javax/swing/tree/TreeModel.java,
9077 javax/swing/tree/TreeNode.java,
9078 javax/swing/tree/TreePath.java,
9079 javax/swing/tree/TreeSelectionModel.java,
9080 javax/swing/tree/VariableHeightLayoutCache.java,
9081 javax/swing/UIDefaults.java,
9082 javax/swing/UIManager.java,
9083 javax/swing/undo/AbstractUndoableEdit.java,
9084 javax/swing/undo/CannotRedoException.java,
9085 javax/swing/undo/CannotUndoException.java,
9086 javax/swing/undo/CompoundEdit.java,
9087 javax/swing/undo/StateEditable.java,
9088 javax/swing/undo/StateEdit.java,
9089 javax/swing/undo/UndoableEdit.java,
9090 javax/swing/undo/UndoableEditSupport.java,
9091 javax/swing/undo/UndoManager.java,
9092 javax/swing/UnsupportedLookAndFeelException.java,
9093 javax/swing/ViewportLayout.java,
9094 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9095
9096 * java/awt/ActiveEvent.java,
9097 java/awt/Adjustable.java, java/awt/AWTError.java,
9098 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9099 java/awt/AWTException.java, java/awt/AWTPermission.java,
9100 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9101 java/awt/Color.java, java/awt/Component.java,
9102 java/awt/ComponentOrientation.java, java/awt/Container.java,
9103 java/awt/datatransfer/MimeTypeParseException.java,
9104 java/awt/datatransfer/Transferable.java,
9105 java/awt/datatransfer/UnsupportedFlavorException.java,
9106 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9107 java/awt/event/ActionListener.java,
9108 java/awt/event/AdjustmentEvent.java,
9109 java/awt/event/AdjustmentListener.java,
9110 java/awt/event/AWTEventListener.java,
9111 java/awt/event/ComponentAdapter.java,
9112 java/awt/event/ComponentEvent.java,
9113 java/awt/event/ComponentListener.java,
9114 java/awt/event/ContainerAdapter.java,
9115 java/awt/event/ContainerEvent.java,
9116 java/awt/event/ContainerListener.java,
9117 java/awt/event/FocusAdapter.java,
9118 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9119 java/awt/event/HierarchyBoundsAdapter.java,
9120 java/awt/event/HierarchyBoundsListener.java,
9121 java/awt/event/HierarchyEvent.java,
9122 java/awt/event/HierarchyListener.java,
9123 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9124 java/awt/event/InputMethodListener.java,
9125 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9126 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9127 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9128 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9129 java/awt/event/MouseListener.java,
9130 java/awt/event/MouseMotionAdapter.java,
9131 java/awt/event/MouseMotionListener.java,
9132 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9133 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9134 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9135 java/awt/event/WindowListener.java, java/awt/Font.java,
9136 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9137 java/awt/geom/Ellipse2D.java,
9138 java/awt/geom/IllegalPathStateException.java,
9139 java/awt/geom/Line2D.java,
9140 java/awt/geom/NoninvertibleTransformException.java,
9141 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9142 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9143 java/awt/geom/RoundRectangle2D.java,
9144 java/awt/GraphicsConfiguration.java,
9145 java/awt/IllegalComponentStateException.java,
9146 java/awt/image/IndexColorModel.java,
9147 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9148 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9149 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9150 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9151 java/awt/MenuItem.java, java/awt/PaintContext.java,
9152 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9153 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9154 java/awt/PrintJob.java, java/awt/Rectangle.java,
9155 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9156 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9157 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9158
9159 * java/awt/im/spi/InputMethod.java,
9160 java/awt/im/spi/InputMethodContext.java,
9161 java/awt/im/spi/InputMethodDescriptor.java,
9162 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9163 java/awt/image/renderable/ParameterBlock.java,
9164 java/awt/image/renderable/RenderContext.java,
9165 java/awt/image/renderable/RenderableImage.java,
9166 java/awt/image/renderable/RenderableImageOp.java,
9167 java/awt/image/renderable/RenderableImageProducer.java,
9168 java/awt/image/renderable/RenderedImageFactory.java: New files from
9169 classpath.
9170
9171 * gnu/java/awt/EventModifier.java,
9172 gnu/java/awt/image/ImageDecoder.java,
9173 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9174
9175 * gnu/awt/xlib/XGraphicsConfiguration.java,
9176 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9177 API.
9178
9179 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9180 GNU Classpath.
9181
9182 * Makefile.am: Add new files.
9183 * Makefile.in: Rebuilt.
9184
9185 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9186
9187 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9188 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9189 findResource, getResources, findResources): Add javadoc from classpath.
9190 (getSystemResources): Implemented.
9191
9192 2002-08-01 Mark Wielaard <mark@klomp.org>
9193
9194 Revert patch that breaks libgcj shared library on powerpc:
9195 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9196 implementation classes by using Class.getName(). Uses Strings again.
9197 * gnu/java/security/der/DEREncodingException.java,
9198 gnu/java/security/provider/DERReader.java,
9199 gnu/java/security/provider/DERWriter.java,
9200 gnu/java/security/provider/DSAKeyPairGenerator.java,
9201 gnu/java/security/provider/DSAParameterGenerator.java,
9202 gnu/java/security/provider/DSAParameters.java,
9203 gnu/java/security/provider/DSASignature.java,
9204 gnu/java/security/provider/GnuDSAPrivateKey.java,
9205 gnu/java/security/provider/GnuDSAPublicKey.java,
9206 gnu/java/security/provider/MD5.java,
9207 gnu/java/security/util/Prime.java: Removed.
9208 * Makefile.am (ordinary_java_source_files): Remove above files.
9209 * Makefile.in: Regenerate.
9210 * gnu/java/security/provider/DefaultPolicy.java
9211 (getPermissions): Revert to maintaining static class variable of
9212 Permissions.
9213 * gnu/java/security/provider/SHA.java
9214 (engineUpdate): Revert algorithm change.
9215 (engineDigest): Revert algorithm change.
9216
9217 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9218
9219 * configure.host: Add SH support.
9220 * sysdep/sh/locks.h: New file.
9221
9222 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9223
9224 * java/awt/Frame.java (Frame): Remove println calls.
9225
9226 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9227
9228 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9229 * configure: Rebuilt.
9230
9231 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9232
9233 * sysdep/powerpc/locks.h: Formatting.
9234 (_LARX): Define.
9235 (_STCX): Define.
9236 (compare_and_swap): Use _LARX and _STCX.
9237 (compare_and_swap_release): Likewise.
9238
9239 2002-07-26 Tom Tromey <tromey@redhat.com>
9240
9241 * java/net/Authenticator.java: New version from Classpath.
9242 * java/net/DatagramSocketImpl.java: New version from Classpath.
9243
9244 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9245
9246 * configure.host: Add powerpc64*-* entry.
9247
9248 2002-07-26 Tom Tromey <tromey@redhat.com>
9249
9250 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9251 fcntl.h.
9252
9253 2002-07-24 Tom Tromey <tromey@redhat.com>
9254
9255 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9256 argument to _load.
9257
9258 2002-07-24 Tom Tromey <tromey@redhat.com>
9259 Tony Kimball <alk@pobox.com>
9260
9261 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9262 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9263 * java/io/RandomAccessFile.java (setLength): New method.
9264 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9265 * java/io/FileDescriptor.java (setLength): New method.
9266
9267 2002-07-24 Mark Wielaard <mark@klomp.org>
9268
9269 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9270 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9271 field call setAccessible(true).
9272 (setByteField): Likewise.
9273 (setCharField): Likewise.
9274 (setDoubleField): Likewise.
9275 (setFloatField): Likewise.
9276 (setIntField): Likewise.
9277 (setLongField): Likewise.
9278 (setShortField): Likewise.
9279 (setObjectField): Likewise.
9280
9281 2002-07-24 Tom Tromey <tromey@redhat.com>
9282
9283 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9284 use toString() to format array element.
9285
9286 2002-07-23 Mark Wielaard <mark@klomp.org>
9287
9288 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9289 MessageDigestSpi (fixes Classpath bug #783).
9290
9291 2002-07-21 Mark Wielaard <mark@klomp.org>
9292
9293 * gnu/java/security/provider/Gnu.java: Reference all implementation
9294 classes by using Class.getName().
9295
9296 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9297
9298 * java/lang/ieeefp.h: Add x86-64 support.
9299 * configure.in: Likewise.
9300 * configure.host: Likewise.
9301 * configure: Regenerated.
9302 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9303
9304 2002-07-16 Mark Wielaard <mark@klomp.org>
9305
9306 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9307 (whitespaceChars): call resetChar().
9308
9309 2002-07-15 Tom Tromey <tromey@redhat.com>
9310
9311 * Makefile.in: Rebuilt.
9312 * Makefile.am (awt_java_source_files): Added new files.
9313 * java/beans/ExceptionListener.java: Merged with Classpath.
9314 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9315 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9316 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9317 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9318 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9319 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9320 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9321
9322 2002-07-14 Mark Wielaard <mark@klomp.org>
9323
9324 * gnu/java/security/der/DEREncodingException.java,
9325 gnu/java/security/provider/DERReader.java,
9326 gnu/java/security/provider/DERWriter.java,
9327 gnu/java/security/provider/DSAKeyPairGenerator.java,
9328 gnu/java/security/provider/DSAParameterGenerator.java,
9329 gnu/java/security/provider/DSAParameters.java,
9330 gnu/java/security/provider/DSASignature.java,
9331 gnu/java/security/provider/GnuDSAPrivateKey.java,
9332 gnu/java/security/provider/GnuDSAPublicKey.java,
9333 gnu/java/security/provider/MD5.java,
9334 gnu/java/security/util/Prime.java: New files from Classpath.
9335 * Makefile.am (ordinary_java_source_files): Add new files.
9336 * Makefile.in: Regenerate.
9337
9338 2002-07-14 C. Brian Jones <cbj@gnu.org>
9339
9340 * gnu/java/security/provider/DefaultPolicy.java
9341 (getPermissions): do not maintain static class variable of
9342 Permissions
9343 * gnu/java/security/provider/SHA.java
9344 (engineUpdate): algorithm change
9345 (engineDigest): algorithm change
9346
9347 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9348
9349 For PR libgcj/7292:
9350 * java/lang/Character.java (toString(char)): Now static.
9351
9352 2002-07-12 Mark Wielaard <mark@klomp.org>
9353
9354 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9355 (getStackTrace0): new method.
9356 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9357 (printStackTrace(PrintWriter)): replace with pure java implementation.
9358 (printRawStackTrace): removed.
9359 (getStackTrace0): new method.
9360 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9361 * gcj/javaprims.h: regenerate class list.
9362 * include/name-finder.h (lookup): new returns StackTraceElement*.
9363 (method_name, file_name): fields removed.
9364 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9365 (~_Jv_name_finder): close new descriptors.
9366 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9367 (createStackTraceElement): new method.
9368 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9369
9370 2002-07-10 Tom Tromey <tromey@redhat.com>
9371
9372 * configure: Rebuilt.
9373 * configure.in: Use `test' after `&&'. From Chris Faylor.
9374
9375 2002-07-08 Mark Wielaard <mark@klomp.org>
9376
9377 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9378 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9379 java.sql.DatabaseMetaData.TestJdbc20
9380
9381 2002-07-05 Tony Kimball <alk@pobox.com>
9382
9383 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9384
9385 2002-07-04 Tom Tromey <tromey@redhat.com>
9386 Jeff Sturm <jsturm@one-point.com>
9387
9388 Fix for PR libgcj/7060:
9389 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9390 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9391 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9392 * java/lang/Class.java (getMethod): New Java implementation;
9393 complies with spec.
9394 (_getMethod): New native method.
9395
9396 2002-07-02 Tom Tromey <tromey@redhat.com>
9397 David Hovemeyer <daveho@cs.umd.edu>
9398
9399 * java/text/ChoiceFormat.java
9400 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9401 in check loop.
9402 * java/text/MessageFormat.java
9403 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9404 to MessageFormat.
9405
9406 2002-07-01 Tom Tromey <tromey@redhat.com>
9407
9408 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9409 StringTokenizer on null string. For PR libgcj/7180.
9410 From daveho@cs.umd.edu.
9411
9412 2002-06-24 Tom Tromey <tromey@redhat.com>
9413
9414 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9415 (IntegerClass): Likewise.
9416 * java/lang/natClass.cc (CloneableClass): Removed.
9417 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9418 ConstructorClass): Likewise.
9419 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9420 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9421 SerializableClass): Likewise.
9422 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9423 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9424 LongClass, FloatClass, DoubleClass): Likewise.
9425
9426 * verify.cc (branch_prepass): Updated for change to exception
9427 handler type.
9428 (verify_instructions_0): Likewise.
9429 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9430 (handleExceptionTableEntry): Updated for change to exception
9431 handler type.
9432 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9433 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9434 (union _Jv_InterpPC): New.
9435 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9436 (class _Jv_InterpMethod): Added new `prepared' field.
9437 (class _Jv_InterpMethod): Added `compile' method. Removed
9438 `continue1' and `find_exception'. Changed arguments to `run'.
9439 * interpret.cc (union insn_slot): New.
9440 (find_exception): Removed.
9441 (run_normal): Removed most logic.
9442 (run_synch_object): Likewise; also, use JvSynchronize.
9443 (run_synch_class): Likewise.
9444 (run): Removed.
9445 (continue1): Renamed as `run'. Compile bytecode if required.
9446 Add new code to allow refinement of direct-threaded code at
9447 runtime. Handle exceptions.
9448 (SAVE_PC): Removed.
9449 (compile): New method.
9450 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9451 (NULLARRAYCHECK): Don't use SAVE_PC.
9452 (pc_t): New typedef.
9453 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9454 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9455
9456 2002-06-23 Tom Tromey <tromey@redhat.com>
9457
9458 * configure: Rebuilt.
9459 * configure.in (INTERPRETER): New subst.
9460 (AM_RUNTESTFLAGS): Don't subst.
9461
9462 * Makefile.in: Rebuilt.
9463 * Makefile.am ($(srcdir)/java/lang/Object.h,
9464 $(srcdir)/java/lang/Class.h): Added dummy targets.
9465
9466 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9467
9468 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9469
9470 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9471 java/sql/Savepoint.java: New files.
9472 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9473 java/sql/Blob.java, java/sql/CallableStatement.java,
9474 java/sql/Clob.java, java/sql/Connection.java,
9475 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9476 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9477 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9478 java/sql/Ref.java, java/sql/ResultSet.java,
9479 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9480 java/sql/SQLException.java, java/sql/SQLInput.java,
9481 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9482 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9483 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9484 (JDK 1.4) specification.
9485 * javax/sql/ConnectionEvent.java,
9486 javax/sql/ConnectionEventListener.java,
9487 javax/sql/ConnectionPoolDataSource.java,
9488 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9489 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9490 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9491 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9492 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9493 javax/sql/XADataSource.java: New files.
9494 * Makefile.am: Add new files.
9495 * Makefile.in: Rebuilt.
9496
9497 2002-06-20 Tom Tromey <tromey@redhat.com>
9498
9499 For PR libgcj/7073:
9500 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9501 exists.
9502 * defineclass.cc (handleClassBegin): Superclass for interface is
9503 `null'.
9504
9505 2002-06-18 Tom Tromey <tromey@redhat.com>
9506
9507 * gcj/javaprims.h: Updated class declaration list.
9508 * Makefile.in: Rebuilt.
9509 * Makefile.am (core_java_source_files): Removed
9510 BasicMapEntry.java.
9511 * java/util/BasicMapEntry.java: Removed.
9512
9513 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9514
9515 * java/net/natPlainDatagramSocketImpl.cc (receive):
9516 Check bounds of argument to FD_SET.
9517 (setOption): Throw exception if socket is closed.
9518
9519 * java/net/natPlainSocketImpl.cc (accept, read):
9520 Check bounds of argument to FD_SET.
9521 (setOption): Throw exception if socket is closed.
9522
9523 2002-06-18 Tom Tromey <tromey@redhat.com>
9524
9525 * gcj/javaprims.h: Updated class declaration list.
9526 * Makefile.in: Rebuilt.
9527 * Makefile.am (core_java_source_files): Added
9528 PropertyPermissionCollection.java.
9529 * java/lang/Thread.java (group, name): Now package-private.
9530 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9531 * java/util/AbstractList.java: Likewise.
9532 * java/util/AbstractMap.java: Likewise.
9533 * java/util/Calendar.java: Likewise.
9534 * java/util/Collections.java: Likewise.
9535 * java/util/HashMap.java: Likewise.
9536 * java/util/Hashtable.java: Likewise.
9537 * java/util/LinkedHashMap.java: Likewise.
9538 * java/util/LinkedList.java: Likewise.
9539 * java/util/List.java: Likewise.
9540 * java/util/ListResourceBundle.java: Likewise.
9541 * java/util/Map.java: Likewise.
9542 * java/util/Observable.java: Likewise.
9543 * java/util/Properties.java: Likewise.
9544 * java/util/PropertyPermission.java: Likewise.
9545 * java/util/PropertyPermissionCollection.java: Likewise.
9546 * java/util/PropertyResourceBundle.java: Likewise.
9547 * java/util/Random.java: Likewise.
9548 * java/util/SimpleTimeZone.java: Likewise.
9549 * java/util/StringTokenizer.java: Likewise.
9550 * java/util/TimerTask.java: Likewise.
9551 * java/util/TreeMap.java: Likewise.
9552 * java/util/WeakHashMap.java: Likewise.
9553 * java/util/jar/Attributes.java: Likewise.
9554 * java/util/jar/JarException.java: Likewise.
9555 * java/util/jar/Manifest.java: Likewise.
9556
9557 2002-06-17 Tom Tromey <tromey@redhat.com>
9558
9559 * gcj/javaprims.h: Updated class declaration list.
9560 * Makefile.in: Rebuilt.
9561 * Makefile.am (core_java_source_files): Added new file.
9562 * java/util/EventListenerProxy.java: New file.
9563 * java/util/EventListener.java: Re-merge with Classpath.
9564 * java/util/EventObject.java: Re-merge with Classpath.
9565
9566 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9567
9568 * java/lang/ClassNotFoundException.java: New Classpath version.
9569
9570 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9571
9572 * java/rmi/activation/ActivateFailedException.java: Remerge from
9573 Classpath version.
9574 * java/rmi/activation/ActivationException.java: Ditto.
9575 * java/rmi/activation/UnknownGroupException.java: Ditto.
9576 * java/rmi/activation/UnknownObjectException.java: Ditto.
9577 * java/rmi/server/ExportException: Ditto.
9578 * java/rmi/server/ServerCloneException: Ditto.
9579 * java/rmi/server/ServerNotActiveException: Ditto.
9580 * java/rmi/server/SkeletonMismatchException: Ditto.
9581 * java/rmi/server/SkeletonNotFoundException: Ditto.
9582 * java/rmi/server/SocketSecurityException: Ditto.
9583
9584 2002-06-16 Tom Tromey <tromey@redhat.com>
9585
9586 * gcj/javaprims.h: Updated class declaration list.
9587
9588 * java/io/LineNumberInputStream.java: Merged with Classpath.
9589
9590 * java/lang/RuntimeException.java: Re-merge with Classpath.
9591 * java/util/ArrayList.java: Likewise.
9592 * java/util/Arrays.java: Likewise.
9593 * java/util/BitSet.java: Likewise.
9594 * java/util/Dictionary.java: Likewise.
9595 * java/util/IdentityHashMap.java: Likewise.
9596 * java/util/MissingResourceException.java: Likewise.
9597 * java/util/Observer.java: Likewise.
9598 * java/util/TooManyListenersException.java: Likewise.
9599 * java/util/zip/DataFormatException.java: Likewise.
9600 * java/util/zip/ZipException.java: Likewise.
9601
9602 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9603
9604 * java/rmi/AccessException.java: Remerge from Classpath.
9605 * java/rmi/AlreadyBoundException.java: Ditto.
9606 * java/rmi/ConnectException.java: Ditto.
9607 * java/rmi/ConnectIOException.java: Ditto.
9608 * java/rmi/MarshalException.java: Ditto.
9609 * java/rmi/NoSuchObjectException.java: Ditto.
9610 * java/rmi/NotBoundException.java: Ditto.
9611 * java/rmi/RemoteException.java: Ditto.
9612 * java/rmi/RMISecurityException.java: Ditto.
9613 * java/rmi/ServerError.java: Ditto.
9614 * java/rmi/ServerException.java: Ditto.
9615 * java/rmi/ServerRuntimeException.java: Ditto.
9616 * java/rmi/StubNotFoundException.java: Ditto.
9617 * java/rmi/UnexpectedExcpetion.java: Ditto.
9618 * java/rmi/UnknownHostException.java: Ditto.
9619 * java/rmi/UnmarshalException.java: Ditto.
9620
9621 2002-06-15 Tom Tromey <tromey@redhat.com>
9622
9623 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9624 * java/lang/ArithmeticException.java: Likewise.
9625 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9626 * java/lang/ArrayStoreException.java: Likewise.
9627 * java/lang/Byte.java: Likewise.
9628 * java/lang/CharSequence.java: Likewise.
9629 * java/lang/ClassCastException.java: Likewise.
9630 * java/lang/ClassCircularityError.java: Likewise.
9631 * java/lang/ClassFormatError.java: Likewise.
9632 * java/lang/CloneNotSupportedException.java: Likewise.
9633 * java/lang/Cloneable.java: Likewise.
9634 * java/lang/Comparable.java: Likewise.
9635 * java/lang/Compiler.java: Likewise.
9636 * java/lang/Error.java: Likewise.
9637 * java/lang/ExceptionInInitializerError.java: Likewise.
9638 * java/lang/IllegalAccessError.java: Likewise.
9639 * java/lang/IllegalAccessException.java: Likewise.
9640 * java/lang/IllegalArgumentException.java: Likewise.
9641 * java/lang/IllegalMonitorStateException.java: Likewise.
9642 * java/lang/IllegalStateException.java: Likewise.
9643 * java/lang/IllegalThreadStateException.java: Likewise.
9644 * java/lang/IncompatibleClassChangeError.java: Likewise.
9645 * java/lang/IndexOutOfBoundsException.java: Likewise.
9646 * java/lang/InheritableThreadLocal.java: Likewise.
9647 * java/lang/InstantiationError.java: Likewise.
9648 * java/lang/InstantiationException.java: Likewise.
9649 * java/lang/InternalError.java: Likewise.
9650 * java/lang/InterruptedException.java: Likewise.
9651 * java/lang/LinkageError.java: Likewise.
9652 * java/lang/NegativeArraySizeException.java: Likewise.
9653 * java/lang/NoClassDefFoundError.java: Likewise.
9654 * java/lang/NoSuchFieldError.java: Likewise.
9655 * java/lang/NoSuchFieldException.java: Likewise.
9656 * java/lang/NoSuchMethodError.java: Likewise.
9657 * java/lang/NoSuchMethodException.java: Likewise.
9658 * java/lang/NullPointerException.java: Likewise.
9659 * java/lang/NumberFormatException.java: Likewise.
9660 * java/lang/OutOfMemoryError.java: Likewise.
9661 * java/lang/Process.java: Likewise.
9662 * java/lang/Runnable.java: Likewise.
9663 * java/lang/RuntimePermission.java: Likewise.
9664 * java/lang/SecurityException.java: Likewise.
9665 * java/lang/Short.java: Likewise.
9666 * java/lang/StackOverflowError.java: Likewise.
9667 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9668 * java/lang/ThreadDeath.java: Likewise.
9669 * java/lang/ThreadLocal.java: Likewise.
9670 * java/lang/UnknownError.java: Likewise.
9671 * java/lang/UnsatisfiedLinkError.java: Likewise.
9672 * java/lang/UnsupportedClassVersionError.java: Likewise.
9673 * java/lang/UnsupportedOperationException.java: Likewise.
9674 * java/lang/VerifyError.java: Likewise.
9675 * java/lang/VirtualMachineError.java: Likewise.
9676 * java/lang/reflect/InvocationTargetException.java: Likewise.
9677 * java/net/BindException.java: Likewise.
9678 * java/net/ConnectException.java: Likewise.
9679 * java/net/MalformedURLException.java: Likewise.
9680 * java/net/NoRouteToHostException.java: Likewise.
9681 * java/net/ProtocolException.java: Likewise.
9682 * java/net/SocketException.java: Likewise.
9683 * java/net/UnknownHostException.java: Likewise.
9684 * java/net/UnknownServiceException.java: Likewise.
9685
9686 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9687 * java/io/CharConversionException.java: Likewise.
9688 * java/io/EOFException.java: Likewise.
9689 * java/io/FileNotFoundException.java: Likewise.
9690 * java/io/IOException.java: Likewise.
9691 * java/io/InterruptedIOException.java: Likewise.
9692 * java/io/InvalidClassException.java: Likewise.
9693 * java/io/InvalidObjectException.java: Likewise.
9694 * java/io/NotActiveException.java: Likewise.
9695 * java/io/NotSerializableException.java: Likewise.
9696 * java/io/ObjectStreamException.java: Likewise.
9697 * java/io/ObjectStreamConstants.java: Likewise.
9698 * java/io/OptionalDataException.java: Likewise.
9699 * java/io/PipedInputStream.java: Likewise.
9700 * java/io/PushbackInputStream.java: Likewise.
9701 * java/io/StreamCorruptedException.java: Likewise.
9702 * java/io/SyncFailedException.java: Likewise.
9703 * java/io/UTFDataFormatException.java: Likewise.
9704 * java/io/UnsupportedEncodingException.java: Likewise.
9705 * java/io/WriteAbortedException.java: Likewise.
9706
9707 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9708
9709 * java/text/ChoiceFormat.java: Update comments from Classpath.
9710 * java/text/ParseException.java (serialVersionUID): New
9711 field from Classpath.
9712 * java/text/ParseException.java: Update formatting & comments
9713 from Classpath.
9714
9715 2002-06-15 Tom Tromey <tromey@redhat.com>
9716
9717 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9718 been read but none output by inflater.
9719 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9720 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9721 is_finished.
9722 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9723 version.
9724 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9725 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9726 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9727 version.
9728 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9729
9730 2002-06-13 Tom Tromey <tromey@redhat.com>
9731
9732 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9733 true and OFFSET!=0.
9734 * java/lang/String.java (String(char[],int,int,boolean): New
9735 constructor.
9736 * java/lang/Long.java: Imported new version from Classpath.
9737 * java/lang/Number.java: Likewise.
9738 * java/lang/Integer.java: Likewise.
9739 * java/lang/Long.java: Likewise.
9740 * java/lang/Float.java: Likewise.
9741 * java/lang/Boolean.java: Likewise.
9742 * java/lang/Double.java: Likewise.
9743 * java/lang/Void.java: Likewise.
9744
9745 2002-06-12 Tom Tromey <tromey@redhat.com>
9746
9747 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9748 Fixes PR libgcj/6652.
9749
9750 2002-06-10 Tom Tromey <tromey@redhat.com>
9751
9752 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9753 (Class::getPackagePortion): Likewise.
9754 * java/lang/Class.java (desiredAssertionStatus): New method from
9755 Classpath.
9756 (getPackagePortion): Likewise.
9757 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9758 packageAssertionStatus, classAssertionStatus): New methods from
9759 Classpath.
9760 * java/lang/ClassLoader.java (defaultAssertionStatus,
9761 systemPackageAssertionStatus, packageAssertionStatus,
9762 systemClassAssertionStatus, classAssertionStatus): New fields from
9763 Classpath.
9764 (setDefaultAssertionStatus, setPackageAssertionStatus,
9765 setClassAssertionStatus, clearAssertionStatus): New methods from
9766 Classpath.
9767 * Makefile.in: Rebuilt.
9768 * Makefile.am (core_java_source_files): Added AssertionError.java.
9769 * java/lang/AssertionError.java: New from Classpath.
9770
9771 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9772
9773 * configure.host: Disable hash synchronization and slow_pthread_self
9774 for cygwin.
9775
9776 2002-06-06 Adam Megacz <adam@xwt.org>
9777
9778 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9779 locking, just like the Sun JVM does.
9780
9781 2002-06-05 H.J. Lu (hjl@gnu.org)
9782
9783 * Makefile.am (libgcj_convenience.la): Revert the last change.
9784 (libgcj.la): Likewise.
9785 * Makefile.in: Regenerated.
9786
9787 2002-06-04 H.J. Lu (hjl@gnu.org)
9788
9789 * Makefile.am (libgcj_convenience.la): New target.
9790 (libgcj.la): Depend on libgcj_convenience.la.
9791 * Makefile.in: Regenerated.
9792
9793 2002-06-04 H.J. Lu (hjl@gnu.org)
9794
9795 * configure.in (--with-newlib): New option:
9796 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9797 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9798 Linux.
9799 * configure: Regenerated.
9800
9801 2002-06-04 Tom Tromey <tromey@redhat.com>
9802
9803 * java/util/natTimeZone.cc: Include <stdio.h>.
9804
9805 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9806
9807 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9808 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9809 Set SIGNAL_HANDLER=include/s390-linux.h.
9810 * configure: Regenerate.
9811 * include/s390-linux.h: New file.
9812
9813 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9814
9815 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9816 not "stackTrace".
9817
9818 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9819
9820 Merge JDK 1.4 java.security changes from classpath.
9821
9822 * java/security/AccessControlException.java: Merge from Classpath.
9823 * java/security/AccessController.java: Likewise.
9824 * java/security/AllPermission.java: Likewise.
9825 * java/security/BasicPermission.java: Likewise.
9826 * java/security/Certificate.java: Likewise.
9827 * java/security/CodeSource.java: Likewise.
9828 * java/security/DigestException.java: Likewise.
9829 * java/security/DigestOutputStream.java: Likewise.
9830 * java/security/DomainCombiner.java: Likewise.
9831 * java/security/GeneralSecurityException.java: Likewise.
9832 * java/security/Guard.java: Likewise.
9833 * java/security/GuardedObject.java: Likewise.
9834 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9835 * java/security/InvalidKeyException.java: Likewise.
9836 * java/security/InvalidParameterException.java: Likewise.
9837 * java/security/Key.java: Likewise.
9838 * java/security/KeyException.java: Likewise.
9839 * java/security/KeyManagementException.java: Likewise.
9840 * java/security/KeyStoreException.java: Likewise.
9841 * java/security/MessageDigest.java: Likewise.
9842 * java/security/NoSuchAlgorithmException.java: Likewise.
9843 * java/security/NoSuchProviderException.java: Likewise.
9844 * java/security/Permission.java: Likewise.
9845 * java/security/PermissionCollection.java: Likewise.
9846 * java/security/Permissions.java: Likewise.
9847 * java/security/Policy.java: Likewise.
9848 * java/security/Principal.java: Likewise.
9849 * java/security/PrivateKey.java: Likewise.
9850 * java/security/PrivilegedAction.java: Likewise.
9851 * java/security/PrivilegedActionException.java: Likewise.
9852 * java/security/PrivilegedExceptionAction.java: Likewise.
9853 * java/security/ProtectionDomain.java: Likewise.
9854 * java/security/ProviderException.java: Likewise.
9855 * java/security/PublicKey.java: Likewise.
9856 * java/security/SecureClassLoader.java: Likewise.
9857 * java/security/SecurityPermission.java: Likewise.
9858 * java/security/SignatureException.java: Likewise.
9859 * java/security/UnrecoverableKeyException.java: Likewise.
9860 * java/security/UnresolvedPermission.java: Likewise.
9861 * java/security/acl/AclNotFoundException.java: Likewise.
9862 * java/security/acl/LastOwnerException.java: Likewise.
9863 * java/security/acl/NotOwnerException.java: Likewise.
9864 * java/security/cert/CRLException.java: Likewise.
9865 * java/security/cert/CertificateEncodingException.java: Likewise.
9866 * java/security/cert/CertificateException.java: Likewise.
9867 * java/security/cert/CertificateExpiredException.java: Likewise.
9868 * java/security/cert/CertificateFactory.java: Likewise.
9869 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9870 * java/security/cert/CertificateParsingException.java: Likewise.
9871 * java/security/spec/InvalidKeySpecException.java: Likewise.
9872 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9873
9874 * java/security/cert/CertPath.java: New file.
9875 * java/security/cert/CertPathBuilderException.java: New file.
9876 * java/security/cert/CertPathValidatorException.java: New file.
9877 * java/security/cert/CertStoreException.java: New file.
9878
9879 * Makefile.am: Add new CertPath classes.
9880 * Makefile.in: Rebuilt.
9881
9882 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9883
9884 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9885
9886 Merge JDK 1.4 exception chaining support from classpath.
9887
9888 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9889 (stackTraceBytes): Rename from stackTrace.
9890 * java/lang/Exception.java: Merge from classpath.
9891 * java/lang/StackTraceElement: New file from classpath.
9892 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9893 * Makefile.am: Add StackTraceElement.
9894 * Makefile.in: Rebuilt.
9895
9896 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9897
9898 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9899 they build first.
9900 * Makefile.in: Rebuilt.
9901
9902 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9903
9904 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9905 * configure.in: Likewise.
9906 * aclocal.m4: Regenerate.
9907 * configure: Regenerate.
9908
9909 2002-05-13 Tom Tromey <tromey@redhat.com>
9910
9911 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9912 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9913 Include platform.h.
9914
9915 Fixes PR libgcj/6389:
9916 * Makefile.in: Rebuilt.
9917 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9918 * java/util/natTimeZone.cc: New file.
9919 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9920 * java/lang/System.java: Merged with Classpath.
9921 * java/lang/Runtime.java: Merged with Classpath.
9922 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9923 security check.
9924 (setIn0): Renamed from setIn; don't run security check.
9925 (setOut0): Renamed from setOut; don't run security check.
9926 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9927 init_properties): Moved to natRuntime.cc.
9928 Moved many includes to natRuntime.cc.
9929 (isWordsBigEndian): New method.
9930 * java/lang/natRuntime.cc: Include Long.h, also other includes
9931 previously in natSystem.cc.
9932 (maxMemory): New function.
9933 (exitInternal): Renamed from `_exit'.
9934 (exit): Removed.
9935 (init): Don't set finalize_on_exit.
9936 (exitInternal): Use `finalizeOnExit'.
9937 (file_encoding, getpwuid_adaptor): New functions from
9938 natSystem.cc.
9939 (insertSystemProperties): New method, renamed from
9940 System::init_properties. Don't set user.timezone.
9941 (_load): Don't call checkLink.
9942 (execInternal): New method.
9943 (availableProcessors): Likewise.
9944 (nativeGetLibname): Likewise.
9945
9946 2002-05-11 Mark Wielaard <mark@klomp.org>
9947
9948 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9949 space characters.
9950 (previous_internal): Likewise.
9951
9952 2002-05-09 Tom Tromey <tromey@redhat.com>
9953
9954 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9955
9956 * java/util/ResourceBundle.java: New version from Classpath.
9957 * java/util/Locale.java: Likewise.
9958
9959 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9960
9961 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9962 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9963 LD_LIBRARY_PATH.
9964
9965 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9966
9967 * libjava/Makefile.am (all_java_source_files): New variable.
9968 (all_java_class_files): Likewise.
9969 .java.class: New rule.
9970 (CLEANFILES): Remove tmp-list.
9971 * libjava/Makefile.in: Regenerated.
9972
9973 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9974
9975 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9976 Append .exe to executable names. Fix for cygwin.
9977
9978 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9979
9980 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9981 script entry, and set LD to it when configuring multilibs.
9982 * configure: Rebuilt.
9983
9984 2002-05-07 Tom Tromey <tromey@redhat.com>
9985
9986 * java/lang/natString.cc (unintern): Fixed typo.
9987
9988 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9989
9990 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9991 with -no-install on *-*-cygwin*.
9992
9993 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9994
9995 * testsuite/lib/libjava.exp (test_libjava_from_source):
9996 Add comment explaining last patch
9997
9998 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9999
10000 * testsuite/lib/libjava.exp (test_libjava_from_source):
10001 Append .exe to executable names. If no suffix is present,
10002 then ".exe" is added by default on win32. Harmless
10003 elsewhere so always do it.
10004
10005 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10006 Tom Tromey <tromey@redhat.com>
10007
10008 * java/lang/natSystem.cc (getSystemTimeZone): Use
10009 HAVE_UNDERSCORE_TIMEZONE.
10010 * include/config.h.in: Rebuilt.
10011 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10012 * aclocal.m4, configure: Rebuilt.
10013 * acinclude.m4: Run AC_EXEEXT.
10014 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10015 Add test for `_timezone'.
10016
10017 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10018
10019 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10020 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10021 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10022 * Makefile.in: Rebuilt.
10023
10024 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10025
10026 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10027 use sigaction instead of __libc_sigaction.
10028
10029 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10030
10031 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10032 (libjava_init): Use it to find libgcj.spec.
10033 (libjava_arguments): Likewise.
10034
10035 2002-05-02 David S. Miller <davem@redhat.com>
10036
10037 PR bootstrap/6525
10038 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10039 __libc_sigaction on Sparc.
10040
10041 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10042
10043 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10044 sys/filio.h, if present.
10045
10046 2002-04-30 Tom Tromey <tromey@redhat.com>
10047
10048 * java/io/BufferedReader.java (fill): Handle case where markPos
10049 point to ignored \n. Fixes PR libgcj/6301.
10050
10051 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10052
10053 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10054
10055 2002-04-29 Adam King <aking@dreammechanics.com>
10056
10057 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10058 of file in APPEND mode.
10059
10060 2002-04-25 David S. Miller <davem@redhat.com>
10061
10062 PR target/6422
10063 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10064 program counter to next program counter minus 8. Update
10065 comments in this macro to explain why.
10066
10067 2002-04-26 Tom Tromey <tromey@redhat.com>
10068
10069 * verify.cc (construct_primitive_array_type) [void_type]: New
10070 case.
10071 (branch_prepass): Added dummy entries for unused instruction
10072 values.
10073 (verify_instructions_0): Likewise.
10074 * interpret.cc (continue1): Comment fix.
10075 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10076 * Makefile.in: Rebuilt.
10077 * Makefile.am: Added -Wswitch-enum.
10078
10079 2002-04-24 Tom Tromey <tromey@redhat.com>
10080
10081 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10082 correct length of UTF-8 encoded name. Strip leading `/'.
10083 (_Jv_RegisterResource): Use _Jv_Malloc.
10084
10085 2002-04-23 Adam Megacz <adam@xwt.org>
10086
10087 * win32.cc, include/win32.cc (backtrace): Added this function
10088 because Win32 does not supply it.
10089
10090 2002-04-21 David S. Miller <davem@redhat.com>
10091
10092 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10093 magic instruction reading sequence.
10094
10095 2002-04-21 Mark Wielaard <mark@klomp.org>
10096
10097 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10098
10099 2002-04-19 David S. Miller <davem@redhat.com>
10100
10101 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10102 arg.
10103 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10104 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10105 on Sparc too.
10106 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10107 for 64-bit sparc.
10108 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10109 * sysdeps/sparc/locks.h: New file.
10110 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10111 on all sparc Solaris configurations. Set to
10112 include/dwarf2-signal.h on sparc Linux.
10113 * configure: Regenerate
10114 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10115
10116 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10117
10118 * configure: Rebuilt.
10119 * configure.in (backtrace): Function doesn't work on IA-64.
10120
10121 2002-04-17 Adam King <aking@dreammechanics.com>
10122
10123 * java/io/File.java (normalizePath): Add Win32 support for auto
10124 conversion of a '/' path separator to Win32's '\' separator.
10125
10126 2002-04-16 Tom Tromey <tromey@redhat.com>
10127
10128 Fix for PR libgcj/6081:
10129 * Makefile.in: Rebuilt.
10130 * Makefile.am (install-data-local): Use GNU make trick to avoid
10131 shell limit.
10132
10133 2002-04-16 Adam King <aking@dreammechanics.com>
10134 Tom Tromey <tromey@redhat.com>
10135
10136 * java/io/natFileWin32.cc (performList): Return the correct array
10137 type. Don't duplicate the creation of a File since it's already
10138 done earlier in the method and the existing code would cause a
10139 ArrayStoreException. Don't use fixed-size array.
10140 (_access, _stat, attr, getCanonicalPath, performMkdir,
10141 performRenameTo): Don't use fixed-size array.
10142 (getCanonicalPath): Use throw, not _Jv_Throw.
10143
10144 2002-04-15 DJ Delorie <dj@redhat.com>
10145
10146 * configure.in: Allow building in $srcdir.
10147 * configure: Regenerated.
10148
10149 2002-04-14 Mark Wielaard <mark@klomp.org>
10150
10151 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10152 * java/net/natSocketImpl.cc (close): Likewise.
10153
10154 2002-04-14 Mark Wielaard <mark@klomp.org>
10155
10156 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10157
10158 2002-04-13 Adam King <aking@dreammechanics.com>
10159
10160 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10161 the f/F/d/D modifiers.
10162
10163 2002-04-12 Anthony Green <green@redhat.com>
10164
10165 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10166 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10167 * Makefile.in: Rebuilt.
10168 * configure.in: Substitute gcc_version.
10169 * configure: Rebuilt.
10170
10171 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10172
10173 * configure.host: Set can_unwind_signal on hosts which support it.
10174 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10175 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10176 exceptions and can_unwind_signal isn't set.
10177 * configure: Rebuilt.
10178
10179 2002-04-11 Tom Tromey <tromey@redhat.com>
10180
10181 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10182
10183 2002-04-11 Adam King <aking@dreammechanics.com>
10184 Tom Tromey <tromey@redhat.com>
10185
10186 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10187 _Jv_ThrowNullPointerException): Mark as noreturn.
10188 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10189 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10190 fixes.
10191
10192 2002-04-10 Tom Tromey <tromey@redhat.com>
10193
10194 * Makefile.in: Rebuilt.
10195 * Makefile.am (java/lang/Thread.h): Mark
10196 _Jv_AttachCurrentThreadAsDaemon as friend.
10197 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10198 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10199 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10200 function.
10201 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10202 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10203 (_Jv_JNI_InvokeFunctions): Added
10204 _Jv_JNI_AttachCurrentThreadAsDaemon.
10205 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10206 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10207 (JNI_CreateJavaVM): Likewise.
10208 (_Jv_JNI_AttachCurrentThread): Likewise.
10209 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10210 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10211 (_Jv_JNIFunctions): Initialize new fields.
10212 (_Jv_JNI_NewDirectByteBuffer): New function.
10213 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10214 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10215 * include/jni.h (JNI_VERSION_1_4): New macro.
10216 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10217 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10218 (JNINativeInterface::NewDirectByteBuffer): New field.
10219 (JNINativeInterface::GetDirectBufferAddress): New field.
10220 (JNINativeInterface::GetDirectBufferCapacity): New field.
10221 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10222 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10223 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10224
10225 2002-04-09 Tom Tromey <tromey@redhat.com>
10226
10227 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10228
10229 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10230
10231 Fix for PR libgcj/6187:
10232 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10233 distance.
10234
10235 2002-04-07 Mark Wielaard <mark@klomp.org>
10236
10237 * java/util/AbstractMap.java (putAll): Use entrySet size.
10238 (toString): Explicitly use getKey() and getValue().
10239
10240 2002-04-07 Mark Wielaard <mark@klomp.org>
10241
10242 * java/util/Hashtable.java (contains): Remove NullPointer check.
10243 (containsValue): Add NullPointer check.
10244 (remove): Always throw NullPointerException when key
10245 is null.
10246
10247 2002-04-07 Adam King <aking@dreammechanics.com>
10248
10249 * java/lang/natSystem.cc (init_properties): Call new function
10250 _Jv_platform_initProperties.
10251 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10252 support for the System properties os.name, os.arch, os.version,
10253 user.name, user.home, and user.dir.
10254 * include/posix.h, include/win32.h, posix.cc: New function
10255 _Jv_platform_initProperties.
10256
10257 2002-04-06 Mark Wielaard <mark@klomp.org>
10258
10259 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10260
10261 2002-04-06 Mark Wielaard <mark@klomp.org>
10262
10263 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10264 all of the remaining elements.
10265 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10266 (removeRange): If toIndex == fromIndex do
10267 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10268 (removeAll): Always throw NullPointerException when collection is
10269 null.
10270 (retrainAll): Likewise.
10271
10272 2002-04-05 Mark Wielaard <mark@klomp.org>
10273
10274 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10275 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10276
10277 2002-04-05 Adam Megacz <adam@xwt.org>
10278
10279 * exception.cc (abort): added static modifier
10280
10281 2002-04-04 Adam Megacz <adam@xwt.org>
10282
10283 * include/win32.h (_Jv_platform_close_on_exec): added inline
10284 modifier.
10285
10286 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10287
10288 * configure.host: Add case statement to support generic port
10289 properties. Add *-*-freebsd* section.
10290
10291 2002-04-04 Mark Wielaard <mark@klomp.org>
10292
10293 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10294 test.
10295 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10296 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10297 that depend on awt code and BufferedByteOutputStream.interrupt.
10298
10299 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10300
10301 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10302 incorrect "hi" value when count > 40.
10303
10304 2002-04-03 Mark Wielaard <mark@klomp.org>
10305
10306 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10307 ordering.
10308
10309 2002-04-02 Tom Tromey <tromey@redhat.com>
10310
10311 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10312 not `0'.
10313
10314 2002-04-02 Mark Wielaard <mark@klomp.org>
10315
10316 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10317 list of testsuite crashers.
10318
10319 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10320
10321 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10322 when resizing table.
10323
10324 2002-04-01 Mark Wielaard <mark@klomp.org>
10325
10326 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10327 NegativeArraySizeException
10328 (clear(int)): Use sign extended shift.
10329 (flip(int)): Likewise.
10330 (get(int)): Likewise.
10331 (nextClearBit(int)): Likewise.
10332 (nextSetBit(int)): Likewise.
10333 (set(int)): Likewise.
10334
10335 2002-04-01 Mark Wielaard <mark@klomp.org>
10336
10337 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10338 that can be compiled now and add testsuite crashers to ignore list.
10339
10340 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10341
10342 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10343
10344 * libgcj.spec.in: Override libgcc, not lib.
10345 * libgcj-test.spec.in: Likewise.
10346
10347 2002-03-29 Tom Tromey <tromey@redhat.com>
10348
10349 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10350 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10351
10352 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10353
10354 * java/net/PlainDatagramSocketImpl.java
10355 (close): Use native implementation.
10356 (finalize): New method.
10357
10358 * java/net/PlainSocketImpl.java (finalize): New method.
10359
10360 * java/net/natPlainDatagramSocketImpl.cc
10361 (java/io/FileDescriptor.h): Don't include.
10362 (close): Implement method here.
10363 (create): Don't assign fd.
10364
10365 * java/net/natPlainSocketImpl.cc
10366 (java/io/FileDescriptor.h): Don't include.
10367 (create): Don't assign fd.
10368 (accept): Likewise.
10369 (close): Synchronize.
10370
10371 2002-03-27 Richard Henderson <rth@redhat.com>
10372
10373 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10374
10375 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10376
10377 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10378 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10379 instead of syscall on IA-64.
10380 Add FIXME comment.
10381
10382 2002-03-27 Anthony Green <green@redhat.com>
10383
10384 * libgcj.spec.in: Add CHECKREFSPEC.
10385 * configure.in: Ditto.
10386 * configure.host: Ditto. Check references for xscale-elf.
10387 * configure: Rebuilt.
10388
10389 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10390
10391 * include/dwarf2-signal.h: Temporarily back out last change.
10392
10393 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10394
10395 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10396
10397 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10398
10399 * configure.in, configure: enable dwarf2-exception-style
10400 exception handling on IA-64.
10401 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10402 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10403 Add FIXME comment.
10404
10405 2002-03-25 Tom Tromey <tromey@redhat.com>
10406
10407 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10408 (jv_convert_LDFLAGS): Likewise.
10409 (gij_LDFLAGS): Likewise.
10410 (rmic_LDFLAGS): Likewise.
10411 (rmiregistry_LDFLAGS): Likewise.
10412 * configure.in (THREADLDFLAGS): New subst; set correctly for
10413 *BSD.
10414
10415 2002-03-25 Tom Tromey <tromey@redhat.com>
10416
10417 For PR libgcj/5303:
10418 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10419 and --version.
10420 (help): New method.
10421 (version): Likewise.
10422 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10423 "GNU".
10424 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10425 "GNU".
10426
10427 2002-03-25 Tom Tromey <tromey@redhat.com>
10428
10429 * java/awt/Component.java (processEvent): Check ComponentEvent
10430 after KeyEvent.
10431
10432 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10433
10434 * java/io/PushbackReader.java: Reformat.
10435
10436 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10437 calculate correct number of bytes skipped.
10438
10439 Based on patch from Intel's ORP team:
10440 * java/io/PushbackInputStream.java (available): Calculate correct
10441 number of bytes in buffer.
10442 (read): Remove redundant bound check. Return bytes from both the
10443 buffer and the stream.
10444
10445 2002-03-24 Tom Tromey <tromey@redhat.com>
10446
10447 * java/awt/TextComponent.java (TextComponent): Editable by
10448 default.
10449
10450 * java/awt/MenuItem.java (eventMask): No longer private.
10451 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10452 superclass if we didn't handle event.
10453 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10454 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10455 * java/awt/Choice.java (dispatchEventImpl): New method.
10456 * java/awt/List.java (dispatchEventImpl): New method.
10457 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10458 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10459 * java/awt/TextField.java (dispatchEventImpl): New method.
10460
10461 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10462
10463 * java/beans/IntrospectionException.java: Update to 1.4.
10464 * java/beans/PropertyVetoException.java: Ditto.
10465
10466 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10467
10468 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10469 Arrays.equals instead of ArrayHelper.equalsArray.
10470
10471 2002-03-24 C. Brian Jones <cbj@gnu.org>
10472
10473 * java/beans/Introspector.java: added new static final fields
10474 introduced in 1.2, lots of other updates remain to be done
10475
10476 2002-03-24 C. Brian Jones <cbj@gnu.org>
10477
10478 * java/beans/Introspector.java: reformatting
10479
10480 2002-03-24 C. Brian Jones <cbj@gnu.org>
10481
10482 * java/beans/Introspector.java: default beanInfoSearchPath will
10483 not include sun.beans.infos given we provide no such package and
10484 the API doesn't really require it; gnu.java.beans.info is the
10485 default.
10486
10487 2002-03-24 Mark Wielaard <mark@klomp.org>
10488
10489 Thanks to Orp developers
10490 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10491 switch TRUE and FALSE return values.
10492
10493 2002-03-23 Tom Tromey <tromey@redhat.com>
10494
10495 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10496 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10497
10498 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10499
10500 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10501 MONTH entry. Fixes PR libgcj/6045.
10502
10503 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10504
10505 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10506
10507 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10508
10509 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10510 not release_set.
10511 * sysdep/powerpc/locks.h (write_barrier): New function.
10512 * sysdep/i386/locks.h (write_barrier): New function.
10513
10514 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10515
10516 * include/jni.h Use correct C comments.
10517
10518 2002-03-18 Tom Tromey <tromey@redhat.com>
10519
10520 * include/jni.h (JNIIMPORT): New macro.
10521 (JNIEXPORT): Likewise.
10522 (JNICALL): Likewise.
10523
10524 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10525
10526 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10527 systems.
10528
10529 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10530
10531 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10532 INIT_SEGV: Use old_i386_kernel_sigaction.
10533 INIT_FP: Likewise.
10534
10535 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10536
10537 * java/lang/natSystem.cc (init_properties): Update VM version
10538 properties.
10539 * configure.in: Set GCJVERSION.
10540 * acconfig.h: Add GCJVERSION.
10541 * configure: Rebuilt.
10542 * include/config.h.in: Rebuilt.
10543
10544 2002-03-17 Anthony Green <green@redhat.com>
10545
10546 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10547
10548 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10549
10550 Build a single libgcj.so, without separate gc and zlib libraries.
10551 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10552 SYS_ZLIBS if system zlib is used.
10553 * configure: Rebuilt.
10554 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10555 * Makefile.in: Rebuilt.
10556 * libtool-version: Increment .so version number.
10557
10558 * Makefile.am: Escape quotes in echo.
10559 * Makefile.in: Rebuilt.
10560
10561 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10562
10563 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10564 * Makefile.in: Rebuilt.
10565
10566 2002-03-15 Anthony Green <green@redhat.com>
10567
10568 * configure.host (FILE): New macro for specifing File
10569 implementation.
10570 * configure: Rebuilt.
10571 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10572
10573 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10574
10575 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10576 already implicitly brought in from libgcj.la.
10577 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10578 * Makefile.in: Rebuilt.
10579
10580 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10581
10582 * THANKS: Fix punctuation, alphabetization.
10583
10584 2002-03-15 Tom Tromey <tromey@redhat.com>
10585 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10586
10587 Fix for PR libgcj/5944.
10588 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10589
10590 2002-03-15 Anthony Green <green@redhat.com>
10591
10592 * configure.in (tool_include_dir): Define.
10593 * configure: Rebuilt.
10594 * gcj/Makefile.am: Install libgcj-config.h relative to
10595 tool_include_dir.
10596 * gcj/Makefile: Rebuilt.
10597 * gcj/libgcj-config.h: Add warning comment.
10598
10599 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10600
10601 * configure.host (powerpc*-darwin*): Enable interpreter.
10602
10603 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10604
10605 * include/posix.h: Add multiple include header protection.
10606 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10607
10608 2002-03-10 Adam Megacz <adam@xwt.org>
10609
10610 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10611
10612 2002-03-10 Tom Tromey <tromey@redhat.com>
10613
10614 * java/awt/GridLayout.java (layoutContainer): Handle case where
10615 there are no items in container.
10616
10617 * java/lang/Win32Process.java: Added comment.
10618 * include/posix.h (_Jv_platform_close_on_exec): New function.
10619 Include fcntl.h.
10620 * include/win32.h (_Jv_platform_close_on_exec): New function.
10621 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10622 flag.
10623 (accept): Likewise.
10624 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10625 close-on-exec flag.
10626 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10627 flag.
10628
10629 2002-03-09 Tom Tromey <tromey@redhat.com>
10630
10631 * verify.cc (state::NO_STACK): New constant.
10632 (state::is_unmerged_ret_state): Handle case where stacktop is
10633 NO_STACK.
10634 (state::merge): Handle NO_STACK merges.
10635 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10636 for instruction following jsr.
10637 (stacktop, stackdepth): Removed unused variables.
10638 (pop_jump): Ignore case where all remaining states are skipped.
10639
10640 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10641
10642 * java/awt/ImageMediaEntry: Removed.
10643 * java/awt/MediaEntry: Removed.
10644
10645 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10646
10647 Hashtable synchronization for PowerPC.
10648 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10649 slow_pthread_self. Set up symlink for sysdeps directory.
10650 * configure: Rebuild.
10651 * configure.host: Document more shell variables. Set sysdeps_dir
10652 for most platforms. Set slow_pthread_self for i686. Set
10653 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10654 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10655 that memory barrier is emitted where required.
10656 * prims.cc: 64-bit align static primitive class instances.
10657 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10658 read_barrier() to enforce ordering of reads.
10659 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10660 primitives for PowerPC.
10661 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10662 moved from natObject.cc.
10663 * sysdep/alpha/locks.h: Likewise.
10664 * sysdep/ia64/locks.h: Likewise.
10665 * sysdep/generic/locks.h: Likewise.
10666 * java/lang/natObject.cc: Move thread synchronization primitives to
10667 system-dependent headers.
10668
10669 2002-03-09 Adam Megacz <adam@xwt.org>
10670
10671 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10672 bytes read and no failure code returned.
10673
10674 2002-03-09 Adam Megacz <adam@xwt.org>
10675
10676 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10677 definitions to simulate -mthreads.
10678
10679 2002-03-09 Adam Megacz <adam@xwt.org>
10680
10681 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10682 avoid precision loss.
10683
10684 2002-03-09 Per Bothner <per@bothner.com>
10685
10686 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10687 * gnu/gcj/xlib/XImage.java: Likewise.
10688 * gnu/gcj/xlib/XColor.java: Likewise.
10689
10690 2002-03-09 Adam Megacz <adam@xwt.org>
10691
10692 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10693 IOException so that Throwable.printStackTrace fails correctly.
10694
10695 2002-03-08 Adam Megacz <adam@xwt.org>
10696
10697 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10698 fixed.
10699
10700 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10701
10702 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10703 truncated to int.
10704
10705 2002-03-08 Tom Tromey <tromey@redhat.com>
10706
10707 * include/jni.h: Include stdio.h.
10708
10709 2002-03-08 Tom Tromey <tromey@redhat.com>
10710
10711 * posix.cc (internal_gettimeofday): New function.
10712 (_Jv_select): Use it.
10713
10714 2002-03-07 Adam Megacz <adam@xwt.org>
10715
10716 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10717 WIN32, and added thunks for read(), write(), and close().
10718 * java/net/natPlainSocketImpl.cc (accept, read, read):
10719 Disabled timeouts on WIN32 pending discussion.
10720
10721 2002-03-07 Adam Megacz <adam@xwt.org>
10722
10723 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10724 returns jlong. Added implementation
10725 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10726 returns jlong.
10727 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10728 returns jlong.
10729 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10730 returns jlong.
10731 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10732 _Jv_platform_gettimeofday signature.
10733
10734 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10735
10736 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10737 (read): Call recv() directly, not _Jv_recv().
10738
10739 2002-03-06 Tom Tromey <tromey@redhat.com>
10740
10741 * java/io/natFileDescriptorEcos.cc (init): Don't use
10742 GetStdHandle.
10743 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10744 is negative.
10745 (init): Don't use GetStdHandle.
10746
10747 * include/config.h.in: Rebuilt.
10748 * configure: Rebuilt.
10749 * Makefile.in: Rebuilt.
10750
10751 2002-03-06 Adam Megacz <adam@xwt.org>
10752
10753 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10754 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10755 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10756 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10757
10758 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10759
10760 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10761 the code for generating include/java-chartables.h.
10762 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10763 merge with Classpath.
10764 * scripts/unicode-muncher.pl: Copy from Classpath.
10765 * scritps/MakeCharTables.java: New file.
10766 * gnu/gcj/convert/Blocks-3.txt: New file.
10767 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10768 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10769 * gnu/java/lang/CharData.java: Copy from Classpath.
10770 * Makefile.am (ordinary_java_source_files): Add
10771 gnu/java/lang/CharData.java.
10772 * configure.in: Remove --enable-fast-character option.
10773 * java/lang/Character.java: Merge algorithms and Javadoc with
10774 Classpath.
10775 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10776 efficiently.
10777 * include/java-chardecomp.h: Regenerate.
10778 * include/java-chartables.h: Regenerate.
10779
10780 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10781
10782 * java/awt/MediaTracker.java: Implemented.
10783 * Makefile.am: Add MediaTracker.
10784 * Makefile.in: Rebuilt.
10785
10786 2002-03-05 Tom Tromey <tromey@redhat.com>
10787
10788 * java/lang/natPosixProcess.cc (fail): Removed.
10789 (startProcess): Simplified error-handling. Preserve
10790 LD_LIBRARY_PATH across exec.
10791
10792 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10793 AbstractMethodError.
10794
10795 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10796
10797 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10798 * Makefile.in: Rebuilt.
10799
10800 2002-03-03 Mark Wielaard <mark@klomp.org>
10801
10802 * java/util/Timer (TaskQueue.stop): set elements to zero.
10803
10804 2002-02-28 Anthony Green <green@redhat.com>
10805
10806 * java/lang/reflect/natMethod.cc (result): Add void* element.
10807 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10808 constructor test.
10809
10810 2002-02-27 Adam Megacz <adam@xwt.org>
10811
10812 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10813 '#undef STRICT'.
10814
10815 2002-02-26 Tom Tromey <tromey@redhat.com>
10816
10817 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10818 * gij.cc (version): Use __VERSION__.
10819 * include/config.h.in: Rebuilt.
10820 * acconfig.h (GCJVERSION): Removed.
10821 * configure: Rebuilt.
10822 * configure.in (GCJVERSION): Removed.
10823
10824 2002-02-26 Andreas Schwab <schwab@suse.de>
10825
10826 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10827 glibcpp_CXX, since libjava uses even another CXX.
10828 * aclocal.m4, configure: Regenerated.
10829
10830 2002-02-26 Tom Tromey <tromey@redhat.com>
10831
10832 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10833 `1'.
10834
10835 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10836
10837 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10838 dependency tracking for .java files.
10839 * Makefile.in: Rebuilt.
10840
10841 2002-02-24 Adam Megacz <adam@xwt.org>
10842
10843 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10844 typo. Sorry.
10845
10846 2002-02-24 Adam Megacz <adam@xwt.org>
10847
10848 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10849 for Win32, changed #ifdefs to check WIN32 instead of the
10850 (now-obsolete) USE_WINSOCK, and removed support for socket
10851 timeouts on Win32 pending further discussion.
10852
10853 2002-02-24 Adam Megacz <adam@xwt.org>
10854
10855 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10856 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10857 delete
10858
10859 2002-02-24 Adam Megacz <adam@xwt.org>
10860
10861 * java/lang/Win32Process.java: Created a dummy class to allow
10862 build process to run to completion.
10863
10864 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10865
10866 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10867 Define ffi_result union for ffi_call result. Cast
10868 ffi_result members to jvalue.
10869
10870 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10871
10872 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10873 * testsuite/Makefile.in: Likewise.
10874
10875 2002-02-20 Per Bothner <per@bothner.com>
10876
10877 * java/net/URL.java (getPath): New JDK 1.3 method.
10878
10879 * java/net/URLStreamHandler.java (parseURL):
10880 It is wrong to prepend '/' to the file part of a relative url.
10881
10882 * java/net/URLStreamHandler.java (parseURL):
10883 Minor optizations - append '/' rather than "/".
10884
10885 * java/net/URLStreamHandler.java (parseURL):
10886 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10887 We probably should canonicalize for a context-relative url, though.
10888 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10889 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10890 (sameFile): New method. Uses canonicalizeFilename.
10891
10892 2002-02-22 Tom Tromey <tromey@redhat.com>
10893
10894 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10895 java.vendor and java.vm.vendor.
10896 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10897 recent copyright date.
10898 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10899 * gij.cc (version): Print `Inc'.
10900
10901 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10902
10903 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10904 * aclocal.m4, configure: Rebuilt.
10905
10906 2002-02-20 Per Bothner <per@bothner.com>
10907
10908 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10909 and/or output streams immediately here, instead of using File.exists.
10910 (inputStream, outputStream): New fields to save open streams.
10911 (getInputStream, getOutputStream): Use already-opened streams.
10912
10913 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10914
10915 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10916 Use it.
10917 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10918 * aclocal.m4, configure, Makefile.in: Rebuilt.
10919
10920 2002-02-19 Tom Tromey <tromey@redhat.com>
10921
10922 Fix for PR libgcj/5696:
10923 * verify.cc (is_assignable_from_slow): Never call
10924 _Jv_IsAssignableFrom.
10925 (verify_instructions_0): Added new debug statement.
10926 (state::print): Print information about whether local has
10927 changed.
10928 (state::merge): Don't call note_variable when merging locals.
10929 (state::set_exception): Removed old FIXME comment.
10930
10931 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10932
10933 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10934 enable SO_BROADCAST.
10935
10936 2002-02-18 Jason Merrill <jason@redhat.com>
10937
10938 * name-finder.cc (toHex): Use word mode, not long long.
10939
10940 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10941
10942 2002-02-15 Tom Tromey <tromey@redhat.com>
10943
10944 Fix for PR libgcj/5695:
10945 * verify.cc (is_assignable_from_slow): Check to see if target is
10946 an Object before checking to see if source is an interface.
10947 (verify_instructions_0) [op_invokeinterface]: Handle case where
10948 we're making an interface call on Object.
10949
10950 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10951
10952 * Makefile.in: Rebuilt with Eric's change below.
10953
10954 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10955 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10956 Removed functions which are now implemented in Math.java.
10957
10958 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10959
10960 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10961 * Makefile.am (core_java_source_files): Add
10962 java/lang/StrictMath.java.
10963 * java/lang/Math.java: Merge with Classpath.
10964 * java/lang/StrictMath.java: New file - merge with Classpath.
10965
10966 2002-02-14 Mark Wielaard <mark@klomp.org>
10967
10968 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10969 package as a workaround for gcj 3.0.x
10970
10971 2002-02-14 Mark Wielaard <mark@klomp.org>
10972
10973 * java/security/BasicPermission.java: extends with fully qualified
10974 classname as workaround for gcj 3.0.4.
10975
10976 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10977
10978 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10979 around gcj bug of wrong emitted qualifier for inherited method.
10980 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10981 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10982 constructor to reduce amount of emitted bytecode. While this
10983 happens to work around a jikes 1.15 bug, it is still a useful
10984 patch even for correct compilers.
10985 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10986 * gnu/java/rmi/server/UnicastRemoteCall.java
10987 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10988
10989 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10990
10991 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10992 * java/net/SocketImpl.java: Ditto.
10993 * java/rmi/server/RMIClassLoader.java: Ditto.
10994 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10995
10996 2002-02-14 Mark Wielaard <mark@klomp.org>
10997
10998 Thanks to Takashi Okamoto
10999 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11000 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11001 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11002
11003 2002-02-13 Todd Stock <toddastock@yahoo.com>
11004
11005 Fix for PR libgcj/5670:
11006 * verify.cc (is_assignable_from_slow): If `source' is interface,
11007 recursively look for merge with `target'.
11008
11009 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11010
11011 * include/jni.h: Fix typo.
11012
11013 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11014
11015 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11016 correctly.
11017
11018 2002-02-13 Todd Stock <toddastock@yahoo.com>
11019
11020 Fix for PR libgcj/5671:
11021 * verify.cc (state::merge): Handle case where we're merging
11022 against an interface.
11023
11024 2002-02-12 Tom Tromey <tromey@redhat.com>
11025
11026 * exception.cc (std::abort): Mark as noreturn.
11027
11028 2002-02-12 Adam Megacz <adam@xwt.org>
11029
11030 * java/lang/Win32Process.java: Filled in a placeholder
11031 implementation so Win32 will build.
11032
11033 2002-02-12 Adam Megacz <adam@xwt.org>
11034
11035 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11036 * java/io/natFile.cc: Removed from repository.
11037 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11038
11039 2002-02-12 Adam Megacz <adam@xwt.org>
11040
11041 * win32.cc: Added two #includes to make win32.cc compile.
11042
11043 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11044
11045 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11046 declarations.
11047 (_Jv_InitGC): Don't bother locking, as this is always called from a
11048 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11049
11050 2002-02-11 Adam Megacz <adam@xwt.org>
11051
11052 * include/win32.h: Added _Jv_platform_gettimeofday.
11053 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11054
11055 2002-02-11 Adam Megacz <adam@xwt.org>
11056
11057 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11058 Added #undef STRICT to make windows.h and
11059 java/lang/reflect/Modifier.h cooperate.
11060
11061 2002-02-11 Adam Megacz <adam@xwt.org>
11062
11063 * java/io/natFileWin32.cc: Created a placeholder class with lots
11064 of FIXMEs.
11065
11066 2002-02-11 Adam Megacz <adam@xwt.org>
11067
11068 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11069 std::abort() to simply abort(). Also added "fake" std::abort() so
11070 we can #include unwind-pe.h without having to link against
11071 libstdc++-v3.
11072
11073 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11074
11075 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11076
11077 2002-02-08 Tom Tromey <tromey@redhat.com>
11078
11079 * interpret.cc (convert): New function.
11080 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11081 convert.
11082 Include Long.h.
11083
11084 2002-02-08 Anthony Green <green@redhat.com>
11085
11086 * configure.host: Add support for xscale-elf embedded target.
11087
11088 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11089
11090 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11091 dereferenced.
11092 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11093 frame.
11094
11095 2002-02-07 Tom Tromey <tromey@redhat.com>
11096
11097 * java/io/natFile.cc (_access): Use __builtin_alloca.
11098 (_stat): Likewise.
11099 (attr): Likewise.
11100 (getCanonicalPath): Likewise.
11101 (performList): Likewise.
11102 (performMkdir): Likewise.
11103 (performSetReadOnly): Likewise.
11104 (performRenameTo): Likewise.
11105 (performSetLastModified): Likewise.
11106 (performCreate): Likewise.
11107 (performDelete): Likewise.
11108
11109 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11110
11111 * HACKING: Fix URL for the automake-gcj.
11112
11113 2002-02-07 Tom Tromey <tromey@redhat.com>
11114
11115 * java/lang/natThrowable.cc: Updated copyright.
11116 * java/io/natFileWin32.cc: Updated copyright.
11117 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11118 * win32-threads.cc: Updated copyright.
11119 * name-finder.cc: Updated copyright.
11120 * include/name-finder.h: Updated copyright.
11121
11122 * include/name-finder.h: Conditionally include sys/wait.h.
11123 * include/config.h.in: Rebuilt.
11124
11125 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11126 Size buffer based on real size of string.
11127 (_stat): Likewise.
11128 (attr): Likewise.
11129 (getCanonicalPath): Likewise.
11130 (performList): Likewise.
11131 (performMkdir): Likewise.
11132 (performSetReadOnly): Likewise.
11133 (unixroot): Removed.
11134 (performRenameTo): Likewise.
11135 (performSetLastModified): Likewise.
11136 (performCreate): Likewise.
11137 (performDelete): Likewise.
11138 (performListRoots): Always return new array.
11139
11140 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11141 * win32.cc (win32_exception_handler): Now static.
11142 * include/win32.h (_Jv_platform_initialize): Declare.
11143 (win32_exception_handler): Don't declare.
11144 * java/lang/natSystem.cc (currentTimeMillis): Use
11145 _Jv_platform_gettimeofday.
11146 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11147 (_Jv_select): Use new name.
11148 (_Jv_platform_initialize): New function.
11149 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11150 _Jv_gettimeofday.
11151 (_Jv_platform_initialize): Declare.
11152
11153 * configure: Rebuilt.
11154 * configure.in: Removed unnecessary parens.
11155
11156 2002-02-06 Adam Megacz <adam@xwt.org>
11157
11158 * configure.in: Changed mingw) to *mingw*).
11159 * win32.cc: Created this file.
11160 * win32.h: Created this file.
11161 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11162 win32_exception_handler from prims.cc to win32.cc, added
11163 header in win32.h.
11164 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11165 longer needed now that we have platform.h
11166
11167 2002-02-06 Adam Megacz <adam@xwt.org>
11168
11169 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11170 use uint<n>_t instead of LONG and BYTE
11171
11172 2002-02-06 Adam Megacz <adam@xwt.org>
11173
11174 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11175
11176 2002-02-06 Anthony Green <green@redhat.com>
11177
11178 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11179 Implement missing method stubs.
11180 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11181 targets.
11182 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11183 concept of timezones.
11184 (init_properties): Don't refer to _Jv_Environment_Properties
11185 when this feature is not available.
11186 * include/config.h.in: Rebuilt.
11187 * acconfig.h: Add DISABLE_MAIN_ARGS.
11188 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11189 * configure: Rebuilt.
11190 * configure.in: Add --disable-main-args option. Test for
11191 opendir function. Replace AC_CHECK_SIZEOF with
11192 AC_COMPILE_CHECK_SIZEOF.
11193 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11194 * aclocal.m4: Rebuilt.
11195 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11196
11197 2002-02-06 Tom Tromey <tromey@redhat.com>
11198
11199 * verify.cc (require_array_type): If argument is a null array of
11200 references, return null as the element type.
11201
11202 2002-02-06 Mark Wielaard <mark@klomp.org>
11203
11204 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11205 duplicate of a wide type.
11206
11207 2002-02-06 Tom Tromey <tromey@redhat.com>
11208
11209 * verify.cc (type::isnull): New method.
11210 (require_array_type): Handle case where array is null.
11211 (verify_instructions_0) [op_arraylength]: Likewise.
11212
11213 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11214
11215 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11216 Symlink PLATFORMH to platform.h.
11217 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11218 PLATFORMOBJS.
11219 * java/lang/natSystem.cc: #include platform.h not posix.h.
11220 * Makefile.in: Rebuilt with libgcj automake.
11221 * configure: Rebuilt.
11222
11223 2002-02-05 Richard Henderson <rth@redhat.com>
11224
11225 * Makefile.in: Undo munging last change.
11226
11227 2002-02-04 Adam Megacz <adam@xwt.org>
11228
11229 * win32.cc: Created it.
11230 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11231 which is set to posix.cc or win32.cc.
11232 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11233
11234 2002-02-04 Adam Megacz <adam@xwt.org>
11235
11236 * configure.in: Corrected mingw case branches; added * before
11237 and after.
11238
11239 2002-02-04 Adam Megacz <adam@xwt.org>
11240
11241 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11242 if compiling for win32
11243
11244 2002-02-04 Adam Megacz <adam@xwt.org>
11245
11246 * win32-threads.cc: #undef STRICT after gc.h inclusion
11247
11248 2002-02-02 Tom Tromey <tromey@redhat.com>
11249
11250 * Makefile.in: Rebuilt.
11251
11252 2002-02-02 Jason Merrill <jason@redhat.com>
11253
11254 * Makefile.am (clean-nat): New target.
11255
11256 2002-02-02 Tom Tromey <tromey@redhat.com>
11257
11258 * java/io/natFile.cc: Removed old "FIXME" comments.
11259
11260 2002-02-01 Tom Tromey <tromey@redhat.com>
11261
11262 * java/lang/natPosixProcess.cc (myclose): New function.
11263 (fail): Use it.
11264 (startProcess): Likewise.
11265
11266 2002-02-01 Adam Megacz <adam@xwt.org>
11267
11268 * prims.cc: Added #undef STRICT after #include<windows.h>.
11269
11270 2002-02-01 Adam Megacz <adam@xwt.org>
11271
11272 * prims.cc
11273 (_Jv_CreateJavaVM): We now use WIN32 instead of
11274 USE_WIN32_SIGNALLING and USE_WINSOCK.
11275 (win32_exception_handler): Now throws an exception out of
11276 the signal handler; assumes SJLJ.
11277
11278 2002-02-01 Adam Megacz <adam@xwt.org>
11279
11280 * win32-threads.cc:
11281 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11282 wait() algorithm to make it safe.
11283 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11284 Added lazy creation of Win32 Events for better performance
11285 (really_start): This now uses GC_CreateThread so boehm-gc
11286 knows about new threads even when statically linked.
11287
11288 2002-02-01 Adam Megacz <adam@xwt.org>
11289
11290 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11291 enable safer wait() algorithm.
11292 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11293 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11294 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11295 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11296 instead of mutex.
11297 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11298
11299 2002-02-01 Adam Megacz <adam@xwt.org>
11300
11301 * configure.in: Added support for mingw.
11302 * java/lang/Win32Process.java: Created as empty file.
11303 * java/lang/natWin32Process.cc: Created as empty file.
11304
11305 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11306
11307 PR java/4972
11308 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11309 for libiconv in LIBICONV variable.
11310 * configure: Regenerated.
11311
11312 2002-01-31 Tom Tromey <tromey@redhat.com>
11313
11314 * verify.cc (state::enter_subroutine): New method.
11315 (handle_jsr_insn): Use it.
11316 (state::merge): When processing a `ret', correctly use
11317 subroutine's state to determine which local variables have
11318 changed.
11319 (push_exception_jump): Don't let stack overflow.
11320
11321 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11322
11323 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11324 --version output.
11325
11326 2002-01-30 Tom Tromey <tromey@redhat.com>
11327
11328 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11329 parameter for `recv' return type.
11330
11331 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11332 (state::merge): ... not here.
11333 (subr_entry_info): New structure.
11334 (entry_points): New field.
11335 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11336 entry_points.
11337
11338 2002-01-29 Tom Tromey <tromey@redhat.com>
11339
11340 * java/awt/List.java (addNotify): Correctly check to see if peer
11341 does not exist.
11342
11343 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11344 to compute height of each cell, and number of columns to compute
11345 width of each cell.
11346 * java/awt/Window.java (getOwnedWindows): Don't return null.
11347 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11348 of component. Increment x using horizontal gap, not vertical
11349 gap.
11350
11351 2002-01-28 Tom Tromey <tromey@redhat.com>
11352
11353 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11354 `nargs' byte is number of words, not number of arguments.
11355
11356 2002-01-27 Tom Tromey <tromey@redhat.com>
11357
11358 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11359 (when): Likewise.
11360 * java/awt/event/InputEvent.java (modifiers, when): Now
11361 package-private.
11362
11363 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11364 and to-do list.
11365 (state::merge): Use current class' class loader.
11366 (state::print): Print subroutine.
11367 (state::merge): Don't look at subroutine of unmerged `ret'.
11368
11369 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11370
11371 * nogc.cc: Remove warnings.
11372 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11373 New functions.
11374
11375 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11376
11377 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11378 int, int): Remove empty "if" statement to work around compiler bug.
11379 (newPixels(int[], ColorModel, int, int): Likewise.
11380
11381 2002-01-25 Per Bothner <per@bothner.com>
11382
11383 * verify.cc (verify_fail): Change from being a top-level function
11384 to e method of _Jv_BytecodeVerifier. Emit current method name.
11385 Pass the current verifier to type: and state: methods as needed,
11386 for better error messages, and for resolve.
11387 (resolve): Pass current class's loader for Class.forName and
11388 _Jv_FindClassFromSignature, rather than using the default loader.
11389 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11390 (get_type_val_for_signature): Make non-static.
11391 (various methods): Pass start_PC implicitly, not explicitly.
11392
11393 2002-01-25 Tom Tromey <tromey@redhat.com>
11394
11395 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11396 loop termination condition.
11397 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11398 width.
11399
11400 2002-01-24 Tom Tromey <tromey@redhat.com>
11401
11402 * java/awt/Shape.java: Merged with Classpath.
11403 * java/awt/Scrollbar.java: Merged with Classpath.
11404
11405 * java/awt/Container.java (addNotify): Unconditionally call
11406 addNotifyContainerChildren and superclass addNotify.
11407
11408 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11409 getAlpha, not getBlue.
11410
11411 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11412
11413 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11414
11415 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11416 (grabPixels(long)): Wait to be notified that the ImageProducer has
11417 completed.
11418
11419 2002-01-24 Per Bothner <per@bothner.com>
11420
11421 * verify.cc (is_assignable_from_slow): If target is an interface,
11422 we must still check the source's superclass before giving up.
11423
11424 2002-01-24 Tom Tromey <tromey@redhat.com>
11425
11426 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11427
11428 2002-01-23 Tom Tromey <tromey@redhat.com>
11429
11430 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11431 `else'.
11432
11433 * Makefile.in: Rebuilt.
11434 * Makefile.am (awt_java_source_files): Added new files.
11435 * java/awt/Toolkit.java: Merged with Classpath.
11436 * java/awt/PrintGraphics.java: New file from Classpath.
11437 * java/awt/PrintJob.java: New file from Classpath.
11438 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11439 * java/awt/datatransfer/ClipboardOwner.java: New file from
11440 Classpath.
11441 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11442 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11443 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11444 Classpath.
11445 * java/awt/datatransfer/StringSelection.java: New file from
11446 Classpath.
11447 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11448 Classpath.
11449 * java/awt/datatransfer/Transferable.java: New file from
11450 Classpath.
11451 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11452 from Classpath.
11453
11454 * Makefile.in: Rebuilt.
11455 * Makefile.am (awt_java_source_files): Added new files.
11456 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11457 Classpath.
11458 * java/awt/image/CropImageFilter.java: New file from Classpath.
11459 * java/awt/image/FilteredImageSource.java: New file from
11460 Classpath.
11461 * java/awt/image/ImageFilter.java: New file from Classpath.
11462 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11463 * java/awt/image/PixelGrabber.java: New file from Classpath.
11464 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11465 * java/awt/image/ReplicateScaleFilter.java: New file from
11466 Classpath.
11467 * java/awt/image/ImageProducer.java: Replaced with Classpath
11468 version.
11469 * java/awt/image/ImageObserver.java: Replaced with Classpath
11470 version.
11471 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11472 version.
11473 * java/awt/GridBagConstraints.java (clone): Catch
11474 CloneNotSupportedException.
11475
11476 2002-01-23 Per Bothner <per@bothner.com>
11477
11478 * java/lang/reflect/natField.cc (setAddr): New function.
11479 Calls getAddr and then checks that the field isn't final.
11480 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11481 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11482 (set): Call setAddr before check that new value has right type,
11483 to better match specified semantics.
11484
11485 2002-01-22 Tom Tromey <tromey@redhat.com>
11486
11487 * java/awt/TextField.java: Replaced with Classpath version.
11488 * java/awt/TextArea.java: Replaced with Classpath version.
11489 * java/awt/TextComponent.java: Replaced with Classpath version.
11490
11491 * java/awt/GridBagConstraints.java: Updated copyright.
11492
11493 2002-01-22 Mark Wielaard <mark@klomp.org>
11494
11495 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11496 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11497 java/awt/Dialog.java java/awt/FileDialog.java
11498 java/awt/Font.java java/awt/FontMetrics.java
11499 java/awt/Image.java java/awt/ImageMediaEntry.java
11500 java/awt/Insets.java java/awt/List.java
11501 java/awt/MediaEntry.java java/awt/MediaTracker.java
11502 java/awt/Menu.java java/awt/MenuBar.java
11503 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11504 java/awt/PaintContext.java java/awt/Panel.java
11505 java/awt/PopupMenu.java java/awt/SystemColor.java
11506 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11507 java/awt/peer/CheckboxMenuItemPeer.java
11508 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11509 java/awt/peer/ComponentPeer.java
11510 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11511 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11512 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11513 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11514 java/awt/peer/MenuBarPeer.java
11515 java/awt/peer/MenuComponentPeer.java
11516 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11517 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11518 java/awt/peer/ScrollPanePeer.java
11519 java/awt/peer/ScrollbarPeer.java
11520 java/awt/peer/TextAreaPeer.java
11521 java/awt/peer/TextComponentPeer.java
11522 java/awt/peer/TextFieldPeer.java
11523 java/awt/peer/WindowPeer.java: Add license clarification.
11524
11525 2002-01-22 Mark Wielaard <mark@klomp.org>
11526
11527 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11528 gnu/gcj/runtime/StringBuffer.java
11529 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11530 gnu/java/awt/ComponentDataBlitOp.java
11531 gnu/java/awt/GLightweightPeer.java
11532 gnu/java/beans/BeanInfoEmbryo.java
11533 gnu/java/beans/EmptyBeanInfo.java
11534 gnu/java/beans/ExplicitBeanInfo.java
11535 gnu/java/beans/IntrospectionIncubator.java
11536 gnu/java/beans/editors/ColorEditor.java
11537 gnu/java/beans/editors/FontEditor.java
11538 gnu/java/beans/editors/NativeBooleanEditor.java
11539 gnu/java/beans/editors/NativeByteEditor.java
11540 gnu/java/beans/editors/NativeDoubleEditor.java
11541 gnu/java/beans/editors/NativeFloatEditor.java
11542 gnu/java/beans/editors/NativeIntEditor.java
11543 gnu/java/beans/editors/NativeLongEditor.java
11544 gnu/java/beans/editors/NativeShortEditor.java
11545 gnu/java/beans/editors/StringEditor.java
11546 gnu/java/beans/info/ComponentBeanInfo.java
11547 gnu/java/io/ClassLoaderObjectInputStream.java
11548 gnu/java/io/NullOutputStream.java
11549 gnu/java/io/ObjectIdentityWrapper.java
11550 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11551 gnu/java/lang/reflect/TypeSignature.java
11552 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11553 gnu/java/locale/Calendar_en.java
11554 gnu/java/locale/Calendar_nl.java
11555 gnu/java/locale/LocaleInformation.java
11556 gnu/java/locale/LocaleInformation_de.java
11557 gnu/java/locale/LocaleInformation_en.java
11558 gnu/java/locale/LocaleInformation_nl.java
11559 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11560 gnu/java/rmi/registry/RegistryImpl.java
11561 gnu/java/rmi/rmic/Compile_gcj.java
11562 gnu/java/rmi/rmic/Compiler.java
11563 gnu/java/rmi/rmic/CompilerProcess.java
11564 gnu/java/rmi/rmic/RMIC.java
11565 gnu/java/rmi/rmic/TabbedWriter.java
11566 gnu/java/rmi/server/ProtocolConstants.java
11567 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11568 gnu/java/rmi/server/RMIHashes.java
11569 gnu/java/rmi/server/RMIObjectInputStream.java
11570 gnu/java/rmi/server/RMIObjectOutputStream.java
11571 gnu/java/rmi/server/UnicastConnection.java
11572 gnu/java/rmi/server/UnicastConnectionManager.java
11573 gnu/java/rmi/server/UnicastRef.java
11574 gnu/java/rmi/server/UnicastRemoteCall.java
11575 gnu/java/rmi/server/UnicastRemoteStub.java
11576 gnu/java/rmi/server/UnicastServer.java
11577 gnu/java/rmi/server/UnicastServerRef.java
11578 gnu/java/security/provider/DefaultPolicy.java
11579 gnu/java/security/provider/Gnu.java
11580 gnu/java/security/provider/SHA.java
11581 gnu/java/security/provider/SHA1PRNG.java
11582 gnu/java/text/BaseBreakIterator.java
11583 gnu/java/text/CharacterBreakIterator.java
11584 gnu/java/text/LineBreakIterator.java
11585 gnu/java/text/SentenceBreakIterator.java
11586 gnu/java/text/WordBreakIterator.java
11587 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11588 java/applet/AppletContext.java java/applet/AppletStub.java
11589 java/applet/AudioClip.java java/awt/AWTError.java
11590 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11591 java/awt/AWTException.java java/awt/AWTPermission.java
11592 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11593 java/awt/Button.java java/awt/Canvas.java
11594 java/awt/CardLayout.java java/awt/Checkbox.java
11595 java/awt/CheckboxGroup.java java/awt/Component.java
11596 java/awt/ComponentOrientation.java java/awt/Container.java
11597 java/awt/Dimension.java java/awt/Event.java
11598 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11599 java/awt/FlowLayout.java java/awt/Frame.java
11600 java/awt/Graphics.java java/awt/Graphics2D.java
11601 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11602 java/awt/IllegalComponentStateException.java
11603 java/awt/ItemSelectable.java java/awt/Label.java
11604 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11605 java/awt/MenuComponent.java java/awt/MenuItem.java
11606 java/awt/Paint.java java/awt/Point.java
11607 java/awt/Rectangle.java java/awt/RenderingHints.java
11608 java/awt/Transparency.java java/awt/Window.java
11609 java/awt/color/ColorSpace.java
11610 java/awt/color/ICC_ColorSpace.java
11611 java/awt/color/ICC_Profile.java
11612 java/awt/event/HierarchyBoundsAdapter.java
11613 java/awt/event/HierarchyBoundsListener.java
11614 java/awt/event/HierarchyEvent.java
11615 java/awt/event/HierarchyListener.java
11616 java/awt/geom/AffineTransform.java
11617 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11618 java/awt/geom/IllegalPathStateException.java
11619 java/awt/geom/Line2D.java
11620 java/awt/geom/NoninvertibleTransformException.java
11621 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11622 java/awt/geom/Rectangle2D.java
11623 java/awt/geom/RectangularShape.java
11624 java/awt/geom/RoundRectangle2D.java
11625 java/awt/image/BufferedImage.java
11626 java/awt/image/ColorModel.java
11627 java/awt/image/ComponentColorModel.java
11628 java/awt/image/ComponentSampleModel.java
11629 java/awt/image/DataBuffer.java
11630 java/awt/image/DataBufferByte.java
11631 java/awt/image/DataBufferInt.java
11632 java/awt/image/DataBufferUShort.java
11633 java/awt/image/DirectColorModel.java
11634 java/awt/image/PackedColorModel.java
11635 java/awt/image/Raster.java java/awt/image/RasterOp.java
11636 java/awt/image/SampleModel.java
11637 java/awt/image/SinglePixelPackedSampleModel.java
11638 java/awt/image/WritableRaster.java
11639 java/beans/AppletInitializer.java
11640 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11641 java/beans/Beans.java java/beans/Customizer.java
11642 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11643 java/beans/FeatureDescriptor.java
11644 java/beans/IndexedPropertyDescriptor.java
11645 java/beans/IntrospectionException.java
11646 java/beans/Introspector.java java/beans/MethodDescriptor.java
11647 java/beans/ParameterDescriptor.java
11648 java/beans/PropertyChangeEvent.java
11649 java/beans/PropertyChangeListener.java
11650 java/beans/PropertyChangeSupport.java
11651 java/beans/PropertyDescriptor.java
11652 java/beans/PropertyEditor.java
11653 java/beans/PropertyEditorManager.java
11654 java/beans/PropertyEditorSupport.java
11655 java/beans/PropertyVetoException.java
11656 java/beans/SimpleBeanInfo.java
11657 java/beans/VetoableChangeListener.java
11658 java/beans/VetoableChangeSupport.java
11659 java/beans/Visibility.java
11660 java/beans/beancontext/BeanContext.java
11661 java/beans/beancontext/BeanContextChild.java
11662 java/beans/beancontext/BeanContextChildComponentProxy.java
11663 java/beans/beancontext/BeanContextChildSupport.java
11664 java/beans/beancontext/BeanContextContainerProxy.java
11665 java/beans/beancontext/BeanContextEvent.java
11666 java/beans/beancontext/BeanContextMembershipEvent.java
11667 java/beans/beancontext/BeanContextMembershipListener.java
11668 java/beans/beancontext/BeanContextProxy.java
11669 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11670 java/beans/beancontext/BeanContextServiceProvider.java
11671 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11672 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11673 java/beans/beancontext/BeanContextServiceRevokedListener.java
11674 java/beans/beancontext/BeanContextServices.java
11675 java/beans/beancontext/BeanContextServicesListener.java
11676 java/io/BufferedInputStream.java
11677 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11678 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11679 java/io/ByteArrayOutputStream.java
11680 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11681 java/io/CharConversionException.java java/io/DataInput.java
11682 java/io/DataInputStream.java java/io/DataOutput.java
11683 java/io/EOFException.java java/io/Externalizable.java
11684 java/io/FileFilter.java java/io/FileNotFoundException.java
11685 java/io/FilePermission.java java/io/FileReader.java
11686 java/io/FileWriter.java java/io/FilenameFilter.java
11687 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11688 java/io/FilterReader.java java/io/FilterWriter.java
11689 java/io/IOException.java java/io/InputStream.java
11690 java/io/InterruptedIOException.java
11691 java/io/InvalidClassException.java
11692 java/io/InvalidObjectException.java
11693 java/io/NotActiveException.java
11694 java/io/NotSerializableException.java java/io/ObjectInput.java
11695 java/io/ObjectInputStream.java
11696 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11697 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11698 java/io/ObjectStreamConstants.java
11699 java/io/ObjectStreamException.java
11700 java/io/ObjectStreamField.java
11701 java/io/OptionalDataException.java java/io/OutputStream.java
11702 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11703 java/io/PipedReader.java java/io/PipedWriter.java
11704 java/io/PrintWriter.java java/io/PushbackInputStream.java
11705 java/io/PushbackReader.java java/io/Reader.java
11706 java/io/SequenceInputStream.java java/io/Serializable.java
11707 java/io/SerializablePermission.java
11708 java/io/StreamCorruptedException.java
11709 java/io/StreamTokenizer.java
11710 java/io/StringBufferInputStream.java java/io/StringReader.java
11711 java/io/StringWriter.java java/io/SyncFailedException.java
11712 java/io/UTFDataFormatException.java
11713 java/io/UnsupportedEncodingException.java
11714 java/io/WriteAbortedException.java java/io/Writer.java
11715 java/lang/AbstractMethodError.java
11716 java/lang/ArithmeticException.java
11717 java/lang/ArrayIndexOutOfBoundsException.java
11718 java/lang/ArrayStoreException.java java/lang/Boolean.java
11719 java/lang/Byte.java java/lang/CharSequence.java
11720 java/lang/ClassCastException.java
11721 java/lang/ClassCircularityError.java
11722 java/lang/ClassFormatError.java
11723 java/lang/ClassNotFoundException.java
11724 java/lang/CloneNotSupportedException.java
11725 java/lang/Cloneable.java java/lang/Comparable.java
11726 java/lang/Compiler.java java/lang/Double.java
11727 java/lang/Error.java java/lang/Exception.java
11728 java/lang/ExceptionInInitializerError.java
11729 java/lang/Float.java java/lang/IllegalAccessError.java
11730 java/lang/IllegalAccessException.java
11731 java/lang/IllegalArgumentException.java
11732 java/lang/IllegalMonitorStateException.java
11733 java/lang/IllegalStateException.java
11734 java/lang/IllegalThreadStateException.java
11735 java/lang/IncompatibleClassChangeError.java
11736 java/lang/IndexOutOfBoundsException.java
11737 java/lang/InheritableThreadLocal.java
11738 java/lang/InstantiationError.java
11739 java/lang/InstantiationException.java java/lang/Integer.java
11740 java/lang/InternalError.java
11741 java/lang/InterruptedException.java
11742 java/lang/LinkageError.java java/lang/Long.java
11743 java/lang/NegativeArraySizeException.java
11744 java/lang/NoClassDefFoundError.java
11745 java/lang/NoSuchFieldError.java
11746 java/lang/NoSuchFieldException.java
11747 java/lang/NoSuchMethodError.java
11748 java/lang/NoSuchMethodException.java
11749 java/lang/NullPointerException.java java/lang/Number.java
11750 java/lang/NumberFormatException.java
11751 java/lang/OutOfMemoryError.java java/lang/Package.java
11752 java/lang/Process.java java/lang/Runnable.java
11753 java/lang/RuntimeException.java
11754 java/lang/RuntimePermission.java
11755 java/lang/SecurityException.java
11756 java/lang/SecurityManager.java java/lang/Short.java
11757 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11758 java/lang/StringIndexOutOfBoundsException.java
11759 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11760 java/lang/ThreadLocal.java java/lang/UnknownError.java
11761 java/lang/UnsatisfiedLinkError.java
11762 java/lang/UnsupportedClassVersionError.java
11763 java/lang/UnsupportedOperationException.java
11764 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11765 java/lang/Void.java java/lang/ref/PhantomReference.java
11766 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11767 java/lang/ref/SoftReference.java
11768 java/lang/ref/WeakReference.java
11769 java/lang/reflect/AccessibleObject.java
11770 java/lang/reflect/InvocationTargetException.java
11771 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11772 java/lang/reflect/ReflectPermission.java
11773 java/math/BigDecimal.java java/math/BigInteger.java
11774 java/net/Authenticator.java java/net/BindException.java
11775 java/net/ConnectException.java java/net/ContentHandler.java
11776 java/net/ContentHandlerFactory.java
11777 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11778 java/net/FileNameMap.java java/net/MalformedURLException.java
11779 java/net/MulticastSocket.java java/net/NetPermission.java
11780 java/net/NoRouteToHostException.java
11781 java/net/PasswordAuthentication.java
11782 java/net/ProtocolException.java java/net/ServerSocket.java
11783 java/net/Socket.java java/net/SocketException.java
11784 java/net/SocketImpl.java java/net/SocketImplFactory.java
11785 java/net/SocketOptions.java java/net/SocketPermission.java
11786 java/net/URLDecoder.java java/net/URLEncoder.java
11787 java/net/URLStreamHandlerFactory.java
11788 java/net/UnknownHostException.java
11789 java/net/UnknownServiceException.java
11790 java/rmi/AccessException.java
11791 java/rmi/AlreadyBoundException.java
11792 java/rmi/ConnectException.java
11793 java/rmi/ConnectIOException.java
11794 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11795 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11796 java/rmi/NotBoundException.java
11797 java/rmi/RMISecurityException.java
11798 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11799 java/rmi/RemoteException.java java/rmi/ServerError.java
11800 java/rmi/ServerException.java
11801 java/rmi/ServerRuntimeException.java
11802 java/rmi/StubNotFoundException.java
11803 java/rmi/UnexpectedException.java
11804 java/rmi/UnknownHostException.java
11805 java/rmi/UnmarshalException.java
11806 java/rmi/activation/Activatable.java
11807 java/rmi/activation/ActivateFailedException.java
11808 java/rmi/activation/ActivationDesc.java
11809 java/rmi/activation/ActivationException.java
11810 java/rmi/activation/ActivationGroup.java
11811 java/rmi/activation/ActivationGroupDesc.java
11812 java/rmi/activation/ActivationGroupID.java
11813 java/rmi/activation/ActivationID.java
11814 java/rmi/activation/ActivationInstantiator.java
11815 java/rmi/activation/ActivationMonitor.java
11816 java/rmi/activation/ActivationSystem.java
11817 java/rmi/activation/Activator.java
11818 java/rmi/activation/UnknownGroupException.java
11819 java/rmi/activation/UnknownObjectException.java
11820 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11821 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11822 java/rmi/registry/Registry.java
11823 java/rmi/registry/RegistryHandler.java
11824 java/rmi/server/ExportException.java
11825 java/rmi/server/LoaderHandler.java
11826 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11827 java/rmi/server/Operation.java
11828 java/rmi/server/RMIClassLoader.java
11829 java/rmi/server/RMIClientSocketFactory.java
11830 java/rmi/server/RMIFailureHandler.java
11831 java/rmi/server/RMIServerSocketFactory.java
11832 java/rmi/server/RMISocketFactory.java
11833 java/rmi/server/RemoteCall.java
11834 java/rmi/server/RemoteObject.java
11835 java/rmi/server/RemoteRef.java
11836 java/rmi/server/RemoteServer.java
11837 java/rmi/server/RemoteStub.java
11838 java/rmi/server/ServerCloneException.java
11839 java/rmi/server/ServerNotActiveException.java
11840 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11841 java/rmi/server/SkeletonMismatchException.java
11842 java/rmi/server/SkeletonNotFoundException.java
11843 java/rmi/server/SocketSecurityException.java
11844 java/rmi/server/UID.java
11845 java/rmi/server/UnicastRemoteObject.java
11846 java/rmi/server/Unreferenced.java
11847 java/security/AccessControlContext.java
11848 java/security/AccessControlException.java
11849 java/security/AccessController.java
11850 java/security/AlgorithmParameterGenerator.java
11851 java/security/AlgorithmParameterGeneratorSpi.java
11852 java/security/AlgorithmParameters.java
11853 java/security/AlgorithmParametersSpi.java
11854 java/security/AllPermission.java
11855 java/security/BasicPermission.java
11856 java/security/Certificate.java java/security/CodeSource.java
11857 java/security/DigestException.java
11858 java/security/DigestInputStream.java
11859 java/security/DigestOutputStream.java
11860 java/security/DomainCombiner.java
11861 java/security/DummyKeyPairGenerator.java
11862 java/security/DummyMessageDigest.java
11863 java/security/DummySignature.java
11864 java/security/GeneralSecurityException.java
11865 java/security/Guard.java java/security/GuardedObject.java
11866 java/security/Identity.java java/security/IdentityScope.java
11867 java/security/InvalidAlgorithmParameterException.java
11868 java/security/InvalidKeyException.java
11869 java/security/InvalidParameterException.java
11870 java/security/Key.java java/security/KeyException.java
11871 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11872 java/security/KeyManagementException.java
11873 java/security/KeyPair.java java/security/KeyPairGenerator.java
11874 java/security/KeyPairGeneratorSpi.java
11875 java/security/KeyStore.java
11876 java/security/KeyStoreException.java
11877 java/security/KeyStoreSpi.java
11878 java/security/MessageDigest.java
11879 java/security/MessageDigestSpi.java
11880 java/security/NoSuchAlgorithmException.java
11881 java/security/NoSuchProviderException.java
11882 java/security/Permission.java
11883 java/security/PermissionCollection.java
11884 java/security/Permissions.java java/security/Policy.java
11885 java/security/Principal.java java/security/PrivateKey.java
11886 java/security/PrivilegedAction.java
11887 java/security/PrivilegedActionException.java
11888 java/security/PrivilegedExceptionAction.java
11889 java/security/ProtectionDomain.java
11890 java/security/Provider.java
11891 java/security/ProviderException.java
11892 java/security/PublicKey.java
11893 java/security/SecureClassLoader.java
11894 java/security/SecureRandom.java
11895 java/security/SecureRandomSpi.java java/security/Security.java
11896 java/security/SecurityPermission.java
11897 java/security/Signature.java
11898 java/security/SignatureException.java
11899 java/security/SignatureSpi.java
11900 java/security/SignedObject.java java/security/Signer.java
11901 java/security/UnrecoverableKeyException.java
11902 java/security/UnresolvedPermission.java
11903 java/security/acl/Acl.java java/security/acl/AclEntry.java
11904 java/security/acl/AclNotFoundException.java
11905 java/security/acl/Group.java
11906 java/security/acl/LastOwnerException.java
11907 java/security/acl/NotOwnerException.java
11908 java/security/acl/Owner.java java/security/acl/Permission.java
11909 java/security/cert/CRL.java
11910 java/security/cert/CRLException.java
11911 java/security/cert/Certificate.java
11912 java/security/cert/CertificateEncodingException.java
11913 java/security/cert/CertificateException.java
11914 java/security/cert/CertificateExpiredException.java
11915 java/security/cert/CertificateFactory.java
11916 java/security/cert/CertificateFactorySpi.java
11917 java/security/cert/CertificateNotYetValidException.java
11918 java/security/cert/CertificateParsingException.java
11919 java/security/cert/X509CRL.java
11920 java/security/cert/X509CRLEntry.java
11921 java/security/cert/X509Certificate.java
11922 java/security/cert/X509Extension.java
11923 java/security/interfaces/DSAKey.java
11924 java/security/interfaces/DSAKeyPairGenerator.java
11925 java/security/interfaces/DSAParams.java
11926 java/security/interfaces/DSAPrivateKey.java
11927 java/security/interfaces/DSAPublicKey.java
11928 java/security/interfaces/RSAKey.java
11929 java/security/interfaces/RSAPrivateCrtKey.java
11930 java/security/interfaces/RSAPrivateKey.java
11931 java/security/interfaces/RSAPublicKey.java
11932 java/security/spec/AlgorithmParameterSpec.java
11933 java/security/spec/DSAParameterSpec.java
11934 java/security/spec/DSAPrivateKeySpec.java
11935 java/security/spec/DSAPublicKeySpec.java
11936 java/security/spec/EncodedKeySpec.java
11937 java/security/spec/InvalidKeySpecException.java
11938 java/security/spec/InvalidParameterSpecException.java
11939 java/security/spec/KeySpec.java
11940 java/security/spec/PKCS8EncodedKeySpec.java
11941 java/security/spec/RSAKeyGenParameterSpec.java
11942 java/security/spec/RSAPrivateCrtKeySpec.java
11943 java/security/spec/RSAPrivateKeySpec.java
11944 java/security/spec/RSAPublicKeySpec.java
11945 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11946 java/sql/BatchUpdateException.java java/sql/Blob.java
11947 java/sql/CallableStatement.java java/sql/Clob.java
11948 java/sql/Connection.java java/sql/DataTruncation.java
11949 java/sql/DatabaseMetaData.java java/sql/Date.java
11950 java/sql/Driver.java java/sql/DriverManager.java
11951 java/sql/DriverPropertyInfo.java
11952 java/sql/PreparedStatement.java java/sql/Ref.java
11953 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11954 java/sql/SQLData.java java/sql/SQLException.java
11955 java/sql/SQLInput.java java/sql/SQLOutput.java
11956 java/sql/SQLWarning.java java/sql/Statement.java
11957 java/sql/Struct.java java/sql/Time.java
11958 java/sql/Timestamp.java java/sql/Types.java
11959 java/text/Annotation.java
11960 java/text/AttributedCharacterIterator.java
11961 java/text/AttributedString.java
11962 java/text/AttributedStringIterator.java
11963 java/text/BreakIterator.java java/text/CharacterIterator.java
11964 java/text/ChoiceFormat.java java/text/Collator.java
11965 java/text/DateFormat.java java/text/DateFormatSymbols.java
11966 java/text/DecimalFormat.java
11967 java/text/DecimalFormatSymbols.java
11968 java/text/FieldPosition.java java/text/Format.java
11969 java/text/MessageFormat.java java/text/NumberFormat.java
11970 java/text/ParseException.java java/text/ParsePosition.java
11971 java/text/SimpleDateFormat.java
11972 java/text/StringCharacterIterator.java
11973 java/util/AbstractCollection.java java/util/AbstractList.java
11974 java/util/AbstractMap.java
11975 java/util/AbstractSequentialList.java
11976 java/util/AbstractSet.java java/util/ArrayList.java
11977 java/util/Arrays.java java/util/BasicMapEntry.java
11978 java/util/BitSet.java java/util/Calendar.java
11979 java/util/Collection.java java/util/Collections.java
11980 java/util/Comparator.java
11981 java/util/ConcurrentModificationException.java
11982 java/util/Date.java java/util/Dictionary.java
11983 java/util/EmptyStackException.java java/util/Enumeration.java
11984 java/util/EventListener.java java/util/EventObject.java
11985 java/util/GregorianCalendar.java java/util/HashMap.java
11986 java/util/HashSet.java java/util/Hashtable.java
11987 java/util/IdentityHashMap.java java/util/Iterator.java
11988 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11989 java/util/LinkedList.java java/util/List.java
11990 java/util/ListIterator.java java/util/ListResourceBundle.java
11991 java/util/Locale.java java/util/Map.java
11992 java/util/MissingResourceException.java
11993 java/util/NoSuchElementException.java
11994 java/util/Observable.java java/util/Observer.java
11995 java/util/Properties.java java/util/PropertyPermission.java
11996 java/util/PropertyResourceBundle.java java/util/Random.java
11997 java/util/RandomAccess.java java/util/ResourceBundle.java
11998 java/util/Set.java java/util/SimpleTimeZone.java
11999 java/util/SortedMap.java java/util/SortedSet.java
12000 java/util/Stack.java java/util/StringTokenizer.java
12001 java/util/TimeZone.java java/util/Timer.java
12002 java/util/TimerTask.java
12003 java/util/TooManyListenersException.java
12004 java/util/TreeMap.java java/util/TreeSet.java
12005 java/util/Vector.java java/util/WeakHashMap.java
12006 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12007 java/util/jar/JarException.java java/util/jar/JarFile.java
12008 java/util/jar/JarInputStream.java
12009 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12010 java/util/zip/Adler32.java java/util/zip/CRC32.java
12011 java/util/zip/CheckedInputStream.java
12012 java/util/zip/CheckedOutputStream.java
12013 java/util/zip/Checksum.java
12014 java/util/zip/DataFormatException.java
12015 java/util/zip/Deflater.java
12016 java/util/zip/DeflaterOutputStream.java
12017 java/util/zip/GZIPInputStream.java
12018 java/util/zip/GZIPOutputStream.java
12019 java/util/zip/Inflater.java
12020 java/util/zip/InflaterInputStream.java
12021 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12022 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12023 java/util/zip/ZipInputStream.java
12024 java/util/zip/ZipOutputStream.java
12025 javax/naming/BinaryRefAddr.java
12026 javax/naming/InvalidNameException.java javax/naming/Name.java
12027 javax/naming/NamingException.java javax/naming/RefAddr.java
12028 javax/naming/StringRefAddr.java: Add license clarification.
12029
12030 2002-01-22 Tom Tromey <tromey@redhat.com>
12031
12032 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12033 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12034 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12035 version.
12036 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12037 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12038 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12039 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12040 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12041 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12042 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12043 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12044 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12045 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12046 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12047 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12048 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12049 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12050 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12051 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12052 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12053 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12054 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12055 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12056 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12057 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12058 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12059 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12060 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12061 (minimumSize, preferredSize, reshape): Likewise.
12062 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12063 getColorModel): New methods.
12064 * java/awt/PopupMenu.java: Merged with Classpath.
12065 * java/awt/MenuBar.java: Merged with Classpath.
12066 * java/awt/SystemColor.java: Replace with Classpath version.
12067 * java/awt/Panel.java: Merged with Classpath.
12068 * java/awt/PaintContext.java: Updated copyright.
12069 * java/awt/MenuShortcut.java: Merged with Classpath.
12070 * java/awt/MenuContainer.java: Merged with Classpath.
12071 * java/awt/Menu.java: Merged with Classpath.
12072 * java/awt/MediaEntry.java: New file from Classpath.
12073 * java/awt/MediaTracker.java: New file from Classpath.
12074 * java/awt/List.java: Merged with Classpath version.
12075 * java/awt/Insets.java: Merged with Classpath version.
12076 * java/awt/ImageMediaEntry.java: New file from Classpath.
12077 * java/awt/Image.java: Replaced with Classpath version.
12078 * java/awt/FontMetrics.java: Merged with Classpath version.
12079 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12080 constant.
12081 * java/awt/Font.java: Merged with Classpath version.
12082 * java/awt/Dialog.java: Merged with Classpath version.
12083 * java/awt/Color.java: Merged with Classpath version.
12084 * java/awt/Choice.java: Merged with Classpath version.
12085 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12086 * java/awt/Adjustable.java: Replace with Classpath version.
12087 * java/awt/MenuItem.java (paramString): Don't include class name
12088 or brackets. Call superclass paramString.
12089 * java/awt/MenuComponent.java (toString): Call paramString.
12090 (paramString): Compute string; don't call toString.
12091 * java/awt/Label.java (paramString): Don't include class name
12092 or brackets. Call superclass paramString.
12093 * java/awt/Checkbox.java (paramString): Don't include class name
12094 or brackets. Call superclass paramString.
12095 * java/awt/Button.java (paramString): Don't include class name or
12096 brackets. Call superclass paramString.
12097 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12098
12099 2002-01-20 Andreas Schwab <schwab@suse.de>
12100
12101 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12102 function and of parameter recv_func to ssize_t, as specified by
12103 POSIX.
12104
12105 2002-01-19 Per Bothner <per@bothner.com>
12106
12107 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12108 uncompressed_size in readiness for next entry.
12109
12110 2002-01-18 Tom Tromey <tromey@redhat.com>
12111
12112 * java/net/natPlainSocketImpl.cc: Include
12113 IllegalArgumentException.h.
12114 (_Jv_recv): New template function.
12115 (BooleanClass): Removed.
12116 (read): Use _Jv_recv.
12117 (setOption): Use Boolean::class$. Throw exception if object is
12118 not Boolean or Integer.
12119
12120 2002-01-17 Tom Tromey <tromey@redhat.com>
12121
12122 * java/awt/MenuComponent.java: Merged with Classpath.
12123 * java/awt/MenuItem.java: Merged with Classpath.
12124 * java/awt/Button.java: Merged with Classpath.
12125
12126 * java/awt/ActiveEvent.java: Updated copyright.
12127
12128 * java/awt/AWTError.java: Replaced with Classpath version.
12129 * java/awt/AWTException.java: Replaced with Classpath version.
12130 * java/awt/IllegalComponentStateException.java: Replaced with
12131 Classpath version.
12132
12133 2002-01-16 Tom Tromey <tromey@redhat.com>
12134
12135 * java/awt/Canvas.java (serialVersionUID): New constant.
12136 Updated copyright. Added javadoc from Classpath.
12137 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12138
12139 * java/awt/CheckboxGroup.java: Merged with Classpath.
12140 * java/awt/Checkbox.java: Merged with Classpath.
12141
12142 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12143 Classpath.
12144 * java/awt/Point.java: Updated copyright.
12145
12146 * java/awt/Point.java (toString): Use getClass().getName().
12147 Added javadoc.
12148
12149 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12150 commented code.
12151 (hash): Correctly compute initial value for `h'.
12152
12153 * java/awt/Label.java: Merged with Classpath.
12154
12155 2002-01-15 Tom Tromey <tromey@redhat.com>
12156
12157 * java/awt/AWTPermission.java: Updated copyright.
12158
12159 * java/awt/LayoutManager2.java: Merged with Classpath.
12160 * java/awt/LayoutManager.java: Merged with Classpath.
12161 * java/awt/GridLayout.java: Updated copyright and javadoc.
12162 (getSize): Use `parent.ncomponents'. Handle insets.
12163 (layoutContainer): Use `parent.ncomponents'. Handle case where
12164 there are fewer children than columns. Correctly compute size of
12165 each cell in the grid. Handle case where there isn't enough
12166 space.
12167 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12168 all users.
12169 (gotoComponent): Use parent.ncomponents. Ensure child exists
12170 before calling setVisible() on it. Last item is `num - 1', not
12171 `num'.
12172 (layoutContainer): Hoist invariants out of loop.
12173
12174 Start of AWT merge with Classpath:
12175 * Makefile.in: Rebuilt.
12176 * Makefile.am (awt_java_source_files): Reference files in
12177 gnu/java/awt, not gnu/gcj/awt.
12178 * java/awt/image/BufferedImage.java: Updated copyright.
12179 * java/awt/image/ComponentColorModel.java: Updated copyright.
12180 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12181 * java/awt/image/DataBuffer.java: Updated copyright.
12182 * java/awt/image/DataBufferByte.java: Updated copyright.
12183 * java/awt/image/DataBufferInt.java: Updated copyright.
12184 * java/awt/image/DataBufferUShort.java: Updated copyright.
12185 * java/awt/image/IndexColorModel.java: Updated copyright.
12186 * java/awt/image/PackedColorModel.java: Updated copyright.
12187 * java/awt/image/Raster.java: Updated copyright.
12188 * java/awt/image/RasterOp.java: Updated copyright.
12189 * java/awt/image/SampleModel.java: Updated copyright.
12190 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12191 * java/awt/image/WritableRaster.java: Updated copyright.
12192 * java/awt/color/ColorSpace.java: Updated copyright.
12193 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12194 * java/awt/color/ICC_Profile.java: Updated copyright.
12195 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12196 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12197 * java/awt/event/HierarchyEvent.java: Updated copyright.
12198 * java/awt/event/HierarchyListener.java: Updated copyright.
12199 * java/awt/geom/AffineTransform.java: Updated copyright.
12200 * java/awt/geom/Dimension2D.java: Updated copyright.
12201 * java/awt/geom/Ellipse2D.java: Updated copyright.
12202 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12203 * java/awt/geom/Line2D.java: Updated copyright.
12204 * java/awt/geom/NoninvertibleTransformException.java: Updated
12205 copyright.
12206 * java/awt/geom/PathIterator.java: Updated copyright.
12207 * java/awt/geom/Point2D.java: Updated copyright.
12208 * java/awt/geom/Rectangle2D.java: Updated copyright.
12209 * java/awt/geom/RectangularShape.java: Updated copyright.
12210 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12211 * java/awt/Toolkit.java: Updated import for file moves.
12212 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12213 Classpath.
12214 (hashCode): New method from Classpath.
12215 * java/awt/Graphics2D.java: Updated copyright.
12216 * java/awt/Transparency.java: Updated copyright.
12217 * java/awt/Paint.java: Updated copyright.
12218 * java/awt/Graphics.java: New version from Classpath.
12219 * java/awt/EventDispatchThread.java: Updated copyright.
12220 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12221 children.
12222 (gotoComponent): Wrap around on next/previous.
12223 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12224 * gnu/gcj/awt/Buffers.java: Removed.
12225 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12226 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12227 * gnu/java/awt/BitMaskExtent.java: Added.
12228 * gnu/java/awt/Buffers.java: Added.
12229 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12230 * gnu/java/awt/GLightweightPeer.java: Added.
12231 * java/awt/geom/Line2D.java (clone): Ignore
12232 CloneNotSupportedException.
12233 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12234 * java/awt/Frame.java: Merged with Classpath.
12235 * java/awt/RenderingHints.java: Copyright update.
12236 * java/awt/Paint.java: Copyright update.
12237 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12238 * java/awt/image/ColorModel.java: Merged with Classpath.
12239 * java/awt/Window.java (show): New Implementation from Classpath.
12240 (isShowing): Use super.isShowing().
12241 * java/awt/EventQueue.java: Merged with Classpath.
12242 * java/awt/AWTEventMulticaster.java (save): Throw
12243 RuntimeException.
12244 (saveInternal): Likewise.
12245 * java/awt/AWTEvent.java: Now implements Serializable.
12246 * java/awt/Event.java: Copyright update.
12247 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12248 * java/awt/image/BufferedImage.java: Copyright update.
12249 * java/awt/GraphicsConfiguration.java: Copyright update.
12250 * java/awt/Component.java: (addNotify): Don't call
12251 addNotifyContainerChildren().
12252 (addNotifyContainerChildren): Removed.
12253 (setPeer): New method from Classpath.
12254 (setTreeLock): Likewise.
12255 (setVisible): Rewrote.
12256 (show): Use it.
12257 (hide): Likewise.
12258 (validate): Set `valid'.
12259 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12260 (createImage(ImageProducer)): Likewise.
12261 (prepareImage): Likewise.
12262 * java/awt/Container.java (addImpl): Handle case where constraint
12263 is not a String. Post event via system event queue.
12264 (remove): Post event via system event queue.
12265 (validateTree): Only validate child if it is invalid.
12266 (getAlignmentX): Call super method as default.
12267 (getAlignmentY): Likewise.
12268 (addContainerListener): Now synchronized.
12269 (removeContainerListener): Likewise.
12270 (addNotifyContainerChildren): Now private.
12271 * java/awt/ComponentOrientation.java: Updated copyright. Added
12272 @author.
12273 * java/awt/FlowLayout.java (serialVersionUID): New field.
12274 (setAlignment): Better exception message.
12275 (layoutContainer): Don't compute component's preferred size unless
12276 we're going to use it.
12277 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12278 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12279 (firstLine, lastLine, firstItem, lastItem): New fields.
12280 (addLayoutComponent): Handle case where constraints is null.
12281 Also, handle relative locations.
12282 (removeLayoutComponent): Handle relative locations.
12283 (MIN, MAX, PREF): New constants.
12284 (calcCompSize): New method.
12285 (calcSize): New method.
12286 (minimumLayoutSize): Use it.
12287 (preferredLayoutSize): Likewise.
12288 (maximumLayoutSize): Likewise.
12289 (toString): Include more information.
12290 (setBounds): New method.
12291 (layoutContainer): Use libgcj implementation; extended to handle
12292 relative locations.
12293
12294 2002-01-15 Tom Tromey <tromey@redhat.com>
12295
12296 * java/lang/Float.java (equals): Preserve old code.
12297 * java/lang/Double.java (equals): Preserve old code.
12298
12299 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12300
12301 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12302 * java/lang/Float.java (equals, compare): Ditto.
12303
12304 2002-01-13 Mark Wielaard <mark@klomp.org>
12305
12306 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12307 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12308 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12309 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12310
12311 2002-01-11 Mark Wielaard <mark@klomp.org>
12312
12313 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12314 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12315 InetAddress.
12316 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12317 * java/net/Socket.java: Merge with Classpath.
12318 * java/net/ServerSocket.java: Likewise.
12319
12320 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12321
12322 * interpret.cc (NULLARRAYCHECK): New macro.
12323 (SAVE_PC): Just store `pc'.
12324 (find_exception): Subtract one from `pc' here.
12325 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12326 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12327 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12328 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12329 don't call SAVE_PC.
12330 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12331 call SAVE_PC.
12332
12333 2002-01-11 Tom Tromey <tromey@redhat.com>
12334
12335 * java/lang/natSystem.cc (init_properties): Only look for default
12336 locale if LC_MESSAGES is defined.
12337 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12338 * configure.in: Call AM_LC_MESSAGES.
12339 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12340
12341 2002-01-10 Tom Tromey <tromey@redhat.com>
12342
12343 For PR libgcj/5303:
12344 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12345 --version. Recognize GNU-style long options. Print GNU-style
12346 error messages.
12347 (usage): Print GNU-style help. Exit with status 0.
12348 (error): New method.
12349 (run): Print error message if no class names found.
12350 (main): Don't print usage on error.
12351
12352 2002-01-09 Tom Tromey <tromey@redhat.com>
12353
12354 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12355 property.
12356 (help, version): Use println(), not println("").
12357
12358 For PR libgcj/5303:
12359 * gnu/gcj/convert/Convert.java (error): Program is called
12360 `jv-convert'. Print GNU-style message. Exit with status 1, not
12361 -1.
12362 (main): Handle --help and --version.
12363 (help): New method.
12364 (version): Likewise.
12365
12366 2002-01-08 Tom Tromey <tromey@redhat.com>
12367
12368 * Makefile.in: Rebuilt.
12369 * Makefile.am (ordinary_java_source_files): Added new files.
12370 * gnu/java/locale/LocaleInformation.java: Extend
12371 LocaleInformation_en.
12372 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12373 and time/date formats.
12374 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12375 generated.
12376 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12377 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12378 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12379 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12380 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12381 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12382 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12383 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12384 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12385 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12386 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12387 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12388 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12389 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12390 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12391 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12392 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12393 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12394 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12395 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12396 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12397 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12398 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12399 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12400 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12401 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12402 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12403 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12404 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12405 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12406 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12407 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12408 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12409 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12410 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12411 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12412 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12413 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12414 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12415 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12416 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12417 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12418 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12419 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12420 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12421 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12422 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12423 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12424 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12425 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12426 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12427 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12428 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12429 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12430 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12431 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12432 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12433 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12434 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12435 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12436 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12437 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12438 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12439 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12440 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12441 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12442 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12443 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12444 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12445 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12446 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12447 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12448 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12449 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12450 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12451 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12452 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12453 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12454 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12455 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12456 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12457 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12458 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12459 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12460 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12461 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12462 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12463 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12464 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12465 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12466 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12467 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12468 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12469 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12470 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12471 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12472 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12473 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12474 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12475 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12476 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12477 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12478 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12479 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12480 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12481 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12482 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12483 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12484 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12485 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12486 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12487 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12488 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12489 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12490 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12491 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12492 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12493 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12494 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12495 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12496 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12497 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12498 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12499 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12500 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12501 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12502 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12503 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12504 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12505 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12506
12507 For PR libgcj/5031:
12508 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12509 choose default locale.
12510
12511 * Makefile.in: Rebuilt.
12512 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12513
12514 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12515
12516 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12517 sockets.
12518 (close): New function closes the socket.
12519 (write): New functions for output to socket.
12520 (read): New functions for reading from socket.
12521 * java/net/PlainSocketImpl.java: Glue for new timeout
12522 implementation.
12523 (write): Call the native impl.
12524 (read): Likewise.
12525 (getInputStream): Get a stream to read from the socket.
12526 (getOutputStream): Get a stream to write to the socket.
12527
12528 2002-01-08 Tom Tromey <tromey@redhat.com>
12529
12530 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12531
12532 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12533
12534 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12535 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12536
12537 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12538
12539 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12540 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12541 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12542 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12543 insn_bastore, insn_castore, insn_sastore]: Use it.
12544 (continue1) [insn_arraylength]: Check for null array.
12545
12546 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12547
12548 * configure, include/config.h.in: Rebuilt.
12549 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12550 * configure.in: Call AC_STRUCT_TIMEZONE.
12551
12552 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12553
12554 * configure.host: Disable the interpreter for Darwin.
12555
12556 2002-01-04 Tom Tromey <tromey@redhat.com>
12557
12558 * java/lang/Thread.java (stop): No longer synchronized.
12559 (start): Likewise.
12560
12561 2002-01-02 Tom Tromey <tromey@redhat.com>
12562
12563 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12564 patch.
12565
12566 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12567
12568 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12569 PPC Darwin, not for all of Darwin.