UnicastServerRef.java: New version from classpath.
[gcc.git] / libjava / ChangeLog
1 2003-07-14 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/rmi/server/UnicastServerRef.java:
4 New version from classpath.
5
6 2003-07-14 Michael Koch <konqueror@gmx.de>
7
8 * java/awt/image/MemoryImageSource.java,
9 java/beans/PropertyEditorManager.java,
10 javax/naming/CompoundName.java,
11 javax/naming/spi/NamingManager.java,
12 javax/swing/AbstractButton.java,
13 javax/swing/ButtonModel.java,
14 javax/swing/SwingUtilities.java,
15 javax/swing/UIManager.java,
16 javax/swing/colorchooser/DefaultColorSelectionModel.java,
17 javax/swing/event/AncestorEvent.java,
18 javax/swing/event/InternalFrameEvent.java,
19 java/util/zip/ZipFile.java:
20 New versions from classpath.
21
22 2003-07-13 Michael Koch <konqueror@gmx.de>
23
24 * gnu/java/nio/FileChannelImpl.java,
25 gnu/java/nio/natFileChannelImpl.cc: Removed.
26 * java/io/FileInputStream.java,
27 java/io/FileOutputStream.java,
28 java/io/RandomAccessFile.java,
29 java/nio/MappedByteBufferImpl.java:
30 Import java.nio.channels.FileChannelImpl instead of
31 gnu.java.nio.FileChannelImpl.
32 * java/nio/channels/FileChannelImpl.java,
33 java/nio/channels/natFileChannelImpl.cc:
34 New files.
35 * Makefile.am
36 (ordinary_java_source_files):
37 Removed gnu/java/nio/FileChannelImpl.java and added
38 java/nio/channels/FileChannelImpl.java.
39 (nat source_files):
40 Removed gnu/java/nio/natFileChannelImpl.cc and added
41 java/nio/channels/natFileChannelImpl.cc.
42 * Makefile.in: Regenerated.
43
44 2003-07-13 Michael Koch <konqueror@gmx.de>
45
46 * javax/swing/plaf/basic/BasicBorders.java,
47 javax/swing/plaf/basic/BasicLabelUI.java,
48 javax/swing/plaf/basic/BasicLookAndFeel.java,
49 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
50 javax/swing/plaf/basic/BasicTextUI.java,
51 javax/swing/plaf/metal/MetalLookAndFeel.java:
52 New versions from classpath.
53
54 2003-07-13 Michael Koch <konqueror@gmx.de>
55
56 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
57 * gnu/java/awt/peer/gtk/GdkGraphics.java
58 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
59 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
60 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
61 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
62 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
63 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
64 * gnu/java/awt/peer/gtk/GtkClipboard.java
65 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
66 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
67 * gnu/java/awt/peer/gtk/GtkFramePeer.java
68 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
69 * gnu/java/awt/peer/gtk/GtkImage.java
70 * gnu/java/awt/peer/gtk/GtkImagePainter.java
71 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
72 * gnu/java/awt/peer/gtk/GtkListPeer.java
73 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
74 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
75 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
76 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
77 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
78 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
79 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
80 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
81 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
82 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
83 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
84 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
85
86 2003-07-13 Michael Koch <konqueror@gmx.de>
87
88 * gnu/java/locale/LocaleInformation_de.java
89 * gnu/java/locale/LocaleInformation_en.java
90 * gnu/java/locale/LocaleInformation_nl.java
91
92 2003-07-13 Michael Koch <konqueror@gmx.de>
93
94 * gnu/java/awt/EmbeddedWindow.java,
95 gnu/java/awt/EmbeddedWindowSupport.java,
96 gnu/java/awt/natEmbeddedWindow.cc:
97 New files.
98 * java/awt/Window.java
99 (Window): New constructor to support embedded windows.
100 * Makefile.am
101 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
102 gnu/java/awt/EmbeddedWindowSupport.java.
103 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
104 * Makefile.in: Regenerated.
105
106 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
107
108 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
109 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
110 * java/awt/im/InputContext.java: Remove a redundant
111 partial line.
112
113 2003-07-09 Tom Tromey <tromey@redhat.com>
114
115 * Makefile.in: Rebuilt.
116 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
117
118 2003-07-09 Mark Wielaard <mark@klomp.org>
119
120 * java/io/ObjectOutputStream.java (writeObject): break after
121 calling writeClassDescriptor().
122
123 2003-07-09 Mark Mitchell <mark@codesourcery.com>
124
125 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
126
127 2003-07-09 Michael Koch <konqueror@gmx.de>
128
129 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
130 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
131 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
132 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
133 Explicitly import used classes.
134 * java/awt/Container.java: New version from classpath.
135
136 2003-07-09 Michael Koch <konqueror@gmx.de>
137
138 * libgcj.pc.in: New file.
139 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
140 * Makefile.in: Regenerated.
141 * configure: Regenrated.
142 * configure.in: Create libgcj.pc from libgcj.pc.in.
143
144 2003-07-08 Mark Wielaard <mark@klomp.org>
145
146 * gcj/cni.h: CNI now expands to Compiled Native Interface.
147
148 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
149 * java/lang/fdlibm.h: Likewise.
150
151 2003-07-07 Adam Megacz <adam@xwt.org>
152
153 * posix.cc: added #include<stdio.h>
154
155 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
156
157 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
158 formatting.
159
160 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
161 (setCaretPosition, setEditable): Rely entirely on native
162 implementation.
163 (getArgs): Remove.
164 (postTextEvent): New method.
165 (handleEvent): New method.
166 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
167 method.
168 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
170 (keysym_to_awt_keycode): Fix range checks.
171 (generates_key_typed_event): New function.
172 (awt_event_handler): Post AWT_KEY_RELEASED events to event
173 queue.
174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
175 (gtkInit): Store TextComponent's postTextEvent method ID.
176 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
177 (setText): Post TEXT_VALUE_CHANGED event to event queue.
178
179 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
180
181 * configure.in: Check for usleep declaration.
182 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
183 * configure: Regenerate.
184 * include/config.h.in: Likewise.
185 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
186
187 2003-07-01 Michael Koch <konqueror@gmx.de>
188
189 * gnu/gcj/convert/natIconv.cc
190 (iconv_init): Fixed possible memory leak by releasing allocated iconv
191 handle.
192
193 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
194
195 * glib-2.0.m4: New file.
196 * gtk-2.0.m4: New file.
197 * glib.m4: Remove.
198 * gtk.m4: Remove.
199 * configure.in: Update AM_PATH_GTK macro call to
200 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
202 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
203 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
204 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
205 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
206 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
207 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
208 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
209 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
210 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
211 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
212 jni/gtk-peer/gthread-jni.c,
213 jni/gtk-peer/gthread-jni.h:
214 New versions from classpath.
215 * aclocal.m4: Regenerate.
216 * configure: Regenerate.
217 * Makefile.in: Regenerate.
218 * gcj/Makefile.in: Regenerate.
219 * include/Makefile.in: Regenerate.
220 * testsuite/Makefile.in: Regenerate.
221
222 2003-06-30 Gary Benson <gbenson@redhat.com>
223
224 For PR libgcj/11349:
225 * javax/naming/spi/NamingManager.java (getURLContext): Use
226 correct name for factory class.
227
228 2003-06-28 Michael Koch <konqueror@gmx.de>
229
230 * java/io/PrintStream.java
231 (checkError): Call flush() instead of direct flushing of the Writer
232 object.
233 (print): Call print(String) instead of direct print method of the
234 Writer Object.
235 (println): Call println(String) instead of direct println method of the
236 Writer Object.
237 (write): Simplified.
238
239 2003-06-28 Michael Koch <konqueror@gmx.de>
240
241 * java/net/ServerSocket.java
242 (setChannel): New method.
243 * java/net/Socket.java
244 (setChannel): New method.
245
246 2003-06-27 Michael Koch <konqueror@gmx.de>
247
248 * java/beans/beancontext/BeanContextSupport.java:
249 New version from classpath.
250
251 2003-06-27 Michael Koch <konqueror@gmx.de>
252
253 * java/awt/Window.java,
254 java/awt/font/GraphicAttribute.java,
255 java/awt/font/ImageGraphicAttribute.java,
256 java/awt/image/DataBufferByte.java,
257 java/awt/image/DataBufferInt.java,
258 java/awt/image/DataBufferUShort.java,
259 java/awt/image/DirectColorModel.java,
260 java/awt/image/PixelGrabber.java:
261 New versions from classpath.
262
263 2003-06-27 Michael Koch <konqueror@gmx.de>
264
265 * java/security/Certificate.java
266 (getGuarantor): Removed wrong @deprecated tag.
267 (getPrincipal): Likewise.
268 (getPublicKey): Likewise.
269 (encode): Likewise.
270 (decode): Likewise.
271 (getFormat): Likewise.
272 (toString): Likewise.
273 * java/security/cert/PolicyQualifierInfo.java
274 (PolicyQualifierInfo): Made final.
275 * javax/security/auth/x500/X500Principal.java
276 (serialVersionUID): New member variable.
277
278 2003-06-27 Michael Koch <konqueror@gmx.de>
279
280 * java/text/Format.java
281 (serialVersionUID): Fixed value.
282
283 2003-06-27 Michael Koch <konqueror@gmx.de>
284
285 * java/net/Inet4Address.java
286 (Inet4Address): Made package-private.
287 * java/net/Inet6Address.java
288 (Inet4Address): Made package-private.
289
290 2003-06-27 Michael Koch <konqueror@gmx.de>
291
292 * java/io/RandomAccessFile.java
293 (readLine): Removed wrong @deprecated tag.
294 (getChannel): Made final.
295
296 2003-06-27 Michael Koch <konqueror@gmx.de>
297
298 * gnu/java/nio/FileChannelImpl.java
299 (write): Removed.
300
301 2003-06-27 Michael Koch <konqueror@gmx.de>
302
303 * java/nio/ByteBufferImpl.java
304 (ByteBufferImpl): Made it a package-private class
305 * java/nio/CharBufferImpl.java
306 (CharBufferImpl): Made it a package-private class
307 * java/nio/DirectByteBufferImpl.java
308 (DirectByteBufferImpl): Made it a package-private class
309 * java/nio/DoubleBufferImpl.java
310 (DoubleBufferImpl): Made it a package-private class
311 * java/nio/FloatBufferImpl.java
312 (FloatBufferImpl): Made it a package-private class
313 * java/nio/IntBufferImpl.java
314 (IntBufferImpl): Made it a package-private class
315 * java/nio/LongBufferImpl.java
316 (LongBufferImpl): Made it a package-private class
317 * java/nio/ShortBufferImpl.java
318 (ShortBufferImpl): Made it a package-private class
319 * java/nio/channels/FileChannel.java
320 (write): Made final.
321 * java/nio/channels/ServerSocketChannel.java
322 (ServerSocketChanne): Made protected.
323
324 2003-06-27 Michael Koch <konqueror@gmx.de>
325
326 * javax/naming/CompositeName.java
327 (serialVersionUID): New member variable.
328 * javax/naming/CompoundName.java
329 (serialVersionUID): New member variable.
330 * javax/naming/InitialContext.java
331 (InitialContext): Throws NamingException.
332 (init): Likewise.
333 * javax/naming/LinkRef.java
334 (serialVersionUID): New member variable.
335 (gteLinkName): Throws NamingException.
336 * javax/naming/NamingException.java
337 (serialVersionUID): New member variable.
338 * javax/naming/NamingSecurityException.java
339 (NamingSecurityException): Made abstract.
340 (serialVersionUID): New member variable.
341 * javax/naming/ReferralException.java
342 (serialVersionUID): New member variable.
343 * javax/naming/StringRefAddr.java
344 (serialVersionUID): New member variable.
345 * javax/naming/directory/BasicAttribute.java:
346 Reworked imports.
347 (serialVersionUID): New member variable.
348 (get): Throws NamingException.
349 (getAll): Throws NamingException.
350 * javax/naming/directory/BasicAttributes.java:
351 Reworked imports.
352 (serialVersionUID): New member variable.
353 * javax/naming/ldap/UnsolicitedNotificationEvent.java
354 (serialVersionUID): New member variable.
355
356 2003-06-27 Michael Koch <konqueror@gmx.de>
357
358 * Makefile.am
359 (awt_java_source_files): Added new files:
360 javax/swing/Popup.java,
361 javax/swing/PopupFactory.java
362 * Makefile.in: Regenerated.
363
364 2003-06-27 Michael Koch <konqueror@gmx.de>
365
366 * javax/swing/JWindow.java,
367 javax/swing/event/AncestorEvent.java,
368 javax/swing/event/HyperlinkEvent.java,
369 javax/swing/event/InternalFrameEvent.java,
370 javax/swing/event/ListDataEvent.java,
371 javax/swing/event/TableModelEvent.java,
372 javax/swing/plaf/PopupMenuUI.java,
373 javax/swing/plaf/SplitPaneUI.java,
374 javax/swing/plaf/TabbedPaneUI.java,
375 javax/swing/plaf/TextUI.java,
376 javax/swing/plaf/TreeUI.java,
377 javax/swing/plaf/basic/BasicTextUI.java,
378 javax/swing/plaf/basic/BasicTreeUI.java:
379 New versions from classpath.
380 * javax/swing/Popup.java,
381 javax/swing/PopupFactory.jav:
382 New source files from classpath.
383 * javax/swing/plaf/doc-files/TreeUI-1.png:
384 New binary files from classpath.
385
386 2003-06-25 Michael Koch <konqueror@gmx.de>
387
388 * Makefile.am
389 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
390 * Makefile.in: Regenerated.
391
392 2003-06-25 Michael Koch <konqueror@gmx.de>
393
394 * javax/swing/plaf/ActionMapUIResource.java,
395 javax/swing/plaf/BorderUIResource.java,
396 javax/swing/plaf/ButtonUI.java,
397 javax/swing/plaf/ColorChooserUI.java,
398 javax/swing/plaf/ColorUIResource.java,
399 javax/swing/plaf/ComboBoxUI.java,
400 javax/swing/plaf/ComponentInputMapUIResource.java,
401 javax/swing/plaf/ComponentUI.java,
402 javax/swing/plaf/DesktopIconUI.java,
403 javax/swing/plaf/DesktopPaneUI.java,
404 javax/swing/plaf/DimensionUIResource.java,
405 javax/swing/plaf/FileChooserUI.java,
406 javax/swing/plaf/FontUIResource.java,
407 javax/swing/plaf/IconUIResource.java,
408 javax/swing/plaf/InputMapUIResource.java,
409 javax/swing/plaf/InsetsUIResource.java,
410 javax/swing/plaf/InternalFrameUI.java,
411 javax/swing/plaf/LabelUI.java,
412 javax/swing/plaf/ListUI.java,
413 javax/swing/plaf/MenuBarUI.java,
414 javax/swing/plaf/MenuItemUI.java,
415 javax/swing/plaf/OptionPaneUI.java,
416 javax/swing/plaf/PanelUI.java,
417 javax/swing/plaf/ProgressBarUI.java,
418 javax/swing/plaf/RootPaneUI.java,
419 javax/swing/plaf/ScrollBarUI.java,
420 javax/swing/plaf/ScrollPaneUI.java,
421 javax/swing/plaf/SeparatorUI.java,
422 javax/swing/plaf/SliderUI.java,
423 javax/swing/plaf/TableHeaderUI.java,
424 javax/swing/plaf/TableUI.java,
425 javax/swing/plaf/ToolBarUI.java,
426 javax/swing/plaf/ToolTipUI.java,
427 javax/swing/plaf/ViewportUI.java:
428 New versions from classpath.
429 * javax/swing/plaf/SpinnerUI.java:
430 New file from classpath
431
432 2003-06-25 Michael Koch <konqueror@gmx.de>
433
434 * java/awt/image/ColorModel.java:
435 New version from classpath.
436
437 2003-06-25 Michael Koch <konqueror@gmx.de>
438
439 * java/net/PlainDatagramSocketImpl.java:
440 Partly merged with classpath, this mainly adds documentation.
441
442 2003-06-25 Michael Koch <konqueror@gmx.de>
443
444 * java/io/ObjectInputStream.java
445 (readClassDescriptor): New method.
446 (readObject): Moved functionality to readClassDescriptor().
447 * java/io/ObjectOutputStream.java
448 (writeClassDescriptor): New method.
449 (writeObject): Moved functionality to writeClassDescriptor().
450
451 2003-06-25 Michael Koch <konqueror@gmx.de>
452
453 * javax/swing/plaf/basic/BasicListUI.java,
454 javax/swing/plaf/basic/BasicOptionPaneUI.java:
455 Added missing methods.
456
457 2003-06-25 Michael Koch <konqueror@gmx.de>
458
459 * javax/swing/event/AncestorEvent.java
460 javax/swing/event/HyperlinkEvent.java
461 javax/swing/event/InternalFrameEvent.java
462 javax/swing/event/ListDataEvent.java
463 javax/swing/event/TableModelEvent.java:
464 Compile fixes.
465
466 2003-06-24 Michael Koch <konqueror@gmx.de>
467
468 * java/net/URL.java:
469 Renamed "handler" to "ph" in the whole file to match classpaths
470 version.
471 * java/net/URLStreamHandler.java:
472 (equals): Renamed "handler" to "ph".
473
474 2003-06-24 Michael Koch <konqueror@gmx.de>
475
476 * javax/swing/event/AncestorEvent.java,
477 javax/swing/event/HyperlinkEvent.java,
478 javax/swing/event/InternalFrameEvent.java,
479 javax/swing/event/ListDataEvent.java,
480 javax/swing/event/TableModelEvent.java,
481 javax/swing/event/TreeWillExpandListener.java,
482 javax/swing/plaf/ComponentUI.java,
483 javax/swing/plaf/DesktopIconUI.java,
484 javax/swing/plaf/DesktopPaneUI.java,
485 javax/swing/plaf/DimensionUIResource.java,
486 javax/swing/plaf/FileChooserUI.java,
487 javax/swing/plaf/FontUIResource.java,
488 javax/swing/plaf/IconUIResource.java,
489 javax/swing/plaf/InputMapUIResource.java,
490 javax/swing/plaf/InsetsUIResource.java,
491 javax/swing/plaf/InternalFrameUI.java,
492 javax/swing/plaf/LabelUI.java,
493 javax/swing/plaf/ListUI.java,
494 javax/swing/plaf/MenuBarUI.java,
495 javax/swing/plaf/MenuItemUI.java,
496 javax/swing/plaf/OptionPaneUI.java,
497 javax/swing/plaf/PanelUI.java,
498 javax/swing/plaf/ProgressBarUI.java,
499 javax/swing/plaf/doc-files/ComponentUI-1.dia,
500 javax/swing/plaf/doc-files/ComponentUI-1.png:
501 New versions from classpath.
502
503 2003-06-24 Michael Koch <konqueror@gmx.de>
504
505 * java/nio/Buffer.java
506 (cap): Made package-private.
507 (pos): Likewise.
508 (limit): Likewise.
509 (mark): Likewise.
510
511 2003-06-24 Michael Koch <konqueror@gmx.de>
512
513 * java/net/SocketImpl.java
514 (shutdownInput): Made it non-abstract method throwing an exception
515 like in SUNs JRE.
516 (shutdownOutput): Likewise.
517 * java/net/SocketInputStream.java,
518 java/net/SocketOutputStream.java:
519 New files from classpath.
520
521 2003-06-24 Michael Koch <konqueror@gmx.de>
522
523 * java/awt/Font.java,
524 java/awt/Window.java,
525 java/awt/color/ColorSpace.java,
526 java/awt/datatransfer/StringSelection.java,
527 java/awt/image/ColorModel.java:
528 New versions from classpath.
529
530 2003-06-24 Michael Koch <konqueror@gmx.de>
531
532 * Makefile.am
533 (awt_java_source_files): Added new files:
534 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
535 javax/swing/plaf/basic/BasicSplitPaneUI.java
536 * Makefile.in: Regenerated.
537
538 2003-06-24 Michael Koch <konqueror@gmx.de>
539
540 * javax/swing/text/JTextComponent.java:
541 New version from classpath.
542
543 2003-06-24 Michael Koch <konqueror@gmx.de>
544
545 * javax/swing/Timer.java,
546 javax/swing/plaf/ActionMapUIResource.java,
547 javax/swing/plaf/ButtonUI.java,
548 javax/swing/plaf/ColorChooserUI.java,
549 javax/swing/plaf/ColorUIResource.java,
550 javax/swing/plaf/ComboBoxUI.java,
551 javax/swing/plaf/ComponentInputMapUIResource.java,
552 javax/swing/plaf/basic/BasicBorders.java:
553 New versions from classpath.
554 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
555 javax/swing/plaf/basic/BasicSplitPaneUI.java:
556 New file from classpath.
557 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
558 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
559 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
560 javax/swing/plaf/doc-files/ComponentUI-1.dia,
561 javax/swing/plaf/doc-files/ComponentUI-1.png:
562 New binary files from classpath.
563
564 2003-06-24 Michael Koch <konqueror@gmx.de>
565
566 * java/io/LineNumberReader.java
567 (skip): Dont do line number accounting here as this is already done in
568 read(), simplified.
569
570 2003-06-21 Michael Koch <konqueror@gmx.de>
571
572 * java/io/File.java
573 (static): Load javaio lib if existing (only in classpath).
574 (File): Revised documentation to show the correct argument name.
575 (createTempFile): Partly merged with classpath.
576 (compareTo): Simplified.
577 (lastModified): Throw exception if time < 0.
578 (deleteOnExit): Revised documentation.
579
580 2003-06-21 Michael Koch <konqueror@gmx.de>
581
582 * java/net/PlainSocketImpl.java:
583 Reformatted.
584 (PlainSocketImpl): Merged class documentaion with classpath.
585 (in): Moved.
586 (out): Moved.
587 (PlainSocketImpl): New empty constructor.
588 (finalize): Moved.
589 (setOption): Merged documentation from classpath.
590 (getOption): Likewise.
591 (create): Likewise.
592 (connect): Likewise.
593 (bind): Likewise.
594 (listen): Likewise.
595 (accept): Likewise.
596 (available): Likewise.
597 (close): Likewise.
598 (read): Likewise.
599 (write): Likewise.
600 (getInputStream): Made synchronozed to get sure that only one stream
601 object can be created for this socket, merged documentation from
602 classpath.
603 (getOutputStream): Likewise.
604
605 2003-06-21 Michael Koch <konqueror@gmx.de>
606
607 * java/net/PlainSocketImpl.java:
608 Reformatting.
609 (static): New implicit method.
610 (read): Made package private.
611 (write): Likewise.
612
613 2003-06-21 Michael Koch <konqueror@gmx.de>
614
615 * java/util/SimpleTimeZone.java:
616 Removed unneeded import, reformatting.
617
618 2003-06-21 Michael Koch <konqueror@gmx.de>
619
620 * java/text/DateFormat.java,
621 java/text/SimpleDateFormat.java,
622 java/util/Locale.java:
623 New versions from classpath.
624
625 2003-06-21 Michael Koch <konqueror@gmx.de>
626
627 * javax/swing/SpinnerModel.java:
628 New file from classpath.
629 * javax/swing/border/LineBorder.java,
630 javax/swing/border/SoftBevelBorder.java,
631 javax/swing/plaf/BorderUIResource.java,
632 javax/swing/plaf/basic/BasicBorders.java:
633 New versions from classpath.
634 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
635 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
636 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
637 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
638 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
639 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
640 New binary files from classpath.
641
642 2003-06-21 Michael Koch <konqueror@gmx.de>
643
644 * java/util/logging/LogRecord.java,
645 java/util/logging/Logger.java,
646 java/util/logging/SocketHandler.java,
647 java/util/logging/SimpleFormatter.java,
648 java/util/logging/Formatter.java,
649 java/util/logging/ErrorManager.java,
650 java/util/logging/Handler.java,
651 java/util/logging/FileHandler.java,
652 java/util/logging/LogManager.java,
653 java/util/logging/Level.java,
654 java/util/logging/ConsoleHandler.java,
655 java/util/logging/StreamHandler.java,
656 java/util/logging/LoggingPermission.java,
657 java/util/logging/Filter.java,
658 java/util/logging/MemoryHandler.java,
659 java/util/logging/XMLFormatter.java:
660 New files from classpath.
661
662 2003-06-20 Michael Koch <konqueror@gmx.de>
663
664 * java/io/ObjectStreamField.java
665 (unshared): new member variable.
666 (ObjectStreamField): New constructor.
667 (isUnshared): New method.
668
669 2003-06-20 Michael Koch <konqueror@gmx.de>
670
671 * java/net/URLStreamHandler.java
672 (hostsEqual): Rewritten.
673
674 2003-06-20 Michael Koch <konqueror@gmx.de>
675
676 * gnu/java/nio/MappedByteFileBuffer.java,
677 gnu/java/nio/natMappedByteFileBuffer.cc:
678 Removed
679 * java/nio/MappedByteBufferImpl.java:
680 New file.
681 * gnu/java/nio/FileChannelImpl.java:
682 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
683 * Makefile.am
684 (ordinary_java_source_files): Removed
685 gnu/java/nio/MappedByteFileBuffer.java and added
686 java/nio/MappedByteBufferImpl.java.
687 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
688 * Makefile.in: Regenerated.
689
690 2003-06-19 Michael Koch <konqueror@gmx.de>
691
692 * gnu/java/nio/DatagramChannelImpl.java
693 (fd): Removed.
694 (blocking): New member variable.
695 (socket): Likewise.
696 (DatagramChannelImpl): Throws IOException, initialize socket.
697 (socket):Implemented.
698 (implCloseSelectableChannel): Throws IOException, implemented.
699 (implConfigureBlocking): Likewise.
700 (connect): Likewise.
701 (disconnect): Likewise.
702 (isConnected): Likewise.
703 (write): Likewise.
704 (read): Likewise.
705 (receive): Throws IOException.
706 (send): Likewise.
707 * gnu/java/nio/SocketChannelImpl.java
708 (read): Implemented.
709 (write): Implemented.
710
711 2003-06-19 Michael Koch <konqueror@gmx.de>
712
713 * javax/swing/JComponent.java,
714 javax/swing/JInternalFrame.java,
715 javax/swing/MenuSelectionManager.java,
716 javax/swing/SwingUtilities.java,
717 javax/swing/ToggleButtonModel.java:
718 New versions from classpath.
719
720 2003-06-19 Michael Koch <konqueror@gmx.de>
721
722 * java/text/CollationElementIterator.java
723 (NULLORDER): Initialize with -1 as JDK documentation says.
724
725 2003-06-19 Michael Koch <konqueror@gmx.de>
726
727 * java/net/HttpURLConnection.java,
728 java/net/Inet4Address.java,
729 java/net/Inet6Address.java,
730 java/net/SocketImpl.java,
731 java/net/URLClassLoader.java:
732 Reworked import statements.
733 * java/net/InetAddress.java
734 (getByAddress): Simplified.
735 * java/net/ServerSocket.java
736 (ServerSocket): Moved special handling during bind operation to
737 bind().
738 (bind): Handle different cases when trying to bind a socket.
739 * java/net/URLConnection.java
740 (getHeaderFieldDate): Merged with classpath.
741 (getHeaderFieldInt): Likewise.
742
743 2003-06-19 Michael Koch <konqueror@gmx.de>
744
745 * java/util/zip/InflaterInputStream.java
746 (InflaterInputStream): Throw NullPointerException if in is null (as
747 JDK does).
748
749 2003-06-19 Michael Koch <konqueror@gmx.de>
750
751 * java/awt/Font.java
752 javax/swing/UIManager.java
753 javax/swing/border/AbstractBorder.java
754 javax/swing/border/BevelBorder.java
755 javax/swing/border/Border.java
756 javax/swing/border/CompoundBorder.java
757 javax/swing/border/EmptyBorder.java
758 javax/swing/border/EtchedBorder.java
759 javax/swing/border/LineBorder.java
760 javax/swing/border/MatteBorder.java
761 javax/swing/border/TitledBorder.java
762 javax/swing/plaf/BorderUIResource.java
763 javax/swing/plaf/basic/BasicBorders.java
764 javax/swing/plaf/basic/BasicButtonUI.java
765 javax/swing/plaf/basic/BasicCheckBoxUI.java
766 javax/swing/plaf/basic/BasicGraphicsUtils.java
767 javax/swing/plaf/basic/BasicLabelUI.java
768 javax/swing/plaf/basic/BasicRadioButtonUI.java
769 javax/swing/plaf/basic/BasicToggleButtonUI.java:
770 New versions from classpath.
771 * javax/swing/border/SoftBevelBorder.java:
772 New file from classpath.
773 * javax/swing/border/doc-files/LineBorder-1.png,
774 javax/swing/border/doc-files/BevelBorder-1.png,
775 javax/swing/border/doc-files/BevelBorder-2.png,
776 javax/swing/border/doc-files/BevelBorder-3.png,
777 javax/swing/border/doc-files/EmptyBorder-1.png,
778 javax/swing/border/doc-files/EtchedBorder-1.png,
779 javax/swing/border/doc-files/EtchedBorder-2.png,
780 javax/swing/border/doc-files/MatteBorder-1.png,
781 javax/swing/border/doc-files/MatteBorder-2.png,
782 javax/swing/border/doc-files/MatteBorder-3.png,
783 javax/swing/border/doc-files/MatteBorder-4.png,
784 javax/swing/border/doc-files/MatteBorder-5.png,
785 javax/swing/border/doc-files/MatteBorder-6.png,
786 javax/swing/border/doc-files/SoftBevelBorder-1.png,
787 javax/swing/border/doc-files/SoftBevelBorder-2.png,
788 javax/swing/border/doc-files/SoftBevelBorder-3.png,
789 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
790 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
791 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
792 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
793 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
794 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
795 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
796 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
797 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
798 New binary files from classpath.
799 * Makefile.am
800 (awt_java_source_files): Added
801 javax/swing/border/SoftBevelBorder.java.
802 * Makefile.in: Regenerated.
803
804 2003-06-19 Michael Koch <konqueror@gmx.de>
805
806 * gnu/java/security/x509/X509Certificate.java
807 (writeReplace): Merged from classpath.
808
809 2003-06-19 Michael Koch <konqueror@gmx.de>
810
811 * gnu/java/nio/FileChannelImpl.java
812 (map_address): Made public.
813 (FileChannelImpl): Merged with classpath.
814 * gnu/java/nio/natFileChannelImpl.cc
815 (nio_mmap_file): Commented out unused arguments.
816 (nio_unmmap_file): Likewise.
817 (niu_msync): Likewise.
818
819 2003-06-19 Michael Koch <konqueror@gmx.de>
820
821 * java/awt/image/IndexColorModel.java:
822 New version from classpath.
823
824 2003-06-18 Tom Tromey <tromey@redhat.com>
825
826 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
827 on arrays.
828 (isLoopbackAddress): Likewise.
829 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
830 on arrays.
831
832 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
833
834 * java/lang/natVMSecurityManager.cc (getClassContext):
835 Use maxlen instead of len for loop bound.
836
837 2003-06-18 Michael Koch <konqueror@gmx.de>
838
839 * gnu/java/nio/SelectorImpl.java
840 (register): Use fd with value 0 for now, will be fixed later.
841 * gnu/java/nio/ServerSocketChannelImpl.java
842 (fd): Removed.
843 (local_port): Removed.
844 (InetSocketAddress): Removed.
845 (ServerSocketChannelImpl): Just initialize internal socket object.
846 (implCloseSelectableChannel): Close internal socket object.
847 (implConfigureBlocking): Added comment.
848 (accept): Use jaba.net stuff to accept socket.
849 * gnu/java/nio/SocketChannelImpl.java
850 (fd): Removed.
851 (local_port): Removed.
852 (InetSocketAddress): Removed.
853 (SocketCreate): Removed.
854 (SocketConnect): Removed.
855 (SocketBind): Removed.
856 (SocketListen): Removed.
857 (SocketAvailable): Removed.
858 (SocketClose): Removed.
859 (SocketRead): Removed.
860 (SocketWrite): Removed.
861 (SocketChannelImpl): Just initialize internal socket object.
862 (implCloseSelectableChannel): Close internal socket object.
863 (implConfigureBlocking): Fixed implementation, added comment.
864 (connect): Use internal socket object to connect.
865 (socket): No need for sanity checks.
866 (read): Comment out some stuff, this will be reimplemented in the next
867 commit.
868 (write): Likewise.
869 * gnu/java/nio/natFileChannelImpl.cc
870 (nio_mmap_file): Line wrapped.
871 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
872 * Makefile.am
873 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
874 * Makefile.in: Regenerated.
875
876 2003-06-18 Michael Koch <konqueror@gmx.de>
877
878 * java/util/Locale.java
879 (equals): Merged from classpath.
880
881 2003-06-18 Michael Koch <konqueror@gmx.de>
882
883 * java/net/InetAddress.java:
884 Reformatted to better match classpath's version.
885 * java/net/URL.java
886 (equals): Simplified.
887 * java/net/URLConnection.java
888 (setDoInput): Revised documentation.
889 (getDefaultUseCaches): Likewise.
890 (setRequestProperty): Added @since tag.
891
892 2003-06-17 Michael Koch <konqueror@gmx.de>
893
894 * java/net/InetSocketAddress.java
895 (InetSocketAddress): Use wildcard address if addr is null.
896 (InetSocketAddress): Dont duplicate implementation.
897 (InetSocketAddress): Throw exception when hostname is null.
898 * java/net/Socket.java:
899 Reworked imports.
900 (Socket): Throw exception when raddr is null, handle case when laddr
901 is null.
902
903 2003-06-17 Michael Koch <konqueror@gmx.de>
904
905 * java/nio/DirectByteBufferImpl.java
906 (address): Made package private.
907 (DirectByteBufferImpl): New constructor.
908 * java/nio/natDirectByteBufferImpl.cc
909 (allocateImpl): Moved to java.nio namespace, implemented.
910 (freeImpl): Likewise.
911 (getImpl): Likewise.
912 (putImpl): Likewise.
913 * jni.cc
914 (_Jv_JNI_NewDirectByteBuffer): Implemented.
915 (_Jv_JNI_GetDirectBufferAddress): Implemented.
916 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
917
918 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
919
920 * include/powerpc-signal.h: New File.
921 * configure.in: Use it.
922 * configure: Regenerated.
923
924 2003-06-17 Michael Koch <konqueror@gmx.de>
925
926 * java/util/Locale.java
927 (getDisplayLanguage): Made it final.
928 (getDisplayCountry): Likewise.
929 (getDisplayVariant): Likewise.
930 (getDisplayName): Likewise.
931
932 2003-06-17 Michael Koch <konqueror@gmx.de>
933
934 * java/util/PropertyResourceBundle.java:
935 Removed unneeded import.
936
937 2003-06-17 Michael Koch <konqueror@gmx.de>
938
939 * java/util/prefs/AbstractPreferences.java,
940 java/util/prefs/PreferencesFactory.java:
941 Reworked imports, removed unused imports.
942 * java/util/prefs/Preferences.java
943 (systemNodeForPackage): Method takes a Class not an Object.
944 (userNodeForPackage): Likewise.
945 (nodeForPackage): Likewise.
946
947 2003-06-17 Michael Koch <konqueror@gmx.de>
948
949 * gnu/java/security/x509/X509Certificate.java:
950 Explicitely import used classes.
951
952 2003-06-17 Michael Koch <konqueror@gmx.de>
953
954 * java/util/zip/ZipEntry.java,
955 java/util/zip/ZipFile.java,
956 java/util/zip/ZipInputStream.java,
957 java/util/zip/ZipOutputStream.java:
958 Reworked imports, only import used classes.
959
960 2003-06-17 Michael Koch <konqueror@gmx.de>
961
962 * gnu/java/lang/ArrayHelper.java,
963 gnu/java/lang/ClassHelper.java:
964 Reformatted to match classpath's versions.
965
966 2003-06-14 Michael Koch <konqueror@gmx.de>
967
968 * gnu/java/nio/FileChannelImpl.java
969 (map_address): Removed incorrect comment.
970 * gnu/java/nio/SelectorImpl.java
971 (register): Remove code duplication and code for file channel handling.
972 * gnu/java/nio/ServerSocketChannelImpl.java
973 (serverSocket): Renamed from sock_object.
974 (ServerSocketChannel): Initialize serverSocket.
975 (socket): Return serverSocket.
976 * gnu/java/nio/SocketChannelImpl.java
977 (socket): Renamed from sock_object.
978 (isConnectionPenging): Simplified.
979 (socket): Return socket.
980 2003-06-14 Michael Koch <konqueror@gmx.de>
981
982 * java/security/BasicPermission.java:
983 New version from classpath.
984
985 2003-06-14 Michael Koch <konqueror@gmx.de>
986
987 * javax/naming/directory/Attribute.java:
988 New version from classpath.
989
990 2003-06-14 Michael Koch <konqueror@gmx.de>
991
992 * java/io/BufferedReader.java,
993 java/io/FileOutputStream.java:
994 New versions from classpath.
995
996 2003-06-12 Andrew Haley <aph@redhat.com>
997
998 * prims.cc (catch_segv): Create exception in handler.
999 (catch_fpe): Likewise.
1000 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1001 (_Jv_ThrowSignal): Remove.
1002
1003 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1004 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1005 to nullp and arithexception.
1006 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1007 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1008 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1009 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1010 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1011
1012 2003-06-11 Andrew Haley <aph@redhat.com>
1013
1014 * jni.cc (_Jv_JNI_check_types): New.
1015 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1016 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1017 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1018 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1019
1020 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1021 infinite loop.
1022
1023 2003-06-11 Tom Tromey <tromey@redhat.com>
1024
1025 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1026 * java/io/PrintStream.java: Not deprecated.
1027
1028 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1029
1030 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1031 (fillOval): implemented
1032 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1033 (fillArc): implemented.
1034 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1035 (fillArc): added native method.
1036 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1037 (fillArc): added native method.
1038
1039 2003-06-11 Michael Koch <konqueror@gmx.de>
1040
1041 * java/awt/im/InputSubset.java:
1042 New version from classpath.
1043
1044 2003-06-11 Michael Koch <konqueror@gmx.de>
1045
1046 * javax/swing/AbstractAction.java,
1047 javax/swing/AbstractButton.java,
1048 javax/swing/AbstractCellEditor.java,
1049 javax/swing/AbstractListModel.java,
1050 javax/swing/BorderFactory.java,
1051 javax/swing/Box.java,
1052 javax/swing/BoxLayout.java,
1053 javax/swing/ButtonGroup.java,
1054 javax/swing/DefaultButtonModel.java,
1055 javax/swing/DefaultListModel.java,
1056 javax/swing/DefaultListSelectionModel.java,
1057 javax/swing/FocusManager.java,
1058 javax/swing/ImageIcon.java,
1059 javax/swing/InputMap.java,
1060 javax/swing/JApplet.java,
1061 javax/swing/JButton.java,
1062 javax/swing/JCheckBox.java,
1063 javax/swing/JCheckBoxMenuItem.java,
1064 javax/swing/JColorChooser.java,
1065 javax/swing/JComboBox.java,
1066 javax/swing/JComponent.java,
1067 javax/swing/JDesktopPane.java,
1068 javax/swing/JDialog.java,
1069 javax/swing/JEditorPane.java,
1070 javax/swing/JFileChooser.java,
1071 javax/swing/JFormattedTextField.java,
1072 javax/swing/JFrame.java,
1073 javax/swing/JLabel.java,
1074 javax/swing/JLayeredPane.java,
1075 javax/swing/JList.java,
1076 javax/swing/JMenuBar.java,
1077 javax/swing/JMenuItem.java,
1078 javax/swing/JOptionPane.java,
1079 javax/swing/JPanel.java,
1080 javax/swing/JPasswordField.java,
1081 javax/swing/JPopupMenu.java,
1082 javax/swing/JProgressBar.java,
1083 javax/swing/JRadioButton.java,
1084 javax/swing/JRadioButtonMenuItem.java,
1085 javax/swing/JRootPane.java,
1086 javax/swing/JScrollBar.java,
1087 javax/swing/JScrollPane.java,
1088 javax/swing/JSeparator.java,
1089 javax/swing/JSlider.java,
1090 javax/swing/JTabbedPane.java,
1091 javax/swing/JTable.java,
1092 javax/swing/JTextField.java,
1093 javax/swing/JToggleButton.java,
1094 javax/swing/JToolBar.java,
1095 javax/swing/JToolTip.java,
1096 javax/swing/JTree.java,
1097 javax/swing/JViewport.java,
1098 javax/swing/JWindow.java,
1099 javax/swing/KeyStroke.java,
1100 javax/swing/ListSelectionModel.java,
1101 javax/swing/LookAndFeel.java,
1102 javax/swing/RepaintManager.java,
1103 javax/swing/ScrollPaneLayout.java,
1104 javax/swing/SizeRequirements.java,
1105 javax/swing/SwingConstants.java,
1106 javax/swing/Timer.java,
1107 javax/swing/UIDefaults.java,
1108 javax/swing/UIManager.java,
1109 javax/swing/border/AbstractBorder.java,
1110 javax/swing/border/CompoundBorder.java,
1111 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1112 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1113 javax/swing/colorchooser/ColorSelectionModel.java,
1114 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1115 javax/swing/event/AncestorEvent.java,
1116 javax/swing/event/HyperlinkEvent.java,
1117 javax/swing/event/InternalFrameAdapter.java,
1118 javax/swing/event/InternalFrameEvent.java,
1119 javax/swing/event/ListDataEvent.java,
1120 javax/swing/event/MouseInputAdapter.java,
1121 javax/swing/event/SwingPropertyChangeSupport.java,
1122 javax/swing/event/TableModelEvent.java,
1123 javax/swing/event/TreeWillExpandListener.java,
1124 javax/swing/event/UndoableEditEvent.java,
1125 javax/swing/filechooser/FileFilter.java,
1126 javax/swing/filechooser/FileSystemView.java,
1127 javax/swing/filechooser/FileView.java,
1128 javax/swing/plaf/BorderUIResource.java,
1129 javax/swing/plaf/basic/BasicDefaults.java,
1130 javax/swing/table/AbstractTableModel.java,
1131 javax/swing/table/DefaultTableCellRenderer.java,
1132 javax/swing/table/DefaultTableColumnModel.java,
1133 javax/swing/table/DefaultTableModel.java,
1134 javax/swing/table/TableColumn.java,
1135 javax/swing/text/JTextComponent.java,
1136 javax/swing/tree/AbstractLayoutCache.java,
1137 javax/swing/tree/DefaultMutableTreeNode.java,
1138 javax/swing/tree/DefaultTreeCellEditor.java,
1139 javax/swing/tree/DefaultTreeCellRenderer.java,
1140 javax/swing/tree/DefaultTreeModel.java,
1141 javax/swing/tree/DefaultTreeSelectionModel.java,
1142 javax/swing/tree/FixedHeightLayoutCache.java,
1143 javax/swing/tree/TreeCellEditor.java,
1144 javax/swing/tree/TreeModel.java,
1145 javax/swing/tree/TreeNode.java,
1146 javax/swing/tree/TreePath.java,
1147 javax/swing/tree/TreeSelectionModel.java,
1148 javax/swing/tree/VariableHeightLayoutCache.java,
1149 javax/swing/undo/AbstractUndoableEdit.java,
1150 javax/swing/undo/CompoundEdit.java,
1151 javax/swing/undo/StateEdit.java,
1152 javax/swing/undo/UndoManager.java,
1153 javax/swing/undo/UndoableEditSupport.java:
1154 New versions from classpath.
1155 * javax/swing/table/JTableHeader.java:
1156 New file from classpath.
1157 * Makefile.am
1158 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1159 * Makefile.in: Regenerated.
1160
1161 2003-06-11 Michael Koch <konqueror@gmx.de>
1162
1163 * java/nio/MappedByteBuffer.java,
1164 java/nio/channels/Channels.java,
1165 java/nio/channels/ServerSocketChannel.java,
1166 java/nio/channels/spi/AbstractSelector.java:
1167 Removed unneeded imports.
1168
1169 2003-06-11 Michael Koch <konqueror@gmx.de>
1170
1171 * java/net/DatagramSocket.java:
1172 Partly merged with classpath.
1173
1174 2003-06-11 Michael Koch <konqueror@gmx.de>
1175
1176 * java/awt/Frame.java,
1177 java/awt/Graphics.java,
1178 java/awt/Menu.java,
1179 java/awt/Robot.java,
1180 java/awt/image/ColorModel.java:
1181 New versions from classpath.
1182
1183 2003-06-10 Michael Koch <konqueror@gmx.de>
1184
1185 * java/io/PrintStream.java:
1186 Merged version from classpath.
1187 (close): Removed sychronized keyword. This class is not garantied to
1188 be thread-safe.
1189 (write): Likewise.
1190
1191 2003-06-09 Tom Tromey <tromey@redhat.com>
1192
1193 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1194 field.
1195 (getDescent): Likewise, for "descent".
1196
1197 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1198
1199 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1200 (getMaxDescent): adjusted return value.
1201 (getAscent): modified to use metrics for 'O'.
1202 (getDescent): modified to use metrics for 'y'.
1203
1204 2003-06-08 Anthony Green <green@redhat.com>
1205
1206 * java/net/URLStreamHandler.java (sameFile): Fix port value
1207 comparison.
1208 * java/net/URL.java (handler): Make package private.
1209 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1210
1211 2003-06-07 Tom Tromey <tromey@redhat.com>
1212
1213 For PR libgcj/11085:
1214 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1215 Limit number of characters in numeric field when required.
1216 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1217 Respect maximumIntegerDigits.
1218
1219 2003-06-08 Michael Koch <konqueror@gmx.de>
1220
1221 * java/net/Socket.java
1222 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1223 call bind() and connect() to actually do the bind and connect tasks.
1224 (bind): Connect to canonical address if bindpoint is null, create
1225 socket and bind it to bindpoint.
1226 (connect): Check for exceptions.
1227
1228 2003-06-08 Michael Koch <konqueror@gmx.de>
1229
1230 * java/net/DatagramSocket.java
1231 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1232 into the Multicast constructors.
1233 * java/net/DatagramSocketImpl.java
1234 (getOption): Removed.
1235 (setOption): Removed.
1236 * java/net/MulticastSocket.java
1237 (MulticastSocket): Call setReuseAddress (true).
1238 * java/net/SocketImpl.java
1239 (getOption): Removed.
1240 (setOption): Removed.
1241
1242 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1243
1244 PR libgcj/10886:
1245 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1246 Test for empty vector.
1247
1248 2003-06-06 Mark Wielaard <mark@klomp.org>
1249
1250 * java/security/Security.java (secprops): Initialize.
1251 (loadProviders): Return boolean.
1252 (static): Check result of loadProvider calls. If necessary
1253 display WARNING and fallback to Gnu provider.
1254
1255 2002-06-06 James Clark <jjc@jclark.com>
1256
1257 Fix for PR libgcj/8738:
1258 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1259 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1260 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1261 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1262 (write): Always decrease avail when count is increased.
1263 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1264 and whether output buffer is full before increasing size.
1265
1266 2002-06-06 Mark Wielaard <mark@klomp dot org>
1267
1268 * java/io/PrintStream.java (writeChars(char[],int, int)):
1269 Check converter.havePendingBytes().
1270 (writeChars(String,int,int)): Likewise.
1271 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1272 Check converter.havePendingBytes() and flush buffer when stalled.
1273
1274 2003-06-07 Michael Koch <konqueror@gmx.de>
1275
1276 * include/posix.h
1277 (O_DSYNC): Define O_DSYNC on platforms not
1278 supporting O_FSYNC (newlib).
1279
1280 2003-06-06 Mark Wielaard <mark@klomp.org>
1281
1282 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1283 AWTError.
1284
1285 2003-06-06 Michael Koch <konqueror@gmx.de>
1286
1287 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1288 More compile fixes from my stupid work yesterday.
1289
1290 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1291
1292 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1293 if _IEEE_LIBM is undefined.
1294
1295 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1296
1297 * libjava/include/posix.h (O_SYNC): Define if not available
1298 and a reasonable, perhaps more conservative, replacement exists.
1299 (O_DSYNC): Likewise.
1300 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1301
1302 2003-06-05 Michael Koch <konqueror@gmx.de>
1303
1304 * javax/swing/plaf/BorderUIResource.java,
1305 javax/swing/plaf/basic/BasicDefaults.java,
1306 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1307 More compile fixes for latest Border commit. I should not commit
1308 something in this heat here ...
1309
1310 2003-06-05 Michael Koch <konqueror@gmx.de>
1311
1312 * javax/swing/border/BevelBorder.java
1313 (BevelBorder): Removed.
1314 * javax/swing/border/EmptyBorder.java:
1315 Reformatted.
1316 (EmptyBorder): Removed.
1317 (getBorderInsets): Dont use l, r, t and b.
1318 * javax/swing/border/EtchedBorder.java
1319 (EtchedBorder): Removed.
1320 * javax/swing/border/LineBorder.java
1321 (LineBorder): Removed.
1322 * javax/swing/border/MatteBorder.java
1323 (MatteBorder): Removed.
1324 * javax/swing/border/TitledBorder.java
1325 (defaultBorder): Use other default for now.
1326 (defaultFont): Likewise.
1327 (defaultColor): Likewise.
1328
1329 2003-06-05 Michael Koch <konqueror@gmx.de>
1330
1331 * javax/swing/border/Border.java:
1332 New version from classpath.
1333
1334 2003-06-05 Michael Koch <konqueror@gmx.de>
1335
1336 * javax/swing/border/AbstractBorder.java,
1337 javax/swing/border/BevelBorder.java,
1338 javax/swing/border/CompoundBorder.java,
1339 javax/swing/border/EmptyBorder.java,
1340 javax/swing/border/EtchedBorder.java,
1341 javax/swing/border/LineBorder.java,
1342 javax/swing/border/MatteBorder.java,
1343 javax/swing/border/TitledBorder.java:
1344 New versions from Classpath.
1345
1346 2003-06-05 Michael Koch <konqueror@gmx.de>
1347
1348 * java/awt/Button.java,
1349 java/awt/Checkbox.java,
1350 java/awt/CheckboxMenuItem.java,
1351 java/awt/Choice.java,
1352 java/awt/Container.java,
1353 java/awt/Dialog.java,
1354 java/awt/EventQueue.java,
1355 java/awt/FileDialog.java,
1356 java/awt/Frame.java,
1357 java/awt/Label.java,
1358 java/awt/List.java,
1359 java/awt/Menu.java,
1360 java/awt/MenuItem.java,
1361 java/awt/Panel.java,
1362 java/awt/PopupMenu.java,
1363 java/awt/Rectangle.java,
1364 java/awt/ScrollPane.java,
1365 java/awt/Scrollbar.java,
1366 java/awt/TextArea.java,
1367 java/awt/TextField.java,
1368 java/awt/Window.java,
1369 java/awt/datatransfer/DataFlavor.java,
1370 java/awt/dnd/DragSource.java,
1371 java/awt/dnd/DragSourceContext.java,
1372 java/awt/event/HierarchyEvent.java,
1373 java/awt/event/MouseWheelEvent.java,
1374 java/awt/im/InputContext.java,
1375 java/awt/image/BufferedImage.java,
1376 java/awt/image/ComponentColorModel.java,
1377 java/awt/image/Raster.java,
1378 java/awt/image/WritableRaster.java,
1379 java/awt/peer/ComponentPeer.java,
1380 java/awt/print/PageFormat.java,
1381 java/awt/print/PrinterJob.java:
1382 New versions from Classpath.
1383
1384 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1385
1386 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1387 numberFormat.setParseIntegerOnly(true).
1388
1389 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1390
1391 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1392
1393 2003-06-03 Andrew Haley <aph@redhat.com>
1394
1395 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1396 stack volatile to prevent optimization from removing it.
1397
1398 2003-05-27 Michael Koch <konqueror@gmx.de>
1399
1400 * java/util/zip/Deflater.java
1401 (FILTERED): Merged documentation from classpath.
1402 * java/util/zip/DeflaterOutputStream.java
1403 (DeflaterOutputStream): Merged documentation and argument validity
1404 check from classpath.
1405 (deflate): Merged documentation from classpath.
1406 (finish): Likewise.
1407 * java/util/zip/Inflater.java
1408 (Inflater): Merged class documentation from classpath.
1409 (zstream): Reordered.
1410 (is_finished): Reordered.
1411 (dict_needed): Reordered.
1412 (Inflater): Reordered, merged documentation from classpath.
1413 (end): Likewise.
1414 (finalize): Merged documentation from classpath.
1415 (finished): Likewise.
1416 (getAdler): Likewise.
1417 (getRemaining): Likewise.
1418 (getTotalIn): Likewise.
1419 (getTotalOut): Likewise.
1420 (inflate): Likewise.
1421 (needsDictionary): Likewise.
1422 (needsInput): Likewise.
1423 (reset): Likewise.
1424 (setDictionary): Likewise.
1425 (setInput): Likewise.
1426
1427 2003-05-27 Michael Koch <konqueror@gmx.de>
1428
1429 * java/net/URLConnection.java
1430 (getHeaderFieldInt): Merged with classpath.
1431
1432 2003-05-27 Michael Koch <konqueror@gmx.de>
1433
1434 * java/io/PrintStream.java
1435 (PrintStream): Reformatted.
1436 (PrintStream): New method, merged from classpath.
1437 (write): Reformatted.
1438
1439 2003-05-27 Michael Koch <konqueror@gmx.de>
1440
1441 * java/lang/System.java:
1442 Explicitely import needed classes.
1443
1444 2003-05-26 Michael Koch <konqueror@gmx.de>
1445
1446 * java/net/NetPermission.java,
1447 java/net/NetworkInterface.java,
1448 java/net/PasswordAuthentication.java,
1449 java/net/SocketPermission.java:
1450 New versions from classpath.
1451
1452 2003-05-25 Michael Koch <konqueror@gmx.de>
1453
1454 * java/io/PushbackInputStream.java,
1455 java/net/Authenticator.java,
1456 java/net/ContentHandler.java,
1457 java/net/ContentHandlerFactory.java,
1458 java/net/DatagramSocket.java,
1459 java/net/DatagramSocketImpl.java,
1460 java/net/DatagramSocketImplFactory.java,
1461 java/net/FileNameMap.java,
1462 java/net/SocketImplFactory.java,
1463 java/net/SocketOptions.java,
1464 java/net/URLStreamHandlerFactory.java:
1465 Merged new versions from classpath.
1466
1467 2003-05-25 Michael Koch <konqueror@gmx.de>
1468
1469 * java/awt/Checkbox.java,
1470 java/awt/Dialog.java,
1471 java/awt/Font.java,
1472 java/awt/Frame.java,
1473 java/awt/ScrollPaneAdjustable.java,
1474 java/awt/Scrollbar.java,
1475 java/awt/Window.java:
1476 New versions from classpath.
1477
1478 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1479
1480 PR libgcj/10838:
1481 * java/io/ObjectInputStream (enableResolveObject):
1482 Fixed spelling of permission name.
1483
1484 2003-05-20 Michael Koch <konqueror@gmx.de>
1485
1486 * java/io/DataInputStream.java
1487 (convertFromUTF): Merged comment from classpath.
1488 * java/io/PrintStream.java
1489 (error_occured): Renamed from error, merged comment from classpath.
1490 (PrintStream): No need to initialized error.
1491 (checkError): Replace error with error_occurred.
1492 (setError): Likewise.
1493
1494 2003-05-20 Michael Koch <konqueror@gmx.de>
1495
1496 * java/io/DataInputStream.java:
1497 Reformatted, Replaced < and & with html entitites in documentation.
1498 * java/io/File.java:
1499 Reformatted.
1500 * java/io/PrintWriter.java:
1501 Moved class documentation.
1502
1503 2003-05-20 Michael Koch <konqueror@gmx.de>
1504
1505 * gnu/java/nio/ByteBufferImpl.java,
1506 gnu/java/nio/CharBufferImpl.java,
1507 gnu/java/nio/CharViewBufferImpl.java,
1508 gnu/java/nio/DirectByteBufferImpl.java,
1509 gnu/java/nio/DoubleBufferImpl.java,
1510 gnu/java/nio/DoubleViewBufferImpl.java,
1511 gnu/java/nio/FloatBufferImpl.java,
1512 gnu/java/nio/FloatViewBufferImpl.java,
1513 gnu/java/nio/IntBufferImpl.java,
1514 gnu/java/nio/IntViewBufferImpl.java,
1515 gnu/java/nio/LongBufferImpl.java,
1516 gnu/java/nio/LongViewBufferImpl.java,
1517 gnu/java/nio/natDirectByteBufferImpl.cc,
1518 gnu/java/nio/ShortBufferImpl.java,
1519 gnu/java/nio/ShortViewBufferImpl.java:
1520 Moved files to java/nio.
1521 * gnu/java/nio/SocketChannelImpl.java
1522
1523 * java/nio/ByteBuffer.java,
1524 java/nio/CharBuffer.java,
1525 java/nio/DoubleBuffer.java,
1526 java/nio/FloatBuffer.java,
1527 java/nio/IntBuffer.java,
1528 java/nio/LongBuffer.java,
1529 java/nio/ShortBuffer.java:
1530 Dont import anything.
1531 * java/nio/ByteBufferImpl.java,
1532 java/nio/CharBufferImpl.java,
1533 java/nio/CharViewBufferImpl.java,
1534 java/nio/DirectByteBufferImpl.java,
1535 java/nio/DoubleBufferImpl.java,
1536 java/nio/DoubleViewBufferImpl.java,
1537 java/nio/FloatBufferImpl.java,
1538 java/nio/FloatViewBufferImpl.java,
1539 java/nio/IntBufferImpl.java,
1540 java/nio/IntViewBufferImpl.java,
1541 java/nio/LongBufferImpl.java,
1542 java/nio/LongViewBufferImpl.java,
1543 java/nio/natDirectByteBufferImpl.cc,
1544 java/nio/ShortBufferImpl.java,
1545 java/nio/ShortViewBufferImpl.java:
1546 Moved from gnu/java/nio.
1547 * Makefile.am
1548 (ordinary_java_source_files): Moved files from gnu/java/nio to
1549 java/nio.
1550 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1551 to java/nio.
1552 * Makefile.in: Regenerated.
1553
1554 2003-05-19 Michael Koch <konqueror@gmx.de>
1555
1556 * java/util/Calendar.java
1557 (get): Not final anymore since JDK 1.4
1558 (set): Likewise.
1559
1560 2003-05-19 Michael Koch <konqueror@gmx.de>
1561
1562 * java/text/CollationKey.java:
1563 Merged copyright and dat from classpath.
1564 * java/text/RuleBasedCollator.java:
1565 Merged class documentation from classpath.
1566
1567 2003-05-19 Michael Koch <konqueror@gmx.de>
1568
1569 * java/nio/CharBuffer.java
1570 (toString): Compile fix.
1571
1572 2003-05-19 Michael Koch <konqueror@gmx.de>
1573
1574 * gnu/java/nio/ByteBufferImpl.java
1575 (putLong): Fixed conversion to bytes.
1576 (putDouble): Fixed conversion to bytes.
1577 * gnu/java/nio/DirectByteBufferImpl.java
1578 (putLong): Fixed conversion to bytes.
1579 (putDouble): Fixed conversion to bytes.
1580 * gnu/java/nio/FileLockImpl.java
1581 (isValid): Reformatted.
1582 * java/nio/Buffer.java
1583 (Buffer): Fixed off-by-one bug in handling mark.
1584 * java/nio/ByteBuffer.java:
1585 Added newline.
1586 * java/nio/CharBuffer.java
1587 (toString): Don't use relative get to get string data.
1588
1589 2003-05-16 Michael Koch <konqueror@gmx.de>
1590
1591 * java/io/natFileDescriptorPosix.cc
1592 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1593 tested.
1594
1595 2003-05-14 Michael Koch <konqueror@gmx.de>
1596
1597 * gnu/java/nio/FileLockImpl.java
1598 (released): New member variable.
1599 (FileLockImpl): Initialize released.
1600 (releaseImpl): New native method.
1601 (release): Implemented.
1602 * gnu/java/nio/SelectorImpl.java: Reformatted.
1603 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1604 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1605 (accept): Throws IOException.
1606 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1607 (implConfigureBlocking): Throws IOException.
1608 (connect): Likewise.
1609 (read): Likewise.
1610 (write): Likewise.
1611 * gnu/java/nio/natFileLockImpl.cc: New file.
1612 * java/nio/channels/FileLock.java: Reformatted.
1613 * Makefile.am:
1614 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1615 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1616 * Makefile.in: Regenerated.
1617
1618 2003-05-13 Michael Koch <konqueror@gmx.de>
1619
1620 * gnu/java/nio/CharViewBufferImpl.java
1621 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1622 (get): Shift bits to the right direction.
1623 (put): Likewise.
1624 * gnu/java/nio/DoubleViewBufferImpl.java
1625 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1626 (get): Shift bits to the right direction.
1627 (put): Likewise.
1628 * gnu/java/nio/FloatViewBufferImpl.java
1629 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1630 (get): Shift bits to the right direction.
1631 (put): Likewise.
1632 * gnu/java/nio/IntViewBufferImpl.java
1633 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1634 (get): Shift bits to the right direction.
1635 (put): Likewise.
1636 * gnu/java/nio/LongViewBufferImpl.java
1637 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1638 (get): Shift bits to the right direction.
1639 (put): Likewise.
1640 * gnu/java/nio/ShortViewBufferImpl.java
1641 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1642 (get): Shift bits to the right direction.
1643 (put): Likewise.
1644
1645 2003-05-13 Michael Koch <konqueror@gmx.de>
1646
1647 * gnu/java/nio/natDirectByteBufferImpl.cc
1648 (allocateImpl): jlong -> RawData*.
1649 (freeImpl): Likewise.
1650
1651 2003-05-13 Michael Koch <konqueror@gmx.de>
1652
1653 * java/nio/channels/FileChannel.java
1654 (MapMode.m): Made it package-private to match JDK 1.4.
1655 * java/nio/charset/Charset.java
1656 (decode): Made it final to match JDK 1.4.
1657
1658 2003-05-13 Michael Koch <konqueror@gmx.de>
1659
1660 * java/io/FileDescriptor.java
1661 (SYNC): New constant.
1662 (DSYNC): Likewise.
1663 (getLength): Renamed from lenght() to match classpath's
1664 FileDescriptor.java.
1665 * java/io/RandomAccessFile.java
1666 (RandomAccessFile): Removed unneeded mode check, implemented mode
1667 "rws" and "rwd", merged documentation from classpath.
1668 (setLength): Reformatted.
1669 (length): Use new getLength() of FileDescriptor.
1670 * java/io/natFileDescriptorEcos.cc
1671 (getLength): Renamed from length().
1672 * java/io/natFileDescriptorPosix.cc
1673 (open): Implemented support for SYNC and DSYNC.
1674 (seek): Use getLength() instead of length().
1675 (getLength): Renamed from length().
1676 * java/io/natFileDescriptorWin32.cc
1677 (getLength): Renamed from length().
1678 (seek): Use getLength() instead of length().
1679 (available): Likewise.
1680 * gnu/java/nio/natFileChannelImpl.cc
1681 (size): Use getLength() instead of length().
1682
1683 2003-05-13 Michael Koch <konqueror@gmx.de>
1684
1685 * gnu/java/nio/ByteBufferImpl.java
1686 (ByteBufferImpl): All constructors revised.
1687 (slice): Reimplemented.
1688 (duplicate): Reimplemented.
1689 (asReadOnlyBuffer): Reimplemented.
1690 * java/nio/ByteBuffer.java:
1691 Reformatted.
1692 (array_offset): Renamed from "offset" to match all other buffer
1693 classes.
1694 (ByteBuffer): All constructors revised.
1695 (allocateDirect): Implemented.
1696 (allocate): New implementation, documentation reworked.
1697 (wrap): Likewise.
1698 (get): Documentation reworked.
1699 (put): New implementation, documentation reworked.
1700 (hasArray): Documentation reworked.
1701 (arrayOffset): Likewise.
1702 (hashCode): Likewise.
1703 (equals): Likewise.
1704 (compareTo): Likewise.
1705 (order): Likewise.
1706 (compact): Likewise.
1707 (isDirect): Likewise.
1708 (slice): Likewise.
1709 (duplicate): Likewise.
1710 (asReadOnlyBuffer): Likewise.
1711 * Makefile.am
1712 (ordinary_java_source_files):
1713 Added gnu/java/nio/DirectByteBufferImpl.java.
1714 (nat_source_files):
1715 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1716 * Makefile.in: Regenerated.
1717
1718 2003-05-12 Michael Koch <konqueror@gmx.de>
1719
1720 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1721 (nio_get_*): Removed.
1722 (nio_put_*): Removed.
1723 (as*Buffer): Implemented.
1724 (compact): Implemented.
1725 (get): Documentation added.
1726 (put): Documentation added.
1727 (get*): Newly implemented.
1728 (put*): Newly implemented.
1729 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1730 (CharBufferImpl): Revised.
1731 (slice): New implementation.
1732 (duplicate): New implementation.
1733 (compact): New implementation.
1734 (asReadOnlyBuffer): New implementation.
1735 (get): Documentation revised.
1736 (order): Return native byte order.
1737 * gnu/java/nio/DirectByteBufferImpl.java
1738 (allocateDirect): objects can be null not 0.
1739 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1740 (DoubleBufferImpl): Revised.
1741 (slice): New implementation.
1742 (duplicate): New implementation.
1743 (compact): New implementation.
1744 (asReadOnlyBuffer): New implementation.
1745 (get): Documentation revised.
1746 (order): Return native byte order.
1747 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1748 (FloatBufferImpl): Revised.
1749 (slice): New implementation.
1750 (duplicate): New implementation.
1751 (compact): New implementation.
1752 (asReadOnlyBuffer): New implementation.
1753 (get): Documentation revised.
1754 (order): Return native byte order.
1755 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1756 (IntBufferImpl): Revised.
1757 (slice): New implementation.
1758 (duplicate): New implementation.
1759 (compact): New implementation.
1760 (asReadOnlyBuffer): New implementation.
1761 (get): Documentation revised.
1762 (order): Return native byte order.
1763 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1764 (LongBufferImpl): Revised.
1765 (slice): New implementation.
1766 (duplicate): New implementation.
1767 (compact): New implementation.
1768 (asReadOnlyBuffer): New implementation.
1769 (get): Documentation revised.
1770 (order): Return native byte order.
1771 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1772 (ShortBufferImpl): Revised.
1773 (slice): New implementation.
1774 (duplicate): New implementation.
1775 (compact): New implementation.
1776 (asReadOnlyBuffer): New implementation.
1777 (get): Documentation revised.
1778 (order): Return native byte order.
1779 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1780 (CharBuffer): Revised.
1781 (order): Removed.
1782 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1783 (DoubleBuffer): Revised.
1784 (allocateDirect): Removed.
1785 (order): Removed.
1786 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1787 (FloatBuffer): Revised.
1788 (allocateDirect): Removed.
1789 (order): Removed.
1790 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1791 (IntBuffer): Revised.
1792 (allocateDirect): Removed.
1793 (order): Removed.
1794 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1795 (LongBuffer): Revised.
1796 (allocateDirect): Removed.
1797 (order): Removed.
1798 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1799 (ShortBuffer): Revised.
1800 (allocateDirect): Removed.
1801 (order): Removed.
1802 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1803 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1804 * Makefile.am
1805 (ordinary_java_source_files): Added the following files:
1806 gnu/java/nio/CharViewBufferImpl.java,
1807 gnu/java/nio/DoubleViewBufferImpl.java,
1808 gnu/java/nio/FloatViewBufferImpl.java,
1809 gnu/java/nio/IntViewBufferImpl.java,
1810 gnu/java/nio/LongViewBufferImpl.java,
1811 gnu/java/nio/ShortViewBufferImpl.java
1812 (nat_source_files): Removed the following files:
1813 gnu/java/nio/natByteBufferImpl.cc,
1814 gnu/java/nio/natCharBufferImpl.cc
1815 * Makefile.in: Regenerated.
1816
1817 2003-05-12 Michael Koch <konqueror@gmx.de>
1818
1819 * gnu/java/nio/CharViewBufferImpl.java,
1820 gnu/java/nio/DirectByteBufferImpl.java,
1821 gnu/java/nio/DoubleViewBufferImpl.java,
1822 gnu/java/nio/FloatViewBufferImpl.java,
1823 gnu/java/nio/IntViewBufferImpl.java,
1824 gnu/java/nio/LongViewBufferImpl.java,
1825 gnu/java/nio/ShortViewBufferImpl.java,
1826 gnu/java/nio/natDirectByteBufferImpl.cc:
1827 New files, not yet to be compiled.
1828
1829 2003-05-10 Michael Koch <konqueror@gmx.de>
1830
1831 * javax/swing/plaf/ButtonUI.java,
1832 javax/swing/plaf/ColorUIResource.java,
1833 javax/swing/plaf/ComponentUI.java,
1834 javax/swing/plaf/DimensionUIResource.java,
1835 javax/swing/plaf/FontUIResource.java,
1836 javax/swing/plaf/IconUIResource.java,
1837 javax/swing/plaf/InsetsUIResource.java,
1838 javax/swing/plaf/LabelUI.java,
1839 javax/swing/plaf/ListUI.java,
1840 javax/swing/plaf/OptionPaneUI.java,
1841 javax/swing/plaf/PanelUI.java,
1842 javax/swing/plaf/TabbedPaneUI.java,
1843 javax/swing/plaf/TextUI.java,
1844 javax/swing/plaf/TreeUI.java,
1845 javax/swing/plaf/ViewportUI.java,
1846 javax/swing/plaf/basic/BasicBorders.java,
1847 javax/swing/plaf/basic/BasicButtonUI.java,
1848 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1849 javax/swing/plaf/basic/BasicDefaults.java,
1850 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1851 javax/swing/plaf/basic/BasicIconFactory.java,
1852 javax/swing/plaf/basic/BasicLabelUI.java,
1853 javax/swing/plaf/basic/BasicListUI.java,
1854 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1855 javax/swing/plaf/basic/BasicPanelUI.java,
1856 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1857 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1858 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1859 javax/swing/plaf/basic/BasicTextUI.java,
1860 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1861 javax/swing/plaf/basic/BasicTreeUI.java,
1862 javax/swing/plaf/basic/BasicViewportUI.java,
1863 javax/swing/plaf/metal/MetalLookAndFeel.java:
1864 New versions from classpath. This adds copyrights to all files and
1865 some serialVersionUIDs.
1866
1867 2003-05-10 Michael Koch <konqueror@gmx.de>
1868
1869 * java/nio/CharBuffer.java
1870 (offset): Make it package-private.
1871 (backing_buffer): Likewise.
1872 * java/nio/DoubleBuffer.java
1873 (offset): Make it package-private.
1874 (backing_buffer): Likewise.
1875 (put): Reformatted.
1876 * java/nio/FloatBuffer.java
1877 (offset): Make it package-private.
1878 (backing_buffer): Likewise.
1879 * java/nio/IntBuffer.java
1880 (offset): Make it package-private.
1881 (backing_buffer): Likewise.
1882 * java/nio/LongBuffer.java
1883 (offset): Make it package-private.
1884 (backing_buffer): Likewise.
1885 * java/nio/ShortBuffer.java
1886 (offset): Make it package-private.
1887 (backing_buffer): Likewise.
1888
1889 2003-05-10 Michael Koch <konqueror@gmx.de>
1890
1891 * java/nio/CharBuffer.java
1892 (put): Fixed precondtion check.
1893 (toString): Make it work without backing array.
1894 (put): Skip one level of method calling.
1895
1896 2003-05-10 Michael Koch <konqueror@gmx.de>
1897
1898 * java/security/Identity.java,
1899 java/security/IdentityScope.java,
1900 java/security/Key.java,
1901 java/security/KeyPair.java,
1902 java/security/PrivateKey.java,
1903 java/security/Provider.java,
1904 java/security/PublicKey.java,
1905 java/security/SecureRandom.java,
1906 java/security/SecureRandomSpi.java,
1907 java/security/SignedObject.java,
1908 java/security/Signer.java,
1909 java/security/cert/Certificate.java,
1910 java/security/cert/PKIXCertPathBuilderResult.java,
1911 java/security/cert/X509Certificate.java:
1912 New versions from classpath.
1913
1914 2003-05-09 Tom Tromey <tromey@redhat.com>
1915
1916 * Makefile.in: Rebuilt.
1917 * Makefile.am (nat_source_files): Removed old files.
1918 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1919 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1920 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1921 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1922 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1923
1924 2003-05-09 Michael Koch <konqueror@gmx.de>
1925
1926 * gnu/java/nio/ByteBufferImpl.java
1927 (nio_cast): Removed.
1928 (ByteBufferImpl): Removed.
1929 (nio_get_Byte): Removed.
1930 (nio_put_Byte): Removed.
1931 (asByteBuffer): Removed.
1932 (asCharBuffer): Removed implementation and throw exception.
1933 (asShortBuffer): Likewise.
1934 (asIntBuffer): Likewise.
1935 (asLongBuffer): Likewise.
1936 (asFloatBuffer): Likewise.
1937 (asDoubleBuffer): Likewise.
1938 * gnu/java/nio/CharBufferImpl.java
1939 (CharBufferImpl): Removed.
1940 (nio_get_Byte): Removed.
1941 (nio_put_Byte): Removed.
1942 (asByteBuffer): Removed.
1943 * gnu/java/nio/DoubleBufferImpl.java
1944 (DoubleBufferImpl): Removed.
1945 (nio_get_Byte): Removed.
1946 (nio_put_Byte): Removed.
1947 (asByteBuffer): Removed.
1948 * gnu/java/nio/FloatBufferImpl.java
1949 (FloatBufferImpl): Removed.
1950 (nio_get_Byte): Removed.
1951 (nio_put_Byte): Removed.
1952 (asByteBuffer): Removed.
1953 * gnu/java/nio/IntBufferImpl.java
1954 (IntBufferImpl): Removed.
1955 (nio_get_Byte): Removed.
1956 (nio_put_Byte): Removed.
1957 (asByteBuffer): Removed.
1958 * gnu/java/nio/LongBufferImpl.java
1959 (LongBufferImpl): Removed.
1960 (nio_get_Byte): Removed.
1961 (nio_put_Byte): Removed.
1962 (asByteBuffer): Removed.
1963 * gnu/java/nio/ShortBufferImpl.java
1964 (ShortBufferImpl): Removed.
1965 (nio_get_Byte): Removed.
1966 (nio_put_Byte): Removed.
1967 (asByteBuffer): Removed.
1968 * gnu/java/nio/natByteBufferImpl.cc
1969 (nio_cast): Removed.
1970 (nio_get_Byte): Removed.
1971 (nio_put_Byte): Removed.
1972 * gnu/java/nio/natCharBufferImpl.cc
1973 (nio_get_Byte): Removed.
1974 (nio_put_Byte): Removed.
1975
1976 2003-05-09 Michael Koch <konqueror@gmx.de>
1977
1978 * java/net/JarURLConnection.java
1979 (getJarEntry): Merged documentation from classpath.
1980 (getJarFile): Likewise.
1981 (getMainAttributes): Likewise.
1982 (getAttributes): Likewise.
1983 (getManifest): Likewise.
1984 (getCertificates): Reformatted.
1985 * java/net/URLConnection.java:
1986 Little classpath merge.
1987
1988 2003-05-09 Michael Koch <konqueror@gmx.de>
1989
1990 * java/io/DataOutputStream.java
1991 (writeShort): Made it synchronized.
1992 (writeChar): Likewise.
1993 (writeInt): Likewise.
1994 (writeLong): Liekwise.
1995 (writeUTF): Made it synchronized, renamed argument to match classpath.
1996 * java/io/InputStreamReader.java
1997 (converter): Added documentation.
1998 (read): Merged documentation from classpath.
1999 * java/io/OutputStreamWriter.java
2000 (OutputStreamWriter): Merged documentation from classpath.
2001 (close): Reformatted.
2002 (getEncoding): Likewise.
2003 (flush): Likewise.
2004 (write): Merged documentation from classpath, reformatted.
2005
2006 2003-05-08 Tom Tromey <tromey@redhat.com>
2007
2008 * configure.host <powerpc64*-*>: Set with_libffi_default and
2009 libgcj_interpreter to "yes".
2010
2011 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2012
2013 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2014
2015 2003-05-06 Tom Tromey <tromey@redhat.com>
2016
2017 * verify.cc: Reverted previous patch.
2018
2019 2003-05-06 Michael Koch <konqueror@gmx.de>
2020
2021 * java/io/DataOutputStream.java
2022 (write): Renamed argument to "value", merged documentation from
2023 classpath.
2024 (writeBoolean): Likewise.
2025 (writeByte): Likewise.
2026 (writeShort): Likewise.
2027 (writeChar): Likewise.
2028 (writeInt): Likewise.
2029 (writeLong): Likewise.
2030 (writeFloat): Likewise.
2031 (writeDouble): Likewise.
2032 (writeBytes): Likewise.
2033 (writeChars): Likewise.
2034 (writeUTF): Likewise.
2035 * java/io/File.java
2036 (performDelete): Added documentation.
2037 (performList): Likewise.
2038 (performMkdir): Likewise.
2039 (performSetReadOnly): Likewise.
2040 (performRenameTo): Likewise.
2041 (performSetLastModified): Likewise.
2042 (delete): Made it sychronized.
2043 (renameTo): Made it sychronized.
2044 (equals): Reformatted.
2045 (isHidden): Likewise.
2046 (listFiles): Likewise.
2047 (setReadOnly): Likewise.
2048 (listRoots): Likewise.
2049 (setLastModified): Likewise.
2050 (checkRead): Likewise.
2051 (checkWrite): Likewise.
2052 * java/io/FileInputStream.java
2053 (skip): Made it sychronized, merged from classpath.
2054 * java/io/FileOutputStream.java
2055 (write): Merged from classpath.
2056 * java/io/InputStreamReader.java:
2057 (InputStreamReader): Merged documentation from classpath.
2058
2059 2003-05-05 Michael Koch <konqueror@gmx.de>
2060
2061 * java/net/NetworkInterface.java
2062 (networkInterfaces): Removed.
2063 (getByName): Use getRealNetworkInterfaces() instead of
2064 networkInterfaces.
2065 (getByInetAddress): Likewise.
2066 (getNetworkInterfaces): Likewise.
2067 (toString): Fix output of addresses of an interface.
2068
2069 2003-05-05 Michael Koch <konqueror@gmx.de>
2070
2071 * java/io/DataInputStream.java:
2072 Merged new documentation from classpath.
2073
2074 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2075
2076 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2077 "version".
2078 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2079 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2080 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2081 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2082 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2083 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2084 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2085 * java/security/Key.java: Likewise.
2086 * java/security/PrivateKey.java: Likewise.
2087 * java/security/Provider.java: Likewise.
2088 * java/security/PublicKey.java: Likewise.
2089
2090 2003-05-02 Michael Koch <konqueror@gmx.de>
2091
2092 * java/net/URI.java
2093 (create): Doesnt throws any exceptions.
2094 * java/net/URLConnection.java
2095 (URLConnection): Commend added.
2096 (getExpiration): The header field is called "expires" not
2097 "expiration".
2098 (getHeaderField): Merged documentation with classpath.
2099 (getHeaderFieldInt): Likewise.
2100 (getHeaderFieldDate): Likewise.
2101 (getHeaderFieldKey): Likewise.
2102 (getPermission): Likewise.
2103 (setDefaultUseCaches): Likewise.
2104 (setRequestProperty): Likewise.
2105 (addRequestProperty): Likewise.
2106 (getRequestProperty): Likewise.
2107 (getRequestProperties): Likewise.
2108 (setDefaultRequestProperty): Likewise.
2109 (getDefaultRequestProperty): Likewise.
2110 (guessContentTypeFromStream): Likewise.
2111 (getFileNameMap): Likewise.
2112 (setFileNameMap): Likewise.
2113 (setDoInput): Merged implementation and documentation with classpath.
2114 (setDoOutput): Likewise.
2115 (setAllowUserInteraction): Likewise.
2116 (setDefaultAllowUserInteraction): Likewise.
2117 (setContentHandlerFactory): Made it synchronized, merged documentation
2118 with classpath.
2119 (guessContentTypeFromName): Renamed argument fname to filename to
2120 match classpath, merged documentation with classpath.
2121
2122 2003-05-02 Michael Koch <konqueror@gmx.de>
2123
2124 * java/net/JarURLConnection.java
2125 (JarURLConnection): Class documentation merged with classpath.
2126 (getJarFileURL): Moved and documentation merged with classpath.
2127 (getEntryName): Likewise.
2128 (JarURLConnection): Documentation merged with classpath.
2129 (getJarEntry): Likewise.
2130 (getJarFile): Likewise.
2131 * java/net/PlainDatagramSocketImpl.java:
2132 Class documentation moved.
2133 * java/net/URLConnection.java
2134 (fileNameMap): Moved and documentation merged with classpath.
2135 (factory): Likewise.
2136 (defaultAllowUserInteraction): Likewis.
2137 (defaultUseCaches): Likewise.
2138 (allowUserInteraction): Likewise.
2139 (connected): Likewise.
2140 (url): Likewise.
2141 (connect): Documentation merged with classpath.
2142 (getURL): Likewise.
2143 (getContentLength): Likewise.
2144 (getContentType): Likewise.
2145 (getContentEncoding): Likewise.
2146 (getExpiration): Likewise.
2147 (getDate): Likewise.
2148 (getLastModified): Likewise.
2149 (getHeaderField): Likewise.
2150 (getContent): Likewise.
2151 (getPermission): Likewise.
2152 (getInputStream): Likewise.
2153 (getOutputStream): Likewise.
2154 (toString): Likewise.
2155 (getDoInput): Likewise.
2156 (getDoOutput): Likewise.
2157 (setAllowUserInteraction): Likewise.
2158 (getAllowUserInteraction): Likewise.
2159 (setDefaultAllowUserInteraction): Likewise.
2160 (getDefaultAllowUserInteraction): Likewise.
2161 (setUseCaches): Likewise.
2162 (getUseCaches): Likewise.
2163 (setIfModifiedSince): Likewise.
2164 (getIfModifiedSince): Likewise.
2165 (setDefaultRequestProperty): Likewise.
2166 (getDefaultRequestProperty): Likewise.
2167 (setContentHandlerFactory): Likewise.
2168 (setFileNameMap): Likewise.
2169
2170 2003-05-02 Michael Koch <konqueror@gmx.de>
2171
2172 * java/net/InetAddress.java:
2173 Merged class documentation with classpath.
2174 * java/net/JarURLConnection.java:
2175 Explicitely import all used classes.
2176 * java/net/URL.java:
2177 Reformatting.
2178 * java/net/ServerSocket.java,
2179 java/net/Socket.java:
2180 New versions from classpath.
2181
2182 2003-05-02 Michael Koch <konqueror@gmx.de>
2183
2184 * gnu/java/nio/FileChannelImpl.java
2185 (read): New implementation.
2186 (implRead): New methods.
2187 (write): New implementation, call other write insteal of read method.
2188 (implWrite): New methods.
2189 (map): Added comment.
2190 (transferFrom): Implemented.
2191 (transferTo): Implemented.
2192 (lock): Added checks to throw exceptions.
2193 (truncate): Added check to throw exception.
2194 * gnu/java/nio/natFileChannelImpl.cc
2195 (implRead): New method.
2196 (implWrite): New method.
2197 * java/nio/ByteBuffer.java
2198 (hashCode): Fixed comment.
2199 (get): Fixed exception documentation.
2200 (put): Fixed exception documentation.
2201 * java/nio/CharBuffer.java:
2202 Added comment for later optimizations.
2203
2204 2003-04-30 Tom Tromey <tromey@redhat.com>
2205
2206 PR libgcj/10582:
2207 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2208 Removed.
2209 (type::compatible): Use _Jv_IsAssignableFrom.
2210 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2211 (_Jv_IsAssignableFrom): Work even when source or target class is
2212 not prepared.
2213
2214 2003-04-30 Michael Koch <konqueror@gmx.de>
2215
2216 * java/text/BreakIterator.java
2217 (clone): New method.
2218
2219 2003-04-30 Michael Koch <konqueror@gmx.de>
2220
2221 * java/text/CollationElementIterator.java,
2222 java/text/CollationKey.java,
2223 java/text/RuleBasedCollator.java:
2224 Merged copyright and documentation from classpath and
2225 rearranged some code. No code changes done.
2226
2227 2003-04-30 Michael Koch <konqueror@gmx.de>
2228
2229 * java/util/regex/Matcher.java
2230 (pattern): New member variable.
2231 (appendReplacement): New method.
2232 (appendTail): New method.
2233 (end): New method.
2234 (find): New method.
2235 (group): New method.
2236 (replaceFirst): Added documentation.
2237 (replaceAll): Added documentation.
2238 (groupCount): New method.
2239 (lookingAt): New method.
2240 (matches): New method.
2241 (reset): New method.
2242 (start): New method.
2243 * java/util/regex/Pattern.java
2244 (serialVersionUID): New constant.
2245 (CANON_EQ): New constant.
2246 (CASE_INSENSITIVE): New constant.
2247 (COMMENTS): New constant.
2248 (DOTALL): New constant.
2249 (MULTILINE): New constant.
2250 (UNICODE_CASE): New constant.
2251 (UNIX_LINES): New constant.
2252 (regex): New member variable.
2253 (flags): New member variable.
2254 (Pattern): New method.
2255 (compile): Documentation added.
2256 (flags): New method.
2257 (matches): Documentation added.
2258 (matcher): Documentation added.
2259 (split): Documentation added.
2260 (pattern): New method.
2261
2262 2003-04-30 Michael Koch <konqueror@gmx.de>
2263
2264 * gnu/java/security/Engine.java,
2265 gnu/java/security/OID.java,
2266 gnu/java/security/der/BitString.java,
2267 gnu/java/security/der/DER.java,
2268 gnu/java/security/der/DERReader.java,
2269 gnu/java/security/der/DERValue.java,
2270 gnu/java/security/der/DERWriter.java,
2271 gnu/java/security/provider/DSAKeyFactory.java,
2272 gnu/java/security/provider/X509CertificateFactory.java,
2273 gnu/java/security/x509/X500DistinguishedName.java,
2274 gnu/java/security/x509/X509CRL.java,
2275 gnu/java/security/x509/X509CRLEntry.java,
2276 gnu/java/security/x509/X509Certificate.java,
2277 java/security/cert/CRLSelector.java,
2278 java/security/cert/CertPathBuilder.java,
2279 java/security/cert/CertPathBuilderResult.java,
2280 java/security/cert/CertPathBuilderSpi.java,
2281 java/security/cert/CertPathParameters.java,
2282 java/security/cert/CertPathValidator.java,
2283 java/security/cert/CertPathValidatorResult.java,
2284 java/security/cert/CertPathValidatorSpi.java,
2285 java/security/cert/CertSelector.java,
2286 java/security/cert/CertStore.java,
2287 java/security/cert/CertStoreParameters.java,
2288 java/security/cert/CertStoreSpi.java,
2289 java/security/cert/CollectionCertStoreParameters.java,
2290 java/security/cert/LDAPCertStoreParameters.java,
2291 java/security/cert/PKIXBuilderParameters.java,
2292 java/security/cert/PKIXCertPathBuilderResult.java,
2293 java/security/cert/PKIXCertPathChecker.java,
2294 java/security/cert/PKIXCertPathValidatorResult.java,
2295 java/security/cert/PKIXParameters.java,
2296 java/security/cert/PolicyNode.java,
2297 java/security/cert/PolicyQualifierInfo.java,
2298 java/security/cert/TrustAnchor.java,
2299 javax/security/auth/x500/X500Principal.java:
2300 New files from classpath.
2301 * gnu/java/io/ASN1ParsingException.java,
2302 gnu/java/io/Base64InputStream.java,
2303 gnu/java/security/der/DEREncodingException.java,
2304 gnu/java/security/provider/DSAParameters.java,
2305 gnu/java/security/provider/DSASignature.java,
2306 gnu/java/security/provider/Gnu.java,
2307 gnu/java/security/provider/GnuDSAPrivateKey.java,
2308 gnu/java/security/provider/GnuDSAPublicKey.java,
2309 java/security/AlgorithmParameterGenerator.java,
2310 java/security/AlgorithmParameters.java,
2311 java/security/KeyFactory.java,
2312 java/security/KeyPairGenerator.java,
2313 java/security/KeyStore.java,
2314 java/security/MessageDigest.java,
2315 java/security/SecureClassLoader.java,
2316 java/security/SecureRandom.java,
2317 java/security/Security.java,
2318 java/security/Signature.java,
2319 java/security/cert/Certificate.java,
2320 java/security/cert/CertificateFactory.java,
2321 java/security/cert/CertificateFactorySpi.java,
2322 java/security/cert/X509CRL.java,
2323 java/security/cert/X509Certificate.java,
2324 java/security/spec/DSAPublicKeySpec.java:
2325 New versions from classpath.
2326 * gnu/java/security/provider/DERReader.java,
2327 gnu/java/security/provider/DERWriter.java,
2328 java/security/Engine.java: Removed.
2329 * Makefile.am
2330 (java_source_files, javax_source_files): Added new files.
2331 * Makefile.in: Regenerated.
2332
2333 2003-04-29 Michael Koch <konqueror@gmx.de>
2334
2335 * javax/swing/JTable.java
2336 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2337 (AUTO_RESIZE_LAST_COLUMN): New constant.
2338 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2339 (AUTO_RESIZE_OFF): New constant.
2340 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2341 (JTable): New method.
2342 (columnAdded): New method.
2343 (columnMarginChanged): New method.
2344 (columnMoved): New method.
2345 (columnRemoved): New method.
2346 (columnSelectionChanged): New method.
2347 (editingCanceled): New method.
2348 (editingStopped): New method.
2349 (getColumnModel): New method.
2350 (getPreferredScrollableViewportSize): New method.
2351 (getScrollableBlockIncrement): New method.
2352 (getScrollableTracksViewportHeight): New method.
2353 (getScrollableTracksViewportWidth): New method.
2354 (getScrollableUnitIncrement): New method.
2355 (getSelectedRow): New method.
2356 (getSelectionModel): New method.
2357 (tableChanged): New method.
2358 (setModel): New method.
2359 (setSelectionMode): New method.
2360 (setSelectionModel): New method.
2361 (setShowGrid): New method.
2362 (valueChanged): New method.
2363 * javax/swing/text/DefaultEditorKit.java
2364 (backwardAction): New constant.
2365 (beepAction): New constant.
2366 (beginAction): New constant.
2367 (beginLineAction): New constant.
2368 (beginParagraphAction): New constant.
2369 (beginWordAction): New constant.
2370 (copyAction): New constant.
2371 (cutAction): New constant.
2372 (defaultKeyTypedAction): New constant.
2373 (deleteNextCharAction): New constant.
2374 (deletePrevCharAction): New constant.
2375 (downAction): New constant.
2376 (endAction): New constant.
2377 (endLineAction): New constant.
2378 (endOfLineStringProperty): New constant.
2379 (endParagraphAction): New constant.
2380 (endWordAction): New constant.
2381 (forwardAction): New constant.
2382 (insertBreakAction): New constant.
2383 (insertContentAction): New constant.
2384 (insertTabAction): New constant.
2385 (nextWordAction): New constant.
2386 (pageDownAction): New constant.
2387 (pageUpAction): New constant.
2388 (pasteAction): New constant.
2389 (previousWordAction): New constant.
2390 (readOnlyAction): New constant.
2391 (selectAllAction): New constant.
2392 (selectionBackwardAction): New constant.
2393 (selectionBeginAction): New constant.
2394 (selectionBeginLineAction): New constant.
2395 (selectionBeginParagraphAction): New constant.
2396 (selectionBeginWordAction): New constant.
2397 (selectionDownAction): New constant.
2398 (selectionEndAction): New constant.
2399 (selectionEndLineAction): New constant.
2400 (selectionEndParagraphAction): New constant.
2401 (selectionEndWordAction): New constant.
2402 (selectionForwardAction): New constant.
2403 (selectionNextWordAction): New constant.
2404 (selectionPreviousWordAction): New constant.
2405 (selectionUpAction): New constant.
2406 (selectLineAction): New constant.
2407 (selectParagraphAction): New constant.
2408 (selectWordAction): New constant.
2409 (upAction): New constant.
2410 (writableAction): New constant.
2411
2412 2003-04-29 Michael Koch <konqueror@gmx.de>
2413
2414 * java/util/PropertyPermission.java:
2415 New version from classpath
2416 * java/util/ResourceBundle.java:
2417 Partly merged from classpath
2418 (getObject): Reformated.
2419 (tryBundle): Set foundBundle = null if no bundle found.
2420
2421 2003-04-29 Michael Koch <konqueror@gmx.de>
2422
2423 * javax/swing/AbstractListModel.java,
2424 javax/swing/DefaultBoundedRangeModel.java,
2425 javax/swing/DefaultSingleSelectionModel.java:
2426 New Versions from classpath.
2427
2428 2003-04-29 Michael Koch <konqueror@gmx.de>
2429
2430 * java/awt/Window.java
2431 (show): Call super.show() instead of setVisible() to avoid endless
2432 loop.
2433 (hide): Call super.hide() instead of setVisible() to avoid endless
2434 loop.
2435
2436 2003-04-29 Michael Koch <konqueror@gmx.de>
2437
2438 * java/util/zip/Deflater.java,
2439 java/util/zip/DeflaterOutputStream.java:
2440 Partly merged with classpath.
2441
2442 2003-04-27 Tom Tromey <tromey@redhat.com>
2443
2444 * java/lang/natString.cc (_Jv_AllocString): Initialize
2445 cachedHashCode.
2446 (init): Likewise.
2447 (_Jv_NewStringUtf8Const): Likewise.
2448
2449 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2450
2451 * include/jvm.h: (_Jv_GetNbArgs) added
2452 (_Jv_GetSafeArg) added
2453 (_Jv_SetArgs) added
2454 * prims.cc: (_Jv_GetNbArgs) implemented
2455 (_Jv_GetSafeArg) implemented
2456 (_Jv_SetArgs) implemented
2457 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2458 setting _Jv_argc and _Jv_argv
2459 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2460 instead of _Jv_argv
2461 * java/lang/natRuntime.cc: (insertSystemProperties) use
2462 _Jv_GetSafeArg() instead of _Jv_argv
2463
2464 2003-04-23 Tom Tromey <tromey@redhat.com>
2465
2466 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2467 required by this object. Search superclasses to find required
2468 alignment.
2469 (get_alignment_from_class): Use alignment of type as it appears
2470 in a struct.
2471 (ALIGNOF): New macro.
2472 (struct aligner): New helper structure.
2473
2474 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2475
2476 * java/awt/Container.java (addImpl): Enable paint events if adding
2477 a lightweight to a heavyweight.
2478 (addNotify): Ensure that peer is created before
2479 addNotifyContainerChildren.
2480 (addNotifyContainerChildren): Enable paint events if a heavyweight
2481 container contains a lightweight.
2482
2483 2003-04-20 Tom Tromey <tromey@redhat.com>
2484
2485 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2486 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2487 Classpath.
2488
2489 2003-04-19 Tom Tromey <tromey@redhat.com>
2490
2491 * java/sql/Date.java, java/sql/DriverManager.java,
2492 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2493 Classpath.
2494
2495 * Makefile.in: Rebuilt.
2496 * Makefile.am (ordinary_java_source_files): Added new files.
2497 * java/security/AlgorithmParameterGenerator.java,
2498 java/security/AlgorithmParameters.java, java/security/Engine.java,
2499 java/security/Identity.java, java/security/IdentityScope.java,
2500 java/security/KeyFactory.java,
2501 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2502 java/security/MessageDigest.java, java/security/Policy.java,
2503 java/security/ProtectionDomain.java,
2504 java/security/SecureRandom.java, java/security/Security.java,
2505 java/security/Signature.java, java/security/SignatureSpi.java,
2506 java/security/SignedObject.java, java/security/Signer.java,
2507 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2508 java/security/spec/PSSParameterSpec.java,
2509 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2510 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2511 Classpath.
2512
2513 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2514
2515 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2516 (dispose): Null metrics.
2517 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2518 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2519 finalize.
2520 (finalize): Call dispose.
2521 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2522 (gcCachedCount): New field.
2523 (finalize): New method.
2524 (putGCInCache): New method.
2525 (getGCFromCache): New method.
2526 * gnu/gcj/xlib/GC.java (GC): Make protected.
2527 (clone): Get new GC from cache if possible.
2528 (create): New static method.
2529 (dispose): Save old GC in cache.
2530 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2531 deleting.
2532 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2533 is null.
2534 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2535 * java/awt/Container.java (visitChild): Dispose gfx2 when
2536 finished.
2537
2538 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2539
2540 * java/math/BigInteger.java (probablePrime): New.
2541 * java/math/BigDecimal.java (unscaledValue): New.
2542
2543 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2544
2545 * java/io/File.java (getAbsolutePath): On Windows, take care
2546 of paths like "C:", "G:foo\bar", etc.
2547 (getName): Make it work correctly on Windows.
2548 (getParent): Make it work correctly on Windows. For UNIX,
2549 fix bug that causes "/" to be returned as the parent of "/",
2550 instead of null as returned by Sun's JRE.
2551
2552 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2553
2554 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2555
2556 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2557 inner class.
2558 (CACHE_SIZE_PER_DISPLAY): New field
2559 (fontMetricsCache): New field
2560 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2561 loading ISO10646-1 fonts.
2562
2563 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2564
2565 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2566 characters.
2567 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2568 characters.
2569
2570 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2571
2572 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2573 floating point.
2574
2575 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2576
2577 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2578 installed libpthread is either linuxthreads with floating stacks or
2579 NPTL.
2580
2581 2003-04-14 Tom Tromey <tromey@redhat.com>
2582
2583 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2584 of alignment.
2585
2586 2003-04-10 Tom Tromey <tromey@redhat.com>
2587
2588 * verify.cc (pop64): Removed.
2589 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2590 exception if top-of-stack is narrow.
2591 (initialize_stack): Check to ensure that <init> is not static and
2592 <clinit> is.
2593
2594 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2595
2596 * java/io/ObjectStreamException
2597 * java/io/FileFilter
2598 * java/io/FilenameFilter
2599 * java/io/ObjectInput
2600 * java/io/ObjectOutput
2601 * java/io/ObjectStreamConstants
2602 Minor doc fixes, format fixes, spelling corrections, etc.
2603 * java/io/DataInput
2604 Corrected code samples in Javadocs to match reality
2605 * java/io/DataOutput
2606 * java/io/ObjectInputValidation
2607 Major documentation fixes - all Javadocs re-written or updated
2608
2609 2003-04-06 Michael Koch <konqueror@gmx.de>
2610
2611 * java/net/URLConnection.java:
2612 Import classes directly.
2613 (URLConnection): Merged class documentation with classpath.
2614 (url): Moved, documentation from classpath added.
2615 (doInput): Moved, documentation from classpath added.
2616 (doOutput): Moved, documentation from classpath added.
2617 (allowUserInteraction): Moved.
2618 (useCaches): Moved, documentation from classpath added.
2619 (ifModifiedSince): Moved, documentation from classpath added.
2620 (connected): Moved, documentation from classpath added.
2621
2622 2003-04-06 Michael Koch <konqueror@gmx.de>
2623
2624 * java/io/FileInputStream.java
2625 (skip): Renamed some variables to match classpath, added
2626 checks from classpath.
2627
2628 2003-03-31 Michael Koch <konqueror@gmx.de>
2629
2630 * javax/swing/AbstractAction.java
2631 (AbstractAction): Reformatted.
2632 (serialVersionUID): New private member variable.
2633 * javax/swing/plaf/BorderUIResource.java
2634 (serialVersionUID): New private member variable.
2635 * javax/swing/plaf/basic/BasicLookAndFeel.java
2636 (serialVersionUID): New private member variable.
2637
2638 2003-03-31 Michael Koch <konqueror@gmx.de>
2639
2640 * java/sql/Date.java
2641 (valueOf): Deprecated, reformatted.
2642 (toString): Deprecated, reformatted.
2643 * java/sql/Time.java
2644 (valueOf): Deprecated, reformatted.
2645 (toString): Deprecated, reformatted.
2646
2647 2003-03-31 Michael Koch <konqueror@gmx.de>
2648
2649 * java/rmi/dgc/VMID.java
2650 (isUnique): Deprecated.
2651
2652 2003-03-31 Michael Koch <konqueror@gmx.de>
2653
2654 * java/io/File.java
2655 (separator): Merged documentation from classpath.
2656 (separatorChar): Merged documentation from classpath.
2657 (pathSeparator): Merged documentation from classpath.
2658 (pathSeparatorChar): Merged documentation from classpath.
2659 (path): Merged documentation from classpath.
2660 (canRead): Merged documentation from classpath.
2661 (canWrite): Merged documentation from classpath.
2662 (createNewFile): Merged documentation from classpath.
2663 (delete): Merged documentation from classpath.
2664 (equals): Merged documentation from classpath.
2665 (exists): Merged documentation from classpath.
2666 (File): Renamed p to name to match classpath, merged documentation
2667 from classpath.
2668 (getAbsolutePath): Merged documentation from classpath.
2669 (getCanonicalPath): Merged documentation from classpath.
2670 (getCanonicalFile): Merged documentation from classpath.
2671 (getName): Merged documentation from classpath.
2672 (getParent): Merged documentation from classpath.
2673 (getParentFile): Merged documentation from classpath.
2674 (getPath): Merged documentation from classpath.
2675 (hashCode): Merged documentation from classpath.
2676 (isAbsolute): Merged documentation from classpath.
2677 (isDirectory): Merged documentation from classpath.
2678 (isFile): Merged documentation from classpath.
2679 (isHidden): Merged documentation from classpath.
2680 (lastModified): Merged documentation from classpath.
2681 (length): Merged documentation from classpath.
2682 (list): Merged documentation from classpath.
2683 (listFiles): Merged documentation from classpath.
2684 (toString): Merged documentation from classpath.
2685 (toURL): Merged documentation from classpath.
2686 (mkdir): Merged documentation from classpath.
2687 (mkdirs): Merged documentation from classpath.
2688 (createTempFile): Merged documentation from classpath.
2689 (setReadOnly): Merged documentation from classpath.
2690 (listRoots): Merged documentation from classpath.
2691 (compareTo): Merged documentation from classpath.
2692 (renameTo): Merged documentation from classpath.
2693 (setLastModified): Merged documentation from classpath.
2694 * java/io/PrintStream.java
2695 (auto_flush): Merged documentation from classpath.
2696 (PrintStream): Merged documentation from classpath.
2697 (checkError): Merged documentation from classpath.
2698 (setError): Merged documentation from classpath.
2699 (close): Merged documentation from classpath.
2700 (flush): Merged documentation from classpath.
2701 (print): Merged documentation from classpath.
2702 (println): Merged documentation from classpath.
2703 (write): Renamed count to len to match classpath,
2704 merged documentation from classpath.
2705 * java/io/RandomAccessFile.java
2706 (readShort): Merged documentation from classpath.
2707 (readUnsignedByte): Merged documentation from classpath.
2708 (readUnsignedShort): Merged documentation from classpath.
2709 (readUTF): Merged documentation from classpath.
2710 (seek): Reformatted, merged documentation from classpath.
2711 (skipBytes): Renamed some variables to match classpath, reformatted,
2712 merged documentation from classpath.
2713 (write): Merged documentation from classpath.
2714 (writeBoolean): Merged documentation from classpath.
2715 (writeByte): Merged documentation from classpath.
2716 (writeShort): Merged documentation from classpath.
2717 (writeChar): Merged documentation from classpath.
2718 (writeInt): Merged documentation from classpath.
2719 (writeLong): Merged documentation from classpath.
2720 (writeFloat): Merged documentation from classpath.
2721 (writeDouble): Merged documentation from classpath.
2722 (writeBytes): Merged documentation from classpath.
2723 (writeChars): Merged documentation from classpath.
2724 (writeUTF): Reformatted.
2725 (getChannel): Reformatted.
2726
2727 2003-03-31 Michael Koch <konqueror@gmx.de>
2728
2729 * java/awt/font/TextAttribute.java
2730 (readResolve): Throws java.io.InvalidObjectException.
2731
2732 2003-03-31 Michael Koch <konqueror@gmx.de>
2733
2734 * java/rmi/server/LoaderHandler.java
2735 (loadClass): Deprecated.
2736 (getSecurityContext): Deprecated.
2737 * java/rmi/server/LogStream.java
2738 (getDefaultStream): Deprecated.
2739 (setDefaultStream): Deprecated.
2740 (getOutputStream): Deprecated.
2741 (setOutputStream): Deprecated.
2742 (write): Deprecated.
2743 (toString): Deprecated.
2744 (parseLevel): Deprecated.
2745 * java/rmi/server/Operation.java
2746 (Operation): Deprecated.
2747 (getOperation): Deprecated.
2748 (toString): Deprecated.
2749 * java/rmi/server/RemoteCall.java
2750 (getOutputStream): Deprecated.
2751 (releaseOutputStream): Deprecated.
2752 (getInputStream): Deprecated.
2753 (releaseInputStream): Deprecated.
2754 (getResultStream): Deprecated.
2755 (executeCall): Deprecated.
2756 (done): Deprecated.
2757 * java/rmi/server/RemoteRef.java
2758 (invoke): Deprecated.
2759 (newCall): Deprecated.
2760 (done): Deprecated.
2761 * java/rmi/server/RemoteStub.java
2762 (setRef): Deprecated.
2763 * java/rmi/server/Skeleton.java:
2764 No need to import java.lang.Exception explicitly.
2765 (dispatch): Deprecated.
2766 (getOperations): Deprecated.
2767
2768 2003-03-31 Michael Koch <konqueror@gmx.de>
2769
2770 * java/rmi/dgc/VMID.java,
2771 java/rmi/registry/RegistryHandler.java,
2772 java/rmi/server/LogStream.java,
2773 java/rmi/server/Operation.java,
2774 java/rmi/server/RemoteCall.java,
2775 java/rmi/server/RemoteRef.java,
2776 java/rmi/server/RemoteStub.java:
2777 Reformatted.
2778
2779 2003-03-31 Michael Koch <konqueror@gmx.de>
2780
2781 * javax/swing/AbstractCellEditor.java,
2782 javax/swing/AbstractListModel.java,
2783 javax/swing/ActionMap.java,
2784 javax/swing/BorderFactory.java,
2785 javax/swing/ButtonGroup.java,
2786 javax/swing/DefaultBoundedRangeModel.java,
2787 javax/swing/DefaultButtonModel.java,
2788 javax/swing/DefaultCellEditor.java,
2789 javax/swing/DefaultComboBoxModel.java,
2790 javax/swing/DefaultDesktopManager.java,
2791 javax/swing/DefaultListCellRenderer.java,
2792 javax/swing/DefaultSingleSelectionModel.java,
2793 javax/swing/InputMap.java,
2794 javax/swing/JComponent.java,
2795 javax/swing/JMenu.java,
2796 javax/swing/JSlider.java,
2797 javax/swing/KeyStroke.java,
2798 javax/swing/OverlayLayout.java,
2799 javax/swing/ScrollPaneLayout.java,
2800 javax/swing/SizeRequirements.java,
2801 javax/swing/UIManager.java,
2802 javax/swing/ViewportLayout.java,
2803 javax/swing/border/AbstractBorder.java,
2804 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2805 javax/swing/event/EventListenerList.java,
2806 javax/swing/table/AbstractTableModel.java,
2807 javax/swing/table/DefaultTableCellRenderer.java,
2808 javax/swing/table/DefaultTableColumnModel.java,
2809 javax/swing/table/DefaultTableModel.java,
2810 javax/swing/table/TableColumn.java,
2811 javax/swing/text/StyledEditorKit.java,
2812 javax/swing/tree/DefaultMutableTreeNode.java,
2813 javax/swing/tree/DefaultTreeModel.java,
2814 javax/swing/tree/DefaultTreeSelectionModel.java,
2815 javax/swing/tree/TreePath.java,
2816 javax/swing/undo/AbstractUndoableEdit.java,
2817 javax/swing/undo/StateEdit.java,
2818 javax/swing/undo/StateEditable.java,
2819 javax/swing/undo/UndoableEditSupport.java:
2820 Merges from classpath.
2821
2822 2003-03-30 Tom Tromey <tromey@redhat.com>
2823
2824 * java/lang/String.java (data, boffset, count): Documented.
2825 (String(byte[],String)): Reformatted.
2826 (String(byte[])): Likewise.
2827 (lastIndexOf(int)): Likewise.
2828 (lastIndexOf(String)): Likewise.
2829 (substring(int)): Renamed argument to match Classpath.
2830 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2831
2832 * java/lang/String.java: Miscellaneous minor formatting changes
2833 to match Classpath more closely.
2834
2835 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2836 Tom Tromey <tromey@redhat.com>
2837
2838 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2839 (init()): Removed.
2840 (charAt): Put index in exception.
2841 (contentEquals): New method.
2842 Include StringBuffer.h.
2843 * java/lang/String.java (cachedHashCode): New field.
2844 (String()): Follow classpath implementation.
2845 (init()): Removed.
2846 (contentEquals): Declare.
2847 (subSequence): Don't declare IndexOutIfBoundsException in throws
2848 clause.
2849 (matches, replaceFirst, replaceAll, split): New methods from
2850 Classpath.
2851
2852 2003-03-29 Tom Tromey <tromey@redhat.com>
2853
2854 * java/lang/String.java: Reordered to follow Classpath; merged in
2855 javadoc.
2856
2857 * java/text/MessageFormat.java: Removed some whitespace.
2858
2859 * Makefile.in: Rebuilt.
2860 * Makefile.am (awt_java_source_files): Added new files.
2861 * gnu/javax/rmi/PortableServer.java,
2862 gnu/javax/rmi/CORBA/DelegateFactory.java,
2863 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2864 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2865 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2866 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2867 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2868 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2869 javax/rmi/PortableRemoteObject.java,
2870 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2871 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2872 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2873 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2874 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2875 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2876
2877 * java/lang/natClass.cc (newInstance): Put method name in
2878 exception.
2879 (getConstructor): Likewise.
2880 (getDeclaredConstructor): Likewise.
2881 (getPrivateMethod): Likewise.
2882
2883 2003-03-28 Tom Tromey <tromey@redhat.com>
2884
2885 * java/lang/reflect/Proxy.java: New version from Classpath.
2886 * java/lang/Package.java: New version from Classpath.
2887
2888 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2889
2890 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2891 * configure: Regenerate.
2892
2893 2003-03-28 Michael Koch <konqueror@gmx.de>
2894
2895 * java/io/File.java:
2896 Import needed classes instead of whole packages, merged class
2897 documentation with classpath, moved constants and variables to top of
2898 class.
2899 * java/io/PrintStream.java:
2900 Merged class documentation with classpath, moved constants and
2901 variables to top of class.
2902 * java/io/RandomAccessFile.java
2903 (RandomAccessFile): Merged with classpath.
2904 (read): Merged with classpath).
2905 (read*): Reformatted.
2906
2907 2003-03-28 Michael Koch <konqueror@gmx.de>
2908
2909 * java/io/FileDescriptor.java
2910 (finalize): Throws Throwable, not IOException.
2911 * java/io/ObjectOutputStream.java
2912 (PutField.put): Doesnt throws anything.
2913
2914 2003­03-28 Michael Koch <konqueror@gmx.de>
2915
2916 * java/io/FileOutputStream.java:
2917 Merged class documentation and authors with classpath.
2918 (FileOutputStream): Partly merged with classpath.
2919 (write): Merged with classpath.
2920 (getChannel): Make it synchronized instead of explicit block in this
2921 method.
2922 * java/io/RandomAccessFile.java:
2923 Merged class documentation and authors with classpath.
2924
2925 2003-03-26 Tom Tromey <tromey@redhat.com>
2926
2927 * java/lang/natRuntime.cc (insertSystemProperties): Set
2928 gnu.classpath.home.url.
2929 * Makefile.in: Rebuilt.
2930 * Makefile.am: Define LIBDIR.
2931
2932 2003-03-25 Michael Koch <konqueror@gmx.de>
2933
2934 * java/io/FileInputStream.java
2935 (read): Renamed b to buf and off to offset.
2936 * java/io/FileOutputStream.java
2937 (ch): Documentation added.
2938 (FileOutputStream): Documentation added.
2939 (getFD): Documentation added.
2940 (write): Documentation added.
2941 (close): Documentation added.
2942 (getChannel): Documentation added.
2943
2944 2003-03-24 Michael Koch <konqueror@gmx.de>
2945
2946 * java/io/DataOutputStream.java
2947 (write): Merged from classpath.
2948 * java/io/File.java:
2949 Merged copyrigth with classpath.
2950 * java/io/FileInputStream.java
2951 (getChannel): Made it synchronized instead of using a synchronized
2952 block.
2953 * java/io/FileOutputStream.java: Reformatted.
2954 * java/io/InputStreamReader.java
2955 (InputStreamReader): Renamed enc to encoding_name.
2956 (close): Merged documentation from classpath.
2957 (getEncoding): Merged documentation from classpath.
2958 (ready): Merged documentation from classpath.
2959 (read): Merged documentation from classpath.
2960 * java/io/LineNumberReader.java
2961 (lineNumber): Made it private.
2962 (LineNumberReader): Use Constant instead of a direct value.
2963 * java/io/OutputStreamWriter.java
2964 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2965 documentation from classpath.
2966 (close): Merged documentation from classpath.
2967 (flush): Merged documentation from classpath.
2968 (write): Merged documentation from classpath.
2969 * java/io/PrintStream.java: Reformatted.
2970
2971 2003-03-24 Michael Koch <konqueror@gmx.de>
2972
2973 * javax/swing/text/ComponentView.java
2974 (getComponent): Must be final.
2975 * javax/swing/tree/DefaultTreeCellRenderer.java:
2976 Reformatted.
2977 * javax/swing/undo/StateEditable.java:
2978 Reformatted.
2979
2980 2003-03-24 Michael Koch <konqueror@gmx.de>
2981
2982 * java/rmi/activation/ActivationInstantiator.java:
2983 Reformatted.
2984 * java/rmi/activation/Activator.java:
2985 Reformatted.
2986 * java/rmi/registry/RegistryHandler.java:
2987 Remerged from classpath.
2988
2989 2003-03-24 Michael Koch <konqueror@gmx.de>
2990
2991 * java/util/Date.java:
2992 Fixed documentation starting tag to make javadoc happy.
2993 * java/util/regex/Pattern.java
2994 (Pattern): Implements Serializable.
2995 * java/util/PatternSyntaxException.java
2996 (serialVersionUID): New member variable.
2997
2998 2003-03-24 Michael Koch <koqnueror@gmx.de>
2999
3000 * java/awt/ContainerOrderFocusTraversalPolicy.java
3001 (getFirstComponent): Implemented.
3002 (getLastComponent): Implemented.
3003 (getDefaultComponent): Implemented.
3004 (setImplicitDownCycleTraversal): Fixed implementation.
3005 * java/awt/Robot.java
3006 (Robot): Added documentation.
3007 * java/awt/Toolkit.java
3008 (getFontList): Deprecated.
3009 (getFontMetrics): Deprecated.
3010 (getPrintJob): Added documentation.
3011 (getSystemSelection): Added documentation.
3012 (getLockingKeyState): Added documentation.
3013 (setLockingKeyState): Added documentation.
3014 (createCustomCursor): Added documentation.
3015 (getBestCursorSize): Added documentation.
3016 (getMaximumCursorColors): Added documentation.
3017 (isFrameStateSupported): Added documentation.
3018
3019 2003-03-24 Michael Koch <konqueror@gmx.de>
3020
3021 * java/io/RandomAccessFile.java:
3022 More little merges with classpath. No code changes.
3023
3024 2003-03-24 Michael Koch <konqueror@gmx.de>
3025
3026 * java/net/natInetAddressNoNet.cc:
3027 Include stddef.h.
3028 * java/net/natPlainDatagramSocketImplNoNet.cc:
3029 Fixed inlcude of java/net/DatagramPacket.h.
3030 * java/net/natPlainSocketImplNoNet.cc:
3031 Include some missing classes.
3032
3033 2003-03-24 Michael Koch <konqueror@gmx.de>
3034
3035 * java/awt/dnd/DropTarget.java
3036 (DropTargetAutoScroller): According to the online documentation, this
3037 is protected, but in reality it is public.
3038 * java/awt/dnd/DropTargetContext.java
3039 (TransferableProxy): According to the online documentation, this
3040 is protected, but in reality it is public.
3041
3042 2003-03-24 Michael Koch <konqueror@gmx.de>
3043
3044 * java/io/DataInputStream.java
3045 (): Wrapped documentation line.
3046 (): Fixed @return tag.
3047 * java/io/DataOutputStream.java
3048 (written): Moved to top of class.
3049 (all methods): Merged documentation from classpath.
3050 * java/io/File.java:
3051 Merged copyright year with classpath.
3052 * java/io/FileInputStream.java
3053 (all methods): Merged documentation from classpath.
3054 * java/io/LineNumberReader.java
3055 (getLineNumber): Fixed @return tag.
3056 * java/io/ObjectInputStream.java.
3057 Reformatted.
3058 * java/io/ObjectOutputStream.java:
3059 Reformatted, fixed some @see tags.
3060 * java/io/OutputStreamWriter.java:
3061 Deleted empty line.
3062 * java/io/Writer.java:
3063 Reformatted.
3064
3065 2003-03-24 Michael Koch <konqueror@gmx.de>
3066
3067 * java/awt/Frame.java
3068 (DEFAULT_CURSOR): Fixed @deprecated tag.
3069 (setCursor): Fixed @deprecated tag.
3070
3071 2003-03-24 Michael Koch <konqueror@gmx.de>
3072
3073 * java/beans/beancontext/BeanContextEvent.java:
3074 Reformated.
3075
3076 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3077
3078 * java/lang/natStringBuffer.cc (regionMatches): New function.
3079 * java/lang/String.java (count): Now package-private.
3080 * java/lang/StringBuffer.java: Merged with Classpath.
3081
3082 2003-03-23 Michael Koch <konqueror@gmx.de>
3083
3084 * java/io/BufferedOutputStream.java:
3085 Reformated.
3086 * java/io/BufferedReader.java:
3087 Reformated.
3088 * java/io/ByteArrayOutputStream.java
3089 (size): Fixed @see tag.
3090 * java/io/CharArrayWriter.java
3091 (size): Fixed @see tag.
3092 * java/io/DataInput.java:
3093 Reformated.
3094 * java/io/DataOutput.java:
3095 Reformated.
3096 * java/io/DataOutputStream.java:
3097 Merged copyright years with classpath.
3098 * java/io/Externalizable.java:
3099 Reformated.
3100 * java/io/FileFilter.java:
3101 Reformated.
3102 * java/io/FileInputStream.java:
3103 Merged copyright years with classpath.
3104 * java/io/FileOutputStream.java:
3105 Merged copyright years with classpath.
3106 * java/io/FilePermission.java
3107 (FilePermission): Replaced @XXX with FIXME:.
3108 * java/io/FileWriter.java:
3109 Reformated.
3110 * java/io/FilenameFilter.java:
3111 Reformated.
3112 * java/io/FilterInputStream.java:
3113 Reformated.
3114 * java/io/FilterOutputStream.java:
3115 Reformated.
3116 * java/io/FilterReader.java:
3117 Reformated.
3118 * java/io/FilterWriter.java:
3119 Reformated.
3120 * java/io/LineNumberInputStream.java
3121 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3122 happy.
3123 (getLineNumber): Fixed @return tag.
3124 * java/io/ObjectInput.java:
3125 Reformated.
3126 * java/io/ObjectOutput.java:
3127 Reformated.
3128 * java/io/ObjectStreamClass.java:
3129 Reformated.
3130 * java/io/PrintStream.java:
3131 Merged copyright years with classpath.
3132 * java/io/PushbackReader.java
3133 (PushbackReader): Replaced @code with @param.
3134 * java/io/SerializablePermission.java:
3135 Reformated.
3136 * java/io/StreamTokenizer.java
3137 (resetSyntax): Fixed @see tag.
3138
3139 2003-03-22 Richard Henderson <rth@redhat.com>
3140
3141 * sysdep/ia64/locks.h: Include ia64intrin.h.
3142 (compare_and_swap): Use __sync_bool_compare_and_swap.
3143 (compare_and_swap_release): Expose ar.ccv assignment.
3144
3145 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3146
3147 * include/posix.h: Add suffix for darwin dynamic libraries.
3148
3149 2003-03-21 Michael Koch <konqueror@gmx.de>
3150
3151 * javax/swing/Action.java
3152 (ACCELERATOR_KEY): New constant.
3153 (ACTION_COMMAND_KEY): Likewise.
3154 (MNEMONIC_KEY): Likewise.
3155 * javax/swing/UnsupportedLookAndFeelException.java
3156 (UnsupportedLookAndFeelException): Must be public.
3157 * javax/swing/WindowConstants.java
3158 (EXIT_ON_CLOSE): New constant.
3159 * javax/swing/text/BadLocationException.java
3160 (offset): New member variable.
3161 (BadLocationException): New implementation, documentation added.
3162 (offsetRequested): New method.
3163 * javax/swing/text/Caret.java:
3164 Reformated.
3165 * javax/swing/text/Document.java:
3166 Reformated.
3167
3168 2003-03-21 Michael Koch <konqueror@gmx.de>
3169
3170 * java/rmi/activation/Activatable.java
3171 (serialVersionUID): New member variable.
3172 * java/rmi/activation/ActivationGroup.java
3173 (serialVersionUID): New member variable.
3174 * java/rmi/activation/ActivationGroupDesc.java
3175 (serialVersionUID): New member variable.
3176 * java/rmi/registry/Registry.java:
3177 Reformated.
3178 (Registry): Deprecated.
3179 * java/rmi/server/LoaderHandler.java
3180 Reformated.
3181 (LoaderHandler): Deprecated.
3182 * java/rmi/server/LogStream.java
3183 Reformated.
3184 (LogStream): Deprecated.
3185 * java/rmi/server/Operation.java
3186 (Operation): Deprecated.
3187 * java/rmi/server/RMIFailureHandler.java:
3188 Reformated.
3189 * java/rmi/server/RMISocketFactory.java:
3190 Reformated.
3191 * java/rmi/server/RemoteCall.java
3192 (RemoteCall): Deprecated.
3193 * java/rmi/server/RemoteStub.java:
3194 Reformated.
3195 * java/rmi/server/Skeleton.java
3196 Reformated.
3197 (Skeleton): Deprecated.
3198
3199 2003-03-21 Michael Koch <konqueror@gmx.de>
3200
3201 * java/io/LineNumberReader.java
3202 (LineNumberReader): Merged documentation with classpath.
3203 (getLineNumber): Likewise.
3204 (setLineNumber): Likewise.
3205 (mark): Likewise.
3206 (reset): Likewise.
3207 (read): Likewise.
3208 (readLine): Likewise.
3209 (skip): Likewise.
3210
3211 2003-03-21 Michael Koch <konqueror@gmx.de>
3212
3213 * java/rmi/RMISecurityManager.java
3214 (checkAccept): Removed.
3215 (checkAccess): Likewise.
3216 (checkAccess): Likewise.
3217 (checkAwtEventQueueAccess): Likewise.
3218 (checkConnect): Likewise.
3219 (checkCreateClassLoader): Likewise.
3220 (checkDelete): Likewise.
3221 (checkExec): Likewise.
3222 (checkExit): Likewise.
3223 (checkLink): Likewise.
3224 (checkListen): Likewise.
3225 (checkMemberAccess): Likewise.
3226 (checkMulticast): Likewise.
3227 (checkPackageAccess): Likewise.
3228 (checkPackageDefinition): Likewise.
3229 (checkPermission): Likewise.
3230 (checkPrintJobAccess): Likewise.
3231 (checkPropertiesAccess): Likewise.
3232 (checkPropertyAccess): Likewise.
3233 (checkRead): Likewise.
3234 (checkSecurityAccess): Likewise.
3235 (checkSetFactory): Likewise.
3236 (checkSystemClipboardAccess): Likewise.
3237 (checkTopLevelWindow): Likewise.
3238 (checkWrite): Likewise.
3239
3240 2003-03-20 Michael Koch <konqueror@gmx.de>
3241
3242 * gnu/java/nio/FileChannelImpl.java
3243 (address): Removed.
3244 (map_address): New member variable.
3245 (length): Make it package private.
3246 (fd): Make it package private.
3247 (buf): Make it package private.
3248 (file_obj): Make it package private.
3249 (FileChannelImpl): New constructor.
3250 (nio_mmap_file): Use RawData instead of long.
3251 (nio_munmap_file): Use RawData instead of long.
3252 (nio_msync): Use RawData instead of long.
3253 (implCloseChannel): New implementation using map_address.
3254 (read): Reformated.
3255 (map): Implemented.
3256 (create_direct_mapped_buffer): Implemented, use RawData, throws
3257 IOException.
3258 (force): Use map_address instead of address.
3259 * gnu/java/nio/MappedByteFileBuffer.java
3260 (address): Removed.
3261 (map_address): New member variable.
3262 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3263 (several methods): Use map_address instead of address, replaced long
3264 with RawData where appropriate.
3265 * gnu/java/nio/natFileChannelImpl.cc
3266 (nio_mmap_file): Replaced long with RawData.
3267 (nio_munmap_file): Replaced long with RawData.
3268 (nio_msync): Replaced long with RawData.
3269 * gnu/java/nio/natMappedByteFileBuffer.cc
3270 (several methods): Replaced long with RawData where appropriate.
3271
3272 2003-03-20 Michael Koch <konqueror@gmx.de>
3273
3274 * java/net/InetAddress.java,
3275 java/net/JarURLConnection.java,
3276 java/net/PlainDatagramSocketImpl.java,
3277 java/net/PlainSocketImpl.java,
3278 java/net/URLConnection.java:
3279 Merged copyright statements with classpath for easier merging.
3280
3281 2003-03-20 Michael Koch <konqueror@gmx.de>
3282
3283 * java/io/FileInputStream.java
3284 (getChannel): New implementation.
3285 * java/io/FileOutputStream.java
3286 (ch): New member variable.
3287 (getChannel): Implemented.
3288 * java/io/RandomAccessFile.java
3289 (RandomAccessFile): Throws FileNotFoundException instead of
3290 IOException.
3291 (getChannel): New method.
3292 (ch): New member variable.
3293
3294 2003-03-20 Michael Koch <konqueror@gmx.de>
3295
3296 * java/io/DataOutputStream.java,
3297 java/io/File.java,
3298 java/io/FileInputStream.java,
3299 java/io/FileOutputStream.java,
3300 java/io/InputStreamReader.java,
3301 java/io/LineNumberReader.java,
3302 java/io/OutputStreamWriter.java,
3303 java/io/PrintStream.java,
3304 java/io/RandomAccessFile.java:
3305 Merged copyright statements with classpath for easier merging.
3306
3307 2003-03-19 Michael Koch <konqueror@gmx.de>
3308
3309 * java/lang/Process.java:
3310 Merged from classpath.
3311
3312 2003-03-19 Michael Koch <konqueror@gmx.de>
3313
3314 * java/io/FileOutputStream.java
3315 (FileOutputStream): New constructor, merged from classpath.
3316 * java/io/FileWriter.java
3317 (FileWriter): New constructor, merged from classpath.
3318
3319 2003-03-18 Michael Koch <konqueror@gmx.de>
3320
3321 * java/awt/ScrollPane.java
3322 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3323 (getViewportSize): Likewise.
3324 (addNotify): Likewise.
3325 (removeNotify): Likewise.
3326 * java/awt/ScrollPaneAdjustable.java
3327 (ScrollPaneAdjustable): No longer extends Scrollbar.
3328 * java/beans/beancontext/BeanContextServices.java:
3329 Reformated.
3330 (getService): Added throws TooManyListenersException;
3331 * java/beans/beancontext/BeanContextServicesSupport.java:
3332 Reformated.
3333
3334 2003-03-18 Michael Koch <konqueror@gmx.de>
3335
3336 * java/io/BufferedOutputStream.java,
3337 java/io/DataInput.java,
3338 java/io/DataInputStream.java,
3339 java/io/DataOutput.java,
3340 java/io/Externalizable.java:
3341 More merges from classpath.
3342
3343 2003-03-18 Michael Koch <konqueror@gmx.de>
3344
3345 * configure.in: Fixed links to platform dependant java.net files.
3346 * configure: Regenerated.
3347 * java/net/natInetAddress.cc,
3348 java/net/natNetworkInterface.cc,
3349 java/net/natPlainDatagramSocketImpl.cc,
3350 java/net/natPlainSocketImpl.cc:
3351 Removed.
3352
3353 2003-03-18 Michael Koch <konqueror@gmx.de>
3354
3355 * configure.in: Create links to architecture dependent files,
3356 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3357 * configure: Regenerated.
3358 * java/net/natInetAddressNoNet.cc,
3359 java/net/natInetAddressPosix.cc,
3360 java/net/natInetAddressWin32.cc,
3361 java/net/natNetworkInterfaceNoNet.cc,
3362 java/net/natNetworkInterfacePosix.cc,
3363 java/net/natNetworkInterfaceWin32.cc,
3364 java/net/natPlainDatagramSocketImplNoNet.cc,
3365 java/net/natPlainDatagramSocketImplPosix.cc,
3366 java/net/natPlainDatagramSocketImplWin32.cc,
3367 java/net/natPlainSocketImplNoNet.cc,
3368 java/net/natPlainSocketImplPosix.cc,
3369 java/net/natPlainSocketImplWin32.cc: New files.
3370
3371 2003-03-18 Michael Koch <konqueror@gmx.de>
3372
3373 * java/io/BufferedReader.java,
3374 java/io/BufferedWriter.java,
3375 java/io/ByteArrayOutputStream.java,
3376 java/io/FileFilter.java,
3377 java/io/FilePermission.java,
3378 java/io/FileReader.java,
3379 java/io/FileWriter.java,
3380 java/io/FilenameFilter.java,
3381 java/io/FilterInputStream.java,
3382 java/io/FilterOutputStream.java,
3383 java/io/FilterReader.java,
3384 java/io/FilterWriter.java,
3385 java/io/ObjectInput.java,
3386 java/io/ObjectInputValidation.java,
3387 java/io/ObjectOutput.java,
3388 java/io/ObjectStreamField.java,
3389 java/io/PipedInputStream.java,
3390 java/io/PipedReader.java,
3391 java/io/PrintWriter.java,
3392 java/io/PushbackReader.java,
3393 java/io/Reader.java,
3394 java/io/SerializablePermission.java,
3395 java/io/StringReader.java,
3396 java/io/Writer.java:
3397 Merged from classpath.
3398
3399 2003-03-17 Michael Koch <konqueror@gmx.de>
3400
3401 * java/awt/ScrollPaneAdjustable.java:
3402 Compile fixes.
3403
3404 2003-03-17 Michael Koch <konqueror@gmx.de>
3405
3406 * java/net/DatagramSocket.java
3407 (connect): Fixed comment.
3408 * java/nio/ByteBuffer.java
3409 (hasArray): Fixed comment.
3410
3411 2003-03-17 Michael Koch <konqueror@gmx.de>
3412
3413 * java/beans/Beans.java:
3414 Explicitely import classes not packages.
3415 * java/beans/FeatureDescriptor.java
3416 (preferred): New member variable.
3417 (isPreferred): New method.
3418 (setPreferred): New method.
3419 * java/beans/PropertyEditorManager.java:
3420 Explicitely import used classes.
3421 * java/beans/beancontext/BeanContextChild.java:
3422 Added line wrapping.
3423 * java/beans/beancontext/BeanContextChildSupport.java:
3424 Reindented.
3425 * java/beans/beancontext/BeanContextEvent.java:
3426 Reindented.
3427
3428 2003-03-17 Michael Koch <konqueror@gmx.de>
3429
3430 * java/awt/Dialog.java
3431 (Dialog): New constructor, changed implementations, added
3432 documentation.
3433 * java/awt/ScrollPaneAdjustable.java
3434 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3435 Serializable.
3436 (serialVersionUID): New member variable.
3437 (sp): New member variable.
3438 (orientation): New member variable.
3439 (value): New member variable.
3440 (minimum): New member variable.
3441 (maximum): New member variable.
3442 (visibleAmount): New member variable.
3443 (unitIncrement): New member variable.
3444 (blockIncrement): New member variable.
3445 (AdjustmentListener): New member variable.
3446 (ScrollPaneAdjustable): New implementation.
3447 (addAdjustmentListener): New method.
3448 (removeAdjustmentListener): New method.
3449 (getAdjustmentListeners): New method.
3450 (getBlockIncrement): New method.
3451 (getMaximum): New method.
3452 (getMinimum): New method.
3453 (getOrientation): New method.
3454 (getUnitIncrement): New method.
3455 (getValue): New method.
3456 (getVisibleAmount): New method.
3457 (setBlockIncrement): New method.
3458 (setMaximum): Implemented.
3459 (setMinimum): Implemented.
3460 (setUnitIncrement): New method.
3461 (setValue): New method.
3462 (setVisibleAmount): Implemented.
3463 (paramString): New stubbed method.
3464 * java/awt/Window.java
3465 (show): Call setVisible().
3466 (hide): Call setVisible().
3467 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3468 and WINDOW_STATE_CHANGED.
3469 (processWindowFocusEvent): New method.
3470 (processWindowStateEvent): New method.
3471 (postEvent): Deprecated.
3472 (applyResourceBundle): Deprecated.
3473 * java/awt/datatransfer/DataFlavor.java
3474 (DataFlavor): Doesn't thow ClassNotFoundException.
3475
3476 2003-03-17 Michael Koch
3477
3478 * javax/print/attribute/Attribute.java,
3479 javax/print/attribute/AttributeSet.java,
3480 javax/print/attribute/PrintRequestAttributeSet.java:
3481 New files.
3482 * Makefile.am
3483 (javax_source_files): Added new files:
3484 javax/print/attribute/Attribute.java
3485 javax/print/attribute/AttributeSet.java
3486 javax/print/attribute/PrintRequestAttributeSet.java
3487 * Makefile.in: Regenerated.
3488
3489 2003-03-17 Michael Koch
3490
3491 * javax/print/attribute/Attribute.java,
3492 javax/print/attribute/AttributeSet.java,
3493 javax/print/attribute/PrintRequestAttributeSet.java:
3494 New files.
3495 * Makefile.am
3496 (awt_java_source_files): Added new files:
3497 javax/print/attribute/Attribute.java
3498 javax/print/attribute/AttributeSet.java
3499 javax/print/attribute/PrintRequestAttributeSet.java
3500 * Makefile.in: Regenerated.
3501
3502 2003-03-16 Tom Tromey <tromey@redhat.com>
3503
3504 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3505 Include platform.h.
3506 * java/lang/natRuntime.cc (insertSystemProperties): Use
3507 _Jv_platform_path_separator.
3508 (nativeGetLibname): Use _Jv_platform_file_separator.
3509 (_load): Use _Jv_platform_onload_names.
3510 (onload_names): New global.
3511 * include/win32.h (_Jv_platform_file_separator): New define.
3512 (_Jv_platform_path_separator): Likewise.
3513 (_Jv_platform_onload_names): Likewise.
3514 (_Jv_platform_ffi_abi): Likewise.
3515 * include/posix.h (_Jv_platform_file_separator): New define.
3516 (_Jv_platform_path_separator): Likewise.
3517 (_Jv_platform_onload_names): Likewise.
3518 (_Jv_platform_ffi_abi): Likewise.
3519
3520 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3521
3522 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3523
3524 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3525
3526 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3527 hierarchy loop.
3528 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3529 list to Object,ObjectStreamClass, moved callReadMethod code up into
3530 readObject and added Class argument to all setXxxField calls.
3531 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3532 consistent with ObjectOutputStream and to facilitate caching the
3533 Method in the future.
3534 (setBooleanField): Added Class argument.
3535 (setByteField): Likewise.
3536 (setCharField): Likewise.
3537 (setDoubleField): Likewise.
3538 (setFloatField): Likewise.
3539 (setIntField): Likewise.
3540 (setLongField): Likewise.
3541 (setShortField): Likewise.
3542 (setObjectField): Likewise.
3543 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3544 class hierarchy loop.
3545 (defaultWriteObject): Call writeFields with new argument list.
3546 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3547 list to Object,ObjectStreamClass, moved callWriteMethod up into
3548 writeObject and added Class argument to all getXxxField calls.
3549 (callWriteMethod): Added ObjectStreamClass argument to be able to
3550 get the proper class to call getMethod on (each class can have (or
3551 not have) its own writeObject method).
3552 (getBooleanField): Added Class argument.
3553 (getByteField): Likewise.
3554 (getCharField): Likewise.
3555 (getDoubleField): Likewise.
3556 (getFloatField): Likewise.
3557 (getIntField): Likewise.
3558 (getLongField): Likewise.
3559 (getShortField): Likewise.
3560 (getObjectField): Likewise.
3561 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3562 facilitate caching the Method object in the future.
3563
3564 2003-03-12 Andreas Schwab <schwab@suse.de>
3565
3566 * configure.in: Avoid trailing /. in toolexeclibdir.
3567 * configure: Rebuilt.
3568
3569 2003-03-11 Michael Koch <konqueror@gmx.de>
3570
3571 * gnu/java/nio/ByteBufferImpl.java
3572 (putInt): Use limit() instead of limit.
3573 * gnu/java/nio/CharBufferImpl.java
3574 (slice): Fixed implementation.
3575 (subSequence): Better bounds checking.
3576 * gnu/java/nio/MappedByteFileBuffer.java:
3577 Import all needed classes directly.
3578 * java/nio/ByteBuffer.java
3579 (hashCode): New dummy method.
3580 * java/nio/CharBuffer.java
3581 (array_offset): New member variable.
3582 (hasArray): Fixed documentation.
3583 (arrayOffset): Return array_offset.
3584
3585 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3586
3587 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3588 setter; made return value of getter const char* instead of char*
3589 * prims.cc: removed all references to _Jv_ThisExecutable().
3590 These are in the platform-specific sections now.
3591 * posix.cc: define platform-specific _Jv_ThisExecutable().
3592 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3593 * win32.cc: define platform-specific _Jv_ThisExecutable()
3594 using GetModuleFilename()
3595 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3596 to argv[0] instead of _Jv_ThisExecutable()
3597
3598 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3599
3600 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3601 that is set if we are using addr2name.awk instead of addr2line.
3602 (NameFinder): Set usingAddr2name if using addr2name.awk.
3603 (getExternalLabel): New native method to convert a method
3604 name to an external label.
3605 (lookup): Convert name given by addr2line to an external label
3606 before demangling.
3607
3608 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3609 constant representing the prefix attached to method names to
3610 convert them to an external label.
3611 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3612 using LABEL_PREFIX.
3613
3614 2003-03-10 Tom Tromey <tromey@redhat.com>
3615
3616 * Makefile.in: Rebuilt.
3617 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3618 (JC1FLAGS): Removed -Wno-deprecated.
3619
3620 2003-03-10 Michael Koch <konqueror@gmx.de>
3621
3622 * java/nio/ByteOrder.java
3623 (nativeOrder): Working implementation, added documentation.
3624 (toString): Added documentation.
3625
3626 2003-03-10 Michael Koch <konqueror@gmx.de>
3627
3628 * java/net/DatagramSocket.java,
3629 java/net/MulticastSocket.java,
3630 java/net/Socket.java,
3631 java/net/URL.java,
3632 java/net/URLConnection.java:
3633 Fixed some documentation tags to make javadoc and friends happy.
3634
3635 2003-03-10 Michael Koch <koqnueror@gmx.de>
3636
3637 * java/beans/beancontext/BeanContextServicesSupport.java,
3638 java/beans/beancontext/BeanContextSupport.java: New files.
3639 * Makefile.am
3640 (awt_source_files): Added new files.
3641 * Makefile.in: Regenerated.
3642
3643 2003-03-10 Michael Koch <konqueror@gmx.de>
3644
3645 * java/awt/FocusTraversalPolicy.java
3646 (FocusTraversalPolicy): Documentation added.
3647 (getComponentAfter): Documentation added.
3648 (getComponentBefore): Documentation added.
3649 (getFirstComponent): Documentation added.
3650 (getLastComponent): Documentation added.
3651 (getDefaultComponent): Documentation added.
3652 (getInitialComponent): Documentation added.
3653 * java/awt/ScrollPaneAdjustable.java
3654 (sp): New member variable.
3655 (orientation): New member variable.
3656 (value): New member variable.
3657 (minimum): New member variable.
3658 (maximum): New member variable.
3659 (visibleAmount): New member variable.
3660 (unitIncrement): New member variable.
3661 (blockIncrement): New member variable.
3662 (adjustmentListener): New member variable.
3663 (ScrollPaneAdjustable): Rewrote.
3664 (addAdjustmentListener): New method.
3665 (removeAdjustmentListener): New method.
3666 (getAdjustmentListeners): New method.
3667 (getBlockIncrement): New method.
3668 (getMaximum): New method.
3669 (getMinimum): New method.
3670 (getOrientation): New method.
3671 (getUnitIncrement): New method.
3672 (getValue): New method.
3673 (getVisibleAmount): New method.
3674 (setBlockIncrement): New method.
3675 (setUnitIncrement): New method.
3676 (setMaximum): Implemented.
3677 (setMinimum): Implemented.
3678 (setValue): New method.
3679 (setVisibleAmount): Implemented.
3680 (paramString): New method.
3681 * java/awt/Window.java
3682 (show): Use setVisible(true) instead of super.show().
3683 (hide): Use sevVisible(false) instead of super.hide().
3684 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3685 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3686 (postEvent): Deprecated.
3687 (applyResourceBundle): Deprecated.
3688 (processWindowFocusEvent): New method.
3689 (processWindowStateEvent): New method.
3690 * java/awt/datatransfer/DataFlavor.java: Reindented.
3691 * java/awt/font/TextHitInfo.java
3692 (charIndex): New member variable.
3693 (leadingEdge): New member variable.
3694 (TextHitInfo): New constructor.
3695 (getCharIndex): Implemented.
3696 (isLeadingEdge): Implemented.
3697 (getInsertionIndex): Implemented.
3698 (hashCode): Access charIndex directly.
3699 (equals): Reformated.
3700 (leading): Implemented.
3701 (trailing): Implemented.
3702 (beforeOffset): Implemented.
3703 (afterOffset): Implemented.
3704 (getOtherHit): Implemented.
3705 (getOffsetHit): Implemented.
3706 (toString): Implemented.
3707 * java/awt/image/BufferedImage.java
3708 (BufferedImage): Implements WritableRenderedImage.
3709 (observers): New member variable.
3710 (addTileObserver): New method.
3711 (removeTileObserver): New method.
3712
3713 2003-03-09 Tom Tromey <tromey@redhat.com>
3714
3715 PR libgcj/9934:
3716 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3717 to lseek. Return 0 if we can't compute the value.
3718
3719 2003-03-03 Michael Koch <konqueror@gmx.de>
3720
3721 * java/net/NetworkInterface.java: Merged with classpath.
3722
3723 2003-03-03 Tom Tromey <tromey@redhat.com>
3724
3725 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3726 of bytecode.
3727 (handle_ret_insn): Fail if returning to jsr that appears at end of
3728 bytecode.
3729
3730 2003-03-03 Michael Koch <konqueror@gmx.de>
3731
3732 * Makefile.am
3733 (ordinary_java_source_files):
3734 Added gnu/java/nio/MappedByteFileBuffer.java.
3735 (nat_source_files):
3736 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3737 * Makefile.in: Regenerated.
3738
3739 2003-03-03 Michael Koch <konqueror@gmx.de>
3740
3741 * java/net/DatagramSocket.java
3742 (connect): Merged comment from classpath.
3743 (receive): Merged documentation from classpath.
3744 * java/net/Socket.java
3745 (setSoTimeout): Clarified documentation.
3746 * java/net/URL.java
3747 (getPath): Merged from classpath.
3748 (getUserInfo): Merged from classpath.
3749 (getQuery): Merged from classpath.
3750 * java/net/URLStreamHandler.java
3751 (toExternalForm): Merged from classpath.
3752
3753 2003-03-02 Mark Wielaard <mark@klomp.org>
3754
3755 * java/util/Properties.java (load): Only skip line if the first
3756 character is a comment, whitespaces don't count.
3757
3758 2003-03-02 Michael Koch <konqueror@gmx.de>
3759
3760 * java/net/NetPermission.java:
3761 Merged copyright with classpath.
3762
3763 2003-03-02 Michael Koch <konqueror@gmx.de>
3764
3765 * java/lang/Package.java:
3766 Remerged from classpath.
3767
3768 2003-03-02 Michael Koch <konqueror@gmx.de>
3769
3770 * java/net/HttpURLConnection.java
3771 (HTTP_SERVER_ERROR): Deprecated.
3772 * java/net/MulticastSocket.java
3773 (send): Replaced checkMulticast with appropriate checkPermission call,
3774 deprecated.
3775 * java/net/URLDecoder.java
3776 (decode): Deprecated.
3777 * java/net/URLEncoder.java
3778 (encode): Deprecated.
3779
3780 2003-03-02 Michael Koch <konqueror@gmx.de>
3781
3782 * javax/swing/text/Caret.java
3783 (getMagicCaretPosition): Fixed typo in method name.
3784 * javax/swing/text/DefaultCaret.java
3785 (getMagicCaretPosition): Fixed typo in method name.
3786
3787 2003-03-02 Michael Koch <konqueror@gmx.de>
3788
3789 * java/awt/List.java
3790 (setMultipleSelections): Deprecated.
3791 (delItem): Deprecated.
3792 * java/awt/MenuComponent.java
3793 (getPeer): Deprecated.
3794 * java/awt/ScrollPane.java
3795 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3796 * java/awt/dnd/MouseDragGestureRecognizer.java
3797 (mouseClicked): Added comment.
3798 (mousePressed): Added comment.
3799 (mouseReleased): Added comment.
3800 (mouseEntered): Added comment.
3801 (mouseExited): Added comment.
3802 (mouseDragged): Added comment.
3803 (mouseMoved): Added comment.
3804 * java/awt/event/KeyEvent.java
3805 (KeyEvent): Deprecated.
3806 (setModifiers): Deprecated.
3807
3808 2003-03-02 Michael Koch <konqueror@gmx.de>
3809
3810 * gnu/java/nio/FileChannelImpl.java
3811 (fd): Type FileDescriptor instead of int.
3812 (lengthInternal): Removed.
3813 (FileChannelImpl): Fixed arguments, check type of file object.
3814 (size): Made it native.
3815 (implPosition): New native method.
3816 (implTruncate): New native method.
3817 (position): Implemented.
3818 (truncate): Implemented.
3819 (nio_mmap_file): Changed arguments.
3820 (nio_munmap_file): Changed arguments.
3821 (nio_msync): Changed arguments.
3822 * gnu/java/nio/natFileChannelImpl.cc
3823 (lengthInternal): Removed.
3824 (size): New method.
3825 (implPosition): New method.
3826 (implTruncate): New method.
3827 (nio_mmap_file): Changed arguments.
3828 (nio_munmap_file): Changed arguments.
3829 (nio_msync): Changed arguments.
3830
3831 2003-03-02 Michael Koch <konqueror@gmx.de>
3832
3833 * java/awt/dnd/DropTargetContext.java:
3834 Compile fix: Forgot to commit import.
3835
3836 2003-03-02 Michael Koch <konqueror@gmx.de>
3837
3838 * java/awt/Component.java,
3839 java/awt/ScrollPane.java:
3840 Fixed typos.
3841
3842 2003-03-02 Michael Koch <konqueror@gmx.de>
3843
3844 * java/awt/dnd/DnDEventMulticaster.java: New file.
3845 * java/awt/dnd/DragSource.java
3846 (flavorMap): New member variable.
3847 (dragSourceListener): New member variable.
3848 (dragSourceMotionListener): New member variable.
3849 (getFlavorMap): Implemented.
3850 (createDragGestureRecognizer): Implemented.
3851 (addDragSourceListener): Implemented.
3852 (removeDragSourceListener): Implemented.
3853 (getDragSourceListeners): Implemented.
3854 (addDragSourceMotionListener): Implemented.
3855 (removeDragSourceMotionListener): Implemented.
3856 (getDragSourceMotionListeners): Implemented.
3857 (getListeners): Implemented.
3858 * java/awt/dnd/DragSourceContext.java
3859 (peer): New member variable.
3860 (cursor): New member variable.
3861 (transferable): New member variable.
3862 (trigger): New member variable.
3863 (dragSourceListener): New member variable.
3864 (image): New member variable.
3865 (offset): New member variable.
3866 (DragSourceContext): Implemented.
3867 (getDragSource): Implemented.
3868 (getComponent): Implemented.
3869 (getTrigger): Implemented.
3870 (getSourceActions): Implemented.
3871 (setCursor): Implemented.
3872 (getCursor): Implemented.
3873 (addDragSourceListener): Implemented.
3874 (removeDragSourceListener): Implemented.
3875 (getTransferable): Implemented.
3876 * java/awt/dnd/DropTarget.java
3877 (DropTargetAutoScroller.component): New member variable.
3878 (DropTargetAutoScroller.point): New member variable.
3879 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3880 (DropTargetAutoScroller.updateLocation): Implemented.
3881 (active): Renamed from isActive, defaults to true now.
3882 (component): New member variable.
3883 (flavorMap): New member variable.
3884 (actions): New member variable.
3885 (dropTargetContext): New member variable.
3886 (dropTargetListener): New member variable.
3887 (DropTarget): Implemented.
3888 (getComponent): Implemented.
3889 (setComponent): Implemented.
3890 (setDefaultActions): Implemented.
3891 (getDefaultActions): Implemented.
3892 (setActive): Use active instead of isActive.
3893 (isActive): Use active instead of isActive.
3894 (addDropTargetListener): Implemented.
3895 (removeDropTargetListener): Implemented.
3896 (getFlavorMap): Implemented.
3897 (setFlavorMap): Implemented.
3898 (getDropTargetContext): Implemented.
3899 (createDropTargetContext): Implemented.
3900 (createDropTargetAutoScroller): Implemented.
3901 * java/awt/dnd/DropTargetContext.java
3902 (TransferableProxy.getTransferDataFlavors): Implemented.
3903 (TransferableProxy.isDataFlavorSupported): Implemented.
3904 (TransferableProxy.getTransferData): Implemented.
3905 (dropTarget): New member variable.
3906 (dtcp): New member variable.
3907 (DropTargetContext): New package private constructor.
3908 (getDropTarget): Implemented.
3909 (getComponent): Implemented.
3910 (addNotify): Implemented.
3911 (removeNotify): Implemented.
3912 (getCurrentDataFlavorsAsList): Implemented.
3913 (isDataFlavorSupported): Implemented.
3914 * java/awt/dnd/MouseDragGestureRecognizer.java
3915 (registerListeners): Implemented.
3916 (unregisterListeners): Implemented.
3917 * Makefile.am
3918 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3919 * Makefile.in: Regenerated.
3920
3921 2003-03-02 Michael Koch <konqueror@gmx.de>
3922
3923 * java/awt/Component.java
3924 (eventTypeEnabled): New method.
3925 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3926 * java/awt/Container.java
3927 (changeSupport): New member variable.
3928 (addPropertyChangeListener): New methods.
3929 * java/awt/ContainerOrderFocusTraversalPolicy.java
3930 (ContainerOrderFocusTraversalPolicy): Added comment.
3931 (getComponentAfter): Throw exception, documentation added.
3932 (getComponentBefore): Throw exception, documentation added.
3933 (getFirstComponent): Throw exception, documentation added.
3934 (getLastComponent): Throw exception, documentation added.
3935 (getDefaultComponent): Throw exception, documentation added.
3936 * java/awt/EventQueue.java: Reindented.
3937 * java/awt/FocusTraversalPolicy.java:
3938 (FocusTraversalPolicy): Added comment.
3939 (getComponentAfter): Documentation added.
3940 (getComponentBefore): Documentation added.
3941 (getFirstComponent): Documentation added.
3942 (getLastComponent): Documentation added.
3943 (getDefaultComponent): Documentation added.
3944 (getInitialComponent): Documentation added.
3945 * java/awt/ScrollPane.java
3946 (wheelScrollingEnabled): New member variable.
3947 (ScrollPane): Initialize wheelScollingEnabled.
3948 (eventTypeEnabled): New method.
3949 (isWheelScrollingEnabled): New method.
3950 (setWheelScrollingEnabled): New method.
3951
3952 2003-03-02 Michael Koch <konqueror@gmx.de>
3953
3954 * java/net/DatagramSocket.java
3955 (closed): New member variable.
3956 (close): Use closed variable.
3957 (getInetAddress): No need to call isConnected().
3958 (getPort): No need to call isConnected().
3959 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3960 (isClosed): Reimplemented.
3961
3962 2003-03-02 Michael Koch <konqueror@gmx.de>
3963
3964 * configure.in: Added check for memory mapping of files.
3965 * configure: Regenerated.
3966 * config.h.in: Regenerated.
3967
3968 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3969
3970 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3971 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3972
3973 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3974
3975 * java/io/File.java (normalizePath): Remove trailing separator
3976 on Windows only if path is not of the form "x:\".
3977
3978 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3979 (java::io::File::attr): Change formatting a bit and use
3980 WIN32_EPOCH_MILLIS instead of magic numbers.
3981 (java::io::File::isAbsolute): Path must have at least 3
3982 characters for a UNC network path.
3983 (java::io::File::init_native): Define.
3984 (java::io::File::performCreate): Likewise.
3985 (java::io::File::performSetReadOnly): Likewise.
3986 (java::io::File::performSetLastModified): Likewise.
3987 (java::io::File::performListRoots): Likewise.
3988
3989 2003-03-01 Tom Tromey <tromey@redhat.com>
3990
3991 * java/lang/natObject.cc: Don't include assert.h.
3992 (heavy_lock_obj_finalization_proc): Use JvAssert.
3993 (remove_all_heavy): Likewise.
3994 (_Jv_MonitorEnter): Likewise.
3995 (_Jv_MonitorExit): Likewise.
3996 (wait): Likewise.
3997
3998 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3999
4000 * java/io/File (getAbsolutePath): Prefix drive specifier on
4001 Windows for paths starting with a '\'.
4002 (toURL): Make URL more consistent with what Sun's JDK returns.
4003
4004 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4005 true only if the path is a UNC network path or it starts with a
4006 drive specifier.
4007
4008 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4009 Be prepared to handle either '/' or '\\' in the file path for
4010 Windows if using the "file" protocol.
4011 Canonicalise the file path if using a relative path in the given
4012 context and the "file" protocol.
4013
4014 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4015
4016 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4017 program array element passed to CreateProcess.
4018
4019 2003-03-01 Tom Tromey <tromey@redhat.com>
4020
4021 * java/rmi/registry/RegistryHandler.java: Deprecate.
4022
4023 2003-03-01 Tom Tromey <tromey@redhat.com>
4024
4025 * javax/accessibility/AccessibleEditableText.java,
4026 javax/accessibility/AccessibleHyperlink.java: New versions from
4027 Classpath.
4028
4029 * gnu/java/locale/LocaleInformation_af_ZA.java,
4030 gnu/java/locale/LocaleInformation_ar_AE.java,
4031 gnu/java/locale/LocaleInformation_ar_BH.java,
4032 gnu/java/locale/LocaleInformation_ar_DZ.java,
4033 gnu/java/locale/LocaleInformation_ar_EG.java,
4034 gnu/java/locale/LocaleInformation_ar_IN.java,
4035 gnu/java/locale/LocaleInformation_ar_IQ.java,
4036 gnu/java/locale/LocaleInformation_ar_JO.java,
4037 gnu/java/locale/LocaleInformation_ar_KW.java,
4038 gnu/java/locale/LocaleInformation_ar_LB.java,
4039 gnu/java/locale/LocaleInformation_ar_LY.java,
4040 gnu/java/locale/LocaleInformation_ar_MA.java,
4041 gnu/java/locale/LocaleInformation_ar_OM.java,
4042 gnu/java/locale/LocaleInformation_ar_QA.java,
4043 gnu/java/locale/LocaleInformation_ar_SD.java,
4044 gnu/java/locale/LocaleInformation_ar_SY.java,
4045 gnu/java/locale/LocaleInformation_ar_TN.java,
4046 gnu/java/locale/LocaleInformation_ar_YE.java,
4047 gnu/java/locale/LocaleInformation_be_BY.java,
4048 gnu/java/locale/LocaleInformation_bn_IN.java,
4049 gnu/java/locale/LocaleInformation_br_FR.java,
4050 gnu/java/locale/LocaleInformation_bs_BA.java,
4051 gnu/java/locale/LocaleInformation_ca_ES.java,
4052 gnu/java/locale/LocaleInformation_cs_CZ.java,
4053 gnu/java/locale/LocaleInformation_cy_GB.java,
4054 gnu/java/locale/LocaleInformation_da_DK.java,
4055 gnu/java/locale/LocaleInformation_de_AT.java,
4056 gnu/java/locale/LocaleInformation_de_BE.java,
4057 gnu/java/locale/LocaleInformation_de_CH.java,
4058 gnu/java/locale/LocaleInformation_de_DE.java,
4059 gnu/java/locale/LocaleInformation_de_LU.java,
4060 gnu/java/locale/LocaleInformation_el_GR.java,
4061 gnu/java/locale/LocaleInformation_en_AU.java,
4062 gnu/java/locale/LocaleInformation_en_BW.java,
4063 gnu/java/locale/LocaleInformation_en_CA.java,
4064 gnu/java/locale/LocaleInformation_en_DK.java,
4065 gnu/java/locale/LocaleInformation_en_GB.java,
4066 gnu/java/locale/LocaleInformation_en_HK.java,
4067 gnu/java/locale/LocaleInformation_en_IE.java,
4068 gnu/java/locale/LocaleInformation_en_IN.java,
4069 gnu/java/locale/LocaleInformation_en_NZ.java,
4070 gnu/java/locale/LocaleInformation_en_PH.java,
4071 gnu/java/locale/LocaleInformation_en_SG.java,
4072 gnu/java/locale/LocaleInformation_en_US.java,
4073 gnu/java/locale/LocaleInformation_en_ZA.java,
4074 gnu/java/locale/LocaleInformation_en_ZW.java,
4075 gnu/java/locale/LocaleInformation_es_AR.java,
4076 gnu/java/locale/LocaleInformation_es_BO.java,
4077 gnu/java/locale/LocaleInformation_es_CL.java,
4078 gnu/java/locale/LocaleInformation_es_CO.java,
4079 gnu/java/locale/LocaleInformation_es_CR.java,
4080 gnu/java/locale/LocaleInformation_es_DO.java,
4081 gnu/java/locale/LocaleInformation_es_EC.java,
4082 gnu/java/locale/LocaleInformation_es_ES.java,
4083 gnu/java/locale/LocaleInformation_es_GT.java,
4084 gnu/java/locale/LocaleInformation_es_HN.java,
4085 gnu/java/locale/LocaleInformation_es_MX.java,
4086 gnu/java/locale/LocaleInformation_es_NI.java,
4087 gnu/java/locale/LocaleInformation_es_PA.java,
4088 gnu/java/locale/LocaleInformation_es_PE.java,
4089 gnu/java/locale/LocaleInformation_es_PR.java,
4090 gnu/java/locale/LocaleInformation_es_PY.java,
4091 gnu/java/locale/LocaleInformation_es_SV.java,
4092 gnu/java/locale/LocaleInformation_es_US.java,
4093 gnu/java/locale/LocaleInformation_es_UY.java,
4094 gnu/java/locale/LocaleInformation_es_VE.java,
4095 gnu/java/locale/LocaleInformation_et_EE.java,
4096 gnu/java/locale/LocaleInformation_eu_ES.java,
4097 gnu/java/locale/LocaleInformation_fa_IR.java,
4098 gnu/java/locale/LocaleInformation_fi_FI.java,
4099 gnu/java/locale/LocaleInformation_fo_FO.java,
4100 gnu/java/locale/LocaleInformation_fr_BE.java,
4101 gnu/java/locale/LocaleInformation_fr_CA.java,
4102 gnu/java/locale/LocaleInformation_fr_CH.java,
4103 gnu/java/locale/LocaleInformation_fr_FR.java,
4104 gnu/java/locale/LocaleInformation_fr_LU.java,
4105 gnu/java/locale/LocaleInformation_ga_IE.java,
4106 gnu/java/locale/LocaleInformation_gd_GB.java,
4107 gnu/java/locale/LocaleInformation_gl_ES.java,
4108 gnu/java/locale/LocaleInformation_gv_GB.java,
4109 gnu/java/locale/LocaleInformation_he_IL.java,
4110 gnu/java/locale/LocaleInformation_hi_IN.java,
4111 gnu/java/locale/LocaleInformation_hr_HR.java,
4112 gnu/java/locale/LocaleInformation_hu_HU.java,
4113 gnu/java/locale/LocaleInformation_id_ID.java,
4114 gnu/java/locale/LocaleInformation_it_CH.java,
4115 gnu/java/locale/LocaleInformation_it_IT.java,
4116 gnu/java/locale/LocaleInformation_iw_IL.java,
4117 gnu/java/locale/LocaleInformation_ja_JP.java,
4118 gnu/java/locale/LocaleInformation_ka_GE.java,
4119 gnu/java/locale/LocaleInformation_kl_GL.java,
4120 gnu/java/locale/LocaleInformation_ko_KR.java,
4121 gnu/java/locale/LocaleInformation_kw_GB.java,
4122 gnu/java/locale/LocaleInformation_lt_LT.java,
4123 gnu/java/locale/LocaleInformation_lv_LV.java,
4124 gnu/java/locale/LocaleInformation_mi_NZ.java,
4125 gnu/java/locale/LocaleInformation_mk_MK.java,
4126 gnu/java/locale/LocaleInformation_mr_IN.java,
4127 gnu/java/locale/LocaleInformation_mt_MT.java,
4128 gnu/java/locale/LocaleInformation_nl_BE.java,
4129 gnu/java/locale/LocaleInformation_nl_NL.java,
4130 gnu/java/locale/LocaleInformation_nn_NO.java,
4131 gnu/java/locale/LocaleInformation_no_NO.java,
4132 gnu/java/locale/LocaleInformation_oc_FR.java,
4133 gnu/java/locale/LocaleInformation_pl_PL.java,
4134 gnu/java/locale/LocaleInformation_pt_BR.java,
4135 gnu/java/locale/LocaleInformation_pt_PT.java,
4136 gnu/java/locale/LocaleInformation_ro_RO.java,
4137 gnu/java/locale/LocaleInformation_ru_RU.java,
4138 gnu/java/locale/LocaleInformation_ru_UA.java,
4139 gnu/java/locale/LocaleInformation_se_NO.java,
4140 gnu/java/locale/LocaleInformation_sk_SK.java,
4141 gnu/java/locale/LocaleInformation_sl_SI.java,
4142 gnu/java/locale/LocaleInformation_sq_AL.java,
4143 gnu/java/locale/LocaleInformation_sr_YU.java,
4144 gnu/java/locale/LocaleInformation_sv_FI.java,
4145 gnu/java/locale/LocaleInformation_sv_SE.java,
4146 gnu/java/locale/LocaleInformation_ta_IN.java,
4147 gnu/java/locale/LocaleInformation_te_IN.java,
4148 gnu/java/locale/LocaleInformation_tg_TJ.java,
4149 gnu/java/locale/LocaleInformation_tl_PH.java,
4150 gnu/java/locale/LocaleInformation_tr_TR.java,
4151 gnu/java/locale/LocaleInformation_uk_UA.java,
4152 gnu/java/locale/LocaleInformation_ur_PK.java,
4153 gnu/java/locale/LocaleInformation_uz_UZ.java,
4154 gnu/java/locale/LocaleInformation_vi_VN.java,
4155 gnu/java/locale/LocaleInformation_yi_US.java,
4156 gnu/java/locale/LocaleInformation_zh_CN.java,
4157 gnu/java/locale/LocaleInformation_zh_HK.java,
4158 gnu/java/locale/LocaleInformation_zh_SG.java,
4159 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4160 info; from Classpath.
4161
4162 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4163 isPaintPending): New methods.
4164 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4165 setMaximizedBounds): New methods.
4166 (beginLayout, endLayout, isPaintPending): Likewise.
4167 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4168 (requestFocus): Likewise.
4169 (isObscured): Likewise.
4170 (canDetermineObscurity): Likewise.
4171 (coalescePaintEvent): Likewise.
4172 (updateCursorImmediately): Likewise.
4173 (createVolatileImage): Likewise.
4174 (handlesWheelScrolling): Likewise.
4175 (createBuffers): Likewise.
4176 (getBackBuffer): Likewise.
4177 (flip): Likewise.
4178 (destroyBuffers): Likewise.
4179
4180 * Makefile.in: Rebuilt.
4181 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4182 RobotPeer.java.
4183 * gnu/java/awt/GLightweightPeer.java,
4184 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4185 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4186 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4187 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4188 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4189 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4190 java/awt/dnd/peer/DragSourceContextPeer.java,
4191 java/awt/dnd/peer/DropTargetContextPeer.java,
4192 java/awt/peer/ButtonPeer.java,
4193 java/awt/peer/CheckboxMenuItemPeer.java,
4194 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4195 java/awt/peer/ComponentPeer.java,
4196 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4197 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4198 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4199 java/awt/peer/MenuBarPeer.java,
4200 java/awt/peer/MenuComponentPeer.java,
4201 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4202 java/awt/peer/PopupMenuPeer.java,
4203 java/awt/peer/ScrollPanePeer.java,
4204 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4205 java/awt/peer/TextComponentPeer.java,
4206 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4207 New versions from Classpath.
4208 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4209 * java/awt/peer/RobotPeer.java: Likewise.
4210
4211 2003-03-01 Mark Wielaard <mark@klomp.org>
4212
4213 * java/io/ObjectInputStream.java: Reindent.
4214 * java/io/ObjectOutputStream.java: Likewise.
4215
4216 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4217
4218 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4219 jvalue for each argument. Simplify.
4220 * testsuite/libjava.jni/calls.c (docall),
4221 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4222 misalignment.
4223
4224 2003-02-28 Mark Wielaard <mark@klomp.org>
4225
4226 * Makefile.am (nat_source_files): Remove
4227 java/io/natObjectOutputStream.cc.
4228 * Makefile.in: Regenerated.
4229 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4230 * java/io/ObjectStreamField.java (typename): New field.
4231 (ObjectStreamField(String, Class)): Initialize new field.
4232 (ObjectStreamField(String, String)): New Constructor.
4233 (getTypeCode): Use new field.
4234 (getTypeString): Use new field.
4235 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4236 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4237 Handle reading of Proxy classes. Never drain(), just write
4238 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4239 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4240 (flush): Call flush(), not just drain().
4241 (writeBoolean): Always use blockDataOutput.
4242 (writeByte): Likewise.
4243 (writeShort): Likewise.
4244 (writeChar): Likewise.
4245 (writeInt): Likewise.
4246 (writeLong): Likewise.
4247 (writeFloat): Likewise.
4248 (writeDouble): Likewise.
4249 (writeBytes): Likewise.
4250 (putfield (put(String,Object))): Throw IllegalArgumentException if
4251 field cannot be found.
4252 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4253 (writeArraySizeAndElements): Write byte[] in one go.
4254 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4255 set BlockDataMode to false.
4256 (annotateProxyClass): New method.
4257 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4258 (getField): No longer native.
4259 (getMethod): Likewise.
4260 (setBlockDataMode): Always drain() on switch, return old mode.
4261 (static): New static code block.
4262 * java/io/natObjectOutputStream.cc: Removed.
4263 * java/io/ObjectInputStream.java (getField): No longer native.
4264 (getMethod): Likewise.
4265 (readObject): Remember and reset old BlockDataMode. Track whether
4266 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4267 TC_LONGSTRING.
4268 (defaultReadObject): Set BlockDataMode to false during readFields.
4269 (resolveClass): Create new SecurityManager if necessary.
4270 Use Class.forName() if null ClassLoader found.
4271 (read(byte[],int,int): Copy remaining bytes to data before calling
4272 readNextBlock().
4273 (readFields): Set and reset BlockDataMode on call_read_method.
4274 Catch NoSuchFieldErrors.
4275 (setBlockDataMode): Return old mode.
4276 (static): New static code block.
4277 * java/io/natObjectInputStream.cc (getField): Removed.
4278 (getMethod): Likewise.
4279
4280 2003-02-27 Michael Koch <konqueror@gmx.de>
4281
4282 * java/beans/Beans.java,
4283 java/beans/FeatureDescriptor.java
4284 java/beans/PropertyEditorManager.java:
4285 Reformated to GNU style.
4286
4287 2003-02-25 Michael Koch <konqueror@gmx.de>
4288
4289 * gnu/java/nio/MappedByteFileBuffer.java,
4290 gnu/java/nio/natMappedByteFileBuffer.cc:
4291 New files, both are not compiled yet to get not noncompiling CVS.
4292
4293 2003-02-24 Tom Tromey <tromey@redhat.com>
4294
4295 * java/util/prefs/AbstractPreferences.java (isUserNode):
4296 Implemented.
4297
4298 2003-02-24 Tom Tromey <tromey@redhat.com>
4299
4300 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4301 Deprecate.
4302 * java/lang/Thread.java (resume): Deprecate.
4303 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4304 in @deprecated.
4305
4306 2003-02-23 Tom Tromey <tromey@redhat.com>
4307
4308 * Makefile.in: Rebuilt.
4309 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4310
4311 2003-02-23 Tom Tromey <tromey@redhat.com>
4312
4313 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4314 libraries): Removed.
4315 (add_library): Removed.
4316 (_load): Don't call add_library.
4317 (loadLibraryInternal): Likewise.
4318 (init): Likewise.
4319 (lookup_data): New struct.
4320 (find_symbol): New function.
4321 (_Jv_FindSymbolInExecutable): Use it.
4322
4323 2002-02-21 Anthony Green <green@redhat.com>
4324
4325 * java/lang/Thread.java (Thread): New constructor taking stack
4326 size parameter (ignored for now).
4327 * Many methods: Merged GNU Classpath documentation.
4328
4329 * java/lang/Class.java (finalize): throws a Throwable.
4330
4331 2003-02-21 Mark Wielaard <mark@klomp.org>
4332
4333 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4334 argument is null.
4335
4336 2003-02-21 Mark Wielaard <mark@klomp.org>
4337
4338 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4339 then 65535 chars throw IllegalArgumentException.
4340
4341 2003-02-21 Mark Wielaard <mark@klomp.org>
4342
4343 * java/util/zip/ZipFile.java (finalize): New method.
4344
4345 2003-02-21 Michael Koch <konqueror@gmx.de>
4346
4347 * gnu/java/nio/natSocketChannelImpl.cc:
4348 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4349 <cato@df.lth.se> for pointing to it.
4350
4351 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4352
4353 * java/math/BigInteger.java (euclidInv): Take result array as an
4354 argument. Updated all callers.
4355 (modInverse): Removed unused variables.
4356
4357 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4358
4359 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4360 config.status.
4361 * configure: Rebuilt.
4362
4363 2003-02-19 Michael Koch <konqueror@gmx.de>
4364
4365 * gnu/java/nio/natSocketChannelImpl.cc:
4366 Added support for platforms without network support.
4367
4368 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4369
4370 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4371 after config.h. Use <> for consistency.
4372 * java/lang/natObject.cc: Likewise.
4373 * java/lang/natRuntime.cc: Likewise.
4374 * java/lang/natSystem.cc: Likewise.
4375 * java/util/natTimeZone.cc: Likewise.
4376 * win32.cc: Likewise.
4377 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4378 listen, write, read): Undef to avoid interference from OS macros.
4379
4380 2003-02-19 Michael Koch <konqueror@gmx.de>
4381
4382 * gnu/java/nio/ByteBufferImpl.java
4383 (ByteBufferImpl): Renamed two variables.
4384 * gnu/java/nio/CharBufferImpl.java
4385 (CharBufferImpl): Renamed two variables.
4386 * gnu/java/nio/DoubleBufferImpl.java
4387 (DoubleBufferImpl): Renamed two variables.
4388 * gnu/java/nio/FloatBufferImpl.java
4389 (FloatBufferImpl): Renamed two variables.
4390 * gnu/java/nio/IntBufferImpl.java
4391 (IntBufferImpl): Renamed two variables.
4392 * gnu/java/nio/LongBufferImpl.java
4393 (LongBufferImpl): Renamed two variables.
4394 * gnu/java/nio/ShortBufferImpl.java
4395 (ShortBufferImpl): Renamed two variables.
4396 * java/nio/CharBuffer.java
4397 (wrap): Fixed arguments to CharBufferImpl constructor.
4398 (hasArray): Only not read-only buffers have backing arrays.
4399 (length): Documentation added.
4400 (subSequence): Documentation added.
4401 * java/nio/DoubleBuffer.java
4402 (hasArray): Only not read-only buffers have backing arrays.
4403 * java/nio/FloatBuffer.java
4404 (hasArray): Only not read-only buffers have backing arrays.
4405 * java/nio/IntBuffer.java
4406 (hasArray): Only not read-only buffers have backing arrays.
4407 * java/nio/LongBuffer.java
4408 (hasArray): Only not read-only buffers have backing arrays.
4409 * java/nio/ShortBuffer.java
4410 (hasArray): Only not read-only buffers have backing arrays.
4411
4412 2003-02-19 Michael Koch <konqueror@gmx.de>
4413
4414 * javax/accessibility/AccessibleContext.java
4415 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4416
4417 2003-02-19 Michael Koch <konqueror@gmx.de>
4418
4419 * java/awt/ScrollPaneAdjustable.java: Reformated.
4420
4421 2003-02-19 Michael Koch <konqueror@gmx.de>
4422
4423 * gnu/awt/j2d/Graphics2DImpl.java
4424 (getFontRenderContext): New method.
4425 (drawGlyphVector): New method.
4426 * java/awt/Graphics2D.java
4427 (getFontRenderContext): New abstract method.
4428 (drawGlyphVector): New abstract method.
4429
4430 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4431
4432 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4433 if necessary.
4434
4435 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4436 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4437 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4438 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4439 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4440 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4441 (setFont, gtkSetFont): add.
4442 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4443 Propagate font to peer. (setFont): add FIXME comment.
4444
4445 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4446 (gtkTextGetSize): fix height, width computation.
4447
4448 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4449 Make X font name a bit less bogus.
4450
4451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4452 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4453
4454 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4455 (processAdjustmentEvent): Adjust value.
4456
4457 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4458 logic errors.
4459
4460 * java/awt/Component.java (setVisible, show, hide): Call show and
4461 hide methods in subclasses.
4462 (getPreferredSize): don't set prefSize before we have peer.
4463
4464 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4465 Guess (0,0) if we don't have peer.
4466
4467
4468 2003-02-18 Michael Koch <konqueror@gmx.de>
4469
4470 * java/nio/channels/FileChannel.java
4471 (toString): New implementation, added documentation.
4472 (map): Added exception documentation.
4473 (size): Added exception documentation.
4474 (write): New methods, documentation work.
4475 (read): New methods, documentation work.
4476 (implCloseChannel): Rewrote exception documentation.
4477 (force): Throws IOException, added documentation.
4478 (lock): New methods.
4479 (tryLock): New methods.
4480 (position): New methods.
4481 (transferTo): New method.
4482 (transferFrom): New method.
4483 (truncate): New method.
4484 * java/nio/channels/spi/SelectorProvider.java
4485 (provider): Implemented.
4486 * Makefile.am
4487 (ordinary_java_source_files): Added the following files:
4488 gnu/java/nio/DatagramChannelImpl.java
4489 gnu/java/nio/FileChannelImpl.java
4490 gnu/java/nio/PipeImpl.java
4491 gnu/java/nio/SelectionKeyImpl.java
4492 gnu/java/nio/SelectorImpl.java
4493 gnu/java/nio/SelectorProviderImpl.java
4494 gnu/java/nio/ServerSocketChannelImpl.java
4495 gnu/java/nio/SocketChannelImpl.java
4496 java/nio/channels/FileLock.java
4497 (nat_java_source_files): Added the following files:
4498 gnu/java/nio/natFileChannelImpl.cc
4499 gnu/java/nio/natSelectorImpl.cc
4500 gnu/java/nio/natSocketChannelImpl.cc
4501 * Makefile.in: Regenerated.
4502
4503 2003-02-17 Tom Tromey <tromey@redhat.com>
4504
4505 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4506 * java/awt/image/ImageFilter.java: Likewise.
4507
4508 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4509
4510 * java/math/BigInteger.java (euclidInv): Return array of
4511 `BigInteger's. Changed all callers.
4512
4513 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4514
4515 * java/util/Properties.java (store): Move the code formerly in
4516 list(), into this method.
4517 (list (PrintStream)): Just call list (PrintWriter) with a
4518 PrintWriter object constructed from the given PrintStream object.
4519 (list (PrintWriter)): Emulate the output of Properties.list()
4520 as found in JDK 1.3/1.4.
4521
4522 2003-02-17 Michael Koch <konqueror@gmx.de>
4523
4524 * java/net/DatagramSocket.java
4525 (connect): Merged with classpath.
4526 (disconnect): Merged documentation with classpath.
4527 (receice): Merged documentation with classpath.
4528 (send): Merged documentation with classpath.
4529
4530 2003-02-17 Michael Koch <konqueror@gmx.de>
4531
4532 * java/awt/dnd/DragSourceContext.java
4533 (addDragSourceListener): Added documentation.
4534 * java/awt/dnd/DragSourceDragEvent.java
4535 (serialVersionUID): New member variable.
4536 (getDropAction): Reformated.
4537 * java/awt/dnd/DragSourceDropEvent.java
4538 (serialVersionUID): New member variable.
4539 (dropSuccess): Renamed from success for serialization issues.
4540 * java/awt/dnd/DragSourceEvent.java
4541 (serialVersionUID): New member variable.
4542 * java/awt/dnd/DropTarget.java
4543 (serialVersionUID): New member variable.
4544 (DropTarget): Implemented, documentation reworked.
4545 (setComponent): Documentation added.
4546 (getComponent): Documentation added.
4547 (setDefaultActions): Documentation added.
4548 (getDefaultActions): Documentation added.
4549 (addDropTargetListener): Documentation added.
4550 * java/awt/dnd/DropTargetContext.java
4551 (DropTargetContext): Documentation added.
4552 (TransferableProxy.TransferableProxy): New method.
4553 (dropComplete): Fixed documentation.
4554 (getTransferable): Fixed documentation.
4555 (createTransferableProxy): Implemented.
4556 * java/awt/dnd/DropTargetDragEvent.java
4557 (DropTargetDragEvent): Documentation added.
4558 (serialVersionUID): New member variable.
4559 (DropTargetDragEvent): Throw exceptions, documentation added.
4560 (acceptDrag): Implemented.
4561 (getCurrentDataFlavors): Implemented.3yy
4562 (getCurrentDataFlavorsAsList): Implemented.
4563 (isDataFlavorSupported): Implemented.
4564 (rejectDrag): Implemented.
4565 * java/awt/dnd/DropTargetDropEvent.java
4566 (DropTargetDropEvent): Documentation added.
4567 (serialVersionUID): New member variable.
4568 (actions): Renamed from srcActions for serialization issues.
4569 (isLocalTx): Renamed from isLocalTx for serialization issues.
4570 (DropTargetDropEvent): New implementation, throw exceptions,
4571 documentation added.
4572 (getCurrentDataFlavors): Implemented.
4573 (getCurrentDataFlavorsAsList): Implemented.
4574 (isDataFlavorSupported): Implemented.
4575 (getSourceActions): Implemented.
4576 (getDropAction): Implemented.
4577 (getTransferable): Implemented.
4578 (acceptDrop): Implemented.
4579 (rejectDrop): Implemented.
4580 * java/awt/dnd/DropTargetListener.java
4581 (drop): Fixed documentation.
4582 * java/awt/dnd/MouseDragGestureRecognizer.java
4583 (MouseDragGestureRecognizer): Documentation added.
4584
4585 2003-02-17 Michael Koch <konqueror@gmx.de>
4586
4587 * java/awt/font/FontRenderContext.java,
4588 java/awt/font/ShapeGraphicAttribute.java,
4589 java/awt/font/MultipleMaster.java,
4590 java/awt/font/TransformAttribute.java,
4591 java/awt/font/GlyphJustificationInfo.java,
4592 java/awt/font/LineBreakMeasurer.java,
4593 java/awt/font/TextMeasurer.java,
4594 java/awt/font/TextLayout.java,
4595 java/awt/font/LineMetrics.java,
4596 java/awt/font/TextAttribute.java,
4597 java/awt/font/GlyphMetrics.java,
4598 java/awt/font/OpenType.java,
4599 java/awt/font/GlyphVector.java,
4600 java/awt/font/GraphicAttribute.java,
4601 java/awt/font/ImageGraphicAttribute.java,
4602 java/awt/font/NumericShaper.java: New files.
4603 * Makefile.am
4604 (awt_java_source_files): Added the following files:
4605 java/awt/font/FontRenderContext.java
4606 java/awt/font/ShapeGraphicAttribute.java
4607 java/awt/font/MultipleMaster.java
4608 java/awt/font/TransformAttribute.java
4609 java/awt/font/GlyphJustificationInfo.java
4610 java/awt/font/LineBreakMeasurer.java
4611 java/awt/font/TextMeasurer.java
4612 java/awt/font/TextLayout.java
4613 java/awt/font/LineMetrics.java
4614 java/awt/font/TextAttribute.java
4615 java/awt/font/GlyphMetrics.java
4616 java/awt/font/OpenType.java
4617 java/awt/font/GlyphVector.java
4618 java/awt/font/GraphicAttribute.java
4619 java/awt/font/ImageGraphicAttribute.java
4620 java/awt/font/NumericShaper.java
4621 * Makefile.in: Regenerated.
4622
4623 2003-02-17 Michael Koch <konqueror@gmx.de>
4624
4625 * java/awt/print/Paper.java
4626 (Paper): Implements Cloneable.
4627 * java/awt/print/PrinterJob.java
4628 (setJobName): Return value must be void.
4629 (print): Throws PrinterException.
4630
4631 2003-02-16 Tom Tromey <tromey@redhat.com>
4632
4633 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4634 variable.
4635
4636 2003-02-15 Michael Koch <konqueror@gmx.de>
4637
4638 * java/awt/datatransfer/DataFlavor.java
4639 (isRepresentationClassByteBuffer): Removed try-catch block.
4640 (isRepresentationClassCharBuffer): Removed try-catch block.
4641 (isRepresentationClassReader): Removed try-catch block.
4642
4643 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4644
4645 * java/nio/charset/Charset.java
4646 (isRegistered): Fixed method args and implementation.
4647 * java/nio/charset/CharsetEncoder.java
4648 (unmappableCharacterAction): New method.
4649
4650 2003-02-15 Michael Koch <konqueror@gmx.de>
4651
4652 * java/awt/CheckboxMenuItem.java
4653 (CheckBoxMenuItem): Dont implement Serializable.
4654 (getListeners): New method,
4655 (getItemListeners): New method.
4656 * java/awt/Choice.java
4657 (getListeners): New method,
4658 (getItemListeners): New method.
4659 * java/awt/Container.java
4660 (getListeners): Added exception documentation.
4661 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4662 (getFocusTraversalKeys): Added documentation.
4663 (areFocusTraversalKeysSet): Added documentation.
4664 (applyComponentOrientation): Added documentation.
4665 * java/awt/ContainerOrderFocusTraversalPolicy.java
4666 (implicitDownCycleTraversal): Renamed from downCycle for
4667 serialization.
4668 (ContainerOrderFocusTraversalPolicy): Added documentation.
4669 (accept): Reformated.
4670 * java/awt/Dialog.java
4671 (Dialog): Dont implement Serializable.
4672 (Dialog): Added documentation.
4673 * java/awt/Font.java
4674 (Font): Dont use absolute class name.
4675 * java/awt/Frame.java
4676 (Frame): Font implement Serializable.
4677 * java/awt/List.java
4678 (getListeners): New method,
4679 (getActionListeners): New method.
4680 (getItemListeners): New method.
4681 * java/awt/Menu.java
4682 (countItems): New deprecated method.
4683 * java/awt/Scrollbar.java
4684 (getListeners): New method,
4685 (getAdjustmentListeners): New method,
4686 * java/awt/TextComponent.java
4687 (getListeners): New method,
4688 (getTextListeners): New method,
4689 * java/awt/TextField.java
4690 (getListeners): New method,
4691 (getActionListeners): New method.
4692 * java/awt/Window.java
4693 (windowFocusListener): New member variable.
4694 (windowStateListener): New member variable.
4695 (getWindowFocusListeners): New method.
4696 (getWindowStateListeners): New method.
4697 (addWindowFocusListener): New method.
4698 (addWindowStateListener): New method.
4699 (removeWindowFocusListener): New method.
4700 (removeWindowStateListener): New method.
4701 * java/awt/datatransfer/DataFlavor.java
4702 (isRepresentationClassByteBuffer): New method.
4703 (isRepresentationClassCharBuffer): New method.
4704 (isRepresentationClassReader): New method.
4705
4706 2003-02-14 Mark Wielaard <mark@klomp.org>
4707
4708 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4709 zero when there is an exponent and the significant is zero.
4710 (divide): Always set scale to newScale even in special ZERO case.
4711
4712 2003-02-14 Tom Tromey <tromey@redhat.com>
4713
4714 * java/lang/System.java (properties): Use Properties.clone.
4715 (setProperties): Likewise.
4716
4717 2003-02-14 Michael Koch <konqueror@gmx.de>
4718
4719 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4720 * gnu/java/nio/ServerSocketChannelImpl.java
4721 (SocketAccept): Removed.
4722 (accept): Commented out use of SocketAccept.
4723
4724 2003-02-13 Tom Tromey <tromey@redhat.com>
4725
4726 * verify.cc (state::seen_subrs): New field.
4727 (state::state): Initialize it.
4728 (state::clean_subrs): New method.
4729 (state::~state): Call it.
4730 (state::copy): Copy subroutine list.
4731 (state::add_subr): New method.
4732 (state::merge): Only register a change if the current subroutine
4733 hasn't yet been noted.
4734
4735 2003-02-13 Mark Wielaard <mark@klomp.org>
4736
4737 * java/io/InputStreamReader.java (getEncoding): Return null when
4738 closed.
4739 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4740
4741 2003-02-13 Mark Wielaard <mark@klomp.org>
4742
4743 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4744 is zero.
4745
4746 2003-02-13 Mark Wielaard <mark@klomp.org>
4747
4748 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4749 next byte cannot be buffered.
4750
4751 2003-02-13 Michael Koch <konqueror@gmx.de>
4752
4753 * java/awt/Label.java
4754 (Label): Don't implement Serializable directly.
4755 (addNotify): Fixed typo in documentation.
4756 * java/awt/List.java
4757 (List): Don't implement Serializable directly.
4758 * java/awt/PopupMenu.java
4759 (PopupMenu): Don't implement Serializable directly.
4760 * java/awt/ScrollPane.java
4761 (ScrollPane): Don't implement Serializable directly.
4762 * java/awt/Scrollbar.java
4763 (Scrollbar): Don't implement Serializable directly.
4764 * java/awt/TextArea.java
4765 (preferredSize): Fixed method arguments.
4766 * java/awt/TextField.java
4767 (TextField): Don't implement Serializable directly.
4768 * java/awt/color/ICC_ColorSpace.java
4769 (fromCIOXYZ): Documentation added.
4770 (getMinValue): Documentation added.
4771 (getMaxValue): Documentation added.
4772 * java/awt/datatransfer/DataFlavor.java
4773 (isMimeTypeEqual): May not be final.
4774 (clone): Throws CloneNotSupportedException.
4775 (getReaderForText): Don't throws UnsupportedEncodingException.
4776
4777 2003-02-13 Michael Koch <konqueror@gmx.de>
4778
4779 * gnu/java/awt/peer/gtk/GdkGraphics.java
4780 (drawString): New stubbed method.
4781 * java/awt/Graphics.java
4782 (drawString): New method.
4783
4784 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4785
4786 PR libgcj/9271:
4787 * java/security/SecureRandom.java (next): Avoid bias in results.
4788
4789 2003-02-13 Michael <konqueror@gmx.de>
4790
4791 * gnu/java/nio/FileChannelImpl.java
4792 (lengthInternal): Must be native.
4793 (size): Check if channel is already closed.
4794 (implCloseChannel): Reformated.
4795 (read): w was unused, removed it.
4796 (read): Removed.
4797 (read): New method.
4798 (write): New method.
4799 (map): Check arguments.
4800 (force): Throws IOException, check if channel is closed.
4801 (transferTo): New method.
4802 (transferFrom): New method.
4803 (lock): New method.
4804 (tryLock): New method.
4805 (position): New method.
4806 (truncate): New method.
4807 (nio_mmap_file): Uncommented.
4808 (nio_munmap_file): Uncommented.
4809 (nio_msync): Uncommented.
4810 * gnu/java/nio/natFileChannelImpl.cc: New file.
4811
4812 2003-02-13 Michael Koch <konqueror@gmx.de>
4813
4814 * java/nio/ByteBuffer.java
4815 (endian): New member variable.
4816 (get): New methods.
4817 (equals): New method.
4818 (compareTo): New method.
4819 (order): New methods.
4820 (compact): New method.
4821 (isDirect): New method.
4822 (slice): New method.
4823 (duplicate): New method.
4824 (asReadOnlyBuffer): New method.
4825 (asCharBuffer): New method.
4826 (asDoubleBuffer): New method.
4827 (asFloatBuffer): New method.
4828 (asIntBuffer): New method.
4829 (asLongBuffer): New method.
4830 (asShortBuffer): New method.
4831 (get*): New methods.
4832 (put*): New methods.
4833 (toString): New method.
4834 * java/nio/CharBuffer.java
4835 (CharBuffer): Implement Comparable instead of Cloneable.
4836 (get): May not be final.
4837 (put): May not be final.
4838
4839 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4840
4841 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4842 lastIndexOf( ) instead of indexOf( ) to find the colon before
4843 the line number, because Win32 file names might contain a
4844 drive letter and a colon at the start of an absolute path.
4845
4846 2003-02-13 Michael Koch <konqueror@gmx.de>
4847
4848 * gnu/java/nio/natSocketChannelImpl.cc
4849 (SocketConnect): This is not implemented yet.
4850 (SocketBind): This is not implemented yet.
4851
4852 2003-02-13 Michael Koch <konqueror@gmx.de>
4853
4854 * gnu/java/nio/natByteBufferImpl.cc,
4855 gnu/java/nio/natCharBufferImpl.cc,
4856 gnu/java/nio/natDoubleBufferImpl.cc,
4857 gnu/java/nio/natFloatBufferImpl.cc,
4858 gnu/java/nio/natIntBufferImpl.cc,
4859 gnu/java/nio/natLongBufferImpl.cc,
4860 gnu/java/nio/natShortBufferImpl.cc:
4861 Added copyright and license.
4862 * java/nio/DoubleBuffer.java,
4863 java/nio/FloatBuffer.java,
4864 java/nio/IntBuffer.java,
4865 java/nio/LongBuffer.java,
4866 java/nio/ShortBuffer.java
4867 (array): Throw exceptions.
4868 (arrayOffset): Throw exceptions.
4869
4870 2003-02-13 Michael Koch <konqueror@gmx.de>
4871
4872 * gnu/java/util/prefs/FileBasedFactory.java,
4873 gnu/java/util/prefs/MemmoryBasedFactory.java,
4874 gnu/java/util/prefs/MemoryBasedPreferences.java,
4875 gnu/java/util/prefs/NodeReader.java,
4876 gnu/java/util/prefs/NodeWriter.java,
4877 java/util/prefs/AbstractPreferences.java,
4878 java/util/prefs/BackingStoreException.java,
4879 java/util/prefs/InvalidPreferencesFormatException.java,
4880 java/util/prefs/NodeChangeEvent.java,
4881 java/util/prefs/NodeChangeListener.java,
4882 java/util/prefs/PreferenceChangeEvent.java,
4883 java/util/prefs/PreferenceChangeListener.java,
4884 java/util/prefs/Preferences.java,
4885 java/util/prefs/PreferencesFactory.java:
4886 New files, all merged from classpath.
4887 * Makefile.am
4888 (ordinary_java_source_files): Added the following files:
4889 gnu/java/util/prefs/FileBasedFactory.java,
4890 gnu/java/util/prefs/MemmoryBasedFactory.java,
4891 gnu/java/util/prefs/MemoryBasedPreferences.java,
4892 gnu/java/util/prefs/NodeReader.java,
4893 gnu/java/util/prefs/NodeWriter.java,
4894 (core_java_source_files): Added the following files:
4895 java/util/prefs/AbstractPreferences.java,
4896 java/util/prefs/BackingStoreException.java,
4897 java/util/prefs/InvalidPreferencesFormatException.java,
4898 java/util/prefs/NodeChangeEvent.java,
4899 java/util/prefs/NodeChangeListener.java,
4900 java/util/prefs/PreferenceChangeEvent.java,
4901 java/util/prefs/PreferenceChangeListener.java,
4902 java/util/prefs/Preferences.java,
4903 java/util/prefs/PreferencesFactory.java
4904 * Makefile.in: Regenerated.
4905
4906 2003-02-13 Michael Koch <konqueror@gmx.de>
4907
4908 * java/net/NetPermission.java
4909 (NetPermission): Make doucmentation match the method declaration.
4910 * java/net/NetworkInterface.java
4911 (equals): Reformated for GNU coding style.
4912 * java/net/ServerSocket.java: Merged with classpath.
4913 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4914 * java/net/SocketImpl.java
4915 (localPort): Merged with classpath (initialize with -1).
4916 * java/net/SocketPermission.java: Merged with classpath (reindented).
4917 * java/net/URLDecoder.java: Merged with classpath (reindented).
4918
4919 2003-02-13 Michael Koch <konqueror@gmx.de>
4920
4921 * java/awt/GridBagConstraints.java
4922 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4923 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4924 * java/awt/KeyboardFocusManager.java
4925 (setGlobalCurrentFocusCycleRoot): Must be public.
4926 * java/awt/MenuComponent.java
4927 (MenuComponent): Must be public.
4928 * java/awt/Toolkit.java:
4929 Added some empty lines to make documentation more readable.
4930 (getFontPeer): Added @deprecated.
4931 (getColorModel): Added exception documentation.
4932 (getProperty): Fixed documentation.
4933
4934 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4935
4936 * configure.host (alpha*-*): Default to -mieee.
4937 * configure.in (IEEESPEC): New.
4938 * libgcj.spec.in (jc1): Add IEEESPEC.
4939 * configure: Rebuild.
4940
4941 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4942
4943 * include/win32.h: Include ws2tcpip.h instead of
4944 winsock.h to obtain definition of the socklen_t type.
4945 Remove IP_TOS definition - not needed with ws2tcpip.h
4946 (_Jv_connect): Correct slight formatting error.
4947
4948 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4949
4950 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4951 size of the arguments for a JNI function. For Win32,
4952 modify to search for all forms of possible exported
4953 names of an stdcall JNI function.
4954 (_Jv_JNIMethod::call): Modify to calculate the size
4955 of the arguments passed to a JNI function and pass
4956 it to _Jv_LookupJNIMethod.
4957
4958 2003-02-12 Michael Koch <konqueror@gmx.de>
4959
4960 * java/nio/channels/Channels.java: New file.
4961 * Makefile.am
4962 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4963 * Makefile.in: Regenerated.
4964
4965 2003-02-12 Michael Koch <konqueror@gmx.de>
4966
4967 * java/nio/ByteBuffer.java
4968 (allocate): Implemented.
4969 (wrap): Implemented.
4970 * java/nio/CharBuffer.java:
4971 Some documentation added and reworked.
4972 (endian): Removed.
4973 (allocate): Implemented.
4974 (wrap): Implemented.
4975 (array): Throw exceptions.
4976 (arrayOffset): Throw exceptions.
4977 (toString): Implemented.
4978 (length): Implemented.
4979 (put): Implemented.
4980 (charAt): Implemented.
4981
4982 2003-02-11 John Leuner <jewel@debian.org>
4983
4984 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4985 reads from end of file.
4986
4987 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4988
4989 * java/io/natFileDescriptorWin32.cc
4990 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4991 returns with Win32 error code ERROR_BROKEN_PIPE.
4992
4993 2003-02-11 Michael Koch <konqueror@gmx.de>
4994
4995 * Makefile.in
4996 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4997
4998 2003-02-11 Michael Koch <konqueror@gmx.de>
4999
5000 * gnu/java/nio/ByteBufferImpl.java:
5001 Reformated and removed some code.
5002 (backing_buffer): Removed.
5003 (array_offset): Removed.
5004 (ro): Renamed to readOnly.
5005 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5006 * gnu/java/nio/CharBufferImpl.java:
5007 Reformated and removed some code.
5008 (array_offset): Removed.
5009 (ro): Renamed to readOnly.
5010 (CharBufferImpl): Use parent constructor, initialize readOnly.
5011 (inc_pos): Removed.
5012 (order): New method.
5013 * gnu/java/nio/DoubleBufferImpl.java:
5014 Reformated and removed some code.
5015 (array_offset): Removed.
5016 (ro): Renamed to readOnly.
5017 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5018 (inc_pos): Removed.
5019 (order): New method.
5020 * gnu/java/nio/FloatBufferImpl.java:
5021 Reformated and removed some code.
5022 (array_offset): Removed.
5023 (ro): Renamed to readOnly.
5024 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5025 (inc_pos): Removed.
5026 (order): New method.
5027 * gnu/java/nio/IntBufferImpl.java:
5028 Reformated and removed some code.
5029 (array_offset): Removed.
5030 (ro): Renamed to readOnly.
5031 (IntBufferImpl): Use parent constructor, initialize readOnly.
5032 (inc_pos): Removed.
5033 (order): New method.
5034 * gnu/java/nio/LongBufferImpl.java:
5035 Reformated and removed some code.
5036 (array_offset): Removed.
5037 (ro): Renamed to readOnly.
5038 (LongBufferImpl): Use parent constructor, initialize readOnly.
5039 (inc_pos): Removed.
5040 (order): New method.
5041 * gnu/java/nio/ShortBufferImpl.java:
5042 Reformated and removed some code.
5043 (array_offset): Removed.
5044 (ro): Renamed to readOnly.
5045 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5046 (inc_pos): Removed.
5047 (order): New method.
5048 * Makefile.am
5049 (ordinary_java_source_files): Added the following files:
5050 gnu/java/nio/ByteBufferImpl.java
5051 gnu/java/nio/CharBufferImpl.java
5052 gnu/java/nio/DoubleBufferImpl.java
5053 gnu/java/nio/FloatBufferImpl.java
5054 gnu/java/nio/IntBufferImpl.java
5055 gnu/java/nio/LongBufferImpl.java
5056 gnu/java/nio/ShortBufferImpl.java
5057 java/nio/DoubleBuffer.java
5058 java/nio/FloatBuffer.java
5059 java/nio/IntBuffer.java
5060 java/nio/LongBuffer.java
5061 java/nio/ShortBuffer.java
5062 (nat_source_files): Added the following files:
5063 gnu/java/nio/natByteBufferImpl.cc
5064 gnu/java/nio/natCharBufferImpl.cc
5065 gnu/java/nio/natDoubleBufferImpl.cc
5066 gnu/java/nio/natFloatBufferImpl.cc
5067 gnu/java/nio/natIntBufferImpl.cc
5068 gnu/java/nio/natLongBufferImpl.cc
5069 gnu/java/nio/natShortBufferImpl.cc
5070 * Makefile.in: Regenerated.
5071
5072 2003-02-11 Michael Koch <konqueror@gmx.de>
5073
5074 * gnu/java/nio/natCharBufferImpl.cc
5075 (nio_cast): Removed.
5076 (nio_put_*): Removed.
5077 (nio_get_*): Removed.
5078 * gnu/java/nio/natDoubleBufferImpl.cc
5079 (nio_cast): Removed.
5080 (nio_put_*): Removed.
5081 (nio_get_*): Removed.
5082 * gnu/java/nio/natFloatBufferImpl.cc
5083 (nio_cast): Removed.
5084 (nio_put_*): Removed.
5085 (nio_get_*): Removed.
5086 * gnu/java/nio/natIntBufferImpl.cc
5087 (nio_cast): Removed.
5088 (nio_put_*): Removed.
5089 (nio_get_*): Removed.
5090 * gnu/java/nio/natLongBufferImpl.cc
5091 (nio_cast): Removed.
5092 (nio_put_*): Removed.
5093 (nio_get_*): Removed.
5094 * gnu/java/nio/natShortBufferImpl.cc
5095 (nio_cast): Removed.
5096 (nio_put_*): Removed.
5097 (nio_get_*): Removed.
5098 * gnu/java/nio/SelectorProviderImpl.java
5099 (openDatagramChannel): Throws IOException.
5100 (openPipe): Throws IOException.
5101 (openSelector): Throws IOException.
5102 (openServerSocketChannel): Throws IOException.
5103 (openSocketChannel): Throws IOException.
5104 * gnu/java/nio/ServerSocketChannelImpl.java
5105 (ServerSocketChannelImpl): Throws IOException.
5106 (implCloseSelectableChannel): Throws IOException.
5107 (implConfigureBlocking): Throws IOException.
5108 * java/nio/ByteBuffer.java
5109 (readOnly): Removed.
5110 (hasArray): Use isReadOnly() instead of readOnly.
5111 (array): Use isReadOnly() instead of readOnly.
5112 (arrayOffset): Use isReadOnly() instead of readOnly.
5113 * java/nio/CharBuffer.java
5114 (CharBuffer): Implements Cloneable and CharSequence.
5115
5116 2003-02-11 Michael Koch <konqueror@gmx.de>
5117
5118 * java/nio/DoubleBuffer.java
5119 (DoubleBuffer): Implements Comparable.
5120 (endian): Removed.
5121 (array_offset): New member variable.
5122 (DoubleBuffer): New constuctor.
5123 (get): May not be final.
5124 (put): May not be final.
5125 (arrayOffset): Implemented.
5126 (order): Made abstract.
5127 (order): Removed.
5128 (as*Buffer): Removed.
5129 (get*): Removed.
5130 (put*): Removed.
5131 * java/nio/FloatBuffer.java
5132 (FloatBuffer): Implements Comparable.
5133 (endian): Removed.
5134 (array_offset): New member variable.
5135 (FloatBuffer): New constuctor.
5136 (get): May not be final.
5137 (put): May not be final.
5138 (arrayOffset): Implemented.
5139 (order): Made abstract.
5140 (order): Removed.
5141 (as*Buffer): Removed.
5142 (get*): Removed.
5143 (put*): Removed.
5144 * java/nio/IntBuffer.java
5145 (IntBuffer): Implements Comparable.
5146 (endian): Removed.
5147 (array_offset): New member variable.
5148 (IntBuffer): New constuctor.
5149 (get): May not be final.
5150 (put): May not be final.
5151 (arrayOffset): Implemented.
5152 (order): Made abstract.
5153 (order): Removed.
5154 (as*Buffer): Removed.
5155 (get*): Removed.
5156 (put*): Removed.
5157 * java/nio/LongBuffer.java
5158 (LongBuffer): Implements Comparable.
5159 (endian): Removed.
5160 (array_offset): New member variable.
5161 (LongBuffer): New constuctor.
5162 (get): May not be final.
5163 (put): May not be final.
5164 (arrayOffset): Implemented.
5165 (order): Made abstract.
5166 (order): Removed.
5167 (as*Buffer): Removed.
5168 (get*): Removed.
5169 (put*): Removed.
5170 * java/nio/ShortBuffer.java
5171 (ShortBuffer): Implements Comparable.
5172 (endian): Removed.
5173 (array_offset): New member variable.
5174 (ShortBuffer): New constuctor.
5175 (get): May not be final.
5176 (put): May not be final.
5177 (arrayOffset): Implemented.
5178 (order): Made abstract.
5179 (order): Removed.
5180 (as*Buffer): Removed.
5181 (get*): Removed.
5182 (put*): Removed.
5183
5184 2003-02-11 Michael Koch <konqueror@gmx.de>
5185
5186 * java/nio/channels/SelectionKey.java
5187 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5188 values.
5189
5190 2003-02-11 Michael Koch <konqueror@gmx.de>
5191
5192 * java/nio/channels/DatagramChannel.java
5193 (write): Throws IOException.
5194 (connect): Throws IOException.
5195 (disconnect): Throws IOException.
5196 (read): Throws IOException.
5197 (receive): Throws IOException.
5198 (send): Throws IOException.
5199 * java/nio/channels/Pipe.java
5200 (open): Throws IOException.
5201 * java/nio/channels/SelectableChannel.java
5202 (configureBlocking): Throws IOException.
5203 * java/nio/channels/ServerSocketChannel.java
5204 (accept): Throws IOException.
5205 * java/nio/channels/SocketChannel.java
5206 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5207 GatheringByteChannel.
5208 (read): Throws IOException.
5209 (write): Throws IOException.
5210 (finishConnect): Throws IOException.
5211 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5212 (end): Throws AsynchronousCloseException.
5213 * java/nio/channels/spi/AbstractSelectableChannel.java
5214 (configureBlocking): Throws IOException.
5215 (implCloseChannel): Throws IOException.
5216 (implCloseSelectableChannel): Throws IOException.
5217 (implConfigureBlocking): Throws IOException.
5218 * java/nio/channels/spi/SelectorProvider.java
5219 (openDatagramChannel): Throws IOException.
5220 (openPipe): Throws IOException.
5221 (openSelector): Throws IOException.
5222 (openServerSocketChannel): Throws IOException.
5223 (openSocketChannel): Throws IOException.
5224
5225 2003-02-11 Michael Koch <konqueror@gmx.de>
5226
5227 * gnu/java/nio/FileLockImpl.java,
5228 java/nio/channels/FileLock.java: New files.
5229
5230 2003-02-11 Michael Koch <konqueror@gmx.de>
5231
5232 * java/nio/charset/IllegalCharsetNameException.java
5233 (serialVersionUID): New member variable.
5234 (charsetName): New member variable.
5235 (IllegalCharsetException): New implementation.
5236 (getCharsetName): New implementation.
5237 * java/nio/charset/UnsupportedCharsetException.java
5238 (serialVersionUID): New member variable.
5239 (charsetName): New member variable.
5240 (UnsupportedCharsetException): New implementation.
5241 (getCharsetName): New implementation.
5242
5243 2003-02-10 Tom Tromey <tromey@redhat.com>
5244
5245 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5246 (ex): Renamed from sqlException.
5247
5248 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5249
5250 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5251 method used to ensure seeding has occurred and that a specific
5252 seed can be set and used.
5253
5254 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5255
5256 * java/lang/Win32Process.java (destroy): Declare as native.
5257 (hasExited): New native method.
5258 (exitValue): Define.
5259 (getErrorStream): Likewise.
5260 (getInputStream): Likewise.
5261 (getOutputStream): Likewise.
5262 (waitFor): Declare as native.
5263 (startProcess): New native method.
5264 (cleanup): Likewise.
5265 (ConcreteProcess): Define.
5266 (outputStream, inputStream, errorStream): New members.
5267 (procHandle, exitCode): Likewise.
5268
5269 * java/lang/natWin32Process.cc
5270 (java::lang::ConcreteProcess::cleanup): Define.
5271 (java::lang::ConcreteProcess::destroy): Likewise.
5272 (java::lang::ConcreteProcess::hasExited): Likewise.
5273 (java::lang::ConcreteProcess::waitFor): Likewise.
5274 (new_string): Likewise.
5275 (java::lang::ConcreteProcess::startProcess): Likewise.
5276
5277 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5278
5279 * java/math/BigInteger.java:
5280 Updated notice to include years 2002 and 3.
5281 Added 2 private (int) arrays with values from the HAC (Handbook of
5282 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5283 and t[] that contains nbr. of tests --used in isProbablePrime().
5284
5285 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5286
5287 * java/math/BigInteger.java (make(int[],int), add(int,int),
5288 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5289 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5290 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5291 make(long).
5292
5293 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5294 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5295 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5296 BIs and returns void.
5297 (modInverse(BI)): Use new signatures of euclidInv().
5298
5299 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5300 static small primes instead of remainder().
5301 Use pre-computed max nbr of trials based on bitlength of BI to test.
5302 Use pre-computed small primes for the trial tests instead of random
5303 numbers.
5304
5305 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5306 not used.
5307
5308 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5309 invoacation of MPN.chars_per_word(). not used.
5310
5311 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5312 local var and used where needed.
5313
5314 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5315 Combined declaration with initialisation of locals.
5316 Removed unused var.
5317
5318 * java/math/BigInteger.java: Style changes
5319 (pow(int)): Removed 'else' keyword.
5320 (toString(int)): idem.
5321 (doubleValue()): idem.
5322 (bitLength()): idem.
5323 (equals(Object)): Use static methods name in same class w/o prepending
5324 class name.
5325 (doubleValue()): idem.
5326 (setNegative(BI)): idem.
5327 (negate()): idem.
5328 (and(BI,int)): idem.
5329 (and(BI)): idem.
5330 (gcd(BI)): idem.
5331 (byteArrayToIntArray()): Removed casting to (int). this is
5332 std. behaviour.
5333 (canonicalize()): idem.
5334 (alloc(int)): Always instantiate a new BI.
5335
5336 2003-02-10 Tom Tromey <tromey@redhat.com>
5337
5338 * java/sql/Timestamp.java (compareTo(Object)): New method.
5339 (compareTo(Timestamp)): Likewise.
5340 (serialVersionUID): Updated.
5341
5342 2003-02-07 Mark Wielaard <mark@klomp.org>
5343
5344 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5345 when verify is true.
5346 (JarFile(File, boolean)): Likewise.
5347 (manifestRead): Set manifestRead field correctly.
5348
5349 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5350
5351 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5352 tests; see patch #1016 on Savannah.
5353
5354 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5355
5356 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5357 (toString): do not return Strings starting with . and - erroneously.
5358 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5359 DiagBigDecimal.
5360
5361 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5362
5363 * java/beans/PropertyDescriptor.java
5364 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5365 methods.
5366 (PropertyDescriptor(String, Class, String, String)): Likewise.
5367 (PropertyDescriptor(String, Method, Method): Factor out getter and
5368 setter method sanity checks into new method.
5369 (findMethods): Don't do parameter sanity checking of get method here.
5370 (checkMethods): New method.
5371
5372 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5373
5374 * java/beans/PropertyDescriptor.java: Reformat.
5375
5376 2003-02-04 Tom Tromey <tromey@redhat.com>
5377
5378 * java/io/PipedOutputStream.java (flush): Declare as throwing
5379 IOException.
5380 (close): Likewise.
5381 * java/io/PipedWriter.java (close): Declare as throwing
5382 IOException.
5383 * java/io/StringWriter.java (close): Declare as throwing
5384 IOException.
5385
5386 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5387
5388 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5389 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5390 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5391 "_JNI_OnLoad@8" (MSVC).
5392
5393 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5394
5395 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5396 convention on Win32 to invoke native JNI methods.
5397
5398 2003-02-03 Andrew Haley <aph@redhat.com>
5399
5400 * configure.host (x86_64): Enable interpreter.
5401
5402 2003-02-03 Andrew Haley <aph@redhat.com>
5403
5404 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5405 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5406 * configure.in (BACKTRACESPEC): New.
5407 * configure: Regenerate.
5408
5409 2003-02-02 Tom Tromey <tromey@redhat.com>
5410
5411 * configure: Rebuilt.
5412 * configure.in (TOOLKIT) [xlib]: Set correctly.
5413
5414 * Makefile.in: Rebuilt.
5415 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5416 libstdc++.
5417
5418 2003-01-31 Mark WIelaard <mark@klomp.org>
5419
5420 * Makefile.in: Rebuilt.
5421 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5422
5423 2003-01-31 Tom Tromey <tromey@redhat.com>
5424
5425 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5426 cast to element type.
5427 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5428 (_Jv_JNI_GetObjectArrayElement): Likewise.
5429
5430 * Makefile.in: Rebuilt.
5431 * Makefile.am (cond_x_ltlibrary): Renamed library to
5432 lib-gnu-awt-xlib.la.
5433 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5434 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5435 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5436 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5437 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5438 (lib_gnu_awt_xlib_la_LINK): Likewise.
5439 (install-exec-hook): Removed.
5440 (lib-gnu-awt-xlib.la): Renamed.
5441
5442 2003-01-31 Tom Tromey <tromey@redhat.com>
5443
5444 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5445 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5446 aclocal.m4 and lost in some merge.
5447
5448 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5449 Don't try to find graphics configuration.
5450 * java/awt/Toolkit.java (default_toolkit_name): Use new
5451 Configuration entry.
5452 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5453 New global.
5454 * configure: Rebuilt.
5455 * configure.in (TOOLKIT): New subst.
5456 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5457 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5458 directory. Make output directories for .c files.
5459 * Makefile.in: Rebuilt.
5460 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5461 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5462 (all_java_source_files): Added new sources.
5463 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5464 (gtk_c_files): New macro.
5465 (gtk_c_source_files): New macro.
5466 (cond_gtk_ltlibrary): New macro.
5467 ($(gtk_c_files)): New target.
5468 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5469 (gtk_awt_peer_sources): New macro.
5470 (gtk_c_headers): New macro.
5471 ($(gtk_c_headers)): New target.
5472 (ACLOCAL_AMFLAGS): New macro.
5473 * gtk.m4, glib.m4, libart.m4: New files.
5474 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5475 gnu/java/awt/peer/gtk/GdkGraphics.java,
5476 gnu/java/awt/peer/gtk/GtkArg.java,
5477 gnu/java/awt/peer/gtk/GtkArgList.java,
5478 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5479 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5480 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5481 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5482 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5483 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5484 gnu/java/awt/peer/gtk/GtkClipboard.java,
5485 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5486 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5487 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5488 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5489 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5490 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5491 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5492 gnu/java/awt/peer/gtk/GtkImage.java,
5493 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5494 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5495 gnu/java/awt/peer/gtk/GtkListPeer.java,
5496 gnu/java/awt/peer/gtk/GtkMainThread.java,
5497 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5498 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5499 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5500 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5501 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5502 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5503 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5504 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5505 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5506 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5507 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5508 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5509 gnu/java/awt/peer/gtk/GtkToolkit.java,
5510 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5511 gnu/java/awt/peer/gtk/TestAWT.java,
5512 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5514 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5515 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5516 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5517 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5518 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5519 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5520 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5521 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5522 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5523 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5524 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5525 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5526 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5527 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5528 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5529 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5530 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5531 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5532 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5534 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5535 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5536 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5537 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5538 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5539 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5540 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5541 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5542 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5543 jni/classpath/native_state.c, jni/classpath/native_state.h,
5544 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5545
5546 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5547
5548 * java/util/Properties.java (load): Ignore backslash before EOF.
5549
5550 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5551
5552 * java/lang/natClass.cc (initializeClass): Check tables when
5553 (state == JV_STATE_IN_PROGRESS).
5554 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5555 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5556 interpreted classes.
5557 (linkClass0): Use _Jv_WaitForState.
5558
5559 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5560
5561 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5562 object when finished.
5563
5564 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5565
5566 * libjava/configure.host: Disable can_unwind_signal on darwin.
5567
5568 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5569
5570 Fixes PR java/9254:
5571 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5572 additionally containing id of the owner thread as well as
5573 the number of nested times the thread has acquired the mutex.
5574 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5575 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5576 (_Jv_MutexUnlock): Check if really the owner thread, reset
5577 owner thread id to 0 before leaving, if leaving for the last
5578 time.
5579 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5580 refcount.
5581 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5582 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5583 the passed mutex.
5584 Pass handle of the broadcast event, instead of a pointer to it
5585 in Win32 ResetEvent( ) call.
5586 Remove incorrect return values.
5587 (_Jv_CondDestroy): Close both event handles and delete
5588 critical section.
5589 (_Jv_CondNotify): Check if really the owner thread.
5590 (_Jv_CondNotifyAll): Check if really the owner thread.
5591 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5592 (really_start): Use SetEvent( ) to signal daemon_cond.
5593 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5594 WaitForSingleObject( ) instead to wait for daemon_cond to be
5595 signalled.
5596
5597 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5598
5599 * configure.in: Specifically define HAVE_BACKTRACE if building
5600 for MinGW.
5601 * include/win32.h: Remove HAVE_BACKTRACE definition.
5602 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5603 * configure: Rebuilt.
5604
5605 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5606
5607 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5608 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5609 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5610 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5611 * Makefile.in, configure: Rebuilt.
5612
5613 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5614
5615 Fixes PR java/9253:
5616 * java/io/natFileWin32.cc (performList): Append only "*.*"
5617 if the canonical file path already has a "\" at the end.
5618
5619 2003-01-24 Tom Tromey <tromey@redhat.com>
5620
5621 * defineclass.cc (handleMethodsEnd): Precompute code for static
5622 method.
5623 (handleCodeAttribute): Likewise.
5624 * resolve.cc (ncode): Use run_class for unsynchronized static
5625 methods.
5626 * include/java-interp.h (class _Jv_InterpMethod): Declare
5627 run_class.
5628 * interpret.cc (run_synch_class): Initialize class.
5629 (run) [insn_invokestatic]: Don't initialize class.
5630 [insn_anewarray]: Likewise.
5631 [insn_multianewarray]: Likewise.
5632 (run_class): New function.
5633
5634 2003-01-24 Tom Tromey <tromey@redhat.com>
5635
5636 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5637 comment.
5638
5639 2003-01-22 Andrew Haley <aph@redhat.com>
5640
5641 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5642 * configure.host (CHECKREFSPEC): Define for x86_64.
5643
5644 2003-01-21 Tom Tromey <tromey@redhat.com>
5645
5646 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5647 search at 2, not 3.
5648
5649 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5650
5651 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5652 looking at any characters.
5653 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5654 be used.
5655 (isAbsolute): Check path's length as well.
5656
5657 2003-01-17 Mark Wielaard <mark@klomp.org>
5658
5659 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5660 (nat_source_files): Add natVMObjectStreamClass.cc.
5661 * Makefile.in: Regenerated.
5662 * gcj/javaprims.h (namespace java): Regenerated.
5663 * java/io/ObjectStreamClass.java (getClassUID): Call
5664 VMObjectStreamClass.hasClassInitializer().
5665 (hasClassInitializer): Removed.
5666 * java/io/VMObjectStreamClass.java: New class.
5667 * java/io/natVMObjectStreamClass.cc: New file.
5668 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5669
5670 2003-01-16 Mark Wielaard <mark@klomp.org>
5671
5672 * java/net/SocketImpl.java (toString): Don't explicitly call
5673 toString() on possible null address.
5674
5675 2003-01-16 Michael Koch <konqueror@gmx.de>
5676
5677 * java/net/MulticastSocket.java
5678 (setInterface): Reindented.
5679
5680 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5681
5682 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5683 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5684 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5685 translateY arguments. Implement.
5686 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5687 down translation arguments.
5688 (drawPolyline, drawPolygon): Fix incorrect tests.
5689 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5690 translateX and translateY arguments.
5691
5692 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5693
5694 * Makefile.in: Rebuilt.
5695 * Makefile.am (xlib_includes): New macro.
5696 (INCLUDES): Use it.
5697
5698 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5699
5700 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5701 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5702 16-bit display mode.
5703
5704 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5705
5706 * java/awt/CardLayout.java (show): Rewrote.
5707 (gotoComponent): Removed `target' argument. Simplified code.
5708 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5709 Changed all callers.
5710 (NONE): Removed.
5711
5712 2003-01-14 Michael Koch <konqueror@gmx.de>
5713
5714 * java/net/InetSocketAddress.java
5715 (serialVersionUID): New member variable.
5716 * java/net/NetPermission.java
5717 (NetPermission): Dont implement java.io.Serialization directly.
5718 * java/net/SocketAddress.java:
5719 (serialVersionUID): Documentation added.
5720
5721 2003-01-14 Michael Koch <konqueror@gmx.de>
5722
5723 * java/awt/Label.java
5724 (Label): Implements javax.accessibility.Accessible;
5725 * java/awt/List.java
5726 (List): Implements javax.accessibility.Accessible;
5727 * java/awt/ScrollPane.java
5728 (ScrollPane): Implements javax.accessibility.Accessible;
5729 * java/awt/Scrollbar.java
5730 (Scrollbar): Implements javax.accessibility.Accessible;
5731 * java/awt/TextComponent.java
5732 (setCaretPosition): Throw exception, documentation added.
5733 * java/awt/Toolkit.java:
5734 Added some newlines in method documentations.
5735 (createButton): Exception documentation added.
5736 (createTextField): Exception documentation added.
5737 (createLabel): Exception documentation added.
5738 (createList): Exception documentation added.
5739 (createCheckbox): Exception documentation added.
5740 (createScrollbar): Exception documentation added.
5741 (createScrollPane): Exception documentation added.
5742 (createTextArea): Exception documentation added.
5743 (createChoice): Exception documentation added.
5744 (createFrame): Exception documentation added.
5745 (createWindow): Exception documentation added.
5746 (createDialog): Exception documentation added.
5747 (createMenuBar): Exception documentation added.
5748 (createMenu): Exception documentation added.
5749 (createMenuItem): Exception documentation added.
5750 (createFileDialog): Exception documentation added.
5751 (createCheckboxMenuItem): Exception documentation added.
5752 (loadSystemColors): Exception documentation added.
5753 (setDynamicLayout): Exception documentation added.
5754 (isDynamicLayoutSet): Exception documentation added.
5755 (isDynamicLayoutActive): Exception documentation added.
5756 (getScreenSize): Exception documentation added.
5757 (getScreenResolution): Exception documentation added.
5758 (getScreenInsets): Exception documentation added.
5759 (getColorModel): Exception documentation added.
5760 (getSystemClipboard): Exception documentation added.
5761 (getSystemSelection): Exception documentation added.
5762 (getMenuShortcutKeyMask): Exception documentation added.
5763 (getSystemEventQueue): Exception documentation added.
5764 * java/awt/Window.java:
5765 Reindented some code.
5766 (Window): Centralized implementation, documentation added.
5767 (finalize): Documentation added.
5768 (hide): Fixed typo in comment.
5769 (getWindowListeners): Documentation added.
5770 * java/awt/color/ColorSpace.java
5771 (toRGB): Documentation added.
5772 * java/awt/color/ICC_ColorSpace.java
5773 (ICC_ColorSpace): Documentation added.
5774 (toRGB): Throw exception, documentation added.
5775 (fromRGB): Throw exception, documentation added.
5776 (toCIEXYZ): Documentation added.
5777 (fromCIEXYZ): Documentation added.
5778 (getMinValue): Documentation added.
5779 (getMaxValue): Documentation added.
5780 * java/awt/geom/Dimension2D.java
5781 (clone): Documentation added.
5782 * java/awt/geom/GeneralPath.java
5783 (clone): Documentation added.
5784 * java/awt/geom/Line2D.java
5785 (clone): Documentation added.
5786 * java/awt/geom/QuadCurve2D.java
5787 (clone): Documentation added.
5788 * java/awt/image/ColorModel.java
5789 (ColorModel): Throw exception, documentation added.
5790 * java/awt/image/ImageFilter.java
5791 (clone): Doesnt throw CloneNotSupportedException.
5792
5793 2003-01-14 Andrew Haley <aph@redhat.com>
5794
5795 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5796 in a try block.
5797
5798 2003-01-10 Andrew Haley <aph@redhat.com>
5799
5800 * include/dwarf2-signal.h: Remove x86_64.
5801 * configure.host (x86_64 DIVIDESPEC): Remove.
5802 * include/x86_64-signal.h: New file.
5803 * configure.in: Regenerate.
5804
5805 2003-01-10 Michael Koch <konqueror@gmx.de>
5806
5807 * java/net/DatagramSocket.java
5808 (ch): Description added.
5809 (remotePort): Initialize with -1.
5810 (connect): Doesnt throws SocketException.
5811 * java/net/MulticastSocket.java
5812 (setInterface): Merge with Classpath.
5813 * java/net/ServerSocket.java
5814 (closed): New member variable.
5815 (bind): Check if socket is closed.
5816 (close): Close an associated channel too, set new value to closed.
5817 (isBound): Reindented.
5818 (isClosed): Implemented.
5819 * java/net/Socket.java
5820 (closed): New member variable.
5821 (bind): Check if socket is closed.
5822 (connect): Check if socket is closed.
5823 (close): Close an associated channel too, set new value to closed.
5824 (isClosed): Implemented.
5825
5826 2003-01-10 Michael Koch <konqueror@gmx.de>
5827
5828 * java/awt/DisplayMode.java
5829 (equals): Fixed argument type and implementation.
5830
5831 2003-01-07 Tom Tromey <tromey@redhat.com>
5832
5833 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5834 JV_HASH_SYNCHRONIZATION.
5835 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5836 JV_HASH_SYNCHRONIZATION.
5837
5838 2003-01-07 Michael Koch <konqueror@gmx.de>
5839
5840 * java/net/DatagramSocket.java:
5841 Added classpath license info.
5842 (DatagramSocket): Merged description with classpath.
5843 (close): Merged description with classpath.
5844 (getChannel): Merged description with classpath.
5845 (getInetAddress): Merged description with classpath.
5846 (getPort): Merged description with classpath.
5847 (getLocalAddress): Merged description with classpath.
5848 (getLocalPort): Merged description with classpath.
5849 (getSoTimeout): Merged description with classpath.
5850 (setSoTimeout): Merged description with classpath.
5851 (getSendBufferSize): Merged description with classpath.
5852 (setSendBufferSize): Merged description with classpath.
5853 (getReceiveBufferSize): Merged description with classpath.
5854 (setReceiveBufferSize): Merged description with classpath.
5855
5856 2003-01-04 Tom Tromey <tromey@redhat.com>
5857
5858 * java/awt/List.java: Merged with Classpath.
5859
5860 2003-01-03 Mark Wielaard <mark@klomp.org>
5861
5862 * java/io/FileDescriptor.java (position): New private field.
5863 * java/io/natFileDescriptorPosix.cc (write): Up position.
5864 (setLength): Use and set position.
5865 (seek): Set position.
5866 (getFilePointer): Return position.
5867 (read): Up position.
5868
5869 2003-01-03 Mark Wielaard <mark@klomp.org>
5870
5871 Merge with Classpath:
5872 * java/io/ObjectStreamClass.java (lookup): Split method and call
5873 lookupForClassObject().
5874 (lookupForClassObject): New method.
5875 (isProxyClass): New field.
5876 (setClass): Set isProxyClass, add object to classLookupTable, set
5877 superClass and calculateOffsets.
5878 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5879 and not a proxy class.
5880 (setFields): Set accessible true for serialPersistentFields.
5881 (getClassUID): Same for suid. And check if suid is of type long.
5882 (hasClassInitializer): Don't throw NoSuchMethodError.
5883
5884 2003-01-03 Mark Wielaard <mark@klomp.org>
5885
5886 * java/io/FileInputStream.java (finalize): Don't explicitly
5887 finalize FileDescriptor.
5888
5889 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5890
5891 * configure.host (sparc*-*): Enable bytecode interpreter.
5892
5893 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5894
5895 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5896 Don't throw RemoteException.
5897 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5898 throw RemoteException.
5899
5900 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5901
5902 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5903 proxyHost): New static fields.
5904 (<clinit>): Initialize new fields.
5905 (connect): Use proxy if necessary.
5906 (usingProxy): Implement.
5907
5908 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5909
5910 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5911 (TreeIterator.remove): Prefer IllegalStateException over
5912 ConcurrentModificationException, to match Sun.
5913
5914 2002-12-22 Anthony Green <green@redhat.com>
5915
5916 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5917
5918 2003-01-02 Mark Wielaard <mark@klomp.org>
5919
5920 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5921 public.
5922 (HTTP_USE_PROXY): Add field.
5923 (getResponseVals): Only set responseCode when not yet explicitly
5924 set by subclass.
5925
5926 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5927 Mark Wielaard <mark@klomp.org>
5928
5929 * java/util/zip/ZipFile.java (entries): Now HashMap.
5930 (readLeShort(DataInput, byte[])): Read from given byte array.
5931 (readLeInt(DataInput, byte[]): Likewise.
5932 (readLeShort(byte[] b, int off)): New method.
5933 (readLeInt(byte[] b, int off)): Likewise.
5934 (readEntries): Use byte arrays to read info in bigger chunks.
5935 (getEntries): Return HashMap.
5936 (getEntry): Use HashMap.
5937 (locBuf): New private field.
5938 (checkLocalHeader): Use locBuf to read info in one chunk.
5939 (getInputStream): Use entries HashMap, wrap PartialInputStream
5940 in BufferedInputStream.
5941 (ZipEntryEnumeration): Use HashMap and Interator.
5942
5943 2003-01-02 Mark Wielaard <mark@klomp.org>
5944 Jeroen Frijters <jeroen@sumatra.nl>
5945
5946 * java/net/URLClassLoader.java (Resource.getCodeSource):
5947 Fix check certs == null.
5948 (getCanonicalFileURL): Removed method.
5949 (JarURLLoader): Don't call removed method.
5950 (FileURLLoader): Likewise.
5951 (FileURLLoader.getResource): Don't canonicalize file name.
5952
5953 2003-01-01 Tom Tromey <tromey@redhat.com>
5954
5955 * Makefile.in: Rebuilt.
5956 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5957 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5958 java/awt/BufferCapabilities.java, java/awt/Button.java,
5959 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5960 java/awt/Container.java, java/awt/Cursor.java,
5961 java/awt/EventQueue.java, java/awt/FileDialog.java,
5962 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5963 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5964 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5965 java/awt/Scrollbar.java, java/awt/TextArea.java,
5966 java/awt/TextField.java, java/awt/color/CMMException.java,
5967 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5968 java/awt/color/ProfileDataException.java,
5969 java/awt/datatransfer/Clipboard.java,
5970 java/awt/datatransfer/DataFlavor.java,
5971 java/awt/datatransfer/FlavorMap.java,
5972 java/awt/datatransfer/SystemFlavorMap.java,
5973 java/awt/dnd/DragGestureEvent.java,
5974 java/awt/dnd/DragGestureRecognizer.java,
5975 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5976 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5977 java/awt/im/InputMethodHighlight.java,
5978 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5979 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5980
5981 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5982 `op' to BufferedImageOp.
5983
5984 2002-12-31 Tom Tromey <tromey@redhat.com>
5985
5986 Fix for PR libgcj/7416:
5987 * javax/naming/InitialContext.java (init): Use
5988 gnu.classpath.home.url.
5989 * java/security/Security.java: Use new properties.
5990 (loadProviders): Accept base url; use it.
5991 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5992 gnu.classpath.home.url.
5993 (gnu.classpath.home.url): Define.
5994 (gnu.classpath.vm.shortname): Likewise.
5995
5996 2002-12-31 Tom Tromey <tromey@redhat.com>
5997 Ranjit Mathew <rmathew@hotmail.com>
5998
5999 Fix for PR libgcj/8997:
6000 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6001 Include platform.h.
6002 * include/posix.h (_Jv_platform_usleep): New function.
6003 * include/win32.h (_Jv_platform_usleep): New function.
6004
6005 2002-12-29 Tom Tromey <tromey@redhat.com>
6006
6007 * gcj/javaprims.h: Updated.
6008 * scripts/classes.pl (scan): Removed stray semicolon.
6009
6010 2002-12-30 Mark Wielaard <mark@klomp.org>
6011
6012 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6013 if zero or smaller.
6014
6015 2002-12-30 Mark Wielaard <mark@klomp.org>
6016
6017 * java/util/Properties (formatForOutput): Don't fall through to
6018 default case after escaping character.
6019
6020 2002-12-30 Mark Wielaard <mark@klomp.org>
6021
6022 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6023 against count.
6024
6025 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6026
6027 * boehm.cc: Remove stray semicolon.
6028 * interpret.cc: Likewise.
6029 * prims.cc: Likewise.
6030 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6031 earlier to ensure default arguments are processed.
6032 * gcj/array.h (JArray): Add forward declaration.
6033 (elements): Likewise.
6034 * gcj/javaprim.h: Remove stray semicolons.
6035 * include/bohm-gc.h: Likewise.
6036 * include/jni.h: Likewise.
6037 * include/jvm.h: Likewise.
6038 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6039
6040 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6041
6042 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6043 of catch_type.
6044 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6045 idt tables after initializing superclass.
6046 * java/lang/natClassLoader.cc (uaddr): New typedef.
6047 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6048 if they are constant pool indicies. Don't link vtable, otable yet.
6049
6050 2002-12-21 Anthony Green <green@redhat.com>
6051
6052 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6053 libraries.
6054 * Makefile.in: Rebuilt.
6055
6056 2002-12-19 Anthony Green <green@redhat.com>
6057
6058 * Makefile.am (ordinary_java_source_files): Add
6059 org/xml/sax/helpers/NewInstance.java.
6060 * Makefile.in: Rebuilt.
6061 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6062 org/xml/sax/helpers/package.html: New files.
6063 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6064 http://www.saxproject.org.
6065
6066 2002-12-19 Andrew Haley <aph@redhat.com>
6067
6068 * java/util/natResourceBundle.cc: Include
6069 ArrayIndexOutOfBoundsException.h.
6070 (getCallingClassLoader): Don't put upper bound on stack search.
6071 Catch ArrayIndexOutOfBoundsException.
6072
6073 2002-12-19 Tom Tromey <tromey@redhat.com>
6074
6075 * libtool-version: Increased `current'.
6076
6077 2002-12-19 Tom Tromey <tromey@redhat.com>
6078
6079 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6080 comment.
6081 * java/lang/ClassLoader.java (defineClass): Use chained
6082 exception when rethrowing.
6083 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6084 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6085 constants.
6086 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6087 (_Jv_PrepareClass): Use it.
6088 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6089 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6090 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6091 (Class): _Jv_PrepareMissingMethods now friend.
6092 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6093 Record `NULL' for system class loader.
6094 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6095 system class loader.
6096 (_Jv_FindClassInCache): Likewise.
6097 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6098 (_Jv_FindClass): Special case system class loader.
6099 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6100 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6101 vtable slots.
6102 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6103 in a final class.
6104 (_getDeclaredMethod): Don't return synthetic methods.
6105 (getDeclaredMethods): Likewise.
6106 (_getMethod): Likewise.
6107 (_getMethods): Likewise.
6108
6109 2002-12-18 Raif Naffah <raif@fl.net.au>
6110
6111 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6112 canonical form after divide().
6113 (modInverse): Likewise.
6114
6115 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6116 Mark Wielaard <mark@klomp.org>
6117
6118 * java/security/SecurityRandom (digest): Removed field.
6119 (SecureRandom): Check all providers for case-insensitive SecureRandom
6120 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6121 if necessary.
6122 (getInstance(String,Provider,boolean): New method.
6123 (getInstance(String)): Use new method.
6124 (getInstance(String,String)): Likewise.
6125 (getInstance(String,Provider)): Likewise.
6126
6127 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6128
6129 * java/security/Security.java (loadProviders): Increment i only once.
6130
6131 2002-12-12 Mark Wielaard <mark@klomp.org>
6132
6133 * java/lang/ClassLoader.java (resolveClass0): Transform
6134 ClassNotFoundException to NoClassDefFoundError. Transform all other
6135 throwables to LinkageError.
6136
6137 2002-12-11 Tom Tromey <tromey@redhat.com>
6138
6139 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6140
6141 * java/lang/ClassLoader.java (loadedClasses): New field.
6142 (defineClass): Fixed indentation. Put new class in
6143 loadedClasses.
6144 (findLoadedClass): Implement here.
6145 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6146
6147 2002-12-10 Tom Tromey <tromey@redhat.com>
6148
6149 * Makefile.in: Rebuilt.
6150 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6151 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6152 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6153 * java/lang/natClassLoader.cc
6154 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6155
6156 2002-12-10 Mark Wielaard <mark@klomp.org>
6157 Tom Tromey <tromey@redhat.com>
6158
6159 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6160 (JarURLLoader): Use it.
6161 (FileURLLoader): Likewise.
6162 (JarURLResource.getURL): Use chained exception.
6163 (FileResource.getURL): Likewise.
6164 (FileURLLoader.getResource): Use canonical file name.
6165 (addURL): Indentation fix.
6166
6167 2002-12-10 Tom Tromey <tromey@redhat.com>
6168
6169 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6170 From Laurent Bardet <l.bardet@magic.fr>.
6171
6172 2002-12-09 Tom Tromey <tromey@redhat.com>
6173
6174 * include/win32.h (_Jv_platform_solib_prefix): New define.
6175 (_Jv_platform_solib_suffix): Likewise.
6176 * include/posix.h (_Jv_platform_solib_prefix): New define.
6177 (_Jv_platform_solib_suffix): Likewise.
6178 * java/lang/natRuntime.cc: Include StackTrace.h.
6179 (_load): Use findLibrary and new platform defines.
6180 (nativeGetLibname): Use new platform defines.
6181
6182 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6183 `t' won't be null.
6184
6185 2002-12-08 Mark Wielaard <mark@klomp.org>
6186
6187 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6188 cache remote jar files.
6189 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6190 add File.separator to URL when it is a directory.
6191 * java/lang/ClassLoader.java: Add Classpath javadoc.
6192 (parent): final.
6193 (getParent): Add (disabled) security check.
6194 (findLibrary): New default method.
6195 * java/net/JarURLConnection.java (getManifest): Implement.
6196 (getInputStream): Only create InputStream when entry exists.
6197 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6198 when they exist.
6199 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6200
6201 2002-12-08 Mark Wielaard <mark@klomp.org>
6202
6203 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6204 (lastDefaultLocale): New field.
6205 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6206 resourceBundleCache.
6207
6208 2002-12-06 Mark Wielaard <mark@klomp.org>
6209
6210 * java/net/InetAddress.java (toString): Use hostname when not null,
6211 don't do an explicit reverse getHostName() lookup.
6212 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6213 NullPointerException.
6214
6215 2002-12-06 Tom Tromey <tromey@redhat.com>
6216
6217 * include/java-interp.h (class _Jv_InterpMethod): Added
6218 JV_MARKOBJ_DECL.
6219 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6220 mark `prepared' field of interpreted method.
6221 * interpret.cc (compile): Use _Jv_AllocBytes.
6222
6223 2002-12-05 Andrew Haley <aph@redhat.com>
6224
6225 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6226 #ifdef (HAVE_BACKTRACE) around the whole function body.
6227
6228 2002-12-05 Tom Tromey <tromey@redhat.com>
6229
6230 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6231 * resolve.cc: Don't include AbstractMethodError.h.
6232 (_Jv_abstractMethodError): Removed.
6233 * defineclass.cc (handleMethodsBegin): Initialize method index to
6234 -1.
6235 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6236 method index for "new" final method.
6237 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6238 isVirtualMethod. Added `flags' argument.
6239 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6240 class.
6241
6242 2002-12-04 Tom Tromey <tromey@redhat.com>
6243
6244 * java/net/SocketPermission.java (hashCode): Rewrote.
6245
6246 2002-12-04 Tom Tromey <tromey@redhat.com>
6247
6248 * Makefile.in: Rebuilt.
6249 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6250 natResourceBundle.
6251 * java/util/ResourceBundle.java (Security): Removed.
6252 (getCallingClassLoader): Now native.
6253 * java/util/natResourceBundle.cc: New file.
6254 * java/lang/natVMSecurityManager.cc: New file.
6255 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6256
6257 2002-12-03 Mark Wielaard <mark@klomp.org>
6258
6259 * java/util/jar/JarFile.java (manifest): Not final.
6260 (manifestRead): New field.
6261 (JarFile): Don't read Manifest in constructor.
6262 (getManifest): New method.
6263 (JarEnumeration.nextElement): Use new method.
6264 (getEntry): Likewise.
6265 * java/util/zip/ZipFile.java (name): Final.
6266 (raf): Likewsie.
6267 (entries): Change type to Hashtable.
6268 (closed): New field.
6269 (ZipFile): Don't read enties in constructor.
6270 (readEntries): Use Hashtable.
6271 (close): Set new close flag and set entries to null inside
6272 synchronized block.
6273 (entries): Contruct enumeration using new getEntries() method and
6274 entries Hashtable.
6275 (getEntryIndex): Removed.
6276 (getEntries): New method.
6277 (getEntry): Use new getEntries() method and entries Hastable.
6278 (getInputStream): Likewise.
6279 (size): Return getEntries().size().
6280 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6281 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6282 (time): Removed
6283 (dostime): New field.
6284 (zipFileIndex): Removed.
6285 (ZipEntry(ZipEntry)): Copy dostime.
6286 (setDOSTime): Now final and doesn't convert dos time.
6287 (getDOSTime): Likewise.
6288 (setTime): Convert dos time.
6289 (getTime): Likewise.
6290 (getCalendar): New method.
6291 (setExtra): Use setTime().
6292 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6293
6294 2002-12-03 Tom Tromey <tromey@redhat.com>
6295
6296 * java/lang/Character.java (forDigit): Formatting fix.
6297
6298 2002-12-03 Raif Naffah <raif@fl.net.au>
6299
6300 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6301 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6302 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6303
6304 2002-12-03 Andrew Haley <aph@redhat.com>
6305
6306 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6307 _Jv_PushClass.
6308 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6309 (_Jv_PopClass): New.
6310 (_Jv_PushClass): New.
6311 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6312 discover the ClassLoader of our caller.
6313 (_Jv_CheckArrayStore): Don't check that a class is assignment
6314 compatible with Object.
6315 * java/lang/natVMTHrowable.cc: Delete.
6316 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6317 java.lang.VMThrowable.
6318 (StackTrace(), StackTrace(int)): New constructors.
6319 (classAt, methodAt, update, methodAtAddress): New methods.
6320 (map): New field.
6321 * java/lang/VMThrowable.java: Use StackTrace instead of
6322 natVMTHrowable.
6323 * java/lang/Class.h (getClassLoaderInternal): New.
6324 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6325 Be friendly with gnu::gcj::runtime::StackTrace.
6326 (Object.chain): New field.
6327 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6328 gnu::gcj::runtime::StackTrace.
6329 * gnu/gcj/runtime/natStackTrace.cc: New file.
6330 * gnu/gcj/runtime/MethodRef.java: New file.
6331 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6332 instead of getClassLoader().
6333 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6334 java::lang::VMThrowable.
6335 * Makefile.am (core_java_source_files): Add MethodRef.java,
6336 StackTrace.java.
6337 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6338 * Makefile.in: Rebuild.
6339
6340 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6341
6342 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6343 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6344 yes also for sh-linux* and sh[34]*-linux*.
6345 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6346 set SIGNAL_HANDLER to use DWARF2 exception for them.
6347 * configure: Regenerate.
6348
6349 2002-12-02 Tom Tromey <tromey@redhat.com>
6350
6351 * jni.cc: Added `name' argument.
6352 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6353 `const char *' argument.
6354 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6355
6356 2002-12-01 Tom Tromey <tromey@redhat.com>
6357
6358 Bug compatibility, for PR libgcj/8738:
6359 * java/io/CharArrayWriter.java (close): Do nothing.
6360 (flush): Likewise.
6361 (reset): Don't touch `closed'.
6362 (write(int)): Don't throw IOException.
6363 (write(char[],int,int)): Likewise.
6364 (write(String,int,int)): Likewise.
6365 (closed): Removed.
6366
6367 2002-12-01 Mark Wielaard <mark@klomp.org>
6368
6369 * java/lang/SecurityManager.java: Remerge comments, indenting and
6370 checkXXX methods with Classpath.
6371
6372 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6373
6374 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6375 getNormalizedComponents): Fix calculation which was using one too
6376 many bits in the unnormalized format.
6377
6378 2002-11-29 Gary Benson <gbenson@redhat.com>
6379
6380 For PR libgcj/8759:
6381 * java/beans/Introspector.java (flushCaches): New method.
6382 (flushFromCaches): Likewise.
6383
6384 2002-11-29 Michael Koch <konqueror@gmx.de>
6385
6386 * java/nio/channels/DatagramChannel.java
6387 (open): Added exception documentation.
6388 (write): Added exception documentation.
6389 (connect): Added exception documentation.
6390 (disconnect): Added exception documentation.
6391 (isConnected): Added exception documentation.
6392 (read): Added exception documentation.
6393 (receive): Added exception documentation.
6394 (send): Added exception documentation.
6395 (validOps): Added exception documentation.
6396 * java/nio/channels/SocketChannel.java
6397 (open): Added exception documentation.
6398 (read): Added exception documentation.
6399 (write): Added exception documentation.
6400 (connect): Added exception documentation.
6401 (finishConnect): Added exception documentation.
6402
6403 2002-11-29 Michael Koch <konqueror@gmx.de>
6404
6405 * gnu/java/nio/DatagramChannelImpl:
6406 (fd): New member variable to store file descriptor of socket.
6407 * gnu/java/nio/SelectionKeyImpl.java:
6408 (ops): Removed.
6409 (readyOps): New member variable.
6410 (interestOps): New member variable.
6411 (readyOps): Implemented.
6412 (readyOps): New method to set member variable readyOps.
6413 (interestOps): Replaced ops by interestOps.
6414 * gnu/java/nio/SelectorImpl.java:
6415 (SelectorImpl): Initialize key sets.
6416 (select): Call select with -1 instead of Long.MAX_VALUE).
6417 (java_do_select): Make it a native method.
6418 (getFDsAsArray): New helper method.
6419 (select): Remove canceled keys, give only interested file discriptors
6420 to java_do_select, set ready ops.
6421 (add): No need to initialize keys set here.
6422 (add_selected): No need to initialize selected set here.
6423 (deregisterCanceledKeys): New helper method.
6424 (register): Set interest ops, set attachments, added handling of datagram
6425 channels.
6426 * gnu/java/nio/ServerSocketChannelImpl:
6427 (SocketAccept): Renamed from NioSocketAccept.
6428 (implConfigureBlocking): Implemented.
6429 (accept): Use SocketAccept instead of NioSocketAccept.
6430 * gnu/java/nio/SocketChannelImpl:
6431 Reactivate native methods.
6432
6433 2002-11-29 Michael Koch <konqueror@gmx.de>
6434
6435 * gnu/java/nio/natByteBufferImpl.cc,
6436 gnu/java/nio/natCharBufferImpl.cc,
6437 gnu/java/nio/natDoubleBufferImpl.cc,
6438 gnu/java/nio/natFloatBufferImpl.cc,
6439 gnu/java/nio/natIntBufferImpl.cc,
6440 gnu/java/nio/natLongBufferImpl.cc,
6441 gnu/java/nio/natSelectorImpl.cc,
6442 gnu/java/nio/natServerSocketChannelImpl.cc,
6443 gnu/java/nio/natShortBufferImpl.cc,
6444 gnu/java/nio/natSocketChannelImpl.cc:
6445 New files that implement native functionalities.
6446
6447 2002-11-29 Michael Koch <konqueror@gmx.de>
6448
6449 * gnu/java/nio/ByteBufferImpl.java
6450 (ByteBufferImpl): Moved position() after limit.
6451 (nio_*): Use native implementation.
6452 * gnu/java/nio/CharBufferImpl.java:
6453 Reformated.
6454 (endian): New member variable string endianess of buffer.
6455 (CharBufferImpl): Moved position() after limit.
6456 (nio_*): Use native implementation.
6457 (subSequence): Implemented.
6458 * gnu/java/nio/DoubleBufferImpl.java
6459 (DoubleBufferImpl): Moved position() after limit.
6460 (nio_*): Use native implementation.
6461 * gnu/java/nio/FloatBufferImpl.java
6462 Reformated.
6463 (FloatBufferImpl): Moved position() after limit.
6464 (nio_*): Use native implementation.
6465 * gnu/java/nio/IntBufferImpl.java
6466 Added needed imports, Reformated.
6467 (IntBufferImpl): Moved position() after limit.
6468 (nio_*): Use native implementation.
6469 * gnu/java/nio/LongBufferImpl.java
6470 Reformated.
6471 (LongBufferImpl): Moved position() after limit.
6472 (nio_*): Use native implementation.
6473 * gnu/java/nio/ShortBufferImpl.java
6474 Reformated.
6475 (ShortBufferImpl): Moved position() after limit.
6476 (nio_*): Use native implementation.
6477
6478 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6479
6480 * java/util/Locale.java (toString): Improve efficiency if country
6481 and variant are both empty.
6482
6483 2002-11-26 Tom Tromey <tromey@redhat.com>
6484
6485 * verify.cc (pop_init_ref): New method.
6486 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6487 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6488 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6489 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6490 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6491 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6492 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6493 let `this' argument be uninitialized. Don't let `null' be passed
6494 as `this' to construtor.
6495
6496 2002-11-26 Mark Wielaard <mark@klomp.org>
6497
6498 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6499 * javax/transaction/HeuristicMixedException.java: Likewise.
6500 * javax/transaction/HeuristicRollbackException.java: Likewise.
6501 * javax/transaction/InvalidTransactionException.java: Likewise.
6502 * javax/transaction/NotSupportedException.java: Likewise.
6503 * javax/transaction/RollbackException.java: Likewise.
6504 * javax/transaction/Status.java: Likewise.
6505 * javax/transaction/Synchronization.java: Likewise.
6506 * javax/transaction/SystemException.java: Likewise.
6507 * javax/transaction/Transaction.java: Likewise.
6508 * javax/transaction/TransactionManager.java: Likewise.
6509 * javax/transaction/TransactionRequiredException.java: Likewise.
6510 * javax/transaction/TransactionRolledbackException.java: Likewise.
6511 * javax/transaction/UserTransaction.java: Likewise.
6512 * javax/transaction/xa/XAException.java: Likewise.
6513 * javax/transaction/xa/XAResource.java: Likewise.
6514 * javax/transaction/xa/Xid.java: Likewise.
6515
6516 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6517
6518 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6519 define.
6520 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6521 * include/posix.h (socklen_t): Define if not already defined.
6522
6523 2002-11-25 Tom Tromey <tromey@redhat.com>
6524
6525 * verify.cc (type::compatible): Backed out broken change.
6526
6527 * verify.cc (type::compatible): Check initialization status
6528 first.
6529 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6530 Don't use NULLCHECK.
6531
6532 2002-11-23 H.J. Lu <hjl@gnu.org>
6533
6534 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6535 Include ../config/accross.m4.
6536 * aclocal.m4; Rebuild.
6537 * configure: Likewise.
6538
6539 2002-11-23 Mark Wielaard <mark@klomp.org>
6540
6541 * javax/naming/AuthenticationException.java: Update copyright header.
6542 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6543 * javax/naming/Binding.java: Likewise.
6544 * javax/naming/CannotProceedException.java: Likewise.
6545 * javax/naming/CommunicationException.java: Likewise.
6546 * javax/naming/CompositeName.java: Likewise.
6547 * javax/naming/CompoundName.java: Likewise.
6548 * javax/naming/ConfigurationException.java: Likewise.
6549 * javax/naming/Context.java: Likewise.
6550 * javax/naming/ContextNotEmptyException.java: Likewise.
6551 * javax/naming/InitialContext.java: Likewise.
6552 * javax/naming/InsufficientResourcesException.java: Likewise.
6553 * javax/naming/InterruptedNamingException.java: Likewise.
6554 * javax/naming/LimitExceededException.java: Likewise.
6555 * javax/naming/LinkException.java: Likewise.
6556 * javax/naming/LinkLoopException.java: Likewise.
6557 * javax/naming/LinkRef.java: Likewise.
6558 * javax/naming/MalformedLinkException.java: Likewise.
6559 * javax/naming/NameAlreadyBoundException.java: Likewise.
6560 * javax/naming/NameClassPair.java: Likewise.
6561 * javax/naming/NameNotFoundException.java: Likewise.
6562 * javax/naming/NameParser.java: Likewise.
6563 * javax/naming/NamingEnumeration.java: Likewise.
6564 * javax/naming/NamingSecurityException.java: Likewise.
6565 * javax/naming/NoInitialContextException.java: Likewise.
6566 * javax/naming/NoPermissionException.java: Likewise.
6567 * javax/naming/NotContextException.java: Likewise.
6568 * javax/naming/OperationNotSupportedException.java: Likewise.
6569 * javax/naming/PartialResultException.java: Likewise.
6570 * javax/naming/Reference.java: Likewise.
6571 * javax/naming/Referenceable.java: Likewise.
6572 * javax/naming/ReferralException.java: Likewise.
6573 * javax/naming/ServiceUnavailableException.java: Likewise.
6574 * javax/naming/SizeLimitExceededException.java: Likewise.
6575 * javax/naming/TimeLimitExceededException.java: Likewise.
6576 * javax/naming/directory/Attribute.java: Likewise.
6577 * javax/naming/directory/AttributeInUseException.java: Likewise.
6578 * javax/naming/directory/AttributeModificationException.java: Likewise.
6579 * javax/naming/directory/Attributes.java: Likewise.
6580 * javax/naming/directory/BasicAttribute.java: Likewise.
6581 * javax/naming/directory/BasicAttributes.java: Likewise.
6582 * javax/naming/directory/DirContext.java: Likewise.
6583 * javax/naming/directory/InitialDirContext.java: Likewise.
6584 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6585 Likewise.
6586 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6587 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6588 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6589 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6590 * javax/naming/directory/ModificationItem.java: Likewise.
6591 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6592 * javax/naming/directory/SchemaViolationException.java: Likewise.
6593 * javax/naming/directory/SearchControls.java: Likewise.
6594 * javax/naming/directory/SearchResult.java: Likewise.
6595 * javax/naming/event/EventContext.java: Likewise.
6596 * javax/naming/event/EventDirContext.java: Likewise.
6597 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6598 * javax/naming/event/NamingEvent.java: Likewise.
6599 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6600 * javax/naming/event/NamingListener.java: Likewise.
6601 * javax/naming/event/ObjectChangeListener.java: Likewise.
6602 * javax/naming/ldap/Control.java: Likewise.
6603 * javax/naming/ldap/ControlFactory.java: Likewise.
6604 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6605 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6606 * javax/naming/ldap/HasControls.java: Likewise.
6607 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6608 * javax/naming/ldap/LdapContext.java: Likewise.
6609 * javax/naming/ldap/LdapReferralException.java: Likewise.
6610 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6611 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6612 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6613 * javax/naming/spi/DirObjectFactory.java: Likewise.
6614 * javax/naming/spi/DirStateFactory.java: Likewise.
6615 * javax/naming/spi/DirectoryManager.java: Likewise.
6616 * javax/naming/spi/InitialContextFactory.java: Likewise.
6617 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6618 * javax/naming/spi/NamingManager.java: Likewise.
6619 * javax/naming/spi/ObjectFactory.java: Likewise.
6620 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6621 * javax/naming/spi/ResolveResult.java: Likewise.
6622 * javax/naming/spi/Resolver.java: Likewise.
6623 * javax/naming/spi/StateFactory.java: Likewise.
6624
6625 * javax/naming/spi/NamingManager.java (ofb): Package private.
6626
6627 2002-11-21 Mark Wielaard <mark@klomp.org>
6628
6629 * java/net/URL.java: Merge with Classpath (partly).
6630 * java/net/URLStreamHandler: Merge with Classpath.
6631
6632 2002-11-22 Michael Koch <konqueror@gmx.de>
6633
6634 * include/posix.h:
6635 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6636 * include/win32.h:
6637 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6638 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6639
6640 2002-11-21 Michael Koch <konqueror@gmx.de>
6641
6642 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6643 Only the new network functions should be in it.
6644
6645 2002-11-21 Michael Koch <konqueror@gmx.de>
6646
6647 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6648 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6649
6650 2002-11-21 Michael Koch <konqueror@gmx.de>
6651
6652 * java/nio/channels/AsynchronousCloseException.java,
6653 java/nio/channels/CancelledKeyException.java,
6654 java/nio/channels/ClosedByInterruptException.java,
6655 java/nio/channels/ConnectionPendingException.java,
6656 java/nio/channels/FileLockInterruptionException.java,
6657 java/nio/channels/IllegalSelectorException.java,
6658 java/nio/channels/NoConnectionPendingException.java,
6659 java/nio/channels/NonReadableChannelException.java,
6660 java/nio/channels/NonWritableChannelException.java,
6661 java/nio/channels/NotYetBoundException.java,
6662 java/nio/channels/NotYetConnectedException.java,
6663 java/nio/channels/OverlappingFileLockException.java,
6664 java/nio/channels/UnresolvedAddressException.java,
6665 java/nio/channels/UnsupportedAddressTypeException.java:
6666 New files.
6667 * Makefile.am (ordinary_java_source_files): Added new files.
6668 * Makefile.in: Regenerated.
6669
6670 2002-11-21 Michael Koch <konqueror@gmx.de>
6671
6672 * include/posix.h
6673 (_Jv_socket): New method.
6674 (_Jv_connect): New method.
6675 (_Jv_close): New method.
6676 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6677 (_Jv_bind): New method.
6678 (_Jv_listen): New method.
6679 (_Jv_write): New method.
6680 (_Jv_read): New method.
6681 * include/win32.h
6682 (_Jv_socket): New method.
6683 (_Jv_connect): New method.
6684 (_Jv_close): New method.
6685 (_Jv_bind): New method.
6686 (_Jv_listen): New method.
6687 (_Jv_write): New method.
6688 (_Jv_read): New method.
6689 * java/net/natNetworkInterface.cc:
6690 Include platform.h, removed inclusion of socket.h
6691 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6692 ::close() by _Jv_close().
6693 * java/net/natPlainDatagramSocketImpl.cc:
6694 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6695 added some new lines to make code more readable.
6696 (create): Replaced ::socket() by _Jv_socket().
6697 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6698 * java/net/natPlainSocketImpl.cc:
6699 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6700 removed include of socket.h, removed some windows defines
6701 (now in include/win32.h).
6702 (create): Replaced ::socket() by _Jv_socket().
6703 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6704 (write): Replaced ::read by _Jv_write().
6705 (read): Replaced ::read by _Jv_read().
6706
6707 2002-11-20 Michael Koch <konqueror@gmx.de>
6708
6709 * Makefile.am (ordinary_java_source_files):
6710 Added java/nio/channels/FileChannel.java.
6711 * Makefile.in: Regenerated.
6712
6713 2002-11-20 Michael Koch <konqueror@gmx.de>
6714
6715 * java/io/FileInputStream.java
6716 (getChannel): New method.
6717 * java/io/FileOutputStream.java
6718 (getChannel): New method.
6719 * java/net/ServerSocket.java
6720 (bind): Removed duplicate code and called another bind method instead.
6721 * java/nio/channels/SelectionKey.java
6722 (isValid): Removed wrong exception documentation.
6723 * java/nio/channels/ServerSocketChannel.java
6724 (accept): Added exception documentation.
6725 (open): Fixed typo, added exception documentation.
6726 * java/nio/channels/spi/AbstractSelectableChannel.java
6727 (implCloseChannel): Added exception documentation.
6728 (add): Reformated.
6729 (register): Added exception documentation.
6730
6731 2002-11-20 Andreas Jaeger <aj@suse.de>
6732
6733 * configure: Regenerated with new libtool.m4.
6734
6735 2002-11-19 Tom Tromey <tromey@redhat.com>
6736
6737 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6738 `referent'.
6739 (finalize_referred_to_object): Don't modify `referent' or `copy'
6740 fields.
6741 (add_to_hash): Correctly set `n->next' when updating list.
6742 * java/lang/ref/Reference.java (enqueue): Return false if already
6743 enqueued.
6744
6745 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6746
6747 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6748 to function and function pointer declarations in accordance with
6749 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6750 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6751 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6752 JNI function definitions.
6753
6754 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6755
6756 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6757 that was causing CoderResults to be cached, not WeakReferences
6758 to CoderResults.
6759
6760 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6761
6762 * java/security/KeyStore.java (getInstance): Fix
6763 comment and throw IllegalArgumentException if
6764 given provider is null.
6765 (getInstance): New method for jdk1.4 compatibility.
6766
6767 2002-11-18 Michael Koch <konqueror@gmx.de>
6768
6769 * java/net/PlainSocketImpl.java: Fix imports.
6770
6771 2002-11-18 Michael Koch <konqueror@gmx.de>
6772
6773 * java/nio/channels/SelectionKey.java
6774 (isValid): Added exception documentation.
6775 * java/nio/channels/Selector.java
6776 (open): Declare "throws IOException".
6777
6778 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6779
6780 * java/nio/charset/Charset.java
6781 (<clinit>): New method.
6782 (encode): Synchronize use of cached encoder object.
6783 (decode): Synchronize use of cached encoder object.
6784
6785 2002-11-18 Michael Koch <konqueror@gmx.de>
6786
6787 * gnu/java/nio/ByteBufferImpl.java,
6788 gnu/java/nio/CharBufferImpl.java,
6789 gnu/java/nio/DatagramChannelImpl.java,
6790 gnu/java/nio/DoubleBufferImpl.java,
6791 gnu/java/nio/FileChannelImpl.java,
6792 gnu/java/nio/FloatBufferImpl.java,
6793 gnu/java/nio/IntBufferImpl.java,
6794 gnu/java/nio/LongBufferImpl.java,
6795 gnu/java/nio/PipeImpl.java,
6796 gnu/java/nio/SelectionKeyImpl.java,
6797 gnu/java/nio/SelectorImpl.java,
6798 gnu/java/nio/SelectorProviderImpl.java,
6799 gnu/java/nio/ServerSocketChannelImpl.java,
6800 gnu/java/nio/ShortBufferImpl.java,
6801 gnu/java/nio/SocketChannelImpl.java,
6802 java/nio/DoubleBuffer.java,
6803 java/nio/FloatBuffer.java,
6804 java/nio/IntBuffer.java,
6805 java/nio/LongBuffer.java,
6806 java/nio/ShortBuffer.java,
6807 java/nio/channels/FileChannel.java: New files.
6808
6809 2002-11-18 Michael Koch <konqueror@gmx.de>
6810
6811 * Makefile.am (ordinary_java_source_files):
6812 Added java/nio/ReadOnlyBufferException.java and
6813 java/nio/channels/ClosedSelectorException.java.
6814 * Makefile.in: Regenerated.
6815
6816 2002-11-18 Michael Koch <konqueror@gmx.de>
6817
6818 * java/net/PlainSocketImpl.java: Reworked imports.
6819 * java/net/ServerSocket.java
6820 (ServerSocket): Create socket.
6821 * java/net/SocketAddress.java: Documentation added.
6822 * java/net/natPlainSocketImpl.cc: Reindented.
6823 * java/nio/ReadOnlyBufferException.java: New file
6824 * java/nio/channels/ClosedChannelException.java: Documentation added.
6825 * java/nio/channels/ClosedSelectorException.java: New file.
6826
6827 2002-11-17 Mark Wielaard <mark@klomp.org>
6828
6829 * java/net/HttpURLConnection.java ((getPermission): Take port
6830 into consideration.
6831 (getErrorStream): Implement.
6832
6833 2002-11-17 Mark Wielaard <mark@klomp.org>
6834
6835 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6836
6837 2002-11-16 Mark Wielaard <mark@klomp.org>
6838
6839 Integrate work by Raif S. Naffah (raif@fl.net.au)
6840 * java/security/DummyKeyPairGenerator.java (clone): New method.
6841 * java/security/DummyMessageDigest.java (clone): New method.
6842 (engineUpdate): Now public.
6843 (engineReset): Likewise.
6844 (engineDigest): Likewise.
6845 (engineGetDigestLength): New method.
6846 * java/security/DummySignature.java (clone): New method.
6847 * java/security/KeyPairGenerator.java (provider): Now package private.
6848 (getInstance(String)): Use getInstance(String,Provider).
6849 (getInstance(String,String): Use getInstance(String,Provider)
6850 (getInstance(String,Provider): New method.
6851 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6852 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6853 * java/security/MessageDigest.java (provider): Now package private.
6854 (getInstance(String): Use getInstance(String,Provider).
6855 (getInstance(String,String): Use getInstance(String,Provider)
6856 (getInstance(String,Provider): New method.
6857 * java/security/Provider.java (toCanonicalKey): New method.
6858 (get): New method that uses toCanonicalKey().
6859 (put): Use toCanonicalKey().
6860 (remove): Likewise.
6861 * java/security/Security.java (insertProviderAt): Provider index is one
6862 based, not zero based.
6863 (addProvider): Likewise.
6864 (removeProvider): Likewise.
6865 * java/security/Signature.java (provider): Now package private.
6866 (getInstance(String)): Use getInstance(String,Provider).
6867 (getInstance(String,String): Use getInstance(String,Provider)
6868 (getInstance(String,Provider): New method.
6869 (getInstance(String,String,Provider): Don't cast DummySignature.
6870
6871 2002-11-15 Tom Tromey <tromey@redhat.com>
6872
6873 For PR libgcj/8593:
6874 * java/util/zip/GZIPInputStream.java (read): Check file size.
6875 Look in inflater for remaining input bytes.
6876 (read4): Added buf and offset arguments.
6877
6878 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6879
6880 * java/applet/AppletContext.java: Fix typo and remove redundant
6881 modifiers.
6882
6883 2002-11-14 Tom Tromey <tromey@redhat.com>
6884
6885 * java/lang/natRuntime.cc (insertSystemProperties): Set
6886 gnu.classpath.home.
6887
6888 2002-11-13 Michael Koch <konqueror@gmx.de>
6889
6890 * java/nio/ByteBuffer.java
6891 (allocate): New method.
6892 (wrap): New method.
6893 (put): New method.
6894 (get): New method.
6895
6896 2002-11-13 Michael Koch <konqueror@gmx.de>
6897
6898 * java/nio/channels/AlreadyConnectedException.java:
6899 Removed unneeded import.
6900 (AlreadyConnectedException): Documentation added.
6901 * java/nio/channels/Pipe.java
6902 (SinkChannel.SinkChannel): Documentation added.
6903 (SinkChannel.validOps): New method.
6904 (SourceChannel.SourceChannel): Documentation added.
6905 (SourceChannel.validOps): New method.
6906 (Pipe): Documentation added.
6907 (open): Documentation added.
6908 (SinkChannel.channel): Documentation added.
6909 (SourceChannel.channel): Documentation added.
6910 * java/nio/channel/SelectableChannel.java
6911 (SelectableChannel): Documentation added.
6912 (blockingLock): Documentation added.
6913 (configureBlocking):Documentation added.
6914 (isBlocking):Documentation added.
6915 (isRegistered):Documentation added.
6916 (keyFor):Documentation added.
6917 (provider):Documentation added.
6918 (register): Documentation added.
6919 (validOps): Documentation added.
6920 * jaba/nio/channels/SelectionKey.java
6921 (SelectionKey): Documentation added.
6922 (attach): Documentation added.
6923 (attachment): Documentation added.
6924 (isAcceptable): Documentation added.
6925 (isConnetable): Documentation added.
6926 (isReadable): Documentation added.
6927 (isWritable): Documentation added.
6928 (cancel): Documentation added.
6929 (channel): Documentation added.
6930 (interestOps): Documentation added.
6931 (isValid): Documentation added.
6932 (readyOps): Documentation added.
6933 (selector): Documentation added.
6934 * jaba/nio/channels/Selector.java
6935 (Selector): Documentation added.
6936 (open): Documentation added.
6937 (close): Documentation added.
6938 (isOpen): Documentation added.
6939 (keys): Documentation added.
6940 (provider): Documentation added.
6941 (select): Documentation added.
6942 (selectedKeys): Documentation added.
6943 (selectNow): Documentation added.
6944 (wakeup): Documentation added.
6945 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6946 (AbstractInterruptibleChannel): Documentation added.
6947 (opened): Default to true;
6948 (begin): Documentation added.
6949 (close): Set opened to false, documentation added.
6950 (isOpen): Documentation added.
6951 * java/nio/channels/spi/AbstractSelectionKey.java
6952 (AbstractSelectionKey): Documentation added.
6953 (cancel): Documentation added.
6954 (isValid): Documentation added.
6955 * java/nio/channels/spi/AbstractSelector.java
6956 (AbstractSelector): Documentation added.
6957 (begin): Documentation added.
6958 (close): Documentation added.
6959 (isOpen): Documentation added.
6960 (deregister): Documentation added.
6961 (end): Documentation added.
6962 (provider): Documentation added.
6963 (implCloseSelector): Documentation added.
6964 (register): Documentation added.
6965 * java/nio/channels/spi/SelectorProvider.java
6966 (SelectorProvider): Documentation added.
6967 (openDatagramChannel): Documentation added.
6968 (openPipe): Documentation added.
6969 (openSelector): Documentation added.
6970 (openServerSocketChannel): Documentation added.
6971 (openSocketChannel): Documentation added.
6972 (provider): Documentation added.
6973
6974 2002-11-12 Michael Koch <konqueror@gmx.de>
6975
6976 * java/nio/Buffer.java: Implemented.
6977 * java/nio/CharBuffer.java: New file.
6978 * java/nio/InvalidMarkException.java: New file.
6979 * java/nio/channels/DatagramChannel.java: Implemented.
6980 * java/nio/channels/ServerSocketChannel.java: Implemented.
6981 * java/nio/channels/SocketChannel.java: Implemented.
6982 * java/nio/channels/spi/AbstractChannel.java: Removed.
6983 * java/nio/channels/spi/AbstractSelectableChannel.java:
6984 Implemented.
6985 * java/nio/charset/Charset.java:
6986 Merge from Classpath.
6987 * java/nio/charset/CharsetDecoder.java: New file.
6988 * java/nio/charset/CharsetEncoder.java: New file.
6989 * java/nio/charset/CoderResult.java: New file.
6990 * Makefile.am (ordinary_java_source_files): Added new files.
6991 * Makefile.in: Regenerated.
6992
6993 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6994
6995 * gnu/java/nio/charset/ISO_8859_1.java,
6996 gnu/java/nio/charset/Provider.java,
6997 gnu/java/nio/charset/US_ASCII.java,
6998 gnu/java/nio/charset/UTF_16.java,
6999 gnu/java/nio/charset/UTF_16BE.java,
7000 gnu/java/nio/charset/UTF_16Decoder.java,
7001 gnu/java/nio/charset/UTF_16Encoder.java,
7002 gnu/java/nio/charset/UTF_16LE.java,
7003 gnu/java/nio/charset/UTF_8.java: New files.
7004
7005 2002-11-11 Michael Koch <konqueror@gmx.de>
7006
7007 * java/nio/charset/CharacterCodingException.java:
7008 This class must be public.
7009 * java/nio/charset/CoderMalfunctionError.java:
7010 This class must be public.
7011 * java/nio/charset/CodingErrorAction.java:
7012 This class must be public.
7013 * java/nio/charset/IllegalCharsetNameException.java:
7014 This class must be public, better implementation.
7015 * java/nio/charset/MalformedInputException.java:
7016 This class must be public, better implementation.
7017 * java/nio/charset/UnmappableCharacterException.java:
7018 This class must be public, better implementation.
7019 * java/nio/charset/UnsupportedCharsetException.java:
7020 This class must be public, better implementation.
7021
7022 2002-11-11 Michael Koch <konqueror@gmx.de>
7023
7024 * java/nio/BufferOverflowException.java,
7025 java/nio/BufferUnderflowException.java: New file.
7026 * Makefile.am (ordinary_java_source_files):
7027 Added new files.
7028 * Makefile.in: Regenerated.
7029
7030 2002-11-10 Tom Tromey <tromey@redhat.com>
7031
7032 * java/awt/Container.java (validate): Use tree lock.
7033 (getComponent): Likewise.
7034 (getComponents): Likewise.
7035 (addImpl): Likewise.
7036 (remove): Likewise.
7037 (removeAll): Likewise.
7038 (processEvent): Fixed indentation.
7039 (getComponentAt): Use tree lock.
7040 (findComponentAt): Likewise.
7041 (removeNotify): Likewise.
7042 (isAncestorOf): Likewise.
7043 (list): Likewise.
7044 (visitChildren): Likewise.
7045 (findNextFocusComponent): Likewise.
7046 (addNotifyContainerChildren): Likewise.
7047 (getAccessibleChildrenCount): Likewise.
7048 (getAccessibleChild): Likewise.
7049
7050 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7051 (getSize): Likewise.
7052 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7053 (getSize): Likewise.
7054 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7055 (calcSize): Likewise.
7056 * java/awt/CardLayout.java (getSize): Use tree lock.
7057 (gotoComponent): Likewise.
7058 (layoutContainer): Likewise.
7059
7060 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7061 count is 0.
7062 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7063 count is 0.
7064
7065 * java/io/Externalizable.java, java/io/FilePermission.java,
7066 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7067 java/io/SerializablePermission.java, java/text/Format.java,
7068 java/util/AbstractMap.java, java/util/HashMap.java,
7069 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7070 versions from Classpath.
7071
7072 2002-11-10 Anthony Green <green@redhat.com>
7073
7074 * java/util/jar/Attributes.java (Name): Fix name check.
7075
7076 2002-11-10 Mark Wielaard <mark@klomp.org>
7077
7078 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7079 with getName() as message.
7080 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7081 type as message.
7082
7083 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7084 unused.
7085
7086 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7087
7088 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7089 for Win32. JNICALL has been defined to __stdcall to be compatible
7090 with Sun's JDKs.
7091
7092 2002-11-10 Tom Tromey <tromey@redhat.com>
7093
7094 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7095 (setRows): Check newRows, not rows.
7096
7097 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7098
7099 2002-11-09 Tom Tromey <tromey@redhat.com>
7100
7101 * java/applet/Applet.java, java/applet/AppletContext.java,
7102 java/applet/AppletStub.java, java/applet/AudioClip.java,
7103 java/awt/CardLayout.java,
7104 java/awt/ContainerOrderFocusTraversalPolicy.java,
7105 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7106 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7107 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7108 java/awt/color/ICC_ColorSpace.java,
7109 java/awt/color/ICC_Profile.java,
7110 java/awt/color/ICC_ProfileGray.java,
7111 java/awt/color/ICC_ProfileRGB.java,
7112 java/awt/datatransfer/DataFlavor.java,
7113 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7114 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7115 New versions from Classpath.
7116 * Makefile.in: Rebuilt.
7117 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7118 ICC_ProfileRGB.
7119
7120 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7121 display policy.
7122
7123 * java/awt/List.java (processEvent): Added missing `else's.
7124
7125 * java/awt/Window.java (show): validate() before showing. Make
7126 parent displayable.
7127 (isDisplayable): New method.
7128
7129 2002-11-07 Mark Wielaard <mark@klomp.org>
7130
7131 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7132 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7133
7134 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7135 annotation.
7136 (loadClass): Take String as codebases.
7137 (getClassAnnotation): Use MyClassLoader annotations.
7138 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7139 call exportObject(this).
7140
7141 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7142 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7143 (setAnnotation): Don't set locBytesStream and locStream.
7144 (replaceObject): Removed.
7145 (flush): Don't test locStream.
7146 (getLocBytes): LikeWise.
7147 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7148 (leaseCache): New field.
7149 (dirty): Use leaseCache.
7150 (LeaseRecord): New inner class.
7151 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7152 explicitly call exportObject().
7153 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7154 false to communicate with Sun JDK130.
7155 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7156 * gnu/java/rmi/server/RMIObjectInputStream.java
7157 (UnicastConnectionManager): Removed field.
7158 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7159 Use UnicastServer.getExportedRef().
7160 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7161 (expireTime): Likewise.
7162 (CONNECTION_TIMEOUT): Likewise.
7163 (disconnect): Call sock.close().
7164 (isExpired): New method.
7165 (resetTime): Likewise.
7166 (run): Use do while loop and catch Exception for discardConnection().
7167 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7168 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7169 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7170 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7171 (exportObject): Use refcache.
7172 (unexportObject): Likewise.
7173 (getExportedRef): New method.
7174 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7175 constructor.
7176 (exportObject): Save manager.serverobj.
7177 (getStub): New method.
7178
7179 2002-11-07 Mark Wielaard <mark@klomp.org>
7180
7181 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7182 (getByte): Likewise.
7183 (getShort): Likewise.
7184 (getInt): Likewise.
7185 (getLong): Likewise.
7186 (getFloat): Likewise.
7187 (getDouble): Likewise.
7188 (get): Likewise.
7189 (setChar): Likewise.
7190 (setByte): Likewise.
7191 (setShort): Likewise.
7192 (setInt): Likewise.
7193 (setLong): Likewise.
7194 (setFloat): Likewise.
7195 (setDouble): Likewise.
7196
7197 2002-11-07 Michael Koch <konqueror@gmx.de>
7198
7199 * java/awt/Choice.java,
7200 java/awt/Container.java,
7201 java/awt/GridBagLayout.java:
7202 Fixed documentation.
7203 * java/awt/peer/ContainerPeer.java:
7204 Reindented.
7205
7206 2002-11-07 Michael Koch <konqueror@gmx.de>
7207
7208 * java/awt/color/ICC_Profile.java:
7209 Added missing constants.
7210 * java/awt/color/ICC_ColorSpace.java
7211 (getMinValue): Added dummy implementation.
7212 (getMaxValue): Added dummy implementation.
7213 * java/awt/datatransfer/DataFlavor.java
7214 (imageFlavor): Added.
7215 (isMimeTypeEqual): Must be final.
7216 (getDefaultRepresentationClass): Must be non-static.
7217 (getDefaultRepresentationClassAsString): Must be non-static.
7218 * java/awt/dnd/DragSourceContext.java
7219 (dragExit): Corrected argument.
7220 (dragDropEnd): Corrected argument.
7221 * java/awt/dnd/DragSourceListener.java.java
7222 (dragExit): Corrected argument.
7223 (dragDropEnd): Corrected argument.
7224 * java/awt/font/TextHitInfo.java
7225 (toString): Added stubbed implementation.
7226 * java/awt/geom/PathIterator.java:
7227 The constants must be static.
7228 * java/awt/image/VolatileImage.java
7229 (IMAGE_INCOMPATIBLE): Fixed typo.
7230 * java/awt/image/renderable/RenderableImage.java
7231 (HINTS_OBSERVED): Must be static.
7232 * java/beans/BeanInfo.java:
7233 Constants must be final.
7234
7235 2002-11-06 Tom Tromey <tromey@redhat.com>
7236
7237 From svens@it.uu.se. For PR libgcj/8481.
7238 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7239
7240 2002-11-06 Tom Tromey <tromey@redhat.com>
7241
7242 * jni.cc (array_from_valist): Assume that jlong won't be
7243 promoted.
7244
7245 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7246
7247 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7248 Return 20.
7249 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7250 Return 16.
7251
7252 2002-11-03 Tom Tromey <tromey@redhat.com>
7253
7254 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7255 VMClassLoader, not findClass.
7256
7257 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7258
7259 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7260 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7261 _Jv_DetermineVTableIndex, to determine vtable offset.
7262 (_Jv_DetermineVTableIndex): Remove.
7263 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7264
7265 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7266
7267 2002-11-03 Tom Tromey <tromey@redhat.com>
7268
7269 * java/nio/channels/AlreadyConnectedException.java: Extend
7270 IllegalStateException, per spec.
7271
7272 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7273
7274 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7275
7276 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7277
7278 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7279 size items.
7280
7281 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7282
7283 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7284 initial estimated size to avoid enlarge buffer frequently.
7285
7286 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7287
7288 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7289 ClassLoader when null.
7290 (ProxyType.hashCode): Loader null check no longer needed.
7291 (ProxyType.sameTypes): New method.
7292 (ProxyType.equals): Use new method.
7293
7294 2002-10-31 Mark Wielaard <mark@klomp.org>
7295
7296 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7297 length of String.
7298 * java/net/URLEncoder.java (encode): Likewise.
7299
7300 2002-10-31 Mark Wielaard <mark@klomp.org>
7301
7302 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7303 when stream is closed.
7304 (closeEntry): Likewise.
7305 (read): Likewise.
7306 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7307 ZipException when no entry active.
7308 (closeEntry): Likewise.
7309 (write): Likewise.
7310
7311 2002-11-02 Tom Tromey <tromey@redhat.com>
7312
7313 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7314 * java/lang/natClass.cc (initializeClass): Don't return just
7315 because self==thread.
7316
7317 For PR java/8415:
7318 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7319 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7320
7321 2002-11-02 Andreas Schwab <schwab@suse.de>
7322
7323 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7324 pass GCJFLAGS.
7325 (FLAGS_TO_PASS): Define.
7326 * Makefile.in: Regenerated.
7327
7328 2002-11-01 Michael Koch <konqueror@gmx.de>
7329
7330 * java/nio/ByteOrder.java: New file.
7331 * java/nio/channels/DatagramChannel.java:
7332 (DatagramChannel): New constructor.
7333 * java/nio/channels/Pipe.java: New file.
7334 * java/nio/channels/SelectableChannel.java: New file.
7335 * java/nio/channels/SelectionKey.java: New file.
7336 * java/nio/channels/Selector.java: New file.
7337 * java/nio/channels/ServerSocketChannel.java
7338 (ServerSocketChannel): New constructor.
7339 * java/nio/channels/SocketChannel.java
7340 (SocketChannel): New constructor.
7341 * java/nio/channels/Pipe.java: New file.
7342 * java/nio/channels/spi/AbstractChannel.java: New file.
7343 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7344 * java/nio/channels/spi/AbstractSelectableChannel.java:
7345 License added
7346 (AbstractSelectableChannel): New stubbed method.
7347 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7348 * java/nio/channels/spi/AbstractSelector.java: New file.
7349 * java/nio/channels/spi/SelectorProvider.java: New file.
7350 * java/nio/charset/Charset.java: New file.
7351 * java/nio/charset/CoderMalfunctionError.java: New file.
7352 * java/nio/charset/CodingErrorAction.java: New file.
7353 * java/nio/charset/spi/CharsetProvider.java
7354 (charsetForName): Uncommented.
7355 * Makefile.am (java_native_source_files): Added new files.
7356 * Makefile.in: Regenerated.
7357
7358 2002-11-01 Michael Koch <konqueror@gmx.de>
7359
7360 * java/net/InetAddress.java:
7361 (isAnyLocalAddress): Implemented.
7362 (isLoopbackAddress): Implemented, comment added.
7363 (isLinkLocalAddress): Implemented, documentation added.
7364 (isSiteLocalAddress): Implemented, documentation added.
7365 (isMCGlobal): Implemented, documentation added.
7366 (isMCNodeLocal): Implemented, documentation added.
7367 (isMCLinkLocal): Implemented, documentation added.
7368 (isMCSiteLocal): Implemented, documentation added.
7369 (isMCOrgLocal): Implemented, documentation added.
7370 (getHostName): Documentation added.
7371 (getCanonicalHostName): Implemented, documentation added.
7372 (getAddress): Documentation added.
7373 (hashCode): Documentation added.
7374 (equals): Documentation added.
7375 (toString): Fixed implementation.
7376 (getByAddress): Use Inet4Address and Inet6Address.
7377 (lookup): New linewrap.
7378 (getByName): SecurityManager check added, support Inet4Address and
7379 Inet6address, comments added.
7380 (getAllByName): SecurityManager check added, comments added.
7381 * java/net/Inet6Address.java:
7382 (Inet6Address): Initialize parent class with addr instead of null.
7383 * java/net/URL.java
7384 (equals): Documentation added.
7385 (getFile): Documentation added.
7386 (hashCode): Documentation added.
7387 * java/net/natInetAddress.cc:
7388 (aton): Fix IPv6 support.
7389 * java/net/natPlainDatagramSocketImpl.cc:
7390 (peek): Throw PortUnreachableException when suitable.
7391 (peekData): Throw PortUnreachableException when suitable.
7392 (send): Throw PortUnreachableException when suitable.
7393 (receive): Throw PortUnreachableException when suitable.
7394
7395 2002-10-27 Mark Wielaard <mark@klomp.org>
7396
7397 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7398 argument.
7399 (readLeShort): Likewise and use byte[].
7400 (readLeInt): Likewise.
7401 (readEntries): Use new versions of methods and use byte[] for reading
7402 a complete zip entry. Add ZipFile name to exceptions.
7403 (entries): Add ZipFile name to exceptions.
7404 (getEntry): Likewise.
7405 (checkLocalHeader): Use new versions of methods and add ZipFile name
7406 to exceptions.
7407
7408 2002-10-31 Mark Anderson <mark@panonet.net>
7409
7410 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7411 added
7412
7413 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7414
7415 * configure.in: Disable hash sync when not using threads.
7416 * configure: Regenerated.
7417
7418 2002-10-24 Tom Tromey <tromey@redhat.com>
7419
7420 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7421 (_Jv_FindSymbolInExecutable): Removed argument name.
7422 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7423 java.library.path is set.
7424
7425 * gij.cc (help): Document --showversion.
7426 (version): Don't exit.
7427 (main): Handle --showversion. Exit if --version given.
7428
7429 2002-10-23 Tom Tromey <tromey@redhat.com>
7430
7431 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7432 (array_from_valist): Correctly handle promotion for jint, jlong,
7433 jfloat, and jdouble.
7434
7435 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7436
7437 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7438 GetFileAttributesEx( ) to find file length and modification times,
7439 as the latter is not present on Windows 95.
7440
7441 2002-10-21 Michael Koch <konqueror@gmx.de>
7442
7443 * java/net/URL.java
7444 (URL): Activate SecurityManager checks.
7445 (equals): Use URLStreamHandler implementation instead of doing it
7446 alone. This allows special protocol stream handlers to change default
7447 behaviour.
7448 (hashCode): Use URLStreamHandler implementation instead of doing it
7449 alone. This allows special protocol stream handlers to change default
7450 behaviour.
7451 * java/net/URLStreamHandler.java
7452 (equals): Implemented default URL equality check.
7453 (hostsEqual): Implemented default URL equality check.
7454 (hashCode): Implemented default URL hashCode algorithm.
7455 * java/net/natPlainDatagramSocketImpl.cc:
7456 No lines longer then 80 characters.
7457
7458 2002-10-20 Adam Megacz <adam@xwt.org>
7459
7460 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7461 * configure.in: enabled hash sync on Win32
7462 * include/win32-threads.h (_Jv_ThreadId_t): added.
7463 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7464 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7465 removed some posix-isms, use Thread::sleep() instead of usleep,
7466 added code to clear bottom three bits if platform has a broken
7467 linker.
7468 * include/win32-threads.h (_Jv_ThreadId_t): added.
7469
7470 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7471
7472 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7473 runtime property "gnu.gcj.progname" containing the name used to
7474 invoke the current Java program (similar to argv[0] for C
7475 programs).
7476
7477 2002-10-15 Tom Tromey <tromey@redhat.com>
7478
7479 Fix for PR libgcj/8234:
7480 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7481 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7482
7483 2002-10-13 Mark Wielaard <mark@klomp.org>
7484
7485 * mauve-libgcj: Enable Mauve tests that compile now.
7486
7487 2002-10-11 Mark Wielaard <mark@klomp.org>
7488
7489 Fix for PR libgcj/8142
7490 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7491 loading native modules.
7492
7493 2002-10-10 Michael Koch <konqueror@gmx.de>
7494
7495 * javax/swing/AbstractListModel.java
7496 (getListDataListeners): New stubbed method.
7497 javax/swing/DefaultBoundedRangeModel.java
7498 (getChangeListeners): New stubbed method.
7499 javax/swing/DefaultSingleSelectionModel.java
7500 (getChangeListeners): New stubbed method.
7501
7502 2002-10-10 Michael Koch <konqueror@gmx.de>
7503
7504 * gcj/.cvsignore: New file to ignore files generated during build.
7505 * include/.cvsignore: New file to ignore files generated during build.
7506
7507 2002-10-10 Michael Koch <konqueror@gmx.de>
7508
7509 * java/net/HttpURLConnection.java
7510 (getPermission): New method.
7511 (getErrorStream): New stub method.
7512 (getHeaderFieldDate): New stub method.
7513 * java/net/Inet4Address.java:
7514 (isLinkLocalAddress): Typo fixed.
7515 * java/net/InetAddress.java:
7516 (readResolve): New stubbed method (for serialization).
7517 (isAnyLocalAddress): New stubbed method.
7518 (isLoopbackAddress): New stubbed method.
7519 (isLinkLocalAddress): New stubbed method.
7520 (isSiteLocalAddress): New stubbed method.
7521 (isMCGlobal): New stubbed method.
7522 (isMCNodeGlobal): New stubbed method.
7523 (isMCLinkLocal): New stubbed method.
7524 (isMCSiteLocal): New stubbed method.
7525 (isMCOrgLocal): New stubbed method.
7526 (getCanonicalHostName): New stubbed method.
7527 (getByAddress): Create instances of Inet4Address/Inet6Address,
7528 instead of InetAddress, documentation added.
7529 * java/net/MulticastSocket.java
7530 (getInterface): Removed FIXME.
7531 (getNetworkInterface): New method.
7532 (setNetworkInterface): New method.
7533 * java/net/NetworkInterface.java:
7534 (toString): Use property "line.separator" instead of "\n".
7535 * java/net/URLConnection.java
7536 (getContent): New stubbed method.
7537 * java/net/URLStreamHandler.java:
7538 (equals): New stubbed method.
7539 (hostsEqual): New stubbed method.
7540 (hashCode): New stubbed method.
7541 * java/net/natNetworkInterface.cc:
7542 (getRealNetworkInterfaces): Create Inet4Address object
7543 instead of InetAddress.
7544
7545 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7546
7547 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7548 unsigned long temporary to implement insn_iushr shifts.
7549
7550 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7551
7552 * configure.host [s390*-*]: Enable Java interpreter.
7553 Enable hash synchronization. Add sysdeps dir.
7554 * sysdep/s390/locks.h: New file.
7555
7556 2002-10-06 Mark Wielaard <mark@klomp.org>
7557
7558 * java/lang/Thread.java (setDaemon): Check startable_flag,
7559 not isAlive().
7560
7561 2002-10-07 Michael Koch <konqueror@gmx.de>
7562
7563 * java/nio/Buffer.java: New stub file.
7564 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7565 of class Charset.
7566 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7567 * Makefile.in: Regenerated.
7568
7569 2002-10-07 Michael Koch <konqueror@gmx.de>
7570
7571 * java/nio/ByteBuffer.java:
7572 removed import of not commited class.
7573
7574 2002-10-07 Michael Koch <konqueror@gmx.de>
7575
7576 * java/nio/ByteBuffer.java,
7577 java/nio/MappedByteBuffer.java:
7578 New files, forgot to add these dummies.
7579 * Makefile.am (java_native_source_files): Added new files.
7580 * Makefile.in: Regenerated.
7581
7582 2002-10-07 Michael Koch <konqueror@gmx.de>
7583
7584 * java/nio/channels/AlreadyConnectedException.java,
7585 java/nio/channels/ClosedChannelException.java,
7586 java/nio/channels/ReadableByteChannel.java,
7587 java/nio/channels/InterruptibleChannel.java,
7588 java/nio/channels/Channel.java,
7589 java/nio/channels/ByteChannel.java,
7590 java/nio/channels/GatheringByteChannel.java,
7591 java/nio/channels/ScatteringByteChannel.java,
7592 java/nio/channels/WritableByteChannel.java,
7593 java/nio/charset/CharacterCodingException.java,
7594 java/nio/charset/IllegalCharsetNameException.java,
7595 java/nio/charset/MalformedInputException.java,
7596 java/nio/charset/UnmappableCharacterException.java,
7597 java/nio/charset/UnsupportedCharsetException.java,
7598 java/nio/charset/spi/CharsetProvider.java: New file.
7599 These files are exceptions or interfaces,
7600 no real or abstract classes.
7601 * Makefile.am (java_native_source_files): Added new files.
7602 * Makefile.in: Regenerated.
7603
7604 2002-10-05 Michael Koch <konqueror@gmx.de>
7605
7606 * java/net/InetAddress.java
7607 (getByAddress): Fixed documentation.
7608 (getByAddress): New method.
7609 * java/net/Inet4Address.java: New file.
7610 * java/net/URL.java
7611 (URL): Documentation added.
7612 (getContent): Documentation added.
7613 (getContent): New stubbed method.
7614 (getQuery): New method.
7615 (openConnection): Documentation added.
7616 (openStream): Documentation added.
7617 (setURLStreamHandlerFactory): Documentation added.
7618 * java/net/URI.java: New stub file.
7619 * Makefile.am
7620 (java_native_source_files): Added java/net/Inet4Address.java,
7621 java/net/Inet6Address.java and java/net/URI.java.
7622 * Makefile.in: Regenerated.
7623
7624 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7625
7626 * java/lang/ProtectionDomain.java (linesep): Remove field.
7627 (toString): Use System.getProperty("line.separator").
7628
7629 2002-10-04 Michael Koch <konqueror@gmx.de>
7630
7631 * java/security/Identity.java: Added serialVersionUID.
7632 * java/security/KeyPair.java: Added serialVersionUID.
7633 * java/security/Provider.java: Added serialVersionUID.
7634 * java/security/SecureRandom.java: Added serialVersionUID.
7635 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7636 * java/security/SignedObject.java: Added serialVersionUID.
7637 * java/security/cert/Certificate.java: Added serialVersionUID.
7638
7639 2002-10-04 Mark Wielaard <mark@klomp.org>
7640
7641 * java/security/Security.java: Use java.home or gnu.classpath.home
7642 to load providers.
7643 (loadProviders): Extra dir argument.
7644 (getProvider): Return null when not found.
7645
7646 2002-10-04 Mark Wielaard <mark@klomp.org>
7647
7648 * java/lang/Throwable.java: Remerge with Classpath.
7649
7650 2002-10-04 Michael Koch <konqueror@gmx.de>
7651
7652 * java/net/InetAddress.java:
7653 (isMulticastAddress): Added documentation.
7654 (getHostAddress): Added documentation.
7655 (toString): Added documentation.
7656 (getByAddress): Fixed documentation.
7657 (getByName): Added documentation.
7658 (getAllByName): Added documentation.
7659 (getLocalHost): Added documentation.
7660
7661 2002-10-04 Michael Koch <konqueror@gmx.de>
7662
7663 * java/beans/beancontext/BeanContextChildSupport.java:
7664 Added serialVersionUID.
7665 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7666 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7667 * javax/naming/Name.java: Added serialVersionUID.
7668
7669 2002-10-03 Adam Megacz <adam@xwt.org>
7670
7671 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7672 some functionality that isn't supported yet on WIN32.
7673
7674 2002-10-03 Tom Tromey <tromey@redhat.com>
7675
7676 * Makefile.in: Rebuilt.
7677 * Makefile.am (awt_java_source_files): Added new files.
7678
7679 2002-10-03 Michael Koch <konqueror@gmx.de>
7680
7681 * java/net/InetAddress.java
7682 (class InetAddress): Removed final keyword.
7683 (equals): Fixed typo.
7684 (getByAddress): New method.
7685
7686 2002-10-03 Michael Koch <konqueror@gmx.de>
7687
7688 * java/awt/dnd/Autoscroll.java:
7689 New file, merge from Classpath.
7690 * java/awt/dnd/DragSourceAdapter.java:
7691 (dragExit): Fixed typos in argument type.
7692 (dragDropEnd): Fixed typos in argument type.
7693 * java/awt/dnd/DragSourceDropEvent.java:
7694 New file, merge from Classpath.
7695 * java/awt/dnd/DropTarget.java:
7696 Added stubs, merge from Classpath.
7697 * java/awt/dnd/DropTargetAdapter.java:
7698 New file, merge from Classpath.
7699 * java/awt/dnd/DropTargetContext.java:
7700 New file, merge from Classpath.
7701 * java/awt/dnd/DropTargetDragEvent.java:
7702 New file, merge from Classpath.
7703 * java/awt/dnd/DropTargetDropEvent.java:
7704 New file, merge from Classpath.
7705 * java/awt/dnd/DropTargetEvent.java:
7706 New file, merge from Classpath.
7707 * java/awt/dnd/DropTargetListener.java:
7708 New file, merge from Classpath.
7709 * java/awt/dnd/MouseDragGestureRecognizer.java:
7710 New file, merge from Classpath.
7711 * java/awt/dnd/peer/DropTargetContextPeer.java:
7712 New file, merge from Classpath.
7713
7714 2002-10-03 Michael Koch <konqueror@gmx.de>
7715
7716 * java/net/DatagramPacket.java
7717 (setLength): Fixed typo and be HTML-aware.
7718 * java/net/InetSocketAddress.java
7719 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7720 (equals): Added comment about equality of InetSocketAddress objects.
7721 * java/net/ServerSocket.java
7722 (accept): Added checks.
7723 (isClosed): New stubbed method.
7724 * java/net/SocketOptions.java: Reindention.
7725 * java/net/SocketPermission
7726 (SocketPermission): Documentation fixed.
7727
7728 2002-10-03 Michael Koch <konqueror@gmx.de>
7729
7730 * java/net/DatagramSocket.java
7731 (receive): Check with SecurityManager AFTER the packet is received,
7732 check if connected to multicast address, documentation added.
7733 (send): Only check SecurityManager if connected, check address of
7734 packet to send.
7735 (connect): Implemented, documentation added.
7736 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7737 * java/net/InetSocketAddress.java
7738 (whole file): Reindented.
7739 (hostname): New attribute.
7740 (InetSocketAddress): Initialize new attribute.
7741 (getAddress): Documentation added.
7742 (getHostName): Documentation added.
7743 (getPort): Documentation added.
7744 (hashCode): Documentation added.
7745 (isUnresolved): Documentation added.
7746 (toString): Conform to output of JDK 1.4.1, documentation added.
7747 * java/net/MulticastSocket.java
7748 (joinGroup): Removed FIXME, documentation added.
7749 (leaveGroup): Removed FIXME, documentation added.
7750 (send): Documentation added.
7751 * java/net/Socket.java
7752 (inputShutdown): New variable.
7753 (outputShutdown): New variable.
7754 (Socket): Initialize new variables.
7755 (getRemoteSocketAddress): Check if connected.
7756 (shutdownInput): Set new variable.
7757 (shutdownOutput): Set new variable.
7758 (isConnected): New method.
7759 (isClosed): New method.
7760 (isInputShutdown): New method.
7761 (isOutputShutdown): New method.
7762 * java/net/URLStreamHandler.java
7763 (URLStreamHandler): New method.
7764 (openConnection): Added documentation.
7765 (parseURL): Added documentation.
7766 (getHostAddress): New method.
7767 (getDefaultPort): New method.
7768
7769 2002-10-02 Tom Tromey <tromey@redhat.com>
7770
7771 * java/rmi/activation/ActivationDesc.java,
7772 java/rmi/activation/ActivationGroupDesc.java,
7773 java/rmi/activation/ActivationGroupID.java,
7774 java/rmi/activation/ActivationID.java: New versions from
7775 Classpath.
7776
7777 2002-09-30 Bo Thorsen <bo@suse.de>
7778
7779 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7780
7781 2002-09-30 Tom Tromey <tromey@redhat.com>
7782
7783 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7784 from Classpath.
7785 * Makefile.in: Rebuilt.
7786 * Makefile.am (rmi_java_source_files): Added new files.
7787 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7788 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7789 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7790 Classpath.
7791 * gnu/java/rmi/dgc/DGCImpl.java,
7792 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7793 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7794 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7795 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7796 gnu/java/rmi/server/RMIHashes.java,
7797 gnu/java/rmi/server/RMIObjectInputStream.java,
7798 gnu/java/rmi/server/RMIObjectOutputStream.java,
7799 gnu/java/rmi/server/UnicastConnection.java,
7800 gnu/java/rmi/server/UnicastConnectionManager.java,
7801 gnu/java/rmi/server/UnicastRef.java,
7802 gnu/java/rmi/server/UnicastServer.java,
7803 gnu/java/rmi/server/UnicastServerRef.java,
7804 java/rmi/MarshalledObject.java,
7805 java/rmi/server/RMIClassLoader.java,
7806 java/rmi/server/RemoteObject.java,
7807 java/rmi/server/UnicastRemoteObject.java,
7808 java/security/SecureClassLoader.java: Merged from Classpath.
7809
7810 2002-09-29 Anthony Green <green@redhat.com>
7811
7812 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7813 Imported from GNU Classpath.
7814 * java/lang/reflect/natProxy.cc: New file.
7815 * java/lang/reflect/InvocationHandler.java: New file. Imported
7816 from GNU Classpath.
7817 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7818 Classpath.
7819 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7820 Classpath.
7821 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7822 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7823 New statics.
7824 * gcj/javaprims.h ("Java"): Add new classes.
7825 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7826 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7827 java/lang/reflect/Proxy$$ProxyType.h): And this.
7828 (inner_nat_headers): Add these new headers.
7829 (ordinary_java_source_files): Add new files.
7830 (nat_source_files): Add new file.
7831 * Makefile.in: Rebuilt.
7832
7833 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7834
7835 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7836 a single configuration.
7837
7838 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7839
7840 * java/util/TimeZone.java (getDSTSavings): New method.
7841 Fixes PR libgcj/7786.
7842
7843 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7844
7845 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7846 to see if `the_method == 0' before looking up vtable index.
7847 Fixes PR libgcj/7709.
7848
7849 2002-09-25 Tom Tromey <tromey@redhat.com>
7850
7851 * java/lang/natClassLoader.cc:
7852 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7853 * resolve.cc: Include NoClassDefFoundError.h, not
7854 ClassNotFoundException.h.
7855 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7856
7857 * defineclass.cc: Don't include ClassNotFoundException.h.
7858
7859 * resolve.cc: Include StringBuffer.
7860 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7861
7862 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7863 allocated but not initialized.
7864
7865 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7866
7867 Fix for PR libgcj/7766:
7868 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7869 (getNextEntry): Set it.
7870 (closeEntry): Likewise.
7871 (read): Likewise.
7872 (close): Likewise.
7873 (available): Use it.
7874
7875 2002-09-25 Michael Koch <konqueror@gmx.de>
7876
7877 * java/net/DatagramSocket.java
7878 (DatagramSocket): Initialize new instance variables.
7879 (close): Reset new instance variables.
7880 (getLocalAddress): Remove unneeded SecurityManager usage.
7881 (getLocalPort): Check if socket is already bound.
7882 (isConnected): New method.
7883 (getInetAddress): Implemented.
7884 (getPort): Better Implementation, documentation fixed.
7885 (getRemoteSocketAddress): New method.
7886 * java/net/JarURLConnection.java
7887 (element): Typo fixed.
7888 (getMainAttributes): New method.
7889 (getAttributes): New method (stub only).
7890 (getManifest): New method (stub only).
7891 * java/net/NetPermission.java: Added serialVersionsUID.
7892 * java/net/Socket.java
7893 (connect): Check blocking mode of associated channel,
7894 documentation added.
7895 (getLocalSocketAddress): Better implementation.
7896 (getRemoteSocketAddress): Implemented.
7897 (isBound): New method.
7898 (setSendBufferSize): Documentation added.
7899 * java/net/SocketAddress.java: Added serialVersionsUID.
7900 * java/net/SocketPermission.java: Added serialVersionsUID.
7901 * java/net/URL.java
7902 (URL): Wrap for shorter lines, initialize new instance variables,
7903 documentation added.
7904 (equals): Check new instance variables too.
7905 (getContent): Documentation added.
7906 (getPath): Documentation added.
7907 (getAuthority): New method.
7908 (getHost): Documentation added.
7909 (getPort): Documentation added.
7910 (getDefaultPort): New method.
7911 (getProtocol): Documentation added.
7912 (getUserInfo): Documentation added.
7913 (set): Initialize new instance variables, documentation added.
7914 * java/net/URLStreamHandler.java
7915 (setURL): New method.
7916 * java/net/natPlainDatagramSocketImpl.cc
7917 (connect): Fix exception name.
7918 (disconnect): Fix exception name.
7919
7920 2002-09-25 Michael Koch <konqueror@gmx.de>
7921
7922 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7923 * java/nio/channels/DatagramChannel.java:
7924 extends AbstractSelectableChannel
7925 * java/nio/channels/ServerSocketChannel.java:
7926 extends AbstractSelectableChannel
7927 * java/nio/channels/SocketChannel.java:
7928 extends AbstractSelectableChannel
7929 * Makefile.am (ordinary_java_source_files):
7930 java/nio/channels/spi/AbstractSelectableChannel.java added.
7931 * Makefile.in: Regenerated.
7932
7933 2002-09-25 Michael Koch <konqueror@gmx.de>
7934
7935 * java/net/DatagramSocket.java
7936 (DatagramSocket): Exception documentation added.
7937 (bind): Exception documentation added, addded SecurityManager check,
7938 added SocketAddress type check.
7939 (getSoTimeout): Check impl.
7940 (receive): Fix SecurityManager check, check impl, documentation added.
7941 (send): Check channel mode, documentation added.
7942 (connect): New method.
7943 (disconnect): Implemented.
7944 (getLocalSocketAddress): New method.
7945 (getReceiveBufferSize): Check impl.
7946 (setReuseAddress): Check impl.
7947 (getReuseAddress): Check impl.
7948 (setBroadcast): Check impl.
7949 (getBroadcast): Check impl.
7950 (setTrafficClass): Check impl, Documentation cleared.
7951 (getTrafficClass): Check impl.
7952 (getSendBufferSize): Check impl.
7953 (setReceiveBufferSize): Check impl, documentation added.
7954 (setSendBufferSize): Documentation added.
7955 (setDatagramSocketImplFactory): New method.
7956 * java/net/HttpURLConnection.java
7957 (HTTP_INTERNAL_ERROR): The correct code is 500.
7958 (HTTP_NOT_IMPLEMENTED): Added new constant.
7959 (setFollowRedirects): Documentation added.
7960 (getInstanceFollowRedirects): New method.
7961 (setInstanceFollowRedirects): New method.
7962 (setRequestMethod): Documentation added.
7963 (getResponseCode): Documentation added.
7964 (getResponseMessage): Documentation added.
7965 * java/net/JarURLConnection.java
7966 (JarURLConnection): protected since JDK 1.4.
7967 (getJarEntry): java.io.IOException to IOException, documentation added.
7968 (getJarFile): Documentation added.
7969 * java/net/ServerSocket.java
7970 (ServerSocket): Private to public, exception added.
7971 (ServerSocket): java.io.IOException to IOException, documentation added.
7972 (bind): Check socket address type, documentation added.
7973 (bind): java.io.IOException to IOException, documentation added.
7974 (accept): Documentation added.
7975 (implAccept): Check ch is not non-blocking, documentation added.
7976 (setSoTimeout): Documentation fixed.
7977 (setReceiveBufferSize): Documentation added.
7978 * java/net/Socket.java
7979 (Socket): Documentation added.
7980 (bind): Documentation added.
7981 (connect): Check socket address type, documentation added.
7982 (getRemoteSocketAddress): New method.
7983 (getLocalSocketAddress): New method.
7984 (setSoLinger): Documentation added.
7985 (getReuseAddress): New method.
7986 (setReuseAddress): New method.
7987 (getTrafficClass): New method.
7988 (setTrafficClass): New method.
7989 * java/net/URLStreamHandler.java
7990 (openConnection): java.io.IOException to IOException.
7991 (parseURL): Documentation added.
7992 (sameFile): public to protected, documentation added.
7993 (setURL): Documentation added.
7994 * java/nio/IllegalBlockingModeException.java: New file.
7995 * Makefile.am (ordinary_java_source_files):
7996 added java/nio/IllegalBlockingModeException.java
7997 * Makefile.in: Regenerated.
7998
7999 2002-09-25 Michael Koch <konqueror@gmx.de>
8000
8001 * java/net/DatagramPacket
8002 (DatagramPacket): Exception documentation added.
8003 (setData): Likewise.
8004 (setSocketAddress): Likewise.
8005 * java/net/DatagramSocketImpl.java
8006 (peek): Documentation addded.
8007 (peekData): Documentation addded.
8008 (send): Documentation addded.
8009 (receive): Documentation addded.
8010 (connect): New method.
8011 (disconnect): New method.
8012 (joinGroup): New abstract method.
8013 (leaveGroup): New abstract method.
8014 * java/net/InetSocketAddress.java
8015 (InetSocketAddress): Documentation added.
8016 (equals): final keyword added.
8017 (getAddress): final keyword added.
8018 (getHostName): final keyword added.
8019 (getPort): final keyword added.
8020 (hashCode): final keyword added.
8021 (isUnresolved): final keyword added.
8022 * java/net/MulticastSocket.java
8023 (MulticastSocket): Documentation added.
8024 (MulticastSocket): New method.
8025 (joinGroup): Documentation added.
8026 (joinGroup): New method.
8027 (leaveGroup): Documentation added.
8028 (leaveGroup): New method.
8029 (send): Documentation added.
8030 * java/net/NetworkInterface.java
8031 (getByName): Documentation added.
8032 (getByInetAddress): Documentation added.
8033 (getNetworkInterfaces): Documentation added.
8034 * java/net/PlainDatagramSocketImpl.java
8035 (connect): New method.
8036 (disconnect): New method.
8037 * java/net/SocketImpl.java
8038 (create): Documentation added.
8039 (shutdownInput): Convert public to protected, as it always was.
8040 (shutdownOutput): Convert public to protected, as it always was.
8041 * java/net/SocketOptions.java
8042 (whole file): Reintented.
8043 * java/net/URLClassLoader.java
8044 (URLClassLoader): SecurityManager check added, documentation added.
8045 (findResources): Documentation added.
8046 (findClass): Documentation added.
8047 (newInstance): More correct method arguments.
8048 * java/net/URLConnection.java
8049 (connect): Documentation added.
8050 (getContent): Documentation added.
8051 (getPermission): Documentation added.
8052 (getInputStream): Documentation added.
8053 (getOutputStream): Documentation added.
8054 (setDoInput): Throw correct exception, documentation added.
8055 (setDoOutput): Throw correct exception, documentation added.
8056 (setAllowUserInteraction): Throw correct exception, documentation added.
8057 (setUseCaches): Throw correct exception, documentation added.
8058 (setIfModifiedSince): Throw correct exception, documentation added.
8059 (setRequestProperty): Throw exception, documentation added.
8060 (addRequestProperty): Throw exception, documentation added.
8061 (getRequestProperty): Throw exception, documentation added.
8062 (getRequestProperties): Documentation added.
8063 (setContentHandlerFactory): Documentation added.
8064 (guessContentTypeFromName): protected to public.
8065 (setFileNameMap): Documentation added.
8066 * java/net/URLDecoder.java
8067 (URLDecoder): New method.
8068 (decode): Documentation added.
8069 (whole file): Reindented.
8070 * java/net/URLEncoder.java
8071 (encode): Documentation added.
8072 * java/net/natPlainDatagramSocketImpl.cc
8073 (connect): New method.
8074 (disconnect): New method.
8075 * javax/naming/RefAddr:
8076 (addrType): addrType was never final.
8077 (equals): Fix typo in method name.
8078 * javax/naming/BinaryRefAddr:
8079 (equals): Fix typo in method name.
8080
8081 2002-09-22 Tom Tromey <tromey@redhat.com>
8082
8083 Fix for PR libgcj/6576:
8084 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8085 didn't find a given bundle.
8086 (getBundle): Don't require base bundle.
8087 (setParent): Removed old comment.
8088 (tryLocalBundle): Try components even if preceding components were
8089 empty.
8090
8091 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8092
8093 * Makefile.am (all-multi): Fix multilib parallel build.
8094
8095 2002-09-21 Michael Koch <konqueror@gmx.de>
8096
8097 * java/net/Socket.java
8098 (sendUrgentData): New method.
8099 (getChannel): New method.
8100 * java/net/ServerSocket.java
8101 (getChannel): New method.
8102 (isBound): New method.
8103 * java/net/DatagramSocket.java
8104 (DatagramSocket): Two new methods.
8105 (bind): New method.
8106 (getChannel): New method.
8107 (isBound): New method.
8108 (send): Added newline to to make shorter lines.
8109 * java/net/PlainDatagramSocketImpl.java
8110 (mcastGrp): Added argument.
8111 (join): Use new mcastGrp.
8112 (leave): Use new mcastGrp.
8113 (joinGroup): New method.
8114 (leaveGroup): New method.
8115 * java/net/natPlainDatagramSocketImpl.cc
8116 (mcastGrp): Added argument, no yet really implemented.
8117 (getOption): Added newline for shorter lines.
8118 * java/net/natPlainSocketImpl.cc
8119 (read, setOption, getOption): Added newline for shorter lines.
8120
8121 2002-09-19 Tom Tromey <tromey@redhat.com>
8122
8123 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8124 newly-created exception.
8125
8126 2002-09-18 Michael Koch <konqueror@gmx.de>
8127
8128 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8129 java/util/regex/PatternSyntaxException.java:
8130 Merge with classpath, new files.
8131 * Makefile.am (core_java_source_files):
8132 Added java/util/regex/Matcher.java,
8133 java/util/regex/Pattern.java,
8134 java/util/regex/PatternSyntaxException.java
8135 * Makefile.in: Regenerated.
8136 * include/config.h.in: Added HAVE_NET_IF_H.
8137 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8138 Removed #if 0 ... #endif.
8139
8140 2002-09-17 Michael Koch <konqueror@gmx.de>
8141
8142 * java/net/natNetworkInterface.cc:
8143 Removed unneed and yet wrong includes.
8144
8145 2002-09-17 Michael Koch <konqueror@gmx.de>
8146
8147 * java/net/NetworkInterface.java: New file.
8148 * java/net/natNetworkInterface.java: New file.
8149 * configure.in: Added check for net/if.h.
8150 * configure: Regenerated.
8151 * Makefile.am
8152 (ordinary_java_source_files): Added NetworkInterface.java.
8153 (nat_source_files): Added natNetworkInterface.cc.
8154 * Makefile.in: Regenerated.
8155
8156 2002-09-16 Tom Tromey <tromey@redhat.com>
8157
8158 * java/net/URLClassLoader.java (findClass): Code source for a
8159 class from a jar is not necessarily a jar: URL.
8160
8161 2002-09-16 Michael Koch <konqueror@gmx.de>
8162
8163 * java/lang/AssertionError.java:
8164 Merge with classpath, fixes HTML.
8165 * java/rmi/server/LogStream.java:
8166 Merge with classpath, fixes some constants.
8167 * java/net/server/RemoteServer.java:
8168 Merge with classpath, adds serialVersionUID.
8169 * javax/naming/BinaryRefAddr.java:
8170 Merge with classpath, s/equal/equals/.
8171 * javax/naming/NamingException.java:
8172 Merge with classpath, fixed typo.
8173 * javax/naming/RefAddr.java:
8174 Merge with classpath, s/equal/equals/.
8175 * java/awt/Toolkit.java:
8176 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8177 and typo fixed.
8178
8179 2002-09-15 Adam Megacz <adam@xwt.org>
8180
8181 * java/net/natPlainSocketImpl.cc: fixed typo.
8182
8183 2002-09-15 Adam Megacz <adam@xwt.org>
8184
8185 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8186 which don't work on Win32 (yet).
8187
8188 2002-09-14 Adam Megacz <adam@xwt.org>
8189
8190 * java/net/natPlainDatagramSocket.cc: removed #include
8191 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8192 * include/win32.h: included definition for IP_TOS to satisfy
8193 natPlainDatagramSocket.cc
8194
8195 2002-09-13 Michael Koch <konqueror@gmx.de>
8196
8197 * java/net/DatagramPacket.java (DatagramPacket):
8198 Added linebreak for 80 chars per line.
8199 * java/net/JarURLConection.java
8200 (getInputStreami, getJarEntry): Likewise.
8201 * java/net/SocketPErmission.java
8202 (SocketPermission class docu, implies): Likewise.
8203 * java/net/URLClassLoader.java (findResources): Likewise.
8204 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8205
8206 2002-09-13 Michael Koch <konqueror@gmx.de>
8207
8208 * java/nio/channels/DatagramChannel.java,
8209 java/nio/channels/ServerSocketChannel.java
8210 java/nio/channels/SocketChannel.java:
8211 New dummy files to make java.net fully JDK 1.4 compatible
8212 * Makefile.am (ordinary_java_source_files): Added
8213 java/net/DatagramSocketImplFactory.java (long forgotten),
8214 java/nio/SocketChannel.java,
8215 java/nio/ServerSocketChannel.java,
8216 java/nio/DatagramChannel.java
8217 * Makefile.in: Regenrated.
8218
8219 2002-09-12 Michael Koch <konqueror@gmx.de>
8220
8221 * java/net/DatagramSocketImpl.java
8222 (peekData): New method.
8223 * java/net/PlainDatagramSocketImpl.java
8224 (peekData): New method.
8225 * java/net/natPlainDatagramSocketImpl.cc
8226 (peekData): New method.
8227 * java/net/URLConnection
8228 (getPermission): New method.
8229 (addRequestProperty): New method.
8230 (getRequestProperties): New method.
8231 (guessContentTypeFromStream): New method, not really implemented.
8232 (URLConnection): Added/updated documentation.
8233 (connect): Added/updated documentation.
8234 (getURL): Added/updated documentation.
8235 (getContentLength): Added/updated documentation.
8236 (getContentType: Added/updated documentation.
8237 (getContentEncoding): Added/updated documentation.
8238 (getExpiration): Added/updated documentation.
8239 (getDate): Added/updated documentation.
8240 (getLastModified): Added/updated documentation.
8241 (getHeaderField): Added/updated documentation.
8242 (getHeaderFields): Added/updated documentation.
8243 (getHeaderFieldInt): Added/updated documentation.
8244 (getHeaderFieldDate): Added/updated documentation.
8245 (getHeaderFieldKey): Added/updated documentation.
8246 (getContent): Added/updated documentation.
8247 (getInputStream): Added/updated documentation.
8248 (getOutputStream): Added/updated documentation.
8249 (toString): Added/updated documentation.
8250 (setDoInput): Added/updated documentation.
8251 (getDoInput): Added/updated documentation.
8252 (setDoOutput): Added/updated documentation.
8253 (getDoOutput): Added/updated documentation.
8254 (setAllowUserInteraction): Added/updated documentation.
8255 (getAllowUserInteraction): Added/updated documentation.
8256 (setDefaultAllowUserInteraction): Added/updated documentation.
8257 (getDefaultAllowUserInteraction): Added/updated documentation.
8258 (setUseCaches): Added/updated documentation.
8259 (getUseCaches): Added/updated documentation.
8260 (setIfModifiedSince): Added/updated documentation.
8261 (getIfModifiedSince): Added/updated documentation.
8262 (getDefaultUseCaches): Added/updated documentation.
8263 (setDefaultUseCaches): Added/updated documentation.
8264 (setRequestProperty): Added/updated documentation.
8265 (getRequestProperty): Added/updated documentation.
8266 (setDefaultRequestProperty): Added/updated documentation.
8267 (getDefaultRequestProperty): Added/updated documentation.
8268 (setContentHandlerFactory): Added/updated documentation.
8269 (guessContentTypeFromName): Added/updated documentation.
8270 (getFileNameMap): Added/updated documentation.
8271 (setFileNameMap): Added/updated documentation.
8272
8273 2002-09-11 Michael Koch <konqueror@gmx.de>
8274
8275 * java/net/Socket.java
8276 (Socket): protected to public (since JDK 1.4). Added @specnote.
8277 (bind): New method.
8278 (connect): Two new methods.
8279 (getKeepalive): Get correct socket option.
8280 (setKeepalive): Set correct socket option.
8281 (getOOBInline): New method.
8282 (setOOBInline): New method.
8283 * java/net/ServerSocket.java
8284 (bind): Two new methods.
8285 (getInetAddress): Reimplemented, catch exception.
8286 (getLocalSocketAddress): New method.
8287 (setReuseAddress): New method.
8288 (getReuseAdress): New method.
8289 (setReceiveBufferSize): New method.
8290 (getReceiveBufferSize): New method.
8291 (toString): Made string JDK 1.4 compliant.
8292
8293 2002-09-10 Michael Koch <konqueror@gmx.de>
8294
8295 * java/net/SocketImpl.java
8296 (connect): New method.
8297 (supportsUrgentData): New method.
8298 (sendUrgentData): New method.
8299 * java/net/PlainSocketImpl.java
8300 (connect): One new method and two new implementation.
8301 (sendUrgentData): New method.
8302 * java/natPlainSocketImpl.cc
8303 (connect): Arguments changed, added support for timeouts.
8304 (getOption): Another __java_boolean to jboolean.
8305
8306 2002-09-07 Adam Megacz <adam@xwt.org>
8307
8308 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8309 definition of IP_TOS.
8310
8311 2002-09-04 Michael Koch <konqueror@gmx.de>
8312
8313 * java/net/DatagramSocket.java
8314 (DatagramSocket): Added documentation.
8315 (close): Likewise.
8316 (getLocalAddress): Likewise.
8317 (getLocalPort): Likewise.
8318 (receive): Likewise.
8319 (send): Likewise.
8320 (setSoTimeout): Likewise.
8321 (connect): New method.
8322 (disconnect): New method.
8323 (getInetAddress): New method (FIXME)
8324 (getPort): New method.
8325 (setReuseAddress): New method.
8326 (getReuseAddress): New method.
8327 (setBroadcast): New method.
8328 (getBroadcast): New method.
8329 (setTrafficClass): New method.
8330 (getTrafficClass): New method.
8331 * java/net/MulticastSocket.java):
8332 (getTTL): Added @see in documentation.
8333 (setTTL): Added @see in documentation.
8334 (setLoopbackMode): New method.
8335 (getLoopbackMode): New method.
8336 * java/net/PlainSocketImpl.java:
8337 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8338 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8339 * java/net/PlainDatagramSocketImpl.java
8340 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8341 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8342 * java/net/natPlainSocketImpl.cc
8343 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8344 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8345 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8346 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8347 This should also fix SO_KEEPALIVE
8348 * java/net/natPlainDatagramSocketImpl.cc
8349 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8350 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8351 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8352 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8353
8354 2002-09-04 Michael Koch <konqueror@gmx.de>
8355
8356 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8357 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8358 IP_MULTICAST_LOOP, IP_TOS
8359
8360 2002-09-03 Tom Tromey <tromey@redhat.com>
8361
8362 * java/lang/Class.h (_getDeclaredMethod): Declare.
8363 (_getMethod): Now private.
8364 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8365 getDeclaredMethod. Now returns NULL on failure.
8366 * java/lang/Class.java (_getDeclaredMethod): Declare.
8367 (getDeclaredMethod): No longer native; implements access checks.
8368
8369 2002-09-01 Mark Wielaard <mark@klomp.org>
8370
8371 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8372 (sanitizeStack): Correctly reset unknown and interpreter counters,
8373 detect interpreter runtime frames.
8374 (demangleInterpreterMethod): New method.
8375 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8376 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8377 filling in addrs[].
8378
8379 2002-09-02 Michael Koch <konqueror@gmx.de>
8380
8381 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8382 re-indented documentation.
8383
8384 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8385
8386 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8387 public, per 1.4 spec. Fixes PR libgcj/7785.
8388
8389 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8390
8391 * Makefile.in: Rebuilt.
8392 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8393
8394 2002-08-29 Tom Tromey <tromey@redhat.com>
8395
8396 * java/net/JarURLConnection.java (getCertificates): New method
8397 from Classpath.
8398 * java/net/URLClassLoader.java (URLClassLoader): Extends
8399 SecureClassLoader.
8400 (definePackage): New method from Classpath.
8401 (getPermissions): Likewise.
8402 (newInstance): Likewise.
8403 (findClass): Construct CodeSource for new class (from Classpath).
8404 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8405 methods.
8406 * java/net/URL.java (getUserInfo): New method.
8407 (set(String,String,int,String,String,String,String,String)): New
8408 method.
8409 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8410 (shutdownInput, shutdownOutput): Declare.
8411 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8412 Define.
8413 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8414 (getOption): Likewise.
8415 (shutdownInput): New method.
8416 (shutdownOutput): Likewise.
8417 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8418 keepalive.
8419 (getOption): Likewise.
8420 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8421 * java/net/Socket.java (setKeepAlive): New method.
8422 (getKeepAlive): Likewise.
8423 (shutdownInput, shutdownOutput): New methods.
8424
8425 2002-08-29 Michael Koch <konqueror@gmx.de>
8426
8427 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8428 new methods are:
8429 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8430 address),
8431 DatagramPacket(byte[] buf, int length, SocketAddress address),
8432 void setSocketAddress(SocketAddress address)
8433 public SocketAddress getSocketAddress()
8434
8435 2002-08-29 Tom Tromey <tromey@redhat.com>
8436
8437 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8438 ftruncate is missing.
8439 * configure, include/config.h.in: Rebuilt.
8440 * acconfig.h (HAVE_FTRUNCATE): Mention.
8441 * configure.in: Check for ftruncate.
8442
8443 2002-08-29 Tom Tromey <tromey@redhat.com>
8444
8445 * include/jvm.h (struct _Jv_frame_info): New structure.
8446 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8447 java-interp.h.
8448 (lookupInterp): New method.
8449 (getAddrAsString): Use _Jv_frame_info.
8450 (dladdrLookup): Likewise.
8451 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8452 interpreted frame.
8453 (lookupInterp): Declare.
8454 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8455 (fillInStackTrace): Collect information on interpreted frames.
8456 Use _Jv_frame_info.
8457 * interpret.cc: Include Thread.h.
8458 (run): Create and push _Jv_MethodChain object.
8459 (_Jv_EndOfInterpreter): New global.
8460 * java/lang/Thread.java (interp_frame): New field.
8461 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8462 Include NameFinder.h.
8463
8464 2002-08-28 Tom Tromey <tromey@redhat.com>
8465
8466 * java/lang/Class.h: Include Package.h.
8467 (Class::getProtectionDomain): Declare.
8468 (Class::getPackage): Declare.
8469
8470 2002-08-28 Michael Koch <konqueror@gmx.de>
8471
8472 * java/net/InetSocketAddress.java: Added some documentation and argument
8473 checks for the port numbers.
8474 * java/net/DatagramSocketImplFactory.java: New file.
8475
8476 2002-08-28 Michael Koch <konqueror@gmx.de>
8477
8478 * java/net/Authenticator.java: added some documentation.
8479
8480 2002-08-27 Tom Tromey <tromey@redhat.com>
8481
8482 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8483 class.
8484 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8485
8486 2002-08-27 Michael Koch <konqueror@gmx.de>
8487
8488 * java/net/BindException.java,
8489 java/net/JarURLConnection.java,
8490 java/net/FileNameMap.java,
8491 java/net/HttpURLConnection.java,
8492 java/net/InetSocketAddress.java,
8493 java/net/DatagramPacket.java,
8494 java/net/DatagramSocket.java,
8495 java/net/DatagramSocketImpl.java,
8496 java/net/MulticastSocket.java,
8497 java/net/PasswordAuthentication.java,
8498 java/net/ServerSocket.java,
8499 java/net/Socket.java,
8500 java/net/URLClassLoader.java,
8501 java/net/URLConnection.java: add/update of some @since/@deprecated
8502
8503 2002-08-27 Tony Kimball <alk@pobox.com>
8504 Tom Tromey <tromey@redhat.com>
8505
8506 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8507 define.
8508 (::close): Removed.
8509 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8510 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8511 (::close): Removed.
8512 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8513 * include/win32.h (getcwd): Removed declaration. Include io.h.
8514
8515 2002-08-25 Adam Megacz <adam@xwt.org>
8516
8517 * include/win32.h (getcwd): copied function declaration as
8518 temporary fix for header confusion.
8519
8520 2002-08-24 Mark Wielaard <mark@klomp.org>
8521
8522 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8523 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8524 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8525 and natNameFinder.cc.
8526 * Makefile.in: Regenerate.
8527 * prims.cc: Use trace_enabled from VMThrowable.
8528 * name-finder.cc: Removed.
8529 * gcj/javaprims.h: Add class VMThrowable.
8530 * gnu/gcj/runtime/NameFinder.java: New file.
8531 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8532 * include/name-finder.h: Removed.
8533 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8534 method stackTraceString().
8535 (printStackTrace (PrintWriter)): Likewise.
8536 (stackTraceString): Complete rewrite of old printStackTrace using
8537 StringBuffer.
8538 (stackTraceStringBuffer): New helper method for stackTraceString().
8539 (fillInStackTrace): Delegate to VMTrowable.
8540 (getStackTrace): Likewise.
8541 (getStackTrace0): Removed.
8542 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8543 (setStackTrace): Copy given array.
8544 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8545 * java/lang/VMThrowable.java: New class.
8546 * java/lang/natVMThrowable.cc: New file.
8547
8548 2003-08-23 Michael Koch <konqueror@gmx.de>
8549
8550 * java/net/URLConnection.java,
8551 java/netJarURLConnection.java,
8552 gnu/gcj/protocol/core/Connection.java,
8553 gnu/gcj/protocol/file/Connection.java,
8554 gnu/gcj/protocol/http/Connection.java: Added implementation of
8555 getHeaderFields().
8556
8557 2002-08-22 Tom Tromey <tromey@redhat.com>
8558
8559 * gij.cc (help): Document -cp and -classpath.
8560 (main): Handle -classpath.
8561
8562 2002-08-21 Tom Tromey <tromey@redhat.com>
8563
8564 * Makefile.in: Rebuilt.
8565 * Makefile.am (ordinary_java_source_files): Added
8566 SocketAddress.java, InetSocketAddress.java.
8567 * java/net/PortUnreachableException.java: Merged with Classpath.
8568 * java/net/SocketTimeoutException.java: Likewise.
8569 * java/net/URISyntaxException.java: Likewise.
8570 * java/net/SocketAddress.java: New class from Classpath.
8571 * java/net/InetSocketAddress.java: Likewise.
8572
8573 2003-08-21 Michael Koch <konqueror@gmx.de>
8574
8575 * java/net/Authenticator.java: updated JDK 1.4
8576 * java/net/ContentHandler.java: updated JDK 1.4
8577
8578 2002-08-20 Michael Koch <konqueror@gmx.de>
8579
8580 * java/net/URISyntaxException.java: New file.
8581 * java/net/SocketTimeoutException.java: New file.
8582 * java/net/PortUnreachableException.java: New file.
8583 * Makefile.am: Updated.
8584 * Makefile.in: Rebuilt.
8585
8586 2002-08-18 Mark Wielaard <mark@klomp.org>
8587
8588 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8589 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8590 MessageDigestSpi (fixes Classpath bug #783).
8591
8592 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8593
8594 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8595 (startProcess): Allocate path for chdir in async-signal-safe way.
8596
8597 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8598
8599 Fix for PR libgcj/7570 and PR libgcj/7578:
8600 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8601 (startProcess): Handle new `dir' argument.
8602 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8603 argument.
8604 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8605 argument.
8606 (startProcess): Likewise.
8607 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8608 argument.
8609 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8610 (exec): Don't create new environment if ENV==null. Pass DIR to
8611 execInternal.
8612 * java/lang/natRuntime.cc: Include java/io/File.h.
8613 (execInternal): Added `dir' argument.
8614
8615 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8616
8617 * java/io/RandomAccessFile.java (skipBytes): Return number of
8618 bytes skipped.
8619
8620 2002-08-01 Mark Wielaard <mark@klomp.org>
8621
8622 Reenable patch since shared library troubles on powerpc are solved:
8623 * gnu/java/security/provider/Gnu.java: Reference all implementation
8624 classes by using Class.getName().
8625 * gnu/java/security/der/DEREncodingException.java,
8626 gnu/java/security/provider/DERReader.java,
8627 gnu/java/security/provider/DERWriter.java,
8628 gnu/java/security/provider/DSAKeyPairGenerator.java,
8629 gnu/java/security/provider/DSAParameterGenerator.java,
8630 gnu/java/security/provider/DSAParameters.java,
8631 gnu/java/security/provider/DSASignature.java,
8632 gnu/java/security/provider/GnuDSAPrivateKey.java,
8633 gnu/java/security/provider/GnuDSAPublicKey.java,
8634 gnu/java/security/provider/MD5.java,
8635 gnu/java/security/util/Prime.java: New classes
8636 * Makefile.am (ordinary_java_source_files): Add above files.
8637 * Makefile.in: Regenerate.
8638 * gnu/java/security/provider/DefaultPolicy.java
8639 (getPermissions): Don't maintain static class variable of Permissions.
8640 * gnu/java/security/provider/SHA.java
8641 (engineUpdate): algorithm change.
8642 (engineDigest): algorithm change.
8643
8644 2002-08-09 Mark Wielaard <mark@klomp.org>
8645
8646 * java/awt/image/MemoryImageSource.java: Change constructor to take
8647 int[] not byte[].
8648 * java/awt/Graphics2D.java: Uncomment methods that can now be
8649 compiled.
8650 * java/awt/GridBagLayout.java: New stub implementation.
8651 * javax/swing/text/html/HTML.java: Stub implementation.
8652 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8653 implementation.
8654
8655 * Makefile.am: Add new files.
8656 * Makefile.in: Rebuilt.
8657
8658 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8659
8660 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8661 methods in Graphics2D.
8662
8663 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8664
8665 AWT/Swing merge from GNU Classpath.
8666
8667 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8668 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8669 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8670 java/awt/color/ProfileDataException.java,
8671 java/awt/CompositeContext.java, java/awt/Composite.java,
8672 java/awt/ContainerOrderFocusTraversalPolicy.java,
8673 java/awt/datatransfer/FlavorTable.java,
8674 java/awt/DefaultFocusTraversalPolicy.java,
8675 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8676 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8677 java/awt/dnd/DragGestureListener.java,
8678 java/awt/dnd/DragGestureRecognizer.java,
8679 java/awt/dnd/DragSourceAdapter.java,
8680 java/awt/dnd/DragSourceContext.java,
8681 java/awt/dnd/DragSourceDragEvent.java,
8682 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8683 java/awt/dnd/DragSourceListener.java,
8684 java/awt/dnd/DragSourceMotionListener.java,
8685 java/awt/dnd/DropTarget.java,
8686 java/awt/dnd/InvalidDnDOperationException.java,
8687 java/awt/dnd/peer/DragSourceContextPeer.java,
8688 java/awt/event/AWTEventListenerProxy.java,
8689 java/awt/event/MouseWheelEvent.java,
8690 java/awt/event/MouseWheelListener.java,
8691 java/awt/event/WindowFocusListener.java,
8692 java/awt/event/WindowStateListener.java,
8693 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8694 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8695 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8696 java/awt/geom/FlatteningPathIterator.java,
8697 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8698 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8699 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8700 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8701 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8702 java/awt/image/ImagingOpException.java,
8703 java/awt/image/RasterFormatException.java,
8704 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8705 java/awt/image/VolatileImage.java,
8706 java/awt/image/WritableRenderedImage.java,
8707 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8708 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8709 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8710 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8711 java/awt/PageAttributes.java, java/awt/print/Book.java,
8712 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8713 java/awt/print/Paper.java, java/awt/print/Printable.java,
8714 java/awt/print/PrinterAbortException.java,
8715 java/awt/print/PrinterException.java,
8716 java/awt/print/PrinterGraphics.java,
8717 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8718 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8719 java/awt/Stroke.java, java/awt/TexturePaint.java,
8720 javax/accessibility/AccessibleAction.java,
8721 javax/accessibility/AccessibleBundle.java,
8722 javax/accessibility/AccessibleComponent.java,
8723 javax/accessibility/AccessibleContext.java,
8724 javax/accessibility/AccessibleEditableText.java,
8725 javax/accessibility/AccessibleExtendedComponent.java,
8726 javax/accessibility/AccessibleExtendedTable.java,
8727 javax/accessibility/AccessibleHyperlink.java,
8728 javax/accessibility/AccessibleHypertext.java,
8729 javax/accessibility/AccessibleIcon.java,
8730 javax/accessibility/Accessible.java,
8731 javax/accessibility/AccessibleKeyBinding.java,
8732 javax/accessibility/AccessibleRelation.java,
8733 javax/accessibility/AccessibleRelationSet.java,
8734 javax/accessibility/AccessibleResourceBundle.java,
8735 javax/accessibility/AccessibleRole.java,
8736 javax/accessibility/AccessibleSelection.java,
8737 javax/accessibility/AccessibleState.java,
8738 javax/accessibility/AccessibleStateSet.java,
8739 javax/accessibility/AccessibleTable.java,
8740 javax/accessibility/AccessibleTableModelChange.java,
8741 javax/accessibility/AccessibleText.java,
8742 javax/accessibility/AccessibleValue.java,
8743 javax/swing/AbstractAction.java,
8744 javax/swing/AbstractButton.java,
8745 javax/swing/AbstractCellEditor.java,
8746 javax/swing/AbstractListModel.java,
8747 javax/swing/AbstractSet.java, javax/swing/Action.java,
8748 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8749 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8750 javax/swing/border/CompoundBorder.java,
8751 javax/swing/border/EmptyBorder.java,
8752 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8753 javax/swing/border/LineBorder.java,
8754 javax/swing/border/MatteBorder.java,
8755 javax/swing/border/TitledBorder.java,
8756 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8757 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8758 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8759 javax/swing/CellRendererPane.java,
8760 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8761 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8762 javax/swing/colorchooser/ColorSelectionModel.java,
8763 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8764 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8765 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8766 javax/swing/DefaultBoundedRangeModel.java,
8767 javax/swing/DefaultButtonModel.java,
8768 javax/swing/DefaultCellEditor.java,
8769 javax/swing/DefaultCellRenderer.java,
8770 javax/swing/DefaultComboBoxModel.java,
8771 javax/swing/DefaultDesktopManager.java,
8772 javax/swing/DefaultFocusManager.java,
8773 javax/swing/DefaultListCellRenderer.java,
8774 javax/swing/DefaultListModel.java,
8775 javax/swing/DefaultListSelectionModel.java,
8776 javax/swing/DefaultSingleSelectionModel.java,
8777 javax/swing/DesktopManager.java,
8778 javax/swing/event/AncestorEvent.java,
8779 javax/swing/event/AncestorListener.java,
8780 javax/swing/event/CaretEvent.java,
8781 javax/swing/event/CaretListener.java,
8782 javax/swing/event/CellEditorListener.java,
8783 javax/swing/event/ChangeEvent.java,
8784 javax/swing/event/ChangeListener.java,
8785 javax/swing/event/DocumentEvent.java,
8786 javax/swing/event/DocumentListener.java,
8787 javax/swing/event/EventListenerList.java,
8788 javax/swing/event/HyperlinkEvent.java,
8789 javax/swing/event/HyperlinkListener.java,
8790 javax/swing/event/InternalFrameAdapter.java,
8791 javax/swing/event/InternalFrameEvent.java,
8792 javax/swing/event/InternalFrameListener.java,
8793 javax/swing/event/ListDataEvent.java,
8794 javax/swing/event/ListDataListener.java,
8795 javax/swing/event/ListSelectionEvent.java,
8796 javax/swing/event/ListSelectionListener.java,
8797 javax/swing/event/MenuDragMouseEvent.java,
8798 javax/swing/event/MenuDragMouseListener.java,
8799 javax/swing/event/MenuEvent.java,
8800 javax/swing/event/MenuKeyEvent.java,
8801 javax/swing/event/MenuKeyListener.java,
8802 javax/swing/event/MenuListener.java,
8803 javax/swing/event/MouseInputAdapter.java,
8804 javax/swing/event/MouseInputListener.java,
8805 javax/swing/event/PopupMenuEvent.java,
8806 javax/swing/event/PopupMenuListener.java,
8807 javax/swing/event/SwingPropertyChangeSupport.java,
8808 javax/swing/event/TableColumnModelEvent.java,
8809 javax/swing/event/TableColumnModelListener.java,
8810 javax/swing/event/TableModelEvent.java,
8811 javax/swing/event/TableModelListener.java,
8812 javax/swing/event/TreeExpansionEvent.java,
8813 javax/swing/event/TreeExpansionListener.java,
8814 javax/swing/event/TreeModelEvent.java,
8815 javax/swing/event/TreeModelListener.java,
8816 javax/swing/event/TreeSelectionEvent.java,
8817 javax/swing/event/TreeSelectionListener.java,
8818 javax/swing/event/TreeWillExpandListener.java,
8819 javax/swing/event/UndoableEditEvent.java,
8820 javax/swing/event/UndoableEditListener.java,
8821 javax/swing/filechooser/FileFilter.java,
8822 javax/swing/filechooser/FileSystemView.java,
8823 javax/swing/filechooser/FileView.java,
8824 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8825 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8826 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8827 javax/swing/JApplet.java, javax/swing/JButton.java,
8828 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8829 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8830 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8831 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8832 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8833 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8834 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8835 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8836 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8837 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8838 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8839 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8840 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8841 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8842 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8843 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8844 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8845 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8846 javax/swing/JToolTip.java, javax/swing/JTree.java,
8847 javax/swing/JViewport.java, javax/swing/JWindow.java,
8848 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8849 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8850 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8851 javax/swing/MenuSelectionManager.java,
8852 javax/swing/MutableComboBoxModel.java,
8853 javax/swing/OverlayLayout.java,
8854 javax/swing/plaf/ActionMapUIResource.java,
8855 javax/swing/plaf/basic/BasicBorders.java,
8856 javax/swing/plaf/basic/BasicButtonUI.java,
8857 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8858 javax/swing/plaf/basic/BasicDefaults.java,
8859 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8860 javax/swing/plaf/basic/BasicIconFactory.java,
8861 javax/swing/plaf/basic/BasicLabelUI.java,
8862 javax/swing/plaf/basic/BasicListUI.java,
8863 javax/swing/plaf/basic/BasicLookAndFeel.java,
8864 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8865 javax/swing/plaf/basic/BasicPanelUI.java,
8866 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8867 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8868 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8869 javax/swing/plaf/basic/BasicTextUI.java,
8870 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8871 javax/swing/plaf/basic/BasicTreeUI.java,
8872 javax/swing/plaf/basic/BasicViewportUI.java,
8873 javax/swing/plaf/BorderUIResource.java,
8874 javax/swing/plaf/ButtonUI.java,
8875 javax/swing/plaf/ColorChooserUI.java,
8876 javax/swing/plaf/ColorUIResource.java,
8877 javax/swing/plaf/ComboBoxUI.java,
8878 javax/swing/plaf/ComponentInputMapUIResource.java,
8879 javax/swing/plaf/ComponentUI.java,
8880 javax/swing/plaf/DesktopIconUI.java,
8881 javax/swing/plaf/DesktopPaneUI.java,
8882 javax/swing/plaf/DimensionUIResource.java,
8883 javax/swing/plaf/FileChooserUI.java,
8884 javax/swing/plaf/FontUIResource.java,
8885 javax/swing/plaf/IconUIResource.java,
8886 javax/swing/plaf/InputMapUIResource.java,
8887 javax/swing/plaf/InsetsUIResource.java,
8888 javax/swing/plaf/InternalFrameUI.java,
8889 javax/swing/plaf/LabelUI.java,
8890 javax/swing/plaf/ListUI.java,
8891 javax/swing/plaf/MenuBarUI.java,
8892 javax/swing/plaf/MenuItemUI.java,
8893 javax/swing/plaf/OptionPaneUI.java,
8894 javax/swing/plaf/PanelUI.java,
8895 javax/swing/plaf/PopupMenuUI.java,
8896 javax/swing/plaf/ProgressBarUI.java,
8897 javax/swing/plaf/RootPaneUI.java,
8898 javax/swing/plaf/ScrollBarUI.java,
8899 javax/swing/plaf/ScrollPaneUI.java,
8900 javax/swing/plaf/SeparatorUI.java,
8901 javax/swing/plaf/SliderUI.java,
8902 javax/swing/plaf/SplitPaneUI.java,
8903 javax/swing/plaf/TabbedPaneUI.java,
8904 javax/swing/plaf/TableHeaderUI.java,
8905 javax/swing/plaf/TableUI.java,
8906 javax/swing/plaf/TextUI.java,
8907 javax/swing/plaf/ToolBarUI.java,
8908 javax/swing/plaf/ToolTipUI.java,
8909 javax/swing/plaf/TreeUI.java,
8910 javax/swing/plaf/UIResource.java,
8911 javax/swing/plaf/ViewportUI.java,
8912 javax/swing/ProgressMonitorInputStream.java,
8913 javax/swing/ProgressMonitor.java,
8914 javax/swing/Renderer.java,
8915 javax/swing/RepaintManager.java,
8916 javax/swing/RootPaneContainer.java,
8917 javax/swing/Scrollable.java,
8918 javax/swing/ScrollPaneConstants.java,
8919 javax/swing/ScrollPaneLayout.java,
8920 javax/swing/SingleSelectionModel.java,
8921 javax/swing/SizeRequirements.java,
8922 javax/swing/SizeSequence.java,
8923 javax/swing/SwingConstants.java,
8924 javax/swing/SwingUtilities.java,
8925 javax/swing/table/AbstractTableModel.java,
8926 javax/swing/table/DefaultTableCellRenderer.java,
8927 javax/swing/table/DefaultTableColumnModel.java,
8928 javax/swing/table/DefaultTableModel.java,
8929 javax/swing/table/TableCellEditor.java,
8930 javax/swing/table/TableCellRenderer.java,
8931 javax/swing/table/TableColumn.java,
8932 javax/swing/table/TableColumnModel.java,
8933 javax/swing/table/TableModel.java,
8934 javax/swing/text/AbstractDocument.java,
8935 javax/swing/text/AttributeSet.java,
8936 javax/swing/text/BadLocationException.java,
8937 javax/swing/text/Caret.java,
8938 javax/swing/text/CharacterIterator.java,
8939 javax/swing/text/ComponentView.java,
8940 javax/swing/text/DefaultCaret.java,
8941 javax/swing/text/DefaultEditorKit.java,
8942 javax/swing/text/Document.java,
8943 javax/swing/text/EditorKit.java,
8944 javax/swing/text/Element.java,
8945 javax/swing/text/GapContent.java,
8946 javax/swing/text/JTextComponent.java,
8947 javax/swing/text/Keymap.java,
8948 javax/swing/text/MutableAttributeSet.java,
8949 javax/swing/text/PlainDocument.java,
8950 javax/swing/text/PlainEditorKit.java,
8951 javax/swing/text/Position.java,
8952 javax/swing/text/Segment.java,
8953 javax/swing/text/StyledDocument.java,
8954 javax/swing/text/StyledEditorKit.java,
8955 javax/swing/text/Style.java,
8956 javax/swing/text/TextAction.java,
8957 javax/swing/text/ViewFactory.java,
8958 javax/swing/text/View.java,
8959 javax/swing/Timer.java,
8960 javax/swing/ToggleButtonModel.java,
8961 javax/swing/ToolTipManager.java,
8962 javax/swing/tree/AbstractLayoutCache.java,
8963 javax/swing/tree/DefaultMutableTreeNode.java,
8964 javax/swing/tree/DefaultTreeCellEditor.java,
8965 javax/swing/tree/DefaultTreeCellRenderer.java,
8966 javax/swing/tree/DefaultTreeModel.java,
8967 javax/swing/tree/DefaultTreeSelectionModel.java,
8968 javax/swing/tree/ExpandVetoException.java,
8969 javax/swing/tree/FixedHeightLayoutCache.java,
8970 javax/swing/tree/MutableTreeNode.java,
8971 javax/swing/tree/RowMapper.java,
8972 javax/swing/tree/TreeCellEditor.java,
8973 javax/swing/tree/TreeCellRenderer.java,
8974 javax/swing/tree/TreeModel.java,
8975 javax/swing/tree/TreeNode.java,
8976 javax/swing/tree/TreePath.java,
8977 javax/swing/tree/TreeSelectionModel.java,
8978 javax/swing/tree/VariableHeightLayoutCache.java,
8979 javax/swing/UIDefaults.java,
8980 javax/swing/UIManager.java,
8981 javax/swing/undo/AbstractUndoableEdit.java,
8982 javax/swing/undo/CannotRedoException.java,
8983 javax/swing/undo/CannotUndoException.java,
8984 javax/swing/undo/CompoundEdit.java,
8985 javax/swing/undo/StateEditable.java,
8986 javax/swing/undo/StateEdit.java,
8987 javax/swing/undo/UndoableEdit.java,
8988 javax/swing/undo/UndoableEditSupport.java,
8989 javax/swing/undo/UndoManager.java,
8990 javax/swing/UnsupportedLookAndFeelException.java,
8991 javax/swing/ViewportLayout.java,
8992 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8993
8994 * java/awt/ActiveEvent.java,
8995 java/awt/Adjustable.java, java/awt/AWTError.java,
8996 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8997 java/awt/AWTException.java, java/awt/AWTPermission.java,
8998 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8999 java/awt/Color.java, java/awt/Component.java,
9000 java/awt/ComponentOrientation.java, java/awt/Container.java,
9001 java/awt/datatransfer/MimeTypeParseException.java,
9002 java/awt/datatransfer/Transferable.java,
9003 java/awt/datatransfer/UnsupportedFlavorException.java,
9004 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9005 java/awt/event/ActionListener.java,
9006 java/awt/event/AdjustmentEvent.java,
9007 java/awt/event/AdjustmentListener.java,
9008 java/awt/event/AWTEventListener.java,
9009 java/awt/event/ComponentAdapter.java,
9010 java/awt/event/ComponentEvent.java,
9011 java/awt/event/ComponentListener.java,
9012 java/awt/event/ContainerAdapter.java,
9013 java/awt/event/ContainerEvent.java,
9014 java/awt/event/ContainerListener.java,
9015 java/awt/event/FocusAdapter.java,
9016 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9017 java/awt/event/HierarchyBoundsAdapter.java,
9018 java/awt/event/HierarchyBoundsListener.java,
9019 java/awt/event/HierarchyEvent.java,
9020 java/awt/event/HierarchyListener.java,
9021 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9022 java/awt/event/InputMethodListener.java,
9023 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9024 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9025 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9026 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9027 java/awt/event/MouseListener.java,
9028 java/awt/event/MouseMotionAdapter.java,
9029 java/awt/event/MouseMotionListener.java,
9030 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9031 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9032 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9033 java/awt/event/WindowListener.java, java/awt/Font.java,
9034 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9035 java/awt/geom/Ellipse2D.java,
9036 java/awt/geom/IllegalPathStateException.java,
9037 java/awt/geom/Line2D.java,
9038 java/awt/geom/NoninvertibleTransformException.java,
9039 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9040 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9041 java/awt/geom/RoundRectangle2D.java,
9042 java/awt/GraphicsConfiguration.java,
9043 java/awt/IllegalComponentStateException.java,
9044 java/awt/image/IndexColorModel.java,
9045 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9046 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9047 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9048 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9049 java/awt/MenuItem.java, java/awt/PaintContext.java,
9050 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9051 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9052 java/awt/PrintJob.java, java/awt/Rectangle.java,
9053 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9054 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9055 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9056
9057 * java/awt/im/spi/InputMethod.java,
9058 java/awt/im/spi/InputMethodContext.java,
9059 java/awt/im/spi/InputMethodDescriptor.java,
9060 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9061 java/awt/image/renderable/ParameterBlock.java,
9062 java/awt/image/renderable/RenderContext.java,
9063 java/awt/image/renderable/RenderableImage.java,
9064 java/awt/image/renderable/RenderableImageOp.java,
9065 java/awt/image/renderable/RenderableImageProducer.java,
9066 java/awt/image/renderable/RenderedImageFactory.java: New files from
9067 classpath.
9068
9069 * gnu/java/awt/EventModifier.java,
9070 gnu/java/awt/image/ImageDecoder.java,
9071 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9072
9073 * gnu/awt/xlib/XGraphicsConfiguration.java,
9074 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9075 API.
9076
9077 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9078 GNU Classpath.
9079
9080 * Makefile.am: Add new files.
9081 * Makefile.in: Rebuilt.
9082
9083 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9084
9085 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9086 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9087 findResource, getResources, findResources): Add javadoc from classpath.
9088 (getSystemResources): Implemented.
9089
9090 2002-08-01 Mark Wielaard <mark@klomp.org>
9091
9092 Revert patch that breaks libgcj shared library on powerpc:
9093 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9094 implementation classes by using Class.getName(). Uses Strings again.
9095 * gnu/java/security/der/DEREncodingException.java,
9096 gnu/java/security/provider/DERReader.java,
9097 gnu/java/security/provider/DERWriter.java,
9098 gnu/java/security/provider/DSAKeyPairGenerator.java,
9099 gnu/java/security/provider/DSAParameterGenerator.java,
9100 gnu/java/security/provider/DSAParameters.java,
9101 gnu/java/security/provider/DSASignature.java,
9102 gnu/java/security/provider/GnuDSAPrivateKey.java,
9103 gnu/java/security/provider/GnuDSAPublicKey.java,
9104 gnu/java/security/provider/MD5.java,
9105 gnu/java/security/util/Prime.java: Removed.
9106 * Makefile.am (ordinary_java_source_files): Remove above files.
9107 * Makefile.in: Regenerate.
9108 * gnu/java/security/provider/DefaultPolicy.java
9109 (getPermissions): Revert to maintaining static class variable of
9110 Permissions.
9111 * gnu/java/security/provider/SHA.java
9112 (engineUpdate): Revert algorithm change.
9113 (engineDigest): Revert algorithm change.
9114
9115 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9116
9117 * configure.host: Add SH support.
9118 * sysdep/sh/locks.h: New file.
9119
9120 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9121
9122 * java/awt/Frame.java (Frame): Remove println calls.
9123
9124 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9125
9126 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9127 * configure: Rebuilt.
9128
9129 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9130
9131 * sysdep/powerpc/locks.h: Formatting.
9132 (_LARX): Define.
9133 (_STCX): Define.
9134 (compare_and_swap): Use _LARX and _STCX.
9135 (compare_and_swap_release): Likewise.
9136
9137 2002-07-26 Tom Tromey <tromey@redhat.com>
9138
9139 * java/net/Authenticator.java: New version from Classpath.
9140 * java/net/DatagramSocketImpl.java: New version from Classpath.
9141
9142 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9143
9144 * configure.host: Add powerpc64*-* entry.
9145
9146 2002-07-26 Tom Tromey <tromey@redhat.com>
9147
9148 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9149 fcntl.h.
9150
9151 2002-07-24 Tom Tromey <tromey@redhat.com>
9152
9153 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9154 argument to _load.
9155
9156 2002-07-24 Tom Tromey <tromey@redhat.com>
9157 Tony Kimball <alk@pobox.com>
9158
9159 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9160 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9161 * java/io/RandomAccessFile.java (setLength): New method.
9162 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9163 * java/io/FileDescriptor.java (setLength): New method.
9164
9165 2002-07-24 Mark Wielaard <mark@klomp.org>
9166
9167 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9168 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9169 field call setAccessible(true).
9170 (setByteField): Likewise.
9171 (setCharField): Likewise.
9172 (setDoubleField): Likewise.
9173 (setFloatField): Likewise.
9174 (setIntField): Likewise.
9175 (setLongField): Likewise.
9176 (setShortField): Likewise.
9177 (setObjectField): Likewise.
9178
9179 2002-07-24 Tom Tromey <tromey@redhat.com>
9180
9181 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9182 use toString() to format array element.
9183
9184 2002-07-23 Mark Wielaard <mark@klomp.org>
9185
9186 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9187 MessageDigestSpi (fixes Classpath bug #783).
9188
9189 2002-07-21 Mark Wielaard <mark@klomp.org>
9190
9191 * gnu/java/security/provider/Gnu.java: Reference all implementation
9192 classes by using Class.getName().
9193
9194 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9195
9196 * java/lang/ieeefp.h: Add x86-64 support.
9197 * configure.in: Likewise.
9198 * configure.host: Likewise.
9199 * configure: Regenerated.
9200 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9201
9202 2002-07-16 Mark Wielaard <mark@klomp.org>
9203
9204 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9205 (whitespaceChars): call resetChar().
9206
9207 2002-07-15 Tom Tromey <tromey@redhat.com>
9208
9209 * Makefile.in: Rebuilt.
9210 * Makefile.am (awt_java_source_files): Added new files.
9211 * java/beans/ExceptionListener.java: Merged with Classpath.
9212 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9213 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9214 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9215 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9216 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9217 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9218 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9219
9220 2002-07-14 Mark Wielaard <mark@klomp.org>
9221
9222 * gnu/java/security/der/DEREncodingException.java,
9223 gnu/java/security/provider/DERReader.java,
9224 gnu/java/security/provider/DERWriter.java,
9225 gnu/java/security/provider/DSAKeyPairGenerator.java,
9226 gnu/java/security/provider/DSAParameterGenerator.java,
9227 gnu/java/security/provider/DSAParameters.java,
9228 gnu/java/security/provider/DSASignature.java,
9229 gnu/java/security/provider/GnuDSAPrivateKey.java,
9230 gnu/java/security/provider/GnuDSAPublicKey.java,
9231 gnu/java/security/provider/MD5.java,
9232 gnu/java/security/util/Prime.java: New files from Classpath.
9233 * Makefile.am (ordinary_java_source_files): Add new files.
9234 * Makefile.in: Regenerate.
9235
9236 2002-07-14 C. Brian Jones <cbj@gnu.org>
9237
9238 * gnu/java/security/provider/DefaultPolicy.java
9239 (getPermissions): do not maintain static class variable of
9240 Permissions
9241 * gnu/java/security/provider/SHA.java
9242 (engineUpdate): algorithm change
9243 (engineDigest): algorithm change
9244
9245 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9246
9247 For PR libgcj/7292:
9248 * java/lang/Character.java (toString(char)): Now static.
9249
9250 2002-07-12 Mark Wielaard <mark@klomp.org>
9251
9252 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9253 (getStackTrace0): new method.
9254 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9255 (printStackTrace(PrintWriter)): replace with pure java implementation.
9256 (printRawStackTrace): removed.
9257 (getStackTrace0): new method.
9258 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9259 * gcj/javaprims.h: regenerate class list.
9260 * include/name-finder.h (lookup): new returns StackTraceElement*.
9261 (method_name, file_name): fields removed.
9262 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9263 (~_Jv_name_finder): close new descriptors.
9264 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9265 (createStackTraceElement): new method.
9266 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9267
9268 2002-07-10 Tom Tromey <tromey@redhat.com>
9269
9270 * configure: Rebuilt.
9271 * configure.in: Use `test' after `&&'. From Chris Faylor.
9272
9273 2002-07-08 Mark Wielaard <mark@klomp.org>
9274
9275 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9276 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9277 java.sql.DatabaseMetaData.TestJdbc20
9278
9279 2002-07-05 Tony Kimball <alk@pobox.com>
9280
9281 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9282
9283 2002-07-04 Tom Tromey <tromey@redhat.com>
9284 Jeff Sturm <jsturm@one-point.com>
9285
9286 Fix for PR libgcj/7060:
9287 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9288 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9289 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9290 * java/lang/Class.java (getMethod): New Java implementation;
9291 complies with spec.
9292 (_getMethod): New native method.
9293
9294 2002-07-02 Tom Tromey <tromey@redhat.com>
9295 David Hovemeyer <daveho@cs.umd.edu>
9296
9297 * java/text/ChoiceFormat.java
9298 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9299 in check loop.
9300 * java/text/MessageFormat.java
9301 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9302 to MessageFormat.
9303
9304 2002-07-01 Tom Tromey <tromey@redhat.com>
9305
9306 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9307 StringTokenizer on null string. For PR libgcj/7180.
9308 From daveho@cs.umd.edu.
9309
9310 2002-06-24 Tom Tromey <tromey@redhat.com>
9311
9312 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9313 (IntegerClass): Likewise.
9314 * java/lang/natClass.cc (CloneableClass): Removed.
9315 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9316 ConstructorClass): Likewise.
9317 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9318 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9319 SerializableClass): Likewise.
9320 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9321 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9322 LongClass, FloatClass, DoubleClass): Likewise.
9323
9324 * verify.cc (branch_prepass): Updated for change to exception
9325 handler type.
9326 (verify_instructions_0): Likewise.
9327 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9328 (handleExceptionTableEntry): Updated for change to exception
9329 handler type.
9330 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9331 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9332 (union _Jv_InterpPC): New.
9333 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9334 (class _Jv_InterpMethod): Added new `prepared' field.
9335 (class _Jv_InterpMethod): Added `compile' method. Removed
9336 `continue1' and `find_exception'. Changed arguments to `run'.
9337 * interpret.cc (union insn_slot): New.
9338 (find_exception): Removed.
9339 (run_normal): Removed most logic.
9340 (run_synch_object): Likewise; also, use JvSynchronize.
9341 (run_synch_class): Likewise.
9342 (run): Removed.
9343 (continue1): Renamed as `run'. Compile bytecode if required.
9344 Add new code to allow refinement of direct-threaded code at
9345 runtime. Handle exceptions.
9346 (SAVE_PC): Removed.
9347 (compile): New method.
9348 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9349 (NULLARRAYCHECK): Don't use SAVE_PC.
9350 (pc_t): New typedef.
9351 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9352 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9353
9354 2002-06-23 Tom Tromey <tromey@redhat.com>
9355
9356 * configure: Rebuilt.
9357 * configure.in (INTERPRETER): New subst.
9358 (AM_RUNTESTFLAGS): Don't subst.
9359
9360 * Makefile.in: Rebuilt.
9361 * Makefile.am ($(srcdir)/java/lang/Object.h,
9362 $(srcdir)/java/lang/Class.h): Added dummy targets.
9363
9364 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9365
9366 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9367
9368 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9369 java/sql/Savepoint.java: New files.
9370 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9371 java/sql/Blob.java, java/sql/CallableStatement.java,
9372 java/sql/Clob.java, java/sql/Connection.java,
9373 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9374 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9375 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9376 java/sql/Ref.java, java/sql/ResultSet.java,
9377 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9378 java/sql/SQLException.java, java/sql/SQLInput.java,
9379 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9380 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9381 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9382 (JDK 1.4) specification.
9383 * javax/sql/ConnectionEvent.java,
9384 javax/sql/ConnectionEventListener.java,
9385 javax/sql/ConnectionPoolDataSource.java,
9386 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9387 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9388 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9389 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9390 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9391 javax/sql/XADataSource.java: New files.
9392 * Makefile.am: Add new files.
9393 * Makefile.in: Rebuilt.
9394
9395 2002-06-20 Tom Tromey <tromey@redhat.com>
9396
9397 For PR libgcj/7073:
9398 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9399 exists.
9400 * defineclass.cc (handleClassBegin): Superclass for interface is
9401 `null'.
9402
9403 2002-06-18 Tom Tromey <tromey@redhat.com>
9404
9405 * gcj/javaprims.h: Updated class declaration list.
9406 * Makefile.in: Rebuilt.
9407 * Makefile.am (core_java_source_files): Removed
9408 BasicMapEntry.java.
9409 * java/util/BasicMapEntry.java: Removed.
9410
9411 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9412
9413 * java/net/natPlainDatagramSocketImpl.cc (receive):
9414 Check bounds of argument to FD_SET.
9415 (setOption): Throw exception if socket is closed.
9416
9417 * java/net/natPlainSocketImpl.cc (accept, read):
9418 Check bounds of argument to FD_SET.
9419 (setOption): Throw exception if socket is closed.
9420
9421 2002-06-18 Tom Tromey <tromey@redhat.com>
9422
9423 * gcj/javaprims.h: Updated class declaration list.
9424 * Makefile.in: Rebuilt.
9425 * Makefile.am (core_java_source_files): Added
9426 PropertyPermissionCollection.java.
9427 * java/lang/Thread.java (group, name): Now package-private.
9428 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9429 * java/util/AbstractList.java: Likewise.
9430 * java/util/AbstractMap.java: Likewise.
9431 * java/util/Calendar.java: Likewise.
9432 * java/util/Collections.java: Likewise.
9433 * java/util/HashMap.java: Likewise.
9434 * java/util/Hashtable.java: Likewise.
9435 * java/util/LinkedHashMap.java: Likewise.
9436 * java/util/LinkedList.java: Likewise.
9437 * java/util/List.java: Likewise.
9438 * java/util/ListResourceBundle.java: Likewise.
9439 * java/util/Map.java: Likewise.
9440 * java/util/Observable.java: Likewise.
9441 * java/util/Properties.java: Likewise.
9442 * java/util/PropertyPermission.java: Likewise.
9443 * java/util/PropertyPermissionCollection.java: Likewise.
9444 * java/util/PropertyResourceBundle.java: Likewise.
9445 * java/util/Random.java: Likewise.
9446 * java/util/SimpleTimeZone.java: Likewise.
9447 * java/util/StringTokenizer.java: Likewise.
9448 * java/util/TimerTask.java: Likewise.
9449 * java/util/TreeMap.java: Likewise.
9450 * java/util/WeakHashMap.java: Likewise.
9451 * java/util/jar/Attributes.java: Likewise.
9452 * java/util/jar/JarException.java: Likewise.
9453 * java/util/jar/Manifest.java: Likewise.
9454
9455 2002-06-17 Tom Tromey <tromey@redhat.com>
9456
9457 * gcj/javaprims.h: Updated class declaration list.
9458 * Makefile.in: Rebuilt.
9459 * Makefile.am (core_java_source_files): Added new file.
9460 * java/util/EventListenerProxy.java: New file.
9461 * java/util/EventListener.java: Re-merge with Classpath.
9462 * java/util/EventObject.java: Re-merge with Classpath.
9463
9464 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9465
9466 * java/lang/ClassNotFoundException.java: New Classpath version.
9467
9468 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9469
9470 * java/rmi/activation/ActivateFailedException.java: Remerge from
9471 Classpath version.
9472 * java/rmi/activation/ActivationException.java: Ditto.
9473 * java/rmi/activation/UnknownGroupException.java: Ditto.
9474 * java/rmi/activation/UnknownObjectException.java: Ditto.
9475 * java/rmi/server/ExportException: Ditto.
9476 * java/rmi/server/ServerCloneException: Ditto.
9477 * java/rmi/server/ServerNotActiveException: Ditto.
9478 * java/rmi/server/SkeletonMismatchException: Ditto.
9479 * java/rmi/server/SkeletonNotFoundException: Ditto.
9480 * java/rmi/server/SocketSecurityException: Ditto.
9481
9482 2002-06-16 Tom Tromey <tromey@redhat.com>
9483
9484 * gcj/javaprims.h: Updated class declaration list.
9485
9486 * java/io/LineNumberInputStream.java: Merged with Classpath.
9487
9488 * java/lang/RuntimeException.java: Re-merge with Classpath.
9489 * java/util/ArrayList.java: Likewise.
9490 * java/util/Arrays.java: Likewise.
9491 * java/util/BitSet.java: Likewise.
9492 * java/util/Dictionary.java: Likewise.
9493 * java/util/IdentityHashMap.java: Likewise.
9494 * java/util/MissingResourceException.java: Likewise.
9495 * java/util/Observer.java: Likewise.
9496 * java/util/TooManyListenersException.java: Likewise.
9497 * java/util/zip/DataFormatException.java: Likewise.
9498 * java/util/zip/ZipException.java: Likewise.
9499
9500 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9501
9502 * java/rmi/AccessException.java: Remerge from Classpath.
9503 * java/rmi/AlreadyBoundException.java: Ditto.
9504 * java/rmi/ConnectException.java: Ditto.
9505 * java/rmi/ConnectIOException.java: Ditto.
9506 * java/rmi/MarshalException.java: Ditto.
9507 * java/rmi/NoSuchObjectException.java: Ditto.
9508 * java/rmi/NotBoundException.java: Ditto.
9509 * java/rmi/RemoteException.java: Ditto.
9510 * java/rmi/RMISecurityException.java: Ditto.
9511 * java/rmi/ServerError.java: Ditto.
9512 * java/rmi/ServerException.java: Ditto.
9513 * java/rmi/ServerRuntimeException.java: Ditto.
9514 * java/rmi/StubNotFoundException.java: Ditto.
9515 * java/rmi/UnexpectedExcpetion.java: Ditto.
9516 * java/rmi/UnknownHostException.java: Ditto.
9517 * java/rmi/UnmarshalException.java: Ditto.
9518
9519 2002-06-15 Tom Tromey <tromey@redhat.com>
9520
9521 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9522 * java/lang/ArithmeticException.java: Likewise.
9523 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9524 * java/lang/ArrayStoreException.java: Likewise.
9525 * java/lang/Byte.java: Likewise.
9526 * java/lang/CharSequence.java: Likewise.
9527 * java/lang/ClassCastException.java: Likewise.
9528 * java/lang/ClassCircularityError.java: Likewise.
9529 * java/lang/ClassFormatError.java: Likewise.
9530 * java/lang/CloneNotSupportedException.java: Likewise.
9531 * java/lang/Cloneable.java: Likewise.
9532 * java/lang/Comparable.java: Likewise.
9533 * java/lang/Compiler.java: Likewise.
9534 * java/lang/Error.java: Likewise.
9535 * java/lang/ExceptionInInitializerError.java: Likewise.
9536 * java/lang/IllegalAccessError.java: Likewise.
9537 * java/lang/IllegalAccessException.java: Likewise.
9538 * java/lang/IllegalArgumentException.java: Likewise.
9539 * java/lang/IllegalMonitorStateException.java: Likewise.
9540 * java/lang/IllegalStateException.java: Likewise.
9541 * java/lang/IllegalThreadStateException.java: Likewise.
9542 * java/lang/IncompatibleClassChangeError.java: Likewise.
9543 * java/lang/IndexOutOfBoundsException.java: Likewise.
9544 * java/lang/InheritableThreadLocal.java: Likewise.
9545 * java/lang/InstantiationError.java: Likewise.
9546 * java/lang/InstantiationException.java: Likewise.
9547 * java/lang/InternalError.java: Likewise.
9548 * java/lang/InterruptedException.java: Likewise.
9549 * java/lang/LinkageError.java: Likewise.
9550 * java/lang/NegativeArraySizeException.java: Likewise.
9551 * java/lang/NoClassDefFoundError.java: Likewise.
9552 * java/lang/NoSuchFieldError.java: Likewise.
9553 * java/lang/NoSuchFieldException.java: Likewise.
9554 * java/lang/NoSuchMethodError.java: Likewise.
9555 * java/lang/NoSuchMethodException.java: Likewise.
9556 * java/lang/NullPointerException.java: Likewise.
9557 * java/lang/NumberFormatException.java: Likewise.
9558 * java/lang/OutOfMemoryError.java: Likewise.
9559 * java/lang/Process.java: Likewise.
9560 * java/lang/Runnable.java: Likewise.
9561 * java/lang/RuntimePermission.java: Likewise.
9562 * java/lang/SecurityException.java: Likewise.
9563 * java/lang/Short.java: Likewise.
9564 * java/lang/StackOverflowError.java: Likewise.
9565 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9566 * java/lang/ThreadDeath.java: Likewise.
9567 * java/lang/ThreadLocal.java: Likewise.
9568 * java/lang/UnknownError.java: Likewise.
9569 * java/lang/UnsatisfiedLinkError.java: Likewise.
9570 * java/lang/UnsupportedClassVersionError.java: Likewise.
9571 * java/lang/UnsupportedOperationException.java: Likewise.
9572 * java/lang/VerifyError.java: Likewise.
9573 * java/lang/VirtualMachineError.java: Likewise.
9574 * java/lang/reflect/InvocationTargetException.java: Likewise.
9575 * java/net/BindException.java: Likewise.
9576 * java/net/ConnectException.java: Likewise.
9577 * java/net/MalformedURLException.java: Likewise.
9578 * java/net/NoRouteToHostException.java: Likewise.
9579 * java/net/ProtocolException.java: Likewise.
9580 * java/net/SocketException.java: Likewise.
9581 * java/net/UnknownHostException.java: Likewise.
9582 * java/net/UnknownServiceException.java: Likewise.
9583
9584 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9585 * java/io/CharConversionException.java: Likewise.
9586 * java/io/EOFException.java: Likewise.
9587 * java/io/FileNotFoundException.java: Likewise.
9588 * java/io/IOException.java: Likewise.
9589 * java/io/InterruptedIOException.java: Likewise.
9590 * java/io/InvalidClassException.java: Likewise.
9591 * java/io/InvalidObjectException.java: Likewise.
9592 * java/io/NotActiveException.java: Likewise.
9593 * java/io/NotSerializableException.java: Likewise.
9594 * java/io/ObjectStreamException.java: Likewise.
9595 * java/io/ObjectStreamConstants.java: Likewise.
9596 * java/io/OptionalDataException.java: Likewise.
9597 * java/io/PipedInputStream.java: Likewise.
9598 * java/io/PushbackInputStream.java: Likewise.
9599 * java/io/StreamCorruptedException.java: Likewise.
9600 * java/io/SyncFailedException.java: Likewise.
9601 * java/io/UTFDataFormatException.java: Likewise.
9602 * java/io/UnsupportedEncodingException.java: Likewise.
9603 * java/io/WriteAbortedException.java: Likewise.
9604
9605 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9606
9607 * java/text/ChoiceFormat.java: Update comments from Classpath.
9608 * java/text/ParseException.java (serialVersionUID): New
9609 field from Classpath.
9610 * java/text/ParseException.java: Update formatting & comments
9611 from Classpath.
9612
9613 2002-06-15 Tom Tromey <tromey@redhat.com>
9614
9615 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9616 been read but none output by inflater.
9617 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9618 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9619 is_finished.
9620 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9621 version.
9622 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9623 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9624 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9625 version.
9626 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9627
9628 2002-06-13 Tom Tromey <tromey@redhat.com>
9629
9630 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9631 true and OFFSET!=0.
9632 * java/lang/String.java (String(char[],int,int,boolean): New
9633 constructor.
9634 * java/lang/Long.java: Imported new version from Classpath.
9635 * java/lang/Number.java: Likewise.
9636 * java/lang/Integer.java: Likewise.
9637 * java/lang/Long.java: Likewise.
9638 * java/lang/Float.java: Likewise.
9639 * java/lang/Boolean.java: Likewise.
9640 * java/lang/Double.java: Likewise.
9641 * java/lang/Void.java: Likewise.
9642
9643 2002-06-12 Tom Tromey <tromey@redhat.com>
9644
9645 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9646 Fixes PR libgcj/6652.
9647
9648 2002-06-10 Tom Tromey <tromey@redhat.com>
9649
9650 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9651 (Class::getPackagePortion): Likewise.
9652 * java/lang/Class.java (desiredAssertionStatus): New method from
9653 Classpath.
9654 (getPackagePortion): Likewise.
9655 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9656 packageAssertionStatus, classAssertionStatus): New methods from
9657 Classpath.
9658 * java/lang/ClassLoader.java (defaultAssertionStatus,
9659 systemPackageAssertionStatus, packageAssertionStatus,
9660 systemClassAssertionStatus, classAssertionStatus): New fields from
9661 Classpath.
9662 (setDefaultAssertionStatus, setPackageAssertionStatus,
9663 setClassAssertionStatus, clearAssertionStatus): New methods from
9664 Classpath.
9665 * Makefile.in: Rebuilt.
9666 * Makefile.am (core_java_source_files): Added AssertionError.java.
9667 * java/lang/AssertionError.java: New from Classpath.
9668
9669 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9670
9671 * configure.host: Disable hash synchronization and slow_pthread_self
9672 for cygwin.
9673
9674 2002-06-06 Adam Megacz <adam@xwt.org>
9675
9676 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9677 locking, just like the Sun JVM does.
9678
9679 2002-06-05 H.J. Lu (hjl@gnu.org)
9680
9681 * Makefile.am (libgcj_convenience.la): Revert the last change.
9682 (libgcj.la): Likewise.
9683 * Makefile.in: Regenerated.
9684
9685 2002-06-04 H.J. Lu (hjl@gnu.org)
9686
9687 * Makefile.am (libgcj_convenience.la): New target.
9688 (libgcj.la): Depend on libgcj_convenience.la.
9689 * Makefile.in: Regenerated.
9690
9691 2002-06-04 H.J. Lu (hjl@gnu.org)
9692
9693 * configure.in (--with-newlib): New option:
9694 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9695 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9696 Linux.
9697 * configure: Regenerated.
9698
9699 2002-06-04 Tom Tromey <tromey@redhat.com>
9700
9701 * java/util/natTimeZone.cc: Include <stdio.h>.
9702
9703 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9704
9705 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9706 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9707 Set SIGNAL_HANDLER=include/s390-linux.h.
9708 * configure: Regenerate.
9709 * include/s390-linux.h: New file.
9710
9711 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9712
9713 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9714 not "stackTrace".
9715
9716 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9717
9718 Merge JDK 1.4 java.security changes from classpath.
9719
9720 * java/security/AccessControlException.java: Merge from Classpath.
9721 * java/security/AccessController.java: Likewise.
9722 * java/security/AllPermission.java: Likewise.
9723 * java/security/BasicPermission.java: Likewise.
9724 * java/security/Certificate.java: Likewise.
9725 * java/security/CodeSource.java: Likewise.
9726 * java/security/DigestException.java: Likewise.
9727 * java/security/DigestOutputStream.java: Likewise.
9728 * java/security/DomainCombiner.java: Likewise.
9729 * java/security/GeneralSecurityException.java: Likewise.
9730 * java/security/Guard.java: Likewise.
9731 * java/security/GuardedObject.java: Likewise.
9732 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9733 * java/security/InvalidKeyException.java: Likewise.
9734 * java/security/InvalidParameterException.java: Likewise.
9735 * java/security/Key.java: Likewise.
9736 * java/security/KeyException.java: Likewise.
9737 * java/security/KeyManagementException.java: Likewise.
9738 * java/security/KeyStoreException.java: Likewise.
9739 * java/security/MessageDigest.java: Likewise.
9740 * java/security/NoSuchAlgorithmException.java: Likewise.
9741 * java/security/NoSuchProviderException.java: Likewise.
9742 * java/security/Permission.java: Likewise.
9743 * java/security/PermissionCollection.java: Likewise.
9744 * java/security/Permissions.java: Likewise.
9745 * java/security/Policy.java: Likewise.
9746 * java/security/Principal.java: Likewise.
9747 * java/security/PrivateKey.java: Likewise.
9748 * java/security/PrivilegedAction.java: Likewise.
9749 * java/security/PrivilegedActionException.java: Likewise.
9750 * java/security/PrivilegedExceptionAction.java: Likewise.
9751 * java/security/ProtectionDomain.java: Likewise.
9752 * java/security/ProviderException.java: Likewise.
9753 * java/security/PublicKey.java: Likewise.
9754 * java/security/SecureClassLoader.java: Likewise.
9755 * java/security/SecurityPermission.java: Likewise.
9756 * java/security/SignatureException.java: Likewise.
9757 * java/security/UnrecoverableKeyException.java: Likewise.
9758 * java/security/UnresolvedPermission.java: Likewise.
9759 * java/security/acl/AclNotFoundException.java: Likewise.
9760 * java/security/acl/LastOwnerException.java: Likewise.
9761 * java/security/acl/NotOwnerException.java: Likewise.
9762 * java/security/cert/CRLException.java: Likewise.
9763 * java/security/cert/CertificateEncodingException.java: Likewise.
9764 * java/security/cert/CertificateException.java: Likewise.
9765 * java/security/cert/CertificateExpiredException.java: Likewise.
9766 * java/security/cert/CertificateFactory.java: Likewise.
9767 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9768 * java/security/cert/CertificateParsingException.java: Likewise.
9769 * java/security/spec/InvalidKeySpecException.java: Likewise.
9770 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9771
9772 * java/security/cert/CertPath.java: New file.
9773 * java/security/cert/CertPathBuilderException.java: New file.
9774 * java/security/cert/CertPathValidatorException.java: New file.
9775 * java/security/cert/CertStoreException.java: New file.
9776
9777 * Makefile.am: Add new CertPath classes.
9778 * Makefile.in: Rebuilt.
9779
9780 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9781
9782 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9783
9784 Merge JDK 1.4 exception chaining support from classpath.
9785
9786 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9787 (stackTraceBytes): Rename from stackTrace.
9788 * java/lang/Exception.java: Merge from classpath.
9789 * java/lang/StackTraceElement: New file from classpath.
9790 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9791 * Makefile.am: Add StackTraceElement.
9792 * Makefile.in: Rebuilt.
9793
9794 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9795
9796 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9797 they build first.
9798 * Makefile.in: Rebuilt.
9799
9800 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9801
9802 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9803 * configure.in: Likewise.
9804 * aclocal.m4: Regenerate.
9805 * configure: Regenerate.
9806
9807 2002-05-13 Tom Tromey <tromey@redhat.com>
9808
9809 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9810 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9811 Include platform.h.
9812
9813 Fixes PR libgcj/6389:
9814 * Makefile.in: Rebuilt.
9815 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9816 * java/util/natTimeZone.cc: New file.
9817 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9818 * java/lang/System.java: Merged with Classpath.
9819 * java/lang/Runtime.java: Merged with Classpath.
9820 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9821 security check.
9822 (setIn0): Renamed from setIn; don't run security check.
9823 (setOut0): Renamed from setOut; don't run security check.
9824 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9825 init_properties): Moved to natRuntime.cc.
9826 Moved many includes to natRuntime.cc.
9827 (isWordsBigEndian): New method.
9828 * java/lang/natRuntime.cc: Include Long.h, also other includes
9829 previously in natSystem.cc.
9830 (maxMemory): New function.
9831 (exitInternal): Renamed from `_exit'.
9832 (exit): Removed.
9833 (init): Don't set finalize_on_exit.
9834 (exitInternal): Use `finalizeOnExit'.
9835 (file_encoding, getpwuid_adaptor): New functions from
9836 natSystem.cc.
9837 (insertSystemProperties): New method, renamed from
9838 System::init_properties. Don't set user.timezone.
9839 (_load): Don't call checkLink.
9840 (execInternal): New method.
9841 (availableProcessors): Likewise.
9842 (nativeGetLibname): Likewise.
9843
9844 2002-05-11 Mark Wielaard <mark@klomp.org>
9845
9846 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9847 space characters.
9848 (previous_internal): Likewise.
9849
9850 2002-05-09 Tom Tromey <tromey@redhat.com>
9851
9852 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9853
9854 * java/util/ResourceBundle.java: New version from Classpath.
9855 * java/util/Locale.java: Likewise.
9856
9857 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9858
9859 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9860 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9861 LD_LIBRARY_PATH.
9862
9863 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9864
9865 * libjava/Makefile.am (all_java_source_files): New variable.
9866 (all_java_class_files): Likewise.
9867 .java.class: New rule.
9868 (CLEANFILES): Remove tmp-list.
9869 * libjava/Makefile.in: Regenerated.
9870
9871 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9872
9873 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9874 Append .exe to executable names. Fix for cygwin.
9875
9876 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9877
9878 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9879 script entry, and set LD to it when configuring multilibs.
9880 * configure: Rebuilt.
9881
9882 2002-05-07 Tom Tromey <tromey@redhat.com>
9883
9884 * java/lang/natString.cc (unintern): Fixed typo.
9885
9886 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9887
9888 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9889 with -no-install on *-*-cygwin*.
9890
9891 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9892
9893 * testsuite/lib/libjava.exp (test_libjava_from_source):
9894 Add comment explaining last patch
9895
9896 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9897
9898 * testsuite/lib/libjava.exp (test_libjava_from_source):
9899 Append .exe to executable names. If no suffix is present,
9900 then ".exe" is added by default on win32. Harmless
9901 elsewhere so always do it.
9902
9903 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9904 Tom Tromey <tromey@redhat.com>
9905
9906 * java/lang/natSystem.cc (getSystemTimeZone): Use
9907 HAVE_UNDERSCORE_TIMEZONE.
9908 * include/config.h.in: Rebuilt.
9909 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9910 * aclocal.m4, configure: Rebuilt.
9911 * acinclude.m4: Run AC_EXEEXT.
9912 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9913 Add test for `_timezone'.
9914
9915 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9916
9917 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9918 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9919 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9920 * Makefile.in: Rebuilt.
9921
9922 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9923
9924 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9925 use sigaction instead of __libc_sigaction.
9926
9927 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9928
9929 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9930 (libjava_init): Use it to find libgcj.spec.
9931 (libjava_arguments): Likewise.
9932
9933 2002-05-02 David S. Miller <davem@redhat.com>
9934
9935 PR bootstrap/6525
9936 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9937 __libc_sigaction on Sparc.
9938
9939 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9940
9941 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9942 sys/filio.h, if present.
9943
9944 2002-04-30 Tom Tromey <tromey@redhat.com>
9945
9946 * java/io/BufferedReader.java (fill): Handle case where markPos
9947 point to ignored \n. Fixes PR libgcj/6301.
9948
9949 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9950
9951 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9952
9953 2002-04-29 Adam King <aking@dreammechanics.com>
9954
9955 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9956 of file in APPEND mode.
9957
9958 2002-04-25 David S. Miller <davem@redhat.com>
9959
9960 PR target/6422
9961 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9962 program counter to next program counter minus 8. Update
9963 comments in this macro to explain why.
9964
9965 2002-04-26 Tom Tromey <tromey@redhat.com>
9966
9967 * verify.cc (construct_primitive_array_type) [void_type]: New
9968 case.
9969 (branch_prepass): Added dummy entries for unused instruction
9970 values.
9971 (verify_instructions_0): Likewise.
9972 * interpret.cc (continue1): Comment fix.
9973 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9974 * Makefile.in: Rebuilt.
9975 * Makefile.am: Added -Wswitch-enum.
9976
9977 2002-04-24 Tom Tromey <tromey@redhat.com>
9978
9979 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9980 correct length of UTF-8 encoded name. Strip leading `/'.
9981 (_Jv_RegisterResource): Use _Jv_Malloc.
9982
9983 2002-04-23 Adam Megacz <adam@xwt.org>
9984
9985 * win32.cc, include/win32.cc (backtrace): Added this function
9986 because Win32 does not supply it.
9987
9988 2002-04-21 David S. Miller <davem@redhat.com>
9989
9990 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9991 magic instruction reading sequence.
9992
9993 2002-04-21 Mark Wielaard <mark@klomp.org>
9994
9995 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9996
9997 2002-04-19 David S. Miller <davem@redhat.com>
9998
9999 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10000 arg.
10001 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10002 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10003 on Sparc too.
10004 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10005 for 64-bit sparc.
10006 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10007 * sysdeps/sparc/locks.h: New file.
10008 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10009 on all sparc Solaris configurations. Set to
10010 include/dwarf2-signal.h on sparc Linux.
10011 * configure: Regenerate
10012 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10013
10014 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10015
10016 * configure: Rebuilt.
10017 * configure.in (backtrace): Function doesn't work on IA-64.
10018
10019 2002-04-17 Adam King <aking@dreammechanics.com>
10020
10021 * java/io/File.java (normalizePath): Add Win32 support for auto
10022 conversion of a '/' path separator to Win32's '\' separator.
10023
10024 2002-04-16 Tom Tromey <tromey@redhat.com>
10025
10026 Fix for PR libgcj/6081:
10027 * Makefile.in: Rebuilt.
10028 * Makefile.am (install-data-local): Use GNU make trick to avoid
10029 shell limit.
10030
10031 2002-04-16 Adam King <aking@dreammechanics.com>
10032 Tom Tromey <tromey@redhat.com>
10033
10034 * java/io/natFileWin32.cc (performList): Return the correct array
10035 type. Don't duplicate the creation of a File since it's already
10036 done earlier in the method and the existing code would cause a
10037 ArrayStoreException. Don't use fixed-size array.
10038 (_access, _stat, attr, getCanonicalPath, performMkdir,
10039 performRenameTo): Don't use fixed-size array.
10040 (getCanonicalPath): Use throw, not _Jv_Throw.
10041
10042 2002-04-15 DJ Delorie <dj@redhat.com>
10043
10044 * configure.in: Allow building in $srcdir.
10045 * configure: Regenerated.
10046
10047 2002-04-14 Mark Wielaard <mark@klomp.org>
10048
10049 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10050 * java/net/natSocketImpl.cc (close): Likewise.
10051
10052 2002-04-14 Mark Wielaard <mark@klomp.org>
10053
10054 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10055
10056 2002-04-13 Adam King <aking@dreammechanics.com>
10057
10058 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10059 the f/F/d/D modifiers.
10060
10061 2002-04-12 Anthony Green <green@redhat.com>
10062
10063 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10064 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10065 * Makefile.in: Rebuilt.
10066 * configure.in: Substitute gcc_version.
10067 * configure: Rebuilt.
10068
10069 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10070
10071 * configure.host: Set can_unwind_signal on hosts which support it.
10072 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10073 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10074 exceptions and can_unwind_signal isn't set.
10075 * configure: Rebuilt.
10076
10077 2002-04-11 Tom Tromey <tromey@redhat.com>
10078
10079 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10080
10081 2002-04-11 Adam King <aking@dreammechanics.com>
10082 Tom Tromey <tromey@redhat.com>
10083
10084 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10085 _Jv_ThrowNullPointerException): Mark as noreturn.
10086 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10087 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10088 fixes.
10089
10090 2002-04-10 Tom Tromey <tromey@redhat.com>
10091
10092 * Makefile.in: Rebuilt.
10093 * Makefile.am (java/lang/Thread.h): Mark
10094 _Jv_AttachCurrentThreadAsDaemon as friend.
10095 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10096 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10097 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10098 function.
10099 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10100 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10101 (_Jv_JNI_InvokeFunctions): Added
10102 _Jv_JNI_AttachCurrentThreadAsDaemon.
10103 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10104 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10105 (JNI_CreateJavaVM): Likewise.
10106 (_Jv_JNI_AttachCurrentThread): Likewise.
10107 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10108 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10109 (_Jv_JNIFunctions): Initialize new fields.
10110 (_Jv_JNI_NewDirectByteBuffer): New function.
10111 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10112 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10113 * include/jni.h (JNI_VERSION_1_4): New macro.
10114 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10115 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10116 (JNINativeInterface::NewDirectByteBuffer): New field.
10117 (JNINativeInterface::GetDirectBufferAddress): New field.
10118 (JNINativeInterface::GetDirectBufferCapacity): New field.
10119 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10120 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10121 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10122
10123 2002-04-09 Tom Tromey <tromey@redhat.com>
10124
10125 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10126
10127 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10128
10129 Fix for PR libgcj/6187:
10130 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10131 distance.
10132
10133 2002-04-07 Mark Wielaard <mark@klomp.org>
10134
10135 * java/util/AbstractMap.java (putAll): Use entrySet size.
10136 (toString): Explicitly use getKey() and getValue().
10137
10138 2002-04-07 Mark Wielaard <mark@klomp.org>
10139
10140 * java/util/Hashtable.java (contains): Remove NullPointer check.
10141 (containsValue): Add NullPointer check.
10142 (remove): Always throw NullPointerException when key
10143 is null.
10144
10145 2002-04-07 Adam King <aking@dreammechanics.com>
10146
10147 * java/lang/natSystem.cc (init_properties): Call new function
10148 _Jv_platform_initProperties.
10149 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10150 support for the System properties os.name, os.arch, os.version,
10151 user.name, user.home, and user.dir.
10152 * include/posix.h, include/win32.h, posix.cc: New function
10153 _Jv_platform_initProperties.
10154
10155 2002-04-06 Mark Wielaard <mark@klomp.org>
10156
10157 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10158
10159 2002-04-06 Mark Wielaard <mark@klomp.org>
10160
10161 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10162 all of the remaining elements.
10163 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10164 (removeRange): If toIndex == fromIndex do
10165 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10166 (removeAll): Always throw NullPointerException when collection is
10167 null.
10168 (retrainAll): Likewise.
10169
10170 2002-04-05 Mark Wielaard <mark@klomp.org>
10171
10172 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10173 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10174
10175 2002-04-05 Adam Megacz <adam@xwt.org>
10176
10177 * exception.cc (abort): added static modifier
10178
10179 2002-04-04 Adam Megacz <adam@xwt.org>
10180
10181 * include/win32.h (_Jv_platform_close_on_exec): added inline
10182 modifier.
10183
10184 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10185
10186 * configure.host: Add case statement to support generic port
10187 properties. Add *-*-freebsd* section.
10188
10189 2002-04-04 Mark Wielaard <mark@klomp.org>
10190
10191 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10192 test.
10193 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10194 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10195 that depend on awt code and BufferedByteOutputStream.interrupt.
10196
10197 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10198
10199 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10200 incorrect "hi" value when count > 40.
10201
10202 2002-04-03 Mark Wielaard <mark@klomp.org>
10203
10204 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10205 ordering.
10206
10207 2002-04-02 Tom Tromey <tromey@redhat.com>
10208
10209 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10210 not `0'.
10211
10212 2002-04-02 Mark Wielaard <mark@klomp.org>
10213
10214 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10215 list of testsuite crashers.
10216
10217 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10218
10219 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10220 when resizing table.
10221
10222 2002-04-01 Mark Wielaard <mark@klomp.org>
10223
10224 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10225 NegativeArraySizeException
10226 (clear(int)): Use sign extended shift.
10227 (flip(int)): Likewise.
10228 (get(int)): Likewise.
10229 (nextClearBit(int)): Likewise.
10230 (nextSetBit(int)): Likewise.
10231 (set(int)): Likewise.
10232
10233 2002-04-01 Mark Wielaard <mark@klomp.org>
10234
10235 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10236 that can be compiled now and add testsuite crashers to ignore list.
10237
10238 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10239
10240 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10241
10242 * libgcj.spec.in: Override libgcc, not lib.
10243 * libgcj-test.spec.in: Likewise.
10244
10245 2002-03-29 Tom Tromey <tromey@redhat.com>
10246
10247 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10248 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10249
10250 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10251
10252 * java/net/PlainDatagramSocketImpl.java
10253 (close): Use native implementation.
10254 (finalize): New method.
10255
10256 * java/net/PlainSocketImpl.java (finalize): New method.
10257
10258 * java/net/natPlainDatagramSocketImpl.cc
10259 (java/io/FileDescriptor.h): Don't include.
10260 (close): Implement method here.
10261 (create): Don't assign fd.
10262
10263 * java/net/natPlainSocketImpl.cc
10264 (java/io/FileDescriptor.h): Don't include.
10265 (create): Don't assign fd.
10266 (accept): Likewise.
10267 (close): Synchronize.
10268
10269 2002-03-27 Richard Henderson <rth@redhat.com>
10270
10271 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10272
10273 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10274
10275 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10276 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10277 instead of syscall on IA-64.
10278 Add FIXME comment.
10279
10280 2002-03-27 Anthony Green <green@redhat.com>
10281
10282 * libgcj.spec.in: Add CHECKREFSPEC.
10283 * configure.in: Ditto.
10284 * configure.host: Ditto. Check references for xscale-elf.
10285 * configure: Rebuilt.
10286
10287 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10288
10289 * include/dwarf2-signal.h: Temporarily back out last change.
10290
10291 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10292
10293 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10294
10295 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10296
10297 * configure.in, configure: enable dwarf2-exception-style
10298 exception handling on IA-64.
10299 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10300 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10301 Add FIXME comment.
10302
10303 2002-03-25 Tom Tromey <tromey@redhat.com>
10304
10305 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10306 (jv_convert_LDFLAGS): Likewise.
10307 (gij_LDFLAGS): Likewise.
10308 (rmic_LDFLAGS): Likewise.
10309 (rmiregistry_LDFLAGS): Likewise.
10310 * configure.in (THREADLDFLAGS): New subst; set correctly for
10311 *BSD.
10312
10313 2002-03-25 Tom Tromey <tromey@redhat.com>
10314
10315 For PR libgcj/5303:
10316 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10317 and --version.
10318 (help): New method.
10319 (version): Likewise.
10320 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10321 "GNU".
10322 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10323 "GNU".
10324
10325 2002-03-25 Tom Tromey <tromey@redhat.com>
10326
10327 * java/awt/Component.java (processEvent): Check ComponentEvent
10328 after KeyEvent.
10329
10330 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10331
10332 * java/io/PushbackReader.java: Reformat.
10333
10334 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10335 calculate correct number of bytes skipped.
10336
10337 Based on patch from Intel's ORP team:
10338 * java/io/PushbackInputStream.java (available): Calculate correct
10339 number of bytes in buffer.
10340 (read): Remove redundant bound check. Return bytes from both the
10341 buffer and the stream.
10342
10343 2002-03-24 Tom Tromey <tromey@redhat.com>
10344
10345 * java/awt/TextComponent.java (TextComponent): Editable by
10346 default.
10347
10348 * java/awt/MenuItem.java (eventMask): No longer private.
10349 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10350 superclass if we didn't handle event.
10351 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10352 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10353 * java/awt/Choice.java (dispatchEventImpl): New method.
10354 * java/awt/List.java (dispatchEventImpl): New method.
10355 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10356 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10357 * java/awt/TextField.java (dispatchEventImpl): New method.
10358
10359 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10360
10361 * java/beans/IntrospectionException.java: Update to 1.4.
10362 * java/beans/PropertyVetoException.java: Ditto.
10363
10364 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10365
10366 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10367 Arrays.equals instead of ArrayHelper.equalsArray.
10368
10369 2002-03-24 C. Brian Jones <cbj@gnu.org>
10370
10371 * java/beans/Introspector.java: added new static final fields
10372 introduced in 1.2, lots of other updates remain to be done
10373
10374 2002-03-24 C. Brian Jones <cbj@gnu.org>
10375
10376 * java/beans/Introspector.java: reformatting
10377
10378 2002-03-24 C. Brian Jones <cbj@gnu.org>
10379
10380 * java/beans/Introspector.java: default beanInfoSearchPath will
10381 not include sun.beans.infos given we provide no such package and
10382 the API doesn't really require it; gnu.java.beans.info is the
10383 default.
10384
10385 2002-03-24 Mark Wielaard <mark@klomp.org>
10386
10387 Thanks to Orp developers
10388 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10389 switch TRUE and FALSE return values.
10390
10391 2002-03-23 Tom Tromey <tromey@redhat.com>
10392
10393 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10394 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10395
10396 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10397
10398 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10399 MONTH entry. Fixes PR libgcj/6045.
10400
10401 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10402
10403 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10404
10405 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10406
10407 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10408 not release_set.
10409 * sysdep/powerpc/locks.h (write_barrier): New function.
10410 * sysdep/i386/locks.h (write_barrier): New function.
10411
10412 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10413
10414 * include/jni.h Use correct C comments.
10415
10416 2002-03-18 Tom Tromey <tromey@redhat.com>
10417
10418 * include/jni.h (JNIIMPORT): New macro.
10419 (JNIEXPORT): Likewise.
10420 (JNICALL): Likewise.
10421
10422 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10423
10424 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10425 systems.
10426
10427 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10428
10429 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10430 INIT_SEGV: Use old_i386_kernel_sigaction.
10431 INIT_FP: Likewise.
10432
10433 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10434
10435 * java/lang/natSystem.cc (init_properties): Update VM version
10436 properties.
10437 * configure.in: Set GCJVERSION.
10438 * acconfig.h: Add GCJVERSION.
10439 * configure: Rebuilt.
10440 * include/config.h.in: Rebuilt.
10441
10442 2002-03-17 Anthony Green <green@redhat.com>
10443
10444 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10445
10446 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10447
10448 Build a single libgcj.so, without separate gc and zlib libraries.
10449 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10450 SYS_ZLIBS if system zlib is used.
10451 * configure: Rebuilt.
10452 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10453 * Makefile.in: Rebuilt.
10454 * libtool-version: Increment .so version number.
10455
10456 * Makefile.am: Escape quotes in echo.
10457 * Makefile.in: Rebuilt.
10458
10459 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10460
10461 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10462 * Makefile.in: Rebuilt.
10463
10464 2002-03-15 Anthony Green <green@redhat.com>
10465
10466 * configure.host (FILE): New macro for specifing File
10467 implementation.
10468 * configure: Rebuilt.
10469 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10470
10471 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10472
10473 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10474 already implicitly brought in from libgcj.la.
10475 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10476 * Makefile.in: Rebuilt.
10477
10478 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10479
10480 * THANKS: Fix punctuation, alphabetization.
10481
10482 2002-03-15 Tom Tromey <tromey@redhat.com>
10483 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10484
10485 Fix for PR libgcj/5944.
10486 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10487
10488 2002-03-15 Anthony Green <green@redhat.com>
10489
10490 * configure.in (tool_include_dir): Define.
10491 * configure: Rebuilt.
10492 * gcj/Makefile.am: Install libgcj-config.h relative to
10493 tool_include_dir.
10494 * gcj/Makefile: Rebuilt.
10495 * gcj/libgcj-config.h: Add warning comment.
10496
10497 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10498
10499 * configure.host (powerpc*-darwin*): Enable interpreter.
10500
10501 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10502
10503 * include/posix.h: Add multiple include header protection.
10504 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10505
10506 2002-03-10 Adam Megacz <adam@xwt.org>
10507
10508 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10509
10510 2002-03-10 Tom Tromey <tromey@redhat.com>
10511
10512 * java/awt/GridLayout.java (layoutContainer): Handle case where
10513 there are no items in container.
10514
10515 * java/lang/Win32Process.java: Added comment.
10516 * include/posix.h (_Jv_platform_close_on_exec): New function.
10517 Include fcntl.h.
10518 * include/win32.h (_Jv_platform_close_on_exec): New function.
10519 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10520 flag.
10521 (accept): Likewise.
10522 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10523 close-on-exec flag.
10524 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10525 flag.
10526
10527 2002-03-09 Tom Tromey <tromey@redhat.com>
10528
10529 * verify.cc (state::NO_STACK): New constant.
10530 (state::is_unmerged_ret_state): Handle case where stacktop is
10531 NO_STACK.
10532 (state::merge): Handle NO_STACK merges.
10533 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10534 for instruction following jsr.
10535 (stacktop, stackdepth): Removed unused variables.
10536 (pop_jump): Ignore case where all remaining states are skipped.
10537
10538 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10539
10540 * java/awt/ImageMediaEntry: Removed.
10541 * java/awt/MediaEntry: Removed.
10542
10543 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10544
10545 Hashtable synchronization for PowerPC.
10546 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10547 slow_pthread_self. Set up symlink for sysdeps directory.
10548 * configure: Rebuild.
10549 * configure.host: Document more shell variables. Set sysdeps_dir
10550 for most platforms. Set slow_pthread_self for i686. Set
10551 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10552 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10553 that memory barrier is emitted where required.
10554 * prims.cc: 64-bit align static primitive class instances.
10555 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10556 read_barrier() to enforce ordering of reads.
10557 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10558 primitives for PowerPC.
10559 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10560 moved from natObject.cc.
10561 * sysdep/alpha/locks.h: Likewise.
10562 * sysdep/ia64/locks.h: Likewise.
10563 * sysdep/generic/locks.h: Likewise.
10564 * java/lang/natObject.cc: Move thread synchronization primitives to
10565 system-dependent headers.
10566
10567 2002-03-09 Adam Megacz <adam@xwt.org>
10568
10569 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10570 bytes read and no failure code returned.
10571
10572 2002-03-09 Adam Megacz <adam@xwt.org>
10573
10574 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10575 definitions to simulate -mthreads.
10576
10577 2002-03-09 Adam Megacz <adam@xwt.org>
10578
10579 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10580 avoid precision loss.
10581
10582 2002-03-09 Per Bothner <per@bothner.com>
10583
10584 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10585 * gnu/gcj/xlib/XImage.java: Likewise.
10586 * gnu/gcj/xlib/XColor.java: Likewise.
10587
10588 2002-03-09 Adam Megacz <adam@xwt.org>
10589
10590 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10591 IOException so that Throwable.printStackTrace fails correctly.
10592
10593 2002-03-08 Adam Megacz <adam@xwt.org>
10594
10595 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10596 fixed.
10597
10598 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10599
10600 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10601 truncated to int.
10602
10603 2002-03-08 Tom Tromey <tromey@redhat.com>
10604
10605 * include/jni.h: Include stdio.h.
10606
10607 2002-03-08 Tom Tromey <tromey@redhat.com>
10608
10609 * posix.cc (internal_gettimeofday): New function.
10610 (_Jv_select): Use it.
10611
10612 2002-03-07 Adam Megacz <adam@xwt.org>
10613
10614 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10615 WIN32, and added thunks for read(), write(), and close().
10616 * java/net/natPlainSocketImpl.cc (accept, read, read):
10617 Disabled timeouts on WIN32 pending discussion.
10618
10619 2002-03-07 Adam Megacz <adam@xwt.org>
10620
10621 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10622 returns jlong. Added implementation
10623 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10624 returns jlong.
10625 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10626 returns jlong.
10627 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10628 returns jlong.
10629 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10630 _Jv_platform_gettimeofday signature.
10631
10632 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10633
10634 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10635 (read): Call recv() directly, not _Jv_recv().
10636
10637 2002-03-06 Tom Tromey <tromey@redhat.com>
10638
10639 * java/io/natFileDescriptorEcos.cc (init): Don't use
10640 GetStdHandle.
10641 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10642 is negative.
10643 (init): Don't use GetStdHandle.
10644
10645 * include/config.h.in: Rebuilt.
10646 * configure: Rebuilt.
10647 * Makefile.in: Rebuilt.
10648
10649 2002-03-06 Adam Megacz <adam@xwt.org>
10650
10651 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10652 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10653 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10654 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10655
10656 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10657
10658 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10659 the code for generating include/java-chartables.h.
10660 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10661 merge with Classpath.
10662 * scripts/unicode-muncher.pl: Copy from Classpath.
10663 * scritps/MakeCharTables.java: New file.
10664 * gnu/gcj/convert/Blocks-3.txt: New file.
10665 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10666 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10667 * gnu/java/lang/CharData.java: Copy from Classpath.
10668 * Makefile.am (ordinary_java_source_files): Add
10669 gnu/java/lang/CharData.java.
10670 * configure.in: Remove --enable-fast-character option.
10671 * java/lang/Character.java: Merge algorithms and Javadoc with
10672 Classpath.
10673 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10674 efficiently.
10675 * include/java-chardecomp.h: Regenerate.
10676 * include/java-chartables.h: Regenerate.
10677
10678 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10679
10680 * java/awt/MediaTracker.java: Implemented.
10681 * Makefile.am: Add MediaTracker.
10682 * Makefile.in: Rebuilt.
10683
10684 2002-03-05 Tom Tromey <tromey@redhat.com>
10685
10686 * java/lang/natPosixProcess.cc (fail): Removed.
10687 (startProcess): Simplified error-handling. Preserve
10688 LD_LIBRARY_PATH across exec.
10689
10690 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10691 AbstractMethodError.
10692
10693 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10694
10695 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10696 * Makefile.in: Rebuilt.
10697
10698 2002-03-03 Mark Wielaard <mark@klomp.org>
10699
10700 * java/util/Timer (TaskQueue.stop): set elements to zero.
10701
10702 2002-02-28 Anthony Green <green@redhat.com>
10703
10704 * java/lang/reflect/natMethod.cc (result): Add void* element.
10705 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10706 constructor test.
10707
10708 2002-02-27 Adam Megacz <adam@xwt.org>
10709
10710 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10711 '#undef STRICT'.
10712
10713 2002-02-26 Tom Tromey <tromey@redhat.com>
10714
10715 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10716 * gij.cc (version): Use __VERSION__.
10717 * include/config.h.in: Rebuilt.
10718 * acconfig.h (GCJVERSION): Removed.
10719 * configure: Rebuilt.
10720 * configure.in (GCJVERSION): Removed.
10721
10722 2002-02-26 Andreas Schwab <schwab@suse.de>
10723
10724 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10725 glibcpp_CXX, since libjava uses even another CXX.
10726 * aclocal.m4, configure: Regenerated.
10727
10728 2002-02-26 Tom Tromey <tromey@redhat.com>
10729
10730 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10731 `1'.
10732
10733 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10734
10735 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10736 dependency tracking for .java files.
10737 * Makefile.in: Rebuilt.
10738
10739 2002-02-24 Adam Megacz <adam@xwt.org>
10740
10741 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10742 typo. Sorry.
10743
10744 2002-02-24 Adam Megacz <adam@xwt.org>
10745
10746 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10747 for Win32, changed #ifdefs to check WIN32 instead of the
10748 (now-obsolete) USE_WINSOCK, and removed support for socket
10749 timeouts on Win32 pending further discussion.
10750
10751 2002-02-24 Adam Megacz <adam@xwt.org>
10752
10753 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10754 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10755 delete
10756
10757 2002-02-24 Adam Megacz <adam@xwt.org>
10758
10759 * java/lang/Win32Process.java: Created a dummy class to allow
10760 build process to run to completion.
10761
10762 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10763
10764 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10765 Define ffi_result union for ffi_call result. Cast
10766 ffi_result members to jvalue.
10767
10768 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10769
10770 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10771 * testsuite/Makefile.in: Likewise.
10772
10773 2002-02-20 Per Bothner <per@bothner.com>
10774
10775 * java/net/URL.java (getPath): New JDK 1.3 method.
10776
10777 * java/net/URLStreamHandler.java (parseURL):
10778 It is wrong to prepend '/' to the file part of a relative url.
10779
10780 * java/net/URLStreamHandler.java (parseURL):
10781 Minor optizations - append '/' rather than "/".
10782
10783 * java/net/URLStreamHandler.java (parseURL):
10784 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10785 We probably should canonicalize for a context-relative url, though.
10786 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10787 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10788 (sameFile): New method. Uses canonicalizeFilename.
10789
10790 2002-02-22 Tom Tromey <tromey@redhat.com>
10791
10792 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10793 java.vendor and java.vm.vendor.
10794 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10795 recent copyright date.
10796 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10797 * gij.cc (version): Print `Inc'.
10798
10799 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10800
10801 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10802 * aclocal.m4, configure: Rebuilt.
10803
10804 2002-02-20 Per Bothner <per@bothner.com>
10805
10806 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10807 and/or output streams immediately here, instead of using File.exists.
10808 (inputStream, outputStream): New fields to save open streams.
10809 (getInputStream, getOutputStream): Use already-opened streams.
10810
10811 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10812
10813 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10814 Use it.
10815 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10816 * aclocal.m4, configure, Makefile.in: Rebuilt.
10817
10818 2002-02-19 Tom Tromey <tromey@redhat.com>
10819
10820 Fix for PR libgcj/5696:
10821 * verify.cc (is_assignable_from_slow): Never call
10822 _Jv_IsAssignableFrom.
10823 (verify_instructions_0): Added new debug statement.
10824 (state::print): Print information about whether local has
10825 changed.
10826 (state::merge): Don't call note_variable when merging locals.
10827 (state::set_exception): Removed old FIXME comment.
10828
10829 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10830
10831 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10832 enable SO_BROADCAST.
10833
10834 2002-02-18 Jason Merrill <jason@redhat.com>
10835
10836 * name-finder.cc (toHex): Use word mode, not long long.
10837
10838 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10839
10840 2002-02-15 Tom Tromey <tromey@redhat.com>
10841
10842 Fix for PR libgcj/5695:
10843 * verify.cc (is_assignable_from_slow): Check to see if target is
10844 an Object before checking to see if source is an interface.
10845 (verify_instructions_0) [op_invokeinterface]: Handle case where
10846 we're making an interface call on Object.
10847
10848 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10849
10850 * Makefile.in: Rebuilt with Eric's change below.
10851
10852 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10853 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10854 Removed functions which are now implemented in Math.java.
10855
10856 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10857
10858 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10859 * Makefile.am (core_java_source_files): Add
10860 java/lang/StrictMath.java.
10861 * java/lang/Math.java: Merge with Classpath.
10862 * java/lang/StrictMath.java: New file - merge with Classpath.
10863
10864 2002-02-14 Mark Wielaard <mark@klomp.org>
10865
10866 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10867 package as a workaround for gcj 3.0.x
10868
10869 2002-02-14 Mark Wielaard <mark@klomp.org>
10870
10871 * java/security/BasicPermission.java: extends with fully qualified
10872 classname as workaround for gcj 3.0.4.
10873
10874 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10875
10876 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10877 around gcj bug of wrong emitted qualifier for inherited method.
10878 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10879 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10880 constructor to reduce amount of emitted bytecode. While this
10881 happens to work around a jikes 1.15 bug, it is still a useful
10882 patch even for correct compilers.
10883 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10884 * gnu/java/rmi/server/UnicastRemoteCall.java
10885 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10886
10887 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10888
10889 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10890 * java/net/SocketImpl.java: Ditto.
10891 * java/rmi/server/RMIClassLoader.java: Ditto.
10892 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10893
10894 2002-02-14 Mark Wielaard <mark@klomp.org>
10895
10896 Thanks to Takashi Okamoto
10897 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10898 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10899 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10900
10901 2002-02-13 Todd Stock <toddastock@yahoo.com>
10902
10903 Fix for PR libgcj/5670:
10904 * verify.cc (is_assignable_from_slow): If `source' is interface,
10905 recursively look for merge with `target'.
10906
10907 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10908
10909 * include/jni.h: Fix typo.
10910
10911 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10912
10913 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10914 correctly.
10915
10916 2002-02-13 Todd Stock <toddastock@yahoo.com>
10917
10918 Fix for PR libgcj/5671:
10919 * verify.cc (state::merge): Handle case where we're merging
10920 against an interface.
10921
10922 2002-02-12 Tom Tromey <tromey@redhat.com>
10923
10924 * exception.cc (std::abort): Mark as noreturn.
10925
10926 2002-02-12 Adam Megacz <adam@xwt.org>
10927
10928 * java/lang/Win32Process.java: Filled in a placeholder
10929 implementation so Win32 will build.
10930
10931 2002-02-12 Adam Megacz <adam@xwt.org>
10932
10933 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10934 * java/io/natFile.cc: Removed from repository.
10935 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10936
10937 2002-02-12 Adam Megacz <adam@xwt.org>
10938
10939 * win32.cc: Added two #includes to make win32.cc compile.
10940
10941 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10942
10943 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10944 declarations.
10945 (_Jv_InitGC): Don't bother locking, as this is always called from a
10946 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10947
10948 2002-02-11 Adam Megacz <adam@xwt.org>
10949
10950 * include/win32.h: Added _Jv_platform_gettimeofday.
10951 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10952
10953 2002-02-11 Adam Megacz <adam@xwt.org>
10954
10955 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10956 Added #undef STRICT to make windows.h and
10957 java/lang/reflect/Modifier.h cooperate.
10958
10959 2002-02-11 Adam Megacz <adam@xwt.org>
10960
10961 * java/io/natFileWin32.cc: Created a placeholder class with lots
10962 of FIXMEs.
10963
10964 2002-02-11 Adam Megacz <adam@xwt.org>
10965
10966 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10967 std::abort() to simply abort(). Also added "fake" std::abort() so
10968 we can #include unwind-pe.h without having to link against
10969 libstdc++-v3.
10970
10971 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10972
10973 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10974
10975 2002-02-08 Tom Tromey <tromey@redhat.com>
10976
10977 * interpret.cc (convert): New function.
10978 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10979 convert.
10980 Include Long.h.
10981
10982 2002-02-08 Anthony Green <green@redhat.com>
10983
10984 * configure.host: Add support for xscale-elf embedded target.
10985
10986 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10987
10988 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10989 dereferenced.
10990 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10991 frame.
10992
10993 2002-02-07 Tom Tromey <tromey@redhat.com>
10994
10995 * java/io/natFile.cc (_access): Use __builtin_alloca.
10996 (_stat): Likewise.
10997 (attr): Likewise.
10998 (getCanonicalPath): Likewise.
10999 (performList): Likewise.
11000 (performMkdir): Likewise.
11001 (performSetReadOnly): Likewise.
11002 (performRenameTo): Likewise.
11003 (performSetLastModified): Likewise.
11004 (performCreate): Likewise.
11005 (performDelete): Likewise.
11006
11007 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11008
11009 * HACKING: Fix URL for the automake-gcj.
11010
11011 2002-02-07 Tom Tromey <tromey@redhat.com>
11012
11013 * java/lang/natThrowable.cc: Updated copyright.
11014 * java/io/natFileWin32.cc: Updated copyright.
11015 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11016 * win32-threads.cc: Updated copyright.
11017 * name-finder.cc: Updated copyright.
11018 * include/name-finder.h: Updated copyright.
11019
11020 * include/name-finder.h: Conditionally include sys/wait.h.
11021 * include/config.h.in: Rebuilt.
11022
11023 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11024 Size buffer based on real size of string.
11025 (_stat): Likewise.
11026 (attr): Likewise.
11027 (getCanonicalPath): Likewise.
11028 (performList): Likewise.
11029 (performMkdir): Likewise.
11030 (performSetReadOnly): Likewise.
11031 (unixroot): Removed.
11032 (performRenameTo): Likewise.
11033 (performSetLastModified): Likewise.
11034 (performCreate): Likewise.
11035 (performDelete): Likewise.
11036 (performListRoots): Always return new array.
11037
11038 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11039 * win32.cc (win32_exception_handler): Now static.
11040 * include/win32.h (_Jv_platform_initialize): Declare.
11041 (win32_exception_handler): Don't declare.
11042 * java/lang/natSystem.cc (currentTimeMillis): Use
11043 _Jv_platform_gettimeofday.
11044 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11045 (_Jv_select): Use new name.
11046 (_Jv_platform_initialize): New function.
11047 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11048 _Jv_gettimeofday.
11049 (_Jv_platform_initialize): Declare.
11050
11051 * configure: Rebuilt.
11052 * configure.in: Removed unnecessary parens.
11053
11054 2002-02-06 Adam Megacz <adam@xwt.org>
11055
11056 * configure.in: Changed mingw) to *mingw*).
11057 * win32.cc: Created this file.
11058 * win32.h: Created this file.
11059 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11060 win32_exception_handler from prims.cc to win32.cc, added
11061 header in win32.h.
11062 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11063 longer needed now that we have platform.h
11064
11065 2002-02-06 Adam Megacz <adam@xwt.org>
11066
11067 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11068 use uint<n>_t instead of LONG and BYTE
11069
11070 2002-02-06 Adam Megacz <adam@xwt.org>
11071
11072 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11073
11074 2002-02-06 Anthony Green <green@redhat.com>
11075
11076 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11077 Implement missing method stubs.
11078 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11079 targets.
11080 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11081 concept of timezones.
11082 (init_properties): Don't refer to _Jv_Environment_Properties
11083 when this feature is not available.
11084 * include/config.h.in: Rebuilt.
11085 * acconfig.h: Add DISABLE_MAIN_ARGS.
11086 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11087 * configure: Rebuilt.
11088 * configure.in: Add --disable-main-args option. Test for
11089 opendir function. Replace AC_CHECK_SIZEOF with
11090 AC_COMPILE_CHECK_SIZEOF.
11091 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11092 * aclocal.m4: Rebuilt.
11093 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11094
11095 2002-02-06 Tom Tromey <tromey@redhat.com>
11096
11097 * verify.cc (require_array_type): If argument is a null array of
11098 references, return null as the element type.
11099
11100 2002-02-06 Mark Wielaard <mark@klomp.org>
11101
11102 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11103 duplicate of a wide type.
11104
11105 2002-02-06 Tom Tromey <tromey@redhat.com>
11106
11107 * verify.cc (type::isnull): New method.
11108 (require_array_type): Handle case where array is null.
11109 (verify_instructions_0) [op_arraylength]: Likewise.
11110
11111 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11112
11113 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11114 Symlink PLATFORMH to platform.h.
11115 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11116 PLATFORMOBJS.
11117 * java/lang/natSystem.cc: #include platform.h not posix.h.
11118 * Makefile.in: Rebuilt with libgcj automake.
11119 * configure: Rebuilt.
11120
11121 2002-02-05 Richard Henderson <rth@redhat.com>
11122
11123 * Makefile.in: Undo munging last change.
11124
11125 2002-02-04 Adam Megacz <adam@xwt.org>
11126
11127 * win32.cc: Created it.
11128 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11129 which is set to posix.cc or win32.cc.
11130 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11131
11132 2002-02-04 Adam Megacz <adam@xwt.org>
11133
11134 * configure.in: Corrected mingw case branches; added * before
11135 and after.
11136
11137 2002-02-04 Adam Megacz <adam@xwt.org>
11138
11139 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11140 if compiling for win32
11141
11142 2002-02-04 Adam Megacz <adam@xwt.org>
11143
11144 * win32-threads.cc: #undef STRICT after gc.h inclusion
11145
11146 2002-02-02 Tom Tromey <tromey@redhat.com>
11147
11148 * Makefile.in: Rebuilt.
11149
11150 2002-02-02 Jason Merrill <jason@redhat.com>
11151
11152 * Makefile.am (clean-nat): New target.
11153
11154 2002-02-02 Tom Tromey <tromey@redhat.com>
11155
11156 * java/io/natFile.cc: Removed old "FIXME" comments.
11157
11158 2002-02-01 Tom Tromey <tromey@redhat.com>
11159
11160 * java/lang/natPosixProcess.cc (myclose): New function.
11161 (fail): Use it.
11162 (startProcess): Likewise.
11163
11164 2002-02-01 Adam Megacz <adam@xwt.org>
11165
11166 * prims.cc: Added #undef STRICT after #include<windows.h>.
11167
11168 2002-02-01 Adam Megacz <adam@xwt.org>
11169
11170 * prims.cc
11171 (_Jv_CreateJavaVM): We now use WIN32 instead of
11172 USE_WIN32_SIGNALLING and USE_WINSOCK.
11173 (win32_exception_handler): Now throws an exception out of
11174 the signal handler; assumes SJLJ.
11175
11176 2002-02-01 Adam Megacz <adam@xwt.org>
11177
11178 * win32-threads.cc:
11179 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11180 wait() algorithm to make it safe.
11181 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11182 Added lazy creation of Win32 Events for better performance
11183 (really_start): This now uses GC_CreateThread so boehm-gc
11184 knows about new threads even when statically linked.
11185
11186 2002-02-01 Adam Megacz <adam@xwt.org>
11187
11188 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11189 enable safer wait() algorithm.
11190 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11191 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11192 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11193 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11194 instead of mutex.
11195 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11196
11197 2002-02-01 Adam Megacz <adam@xwt.org>
11198
11199 * configure.in: Added support for mingw.
11200 * java/lang/Win32Process.java: Created as empty file.
11201 * java/lang/natWin32Process.cc: Created as empty file.
11202
11203 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11204
11205 PR java/4972
11206 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11207 for libiconv in LIBICONV variable.
11208 * configure: Regenerated.
11209
11210 2002-01-31 Tom Tromey <tromey@redhat.com>
11211
11212 * verify.cc (state::enter_subroutine): New method.
11213 (handle_jsr_insn): Use it.
11214 (state::merge): When processing a `ret', correctly use
11215 subroutine's state to determine which local variables have
11216 changed.
11217 (push_exception_jump): Don't let stack overflow.
11218
11219 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11220
11221 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11222 --version output.
11223
11224 2002-01-30 Tom Tromey <tromey@redhat.com>
11225
11226 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11227 parameter for `recv' return type.
11228
11229 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11230 (state::merge): ... not here.
11231 (subr_entry_info): New structure.
11232 (entry_points): New field.
11233 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11234 entry_points.
11235
11236 2002-01-29 Tom Tromey <tromey@redhat.com>
11237
11238 * java/awt/List.java (addNotify): Correctly check to see if peer
11239 does not exist.
11240
11241 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11242 to compute height of each cell, and number of columns to compute
11243 width of each cell.
11244 * java/awt/Window.java (getOwnedWindows): Don't return null.
11245 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11246 of component. Increment x using horizontal gap, not vertical
11247 gap.
11248
11249 2002-01-28 Tom Tromey <tromey@redhat.com>
11250
11251 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11252 `nargs' byte is number of words, not number of arguments.
11253
11254 2002-01-27 Tom Tromey <tromey@redhat.com>
11255
11256 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11257 (when): Likewise.
11258 * java/awt/event/InputEvent.java (modifiers, when): Now
11259 package-private.
11260
11261 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11262 and to-do list.
11263 (state::merge): Use current class' class loader.
11264 (state::print): Print subroutine.
11265 (state::merge): Don't look at subroutine of unmerged `ret'.
11266
11267 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11268
11269 * nogc.cc: Remove warnings.
11270 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11271 New functions.
11272
11273 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11274
11275 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11276 int, int): Remove empty "if" statement to work around compiler bug.
11277 (newPixels(int[], ColorModel, int, int): Likewise.
11278
11279 2002-01-25 Per Bothner <per@bothner.com>
11280
11281 * verify.cc (verify_fail): Change from being a top-level function
11282 to e method of _Jv_BytecodeVerifier. Emit current method name.
11283 Pass the current verifier to type: and state: methods as needed,
11284 for better error messages, and for resolve.
11285 (resolve): Pass current class's loader for Class.forName and
11286 _Jv_FindClassFromSignature, rather than using the default loader.
11287 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11288 (get_type_val_for_signature): Make non-static.
11289 (various methods): Pass start_PC implicitly, not explicitly.
11290
11291 2002-01-25 Tom Tromey <tromey@redhat.com>
11292
11293 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11294 loop termination condition.
11295 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11296 width.
11297
11298 2002-01-24 Tom Tromey <tromey@redhat.com>
11299
11300 * java/awt/Shape.java: Merged with Classpath.
11301 * java/awt/Scrollbar.java: Merged with Classpath.
11302
11303 * java/awt/Container.java (addNotify): Unconditionally call
11304 addNotifyContainerChildren and superclass addNotify.
11305
11306 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11307 getAlpha, not getBlue.
11308
11309 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11310
11311 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11312
11313 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11314 (grabPixels(long)): Wait to be notified that the ImageProducer has
11315 completed.
11316
11317 2002-01-24 Per Bothner <per@bothner.com>
11318
11319 * verify.cc (is_assignable_from_slow): If target is an interface,
11320 we must still check the source's superclass before giving up.
11321
11322 2002-01-24 Tom Tromey <tromey@redhat.com>
11323
11324 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11325
11326 2002-01-23 Tom Tromey <tromey@redhat.com>
11327
11328 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11329 `else'.
11330
11331 * Makefile.in: Rebuilt.
11332 * Makefile.am (awt_java_source_files): Added new files.
11333 * java/awt/Toolkit.java: Merged with Classpath.
11334 * java/awt/PrintGraphics.java: New file from Classpath.
11335 * java/awt/PrintJob.java: New file from Classpath.
11336 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11337 * java/awt/datatransfer/ClipboardOwner.java: New file from
11338 Classpath.
11339 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11340 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11341 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11342 Classpath.
11343 * java/awt/datatransfer/StringSelection.java: New file from
11344 Classpath.
11345 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11346 Classpath.
11347 * java/awt/datatransfer/Transferable.java: New file from
11348 Classpath.
11349 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11350 from Classpath.
11351
11352 * Makefile.in: Rebuilt.
11353 * Makefile.am (awt_java_source_files): Added new files.
11354 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11355 Classpath.
11356 * java/awt/image/CropImageFilter.java: New file from Classpath.
11357 * java/awt/image/FilteredImageSource.java: New file from
11358 Classpath.
11359 * java/awt/image/ImageFilter.java: New file from Classpath.
11360 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11361 * java/awt/image/PixelGrabber.java: New file from Classpath.
11362 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11363 * java/awt/image/ReplicateScaleFilter.java: New file from
11364 Classpath.
11365 * java/awt/image/ImageProducer.java: Replaced with Classpath
11366 version.
11367 * java/awt/image/ImageObserver.java: Replaced with Classpath
11368 version.
11369 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11370 version.
11371 * java/awt/GridBagConstraints.java (clone): Catch
11372 CloneNotSupportedException.
11373
11374 2002-01-23 Per Bothner <per@bothner.com>
11375
11376 * java/lang/reflect/natField.cc (setAddr): New function.
11377 Calls getAddr and then checks that the field isn't final.
11378 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11379 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11380 (set): Call setAddr before check that new value has right type,
11381 to better match specified semantics.
11382
11383 2002-01-22 Tom Tromey <tromey@redhat.com>
11384
11385 * java/awt/TextField.java: Replaced with Classpath version.
11386 * java/awt/TextArea.java: Replaced with Classpath version.
11387 * java/awt/TextComponent.java: Replaced with Classpath version.
11388
11389 * java/awt/GridBagConstraints.java: Updated copyright.
11390
11391 2002-01-22 Mark Wielaard <mark@klomp.org>
11392
11393 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11394 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11395 java/awt/Dialog.java java/awt/FileDialog.java
11396 java/awt/Font.java java/awt/FontMetrics.java
11397 java/awt/Image.java java/awt/ImageMediaEntry.java
11398 java/awt/Insets.java java/awt/List.java
11399 java/awt/MediaEntry.java java/awt/MediaTracker.java
11400 java/awt/Menu.java java/awt/MenuBar.java
11401 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11402 java/awt/PaintContext.java java/awt/Panel.java
11403 java/awt/PopupMenu.java java/awt/SystemColor.java
11404 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11405 java/awt/peer/CheckboxMenuItemPeer.java
11406 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11407 java/awt/peer/ComponentPeer.java
11408 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11409 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11410 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11411 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11412 java/awt/peer/MenuBarPeer.java
11413 java/awt/peer/MenuComponentPeer.java
11414 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11415 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11416 java/awt/peer/ScrollPanePeer.java
11417 java/awt/peer/ScrollbarPeer.java
11418 java/awt/peer/TextAreaPeer.java
11419 java/awt/peer/TextComponentPeer.java
11420 java/awt/peer/TextFieldPeer.java
11421 java/awt/peer/WindowPeer.java: Add license clarification.
11422
11423 2002-01-22 Mark Wielaard <mark@klomp.org>
11424
11425 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11426 gnu/gcj/runtime/StringBuffer.java
11427 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11428 gnu/java/awt/ComponentDataBlitOp.java
11429 gnu/java/awt/GLightweightPeer.java
11430 gnu/java/beans/BeanInfoEmbryo.java
11431 gnu/java/beans/EmptyBeanInfo.java
11432 gnu/java/beans/ExplicitBeanInfo.java
11433 gnu/java/beans/IntrospectionIncubator.java
11434 gnu/java/beans/editors/ColorEditor.java
11435 gnu/java/beans/editors/FontEditor.java
11436 gnu/java/beans/editors/NativeBooleanEditor.java
11437 gnu/java/beans/editors/NativeByteEditor.java
11438 gnu/java/beans/editors/NativeDoubleEditor.java
11439 gnu/java/beans/editors/NativeFloatEditor.java
11440 gnu/java/beans/editors/NativeIntEditor.java
11441 gnu/java/beans/editors/NativeLongEditor.java
11442 gnu/java/beans/editors/NativeShortEditor.java
11443 gnu/java/beans/editors/StringEditor.java
11444 gnu/java/beans/info/ComponentBeanInfo.java
11445 gnu/java/io/ClassLoaderObjectInputStream.java
11446 gnu/java/io/NullOutputStream.java
11447 gnu/java/io/ObjectIdentityWrapper.java
11448 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11449 gnu/java/lang/reflect/TypeSignature.java
11450 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11451 gnu/java/locale/Calendar_en.java
11452 gnu/java/locale/Calendar_nl.java
11453 gnu/java/locale/LocaleInformation.java
11454 gnu/java/locale/LocaleInformation_de.java
11455 gnu/java/locale/LocaleInformation_en.java
11456 gnu/java/locale/LocaleInformation_nl.java
11457 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11458 gnu/java/rmi/registry/RegistryImpl.java
11459 gnu/java/rmi/rmic/Compile_gcj.java
11460 gnu/java/rmi/rmic/Compiler.java
11461 gnu/java/rmi/rmic/CompilerProcess.java
11462 gnu/java/rmi/rmic/RMIC.java
11463 gnu/java/rmi/rmic/TabbedWriter.java
11464 gnu/java/rmi/server/ProtocolConstants.java
11465 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11466 gnu/java/rmi/server/RMIHashes.java
11467 gnu/java/rmi/server/RMIObjectInputStream.java
11468 gnu/java/rmi/server/RMIObjectOutputStream.java
11469 gnu/java/rmi/server/UnicastConnection.java
11470 gnu/java/rmi/server/UnicastConnectionManager.java
11471 gnu/java/rmi/server/UnicastRef.java
11472 gnu/java/rmi/server/UnicastRemoteCall.java
11473 gnu/java/rmi/server/UnicastRemoteStub.java
11474 gnu/java/rmi/server/UnicastServer.java
11475 gnu/java/rmi/server/UnicastServerRef.java
11476 gnu/java/security/provider/DefaultPolicy.java
11477 gnu/java/security/provider/Gnu.java
11478 gnu/java/security/provider/SHA.java
11479 gnu/java/security/provider/SHA1PRNG.java
11480 gnu/java/text/BaseBreakIterator.java
11481 gnu/java/text/CharacterBreakIterator.java
11482 gnu/java/text/LineBreakIterator.java
11483 gnu/java/text/SentenceBreakIterator.java
11484 gnu/java/text/WordBreakIterator.java
11485 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11486 java/applet/AppletContext.java java/applet/AppletStub.java
11487 java/applet/AudioClip.java java/awt/AWTError.java
11488 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11489 java/awt/AWTException.java java/awt/AWTPermission.java
11490 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11491 java/awt/Button.java java/awt/Canvas.java
11492 java/awt/CardLayout.java java/awt/Checkbox.java
11493 java/awt/CheckboxGroup.java java/awt/Component.java
11494 java/awt/ComponentOrientation.java java/awt/Container.java
11495 java/awt/Dimension.java java/awt/Event.java
11496 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11497 java/awt/FlowLayout.java java/awt/Frame.java
11498 java/awt/Graphics.java java/awt/Graphics2D.java
11499 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11500 java/awt/IllegalComponentStateException.java
11501 java/awt/ItemSelectable.java java/awt/Label.java
11502 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11503 java/awt/MenuComponent.java java/awt/MenuItem.java
11504 java/awt/Paint.java java/awt/Point.java
11505 java/awt/Rectangle.java java/awt/RenderingHints.java
11506 java/awt/Transparency.java java/awt/Window.java
11507 java/awt/color/ColorSpace.java
11508 java/awt/color/ICC_ColorSpace.java
11509 java/awt/color/ICC_Profile.java
11510 java/awt/event/HierarchyBoundsAdapter.java
11511 java/awt/event/HierarchyBoundsListener.java
11512 java/awt/event/HierarchyEvent.java
11513 java/awt/event/HierarchyListener.java
11514 java/awt/geom/AffineTransform.java
11515 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11516 java/awt/geom/IllegalPathStateException.java
11517 java/awt/geom/Line2D.java
11518 java/awt/geom/NoninvertibleTransformException.java
11519 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11520 java/awt/geom/Rectangle2D.java
11521 java/awt/geom/RectangularShape.java
11522 java/awt/geom/RoundRectangle2D.java
11523 java/awt/image/BufferedImage.java
11524 java/awt/image/ColorModel.java
11525 java/awt/image/ComponentColorModel.java
11526 java/awt/image/ComponentSampleModel.java
11527 java/awt/image/DataBuffer.java
11528 java/awt/image/DataBufferByte.java
11529 java/awt/image/DataBufferInt.java
11530 java/awt/image/DataBufferUShort.java
11531 java/awt/image/DirectColorModel.java
11532 java/awt/image/PackedColorModel.java
11533 java/awt/image/Raster.java java/awt/image/RasterOp.java
11534 java/awt/image/SampleModel.java
11535 java/awt/image/SinglePixelPackedSampleModel.java
11536 java/awt/image/WritableRaster.java
11537 java/beans/AppletInitializer.java
11538 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11539 java/beans/Beans.java java/beans/Customizer.java
11540 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11541 java/beans/FeatureDescriptor.java
11542 java/beans/IndexedPropertyDescriptor.java
11543 java/beans/IntrospectionException.java
11544 java/beans/Introspector.java java/beans/MethodDescriptor.java
11545 java/beans/ParameterDescriptor.java
11546 java/beans/PropertyChangeEvent.java
11547 java/beans/PropertyChangeListener.java
11548 java/beans/PropertyChangeSupport.java
11549 java/beans/PropertyDescriptor.java
11550 java/beans/PropertyEditor.java
11551 java/beans/PropertyEditorManager.java
11552 java/beans/PropertyEditorSupport.java
11553 java/beans/PropertyVetoException.java
11554 java/beans/SimpleBeanInfo.java
11555 java/beans/VetoableChangeListener.java
11556 java/beans/VetoableChangeSupport.java
11557 java/beans/Visibility.java
11558 java/beans/beancontext/BeanContext.java
11559 java/beans/beancontext/BeanContextChild.java
11560 java/beans/beancontext/BeanContextChildComponentProxy.java
11561 java/beans/beancontext/BeanContextChildSupport.java
11562 java/beans/beancontext/BeanContextContainerProxy.java
11563 java/beans/beancontext/BeanContextEvent.java
11564 java/beans/beancontext/BeanContextMembershipEvent.java
11565 java/beans/beancontext/BeanContextMembershipListener.java
11566 java/beans/beancontext/BeanContextProxy.java
11567 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11568 java/beans/beancontext/BeanContextServiceProvider.java
11569 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11570 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11571 java/beans/beancontext/BeanContextServiceRevokedListener.java
11572 java/beans/beancontext/BeanContextServices.java
11573 java/beans/beancontext/BeanContextServicesListener.java
11574 java/io/BufferedInputStream.java
11575 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11576 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11577 java/io/ByteArrayOutputStream.java
11578 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11579 java/io/CharConversionException.java java/io/DataInput.java
11580 java/io/DataInputStream.java java/io/DataOutput.java
11581 java/io/EOFException.java java/io/Externalizable.java
11582 java/io/FileFilter.java java/io/FileNotFoundException.java
11583 java/io/FilePermission.java java/io/FileReader.java
11584 java/io/FileWriter.java java/io/FilenameFilter.java
11585 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11586 java/io/FilterReader.java java/io/FilterWriter.java
11587 java/io/IOException.java java/io/InputStream.java
11588 java/io/InterruptedIOException.java
11589 java/io/InvalidClassException.java
11590 java/io/InvalidObjectException.java
11591 java/io/NotActiveException.java
11592 java/io/NotSerializableException.java java/io/ObjectInput.java
11593 java/io/ObjectInputStream.java
11594 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11595 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11596 java/io/ObjectStreamConstants.java
11597 java/io/ObjectStreamException.java
11598 java/io/ObjectStreamField.java
11599 java/io/OptionalDataException.java java/io/OutputStream.java
11600 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11601 java/io/PipedReader.java java/io/PipedWriter.java
11602 java/io/PrintWriter.java java/io/PushbackInputStream.java
11603 java/io/PushbackReader.java java/io/Reader.java
11604 java/io/SequenceInputStream.java java/io/Serializable.java
11605 java/io/SerializablePermission.java
11606 java/io/StreamCorruptedException.java
11607 java/io/StreamTokenizer.java
11608 java/io/StringBufferInputStream.java java/io/StringReader.java
11609 java/io/StringWriter.java java/io/SyncFailedException.java
11610 java/io/UTFDataFormatException.java
11611 java/io/UnsupportedEncodingException.java
11612 java/io/WriteAbortedException.java java/io/Writer.java
11613 java/lang/AbstractMethodError.java
11614 java/lang/ArithmeticException.java
11615 java/lang/ArrayIndexOutOfBoundsException.java
11616 java/lang/ArrayStoreException.java java/lang/Boolean.java
11617 java/lang/Byte.java java/lang/CharSequence.java
11618 java/lang/ClassCastException.java
11619 java/lang/ClassCircularityError.java
11620 java/lang/ClassFormatError.java
11621 java/lang/ClassNotFoundException.java
11622 java/lang/CloneNotSupportedException.java
11623 java/lang/Cloneable.java java/lang/Comparable.java
11624 java/lang/Compiler.java java/lang/Double.java
11625 java/lang/Error.java java/lang/Exception.java
11626 java/lang/ExceptionInInitializerError.java
11627 java/lang/Float.java java/lang/IllegalAccessError.java
11628 java/lang/IllegalAccessException.java
11629 java/lang/IllegalArgumentException.java
11630 java/lang/IllegalMonitorStateException.java
11631 java/lang/IllegalStateException.java
11632 java/lang/IllegalThreadStateException.java
11633 java/lang/IncompatibleClassChangeError.java
11634 java/lang/IndexOutOfBoundsException.java
11635 java/lang/InheritableThreadLocal.java
11636 java/lang/InstantiationError.java
11637 java/lang/InstantiationException.java java/lang/Integer.java
11638 java/lang/InternalError.java
11639 java/lang/InterruptedException.java
11640 java/lang/LinkageError.java java/lang/Long.java
11641 java/lang/NegativeArraySizeException.java
11642 java/lang/NoClassDefFoundError.java
11643 java/lang/NoSuchFieldError.java
11644 java/lang/NoSuchFieldException.java
11645 java/lang/NoSuchMethodError.java
11646 java/lang/NoSuchMethodException.java
11647 java/lang/NullPointerException.java java/lang/Number.java
11648 java/lang/NumberFormatException.java
11649 java/lang/OutOfMemoryError.java java/lang/Package.java
11650 java/lang/Process.java java/lang/Runnable.java
11651 java/lang/RuntimeException.java
11652 java/lang/RuntimePermission.java
11653 java/lang/SecurityException.java
11654 java/lang/SecurityManager.java java/lang/Short.java
11655 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11656 java/lang/StringIndexOutOfBoundsException.java
11657 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11658 java/lang/ThreadLocal.java java/lang/UnknownError.java
11659 java/lang/UnsatisfiedLinkError.java
11660 java/lang/UnsupportedClassVersionError.java
11661 java/lang/UnsupportedOperationException.java
11662 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11663 java/lang/Void.java java/lang/ref/PhantomReference.java
11664 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11665 java/lang/ref/SoftReference.java
11666 java/lang/ref/WeakReference.java
11667 java/lang/reflect/AccessibleObject.java
11668 java/lang/reflect/InvocationTargetException.java
11669 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11670 java/lang/reflect/ReflectPermission.java
11671 java/math/BigDecimal.java java/math/BigInteger.java
11672 java/net/Authenticator.java java/net/BindException.java
11673 java/net/ConnectException.java java/net/ContentHandler.java
11674 java/net/ContentHandlerFactory.java
11675 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11676 java/net/FileNameMap.java java/net/MalformedURLException.java
11677 java/net/MulticastSocket.java java/net/NetPermission.java
11678 java/net/NoRouteToHostException.java
11679 java/net/PasswordAuthentication.java
11680 java/net/ProtocolException.java java/net/ServerSocket.java
11681 java/net/Socket.java java/net/SocketException.java
11682 java/net/SocketImpl.java java/net/SocketImplFactory.java
11683 java/net/SocketOptions.java java/net/SocketPermission.java
11684 java/net/URLDecoder.java java/net/URLEncoder.java
11685 java/net/URLStreamHandlerFactory.java
11686 java/net/UnknownHostException.java
11687 java/net/UnknownServiceException.java
11688 java/rmi/AccessException.java
11689 java/rmi/AlreadyBoundException.java
11690 java/rmi/ConnectException.java
11691 java/rmi/ConnectIOException.java
11692 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11693 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11694 java/rmi/NotBoundException.java
11695 java/rmi/RMISecurityException.java
11696 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11697 java/rmi/RemoteException.java java/rmi/ServerError.java
11698 java/rmi/ServerException.java
11699 java/rmi/ServerRuntimeException.java
11700 java/rmi/StubNotFoundException.java
11701 java/rmi/UnexpectedException.java
11702 java/rmi/UnknownHostException.java
11703 java/rmi/UnmarshalException.java
11704 java/rmi/activation/Activatable.java
11705 java/rmi/activation/ActivateFailedException.java
11706 java/rmi/activation/ActivationDesc.java
11707 java/rmi/activation/ActivationException.java
11708 java/rmi/activation/ActivationGroup.java
11709 java/rmi/activation/ActivationGroupDesc.java
11710 java/rmi/activation/ActivationGroupID.java
11711 java/rmi/activation/ActivationID.java
11712 java/rmi/activation/ActivationInstantiator.java
11713 java/rmi/activation/ActivationMonitor.java
11714 java/rmi/activation/ActivationSystem.java
11715 java/rmi/activation/Activator.java
11716 java/rmi/activation/UnknownGroupException.java
11717 java/rmi/activation/UnknownObjectException.java
11718 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11719 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11720 java/rmi/registry/Registry.java
11721 java/rmi/registry/RegistryHandler.java
11722 java/rmi/server/ExportException.java
11723 java/rmi/server/LoaderHandler.java
11724 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11725 java/rmi/server/Operation.java
11726 java/rmi/server/RMIClassLoader.java
11727 java/rmi/server/RMIClientSocketFactory.java
11728 java/rmi/server/RMIFailureHandler.java
11729 java/rmi/server/RMIServerSocketFactory.java
11730 java/rmi/server/RMISocketFactory.java
11731 java/rmi/server/RemoteCall.java
11732 java/rmi/server/RemoteObject.java
11733 java/rmi/server/RemoteRef.java
11734 java/rmi/server/RemoteServer.java
11735 java/rmi/server/RemoteStub.java
11736 java/rmi/server/ServerCloneException.java
11737 java/rmi/server/ServerNotActiveException.java
11738 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11739 java/rmi/server/SkeletonMismatchException.java
11740 java/rmi/server/SkeletonNotFoundException.java
11741 java/rmi/server/SocketSecurityException.java
11742 java/rmi/server/UID.java
11743 java/rmi/server/UnicastRemoteObject.java
11744 java/rmi/server/Unreferenced.java
11745 java/security/AccessControlContext.java
11746 java/security/AccessControlException.java
11747 java/security/AccessController.java
11748 java/security/AlgorithmParameterGenerator.java
11749 java/security/AlgorithmParameterGeneratorSpi.java
11750 java/security/AlgorithmParameters.java
11751 java/security/AlgorithmParametersSpi.java
11752 java/security/AllPermission.java
11753 java/security/BasicPermission.java
11754 java/security/Certificate.java java/security/CodeSource.java
11755 java/security/DigestException.java
11756 java/security/DigestInputStream.java
11757 java/security/DigestOutputStream.java
11758 java/security/DomainCombiner.java
11759 java/security/DummyKeyPairGenerator.java
11760 java/security/DummyMessageDigest.java
11761 java/security/DummySignature.java
11762 java/security/GeneralSecurityException.java
11763 java/security/Guard.java java/security/GuardedObject.java
11764 java/security/Identity.java java/security/IdentityScope.java
11765 java/security/InvalidAlgorithmParameterException.java
11766 java/security/InvalidKeyException.java
11767 java/security/InvalidParameterException.java
11768 java/security/Key.java java/security/KeyException.java
11769 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11770 java/security/KeyManagementException.java
11771 java/security/KeyPair.java java/security/KeyPairGenerator.java
11772 java/security/KeyPairGeneratorSpi.java
11773 java/security/KeyStore.java
11774 java/security/KeyStoreException.java
11775 java/security/KeyStoreSpi.java
11776 java/security/MessageDigest.java
11777 java/security/MessageDigestSpi.java
11778 java/security/NoSuchAlgorithmException.java
11779 java/security/NoSuchProviderException.java
11780 java/security/Permission.java
11781 java/security/PermissionCollection.java
11782 java/security/Permissions.java java/security/Policy.java
11783 java/security/Principal.java java/security/PrivateKey.java
11784 java/security/PrivilegedAction.java
11785 java/security/PrivilegedActionException.java
11786 java/security/PrivilegedExceptionAction.java
11787 java/security/ProtectionDomain.java
11788 java/security/Provider.java
11789 java/security/ProviderException.java
11790 java/security/PublicKey.java
11791 java/security/SecureClassLoader.java
11792 java/security/SecureRandom.java
11793 java/security/SecureRandomSpi.java java/security/Security.java
11794 java/security/SecurityPermission.java
11795 java/security/Signature.java
11796 java/security/SignatureException.java
11797 java/security/SignatureSpi.java
11798 java/security/SignedObject.java java/security/Signer.java
11799 java/security/UnrecoverableKeyException.java
11800 java/security/UnresolvedPermission.java
11801 java/security/acl/Acl.java java/security/acl/AclEntry.java
11802 java/security/acl/AclNotFoundException.java
11803 java/security/acl/Group.java
11804 java/security/acl/LastOwnerException.java
11805 java/security/acl/NotOwnerException.java
11806 java/security/acl/Owner.java java/security/acl/Permission.java
11807 java/security/cert/CRL.java
11808 java/security/cert/CRLException.java
11809 java/security/cert/Certificate.java
11810 java/security/cert/CertificateEncodingException.java
11811 java/security/cert/CertificateException.java
11812 java/security/cert/CertificateExpiredException.java
11813 java/security/cert/CertificateFactory.java
11814 java/security/cert/CertificateFactorySpi.java
11815 java/security/cert/CertificateNotYetValidException.java
11816 java/security/cert/CertificateParsingException.java
11817 java/security/cert/X509CRL.java
11818 java/security/cert/X509CRLEntry.java
11819 java/security/cert/X509Certificate.java
11820 java/security/cert/X509Extension.java
11821 java/security/interfaces/DSAKey.java
11822 java/security/interfaces/DSAKeyPairGenerator.java
11823 java/security/interfaces/DSAParams.java
11824 java/security/interfaces/DSAPrivateKey.java
11825 java/security/interfaces/DSAPublicKey.java
11826 java/security/interfaces/RSAKey.java
11827 java/security/interfaces/RSAPrivateCrtKey.java
11828 java/security/interfaces/RSAPrivateKey.java
11829 java/security/interfaces/RSAPublicKey.java
11830 java/security/spec/AlgorithmParameterSpec.java
11831 java/security/spec/DSAParameterSpec.java
11832 java/security/spec/DSAPrivateKeySpec.java
11833 java/security/spec/DSAPublicKeySpec.java
11834 java/security/spec/EncodedKeySpec.java
11835 java/security/spec/InvalidKeySpecException.java
11836 java/security/spec/InvalidParameterSpecException.java
11837 java/security/spec/KeySpec.java
11838 java/security/spec/PKCS8EncodedKeySpec.java
11839 java/security/spec/RSAKeyGenParameterSpec.java
11840 java/security/spec/RSAPrivateCrtKeySpec.java
11841 java/security/spec/RSAPrivateKeySpec.java
11842 java/security/spec/RSAPublicKeySpec.java
11843 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11844 java/sql/BatchUpdateException.java java/sql/Blob.java
11845 java/sql/CallableStatement.java java/sql/Clob.java
11846 java/sql/Connection.java java/sql/DataTruncation.java
11847 java/sql/DatabaseMetaData.java java/sql/Date.java
11848 java/sql/Driver.java java/sql/DriverManager.java
11849 java/sql/DriverPropertyInfo.java
11850 java/sql/PreparedStatement.java java/sql/Ref.java
11851 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11852 java/sql/SQLData.java java/sql/SQLException.java
11853 java/sql/SQLInput.java java/sql/SQLOutput.java
11854 java/sql/SQLWarning.java java/sql/Statement.java
11855 java/sql/Struct.java java/sql/Time.java
11856 java/sql/Timestamp.java java/sql/Types.java
11857 java/text/Annotation.java
11858 java/text/AttributedCharacterIterator.java
11859 java/text/AttributedString.java
11860 java/text/AttributedStringIterator.java
11861 java/text/BreakIterator.java java/text/CharacterIterator.java
11862 java/text/ChoiceFormat.java java/text/Collator.java
11863 java/text/DateFormat.java java/text/DateFormatSymbols.java
11864 java/text/DecimalFormat.java
11865 java/text/DecimalFormatSymbols.java
11866 java/text/FieldPosition.java java/text/Format.java
11867 java/text/MessageFormat.java java/text/NumberFormat.java
11868 java/text/ParseException.java java/text/ParsePosition.java
11869 java/text/SimpleDateFormat.java
11870 java/text/StringCharacterIterator.java
11871 java/util/AbstractCollection.java java/util/AbstractList.java
11872 java/util/AbstractMap.java
11873 java/util/AbstractSequentialList.java
11874 java/util/AbstractSet.java java/util/ArrayList.java
11875 java/util/Arrays.java java/util/BasicMapEntry.java
11876 java/util/BitSet.java java/util/Calendar.java
11877 java/util/Collection.java java/util/Collections.java
11878 java/util/Comparator.java
11879 java/util/ConcurrentModificationException.java
11880 java/util/Date.java java/util/Dictionary.java
11881 java/util/EmptyStackException.java java/util/Enumeration.java
11882 java/util/EventListener.java java/util/EventObject.java
11883 java/util/GregorianCalendar.java java/util/HashMap.java
11884 java/util/HashSet.java java/util/Hashtable.java
11885 java/util/IdentityHashMap.java java/util/Iterator.java
11886 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11887 java/util/LinkedList.java java/util/List.java
11888 java/util/ListIterator.java java/util/ListResourceBundle.java
11889 java/util/Locale.java java/util/Map.java
11890 java/util/MissingResourceException.java
11891 java/util/NoSuchElementException.java
11892 java/util/Observable.java java/util/Observer.java
11893 java/util/Properties.java java/util/PropertyPermission.java
11894 java/util/PropertyResourceBundle.java java/util/Random.java
11895 java/util/RandomAccess.java java/util/ResourceBundle.java
11896 java/util/Set.java java/util/SimpleTimeZone.java
11897 java/util/SortedMap.java java/util/SortedSet.java
11898 java/util/Stack.java java/util/StringTokenizer.java
11899 java/util/TimeZone.java java/util/Timer.java
11900 java/util/TimerTask.java
11901 java/util/TooManyListenersException.java
11902 java/util/TreeMap.java java/util/TreeSet.java
11903 java/util/Vector.java java/util/WeakHashMap.java
11904 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11905 java/util/jar/JarException.java java/util/jar/JarFile.java
11906 java/util/jar/JarInputStream.java
11907 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11908 java/util/zip/Adler32.java java/util/zip/CRC32.java
11909 java/util/zip/CheckedInputStream.java
11910 java/util/zip/CheckedOutputStream.java
11911 java/util/zip/Checksum.java
11912 java/util/zip/DataFormatException.java
11913 java/util/zip/Deflater.java
11914 java/util/zip/DeflaterOutputStream.java
11915 java/util/zip/GZIPInputStream.java
11916 java/util/zip/GZIPOutputStream.java
11917 java/util/zip/Inflater.java
11918 java/util/zip/InflaterInputStream.java
11919 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11920 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11921 java/util/zip/ZipInputStream.java
11922 java/util/zip/ZipOutputStream.java
11923 javax/naming/BinaryRefAddr.java
11924 javax/naming/InvalidNameException.java javax/naming/Name.java
11925 javax/naming/NamingException.java javax/naming/RefAddr.java
11926 javax/naming/StringRefAddr.java: Add license clarification.
11927
11928 2002-01-22 Tom Tromey <tromey@redhat.com>
11929
11930 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11931 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11932 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11933 version.
11934 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11935 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11936 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11937 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11938 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11939 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11940 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11941 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11942 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11943 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11944 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11945 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11946 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11947 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11948 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11949 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11950 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11951 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11952 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11953 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11954 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11955 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11956 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11957 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11958 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11959 (minimumSize, preferredSize, reshape): Likewise.
11960 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11961 getColorModel): New methods.
11962 * java/awt/PopupMenu.java: Merged with Classpath.
11963 * java/awt/MenuBar.java: Merged with Classpath.
11964 * java/awt/SystemColor.java: Replace with Classpath version.
11965 * java/awt/Panel.java: Merged with Classpath.
11966 * java/awt/PaintContext.java: Updated copyright.
11967 * java/awt/MenuShortcut.java: Merged with Classpath.
11968 * java/awt/MenuContainer.java: Merged with Classpath.
11969 * java/awt/Menu.java: Merged with Classpath.
11970 * java/awt/MediaEntry.java: New file from Classpath.
11971 * java/awt/MediaTracker.java: New file from Classpath.
11972 * java/awt/List.java: Merged with Classpath version.
11973 * java/awt/Insets.java: Merged with Classpath version.
11974 * java/awt/ImageMediaEntry.java: New file from Classpath.
11975 * java/awt/Image.java: Replaced with Classpath version.
11976 * java/awt/FontMetrics.java: Merged with Classpath version.
11977 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11978 constant.
11979 * java/awt/Font.java: Merged with Classpath version.
11980 * java/awt/Dialog.java: Merged with Classpath version.
11981 * java/awt/Color.java: Merged with Classpath version.
11982 * java/awt/Choice.java: Merged with Classpath version.
11983 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11984 * java/awt/Adjustable.java: Replace with Classpath version.
11985 * java/awt/MenuItem.java (paramString): Don't include class name
11986 or brackets. Call superclass paramString.
11987 * java/awt/MenuComponent.java (toString): Call paramString.
11988 (paramString): Compute string; don't call toString.
11989 * java/awt/Label.java (paramString): Don't include class name
11990 or brackets. Call superclass paramString.
11991 * java/awt/Checkbox.java (paramString): Don't include class name
11992 or brackets. Call superclass paramString.
11993 * java/awt/Button.java (paramString): Don't include class name or
11994 brackets. Call superclass paramString.
11995 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11996
11997 2002-01-20 Andreas Schwab <schwab@suse.de>
11998
11999 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12000 function and of parameter recv_func to ssize_t, as specified by
12001 POSIX.
12002
12003 2002-01-19 Per Bothner <per@bothner.com>
12004
12005 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12006 uncompressed_size in readiness for next entry.
12007
12008 2002-01-18 Tom Tromey <tromey@redhat.com>
12009
12010 * java/net/natPlainSocketImpl.cc: Include
12011 IllegalArgumentException.h.
12012 (_Jv_recv): New template function.
12013 (BooleanClass): Removed.
12014 (read): Use _Jv_recv.
12015 (setOption): Use Boolean::class$. Throw exception if object is
12016 not Boolean or Integer.
12017
12018 2002-01-17 Tom Tromey <tromey@redhat.com>
12019
12020 * java/awt/MenuComponent.java: Merged with Classpath.
12021 * java/awt/MenuItem.java: Merged with Classpath.
12022 * java/awt/Button.java: Merged with Classpath.
12023
12024 * java/awt/ActiveEvent.java: Updated copyright.
12025
12026 * java/awt/AWTError.java: Replaced with Classpath version.
12027 * java/awt/AWTException.java: Replaced with Classpath version.
12028 * java/awt/IllegalComponentStateException.java: Replaced with
12029 Classpath version.
12030
12031 2002-01-16 Tom Tromey <tromey@redhat.com>
12032
12033 * java/awt/Canvas.java (serialVersionUID): New constant.
12034 Updated copyright. Added javadoc from Classpath.
12035 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12036
12037 * java/awt/CheckboxGroup.java: Merged with Classpath.
12038 * java/awt/Checkbox.java: Merged with Classpath.
12039
12040 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12041 Classpath.
12042 * java/awt/Point.java: Updated copyright.
12043
12044 * java/awt/Point.java (toString): Use getClass().getName().
12045 Added javadoc.
12046
12047 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12048 commented code.
12049 (hash): Correctly compute initial value for `h'.
12050
12051 * java/awt/Label.java: Merged with Classpath.
12052
12053 2002-01-15 Tom Tromey <tromey@redhat.com>
12054
12055 * java/awt/AWTPermission.java: Updated copyright.
12056
12057 * java/awt/LayoutManager2.java: Merged with Classpath.
12058 * java/awt/LayoutManager.java: Merged with Classpath.
12059 * java/awt/GridLayout.java: Updated copyright and javadoc.
12060 (getSize): Use `parent.ncomponents'. Handle insets.
12061 (layoutContainer): Use `parent.ncomponents'. Handle case where
12062 there are fewer children than columns. Correctly compute size of
12063 each cell in the grid. Handle case where there isn't enough
12064 space.
12065 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12066 all users.
12067 (gotoComponent): Use parent.ncomponents. Ensure child exists
12068 before calling setVisible() on it. Last item is `num - 1', not
12069 `num'.
12070 (layoutContainer): Hoist invariants out of loop.
12071
12072 Start of AWT merge with Classpath:
12073 * Makefile.in: Rebuilt.
12074 * Makefile.am (awt_java_source_files): Reference files in
12075 gnu/java/awt, not gnu/gcj/awt.
12076 * java/awt/image/BufferedImage.java: Updated copyright.
12077 * java/awt/image/ComponentColorModel.java: Updated copyright.
12078 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12079 * java/awt/image/DataBuffer.java: Updated copyright.
12080 * java/awt/image/DataBufferByte.java: Updated copyright.
12081 * java/awt/image/DataBufferInt.java: Updated copyright.
12082 * java/awt/image/DataBufferUShort.java: Updated copyright.
12083 * java/awt/image/IndexColorModel.java: Updated copyright.
12084 * java/awt/image/PackedColorModel.java: Updated copyright.
12085 * java/awt/image/Raster.java: Updated copyright.
12086 * java/awt/image/RasterOp.java: Updated copyright.
12087 * java/awt/image/SampleModel.java: Updated copyright.
12088 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12089 * java/awt/image/WritableRaster.java: Updated copyright.
12090 * java/awt/color/ColorSpace.java: Updated copyright.
12091 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12092 * java/awt/color/ICC_Profile.java: Updated copyright.
12093 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12094 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12095 * java/awt/event/HierarchyEvent.java: Updated copyright.
12096 * java/awt/event/HierarchyListener.java: Updated copyright.
12097 * java/awt/geom/AffineTransform.java: Updated copyright.
12098 * java/awt/geom/Dimension2D.java: Updated copyright.
12099 * java/awt/geom/Ellipse2D.java: Updated copyright.
12100 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12101 * java/awt/geom/Line2D.java: Updated copyright.
12102 * java/awt/geom/NoninvertibleTransformException.java: Updated
12103 copyright.
12104 * java/awt/geom/PathIterator.java: Updated copyright.
12105 * java/awt/geom/Point2D.java: Updated copyright.
12106 * java/awt/geom/Rectangle2D.java: Updated copyright.
12107 * java/awt/geom/RectangularShape.java: Updated copyright.
12108 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12109 * java/awt/Toolkit.java: Updated import for file moves.
12110 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12111 Classpath.
12112 (hashCode): New method from Classpath.
12113 * java/awt/Graphics2D.java: Updated copyright.
12114 * java/awt/Transparency.java: Updated copyright.
12115 * java/awt/Paint.java: Updated copyright.
12116 * java/awt/Graphics.java: New version from Classpath.
12117 * java/awt/EventDispatchThread.java: Updated copyright.
12118 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12119 children.
12120 (gotoComponent): Wrap around on next/previous.
12121 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12122 * gnu/gcj/awt/Buffers.java: Removed.
12123 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12124 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12125 * gnu/java/awt/BitMaskExtent.java: Added.
12126 * gnu/java/awt/Buffers.java: Added.
12127 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12128 * gnu/java/awt/GLightweightPeer.java: Added.
12129 * java/awt/geom/Line2D.java (clone): Ignore
12130 CloneNotSupportedException.
12131 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12132 * java/awt/Frame.java: Merged with Classpath.
12133 * java/awt/RenderingHints.java: Copyright update.
12134 * java/awt/Paint.java: Copyright update.
12135 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12136 * java/awt/image/ColorModel.java: Merged with Classpath.
12137 * java/awt/Window.java (show): New Implementation from Classpath.
12138 (isShowing): Use super.isShowing().
12139 * java/awt/EventQueue.java: Merged with Classpath.
12140 * java/awt/AWTEventMulticaster.java (save): Throw
12141 RuntimeException.
12142 (saveInternal): Likewise.
12143 * java/awt/AWTEvent.java: Now implements Serializable.
12144 * java/awt/Event.java: Copyright update.
12145 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12146 * java/awt/image/BufferedImage.java: Copyright update.
12147 * java/awt/GraphicsConfiguration.java: Copyright update.
12148 * java/awt/Component.java: (addNotify): Don't call
12149 addNotifyContainerChildren().
12150 (addNotifyContainerChildren): Removed.
12151 (setPeer): New method from Classpath.
12152 (setTreeLock): Likewise.
12153 (setVisible): Rewrote.
12154 (show): Use it.
12155 (hide): Likewise.
12156 (validate): Set `valid'.
12157 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12158 (createImage(ImageProducer)): Likewise.
12159 (prepareImage): Likewise.
12160 * java/awt/Container.java (addImpl): Handle case where constraint
12161 is not a String. Post event via system event queue.
12162 (remove): Post event via system event queue.
12163 (validateTree): Only validate child if it is invalid.
12164 (getAlignmentX): Call super method as default.
12165 (getAlignmentY): Likewise.
12166 (addContainerListener): Now synchronized.
12167 (removeContainerListener): Likewise.
12168 (addNotifyContainerChildren): Now private.
12169 * java/awt/ComponentOrientation.java: Updated copyright. Added
12170 @author.
12171 * java/awt/FlowLayout.java (serialVersionUID): New field.
12172 (setAlignment): Better exception message.
12173 (layoutContainer): Don't compute component's preferred size unless
12174 we're going to use it.
12175 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12176 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12177 (firstLine, lastLine, firstItem, lastItem): New fields.
12178 (addLayoutComponent): Handle case where constraints is null.
12179 Also, handle relative locations.
12180 (removeLayoutComponent): Handle relative locations.
12181 (MIN, MAX, PREF): New constants.
12182 (calcCompSize): New method.
12183 (calcSize): New method.
12184 (minimumLayoutSize): Use it.
12185 (preferredLayoutSize): Likewise.
12186 (maximumLayoutSize): Likewise.
12187 (toString): Include more information.
12188 (setBounds): New method.
12189 (layoutContainer): Use libgcj implementation; extended to handle
12190 relative locations.
12191
12192 2002-01-15 Tom Tromey <tromey@redhat.com>
12193
12194 * java/lang/Float.java (equals): Preserve old code.
12195 * java/lang/Double.java (equals): Preserve old code.
12196
12197 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12198
12199 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12200 * java/lang/Float.java (equals, compare): Ditto.
12201
12202 2002-01-13 Mark Wielaard <mark@klomp.org>
12203
12204 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12205 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12206 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12207 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12208
12209 2002-01-11 Mark Wielaard <mark@klomp.org>
12210
12211 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12212 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12213 InetAddress.
12214 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12215 * java/net/Socket.java: Merge with Classpath.
12216 * java/net/ServerSocket.java: Likewise.
12217
12218 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12219
12220 * interpret.cc (NULLARRAYCHECK): New macro.
12221 (SAVE_PC): Just store `pc'.
12222 (find_exception): Subtract one from `pc' here.
12223 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12224 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12225 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12226 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12227 don't call SAVE_PC.
12228 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12229 call SAVE_PC.
12230
12231 2002-01-11 Tom Tromey <tromey@redhat.com>
12232
12233 * java/lang/natSystem.cc (init_properties): Only look for default
12234 locale if LC_MESSAGES is defined.
12235 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12236 * configure.in: Call AM_LC_MESSAGES.
12237 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12238
12239 2002-01-10 Tom Tromey <tromey@redhat.com>
12240
12241 For PR libgcj/5303:
12242 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12243 --version. Recognize GNU-style long options. Print GNU-style
12244 error messages.
12245 (usage): Print GNU-style help. Exit with status 0.
12246 (error): New method.
12247 (run): Print error message if no class names found.
12248 (main): Don't print usage on error.
12249
12250 2002-01-09 Tom Tromey <tromey@redhat.com>
12251
12252 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12253 property.
12254 (help, version): Use println(), not println("").
12255
12256 For PR libgcj/5303:
12257 * gnu/gcj/convert/Convert.java (error): Program is called
12258 `jv-convert'. Print GNU-style message. Exit with status 1, not
12259 -1.
12260 (main): Handle --help and --version.
12261 (help): New method.
12262 (version): Likewise.
12263
12264 2002-01-08 Tom Tromey <tromey@redhat.com>
12265
12266 * Makefile.in: Rebuilt.
12267 * Makefile.am (ordinary_java_source_files): Added new files.
12268 * gnu/java/locale/LocaleInformation.java: Extend
12269 LocaleInformation_en.
12270 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12271 and time/date formats.
12272 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12273 generated.
12274 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12275 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12276 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12277 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12278 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12279 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12280 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12281 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12282 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12283 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12284 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12285 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12286 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12287 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12288 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12289 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12290 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12291 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12292 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12293 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12294 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12295 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12296 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12297 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12298 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12299 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12300 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12301 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12302 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12303 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12304 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12305 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12306 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12307 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12308 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12309 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12310 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12311 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12312 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12313 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12314 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12315 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12316 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12317 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12318 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12319 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12320 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12321 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12322 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12323 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12324 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12325 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12326 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12327 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12328 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12329 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12330 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12331 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12332 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12333 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12334 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12335 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12336 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12337 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12338 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12339 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12340 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12341 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12342 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12343 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12344 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12345 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12346 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12347 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12348 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12349 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12350 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12351 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12352 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12353 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12354 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12355 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12356 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12357 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12358 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12359 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12360 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12361 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12362 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12363 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12364 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12365 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12366 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12367 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12368 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12369 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12370 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12371 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12372 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12373 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12374 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12375 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12376 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12377 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12378 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12379 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12380 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12381 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12382 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12383 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12384 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12385 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12386 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12387 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12388 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12389 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12390 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12391 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12392 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12393 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12394 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12395 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12396 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12397 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12398 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12399 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12400 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12401 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12402 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12403 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12404
12405 For PR libgcj/5031:
12406 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12407 choose default locale.
12408
12409 * Makefile.in: Rebuilt.
12410 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12411
12412 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12413
12414 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12415 sockets.
12416 (close): New function closes the socket.
12417 (write): New functions for output to socket.
12418 (read): New functions for reading from socket.
12419 * java/net/PlainSocketImpl.java: Glue for new timeout
12420 implementation.
12421 (write): Call the native impl.
12422 (read): Likewise.
12423 (getInputStream): Get a stream to read from the socket.
12424 (getOutputStream): Get a stream to write to the socket.
12425
12426 2002-01-08 Tom Tromey <tromey@redhat.com>
12427
12428 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12429
12430 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12431
12432 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12433 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12434
12435 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12436
12437 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12438 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12439 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12440 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12441 insn_bastore, insn_castore, insn_sastore]: Use it.
12442 (continue1) [insn_arraylength]: Check for null array.
12443
12444 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12445
12446 * configure, include/config.h.in: Rebuilt.
12447 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12448 * configure.in: Call AC_STRUCT_TIMEZONE.
12449
12450 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12451
12452 * configure.host: Disable the interpreter for Darwin.
12453
12454 2002-01-04 Tom Tromey <tromey@redhat.com>
12455
12456 * java/lang/Thread.java (stop): No longer synchronized.
12457 (start): Likewise.
12458
12459 2002-01-02 Tom Tromey <tromey@redhat.com>
12460
12461 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12462 patch.
12463
12464 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12465
12466 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12467 PPC Darwin, not for all of Darwin.