URLClassLoader.java (addURL): Moved implementation to private addURLImpl() to avoid...
[gcc.git] / libjava / ChangeLog
1 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
2
3 * java/net/URLClassLoader.java (addURL): Moved implementation to
4 private addURLImpl() to avoid calling addURL from the constructor.
5 (addURLImpl): Contains the code that was previously in addURL.
6 (addURLs): Call addURLImpl(), not addURL().
7
8 2003-07-18 Graydon Hoare <graydon@redhat.com>
9
10 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
11 Handle missing event cases, connect to "value-changed" signal.
12
13 2003-07-18 Graydon Hoare <graydon@redhat.com>
14
15 * java/awt/geom/CubicCurve2D.java,
16 java/awt/geom/Line2D.java,
17 java/awt/geom/QuadCurve2D.java,
18 java/awt/geom/Rectangle2D.java:
19 Fix path some calculations, make path iterators follow
20 a consistent style.
21
22 2003-07-18 Mark Wielaard <mark@klomp.org>
23
24 * java/util/logging/Handler.java (isLoggable): Check record level
25 smaller or equal.
26
27 2003-07-17 Michael Koch <konqueror@gmx.de>
28
29 * gnu/java/awt/peer/gtk/GtkToolkit.java:
30 Reworked imports.
31
32 2003-07-14 Michael Koch <konqueror@gmx.de>
33
34 * gnu/java/rmi/server/UnicastServerRef.java:
35 New version from classpath.
36
37 2003-07-14 Michael Koch <konqueror@gmx.de>
38
39 * java/awt/image/MemoryImageSource.java,
40 java/beans/PropertyEditorManager.java,
41 javax/naming/CompoundName.java,
42 javax/naming/spi/NamingManager.java,
43 javax/swing/AbstractButton.java,
44 javax/swing/ButtonModel.java,
45 javax/swing/SwingUtilities.java,
46 javax/swing/UIManager.java,
47 javax/swing/colorchooser/DefaultColorSelectionModel.java,
48 javax/swing/event/AncestorEvent.java,
49 javax/swing/event/InternalFrameEvent.java,
50 java/util/zip/ZipFile.java:
51 New versions from classpath.
52
53 2003-07-13 Michael Koch <konqueror@gmx.de>
54
55 * gnu/java/nio/FileChannelImpl.java,
56 gnu/java/nio/natFileChannelImpl.cc: Removed.
57 * java/io/FileInputStream.java,
58 java/io/FileOutputStream.java,
59 java/io/RandomAccessFile.java,
60 java/nio/MappedByteBufferImpl.java:
61 Import java.nio.channels.FileChannelImpl instead of
62 gnu.java.nio.FileChannelImpl.
63 * java/nio/channels/FileChannelImpl.java,
64 java/nio/channels/natFileChannelImpl.cc:
65 New files.
66 * Makefile.am
67 (ordinary_java_source_files):
68 Removed gnu/java/nio/FileChannelImpl.java and added
69 java/nio/channels/FileChannelImpl.java.
70 (nat source_files):
71 Removed gnu/java/nio/natFileChannelImpl.cc and added
72 java/nio/channels/natFileChannelImpl.cc.
73 * Makefile.in: Regenerated.
74
75 2003-07-13 Michael Koch <konqueror@gmx.de>
76
77 * javax/swing/plaf/basic/BasicBorders.java,
78 javax/swing/plaf/basic/BasicLabelUI.java,
79 javax/swing/plaf/basic/BasicLookAndFeel.java,
80 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
81 javax/swing/plaf/basic/BasicTextUI.java,
82 javax/swing/plaf/metal/MetalLookAndFeel.java:
83 New versions from classpath.
84
85 2003-07-13 Michael Koch <konqueror@gmx.de>
86
87 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
88 * gnu/java/awt/peer/gtk/GdkGraphics.java
89 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
90 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
91 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
92 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
93 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
94 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
95 * gnu/java/awt/peer/gtk/GtkClipboard.java
96 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
97 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
98 * gnu/java/awt/peer/gtk/GtkFramePeer.java
99 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
100 * gnu/java/awt/peer/gtk/GtkImage.java
101 * gnu/java/awt/peer/gtk/GtkImagePainter.java
102 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
103 * gnu/java/awt/peer/gtk/GtkListPeer.java
104 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
105 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
106 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
107 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
108 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
109 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
110 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
111 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
112 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
113 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
114 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
115 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
116
117 2003-07-13 Michael Koch <konqueror@gmx.de>
118
119 * gnu/java/locale/LocaleInformation_de.java
120 * gnu/java/locale/LocaleInformation_en.java
121 * gnu/java/locale/LocaleInformation_nl.java
122
123 2003-07-13 Michael Koch <konqueror@gmx.de>
124
125 * gnu/java/awt/EmbeddedWindow.java,
126 gnu/java/awt/EmbeddedWindowSupport.java,
127 gnu/java/awt/natEmbeddedWindow.cc:
128 New files.
129 * java/awt/Window.java
130 (Window): New constructor to support embedded windows.
131 * Makefile.am
132 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
133 gnu/java/awt/EmbeddedWindowSupport.java.
134 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
135 * Makefile.in: Regenerated.
136
137 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
138
139 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
140 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
141 * java/awt/im/InputContext.java: Remove a redundant
142 partial line.
143
144 2003-07-09 Tom Tromey <tromey@redhat.com>
145
146 * Makefile.in: Rebuilt.
147 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
148
149 2003-07-09 Mark Wielaard <mark@klomp.org>
150
151 * java/io/ObjectOutputStream.java (writeObject): break after
152 calling writeClassDescriptor().
153
154 2003-07-09 Mark Mitchell <mark@codesourcery.com>
155
156 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
157
158 2003-07-09 Michael Koch <konqueror@gmx.de>
159
160 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
161 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
162 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
163 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
164 Explicitly import used classes.
165 * java/awt/Container.java: New version from classpath.
166
167 2003-07-09 Michael Koch <konqueror@gmx.de>
168
169 * libgcj.pc.in: New file.
170 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
171 * Makefile.in: Regenerated.
172 * configure: Regenrated.
173 * configure.in: Create libgcj.pc from libgcj.pc.in.
174
175 2003-07-08 Mark Wielaard <mark@klomp.org>
176
177 * gcj/cni.h: CNI now expands to Compiled Native Interface.
178
179 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
180 * java/lang/fdlibm.h: Likewise.
181
182 2003-07-07 Adam Megacz <adam@xwt.org>
183
184 * posix.cc: added #include<stdio.h>
185
186 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
187
188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
189 formatting.
190
191 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
192 (setCaretPosition, setEditable): Rely entirely on native
193 implementation.
194 (getArgs): Remove.
195 (postTextEvent): New method.
196 (handleEvent): New method.
197 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
198 method.
199 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
201 (keysym_to_awt_keycode): Fix range checks.
202 (generates_key_typed_event): New function.
203 (awt_event_handler): Post AWT_KEY_RELEASED events to event
204 queue.
205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
206 (gtkInit): Store TextComponent's postTextEvent method ID.
207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
208 (setText): Post TEXT_VALUE_CHANGED event to event queue.
209
210 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
211
212 * configure.in: Check for usleep declaration.
213 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
214 * configure: Regenerate.
215 * include/config.h.in: Likewise.
216 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
217
218 2003-07-01 Michael Koch <konqueror@gmx.de>
219
220 * gnu/gcj/convert/natIconv.cc
221 (iconv_init): Fixed possible memory leak by releasing allocated iconv
222 handle.
223
224 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
225
226 * glib-2.0.m4: New file.
227 * gtk-2.0.m4: New file.
228 * glib.m4: Remove.
229 * gtk.m4: Remove.
230 * configure.in: Update AM_PATH_GTK macro call to
231 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
233 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
234 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
235 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
236 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
237 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
238 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
239 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
240 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
241 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
242 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
243 jni/gtk-peer/gthread-jni.c,
244 jni/gtk-peer/gthread-jni.h:
245 New versions from classpath.
246 * aclocal.m4: Regenerate.
247 * configure: Regenerate.
248 * Makefile.in: Regenerate.
249 * gcj/Makefile.in: Regenerate.
250 * include/Makefile.in: Regenerate.
251 * testsuite/Makefile.in: Regenerate.
252
253 2003-06-30 Gary Benson <gbenson@redhat.com>
254
255 For PR libgcj/11349:
256 * javax/naming/spi/NamingManager.java (getURLContext): Use
257 correct name for factory class.
258
259 2003-06-28 Michael Koch <konqueror@gmx.de>
260
261 * java/io/PrintStream.java
262 (checkError): Call flush() instead of direct flushing of the Writer
263 object.
264 (print): Call print(String) instead of direct print method of the
265 Writer Object.
266 (println): Call println(String) instead of direct println method of the
267 Writer Object.
268 (write): Simplified.
269
270 2003-06-28 Michael Koch <konqueror@gmx.de>
271
272 * java/net/ServerSocket.java
273 (setChannel): New method.
274 * java/net/Socket.java
275 (setChannel): New method.
276
277 2003-06-27 Michael Koch <konqueror@gmx.de>
278
279 * java/beans/beancontext/BeanContextSupport.java:
280 New version from classpath.
281
282 2003-06-27 Michael Koch <konqueror@gmx.de>
283
284 * java/awt/Window.java,
285 java/awt/font/GraphicAttribute.java,
286 java/awt/font/ImageGraphicAttribute.java,
287 java/awt/image/DataBufferByte.java,
288 java/awt/image/DataBufferInt.java,
289 java/awt/image/DataBufferUShort.java,
290 java/awt/image/DirectColorModel.java,
291 java/awt/image/PixelGrabber.java:
292 New versions from classpath.
293
294 2003-06-27 Michael Koch <konqueror@gmx.de>
295
296 * java/security/Certificate.java
297 (getGuarantor): Removed wrong @deprecated tag.
298 (getPrincipal): Likewise.
299 (getPublicKey): Likewise.
300 (encode): Likewise.
301 (decode): Likewise.
302 (getFormat): Likewise.
303 (toString): Likewise.
304 * java/security/cert/PolicyQualifierInfo.java
305 (PolicyQualifierInfo): Made final.
306 * javax/security/auth/x500/X500Principal.java
307 (serialVersionUID): New member variable.
308
309 2003-06-27 Michael Koch <konqueror@gmx.de>
310
311 * java/text/Format.java
312 (serialVersionUID): Fixed value.
313
314 2003-06-27 Michael Koch <konqueror@gmx.de>
315
316 * java/net/Inet4Address.java
317 (Inet4Address): Made package-private.
318 * java/net/Inet6Address.java
319 (Inet4Address): Made package-private.
320
321 2003-06-27 Michael Koch <konqueror@gmx.de>
322
323 * java/io/RandomAccessFile.java
324 (readLine): Removed wrong @deprecated tag.
325 (getChannel): Made final.
326
327 2003-06-27 Michael Koch <konqueror@gmx.de>
328
329 * gnu/java/nio/FileChannelImpl.java
330 (write): Removed.
331
332 2003-06-27 Michael Koch <konqueror@gmx.de>
333
334 * java/nio/ByteBufferImpl.java
335 (ByteBufferImpl): Made it a package-private class
336 * java/nio/CharBufferImpl.java
337 (CharBufferImpl): Made it a package-private class
338 * java/nio/DirectByteBufferImpl.java
339 (DirectByteBufferImpl): Made it a package-private class
340 * java/nio/DoubleBufferImpl.java
341 (DoubleBufferImpl): Made it a package-private class
342 * java/nio/FloatBufferImpl.java
343 (FloatBufferImpl): Made it a package-private class
344 * java/nio/IntBufferImpl.java
345 (IntBufferImpl): Made it a package-private class
346 * java/nio/LongBufferImpl.java
347 (LongBufferImpl): Made it a package-private class
348 * java/nio/ShortBufferImpl.java
349 (ShortBufferImpl): Made it a package-private class
350 * java/nio/channels/FileChannel.java
351 (write): Made final.
352 * java/nio/channels/ServerSocketChannel.java
353 (ServerSocketChanne): Made protected.
354
355 2003-06-27 Michael Koch <konqueror@gmx.de>
356
357 * javax/naming/CompositeName.java
358 (serialVersionUID): New member variable.
359 * javax/naming/CompoundName.java
360 (serialVersionUID): New member variable.
361 * javax/naming/InitialContext.java
362 (InitialContext): Throws NamingException.
363 (init): Likewise.
364 * javax/naming/LinkRef.java
365 (serialVersionUID): New member variable.
366 (gteLinkName): Throws NamingException.
367 * javax/naming/NamingException.java
368 (serialVersionUID): New member variable.
369 * javax/naming/NamingSecurityException.java
370 (NamingSecurityException): Made abstract.
371 (serialVersionUID): New member variable.
372 * javax/naming/ReferralException.java
373 (serialVersionUID): New member variable.
374 * javax/naming/StringRefAddr.java
375 (serialVersionUID): New member variable.
376 * javax/naming/directory/BasicAttribute.java:
377 Reworked imports.
378 (serialVersionUID): New member variable.
379 (get): Throws NamingException.
380 (getAll): Throws NamingException.
381 * javax/naming/directory/BasicAttributes.java:
382 Reworked imports.
383 (serialVersionUID): New member variable.
384 * javax/naming/ldap/UnsolicitedNotificationEvent.java
385 (serialVersionUID): New member variable.
386
387 2003-06-27 Michael Koch <konqueror@gmx.de>
388
389 * Makefile.am
390 (awt_java_source_files): Added new files:
391 javax/swing/Popup.java,
392 javax/swing/PopupFactory.java
393 * Makefile.in: Regenerated.
394
395 2003-06-27 Michael Koch <konqueror@gmx.de>
396
397 * javax/swing/JWindow.java,
398 javax/swing/event/AncestorEvent.java,
399 javax/swing/event/HyperlinkEvent.java,
400 javax/swing/event/InternalFrameEvent.java,
401 javax/swing/event/ListDataEvent.java,
402 javax/swing/event/TableModelEvent.java,
403 javax/swing/plaf/PopupMenuUI.java,
404 javax/swing/plaf/SplitPaneUI.java,
405 javax/swing/plaf/TabbedPaneUI.java,
406 javax/swing/plaf/TextUI.java,
407 javax/swing/plaf/TreeUI.java,
408 javax/swing/plaf/basic/BasicTextUI.java,
409 javax/swing/plaf/basic/BasicTreeUI.java:
410 New versions from classpath.
411 * javax/swing/Popup.java,
412 javax/swing/PopupFactory.jav:
413 New source files from classpath.
414 * javax/swing/plaf/doc-files/TreeUI-1.png:
415 New binary files from classpath.
416
417 2003-06-25 Michael Koch <konqueror@gmx.de>
418
419 * Makefile.am
420 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
421 * Makefile.in: Regenerated.
422
423 2003-06-25 Michael Koch <konqueror@gmx.de>
424
425 * javax/swing/plaf/ActionMapUIResource.java,
426 javax/swing/plaf/BorderUIResource.java,
427 javax/swing/plaf/ButtonUI.java,
428 javax/swing/plaf/ColorChooserUI.java,
429 javax/swing/plaf/ColorUIResource.java,
430 javax/swing/plaf/ComboBoxUI.java,
431 javax/swing/plaf/ComponentInputMapUIResource.java,
432 javax/swing/plaf/ComponentUI.java,
433 javax/swing/plaf/DesktopIconUI.java,
434 javax/swing/plaf/DesktopPaneUI.java,
435 javax/swing/plaf/DimensionUIResource.java,
436 javax/swing/plaf/FileChooserUI.java,
437 javax/swing/plaf/FontUIResource.java,
438 javax/swing/plaf/IconUIResource.java,
439 javax/swing/plaf/InputMapUIResource.java,
440 javax/swing/plaf/InsetsUIResource.java,
441 javax/swing/plaf/InternalFrameUI.java,
442 javax/swing/plaf/LabelUI.java,
443 javax/swing/plaf/ListUI.java,
444 javax/swing/plaf/MenuBarUI.java,
445 javax/swing/plaf/MenuItemUI.java,
446 javax/swing/plaf/OptionPaneUI.java,
447 javax/swing/plaf/PanelUI.java,
448 javax/swing/plaf/ProgressBarUI.java,
449 javax/swing/plaf/RootPaneUI.java,
450 javax/swing/plaf/ScrollBarUI.java,
451 javax/swing/plaf/ScrollPaneUI.java,
452 javax/swing/plaf/SeparatorUI.java,
453 javax/swing/plaf/SliderUI.java,
454 javax/swing/plaf/TableHeaderUI.java,
455 javax/swing/plaf/TableUI.java,
456 javax/swing/plaf/ToolBarUI.java,
457 javax/swing/plaf/ToolTipUI.java,
458 javax/swing/plaf/ViewportUI.java:
459 New versions from classpath.
460 * javax/swing/plaf/SpinnerUI.java:
461 New file from classpath
462
463 2003-06-25 Michael Koch <konqueror@gmx.de>
464
465 * java/awt/image/ColorModel.java:
466 New version from classpath.
467
468 2003-06-25 Michael Koch <konqueror@gmx.de>
469
470 * java/net/PlainDatagramSocketImpl.java:
471 Partly merged with classpath, this mainly adds documentation.
472
473 2003-06-25 Michael Koch <konqueror@gmx.de>
474
475 * java/io/ObjectInputStream.java
476 (readClassDescriptor): New method.
477 (readObject): Moved functionality to readClassDescriptor().
478 * java/io/ObjectOutputStream.java
479 (writeClassDescriptor): New method.
480 (writeObject): Moved functionality to writeClassDescriptor().
481
482 2003-06-25 Michael Koch <konqueror@gmx.de>
483
484 * javax/swing/plaf/basic/BasicListUI.java,
485 javax/swing/plaf/basic/BasicOptionPaneUI.java:
486 Added missing methods.
487
488 2003-06-25 Michael Koch <konqueror@gmx.de>
489
490 * javax/swing/event/AncestorEvent.java
491 javax/swing/event/HyperlinkEvent.java
492 javax/swing/event/InternalFrameEvent.java
493 javax/swing/event/ListDataEvent.java
494 javax/swing/event/TableModelEvent.java:
495 Compile fixes.
496
497 2003-06-24 Michael Koch <konqueror@gmx.de>
498
499 * java/net/URL.java:
500 Renamed "handler" to "ph" in the whole file to match classpaths
501 version.
502 * java/net/URLStreamHandler.java:
503 (equals): Renamed "handler" to "ph".
504
505 2003-06-24 Michael Koch <konqueror@gmx.de>
506
507 * javax/swing/event/AncestorEvent.java,
508 javax/swing/event/HyperlinkEvent.java,
509 javax/swing/event/InternalFrameEvent.java,
510 javax/swing/event/ListDataEvent.java,
511 javax/swing/event/TableModelEvent.java,
512 javax/swing/event/TreeWillExpandListener.java,
513 javax/swing/plaf/ComponentUI.java,
514 javax/swing/plaf/DesktopIconUI.java,
515 javax/swing/plaf/DesktopPaneUI.java,
516 javax/swing/plaf/DimensionUIResource.java,
517 javax/swing/plaf/FileChooserUI.java,
518 javax/swing/plaf/FontUIResource.java,
519 javax/swing/plaf/IconUIResource.java,
520 javax/swing/plaf/InputMapUIResource.java,
521 javax/swing/plaf/InsetsUIResource.java,
522 javax/swing/plaf/InternalFrameUI.java,
523 javax/swing/plaf/LabelUI.java,
524 javax/swing/plaf/ListUI.java,
525 javax/swing/plaf/MenuBarUI.java,
526 javax/swing/plaf/MenuItemUI.java,
527 javax/swing/plaf/OptionPaneUI.java,
528 javax/swing/plaf/PanelUI.java,
529 javax/swing/plaf/ProgressBarUI.java,
530 javax/swing/plaf/doc-files/ComponentUI-1.dia,
531 javax/swing/plaf/doc-files/ComponentUI-1.png:
532 New versions from classpath.
533
534 2003-06-24 Michael Koch <konqueror@gmx.de>
535
536 * java/nio/Buffer.java
537 (cap): Made package-private.
538 (pos): Likewise.
539 (limit): Likewise.
540 (mark): Likewise.
541
542 2003-06-24 Michael Koch <konqueror@gmx.de>
543
544 * java/net/SocketImpl.java
545 (shutdownInput): Made it non-abstract method throwing an exception
546 like in SUNs JRE.
547 (shutdownOutput): Likewise.
548 * java/net/SocketInputStream.java,
549 java/net/SocketOutputStream.java:
550 New files from classpath.
551
552 2003-06-24 Michael Koch <konqueror@gmx.de>
553
554 * java/awt/Font.java,
555 java/awt/Window.java,
556 java/awt/color/ColorSpace.java,
557 java/awt/datatransfer/StringSelection.java,
558 java/awt/image/ColorModel.java:
559 New versions from classpath.
560
561 2003-06-24 Michael Koch <konqueror@gmx.de>
562
563 * Makefile.am
564 (awt_java_source_files): Added new files:
565 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
566 javax/swing/plaf/basic/BasicSplitPaneUI.java
567 * Makefile.in: Regenerated.
568
569 2003-06-24 Michael Koch <konqueror@gmx.de>
570
571 * javax/swing/text/JTextComponent.java:
572 New version from classpath.
573
574 2003-06-24 Michael Koch <konqueror@gmx.de>
575
576 * javax/swing/Timer.java,
577 javax/swing/plaf/ActionMapUIResource.java,
578 javax/swing/plaf/ButtonUI.java,
579 javax/swing/plaf/ColorChooserUI.java,
580 javax/swing/plaf/ColorUIResource.java,
581 javax/swing/plaf/ComboBoxUI.java,
582 javax/swing/plaf/ComponentInputMapUIResource.java,
583 javax/swing/plaf/basic/BasicBorders.java:
584 New versions from classpath.
585 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
586 javax/swing/plaf/basic/BasicSplitPaneUI.java:
587 New file from classpath.
588 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
589 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
590 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
591 javax/swing/plaf/doc-files/ComponentUI-1.dia,
592 javax/swing/plaf/doc-files/ComponentUI-1.png:
593 New binary files from classpath.
594
595 2003-06-24 Michael Koch <konqueror@gmx.de>
596
597 * java/io/LineNumberReader.java
598 (skip): Dont do line number accounting here as this is already done in
599 read(), simplified.
600
601 2003-06-21 Michael Koch <konqueror@gmx.de>
602
603 * java/io/File.java
604 (static): Load javaio lib if existing (only in classpath).
605 (File): Revised documentation to show the correct argument name.
606 (createTempFile): Partly merged with classpath.
607 (compareTo): Simplified.
608 (lastModified): Throw exception if time < 0.
609 (deleteOnExit): Revised documentation.
610
611 2003-06-21 Michael Koch <konqueror@gmx.de>
612
613 * java/net/PlainSocketImpl.java:
614 Reformatted.
615 (PlainSocketImpl): Merged class documentaion with classpath.
616 (in): Moved.
617 (out): Moved.
618 (PlainSocketImpl): New empty constructor.
619 (finalize): Moved.
620 (setOption): Merged documentation from classpath.
621 (getOption): Likewise.
622 (create): Likewise.
623 (connect): Likewise.
624 (bind): Likewise.
625 (listen): Likewise.
626 (accept): Likewise.
627 (available): Likewise.
628 (close): Likewise.
629 (read): Likewise.
630 (write): Likewise.
631 (getInputStream): Made synchronozed to get sure that only one stream
632 object can be created for this socket, merged documentation from
633 classpath.
634 (getOutputStream): Likewise.
635
636 2003-06-21 Michael Koch <konqueror@gmx.de>
637
638 * java/net/PlainSocketImpl.java:
639 Reformatting.
640 (static): New implicit method.
641 (read): Made package private.
642 (write): Likewise.
643
644 2003-06-21 Michael Koch <konqueror@gmx.de>
645
646 * java/util/SimpleTimeZone.java:
647 Removed unneeded import, reformatting.
648
649 2003-06-21 Michael Koch <konqueror@gmx.de>
650
651 * java/text/DateFormat.java,
652 java/text/SimpleDateFormat.java,
653 java/util/Locale.java:
654 New versions from classpath.
655
656 2003-06-21 Michael Koch <konqueror@gmx.de>
657
658 * javax/swing/SpinnerModel.java:
659 New file from classpath.
660 * javax/swing/border/LineBorder.java,
661 javax/swing/border/SoftBevelBorder.java,
662 javax/swing/plaf/BorderUIResource.java,
663 javax/swing/plaf/basic/BasicBorders.java:
664 New versions from classpath.
665 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
666 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
667 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
668 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
669 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
670 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
671 New binary files from classpath.
672
673 2003-06-21 Michael Koch <konqueror@gmx.de>
674
675 * java/util/logging/LogRecord.java,
676 java/util/logging/Logger.java,
677 java/util/logging/SocketHandler.java,
678 java/util/logging/SimpleFormatter.java,
679 java/util/logging/Formatter.java,
680 java/util/logging/ErrorManager.java,
681 java/util/logging/Handler.java,
682 java/util/logging/FileHandler.java,
683 java/util/logging/LogManager.java,
684 java/util/logging/Level.java,
685 java/util/logging/ConsoleHandler.java,
686 java/util/logging/StreamHandler.java,
687 java/util/logging/LoggingPermission.java,
688 java/util/logging/Filter.java,
689 java/util/logging/MemoryHandler.java,
690 java/util/logging/XMLFormatter.java:
691 New files from classpath.
692
693 2003-06-20 Michael Koch <konqueror@gmx.de>
694
695 * java/io/ObjectStreamField.java
696 (unshared): new member variable.
697 (ObjectStreamField): New constructor.
698 (isUnshared): New method.
699
700 2003-06-20 Michael Koch <konqueror@gmx.de>
701
702 * java/net/URLStreamHandler.java
703 (hostsEqual): Rewritten.
704
705 2003-06-20 Michael Koch <konqueror@gmx.de>
706
707 * gnu/java/nio/MappedByteFileBuffer.java,
708 gnu/java/nio/natMappedByteFileBuffer.cc:
709 Removed
710 * java/nio/MappedByteBufferImpl.java:
711 New file.
712 * gnu/java/nio/FileChannelImpl.java:
713 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
714 * Makefile.am
715 (ordinary_java_source_files): Removed
716 gnu/java/nio/MappedByteFileBuffer.java and added
717 java/nio/MappedByteBufferImpl.java.
718 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
719 * Makefile.in: Regenerated.
720
721 2003-06-19 Michael Koch <konqueror@gmx.de>
722
723 * gnu/java/nio/DatagramChannelImpl.java
724 (fd): Removed.
725 (blocking): New member variable.
726 (socket): Likewise.
727 (DatagramChannelImpl): Throws IOException, initialize socket.
728 (socket):Implemented.
729 (implCloseSelectableChannel): Throws IOException, implemented.
730 (implConfigureBlocking): Likewise.
731 (connect): Likewise.
732 (disconnect): Likewise.
733 (isConnected): Likewise.
734 (write): Likewise.
735 (read): Likewise.
736 (receive): Throws IOException.
737 (send): Likewise.
738 * gnu/java/nio/SocketChannelImpl.java
739 (read): Implemented.
740 (write): Implemented.
741
742 2003-06-19 Michael Koch <konqueror@gmx.de>
743
744 * javax/swing/JComponent.java,
745 javax/swing/JInternalFrame.java,
746 javax/swing/MenuSelectionManager.java,
747 javax/swing/SwingUtilities.java,
748 javax/swing/ToggleButtonModel.java:
749 New versions from classpath.
750
751 2003-06-19 Michael Koch <konqueror@gmx.de>
752
753 * java/text/CollationElementIterator.java
754 (NULLORDER): Initialize with -1 as JDK documentation says.
755
756 2003-06-19 Michael Koch <konqueror@gmx.de>
757
758 * java/net/HttpURLConnection.java,
759 java/net/Inet4Address.java,
760 java/net/Inet6Address.java,
761 java/net/SocketImpl.java,
762 java/net/URLClassLoader.java:
763 Reworked import statements.
764 * java/net/InetAddress.java
765 (getByAddress): Simplified.
766 * java/net/ServerSocket.java
767 (ServerSocket): Moved special handling during bind operation to
768 bind().
769 (bind): Handle different cases when trying to bind a socket.
770 * java/net/URLConnection.java
771 (getHeaderFieldDate): Merged with classpath.
772 (getHeaderFieldInt): Likewise.
773
774 2003-06-19 Michael Koch <konqueror@gmx.de>
775
776 * java/util/zip/InflaterInputStream.java
777 (InflaterInputStream): Throw NullPointerException if in is null (as
778 JDK does).
779
780 2003-06-19 Michael Koch <konqueror@gmx.de>
781
782 * java/awt/Font.java
783 javax/swing/UIManager.java
784 javax/swing/border/AbstractBorder.java
785 javax/swing/border/BevelBorder.java
786 javax/swing/border/Border.java
787 javax/swing/border/CompoundBorder.java
788 javax/swing/border/EmptyBorder.java
789 javax/swing/border/EtchedBorder.java
790 javax/swing/border/LineBorder.java
791 javax/swing/border/MatteBorder.java
792 javax/swing/border/TitledBorder.java
793 javax/swing/plaf/BorderUIResource.java
794 javax/swing/plaf/basic/BasicBorders.java
795 javax/swing/plaf/basic/BasicButtonUI.java
796 javax/swing/plaf/basic/BasicCheckBoxUI.java
797 javax/swing/plaf/basic/BasicGraphicsUtils.java
798 javax/swing/plaf/basic/BasicLabelUI.java
799 javax/swing/plaf/basic/BasicRadioButtonUI.java
800 javax/swing/plaf/basic/BasicToggleButtonUI.java:
801 New versions from classpath.
802 * javax/swing/border/SoftBevelBorder.java:
803 New file from classpath.
804 * javax/swing/border/doc-files/LineBorder-1.png,
805 javax/swing/border/doc-files/BevelBorder-1.png,
806 javax/swing/border/doc-files/BevelBorder-2.png,
807 javax/swing/border/doc-files/BevelBorder-3.png,
808 javax/swing/border/doc-files/EmptyBorder-1.png,
809 javax/swing/border/doc-files/EtchedBorder-1.png,
810 javax/swing/border/doc-files/EtchedBorder-2.png,
811 javax/swing/border/doc-files/MatteBorder-1.png,
812 javax/swing/border/doc-files/MatteBorder-2.png,
813 javax/swing/border/doc-files/MatteBorder-3.png,
814 javax/swing/border/doc-files/MatteBorder-4.png,
815 javax/swing/border/doc-files/MatteBorder-5.png,
816 javax/swing/border/doc-files/MatteBorder-6.png,
817 javax/swing/border/doc-files/SoftBevelBorder-1.png,
818 javax/swing/border/doc-files/SoftBevelBorder-2.png,
819 javax/swing/border/doc-files/SoftBevelBorder-3.png,
820 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
821 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
822 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
823 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
824 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
825 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
826 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
827 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
828 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
829 New binary files from classpath.
830 * Makefile.am
831 (awt_java_source_files): Added
832 javax/swing/border/SoftBevelBorder.java.
833 * Makefile.in: Regenerated.
834
835 2003-06-19 Michael Koch <konqueror@gmx.de>
836
837 * gnu/java/security/x509/X509Certificate.java
838 (writeReplace): Merged from classpath.
839
840 2003-06-19 Michael Koch <konqueror@gmx.de>
841
842 * gnu/java/nio/FileChannelImpl.java
843 (map_address): Made public.
844 (FileChannelImpl): Merged with classpath.
845 * gnu/java/nio/natFileChannelImpl.cc
846 (nio_mmap_file): Commented out unused arguments.
847 (nio_unmmap_file): Likewise.
848 (niu_msync): Likewise.
849
850 2003-06-19 Michael Koch <konqueror@gmx.de>
851
852 * java/awt/image/IndexColorModel.java:
853 New version from classpath.
854
855 2003-06-18 Tom Tromey <tromey@redhat.com>
856
857 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
858 on arrays.
859 (isLoopbackAddress): Likewise.
860 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
861 on arrays.
862
863 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
864
865 * java/lang/natVMSecurityManager.cc (getClassContext):
866 Use maxlen instead of len for loop bound.
867
868 2003-06-18 Michael Koch <konqueror@gmx.de>
869
870 * gnu/java/nio/SelectorImpl.java
871 (register): Use fd with value 0 for now, will be fixed later.
872 * gnu/java/nio/ServerSocketChannelImpl.java
873 (fd): Removed.
874 (local_port): Removed.
875 (InetSocketAddress): Removed.
876 (ServerSocketChannelImpl): Just initialize internal socket object.
877 (implCloseSelectableChannel): Close internal socket object.
878 (implConfigureBlocking): Added comment.
879 (accept): Use jaba.net stuff to accept socket.
880 * gnu/java/nio/SocketChannelImpl.java
881 (fd): Removed.
882 (local_port): Removed.
883 (InetSocketAddress): Removed.
884 (SocketCreate): Removed.
885 (SocketConnect): Removed.
886 (SocketBind): Removed.
887 (SocketListen): Removed.
888 (SocketAvailable): Removed.
889 (SocketClose): Removed.
890 (SocketRead): Removed.
891 (SocketWrite): Removed.
892 (SocketChannelImpl): Just initialize internal socket object.
893 (implCloseSelectableChannel): Close internal socket object.
894 (implConfigureBlocking): Fixed implementation, added comment.
895 (connect): Use internal socket object to connect.
896 (socket): No need for sanity checks.
897 (read): Comment out some stuff, this will be reimplemented in the next
898 commit.
899 (write): Likewise.
900 * gnu/java/nio/natFileChannelImpl.cc
901 (nio_mmap_file): Line wrapped.
902 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
903 * Makefile.am
904 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
905 * Makefile.in: Regenerated.
906
907 2003-06-18 Michael Koch <konqueror@gmx.de>
908
909 * java/util/Locale.java
910 (equals): Merged from classpath.
911
912 2003-06-18 Michael Koch <konqueror@gmx.de>
913
914 * java/net/InetAddress.java:
915 Reformatted to better match classpath's version.
916 * java/net/URL.java
917 (equals): Simplified.
918 * java/net/URLConnection.java
919 (setDoInput): Revised documentation.
920 (getDefaultUseCaches): Likewise.
921 (setRequestProperty): Added @since tag.
922
923 2003-06-17 Michael Koch <konqueror@gmx.de>
924
925 * java/net/InetSocketAddress.java
926 (InetSocketAddress): Use wildcard address if addr is null.
927 (InetSocketAddress): Dont duplicate implementation.
928 (InetSocketAddress): Throw exception when hostname is null.
929 * java/net/Socket.java:
930 Reworked imports.
931 (Socket): Throw exception when raddr is null, handle case when laddr
932 is null.
933
934 2003-06-17 Michael Koch <konqueror@gmx.de>
935
936 * java/nio/DirectByteBufferImpl.java
937 (address): Made package private.
938 (DirectByteBufferImpl): New constructor.
939 * java/nio/natDirectByteBufferImpl.cc
940 (allocateImpl): Moved to java.nio namespace, implemented.
941 (freeImpl): Likewise.
942 (getImpl): Likewise.
943 (putImpl): Likewise.
944 * jni.cc
945 (_Jv_JNI_NewDirectByteBuffer): Implemented.
946 (_Jv_JNI_GetDirectBufferAddress): Implemented.
947 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
948
949 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
950
951 * include/powerpc-signal.h: New File.
952 * configure.in: Use it.
953 * configure: Regenerated.
954
955 2003-06-17 Michael Koch <konqueror@gmx.de>
956
957 * java/util/Locale.java
958 (getDisplayLanguage): Made it final.
959 (getDisplayCountry): Likewise.
960 (getDisplayVariant): Likewise.
961 (getDisplayName): Likewise.
962
963 2003-06-17 Michael Koch <konqueror@gmx.de>
964
965 * java/util/PropertyResourceBundle.java:
966 Removed unneeded import.
967
968 2003-06-17 Michael Koch <konqueror@gmx.de>
969
970 * java/util/prefs/AbstractPreferences.java,
971 java/util/prefs/PreferencesFactory.java:
972 Reworked imports, removed unused imports.
973 * java/util/prefs/Preferences.java
974 (systemNodeForPackage): Method takes a Class not an Object.
975 (userNodeForPackage): Likewise.
976 (nodeForPackage): Likewise.
977
978 2003-06-17 Michael Koch <konqueror@gmx.de>
979
980 * gnu/java/security/x509/X509Certificate.java:
981 Explicitely import used classes.
982
983 2003-06-17 Michael Koch <konqueror@gmx.de>
984
985 * java/util/zip/ZipEntry.java,
986 java/util/zip/ZipFile.java,
987 java/util/zip/ZipInputStream.java,
988 java/util/zip/ZipOutputStream.java:
989 Reworked imports, only import used classes.
990
991 2003-06-17 Michael Koch <konqueror@gmx.de>
992
993 * gnu/java/lang/ArrayHelper.java,
994 gnu/java/lang/ClassHelper.java:
995 Reformatted to match classpath's versions.
996
997 2003-06-14 Michael Koch <konqueror@gmx.de>
998
999 * gnu/java/nio/FileChannelImpl.java
1000 (map_address): Removed incorrect comment.
1001 * gnu/java/nio/SelectorImpl.java
1002 (register): Remove code duplication and code for file channel handling.
1003 * gnu/java/nio/ServerSocketChannelImpl.java
1004 (serverSocket): Renamed from sock_object.
1005 (ServerSocketChannel): Initialize serverSocket.
1006 (socket): Return serverSocket.
1007 * gnu/java/nio/SocketChannelImpl.java
1008 (socket): Renamed from sock_object.
1009 (isConnectionPenging): Simplified.
1010 (socket): Return socket.
1011 2003-06-14 Michael Koch <konqueror@gmx.de>
1012
1013 * java/security/BasicPermission.java:
1014 New version from classpath.
1015
1016 2003-06-14 Michael Koch <konqueror@gmx.de>
1017
1018 * javax/naming/directory/Attribute.java:
1019 New version from classpath.
1020
1021 2003-06-14 Michael Koch <konqueror@gmx.de>
1022
1023 * java/io/BufferedReader.java,
1024 java/io/FileOutputStream.java:
1025 New versions from classpath.
1026
1027 2003-06-12 Andrew Haley <aph@redhat.com>
1028
1029 * prims.cc (catch_segv): Create exception in handler.
1030 (catch_fpe): Likewise.
1031 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1032 (_Jv_ThrowSignal): Remove.
1033
1034 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1035 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1036 to nullp and arithexception.
1037 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1038 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1039 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1040 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1041 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1042
1043 2003-06-11 Andrew Haley <aph@redhat.com>
1044
1045 * jni.cc (_Jv_JNI_check_types): New.
1046 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1047 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1048 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1049 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1050
1051 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1052 infinite loop.
1053
1054 2003-06-11 Tom Tromey <tromey@redhat.com>
1055
1056 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1057 * java/io/PrintStream.java: Not deprecated.
1058
1059 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1060
1061 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1062 (fillOval): implemented
1063 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1064 (fillArc): implemented.
1065 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1066 (fillArc): added native method.
1067 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1068 (fillArc): added native method.
1069
1070 2003-06-11 Michael Koch <konqueror@gmx.de>
1071
1072 * java/awt/im/InputSubset.java:
1073 New version from classpath.
1074
1075 2003-06-11 Michael Koch <konqueror@gmx.de>
1076
1077 * javax/swing/AbstractAction.java,
1078 javax/swing/AbstractButton.java,
1079 javax/swing/AbstractCellEditor.java,
1080 javax/swing/AbstractListModel.java,
1081 javax/swing/BorderFactory.java,
1082 javax/swing/Box.java,
1083 javax/swing/BoxLayout.java,
1084 javax/swing/ButtonGroup.java,
1085 javax/swing/DefaultButtonModel.java,
1086 javax/swing/DefaultListModel.java,
1087 javax/swing/DefaultListSelectionModel.java,
1088 javax/swing/FocusManager.java,
1089 javax/swing/ImageIcon.java,
1090 javax/swing/InputMap.java,
1091 javax/swing/JApplet.java,
1092 javax/swing/JButton.java,
1093 javax/swing/JCheckBox.java,
1094 javax/swing/JCheckBoxMenuItem.java,
1095 javax/swing/JColorChooser.java,
1096 javax/swing/JComboBox.java,
1097 javax/swing/JComponent.java,
1098 javax/swing/JDesktopPane.java,
1099 javax/swing/JDialog.java,
1100 javax/swing/JEditorPane.java,
1101 javax/swing/JFileChooser.java,
1102 javax/swing/JFormattedTextField.java,
1103 javax/swing/JFrame.java,
1104 javax/swing/JLabel.java,
1105 javax/swing/JLayeredPane.java,
1106 javax/swing/JList.java,
1107 javax/swing/JMenuBar.java,
1108 javax/swing/JMenuItem.java,
1109 javax/swing/JOptionPane.java,
1110 javax/swing/JPanel.java,
1111 javax/swing/JPasswordField.java,
1112 javax/swing/JPopupMenu.java,
1113 javax/swing/JProgressBar.java,
1114 javax/swing/JRadioButton.java,
1115 javax/swing/JRadioButtonMenuItem.java,
1116 javax/swing/JRootPane.java,
1117 javax/swing/JScrollBar.java,
1118 javax/swing/JScrollPane.java,
1119 javax/swing/JSeparator.java,
1120 javax/swing/JSlider.java,
1121 javax/swing/JTabbedPane.java,
1122 javax/swing/JTable.java,
1123 javax/swing/JTextField.java,
1124 javax/swing/JToggleButton.java,
1125 javax/swing/JToolBar.java,
1126 javax/swing/JToolTip.java,
1127 javax/swing/JTree.java,
1128 javax/swing/JViewport.java,
1129 javax/swing/JWindow.java,
1130 javax/swing/KeyStroke.java,
1131 javax/swing/ListSelectionModel.java,
1132 javax/swing/LookAndFeel.java,
1133 javax/swing/RepaintManager.java,
1134 javax/swing/ScrollPaneLayout.java,
1135 javax/swing/SizeRequirements.java,
1136 javax/swing/SwingConstants.java,
1137 javax/swing/Timer.java,
1138 javax/swing/UIDefaults.java,
1139 javax/swing/UIManager.java,
1140 javax/swing/border/AbstractBorder.java,
1141 javax/swing/border/CompoundBorder.java,
1142 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1143 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1144 javax/swing/colorchooser/ColorSelectionModel.java,
1145 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1146 javax/swing/event/AncestorEvent.java,
1147 javax/swing/event/HyperlinkEvent.java,
1148 javax/swing/event/InternalFrameAdapter.java,
1149 javax/swing/event/InternalFrameEvent.java,
1150 javax/swing/event/ListDataEvent.java,
1151 javax/swing/event/MouseInputAdapter.java,
1152 javax/swing/event/SwingPropertyChangeSupport.java,
1153 javax/swing/event/TableModelEvent.java,
1154 javax/swing/event/TreeWillExpandListener.java,
1155 javax/swing/event/UndoableEditEvent.java,
1156 javax/swing/filechooser/FileFilter.java,
1157 javax/swing/filechooser/FileSystemView.java,
1158 javax/swing/filechooser/FileView.java,
1159 javax/swing/plaf/BorderUIResource.java,
1160 javax/swing/plaf/basic/BasicDefaults.java,
1161 javax/swing/table/AbstractTableModel.java,
1162 javax/swing/table/DefaultTableCellRenderer.java,
1163 javax/swing/table/DefaultTableColumnModel.java,
1164 javax/swing/table/DefaultTableModel.java,
1165 javax/swing/table/TableColumn.java,
1166 javax/swing/text/JTextComponent.java,
1167 javax/swing/tree/AbstractLayoutCache.java,
1168 javax/swing/tree/DefaultMutableTreeNode.java,
1169 javax/swing/tree/DefaultTreeCellEditor.java,
1170 javax/swing/tree/DefaultTreeCellRenderer.java,
1171 javax/swing/tree/DefaultTreeModel.java,
1172 javax/swing/tree/DefaultTreeSelectionModel.java,
1173 javax/swing/tree/FixedHeightLayoutCache.java,
1174 javax/swing/tree/TreeCellEditor.java,
1175 javax/swing/tree/TreeModel.java,
1176 javax/swing/tree/TreeNode.java,
1177 javax/swing/tree/TreePath.java,
1178 javax/swing/tree/TreeSelectionModel.java,
1179 javax/swing/tree/VariableHeightLayoutCache.java,
1180 javax/swing/undo/AbstractUndoableEdit.java,
1181 javax/swing/undo/CompoundEdit.java,
1182 javax/swing/undo/StateEdit.java,
1183 javax/swing/undo/UndoManager.java,
1184 javax/swing/undo/UndoableEditSupport.java:
1185 New versions from classpath.
1186 * javax/swing/table/JTableHeader.java:
1187 New file from classpath.
1188 * Makefile.am
1189 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1190 * Makefile.in: Regenerated.
1191
1192 2003-06-11 Michael Koch <konqueror@gmx.de>
1193
1194 * java/nio/MappedByteBuffer.java,
1195 java/nio/channels/Channels.java,
1196 java/nio/channels/ServerSocketChannel.java,
1197 java/nio/channels/spi/AbstractSelector.java:
1198 Removed unneeded imports.
1199
1200 2003-06-11 Michael Koch <konqueror@gmx.de>
1201
1202 * java/net/DatagramSocket.java:
1203 Partly merged with classpath.
1204
1205 2003-06-11 Michael Koch <konqueror@gmx.de>
1206
1207 * java/awt/Frame.java,
1208 java/awt/Graphics.java,
1209 java/awt/Menu.java,
1210 java/awt/Robot.java,
1211 java/awt/image/ColorModel.java:
1212 New versions from classpath.
1213
1214 2003-06-10 Michael Koch <konqueror@gmx.de>
1215
1216 * java/io/PrintStream.java:
1217 Merged version from classpath.
1218 (close): Removed sychronized keyword. This class is not garantied to
1219 be thread-safe.
1220 (write): Likewise.
1221
1222 2003-06-09 Tom Tromey <tromey@redhat.com>
1223
1224 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1225 field.
1226 (getDescent): Likewise, for "descent".
1227
1228 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1229
1230 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1231 (getMaxDescent): adjusted return value.
1232 (getAscent): modified to use metrics for 'O'.
1233 (getDescent): modified to use metrics for 'y'.
1234
1235 2003-06-08 Anthony Green <green@redhat.com>
1236
1237 * java/net/URLStreamHandler.java (sameFile): Fix port value
1238 comparison.
1239 * java/net/URL.java (handler): Make package private.
1240 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1241
1242 2003-06-07 Tom Tromey <tromey@redhat.com>
1243
1244 For PR libgcj/11085:
1245 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1246 Limit number of characters in numeric field when required.
1247 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1248 Respect maximumIntegerDigits.
1249
1250 2003-06-08 Michael Koch <konqueror@gmx.de>
1251
1252 * java/net/Socket.java
1253 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1254 call bind() and connect() to actually do the bind and connect tasks.
1255 (bind): Connect to canonical address if bindpoint is null, create
1256 socket and bind it to bindpoint.
1257 (connect): Check for exceptions.
1258
1259 2003-06-08 Michael Koch <konqueror@gmx.de>
1260
1261 * java/net/DatagramSocket.java
1262 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1263 into the Multicast constructors.
1264 * java/net/DatagramSocketImpl.java
1265 (getOption): Removed.
1266 (setOption): Removed.
1267 * java/net/MulticastSocket.java
1268 (MulticastSocket): Call setReuseAddress (true).
1269 * java/net/SocketImpl.java
1270 (getOption): Removed.
1271 (setOption): Removed.
1272
1273 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1274
1275 PR libgcj/10886:
1276 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1277 Test for empty vector.
1278
1279 2003-06-06 Mark Wielaard <mark@klomp.org>
1280
1281 * java/security/Security.java (secprops): Initialize.
1282 (loadProviders): Return boolean.
1283 (static): Check result of loadProvider calls. If necessary
1284 display WARNING and fallback to Gnu provider.
1285
1286 2002-06-06 James Clark <jjc@jclark.com>
1287
1288 Fix for PR libgcj/8738:
1289 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1290 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1291 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1292 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1293 (write): Always decrease avail when count is increased.
1294 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1295 and whether output buffer is full before increasing size.
1296
1297 2002-06-06 Mark Wielaard <mark@klomp dot org>
1298
1299 * java/io/PrintStream.java (writeChars(char[],int, int)):
1300 Check converter.havePendingBytes().
1301 (writeChars(String,int,int)): Likewise.
1302 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1303 Check converter.havePendingBytes() and flush buffer when stalled.
1304
1305 2003-06-07 Michael Koch <konqueror@gmx.de>
1306
1307 * include/posix.h
1308 (O_DSYNC): Define O_DSYNC on platforms not
1309 supporting O_FSYNC (newlib).
1310
1311 2003-06-06 Mark Wielaard <mark@klomp.org>
1312
1313 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1314 AWTError.
1315
1316 2003-06-06 Michael Koch <konqueror@gmx.de>
1317
1318 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1319 More compile fixes from my stupid work yesterday.
1320
1321 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1322
1323 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1324 if _IEEE_LIBM is undefined.
1325
1326 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1327
1328 * libjava/include/posix.h (O_SYNC): Define if not available
1329 and a reasonable, perhaps more conservative, replacement exists.
1330 (O_DSYNC): Likewise.
1331 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1332
1333 2003-06-05 Michael Koch <konqueror@gmx.de>
1334
1335 * javax/swing/plaf/BorderUIResource.java,
1336 javax/swing/plaf/basic/BasicDefaults.java,
1337 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1338 More compile fixes for latest Border commit. I should not commit
1339 something in this heat here ...
1340
1341 2003-06-05 Michael Koch <konqueror@gmx.de>
1342
1343 * javax/swing/border/BevelBorder.java
1344 (BevelBorder): Removed.
1345 * javax/swing/border/EmptyBorder.java:
1346 Reformatted.
1347 (EmptyBorder): Removed.
1348 (getBorderInsets): Dont use l, r, t and b.
1349 * javax/swing/border/EtchedBorder.java
1350 (EtchedBorder): Removed.
1351 * javax/swing/border/LineBorder.java
1352 (LineBorder): Removed.
1353 * javax/swing/border/MatteBorder.java
1354 (MatteBorder): Removed.
1355 * javax/swing/border/TitledBorder.java
1356 (defaultBorder): Use other default for now.
1357 (defaultFont): Likewise.
1358 (defaultColor): Likewise.
1359
1360 2003-06-05 Michael Koch <konqueror@gmx.de>
1361
1362 * javax/swing/border/Border.java:
1363 New version from classpath.
1364
1365 2003-06-05 Michael Koch <konqueror@gmx.de>
1366
1367 * javax/swing/border/AbstractBorder.java,
1368 javax/swing/border/BevelBorder.java,
1369 javax/swing/border/CompoundBorder.java,
1370 javax/swing/border/EmptyBorder.java,
1371 javax/swing/border/EtchedBorder.java,
1372 javax/swing/border/LineBorder.java,
1373 javax/swing/border/MatteBorder.java,
1374 javax/swing/border/TitledBorder.java:
1375 New versions from Classpath.
1376
1377 2003-06-05 Michael Koch <konqueror@gmx.de>
1378
1379 * java/awt/Button.java,
1380 java/awt/Checkbox.java,
1381 java/awt/CheckboxMenuItem.java,
1382 java/awt/Choice.java,
1383 java/awt/Container.java,
1384 java/awt/Dialog.java,
1385 java/awt/EventQueue.java,
1386 java/awt/FileDialog.java,
1387 java/awt/Frame.java,
1388 java/awt/Label.java,
1389 java/awt/List.java,
1390 java/awt/Menu.java,
1391 java/awt/MenuItem.java,
1392 java/awt/Panel.java,
1393 java/awt/PopupMenu.java,
1394 java/awt/Rectangle.java,
1395 java/awt/ScrollPane.java,
1396 java/awt/Scrollbar.java,
1397 java/awt/TextArea.java,
1398 java/awt/TextField.java,
1399 java/awt/Window.java,
1400 java/awt/datatransfer/DataFlavor.java,
1401 java/awt/dnd/DragSource.java,
1402 java/awt/dnd/DragSourceContext.java,
1403 java/awt/event/HierarchyEvent.java,
1404 java/awt/event/MouseWheelEvent.java,
1405 java/awt/im/InputContext.java,
1406 java/awt/image/BufferedImage.java,
1407 java/awt/image/ComponentColorModel.java,
1408 java/awt/image/Raster.java,
1409 java/awt/image/WritableRaster.java,
1410 java/awt/peer/ComponentPeer.java,
1411 java/awt/print/PageFormat.java,
1412 java/awt/print/PrinterJob.java:
1413 New versions from Classpath.
1414
1415 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1416
1417 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1418 numberFormat.setParseIntegerOnly(true).
1419
1420 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1421
1422 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1423
1424 2003-06-03 Andrew Haley <aph@redhat.com>
1425
1426 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1427 stack volatile to prevent optimization from removing it.
1428
1429 2003-05-27 Michael Koch <konqueror@gmx.de>
1430
1431 * java/util/zip/Deflater.java
1432 (FILTERED): Merged documentation from classpath.
1433 * java/util/zip/DeflaterOutputStream.java
1434 (DeflaterOutputStream): Merged documentation and argument validity
1435 check from classpath.
1436 (deflate): Merged documentation from classpath.
1437 (finish): Likewise.
1438 * java/util/zip/Inflater.java
1439 (Inflater): Merged class documentation from classpath.
1440 (zstream): Reordered.
1441 (is_finished): Reordered.
1442 (dict_needed): Reordered.
1443 (Inflater): Reordered, merged documentation from classpath.
1444 (end): Likewise.
1445 (finalize): Merged documentation from classpath.
1446 (finished): Likewise.
1447 (getAdler): Likewise.
1448 (getRemaining): Likewise.
1449 (getTotalIn): Likewise.
1450 (getTotalOut): Likewise.
1451 (inflate): Likewise.
1452 (needsDictionary): Likewise.
1453 (needsInput): Likewise.
1454 (reset): Likewise.
1455 (setDictionary): Likewise.
1456 (setInput): Likewise.
1457
1458 2003-05-27 Michael Koch <konqueror@gmx.de>
1459
1460 * java/net/URLConnection.java
1461 (getHeaderFieldInt): Merged with classpath.
1462
1463 2003-05-27 Michael Koch <konqueror@gmx.de>
1464
1465 * java/io/PrintStream.java
1466 (PrintStream): Reformatted.
1467 (PrintStream): New method, merged from classpath.
1468 (write): Reformatted.
1469
1470 2003-05-27 Michael Koch <konqueror@gmx.de>
1471
1472 * java/lang/System.java:
1473 Explicitely import needed classes.
1474
1475 2003-05-26 Michael Koch <konqueror@gmx.de>
1476
1477 * java/net/NetPermission.java,
1478 java/net/NetworkInterface.java,
1479 java/net/PasswordAuthentication.java,
1480 java/net/SocketPermission.java:
1481 New versions from classpath.
1482
1483 2003-05-25 Michael Koch <konqueror@gmx.de>
1484
1485 * java/io/PushbackInputStream.java,
1486 java/net/Authenticator.java,
1487 java/net/ContentHandler.java,
1488 java/net/ContentHandlerFactory.java,
1489 java/net/DatagramSocket.java,
1490 java/net/DatagramSocketImpl.java,
1491 java/net/DatagramSocketImplFactory.java,
1492 java/net/FileNameMap.java,
1493 java/net/SocketImplFactory.java,
1494 java/net/SocketOptions.java,
1495 java/net/URLStreamHandlerFactory.java:
1496 Merged new versions from classpath.
1497
1498 2003-05-25 Michael Koch <konqueror@gmx.de>
1499
1500 * java/awt/Checkbox.java,
1501 java/awt/Dialog.java,
1502 java/awt/Font.java,
1503 java/awt/Frame.java,
1504 java/awt/ScrollPaneAdjustable.java,
1505 java/awt/Scrollbar.java,
1506 java/awt/Window.java:
1507 New versions from classpath.
1508
1509 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1510
1511 PR libgcj/10838:
1512 * java/io/ObjectInputStream (enableResolveObject):
1513 Fixed spelling of permission name.
1514
1515 2003-05-20 Michael Koch <konqueror@gmx.de>
1516
1517 * java/io/DataInputStream.java
1518 (convertFromUTF): Merged comment from classpath.
1519 * java/io/PrintStream.java
1520 (error_occured): Renamed from error, merged comment from classpath.
1521 (PrintStream): No need to initialized error.
1522 (checkError): Replace error with error_occurred.
1523 (setError): Likewise.
1524
1525 2003-05-20 Michael Koch <konqueror@gmx.de>
1526
1527 * java/io/DataInputStream.java:
1528 Reformatted, Replaced < and & with html entitites in documentation.
1529 * java/io/File.java:
1530 Reformatted.
1531 * java/io/PrintWriter.java:
1532 Moved class documentation.
1533
1534 2003-05-20 Michael Koch <konqueror@gmx.de>
1535
1536 * gnu/java/nio/ByteBufferImpl.java,
1537 gnu/java/nio/CharBufferImpl.java,
1538 gnu/java/nio/CharViewBufferImpl.java,
1539 gnu/java/nio/DirectByteBufferImpl.java,
1540 gnu/java/nio/DoubleBufferImpl.java,
1541 gnu/java/nio/DoubleViewBufferImpl.java,
1542 gnu/java/nio/FloatBufferImpl.java,
1543 gnu/java/nio/FloatViewBufferImpl.java,
1544 gnu/java/nio/IntBufferImpl.java,
1545 gnu/java/nio/IntViewBufferImpl.java,
1546 gnu/java/nio/LongBufferImpl.java,
1547 gnu/java/nio/LongViewBufferImpl.java,
1548 gnu/java/nio/natDirectByteBufferImpl.cc,
1549 gnu/java/nio/ShortBufferImpl.java,
1550 gnu/java/nio/ShortViewBufferImpl.java:
1551 Moved files to java/nio.
1552 * gnu/java/nio/SocketChannelImpl.java
1553
1554 * java/nio/ByteBuffer.java,
1555 java/nio/CharBuffer.java,
1556 java/nio/DoubleBuffer.java,
1557 java/nio/FloatBuffer.java,
1558 java/nio/IntBuffer.java,
1559 java/nio/LongBuffer.java,
1560 java/nio/ShortBuffer.java:
1561 Dont import anything.
1562 * java/nio/ByteBufferImpl.java,
1563 java/nio/CharBufferImpl.java,
1564 java/nio/CharViewBufferImpl.java,
1565 java/nio/DirectByteBufferImpl.java,
1566 java/nio/DoubleBufferImpl.java,
1567 java/nio/DoubleViewBufferImpl.java,
1568 java/nio/FloatBufferImpl.java,
1569 java/nio/FloatViewBufferImpl.java,
1570 java/nio/IntBufferImpl.java,
1571 java/nio/IntViewBufferImpl.java,
1572 java/nio/LongBufferImpl.java,
1573 java/nio/LongViewBufferImpl.java,
1574 java/nio/natDirectByteBufferImpl.cc,
1575 java/nio/ShortBufferImpl.java,
1576 java/nio/ShortViewBufferImpl.java:
1577 Moved from gnu/java/nio.
1578 * Makefile.am
1579 (ordinary_java_source_files): Moved files from gnu/java/nio to
1580 java/nio.
1581 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1582 to java/nio.
1583 * Makefile.in: Regenerated.
1584
1585 2003-05-19 Michael Koch <konqueror@gmx.de>
1586
1587 * java/util/Calendar.java
1588 (get): Not final anymore since JDK 1.4
1589 (set): Likewise.
1590
1591 2003-05-19 Michael Koch <konqueror@gmx.de>
1592
1593 * java/text/CollationKey.java:
1594 Merged copyright and dat from classpath.
1595 * java/text/RuleBasedCollator.java:
1596 Merged class documentation from classpath.
1597
1598 2003-05-19 Michael Koch <konqueror@gmx.de>
1599
1600 * java/nio/CharBuffer.java
1601 (toString): Compile fix.
1602
1603 2003-05-19 Michael Koch <konqueror@gmx.de>
1604
1605 * gnu/java/nio/ByteBufferImpl.java
1606 (putLong): Fixed conversion to bytes.
1607 (putDouble): Fixed conversion to bytes.
1608 * gnu/java/nio/DirectByteBufferImpl.java
1609 (putLong): Fixed conversion to bytes.
1610 (putDouble): Fixed conversion to bytes.
1611 * gnu/java/nio/FileLockImpl.java
1612 (isValid): Reformatted.
1613 * java/nio/Buffer.java
1614 (Buffer): Fixed off-by-one bug in handling mark.
1615 * java/nio/ByteBuffer.java:
1616 Added newline.
1617 * java/nio/CharBuffer.java
1618 (toString): Don't use relative get to get string data.
1619
1620 2003-05-16 Michael Koch <konqueror@gmx.de>
1621
1622 * java/io/natFileDescriptorPosix.cc
1623 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1624 tested.
1625
1626 2003-05-14 Michael Koch <konqueror@gmx.de>
1627
1628 * gnu/java/nio/FileLockImpl.java
1629 (released): New member variable.
1630 (FileLockImpl): Initialize released.
1631 (releaseImpl): New native method.
1632 (release): Implemented.
1633 * gnu/java/nio/SelectorImpl.java: Reformatted.
1634 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1635 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1636 (accept): Throws IOException.
1637 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1638 (implConfigureBlocking): Throws IOException.
1639 (connect): Likewise.
1640 (read): Likewise.
1641 (write): Likewise.
1642 * gnu/java/nio/natFileLockImpl.cc: New file.
1643 * java/nio/channels/FileLock.java: Reformatted.
1644 * Makefile.am:
1645 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1646 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1647 * Makefile.in: Regenerated.
1648
1649 2003-05-13 Michael Koch <konqueror@gmx.de>
1650
1651 * gnu/java/nio/CharViewBufferImpl.java
1652 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1653 (get): Shift bits to the right direction.
1654 (put): Likewise.
1655 * gnu/java/nio/DoubleViewBufferImpl.java
1656 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1657 (get): Shift bits to the right direction.
1658 (put): Likewise.
1659 * gnu/java/nio/FloatViewBufferImpl.java
1660 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1661 (get): Shift bits to the right direction.
1662 (put): Likewise.
1663 * gnu/java/nio/IntViewBufferImpl.java
1664 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1665 (get): Shift bits to the right direction.
1666 (put): Likewise.
1667 * gnu/java/nio/LongViewBufferImpl.java
1668 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1669 (get): Shift bits to the right direction.
1670 (put): Likewise.
1671 * gnu/java/nio/ShortViewBufferImpl.java
1672 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1673 (get): Shift bits to the right direction.
1674 (put): Likewise.
1675
1676 2003-05-13 Michael Koch <konqueror@gmx.de>
1677
1678 * gnu/java/nio/natDirectByteBufferImpl.cc
1679 (allocateImpl): jlong -> RawData*.
1680 (freeImpl): Likewise.
1681
1682 2003-05-13 Michael Koch <konqueror@gmx.de>
1683
1684 * java/nio/channels/FileChannel.java
1685 (MapMode.m): Made it package-private to match JDK 1.4.
1686 * java/nio/charset/Charset.java
1687 (decode): Made it final to match JDK 1.4.
1688
1689 2003-05-13 Michael Koch <konqueror@gmx.de>
1690
1691 * java/io/FileDescriptor.java
1692 (SYNC): New constant.
1693 (DSYNC): Likewise.
1694 (getLength): Renamed from lenght() to match classpath's
1695 FileDescriptor.java.
1696 * java/io/RandomAccessFile.java
1697 (RandomAccessFile): Removed unneeded mode check, implemented mode
1698 "rws" and "rwd", merged documentation from classpath.
1699 (setLength): Reformatted.
1700 (length): Use new getLength() of FileDescriptor.
1701 * java/io/natFileDescriptorEcos.cc
1702 (getLength): Renamed from length().
1703 * java/io/natFileDescriptorPosix.cc
1704 (open): Implemented support for SYNC and DSYNC.
1705 (seek): Use getLength() instead of length().
1706 (getLength): Renamed from length().
1707 * java/io/natFileDescriptorWin32.cc
1708 (getLength): Renamed from length().
1709 (seek): Use getLength() instead of length().
1710 (available): Likewise.
1711 * gnu/java/nio/natFileChannelImpl.cc
1712 (size): Use getLength() instead of length().
1713
1714 2003-05-13 Michael Koch <konqueror@gmx.de>
1715
1716 * gnu/java/nio/ByteBufferImpl.java
1717 (ByteBufferImpl): All constructors revised.
1718 (slice): Reimplemented.
1719 (duplicate): Reimplemented.
1720 (asReadOnlyBuffer): Reimplemented.
1721 * java/nio/ByteBuffer.java:
1722 Reformatted.
1723 (array_offset): Renamed from "offset" to match all other buffer
1724 classes.
1725 (ByteBuffer): All constructors revised.
1726 (allocateDirect): Implemented.
1727 (allocate): New implementation, documentation reworked.
1728 (wrap): Likewise.
1729 (get): Documentation reworked.
1730 (put): New implementation, documentation reworked.
1731 (hasArray): Documentation reworked.
1732 (arrayOffset): Likewise.
1733 (hashCode): Likewise.
1734 (equals): Likewise.
1735 (compareTo): Likewise.
1736 (order): Likewise.
1737 (compact): Likewise.
1738 (isDirect): Likewise.
1739 (slice): Likewise.
1740 (duplicate): Likewise.
1741 (asReadOnlyBuffer): Likewise.
1742 * Makefile.am
1743 (ordinary_java_source_files):
1744 Added gnu/java/nio/DirectByteBufferImpl.java.
1745 (nat_source_files):
1746 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1747 * Makefile.in: Regenerated.
1748
1749 2003-05-12 Michael Koch <konqueror@gmx.de>
1750
1751 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1752 (nio_get_*): Removed.
1753 (nio_put_*): Removed.
1754 (as*Buffer): Implemented.
1755 (compact): Implemented.
1756 (get): Documentation added.
1757 (put): Documentation added.
1758 (get*): Newly implemented.
1759 (put*): Newly implemented.
1760 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1761 (CharBufferImpl): Revised.
1762 (slice): New implementation.
1763 (duplicate): New implementation.
1764 (compact): New implementation.
1765 (asReadOnlyBuffer): New implementation.
1766 (get): Documentation revised.
1767 (order): Return native byte order.
1768 * gnu/java/nio/DirectByteBufferImpl.java
1769 (allocateDirect): objects can be null not 0.
1770 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1771 (DoubleBufferImpl): Revised.
1772 (slice): New implementation.
1773 (duplicate): New implementation.
1774 (compact): New implementation.
1775 (asReadOnlyBuffer): New implementation.
1776 (get): Documentation revised.
1777 (order): Return native byte order.
1778 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1779 (FloatBufferImpl): Revised.
1780 (slice): New implementation.
1781 (duplicate): New implementation.
1782 (compact): New implementation.
1783 (asReadOnlyBuffer): New implementation.
1784 (get): Documentation revised.
1785 (order): Return native byte order.
1786 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1787 (IntBufferImpl): Revised.
1788 (slice): New implementation.
1789 (duplicate): New implementation.
1790 (compact): New implementation.
1791 (asReadOnlyBuffer): New implementation.
1792 (get): Documentation revised.
1793 (order): Return native byte order.
1794 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1795 (LongBufferImpl): Revised.
1796 (slice): New implementation.
1797 (duplicate): New implementation.
1798 (compact): New implementation.
1799 (asReadOnlyBuffer): New implementation.
1800 (get): Documentation revised.
1801 (order): Return native byte order.
1802 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1803 (ShortBufferImpl): Revised.
1804 (slice): New implementation.
1805 (duplicate): New implementation.
1806 (compact): New implementation.
1807 (asReadOnlyBuffer): New implementation.
1808 (get): Documentation revised.
1809 (order): Return native byte order.
1810 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1811 (CharBuffer): Revised.
1812 (order): Removed.
1813 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1814 (DoubleBuffer): Revised.
1815 (allocateDirect): Removed.
1816 (order): Removed.
1817 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1818 (FloatBuffer): Revised.
1819 (allocateDirect): Removed.
1820 (order): Removed.
1821 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1822 (IntBuffer): Revised.
1823 (allocateDirect): Removed.
1824 (order): Removed.
1825 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1826 (LongBuffer): Revised.
1827 (allocateDirect): Removed.
1828 (order): Removed.
1829 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1830 (ShortBuffer): Revised.
1831 (allocateDirect): Removed.
1832 (order): Removed.
1833 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1834 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1835 * Makefile.am
1836 (ordinary_java_source_files): Added the following files:
1837 gnu/java/nio/CharViewBufferImpl.java,
1838 gnu/java/nio/DoubleViewBufferImpl.java,
1839 gnu/java/nio/FloatViewBufferImpl.java,
1840 gnu/java/nio/IntViewBufferImpl.java,
1841 gnu/java/nio/LongViewBufferImpl.java,
1842 gnu/java/nio/ShortViewBufferImpl.java
1843 (nat_source_files): Removed the following files:
1844 gnu/java/nio/natByteBufferImpl.cc,
1845 gnu/java/nio/natCharBufferImpl.cc
1846 * Makefile.in: Regenerated.
1847
1848 2003-05-12 Michael Koch <konqueror@gmx.de>
1849
1850 * gnu/java/nio/CharViewBufferImpl.java,
1851 gnu/java/nio/DirectByteBufferImpl.java,
1852 gnu/java/nio/DoubleViewBufferImpl.java,
1853 gnu/java/nio/FloatViewBufferImpl.java,
1854 gnu/java/nio/IntViewBufferImpl.java,
1855 gnu/java/nio/LongViewBufferImpl.java,
1856 gnu/java/nio/ShortViewBufferImpl.java,
1857 gnu/java/nio/natDirectByteBufferImpl.cc:
1858 New files, not yet to be compiled.
1859
1860 2003-05-10 Michael Koch <konqueror@gmx.de>
1861
1862 * javax/swing/plaf/ButtonUI.java,
1863 javax/swing/plaf/ColorUIResource.java,
1864 javax/swing/plaf/ComponentUI.java,
1865 javax/swing/plaf/DimensionUIResource.java,
1866 javax/swing/plaf/FontUIResource.java,
1867 javax/swing/plaf/IconUIResource.java,
1868 javax/swing/plaf/InsetsUIResource.java,
1869 javax/swing/plaf/LabelUI.java,
1870 javax/swing/plaf/ListUI.java,
1871 javax/swing/plaf/OptionPaneUI.java,
1872 javax/swing/plaf/PanelUI.java,
1873 javax/swing/plaf/TabbedPaneUI.java,
1874 javax/swing/plaf/TextUI.java,
1875 javax/swing/plaf/TreeUI.java,
1876 javax/swing/plaf/ViewportUI.java,
1877 javax/swing/plaf/basic/BasicBorders.java,
1878 javax/swing/plaf/basic/BasicButtonUI.java,
1879 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1880 javax/swing/plaf/basic/BasicDefaults.java,
1881 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1882 javax/swing/plaf/basic/BasicIconFactory.java,
1883 javax/swing/plaf/basic/BasicLabelUI.java,
1884 javax/swing/plaf/basic/BasicListUI.java,
1885 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1886 javax/swing/plaf/basic/BasicPanelUI.java,
1887 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1888 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1889 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1890 javax/swing/plaf/basic/BasicTextUI.java,
1891 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1892 javax/swing/plaf/basic/BasicTreeUI.java,
1893 javax/swing/plaf/basic/BasicViewportUI.java,
1894 javax/swing/plaf/metal/MetalLookAndFeel.java:
1895 New versions from classpath. This adds copyrights to all files and
1896 some serialVersionUIDs.
1897
1898 2003-05-10 Michael Koch <konqueror@gmx.de>
1899
1900 * java/nio/CharBuffer.java
1901 (offset): Make it package-private.
1902 (backing_buffer): Likewise.
1903 * java/nio/DoubleBuffer.java
1904 (offset): Make it package-private.
1905 (backing_buffer): Likewise.
1906 (put): Reformatted.
1907 * java/nio/FloatBuffer.java
1908 (offset): Make it package-private.
1909 (backing_buffer): Likewise.
1910 * java/nio/IntBuffer.java
1911 (offset): Make it package-private.
1912 (backing_buffer): Likewise.
1913 * java/nio/LongBuffer.java
1914 (offset): Make it package-private.
1915 (backing_buffer): Likewise.
1916 * java/nio/ShortBuffer.java
1917 (offset): Make it package-private.
1918 (backing_buffer): Likewise.
1919
1920 2003-05-10 Michael Koch <konqueror@gmx.de>
1921
1922 * java/nio/CharBuffer.java
1923 (put): Fixed precondtion check.
1924 (toString): Make it work without backing array.
1925 (put): Skip one level of method calling.
1926
1927 2003-05-10 Michael Koch <konqueror@gmx.de>
1928
1929 * java/security/Identity.java,
1930 java/security/IdentityScope.java,
1931 java/security/Key.java,
1932 java/security/KeyPair.java,
1933 java/security/PrivateKey.java,
1934 java/security/Provider.java,
1935 java/security/PublicKey.java,
1936 java/security/SecureRandom.java,
1937 java/security/SecureRandomSpi.java,
1938 java/security/SignedObject.java,
1939 java/security/Signer.java,
1940 java/security/cert/Certificate.java,
1941 java/security/cert/PKIXCertPathBuilderResult.java,
1942 java/security/cert/X509Certificate.java:
1943 New versions from classpath.
1944
1945 2003-05-09 Tom Tromey <tromey@redhat.com>
1946
1947 * Makefile.in: Rebuilt.
1948 * Makefile.am (nat_source_files): Removed old files.
1949 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1950 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1951 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1952 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1953 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1954
1955 2003-05-09 Michael Koch <konqueror@gmx.de>
1956
1957 * gnu/java/nio/ByteBufferImpl.java
1958 (nio_cast): Removed.
1959 (ByteBufferImpl): Removed.
1960 (nio_get_Byte): Removed.
1961 (nio_put_Byte): Removed.
1962 (asByteBuffer): Removed.
1963 (asCharBuffer): Removed implementation and throw exception.
1964 (asShortBuffer): Likewise.
1965 (asIntBuffer): Likewise.
1966 (asLongBuffer): Likewise.
1967 (asFloatBuffer): Likewise.
1968 (asDoubleBuffer): Likewise.
1969 * gnu/java/nio/CharBufferImpl.java
1970 (CharBufferImpl): Removed.
1971 (nio_get_Byte): Removed.
1972 (nio_put_Byte): Removed.
1973 (asByteBuffer): Removed.
1974 * gnu/java/nio/DoubleBufferImpl.java
1975 (DoubleBufferImpl): Removed.
1976 (nio_get_Byte): Removed.
1977 (nio_put_Byte): Removed.
1978 (asByteBuffer): Removed.
1979 * gnu/java/nio/FloatBufferImpl.java
1980 (FloatBufferImpl): Removed.
1981 (nio_get_Byte): Removed.
1982 (nio_put_Byte): Removed.
1983 (asByteBuffer): Removed.
1984 * gnu/java/nio/IntBufferImpl.java
1985 (IntBufferImpl): Removed.
1986 (nio_get_Byte): Removed.
1987 (nio_put_Byte): Removed.
1988 (asByteBuffer): Removed.
1989 * gnu/java/nio/LongBufferImpl.java
1990 (LongBufferImpl): Removed.
1991 (nio_get_Byte): Removed.
1992 (nio_put_Byte): Removed.
1993 (asByteBuffer): Removed.
1994 * gnu/java/nio/ShortBufferImpl.java
1995 (ShortBufferImpl): Removed.
1996 (nio_get_Byte): Removed.
1997 (nio_put_Byte): Removed.
1998 (asByteBuffer): Removed.
1999 * gnu/java/nio/natByteBufferImpl.cc
2000 (nio_cast): Removed.
2001 (nio_get_Byte): Removed.
2002 (nio_put_Byte): Removed.
2003 * gnu/java/nio/natCharBufferImpl.cc
2004 (nio_get_Byte): Removed.
2005 (nio_put_Byte): Removed.
2006
2007 2003-05-09 Michael Koch <konqueror@gmx.de>
2008
2009 * java/net/JarURLConnection.java
2010 (getJarEntry): Merged documentation from classpath.
2011 (getJarFile): Likewise.
2012 (getMainAttributes): Likewise.
2013 (getAttributes): Likewise.
2014 (getManifest): Likewise.
2015 (getCertificates): Reformatted.
2016 * java/net/URLConnection.java:
2017 Little classpath merge.
2018
2019 2003-05-09 Michael Koch <konqueror@gmx.de>
2020
2021 * java/io/DataOutputStream.java
2022 (writeShort): Made it synchronized.
2023 (writeChar): Likewise.
2024 (writeInt): Likewise.
2025 (writeLong): Liekwise.
2026 (writeUTF): Made it synchronized, renamed argument to match classpath.
2027 * java/io/InputStreamReader.java
2028 (converter): Added documentation.
2029 (read): Merged documentation from classpath.
2030 * java/io/OutputStreamWriter.java
2031 (OutputStreamWriter): Merged documentation from classpath.
2032 (close): Reformatted.
2033 (getEncoding): Likewise.
2034 (flush): Likewise.
2035 (write): Merged documentation from classpath, reformatted.
2036
2037 2003-05-08 Tom Tromey <tromey@redhat.com>
2038
2039 * configure.host <powerpc64*-*>: Set with_libffi_default and
2040 libgcj_interpreter to "yes".
2041
2042 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2043
2044 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2045
2046 2003-05-06 Tom Tromey <tromey@redhat.com>
2047
2048 * verify.cc: Reverted previous patch.
2049
2050 2003-05-06 Michael Koch <konqueror@gmx.de>
2051
2052 * java/io/DataOutputStream.java
2053 (write): Renamed argument to "value", merged documentation from
2054 classpath.
2055 (writeBoolean): Likewise.
2056 (writeByte): Likewise.
2057 (writeShort): Likewise.
2058 (writeChar): Likewise.
2059 (writeInt): Likewise.
2060 (writeLong): Likewise.
2061 (writeFloat): Likewise.
2062 (writeDouble): Likewise.
2063 (writeBytes): Likewise.
2064 (writeChars): Likewise.
2065 (writeUTF): Likewise.
2066 * java/io/File.java
2067 (performDelete): Added documentation.
2068 (performList): Likewise.
2069 (performMkdir): Likewise.
2070 (performSetReadOnly): Likewise.
2071 (performRenameTo): Likewise.
2072 (performSetLastModified): Likewise.
2073 (delete): Made it sychronized.
2074 (renameTo): Made it sychronized.
2075 (equals): Reformatted.
2076 (isHidden): Likewise.
2077 (listFiles): Likewise.
2078 (setReadOnly): Likewise.
2079 (listRoots): Likewise.
2080 (setLastModified): Likewise.
2081 (checkRead): Likewise.
2082 (checkWrite): Likewise.
2083 * java/io/FileInputStream.java
2084 (skip): Made it sychronized, merged from classpath.
2085 * java/io/FileOutputStream.java
2086 (write): Merged from classpath.
2087 * java/io/InputStreamReader.java:
2088 (InputStreamReader): Merged documentation from classpath.
2089
2090 2003-05-05 Michael Koch <konqueror@gmx.de>
2091
2092 * java/net/NetworkInterface.java
2093 (networkInterfaces): Removed.
2094 (getByName): Use getRealNetworkInterfaces() instead of
2095 networkInterfaces.
2096 (getByInetAddress): Likewise.
2097 (getNetworkInterfaces): Likewise.
2098 (toString): Fix output of addresses of an interface.
2099
2100 2003-05-05 Michael Koch <konqueror@gmx.de>
2101
2102 * java/io/DataInputStream.java:
2103 Merged new documentation from classpath.
2104
2105 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2106
2107 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2108 "version".
2109 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2110 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2111 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2112 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2113 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2114 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2115 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2116 * java/security/Key.java: Likewise.
2117 * java/security/PrivateKey.java: Likewise.
2118 * java/security/Provider.java: Likewise.
2119 * java/security/PublicKey.java: Likewise.
2120
2121 2003-05-02 Michael Koch <konqueror@gmx.de>
2122
2123 * java/net/URI.java
2124 (create): Doesnt throws any exceptions.
2125 * java/net/URLConnection.java
2126 (URLConnection): Commend added.
2127 (getExpiration): The header field is called "expires" not
2128 "expiration".
2129 (getHeaderField): Merged documentation with classpath.
2130 (getHeaderFieldInt): Likewise.
2131 (getHeaderFieldDate): Likewise.
2132 (getHeaderFieldKey): Likewise.
2133 (getPermission): Likewise.
2134 (setDefaultUseCaches): Likewise.
2135 (setRequestProperty): Likewise.
2136 (addRequestProperty): Likewise.
2137 (getRequestProperty): Likewise.
2138 (getRequestProperties): Likewise.
2139 (setDefaultRequestProperty): Likewise.
2140 (getDefaultRequestProperty): Likewise.
2141 (guessContentTypeFromStream): Likewise.
2142 (getFileNameMap): Likewise.
2143 (setFileNameMap): Likewise.
2144 (setDoInput): Merged implementation and documentation with classpath.
2145 (setDoOutput): Likewise.
2146 (setAllowUserInteraction): Likewise.
2147 (setDefaultAllowUserInteraction): Likewise.
2148 (setContentHandlerFactory): Made it synchronized, merged documentation
2149 with classpath.
2150 (guessContentTypeFromName): Renamed argument fname to filename to
2151 match classpath, merged documentation with classpath.
2152
2153 2003-05-02 Michael Koch <konqueror@gmx.de>
2154
2155 * java/net/JarURLConnection.java
2156 (JarURLConnection): Class documentation merged with classpath.
2157 (getJarFileURL): Moved and documentation merged with classpath.
2158 (getEntryName): Likewise.
2159 (JarURLConnection): Documentation merged with classpath.
2160 (getJarEntry): Likewise.
2161 (getJarFile): Likewise.
2162 * java/net/PlainDatagramSocketImpl.java:
2163 Class documentation moved.
2164 * java/net/URLConnection.java
2165 (fileNameMap): Moved and documentation merged with classpath.
2166 (factory): Likewise.
2167 (defaultAllowUserInteraction): Likewis.
2168 (defaultUseCaches): Likewise.
2169 (allowUserInteraction): Likewise.
2170 (connected): Likewise.
2171 (url): Likewise.
2172 (connect): Documentation merged with classpath.
2173 (getURL): Likewise.
2174 (getContentLength): Likewise.
2175 (getContentType): Likewise.
2176 (getContentEncoding): Likewise.
2177 (getExpiration): Likewise.
2178 (getDate): Likewise.
2179 (getLastModified): Likewise.
2180 (getHeaderField): Likewise.
2181 (getContent): Likewise.
2182 (getPermission): Likewise.
2183 (getInputStream): Likewise.
2184 (getOutputStream): Likewise.
2185 (toString): Likewise.
2186 (getDoInput): Likewise.
2187 (getDoOutput): Likewise.
2188 (setAllowUserInteraction): Likewise.
2189 (getAllowUserInteraction): Likewise.
2190 (setDefaultAllowUserInteraction): Likewise.
2191 (getDefaultAllowUserInteraction): Likewise.
2192 (setUseCaches): Likewise.
2193 (getUseCaches): Likewise.
2194 (setIfModifiedSince): Likewise.
2195 (getIfModifiedSince): Likewise.
2196 (setDefaultRequestProperty): Likewise.
2197 (getDefaultRequestProperty): Likewise.
2198 (setContentHandlerFactory): Likewise.
2199 (setFileNameMap): Likewise.
2200
2201 2003-05-02 Michael Koch <konqueror@gmx.de>
2202
2203 * java/net/InetAddress.java:
2204 Merged class documentation with classpath.
2205 * java/net/JarURLConnection.java:
2206 Explicitely import all used classes.
2207 * java/net/URL.java:
2208 Reformatting.
2209 * java/net/ServerSocket.java,
2210 java/net/Socket.java:
2211 New versions from classpath.
2212
2213 2003-05-02 Michael Koch <konqueror@gmx.de>
2214
2215 * gnu/java/nio/FileChannelImpl.java
2216 (read): New implementation.
2217 (implRead): New methods.
2218 (write): New implementation, call other write insteal of read method.
2219 (implWrite): New methods.
2220 (map): Added comment.
2221 (transferFrom): Implemented.
2222 (transferTo): Implemented.
2223 (lock): Added checks to throw exceptions.
2224 (truncate): Added check to throw exception.
2225 * gnu/java/nio/natFileChannelImpl.cc
2226 (implRead): New method.
2227 (implWrite): New method.
2228 * java/nio/ByteBuffer.java
2229 (hashCode): Fixed comment.
2230 (get): Fixed exception documentation.
2231 (put): Fixed exception documentation.
2232 * java/nio/CharBuffer.java:
2233 Added comment for later optimizations.
2234
2235 2003-04-30 Tom Tromey <tromey@redhat.com>
2236
2237 PR libgcj/10582:
2238 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2239 Removed.
2240 (type::compatible): Use _Jv_IsAssignableFrom.
2241 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2242 (_Jv_IsAssignableFrom): Work even when source or target class is
2243 not prepared.
2244
2245 2003-04-30 Michael Koch <konqueror@gmx.de>
2246
2247 * java/text/BreakIterator.java
2248 (clone): New method.
2249
2250 2003-04-30 Michael Koch <konqueror@gmx.de>
2251
2252 * java/text/CollationElementIterator.java,
2253 java/text/CollationKey.java,
2254 java/text/RuleBasedCollator.java:
2255 Merged copyright and documentation from classpath and
2256 rearranged some code. No code changes done.
2257
2258 2003-04-30 Michael Koch <konqueror@gmx.de>
2259
2260 * java/util/regex/Matcher.java
2261 (pattern): New member variable.
2262 (appendReplacement): New method.
2263 (appendTail): New method.
2264 (end): New method.
2265 (find): New method.
2266 (group): New method.
2267 (replaceFirst): Added documentation.
2268 (replaceAll): Added documentation.
2269 (groupCount): New method.
2270 (lookingAt): New method.
2271 (matches): New method.
2272 (reset): New method.
2273 (start): New method.
2274 * java/util/regex/Pattern.java
2275 (serialVersionUID): New constant.
2276 (CANON_EQ): New constant.
2277 (CASE_INSENSITIVE): New constant.
2278 (COMMENTS): New constant.
2279 (DOTALL): New constant.
2280 (MULTILINE): New constant.
2281 (UNICODE_CASE): New constant.
2282 (UNIX_LINES): New constant.
2283 (regex): New member variable.
2284 (flags): New member variable.
2285 (Pattern): New method.
2286 (compile): Documentation added.
2287 (flags): New method.
2288 (matches): Documentation added.
2289 (matcher): Documentation added.
2290 (split): Documentation added.
2291 (pattern): New method.
2292
2293 2003-04-30 Michael Koch <konqueror@gmx.de>
2294
2295 * gnu/java/security/Engine.java,
2296 gnu/java/security/OID.java,
2297 gnu/java/security/der/BitString.java,
2298 gnu/java/security/der/DER.java,
2299 gnu/java/security/der/DERReader.java,
2300 gnu/java/security/der/DERValue.java,
2301 gnu/java/security/der/DERWriter.java,
2302 gnu/java/security/provider/DSAKeyFactory.java,
2303 gnu/java/security/provider/X509CertificateFactory.java,
2304 gnu/java/security/x509/X500DistinguishedName.java,
2305 gnu/java/security/x509/X509CRL.java,
2306 gnu/java/security/x509/X509CRLEntry.java,
2307 gnu/java/security/x509/X509Certificate.java,
2308 java/security/cert/CRLSelector.java,
2309 java/security/cert/CertPathBuilder.java,
2310 java/security/cert/CertPathBuilderResult.java,
2311 java/security/cert/CertPathBuilderSpi.java,
2312 java/security/cert/CertPathParameters.java,
2313 java/security/cert/CertPathValidator.java,
2314 java/security/cert/CertPathValidatorResult.java,
2315 java/security/cert/CertPathValidatorSpi.java,
2316 java/security/cert/CertSelector.java,
2317 java/security/cert/CertStore.java,
2318 java/security/cert/CertStoreParameters.java,
2319 java/security/cert/CertStoreSpi.java,
2320 java/security/cert/CollectionCertStoreParameters.java,
2321 java/security/cert/LDAPCertStoreParameters.java,
2322 java/security/cert/PKIXBuilderParameters.java,
2323 java/security/cert/PKIXCertPathBuilderResult.java,
2324 java/security/cert/PKIXCertPathChecker.java,
2325 java/security/cert/PKIXCertPathValidatorResult.java,
2326 java/security/cert/PKIXParameters.java,
2327 java/security/cert/PolicyNode.java,
2328 java/security/cert/PolicyQualifierInfo.java,
2329 java/security/cert/TrustAnchor.java,
2330 javax/security/auth/x500/X500Principal.java:
2331 New files from classpath.
2332 * gnu/java/io/ASN1ParsingException.java,
2333 gnu/java/io/Base64InputStream.java,
2334 gnu/java/security/der/DEREncodingException.java,
2335 gnu/java/security/provider/DSAParameters.java,
2336 gnu/java/security/provider/DSASignature.java,
2337 gnu/java/security/provider/Gnu.java,
2338 gnu/java/security/provider/GnuDSAPrivateKey.java,
2339 gnu/java/security/provider/GnuDSAPublicKey.java,
2340 java/security/AlgorithmParameterGenerator.java,
2341 java/security/AlgorithmParameters.java,
2342 java/security/KeyFactory.java,
2343 java/security/KeyPairGenerator.java,
2344 java/security/KeyStore.java,
2345 java/security/MessageDigest.java,
2346 java/security/SecureClassLoader.java,
2347 java/security/SecureRandom.java,
2348 java/security/Security.java,
2349 java/security/Signature.java,
2350 java/security/cert/Certificate.java,
2351 java/security/cert/CertificateFactory.java,
2352 java/security/cert/CertificateFactorySpi.java,
2353 java/security/cert/X509CRL.java,
2354 java/security/cert/X509Certificate.java,
2355 java/security/spec/DSAPublicKeySpec.java:
2356 New versions from classpath.
2357 * gnu/java/security/provider/DERReader.java,
2358 gnu/java/security/provider/DERWriter.java,
2359 java/security/Engine.java: Removed.
2360 * Makefile.am
2361 (java_source_files, javax_source_files): Added new files.
2362 * Makefile.in: Regenerated.
2363
2364 2003-04-29 Michael Koch <konqueror@gmx.de>
2365
2366 * javax/swing/JTable.java
2367 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2368 (AUTO_RESIZE_LAST_COLUMN): New constant.
2369 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2370 (AUTO_RESIZE_OFF): New constant.
2371 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2372 (JTable): New method.
2373 (columnAdded): New method.
2374 (columnMarginChanged): New method.
2375 (columnMoved): New method.
2376 (columnRemoved): New method.
2377 (columnSelectionChanged): New method.
2378 (editingCanceled): New method.
2379 (editingStopped): New method.
2380 (getColumnModel): New method.
2381 (getPreferredScrollableViewportSize): New method.
2382 (getScrollableBlockIncrement): New method.
2383 (getScrollableTracksViewportHeight): New method.
2384 (getScrollableTracksViewportWidth): New method.
2385 (getScrollableUnitIncrement): New method.
2386 (getSelectedRow): New method.
2387 (getSelectionModel): New method.
2388 (tableChanged): New method.
2389 (setModel): New method.
2390 (setSelectionMode): New method.
2391 (setSelectionModel): New method.
2392 (setShowGrid): New method.
2393 (valueChanged): New method.
2394 * javax/swing/text/DefaultEditorKit.java
2395 (backwardAction): New constant.
2396 (beepAction): New constant.
2397 (beginAction): New constant.
2398 (beginLineAction): New constant.
2399 (beginParagraphAction): New constant.
2400 (beginWordAction): New constant.
2401 (copyAction): New constant.
2402 (cutAction): New constant.
2403 (defaultKeyTypedAction): New constant.
2404 (deleteNextCharAction): New constant.
2405 (deletePrevCharAction): New constant.
2406 (downAction): New constant.
2407 (endAction): New constant.
2408 (endLineAction): New constant.
2409 (endOfLineStringProperty): New constant.
2410 (endParagraphAction): New constant.
2411 (endWordAction): New constant.
2412 (forwardAction): New constant.
2413 (insertBreakAction): New constant.
2414 (insertContentAction): New constant.
2415 (insertTabAction): New constant.
2416 (nextWordAction): New constant.
2417 (pageDownAction): New constant.
2418 (pageUpAction): New constant.
2419 (pasteAction): New constant.
2420 (previousWordAction): New constant.
2421 (readOnlyAction): New constant.
2422 (selectAllAction): New constant.
2423 (selectionBackwardAction): New constant.
2424 (selectionBeginAction): New constant.
2425 (selectionBeginLineAction): New constant.
2426 (selectionBeginParagraphAction): New constant.
2427 (selectionBeginWordAction): New constant.
2428 (selectionDownAction): New constant.
2429 (selectionEndAction): New constant.
2430 (selectionEndLineAction): New constant.
2431 (selectionEndParagraphAction): New constant.
2432 (selectionEndWordAction): New constant.
2433 (selectionForwardAction): New constant.
2434 (selectionNextWordAction): New constant.
2435 (selectionPreviousWordAction): New constant.
2436 (selectionUpAction): New constant.
2437 (selectLineAction): New constant.
2438 (selectParagraphAction): New constant.
2439 (selectWordAction): New constant.
2440 (upAction): New constant.
2441 (writableAction): New constant.
2442
2443 2003-04-29 Michael Koch <konqueror@gmx.de>
2444
2445 * java/util/PropertyPermission.java:
2446 New version from classpath
2447 * java/util/ResourceBundle.java:
2448 Partly merged from classpath
2449 (getObject): Reformated.
2450 (tryBundle): Set foundBundle = null if no bundle found.
2451
2452 2003-04-29 Michael Koch <konqueror@gmx.de>
2453
2454 * javax/swing/AbstractListModel.java,
2455 javax/swing/DefaultBoundedRangeModel.java,
2456 javax/swing/DefaultSingleSelectionModel.java:
2457 New Versions from classpath.
2458
2459 2003-04-29 Michael Koch <konqueror@gmx.de>
2460
2461 * java/awt/Window.java
2462 (show): Call super.show() instead of setVisible() to avoid endless
2463 loop.
2464 (hide): Call super.hide() instead of setVisible() to avoid endless
2465 loop.
2466
2467 2003-04-29 Michael Koch <konqueror@gmx.de>
2468
2469 * java/util/zip/Deflater.java,
2470 java/util/zip/DeflaterOutputStream.java:
2471 Partly merged with classpath.
2472
2473 2003-04-27 Tom Tromey <tromey@redhat.com>
2474
2475 * java/lang/natString.cc (_Jv_AllocString): Initialize
2476 cachedHashCode.
2477 (init): Likewise.
2478 (_Jv_NewStringUtf8Const): Likewise.
2479
2480 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2481
2482 * include/jvm.h: (_Jv_GetNbArgs) added
2483 (_Jv_GetSafeArg) added
2484 (_Jv_SetArgs) added
2485 * prims.cc: (_Jv_GetNbArgs) implemented
2486 (_Jv_GetSafeArg) implemented
2487 (_Jv_SetArgs) implemented
2488 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2489 setting _Jv_argc and _Jv_argv
2490 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2491 instead of _Jv_argv
2492 * java/lang/natRuntime.cc: (insertSystemProperties) use
2493 _Jv_GetSafeArg() instead of _Jv_argv
2494
2495 2003-04-23 Tom Tromey <tromey@redhat.com>
2496
2497 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2498 required by this object. Search superclasses to find required
2499 alignment.
2500 (get_alignment_from_class): Use alignment of type as it appears
2501 in a struct.
2502 (ALIGNOF): New macro.
2503 (struct aligner): New helper structure.
2504
2505 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2506
2507 * java/awt/Container.java (addImpl): Enable paint events if adding
2508 a lightweight to a heavyweight.
2509 (addNotify): Ensure that peer is created before
2510 addNotifyContainerChildren.
2511 (addNotifyContainerChildren): Enable paint events if a heavyweight
2512 container contains a lightweight.
2513
2514 2003-04-20 Tom Tromey <tromey@redhat.com>
2515
2516 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2517 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2518 Classpath.
2519
2520 2003-04-19 Tom Tromey <tromey@redhat.com>
2521
2522 * java/sql/Date.java, java/sql/DriverManager.java,
2523 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2524 Classpath.
2525
2526 * Makefile.in: Rebuilt.
2527 * Makefile.am (ordinary_java_source_files): Added new files.
2528 * java/security/AlgorithmParameterGenerator.java,
2529 java/security/AlgorithmParameters.java, java/security/Engine.java,
2530 java/security/Identity.java, java/security/IdentityScope.java,
2531 java/security/KeyFactory.java,
2532 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2533 java/security/MessageDigest.java, java/security/Policy.java,
2534 java/security/ProtectionDomain.java,
2535 java/security/SecureRandom.java, java/security/Security.java,
2536 java/security/Signature.java, java/security/SignatureSpi.java,
2537 java/security/SignedObject.java, java/security/Signer.java,
2538 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2539 java/security/spec/PSSParameterSpec.java,
2540 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2541 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2542 Classpath.
2543
2544 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2545
2546 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2547 (dispose): Null metrics.
2548 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2549 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2550 finalize.
2551 (finalize): Call dispose.
2552 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2553 (gcCachedCount): New field.
2554 (finalize): New method.
2555 (putGCInCache): New method.
2556 (getGCFromCache): New method.
2557 * gnu/gcj/xlib/GC.java (GC): Make protected.
2558 (clone): Get new GC from cache if possible.
2559 (create): New static method.
2560 (dispose): Save old GC in cache.
2561 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2562 deleting.
2563 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2564 is null.
2565 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2566 * java/awt/Container.java (visitChild): Dispose gfx2 when
2567 finished.
2568
2569 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2570
2571 * java/math/BigInteger.java (probablePrime): New.
2572 * java/math/BigDecimal.java (unscaledValue): New.
2573
2574 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2575
2576 * java/io/File.java (getAbsolutePath): On Windows, take care
2577 of paths like "C:", "G:foo\bar", etc.
2578 (getName): Make it work correctly on Windows.
2579 (getParent): Make it work correctly on Windows. For UNIX,
2580 fix bug that causes "/" to be returned as the parent of "/",
2581 instead of null as returned by Sun's JRE.
2582
2583 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2584
2585 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2586
2587 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2588 inner class.
2589 (CACHE_SIZE_PER_DISPLAY): New field
2590 (fontMetricsCache): New field
2591 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2592 loading ISO10646-1 fonts.
2593
2594 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2595
2596 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2597 characters.
2598 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2599 characters.
2600
2601 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2602
2603 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2604 floating point.
2605
2606 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2607
2608 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2609 installed libpthread is either linuxthreads with floating stacks or
2610 NPTL.
2611
2612 2003-04-14 Tom Tromey <tromey@redhat.com>
2613
2614 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2615 of alignment.
2616
2617 2003-04-10 Tom Tromey <tromey@redhat.com>
2618
2619 * verify.cc (pop64): Removed.
2620 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2621 exception if top-of-stack is narrow.
2622 (initialize_stack): Check to ensure that <init> is not static and
2623 <clinit> is.
2624
2625 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2626
2627 * java/io/ObjectStreamException
2628 * java/io/FileFilter
2629 * java/io/FilenameFilter
2630 * java/io/ObjectInput
2631 * java/io/ObjectOutput
2632 * java/io/ObjectStreamConstants
2633 Minor doc fixes, format fixes, spelling corrections, etc.
2634 * java/io/DataInput
2635 Corrected code samples in Javadocs to match reality
2636 * java/io/DataOutput
2637 * java/io/ObjectInputValidation
2638 Major documentation fixes - all Javadocs re-written or updated
2639
2640 2003-04-06 Michael Koch <konqueror@gmx.de>
2641
2642 * java/net/URLConnection.java:
2643 Import classes directly.
2644 (URLConnection): Merged class documentation with classpath.
2645 (url): Moved, documentation from classpath added.
2646 (doInput): Moved, documentation from classpath added.
2647 (doOutput): Moved, documentation from classpath added.
2648 (allowUserInteraction): Moved.
2649 (useCaches): Moved, documentation from classpath added.
2650 (ifModifiedSince): Moved, documentation from classpath added.
2651 (connected): Moved, documentation from classpath added.
2652
2653 2003-04-06 Michael Koch <konqueror@gmx.de>
2654
2655 * java/io/FileInputStream.java
2656 (skip): Renamed some variables to match classpath, added
2657 checks from classpath.
2658
2659 2003-03-31 Michael Koch <konqueror@gmx.de>
2660
2661 * javax/swing/AbstractAction.java
2662 (AbstractAction): Reformatted.
2663 (serialVersionUID): New private member variable.
2664 * javax/swing/plaf/BorderUIResource.java
2665 (serialVersionUID): New private member variable.
2666 * javax/swing/plaf/basic/BasicLookAndFeel.java
2667 (serialVersionUID): New private member variable.
2668
2669 2003-03-31 Michael Koch <konqueror@gmx.de>
2670
2671 * java/sql/Date.java
2672 (valueOf): Deprecated, reformatted.
2673 (toString): Deprecated, reformatted.
2674 * java/sql/Time.java
2675 (valueOf): Deprecated, reformatted.
2676 (toString): Deprecated, reformatted.
2677
2678 2003-03-31 Michael Koch <konqueror@gmx.de>
2679
2680 * java/rmi/dgc/VMID.java
2681 (isUnique): Deprecated.
2682
2683 2003-03-31 Michael Koch <konqueror@gmx.de>
2684
2685 * java/io/File.java
2686 (separator): Merged documentation from classpath.
2687 (separatorChar): Merged documentation from classpath.
2688 (pathSeparator): Merged documentation from classpath.
2689 (pathSeparatorChar): Merged documentation from classpath.
2690 (path): Merged documentation from classpath.
2691 (canRead): Merged documentation from classpath.
2692 (canWrite): Merged documentation from classpath.
2693 (createNewFile): Merged documentation from classpath.
2694 (delete): Merged documentation from classpath.
2695 (equals): Merged documentation from classpath.
2696 (exists): Merged documentation from classpath.
2697 (File): Renamed p to name to match classpath, merged documentation
2698 from classpath.
2699 (getAbsolutePath): Merged documentation from classpath.
2700 (getCanonicalPath): Merged documentation from classpath.
2701 (getCanonicalFile): Merged documentation from classpath.
2702 (getName): Merged documentation from classpath.
2703 (getParent): Merged documentation from classpath.
2704 (getParentFile): Merged documentation from classpath.
2705 (getPath): Merged documentation from classpath.
2706 (hashCode): Merged documentation from classpath.
2707 (isAbsolute): Merged documentation from classpath.
2708 (isDirectory): Merged documentation from classpath.
2709 (isFile): Merged documentation from classpath.
2710 (isHidden): Merged documentation from classpath.
2711 (lastModified): Merged documentation from classpath.
2712 (length): Merged documentation from classpath.
2713 (list): Merged documentation from classpath.
2714 (listFiles): Merged documentation from classpath.
2715 (toString): Merged documentation from classpath.
2716 (toURL): Merged documentation from classpath.
2717 (mkdir): Merged documentation from classpath.
2718 (mkdirs): Merged documentation from classpath.
2719 (createTempFile): Merged documentation from classpath.
2720 (setReadOnly): Merged documentation from classpath.
2721 (listRoots): Merged documentation from classpath.
2722 (compareTo): Merged documentation from classpath.
2723 (renameTo): Merged documentation from classpath.
2724 (setLastModified): Merged documentation from classpath.
2725 * java/io/PrintStream.java
2726 (auto_flush): Merged documentation from classpath.
2727 (PrintStream): Merged documentation from classpath.
2728 (checkError): Merged documentation from classpath.
2729 (setError): Merged documentation from classpath.
2730 (close): Merged documentation from classpath.
2731 (flush): Merged documentation from classpath.
2732 (print): Merged documentation from classpath.
2733 (println): Merged documentation from classpath.
2734 (write): Renamed count to len to match classpath,
2735 merged documentation from classpath.
2736 * java/io/RandomAccessFile.java
2737 (readShort): Merged documentation from classpath.
2738 (readUnsignedByte): Merged documentation from classpath.
2739 (readUnsignedShort): Merged documentation from classpath.
2740 (readUTF): Merged documentation from classpath.
2741 (seek): Reformatted, merged documentation from classpath.
2742 (skipBytes): Renamed some variables to match classpath, reformatted,
2743 merged documentation from classpath.
2744 (write): Merged documentation from classpath.
2745 (writeBoolean): Merged documentation from classpath.
2746 (writeByte): Merged documentation from classpath.
2747 (writeShort): Merged documentation from classpath.
2748 (writeChar): Merged documentation from classpath.
2749 (writeInt): Merged documentation from classpath.
2750 (writeLong): Merged documentation from classpath.
2751 (writeFloat): Merged documentation from classpath.
2752 (writeDouble): Merged documentation from classpath.
2753 (writeBytes): Merged documentation from classpath.
2754 (writeChars): Merged documentation from classpath.
2755 (writeUTF): Reformatted.
2756 (getChannel): Reformatted.
2757
2758 2003-03-31 Michael Koch <konqueror@gmx.de>
2759
2760 * java/awt/font/TextAttribute.java
2761 (readResolve): Throws java.io.InvalidObjectException.
2762
2763 2003-03-31 Michael Koch <konqueror@gmx.de>
2764
2765 * java/rmi/server/LoaderHandler.java
2766 (loadClass): Deprecated.
2767 (getSecurityContext): Deprecated.
2768 * java/rmi/server/LogStream.java
2769 (getDefaultStream): Deprecated.
2770 (setDefaultStream): Deprecated.
2771 (getOutputStream): Deprecated.
2772 (setOutputStream): Deprecated.
2773 (write): Deprecated.
2774 (toString): Deprecated.
2775 (parseLevel): Deprecated.
2776 * java/rmi/server/Operation.java
2777 (Operation): Deprecated.
2778 (getOperation): Deprecated.
2779 (toString): Deprecated.
2780 * java/rmi/server/RemoteCall.java
2781 (getOutputStream): Deprecated.
2782 (releaseOutputStream): Deprecated.
2783 (getInputStream): Deprecated.
2784 (releaseInputStream): Deprecated.
2785 (getResultStream): Deprecated.
2786 (executeCall): Deprecated.
2787 (done): Deprecated.
2788 * java/rmi/server/RemoteRef.java
2789 (invoke): Deprecated.
2790 (newCall): Deprecated.
2791 (done): Deprecated.
2792 * java/rmi/server/RemoteStub.java
2793 (setRef): Deprecated.
2794 * java/rmi/server/Skeleton.java:
2795 No need to import java.lang.Exception explicitly.
2796 (dispatch): Deprecated.
2797 (getOperations): Deprecated.
2798
2799 2003-03-31 Michael Koch <konqueror@gmx.de>
2800
2801 * java/rmi/dgc/VMID.java,
2802 java/rmi/registry/RegistryHandler.java,
2803 java/rmi/server/LogStream.java,
2804 java/rmi/server/Operation.java,
2805 java/rmi/server/RemoteCall.java,
2806 java/rmi/server/RemoteRef.java,
2807 java/rmi/server/RemoteStub.java:
2808 Reformatted.
2809
2810 2003-03-31 Michael Koch <konqueror@gmx.de>
2811
2812 * javax/swing/AbstractCellEditor.java,
2813 javax/swing/AbstractListModel.java,
2814 javax/swing/ActionMap.java,
2815 javax/swing/BorderFactory.java,
2816 javax/swing/ButtonGroup.java,
2817 javax/swing/DefaultBoundedRangeModel.java,
2818 javax/swing/DefaultButtonModel.java,
2819 javax/swing/DefaultCellEditor.java,
2820 javax/swing/DefaultComboBoxModel.java,
2821 javax/swing/DefaultDesktopManager.java,
2822 javax/swing/DefaultListCellRenderer.java,
2823 javax/swing/DefaultSingleSelectionModel.java,
2824 javax/swing/InputMap.java,
2825 javax/swing/JComponent.java,
2826 javax/swing/JMenu.java,
2827 javax/swing/JSlider.java,
2828 javax/swing/KeyStroke.java,
2829 javax/swing/OverlayLayout.java,
2830 javax/swing/ScrollPaneLayout.java,
2831 javax/swing/SizeRequirements.java,
2832 javax/swing/UIManager.java,
2833 javax/swing/ViewportLayout.java,
2834 javax/swing/border/AbstractBorder.java,
2835 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2836 javax/swing/event/EventListenerList.java,
2837 javax/swing/table/AbstractTableModel.java,
2838 javax/swing/table/DefaultTableCellRenderer.java,
2839 javax/swing/table/DefaultTableColumnModel.java,
2840 javax/swing/table/DefaultTableModel.java,
2841 javax/swing/table/TableColumn.java,
2842 javax/swing/text/StyledEditorKit.java,
2843 javax/swing/tree/DefaultMutableTreeNode.java,
2844 javax/swing/tree/DefaultTreeModel.java,
2845 javax/swing/tree/DefaultTreeSelectionModel.java,
2846 javax/swing/tree/TreePath.java,
2847 javax/swing/undo/AbstractUndoableEdit.java,
2848 javax/swing/undo/StateEdit.java,
2849 javax/swing/undo/StateEditable.java,
2850 javax/swing/undo/UndoableEditSupport.java:
2851 Merges from classpath.
2852
2853 2003-03-30 Tom Tromey <tromey@redhat.com>
2854
2855 * java/lang/String.java (data, boffset, count): Documented.
2856 (String(byte[],String)): Reformatted.
2857 (String(byte[])): Likewise.
2858 (lastIndexOf(int)): Likewise.
2859 (lastIndexOf(String)): Likewise.
2860 (substring(int)): Renamed argument to match Classpath.
2861 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2862
2863 * java/lang/String.java: Miscellaneous minor formatting changes
2864 to match Classpath more closely.
2865
2866 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2867 Tom Tromey <tromey@redhat.com>
2868
2869 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2870 (init()): Removed.
2871 (charAt): Put index in exception.
2872 (contentEquals): New method.
2873 Include StringBuffer.h.
2874 * java/lang/String.java (cachedHashCode): New field.
2875 (String()): Follow classpath implementation.
2876 (init()): Removed.
2877 (contentEquals): Declare.
2878 (subSequence): Don't declare IndexOutIfBoundsException in throws
2879 clause.
2880 (matches, replaceFirst, replaceAll, split): New methods from
2881 Classpath.
2882
2883 2003-03-29 Tom Tromey <tromey@redhat.com>
2884
2885 * java/lang/String.java: Reordered to follow Classpath; merged in
2886 javadoc.
2887
2888 * java/text/MessageFormat.java: Removed some whitespace.
2889
2890 * Makefile.in: Rebuilt.
2891 * Makefile.am (awt_java_source_files): Added new files.
2892 * gnu/javax/rmi/PortableServer.java,
2893 gnu/javax/rmi/CORBA/DelegateFactory.java,
2894 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2895 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2896 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2897 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2898 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2899 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2900 javax/rmi/PortableRemoteObject.java,
2901 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2902 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2903 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2904 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2905 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2906 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2907
2908 * java/lang/natClass.cc (newInstance): Put method name in
2909 exception.
2910 (getConstructor): Likewise.
2911 (getDeclaredConstructor): Likewise.
2912 (getPrivateMethod): Likewise.
2913
2914 2003-03-28 Tom Tromey <tromey@redhat.com>
2915
2916 * java/lang/reflect/Proxy.java: New version from Classpath.
2917 * java/lang/Package.java: New version from Classpath.
2918
2919 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2920
2921 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2922 * configure: Regenerate.
2923
2924 2003-03-28 Michael Koch <konqueror@gmx.de>
2925
2926 * java/io/File.java:
2927 Import needed classes instead of whole packages, merged class
2928 documentation with classpath, moved constants and variables to top of
2929 class.
2930 * java/io/PrintStream.java:
2931 Merged class documentation with classpath, moved constants and
2932 variables to top of class.
2933 * java/io/RandomAccessFile.java
2934 (RandomAccessFile): Merged with classpath.
2935 (read): Merged with classpath).
2936 (read*): Reformatted.
2937
2938 2003-03-28 Michael Koch <konqueror@gmx.de>
2939
2940 * java/io/FileDescriptor.java
2941 (finalize): Throws Throwable, not IOException.
2942 * java/io/ObjectOutputStream.java
2943 (PutField.put): Doesnt throws anything.
2944
2945 2003­03-28 Michael Koch <konqueror@gmx.de>
2946
2947 * java/io/FileOutputStream.java:
2948 Merged class documentation and authors with classpath.
2949 (FileOutputStream): Partly merged with classpath.
2950 (write): Merged with classpath.
2951 (getChannel): Make it synchronized instead of explicit block in this
2952 method.
2953 * java/io/RandomAccessFile.java:
2954 Merged class documentation and authors with classpath.
2955
2956 2003-03-26 Tom Tromey <tromey@redhat.com>
2957
2958 * java/lang/natRuntime.cc (insertSystemProperties): Set
2959 gnu.classpath.home.url.
2960 * Makefile.in: Rebuilt.
2961 * Makefile.am: Define LIBDIR.
2962
2963 2003-03-25 Michael Koch <konqueror@gmx.de>
2964
2965 * java/io/FileInputStream.java
2966 (read): Renamed b to buf and off to offset.
2967 * java/io/FileOutputStream.java
2968 (ch): Documentation added.
2969 (FileOutputStream): Documentation added.
2970 (getFD): Documentation added.
2971 (write): Documentation added.
2972 (close): Documentation added.
2973 (getChannel): Documentation added.
2974
2975 2003-03-24 Michael Koch <konqueror@gmx.de>
2976
2977 * java/io/DataOutputStream.java
2978 (write): Merged from classpath.
2979 * java/io/File.java:
2980 Merged copyrigth with classpath.
2981 * java/io/FileInputStream.java
2982 (getChannel): Made it synchronized instead of using a synchronized
2983 block.
2984 * java/io/FileOutputStream.java: Reformatted.
2985 * java/io/InputStreamReader.java
2986 (InputStreamReader): Renamed enc to encoding_name.
2987 (close): Merged documentation from classpath.
2988 (getEncoding): Merged documentation from classpath.
2989 (ready): Merged documentation from classpath.
2990 (read): Merged documentation from classpath.
2991 * java/io/LineNumberReader.java
2992 (lineNumber): Made it private.
2993 (LineNumberReader): Use Constant instead of a direct value.
2994 * java/io/OutputStreamWriter.java
2995 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2996 documentation from classpath.
2997 (close): Merged documentation from classpath.
2998 (flush): Merged documentation from classpath.
2999 (write): Merged documentation from classpath.
3000 * java/io/PrintStream.java: Reformatted.
3001
3002 2003-03-24 Michael Koch <konqueror@gmx.de>
3003
3004 * javax/swing/text/ComponentView.java
3005 (getComponent): Must be final.
3006 * javax/swing/tree/DefaultTreeCellRenderer.java:
3007 Reformatted.
3008 * javax/swing/undo/StateEditable.java:
3009 Reformatted.
3010
3011 2003-03-24 Michael Koch <konqueror@gmx.de>
3012
3013 * java/rmi/activation/ActivationInstantiator.java:
3014 Reformatted.
3015 * java/rmi/activation/Activator.java:
3016 Reformatted.
3017 * java/rmi/registry/RegistryHandler.java:
3018 Remerged from classpath.
3019
3020 2003-03-24 Michael Koch <konqueror@gmx.de>
3021
3022 * java/util/Date.java:
3023 Fixed documentation starting tag to make javadoc happy.
3024 * java/util/regex/Pattern.java
3025 (Pattern): Implements Serializable.
3026 * java/util/PatternSyntaxException.java
3027 (serialVersionUID): New member variable.
3028
3029 2003-03-24 Michael Koch <koqnueror@gmx.de>
3030
3031 * java/awt/ContainerOrderFocusTraversalPolicy.java
3032 (getFirstComponent): Implemented.
3033 (getLastComponent): Implemented.
3034 (getDefaultComponent): Implemented.
3035 (setImplicitDownCycleTraversal): Fixed implementation.
3036 * java/awt/Robot.java
3037 (Robot): Added documentation.
3038 * java/awt/Toolkit.java
3039 (getFontList): Deprecated.
3040 (getFontMetrics): Deprecated.
3041 (getPrintJob): Added documentation.
3042 (getSystemSelection): Added documentation.
3043 (getLockingKeyState): Added documentation.
3044 (setLockingKeyState): Added documentation.
3045 (createCustomCursor): Added documentation.
3046 (getBestCursorSize): Added documentation.
3047 (getMaximumCursorColors): Added documentation.
3048 (isFrameStateSupported): Added documentation.
3049
3050 2003-03-24 Michael Koch <konqueror@gmx.de>
3051
3052 * java/io/RandomAccessFile.java:
3053 More little merges with classpath. No code changes.
3054
3055 2003-03-24 Michael Koch <konqueror@gmx.de>
3056
3057 * java/net/natInetAddressNoNet.cc:
3058 Include stddef.h.
3059 * java/net/natPlainDatagramSocketImplNoNet.cc:
3060 Fixed inlcude of java/net/DatagramPacket.h.
3061 * java/net/natPlainSocketImplNoNet.cc:
3062 Include some missing classes.
3063
3064 2003-03-24 Michael Koch <konqueror@gmx.de>
3065
3066 * java/awt/dnd/DropTarget.java
3067 (DropTargetAutoScroller): According to the online documentation, this
3068 is protected, but in reality it is public.
3069 * java/awt/dnd/DropTargetContext.java
3070 (TransferableProxy): According to the online documentation, this
3071 is protected, but in reality it is public.
3072
3073 2003-03-24 Michael Koch <konqueror@gmx.de>
3074
3075 * java/io/DataInputStream.java
3076 (): Wrapped documentation line.
3077 (): Fixed @return tag.
3078 * java/io/DataOutputStream.java
3079 (written): Moved to top of class.
3080 (all methods): Merged documentation from classpath.
3081 * java/io/File.java:
3082 Merged copyright year with classpath.
3083 * java/io/FileInputStream.java
3084 (all methods): Merged documentation from classpath.
3085 * java/io/LineNumberReader.java
3086 (getLineNumber): Fixed @return tag.
3087 * java/io/ObjectInputStream.java.
3088 Reformatted.
3089 * java/io/ObjectOutputStream.java:
3090 Reformatted, fixed some @see tags.
3091 * java/io/OutputStreamWriter.java:
3092 Deleted empty line.
3093 * java/io/Writer.java:
3094 Reformatted.
3095
3096 2003-03-24 Michael Koch <konqueror@gmx.de>
3097
3098 * java/awt/Frame.java
3099 (DEFAULT_CURSOR): Fixed @deprecated tag.
3100 (setCursor): Fixed @deprecated tag.
3101
3102 2003-03-24 Michael Koch <konqueror@gmx.de>
3103
3104 * java/beans/beancontext/BeanContextEvent.java:
3105 Reformated.
3106
3107 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3108
3109 * java/lang/natStringBuffer.cc (regionMatches): New function.
3110 * java/lang/String.java (count): Now package-private.
3111 * java/lang/StringBuffer.java: Merged with Classpath.
3112
3113 2003-03-23 Michael Koch <konqueror@gmx.de>
3114
3115 * java/io/BufferedOutputStream.java:
3116 Reformated.
3117 * java/io/BufferedReader.java:
3118 Reformated.
3119 * java/io/ByteArrayOutputStream.java
3120 (size): Fixed @see tag.
3121 * java/io/CharArrayWriter.java
3122 (size): Fixed @see tag.
3123 * java/io/DataInput.java:
3124 Reformated.
3125 * java/io/DataOutput.java:
3126 Reformated.
3127 * java/io/DataOutputStream.java:
3128 Merged copyright years with classpath.
3129 * java/io/Externalizable.java:
3130 Reformated.
3131 * java/io/FileFilter.java:
3132 Reformated.
3133 * java/io/FileInputStream.java:
3134 Merged copyright years with classpath.
3135 * java/io/FileOutputStream.java:
3136 Merged copyright years with classpath.
3137 * java/io/FilePermission.java
3138 (FilePermission): Replaced @XXX with FIXME:.
3139 * java/io/FileWriter.java:
3140 Reformated.
3141 * java/io/FilenameFilter.java:
3142 Reformated.
3143 * java/io/FilterInputStream.java:
3144 Reformated.
3145 * java/io/FilterOutputStream.java:
3146 Reformated.
3147 * java/io/FilterReader.java:
3148 Reformated.
3149 * java/io/FilterWriter.java:
3150 Reformated.
3151 * java/io/LineNumberInputStream.java
3152 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3153 happy.
3154 (getLineNumber): Fixed @return tag.
3155 * java/io/ObjectInput.java:
3156 Reformated.
3157 * java/io/ObjectOutput.java:
3158 Reformated.
3159 * java/io/ObjectStreamClass.java:
3160 Reformated.
3161 * java/io/PrintStream.java:
3162 Merged copyright years with classpath.
3163 * java/io/PushbackReader.java
3164 (PushbackReader): Replaced @code with @param.
3165 * java/io/SerializablePermission.java:
3166 Reformated.
3167 * java/io/StreamTokenizer.java
3168 (resetSyntax): Fixed @see tag.
3169
3170 2003-03-22 Richard Henderson <rth@redhat.com>
3171
3172 * sysdep/ia64/locks.h: Include ia64intrin.h.
3173 (compare_and_swap): Use __sync_bool_compare_and_swap.
3174 (compare_and_swap_release): Expose ar.ccv assignment.
3175
3176 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3177
3178 * include/posix.h: Add suffix for darwin dynamic libraries.
3179
3180 2003-03-21 Michael Koch <konqueror@gmx.de>
3181
3182 * javax/swing/Action.java
3183 (ACCELERATOR_KEY): New constant.
3184 (ACTION_COMMAND_KEY): Likewise.
3185 (MNEMONIC_KEY): Likewise.
3186 * javax/swing/UnsupportedLookAndFeelException.java
3187 (UnsupportedLookAndFeelException): Must be public.
3188 * javax/swing/WindowConstants.java
3189 (EXIT_ON_CLOSE): New constant.
3190 * javax/swing/text/BadLocationException.java
3191 (offset): New member variable.
3192 (BadLocationException): New implementation, documentation added.
3193 (offsetRequested): New method.
3194 * javax/swing/text/Caret.java:
3195 Reformated.
3196 * javax/swing/text/Document.java:
3197 Reformated.
3198
3199 2003-03-21 Michael Koch <konqueror@gmx.de>
3200
3201 * java/rmi/activation/Activatable.java
3202 (serialVersionUID): New member variable.
3203 * java/rmi/activation/ActivationGroup.java
3204 (serialVersionUID): New member variable.
3205 * java/rmi/activation/ActivationGroupDesc.java
3206 (serialVersionUID): New member variable.
3207 * java/rmi/registry/Registry.java:
3208 Reformated.
3209 (Registry): Deprecated.
3210 * java/rmi/server/LoaderHandler.java
3211 Reformated.
3212 (LoaderHandler): Deprecated.
3213 * java/rmi/server/LogStream.java
3214 Reformated.
3215 (LogStream): Deprecated.
3216 * java/rmi/server/Operation.java
3217 (Operation): Deprecated.
3218 * java/rmi/server/RMIFailureHandler.java:
3219 Reformated.
3220 * java/rmi/server/RMISocketFactory.java:
3221 Reformated.
3222 * java/rmi/server/RemoteCall.java
3223 (RemoteCall): Deprecated.
3224 * java/rmi/server/RemoteStub.java:
3225 Reformated.
3226 * java/rmi/server/Skeleton.java
3227 Reformated.
3228 (Skeleton): Deprecated.
3229
3230 2003-03-21 Michael Koch <konqueror@gmx.de>
3231
3232 * java/io/LineNumberReader.java
3233 (LineNumberReader): Merged documentation with classpath.
3234 (getLineNumber): Likewise.
3235 (setLineNumber): Likewise.
3236 (mark): Likewise.
3237 (reset): Likewise.
3238 (read): Likewise.
3239 (readLine): Likewise.
3240 (skip): Likewise.
3241
3242 2003-03-21 Michael Koch <konqueror@gmx.de>
3243
3244 * java/rmi/RMISecurityManager.java
3245 (checkAccept): Removed.
3246 (checkAccess): Likewise.
3247 (checkAccess): Likewise.
3248 (checkAwtEventQueueAccess): Likewise.
3249 (checkConnect): Likewise.
3250 (checkCreateClassLoader): Likewise.
3251 (checkDelete): Likewise.
3252 (checkExec): Likewise.
3253 (checkExit): Likewise.
3254 (checkLink): Likewise.
3255 (checkListen): Likewise.
3256 (checkMemberAccess): Likewise.
3257 (checkMulticast): Likewise.
3258 (checkPackageAccess): Likewise.
3259 (checkPackageDefinition): Likewise.
3260 (checkPermission): Likewise.
3261 (checkPrintJobAccess): Likewise.
3262 (checkPropertiesAccess): Likewise.
3263 (checkPropertyAccess): Likewise.
3264 (checkRead): Likewise.
3265 (checkSecurityAccess): Likewise.
3266 (checkSetFactory): Likewise.
3267 (checkSystemClipboardAccess): Likewise.
3268 (checkTopLevelWindow): Likewise.
3269 (checkWrite): Likewise.
3270
3271 2003-03-20 Michael Koch <konqueror@gmx.de>
3272
3273 * gnu/java/nio/FileChannelImpl.java
3274 (address): Removed.
3275 (map_address): New member variable.
3276 (length): Make it package private.
3277 (fd): Make it package private.
3278 (buf): Make it package private.
3279 (file_obj): Make it package private.
3280 (FileChannelImpl): New constructor.
3281 (nio_mmap_file): Use RawData instead of long.
3282 (nio_munmap_file): Use RawData instead of long.
3283 (nio_msync): Use RawData instead of long.
3284 (implCloseChannel): New implementation using map_address.
3285 (read): Reformated.
3286 (map): Implemented.
3287 (create_direct_mapped_buffer): Implemented, use RawData, throws
3288 IOException.
3289 (force): Use map_address instead of address.
3290 * gnu/java/nio/MappedByteFileBuffer.java
3291 (address): Removed.
3292 (map_address): New member variable.
3293 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3294 (several methods): Use map_address instead of address, replaced long
3295 with RawData where appropriate.
3296 * gnu/java/nio/natFileChannelImpl.cc
3297 (nio_mmap_file): Replaced long with RawData.
3298 (nio_munmap_file): Replaced long with RawData.
3299 (nio_msync): Replaced long with RawData.
3300 * gnu/java/nio/natMappedByteFileBuffer.cc
3301 (several methods): Replaced long with RawData where appropriate.
3302
3303 2003-03-20 Michael Koch <konqueror@gmx.de>
3304
3305 * java/net/InetAddress.java,
3306 java/net/JarURLConnection.java,
3307 java/net/PlainDatagramSocketImpl.java,
3308 java/net/PlainSocketImpl.java,
3309 java/net/URLConnection.java:
3310 Merged copyright statements with classpath for easier merging.
3311
3312 2003-03-20 Michael Koch <konqueror@gmx.de>
3313
3314 * java/io/FileInputStream.java
3315 (getChannel): New implementation.
3316 * java/io/FileOutputStream.java
3317 (ch): New member variable.
3318 (getChannel): Implemented.
3319 * java/io/RandomAccessFile.java
3320 (RandomAccessFile): Throws FileNotFoundException instead of
3321 IOException.
3322 (getChannel): New method.
3323 (ch): New member variable.
3324
3325 2003-03-20 Michael Koch <konqueror@gmx.de>
3326
3327 * java/io/DataOutputStream.java,
3328 java/io/File.java,
3329 java/io/FileInputStream.java,
3330 java/io/FileOutputStream.java,
3331 java/io/InputStreamReader.java,
3332 java/io/LineNumberReader.java,
3333 java/io/OutputStreamWriter.java,
3334 java/io/PrintStream.java,
3335 java/io/RandomAccessFile.java:
3336 Merged copyright statements with classpath for easier merging.
3337
3338 2003-03-19 Michael Koch <konqueror@gmx.de>
3339
3340 * java/lang/Process.java:
3341 Merged from classpath.
3342
3343 2003-03-19 Michael Koch <konqueror@gmx.de>
3344
3345 * java/io/FileOutputStream.java
3346 (FileOutputStream): New constructor, merged from classpath.
3347 * java/io/FileWriter.java
3348 (FileWriter): New constructor, merged from classpath.
3349
3350 2003-03-18 Michael Koch <konqueror@gmx.de>
3351
3352 * java/awt/ScrollPane.java
3353 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3354 (getViewportSize): Likewise.
3355 (addNotify): Likewise.
3356 (removeNotify): Likewise.
3357 * java/awt/ScrollPaneAdjustable.java
3358 (ScrollPaneAdjustable): No longer extends Scrollbar.
3359 * java/beans/beancontext/BeanContextServices.java:
3360 Reformated.
3361 (getService): Added throws TooManyListenersException;
3362 * java/beans/beancontext/BeanContextServicesSupport.java:
3363 Reformated.
3364
3365 2003-03-18 Michael Koch <konqueror@gmx.de>
3366
3367 * java/io/BufferedOutputStream.java,
3368 java/io/DataInput.java,
3369 java/io/DataInputStream.java,
3370 java/io/DataOutput.java,
3371 java/io/Externalizable.java:
3372 More merges from classpath.
3373
3374 2003-03-18 Michael Koch <konqueror@gmx.de>
3375
3376 * configure.in: Fixed links to platform dependant java.net files.
3377 * configure: Regenerated.
3378 * java/net/natInetAddress.cc,
3379 java/net/natNetworkInterface.cc,
3380 java/net/natPlainDatagramSocketImpl.cc,
3381 java/net/natPlainSocketImpl.cc:
3382 Removed.
3383
3384 2003-03-18 Michael Koch <konqueror@gmx.de>
3385
3386 * configure.in: Create links to architecture dependent files,
3387 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3388 * configure: Regenerated.
3389 * java/net/natInetAddressNoNet.cc,
3390 java/net/natInetAddressPosix.cc,
3391 java/net/natInetAddressWin32.cc,
3392 java/net/natNetworkInterfaceNoNet.cc,
3393 java/net/natNetworkInterfacePosix.cc,
3394 java/net/natNetworkInterfaceWin32.cc,
3395 java/net/natPlainDatagramSocketImplNoNet.cc,
3396 java/net/natPlainDatagramSocketImplPosix.cc,
3397 java/net/natPlainDatagramSocketImplWin32.cc,
3398 java/net/natPlainSocketImplNoNet.cc,
3399 java/net/natPlainSocketImplPosix.cc,
3400 java/net/natPlainSocketImplWin32.cc: New files.
3401
3402 2003-03-18 Michael Koch <konqueror@gmx.de>
3403
3404 * java/io/BufferedReader.java,
3405 java/io/BufferedWriter.java,
3406 java/io/ByteArrayOutputStream.java,
3407 java/io/FileFilter.java,
3408 java/io/FilePermission.java,
3409 java/io/FileReader.java,
3410 java/io/FileWriter.java,
3411 java/io/FilenameFilter.java,
3412 java/io/FilterInputStream.java,
3413 java/io/FilterOutputStream.java,
3414 java/io/FilterReader.java,
3415 java/io/FilterWriter.java,
3416 java/io/ObjectInput.java,
3417 java/io/ObjectInputValidation.java,
3418 java/io/ObjectOutput.java,
3419 java/io/ObjectStreamField.java,
3420 java/io/PipedInputStream.java,
3421 java/io/PipedReader.java,
3422 java/io/PrintWriter.java,
3423 java/io/PushbackReader.java,
3424 java/io/Reader.java,
3425 java/io/SerializablePermission.java,
3426 java/io/StringReader.java,
3427 java/io/Writer.java:
3428 Merged from classpath.
3429
3430 2003-03-17 Michael Koch <konqueror@gmx.de>
3431
3432 * java/awt/ScrollPaneAdjustable.java:
3433 Compile fixes.
3434
3435 2003-03-17 Michael Koch <konqueror@gmx.de>
3436
3437 * java/net/DatagramSocket.java
3438 (connect): Fixed comment.
3439 * java/nio/ByteBuffer.java
3440 (hasArray): Fixed comment.
3441
3442 2003-03-17 Michael Koch <konqueror@gmx.de>
3443
3444 * java/beans/Beans.java:
3445 Explicitely import classes not packages.
3446 * java/beans/FeatureDescriptor.java
3447 (preferred): New member variable.
3448 (isPreferred): New method.
3449 (setPreferred): New method.
3450 * java/beans/PropertyEditorManager.java:
3451 Explicitely import used classes.
3452 * java/beans/beancontext/BeanContextChild.java:
3453 Added line wrapping.
3454 * java/beans/beancontext/BeanContextChildSupport.java:
3455 Reindented.
3456 * java/beans/beancontext/BeanContextEvent.java:
3457 Reindented.
3458
3459 2003-03-17 Michael Koch <konqueror@gmx.de>
3460
3461 * java/awt/Dialog.java
3462 (Dialog): New constructor, changed implementations, added
3463 documentation.
3464 * java/awt/ScrollPaneAdjustable.java
3465 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3466 Serializable.
3467 (serialVersionUID): New member variable.
3468 (sp): New member variable.
3469 (orientation): New member variable.
3470 (value): New member variable.
3471 (minimum): New member variable.
3472 (maximum): New member variable.
3473 (visibleAmount): New member variable.
3474 (unitIncrement): New member variable.
3475 (blockIncrement): New member variable.
3476 (AdjustmentListener): New member variable.
3477 (ScrollPaneAdjustable): New implementation.
3478 (addAdjustmentListener): New method.
3479 (removeAdjustmentListener): New method.
3480 (getAdjustmentListeners): New method.
3481 (getBlockIncrement): New method.
3482 (getMaximum): New method.
3483 (getMinimum): New method.
3484 (getOrientation): New method.
3485 (getUnitIncrement): New method.
3486 (getValue): New method.
3487 (getVisibleAmount): New method.
3488 (setBlockIncrement): New method.
3489 (setMaximum): Implemented.
3490 (setMinimum): Implemented.
3491 (setUnitIncrement): New method.
3492 (setValue): New method.
3493 (setVisibleAmount): Implemented.
3494 (paramString): New stubbed method.
3495 * java/awt/Window.java
3496 (show): Call setVisible().
3497 (hide): Call setVisible().
3498 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3499 and WINDOW_STATE_CHANGED.
3500 (processWindowFocusEvent): New method.
3501 (processWindowStateEvent): New method.
3502 (postEvent): Deprecated.
3503 (applyResourceBundle): Deprecated.
3504 * java/awt/datatransfer/DataFlavor.java
3505 (DataFlavor): Doesn't thow ClassNotFoundException.
3506
3507 2003-03-17 Michael Koch
3508
3509 * javax/print/attribute/Attribute.java,
3510 javax/print/attribute/AttributeSet.java,
3511 javax/print/attribute/PrintRequestAttributeSet.java:
3512 New files.
3513 * Makefile.am
3514 (javax_source_files): Added new files:
3515 javax/print/attribute/Attribute.java
3516 javax/print/attribute/AttributeSet.java
3517 javax/print/attribute/PrintRequestAttributeSet.java
3518 * Makefile.in: Regenerated.
3519
3520 2003-03-17 Michael Koch
3521
3522 * javax/print/attribute/Attribute.java,
3523 javax/print/attribute/AttributeSet.java,
3524 javax/print/attribute/PrintRequestAttributeSet.java:
3525 New files.
3526 * Makefile.am
3527 (awt_java_source_files): Added new files:
3528 javax/print/attribute/Attribute.java
3529 javax/print/attribute/AttributeSet.java
3530 javax/print/attribute/PrintRequestAttributeSet.java
3531 * Makefile.in: Regenerated.
3532
3533 2003-03-16 Tom Tromey <tromey@redhat.com>
3534
3535 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3536 Include platform.h.
3537 * java/lang/natRuntime.cc (insertSystemProperties): Use
3538 _Jv_platform_path_separator.
3539 (nativeGetLibname): Use _Jv_platform_file_separator.
3540 (_load): Use _Jv_platform_onload_names.
3541 (onload_names): New global.
3542 * include/win32.h (_Jv_platform_file_separator): New define.
3543 (_Jv_platform_path_separator): Likewise.
3544 (_Jv_platform_onload_names): Likewise.
3545 (_Jv_platform_ffi_abi): Likewise.
3546 * include/posix.h (_Jv_platform_file_separator): New define.
3547 (_Jv_platform_path_separator): Likewise.
3548 (_Jv_platform_onload_names): Likewise.
3549 (_Jv_platform_ffi_abi): Likewise.
3550
3551 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3552
3553 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3554
3555 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3556
3557 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3558 hierarchy loop.
3559 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3560 list to Object,ObjectStreamClass, moved callReadMethod code up into
3561 readObject and added Class argument to all setXxxField calls.
3562 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3563 consistent with ObjectOutputStream and to facilitate caching the
3564 Method in the future.
3565 (setBooleanField): Added Class argument.
3566 (setByteField): Likewise.
3567 (setCharField): Likewise.
3568 (setDoubleField): Likewise.
3569 (setFloatField): Likewise.
3570 (setIntField): Likewise.
3571 (setLongField): Likewise.
3572 (setShortField): Likewise.
3573 (setObjectField): Likewise.
3574 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3575 class hierarchy loop.
3576 (defaultWriteObject): Call writeFields with new argument list.
3577 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3578 list to Object,ObjectStreamClass, moved callWriteMethod up into
3579 writeObject and added Class argument to all getXxxField calls.
3580 (callWriteMethod): Added ObjectStreamClass argument to be able to
3581 get the proper class to call getMethod on (each class can have (or
3582 not have) its own writeObject method).
3583 (getBooleanField): Added Class argument.
3584 (getByteField): Likewise.
3585 (getCharField): Likewise.
3586 (getDoubleField): Likewise.
3587 (getFloatField): Likewise.
3588 (getIntField): Likewise.
3589 (getLongField): Likewise.
3590 (getShortField): Likewise.
3591 (getObjectField): Likewise.
3592 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3593 facilitate caching the Method object in the future.
3594
3595 2003-03-12 Andreas Schwab <schwab@suse.de>
3596
3597 * configure.in: Avoid trailing /. in toolexeclibdir.
3598 * configure: Rebuilt.
3599
3600 2003-03-11 Michael Koch <konqueror@gmx.de>
3601
3602 * gnu/java/nio/ByteBufferImpl.java
3603 (putInt): Use limit() instead of limit.
3604 * gnu/java/nio/CharBufferImpl.java
3605 (slice): Fixed implementation.
3606 (subSequence): Better bounds checking.
3607 * gnu/java/nio/MappedByteFileBuffer.java:
3608 Import all needed classes directly.
3609 * java/nio/ByteBuffer.java
3610 (hashCode): New dummy method.
3611 * java/nio/CharBuffer.java
3612 (array_offset): New member variable.
3613 (hasArray): Fixed documentation.
3614 (arrayOffset): Return array_offset.
3615
3616 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3617
3618 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3619 setter; made return value of getter const char* instead of char*
3620 * prims.cc: removed all references to _Jv_ThisExecutable().
3621 These are in the platform-specific sections now.
3622 * posix.cc: define platform-specific _Jv_ThisExecutable().
3623 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3624 * win32.cc: define platform-specific _Jv_ThisExecutable()
3625 using GetModuleFilename()
3626 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3627 to argv[0] instead of _Jv_ThisExecutable()
3628
3629 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3630
3631 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3632 that is set if we are using addr2name.awk instead of addr2line.
3633 (NameFinder): Set usingAddr2name if using addr2name.awk.
3634 (getExternalLabel): New native method to convert a method
3635 name to an external label.
3636 (lookup): Convert name given by addr2line to an external label
3637 before demangling.
3638
3639 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3640 constant representing the prefix attached to method names to
3641 convert them to an external label.
3642 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3643 using LABEL_PREFIX.
3644
3645 2003-03-10 Tom Tromey <tromey@redhat.com>
3646
3647 * Makefile.in: Rebuilt.
3648 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3649 (JC1FLAGS): Removed -Wno-deprecated.
3650
3651 2003-03-10 Michael Koch <konqueror@gmx.de>
3652
3653 * java/nio/ByteOrder.java
3654 (nativeOrder): Working implementation, added documentation.
3655 (toString): Added documentation.
3656
3657 2003-03-10 Michael Koch <konqueror@gmx.de>
3658
3659 * java/net/DatagramSocket.java,
3660 java/net/MulticastSocket.java,
3661 java/net/Socket.java,
3662 java/net/URL.java,
3663 java/net/URLConnection.java:
3664 Fixed some documentation tags to make javadoc and friends happy.
3665
3666 2003-03-10 Michael Koch <koqnueror@gmx.de>
3667
3668 * java/beans/beancontext/BeanContextServicesSupport.java,
3669 java/beans/beancontext/BeanContextSupport.java: New files.
3670 * Makefile.am
3671 (awt_source_files): Added new files.
3672 * Makefile.in: Regenerated.
3673
3674 2003-03-10 Michael Koch <konqueror@gmx.de>
3675
3676 * java/awt/FocusTraversalPolicy.java
3677 (FocusTraversalPolicy): Documentation added.
3678 (getComponentAfter): Documentation added.
3679 (getComponentBefore): Documentation added.
3680 (getFirstComponent): Documentation added.
3681 (getLastComponent): Documentation added.
3682 (getDefaultComponent): Documentation added.
3683 (getInitialComponent): Documentation added.
3684 * java/awt/ScrollPaneAdjustable.java
3685 (sp): New member variable.
3686 (orientation): New member variable.
3687 (value): New member variable.
3688 (minimum): New member variable.
3689 (maximum): New member variable.
3690 (visibleAmount): New member variable.
3691 (unitIncrement): New member variable.
3692 (blockIncrement): New member variable.
3693 (adjustmentListener): New member variable.
3694 (ScrollPaneAdjustable): Rewrote.
3695 (addAdjustmentListener): New method.
3696 (removeAdjustmentListener): New method.
3697 (getAdjustmentListeners): New method.
3698 (getBlockIncrement): New method.
3699 (getMaximum): New method.
3700 (getMinimum): New method.
3701 (getOrientation): New method.
3702 (getUnitIncrement): New method.
3703 (getValue): New method.
3704 (getVisibleAmount): New method.
3705 (setBlockIncrement): New method.
3706 (setUnitIncrement): New method.
3707 (setMaximum): Implemented.
3708 (setMinimum): Implemented.
3709 (setValue): New method.
3710 (setVisibleAmount): Implemented.
3711 (paramString): New method.
3712 * java/awt/Window.java
3713 (show): Use setVisible(true) instead of super.show().
3714 (hide): Use sevVisible(false) instead of super.hide().
3715 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3716 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3717 (postEvent): Deprecated.
3718 (applyResourceBundle): Deprecated.
3719 (processWindowFocusEvent): New method.
3720 (processWindowStateEvent): New method.
3721 * java/awt/datatransfer/DataFlavor.java: Reindented.
3722 * java/awt/font/TextHitInfo.java
3723 (charIndex): New member variable.
3724 (leadingEdge): New member variable.
3725 (TextHitInfo): New constructor.
3726 (getCharIndex): Implemented.
3727 (isLeadingEdge): Implemented.
3728 (getInsertionIndex): Implemented.
3729 (hashCode): Access charIndex directly.
3730 (equals): Reformated.
3731 (leading): Implemented.
3732 (trailing): Implemented.
3733 (beforeOffset): Implemented.
3734 (afterOffset): Implemented.
3735 (getOtherHit): Implemented.
3736 (getOffsetHit): Implemented.
3737 (toString): Implemented.
3738 * java/awt/image/BufferedImage.java
3739 (BufferedImage): Implements WritableRenderedImage.
3740 (observers): New member variable.
3741 (addTileObserver): New method.
3742 (removeTileObserver): New method.
3743
3744 2003-03-09 Tom Tromey <tromey@redhat.com>
3745
3746 PR libgcj/9934:
3747 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3748 to lseek. Return 0 if we can't compute the value.
3749
3750 2003-03-03 Michael Koch <konqueror@gmx.de>
3751
3752 * java/net/NetworkInterface.java: Merged with classpath.
3753
3754 2003-03-03 Tom Tromey <tromey@redhat.com>
3755
3756 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3757 of bytecode.
3758 (handle_ret_insn): Fail if returning to jsr that appears at end of
3759 bytecode.
3760
3761 2003-03-03 Michael Koch <konqueror@gmx.de>
3762
3763 * Makefile.am
3764 (ordinary_java_source_files):
3765 Added gnu/java/nio/MappedByteFileBuffer.java.
3766 (nat_source_files):
3767 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3768 * Makefile.in: Regenerated.
3769
3770 2003-03-03 Michael Koch <konqueror@gmx.de>
3771
3772 * java/net/DatagramSocket.java
3773 (connect): Merged comment from classpath.
3774 (receive): Merged documentation from classpath.
3775 * java/net/Socket.java
3776 (setSoTimeout): Clarified documentation.
3777 * java/net/URL.java
3778 (getPath): Merged from classpath.
3779 (getUserInfo): Merged from classpath.
3780 (getQuery): Merged from classpath.
3781 * java/net/URLStreamHandler.java
3782 (toExternalForm): Merged from classpath.
3783
3784 2003-03-02 Mark Wielaard <mark@klomp.org>
3785
3786 * java/util/Properties.java (load): Only skip line if the first
3787 character is a comment, whitespaces don't count.
3788
3789 2003-03-02 Michael Koch <konqueror@gmx.de>
3790
3791 * java/net/NetPermission.java:
3792 Merged copyright with classpath.
3793
3794 2003-03-02 Michael Koch <konqueror@gmx.de>
3795
3796 * java/lang/Package.java:
3797 Remerged from classpath.
3798
3799 2003-03-02 Michael Koch <konqueror@gmx.de>
3800
3801 * java/net/HttpURLConnection.java
3802 (HTTP_SERVER_ERROR): Deprecated.
3803 * java/net/MulticastSocket.java
3804 (send): Replaced checkMulticast with appropriate checkPermission call,
3805 deprecated.
3806 * java/net/URLDecoder.java
3807 (decode): Deprecated.
3808 * java/net/URLEncoder.java
3809 (encode): Deprecated.
3810
3811 2003-03-02 Michael Koch <konqueror@gmx.de>
3812
3813 * javax/swing/text/Caret.java
3814 (getMagicCaretPosition): Fixed typo in method name.
3815 * javax/swing/text/DefaultCaret.java
3816 (getMagicCaretPosition): Fixed typo in method name.
3817
3818 2003-03-02 Michael Koch <konqueror@gmx.de>
3819
3820 * java/awt/List.java
3821 (setMultipleSelections): Deprecated.
3822 (delItem): Deprecated.
3823 * java/awt/MenuComponent.java
3824 (getPeer): Deprecated.
3825 * java/awt/ScrollPane.java
3826 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3827 * java/awt/dnd/MouseDragGestureRecognizer.java
3828 (mouseClicked): Added comment.
3829 (mousePressed): Added comment.
3830 (mouseReleased): Added comment.
3831 (mouseEntered): Added comment.
3832 (mouseExited): Added comment.
3833 (mouseDragged): Added comment.
3834 (mouseMoved): Added comment.
3835 * java/awt/event/KeyEvent.java
3836 (KeyEvent): Deprecated.
3837 (setModifiers): Deprecated.
3838
3839 2003-03-02 Michael Koch <konqueror@gmx.de>
3840
3841 * gnu/java/nio/FileChannelImpl.java
3842 (fd): Type FileDescriptor instead of int.
3843 (lengthInternal): Removed.
3844 (FileChannelImpl): Fixed arguments, check type of file object.
3845 (size): Made it native.
3846 (implPosition): New native method.
3847 (implTruncate): New native method.
3848 (position): Implemented.
3849 (truncate): Implemented.
3850 (nio_mmap_file): Changed arguments.
3851 (nio_munmap_file): Changed arguments.
3852 (nio_msync): Changed arguments.
3853 * gnu/java/nio/natFileChannelImpl.cc
3854 (lengthInternal): Removed.
3855 (size): New method.
3856 (implPosition): New method.
3857 (implTruncate): New method.
3858 (nio_mmap_file): Changed arguments.
3859 (nio_munmap_file): Changed arguments.
3860 (nio_msync): Changed arguments.
3861
3862 2003-03-02 Michael Koch <konqueror@gmx.de>
3863
3864 * java/awt/dnd/DropTargetContext.java:
3865 Compile fix: Forgot to commit import.
3866
3867 2003-03-02 Michael Koch <konqueror@gmx.de>
3868
3869 * java/awt/Component.java,
3870 java/awt/ScrollPane.java:
3871 Fixed typos.
3872
3873 2003-03-02 Michael Koch <konqueror@gmx.de>
3874
3875 * java/awt/dnd/DnDEventMulticaster.java: New file.
3876 * java/awt/dnd/DragSource.java
3877 (flavorMap): New member variable.
3878 (dragSourceListener): New member variable.
3879 (dragSourceMotionListener): New member variable.
3880 (getFlavorMap): Implemented.
3881 (createDragGestureRecognizer): Implemented.
3882 (addDragSourceListener): Implemented.
3883 (removeDragSourceListener): Implemented.
3884 (getDragSourceListeners): Implemented.
3885 (addDragSourceMotionListener): Implemented.
3886 (removeDragSourceMotionListener): Implemented.
3887 (getDragSourceMotionListeners): Implemented.
3888 (getListeners): Implemented.
3889 * java/awt/dnd/DragSourceContext.java
3890 (peer): New member variable.
3891 (cursor): New member variable.
3892 (transferable): New member variable.
3893 (trigger): New member variable.
3894 (dragSourceListener): New member variable.
3895 (image): New member variable.
3896 (offset): New member variable.
3897 (DragSourceContext): Implemented.
3898 (getDragSource): Implemented.
3899 (getComponent): Implemented.
3900 (getTrigger): Implemented.
3901 (getSourceActions): Implemented.
3902 (setCursor): Implemented.
3903 (getCursor): Implemented.
3904 (addDragSourceListener): Implemented.
3905 (removeDragSourceListener): Implemented.
3906 (getTransferable): Implemented.
3907 * java/awt/dnd/DropTarget.java
3908 (DropTargetAutoScroller.component): New member variable.
3909 (DropTargetAutoScroller.point): New member variable.
3910 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3911 (DropTargetAutoScroller.updateLocation): Implemented.
3912 (active): Renamed from isActive, defaults to true now.
3913 (component): New member variable.
3914 (flavorMap): New member variable.
3915 (actions): New member variable.
3916 (dropTargetContext): New member variable.
3917 (dropTargetListener): New member variable.
3918 (DropTarget): Implemented.
3919 (getComponent): Implemented.
3920 (setComponent): Implemented.
3921 (setDefaultActions): Implemented.
3922 (getDefaultActions): Implemented.
3923 (setActive): Use active instead of isActive.
3924 (isActive): Use active instead of isActive.
3925 (addDropTargetListener): Implemented.
3926 (removeDropTargetListener): Implemented.
3927 (getFlavorMap): Implemented.
3928 (setFlavorMap): Implemented.
3929 (getDropTargetContext): Implemented.
3930 (createDropTargetContext): Implemented.
3931 (createDropTargetAutoScroller): Implemented.
3932 * java/awt/dnd/DropTargetContext.java
3933 (TransferableProxy.getTransferDataFlavors): Implemented.
3934 (TransferableProxy.isDataFlavorSupported): Implemented.
3935 (TransferableProxy.getTransferData): Implemented.
3936 (dropTarget): New member variable.
3937 (dtcp): New member variable.
3938 (DropTargetContext): New package private constructor.
3939 (getDropTarget): Implemented.
3940 (getComponent): Implemented.
3941 (addNotify): Implemented.
3942 (removeNotify): Implemented.
3943 (getCurrentDataFlavorsAsList): Implemented.
3944 (isDataFlavorSupported): Implemented.
3945 * java/awt/dnd/MouseDragGestureRecognizer.java
3946 (registerListeners): Implemented.
3947 (unregisterListeners): Implemented.
3948 * Makefile.am
3949 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3950 * Makefile.in: Regenerated.
3951
3952 2003-03-02 Michael Koch <konqueror@gmx.de>
3953
3954 * java/awt/Component.java
3955 (eventTypeEnabled): New method.
3956 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3957 * java/awt/Container.java
3958 (changeSupport): New member variable.
3959 (addPropertyChangeListener): New methods.
3960 * java/awt/ContainerOrderFocusTraversalPolicy.java
3961 (ContainerOrderFocusTraversalPolicy): Added comment.
3962 (getComponentAfter): Throw exception, documentation added.
3963 (getComponentBefore): Throw exception, documentation added.
3964 (getFirstComponent): Throw exception, documentation added.
3965 (getLastComponent): Throw exception, documentation added.
3966 (getDefaultComponent): Throw exception, documentation added.
3967 * java/awt/EventQueue.java: Reindented.
3968 * java/awt/FocusTraversalPolicy.java:
3969 (FocusTraversalPolicy): Added comment.
3970 (getComponentAfter): Documentation added.
3971 (getComponentBefore): Documentation added.
3972 (getFirstComponent): Documentation added.
3973 (getLastComponent): Documentation added.
3974 (getDefaultComponent): Documentation added.
3975 (getInitialComponent): Documentation added.
3976 * java/awt/ScrollPane.java
3977 (wheelScrollingEnabled): New member variable.
3978 (ScrollPane): Initialize wheelScollingEnabled.
3979 (eventTypeEnabled): New method.
3980 (isWheelScrollingEnabled): New method.
3981 (setWheelScrollingEnabled): New method.
3982
3983 2003-03-02 Michael Koch <konqueror@gmx.de>
3984
3985 * java/net/DatagramSocket.java
3986 (closed): New member variable.
3987 (close): Use closed variable.
3988 (getInetAddress): No need to call isConnected().
3989 (getPort): No need to call isConnected().
3990 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3991 (isClosed): Reimplemented.
3992
3993 2003-03-02 Michael Koch <konqueror@gmx.de>
3994
3995 * configure.in: Added check for memory mapping of files.
3996 * configure: Regenerated.
3997 * config.h.in: Regenerated.
3998
3999 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4000
4001 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4002 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4003
4004 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4005
4006 * java/io/File.java (normalizePath): Remove trailing separator
4007 on Windows only if path is not of the form "x:\".
4008
4009 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4010 (java::io::File::attr): Change formatting a bit and use
4011 WIN32_EPOCH_MILLIS instead of magic numbers.
4012 (java::io::File::isAbsolute): Path must have at least 3
4013 characters for a UNC network path.
4014 (java::io::File::init_native): Define.
4015 (java::io::File::performCreate): Likewise.
4016 (java::io::File::performSetReadOnly): Likewise.
4017 (java::io::File::performSetLastModified): Likewise.
4018 (java::io::File::performListRoots): Likewise.
4019
4020 2003-03-01 Tom Tromey <tromey@redhat.com>
4021
4022 * java/lang/natObject.cc: Don't include assert.h.
4023 (heavy_lock_obj_finalization_proc): Use JvAssert.
4024 (remove_all_heavy): Likewise.
4025 (_Jv_MonitorEnter): Likewise.
4026 (_Jv_MonitorExit): Likewise.
4027 (wait): Likewise.
4028
4029 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4030
4031 * java/io/File (getAbsolutePath): Prefix drive specifier on
4032 Windows for paths starting with a '\'.
4033 (toURL): Make URL more consistent with what Sun's JDK returns.
4034
4035 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4036 true only if the path is a UNC network path or it starts with a
4037 drive specifier.
4038
4039 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4040 Be prepared to handle either '/' or '\\' in the file path for
4041 Windows if using the "file" protocol.
4042 Canonicalise the file path if using a relative path in the given
4043 context and the "file" protocol.
4044
4045 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4046
4047 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4048 program array element passed to CreateProcess.
4049
4050 2003-03-01 Tom Tromey <tromey@redhat.com>
4051
4052 * java/rmi/registry/RegistryHandler.java: Deprecate.
4053
4054 2003-03-01 Tom Tromey <tromey@redhat.com>
4055
4056 * javax/accessibility/AccessibleEditableText.java,
4057 javax/accessibility/AccessibleHyperlink.java: New versions from
4058 Classpath.
4059
4060 * gnu/java/locale/LocaleInformation_af_ZA.java,
4061 gnu/java/locale/LocaleInformation_ar_AE.java,
4062 gnu/java/locale/LocaleInformation_ar_BH.java,
4063 gnu/java/locale/LocaleInformation_ar_DZ.java,
4064 gnu/java/locale/LocaleInformation_ar_EG.java,
4065 gnu/java/locale/LocaleInformation_ar_IN.java,
4066 gnu/java/locale/LocaleInformation_ar_IQ.java,
4067 gnu/java/locale/LocaleInformation_ar_JO.java,
4068 gnu/java/locale/LocaleInformation_ar_KW.java,
4069 gnu/java/locale/LocaleInformation_ar_LB.java,
4070 gnu/java/locale/LocaleInformation_ar_LY.java,
4071 gnu/java/locale/LocaleInformation_ar_MA.java,
4072 gnu/java/locale/LocaleInformation_ar_OM.java,
4073 gnu/java/locale/LocaleInformation_ar_QA.java,
4074 gnu/java/locale/LocaleInformation_ar_SD.java,
4075 gnu/java/locale/LocaleInformation_ar_SY.java,
4076 gnu/java/locale/LocaleInformation_ar_TN.java,
4077 gnu/java/locale/LocaleInformation_ar_YE.java,
4078 gnu/java/locale/LocaleInformation_be_BY.java,
4079 gnu/java/locale/LocaleInformation_bn_IN.java,
4080 gnu/java/locale/LocaleInformation_br_FR.java,
4081 gnu/java/locale/LocaleInformation_bs_BA.java,
4082 gnu/java/locale/LocaleInformation_ca_ES.java,
4083 gnu/java/locale/LocaleInformation_cs_CZ.java,
4084 gnu/java/locale/LocaleInformation_cy_GB.java,
4085 gnu/java/locale/LocaleInformation_da_DK.java,
4086 gnu/java/locale/LocaleInformation_de_AT.java,
4087 gnu/java/locale/LocaleInformation_de_BE.java,
4088 gnu/java/locale/LocaleInformation_de_CH.java,
4089 gnu/java/locale/LocaleInformation_de_DE.java,
4090 gnu/java/locale/LocaleInformation_de_LU.java,
4091 gnu/java/locale/LocaleInformation_el_GR.java,
4092 gnu/java/locale/LocaleInformation_en_AU.java,
4093 gnu/java/locale/LocaleInformation_en_BW.java,
4094 gnu/java/locale/LocaleInformation_en_CA.java,
4095 gnu/java/locale/LocaleInformation_en_DK.java,
4096 gnu/java/locale/LocaleInformation_en_GB.java,
4097 gnu/java/locale/LocaleInformation_en_HK.java,
4098 gnu/java/locale/LocaleInformation_en_IE.java,
4099 gnu/java/locale/LocaleInformation_en_IN.java,
4100 gnu/java/locale/LocaleInformation_en_NZ.java,
4101 gnu/java/locale/LocaleInformation_en_PH.java,
4102 gnu/java/locale/LocaleInformation_en_SG.java,
4103 gnu/java/locale/LocaleInformation_en_US.java,
4104 gnu/java/locale/LocaleInformation_en_ZA.java,
4105 gnu/java/locale/LocaleInformation_en_ZW.java,
4106 gnu/java/locale/LocaleInformation_es_AR.java,
4107 gnu/java/locale/LocaleInformation_es_BO.java,
4108 gnu/java/locale/LocaleInformation_es_CL.java,
4109 gnu/java/locale/LocaleInformation_es_CO.java,
4110 gnu/java/locale/LocaleInformation_es_CR.java,
4111 gnu/java/locale/LocaleInformation_es_DO.java,
4112 gnu/java/locale/LocaleInformation_es_EC.java,
4113 gnu/java/locale/LocaleInformation_es_ES.java,
4114 gnu/java/locale/LocaleInformation_es_GT.java,
4115 gnu/java/locale/LocaleInformation_es_HN.java,
4116 gnu/java/locale/LocaleInformation_es_MX.java,
4117 gnu/java/locale/LocaleInformation_es_NI.java,
4118 gnu/java/locale/LocaleInformation_es_PA.java,
4119 gnu/java/locale/LocaleInformation_es_PE.java,
4120 gnu/java/locale/LocaleInformation_es_PR.java,
4121 gnu/java/locale/LocaleInformation_es_PY.java,
4122 gnu/java/locale/LocaleInformation_es_SV.java,
4123 gnu/java/locale/LocaleInformation_es_US.java,
4124 gnu/java/locale/LocaleInformation_es_UY.java,
4125 gnu/java/locale/LocaleInformation_es_VE.java,
4126 gnu/java/locale/LocaleInformation_et_EE.java,
4127 gnu/java/locale/LocaleInformation_eu_ES.java,
4128 gnu/java/locale/LocaleInformation_fa_IR.java,
4129 gnu/java/locale/LocaleInformation_fi_FI.java,
4130 gnu/java/locale/LocaleInformation_fo_FO.java,
4131 gnu/java/locale/LocaleInformation_fr_BE.java,
4132 gnu/java/locale/LocaleInformation_fr_CA.java,
4133 gnu/java/locale/LocaleInformation_fr_CH.java,
4134 gnu/java/locale/LocaleInformation_fr_FR.java,
4135 gnu/java/locale/LocaleInformation_fr_LU.java,
4136 gnu/java/locale/LocaleInformation_ga_IE.java,
4137 gnu/java/locale/LocaleInformation_gd_GB.java,
4138 gnu/java/locale/LocaleInformation_gl_ES.java,
4139 gnu/java/locale/LocaleInformation_gv_GB.java,
4140 gnu/java/locale/LocaleInformation_he_IL.java,
4141 gnu/java/locale/LocaleInformation_hi_IN.java,
4142 gnu/java/locale/LocaleInformation_hr_HR.java,
4143 gnu/java/locale/LocaleInformation_hu_HU.java,
4144 gnu/java/locale/LocaleInformation_id_ID.java,
4145 gnu/java/locale/LocaleInformation_it_CH.java,
4146 gnu/java/locale/LocaleInformation_it_IT.java,
4147 gnu/java/locale/LocaleInformation_iw_IL.java,
4148 gnu/java/locale/LocaleInformation_ja_JP.java,
4149 gnu/java/locale/LocaleInformation_ka_GE.java,
4150 gnu/java/locale/LocaleInformation_kl_GL.java,
4151 gnu/java/locale/LocaleInformation_ko_KR.java,
4152 gnu/java/locale/LocaleInformation_kw_GB.java,
4153 gnu/java/locale/LocaleInformation_lt_LT.java,
4154 gnu/java/locale/LocaleInformation_lv_LV.java,
4155 gnu/java/locale/LocaleInformation_mi_NZ.java,
4156 gnu/java/locale/LocaleInformation_mk_MK.java,
4157 gnu/java/locale/LocaleInformation_mr_IN.java,
4158 gnu/java/locale/LocaleInformation_mt_MT.java,
4159 gnu/java/locale/LocaleInformation_nl_BE.java,
4160 gnu/java/locale/LocaleInformation_nl_NL.java,
4161 gnu/java/locale/LocaleInformation_nn_NO.java,
4162 gnu/java/locale/LocaleInformation_no_NO.java,
4163 gnu/java/locale/LocaleInformation_oc_FR.java,
4164 gnu/java/locale/LocaleInformation_pl_PL.java,
4165 gnu/java/locale/LocaleInformation_pt_BR.java,
4166 gnu/java/locale/LocaleInformation_pt_PT.java,
4167 gnu/java/locale/LocaleInformation_ro_RO.java,
4168 gnu/java/locale/LocaleInformation_ru_RU.java,
4169 gnu/java/locale/LocaleInformation_ru_UA.java,
4170 gnu/java/locale/LocaleInformation_se_NO.java,
4171 gnu/java/locale/LocaleInformation_sk_SK.java,
4172 gnu/java/locale/LocaleInformation_sl_SI.java,
4173 gnu/java/locale/LocaleInformation_sq_AL.java,
4174 gnu/java/locale/LocaleInformation_sr_YU.java,
4175 gnu/java/locale/LocaleInformation_sv_FI.java,
4176 gnu/java/locale/LocaleInformation_sv_SE.java,
4177 gnu/java/locale/LocaleInformation_ta_IN.java,
4178 gnu/java/locale/LocaleInformation_te_IN.java,
4179 gnu/java/locale/LocaleInformation_tg_TJ.java,
4180 gnu/java/locale/LocaleInformation_tl_PH.java,
4181 gnu/java/locale/LocaleInformation_tr_TR.java,
4182 gnu/java/locale/LocaleInformation_uk_UA.java,
4183 gnu/java/locale/LocaleInformation_ur_PK.java,
4184 gnu/java/locale/LocaleInformation_uz_UZ.java,
4185 gnu/java/locale/LocaleInformation_vi_VN.java,
4186 gnu/java/locale/LocaleInformation_yi_US.java,
4187 gnu/java/locale/LocaleInformation_zh_CN.java,
4188 gnu/java/locale/LocaleInformation_zh_HK.java,
4189 gnu/java/locale/LocaleInformation_zh_SG.java,
4190 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4191 info; from Classpath.
4192
4193 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4194 isPaintPending): New methods.
4195 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4196 setMaximizedBounds): New methods.
4197 (beginLayout, endLayout, isPaintPending): Likewise.
4198 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4199 (requestFocus): Likewise.
4200 (isObscured): Likewise.
4201 (canDetermineObscurity): Likewise.
4202 (coalescePaintEvent): Likewise.
4203 (updateCursorImmediately): Likewise.
4204 (createVolatileImage): Likewise.
4205 (handlesWheelScrolling): Likewise.
4206 (createBuffers): Likewise.
4207 (getBackBuffer): Likewise.
4208 (flip): Likewise.
4209 (destroyBuffers): Likewise.
4210
4211 * Makefile.in: Rebuilt.
4212 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4213 RobotPeer.java.
4214 * gnu/java/awt/GLightweightPeer.java,
4215 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4216 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4217 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4218 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4219 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4220 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4221 java/awt/dnd/peer/DragSourceContextPeer.java,
4222 java/awt/dnd/peer/DropTargetContextPeer.java,
4223 java/awt/peer/ButtonPeer.java,
4224 java/awt/peer/CheckboxMenuItemPeer.java,
4225 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4226 java/awt/peer/ComponentPeer.java,
4227 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4228 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4229 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4230 java/awt/peer/MenuBarPeer.java,
4231 java/awt/peer/MenuComponentPeer.java,
4232 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4233 java/awt/peer/PopupMenuPeer.java,
4234 java/awt/peer/ScrollPanePeer.java,
4235 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4236 java/awt/peer/TextComponentPeer.java,
4237 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4238 New versions from Classpath.
4239 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4240 * java/awt/peer/RobotPeer.java: Likewise.
4241
4242 2003-03-01 Mark Wielaard <mark@klomp.org>
4243
4244 * java/io/ObjectInputStream.java: Reindent.
4245 * java/io/ObjectOutputStream.java: Likewise.
4246
4247 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4248
4249 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4250 jvalue for each argument. Simplify.
4251 * testsuite/libjava.jni/calls.c (docall),
4252 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4253 misalignment.
4254
4255 2003-02-28 Mark Wielaard <mark@klomp.org>
4256
4257 * Makefile.am (nat_source_files): Remove
4258 java/io/natObjectOutputStream.cc.
4259 * Makefile.in: Regenerated.
4260 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4261 * java/io/ObjectStreamField.java (typename): New field.
4262 (ObjectStreamField(String, Class)): Initialize new field.
4263 (ObjectStreamField(String, String)): New Constructor.
4264 (getTypeCode): Use new field.
4265 (getTypeString): Use new field.
4266 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4267 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4268 Handle reading of Proxy classes. Never drain(), just write
4269 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4270 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4271 (flush): Call flush(), not just drain().
4272 (writeBoolean): Always use blockDataOutput.
4273 (writeByte): Likewise.
4274 (writeShort): Likewise.
4275 (writeChar): Likewise.
4276 (writeInt): Likewise.
4277 (writeLong): Likewise.
4278 (writeFloat): Likewise.
4279 (writeDouble): Likewise.
4280 (writeBytes): Likewise.
4281 (putfield (put(String,Object))): Throw IllegalArgumentException if
4282 field cannot be found.
4283 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4284 (writeArraySizeAndElements): Write byte[] in one go.
4285 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4286 set BlockDataMode to false.
4287 (annotateProxyClass): New method.
4288 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4289 (getField): No longer native.
4290 (getMethod): Likewise.
4291 (setBlockDataMode): Always drain() on switch, return old mode.
4292 (static): New static code block.
4293 * java/io/natObjectOutputStream.cc: Removed.
4294 * java/io/ObjectInputStream.java (getField): No longer native.
4295 (getMethod): Likewise.
4296 (readObject): Remember and reset old BlockDataMode. Track whether
4297 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4298 TC_LONGSTRING.
4299 (defaultReadObject): Set BlockDataMode to false during readFields.
4300 (resolveClass): Create new SecurityManager if necessary.
4301 Use Class.forName() if null ClassLoader found.
4302 (read(byte[],int,int): Copy remaining bytes to data before calling
4303 readNextBlock().
4304 (readFields): Set and reset BlockDataMode on call_read_method.
4305 Catch NoSuchFieldErrors.
4306 (setBlockDataMode): Return old mode.
4307 (static): New static code block.
4308 * java/io/natObjectInputStream.cc (getField): Removed.
4309 (getMethod): Likewise.
4310
4311 2003-02-27 Michael Koch <konqueror@gmx.de>
4312
4313 * java/beans/Beans.java,
4314 java/beans/FeatureDescriptor.java
4315 java/beans/PropertyEditorManager.java:
4316 Reformated to GNU style.
4317
4318 2003-02-25 Michael Koch <konqueror@gmx.de>
4319
4320 * gnu/java/nio/MappedByteFileBuffer.java,
4321 gnu/java/nio/natMappedByteFileBuffer.cc:
4322 New files, both are not compiled yet to get not noncompiling CVS.
4323
4324 2003-02-24 Tom Tromey <tromey@redhat.com>
4325
4326 * java/util/prefs/AbstractPreferences.java (isUserNode):
4327 Implemented.
4328
4329 2003-02-24 Tom Tromey <tromey@redhat.com>
4330
4331 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4332 Deprecate.
4333 * java/lang/Thread.java (resume): Deprecate.
4334 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4335 in @deprecated.
4336
4337 2003-02-23 Tom Tromey <tromey@redhat.com>
4338
4339 * Makefile.in: Rebuilt.
4340 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4341
4342 2003-02-23 Tom Tromey <tromey@redhat.com>
4343
4344 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4345 libraries): Removed.
4346 (add_library): Removed.
4347 (_load): Don't call add_library.
4348 (loadLibraryInternal): Likewise.
4349 (init): Likewise.
4350 (lookup_data): New struct.
4351 (find_symbol): New function.
4352 (_Jv_FindSymbolInExecutable): Use it.
4353
4354 2002-02-21 Anthony Green <green@redhat.com>
4355
4356 * java/lang/Thread.java (Thread): New constructor taking stack
4357 size parameter (ignored for now).
4358 * Many methods: Merged GNU Classpath documentation.
4359
4360 * java/lang/Class.java (finalize): throws a Throwable.
4361
4362 2003-02-21 Mark Wielaard <mark@klomp.org>
4363
4364 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4365 argument is null.
4366
4367 2003-02-21 Mark Wielaard <mark@klomp.org>
4368
4369 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4370 then 65535 chars throw IllegalArgumentException.
4371
4372 2003-02-21 Mark Wielaard <mark@klomp.org>
4373
4374 * java/util/zip/ZipFile.java (finalize): New method.
4375
4376 2003-02-21 Michael Koch <konqueror@gmx.de>
4377
4378 * gnu/java/nio/natSocketChannelImpl.cc:
4379 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4380 <cato@df.lth.se> for pointing to it.
4381
4382 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4383
4384 * java/math/BigInteger.java (euclidInv): Take result array as an
4385 argument. Updated all callers.
4386 (modInverse): Removed unused variables.
4387
4388 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4389
4390 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4391 config.status.
4392 * configure: Rebuilt.
4393
4394 2003-02-19 Michael Koch <konqueror@gmx.de>
4395
4396 * gnu/java/nio/natSocketChannelImpl.cc:
4397 Added support for platforms without network support.
4398
4399 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4400
4401 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4402 after config.h. Use <> for consistency.
4403 * java/lang/natObject.cc: Likewise.
4404 * java/lang/natRuntime.cc: Likewise.
4405 * java/lang/natSystem.cc: Likewise.
4406 * java/util/natTimeZone.cc: Likewise.
4407 * win32.cc: Likewise.
4408 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4409 listen, write, read): Undef to avoid interference from OS macros.
4410
4411 2003-02-19 Michael Koch <konqueror@gmx.de>
4412
4413 * gnu/java/nio/ByteBufferImpl.java
4414 (ByteBufferImpl): Renamed two variables.
4415 * gnu/java/nio/CharBufferImpl.java
4416 (CharBufferImpl): Renamed two variables.
4417 * gnu/java/nio/DoubleBufferImpl.java
4418 (DoubleBufferImpl): Renamed two variables.
4419 * gnu/java/nio/FloatBufferImpl.java
4420 (FloatBufferImpl): Renamed two variables.
4421 * gnu/java/nio/IntBufferImpl.java
4422 (IntBufferImpl): Renamed two variables.
4423 * gnu/java/nio/LongBufferImpl.java
4424 (LongBufferImpl): Renamed two variables.
4425 * gnu/java/nio/ShortBufferImpl.java
4426 (ShortBufferImpl): Renamed two variables.
4427 * java/nio/CharBuffer.java
4428 (wrap): Fixed arguments to CharBufferImpl constructor.
4429 (hasArray): Only not read-only buffers have backing arrays.
4430 (length): Documentation added.
4431 (subSequence): Documentation added.
4432 * java/nio/DoubleBuffer.java
4433 (hasArray): Only not read-only buffers have backing arrays.
4434 * java/nio/FloatBuffer.java
4435 (hasArray): Only not read-only buffers have backing arrays.
4436 * java/nio/IntBuffer.java
4437 (hasArray): Only not read-only buffers have backing arrays.
4438 * java/nio/LongBuffer.java
4439 (hasArray): Only not read-only buffers have backing arrays.
4440 * java/nio/ShortBuffer.java
4441 (hasArray): Only not read-only buffers have backing arrays.
4442
4443 2003-02-19 Michael Koch <konqueror@gmx.de>
4444
4445 * javax/accessibility/AccessibleContext.java
4446 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4447
4448 2003-02-19 Michael Koch <konqueror@gmx.de>
4449
4450 * java/awt/ScrollPaneAdjustable.java: Reformated.
4451
4452 2003-02-19 Michael Koch <konqueror@gmx.de>
4453
4454 * gnu/awt/j2d/Graphics2DImpl.java
4455 (getFontRenderContext): New method.
4456 (drawGlyphVector): New method.
4457 * java/awt/Graphics2D.java
4458 (getFontRenderContext): New abstract method.
4459 (drawGlyphVector): New abstract method.
4460
4461 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4462
4463 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4464 if necessary.
4465
4466 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4467 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4468 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4469 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4470 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4471 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4472 (setFont, gtkSetFont): add.
4473 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4474 Propagate font to peer. (setFont): add FIXME comment.
4475
4476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4477 (gtkTextGetSize): fix height, width computation.
4478
4479 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4480 Make X font name a bit less bogus.
4481
4482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4483 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4484
4485 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4486 (processAdjustmentEvent): Adjust value.
4487
4488 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4489 logic errors.
4490
4491 * java/awt/Component.java (setVisible, show, hide): Call show and
4492 hide methods in subclasses.
4493 (getPreferredSize): don't set prefSize before we have peer.
4494
4495 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4496 Guess (0,0) if we don't have peer.
4497
4498
4499 2003-02-18 Michael Koch <konqueror@gmx.de>
4500
4501 * java/nio/channels/FileChannel.java
4502 (toString): New implementation, added documentation.
4503 (map): Added exception documentation.
4504 (size): Added exception documentation.
4505 (write): New methods, documentation work.
4506 (read): New methods, documentation work.
4507 (implCloseChannel): Rewrote exception documentation.
4508 (force): Throws IOException, added documentation.
4509 (lock): New methods.
4510 (tryLock): New methods.
4511 (position): New methods.
4512 (transferTo): New method.
4513 (transferFrom): New method.
4514 (truncate): New method.
4515 * java/nio/channels/spi/SelectorProvider.java
4516 (provider): Implemented.
4517 * Makefile.am
4518 (ordinary_java_source_files): Added the following files:
4519 gnu/java/nio/DatagramChannelImpl.java
4520 gnu/java/nio/FileChannelImpl.java
4521 gnu/java/nio/PipeImpl.java
4522 gnu/java/nio/SelectionKeyImpl.java
4523 gnu/java/nio/SelectorImpl.java
4524 gnu/java/nio/SelectorProviderImpl.java
4525 gnu/java/nio/ServerSocketChannelImpl.java
4526 gnu/java/nio/SocketChannelImpl.java
4527 java/nio/channels/FileLock.java
4528 (nat_java_source_files): Added the following files:
4529 gnu/java/nio/natFileChannelImpl.cc
4530 gnu/java/nio/natSelectorImpl.cc
4531 gnu/java/nio/natSocketChannelImpl.cc
4532 * Makefile.in: Regenerated.
4533
4534 2003-02-17 Tom Tromey <tromey@redhat.com>
4535
4536 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4537 * java/awt/image/ImageFilter.java: Likewise.
4538
4539 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4540
4541 * java/math/BigInteger.java (euclidInv): Return array of
4542 `BigInteger's. Changed all callers.
4543
4544 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4545
4546 * java/util/Properties.java (store): Move the code formerly in
4547 list(), into this method.
4548 (list (PrintStream)): Just call list (PrintWriter) with a
4549 PrintWriter object constructed from the given PrintStream object.
4550 (list (PrintWriter)): Emulate the output of Properties.list()
4551 as found in JDK 1.3/1.4.
4552
4553 2003-02-17 Michael Koch <konqueror@gmx.de>
4554
4555 * java/net/DatagramSocket.java
4556 (connect): Merged with classpath.
4557 (disconnect): Merged documentation with classpath.
4558 (receice): Merged documentation with classpath.
4559 (send): Merged documentation with classpath.
4560
4561 2003-02-17 Michael Koch <konqueror@gmx.de>
4562
4563 * java/awt/dnd/DragSourceContext.java
4564 (addDragSourceListener): Added documentation.
4565 * java/awt/dnd/DragSourceDragEvent.java
4566 (serialVersionUID): New member variable.
4567 (getDropAction): Reformated.
4568 * java/awt/dnd/DragSourceDropEvent.java
4569 (serialVersionUID): New member variable.
4570 (dropSuccess): Renamed from success for serialization issues.
4571 * java/awt/dnd/DragSourceEvent.java
4572 (serialVersionUID): New member variable.
4573 * java/awt/dnd/DropTarget.java
4574 (serialVersionUID): New member variable.
4575 (DropTarget): Implemented, documentation reworked.
4576 (setComponent): Documentation added.
4577 (getComponent): Documentation added.
4578 (setDefaultActions): Documentation added.
4579 (getDefaultActions): Documentation added.
4580 (addDropTargetListener): Documentation added.
4581 * java/awt/dnd/DropTargetContext.java
4582 (DropTargetContext): Documentation added.
4583 (TransferableProxy.TransferableProxy): New method.
4584 (dropComplete): Fixed documentation.
4585 (getTransferable): Fixed documentation.
4586 (createTransferableProxy): Implemented.
4587 * java/awt/dnd/DropTargetDragEvent.java
4588 (DropTargetDragEvent): Documentation added.
4589 (serialVersionUID): New member variable.
4590 (DropTargetDragEvent): Throw exceptions, documentation added.
4591 (acceptDrag): Implemented.
4592 (getCurrentDataFlavors): Implemented.3yy
4593 (getCurrentDataFlavorsAsList): Implemented.
4594 (isDataFlavorSupported): Implemented.
4595 (rejectDrag): Implemented.
4596 * java/awt/dnd/DropTargetDropEvent.java
4597 (DropTargetDropEvent): Documentation added.
4598 (serialVersionUID): New member variable.
4599 (actions): Renamed from srcActions for serialization issues.
4600 (isLocalTx): Renamed from isLocalTx for serialization issues.
4601 (DropTargetDropEvent): New implementation, throw exceptions,
4602 documentation added.
4603 (getCurrentDataFlavors): Implemented.
4604 (getCurrentDataFlavorsAsList): Implemented.
4605 (isDataFlavorSupported): Implemented.
4606 (getSourceActions): Implemented.
4607 (getDropAction): Implemented.
4608 (getTransferable): Implemented.
4609 (acceptDrop): Implemented.
4610 (rejectDrop): Implemented.
4611 * java/awt/dnd/DropTargetListener.java
4612 (drop): Fixed documentation.
4613 * java/awt/dnd/MouseDragGestureRecognizer.java
4614 (MouseDragGestureRecognizer): Documentation added.
4615
4616 2003-02-17 Michael Koch <konqueror@gmx.de>
4617
4618 * java/awt/font/FontRenderContext.java,
4619 java/awt/font/ShapeGraphicAttribute.java,
4620 java/awt/font/MultipleMaster.java,
4621 java/awt/font/TransformAttribute.java,
4622 java/awt/font/GlyphJustificationInfo.java,
4623 java/awt/font/LineBreakMeasurer.java,
4624 java/awt/font/TextMeasurer.java,
4625 java/awt/font/TextLayout.java,
4626 java/awt/font/LineMetrics.java,
4627 java/awt/font/TextAttribute.java,
4628 java/awt/font/GlyphMetrics.java,
4629 java/awt/font/OpenType.java,
4630 java/awt/font/GlyphVector.java,
4631 java/awt/font/GraphicAttribute.java,
4632 java/awt/font/ImageGraphicAttribute.java,
4633 java/awt/font/NumericShaper.java: New files.
4634 * Makefile.am
4635 (awt_java_source_files): Added the following files:
4636 java/awt/font/FontRenderContext.java
4637 java/awt/font/ShapeGraphicAttribute.java
4638 java/awt/font/MultipleMaster.java
4639 java/awt/font/TransformAttribute.java
4640 java/awt/font/GlyphJustificationInfo.java
4641 java/awt/font/LineBreakMeasurer.java
4642 java/awt/font/TextMeasurer.java
4643 java/awt/font/TextLayout.java
4644 java/awt/font/LineMetrics.java
4645 java/awt/font/TextAttribute.java
4646 java/awt/font/GlyphMetrics.java
4647 java/awt/font/OpenType.java
4648 java/awt/font/GlyphVector.java
4649 java/awt/font/GraphicAttribute.java
4650 java/awt/font/ImageGraphicAttribute.java
4651 java/awt/font/NumericShaper.java
4652 * Makefile.in: Regenerated.
4653
4654 2003-02-17 Michael Koch <konqueror@gmx.de>
4655
4656 * java/awt/print/Paper.java
4657 (Paper): Implements Cloneable.
4658 * java/awt/print/PrinterJob.java
4659 (setJobName): Return value must be void.
4660 (print): Throws PrinterException.
4661
4662 2003-02-16 Tom Tromey <tromey@redhat.com>
4663
4664 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4665 variable.
4666
4667 2003-02-15 Michael Koch <konqueror@gmx.de>
4668
4669 * java/awt/datatransfer/DataFlavor.java
4670 (isRepresentationClassByteBuffer): Removed try-catch block.
4671 (isRepresentationClassCharBuffer): Removed try-catch block.
4672 (isRepresentationClassReader): Removed try-catch block.
4673
4674 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4675
4676 * java/nio/charset/Charset.java
4677 (isRegistered): Fixed method args and implementation.
4678 * java/nio/charset/CharsetEncoder.java
4679 (unmappableCharacterAction): New method.
4680
4681 2003-02-15 Michael Koch <konqueror@gmx.de>
4682
4683 * java/awt/CheckboxMenuItem.java
4684 (CheckBoxMenuItem): Dont implement Serializable.
4685 (getListeners): New method,
4686 (getItemListeners): New method.
4687 * java/awt/Choice.java
4688 (getListeners): New method,
4689 (getItemListeners): New method.
4690 * java/awt/Container.java
4691 (getListeners): Added exception documentation.
4692 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4693 (getFocusTraversalKeys): Added documentation.
4694 (areFocusTraversalKeysSet): Added documentation.
4695 (applyComponentOrientation): Added documentation.
4696 * java/awt/ContainerOrderFocusTraversalPolicy.java
4697 (implicitDownCycleTraversal): Renamed from downCycle for
4698 serialization.
4699 (ContainerOrderFocusTraversalPolicy): Added documentation.
4700 (accept): Reformated.
4701 * java/awt/Dialog.java
4702 (Dialog): Dont implement Serializable.
4703 (Dialog): Added documentation.
4704 * java/awt/Font.java
4705 (Font): Dont use absolute class name.
4706 * java/awt/Frame.java
4707 (Frame): Font implement Serializable.
4708 * java/awt/List.java
4709 (getListeners): New method,
4710 (getActionListeners): New method.
4711 (getItemListeners): New method.
4712 * java/awt/Menu.java
4713 (countItems): New deprecated method.
4714 * java/awt/Scrollbar.java
4715 (getListeners): New method,
4716 (getAdjustmentListeners): New method,
4717 * java/awt/TextComponent.java
4718 (getListeners): New method,
4719 (getTextListeners): New method,
4720 * java/awt/TextField.java
4721 (getListeners): New method,
4722 (getActionListeners): New method.
4723 * java/awt/Window.java
4724 (windowFocusListener): New member variable.
4725 (windowStateListener): New member variable.
4726 (getWindowFocusListeners): New method.
4727 (getWindowStateListeners): New method.
4728 (addWindowFocusListener): New method.
4729 (addWindowStateListener): New method.
4730 (removeWindowFocusListener): New method.
4731 (removeWindowStateListener): New method.
4732 * java/awt/datatransfer/DataFlavor.java
4733 (isRepresentationClassByteBuffer): New method.
4734 (isRepresentationClassCharBuffer): New method.
4735 (isRepresentationClassReader): New method.
4736
4737 2003-02-14 Mark Wielaard <mark@klomp.org>
4738
4739 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4740 zero when there is an exponent and the significant is zero.
4741 (divide): Always set scale to newScale even in special ZERO case.
4742
4743 2003-02-14 Tom Tromey <tromey@redhat.com>
4744
4745 * java/lang/System.java (properties): Use Properties.clone.
4746 (setProperties): Likewise.
4747
4748 2003-02-14 Michael Koch <konqueror@gmx.de>
4749
4750 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4751 * gnu/java/nio/ServerSocketChannelImpl.java
4752 (SocketAccept): Removed.
4753 (accept): Commented out use of SocketAccept.
4754
4755 2003-02-13 Tom Tromey <tromey@redhat.com>
4756
4757 * verify.cc (state::seen_subrs): New field.
4758 (state::state): Initialize it.
4759 (state::clean_subrs): New method.
4760 (state::~state): Call it.
4761 (state::copy): Copy subroutine list.
4762 (state::add_subr): New method.
4763 (state::merge): Only register a change if the current subroutine
4764 hasn't yet been noted.
4765
4766 2003-02-13 Mark Wielaard <mark@klomp.org>
4767
4768 * java/io/InputStreamReader.java (getEncoding): Return null when
4769 closed.
4770 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4771
4772 2003-02-13 Mark Wielaard <mark@klomp.org>
4773
4774 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4775 is zero.
4776
4777 2003-02-13 Mark Wielaard <mark@klomp.org>
4778
4779 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4780 next byte cannot be buffered.
4781
4782 2003-02-13 Michael Koch <konqueror@gmx.de>
4783
4784 * java/awt/Label.java
4785 (Label): Don't implement Serializable directly.
4786 (addNotify): Fixed typo in documentation.
4787 * java/awt/List.java
4788 (List): Don't implement Serializable directly.
4789 * java/awt/PopupMenu.java
4790 (PopupMenu): Don't implement Serializable directly.
4791 * java/awt/ScrollPane.java
4792 (ScrollPane): Don't implement Serializable directly.
4793 * java/awt/Scrollbar.java
4794 (Scrollbar): Don't implement Serializable directly.
4795 * java/awt/TextArea.java
4796 (preferredSize): Fixed method arguments.
4797 * java/awt/TextField.java
4798 (TextField): Don't implement Serializable directly.
4799 * java/awt/color/ICC_ColorSpace.java
4800 (fromCIOXYZ): Documentation added.
4801 (getMinValue): Documentation added.
4802 (getMaxValue): Documentation added.
4803 * java/awt/datatransfer/DataFlavor.java
4804 (isMimeTypeEqual): May not be final.
4805 (clone): Throws CloneNotSupportedException.
4806 (getReaderForText): Don't throws UnsupportedEncodingException.
4807
4808 2003-02-13 Michael Koch <konqueror@gmx.de>
4809
4810 * gnu/java/awt/peer/gtk/GdkGraphics.java
4811 (drawString): New stubbed method.
4812 * java/awt/Graphics.java
4813 (drawString): New method.
4814
4815 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4816
4817 PR libgcj/9271:
4818 * java/security/SecureRandom.java (next): Avoid bias in results.
4819
4820 2003-02-13 Michael <konqueror@gmx.de>
4821
4822 * gnu/java/nio/FileChannelImpl.java
4823 (lengthInternal): Must be native.
4824 (size): Check if channel is already closed.
4825 (implCloseChannel): Reformated.
4826 (read): w was unused, removed it.
4827 (read): Removed.
4828 (read): New method.
4829 (write): New method.
4830 (map): Check arguments.
4831 (force): Throws IOException, check if channel is closed.
4832 (transferTo): New method.
4833 (transferFrom): New method.
4834 (lock): New method.
4835 (tryLock): New method.
4836 (position): New method.
4837 (truncate): New method.
4838 (nio_mmap_file): Uncommented.
4839 (nio_munmap_file): Uncommented.
4840 (nio_msync): Uncommented.
4841 * gnu/java/nio/natFileChannelImpl.cc: New file.
4842
4843 2003-02-13 Michael Koch <konqueror@gmx.de>
4844
4845 * java/nio/ByteBuffer.java
4846 (endian): New member variable.
4847 (get): New methods.
4848 (equals): New method.
4849 (compareTo): New method.
4850 (order): New methods.
4851 (compact): New method.
4852 (isDirect): New method.
4853 (slice): New method.
4854 (duplicate): New method.
4855 (asReadOnlyBuffer): New method.
4856 (asCharBuffer): New method.
4857 (asDoubleBuffer): New method.
4858 (asFloatBuffer): New method.
4859 (asIntBuffer): New method.
4860 (asLongBuffer): New method.
4861 (asShortBuffer): New method.
4862 (get*): New methods.
4863 (put*): New methods.
4864 (toString): New method.
4865 * java/nio/CharBuffer.java
4866 (CharBuffer): Implement Comparable instead of Cloneable.
4867 (get): May not be final.
4868 (put): May not be final.
4869
4870 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4871
4872 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4873 lastIndexOf( ) instead of indexOf( ) to find the colon before
4874 the line number, because Win32 file names might contain a
4875 drive letter and a colon at the start of an absolute path.
4876
4877 2003-02-13 Michael Koch <konqueror@gmx.de>
4878
4879 * gnu/java/nio/natSocketChannelImpl.cc
4880 (SocketConnect): This is not implemented yet.
4881 (SocketBind): This is not implemented yet.
4882
4883 2003-02-13 Michael Koch <konqueror@gmx.de>
4884
4885 * gnu/java/nio/natByteBufferImpl.cc,
4886 gnu/java/nio/natCharBufferImpl.cc,
4887 gnu/java/nio/natDoubleBufferImpl.cc,
4888 gnu/java/nio/natFloatBufferImpl.cc,
4889 gnu/java/nio/natIntBufferImpl.cc,
4890 gnu/java/nio/natLongBufferImpl.cc,
4891 gnu/java/nio/natShortBufferImpl.cc:
4892 Added copyright and license.
4893 * java/nio/DoubleBuffer.java,
4894 java/nio/FloatBuffer.java,
4895 java/nio/IntBuffer.java,
4896 java/nio/LongBuffer.java,
4897 java/nio/ShortBuffer.java
4898 (array): Throw exceptions.
4899 (arrayOffset): Throw exceptions.
4900
4901 2003-02-13 Michael Koch <konqueror@gmx.de>
4902
4903 * gnu/java/util/prefs/FileBasedFactory.java,
4904 gnu/java/util/prefs/MemmoryBasedFactory.java,
4905 gnu/java/util/prefs/MemoryBasedPreferences.java,
4906 gnu/java/util/prefs/NodeReader.java,
4907 gnu/java/util/prefs/NodeWriter.java,
4908 java/util/prefs/AbstractPreferences.java,
4909 java/util/prefs/BackingStoreException.java,
4910 java/util/prefs/InvalidPreferencesFormatException.java,
4911 java/util/prefs/NodeChangeEvent.java,
4912 java/util/prefs/NodeChangeListener.java,
4913 java/util/prefs/PreferenceChangeEvent.java,
4914 java/util/prefs/PreferenceChangeListener.java,
4915 java/util/prefs/Preferences.java,
4916 java/util/prefs/PreferencesFactory.java:
4917 New files, all merged from classpath.
4918 * Makefile.am
4919 (ordinary_java_source_files): Added the following files:
4920 gnu/java/util/prefs/FileBasedFactory.java,
4921 gnu/java/util/prefs/MemmoryBasedFactory.java,
4922 gnu/java/util/prefs/MemoryBasedPreferences.java,
4923 gnu/java/util/prefs/NodeReader.java,
4924 gnu/java/util/prefs/NodeWriter.java,
4925 (core_java_source_files): Added the following files:
4926 java/util/prefs/AbstractPreferences.java,
4927 java/util/prefs/BackingStoreException.java,
4928 java/util/prefs/InvalidPreferencesFormatException.java,
4929 java/util/prefs/NodeChangeEvent.java,
4930 java/util/prefs/NodeChangeListener.java,
4931 java/util/prefs/PreferenceChangeEvent.java,
4932 java/util/prefs/PreferenceChangeListener.java,
4933 java/util/prefs/Preferences.java,
4934 java/util/prefs/PreferencesFactory.java
4935 * Makefile.in: Regenerated.
4936
4937 2003-02-13 Michael Koch <konqueror@gmx.de>
4938
4939 * java/net/NetPermission.java
4940 (NetPermission): Make doucmentation match the method declaration.
4941 * java/net/NetworkInterface.java
4942 (equals): Reformated for GNU coding style.
4943 * java/net/ServerSocket.java: Merged with classpath.
4944 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4945 * java/net/SocketImpl.java
4946 (localPort): Merged with classpath (initialize with -1).
4947 * java/net/SocketPermission.java: Merged with classpath (reindented).
4948 * java/net/URLDecoder.java: Merged with classpath (reindented).
4949
4950 2003-02-13 Michael Koch <konqueror@gmx.de>
4951
4952 * java/awt/GridBagConstraints.java
4953 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4954 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4955 * java/awt/KeyboardFocusManager.java
4956 (setGlobalCurrentFocusCycleRoot): Must be public.
4957 * java/awt/MenuComponent.java
4958 (MenuComponent): Must be public.
4959 * java/awt/Toolkit.java:
4960 Added some empty lines to make documentation more readable.
4961 (getFontPeer): Added @deprecated.
4962 (getColorModel): Added exception documentation.
4963 (getProperty): Fixed documentation.
4964
4965 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4966
4967 * configure.host (alpha*-*): Default to -mieee.
4968 * configure.in (IEEESPEC): New.
4969 * libgcj.spec.in (jc1): Add IEEESPEC.
4970 * configure: Rebuild.
4971
4972 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4973
4974 * include/win32.h: Include ws2tcpip.h instead of
4975 winsock.h to obtain definition of the socklen_t type.
4976 Remove IP_TOS definition - not needed with ws2tcpip.h
4977 (_Jv_connect): Correct slight formatting error.
4978
4979 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4980
4981 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4982 size of the arguments for a JNI function. For Win32,
4983 modify to search for all forms of possible exported
4984 names of an stdcall JNI function.
4985 (_Jv_JNIMethod::call): Modify to calculate the size
4986 of the arguments passed to a JNI function and pass
4987 it to _Jv_LookupJNIMethod.
4988
4989 2003-02-12 Michael Koch <konqueror@gmx.de>
4990
4991 * java/nio/channels/Channels.java: New file.
4992 * Makefile.am
4993 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4994 * Makefile.in: Regenerated.
4995
4996 2003-02-12 Michael Koch <konqueror@gmx.de>
4997
4998 * java/nio/ByteBuffer.java
4999 (allocate): Implemented.
5000 (wrap): Implemented.
5001 * java/nio/CharBuffer.java:
5002 Some documentation added and reworked.
5003 (endian): Removed.
5004 (allocate): Implemented.
5005 (wrap): Implemented.
5006 (array): Throw exceptions.
5007 (arrayOffset): Throw exceptions.
5008 (toString): Implemented.
5009 (length): Implemented.
5010 (put): Implemented.
5011 (charAt): Implemented.
5012
5013 2003-02-11 John Leuner <jewel@debian.org>
5014
5015 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5016 reads from end of file.
5017
5018 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5019
5020 * java/io/natFileDescriptorWin32.cc
5021 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5022 returns with Win32 error code ERROR_BROKEN_PIPE.
5023
5024 2003-02-11 Michael Koch <konqueror@gmx.de>
5025
5026 * Makefile.in
5027 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5028
5029 2003-02-11 Michael Koch <konqueror@gmx.de>
5030
5031 * gnu/java/nio/ByteBufferImpl.java:
5032 Reformated and removed some code.
5033 (backing_buffer): Removed.
5034 (array_offset): Removed.
5035 (ro): Renamed to readOnly.
5036 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5037 * gnu/java/nio/CharBufferImpl.java:
5038 Reformated and removed some code.
5039 (array_offset): Removed.
5040 (ro): Renamed to readOnly.
5041 (CharBufferImpl): Use parent constructor, initialize readOnly.
5042 (inc_pos): Removed.
5043 (order): New method.
5044 * gnu/java/nio/DoubleBufferImpl.java:
5045 Reformated and removed some code.
5046 (array_offset): Removed.
5047 (ro): Renamed to readOnly.
5048 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5049 (inc_pos): Removed.
5050 (order): New method.
5051 * gnu/java/nio/FloatBufferImpl.java:
5052 Reformated and removed some code.
5053 (array_offset): Removed.
5054 (ro): Renamed to readOnly.
5055 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5056 (inc_pos): Removed.
5057 (order): New method.
5058 * gnu/java/nio/IntBufferImpl.java:
5059 Reformated and removed some code.
5060 (array_offset): Removed.
5061 (ro): Renamed to readOnly.
5062 (IntBufferImpl): Use parent constructor, initialize readOnly.
5063 (inc_pos): Removed.
5064 (order): New method.
5065 * gnu/java/nio/LongBufferImpl.java:
5066 Reformated and removed some code.
5067 (array_offset): Removed.
5068 (ro): Renamed to readOnly.
5069 (LongBufferImpl): Use parent constructor, initialize readOnly.
5070 (inc_pos): Removed.
5071 (order): New method.
5072 * gnu/java/nio/ShortBufferImpl.java:
5073 Reformated and removed some code.
5074 (array_offset): Removed.
5075 (ro): Renamed to readOnly.
5076 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5077 (inc_pos): Removed.
5078 (order): New method.
5079 * Makefile.am
5080 (ordinary_java_source_files): Added the following files:
5081 gnu/java/nio/ByteBufferImpl.java
5082 gnu/java/nio/CharBufferImpl.java
5083 gnu/java/nio/DoubleBufferImpl.java
5084 gnu/java/nio/FloatBufferImpl.java
5085 gnu/java/nio/IntBufferImpl.java
5086 gnu/java/nio/LongBufferImpl.java
5087 gnu/java/nio/ShortBufferImpl.java
5088 java/nio/DoubleBuffer.java
5089 java/nio/FloatBuffer.java
5090 java/nio/IntBuffer.java
5091 java/nio/LongBuffer.java
5092 java/nio/ShortBuffer.java
5093 (nat_source_files): Added the following files:
5094 gnu/java/nio/natByteBufferImpl.cc
5095 gnu/java/nio/natCharBufferImpl.cc
5096 gnu/java/nio/natDoubleBufferImpl.cc
5097 gnu/java/nio/natFloatBufferImpl.cc
5098 gnu/java/nio/natIntBufferImpl.cc
5099 gnu/java/nio/natLongBufferImpl.cc
5100 gnu/java/nio/natShortBufferImpl.cc
5101 * Makefile.in: Regenerated.
5102
5103 2003-02-11 Michael Koch <konqueror@gmx.de>
5104
5105 * gnu/java/nio/natCharBufferImpl.cc
5106 (nio_cast): Removed.
5107 (nio_put_*): Removed.
5108 (nio_get_*): Removed.
5109 * gnu/java/nio/natDoubleBufferImpl.cc
5110 (nio_cast): Removed.
5111 (nio_put_*): Removed.
5112 (nio_get_*): Removed.
5113 * gnu/java/nio/natFloatBufferImpl.cc
5114 (nio_cast): Removed.
5115 (nio_put_*): Removed.
5116 (nio_get_*): Removed.
5117 * gnu/java/nio/natIntBufferImpl.cc
5118 (nio_cast): Removed.
5119 (nio_put_*): Removed.
5120 (nio_get_*): Removed.
5121 * gnu/java/nio/natLongBufferImpl.cc
5122 (nio_cast): Removed.
5123 (nio_put_*): Removed.
5124 (nio_get_*): Removed.
5125 * gnu/java/nio/natShortBufferImpl.cc
5126 (nio_cast): Removed.
5127 (nio_put_*): Removed.
5128 (nio_get_*): Removed.
5129 * gnu/java/nio/SelectorProviderImpl.java
5130 (openDatagramChannel): Throws IOException.
5131 (openPipe): Throws IOException.
5132 (openSelector): Throws IOException.
5133 (openServerSocketChannel): Throws IOException.
5134 (openSocketChannel): Throws IOException.
5135 * gnu/java/nio/ServerSocketChannelImpl.java
5136 (ServerSocketChannelImpl): Throws IOException.
5137 (implCloseSelectableChannel): Throws IOException.
5138 (implConfigureBlocking): Throws IOException.
5139 * java/nio/ByteBuffer.java
5140 (readOnly): Removed.
5141 (hasArray): Use isReadOnly() instead of readOnly.
5142 (array): Use isReadOnly() instead of readOnly.
5143 (arrayOffset): Use isReadOnly() instead of readOnly.
5144 * java/nio/CharBuffer.java
5145 (CharBuffer): Implements Cloneable and CharSequence.
5146
5147 2003-02-11 Michael Koch <konqueror@gmx.de>
5148
5149 * java/nio/DoubleBuffer.java
5150 (DoubleBuffer): Implements Comparable.
5151 (endian): Removed.
5152 (array_offset): New member variable.
5153 (DoubleBuffer): New constuctor.
5154 (get): May not be final.
5155 (put): May not be final.
5156 (arrayOffset): Implemented.
5157 (order): Made abstract.
5158 (order): Removed.
5159 (as*Buffer): Removed.
5160 (get*): Removed.
5161 (put*): Removed.
5162 * java/nio/FloatBuffer.java
5163 (FloatBuffer): Implements Comparable.
5164 (endian): Removed.
5165 (array_offset): New member variable.
5166 (FloatBuffer): New constuctor.
5167 (get): May not be final.
5168 (put): May not be final.
5169 (arrayOffset): Implemented.
5170 (order): Made abstract.
5171 (order): Removed.
5172 (as*Buffer): Removed.
5173 (get*): Removed.
5174 (put*): Removed.
5175 * java/nio/IntBuffer.java
5176 (IntBuffer): Implements Comparable.
5177 (endian): Removed.
5178 (array_offset): New member variable.
5179 (IntBuffer): New constuctor.
5180 (get): May not be final.
5181 (put): May not be final.
5182 (arrayOffset): Implemented.
5183 (order): Made abstract.
5184 (order): Removed.
5185 (as*Buffer): Removed.
5186 (get*): Removed.
5187 (put*): Removed.
5188 * java/nio/LongBuffer.java
5189 (LongBuffer): Implements Comparable.
5190 (endian): Removed.
5191 (array_offset): New member variable.
5192 (LongBuffer): New constuctor.
5193 (get): May not be final.
5194 (put): May not be final.
5195 (arrayOffset): Implemented.
5196 (order): Made abstract.
5197 (order): Removed.
5198 (as*Buffer): Removed.
5199 (get*): Removed.
5200 (put*): Removed.
5201 * java/nio/ShortBuffer.java
5202 (ShortBuffer): Implements Comparable.
5203 (endian): Removed.
5204 (array_offset): New member variable.
5205 (ShortBuffer): New constuctor.
5206 (get): May not be final.
5207 (put): May not be final.
5208 (arrayOffset): Implemented.
5209 (order): Made abstract.
5210 (order): Removed.
5211 (as*Buffer): Removed.
5212 (get*): Removed.
5213 (put*): Removed.
5214
5215 2003-02-11 Michael Koch <konqueror@gmx.de>
5216
5217 * java/nio/channels/SelectionKey.java
5218 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5219 values.
5220
5221 2003-02-11 Michael Koch <konqueror@gmx.de>
5222
5223 * java/nio/channels/DatagramChannel.java
5224 (write): Throws IOException.
5225 (connect): Throws IOException.
5226 (disconnect): Throws IOException.
5227 (read): Throws IOException.
5228 (receive): Throws IOException.
5229 (send): Throws IOException.
5230 * java/nio/channels/Pipe.java
5231 (open): Throws IOException.
5232 * java/nio/channels/SelectableChannel.java
5233 (configureBlocking): Throws IOException.
5234 * java/nio/channels/ServerSocketChannel.java
5235 (accept): Throws IOException.
5236 * java/nio/channels/SocketChannel.java
5237 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5238 GatheringByteChannel.
5239 (read): Throws IOException.
5240 (write): Throws IOException.
5241 (finishConnect): Throws IOException.
5242 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5243 (end): Throws AsynchronousCloseException.
5244 * java/nio/channels/spi/AbstractSelectableChannel.java
5245 (configureBlocking): Throws IOException.
5246 (implCloseChannel): Throws IOException.
5247 (implCloseSelectableChannel): Throws IOException.
5248 (implConfigureBlocking): Throws IOException.
5249 * java/nio/channels/spi/SelectorProvider.java
5250 (openDatagramChannel): Throws IOException.
5251 (openPipe): Throws IOException.
5252 (openSelector): Throws IOException.
5253 (openServerSocketChannel): Throws IOException.
5254 (openSocketChannel): Throws IOException.
5255
5256 2003-02-11 Michael Koch <konqueror@gmx.de>
5257
5258 * gnu/java/nio/FileLockImpl.java,
5259 java/nio/channels/FileLock.java: New files.
5260
5261 2003-02-11 Michael Koch <konqueror@gmx.de>
5262
5263 * java/nio/charset/IllegalCharsetNameException.java
5264 (serialVersionUID): New member variable.
5265 (charsetName): New member variable.
5266 (IllegalCharsetException): New implementation.
5267 (getCharsetName): New implementation.
5268 * java/nio/charset/UnsupportedCharsetException.java
5269 (serialVersionUID): New member variable.
5270 (charsetName): New member variable.
5271 (UnsupportedCharsetException): New implementation.
5272 (getCharsetName): New implementation.
5273
5274 2003-02-10 Tom Tromey <tromey@redhat.com>
5275
5276 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5277 (ex): Renamed from sqlException.
5278
5279 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5280
5281 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5282 method used to ensure seeding has occurred and that a specific
5283 seed can be set and used.
5284
5285 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5286
5287 * java/lang/Win32Process.java (destroy): Declare as native.
5288 (hasExited): New native method.
5289 (exitValue): Define.
5290 (getErrorStream): Likewise.
5291 (getInputStream): Likewise.
5292 (getOutputStream): Likewise.
5293 (waitFor): Declare as native.
5294 (startProcess): New native method.
5295 (cleanup): Likewise.
5296 (ConcreteProcess): Define.
5297 (outputStream, inputStream, errorStream): New members.
5298 (procHandle, exitCode): Likewise.
5299
5300 * java/lang/natWin32Process.cc
5301 (java::lang::ConcreteProcess::cleanup): Define.
5302 (java::lang::ConcreteProcess::destroy): Likewise.
5303 (java::lang::ConcreteProcess::hasExited): Likewise.
5304 (java::lang::ConcreteProcess::waitFor): Likewise.
5305 (new_string): Likewise.
5306 (java::lang::ConcreteProcess::startProcess): Likewise.
5307
5308 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5309
5310 * java/math/BigInteger.java:
5311 Updated notice to include years 2002 and 3.
5312 Added 2 private (int) arrays with values from the HAC (Handbook of
5313 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5314 and t[] that contains nbr. of tests --used in isProbablePrime().
5315
5316 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5317
5318 * java/math/BigInteger.java (make(int[],int), add(int,int),
5319 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5320 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5321 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5322 make(long).
5323
5324 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5325 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5326 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5327 BIs and returns void.
5328 (modInverse(BI)): Use new signatures of euclidInv().
5329
5330 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5331 static small primes instead of remainder().
5332 Use pre-computed max nbr of trials based on bitlength of BI to test.
5333 Use pre-computed small primes for the trial tests instead of random
5334 numbers.
5335
5336 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5337 not used.
5338
5339 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5340 invoacation of MPN.chars_per_word(). not used.
5341
5342 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5343 local var and used where needed.
5344
5345 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5346 Combined declaration with initialisation of locals.
5347 Removed unused var.
5348
5349 * java/math/BigInteger.java: Style changes
5350 (pow(int)): Removed 'else' keyword.
5351 (toString(int)): idem.
5352 (doubleValue()): idem.
5353 (bitLength()): idem.
5354 (equals(Object)): Use static methods name in same class w/o prepending
5355 class name.
5356 (doubleValue()): idem.
5357 (setNegative(BI)): idem.
5358 (negate()): idem.
5359 (and(BI,int)): idem.
5360 (and(BI)): idem.
5361 (gcd(BI)): idem.
5362 (byteArrayToIntArray()): Removed casting to (int). this is
5363 std. behaviour.
5364 (canonicalize()): idem.
5365 (alloc(int)): Always instantiate a new BI.
5366
5367 2003-02-10 Tom Tromey <tromey@redhat.com>
5368
5369 * java/sql/Timestamp.java (compareTo(Object)): New method.
5370 (compareTo(Timestamp)): Likewise.
5371 (serialVersionUID): Updated.
5372
5373 2003-02-07 Mark Wielaard <mark@klomp.org>
5374
5375 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5376 when verify is true.
5377 (JarFile(File, boolean)): Likewise.
5378 (manifestRead): Set manifestRead field correctly.
5379
5380 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5381
5382 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5383 tests; see patch #1016 on Savannah.
5384
5385 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5386
5387 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5388 (toString): do not return Strings starting with . and - erroneously.
5389 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5390 DiagBigDecimal.
5391
5392 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5393
5394 * java/beans/PropertyDescriptor.java
5395 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5396 methods.
5397 (PropertyDescriptor(String, Class, String, String)): Likewise.
5398 (PropertyDescriptor(String, Method, Method): Factor out getter and
5399 setter method sanity checks into new method.
5400 (findMethods): Don't do parameter sanity checking of get method here.
5401 (checkMethods): New method.
5402
5403 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5404
5405 * java/beans/PropertyDescriptor.java: Reformat.
5406
5407 2003-02-04 Tom Tromey <tromey@redhat.com>
5408
5409 * java/io/PipedOutputStream.java (flush): Declare as throwing
5410 IOException.
5411 (close): Likewise.
5412 * java/io/PipedWriter.java (close): Declare as throwing
5413 IOException.
5414 * java/io/StringWriter.java (close): Declare as throwing
5415 IOException.
5416
5417 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5418
5419 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5420 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5421 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5422 "_JNI_OnLoad@8" (MSVC).
5423
5424 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5425
5426 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5427 convention on Win32 to invoke native JNI methods.
5428
5429 2003-02-03 Andrew Haley <aph@redhat.com>
5430
5431 * configure.host (x86_64): Enable interpreter.
5432
5433 2003-02-03 Andrew Haley <aph@redhat.com>
5434
5435 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5436 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5437 * configure.in (BACKTRACESPEC): New.
5438 * configure: Regenerate.
5439
5440 2003-02-02 Tom Tromey <tromey@redhat.com>
5441
5442 * configure: Rebuilt.
5443 * configure.in (TOOLKIT) [xlib]: Set correctly.
5444
5445 * Makefile.in: Rebuilt.
5446 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5447 libstdc++.
5448
5449 2003-01-31 Mark WIelaard <mark@klomp.org>
5450
5451 * Makefile.in: Rebuilt.
5452 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5453
5454 2003-01-31 Tom Tromey <tromey@redhat.com>
5455
5456 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5457 cast to element type.
5458 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5459 (_Jv_JNI_GetObjectArrayElement): Likewise.
5460
5461 * Makefile.in: Rebuilt.
5462 * Makefile.am (cond_x_ltlibrary): Renamed library to
5463 lib-gnu-awt-xlib.la.
5464 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5465 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5466 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5467 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5468 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5469 (lib_gnu_awt_xlib_la_LINK): Likewise.
5470 (install-exec-hook): Removed.
5471 (lib-gnu-awt-xlib.la): Renamed.
5472
5473 2003-01-31 Tom Tromey <tromey@redhat.com>
5474
5475 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5476 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5477 aclocal.m4 and lost in some merge.
5478
5479 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5480 Don't try to find graphics configuration.
5481 * java/awt/Toolkit.java (default_toolkit_name): Use new
5482 Configuration entry.
5483 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5484 New global.
5485 * configure: Rebuilt.
5486 * configure.in (TOOLKIT): New subst.
5487 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5488 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5489 directory. Make output directories for .c files.
5490 * Makefile.in: Rebuilt.
5491 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5492 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5493 (all_java_source_files): Added new sources.
5494 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5495 (gtk_c_files): New macro.
5496 (gtk_c_source_files): New macro.
5497 (cond_gtk_ltlibrary): New macro.
5498 ($(gtk_c_files)): New target.
5499 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5500 (gtk_awt_peer_sources): New macro.
5501 (gtk_c_headers): New macro.
5502 ($(gtk_c_headers)): New target.
5503 (ACLOCAL_AMFLAGS): New macro.
5504 * gtk.m4, glib.m4, libart.m4: New files.
5505 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5506 gnu/java/awt/peer/gtk/GdkGraphics.java,
5507 gnu/java/awt/peer/gtk/GtkArg.java,
5508 gnu/java/awt/peer/gtk/GtkArgList.java,
5509 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5510 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5511 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5512 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5513 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5514 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5515 gnu/java/awt/peer/gtk/GtkClipboard.java,
5516 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5517 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5518 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5519 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5520 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5521 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5522 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5523 gnu/java/awt/peer/gtk/GtkImage.java,
5524 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5525 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5526 gnu/java/awt/peer/gtk/GtkListPeer.java,
5527 gnu/java/awt/peer/gtk/GtkMainThread.java,
5528 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5529 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5530 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5531 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5532 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5533 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5534 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5535 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5536 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5537 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5538 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5539 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5540 gnu/java/awt/peer/gtk/GtkToolkit.java,
5541 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5542 gnu/java/awt/peer/gtk/TestAWT.java,
5543 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5545 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5546 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5547 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5548 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5549 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5550 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5551 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5552 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5553 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5554 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5555 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5556 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5557 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5558 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5559 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5560 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5561 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5562 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5563 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5564 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5565 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5566 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5567 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5568 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5569 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5570 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5571 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5572 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5573 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5574 jni/classpath/native_state.c, jni/classpath/native_state.h,
5575 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5576
5577 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5578
5579 * java/util/Properties.java (load): Ignore backslash before EOF.
5580
5581 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5582
5583 * java/lang/natClass.cc (initializeClass): Check tables when
5584 (state == JV_STATE_IN_PROGRESS).
5585 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5586 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5587 interpreted classes.
5588 (linkClass0): Use _Jv_WaitForState.
5589
5590 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5591
5592 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5593 object when finished.
5594
5595 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5596
5597 * libjava/configure.host: Disable can_unwind_signal on darwin.
5598
5599 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5600
5601 Fixes PR java/9254:
5602 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5603 additionally containing id of the owner thread as well as
5604 the number of nested times the thread has acquired the mutex.
5605 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5606 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5607 (_Jv_MutexUnlock): Check if really the owner thread, reset
5608 owner thread id to 0 before leaving, if leaving for the last
5609 time.
5610 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5611 refcount.
5612 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5613 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5614 the passed mutex.
5615 Pass handle of the broadcast event, instead of a pointer to it
5616 in Win32 ResetEvent( ) call.
5617 Remove incorrect return values.
5618 (_Jv_CondDestroy): Close both event handles and delete
5619 critical section.
5620 (_Jv_CondNotify): Check if really the owner thread.
5621 (_Jv_CondNotifyAll): Check if really the owner thread.
5622 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5623 (really_start): Use SetEvent( ) to signal daemon_cond.
5624 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5625 WaitForSingleObject( ) instead to wait for daemon_cond to be
5626 signalled.
5627
5628 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5629
5630 * configure.in: Specifically define HAVE_BACKTRACE if building
5631 for MinGW.
5632 * include/win32.h: Remove HAVE_BACKTRACE definition.
5633 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5634 * configure: Rebuilt.
5635
5636 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5637
5638 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5639 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5640 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5641 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5642 * Makefile.in, configure: Rebuilt.
5643
5644 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5645
5646 Fixes PR java/9253:
5647 * java/io/natFileWin32.cc (performList): Append only "*.*"
5648 if the canonical file path already has a "\" at the end.
5649
5650 2003-01-24 Tom Tromey <tromey@redhat.com>
5651
5652 * defineclass.cc (handleMethodsEnd): Precompute code for static
5653 method.
5654 (handleCodeAttribute): Likewise.
5655 * resolve.cc (ncode): Use run_class for unsynchronized static
5656 methods.
5657 * include/java-interp.h (class _Jv_InterpMethod): Declare
5658 run_class.
5659 * interpret.cc (run_synch_class): Initialize class.
5660 (run) [insn_invokestatic]: Don't initialize class.
5661 [insn_anewarray]: Likewise.
5662 [insn_multianewarray]: Likewise.
5663 (run_class): New function.
5664
5665 2003-01-24 Tom Tromey <tromey@redhat.com>
5666
5667 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5668 comment.
5669
5670 2003-01-22 Andrew Haley <aph@redhat.com>
5671
5672 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5673 * configure.host (CHECKREFSPEC): Define for x86_64.
5674
5675 2003-01-21 Tom Tromey <tromey@redhat.com>
5676
5677 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5678 search at 2, not 3.
5679
5680 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5681
5682 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5683 looking at any characters.
5684 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5685 be used.
5686 (isAbsolute): Check path's length as well.
5687
5688 2003-01-17 Mark Wielaard <mark@klomp.org>
5689
5690 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5691 (nat_source_files): Add natVMObjectStreamClass.cc.
5692 * Makefile.in: Regenerated.
5693 * gcj/javaprims.h (namespace java): Regenerated.
5694 * java/io/ObjectStreamClass.java (getClassUID): Call
5695 VMObjectStreamClass.hasClassInitializer().
5696 (hasClassInitializer): Removed.
5697 * java/io/VMObjectStreamClass.java: New class.
5698 * java/io/natVMObjectStreamClass.cc: New file.
5699 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5700
5701 2003-01-16 Mark Wielaard <mark@klomp.org>
5702
5703 * java/net/SocketImpl.java (toString): Don't explicitly call
5704 toString() on possible null address.
5705
5706 2003-01-16 Michael Koch <konqueror@gmx.de>
5707
5708 * java/net/MulticastSocket.java
5709 (setInterface): Reindented.
5710
5711 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5712
5713 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5714 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5715 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5716 translateY arguments. Implement.
5717 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5718 down translation arguments.
5719 (drawPolyline, drawPolygon): Fix incorrect tests.
5720 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5721 translateX and translateY arguments.
5722
5723 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5724
5725 * Makefile.in: Rebuilt.
5726 * Makefile.am (xlib_includes): New macro.
5727 (INCLUDES): Use it.
5728
5729 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5730
5731 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5732 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5733 16-bit display mode.
5734
5735 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5736
5737 * java/awt/CardLayout.java (show): Rewrote.
5738 (gotoComponent): Removed `target' argument. Simplified code.
5739 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5740 Changed all callers.
5741 (NONE): Removed.
5742
5743 2003-01-14 Michael Koch <konqueror@gmx.de>
5744
5745 * java/net/InetSocketAddress.java
5746 (serialVersionUID): New member variable.
5747 * java/net/NetPermission.java
5748 (NetPermission): Dont implement java.io.Serialization directly.
5749 * java/net/SocketAddress.java:
5750 (serialVersionUID): Documentation added.
5751
5752 2003-01-14 Michael Koch <konqueror@gmx.de>
5753
5754 * java/awt/Label.java
5755 (Label): Implements javax.accessibility.Accessible;
5756 * java/awt/List.java
5757 (List): Implements javax.accessibility.Accessible;
5758 * java/awt/ScrollPane.java
5759 (ScrollPane): Implements javax.accessibility.Accessible;
5760 * java/awt/Scrollbar.java
5761 (Scrollbar): Implements javax.accessibility.Accessible;
5762 * java/awt/TextComponent.java
5763 (setCaretPosition): Throw exception, documentation added.
5764 * java/awt/Toolkit.java:
5765 Added some newlines in method documentations.
5766 (createButton): Exception documentation added.
5767 (createTextField): Exception documentation added.
5768 (createLabel): Exception documentation added.
5769 (createList): Exception documentation added.
5770 (createCheckbox): Exception documentation added.
5771 (createScrollbar): Exception documentation added.
5772 (createScrollPane): Exception documentation added.
5773 (createTextArea): Exception documentation added.
5774 (createChoice): Exception documentation added.
5775 (createFrame): Exception documentation added.
5776 (createWindow): Exception documentation added.
5777 (createDialog): Exception documentation added.
5778 (createMenuBar): Exception documentation added.
5779 (createMenu): Exception documentation added.
5780 (createMenuItem): Exception documentation added.
5781 (createFileDialog): Exception documentation added.
5782 (createCheckboxMenuItem): Exception documentation added.
5783 (loadSystemColors): Exception documentation added.
5784 (setDynamicLayout): Exception documentation added.
5785 (isDynamicLayoutSet): Exception documentation added.
5786 (isDynamicLayoutActive): Exception documentation added.
5787 (getScreenSize): Exception documentation added.
5788 (getScreenResolution): Exception documentation added.
5789 (getScreenInsets): Exception documentation added.
5790 (getColorModel): Exception documentation added.
5791 (getSystemClipboard): Exception documentation added.
5792 (getSystemSelection): Exception documentation added.
5793 (getMenuShortcutKeyMask): Exception documentation added.
5794 (getSystemEventQueue): Exception documentation added.
5795 * java/awt/Window.java:
5796 Reindented some code.
5797 (Window): Centralized implementation, documentation added.
5798 (finalize): Documentation added.
5799 (hide): Fixed typo in comment.
5800 (getWindowListeners): Documentation added.
5801 * java/awt/color/ColorSpace.java
5802 (toRGB): Documentation added.
5803 * java/awt/color/ICC_ColorSpace.java
5804 (ICC_ColorSpace): Documentation added.
5805 (toRGB): Throw exception, documentation added.
5806 (fromRGB): Throw exception, documentation added.
5807 (toCIEXYZ): Documentation added.
5808 (fromCIEXYZ): Documentation added.
5809 (getMinValue): Documentation added.
5810 (getMaxValue): Documentation added.
5811 * java/awt/geom/Dimension2D.java
5812 (clone): Documentation added.
5813 * java/awt/geom/GeneralPath.java
5814 (clone): Documentation added.
5815 * java/awt/geom/Line2D.java
5816 (clone): Documentation added.
5817 * java/awt/geom/QuadCurve2D.java
5818 (clone): Documentation added.
5819 * java/awt/image/ColorModel.java
5820 (ColorModel): Throw exception, documentation added.
5821 * java/awt/image/ImageFilter.java
5822 (clone): Doesnt throw CloneNotSupportedException.
5823
5824 2003-01-14 Andrew Haley <aph@redhat.com>
5825
5826 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5827 in a try block.
5828
5829 2003-01-10 Andrew Haley <aph@redhat.com>
5830
5831 * include/dwarf2-signal.h: Remove x86_64.
5832 * configure.host (x86_64 DIVIDESPEC): Remove.
5833 * include/x86_64-signal.h: New file.
5834 * configure.in: Regenerate.
5835
5836 2003-01-10 Michael Koch <konqueror@gmx.de>
5837
5838 * java/net/DatagramSocket.java
5839 (ch): Description added.
5840 (remotePort): Initialize with -1.
5841 (connect): Doesnt throws SocketException.
5842 * java/net/MulticastSocket.java
5843 (setInterface): Merge with Classpath.
5844 * java/net/ServerSocket.java
5845 (closed): New member variable.
5846 (bind): Check if socket is closed.
5847 (close): Close an associated channel too, set new value to closed.
5848 (isBound): Reindented.
5849 (isClosed): Implemented.
5850 * java/net/Socket.java
5851 (closed): New member variable.
5852 (bind): Check if socket is closed.
5853 (connect): Check if socket is closed.
5854 (close): Close an associated channel too, set new value to closed.
5855 (isClosed): Implemented.
5856
5857 2003-01-10 Michael Koch <konqueror@gmx.de>
5858
5859 * java/awt/DisplayMode.java
5860 (equals): Fixed argument type and implementation.
5861
5862 2003-01-07 Tom Tromey <tromey@redhat.com>
5863
5864 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5865 JV_HASH_SYNCHRONIZATION.
5866 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5867 JV_HASH_SYNCHRONIZATION.
5868
5869 2003-01-07 Michael Koch <konqueror@gmx.de>
5870
5871 * java/net/DatagramSocket.java:
5872 Added classpath license info.
5873 (DatagramSocket): Merged description with classpath.
5874 (close): Merged description with classpath.
5875 (getChannel): Merged description with classpath.
5876 (getInetAddress): Merged description with classpath.
5877 (getPort): Merged description with classpath.
5878 (getLocalAddress): Merged description with classpath.
5879 (getLocalPort): Merged description with classpath.
5880 (getSoTimeout): Merged description with classpath.
5881 (setSoTimeout): Merged description with classpath.
5882 (getSendBufferSize): Merged description with classpath.
5883 (setSendBufferSize): Merged description with classpath.
5884 (getReceiveBufferSize): Merged description with classpath.
5885 (setReceiveBufferSize): Merged description with classpath.
5886
5887 2003-01-04 Tom Tromey <tromey@redhat.com>
5888
5889 * java/awt/List.java: Merged with Classpath.
5890
5891 2003-01-03 Mark Wielaard <mark@klomp.org>
5892
5893 * java/io/FileDescriptor.java (position): New private field.
5894 * java/io/natFileDescriptorPosix.cc (write): Up position.
5895 (setLength): Use and set position.
5896 (seek): Set position.
5897 (getFilePointer): Return position.
5898 (read): Up position.
5899
5900 2003-01-03 Mark Wielaard <mark@klomp.org>
5901
5902 Merge with Classpath:
5903 * java/io/ObjectStreamClass.java (lookup): Split method and call
5904 lookupForClassObject().
5905 (lookupForClassObject): New method.
5906 (isProxyClass): New field.
5907 (setClass): Set isProxyClass, add object to classLookupTable, set
5908 superClass and calculateOffsets.
5909 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5910 and not a proxy class.
5911 (setFields): Set accessible true for serialPersistentFields.
5912 (getClassUID): Same for suid. And check if suid is of type long.
5913 (hasClassInitializer): Don't throw NoSuchMethodError.
5914
5915 2003-01-03 Mark Wielaard <mark@klomp.org>
5916
5917 * java/io/FileInputStream.java (finalize): Don't explicitly
5918 finalize FileDescriptor.
5919
5920 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5921
5922 * configure.host (sparc*-*): Enable bytecode interpreter.
5923
5924 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5925
5926 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5927 Don't throw RemoteException.
5928 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5929 throw RemoteException.
5930
5931 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5932
5933 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5934 proxyHost): New static fields.
5935 (<clinit>): Initialize new fields.
5936 (connect): Use proxy if necessary.
5937 (usingProxy): Implement.
5938
5939 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5940
5941 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5942 (TreeIterator.remove): Prefer IllegalStateException over
5943 ConcurrentModificationException, to match Sun.
5944
5945 2002-12-22 Anthony Green <green@redhat.com>
5946
5947 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5948
5949 2003-01-02 Mark Wielaard <mark@klomp.org>
5950
5951 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5952 public.
5953 (HTTP_USE_PROXY): Add field.
5954 (getResponseVals): Only set responseCode when not yet explicitly
5955 set by subclass.
5956
5957 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5958 Mark Wielaard <mark@klomp.org>
5959
5960 * java/util/zip/ZipFile.java (entries): Now HashMap.
5961 (readLeShort(DataInput, byte[])): Read from given byte array.
5962 (readLeInt(DataInput, byte[]): Likewise.
5963 (readLeShort(byte[] b, int off)): New method.
5964 (readLeInt(byte[] b, int off)): Likewise.
5965 (readEntries): Use byte arrays to read info in bigger chunks.
5966 (getEntries): Return HashMap.
5967 (getEntry): Use HashMap.
5968 (locBuf): New private field.
5969 (checkLocalHeader): Use locBuf to read info in one chunk.
5970 (getInputStream): Use entries HashMap, wrap PartialInputStream
5971 in BufferedInputStream.
5972 (ZipEntryEnumeration): Use HashMap and Interator.
5973
5974 2003-01-02 Mark Wielaard <mark@klomp.org>
5975 Jeroen Frijters <jeroen@sumatra.nl>
5976
5977 * java/net/URLClassLoader.java (Resource.getCodeSource):
5978 Fix check certs == null.
5979 (getCanonicalFileURL): Removed method.
5980 (JarURLLoader): Don't call removed method.
5981 (FileURLLoader): Likewise.
5982 (FileURLLoader.getResource): Don't canonicalize file name.
5983
5984 2003-01-01 Tom Tromey <tromey@redhat.com>
5985
5986 * Makefile.in: Rebuilt.
5987 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5988 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5989 java/awt/BufferCapabilities.java, java/awt/Button.java,
5990 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5991 java/awt/Container.java, java/awt/Cursor.java,
5992 java/awt/EventQueue.java, java/awt/FileDialog.java,
5993 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5994 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5995 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5996 java/awt/Scrollbar.java, java/awt/TextArea.java,
5997 java/awt/TextField.java, java/awt/color/CMMException.java,
5998 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5999 java/awt/color/ProfileDataException.java,
6000 java/awt/datatransfer/Clipboard.java,
6001 java/awt/datatransfer/DataFlavor.java,
6002 java/awt/datatransfer/FlavorMap.java,
6003 java/awt/datatransfer/SystemFlavorMap.java,
6004 java/awt/dnd/DragGestureEvent.java,
6005 java/awt/dnd/DragGestureRecognizer.java,
6006 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6007 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6008 java/awt/im/InputMethodHighlight.java,
6009 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6010 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6011
6012 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6013 `op' to BufferedImageOp.
6014
6015 2002-12-31 Tom Tromey <tromey@redhat.com>
6016
6017 Fix for PR libgcj/7416:
6018 * javax/naming/InitialContext.java (init): Use
6019 gnu.classpath.home.url.
6020 * java/security/Security.java: Use new properties.
6021 (loadProviders): Accept base url; use it.
6022 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6023 gnu.classpath.home.url.
6024 (gnu.classpath.home.url): Define.
6025 (gnu.classpath.vm.shortname): Likewise.
6026
6027 2002-12-31 Tom Tromey <tromey@redhat.com>
6028 Ranjit Mathew <rmathew@hotmail.com>
6029
6030 Fix for PR libgcj/8997:
6031 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6032 Include platform.h.
6033 * include/posix.h (_Jv_platform_usleep): New function.
6034 * include/win32.h (_Jv_platform_usleep): New function.
6035
6036 2002-12-29 Tom Tromey <tromey@redhat.com>
6037
6038 * gcj/javaprims.h: Updated.
6039 * scripts/classes.pl (scan): Removed stray semicolon.
6040
6041 2002-12-30 Mark Wielaard <mark@klomp.org>
6042
6043 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6044 if zero or smaller.
6045
6046 2002-12-30 Mark Wielaard <mark@klomp.org>
6047
6048 * java/util/Properties (formatForOutput): Don't fall through to
6049 default case after escaping character.
6050
6051 2002-12-30 Mark Wielaard <mark@klomp.org>
6052
6053 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6054 against count.
6055
6056 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6057
6058 * boehm.cc: Remove stray semicolon.
6059 * interpret.cc: Likewise.
6060 * prims.cc: Likewise.
6061 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6062 earlier to ensure default arguments are processed.
6063 * gcj/array.h (JArray): Add forward declaration.
6064 (elements): Likewise.
6065 * gcj/javaprim.h: Remove stray semicolons.
6066 * include/bohm-gc.h: Likewise.
6067 * include/jni.h: Likewise.
6068 * include/jvm.h: Likewise.
6069 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6070
6071 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6072
6073 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6074 of catch_type.
6075 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6076 idt tables after initializing superclass.
6077 * java/lang/natClassLoader.cc (uaddr): New typedef.
6078 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6079 if they are constant pool indicies. Don't link vtable, otable yet.
6080
6081 2002-12-21 Anthony Green <green@redhat.com>
6082
6083 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6084 libraries.
6085 * Makefile.in: Rebuilt.
6086
6087 2002-12-19 Anthony Green <green@redhat.com>
6088
6089 * Makefile.am (ordinary_java_source_files): Add
6090 org/xml/sax/helpers/NewInstance.java.
6091 * Makefile.in: Rebuilt.
6092 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6093 org/xml/sax/helpers/package.html: New files.
6094 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6095 http://www.saxproject.org.
6096
6097 2002-12-19 Andrew Haley <aph@redhat.com>
6098
6099 * java/util/natResourceBundle.cc: Include
6100 ArrayIndexOutOfBoundsException.h.
6101 (getCallingClassLoader): Don't put upper bound on stack search.
6102 Catch ArrayIndexOutOfBoundsException.
6103
6104 2002-12-19 Tom Tromey <tromey@redhat.com>
6105
6106 * libtool-version: Increased `current'.
6107
6108 2002-12-19 Tom Tromey <tromey@redhat.com>
6109
6110 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6111 comment.
6112 * java/lang/ClassLoader.java (defineClass): Use chained
6113 exception when rethrowing.
6114 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6115 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6116 constants.
6117 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6118 (_Jv_PrepareClass): Use it.
6119 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6120 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6121 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6122 (Class): _Jv_PrepareMissingMethods now friend.
6123 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6124 Record `NULL' for system class loader.
6125 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6126 system class loader.
6127 (_Jv_FindClassInCache): Likewise.
6128 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6129 (_Jv_FindClass): Special case system class loader.
6130 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6131 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6132 vtable slots.
6133 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6134 in a final class.
6135 (_getDeclaredMethod): Don't return synthetic methods.
6136 (getDeclaredMethods): Likewise.
6137 (_getMethod): Likewise.
6138 (_getMethods): Likewise.
6139
6140 2002-12-18 Raif Naffah <raif@fl.net.au>
6141
6142 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6143 canonical form after divide().
6144 (modInverse): Likewise.
6145
6146 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6147 Mark Wielaard <mark@klomp.org>
6148
6149 * java/security/SecurityRandom (digest): Removed field.
6150 (SecureRandom): Check all providers for case-insensitive SecureRandom
6151 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6152 if necessary.
6153 (getInstance(String,Provider,boolean): New method.
6154 (getInstance(String)): Use new method.
6155 (getInstance(String,String)): Likewise.
6156 (getInstance(String,Provider)): Likewise.
6157
6158 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6159
6160 * java/security/Security.java (loadProviders): Increment i only once.
6161
6162 2002-12-12 Mark Wielaard <mark@klomp.org>
6163
6164 * java/lang/ClassLoader.java (resolveClass0): Transform
6165 ClassNotFoundException to NoClassDefFoundError. Transform all other
6166 throwables to LinkageError.
6167
6168 2002-12-11 Tom Tromey <tromey@redhat.com>
6169
6170 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6171
6172 * java/lang/ClassLoader.java (loadedClasses): New field.
6173 (defineClass): Fixed indentation. Put new class in
6174 loadedClasses.
6175 (findLoadedClass): Implement here.
6176 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6177
6178 2002-12-10 Tom Tromey <tromey@redhat.com>
6179
6180 * Makefile.in: Rebuilt.
6181 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6182 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6183 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6184 * java/lang/natClassLoader.cc
6185 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6186
6187 2002-12-10 Mark Wielaard <mark@klomp.org>
6188 Tom Tromey <tromey@redhat.com>
6189
6190 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6191 (JarURLLoader): Use it.
6192 (FileURLLoader): Likewise.
6193 (JarURLResource.getURL): Use chained exception.
6194 (FileResource.getURL): Likewise.
6195 (FileURLLoader.getResource): Use canonical file name.
6196 (addURL): Indentation fix.
6197
6198 2002-12-10 Tom Tromey <tromey@redhat.com>
6199
6200 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6201 From Laurent Bardet <l.bardet@magic.fr>.
6202
6203 2002-12-09 Tom Tromey <tromey@redhat.com>
6204
6205 * include/win32.h (_Jv_platform_solib_prefix): New define.
6206 (_Jv_platform_solib_suffix): Likewise.
6207 * include/posix.h (_Jv_platform_solib_prefix): New define.
6208 (_Jv_platform_solib_suffix): Likewise.
6209 * java/lang/natRuntime.cc: Include StackTrace.h.
6210 (_load): Use findLibrary and new platform defines.
6211 (nativeGetLibname): Use new platform defines.
6212
6213 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6214 `t' won't be null.
6215
6216 2002-12-08 Mark Wielaard <mark@klomp.org>
6217
6218 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6219 cache remote jar files.
6220 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6221 add File.separator to URL when it is a directory.
6222 * java/lang/ClassLoader.java: Add Classpath javadoc.
6223 (parent): final.
6224 (getParent): Add (disabled) security check.
6225 (findLibrary): New default method.
6226 * java/net/JarURLConnection.java (getManifest): Implement.
6227 (getInputStream): Only create InputStream when entry exists.
6228 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6229 when they exist.
6230 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6231
6232 2002-12-08 Mark Wielaard <mark@klomp.org>
6233
6234 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6235 (lastDefaultLocale): New field.
6236 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6237 resourceBundleCache.
6238
6239 2002-12-06 Mark Wielaard <mark@klomp.org>
6240
6241 * java/net/InetAddress.java (toString): Use hostname when not null,
6242 don't do an explicit reverse getHostName() lookup.
6243 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6244 NullPointerException.
6245
6246 2002-12-06 Tom Tromey <tromey@redhat.com>
6247
6248 * include/java-interp.h (class _Jv_InterpMethod): Added
6249 JV_MARKOBJ_DECL.
6250 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6251 mark `prepared' field of interpreted method.
6252 * interpret.cc (compile): Use _Jv_AllocBytes.
6253
6254 2002-12-05 Andrew Haley <aph@redhat.com>
6255
6256 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6257 #ifdef (HAVE_BACKTRACE) around the whole function body.
6258
6259 2002-12-05 Tom Tromey <tromey@redhat.com>
6260
6261 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6262 * resolve.cc: Don't include AbstractMethodError.h.
6263 (_Jv_abstractMethodError): Removed.
6264 * defineclass.cc (handleMethodsBegin): Initialize method index to
6265 -1.
6266 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6267 method index for "new" final method.
6268 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6269 isVirtualMethod. Added `flags' argument.
6270 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6271 class.
6272
6273 2002-12-04 Tom Tromey <tromey@redhat.com>
6274
6275 * java/net/SocketPermission.java (hashCode): Rewrote.
6276
6277 2002-12-04 Tom Tromey <tromey@redhat.com>
6278
6279 * Makefile.in: Rebuilt.
6280 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6281 natResourceBundle.
6282 * java/util/ResourceBundle.java (Security): Removed.
6283 (getCallingClassLoader): Now native.
6284 * java/util/natResourceBundle.cc: New file.
6285 * java/lang/natVMSecurityManager.cc: New file.
6286 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6287
6288 2002-12-03 Mark Wielaard <mark@klomp.org>
6289
6290 * java/util/jar/JarFile.java (manifest): Not final.
6291 (manifestRead): New field.
6292 (JarFile): Don't read Manifest in constructor.
6293 (getManifest): New method.
6294 (JarEnumeration.nextElement): Use new method.
6295 (getEntry): Likewise.
6296 * java/util/zip/ZipFile.java (name): Final.
6297 (raf): Likewsie.
6298 (entries): Change type to Hashtable.
6299 (closed): New field.
6300 (ZipFile): Don't read enties in constructor.
6301 (readEntries): Use Hashtable.
6302 (close): Set new close flag and set entries to null inside
6303 synchronized block.
6304 (entries): Contruct enumeration using new getEntries() method and
6305 entries Hashtable.
6306 (getEntryIndex): Removed.
6307 (getEntries): New method.
6308 (getEntry): Use new getEntries() method and entries Hastable.
6309 (getInputStream): Likewise.
6310 (size): Return getEntries().size().
6311 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6312 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6313 (time): Removed
6314 (dostime): New field.
6315 (zipFileIndex): Removed.
6316 (ZipEntry(ZipEntry)): Copy dostime.
6317 (setDOSTime): Now final and doesn't convert dos time.
6318 (getDOSTime): Likewise.
6319 (setTime): Convert dos time.
6320 (getTime): Likewise.
6321 (getCalendar): New method.
6322 (setExtra): Use setTime().
6323 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6324
6325 2002-12-03 Tom Tromey <tromey@redhat.com>
6326
6327 * java/lang/Character.java (forDigit): Formatting fix.
6328
6329 2002-12-03 Raif Naffah <raif@fl.net.au>
6330
6331 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6332 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6333 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6334
6335 2002-12-03 Andrew Haley <aph@redhat.com>
6336
6337 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6338 _Jv_PushClass.
6339 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6340 (_Jv_PopClass): New.
6341 (_Jv_PushClass): New.
6342 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6343 discover the ClassLoader of our caller.
6344 (_Jv_CheckArrayStore): Don't check that a class is assignment
6345 compatible with Object.
6346 * java/lang/natVMTHrowable.cc: Delete.
6347 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6348 java.lang.VMThrowable.
6349 (StackTrace(), StackTrace(int)): New constructors.
6350 (classAt, methodAt, update, methodAtAddress): New methods.
6351 (map): New field.
6352 * java/lang/VMThrowable.java: Use StackTrace instead of
6353 natVMTHrowable.
6354 * java/lang/Class.h (getClassLoaderInternal): New.
6355 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6356 Be friendly with gnu::gcj::runtime::StackTrace.
6357 (Object.chain): New field.
6358 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6359 gnu::gcj::runtime::StackTrace.
6360 * gnu/gcj/runtime/natStackTrace.cc: New file.
6361 * gnu/gcj/runtime/MethodRef.java: New file.
6362 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6363 instead of getClassLoader().
6364 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6365 java::lang::VMThrowable.
6366 * Makefile.am (core_java_source_files): Add MethodRef.java,
6367 StackTrace.java.
6368 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6369 * Makefile.in: Rebuild.
6370
6371 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6372
6373 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6374 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6375 yes also for sh-linux* and sh[34]*-linux*.
6376 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6377 set SIGNAL_HANDLER to use DWARF2 exception for them.
6378 * configure: Regenerate.
6379
6380 2002-12-02 Tom Tromey <tromey@redhat.com>
6381
6382 * jni.cc: Added `name' argument.
6383 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6384 `const char *' argument.
6385 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6386
6387 2002-12-01 Tom Tromey <tromey@redhat.com>
6388
6389 Bug compatibility, for PR libgcj/8738:
6390 * java/io/CharArrayWriter.java (close): Do nothing.
6391 (flush): Likewise.
6392 (reset): Don't touch `closed'.
6393 (write(int)): Don't throw IOException.
6394 (write(char[],int,int)): Likewise.
6395 (write(String,int,int)): Likewise.
6396 (closed): Removed.
6397
6398 2002-12-01 Mark Wielaard <mark@klomp.org>
6399
6400 * java/lang/SecurityManager.java: Remerge comments, indenting and
6401 checkXXX methods with Classpath.
6402
6403 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6404
6405 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6406 getNormalizedComponents): Fix calculation which was using one too
6407 many bits in the unnormalized format.
6408
6409 2002-11-29 Gary Benson <gbenson@redhat.com>
6410
6411 For PR libgcj/8759:
6412 * java/beans/Introspector.java (flushCaches): New method.
6413 (flushFromCaches): Likewise.
6414
6415 2002-11-29 Michael Koch <konqueror@gmx.de>
6416
6417 * java/nio/channels/DatagramChannel.java
6418 (open): Added exception documentation.
6419 (write): Added exception documentation.
6420 (connect): Added exception documentation.
6421 (disconnect): Added exception documentation.
6422 (isConnected): Added exception documentation.
6423 (read): Added exception documentation.
6424 (receive): Added exception documentation.
6425 (send): Added exception documentation.
6426 (validOps): Added exception documentation.
6427 * java/nio/channels/SocketChannel.java
6428 (open): Added exception documentation.
6429 (read): Added exception documentation.
6430 (write): Added exception documentation.
6431 (connect): Added exception documentation.
6432 (finishConnect): Added exception documentation.
6433
6434 2002-11-29 Michael Koch <konqueror@gmx.de>
6435
6436 * gnu/java/nio/DatagramChannelImpl:
6437 (fd): New member variable to store file descriptor of socket.
6438 * gnu/java/nio/SelectionKeyImpl.java:
6439 (ops): Removed.
6440 (readyOps): New member variable.
6441 (interestOps): New member variable.
6442 (readyOps): Implemented.
6443 (readyOps): New method to set member variable readyOps.
6444 (interestOps): Replaced ops by interestOps.
6445 * gnu/java/nio/SelectorImpl.java:
6446 (SelectorImpl): Initialize key sets.
6447 (select): Call select with -1 instead of Long.MAX_VALUE).
6448 (java_do_select): Make it a native method.
6449 (getFDsAsArray): New helper method.
6450 (select): Remove canceled keys, give only interested file discriptors
6451 to java_do_select, set ready ops.
6452 (add): No need to initialize keys set here.
6453 (add_selected): No need to initialize selected set here.
6454 (deregisterCanceledKeys): New helper method.
6455 (register): Set interest ops, set attachments, added handling of datagram
6456 channels.
6457 * gnu/java/nio/ServerSocketChannelImpl:
6458 (SocketAccept): Renamed from NioSocketAccept.
6459 (implConfigureBlocking): Implemented.
6460 (accept): Use SocketAccept instead of NioSocketAccept.
6461 * gnu/java/nio/SocketChannelImpl:
6462 Reactivate native methods.
6463
6464 2002-11-29 Michael Koch <konqueror@gmx.de>
6465
6466 * gnu/java/nio/natByteBufferImpl.cc,
6467 gnu/java/nio/natCharBufferImpl.cc,
6468 gnu/java/nio/natDoubleBufferImpl.cc,
6469 gnu/java/nio/natFloatBufferImpl.cc,
6470 gnu/java/nio/natIntBufferImpl.cc,
6471 gnu/java/nio/natLongBufferImpl.cc,
6472 gnu/java/nio/natSelectorImpl.cc,
6473 gnu/java/nio/natServerSocketChannelImpl.cc,
6474 gnu/java/nio/natShortBufferImpl.cc,
6475 gnu/java/nio/natSocketChannelImpl.cc:
6476 New files that implement native functionalities.
6477
6478 2002-11-29 Michael Koch <konqueror@gmx.de>
6479
6480 * gnu/java/nio/ByteBufferImpl.java
6481 (ByteBufferImpl): Moved position() after limit.
6482 (nio_*): Use native implementation.
6483 * gnu/java/nio/CharBufferImpl.java:
6484 Reformated.
6485 (endian): New member variable string endianess of buffer.
6486 (CharBufferImpl): Moved position() after limit.
6487 (nio_*): Use native implementation.
6488 (subSequence): Implemented.
6489 * gnu/java/nio/DoubleBufferImpl.java
6490 (DoubleBufferImpl): Moved position() after limit.
6491 (nio_*): Use native implementation.
6492 * gnu/java/nio/FloatBufferImpl.java
6493 Reformated.
6494 (FloatBufferImpl): Moved position() after limit.
6495 (nio_*): Use native implementation.
6496 * gnu/java/nio/IntBufferImpl.java
6497 Added needed imports, Reformated.
6498 (IntBufferImpl): Moved position() after limit.
6499 (nio_*): Use native implementation.
6500 * gnu/java/nio/LongBufferImpl.java
6501 Reformated.
6502 (LongBufferImpl): Moved position() after limit.
6503 (nio_*): Use native implementation.
6504 * gnu/java/nio/ShortBufferImpl.java
6505 Reformated.
6506 (ShortBufferImpl): Moved position() after limit.
6507 (nio_*): Use native implementation.
6508
6509 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6510
6511 * java/util/Locale.java (toString): Improve efficiency if country
6512 and variant are both empty.
6513
6514 2002-11-26 Tom Tromey <tromey@redhat.com>
6515
6516 * verify.cc (pop_init_ref): New method.
6517 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6518 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6519 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6520 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6521 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6522 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6523 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6524 let `this' argument be uninitialized. Don't let `null' be passed
6525 as `this' to construtor.
6526
6527 2002-11-26 Mark Wielaard <mark@klomp.org>
6528
6529 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6530 * javax/transaction/HeuristicMixedException.java: Likewise.
6531 * javax/transaction/HeuristicRollbackException.java: Likewise.
6532 * javax/transaction/InvalidTransactionException.java: Likewise.
6533 * javax/transaction/NotSupportedException.java: Likewise.
6534 * javax/transaction/RollbackException.java: Likewise.
6535 * javax/transaction/Status.java: Likewise.
6536 * javax/transaction/Synchronization.java: Likewise.
6537 * javax/transaction/SystemException.java: Likewise.
6538 * javax/transaction/Transaction.java: Likewise.
6539 * javax/transaction/TransactionManager.java: Likewise.
6540 * javax/transaction/TransactionRequiredException.java: Likewise.
6541 * javax/transaction/TransactionRolledbackException.java: Likewise.
6542 * javax/transaction/UserTransaction.java: Likewise.
6543 * javax/transaction/xa/XAException.java: Likewise.
6544 * javax/transaction/xa/XAResource.java: Likewise.
6545 * javax/transaction/xa/Xid.java: Likewise.
6546
6547 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6548
6549 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6550 define.
6551 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6552 * include/posix.h (socklen_t): Define if not already defined.
6553
6554 2002-11-25 Tom Tromey <tromey@redhat.com>
6555
6556 * verify.cc (type::compatible): Backed out broken change.
6557
6558 * verify.cc (type::compatible): Check initialization status
6559 first.
6560 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6561 Don't use NULLCHECK.
6562
6563 2002-11-23 H.J. Lu <hjl@gnu.org>
6564
6565 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6566 Include ../config/accross.m4.
6567 * aclocal.m4; Rebuild.
6568 * configure: Likewise.
6569
6570 2002-11-23 Mark Wielaard <mark@klomp.org>
6571
6572 * javax/naming/AuthenticationException.java: Update copyright header.
6573 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6574 * javax/naming/Binding.java: Likewise.
6575 * javax/naming/CannotProceedException.java: Likewise.
6576 * javax/naming/CommunicationException.java: Likewise.
6577 * javax/naming/CompositeName.java: Likewise.
6578 * javax/naming/CompoundName.java: Likewise.
6579 * javax/naming/ConfigurationException.java: Likewise.
6580 * javax/naming/Context.java: Likewise.
6581 * javax/naming/ContextNotEmptyException.java: Likewise.
6582 * javax/naming/InitialContext.java: Likewise.
6583 * javax/naming/InsufficientResourcesException.java: Likewise.
6584 * javax/naming/InterruptedNamingException.java: Likewise.
6585 * javax/naming/LimitExceededException.java: Likewise.
6586 * javax/naming/LinkException.java: Likewise.
6587 * javax/naming/LinkLoopException.java: Likewise.
6588 * javax/naming/LinkRef.java: Likewise.
6589 * javax/naming/MalformedLinkException.java: Likewise.
6590 * javax/naming/NameAlreadyBoundException.java: Likewise.
6591 * javax/naming/NameClassPair.java: Likewise.
6592 * javax/naming/NameNotFoundException.java: Likewise.
6593 * javax/naming/NameParser.java: Likewise.
6594 * javax/naming/NamingEnumeration.java: Likewise.
6595 * javax/naming/NamingSecurityException.java: Likewise.
6596 * javax/naming/NoInitialContextException.java: Likewise.
6597 * javax/naming/NoPermissionException.java: Likewise.
6598 * javax/naming/NotContextException.java: Likewise.
6599 * javax/naming/OperationNotSupportedException.java: Likewise.
6600 * javax/naming/PartialResultException.java: Likewise.
6601 * javax/naming/Reference.java: Likewise.
6602 * javax/naming/Referenceable.java: Likewise.
6603 * javax/naming/ReferralException.java: Likewise.
6604 * javax/naming/ServiceUnavailableException.java: Likewise.
6605 * javax/naming/SizeLimitExceededException.java: Likewise.
6606 * javax/naming/TimeLimitExceededException.java: Likewise.
6607 * javax/naming/directory/Attribute.java: Likewise.
6608 * javax/naming/directory/AttributeInUseException.java: Likewise.
6609 * javax/naming/directory/AttributeModificationException.java: Likewise.
6610 * javax/naming/directory/Attributes.java: Likewise.
6611 * javax/naming/directory/BasicAttribute.java: Likewise.
6612 * javax/naming/directory/BasicAttributes.java: Likewise.
6613 * javax/naming/directory/DirContext.java: Likewise.
6614 * javax/naming/directory/InitialDirContext.java: Likewise.
6615 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6616 Likewise.
6617 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6618 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6619 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6620 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6621 * javax/naming/directory/ModificationItem.java: Likewise.
6622 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6623 * javax/naming/directory/SchemaViolationException.java: Likewise.
6624 * javax/naming/directory/SearchControls.java: Likewise.
6625 * javax/naming/directory/SearchResult.java: Likewise.
6626 * javax/naming/event/EventContext.java: Likewise.
6627 * javax/naming/event/EventDirContext.java: Likewise.
6628 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6629 * javax/naming/event/NamingEvent.java: Likewise.
6630 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6631 * javax/naming/event/NamingListener.java: Likewise.
6632 * javax/naming/event/ObjectChangeListener.java: Likewise.
6633 * javax/naming/ldap/Control.java: Likewise.
6634 * javax/naming/ldap/ControlFactory.java: Likewise.
6635 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6636 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6637 * javax/naming/ldap/HasControls.java: Likewise.
6638 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6639 * javax/naming/ldap/LdapContext.java: Likewise.
6640 * javax/naming/ldap/LdapReferralException.java: Likewise.
6641 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6642 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6643 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6644 * javax/naming/spi/DirObjectFactory.java: Likewise.
6645 * javax/naming/spi/DirStateFactory.java: Likewise.
6646 * javax/naming/spi/DirectoryManager.java: Likewise.
6647 * javax/naming/spi/InitialContextFactory.java: Likewise.
6648 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6649 * javax/naming/spi/NamingManager.java: Likewise.
6650 * javax/naming/spi/ObjectFactory.java: Likewise.
6651 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6652 * javax/naming/spi/ResolveResult.java: Likewise.
6653 * javax/naming/spi/Resolver.java: Likewise.
6654 * javax/naming/spi/StateFactory.java: Likewise.
6655
6656 * javax/naming/spi/NamingManager.java (ofb): Package private.
6657
6658 2002-11-21 Mark Wielaard <mark@klomp.org>
6659
6660 * java/net/URL.java: Merge with Classpath (partly).
6661 * java/net/URLStreamHandler: Merge with Classpath.
6662
6663 2002-11-22 Michael Koch <konqueror@gmx.de>
6664
6665 * include/posix.h:
6666 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6667 * include/win32.h:
6668 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6669 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6670
6671 2002-11-21 Michael Koch <konqueror@gmx.de>
6672
6673 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6674 Only the new network functions should be in it.
6675
6676 2002-11-21 Michael Koch <konqueror@gmx.de>
6677
6678 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6679 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6680
6681 2002-11-21 Michael Koch <konqueror@gmx.de>
6682
6683 * java/nio/channels/AsynchronousCloseException.java,
6684 java/nio/channels/CancelledKeyException.java,
6685 java/nio/channels/ClosedByInterruptException.java,
6686 java/nio/channels/ConnectionPendingException.java,
6687 java/nio/channels/FileLockInterruptionException.java,
6688 java/nio/channels/IllegalSelectorException.java,
6689 java/nio/channels/NoConnectionPendingException.java,
6690 java/nio/channels/NonReadableChannelException.java,
6691 java/nio/channels/NonWritableChannelException.java,
6692 java/nio/channels/NotYetBoundException.java,
6693 java/nio/channels/NotYetConnectedException.java,
6694 java/nio/channels/OverlappingFileLockException.java,
6695 java/nio/channels/UnresolvedAddressException.java,
6696 java/nio/channels/UnsupportedAddressTypeException.java:
6697 New files.
6698 * Makefile.am (ordinary_java_source_files): Added new files.
6699 * Makefile.in: Regenerated.
6700
6701 2002-11-21 Michael Koch <konqueror@gmx.de>
6702
6703 * include/posix.h
6704 (_Jv_socket): New method.
6705 (_Jv_connect): New method.
6706 (_Jv_close): New method.
6707 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6708 (_Jv_bind): New method.
6709 (_Jv_listen): New method.
6710 (_Jv_write): New method.
6711 (_Jv_read): New method.
6712 * include/win32.h
6713 (_Jv_socket): New method.
6714 (_Jv_connect): New method.
6715 (_Jv_close): New method.
6716 (_Jv_bind): New method.
6717 (_Jv_listen): New method.
6718 (_Jv_write): New method.
6719 (_Jv_read): New method.
6720 * java/net/natNetworkInterface.cc:
6721 Include platform.h, removed inclusion of socket.h
6722 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6723 ::close() by _Jv_close().
6724 * java/net/natPlainDatagramSocketImpl.cc:
6725 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6726 added some new lines to make code more readable.
6727 (create): Replaced ::socket() by _Jv_socket().
6728 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6729 * java/net/natPlainSocketImpl.cc:
6730 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6731 removed include of socket.h, removed some windows defines
6732 (now in include/win32.h).
6733 (create): Replaced ::socket() by _Jv_socket().
6734 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6735 (write): Replaced ::read by _Jv_write().
6736 (read): Replaced ::read by _Jv_read().
6737
6738 2002-11-20 Michael Koch <konqueror@gmx.de>
6739
6740 * Makefile.am (ordinary_java_source_files):
6741 Added java/nio/channels/FileChannel.java.
6742 * Makefile.in: Regenerated.
6743
6744 2002-11-20 Michael Koch <konqueror@gmx.de>
6745
6746 * java/io/FileInputStream.java
6747 (getChannel): New method.
6748 * java/io/FileOutputStream.java
6749 (getChannel): New method.
6750 * java/net/ServerSocket.java
6751 (bind): Removed duplicate code and called another bind method instead.
6752 * java/nio/channels/SelectionKey.java
6753 (isValid): Removed wrong exception documentation.
6754 * java/nio/channels/ServerSocketChannel.java
6755 (accept): Added exception documentation.
6756 (open): Fixed typo, added exception documentation.
6757 * java/nio/channels/spi/AbstractSelectableChannel.java
6758 (implCloseChannel): Added exception documentation.
6759 (add): Reformated.
6760 (register): Added exception documentation.
6761
6762 2002-11-20 Andreas Jaeger <aj@suse.de>
6763
6764 * configure: Regenerated with new libtool.m4.
6765
6766 2002-11-19 Tom Tromey <tromey@redhat.com>
6767
6768 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6769 `referent'.
6770 (finalize_referred_to_object): Don't modify `referent' or `copy'
6771 fields.
6772 (add_to_hash): Correctly set `n->next' when updating list.
6773 * java/lang/ref/Reference.java (enqueue): Return false if already
6774 enqueued.
6775
6776 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6777
6778 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6779 to function and function pointer declarations in accordance with
6780 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6781 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6782 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6783 JNI function definitions.
6784
6785 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6786
6787 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6788 that was causing CoderResults to be cached, not WeakReferences
6789 to CoderResults.
6790
6791 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6792
6793 * java/security/KeyStore.java (getInstance): Fix
6794 comment and throw IllegalArgumentException if
6795 given provider is null.
6796 (getInstance): New method for jdk1.4 compatibility.
6797
6798 2002-11-18 Michael Koch <konqueror@gmx.de>
6799
6800 * java/net/PlainSocketImpl.java: Fix imports.
6801
6802 2002-11-18 Michael Koch <konqueror@gmx.de>
6803
6804 * java/nio/channels/SelectionKey.java
6805 (isValid): Added exception documentation.
6806 * java/nio/channels/Selector.java
6807 (open): Declare "throws IOException".
6808
6809 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6810
6811 * java/nio/charset/Charset.java
6812 (<clinit>): New method.
6813 (encode): Synchronize use of cached encoder object.
6814 (decode): Synchronize use of cached encoder object.
6815
6816 2002-11-18 Michael Koch <konqueror@gmx.de>
6817
6818 * gnu/java/nio/ByteBufferImpl.java,
6819 gnu/java/nio/CharBufferImpl.java,
6820 gnu/java/nio/DatagramChannelImpl.java,
6821 gnu/java/nio/DoubleBufferImpl.java,
6822 gnu/java/nio/FileChannelImpl.java,
6823 gnu/java/nio/FloatBufferImpl.java,
6824 gnu/java/nio/IntBufferImpl.java,
6825 gnu/java/nio/LongBufferImpl.java,
6826 gnu/java/nio/PipeImpl.java,
6827 gnu/java/nio/SelectionKeyImpl.java,
6828 gnu/java/nio/SelectorImpl.java,
6829 gnu/java/nio/SelectorProviderImpl.java,
6830 gnu/java/nio/ServerSocketChannelImpl.java,
6831 gnu/java/nio/ShortBufferImpl.java,
6832 gnu/java/nio/SocketChannelImpl.java,
6833 java/nio/DoubleBuffer.java,
6834 java/nio/FloatBuffer.java,
6835 java/nio/IntBuffer.java,
6836 java/nio/LongBuffer.java,
6837 java/nio/ShortBuffer.java,
6838 java/nio/channels/FileChannel.java: New files.
6839
6840 2002-11-18 Michael Koch <konqueror@gmx.de>
6841
6842 * Makefile.am (ordinary_java_source_files):
6843 Added java/nio/ReadOnlyBufferException.java and
6844 java/nio/channels/ClosedSelectorException.java.
6845 * Makefile.in: Regenerated.
6846
6847 2002-11-18 Michael Koch <konqueror@gmx.de>
6848
6849 * java/net/PlainSocketImpl.java: Reworked imports.
6850 * java/net/ServerSocket.java
6851 (ServerSocket): Create socket.
6852 * java/net/SocketAddress.java: Documentation added.
6853 * java/net/natPlainSocketImpl.cc: Reindented.
6854 * java/nio/ReadOnlyBufferException.java: New file
6855 * java/nio/channels/ClosedChannelException.java: Documentation added.
6856 * java/nio/channels/ClosedSelectorException.java: New file.
6857
6858 2002-11-17 Mark Wielaard <mark@klomp.org>
6859
6860 * java/net/HttpURLConnection.java ((getPermission): Take port
6861 into consideration.
6862 (getErrorStream): Implement.
6863
6864 2002-11-17 Mark Wielaard <mark@klomp.org>
6865
6866 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6867
6868 2002-11-16 Mark Wielaard <mark@klomp.org>
6869
6870 Integrate work by Raif S. Naffah (raif@fl.net.au)
6871 * java/security/DummyKeyPairGenerator.java (clone): New method.
6872 * java/security/DummyMessageDigest.java (clone): New method.
6873 (engineUpdate): Now public.
6874 (engineReset): Likewise.
6875 (engineDigest): Likewise.
6876 (engineGetDigestLength): New method.
6877 * java/security/DummySignature.java (clone): New method.
6878 * java/security/KeyPairGenerator.java (provider): Now package private.
6879 (getInstance(String)): Use getInstance(String,Provider).
6880 (getInstance(String,String): Use getInstance(String,Provider)
6881 (getInstance(String,Provider): New method.
6882 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6883 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6884 * java/security/MessageDigest.java (provider): Now package private.
6885 (getInstance(String): Use getInstance(String,Provider).
6886 (getInstance(String,String): Use getInstance(String,Provider)
6887 (getInstance(String,Provider): New method.
6888 * java/security/Provider.java (toCanonicalKey): New method.
6889 (get): New method that uses toCanonicalKey().
6890 (put): Use toCanonicalKey().
6891 (remove): Likewise.
6892 * java/security/Security.java (insertProviderAt): Provider index is one
6893 based, not zero based.
6894 (addProvider): Likewise.
6895 (removeProvider): Likewise.
6896 * java/security/Signature.java (provider): Now package private.
6897 (getInstance(String)): Use getInstance(String,Provider).
6898 (getInstance(String,String): Use getInstance(String,Provider)
6899 (getInstance(String,Provider): New method.
6900 (getInstance(String,String,Provider): Don't cast DummySignature.
6901
6902 2002-11-15 Tom Tromey <tromey@redhat.com>
6903
6904 For PR libgcj/8593:
6905 * java/util/zip/GZIPInputStream.java (read): Check file size.
6906 Look in inflater for remaining input bytes.
6907 (read4): Added buf and offset arguments.
6908
6909 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6910
6911 * java/applet/AppletContext.java: Fix typo and remove redundant
6912 modifiers.
6913
6914 2002-11-14 Tom Tromey <tromey@redhat.com>
6915
6916 * java/lang/natRuntime.cc (insertSystemProperties): Set
6917 gnu.classpath.home.
6918
6919 2002-11-13 Michael Koch <konqueror@gmx.de>
6920
6921 * java/nio/ByteBuffer.java
6922 (allocate): New method.
6923 (wrap): New method.
6924 (put): New method.
6925 (get): New method.
6926
6927 2002-11-13 Michael Koch <konqueror@gmx.de>
6928
6929 * java/nio/channels/AlreadyConnectedException.java:
6930 Removed unneeded import.
6931 (AlreadyConnectedException): Documentation added.
6932 * java/nio/channels/Pipe.java
6933 (SinkChannel.SinkChannel): Documentation added.
6934 (SinkChannel.validOps): New method.
6935 (SourceChannel.SourceChannel): Documentation added.
6936 (SourceChannel.validOps): New method.
6937 (Pipe): Documentation added.
6938 (open): Documentation added.
6939 (SinkChannel.channel): Documentation added.
6940 (SourceChannel.channel): Documentation added.
6941 * java/nio/channel/SelectableChannel.java
6942 (SelectableChannel): Documentation added.
6943 (blockingLock): Documentation added.
6944 (configureBlocking):Documentation added.
6945 (isBlocking):Documentation added.
6946 (isRegistered):Documentation added.
6947 (keyFor):Documentation added.
6948 (provider):Documentation added.
6949 (register): Documentation added.
6950 (validOps): Documentation added.
6951 * jaba/nio/channels/SelectionKey.java
6952 (SelectionKey): Documentation added.
6953 (attach): Documentation added.
6954 (attachment): Documentation added.
6955 (isAcceptable): Documentation added.
6956 (isConnetable): Documentation added.
6957 (isReadable): Documentation added.
6958 (isWritable): Documentation added.
6959 (cancel): Documentation added.
6960 (channel): Documentation added.
6961 (interestOps): Documentation added.
6962 (isValid): Documentation added.
6963 (readyOps): Documentation added.
6964 (selector): Documentation added.
6965 * jaba/nio/channels/Selector.java
6966 (Selector): Documentation added.
6967 (open): Documentation added.
6968 (close): Documentation added.
6969 (isOpen): Documentation added.
6970 (keys): Documentation added.
6971 (provider): Documentation added.
6972 (select): Documentation added.
6973 (selectedKeys): Documentation added.
6974 (selectNow): Documentation added.
6975 (wakeup): Documentation added.
6976 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6977 (AbstractInterruptibleChannel): Documentation added.
6978 (opened): Default to true;
6979 (begin): Documentation added.
6980 (close): Set opened to false, documentation added.
6981 (isOpen): Documentation added.
6982 * java/nio/channels/spi/AbstractSelectionKey.java
6983 (AbstractSelectionKey): Documentation added.
6984 (cancel): Documentation added.
6985 (isValid): Documentation added.
6986 * java/nio/channels/spi/AbstractSelector.java
6987 (AbstractSelector): Documentation added.
6988 (begin): Documentation added.
6989 (close): Documentation added.
6990 (isOpen): Documentation added.
6991 (deregister): Documentation added.
6992 (end): Documentation added.
6993 (provider): Documentation added.
6994 (implCloseSelector): Documentation added.
6995 (register): Documentation added.
6996 * java/nio/channels/spi/SelectorProvider.java
6997 (SelectorProvider): Documentation added.
6998 (openDatagramChannel): Documentation added.
6999 (openPipe): Documentation added.
7000 (openSelector): Documentation added.
7001 (openServerSocketChannel): Documentation added.
7002 (openSocketChannel): Documentation added.
7003 (provider): Documentation added.
7004
7005 2002-11-12 Michael Koch <konqueror@gmx.de>
7006
7007 * java/nio/Buffer.java: Implemented.
7008 * java/nio/CharBuffer.java: New file.
7009 * java/nio/InvalidMarkException.java: New file.
7010 * java/nio/channels/DatagramChannel.java: Implemented.
7011 * java/nio/channels/ServerSocketChannel.java: Implemented.
7012 * java/nio/channels/SocketChannel.java: Implemented.
7013 * java/nio/channels/spi/AbstractChannel.java: Removed.
7014 * java/nio/channels/spi/AbstractSelectableChannel.java:
7015 Implemented.
7016 * java/nio/charset/Charset.java:
7017 Merge from Classpath.
7018 * java/nio/charset/CharsetDecoder.java: New file.
7019 * java/nio/charset/CharsetEncoder.java: New file.
7020 * java/nio/charset/CoderResult.java: New file.
7021 * Makefile.am (ordinary_java_source_files): Added new files.
7022 * Makefile.in: Regenerated.
7023
7024 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7025
7026 * gnu/java/nio/charset/ISO_8859_1.java,
7027 gnu/java/nio/charset/Provider.java,
7028 gnu/java/nio/charset/US_ASCII.java,
7029 gnu/java/nio/charset/UTF_16.java,
7030 gnu/java/nio/charset/UTF_16BE.java,
7031 gnu/java/nio/charset/UTF_16Decoder.java,
7032 gnu/java/nio/charset/UTF_16Encoder.java,
7033 gnu/java/nio/charset/UTF_16LE.java,
7034 gnu/java/nio/charset/UTF_8.java: New files.
7035
7036 2002-11-11 Michael Koch <konqueror@gmx.de>
7037
7038 * java/nio/charset/CharacterCodingException.java:
7039 This class must be public.
7040 * java/nio/charset/CoderMalfunctionError.java:
7041 This class must be public.
7042 * java/nio/charset/CodingErrorAction.java:
7043 This class must be public.
7044 * java/nio/charset/IllegalCharsetNameException.java:
7045 This class must be public, better implementation.
7046 * java/nio/charset/MalformedInputException.java:
7047 This class must be public, better implementation.
7048 * java/nio/charset/UnmappableCharacterException.java:
7049 This class must be public, better implementation.
7050 * java/nio/charset/UnsupportedCharsetException.java:
7051 This class must be public, better implementation.
7052
7053 2002-11-11 Michael Koch <konqueror@gmx.de>
7054
7055 * java/nio/BufferOverflowException.java,
7056 java/nio/BufferUnderflowException.java: New file.
7057 * Makefile.am (ordinary_java_source_files):
7058 Added new files.
7059 * Makefile.in: Regenerated.
7060
7061 2002-11-10 Tom Tromey <tromey@redhat.com>
7062
7063 * java/awt/Container.java (validate): Use tree lock.
7064 (getComponent): Likewise.
7065 (getComponents): Likewise.
7066 (addImpl): Likewise.
7067 (remove): Likewise.
7068 (removeAll): Likewise.
7069 (processEvent): Fixed indentation.
7070 (getComponentAt): Use tree lock.
7071 (findComponentAt): Likewise.
7072 (removeNotify): Likewise.
7073 (isAncestorOf): Likewise.
7074 (list): Likewise.
7075 (visitChildren): Likewise.
7076 (findNextFocusComponent): Likewise.
7077 (addNotifyContainerChildren): Likewise.
7078 (getAccessibleChildrenCount): Likewise.
7079 (getAccessibleChild): Likewise.
7080
7081 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7082 (getSize): Likewise.
7083 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7084 (getSize): Likewise.
7085 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7086 (calcSize): Likewise.
7087 * java/awt/CardLayout.java (getSize): Use tree lock.
7088 (gotoComponent): Likewise.
7089 (layoutContainer): Likewise.
7090
7091 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7092 count is 0.
7093 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7094 count is 0.
7095
7096 * java/io/Externalizable.java, java/io/FilePermission.java,
7097 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7098 java/io/SerializablePermission.java, java/text/Format.java,
7099 java/util/AbstractMap.java, java/util/HashMap.java,
7100 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7101 versions from Classpath.
7102
7103 2002-11-10 Anthony Green <green@redhat.com>
7104
7105 * java/util/jar/Attributes.java (Name): Fix name check.
7106
7107 2002-11-10 Mark Wielaard <mark@klomp.org>
7108
7109 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7110 with getName() as message.
7111 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7112 type as message.
7113
7114 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7115 unused.
7116
7117 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7118
7119 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7120 for Win32. JNICALL has been defined to __stdcall to be compatible
7121 with Sun's JDKs.
7122
7123 2002-11-10 Tom Tromey <tromey@redhat.com>
7124
7125 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7126 (setRows): Check newRows, not rows.
7127
7128 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7129
7130 2002-11-09 Tom Tromey <tromey@redhat.com>
7131
7132 * java/applet/Applet.java, java/applet/AppletContext.java,
7133 java/applet/AppletStub.java, java/applet/AudioClip.java,
7134 java/awt/CardLayout.java,
7135 java/awt/ContainerOrderFocusTraversalPolicy.java,
7136 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7137 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7138 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7139 java/awt/color/ICC_ColorSpace.java,
7140 java/awt/color/ICC_Profile.java,
7141 java/awt/color/ICC_ProfileGray.java,
7142 java/awt/color/ICC_ProfileRGB.java,
7143 java/awt/datatransfer/DataFlavor.java,
7144 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7145 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7146 New versions from Classpath.
7147 * Makefile.in: Rebuilt.
7148 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7149 ICC_ProfileRGB.
7150
7151 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7152 display policy.
7153
7154 * java/awt/List.java (processEvent): Added missing `else's.
7155
7156 * java/awt/Window.java (show): validate() before showing. Make
7157 parent displayable.
7158 (isDisplayable): New method.
7159
7160 2002-11-07 Mark Wielaard <mark@klomp.org>
7161
7162 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7163 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7164
7165 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7166 annotation.
7167 (loadClass): Take String as codebases.
7168 (getClassAnnotation): Use MyClassLoader annotations.
7169 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7170 call exportObject(this).
7171
7172 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7173 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7174 (setAnnotation): Don't set locBytesStream and locStream.
7175 (replaceObject): Removed.
7176 (flush): Don't test locStream.
7177 (getLocBytes): LikeWise.
7178 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7179 (leaseCache): New field.
7180 (dirty): Use leaseCache.
7181 (LeaseRecord): New inner class.
7182 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7183 explicitly call exportObject().
7184 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7185 false to communicate with Sun JDK130.
7186 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7187 * gnu/java/rmi/server/RMIObjectInputStream.java
7188 (UnicastConnectionManager): Removed field.
7189 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7190 Use UnicastServer.getExportedRef().
7191 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7192 (expireTime): Likewise.
7193 (CONNECTION_TIMEOUT): Likewise.
7194 (disconnect): Call sock.close().
7195 (isExpired): New method.
7196 (resetTime): Likewise.
7197 (run): Use do while loop and catch Exception for discardConnection().
7198 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7199 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7200 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7201 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7202 (exportObject): Use refcache.
7203 (unexportObject): Likewise.
7204 (getExportedRef): New method.
7205 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7206 constructor.
7207 (exportObject): Save manager.serverobj.
7208 (getStub): New method.
7209
7210 2002-11-07 Mark Wielaard <mark@klomp.org>
7211
7212 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7213 (getByte): Likewise.
7214 (getShort): Likewise.
7215 (getInt): Likewise.
7216 (getLong): Likewise.
7217 (getFloat): Likewise.
7218 (getDouble): Likewise.
7219 (get): Likewise.
7220 (setChar): Likewise.
7221 (setByte): Likewise.
7222 (setShort): Likewise.
7223 (setInt): Likewise.
7224 (setLong): Likewise.
7225 (setFloat): Likewise.
7226 (setDouble): Likewise.
7227
7228 2002-11-07 Michael Koch <konqueror@gmx.de>
7229
7230 * java/awt/Choice.java,
7231 java/awt/Container.java,
7232 java/awt/GridBagLayout.java:
7233 Fixed documentation.
7234 * java/awt/peer/ContainerPeer.java:
7235 Reindented.
7236
7237 2002-11-07 Michael Koch <konqueror@gmx.de>
7238
7239 * java/awt/color/ICC_Profile.java:
7240 Added missing constants.
7241 * java/awt/color/ICC_ColorSpace.java
7242 (getMinValue): Added dummy implementation.
7243 (getMaxValue): Added dummy implementation.
7244 * java/awt/datatransfer/DataFlavor.java
7245 (imageFlavor): Added.
7246 (isMimeTypeEqual): Must be final.
7247 (getDefaultRepresentationClass): Must be non-static.
7248 (getDefaultRepresentationClassAsString): Must be non-static.
7249 * java/awt/dnd/DragSourceContext.java
7250 (dragExit): Corrected argument.
7251 (dragDropEnd): Corrected argument.
7252 * java/awt/dnd/DragSourceListener.java.java
7253 (dragExit): Corrected argument.
7254 (dragDropEnd): Corrected argument.
7255 * java/awt/font/TextHitInfo.java
7256 (toString): Added stubbed implementation.
7257 * java/awt/geom/PathIterator.java:
7258 The constants must be static.
7259 * java/awt/image/VolatileImage.java
7260 (IMAGE_INCOMPATIBLE): Fixed typo.
7261 * java/awt/image/renderable/RenderableImage.java
7262 (HINTS_OBSERVED): Must be static.
7263 * java/beans/BeanInfo.java:
7264 Constants must be final.
7265
7266 2002-11-06 Tom Tromey <tromey@redhat.com>
7267
7268 From svens@it.uu.se. For PR libgcj/8481.
7269 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7270
7271 2002-11-06 Tom Tromey <tromey@redhat.com>
7272
7273 * jni.cc (array_from_valist): Assume that jlong won't be
7274 promoted.
7275
7276 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7277
7278 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7279 Return 20.
7280 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7281 Return 16.
7282
7283 2002-11-03 Tom Tromey <tromey@redhat.com>
7284
7285 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7286 VMClassLoader, not findClass.
7287
7288 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7289
7290 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7291 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7292 _Jv_DetermineVTableIndex, to determine vtable offset.
7293 (_Jv_DetermineVTableIndex): Remove.
7294 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7295
7296 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7297
7298 2002-11-03 Tom Tromey <tromey@redhat.com>
7299
7300 * java/nio/channels/AlreadyConnectedException.java: Extend
7301 IllegalStateException, per spec.
7302
7303 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7304
7305 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7306
7307 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7308
7309 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7310 size items.
7311
7312 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7313
7314 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7315 initial estimated size to avoid enlarge buffer frequently.
7316
7317 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7318
7319 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7320 ClassLoader when null.
7321 (ProxyType.hashCode): Loader null check no longer needed.
7322 (ProxyType.sameTypes): New method.
7323 (ProxyType.equals): Use new method.
7324
7325 2002-10-31 Mark Wielaard <mark@klomp.org>
7326
7327 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7328 length of String.
7329 * java/net/URLEncoder.java (encode): Likewise.
7330
7331 2002-10-31 Mark Wielaard <mark@klomp.org>
7332
7333 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7334 when stream is closed.
7335 (closeEntry): Likewise.
7336 (read): Likewise.
7337 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7338 ZipException when no entry active.
7339 (closeEntry): Likewise.
7340 (write): Likewise.
7341
7342 2002-11-02 Tom Tromey <tromey@redhat.com>
7343
7344 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7345 * java/lang/natClass.cc (initializeClass): Don't return just
7346 because self==thread.
7347
7348 For PR java/8415:
7349 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7350 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7351
7352 2002-11-02 Andreas Schwab <schwab@suse.de>
7353
7354 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7355 pass GCJFLAGS.
7356 (FLAGS_TO_PASS): Define.
7357 * Makefile.in: Regenerated.
7358
7359 2002-11-01 Michael Koch <konqueror@gmx.de>
7360
7361 * java/nio/ByteOrder.java: New file.
7362 * java/nio/channels/DatagramChannel.java:
7363 (DatagramChannel): New constructor.
7364 * java/nio/channels/Pipe.java: New file.
7365 * java/nio/channels/SelectableChannel.java: New file.
7366 * java/nio/channels/SelectionKey.java: New file.
7367 * java/nio/channels/Selector.java: New file.
7368 * java/nio/channels/ServerSocketChannel.java
7369 (ServerSocketChannel): New constructor.
7370 * java/nio/channels/SocketChannel.java
7371 (SocketChannel): New constructor.
7372 * java/nio/channels/Pipe.java: New file.
7373 * java/nio/channels/spi/AbstractChannel.java: New file.
7374 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7375 * java/nio/channels/spi/AbstractSelectableChannel.java:
7376 License added
7377 (AbstractSelectableChannel): New stubbed method.
7378 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7379 * java/nio/channels/spi/AbstractSelector.java: New file.
7380 * java/nio/channels/spi/SelectorProvider.java: New file.
7381 * java/nio/charset/Charset.java: New file.
7382 * java/nio/charset/CoderMalfunctionError.java: New file.
7383 * java/nio/charset/CodingErrorAction.java: New file.
7384 * java/nio/charset/spi/CharsetProvider.java
7385 (charsetForName): Uncommented.
7386 * Makefile.am (java_native_source_files): Added new files.
7387 * Makefile.in: Regenerated.
7388
7389 2002-11-01 Michael Koch <konqueror@gmx.de>
7390
7391 * java/net/InetAddress.java:
7392 (isAnyLocalAddress): Implemented.
7393 (isLoopbackAddress): Implemented, comment added.
7394 (isLinkLocalAddress): Implemented, documentation added.
7395 (isSiteLocalAddress): Implemented, documentation added.
7396 (isMCGlobal): Implemented, documentation added.
7397 (isMCNodeLocal): Implemented, documentation added.
7398 (isMCLinkLocal): Implemented, documentation added.
7399 (isMCSiteLocal): Implemented, documentation added.
7400 (isMCOrgLocal): Implemented, documentation added.
7401 (getHostName): Documentation added.
7402 (getCanonicalHostName): Implemented, documentation added.
7403 (getAddress): Documentation added.
7404 (hashCode): Documentation added.
7405 (equals): Documentation added.
7406 (toString): Fixed implementation.
7407 (getByAddress): Use Inet4Address and Inet6Address.
7408 (lookup): New linewrap.
7409 (getByName): SecurityManager check added, support Inet4Address and
7410 Inet6address, comments added.
7411 (getAllByName): SecurityManager check added, comments added.
7412 * java/net/Inet6Address.java:
7413 (Inet6Address): Initialize parent class with addr instead of null.
7414 * java/net/URL.java
7415 (equals): Documentation added.
7416 (getFile): Documentation added.
7417 (hashCode): Documentation added.
7418 * java/net/natInetAddress.cc:
7419 (aton): Fix IPv6 support.
7420 * java/net/natPlainDatagramSocketImpl.cc:
7421 (peek): Throw PortUnreachableException when suitable.
7422 (peekData): Throw PortUnreachableException when suitable.
7423 (send): Throw PortUnreachableException when suitable.
7424 (receive): Throw PortUnreachableException when suitable.
7425
7426 2002-10-27 Mark Wielaard <mark@klomp.org>
7427
7428 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7429 argument.
7430 (readLeShort): Likewise and use byte[].
7431 (readLeInt): Likewise.
7432 (readEntries): Use new versions of methods and use byte[] for reading
7433 a complete zip entry. Add ZipFile name to exceptions.
7434 (entries): Add ZipFile name to exceptions.
7435 (getEntry): Likewise.
7436 (checkLocalHeader): Use new versions of methods and add ZipFile name
7437 to exceptions.
7438
7439 2002-10-31 Mark Anderson <mark@panonet.net>
7440
7441 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7442 added
7443
7444 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7445
7446 * configure.in: Disable hash sync when not using threads.
7447 * configure: Regenerated.
7448
7449 2002-10-24 Tom Tromey <tromey@redhat.com>
7450
7451 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7452 (_Jv_FindSymbolInExecutable): Removed argument name.
7453 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7454 java.library.path is set.
7455
7456 * gij.cc (help): Document --showversion.
7457 (version): Don't exit.
7458 (main): Handle --showversion. Exit if --version given.
7459
7460 2002-10-23 Tom Tromey <tromey@redhat.com>
7461
7462 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7463 (array_from_valist): Correctly handle promotion for jint, jlong,
7464 jfloat, and jdouble.
7465
7466 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7467
7468 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7469 GetFileAttributesEx( ) to find file length and modification times,
7470 as the latter is not present on Windows 95.
7471
7472 2002-10-21 Michael Koch <konqueror@gmx.de>
7473
7474 * java/net/URL.java
7475 (URL): Activate SecurityManager checks.
7476 (equals): Use URLStreamHandler implementation instead of doing it
7477 alone. This allows special protocol stream handlers to change default
7478 behaviour.
7479 (hashCode): Use URLStreamHandler implementation instead of doing it
7480 alone. This allows special protocol stream handlers to change default
7481 behaviour.
7482 * java/net/URLStreamHandler.java
7483 (equals): Implemented default URL equality check.
7484 (hostsEqual): Implemented default URL equality check.
7485 (hashCode): Implemented default URL hashCode algorithm.
7486 * java/net/natPlainDatagramSocketImpl.cc:
7487 No lines longer then 80 characters.
7488
7489 2002-10-20 Adam Megacz <adam@xwt.org>
7490
7491 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7492 * configure.in: enabled hash sync on Win32
7493 * include/win32-threads.h (_Jv_ThreadId_t): added.
7494 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7495 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7496 removed some posix-isms, use Thread::sleep() instead of usleep,
7497 added code to clear bottom three bits if platform has a broken
7498 linker.
7499 * include/win32-threads.h (_Jv_ThreadId_t): added.
7500
7501 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7502
7503 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7504 runtime property "gnu.gcj.progname" containing the name used to
7505 invoke the current Java program (similar to argv[0] for C
7506 programs).
7507
7508 2002-10-15 Tom Tromey <tromey@redhat.com>
7509
7510 Fix for PR libgcj/8234:
7511 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7512 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7513
7514 2002-10-13 Mark Wielaard <mark@klomp.org>
7515
7516 * mauve-libgcj: Enable Mauve tests that compile now.
7517
7518 2002-10-11 Mark Wielaard <mark@klomp.org>
7519
7520 Fix for PR libgcj/8142
7521 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7522 loading native modules.
7523
7524 2002-10-10 Michael Koch <konqueror@gmx.de>
7525
7526 * javax/swing/AbstractListModel.java
7527 (getListDataListeners): New stubbed method.
7528 javax/swing/DefaultBoundedRangeModel.java
7529 (getChangeListeners): New stubbed method.
7530 javax/swing/DefaultSingleSelectionModel.java
7531 (getChangeListeners): New stubbed method.
7532
7533 2002-10-10 Michael Koch <konqueror@gmx.de>
7534
7535 * gcj/.cvsignore: New file to ignore files generated during build.
7536 * include/.cvsignore: New file to ignore files generated during build.
7537
7538 2002-10-10 Michael Koch <konqueror@gmx.de>
7539
7540 * java/net/HttpURLConnection.java
7541 (getPermission): New method.
7542 (getErrorStream): New stub method.
7543 (getHeaderFieldDate): New stub method.
7544 * java/net/Inet4Address.java:
7545 (isLinkLocalAddress): Typo fixed.
7546 * java/net/InetAddress.java:
7547 (readResolve): New stubbed method (for serialization).
7548 (isAnyLocalAddress): New stubbed method.
7549 (isLoopbackAddress): New stubbed method.
7550 (isLinkLocalAddress): New stubbed method.
7551 (isSiteLocalAddress): New stubbed method.
7552 (isMCGlobal): New stubbed method.
7553 (isMCNodeGlobal): New stubbed method.
7554 (isMCLinkLocal): New stubbed method.
7555 (isMCSiteLocal): New stubbed method.
7556 (isMCOrgLocal): New stubbed method.
7557 (getCanonicalHostName): New stubbed method.
7558 (getByAddress): Create instances of Inet4Address/Inet6Address,
7559 instead of InetAddress, documentation added.
7560 * java/net/MulticastSocket.java
7561 (getInterface): Removed FIXME.
7562 (getNetworkInterface): New method.
7563 (setNetworkInterface): New method.
7564 * java/net/NetworkInterface.java:
7565 (toString): Use property "line.separator" instead of "\n".
7566 * java/net/URLConnection.java
7567 (getContent): New stubbed method.
7568 * java/net/URLStreamHandler.java:
7569 (equals): New stubbed method.
7570 (hostsEqual): New stubbed method.
7571 (hashCode): New stubbed method.
7572 * java/net/natNetworkInterface.cc:
7573 (getRealNetworkInterfaces): Create Inet4Address object
7574 instead of InetAddress.
7575
7576 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7577
7578 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7579 unsigned long temporary to implement insn_iushr shifts.
7580
7581 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7582
7583 * configure.host [s390*-*]: Enable Java interpreter.
7584 Enable hash synchronization. Add sysdeps dir.
7585 * sysdep/s390/locks.h: New file.
7586
7587 2002-10-06 Mark Wielaard <mark@klomp.org>
7588
7589 * java/lang/Thread.java (setDaemon): Check startable_flag,
7590 not isAlive().
7591
7592 2002-10-07 Michael Koch <konqueror@gmx.de>
7593
7594 * java/nio/Buffer.java: New stub file.
7595 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7596 of class Charset.
7597 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7598 * Makefile.in: Regenerated.
7599
7600 2002-10-07 Michael Koch <konqueror@gmx.de>
7601
7602 * java/nio/ByteBuffer.java:
7603 removed import of not commited class.
7604
7605 2002-10-07 Michael Koch <konqueror@gmx.de>
7606
7607 * java/nio/ByteBuffer.java,
7608 java/nio/MappedByteBuffer.java:
7609 New files, forgot to add these dummies.
7610 * Makefile.am (java_native_source_files): Added new files.
7611 * Makefile.in: Regenerated.
7612
7613 2002-10-07 Michael Koch <konqueror@gmx.de>
7614
7615 * java/nio/channels/AlreadyConnectedException.java,
7616 java/nio/channels/ClosedChannelException.java,
7617 java/nio/channels/ReadableByteChannel.java,
7618 java/nio/channels/InterruptibleChannel.java,
7619 java/nio/channels/Channel.java,
7620 java/nio/channels/ByteChannel.java,
7621 java/nio/channels/GatheringByteChannel.java,
7622 java/nio/channels/ScatteringByteChannel.java,
7623 java/nio/channels/WritableByteChannel.java,
7624 java/nio/charset/CharacterCodingException.java,
7625 java/nio/charset/IllegalCharsetNameException.java,
7626 java/nio/charset/MalformedInputException.java,
7627 java/nio/charset/UnmappableCharacterException.java,
7628 java/nio/charset/UnsupportedCharsetException.java,
7629 java/nio/charset/spi/CharsetProvider.java: New file.
7630 These files are exceptions or interfaces,
7631 no real or abstract classes.
7632 * Makefile.am (java_native_source_files): Added new files.
7633 * Makefile.in: Regenerated.
7634
7635 2002-10-05 Michael Koch <konqueror@gmx.de>
7636
7637 * java/net/InetAddress.java
7638 (getByAddress): Fixed documentation.
7639 (getByAddress): New method.
7640 * java/net/Inet4Address.java: New file.
7641 * java/net/URL.java
7642 (URL): Documentation added.
7643 (getContent): Documentation added.
7644 (getContent): New stubbed method.
7645 (getQuery): New method.
7646 (openConnection): Documentation added.
7647 (openStream): Documentation added.
7648 (setURLStreamHandlerFactory): Documentation added.
7649 * java/net/URI.java: New stub file.
7650 * Makefile.am
7651 (java_native_source_files): Added java/net/Inet4Address.java,
7652 java/net/Inet6Address.java and java/net/URI.java.
7653 * Makefile.in: Regenerated.
7654
7655 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7656
7657 * java/lang/ProtectionDomain.java (linesep): Remove field.
7658 (toString): Use System.getProperty("line.separator").
7659
7660 2002-10-04 Michael Koch <konqueror@gmx.de>
7661
7662 * java/security/Identity.java: Added serialVersionUID.
7663 * java/security/KeyPair.java: Added serialVersionUID.
7664 * java/security/Provider.java: Added serialVersionUID.
7665 * java/security/SecureRandom.java: Added serialVersionUID.
7666 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7667 * java/security/SignedObject.java: Added serialVersionUID.
7668 * java/security/cert/Certificate.java: Added serialVersionUID.
7669
7670 2002-10-04 Mark Wielaard <mark@klomp.org>
7671
7672 * java/security/Security.java: Use java.home or gnu.classpath.home
7673 to load providers.
7674 (loadProviders): Extra dir argument.
7675 (getProvider): Return null when not found.
7676
7677 2002-10-04 Mark Wielaard <mark@klomp.org>
7678
7679 * java/lang/Throwable.java: Remerge with Classpath.
7680
7681 2002-10-04 Michael Koch <konqueror@gmx.de>
7682
7683 * java/net/InetAddress.java:
7684 (isMulticastAddress): Added documentation.
7685 (getHostAddress): Added documentation.
7686 (toString): Added documentation.
7687 (getByAddress): Fixed documentation.
7688 (getByName): Added documentation.
7689 (getAllByName): Added documentation.
7690 (getLocalHost): Added documentation.
7691
7692 2002-10-04 Michael Koch <konqueror@gmx.de>
7693
7694 * java/beans/beancontext/BeanContextChildSupport.java:
7695 Added serialVersionUID.
7696 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7697 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7698 * javax/naming/Name.java: Added serialVersionUID.
7699
7700 2002-10-03 Adam Megacz <adam@xwt.org>
7701
7702 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7703 some functionality that isn't supported yet on WIN32.
7704
7705 2002-10-03 Tom Tromey <tromey@redhat.com>
7706
7707 * Makefile.in: Rebuilt.
7708 * Makefile.am (awt_java_source_files): Added new files.
7709
7710 2002-10-03 Michael Koch <konqueror@gmx.de>
7711
7712 * java/net/InetAddress.java
7713 (class InetAddress): Removed final keyword.
7714 (equals): Fixed typo.
7715 (getByAddress): New method.
7716
7717 2002-10-03 Michael Koch <konqueror@gmx.de>
7718
7719 * java/awt/dnd/Autoscroll.java:
7720 New file, merge from Classpath.
7721 * java/awt/dnd/DragSourceAdapter.java:
7722 (dragExit): Fixed typos in argument type.
7723 (dragDropEnd): Fixed typos in argument type.
7724 * java/awt/dnd/DragSourceDropEvent.java:
7725 New file, merge from Classpath.
7726 * java/awt/dnd/DropTarget.java:
7727 Added stubs, merge from Classpath.
7728 * java/awt/dnd/DropTargetAdapter.java:
7729 New file, merge from Classpath.
7730 * java/awt/dnd/DropTargetContext.java:
7731 New file, merge from Classpath.
7732 * java/awt/dnd/DropTargetDragEvent.java:
7733 New file, merge from Classpath.
7734 * java/awt/dnd/DropTargetDropEvent.java:
7735 New file, merge from Classpath.
7736 * java/awt/dnd/DropTargetEvent.java:
7737 New file, merge from Classpath.
7738 * java/awt/dnd/DropTargetListener.java:
7739 New file, merge from Classpath.
7740 * java/awt/dnd/MouseDragGestureRecognizer.java:
7741 New file, merge from Classpath.
7742 * java/awt/dnd/peer/DropTargetContextPeer.java:
7743 New file, merge from Classpath.
7744
7745 2002-10-03 Michael Koch <konqueror@gmx.de>
7746
7747 * java/net/DatagramPacket.java
7748 (setLength): Fixed typo and be HTML-aware.
7749 * java/net/InetSocketAddress.java
7750 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7751 (equals): Added comment about equality of InetSocketAddress objects.
7752 * java/net/ServerSocket.java
7753 (accept): Added checks.
7754 (isClosed): New stubbed method.
7755 * java/net/SocketOptions.java: Reindention.
7756 * java/net/SocketPermission
7757 (SocketPermission): Documentation fixed.
7758
7759 2002-10-03 Michael Koch <konqueror@gmx.de>
7760
7761 * java/net/DatagramSocket.java
7762 (receive): Check with SecurityManager AFTER the packet is received,
7763 check if connected to multicast address, documentation added.
7764 (send): Only check SecurityManager if connected, check address of
7765 packet to send.
7766 (connect): Implemented, documentation added.
7767 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7768 * java/net/InetSocketAddress.java
7769 (whole file): Reindented.
7770 (hostname): New attribute.
7771 (InetSocketAddress): Initialize new attribute.
7772 (getAddress): Documentation added.
7773 (getHostName): Documentation added.
7774 (getPort): Documentation added.
7775 (hashCode): Documentation added.
7776 (isUnresolved): Documentation added.
7777 (toString): Conform to output of JDK 1.4.1, documentation added.
7778 * java/net/MulticastSocket.java
7779 (joinGroup): Removed FIXME, documentation added.
7780 (leaveGroup): Removed FIXME, documentation added.
7781 (send): Documentation added.
7782 * java/net/Socket.java
7783 (inputShutdown): New variable.
7784 (outputShutdown): New variable.
7785 (Socket): Initialize new variables.
7786 (getRemoteSocketAddress): Check if connected.
7787 (shutdownInput): Set new variable.
7788 (shutdownOutput): Set new variable.
7789 (isConnected): New method.
7790 (isClosed): New method.
7791 (isInputShutdown): New method.
7792 (isOutputShutdown): New method.
7793 * java/net/URLStreamHandler.java
7794 (URLStreamHandler): New method.
7795 (openConnection): Added documentation.
7796 (parseURL): Added documentation.
7797 (getHostAddress): New method.
7798 (getDefaultPort): New method.
7799
7800 2002-10-02 Tom Tromey <tromey@redhat.com>
7801
7802 * java/rmi/activation/ActivationDesc.java,
7803 java/rmi/activation/ActivationGroupDesc.java,
7804 java/rmi/activation/ActivationGroupID.java,
7805 java/rmi/activation/ActivationID.java: New versions from
7806 Classpath.
7807
7808 2002-09-30 Bo Thorsen <bo@suse.de>
7809
7810 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7811
7812 2002-09-30 Tom Tromey <tromey@redhat.com>
7813
7814 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7815 from Classpath.
7816 * Makefile.in: Rebuilt.
7817 * Makefile.am (rmi_java_source_files): Added new files.
7818 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7819 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7820 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7821 Classpath.
7822 * gnu/java/rmi/dgc/DGCImpl.java,
7823 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7824 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7825 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7826 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7827 gnu/java/rmi/server/RMIHashes.java,
7828 gnu/java/rmi/server/RMIObjectInputStream.java,
7829 gnu/java/rmi/server/RMIObjectOutputStream.java,
7830 gnu/java/rmi/server/UnicastConnection.java,
7831 gnu/java/rmi/server/UnicastConnectionManager.java,
7832 gnu/java/rmi/server/UnicastRef.java,
7833 gnu/java/rmi/server/UnicastServer.java,
7834 gnu/java/rmi/server/UnicastServerRef.java,
7835 java/rmi/MarshalledObject.java,
7836 java/rmi/server/RMIClassLoader.java,
7837 java/rmi/server/RemoteObject.java,
7838 java/rmi/server/UnicastRemoteObject.java,
7839 java/security/SecureClassLoader.java: Merged from Classpath.
7840
7841 2002-09-29 Anthony Green <green@redhat.com>
7842
7843 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7844 Imported from GNU Classpath.
7845 * java/lang/reflect/natProxy.cc: New file.
7846 * java/lang/reflect/InvocationHandler.java: New file. Imported
7847 from GNU Classpath.
7848 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7849 Classpath.
7850 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7851 Classpath.
7852 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7853 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7854 New statics.
7855 * gcj/javaprims.h ("Java"): Add new classes.
7856 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7857 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7858 java/lang/reflect/Proxy$$ProxyType.h): And this.
7859 (inner_nat_headers): Add these new headers.
7860 (ordinary_java_source_files): Add new files.
7861 (nat_source_files): Add new file.
7862 * Makefile.in: Rebuilt.
7863
7864 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7865
7866 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7867 a single configuration.
7868
7869 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7870
7871 * java/util/TimeZone.java (getDSTSavings): New method.
7872 Fixes PR libgcj/7786.
7873
7874 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7875
7876 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7877 to see if `the_method == 0' before looking up vtable index.
7878 Fixes PR libgcj/7709.
7879
7880 2002-09-25 Tom Tromey <tromey@redhat.com>
7881
7882 * java/lang/natClassLoader.cc:
7883 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7884 * resolve.cc: Include NoClassDefFoundError.h, not
7885 ClassNotFoundException.h.
7886 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7887
7888 * defineclass.cc: Don't include ClassNotFoundException.h.
7889
7890 * resolve.cc: Include StringBuffer.
7891 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7892
7893 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7894 allocated but not initialized.
7895
7896 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7897
7898 Fix for PR libgcj/7766:
7899 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7900 (getNextEntry): Set it.
7901 (closeEntry): Likewise.
7902 (read): Likewise.
7903 (close): Likewise.
7904 (available): Use it.
7905
7906 2002-09-25 Michael Koch <konqueror@gmx.de>
7907
7908 * java/net/DatagramSocket.java
7909 (DatagramSocket): Initialize new instance variables.
7910 (close): Reset new instance variables.
7911 (getLocalAddress): Remove unneeded SecurityManager usage.
7912 (getLocalPort): Check if socket is already bound.
7913 (isConnected): New method.
7914 (getInetAddress): Implemented.
7915 (getPort): Better Implementation, documentation fixed.
7916 (getRemoteSocketAddress): New method.
7917 * java/net/JarURLConnection.java
7918 (element): Typo fixed.
7919 (getMainAttributes): New method.
7920 (getAttributes): New method (stub only).
7921 (getManifest): New method (stub only).
7922 * java/net/NetPermission.java: Added serialVersionsUID.
7923 * java/net/Socket.java
7924 (connect): Check blocking mode of associated channel,
7925 documentation added.
7926 (getLocalSocketAddress): Better implementation.
7927 (getRemoteSocketAddress): Implemented.
7928 (isBound): New method.
7929 (setSendBufferSize): Documentation added.
7930 * java/net/SocketAddress.java: Added serialVersionsUID.
7931 * java/net/SocketPermission.java: Added serialVersionsUID.
7932 * java/net/URL.java
7933 (URL): Wrap for shorter lines, initialize new instance variables,
7934 documentation added.
7935 (equals): Check new instance variables too.
7936 (getContent): Documentation added.
7937 (getPath): Documentation added.
7938 (getAuthority): New method.
7939 (getHost): Documentation added.
7940 (getPort): Documentation added.
7941 (getDefaultPort): New method.
7942 (getProtocol): Documentation added.
7943 (getUserInfo): Documentation added.
7944 (set): Initialize new instance variables, documentation added.
7945 * java/net/URLStreamHandler.java
7946 (setURL): New method.
7947 * java/net/natPlainDatagramSocketImpl.cc
7948 (connect): Fix exception name.
7949 (disconnect): Fix exception name.
7950
7951 2002-09-25 Michael Koch <konqueror@gmx.de>
7952
7953 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7954 * java/nio/channels/DatagramChannel.java:
7955 extends AbstractSelectableChannel
7956 * java/nio/channels/ServerSocketChannel.java:
7957 extends AbstractSelectableChannel
7958 * java/nio/channels/SocketChannel.java:
7959 extends AbstractSelectableChannel
7960 * Makefile.am (ordinary_java_source_files):
7961 java/nio/channels/spi/AbstractSelectableChannel.java added.
7962 * Makefile.in: Regenerated.
7963
7964 2002-09-25 Michael Koch <konqueror@gmx.de>
7965
7966 * java/net/DatagramSocket.java
7967 (DatagramSocket): Exception documentation added.
7968 (bind): Exception documentation added, addded SecurityManager check,
7969 added SocketAddress type check.
7970 (getSoTimeout): Check impl.
7971 (receive): Fix SecurityManager check, check impl, documentation added.
7972 (send): Check channel mode, documentation added.
7973 (connect): New method.
7974 (disconnect): Implemented.
7975 (getLocalSocketAddress): New method.
7976 (getReceiveBufferSize): Check impl.
7977 (setReuseAddress): Check impl.
7978 (getReuseAddress): Check impl.
7979 (setBroadcast): Check impl.
7980 (getBroadcast): Check impl.
7981 (setTrafficClass): Check impl, Documentation cleared.
7982 (getTrafficClass): Check impl.
7983 (getSendBufferSize): Check impl.
7984 (setReceiveBufferSize): Check impl, documentation added.
7985 (setSendBufferSize): Documentation added.
7986 (setDatagramSocketImplFactory): New method.
7987 * java/net/HttpURLConnection.java
7988 (HTTP_INTERNAL_ERROR): The correct code is 500.
7989 (HTTP_NOT_IMPLEMENTED): Added new constant.
7990 (setFollowRedirects): Documentation added.
7991 (getInstanceFollowRedirects): New method.
7992 (setInstanceFollowRedirects): New method.
7993 (setRequestMethod): Documentation added.
7994 (getResponseCode): Documentation added.
7995 (getResponseMessage): Documentation added.
7996 * java/net/JarURLConnection.java
7997 (JarURLConnection): protected since JDK 1.4.
7998 (getJarEntry): java.io.IOException to IOException, documentation added.
7999 (getJarFile): Documentation added.
8000 * java/net/ServerSocket.java
8001 (ServerSocket): Private to public, exception added.
8002 (ServerSocket): java.io.IOException to IOException, documentation added.
8003 (bind): Check socket address type, documentation added.
8004 (bind): java.io.IOException to IOException, documentation added.
8005 (accept): Documentation added.
8006 (implAccept): Check ch is not non-blocking, documentation added.
8007 (setSoTimeout): Documentation fixed.
8008 (setReceiveBufferSize): Documentation added.
8009 * java/net/Socket.java
8010 (Socket): Documentation added.
8011 (bind): Documentation added.
8012 (connect): Check socket address type, documentation added.
8013 (getRemoteSocketAddress): New method.
8014 (getLocalSocketAddress): New method.
8015 (setSoLinger): Documentation added.
8016 (getReuseAddress): New method.
8017 (setReuseAddress): New method.
8018 (getTrafficClass): New method.
8019 (setTrafficClass): New method.
8020 * java/net/URLStreamHandler.java
8021 (openConnection): java.io.IOException to IOException.
8022 (parseURL): Documentation added.
8023 (sameFile): public to protected, documentation added.
8024 (setURL): Documentation added.
8025 * java/nio/IllegalBlockingModeException.java: New file.
8026 * Makefile.am (ordinary_java_source_files):
8027 added java/nio/IllegalBlockingModeException.java
8028 * Makefile.in: Regenerated.
8029
8030 2002-09-25 Michael Koch <konqueror@gmx.de>
8031
8032 * java/net/DatagramPacket
8033 (DatagramPacket): Exception documentation added.
8034 (setData): Likewise.
8035 (setSocketAddress): Likewise.
8036 * java/net/DatagramSocketImpl.java
8037 (peek): Documentation addded.
8038 (peekData): Documentation addded.
8039 (send): Documentation addded.
8040 (receive): Documentation addded.
8041 (connect): New method.
8042 (disconnect): New method.
8043 (joinGroup): New abstract method.
8044 (leaveGroup): New abstract method.
8045 * java/net/InetSocketAddress.java
8046 (InetSocketAddress): Documentation added.
8047 (equals): final keyword added.
8048 (getAddress): final keyword added.
8049 (getHostName): final keyword added.
8050 (getPort): final keyword added.
8051 (hashCode): final keyword added.
8052 (isUnresolved): final keyword added.
8053 * java/net/MulticastSocket.java
8054 (MulticastSocket): Documentation added.
8055 (MulticastSocket): New method.
8056 (joinGroup): Documentation added.
8057 (joinGroup): New method.
8058 (leaveGroup): Documentation added.
8059 (leaveGroup): New method.
8060 (send): Documentation added.
8061 * java/net/NetworkInterface.java
8062 (getByName): Documentation added.
8063 (getByInetAddress): Documentation added.
8064 (getNetworkInterfaces): Documentation added.
8065 * java/net/PlainDatagramSocketImpl.java
8066 (connect): New method.
8067 (disconnect): New method.
8068 * java/net/SocketImpl.java
8069 (create): Documentation added.
8070 (shutdownInput): Convert public to protected, as it always was.
8071 (shutdownOutput): Convert public to protected, as it always was.
8072 * java/net/SocketOptions.java
8073 (whole file): Reintented.
8074 * java/net/URLClassLoader.java
8075 (URLClassLoader): SecurityManager check added, documentation added.
8076 (findResources): Documentation added.
8077 (findClass): Documentation added.
8078 (newInstance): More correct method arguments.
8079 * java/net/URLConnection.java
8080 (connect): Documentation added.
8081 (getContent): Documentation added.
8082 (getPermission): Documentation added.
8083 (getInputStream): Documentation added.
8084 (getOutputStream): Documentation added.
8085 (setDoInput): Throw correct exception, documentation added.
8086 (setDoOutput): Throw correct exception, documentation added.
8087 (setAllowUserInteraction): Throw correct exception, documentation added.
8088 (setUseCaches): Throw correct exception, documentation added.
8089 (setIfModifiedSince): Throw correct exception, documentation added.
8090 (setRequestProperty): Throw exception, documentation added.
8091 (addRequestProperty): Throw exception, documentation added.
8092 (getRequestProperty): Throw exception, documentation added.
8093 (getRequestProperties): Documentation added.
8094 (setContentHandlerFactory): Documentation added.
8095 (guessContentTypeFromName): protected to public.
8096 (setFileNameMap): Documentation added.
8097 * java/net/URLDecoder.java
8098 (URLDecoder): New method.
8099 (decode): Documentation added.
8100 (whole file): Reindented.
8101 * java/net/URLEncoder.java
8102 (encode): Documentation added.
8103 * java/net/natPlainDatagramSocketImpl.cc
8104 (connect): New method.
8105 (disconnect): New method.
8106 * javax/naming/RefAddr:
8107 (addrType): addrType was never final.
8108 (equals): Fix typo in method name.
8109 * javax/naming/BinaryRefAddr:
8110 (equals): Fix typo in method name.
8111
8112 2002-09-22 Tom Tromey <tromey@redhat.com>
8113
8114 Fix for PR libgcj/6576:
8115 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8116 didn't find a given bundle.
8117 (getBundle): Don't require base bundle.
8118 (setParent): Removed old comment.
8119 (tryLocalBundle): Try components even if preceding components were
8120 empty.
8121
8122 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8123
8124 * Makefile.am (all-multi): Fix multilib parallel build.
8125
8126 2002-09-21 Michael Koch <konqueror@gmx.de>
8127
8128 * java/net/Socket.java
8129 (sendUrgentData): New method.
8130 (getChannel): New method.
8131 * java/net/ServerSocket.java
8132 (getChannel): New method.
8133 (isBound): New method.
8134 * java/net/DatagramSocket.java
8135 (DatagramSocket): Two new methods.
8136 (bind): New method.
8137 (getChannel): New method.
8138 (isBound): New method.
8139 (send): Added newline to to make shorter lines.
8140 * java/net/PlainDatagramSocketImpl.java
8141 (mcastGrp): Added argument.
8142 (join): Use new mcastGrp.
8143 (leave): Use new mcastGrp.
8144 (joinGroup): New method.
8145 (leaveGroup): New method.
8146 * java/net/natPlainDatagramSocketImpl.cc
8147 (mcastGrp): Added argument, no yet really implemented.
8148 (getOption): Added newline for shorter lines.
8149 * java/net/natPlainSocketImpl.cc
8150 (read, setOption, getOption): Added newline for shorter lines.
8151
8152 2002-09-19 Tom Tromey <tromey@redhat.com>
8153
8154 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8155 newly-created exception.
8156
8157 2002-09-18 Michael Koch <konqueror@gmx.de>
8158
8159 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8160 java/util/regex/PatternSyntaxException.java:
8161 Merge with classpath, new files.
8162 * Makefile.am (core_java_source_files):
8163 Added java/util/regex/Matcher.java,
8164 java/util/regex/Pattern.java,
8165 java/util/regex/PatternSyntaxException.java
8166 * Makefile.in: Regenerated.
8167 * include/config.h.in: Added HAVE_NET_IF_H.
8168 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8169 Removed #if 0 ... #endif.
8170
8171 2002-09-17 Michael Koch <konqueror@gmx.de>
8172
8173 * java/net/natNetworkInterface.cc:
8174 Removed unneed and yet wrong includes.
8175
8176 2002-09-17 Michael Koch <konqueror@gmx.de>
8177
8178 * java/net/NetworkInterface.java: New file.
8179 * java/net/natNetworkInterface.java: New file.
8180 * configure.in: Added check for net/if.h.
8181 * configure: Regenerated.
8182 * Makefile.am
8183 (ordinary_java_source_files): Added NetworkInterface.java.
8184 (nat_source_files): Added natNetworkInterface.cc.
8185 * Makefile.in: Regenerated.
8186
8187 2002-09-16 Tom Tromey <tromey@redhat.com>
8188
8189 * java/net/URLClassLoader.java (findClass): Code source for a
8190 class from a jar is not necessarily a jar: URL.
8191
8192 2002-09-16 Michael Koch <konqueror@gmx.de>
8193
8194 * java/lang/AssertionError.java:
8195 Merge with classpath, fixes HTML.
8196 * java/rmi/server/LogStream.java:
8197 Merge with classpath, fixes some constants.
8198 * java/net/server/RemoteServer.java:
8199 Merge with classpath, adds serialVersionUID.
8200 * javax/naming/BinaryRefAddr.java:
8201 Merge with classpath, s/equal/equals/.
8202 * javax/naming/NamingException.java:
8203 Merge with classpath, fixed typo.
8204 * javax/naming/RefAddr.java:
8205 Merge with classpath, s/equal/equals/.
8206 * java/awt/Toolkit.java:
8207 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8208 and typo fixed.
8209
8210 2002-09-15 Adam Megacz <adam@xwt.org>
8211
8212 * java/net/natPlainSocketImpl.cc: fixed typo.
8213
8214 2002-09-15 Adam Megacz <adam@xwt.org>
8215
8216 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8217 which don't work on Win32 (yet).
8218
8219 2002-09-14 Adam Megacz <adam@xwt.org>
8220
8221 * java/net/natPlainDatagramSocket.cc: removed #include
8222 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8223 * include/win32.h: included definition for IP_TOS to satisfy
8224 natPlainDatagramSocket.cc
8225
8226 2002-09-13 Michael Koch <konqueror@gmx.de>
8227
8228 * java/net/DatagramPacket.java (DatagramPacket):
8229 Added linebreak for 80 chars per line.
8230 * java/net/JarURLConection.java
8231 (getInputStreami, getJarEntry): Likewise.
8232 * java/net/SocketPErmission.java
8233 (SocketPermission class docu, implies): Likewise.
8234 * java/net/URLClassLoader.java (findResources): Likewise.
8235 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8236
8237 2002-09-13 Michael Koch <konqueror@gmx.de>
8238
8239 * java/nio/channels/DatagramChannel.java,
8240 java/nio/channels/ServerSocketChannel.java
8241 java/nio/channels/SocketChannel.java:
8242 New dummy files to make java.net fully JDK 1.4 compatible
8243 * Makefile.am (ordinary_java_source_files): Added
8244 java/net/DatagramSocketImplFactory.java (long forgotten),
8245 java/nio/SocketChannel.java,
8246 java/nio/ServerSocketChannel.java,
8247 java/nio/DatagramChannel.java
8248 * Makefile.in: Regenrated.
8249
8250 2002-09-12 Michael Koch <konqueror@gmx.de>
8251
8252 * java/net/DatagramSocketImpl.java
8253 (peekData): New method.
8254 * java/net/PlainDatagramSocketImpl.java
8255 (peekData): New method.
8256 * java/net/natPlainDatagramSocketImpl.cc
8257 (peekData): New method.
8258 * java/net/URLConnection
8259 (getPermission): New method.
8260 (addRequestProperty): New method.
8261 (getRequestProperties): New method.
8262 (guessContentTypeFromStream): New method, not really implemented.
8263 (URLConnection): Added/updated documentation.
8264 (connect): Added/updated documentation.
8265 (getURL): Added/updated documentation.
8266 (getContentLength): Added/updated documentation.
8267 (getContentType: Added/updated documentation.
8268 (getContentEncoding): Added/updated documentation.
8269 (getExpiration): Added/updated documentation.
8270 (getDate): Added/updated documentation.
8271 (getLastModified): Added/updated documentation.
8272 (getHeaderField): Added/updated documentation.
8273 (getHeaderFields): Added/updated documentation.
8274 (getHeaderFieldInt): Added/updated documentation.
8275 (getHeaderFieldDate): Added/updated documentation.
8276 (getHeaderFieldKey): Added/updated documentation.
8277 (getContent): Added/updated documentation.
8278 (getInputStream): Added/updated documentation.
8279 (getOutputStream): Added/updated documentation.
8280 (toString): Added/updated documentation.
8281 (setDoInput): Added/updated documentation.
8282 (getDoInput): Added/updated documentation.
8283 (setDoOutput): Added/updated documentation.
8284 (getDoOutput): Added/updated documentation.
8285 (setAllowUserInteraction): Added/updated documentation.
8286 (getAllowUserInteraction): Added/updated documentation.
8287 (setDefaultAllowUserInteraction): Added/updated documentation.
8288 (getDefaultAllowUserInteraction): Added/updated documentation.
8289 (setUseCaches): Added/updated documentation.
8290 (getUseCaches): Added/updated documentation.
8291 (setIfModifiedSince): Added/updated documentation.
8292 (getIfModifiedSince): Added/updated documentation.
8293 (getDefaultUseCaches): Added/updated documentation.
8294 (setDefaultUseCaches): Added/updated documentation.
8295 (setRequestProperty): Added/updated documentation.
8296 (getRequestProperty): Added/updated documentation.
8297 (setDefaultRequestProperty): Added/updated documentation.
8298 (getDefaultRequestProperty): Added/updated documentation.
8299 (setContentHandlerFactory): Added/updated documentation.
8300 (guessContentTypeFromName): Added/updated documentation.
8301 (getFileNameMap): Added/updated documentation.
8302 (setFileNameMap): Added/updated documentation.
8303
8304 2002-09-11 Michael Koch <konqueror@gmx.de>
8305
8306 * java/net/Socket.java
8307 (Socket): protected to public (since JDK 1.4). Added @specnote.
8308 (bind): New method.
8309 (connect): Two new methods.
8310 (getKeepalive): Get correct socket option.
8311 (setKeepalive): Set correct socket option.
8312 (getOOBInline): New method.
8313 (setOOBInline): New method.
8314 * java/net/ServerSocket.java
8315 (bind): Two new methods.
8316 (getInetAddress): Reimplemented, catch exception.
8317 (getLocalSocketAddress): New method.
8318 (setReuseAddress): New method.
8319 (getReuseAdress): New method.
8320 (setReceiveBufferSize): New method.
8321 (getReceiveBufferSize): New method.
8322 (toString): Made string JDK 1.4 compliant.
8323
8324 2002-09-10 Michael Koch <konqueror@gmx.de>
8325
8326 * java/net/SocketImpl.java
8327 (connect): New method.
8328 (supportsUrgentData): New method.
8329 (sendUrgentData): New method.
8330 * java/net/PlainSocketImpl.java
8331 (connect): One new method and two new implementation.
8332 (sendUrgentData): New method.
8333 * java/natPlainSocketImpl.cc
8334 (connect): Arguments changed, added support for timeouts.
8335 (getOption): Another __java_boolean to jboolean.
8336
8337 2002-09-07 Adam Megacz <adam@xwt.org>
8338
8339 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8340 definition of IP_TOS.
8341
8342 2002-09-04 Michael Koch <konqueror@gmx.de>
8343
8344 * java/net/DatagramSocket.java
8345 (DatagramSocket): Added documentation.
8346 (close): Likewise.
8347 (getLocalAddress): Likewise.
8348 (getLocalPort): Likewise.
8349 (receive): Likewise.
8350 (send): Likewise.
8351 (setSoTimeout): Likewise.
8352 (connect): New method.
8353 (disconnect): New method.
8354 (getInetAddress): New method (FIXME)
8355 (getPort): New method.
8356 (setReuseAddress): New method.
8357 (getReuseAddress): New method.
8358 (setBroadcast): New method.
8359 (getBroadcast): New method.
8360 (setTrafficClass): New method.
8361 (getTrafficClass): New method.
8362 * java/net/MulticastSocket.java):
8363 (getTTL): Added @see in documentation.
8364 (setTTL): Added @see in documentation.
8365 (setLoopbackMode): New method.
8366 (getLoopbackMode): New method.
8367 * java/net/PlainSocketImpl.java:
8368 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8369 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8370 * java/net/PlainDatagramSocketImpl.java
8371 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8372 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8373 * java/net/natPlainSocketImpl.cc
8374 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8375 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8376 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8377 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8378 This should also fix SO_KEEPALIVE
8379 * java/net/natPlainDatagramSocketImpl.cc
8380 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8381 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8382 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8383 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8384
8385 2002-09-04 Michael Koch <konqueror@gmx.de>
8386
8387 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8388 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8389 IP_MULTICAST_LOOP, IP_TOS
8390
8391 2002-09-03 Tom Tromey <tromey@redhat.com>
8392
8393 * java/lang/Class.h (_getDeclaredMethod): Declare.
8394 (_getMethod): Now private.
8395 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8396 getDeclaredMethod. Now returns NULL on failure.
8397 * java/lang/Class.java (_getDeclaredMethod): Declare.
8398 (getDeclaredMethod): No longer native; implements access checks.
8399
8400 2002-09-01 Mark Wielaard <mark@klomp.org>
8401
8402 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8403 (sanitizeStack): Correctly reset unknown and interpreter counters,
8404 detect interpreter runtime frames.
8405 (demangleInterpreterMethod): New method.
8406 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8407 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8408 filling in addrs[].
8409
8410 2002-09-02 Michael Koch <konqueror@gmx.de>
8411
8412 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8413 re-indented documentation.
8414
8415 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8416
8417 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8418 public, per 1.4 spec. Fixes PR libgcj/7785.
8419
8420 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8421
8422 * Makefile.in: Rebuilt.
8423 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8424
8425 2002-08-29 Tom Tromey <tromey@redhat.com>
8426
8427 * java/net/JarURLConnection.java (getCertificates): New method
8428 from Classpath.
8429 * java/net/URLClassLoader.java (URLClassLoader): Extends
8430 SecureClassLoader.
8431 (definePackage): New method from Classpath.
8432 (getPermissions): Likewise.
8433 (newInstance): Likewise.
8434 (findClass): Construct CodeSource for new class (from Classpath).
8435 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8436 methods.
8437 * java/net/URL.java (getUserInfo): New method.
8438 (set(String,String,int,String,String,String,String,String)): New
8439 method.
8440 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8441 (shutdownInput, shutdownOutput): Declare.
8442 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8443 Define.
8444 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8445 (getOption): Likewise.
8446 (shutdownInput): New method.
8447 (shutdownOutput): Likewise.
8448 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8449 keepalive.
8450 (getOption): Likewise.
8451 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8452 * java/net/Socket.java (setKeepAlive): New method.
8453 (getKeepAlive): Likewise.
8454 (shutdownInput, shutdownOutput): New methods.
8455
8456 2002-08-29 Michael Koch <konqueror@gmx.de>
8457
8458 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8459 new methods are:
8460 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8461 address),
8462 DatagramPacket(byte[] buf, int length, SocketAddress address),
8463 void setSocketAddress(SocketAddress address)
8464 public SocketAddress getSocketAddress()
8465
8466 2002-08-29 Tom Tromey <tromey@redhat.com>
8467
8468 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8469 ftruncate is missing.
8470 * configure, include/config.h.in: Rebuilt.
8471 * acconfig.h (HAVE_FTRUNCATE): Mention.
8472 * configure.in: Check for ftruncate.
8473
8474 2002-08-29 Tom Tromey <tromey@redhat.com>
8475
8476 * include/jvm.h (struct _Jv_frame_info): New structure.
8477 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8478 java-interp.h.
8479 (lookupInterp): New method.
8480 (getAddrAsString): Use _Jv_frame_info.
8481 (dladdrLookup): Likewise.
8482 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8483 interpreted frame.
8484 (lookupInterp): Declare.
8485 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8486 (fillInStackTrace): Collect information on interpreted frames.
8487 Use _Jv_frame_info.
8488 * interpret.cc: Include Thread.h.
8489 (run): Create and push _Jv_MethodChain object.
8490 (_Jv_EndOfInterpreter): New global.
8491 * java/lang/Thread.java (interp_frame): New field.
8492 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8493 Include NameFinder.h.
8494
8495 2002-08-28 Tom Tromey <tromey@redhat.com>
8496
8497 * java/lang/Class.h: Include Package.h.
8498 (Class::getProtectionDomain): Declare.
8499 (Class::getPackage): Declare.
8500
8501 2002-08-28 Michael Koch <konqueror@gmx.de>
8502
8503 * java/net/InetSocketAddress.java: Added some documentation and argument
8504 checks for the port numbers.
8505 * java/net/DatagramSocketImplFactory.java: New file.
8506
8507 2002-08-28 Michael Koch <konqueror@gmx.de>
8508
8509 * java/net/Authenticator.java: added some documentation.
8510
8511 2002-08-27 Tom Tromey <tromey@redhat.com>
8512
8513 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8514 class.
8515 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8516
8517 2002-08-27 Michael Koch <konqueror@gmx.de>
8518
8519 * java/net/BindException.java,
8520 java/net/JarURLConnection.java,
8521 java/net/FileNameMap.java,
8522 java/net/HttpURLConnection.java,
8523 java/net/InetSocketAddress.java,
8524 java/net/DatagramPacket.java,
8525 java/net/DatagramSocket.java,
8526 java/net/DatagramSocketImpl.java,
8527 java/net/MulticastSocket.java,
8528 java/net/PasswordAuthentication.java,
8529 java/net/ServerSocket.java,
8530 java/net/Socket.java,
8531 java/net/URLClassLoader.java,
8532 java/net/URLConnection.java: add/update of some @since/@deprecated
8533
8534 2002-08-27 Tony Kimball <alk@pobox.com>
8535 Tom Tromey <tromey@redhat.com>
8536
8537 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8538 define.
8539 (::close): Removed.
8540 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8541 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8542 (::close): Removed.
8543 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8544 * include/win32.h (getcwd): Removed declaration. Include io.h.
8545
8546 2002-08-25 Adam Megacz <adam@xwt.org>
8547
8548 * include/win32.h (getcwd): copied function declaration as
8549 temporary fix for header confusion.
8550
8551 2002-08-24 Mark Wielaard <mark@klomp.org>
8552
8553 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8554 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8555 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8556 and natNameFinder.cc.
8557 * Makefile.in: Regenerate.
8558 * prims.cc: Use trace_enabled from VMThrowable.
8559 * name-finder.cc: Removed.
8560 * gcj/javaprims.h: Add class VMThrowable.
8561 * gnu/gcj/runtime/NameFinder.java: New file.
8562 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8563 * include/name-finder.h: Removed.
8564 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8565 method stackTraceString().
8566 (printStackTrace (PrintWriter)): Likewise.
8567 (stackTraceString): Complete rewrite of old printStackTrace using
8568 StringBuffer.
8569 (stackTraceStringBuffer): New helper method for stackTraceString().
8570 (fillInStackTrace): Delegate to VMTrowable.
8571 (getStackTrace): Likewise.
8572 (getStackTrace0): Removed.
8573 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8574 (setStackTrace): Copy given array.
8575 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8576 * java/lang/VMThrowable.java: New class.
8577 * java/lang/natVMThrowable.cc: New file.
8578
8579 2003-08-23 Michael Koch <konqueror@gmx.de>
8580
8581 * java/net/URLConnection.java,
8582 java/netJarURLConnection.java,
8583 gnu/gcj/protocol/core/Connection.java,
8584 gnu/gcj/protocol/file/Connection.java,
8585 gnu/gcj/protocol/http/Connection.java: Added implementation of
8586 getHeaderFields().
8587
8588 2002-08-22 Tom Tromey <tromey@redhat.com>
8589
8590 * gij.cc (help): Document -cp and -classpath.
8591 (main): Handle -classpath.
8592
8593 2002-08-21 Tom Tromey <tromey@redhat.com>
8594
8595 * Makefile.in: Rebuilt.
8596 * Makefile.am (ordinary_java_source_files): Added
8597 SocketAddress.java, InetSocketAddress.java.
8598 * java/net/PortUnreachableException.java: Merged with Classpath.
8599 * java/net/SocketTimeoutException.java: Likewise.
8600 * java/net/URISyntaxException.java: Likewise.
8601 * java/net/SocketAddress.java: New class from Classpath.
8602 * java/net/InetSocketAddress.java: Likewise.
8603
8604 2003-08-21 Michael Koch <konqueror@gmx.de>
8605
8606 * java/net/Authenticator.java: updated JDK 1.4
8607 * java/net/ContentHandler.java: updated JDK 1.4
8608
8609 2002-08-20 Michael Koch <konqueror@gmx.de>
8610
8611 * java/net/URISyntaxException.java: New file.
8612 * java/net/SocketTimeoutException.java: New file.
8613 * java/net/PortUnreachableException.java: New file.
8614 * Makefile.am: Updated.
8615 * Makefile.in: Rebuilt.
8616
8617 2002-08-18 Mark Wielaard <mark@klomp.org>
8618
8619 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8620 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8621 MessageDigestSpi (fixes Classpath bug #783).
8622
8623 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8624
8625 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8626 (startProcess): Allocate path for chdir in async-signal-safe way.
8627
8628 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8629
8630 Fix for PR libgcj/7570 and PR libgcj/7578:
8631 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8632 (startProcess): Handle new `dir' argument.
8633 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8634 argument.
8635 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8636 argument.
8637 (startProcess): Likewise.
8638 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8639 argument.
8640 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8641 (exec): Don't create new environment if ENV==null. Pass DIR to
8642 execInternal.
8643 * java/lang/natRuntime.cc: Include java/io/File.h.
8644 (execInternal): Added `dir' argument.
8645
8646 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8647
8648 * java/io/RandomAccessFile.java (skipBytes): Return number of
8649 bytes skipped.
8650
8651 2002-08-01 Mark Wielaard <mark@klomp.org>
8652
8653 Reenable patch since shared library troubles on powerpc are solved:
8654 * gnu/java/security/provider/Gnu.java: Reference all implementation
8655 classes by using Class.getName().
8656 * gnu/java/security/der/DEREncodingException.java,
8657 gnu/java/security/provider/DERReader.java,
8658 gnu/java/security/provider/DERWriter.java,
8659 gnu/java/security/provider/DSAKeyPairGenerator.java,
8660 gnu/java/security/provider/DSAParameterGenerator.java,
8661 gnu/java/security/provider/DSAParameters.java,
8662 gnu/java/security/provider/DSASignature.java,
8663 gnu/java/security/provider/GnuDSAPrivateKey.java,
8664 gnu/java/security/provider/GnuDSAPublicKey.java,
8665 gnu/java/security/provider/MD5.java,
8666 gnu/java/security/util/Prime.java: New classes
8667 * Makefile.am (ordinary_java_source_files): Add above files.
8668 * Makefile.in: Regenerate.
8669 * gnu/java/security/provider/DefaultPolicy.java
8670 (getPermissions): Don't maintain static class variable of Permissions.
8671 * gnu/java/security/provider/SHA.java
8672 (engineUpdate): algorithm change.
8673 (engineDigest): algorithm change.
8674
8675 2002-08-09 Mark Wielaard <mark@klomp.org>
8676
8677 * java/awt/image/MemoryImageSource.java: Change constructor to take
8678 int[] not byte[].
8679 * java/awt/Graphics2D.java: Uncomment methods that can now be
8680 compiled.
8681 * java/awt/GridBagLayout.java: New stub implementation.
8682 * javax/swing/text/html/HTML.java: Stub implementation.
8683 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8684 implementation.
8685
8686 * Makefile.am: Add new files.
8687 * Makefile.in: Rebuilt.
8688
8689 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8690
8691 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8692 methods in Graphics2D.
8693
8694 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8695
8696 AWT/Swing merge from GNU Classpath.
8697
8698 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8699 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8700 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8701 java/awt/color/ProfileDataException.java,
8702 java/awt/CompositeContext.java, java/awt/Composite.java,
8703 java/awt/ContainerOrderFocusTraversalPolicy.java,
8704 java/awt/datatransfer/FlavorTable.java,
8705 java/awt/DefaultFocusTraversalPolicy.java,
8706 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8707 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8708 java/awt/dnd/DragGestureListener.java,
8709 java/awt/dnd/DragGestureRecognizer.java,
8710 java/awt/dnd/DragSourceAdapter.java,
8711 java/awt/dnd/DragSourceContext.java,
8712 java/awt/dnd/DragSourceDragEvent.java,
8713 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8714 java/awt/dnd/DragSourceListener.java,
8715 java/awt/dnd/DragSourceMotionListener.java,
8716 java/awt/dnd/DropTarget.java,
8717 java/awt/dnd/InvalidDnDOperationException.java,
8718 java/awt/dnd/peer/DragSourceContextPeer.java,
8719 java/awt/event/AWTEventListenerProxy.java,
8720 java/awt/event/MouseWheelEvent.java,
8721 java/awt/event/MouseWheelListener.java,
8722 java/awt/event/WindowFocusListener.java,
8723 java/awt/event/WindowStateListener.java,
8724 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8725 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8726 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8727 java/awt/geom/FlatteningPathIterator.java,
8728 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8729 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8730 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8731 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8732 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8733 java/awt/image/ImagingOpException.java,
8734 java/awt/image/RasterFormatException.java,
8735 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8736 java/awt/image/VolatileImage.java,
8737 java/awt/image/WritableRenderedImage.java,
8738 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8739 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8740 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8741 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8742 java/awt/PageAttributes.java, java/awt/print/Book.java,
8743 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8744 java/awt/print/Paper.java, java/awt/print/Printable.java,
8745 java/awt/print/PrinterAbortException.java,
8746 java/awt/print/PrinterException.java,
8747 java/awt/print/PrinterGraphics.java,
8748 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8749 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8750 java/awt/Stroke.java, java/awt/TexturePaint.java,
8751 javax/accessibility/AccessibleAction.java,
8752 javax/accessibility/AccessibleBundle.java,
8753 javax/accessibility/AccessibleComponent.java,
8754 javax/accessibility/AccessibleContext.java,
8755 javax/accessibility/AccessibleEditableText.java,
8756 javax/accessibility/AccessibleExtendedComponent.java,
8757 javax/accessibility/AccessibleExtendedTable.java,
8758 javax/accessibility/AccessibleHyperlink.java,
8759 javax/accessibility/AccessibleHypertext.java,
8760 javax/accessibility/AccessibleIcon.java,
8761 javax/accessibility/Accessible.java,
8762 javax/accessibility/AccessibleKeyBinding.java,
8763 javax/accessibility/AccessibleRelation.java,
8764 javax/accessibility/AccessibleRelationSet.java,
8765 javax/accessibility/AccessibleResourceBundle.java,
8766 javax/accessibility/AccessibleRole.java,
8767 javax/accessibility/AccessibleSelection.java,
8768 javax/accessibility/AccessibleState.java,
8769 javax/accessibility/AccessibleStateSet.java,
8770 javax/accessibility/AccessibleTable.java,
8771 javax/accessibility/AccessibleTableModelChange.java,
8772 javax/accessibility/AccessibleText.java,
8773 javax/accessibility/AccessibleValue.java,
8774 javax/swing/AbstractAction.java,
8775 javax/swing/AbstractButton.java,
8776 javax/swing/AbstractCellEditor.java,
8777 javax/swing/AbstractListModel.java,
8778 javax/swing/AbstractSet.java, javax/swing/Action.java,
8779 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8780 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8781 javax/swing/border/CompoundBorder.java,
8782 javax/swing/border/EmptyBorder.java,
8783 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8784 javax/swing/border/LineBorder.java,
8785 javax/swing/border/MatteBorder.java,
8786 javax/swing/border/TitledBorder.java,
8787 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8788 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8789 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8790 javax/swing/CellRendererPane.java,
8791 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8792 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8793 javax/swing/colorchooser/ColorSelectionModel.java,
8794 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8795 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8796 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8797 javax/swing/DefaultBoundedRangeModel.java,
8798 javax/swing/DefaultButtonModel.java,
8799 javax/swing/DefaultCellEditor.java,
8800 javax/swing/DefaultCellRenderer.java,
8801 javax/swing/DefaultComboBoxModel.java,
8802 javax/swing/DefaultDesktopManager.java,
8803 javax/swing/DefaultFocusManager.java,
8804 javax/swing/DefaultListCellRenderer.java,
8805 javax/swing/DefaultListModel.java,
8806 javax/swing/DefaultListSelectionModel.java,
8807 javax/swing/DefaultSingleSelectionModel.java,
8808 javax/swing/DesktopManager.java,
8809 javax/swing/event/AncestorEvent.java,
8810 javax/swing/event/AncestorListener.java,
8811 javax/swing/event/CaretEvent.java,
8812 javax/swing/event/CaretListener.java,
8813 javax/swing/event/CellEditorListener.java,
8814 javax/swing/event/ChangeEvent.java,
8815 javax/swing/event/ChangeListener.java,
8816 javax/swing/event/DocumentEvent.java,
8817 javax/swing/event/DocumentListener.java,
8818 javax/swing/event/EventListenerList.java,
8819 javax/swing/event/HyperlinkEvent.java,
8820 javax/swing/event/HyperlinkListener.java,
8821 javax/swing/event/InternalFrameAdapter.java,
8822 javax/swing/event/InternalFrameEvent.java,
8823 javax/swing/event/InternalFrameListener.java,
8824 javax/swing/event/ListDataEvent.java,
8825 javax/swing/event/ListDataListener.java,
8826 javax/swing/event/ListSelectionEvent.java,
8827 javax/swing/event/ListSelectionListener.java,
8828 javax/swing/event/MenuDragMouseEvent.java,
8829 javax/swing/event/MenuDragMouseListener.java,
8830 javax/swing/event/MenuEvent.java,
8831 javax/swing/event/MenuKeyEvent.java,
8832 javax/swing/event/MenuKeyListener.java,
8833 javax/swing/event/MenuListener.java,
8834 javax/swing/event/MouseInputAdapter.java,
8835 javax/swing/event/MouseInputListener.java,
8836 javax/swing/event/PopupMenuEvent.java,
8837 javax/swing/event/PopupMenuListener.java,
8838 javax/swing/event/SwingPropertyChangeSupport.java,
8839 javax/swing/event/TableColumnModelEvent.java,
8840 javax/swing/event/TableColumnModelListener.java,
8841 javax/swing/event/TableModelEvent.java,
8842 javax/swing/event/TableModelListener.java,
8843 javax/swing/event/TreeExpansionEvent.java,
8844 javax/swing/event/TreeExpansionListener.java,
8845 javax/swing/event/TreeModelEvent.java,
8846 javax/swing/event/TreeModelListener.java,
8847 javax/swing/event/TreeSelectionEvent.java,
8848 javax/swing/event/TreeSelectionListener.java,
8849 javax/swing/event/TreeWillExpandListener.java,
8850 javax/swing/event/UndoableEditEvent.java,
8851 javax/swing/event/UndoableEditListener.java,
8852 javax/swing/filechooser/FileFilter.java,
8853 javax/swing/filechooser/FileSystemView.java,
8854 javax/swing/filechooser/FileView.java,
8855 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8856 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8857 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8858 javax/swing/JApplet.java, javax/swing/JButton.java,
8859 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8860 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8861 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8862 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8863 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8864 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8865 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8866 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8867 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8868 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8869 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8870 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8871 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8872 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8873 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8874 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8875 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8876 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8877 javax/swing/JToolTip.java, javax/swing/JTree.java,
8878 javax/swing/JViewport.java, javax/swing/JWindow.java,
8879 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8880 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8881 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8882 javax/swing/MenuSelectionManager.java,
8883 javax/swing/MutableComboBoxModel.java,
8884 javax/swing/OverlayLayout.java,
8885 javax/swing/plaf/ActionMapUIResource.java,
8886 javax/swing/plaf/basic/BasicBorders.java,
8887 javax/swing/plaf/basic/BasicButtonUI.java,
8888 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8889 javax/swing/plaf/basic/BasicDefaults.java,
8890 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8891 javax/swing/plaf/basic/BasicIconFactory.java,
8892 javax/swing/plaf/basic/BasicLabelUI.java,
8893 javax/swing/plaf/basic/BasicListUI.java,
8894 javax/swing/plaf/basic/BasicLookAndFeel.java,
8895 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8896 javax/swing/plaf/basic/BasicPanelUI.java,
8897 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8898 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8899 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8900 javax/swing/plaf/basic/BasicTextUI.java,
8901 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8902 javax/swing/plaf/basic/BasicTreeUI.java,
8903 javax/swing/plaf/basic/BasicViewportUI.java,
8904 javax/swing/plaf/BorderUIResource.java,
8905 javax/swing/plaf/ButtonUI.java,
8906 javax/swing/plaf/ColorChooserUI.java,
8907 javax/swing/plaf/ColorUIResource.java,
8908 javax/swing/plaf/ComboBoxUI.java,
8909 javax/swing/plaf/ComponentInputMapUIResource.java,
8910 javax/swing/plaf/ComponentUI.java,
8911 javax/swing/plaf/DesktopIconUI.java,
8912 javax/swing/plaf/DesktopPaneUI.java,
8913 javax/swing/plaf/DimensionUIResource.java,
8914 javax/swing/plaf/FileChooserUI.java,
8915 javax/swing/plaf/FontUIResource.java,
8916 javax/swing/plaf/IconUIResource.java,
8917 javax/swing/plaf/InputMapUIResource.java,
8918 javax/swing/plaf/InsetsUIResource.java,
8919 javax/swing/plaf/InternalFrameUI.java,
8920 javax/swing/plaf/LabelUI.java,
8921 javax/swing/plaf/ListUI.java,
8922 javax/swing/plaf/MenuBarUI.java,
8923 javax/swing/plaf/MenuItemUI.java,
8924 javax/swing/plaf/OptionPaneUI.java,
8925 javax/swing/plaf/PanelUI.java,
8926 javax/swing/plaf/PopupMenuUI.java,
8927 javax/swing/plaf/ProgressBarUI.java,
8928 javax/swing/plaf/RootPaneUI.java,
8929 javax/swing/plaf/ScrollBarUI.java,
8930 javax/swing/plaf/ScrollPaneUI.java,
8931 javax/swing/plaf/SeparatorUI.java,
8932 javax/swing/plaf/SliderUI.java,
8933 javax/swing/plaf/SplitPaneUI.java,
8934 javax/swing/plaf/TabbedPaneUI.java,
8935 javax/swing/plaf/TableHeaderUI.java,
8936 javax/swing/plaf/TableUI.java,
8937 javax/swing/plaf/TextUI.java,
8938 javax/swing/plaf/ToolBarUI.java,
8939 javax/swing/plaf/ToolTipUI.java,
8940 javax/swing/plaf/TreeUI.java,
8941 javax/swing/plaf/UIResource.java,
8942 javax/swing/plaf/ViewportUI.java,
8943 javax/swing/ProgressMonitorInputStream.java,
8944 javax/swing/ProgressMonitor.java,
8945 javax/swing/Renderer.java,
8946 javax/swing/RepaintManager.java,
8947 javax/swing/RootPaneContainer.java,
8948 javax/swing/Scrollable.java,
8949 javax/swing/ScrollPaneConstants.java,
8950 javax/swing/ScrollPaneLayout.java,
8951 javax/swing/SingleSelectionModel.java,
8952 javax/swing/SizeRequirements.java,
8953 javax/swing/SizeSequence.java,
8954 javax/swing/SwingConstants.java,
8955 javax/swing/SwingUtilities.java,
8956 javax/swing/table/AbstractTableModel.java,
8957 javax/swing/table/DefaultTableCellRenderer.java,
8958 javax/swing/table/DefaultTableColumnModel.java,
8959 javax/swing/table/DefaultTableModel.java,
8960 javax/swing/table/TableCellEditor.java,
8961 javax/swing/table/TableCellRenderer.java,
8962 javax/swing/table/TableColumn.java,
8963 javax/swing/table/TableColumnModel.java,
8964 javax/swing/table/TableModel.java,
8965 javax/swing/text/AbstractDocument.java,
8966 javax/swing/text/AttributeSet.java,
8967 javax/swing/text/BadLocationException.java,
8968 javax/swing/text/Caret.java,
8969 javax/swing/text/CharacterIterator.java,
8970 javax/swing/text/ComponentView.java,
8971 javax/swing/text/DefaultCaret.java,
8972 javax/swing/text/DefaultEditorKit.java,
8973 javax/swing/text/Document.java,
8974 javax/swing/text/EditorKit.java,
8975 javax/swing/text/Element.java,
8976 javax/swing/text/GapContent.java,
8977 javax/swing/text/JTextComponent.java,
8978 javax/swing/text/Keymap.java,
8979 javax/swing/text/MutableAttributeSet.java,
8980 javax/swing/text/PlainDocument.java,
8981 javax/swing/text/PlainEditorKit.java,
8982 javax/swing/text/Position.java,
8983 javax/swing/text/Segment.java,
8984 javax/swing/text/StyledDocument.java,
8985 javax/swing/text/StyledEditorKit.java,
8986 javax/swing/text/Style.java,
8987 javax/swing/text/TextAction.java,
8988 javax/swing/text/ViewFactory.java,
8989 javax/swing/text/View.java,
8990 javax/swing/Timer.java,
8991 javax/swing/ToggleButtonModel.java,
8992 javax/swing/ToolTipManager.java,
8993 javax/swing/tree/AbstractLayoutCache.java,
8994 javax/swing/tree/DefaultMutableTreeNode.java,
8995 javax/swing/tree/DefaultTreeCellEditor.java,
8996 javax/swing/tree/DefaultTreeCellRenderer.java,
8997 javax/swing/tree/DefaultTreeModel.java,
8998 javax/swing/tree/DefaultTreeSelectionModel.java,
8999 javax/swing/tree/ExpandVetoException.java,
9000 javax/swing/tree/FixedHeightLayoutCache.java,
9001 javax/swing/tree/MutableTreeNode.java,
9002 javax/swing/tree/RowMapper.java,
9003 javax/swing/tree/TreeCellEditor.java,
9004 javax/swing/tree/TreeCellRenderer.java,
9005 javax/swing/tree/TreeModel.java,
9006 javax/swing/tree/TreeNode.java,
9007 javax/swing/tree/TreePath.java,
9008 javax/swing/tree/TreeSelectionModel.java,
9009 javax/swing/tree/VariableHeightLayoutCache.java,
9010 javax/swing/UIDefaults.java,
9011 javax/swing/UIManager.java,
9012 javax/swing/undo/AbstractUndoableEdit.java,
9013 javax/swing/undo/CannotRedoException.java,
9014 javax/swing/undo/CannotUndoException.java,
9015 javax/swing/undo/CompoundEdit.java,
9016 javax/swing/undo/StateEditable.java,
9017 javax/swing/undo/StateEdit.java,
9018 javax/swing/undo/UndoableEdit.java,
9019 javax/swing/undo/UndoableEditSupport.java,
9020 javax/swing/undo/UndoManager.java,
9021 javax/swing/UnsupportedLookAndFeelException.java,
9022 javax/swing/ViewportLayout.java,
9023 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9024
9025 * java/awt/ActiveEvent.java,
9026 java/awt/Adjustable.java, java/awt/AWTError.java,
9027 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9028 java/awt/AWTException.java, java/awt/AWTPermission.java,
9029 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9030 java/awt/Color.java, java/awt/Component.java,
9031 java/awt/ComponentOrientation.java, java/awt/Container.java,
9032 java/awt/datatransfer/MimeTypeParseException.java,
9033 java/awt/datatransfer/Transferable.java,
9034 java/awt/datatransfer/UnsupportedFlavorException.java,
9035 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9036 java/awt/event/ActionListener.java,
9037 java/awt/event/AdjustmentEvent.java,
9038 java/awt/event/AdjustmentListener.java,
9039 java/awt/event/AWTEventListener.java,
9040 java/awt/event/ComponentAdapter.java,
9041 java/awt/event/ComponentEvent.java,
9042 java/awt/event/ComponentListener.java,
9043 java/awt/event/ContainerAdapter.java,
9044 java/awt/event/ContainerEvent.java,
9045 java/awt/event/ContainerListener.java,
9046 java/awt/event/FocusAdapter.java,
9047 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9048 java/awt/event/HierarchyBoundsAdapter.java,
9049 java/awt/event/HierarchyBoundsListener.java,
9050 java/awt/event/HierarchyEvent.java,
9051 java/awt/event/HierarchyListener.java,
9052 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9053 java/awt/event/InputMethodListener.java,
9054 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9055 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9056 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9057 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9058 java/awt/event/MouseListener.java,
9059 java/awt/event/MouseMotionAdapter.java,
9060 java/awt/event/MouseMotionListener.java,
9061 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9062 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9063 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9064 java/awt/event/WindowListener.java, java/awt/Font.java,
9065 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9066 java/awt/geom/Ellipse2D.java,
9067 java/awt/geom/IllegalPathStateException.java,
9068 java/awt/geom/Line2D.java,
9069 java/awt/geom/NoninvertibleTransformException.java,
9070 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9071 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9072 java/awt/geom/RoundRectangle2D.java,
9073 java/awt/GraphicsConfiguration.java,
9074 java/awt/IllegalComponentStateException.java,
9075 java/awt/image/IndexColorModel.java,
9076 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9077 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9078 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9079 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9080 java/awt/MenuItem.java, java/awt/PaintContext.java,
9081 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9082 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9083 java/awt/PrintJob.java, java/awt/Rectangle.java,
9084 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9085 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9086 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9087
9088 * java/awt/im/spi/InputMethod.java,
9089 java/awt/im/spi/InputMethodContext.java,
9090 java/awt/im/spi/InputMethodDescriptor.java,
9091 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9092 java/awt/image/renderable/ParameterBlock.java,
9093 java/awt/image/renderable/RenderContext.java,
9094 java/awt/image/renderable/RenderableImage.java,
9095 java/awt/image/renderable/RenderableImageOp.java,
9096 java/awt/image/renderable/RenderableImageProducer.java,
9097 java/awt/image/renderable/RenderedImageFactory.java: New files from
9098 classpath.
9099
9100 * gnu/java/awt/EventModifier.java,
9101 gnu/java/awt/image/ImageDecoder.java,
9102 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9103
9104 * gnu/awt/xlib/XGraphicsConfiguration.java,
9105 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9106 API.
9107
9108 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9109 GNU Classpath.
9110
9111 * Makefile.am: Add new files.
9112 * Makefile.in: Rebuilt.
9113
9114 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9115
9116 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9117 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9118 findResource, getResources, findResources): Add javadoc from classpath.
9119 (getSystemResources): Implemented.
9120
9121 2002-08-01 Mark Wielaard <mark@klomp.org>
9122
9123 Revert patch that breaks libgcj shared library on powerpc:
9124 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9125 implementation classes by using Class.getName(). Uses Strings again.
9126 * gnu/java/security/der/DEREncodingException.java,
9127 gnu/java/security/provider/DERReader.java,
9128 gnu/java/security/provider/DERWriter.java,
9129 gnu/java/security/provider/DSAKeyPairGenerator.java,
9130 gnu/java/security/provider/DSAParameterGenerator.java,
9131 gnu/java/security/provider/DSAParameters.java,
9132 gnu/java/security/provider/DSASignature.java,
9133 gnu/java/security/provider/GnuDSAPrivateKey.java,
9134 gnu/java/security/provider/GnuDSAPublicKey.java,
9135 gnu/java/security/provider/MD5.java,
9136 gnu/java/security/util/Prime.java: Removed.
9137 * Makefile.am (ordinary_java_source_files): Remove above files.
9138 * Makefile.in: Regenerate.
9139 * gnu/java/security/provider/DefaultPolicy.java
9140 (getPermissions): Revert to maintaining static class variable of
9141 Permissions.
9142 * gnu/java/security/provider/SHA.java
9143 (engineUpdate): Revert algorithm change.
9144 (engineDigest): Revert algorithm change.
9145
9146 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9147
9148 * configure.host: Add SH support.
9149 * sysdep/sh/locks.h: New file.
9150
9151 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9152
9153 * java/awt/Frame.java (Frame): Remove println calls.
9154
9155 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9156
9157 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9158 * configure: Rebuilt.
9159
9160 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9161
9162 * sysdep/powerpc/locks.h: Formatting.
9163 (_LARX): Define.
9164 (_STCX): Define.
9165 (compare_and_swap): Use _LARX and _STCX.
9166 (compare_and_swap_release): Likewise.
9167
9168 2002-07-26 Tom Tromey <tromey@redhat.com>
9169
9170 * java/net/Authenticator.java: New version from Classpath.
9171 * java/net/DatagramSocketImpl.java: New version from Classpath.
9172
9173 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9174
9175 * configure.host: Add powerpc64*-* entry.
9176
9177 2002-07-26 Tom Tromey <tromey@redhat.com>
9178
9179 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9180 fcntl.h.
9181
9182 2002-07-24 Tom Tromey <tromey@redhat.com>
9183
9184 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9185 argument to _load.
9186
9187 2002-07-24 Tom Tromey <tromey@redhat.com>
9188 Tony Kimball <alk@pobox.com>
9189
9190 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9191 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9192 * java/io/RandomAccessFile.java (setLength): New method.
9193 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9194 * java/io/FileDescriptor.java (setLength): New method.
9195
9196 2002-07-24 Mark Wielaard <mark@klomp.org>
9197
9198 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9199 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9200 field call setAccessible(true).
9201 (setByteField): Likewise.
9202 (setCharField): Likewise.
9203 (setDoubleField): Likewise.
9204 (setFloatField): Likewise.
9205 (setIntField): Likewise.
9206 (setLongField): Likewise.
9207 (setShortField): Likewise.
9208 (setObjectField): Likewise.
9209
9210 2002-07-24 Tom Tromey <tromey@redhat.com>
9211
9212 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9213 use toString() to format array element.
9214
9215 2002-07-23 Mark Wielaard <mark@klomp.org>
9216
9217 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9218 MessageDigestSpi (fixes Classpath bug #783).
9219
9220 2002-07-21 Mark Wielaard <mark@klomp.org>
9221
9222 * gnu/java/security/provider/Gnu.java: Reference all implementation
9223 classes by using Class.getName().
9224
9225 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9226
9227 * java/lang/ieeefp.h: Add x86-64 support.
9228 * configure.in: Likewise.
9229 * configure.host: Likewise.
9230 * configure: Regenerated.
9231 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9232
9233 2002-07-16 Mark Wielaard <mark@klomp.org>
9234
9235 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9236 (whitespaceChars): call resetChar().
9237
9238 2002-07-15 Tom Tromey <tromey@redhat.com>
9239
9240 * Makefile.in: Rebuilt.
9241 * Makefile.am (awt_java_source_files): Added new files.
9242 * java/beans/ExceptionListener.java: Merged with Classpath.
9243 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9244 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9245 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9246 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9247 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9248 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9249 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9250
9251 2002-07-14 Mark Wielaard <mark@klomp.org>
9252
9253 * gnu/java/security/der/DEREncodingException.java,
9254 gnu/java/security/provider/DERReader.java,
9255 gnu/java/security/provider/DERWriter.java,
9256 gnu/java/security/provider/DSAKeyPairGenerator.java,
9257 gnu/java/security/provider/DSAParameterGenerator.java,
9258 gnu/java/security/provider/DSAParameters.java,
9259 gnu/java/security/provider/DSASignature.java,
9260 gnu/java/security/provider/GnuDSAPrivateKey.java,
9261 gnu/java/security/provider/GnuDSAPublicKey.java,
9262 gnu/java/security/provider/MD5.java,
9263 gnu/java/security/util/Prime.java: New files from Classpath.
9264 * Makefile.am (ordinary_java_source_files): Add new files.
9265 * Makefile.in: Regenerate.
9266
9267 2002-07-14 C. Brian Jones <cbj@gnu.org>
9268
9269 * gnu/java/security/provider/DefaultPolicy.java
9270 (getPermissions): do not maintain static class variable of
9271 Permissions
9272 * gnu/java/security/provider/SHA.java
9273 (engineUpdate): algorithm change
9274 (engineDigest): algorithm change
9275
9276 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9277
9278 For PR libgcj/7292:
9279 * java/lang/Character.java (toString(char)): Now static.
9280
9281 2002-07-12 Mark Wielaard <mark@klomp.org>
9282
9283 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9284 (getStackTrace0): new method.
9285 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9286 (printStackTrace(PrintWriter)): replace with pure java implementation.
9287 (printRawStackTrace): removed.
9288 (getStackTrace0): new method.
9289 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9290 * gcj/javaprims.h: regenerate class list.
9291 * include/name-finder.h (lookup): new returns StackTraceElement*.
9292 (method_name, file_name): fields removed.
9293 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9294 (~_Jv_name_finder): close new descriptors.
9295 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9296 (createStackTraceElement): new method.
9297 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9298
9299 2002-07-10 Tom Tromey <tromey@redhat.com>
9300
9301 * configure: Rebuilt.
9302 * configure.in: Use `test' after `&&'. From Chris Faylor.
9303
9304 2002-07-08 Mark Wielaard <mark@klomp.org>
9305
9306 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9307 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9308 java.sql.DatabaseMetaData.TestJdbc20
9309
9310 2002-07-05 Tony Kimball <alk@pobox.com>
9311
9312 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9313
9314 2002-07-04 Tom Tromey <tromey@redhat.com>
9315 Jeff Sturm <jsturm@one-point.com>
9316
9317 Fix for PR libgcj/7060:
9318 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9319 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9320 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9321 * java/lang/Class.java (getMethod): New Java implementation;
9322 complies with spec.
9323 (_getMethod): New native method.
9324
9325 2002-07-02 Tom Tromey <tromey@redhat.com>
9326 David Hovemeyer <daveho@cs.umd.edu>
9327
9328 * java/text/ChoiceFormat.java
9329 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9330 in check loop.
9331 * java/text/MessageFormat.java
9332 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9333 to MessageFormat.
9334
9335 2002-07-01 Tom Tromey <tromey@redhat.com>
9336
9337 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9338 StringTokenizer on null string. For PR libgcj/7180.
9339 From daveho@cs.umd.edu.
9340
9341 2002-06-24 Tom Tromey <tromey@redhat.com>
9342
9343 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9344 (IntegerClass): Likewise.
9345 * java/lang/natClass.cc (CloneableClass): Removed.
9346 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9347 ConstructorClass): Likewise.
9348 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9349 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9350 SerializableClass): Likewise.
9351 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9352 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9353 LongClass, FloatClass, DoubleClass): Likewise.
9354
9355 * verify.cc (branch_prepass): Updated for change to exception
9356 handler type.
9357 (verify_instructions_0): Likewise.
9358 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9359 (handleExceptionTableEntry): Updated for change to exception
9360 handler type.
9361 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9362 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9363 (union _Jv_InterpPC): New.
9364 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9365 (class _Jv_InterpMethod): Added new `prepared' field.
9366 (class _Jv_InterpMethod): Added `compile' method. Removed
9367 `continue1' and `find_exception'. Changed arguments to `run'.
9368 * interpret.cc (union insn_slot): New.
9369 (find_exception): Removed.
9370 (run_normal): Removed most logic.
9371 (run_synch_object): Likewise; also, use JvSynchronize.
9372 (run_synch_class): Likewise.
9373 (run): Removed.
9374 (continue1): Renamed as `run'. Compile bytecode if required.
9375 Add new code to allow refinement of direct-threaded code at
9376 runtime. Handle exceptions.
9377 (SAVE_PC): Removed.
9378 (compile): New method.
9379 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9380 (NULLARRAYCHECK): Don't use SAVE_PC.
9381 (pc_t): New typedef.
9382 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9383 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9384
9385 2002-06-23 Tom Tromey <tromey@redhat.com>
9386
9387 * configure: Rebuilt.
9388 * configure.in (INTERPRETER): New subst.
9389 (AM_RUNTESTFLAGS): Don't subst.
9390
9391 * Makefile.in: Rebuilt.
9392 * Makefile.am ($(srcdir)/java/lang/Object.h,
9393 $(srcdir)/java/lang/Class.h): Added dummy targets.
9394
9395 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9396
9397 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9398
9399 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9400 java/sql/Savepoint.java: New files.
9401 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9402 java/sql/Blob.java, java/sql/CallableStatement.java,
9403 java/sql/Clob.java, java/sql/Connection.java,
9404 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9405 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9406 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9407 java/sql/Ref.java, java/sql/ResultSet.java,
9408 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9409 java/sql/SQLException.java, java/sql/SQLInput.java,
9410 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9411 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9412 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9413 (JDK 1.4) specification.
9414 * javax/sql/ConnectionEvent.java,
9415 javax/sql/ConnectionEventListener.java,
9416 javax/sql/ConnectionPoolDataSource.java,
9417 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9418 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9419 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9420 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9421 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9422 javax/sql/XADataSource.java: New files.
9423 * Makefile.am: Add new files.
9424 * Makefile.in: Rebuilt.
9425
9426 2002-06-20 Tom Tromey <tromey@redhat.com>
9427
9428 For PR libgcj/7073:
9429 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9430 exists.
9431 * defineclass.cc (handleClassBegin): Superclass for interface is
9432 `null'.
9433
9434 2002-06-18 Tom Tromey <tromey@redhat.com>
9435
9436 * gcj/javaprims.h: Updated class declaration list.
9437 * Makefile.in: Rebuilt.
9438 * Makefile.am (core_java_source_files): Removed
9439 BasicMapEntry.java.
9440 * java/util/BasicMapEntry.java: Removed.
9441
9442 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9443
9444 * java/net/natPlainDatagramSocketImpl.cc (receive):
9445 Check bounds of argument to FD_SET.
9446 (setOption): Throw exception if socket is closed.
9447
9448 * java/net/natPlainSocketImpl.cc (accept, read):
9449 Check bounds of argument to FD_SET.
9450 (setOption): Throw exception if socket is closed.
9451
9452 2002-06-18 Tom Tromey <tromey@redhat.com>
9453
9454 * gcj/javaprims.h: Updated class declaration list.
9455 * Makefile.in: Rebuilt.
9456 * Makefile.am (core_java_source_files): Added
9457 PropertyPermissionCollection.java.
9458 * java/lang/Thread.java (group, name): Now package-private.
9459 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9460 * java/util/AbstractList.java: Likewise.
9461 * java/util/AbstractMap.java: Likewise.
9462 * java/util/Calendar.java: Likewise.
9463 * java/util/Collections.java: Likewise.
9464 * java/util/HashMap.java: Likewise.
9465 * java/util/Hashtable.java: Likewise.
9466 * java/util/LinkedHashMap.java: Likewise.
9467 * java/util/LinkedList.java: Likewise.
9468 * java/util/List.java: Likewise.
9469 * java/util/ListResourceBundle.java: Likewise.
9470 * java/util/Map.java: Likewise.
9471 * java/util/Observable.java: Likewise.
9472 * java/util/Properties.java: Likewise.
9473 * java/util/PropertyPermission.java: Likewise.
9474 * java/util/PropertyPermissionCollection.java: Likewise.
9475 * java/util/PropertyResourceBundle.java: Likewise.
9476 * java/util/Random.java: Likewise.
9477 * java/util/SimpleTimeZone.java: Likewise.
9478 * java/util/StringTokenizer.java: Likewise.
9479 * java/util/TimerTask.java: Likewise.
9480 * java/util/TreeMap.java: Likewise.
9481 * java/util/WeakHashMap.java: Likewise.
9482 * java/util/jar/Attributes.java: Likewise.
9483 * java/util/jar/JarException.java: Likewise.
9484 * java/util/jar/Manifest.java: Likewise.
9485
9486 2002-06-17 Tom Tromey <tromey@redhat.com>
9487
9488 * gcj/javaprims.h: Updated class declaration list.
9489 * Makefile.in: Rebuilt.
9490 * Makefile.am (core_java_source_files): Added new file.
9491 * java/util/EventListenerProxy.java: New file.
9492 * java/util/EventListener.java: Re-merge with Classpath.
9493 * java/util/EventObject.java: Re-merge with Classpath.
9494
9495 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9496
9497 * java/lang/ClassNotFoundException.java: New Classpath version.
9498
9499 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9500
9501 * java/rmi/activation/ActivateFailedException.java: Remerge from
9502 Classpath version.
9503 * java/rmi/activation/ActivationException.java: Ditto.
9504 * java/rmi/activation/UnknownGroupException.java: Ditto.
9505 * java/rmi/activation/UnknownObjectException.java: Ditto.
9506 * java/rmi/server/ExportException: Ditto.
9507 * java/rmi/server/ServerCloneException: Ditto.
9508 * java/rmi/server/ServerNotActiveException: Ditto.
9509 * java/rmi/server/SkeletonMismatchException: Ditto.
9510 * java/rmi/server/SkeletonNotFoundException: Ditto.
9511 * java/rmi/server/SocketSecurityException: Ditto.
9512
9513 2002-06-16 Tom Tromey <tromey@redhat.com>
9514
9515 * gcj/javaprims.h: Updated class declaration list.
9516
9517 * java/io/LineNumberInputStream.java: Merged with Classpath.
9518
9519 * java/lang/RuntimeException.java: Re-merge with Classpath.
9520 * java/util/ArrayList.java: Likewise.
9521 * java/util/Arrays.java: Likewise.
9522 * java/util/BitSet.java: Likewise.
9523 * java/util/Dictionary.java: Likewise.
9524 * java/util/IdentityHashMap.java: Likewise.
9525 * java/util/MissingResourceException.java: Likewise.
9526 * java/util/Observer.java: Likewise.
9527 * java/util/TooManyListenersException.java: Likewise.
9528 * java/util/zip/DataFormatException.java: Likewise.
9529 * java/util/zip/ZipException.java: Likewise.
9530
9531 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9532
9533 * java/rmi/AccessException.java: Remerge from Classpath.
9534 * java/rmi/AlreadyBoundException.java: Ditto.
9535 * java/rmi/ConnectException.java: Ditto.
9536 * java/rmi/ConnectIOException.java: Ditto.
9537 * java/rmi/MarshalException.java: Ditto.
9538 * java/rmi/NoSuchObjectException.java: Ditto.
9539 * java/rmi/NotBoundException.java: Ditto.
9540 * java/rmi/RemoteException.java: Ditto.
9541 * java/rmi/RMISecurityException.java: Ditto.
9542 * java/rmi/ServerError.java: Ditto.
9543 * java/rmi/ServerException.java: Ditto.
9544 * java/rmi/ServerRuntimeException.java: Ditto.
9545 * java/rmi/StubNotFoundException.java: Ditto.
9546 * java/rmi/UnexpectedExcpetion.java: Ditto.
9547 * java/rmi/UnknownHostException.java: Ditto.
9548 * java/rmi/UnmarshalException.java: Ditto.
9549
9550 2002-06-15 Tom Tromey <tromey@redhat.com>
9551
9552 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9553 * java/lang/ArithmeticException.java: Likewise.
9554 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9555 * java/lang/ArrayStoreException.java: Likewise.
9556 * java/lang/Byte.java: Likewise.
9557 * java/lang/CharSequence.java: Likewise.
9558 * java/lang/ClassCastException.java: Likewise.
9559 * java/lang/ClassCircularityError.java: Likewise.
9560 * java/lang/ClassFormatError.java: Likewise.
9561 * java/lang/CloneNotSupportedException.java: Likewise.
9562 * java/lang/Cloneable.java: Likewise.
9563 * java/lang/Comparable.java: Likewise.
9564 * java/lang/Compiler.java: Likewise.
9565 * java/lang/Error.java: Likewise.
9566 * java/lang/ExceptionInInitializerError.java: Likewise.
9567 * java/lang/IllegalAccessError.java: Likewise.
9568 * java/lang/IllegalAccessException.java: Likewise.
9569 * java/lang/IllegalArgumentException.java: Likewise.
9570 * java/lang/IllegalMonitorStateException.java: Likewise.
9571 * java/lang/IllegalStateException.java: Likewise.
9572 * java/lang/IllegalThreadStateException.java: Likewise.
9573 * java/lang/IncompatibleClassChangeError.java: Likewise.
9574 * java/lang/IndexOutOfBoundsException.java: Likewise.
9575 * java/lang/InheritableThreadLocal.java: Likewise.
9576 * java/lang/InstantiationError.java: Likewise.
9577 * java/lang/InstantiationException.java: Likewise.
9578 * java/lang/InternalError.java: Likewise.
9579 * java/lang/InterruptedException.java: Likewise.
9580 * java/lang/LinkageError.java: Likewise.
9581 * java/lang/NegativeArraySizeException.java: Likewise.
9582 * java/lang/NoClassDefFoundError.java: Likewise.
9583 * java/lang/NoSuchFieldError.java: Likewise.
9584 * java/lang/NoSuchFieldException.java: Likewise.
9585 * java/lang/NoSuchMethodError.java: Likewise.
9586 * java/lang/NoSuchMethodException.java: Likewise.
9587 * java/lang/NullPointerException.java: Likewise.
9588 * java/lang/NumberFormatException.java: Likewise.
9589 * java/lang/OutOfMemoryError.java: Likewise.
9590 * java/lang/Process.java: Likewise.
9591 * java/lang/Runnable.java: Likewise.
9592 * java/lang/RuntimePermission.java: Likewise.
9593 * java/lang/SecurityException.java: Likewise.
9594 * java/lang/Short.java: Likewise.
9595 * java/lang/StackOverflowError.java: Likewise.
9596 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9597 * java/lang/ThreadDeath.java: Likewise.
9598 * java/lang/ThreadLocal.java: Likewise.
9599 * java/lang/UnknownError.java: Likewise.
9600 * java/lang/UnsatisfiedLinkError.java: Likewise.
9601 * java/lang/UnsupportedClassVersionError.java: Likewise.
9602 * java/lang/UnsupportedOperationException.java: Likewise.
9603 * java/lang/VerifyError.java: Likewise.
9604 * java/lang/VirtualMachineError.java: Likewise.
9605 * java/lang/reflect/InvocationTargetException.java: Likewise.
9606 * java/net/BindException.java: Likewise.
9607 * java/net/ConnectException.java: Likewise.
9608 * java/net/MalformedURLException.java: Likewise.
9609 * java/net/NoRouteToHostException.java: Likewise.
9610 * java/net/ProtocolException.java: Likewise.
9611 * java/net/SocketException.java: Likewise.
9612 * java/net/UnknownHostException.java: Likewise.
9613 * java/net/UnknownServiceException.java: Likewise.
9614
9615 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9616 * java/io/CharConversionException.java: Likewise.
9617 * java/io/EOFException.java: Likewise.
9618 * java/io/FileNotFoundException.java: Likewise.
9619 * java/io/IOException.java: Likewise.
9620 * java/io/InterruptedIOException.java: Likewise.
9621 * java/io/InvalidClassException.java: Likewise.
9622 * java/io/InvalidObjectException.java: Likewise.
9623 * java/io/NotActiveException.java: Likewise.
9624 * java/io/NotSerializableException.java: Likewise.
9625 * java/io/ObjectStreamException.java: Likewise.
9626 * java/io/ObjectStreamConstants.java: Likewise.
9627 * java/io/OptionalDataException.java: Likewise.
9628 * java/io/PipedInputStream.java: Likewise.
9629 * java/io/PushbackInputStream.java: Likewise.
9630 * java/io/StreamCorruptedException.java: Likewise.
9631 * java/io/SyncFailedException.java: Likewise.
9632 * java/io/UTFDataFormatException.java: Likewise.
9633 * java/io/UnsupportedEncodingException.java: Likewise.
9634 * java/io/WriteAbortedException.java: Likewise.
9635
9636 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9637
9638 * java/text/ChoiceFormat.java: Update comments from Classpath.
9639 * java/text/ParseException.java (serialVersionUID): New
9640 field from Classpath.
9641 * java/text/ParseException.java: Update formatting & comments
9642 from Classpath.
9643
9644 2002-06-15 Tom Tromey <tromey@redhat.com>
9645
9646 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9647 been read but none output by inflater.
9648 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9649 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9650 is_finished.
9651 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9652 version.
9653 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9654 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9655 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9656 version.
9657 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9658
9659 2002-06-13 Tom Tromey <tromey@redhat.com>
9660
9661 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9662 true and OFFSET!=0.
9663 * java/lang/String.java (String(char[],int,int,boolean): New
9664 constructor.
9665 * java/lang/Long.java: Imported new version from Classpath.
9666 * java/lang/Number.java: Likewise.
9667 * java/lang/Integer.java: Likewise.
9668 * java/lang/Long.java: Likewise.
9669 * java/lang/Float.java: Likewise.
9670 * java/lang/Boolean.java: Likewise.
9671 * java/lang/Double.java: Likewise.
9672 * java/lang/Void.java: Likewise.
9673
9674 2002-06-12 Tom Tromey <tromey@redhat.com>
9675
9676 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9677 Fixes PR libgcj/6652.
9678
9679 2002-06-10 Tom Tromey <tromey@redhat.com>
9680
9681 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9682 (Class::getPackagePortion): Likewise.
9683 * java/lang/Class.java (desiredAssertionStatus): New method from
9684 Classpath.
9685 (getPackagePortion): Likewise.
9686 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9687 packageAssertionStatus, classAssertionStatus): New methods from
9688 Classpath.
9689 * java/lang/ClassLoader.java (defaultAssertionStatus,
9690 systemPackageAssertionStatus, packageAssertionStatus,
9691 systemClassAssertionStatus, classAssertionStatus): New fields from
9692 Classpath.
9693 (setDefaultAssertionStatus, setPackageAssertionStatus,
9694 setClassAssertionStatus, clearAssertionStatus): New methods from
9695 Classpath.
9696 * Makefile.in: Rebuilt.
9697 * Makefile.am (core_java_source_files): Added AssertionError.java.
9698 * java/lang/AssertionError.java: New from Classpath.
9699
9700 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9701
9702 * configure.host: Disable hash synchronization and slow_pthread_self
9703 for cygwin.
9704
9705 2002-06-06 Adam Megacz <adam@xwt.org>
9706
9707 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9708 locking, just like the Sun JVM does.
9709
9710 2002-06-05 H.J. Lu (hjl@gnu.org)
9711
9712 * Makefile.am (libgcj_convenience.la): Revert the last change.
9713 (libgcj.la): Likewise.
9714 * Makefile.in: Regenerated.
9715
9716 2002-06-04 H.J. Lu (hjl@gnu.org)
9717
9718 * Makefile.am (libgcj_convenience.la): New target.
9719 (libgcj.la): Depend on libgcj_convenience.la.
9720 * Makefile.in: Regenerated.
9721
9722 2002-06-04 H.J. Lu (hjl@gnu.org)
9723
9724 * configure.in (--with-newlib): New option:
9725 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9726 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9727 Linux.
9728 * configure: Regenerated.
9729
9730 2002-06-04 Tom Tromey <tromey@redhat.com>
9731
9732 * java/util/natTimeZone.cc: Include <stdio.h>.
9733
9734 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9735
9736 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9737 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9738 Set SIGNAL_HANDLER=include/s390-linux.h.
9739 * configure: Regenerate.
9740 * include/s390-linux.h: New file.
9741
9742 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9743
9744 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9745 not "stackTrace".
9746
9747 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9748
9749 Merge JDK 1.4 java.security changes from classpath.
9750
9751 * java/security/AccessControlException.java: Merge from Classpath.
9752 * java/security/AccessController.java: Likewise.
9753 * java/security/AllPermission.java: Likewise.
9754 * java/security/BasicPermission.java: Likewise.
9755 * java/security/Certificate.java: Likewise.
9756 * java/security/CodeSource.java: Likewise.
9757 * java/security/DigestException.java: Likewise.
9758 * java/security/DigestOutputStream.java: Likewise.
9759 * java/security/DomainCombiner.java: Likewise.
9760 * java/security/GeneralSecurityException.java: Likewise.
9761 * java/security/Guard.java: Likewise.
9762 * java/security/GuardedObject.java: Likewise.
9763 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9764 * java/security/InvalidKeyException.java: Likewise.
9765 * java/security/InvalidParameterException.java: Likewise.
9766 * java/security/Key.java: Likewise.
9767 * java/security/KeyException.java: Likewise.
9768 * java/security/KeyManagementException.java: Likewise.
9769 * java/security/KeyStoreException.java: Likewise.
9770 * java/security/MessageDigest.java: Likewise.
9771 * java/security/NoSuchAlgorithmException.java: Likewise.
9772 * java/security/NoSuchProviderException.java: Likewise.
9773 * java/security/Permission.java: Likewise.
9774 * java/security/PermissionCollection.java: Likewise.
9775 * java/security/Permissions.java: Likewise.
9776 * java/security/Policy.java: Likewise.
9777 * java/security/Principal.java: Likewise.
9778 * java/security/PrivateKey.java: Likewise.
9779 * java/security/PrivilegedAction.java: Likewise.
9780 * java/security/PrivilegedActionException.java: Likewise.
9781 * java/security/PrivilegedExceptionAction.java: Likewise.
9782 * java/security/ProtectionDomain.java: Likewise.
9783 * java/security/ProviderException.java: Likewise.
9784 * java/security/PublicKey.java: Likewise.
9785 * java/security/SecureClassLoader.java: Likewise.
9786 * java/security/SecurityPermission.java: Likewise.
9787 * java/security/SignatureException.java: Likewise.
9788 * java/security/UnrecoverableKeyException.java: Likewise.
9789 * java/security/UnresolvedPermission.java: Likewise.
9790 * java/security/acl/AclNotFoundException.java: Likewise.
9791 * java/security/acl/LastOwnerException.java: Likewise.
9792 * java/security/acl/NotOwnerException.java: Likewise.
9793 * java/security/cert/CRLException.java: Likewise.
9794 * java/security/cert/CertificateEncodingException.java: Likewise.
9795 * java/security/cert/CertificateException.java: Likewise.
9796 * java/security/cert/CertificateExpiredException.java: Likewise.
9797 * java/security/cert/CertificateFactory.java: Likewise.
9798 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9799 * java/security/cert/CertificateParsingException.java: Likewise.
9800 * java/security/spec/InvalidKeySpecException.java: Likewise.
9801 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9802
9803 * java/security/cert/CertPath.java: New file.
9804 * java/security/cert/CertPathBuilderException.java: New file.
9805 * java/security/cert/CertPathValidatorException.java: New file.
9806 * java/security/cert/CertStoreException.java: New file.
9807
9808 * Makefile.am: Add new CertPath classes.
9809 * Makefile.in: Rebuilt.
9810
9811 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9812
9813 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9814
9815 Merge JDK 1.4 exception chaining support from classpath.
9816
9817 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9818 (stackTraceBytes): Rename from stackTrace.
9819 * java/lang/Exception.java: Merge from classpath.
9820 * java/lang/StackTraceElement: New file from classpath.
9821 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9822 * Makefile.am: Add StackTraceElement.
9823 * Makefile.in: Rebuilt.
9824
9825 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9826
9827 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9828 they build first.
9829 * Makefile.in: Rebuilt.
9830
9831 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9832
9833 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9834 * configure.in: Likewise.
9835 * aclocal.m4: Regenerate.
9836 * configure: Regenerate.
9837
9838 2002-05-13 Tom Tromey <tromey@redhat.com>
9839
9840 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9841 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9842 Include platform.h.
9843
9844 Fixes PR libgcj/6389:
9845 * Makefile.in: Rebuilt.
9846 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9847 * java/util/natTimeZone.cc: New file.
9848 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9849 * java/lang/System.java: Merged with Classpath.
9850 * java/lang/Runtime.java: Merged with Classpath.
9851 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9852 security check.
9853 (setIn0): Renamed from setIn; don't run security check.
9854 (setOut0): Renamed from setOut; don't run security check.
9855 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9856 init_properties): Moved to natRuntime.cc.
9857 Moved many includes to natRuntime.cc.
9858 (isWordsBigEndian): New method.
9859 * java/lang/natRuntime.cc: Include Long.h, also other includes
9860 previously in natSystem.cc.
9861 (maxMemory): New function.
9862 (exitInternal): Renamed from `_exit'.
9863 (exit): Removed.
9864 (init): Don't set finalize_on_exit.
9865 (exitInternal): Use `finalizeOnExit'.
9866 (file_encoding, getpwuid_adaptor): New functions from
9867 natSystem.cc.
9868 (insertSystemProperties): New method, renamed from
9869 System::init_properties. Don't set user.timezone.
9870 (_load): Don't call checkLink.
9871 (execInternal): New method.
9872 (availableProcessors): Likewise.
9873 (nativeGetLibname): Likewise.
9874
9875 2002-05-11 Mark Wielaard <mark@klomp.org>
9876
9877 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9878 space characters.
9879 (previous_internal): Likewise.
9880
9881 2002-05-09 Tom Tromey <tromey@redhat.com>
9882
9883 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9884
9885 * java/util/ResourceBundle.java: New version from Classpath.
9886 * java/util/Locale.java: Likewise.
9887
9888 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9889
9890 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9891 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9892 LD_LIBRARY_PATH.
9893
9894 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9895
9896 * libjava/Makefile.am (all_java_source_files): New variable.
9897 (all_java_class_files): Likewise.
9898 .java.class: New rule.
9899 (CLEANFILES): Remove tmp-list.
9900 * libjava/Makefile.in: Regenerated.
9901
9902 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9903
9904 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9905 Append .exe to executable names. Fix for cygwin.
9906
9907 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9908
9909 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9910 script entry, and set LD to it when configuring multilibs.
9911 * configure: Rebuilt.
9912
9913 2002-05-07 Tom Tromey <tromey@redhat.com>
9914
9915 * java/lang/natString.cc (unintern): Fixed typo.
9916
9917 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9918
9919 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9920 with -no-install on *-*-cygwin*.
9921
9922 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9923
9924 * testsuite/lib/libjava.exp (test_libjava_from_source):
9925 Add comment explaining last patch
9926
9927 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9928
9929 * testsuite/lib/libjava.exp (test_libjava_from_source):
9930 Append .exe to executable names. If no suffix is present,
9931 then ".exe" is added by default on win32. Harmless
9932 elsewhere so always do it.
9933
9934 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9935 Tom Tromey <tromey@redhat.com>
9936
9937 * java/lang/natSystem.cc (getSystemTimeZone): Use
9938 HAVE_UNDERSCORE_TIMEZONE.
9939 * include/config.h.in: Rebuilt.
9940 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9941 * aclocal.m4, configure: Rebuilt.
9942 * acinclude.m4: Run AC_EXEEXT.
9943 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9944 Add test for `_timezone'.
9945
9946 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9947
9948 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9949 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9950 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9951 * Makefile.in: Rebuilt.
9952
9953 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9954
9955 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9956 use sigaction instead of __libc_sigaction.
9957
9958 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9959
9960 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9961 (libjava_init): Use it to find libgcj.spec.
9962 (libjava_arguments): Likewise.
9963
9964 2002-05-02 David S. Miller <davem@redhat.com>
9965
9966 PR bootstrap/6525
9967 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9968 __libc_sigaction on Sparc.
9969
9970 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9971
9972 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9973 sys/filio.h, if present.
9974
9975 2002-04-30 Tom Tromey <tromey@redhat.com>
9976
9977 * java/io/BufferedReader.java (fill): Handle case where markPos
9978 point to ignored \n. Fixes PR libgcj/6301.
9979
9980 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9981
9982 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9983
9984 2002-04-29 Adam King <aking@dreammechanics.com>
9985
9986 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9987 of file in APPEND mode.
9988
9989 2002-04-25 David S. Miller <davem@redhat.com>
9990
9991 PR target/6422
9992 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9993 program counter to next program counter minus 8. Update
9994 comments in this macro to explain why.
9995
9996 2002-04-26 Tom Tromey <tromey@redhat.com>
9997
9998 * verify.cc (construct_primitive_array_type) [void_type]: New
9999 case.
10000 (branch_prepass): Added dummy entries for unused instruction
10001 values.
10002 (verify_instructions_0): Likewise.
10003 * interpret.cc (continue1): Comment fix.
10004 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10005 * Makefile.in: Rebuilt.
10006 * Makefile.am: Added -Wswitch-enum.
10007
10008 2002-04-24 Tom Tromey <tromey@redhat.com>
10009
10010 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10011 correct length of UTF-8 encoded name. Strip leading `/'.
10012 (_Jv_RegisterResource): Use _Jv_Malloc.
10013
10014 2002-04-23 Adam Megacz <adam@xwt.org>
10015
10016 * win32.cc, include/win32.cc (backtrace): Added this function
10017 because Win32 does not supply it.
10018
10019 2002-04-21 David S. Miller <davem@redhat.com>
10020
10021 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10022 magic instruction reading sequence.
10023
10024 2002-04-21 Mark Wielaard <mark@klomp.org>
10025
10026 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10027
10028 2002-04-19 David S. Miller <davem@redhat.com>
10029
10030 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10031 arg.
10032 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10033 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10034 on Sparc too.
10035 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10036 for 64-bit sparc.
10037 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10038 * sysdeps/sparc/locks.h: New file.
10039 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10040 on all sparc Solaris configurations. Set to
10041 include/dwarf2-signal.h on sparc Linux.
10042 * configure: Regenerate
10043 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10044
10045 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10046
10047 * configure: Rebuilt.
10048 * configure.in (backtrace): Function doesn't work on IA-64.
10049
10050 2002-04-17 Adam King <aking@dreammechanics.com>
10051
10052 * java/io/File.java (normalizePath): Add Win32 support for auto
10053 conversion of a '/' path separator to Win32's '\' separator.
10054
10055 2002-04-16 Tom Tromey <tromey@redhat.com>
10056
10057 Fix for PR libgcj/6081:
10058 * Makefile.in: Rebuilt.
10059 * Makefile.am (install-data-local): Use GNU make trick to avoid
10060 shell limit.
10061
10062 2002-04-16 Adam King <aking@dreammechanics.com>
10063 Tom Tromey <tromey@redhat.com>
10064
10065 * java/io/natFileWin32.cc (performList): Return the correct array
10066 type. Don't duplicate the creation of a File since it's already
10067 done earlier in the method and the existing code would cause a
10068 ArrayStoreException. Don't use fixed-size array.
10069 (_access, _stat, attr, getCanonicalPath, performMkdir,
10070 performRenameTo): Don't use fixed-size array.
10071 (getCanonicalPath): Use throw, not _Jv_Throw.
10072
10073 2002-04-15 DJ Delorie <dj@redhat.com>
10074
10075 * configure.in: Allow building in $srcdir.
10076 * configure: Regenerated.
10077
10078 2002-04-14 Mark Wielaard <mark@klomp.org>
10079
10080 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10081 * java/net/natSocketImpl.cc (close): Likewise.
10082
10083 2002-04-14 Mark Wielaard <mark@klomp.org>
10084
10085 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10086
10087 2002-04-13 Adam King <aking@dreammechanics.com>
10088
10089 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10090 the f/F/d/D modifiers.
10091
10092 2002-04-12 Anthony Green <green@redhat.com>
10093
10094 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10095 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10096 * Makefile.in: Rebuilt.
10097 * configure.in: Substitute gcc_version.
10098 * configure: Rebuilt.
10099
10100 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10101
10102 * configure.host: Set can_unwind_signal on hosts which support it.
10103 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10104 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10105 exceptions and can_unwind_signal isn't set.
10106 * configure: Rebuilt.
10107
10108 2002-04-11 Tom Tromey <tromey@redhat.com>
10109
10110 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10111
10112 2002-04-11 Adam King <aking@dreammechanics.com>
10113 Tom Tromey <tromey@redhat.com>
10114
10115 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10116 _Jv_ThrowNullPointerException): Mark as noreturn.
10117 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10118 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10119 fixes.
10120
10121 2002-04-10 Tom Tromey <tromey@redhat.com>
10122
10123 * Makefile.in: Rebuilt.
10124 * Makefile.am (java/lang/Thread.h): Mark
10125 _Jv_AttachCurrentThreadAsDaemon as friend.
10126 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10127 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10128 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10129 function.
10130 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10131 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10132 (_Jv_JNI_InvokeFunctions): Added
10133 _Jv_JNI_AttachCurrentThreadAsDaemon.
10134 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10135 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10136 (JNI_CreateJavaVM): Likewise.
10137 (_Jv_JNI_AttachCurrentThread): Likewise.
10138 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10139 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10140 (_Jv_JNIFunctions): Initialize new fields.
10141 (_Jv_JNI_NewDirectByteBuffer): New function.
10142 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10143 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10144 * include/jni.h (JNI_VERSION_1_4): New macro.
10145 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10146 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10147 (JNINativeInterface::NewDirectByteBuffer): New field.
10148 (JNINativeInterface::GetDirectBufferAddress): New field.
10149 (JNINativeInterface::GetDirectBufferCapacity): New field.
10150 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10151 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10152 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10153
10154 2002-04-09 Tom Tromey <tromey@redhat.com>
10155
10156 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10157
10158 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10159
10160 Fix for PR libgcj/6187:
10161 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10162 distance.
10163
10164 2002-04-07 Mark Wielaard <mark@klomp.org>
10165
10166 * java/util/AbstractMap.java (putAll): Use entrySet size.
10167 (toString): Explicitly use getKey() and getValue().
10168
10169 2002-04-07 Mark Wielaard <mark@klomp.org>
10170
10171 * java/util/Hashtable.java (contains): Remove NullPointer check.
10172 (containsValue): Add NullPointer check.
10173 (remove): Always throw NullPointerException when key
10174 is null.
10175
10176 2002-04-07 Adam King <aking@dreammechanics.com>
10177
10178 * java/lang/natSystem.cc (init_properties): Call new function
10179 _Jv_platform_initProperties.
10180 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10181 support for the System properties os.name, os.arch, os.version,
10182 user.name, user.home, and user.dir.
10183 * include/posix.h, include/win32.h, posix.cc: New function
10184 _Jv_platform_initProperties.
10185
10186 2002-04-06 Mark Wielaard <mark@klomp.org>
10187
10188 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10189
10190 2002-04-06 Mark Wielaard <mark@klomp.org>
10191
10192 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10193 all of the remaining elements.
10194 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10195 (removeRange): If toIndex == fromIndex do
10196 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10197 (removeAll): Always throw NullPointerException when collection is
10198 null.
10199 (retrainAll): Likewise.
10200
10201 2002-04-05 Mark Wielaard <mark@klomp.org>
10202
10203 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10204 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10205
10206 2002-04-05 Adam Megacz <adam@xwt.org>
10207
10208 * exception.cc (abort): added static modifier
10209
10210 2002-04-04 Adam Megacz <adam@xwt.org>
10211
10212 * include/win32.h (_Jv_platform_close_on_exec): added inline
10213 modifier.
10214
10215 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10216
10217 * configure.host: Add case statement to support generic port
10218 properties. Add *-*-freebsd* section.
10219
10220 2002-04-04 Mark Wielaard <mark@klomp.org>
10221
10222 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10223 test.
10224 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10225 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10226 that depend on awt code and BufferedByteOutputStream.interrupt.
10227
10228 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10229
10230 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10231 incorrect "hi" value when count > 40.
10232
10233 2002-04-03 Mark Wielaard <mark@klomp.org>
10234
10235 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10236 ordering.
10237
10238 2002-04-02 Tom Tromey <tromey@redhat.com>
10239
10240 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10241 not `0'.
10242
10243 2002-04-02 Mark Wielaard <mark@klomp.org>
10244
10245 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10246 list of testsuite crashers.
10247
10248 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10249
10250 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10251 when resizing table.
10252
10253 2002-04-01 Mark Wielaard <mark@klomp.org>
10254
10255 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10256 NegativeArraySizeException
10257 (clear(int)): Use sign extended shift.
10258 (flip(int)): Likewise.
10259 (get(int)): Likewise.
10260 (nextClearBit(int)): Likewise.
10261 (nextSetBit(int)): Likewise.
10262 (set(int)): Likewise.
10263
10264 2002-04-01 Mark Wielaard <mark@klomp.org>
10265
10266 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10267 that can be compiled now and add testsuite crashers to ignore list.
10268
10269 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10270
10271 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10272
10273 * libgcj.spec.in: Override libgcc, not lib.
10274 * libgcj-test.spec.in: Likewise.
10275
10276 2002-03-29 Tom Tromey <tromey@redhat.com>
10277
10278 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10279 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10280
10281 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10282
10283 * java/net/PlainDatagramSocketImpl.java
10284 (close): Use native implementation.
10285 (finalize): New method.
10286
10287 * java/net/PlainSocketImpl.java (finalize): New method.
10288
10289 * java/net/natPlainDatagramSocketImpl.cc
10290 (java/io/FileDescriptor.h): Don't include.
10291 (close): Implement method here.
10292 (create): Don't assign fd.
10293
10294 * java/net/natPlainSocketImpl.cc
10295 (java/io/FileDescriptor.h): Don't include.
10296 (create): Don't assign fd.
10297 (accept): Likewise.
10298 (close): Synchronize.
10299
10300 2002-03-27 Richard Henderson <rth@redhat.com>
10301
10302 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10303
10304 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10305
10306 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10307 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10308 instead of syscall on IA-64.
10309 Add FIXME comment.
10310
10311 2002-03-27 Anthony Green <green@redhat.com>
10312
10313 * libgcj.spec.in: Add CHECKREFSPEC.
10314 * configure.in: Ditto.
10315 * configure.host: Ditto. Check references for xscale-elf.
10316 * configure: Rebuilt.
10317
10318 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10319
10320 * include/dwarf2-signal.h: Temporarily back out last change.
10321
10322 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10323
10324 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10325
10326 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10327
10328 * configure.in, configure: enable dwarf2-exception-style
10329 exception handling on IA-64.
10330 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10331 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10332 Add FIXME comment.
10333
10334 2002-03-25 Tom Tromey <tromey@redhat.com>
10335
10336 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10337 (jv_convert_LDFLAGS): Likewise.
10338 (gij_LDFLAGS): Likewise.
10339 (rmic_LDFLAGS): Likewise.
10340 (rmiregistry_LDFLAGS): Likewise.
10341 * configure.in (THREADLDFLAGS): New subst; set correctly for
10342 *BSD.
10343
10344 2002-03-25 Tom Tromey <tromey@redhat.com>
10345
10346 For PR libgcj/5303:
10347 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10348 and --version.
10349 (help): New method.
10350 (version): Likewise.
10351 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10352 "GNU".
10353 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10354 "GNU".
10355
10356 2002-03-25 Tom Tromey <tromey@redhat.com>
10357
10358 * java/awt/Component.java (processEvent): Check ComponentEvent
10359 after KeyEvent.
10360
10361 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10362
10363 * java/io/PushbackReader.java: Reformat.
10364
10365 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10366 calculate correct number of bytes skipped.
10367
10368 Based on patch from Intel's ORP team:
10369 * java/io/PushbackInputStream.java (available): Calculate correct
10370 number of bytes in buffer.
10371 (read): Remove redundant bound check. Return bytes from both the
10372 buffer and the stream.
10373
10374 2002-03-24 Tom Tromey <tromey@redhat.com>
10375
10376 * java/awt/TextComponent.java (TextComponent): Editable by
10377 default.
10378
10379 * java/awt/MenuItem.java (eventMask): No longer private.
10380 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10381 superclass if we didn't handle event.
10382 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10383 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10384 * java/awt/Choice.java (dispatchEventImpl): New method.
10385 * java/awt/List.java (dispatchEventImpl): New method.
10386 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10387 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10388 * java/awt/TextField.java (dispatchEventImpl): New method.
10389
10390 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10391
10392 * java/beans/IntrospectionException.java: Update to 1.4.
10393 * java/beans/PropertyVetoException.java: Ditto.
10394
10395 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10396
10397 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10398 Arrays.equals instead of ArrayHelper.equalsArray.
10399
10400 2002-03-24 C. Brian Jones <cbj@gnu.org>
10401
10402 * java/beans/Introspector.java: added new static final fields
10403 introduced in 1.2, lots of other updates remain to be done
10404
10405 2002-03-24 C. Brian Jones <cbj@gnu.org>
10406
10407 * java/beans/Introspector.java: reformatting
10408
10409 2002-03-24 C. Brian Jones <cbj@gnu.org>
10410
10411 * java/beans/Introspector.java: default beanInfoSearchPath will
10412 not include sun.beans.infos given we provide no such package and
10413 the API doesn't really require it; gnu.java.beans.info is the
10414 default.
10415
10416 2002-03-24 Mark Wielaard <mark@klomp.org>
10417
10418 Thanks to Orp developers
10419 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10420 switch TRUE and FALSE return values.
10421
10422 2002-03-23 Tom Tromey <tromey@redhat.com>
10423
10424 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10425 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10426
10427 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10428
10429 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10430 MONTH entry. Fixes PR libgcj/6045.
10431
10432 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10433
10434 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10435
10436 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10437
10438 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10439 not release_set.
10440 * sysdep/powerpc/locks.h (write_barrier): New function.
10441 * sysdep/i386/locks.h (write_barrier): New function.
10442
10443 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10444
10445 * include/jni.h Use correct C comments.
10446
10447 2002-03-18 Tom Tromey <tromey@redhat.com>
10448
10449 * include/jni.h (JNIIMPORT): New macro.
10450 (JNIEXPORT): Likewise.
10451 (JNICALL): Likewise.
10452
10453 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10454
10455 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10456 systems.
10457
10458 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10459
10460 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10461 INIT_SEGV: Use old_i386_kernel_sigaction.
10462 INIT_FP: Likewise.
10463
10464 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10465
10466 * java/lang/natSystem.cc (init_properties): Update VM version
10467 properties.
10468 * configure.in: Set GCJVERSION.
10469 * acconfig.h: Add GCJVERSION.
10470 * configure: Rebuilt.
10471 * include/config.h.in: Rebuilt.
10472
10473 2002-03-17 Anthony Green <green@redhat.com>
10474
10475 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10476
10477 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10478
10479 Build a single libgcj.so, without separate gc and zlib libraries.
10480 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10481 SYS_ZLIBS if system zlib is used.
10482 * configure: Rebuilt.
10483 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10484 * Makefile.in: Rebuilt.
10485 * libtool-version: Increment .so version number.
10486
10487 * Makefile.am: Escape quotes in echo.
10488 * Makefile.in: Rebuilt.
10489
10490 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10491
10492 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10493 * Makefile.in: Rebuilt.
10494
10495 2002-03-15 Anthony Green <green@redhat.com>
10496
10497 * configure.host (FILE): New macro for specifing File
10498 implementation.
10499 * configure: Rebuilt.
10500 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10501
10502 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10503
10504 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10505 already implicitly brought in from libgcj.la.
10506 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10507 * Makefile.in: Rebuilt.
10508
10509 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10510
10511 * THANKS: Fix punctuation, alphabetization.
10512
10513 2002-03-15 Tom Tromey <tromey@redhat.com>
10514 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10515
10516 Fix for PR libgcj/5944.
10517 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10518
10519 2002-03-15 Anthony Green <green@redhat.com>
10520
10521 * configure.in (tool_include_dir): Define.
10522 * configure: Rebuilt.
10523 * gcj/Makefile.am: Install libgcj-config.h relative to
10524 tool_include_dir.
10525 * gcj/Makefile: Rebuilt.
10526 * gcj/libgcj-config.h: Add warning comment.
10527
10528 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10529
10530 * configure.host (powerpc*-darwin*): Enable interpreter.
10531
10532 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10533
10534 * include/posix.h: Add multiple include header protection.
10535 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10536
10537 2002-03-10 Adam Megacz <adam@xwt.org>
10538
10539 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10540
10541 2002-03-10 Tom Tromey <tromey@redhat.com>
10542
10543 * java/awt/GridLayout.java (layoutContainer): Handle case where
10544 there are no items in container.
10545
10546 * java/lang/Win32Process.java: Added comment.
10547 * include/posix.h (_Jv_platform_close_on_exec): New function.
10548 Include fcntl.h.
10549 * include/win32.h (_Jv_platform_close_on_exec): New function.
10550 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10551 flag.
10552 (accept): Likewise.
10553 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10554 close-on-exec flag.
10555 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10556 flag.
10557
10558 2002-03-09 Tom Tromey <tromey@redhat.com>
10559
10560 * verify.cc (state::NO_STACK): New constant.
10561 (state::is_unmerged_ret_state): Handle case where stacktop is
10562 NO_STACK.
10563 (state::merge): Handle NO_STACK merges.
10564 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10565 for instruction following jsr.
10566 (stacktop, stackdepth): Removed unused variables.
10567 (pop_jump): Ignore case where all remaining states are skipped.
10568
10569 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10570
10571 * java/awt/ImageMediaEntry: Removed.
10572 * java/awt/MediaEntry: Removed.
10573
10574 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10575
10576 Hashtable synchronization for PowerPC.
10577 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10578 slow_pthread_self. Set up symlink for sysdeps directory.
10579 * configure: Rebuild.
10580 * configure.host: Document more shell variables. Set sysdeps_dir
10581 for most platforms. Set slow_pthread_self for i686. Set
10582 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10583 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10584 that memory barrier is emitted where required.
10585 * prims.cc: 64-bit align static primitive class instances.
10586 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10587 read_barrier() to enforce ordering of reads.
10588 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10589 primitives for PowerPC.
10590 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10591 moved from natObject.cc.
10592 * sysdep/alpha/locks.h: Likewise.
10593 * sysdep/ia64/locks.h: Likewise.
10594 * sysdep/generic/locks.h: Likewise.
10595 * java/lang/natObject.cc: Move thread synchronization primitives to
10596 system-dependent headers.
10597
10598 2002-03-09 Adam Megacz <adam@xwt.org>
10599
10600 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10601 bytes read and no failure code returned.
10602
10603 2002-03-09 Adam Megacz <adam@xwt.org>
10604
10605 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10606 definitions to simulate -mthreads.
10607
10608 2002-03-09 Adam Megacz <adam@xwt.org>
10609
10610 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10611 avoid precision loss.
10612
10613 2002-03-09 Per Bothner <per@bothner.com>
10614
10615 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10616 * gnu/gcj/xlib/XImage.java: Likewise.
10617 * gnu/gcj/xlib/XColor.java: Likewise.
10618
10619 2002-03-09 Adam Megacz <adam@xwt.org>
10620
10621 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10622 IOException so that Throwable.printStackTrace fails correctly.
10623
10624 2002-03-08 Adam Megacz <adam@xwt.org>
10625
10626 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10627 fixed.
10628
10629 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10630
10631 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10632 truncated to int.
10633
10634 2002-03-08 Tom Tromey <tromey@redhat.com>
10635
10636 * include/jni.h: Include stdio.h.
10637
10638 2002-03-08 Tom Tromey <tromey@redhat.com>
10639
10640 * posix.cc (internal_gettimeofday): New function.
10641 (_Jv_select): Use it.
10642
10643 2002-03-07 Adam Megacz <adam@xwt.org>
10644
10645 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10646 WIN32, and added thunks for read(), write(), and close().
10647 * java/net/natPlainSocketImpl.cc (accept, read, read):
10648 Disabled timeouts on WIN32 pending discussion.
10649
10650 2002-03-07 Adam Megacz <adam@xwt.org>
10651
10652 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10653 returns jlong. Added implementation
10654 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10655 returns jlong.
10656 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10657 returns jlong.
10658 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10659 returns jlong.
10660 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10661 _Jv_platform_gettimeofday signature.
10662
10663 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10664
10665 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10666 (read): Call recv() directly, not _Jv_recv().
10667
10668 2002-03-06 Tom Tromey <tromey@redhat.com>
10669
10670 * java/io/natFileDescriptorEcos.cc (init): Don't use
10671 GetStdHandle.
10672 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10673 is negative.
10674 (init): Don't use GetStdHandle.
10675
10676 * include/config.h.in: Rebuilt.
10677 * configure: Rebuilt.
10678 * Makefile.in: Rebuilt.
10679
10680 2002-03-06 Adam Megacz <adam@xwt.org>
10681
10682 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10683 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10684 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10685 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10686
10687 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10688
10689 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10690 the code for generating include/java-chartables.h.
10691 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10692 merge with Classpath.
10693 * scripts/unicode-muncher.pl: Copy from Classpath.
10694 * scritps/MakeCharTables.java: New file.
10695 * gnu/gcj/convert/Blocks-3.txt: New file.
10696 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10697 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10698 * gnu/java/lang/CharData.java: Copy from Classpath.
10699 * Makefile.am (ordinary_java_source_files): Add
10700 gnu/java/lang/CharData.java.
10701 * configure.in: Remove --enable-fast-character option.
10702 * java/lang/Character.java: Merge algorithms and Javadoc with
10703 Classpath.
10704 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10705 efficiently.
10706 * include/java-chardecomp.h: Regenerate.
10707 * include/java-chartables.h: Regenerate.
10708
10709 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10710
10711 * java/awt/MediaTracker.java: Implemented.
10712 * Makefile.am: Add MediaTracker.
10713 * Makefile.in: Rebuilt.
10714
10715 2002-03-05 Tom Tromey <tromey@redhat.com>
10716
10717 * java/lang/natPosixProcess.cc (fail): Removed.
10718 (startProcess): Simplified error-handling. Preserve
10719 LD_LIBRARY_PATH across exec.
10720
10721 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10722 AbstractMethodError.
10723
10724 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10725
10726 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10727 * Makefile.in: Rebuilt.
10728
10729 2002-03-03 Mark Wielaard <mark@klomp.org>
10730
10731 * java/util/Timer (TaskQueue.stop): set elements to zero.
10732
10733 2002-02-28 Anthony Green <green@redhat.com>
10734
10735 * java/lang/reflect/natMethod.cc (result): Add void* element.
10736 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10737 constructor test.
10738
10739 2002-02-27 Adam Megacz <adam@xwt.org>
10740
10741 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10742 '#undef STRICT'.
10743
10744 2002-02-26 Tom Tromey <tromey@redhat.com>
10745
10746 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10747 * gij.cc (version): Use __VERSION__.
10748 * include/config.h.in: Rebuilt.
10749 * acconfig.h (GCJVERSION): Removed.
10750 * configure: Rebuilt.
10751 * configure.in (GCJVERSION): Removed.
10752
10753 2002-02-26 Andreas Schwab <schwab@suse.de>
10754
10755 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10756 glibcpp_CXX, since libjava uses even another CXX.
10757 * aclocal.m4, configure: Regenerated.
10758
10759 2002-02-26 Tom Tromey <tromey@redhat.com>
10760
10761 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10762 `1'.
10763
10764 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10765
10766 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10767 dependency tracking for .java files.
10768 * Makefile.in: Rebuilt.
10769
10770 2002-02-24 Adam Megacz <adam@xwt.org>
10771
10772 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10773 typo. Sorry.
10774
10775 2002-02-24 Adam Megacz <adam@xwt.org>
10776
10777 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10778 for Win32, changed #ifdefs to check WIN32 instead of the
10779 (now-obsolete) USE_WINSOCK, and removed support for socket
10780 timeouts on Win32 pending further discussion.
10781
10782 2002-02-24 Adam Megacz <adam@xwt.org>
10783
10784 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10785 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10786 delete
10787
10788 2002-02-24 Adam Megacz <adam@xwt.org>
10789
10790 * java/lang/Win32Process.java: Created a dummy class to allow
10791 build process to run to completion.
10792
10793 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10794
10795 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10796 Define ffi_result union for ffi_call result. Cast
10797 ffi_result members to jvalue.
10798
10799 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10800
10801 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10802 * testsuite/Makefile.in: Likewise.
10803
10804 2002-02-20 Per Bothner <per@bothner.com>
10805
10806 * java/net/URL.java (getPath): New JDK 1.3 method.
10807
10808 * java/net/URLStreamHandler.java (parseURL):
10809 It is wrong to prepend '/' to the file part of a relative url.
10810
10811 * java/net/URLStreamHandler.java (parseURL):
10812 Minor optizations - append '/' rather than "/".
10813
10814 * java/net/URLStreamHandler.java (parseURL):
10815 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10816 We probably should canonicalize for a context-relative url, though.
10817 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10818 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10819 (sameFile): New method. Uses canonicalizeFilename.
10820
10821 2002-02-22 Tom Tromey <tromey@redhat.com>
10822
10823 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10824 java.vendor and java.vm.vendor.
10825 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10826 recent copyright date.
10827 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10828 * gij.cc (version): Print `Inc'.
10829
10830 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10831
10832 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10833 * aclocal.m4, configure: Rebuilt.
10834
10835 2002-02-20 Per Bothner <per@bothner.com>
10836
10837 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10838 and/or output streams immediately here, instead of using File.exists.
10839 (inputStream, outputStream): New fields to save open streams.
10840 (getInputStream, getOutputStream): Use already-opened streams.
10841
10842 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10843
10844 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10845 Use it.
10846 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10847 * aclocal.m4, configure, Makefile.in: Rebuilt.
10848
10849 2002-02-19 Tom Tromey <tromey@redhat.com>
10850
10851 Fix for PR libgcj/5696:
10852 * verify.cc (is_assignable_from_slow): Never call
10853 _Jv_IsAssignableFrom.
10854 (verify_instructions_0): Added new debug statement.
10855 (state::print): Print information about whether local has
10856 changed.
10857 (state::merge): Don't call note_variable when merging locals.
10858 (state::set_exception): Removed old FIXME comment.
10859
10860 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10861
10862 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10863 enable SO_BROADCAST.
10864
10865 2002-02-18 Jason Merrill <jason@redhat.com>
10866
10867 * name-finder.cc (toHex): Use word mode, not long long.
10868
10869 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10870
10871 2002-02-15 Tom Tromey <tromey@redhat.com>
10872
10873 Fix for PR libgcj/5695:
10874 * verify.cc (is_assignable_from_slow): Check to see if target is
10875 an Object before checking to see if source is an interface.
10876 (verify_instructions_0) [op_invokeinterface]: Handle case where
10877 we're making an interface call on Object.
10878
10879 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10880
10881 * Makefile.in: Rebuilt with Eric's change below.
10882
10883 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10884 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10885 Removed functions which are now implemented in Math.java.
10886
10887 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10888
10889 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10890 * Makefile.am (core_java_source_files): Add
10891 java/lang/StrictMath.java.
10892 * java/lang/Math.java: Merge with Classpath.
10893 * java/lang/StrictMath.java: New file - merge with Classpath.
10894
10895 2002-02-14 Mark Wielaard <mark@klomp.org>
10896
10897 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10898 package as a workaround for gcj 3.0.x
10899
10900 2002-02-14 Mark Wielaard <mark@klomp.org>
10901
10902 * java/security/BasicPermission.java: extends with fully qualified
10903 classname as workaround for gcj 3.0.4.
10904
10905 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10906
10907 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10908 around gcj bug of wrong emitted qualifier for inherited method.
10909 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10910 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10911 constructor to reduce amount of emitted bytecode. While this
10912 happens to work around a jikes 1.15 bug, it is still a useful
10913 patch even for correct compilers.
10914 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10915 * gnu/java/rmi/server/UnicastRemoteCall.java
10916 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10917
10918 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10919
10920 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10921 * java/net/SocketImpl.java: Ditto.
10922 * java/rmi/server/RMIClassLoader.java: Ditto.
10923 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10924
10925 2002-02-14 Mark Wielaard <mark@klomp.org>
10926
10927 Thanks to Takashi Okamoto
10928 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10929 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10930 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10931
10932 2002-02-13 Todd Stock <toddastock@yahoo.com>
10933
10934 Fix for PR libgcj/5670:
10935 * verify.cc (is_assignable_from_slow): If `source' is interface,
10936 recursively look for merge with `target'.
10937
10938 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10939
10940 * include/jni.h: Fix typo.
10941
10942 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10943
10944 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10945 correctly.
10946
10947 2002-02-13 Todd Stock <toddastock@yahoo.com>
10948
10949 Fix for PR libgcj/5671:
10950 * verify.cc (state::merge): Handle case where we're merging
10951 against an interface.
10952
10953 2002-02-12 Tom Tromey <tromey@redhat.com>
10954
10955 * exception.cc (std::abort): Mark as noreturn.
10956
10957 2002-02-12 Adam Megacz <adam@xwt.org>
10958
10959 * java/lang/Win32Process.java: Filled in a placeholder
10960 implementation so Win32 will build.
10961
10962 2002-02-12 Adam Megacz <adam@xwt.org>
10963
10964 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10965 * java/io/natFile.cc: Removed from repository.
10966 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10967
10968 2002-02-12 Adam Megacz <adam@xwt.org>
10969
10970 * win32.cc: Added two #includes to make win32.cc compile.
10971
10972 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10973
10974 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10975 declarations.
10976 (_Jv_InitGC): Don't bother locking, as this is always called from a
10977 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10978
10979 2002-02-11 Adam Megacz <adam@xwt.org>
10980
10981 * include/win32.h: Added _Jv_platform_gettimeofday.
10982 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10983
10984 2002-02-11 Adam Megacz <adam@xwt.org>
10985
10986 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10987 Added #undef STRICT to make windows.h and
10988 java/lang/reflect/Modifier.h cooperate.
10989
10990 2002-02-11 Adam Megacz <adam@xwt.org>
10991
10992 * java/io/natFileWin32.cc: Created a placeholder class with lots
10993 of FIXMEs.
10994
10995 2002-02-11 Adam Megacz <adam@xwt.org>
10996
10997 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10998 std::abort() to simply abort(). Also added "fake" std::abort() so
10999 we can #include unwind-pe.h without having to link against
11000 libstdc++-v3.
11001
11002 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11003
11004 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11005
11006 2002-02-08 Tom Tromey <tromey@redhat.com>
11007
11008 * interpret.cc (convert): New function.
11009 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11010 convert.
11011 Include Long.h.
11012
11013 2002-02-08 Anthony Green <green@redhat.com>
11014
11015 * configure.host: Add support for xscale-elf embedded target.
11016
11017 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11018
11019 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11020 dereferenced.
11021 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11022 frame.
11023
11024 2002-02-07 Tom Tromey <tromey@redhat.com>
11025
11026 * java/io/natFile.cc (_access): Use __builtin_alloca.
11027 (_stat): Likewise.
11028 (attr): Likewise.
11029 (getCanonicalPath): Likewise.
11030 (performList): Likewise.
11031 (performMkdir): Likewise.
11032 (performSetReadOnly): Likewise.
11033 (performRenameTo): Likewise.
11034 (performSetLastModified): Likewise.
11035 (performCreate): Likewise.
11036 (performDelete): Likewise.
11037
11038 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11039
11040 * HACKING: Fix URL for the automake-gcj.
11041
11042 2002-02-07 Tom Tromey <tromey@redhat.com>
11043
11044 * java/lang/natThrowable.cc: Updated copyright.
11045 * java/io/natFileWin32.cc: Updated copyright.
11046 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11047 * win32-threads.cc: Updated copyright.
11048 * name-finder.cc: Updated copyright.
11049 * include/name-finder.h: Updated copyright.
11050
11051 * include/name-finder.h: Conditionally include sys/wait.h.
11052 * include/config.h.in: Rebuilt.
11053
11054 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11055 Size buffer based on real size of string.
11056 (_stat): Likewise.
11057 (attr): Likewise.
11058 (getCanonicalPath): Likewise.
11059 (performList): Likewise.
11060 (performMkdir): Likewise.
11061 (performSetReadOnly): Likewise.
11062 (unixroot): Removed.
11063 (performRenameTo): Likewise.
11064 (performSetLastModified): Likewise.
11065 (performCreate): Likewise.
11066 (performDelete): Likewise.
11067 (performListRoots): Always return new array.
11068
11069 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11070 * win32.cc (win32_exception_handler): Now static.
11071 * include/win32.h (_Jv_platform_initialize): Declare.
11072 (win32_exception_handler): Don't declare.
11073 * java/lang/natSystem.cc (currentTimeMillis): Use
11074 _Jv_platform_gettimeofday.
11075 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11076 (_Jv_select): Use new name.
11077 (_Jv_platform_initialize): New function.
11078 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11079 _Jv_gettimeofday.
11080 (_Jv_platform_initialize): Declare.
11081
11082 * configure: Rebuilt.
11083 * configure.in: Removed unnecessary parens.
11084
11085 2002-02-06 Adam Megacz <adam@xwt.org>
11086
11087 * configure.in: Changed mingw) to *mingw*).
11088 * win32.cc: Created this file.
11089 * win32.h: Created this file.
11090 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11091 win32_exception_handler from prims.cc to win32.cc, added
11092 header in win32.h.
11093 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11094 longer needed now that we have platform.h
11095
11096 2002-02-06 Adam Megacz <adam@xwt.org>
11097
11098 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11099 use uint<n>_t instead of LONG and BYTE
11100
11101 2002-02-06 Adam Megacz <adam@xwt.org>
11102
11103 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11104
11105 2002-02-06 Anthony Green <green@redhat.com>
11106
11107 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11108 Implement missing method stubs.
11109 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11110 targets.
11111 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11112 concept of timezones.
11113 (init_properties): Don't refer to _Jv_Environment_Properties
11114 when this feature is not available.
11115 * include/config.h.in: Rebuilt.
11116 * acconfig.h: Add DISABLE_MAIN_ARGS.
11117 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11118 * configure: Rebuilt.
11119 * configure.in: Add --disable-main-args option. Test for
11120 opendir function. Replace AC_CHECK_SIZEOF with
11121 AC_COMPILE_CHECK_SIZEOF.
11122 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11123 * aclocal.m4: Rebuilt.
11124 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11125
11126 2002-02-06 Tom Tromey <tromey@redhat.com>
11127
11128 * verify.cc (require_array_type): If argument is a null array of
11129 references, return null as the element type.
11130
11131 2002-02-06 Mark Wielaard <mark@klomp.org>
11132
11133 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11134 duplicate of a wide type.
11135
11136 2002-02-06 Tom Tromey <tromey@redhat.com>
11137
11138 * verify.cc (type::isnull): New method.
11139 (require_array_type): Handle case where array is null.
11140 (verify_instructions_0) [op_arraylength]: Likewise.
11141
11142 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11143
11144 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11145 Symlink PLATFORMH to platform.h.
11146 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11147 PLATFORMOBJS.
11148 * java/lang/natSystem.cc: #include platform.h not posix.h.
11149 * Makefile.in: Rebuilt with libgcj automake.
11150 * configure: Rebuilt.
11151
11152 2002-02-05 Richard Henderson <rth@redhat.com>
11153
11154 * Makefile.in: Undo munging last change.
11155
11156 2002-02-04 Adam Megacz <adam@xwt.org>
11157
11158 * win32.cc: Created it.
11159 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11160 which is set to posix.cc or win32.cc.
11161 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11162
11163 2002-02-04 Adam Megacz <adam@xwt.org>
11164
11165 * configure.in: Corrected mingw case branches; added * before
11166 and after.
11167
11168 2002-02-04 Adam Megacz <adam@xwt.org>
11169
11170 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11171 if compiling for win32
11172
11173 2002-02-04 Adam Megacz <adam@xwt.org>
11174
11175 * win32-threads.cc: #undef STRICT after gc.h inclusion
11176
11177 2002-02-02 Tom Tromey <tromey@redhat.com>
11178
11179 * Makefile.in: Rebuilt.
11180
11181 2002-02-02 Jason Merrill <jason@redhat.com>
11182
11183 * Makefile.am (clean-nat): New target.
11184
11185 2002-02-02 Tom Tromey <tromey@redhat.com>
11186
11187 * java/io/natFile.cc: Removed old "FIXME" comments.
11188
11189 2002-02-01 Tom Tromey <tromey@redhat.com>
11190
11191 * java/lang/natPosixProcess.cc (myclose): New function.
11192 (fail): Use it.
11193 (startProcess): Likewise.
11194
11195 2002-02-01 Adam Megacz <adam@xwt.org>
11196
11197 * prims.cc: Added #undef STRICT after #include<windows.h>.
11198
11199 2002-02-01 Adam Megacz <adam@xwt.org>
11200
11201 * prims.cc
11202 (_Jv_CreateJavaVM): We now use WIN32 instead of
11203 USE_WIN32_SIGNALLING and USE_WINSOCK.
11204 (win32_exception_handler): Now throws an exception out of
11205 the signal handler; assumes SJLJ.
11206
11207 2002-02-01 Adam Megacz <adam@xwt.org>
11208
11209 * win32-threads.cc:
11210 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11211 wait() algorithm to make it safe.
11212 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11213 Added lazy creation of Win32 Events for better performance
11214 (really_start): This now uses GC_CreateThread so boehm-gc
11215 knows about new threads even when statically linked.
11216
11217 2002-02-01 Adam Megacz <adam@xwt.org>
11218
11219 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11220 enable safer wait() algorithm.
11221 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11222 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11223 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11224 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11225 instead of mutex.
11226 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11227
11228 2002-02-01 Adam Megacz <adam@xwt.org>
11229
11230 * configure.in: Added support for mingw.
11231 * java/lang/Win32Process.java: Created as empty file.
11232 * java/lang/natWin32Process.cc: Created as empty file.
11233
11234 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11235
11236 PR java/4972
11237 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11238 for libiconv in LIBICONV variable.
11239 * configure: Regenerated.
11240
11241 2002-01-31 Tom Tromey <tromey@redhat.com>
11242
11243 * verify.cc (state::enter_subroutine): New method.
11244 (handle_jsr_insn): Use it.
11245 (state::merge): When processing a `ret', correctly use
11246 subroutine's state to determine which local variables have
11247 changed.
11248 (push_exception_jump): Don't let stack overflow.
11249
11250 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11251
11252 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11253 --version output.
11254
11255 2002-01-30 Tom Tromey <tromey@redhat.com>
11256
11257 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11258 parameter for `recv' return type.
11259
11260 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11261 (state::merge): ... not here.
11262 (subr_entry_info): New structure.
11263 (entry_points): New field.
11264 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11265 entry_points.
11266
11267 2002-01-29 Tom Tromey <tromey@redhat.com>
11268
11269 * java/awt/List.java (addNotify): Correctly check to see if peer
11270 does not exist.
11271
11272 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11273 to compute height of each cell, and number of columns to compute
11274 width of each cell.
11275 * java/awt/Window.java (getOwnedWindows): Don't return null.
11276 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11277 of component. Increment x using horizontal gap, not vertical
11278 gap.
11279
11280 2002-01-28 Tom Tromey <tromey@redhat.com>
11281
11282 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11283 `nargs' byte is number of words, not number of arguments.
11284
11285 2002-01-27 Tom Tromey <tromey@redhat.com>
11286
11287 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11288 (when): Likewise.
11289 * java/awt/event/InputEvent.java (modifiers, when): Now
11290 package-private.
11291
11292 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11293 and to-do list.
11294 (state::merge): Use current class' class loader.
11295 (state::print): Print subroutine.
11296 (state::merge): Don't look at subroutine of unmerged `ret'.
11297
11298 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11299
11300 * nogc.cc: Remove warnings.
11301 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11302 New functions.
11303
11304 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11305
11306 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11307 int, int): Remove empty "if" statement to work around compiler bug.
11308 (newPixels(int[], ColorModel, int, int): Likewise.
11309
11310 2002-01-25 Per Bothner <per@bothner.com>
11311
11312 * verify.cc (verify_fail): Change from being a top-level function
11313 to e method of _Jv_BytecodeVerifier. Emit current method name.
11314 Pass the current verifier to type: and state: methods as needed,
11315 for better error messages, and for resolve.
11316 (resolve): Pass current class's loader for Class.forName and
11317 _Jv_FindClassFromSignature, rather than using the default loader.
11318 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11319 (get_type_val_for_signature): Make non-static.
11320 (various methods): Pass start_PC implicitly, not explicitly.
11321
11322 2002-01-25 Tom Tromey <tromey@redhat.com>
11323
11324 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11325 loop termination condition.
11326 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11327 width.
11328
11329 2002-01-24 Tom Tromey <tromey@redhat.com>
11330
11331 * java/awt/Shape.java: Merged with Classpath.
11332 * java/awt/Scrollbar.java: Merged with Classpath.
11333
11334 * java/awt/Container.java (addNotify): Unconditionally call
11335 addNotifyContainerChildren and superclass addNotify.
11336
11337 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11338 getAlpha, not getBlue.
11339
11340 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11341
11342 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11343
11344 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11345 (grabPixels(long)): Wait to be notified that the ImageProducer has
11346 completed.
11347
11348 2002-01-24 Per Bothner <per@bothner.com>
11349
11350 * verify.cc (is_assignable_from_slow): If target is an interface,
11351 we must still check the source's superclass before giving up.
11352
11353 2002-01-24 Tom Tromey <tromey@redhat.com>
11354
11355 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11356
11357 2002-01-23 Tom Tromey <tromey@redhat.com>
11358
11359 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11360 `else'.
11361
11362 * Makefile.in: Rebuilt.
11363 * Makefile.am (awt_java_source_files): Added new files.
11364 * java/awt/Toolkit.java: Merged with Classpath.
11365 * java/awt/PrintGraphics.java: New file from Classpath.
11366 * java/awt/PrintJob.java: New file from Classpath.
11367 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11368 * java/awt/datatransfer/ClipboardOwner.java: New file from
11369 Classpath.
11370 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11371 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11372 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11373 Classpath.
11374 * java/awt/datatransfer/StringSelection.java: New file from
11375 Classpath.
11376 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11377 Classpath.
11378 * java/awt/datatransfer/Transferable.java: New file from
11379 Classpath.
11380 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11381 from Classpath.
11382
11383 * Makefile.in: Rebuilt.
11384 * Makefile.am (awt_java_source_files): Added new files.
11385 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11386 Classpath.
11387 * java/awt/image/CropImageFilter.java: New file from Classpath.
11388 * java/awt/image/FilteredImageSource.java: New file from
11389 Classpath.
11390 * java/awt/image/ImageFilter.java: New file from Classpath.
11391 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11392 * java/awt/image/PixelGrabber.java: New file from Classpath.
11393 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11394 * java/awt/image/ReplicateScaleFilter.java: New file from
11395 Classpath.
11396 * java/awt/image/ImageProducer.java: Replaced with Classpath
11397 version.
11398 * java/awt/image/ImageObserver.java: Replaced with Classpath
11399 version.
11400 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11401 version.
11402 * java/awt/GridBagConstraints.java (clone): Catch
11403 CloneNotSupportedException.
11404
11405 2002-01-23 Per Bothner <per@bothner.com>
11406
11407 * java/lang/reflect/natField.cc (setAddr): New function.
11408 Calls getAddr and then checks that the field isn't final.
11409 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11410 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11411 (set): Call setAddr before check that new value has right type,
11412 to better match specified semantics.
11413
11414 2002-01-22 Tom Tromey <tromey@redhat.com>
11415
11416 * java/awt/TextField.java: Replaced with Classpath version.
11417 * java/awt/TextArea.java: Replaced with Classpath version.
11418 * java/awt/TextComponent.java: Replaced with Classpath version.
11419
11420 * java/awt/GridBagConstraints.java: Updated copyright.
11421
11422 2002-01-22 Mark Wielaard <mark@klomp.org>
11423
11424 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11425 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11426 java/awt/Dialog.java java/awt/FileDialog.java
11427 java/awt/Font.java java/awt/FontMetrics.java
11428 java/awt/Image.java java/awt/ImageMediaEntry.java
11429 java/awt/Insets.java java/awt/List.java
11430 java/awt/MediaEntry.java java/awt/MediaTracker.java
11431 java/awt/Menu.java java/awt/MenuBar.java
11432 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11433 java/awt/PaintContext.java java/awt/Panel.java
11434 java/awt/PopupMenu.java java/awt/SystemColor.java
11435 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11436 java/awt/peer/CheckboxMenuItemPeer.java
11437 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11438 java/awt/peer/ComponentPeer.java
11439 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11440 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11441 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11442 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11443 java/awt/peer/MenuBarPeer.java
11444 java/awt/peer/MenuComponentPeer.java
11445 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11446 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11447 java/awt/peer/ScrollPanePeer.java
11448 java/awt/peer/ScrollbarPeer.java
11449 java/awt/peer/TextAreaPeer.java
11450 java/awt/peer/TextComponentPeer.java
11451 java/awt/peer/TextFieldPeer.java
11452 java/awt/peer/WindowPeer.java: Add license clarification.
11453
11454 2002-01-22 Mark Wielaard <mark@klomp.org>
11455
11456 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11457 gnu/gcj/runtime/StringBuffer.java
11458 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11459 gnu/java/awt/ComponentDataBlitOp.java
11460 gnu/java/awt/GLightweightPeer.java
11461 gnu/java/beans/BeanInfoEmbryo.java
11462 gnu/java/beans/EmptyBeanInfo.java
11463 gnu/java/beans/ExplicitBeanInfo.java
11464 gnu/java/beans/IntrospectionIncubator.java
11465 gnu/java/beans/editors/ColorEditor.java
11466 gnu/java/beans/editors/FontEditor.java
11467 gnu/java/beans/editors/NativeBooleanEditor.java
11468 gnu/java/beans/editors/NativeByteEditor.java
11469 gnu/java/beans/editors/NativeDoubleEditor.java
11470 gnu/java/beans/editors/NativeFloatEditor.java
11471 gnu/java/beans/editors/NativeIntEditor.java
11472 gnu/java/beans/editors/NativeLongEditor.java
11473 gnu/java/beans/editors/NativeShortEditor.java
11474 gnu/java/beans/editors/StringEditor.java
11475 gnu/java/beans/info/ComponentBeanInfo.java
11476 gnu/java/io/ClassLoaderObjectInputStream.java
11477 gnu/java/io/NullOutputStream.java
11478 gnu/java/io/ObjectIdentityWrapper.java
11479 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11480 gnu/java/lang/reflect/TypeSignature.java
11481 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11482 gnu/java/locale/Calendar_en.java
11483 gnu/java/locale/Calendar_nl.java
11484 gnu/java/locale/LocaleInformation.java
11485 gnu/java/locale/LocaleInformation_de.java
11486 gnu/java/locale/LocaleInformation_en.java
11487 gnu/java/locale/LocaleInformation_nl.java
11488 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11489 gnu/java/rmi/registry/RegistryImpl.java
11490 gnu/java/rmi/rmic/Compile_gcj.java
11491 gnu/java/rmi/rmic/Compiler.java
11492 gnu/java/rmi/rmic/CompilerProcess.java
11493 gnu/java/rmi/rmic/RMIC.java
11494 gnu/java/rmi/rmic/TabbedWriter.java
11495 gnu/java/rmi/server/ProtocolConstants.java
11496 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11497 gnu/java/rmi/server/RMIHashes.java
11498 gnu/java/rmi/server/RMIObjectInputStream.java
11499 gnu/java/rmi/server/RMIObjectOutputStream.java
11500 gnu/java/rmi/server/UnicastConnection.java
11501 gnu/java/rmi/server/UnicastConnectionManager.java
11502 gnu/java/rmi/server/UnicastRef.java
11503 gnu/java/rmi/server/UnicastRemoteCall.java
11504 gnu/java/rmi/server/UnicastRemoteStub.java
11505 gnu/java/rmi/server/UnicastServer.java
11506 gnu/java/rmi/server/UnicastServerRef.java
11507 gnu/java/security/provider/DefaultPolicy.java
11508 gnu/java/security/provider/Gnu.java
11509 gnu/java/security/provider/SHA.java
11510 gnu/java/security/provider/SHA1PRNG.java
11511 gnu/java/text/BaseBreakIterator.java
11512 gnu/java/text/CharacterBreakIterator.java
11513 gnu/java/text/LineBreakIterator.java
11514 gnu/java/text/SentenceBreakIterator.java
11515 gnu/java/text/WordBreakIterator.java
11516 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11517 java/applet/AppletContext.java java/applet/AppletStub.java
11518 java/applet/AudioClip.java java/awt/AWTError.java
11519 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11520 java/awt/AWTException.java java/awt/AWTPermission.java
11521 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11522 java/awt/Button.java java/awt/Canvas.java
11523 java/awt/CardLayout.java java/awt/Checkbox.java
11524 java/awt/CheckboxGroup.java java/awt/Component.java
11525 java/awt/ComponentOrientation.java java/awt/Container.java
11526 java/awt/Dimension.java java/awt/Event.java
11527 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11528 java/awt/FlowLayout.java java/awt/Frame.java
11529 java/awt/Graphics.java java/awt/Graphics2D.java
11530 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11531 java/awt/IllegalComponentStateException.java
11532 java/awt/ItemSelectable.java java/awt/Label.java
11533 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11534 java/awt/MenuComponent.java java/awt/MenuItem.java
11535 java/awt/Paint.java java/awt/Point.java
11536 java/awt/Rectangle.java java/awt/RenderingHints.java
11537 java/awt/Transparency.java java/awt/Window.java
11538 java/awt/color/ColorSpace.java
11539 java/awt/color/ICC_ColorSpace.java
11540 java/awt/color/ICC_Profile.java
11541 java/awt/event/HierarchyBoundsAdapter.java
11542 java/awt/event/HierarchyBoundsListener.java
11543 java/awt/event/HierarchyEvent.java
11544 java/awt/event/HierarchyListener.java
11545 java/awt/geom/AffineTransform.java
11546 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11547 java/awt/geom/IllegalPathStateException.java
11548 java/awt/geom/Line2D.java
11549 java/awt/geom/NoninvertibleTransformException.java
11550 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11551 java/awt/geom/Rectangle2D.java
11552 java/awt/geom/RectangularShape.java
11553 java/awt/geom/RoundRectangle2D.java
11554 java/awt/image/BufferedImage.java
11555 java/awt/image/ColorModel.java
11556 java/awt/image/ComponentColorModel.java
11557 java/awt/image/ComponentSampleModel.java
11558 java/awt/image/DataBuffer.java
11559 java/awt/image/DataBufferByte.java
11560 java/awt/image/DataBufferInt.java
11561 java/awt/image/DataBufferUShort.java
11562 java/awt/image/DirectColorModel.java
11563 java/awt/image/PackedColorModel.java
11564 java/awt/image/Raster.java java/awt/image/RasterOp.java
11565 java/awt/image/SampleModel.java
11566 java/awt/image/SinglePixelPackedSampleModel.java
11567 java/awt/image/WritableRaster.java
11568 java/beans/AppletInitializer.java
11569 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11570 java/beans/Beans.java java/beans/Customizer.java
11571 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11572 java/beans/FeatureDescriptor.java
11573 java/beans/IndexedPropertyDescriptor.java
11574 java/beans/IntrospectionException.java
11575 java/beans/Introspector.java java/beans/MethodDescriptor.java
11576 java/beans/ParameterDescriptor.java
11577 java/beans/PropertyChangeEvent.java
11578 java/beans/PropertyChangeListener.java
11579 java/beans/PropertyChangeSupport.java
11580 java/beans/PropertyDescriptor.java
11581 java/beans/PropertyEditor.java
11582 java/beans/PropertyEditorManager.java
11583 java/beans/PropertyEditorSupport.java
11584 java/beans/PropertyVetoException.java
11585 java/beans/SimpleBeanInfo.java
11586 java/beans/VetoableChangeListener.java
11587 java/beans/VetoableChangeSupport.java
11588 java/beans/Visibility.java
11589 java/beans/beancontext/BeanContext.java
11590 java/beans/beancontext/BeanContextChild.java
11591 java/beans/beancontext/BeanContextChildComponentProxy.java
11592 java/beans/beancontext/BeanContextChildSupport.java
11593 java/beans/beancontext/BeanContextContainerProxy.java
11594 java/beans/beancontext/BeanContextEvent.java
11595 java/beans/beancontext/BeanContextMembershipEvent.java
11596 java/beans/beancontext/BeanContextMembershipListener.java
11597 java/beans/beancontext/BeanContextProxy.java
11598 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11599 java/beans/beancontext/BeanContextServiceProvider.java
11600 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11601 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11602 java/beans/beancontext/BeanContextServiceRevokedListener.java
11603 java/beans/beancontext/BeanContextServices.java
11604 java/beans/beancontext/BeanContextServicesListener.java
11605 java/io/BufferedInputStream.java
11606 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11607 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11608 java/io/ByteArrayOutputStream.java
11609 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11610 java/io/CharConversionException.java java/io/DataInput.java
11611 java/io/DataInputStream.java java/io/DataOutput.java
11612 java/io/EOFException.java java/io/Externalizable.java
11613 java/io/FileFilter.java java/io/FileNotFoundException.java
11614 java/io/FilePermission.java java/io/FileReader.java
11615 java/io/FileWriter.java java/io/FilenameFilter.java
11616 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11617 java/io/FilterReader.java java/io/FilterWriter.java
11618 java/io/IOException.java java/io/InputStream.java
11619 java/io/InterruptedIOException.java
11620 java/io/InvalidClassException.java
11621 java/io/InvalidObjectException.java
11622 java/io/NotActiveException.java
11623 java/io/NotSerializableException.java java/io/ObjectInput.java
11624 java/io/ObjectInputStream.java
11625 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11626 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11627 java/io/ObjectStreamConstants.java
11628 java/io/ObjectStreamException.java
11629 java/io/ObjectStreamField.java
11630 java/io/OptionalDataException.java java/io/OutputStream.java
11631 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11632 java/io/PipedReader.java java/io/PipedWriter.java
11633 java/io/PrintWriter.java java/io/PushbackInputStream.java
11634 java/io/PushbackReader.java java/io/Reader.java
11635 java/io/SequenceInputStream.java java/io/Serializable.java
11636 java/io/SerializablePermission.java
11637 java/io/StreamCorruptedException.java
11638 java/io/StreamTokenizer.java
11639 java/io/StringBufferInputStream.java java/io/StringReader.java
11640 java/io/StringWriter.java java/io/SyncFailedException.java
11641 java/io/UTFDataFormatException.java
11642 java/io/UnsupportedEncodingException.java
11643 java/io/WriteAbortedException.java java/io/Writer.java
11644 java/lang/AbstractMethodError.java
11645 java/lang/ArithmeticException.java
11646 java/lang/ArrayIndexOutOfBoundsException.java
11647 java/lang/ArrayStoreException.java java/lang/Boolean.java
11648 java/lang/Byte.java java/lang/CharSequence.java
11649 java/lang/ClassCastException.java
11650 java/lang/ClassCircularityError.java
11651 java/lang/ClassFormatError.java
11652 java/lang/ClassNotFoundException.java
11653 java/lang/CloneNotSupportedException.java
11654 java/lang/Cloneable.java java/lang/Comparable.java
11655 java/lang/Compiler.java java/lang/Double.java
11656 java/lang/Error.java java/lang/Exception.java
11657 java/lang/ExceptionInInitializerError.java
11658 java/lang/Float.java java/lang/IllegalAccessError.java
11659 java/lang/IllegalAccessException.java
11660 java/lang/IllegalArgumentException.java
11661 java/lang/IllegalMonitorStateException.java
11662 java/lang/IllegalStateException.java
11663 java/lang/IllegalThreadStateException.java
11664 java/lang/IncompatibleClassChangeError.java
11665 java/lang/IndexOutOfBoundsException.java
11666 java/lang/InheritableThreadLocal.java
11667 java/lang/InstantiationError.java
11668 java/lang/InstantiationException.java java/lang/Integer.java
11669 java/lang/InternalError.java
11670 java/lang/InterruptedException.java
11671 java/lang/LinkageError.java java/lang/Long.java
11672 java/lang/NegativeArraySizeException.java
11673 java/lang/NoClassDefFoundError.java
11674 java/lang/NoSuchFieldError.java
11675 java/lang/NoSuchFieldException.java
11676 java/lang/NoSuchMethodError.java
11677 java/lang/NoSuchMethodException.java
11678 java/lang/NullPointerException.java java/lang/Number.java
11679 java/lang/NumberFormatException.java
11680 java/lang/OutOfMemoryError.java java/lang/Package.java
11681 java/lang/Process.java java/lang/Runnable.java
11682 java/lang/RuntimeException.java
11683 java/lang/RuntimePermission.java
11684 java/lang/SecurityException.java
11685 java/lang/SecurityManager.java java/lang/Short.java
11686 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11687 java/lang/StringIndexOutOfBoundsException.java
11688 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11689 java/lang/ThreadLocal.java java/lang/UnknownError.java
11690 java/lang/UnsatisfiedLinkError.java
11691 java/lang/UnsupportedClassVersionError.java
11692 java/lang/UnsupportedOperationException.java
11693 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11694 java/lang/Void.java java/lang/ref/PhantomReference.java
11695 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11696 java/lang/ref/SoftReference.java
11697 java/lang/ref/WeakReference.java
11698 java/lang/reflect/AccessibleObject.java
11699 java/lang/reflect/InvocationTargetException.java
11700 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11701 java/lang/reflect/ReflectPermission.java
11702 java/math/BigDecimal.java java/math/BigInteger.java
11703 java/net/Authenticator.java java/net/BindException.java
11704 java/net/ConnectException.java java/net/ContentHandler.java
11705 java/net/ContentHandlerFactory.java
11706 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11707 java/net/FileNameMap.java java/net/MalformedURLException.java
11708 java/net/MulticastSocket.java java/net/NetPermission.java
11709 java/net/NoRouteToHostException.java
11710 java/net/PasswordAuthentication.java
11711 java/net/ProtocolException.java java/net/ServerSocket.java
11712 java/net/Socket.java java/net/SocketException.java
11713 java/net/SocketImpl.java java/net/SocketImplFactory.java
11714 java/net/SocketOptions.java java/net/SocketPermission.java
11715 java/net/URLDecoder.java java/net/URLEncoder.java
11716 java/net/URLStreamHandlerFactory.java
11717 java/net/UnknownHostException.java
11718 java/net/UnknownServiceException.java
11719 java/rmi/AccessException.java
11720 java/rmi/AlreadyBoundException.java
11721 java/rmi/ConnectException.java
11722 java/rmi/ConnectIOException.java
11723 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11724 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11725 java/rmi/NotBoundException.java
11726 java/rmi/RMISecurityException.java
11727 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11728 java/rmi/RemoteException.java java/rmi/ServerError.java
11729 java/rmi/ServerException.java
11730 java/rmi/ServerRuntimeException.java
11731 java/rmi/StubNotFoundException.java
11732 java/rmi/UnexpectedException.java
11733 java/rmi/UnknownHostException.java
11734 java/rmi/UnmarshalException.java
11735 java/rmi/activation/Activatable.java
11736 java/rmi/activation/ActivateFailedException.java
11737 java/rmi/activation/ActivationDesc.java
11738 java/rmi/activation/ActivationException.java
11739 java/rmi/activation/ActivationGroup.java
11740 java/rmi/activation/ActivationGroupDesc.java
11741 java/rmi/activation/ActivationGroupID.java
11742 java/rmi/activation/ActivationID.java
11743 java/rmi/activation/ActivationInstantiator.java
11744 java/rmi/activation/ActivationMonitor.java
11745 java/rmi/activation/ActivationSystem.java
11746 java/rmi/activation/Activator.java
11747 java/rmi/activation/UnknownGroupException.java
11748 java/rmi/activation/UnknownObjectException.java
11749 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11750 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11751 java/rmi/registry/Registry.java
11752 java/rmi/registry/RegistryHandler.java
11753 java/rmi/server/ExportException.java
11754 java/rmi/server/LoaderHandler.java
11755 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11756 java/rmi/server/Operation.java
11757 java/rmi/server/RMIClassLoader.java
11758 java/rmi/server/RMIClientSocketFactory.java
11759 java/rmi/server/RMIFailureHandler.java
11760 java/rmi/server/RMIServerSocketFactory.java
11761 java/rmi/server/RMISocketFactory.java
11762 java/rmi/server/RemoteCall.java
11763 java/rmi/server/RemoteObject.java
11764 java/rmi/server/RemoteRef.java
11765 java/rmi/server/RemoteServer.java
11766 java/rmi/server/RemoteStub.java
11767 java/rmi/server/ServerCloneException.java
11768 java/rmi/server/ServerNotActiveException.java
11769 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11770 java/rmi/server/SkeletonMismatchException.java
11771 java/rmi/server/SkeletonNotFoundException.java
11772 java/rmi/server/SocketSecurityException.java
11773 java/rmi/server/UID.java
11774 java/rmi/server/UnicastRemoteObject.java
11775 java/rmi/server/Unreferenced.java
11776 java/security/AccessControlContext.java
11777 java/security/AccessControlException.java
11778 java/security/AccessController.java
11779 java/security/AlgorithmParameterGenerator.java
11780 java/security/AlgorithmParameterGeneratorSpi.java
11781 java/security/AlgorithmParameters.java
11782 java/security/AlgorithmParametersSpi.java
11783 java/security/AllPermission.java
11784 java/security/BasicPermission.java
11785 java/security/Certificate.java java/security/CodeSource.java
11786 java/security/DigestException.java
11787 java/security/DigestInputStream.java
11788 java/security/DigestOutputStream.java
11789 java/security/DomainCombiner.java
11790 java/security/DummyKeyPairGenerator.java
11791 java/security/DummyMessageDigest.java
11792 java/security/DummySignature.java
11793 java/security/GeneralSecurityException.java
11794 java/security/Guard.java java/security/GuardedObject.java
11795 java/security/Identity.java java/security/IdentityScope.java
11796 java/security/InvalidAlgorithmParameterException.java
11797 java/security/InvalidKeyException.java
11798 java/security/InvalidParameterException.java
11799 java/security/Key.java java/security/KeyException.java
11800 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11801 java/security/KeyManagementException.java
11802 java/security/KeyPair.java java/security/KeyPairGenerator.java
11803 java/security/KeyPairGeneratorSpi.java
11804 java/security/KeyStore.java
11805 java/security/KeyStoreException.java
11806 java/security/KeyStoreSpi.java
11807 java/security/MessageDigest.java
11808 java/security/MessageDigestSpi.java
11809 java/security/NoSuchAlgorithmException.java
11810 java/security/NoSuchProviderException.java
11811 java/security/Permission.java
11812 java/security/PermissionCollection.java
11813 java/security/Permissions.java java/security/Policy.java
11814 java/security/Principal.java java/security/PrivateKey.java
11815 java/security/PrivilegedAction.java
11816 java/security/PrivilegedActionException.java
11817 java/security/PrivilegedExceptionAction.java
11818 java/security/ProtectionDomain.java
11819 java/security/Provider.java
11820 java/security/ProviderException.java
11821 java/security/PublicKey.java
11822 java/security/SecureClassLoader.java
11823 java/security/SecureRandom.java
11824 java/security/SecureRandomSpi.java java/security/Security.java
11825 java/security/SecurityPermission.java
11826 java/security/Signature.java
11827 java/security/SignatureException.java
11828 java/security/SignatureSpi.java
11829 java/security/SignedObject.java java/security/Signer.java
11830 java/security/UnrecoverableKeyException.java
11831 java/security/UnresolvedPermission.java
11832 java/security/acl/Acl.java java/security/acl/AclEntry.java
11833 java/security/acl/AclNotFoundException.java
11834 java/security/acl/Group.java
11835 java/security/acl/LastOwnerException.java
11836 java/security/acl/NotOwnerException.java
11837 java/security/acl/Owner.java java/security/acl/Permission.java
11838 java/security/cert/CRL.java
11839 java/security/cert/CRLException.java
11840 java/security/cert/Certificate.java
11841 java/security/cert/CertificateEncodingException.java
11842 java/security/cert/CertificateException.java
11843 java/security/cert/CertificateExpiredException.java
11844 java/security/cert/CertificateFactory.java
11845 java/security/cert/CertificateFactorySpi.java
11846 java/security/cert/CertificateNotYetValidException.java
11847 java/security/cert/CertificateParsingException.java
11848 java/security/cert/X509CRL.java
11849 java/security/cert/X509CRLEntry.java
11850 java/security/cert/X509Certificate.java
11851 java/security/cert/X509Extension.java
11852 java/security/interfaces/DSAKey.java
11853 java/security/interfaces/DSAKeyPairGenerator.java
11854 java/security/interfaces/DSAParams.java
11855 java/security/interfaces/DSAPrivateKey.java
11856 java/security/interfaces/DSAPublicKey.java
11857 java/security/interfaces/RSAKey.java
11858 java/security/interfaces/RSAPrivateCrtKey.java
11859 java/security/interfaces/RSAPrivateKey.java
11860 java/security/interfaces/RSAPublicKey.java
11861 java/security/spec/AlgorithmParameterSpec.java
11862 java/security/spec/DSAParameterSpec.java
11863 java/security/spec/DSAPrivateKeySpec.java
11864 java/security/spec/DSAPublicKeySpec.java
11865 java/security/spec/EncodedKeySpec.java
11866 java/security/spec/InvalidKeySpecException.java
11867 java/security/spec/InvalidParameterSpecException.java
11868 java/security/spec/KeySpec.java
11869 java/security/spec/PKCS8EncodedKeySpec.java
11870 java/security/spec/RSAKeyGenParameterSpec.java
11871 java/security/spec/RSAPrivateCrtKeySpec.java
11872 java/security/spec/RSAPrivateKeySpec.java
11873 java/security/spec/RSAPublicKeySpec.java
11874 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11875 java/sql/BatchUpdateException.java java/sql/Blob.java
11876 java/sql/CallableStatement.java java/sql/Clob.java
11877 java/sql/Connection.java java/sql/DataTruncation.java
11878 java/sql/DatabaseMetaData.java java/sql/Date.java
11879 java/sql/Driver.java java/sql/DriverManager.java
11880 java/sql/DriverPropertyInfo.java
11881 java/sql/PreparedStatement.java java/sql/Ref.java
11882 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11883 java/sql/SQLData.java java/sql/SQLException.java
11884 java/sql/SQLInput.java java/sql/SQLOutput.java
11885 java/sql/SQLWarning.java java/sql/Statement.java
11886 java/sql/Struct.java java/sql/Time.java
11887 java/sql/Timestamp.java java/sql/Types.java
11888 java/text/Annotation.java
11889 java/text/AttributedCharacterIterator.java
11890 java/text/AttributedString.java
11891 java/text/AttributedStringIterator.java
11892 java/text/BreakIterator.java java/text/CharacterIterator.java
11893 java/text/ChoiceFormat.java java/text/Collator.java
11894 java/text/DateFormat.java java/text/DateFormatSymbols.java
11895 java/text/DecimalFormat.java
11896 java/text/DecimalFormatSymbols.java
11897 java/text/FieldPosition.java java/text/Format.java
11898 java/text/MessageFormat.java java/text/NumberFormat.java
11899 java/text/ParseException.java java/text/ParsePosition.java
11900 java/text/SimpleDateFormat.java
11901 java/text/StringCharacterIterator.java
11902 java/util/AbstractCollection.java java/util/AbstractList.java
11903 java/util/AbstractMap.java
11904 java/util/AbstractSequentialList.java
11905 java/util/AbstractSet.java java/util/ArrayList.java
11906 java/util/Arrays.java java/util/BasicMapEntry.java
11907 java/util/BitSet.java java/util/Calendar.java
11908 java/util/Collection.java java/util/Collections.java
11909 java/util/Comparator.java
11910 java/util/ConcurrentModificationException.java
11911 java/util/Date.java java/util/Dictionary.java
11912 java/util/EmptyStackException.java java/util/Enumeration.java
11913 java/util/EventListener.java java/util/EventObject.java
11914 java/util/GregorianCalendar.java java/util/HashMap.java
11915 java/util/HashSet.java java/util/Hashtable.java
11916 java/util/IdentityHashMap.java java/util/Iterator.java
11917 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11918 java/util/LinkedList.java java/util/List.java
11919 java/util/ListIterator.java java/util/ListResourceBundle.java
11920 java/util/Locale.java java/util/Map.java
11921 java/util/MissingResourceException.java
11922 java/util/NoSuchElementException.java
11923 java/util/Observable.java java/util/Observer.java
11924 java/util/Properties.java java/util/PropertyPermission.java
11925 java/util/PropertyResourceBundle.java java/util/Random.java
11926 java/util/RandomAccess.java java/util/ResourceBundle.java
11927 java/util/Set.java java/util/SimpleTimeZone.java
11928 java/util/SortedMap.java java/util/SortedSet.java
11929 java/util/Stack.java java/util/StringTokenizer.java
11930 java/util/TimeZone.java java/util/Timer.java
11931 java/util/TimerTask.java
11932 java/util/TooManyListenersException.java
11933 java/util/TreeMap.java java/util/TreeSet.java
11934 java/util/Vector.java java/util/WeakHashMap.java
11935 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11936 java/util/jar/JarException.java java/util/jar/JarFile.java
11937 java/util/jar/JarInputStream.java
11938 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11939 java/util/zip/Adler32.java java/util/zip/CRC32.java
11940 java/util/zip/CheckedInputStream.java
11941 java/util/zip/CheckedOutputStream.java
11942 java/util/zip/Checksum.java
11943 java/util/zip/DataFormatException.java
11944 java/util/zip/Deflater.java
11945 java/util/zip/DeflaterOutputStream.java
11946 java/util/zip/GZIPInputStream.java
11947 java/util/zip/GZIPOutputStream.java
11948 java/util/zip/Inflater.java
11949 java/util/zip/InflaterInputStream.java
11950 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11951 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11952 java/util/zip/ZipInputStream.java
11953 java/util/zip/ZipOutputStream.java
11954 javax/naming/BinaryRefAddr.java
11955 javax/naming/InvalidNameException.java javax/naming/Name.java
11956 javax/naming/NamingException.java javax/naming/RefAddr.java
11957 javax/naming/StringRefAddr.java: Add license clarification.
11958
11959 2002-01-22 Tom Tromey <tromey@redhat.com>
11960
11961 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11962 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11963 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11964 version.
11965 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11966 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11967 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11968 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11969 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11970 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11971 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11972 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11973 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11974 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11975 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11976 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11977 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11978 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11979 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11980 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11981 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11982 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11983 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11984 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11985 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11986 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11987 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11988 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11989 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11990 (minimumSize, preferredSize, reshape): Likewise.
11991 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11992 getColorModel): New methods.
11993 * java/awt/PopupMenu.java: Merged with Classpath.
11994 * java/awt/MenuBar.java: Merged with Classpath.
11995 * java/awt/SystemColor.java: Replace with Classpath version.
11996 * java/awt/Panel.java: Merged with Classpath.
11997 * java/awt/PaintContext.java: Updated copyright.
11998 * java/awt/MenuShortcut.java: Merged with Classpath.
11999 * java/awt/MenuContainer.java: Merged with Classpath.
12000 * java/awt/Menu.java: Merged with Classpath.
12001 * java/awt/MediaEntry.java: New file from Classpath.
12002 * java/awt/MediaTracker.java: New file from Classpath.
12003 * java/awt/List.java: Merged with Classpath version.
12004 * java/awt/Insets.java: Merged with Classpath version.
12005 * java/awt/ImageMediaEntry.java: New file from Classpath.
12006 * java/awt/Image.java: Replaced with Classpath version.
12007 * java/awt/FontMetrics.java: Merged with Classpath version.
12008 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12009 constant.
12010 * java/awt/Font.java: Merged with Classpath version.
12011 * java/awt/Dialog.java: Merged with Classpath version.
12012 * java/awt/Color.java: Merged with Classpath version.
12013 * java/awt/Choice.java: Merged with Classpath version.
12014 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12015 * java/awt/Adjustable.java: Replace with Classpath version.
12016 * java/awt/MenuItem.java (paramString): Don't include class name
12017 or brackets. Call superclass paramString.
12018 * java/awt/MenuComponent.java (toString): Call paramString.
12019 (paramString): Compute string; don't call toString.
12020 * java/awt/Label.java (paramString): Don't include class name
12021 or brackets. Call superclass paramString.
12022 * java/awt/Checkbox.java (paramString): Don't include class name
12023 or brackets. Call superclass paramString.
12024 * java/awt/Button.java (paramString): Don't include class name or
12025 brackets. Call superclass paramString.
12026 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12027
12028 2002-01-20 Andreas Schwab <schwab@suse.de>
12029
12030 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12031 function and of parameter recv_func to ssize_t, as specified by
12032 POSIX.
12033
12034 2002-01-19 Per Bothner <per@bothner.com>
12035
12036 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12037 uncompressed_size in readiness for next entry.
12038
12039 2002-01-18 Tom Tromey <tromey@redhat.com>
12040
12041 * java/net/natPlainSocketImpl.cc: Include
12042 IllegalArgumentException.h.
12043 (_Jv_recv): New template function.
12044 (BooleanClass): Removed.
12045 (read): Use _Jv_recv.
12046 (setOption): Use Boolean::class$. Throw exception if object is
12047 not Boolean or Integer.
12048
12049 2002-01-17 Tom Tromey <tromey@redhat.com>
12050
12051 * java/awt/MenuComponent.java: Merged with Classpath.
12052 * java/awt/MenuItem.java: Merged with Classpath.
12053 * java/awt/Button.java: Merged with Classpath.
12054
12055 * java/awt/ActiveEvent.java: Updated copyright.
12056
12057 * java/awt/AWTError.java: Replaced with Classpath version.
12058 * java/awt/AWTException.java: Replaced with Classpath version.
12059 * java/awt/IllegalComponentStateException.java: Replaced with
12060 Classpath version.
12061
12062 2002-01-16 Tom Tromey <tromey@redhat.com>
12063
12064 * java/awt/Canvas.java (serialVersionUID): New constant.
12065 Updated copyright. Added javadoc from Classpath.
12066 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12067
12068 * java/awt/CheckboxGroup.java: Merged with Classpath.
12069 * java/awt/Checkbox.java: Merged with Classpath.
12070
12071 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12072 Classpath.
12073 * java/awt/Point.java: Updated copyright.
12074
12075 * java/awt/Point.java (toString): Use getClass().getName().
12076 Added javadoc.
12077
12078 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12079 commented code.
12080 (hash): Correctly compute initial value for `h'.
12081
12082 * java/awt/Label.java: Merged with Classpath.
12083
12084 2002-01-15 Tom Tromey <tromey@redhat.com>
12085
12086 * java/awt/AWTPermission.java: Updated copyright.
12087
12088 * java/awt/LayoutManager2.java: Merged with Classpath.
12089 * java/awt/LayoutManager.java: Merged with Classpath.
12090 * java/awt/GridLayout.java: Updated copyright and javadoc.
12091 (getSize): Use `parent.ncomponents'. Handle insets.
12092 (layoutContainer): Use `parent.ncomponents'. Handle case where
12093 there are fewer children than columns. Correctly compute size of
12094 each cell in the grid. Handle case where there isn't enough
12095 space.
12096 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12097 all users.
12098 (gotoComponent): Use parent.ncomponents. Ensure child exists
12099 before calling setVisible() on it. Last item is `num - 1', not
12100 `num'.
12101 (layoutContainer): Hoist invariants out of loop.
12102
12103 Start of AWT merge with Classpath:
12104 * Makefile.in: Rebuilt.
12105 * Makefile.am (awt_java_source_files): Reference files in
12106 gnu/java/awt, not gnu/gcj/awt.
12107 * java/awt/image/BufferedImage.java: Updated copyright.
12108 * java/awt/image/ComponentColorModel.java: Updated copyright.
12109 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12110 * java/awt/image/DataBuffer.java: Updated copyright.
12111 * java/awt/image/DataBufferByte.java: Updated copyright.
12112 * java/awt/image/DataBufferInt.java: Updated copyright.
12113 * java/awt/image/DataBufferUShort.java: Updated copyright.
12114 * java/awt/image/IndexColorModel.java: Updated copyright.
12115 * java/awt/image/PackedColorModel.java: Updated copyright.
12116 * java/awt/image/Raster.java: Updated copyright.
12117 * java/awt/image/RasterOp.java: Updated copyright.
12118 * java/awt/image/SampleModel.java: Updated copyright.
12119 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12120 * java/awt/image/WritableRaster.java: Updated copyright.
12121 * java/awt/color/ColorSpace.java: Updated copyright.
12122 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12123 * java/awt/color/ICC_Profile.java: Updated copyright.
12124 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12125 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12126 * java/awt/event/HierarchyEvent.java: Updated copyright.
12127 * java/awt/event/HierarchyListener.java: Updated copyright.
12128 * java/awt/geom/AffineTransform.java: Updated copyright.
12129 * java/awt/geom/Dimension2D.java: Updated copyright.
12130 * java/awt/geom/Ellipse2D.java: Updated copyright.
12131 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12132 * java/awt/geom/Line2D.java: Updated copyright.
12133 * java/awt/geom/NoninvertibleTransformException.java: Updated
12134 copyright.
12135 * java/awt/geom/PathIterator.java: Updated copyright.
12136 * java/awt/geom/Point2D.java: Updated copyright.
12137 * java/awt/geom/Rectangle2D.java: Updated copyright.
12138 * java/awt/geom/RectangularShape.java: Updated copyright.
12139 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12140 * java/awt/Toolkit.java: Updated import for file moves.
12141 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12142 Classpath.
12143 (hashCode): New method from Classpath.
12144 * java/awt/Graphics2D.java: Updated copyright.
12145 * java/awt/Transparency.java: Updated copyright.
12146 * java/awt/Paint.java: Updated copyright.
12147 * java/awt/Graphics.java: New version from Classpath.
12148 * java/awt/EventDispatchThread.java: Updated copyright.
12149 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12150 children.
12151 (gotoComponent): Wrap around on next/previous.
12152 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12153 * gnu/gcj/awt/Buffers.java: Removed.
12154 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12155 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12156 * gnu/java/awt/BitMaskExtent.java: Added.
12157 * gnu/java/awt/Buffers.java: Added.
12158 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12159 * gnu/java/awt/GLightweightPeer.java: Added.
12160 * java/awt/geom/Line2D.java (clone): Ignore
12161 CloneNotSupportedException.
12162 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12163 * java/awt/Frame.java: Merged with Classpath.
12164 * java/awt/RenderingHints.java: Copyright update.
12165 * java/awt/Paint.java: Copyright update.
12166 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12167 * java/awt/image/ColorModel.java: Merged with Classpath.
12168 * java/awt/Window.java (show): New Implementation from Classpath.
12169 (isShowing): Use super.isShowing().
12170 * java/awt/EventQueue.java: Merged with Classpath.
12171 * java/awt/AWTEventMulticaster.java (save): Throw
12172 RuntimeException.
12173 (saveInternal): Likewise.
12174 * java/awt/AWTEvent.java: Now implements Serializable.
12175 * java/awt/Event.java: Copyright update.
12176 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12177 * java/awt/image/BufferedImage.java: Copyright update.
12178 * java/awt/GraphicsConfiguration.java: Copyright update.
12179 * java/awt/Component.java: (addNotify): Don't call
12180 addNotifyContainerChildren().
12181 (addNotifyContainerChildren): Removed.
12182 (setPeer): New method from Classpath.
12183 (setTreeLock): Likewise.
12184 (setVisible): Rewrote.
12185 (show): Use it.
12186 (hide): Likewise.
12187 (validate): Set `valid'.
12188 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12189 (createImage(ImageProducer)): Likewise.
12190 (prepareImage): Likewise.
12191 * java/awt/Container.java (addImpl): Handle case where constraint
12192 is not a String. Post event via system event queue.
12193 (remove): Post event via system event queue.
12194 (validateTree): Only validate child if it is invalid.
12195 (getAlignmentX): Call super method as default.
12196 (getAlignmentY): Likewise.
12197 (addContainerListener): Now synchronized.
12198 (removeContainerListener): Likewise.
12199 (addNotifyContainerChildren): Now private.
12200 * java/awt/ComponentOrientation.java: Updated copyright. Added
12201 @author.
12202 * java/awt/FlowLayout.java (serialVersionUID): New field.
12203 (setAlignment): Better exception message.
12204 (layoutContainer): Don't compute component's preferred size unless
12205 we're going to use it.
12206 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12207 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12208 (firstLine, lastLine, firstItem, lastItem): New fields.
12209 (addLayoutComponent): Handle case where constraints is null.
12210 Also, handle relative locations.
12211 (removeLayoutComponent): Handle relative locations.
12212 (MIN, MAX, PREF): New constants.
12213 (calcCompSize): New method.
12214 (calcSize): New method.
12215 (minimumLayoutSize): Use it.
12216 (preferredLayoutSize): Likewise.
12217 (maximumLayoutSize): Likewise.
12218 (toString): Include more information.
12219 (setBounds): New method.
12220 (layoutContainer): Use libgcj implementation; extended to handle
12221 relative locations.
12222
12223 2002-01-15 Tom Tromey <tromey@redhat.com>
12224
12225 * java/lang/Float.java (equals): Preserve old code.
12226 * java/lang/Double.java (equals): Preserve old code.
12227
12228 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12229
12230 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12231 * java/lang/Float.java (equals, compare): Ditto.
12232
12233 2002-01-13 Mark Wielaard <mark@klomp.org>
12234
12235 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12236 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12237 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12238 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12239
12240 2002-01-11 Mark Wielaard <mark@klomp.org>
12241
12242 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12243 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12244 InetAddress.
12245 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12246 * java/net/Socket.java: Merge with Classpath.
12247 * java/net/ServerSocket.java: Likewise.
12248
12249 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12250
12251 * interpret.cc (NULLARRAYCHECK): New macro.
12252 (SAVE_PC): Just store `pc'.
12253 (find_exception): Subtract one from `pc' here.
12254 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12255 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12256 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12257 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12258 don't call SAVE_PC.
12259 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12260 call SAVE_PC.
12261
12262 2002-01-11 Tom Tromey <tromey@redhat.com>
12263
12264 * java/lang/natSystem.cc (init_properties): Only look for default
12265 locale if LC_MESSAGES is defined.
12266 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12267 * configure.in: Call AM_LC_MESSAGES.
12268 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12269
12270 2002-01-10 Tom Tromey <tromey@redhat.com>
12271
12272 For PR libgcj/5303:
12273 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12274 --version. Recognize GNU-style long options. Print GNU-style
12275 error messages.
12276 (usage): Print GNU-style help. Exit with status 0.
12277 (error): New method.
12278 (run): Print error message if no class names found.
12279 (main): Don't print usage on error.
12280
12281 2002-01-09 Tom Tromey <tromey@redhat.com>
12282
12283 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12284 property.
12285 (help, version): Use println(), not println("").
12286
12287 For PR libgcj/5303:
12288 * gnu/gcj/convert/Convert.java (error): Program is called
12289 `jv-convert'. Print GNU-style message. Exit with status 1, not
12290 -1.
12291 (main): Handle --help and --version.
12292 (help): New method.
12293 (version): Likewise.
12294
12295 2002-01-08 Tom Tromey <tromey@redhat.com>
12296
12297 * Makefile.in: Rebuilt.
12298 * Makefile.am (ordinary_java_source_files): Added new files.
12299 * gnu/java/locale/LocaleInformation.java: Extend
12300 LocaleInformation_en.
12301 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12302 and time/date formats.
12303 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12304 generated.
12305 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12306 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12307 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12308 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12309 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12310 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12311 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12312 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12313 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12314 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12315 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12316 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12317 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12318 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12319 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12320 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12321 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12322 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12323 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12324 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12325 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12326 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12327 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12328 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12329 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12330 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12331 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12332 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12333 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12334 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12335 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12336 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12337 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12338 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12339 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12340 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12341 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12342 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12343 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12344 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12345 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12346 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12347 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12348 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12349 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12350 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12351 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12352 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12353 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12354 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12355 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12356 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12357 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12358 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12359 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12360 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12361 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12362 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12363 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12364 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12365 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12366 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12367 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12368 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12369 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12370 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12371 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12372 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12373 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12374 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12375 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12376 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12377 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12378 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12379 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12380 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12381 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12382 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12383 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12384 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12385 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12386 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12387 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12388 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12389 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12390 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12391 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12392 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12393 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12394 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12395 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12396 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12397 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12398 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12399 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12400 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12401 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12402 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12403 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12404 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12405 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12406 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12407 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12408 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12409 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12410 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12411 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12412 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12413 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12414 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12415 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12416 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12417 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12418 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12419 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12420 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12421 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12422 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12423 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12424 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12425 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12426 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12427 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12428 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12429 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12430 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12431 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12432 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12433 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12434 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12435
12436 For PR libgcj/5031:
12437 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12438 choose default locale.
12439
12440 * Makefile.in: Rebuilt.
12441 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12442
12443 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12444
12445 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12446 sockets.
12447 (close): New function closes the socket.
12448 (write): New functions for output to socket.
12449 (read): New functions for reading from socket.
12450 * java/net/PlainSocketImpl.java: Glue for new timeout
12451 implementation.
12452 (write): Call the native impl.
12453 (read): Likewise.
12454 (getInputStream): Get a stream to read from the socket.
12455 (getOutputStream): Get a stream to write to the socket.
12456
12457 2002-01-08 Tom Tromey <tromey@redhat.com>
12458
12459 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12460
12461 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12462
12463 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12464 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12465
12466 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12467
12468 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12469 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12470 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12471 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12472 insn_bastore, insn_castore, insn_sastore]: Use it.
12473 (continue1) [insn_arraylength]: Check for null array.
12474
12475 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12476
12477 * configure, include/config.h.in: Rebuilt.
12478 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12479 * configure.in: Call AC_STRUCT_TIMEZONE.
12480
12481 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12482
12483 * configure.host: Disable the interpreter for Darwin.
12484
12485 2002-01-04 Tom Tromey <tromey@redhat.com>
12486
12487 * java/lang/Thread.java (stop): No longer synchronized.
12488 (start): Likewise.
12489
12490 2002-01-02 Tom Tromey <tromey@redhat.com>
12491
12492 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12493 patch.
12494
12495 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12496
12497 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12498 PPC Darwin, not for all of Darwin.